KR20020015232A - Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same - Google Patents

Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same Download PDF

Info

Publication number
KR20020015232A
KR20020015232A KR1020000048425A KR20000048425A KR20020015232A KR 20020015232 A KR20020015232 A KR 20020015232A KR 1020000048425 A KR1020000048425 A KR 1020000048425A KR 20000048425 A KR20000048425 A KR 20000048425A KR 20020015232 A KR20020015232 A KR 20020015232A
Authority
KR
South Korea
Prior art keywords
packet
storage
transport
packets
unit
Prior art date
Application number
KR1020000048425A
Other languages
Korean (ko)
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 KR1020000048425A priority Critical patent/KR20020015232A/en
Publication of KR20020015232A publication Critical patent/KR20020015232A/en

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/93Regeneration of the television signal or of selected parts thereof
    • 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

Abstract

PURPOSE: A transport stream storing device and a broadcasting signal receiver employing the transport stream storing device are provided to easily play back the stored broadcasting signals at a random location by collectively storing a transmission packet stream about a digital TV with the receiving times of packets. CONSTITUTION: A broadcasting signal receiver comprises a channel unit, a multiplexer, a transport stream decoder, a video decoder/graphic processor, and an audio decoder. The broadcasting signal receiver receives digital broadcasting signals, decodes the broadcasting signals, and outputs video signals and audio signals. A transport stream storing unit(108) adopted to the broadcasting signal receiver comprises a storing unit(200) generating a storage packet of a TS(Transport Stream) packet of a channel to be stored and storing the storage packet in a storing medium(107), a reading unit(220) reading the packet stored in the storing medium, feeding back the TS packet, and outputting the packet, and a storing medium interface(240) connecting the storing unit and reading unit with the storing medium. The transport stream storing unit has plural motion modes including a normal mode and a trick mode. In the trick mode, specific numbers of transport packets continuing from the random-accessible transport packets are output. Therefore, the broadcasting data at a desired time point are easily played back.

Description

전송 스트림 저장 장치 및 이를 채용하는 방송 신호 수신 장치{Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same}Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same}

본 발명은 디지털 방송 수신 장치에 관한 것으로, 보다 상세하게는 수신되는 방송 신호를 저장하기 위한 장치와 이를 채용하는 디지털 텔레비전 방송 수신 장치에 관한 것이다.The present invention relates to a digital broadcast receiver, and more particularly, to a device for storing a received broadcast signal and a digital television broadcast receiver employing the same.

일반적으로 TV 방송은 방송국에서 송출하는 신호가 실시간으로 시청자의 수신 장치에 전송된다. 그러므로 TV 시청자는 정해진 시간에만 원하는 프로그램을시청할 수 있으며, 부득이한 이유로 정해진 시간에 TV를 시청할 수 없을 경우에는 VCR을 이용하여 예약 녹화를 해 두어야 한다. 그런데, VCR 예약 녹화를 위해서는 소유하고 있는 VCR의 매뉴얼을 숙독해야 하고 복잡한 조작 과정을 수행해야 하는 불편함이 있으며, 이에 따라 일반 시청자는 예약 녹화를 아예 시도하지 않거나 시도하는 도중에 포기하게 되는 경우가 통례이다.In general, in a TV broadcast, a signal transmitted from a broadcasting station is transmitted to a receiver of a viewer in real time. Therefore, a TV viewer can watch a desired program only at a fixed time. If the TV cannot be watched at a fixed time due to an unavoidable reason, a scheduled recording must be made by using a VCR. However, in order to record VCR reservations, it is inconvenient to read the manual of owning VCR and perform complicated operation process. Accordingly, general viewers do not attempt reservation recording at all or give up in the middle of attempting it. to be.

한편, 수신된 방송 신호를 녹화함에 있어서는 위에서 기술한 VCR이 통상적으로 사용된다. 그런데, VCR은 카세트 내부의 릴에 감겨 있는 테이프에 신호를 순차적으로 저장하기 때문에, 저장된 신호를 재생함에 있어서 랜덤 액세스하는 것이 불가능하다. 이러한 문제점을 부분적으로 해결하기 위하여 종래의 VCR에서는 '뒤로 빨리 감기(REW)'나 '앞으로 빨리 감기(FF)' 기능을 활용하여 저장된 신호의 내용을 스캐닝하는 것이 가능하게 되어 있다. 그렇지만, 향후 본격적으로 보급될 디지털 TV에 대응하는 디지털 VCR(DVCR)은 MPEG 전송 스트림(Transport Stream) 형태로 신호를 저장하기 때문에, REW나 FF 기능을 구현하기가 어렵다.On the other hand, in recording the received broadcast signal, the above-described VCR is commonly used. By the way, since the VCR sequentially stores signals on a tape wound on a reel inside the cassette, it is impossible to randomly access them in reproducing the stored signals. In order to partially solve this problem, the conventional VCR makes it possible to scan the contents of a stored signal by utilizing a 'fast forward (REW)' or 'fast forward (FF)' function. However, since digital VCRs (DVCRs) corresponding to digital TVs, which are to be spread in earnest, store signals in the form of MPEG transport streams, it is difficult to implement REW or FF functions.

이와 관련하여, 미국에서 제안되고 있는 개인용 비디오 레코더(Personalized Video Recorder: PVR)는 방송 신호를 하드디스크에 저장하는 시도가 이루어지고 있다. PVR은 아날로그 TV 방송을 전제로 한 것으로서, 수신 장치가 MPEG 인코더를 구비하여 수신된 방송 신호를 MPEG 포맷으로 인코딩하여 MPEG 프로그램 스트림 형태로 저장하게 된다. 그러나 PVR과 관련해서도 FF나 REW 기능을 제공하는 것에 대해서는 현재까지 제안된 바가 없다. 이와 같이, 종래의 영상 기록 장치 중에는 랜덤 액세스가 부분적으로나마 가능하고 FF 및 REW 기능을 제공하는 것이 없다.In this regard, a personalized video recorder (PVR) proposed in the United States has attempted to store broadcast signals on a hard disk. The PVR is based on analog TV broadcasting, and a receiving apparatus includes an MPEG encoder to encode a received broadcast signal in MPEG format and store the result in an MPEG program stream. However, there have been no proposals for providing FF or REW functions in relation to PVR. As described above, none of the conventional video recording apparatuses is able to partially access random access and provide the FF and REW functions.

다른 한편으로, 방송 채널이 다변화되고 방송 콘텐츠가 전문화됨에 따라, 방송 시청 권한이 점차 유료화되어 가는 추세에 있다. 이러한 추세에 부응하여 향후의 영상 기록 장치는 방송물에 대한 저작권을 고려하고 존중할 수 있도록 하기 위해 기록된 영상물을 제3자가 임의로 이전 받아 재생하지 못하게 하는 것이 강하게 요구되고 있다.On the other hand, as broadcasting channels are diversified and broadcast contents are specialized, broadcasting viewing authority is gradually being paid. In response to this trend, future video recording apparatuses are strongly required to prevent a third party from arbitrarily transferring and reproducing the recorded video in order to consider and respect copyright of the broadcast.

본 발명은 상술한 문제점을 해결하고 시장의 요구에 부응하기 위하여 안출된 것으로서, 사용자로 하여금 방송국으로부터 송출되는 디지털 방송 신호를 저장 및 재생할 수 있게 해주고, 특히 저장된 신호를 재생함에 있어서 랜덤 액세스가 가능하게 해주는 전송 스트림 저장 장치를 제공하는 것을 그 기술적 과제로 한다. 특히, 본 발명은 '앞으로 빨리 감기'와 '뒤로 빨리 감기' 기능을 구현함으로써 저장된 방송 신호의 스캐닝을 가능하게 해주는 전송 스트림 저장 장치를 제공하고자 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems and to meet market demands, and enables a user to store and reproduce digital broadcast signals transmitted from broadcasting stations, and in particular, to enable random access in reproducing stored signals. It is a technical problem to provide a transport stream storage device. In particular, the present invention is to provide a transport stream storage device that enables the scanning of stored broadcast signals by implementing the 'fast forward' and 'fast forward' functions.

아울러, 본 발명은 이와 같은 방송 신호 저장 장치를 채용하는 방송 신호 수신 장치를 제공하는 것을 다른 기술적 과제로 한다.In addition, another object of the present invention is to provide a broadcast signal receiving apparatus employing such a broadcast signal storage device.

도 1은 본 발명에 의한 디지털 방송 수신 장치의 일 실시예의 블록도.1 is a block diagram of an embodiment of a digital broadcast receiving apparatus according to the present invention;

도 2는 도 1에 도시된 전송 스트림 저장 유닛의 상세 블록도.2 is a detailed block diagram of the transport stream storage unit shown in FIG.

도 3은 도 2의 전송 스트림 저장 유닛에서 수신된 방송 신호를 저장하는 과정을 설명하기 위한 도면.3 is a view for explaining a process of storing a broadcast signal received in the transport stream storage unit of FIG.

도 4는 도 2 및 도 3에 도시된 패키타이저에 의해 생성되는 저장패킷의 포맷을 보여주는 도면.4 shows the format of a storage packet generated by the packager shown in FIGS. 2 and 3;

도 5는 트릭 모드를 구현하기 위해 생성되는 랜덤 액세스 테이블의 구조도.5 is a structural diagram of a random access table generated to implement a trick mode.

도 6은 도 2의 전송 스트림 저장 유닛에서 저장된 방송 신호를 재생하기 위해 신호를 독출하는 과정을 설명하기 위한 도면.FIG. 6 is a diagram for describing a process of reading a signal to reproduce a broadcast signal stored in the transport stream storage unit of FIG. 2; FIG.

도 7은 본 발명에 의한 디지털 방송 수신 장치의 다른 실시예의 블록도.7 is a block diagram of another embodiment of a digital broadcast receiving apparatus according to the present invention;

도 8은 일반적인 전송 패킷 스트림의 데이터 포맷을 보여주는 도면.8 shows the data format of a typical transport packet stream.

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

101: 채널부 102: 멀티플랙서101: channel section 102: multiplexer

103, 303: 전송 스트림 디코더 104: 비디오 디코더/그래픽 처리기103, 303: transport stream decoder 104: video decoder / graphics processor

105: 오디오 디코더 106. 306: CPU105: audio decoder 106.306: CPU

107: 저장 매체 108: 전송 스트림 저장 유닛107: storage medium 108: transport stream storage unit

109, 309: 스마트 카드 110: 모뎀109, 309: Smart card 110: Modem

111: 디스크램블러 200: 저장부111: descrambler 200: storage unit

202: PID 필터 204: 제1 기준 카운터202: PID filter 204: First reference counter

206: 시간 부착부 208: TS 패킷 카운터206: time attachment 208: TS packet counter

210: 랜덤 액세스 검출부 212: 스크램블러210: random access detection unit 212: scrambler

214: 패키타이저 216: 제1 메모리214: Packager 216: first memory

220: 독출부 222: 디패키타이저220: reader 222: depacketizer

224: 제2 메모리 226: 디스크램블러224: second memory 226: descrambler

228: 시간 비교 송출부 230: 제2 기준 카운터228: time comparison sending unit 230: second reference counter

240: 저장매체 인터페이스240: storage medium interface

발명의 개요Summary of the Invention

상기 기술적 과제를 달성하기 위한 본 발명의 전송 스트림 저장 장치는 디지털 텔레비전 신호에 관한 전송 패킷 스트림을 받아들이고 전송 패킷 스트림에 포함된 전송 패킷들 중 적어도 일부를 저장 매체에 저장한다. 저장부는 저장할 전송패킷들 각각에 대해 도착 시간 정보를 부가하여 저장패킷을 생성하여 저장 매체에 저장하고, 저장할 전송 패킷들 각각에 대한 랜덤 액세스 가능 여부를 판단한다. 독출부는 저장 매체에 저장된 저장패킷들을 독출하여 상기 패킷들을 복원해서 출력한다. 저장매체 인터페이스부는 저장부 및 독출부를 저장 매체에 접속시켜준다.The transport stream storage device of the present invention for achieving the above technical problem accepts a transport packet stream for the digital television signal and stores at least some of the transport packets included in the transport packet stream in a storage medium. The storage unit adds arrival time information to each of the transmission packets to be stored, generates a storage packet, stores the storage packet in the storage medium, and determines whether random access to each of the transmission packets to be stored is possible. The reading unit reads the storage packets stored in the storage medium, restores the packets, and outputs the packets. The storage medium interface unit connects the storage unit and the reading unit to the storage medium.

전송 스트림 저장 장치는 정상 모드 및 트릭 모드를 포함하는 복수의 동작 모드를 가진다. 독출부는 정상 모드에서는 복원된 전송 패킷들 각각을 도착 시간 간격을 유지하면서 출력하고, 트릭 모드에서는 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작되어 연이어진 소정 개수의 전송 패킷들만을 출력한다. 트릭 모드에서, 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작하여 출력되는 전송 패킷들의 수는 하나의 인트라 프레임이 충분히 들어갈 수 있도록 정해지는 것이 바람직한데, 그 구체적인 수치는 비디오 전송률과 상관 관계를 가진다.The transport stream storage device has a plurality of modes of operation, including normal mode and trick mode. The reading unit outputs each of the recovered transport packets while maintaining the arrival time interval in the normal mode, and outputs only a predetermined number of transport packets consecutively started from each of the randomly accessible transport packets in the trick mode. In trick mode, the number of transport packets output starting from each of the randomly accessible transport packets is preferably determined so that one intra frame can fit sufficiently, the specific value of which correlates with the video transmission rate.

한편, 상기 다른 기술적 과제를 달성하기 위한 방송 신호 수신 장치는 채널부, 전송 스트림 디코더, 비디오 디코더 및 오디오 디코더와, 장치의 전반적 동작을 제어하는 제어 수단을 구비한다. 채널부는 디지털 텔레비전 방송 신호를 받아들이고 이를 복조하여 다수의 전송 패킷들이 포함된 전송 패킷 스트림을 출력한다. 전송 스트림 디코더는 전송 패킷 스트림 중에서 사용자가 선국하는 소정의 채널에 관한 전송 패킷만을 추출하고 비디오 스트림 및 오디오 스트림을 복원한다. 비디오 디코더는 비디오 스트림을 받아들이고 디코딩하여 아날로그 비디오 신호를 생성하며, 오디오 디코더는 오디오 스트림을 받아들이고 디코딩하여 아날로그 오디오 신호를 생성한다. 아울러, 방송 신호 수신 장치는 저장 매체와, 상기 전송 패킷스트림을 받아들이고 상기 전송 패킷 스트림에 포함된 전송 패킷들 중 적어도 일부를 상기 저장 매체에 저장하기 위한 전송 스트림 저장 유닛을 더 구비한다. 전송 스트림 저장 유닛은 위에서 언급한 전송 스트림 저장 장치에 대응하는 구성을 가진다.On the other hand, the broadcast signal receiving apparatus for achieving the another technical problem includes a channel unit, a transport stream decoder, a video decoder and an audio decoder, and a control means for controlling the overall operation of the apparatus. The channel unit receives the digital television broadcast signal and demodulates it to output a transport packet stream including a plurality of transport packets. The transport stream decoder extracts only transport packets for a predetermined channel to be tuned by the user from the transport packet stream and restores the video stream and the audio stream. The video decoder accepts and decodes the video stream to produce an analog video signal, and the audio decoder receives and decodes the audio stream to produce an analog audio signal. The apparatus for receiving broadcast signals further includes a storage medium and a transport stream storage unit for receiving the transport packet stream and storing at least some of the transport packets included in the transport packet stream in the storage medium. The transport stream storage unit has a configuration corresponding to the transport stream storage device mentioned above.

바람직한 실시예에 있어서, 제어 수단은 저장부에 의해 랜덤 액세스가 가능한 것으로 판단되는 전송 패킷들 각각에 대한 검출 시간과 상기 저장 매체 상의 저장 위치를 저장하는 랜덤 액세스 테이블을 생성한다. 그리고, 제어 수단은 상기 랜덤 액세스 테이블을 참조하여 상기 독출부가 트릭 모드에서 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작되어 연이어진 소정 개수의 전송패킷만을 출력하도록 제어한다. 저장부는 저장할 전송 패킷들 중 비디오 전송 패킷의 수를 카운트하는 패킷 카운터를 더 구비할 수도 있다. 이러한 경우, 제어 수단은 상기 카운트된 패킷 수를 토대로 전송 패킷 전송율을 계산하고, 상기 전송율을 토대로 트릭 모드에서 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작하여 출력되는 전송 패킷의 수를 결정한다.In a preferred embodiment, the control means generates a random access table for storing the detection time for each of the transport packets determined to be randomly accessible by the storage and the storage location on the storage medium. The control means controls the reader to output only a predetermined number of transmission packets starting from each of the randomly accessible transport packets in the trick mode with reference to the random access table. The storage unit may further include a packet counter that counts the number of video transport packets among transport packets to be stored. In this case, the control means calculates the transport packet rate based on the counted number of packets, and determines the number of transport packets output starting from each of the randomly accessible transport packets in the trick mode based on the rate.

아울러, 방송 신호 수신 장치는 인터넷 접속을 위한 모뎀을 더 구비하며 인터넷 접속이 가능하도록 구현될 수도 있다. 모뎀을 통해서 인터넷 접속이 이루어지는 경우, 제어 수단이 전송 스트림 저장 유닛으로 하여금 전송 패킷 저장 동작을 시작하도록 자동으로 제어할 수도 있다.In addition, the apparatus for receiving broadcast signals may further include a modem for internet access and may be implemented to enable internet access. When the internet connection is made via the modem, the control means may automatically control the transport stream storage unit to start the transport packet storage operation.

한편, 이와 같은 방송 신호 수신 장치는 비디오 신호 및 오디오 신호를 각각 출력하기 위한 디스플레이와 스피커를 구비하는 텔레비전 수상기가 될 수 있고, 상기 비디오 신호 및 오디오 신호를 외부의 텔레비전 수상기에 공급하는 셋톱 박스가 될 수도 있다.On the other hand, such a broadcast signal receiving apparatus may be a television receiver having a display and a speaker for outputting a video signal and an audio signal, respectively, and may be a set-top box for supplying the video signal and the audio signal to an external television receiver. It may be.

대부분의 방송국은 시청하는 사람이 적고 양질의 방송 프로그램을 제공하기에는 경제적 부담이 큰 심야시간대에는 방송 신호를 송출하지 않는다. 이와 같이 방송 신호가 중단된 심야 시간의 방송 채널을 통해 정규 방송 사업자가 아닌 학원 등의 사업자가 교육 방송 등을 송출할 수 있다면, 채널을 임차하는 사업자는 물론 방송사업자나 일반 시청자에게도 좋은 기회가 될 것이다. 본 발명이 제시하는 전송 스트림 저장 장치는 이러한 심야 방송을 저장하는데 사용될 수도 있는데, 이러한 경우, 채널을 임차하는 사업자는 방송에 소요되는 비용을 절감할 수 있고 시청자는 자신이 편리한 시간에 저장된 프로그램을 시청할 수 있게 된다.Most stations do not transmit broadcast signals during the late night hours, when there are few viewers and the economic burden to provide a quality broadcast program is high. As such, if an operator such as a private institute can transmit educational broadcasts through a late-night broadcast channel in which the broadcast signal is interrupted, it may be a good opportunity not only for the renter but also for the broadcaster or the general viewer. will be. The transport stream storage device proposed by the present invention may be used to store such a late night broadcast. In this case, the renter of the channel can reduce the cost of the broadcast and the viewer can watch the stored program at a convenient time. It becomes possible.

특히, 이러한 심야 방송을 유료로 제공하는 경우에는 허가된 스마트 카드를 소지한 자 또는 이것이 장착된 방송 신호 수신 장치에 대해서만 시청 권한을 부여할 수도 있는데, 이때에는 방송 신호를 스크램블된 상태로 저장함으로써 저작권 보호를 이중으로 할 수 있다. 뿐만 아니라, 인터넷 접속용 모뎀 등이 탑재된 방송 수신 장치에 본 발명에 의한 전송 스트림 저장 장치를 적용하는 경우에는, 단순한 인터넷 접속 기능에 더하여 현재 방송중인 프로그램과 관련된 웹 사이트의 콘텐츠를 브라우징할 수도 있고, 전송 스트림 저장 장치에 예약 녹화 기능을 쉽게 부여할 수 있다는 이점이 있다.In particular, in the case of providing such a late-night broadcast for a fee, the viewing authority may be granted only to a person who has a licensed smart card or a broadcast signal receiving device equipped with the same. You can double your protection. In addition, when the transport stream storage device according to the present invention is applied to a broadcast receiving device equipped with an internet connection modem or the like, in addition to a simple internet access function, the content of a website related to a program currently being broadcast may be browsed. Therefore, there is an advantage in that the reserved recording function can be easily given to the transport stream storage device.

바람직한 실시예의 설명Description of the Preferred Embodiments

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 보다 상세히 성명하기로 한다. 이하의 설명에 있어서, 동일하거나 대응하는 부분에 대해서는 동일한 참조번호를 사용한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, the same reference numerals are used for the same or corresponding parts.

도 1은 본 발명에 의한 디지털 방송 수신 장치의 일 실시예를 보여준다. 도시된 방송 수신 장치는 채널부(101), 멀티플랙서(102), 전송 스트림 디코더(103), 비디오 디코더/그래픽 처리기(104) 및 오디오 디코더(105)를 구비하며, 디지털 방송 신호를 수신하고 이를 디코딩하여 비디오 신호 및 오디오 신호를 출력한다. 이와 같은 방송 수신 장치는 비디오 신호 및 오디오 신호를 각각 출력하기 위한 디스플레이와 스피커를 구비하는 텔레비전 수상기가 될 수 있고, 상기 비디오 신호 및 오디오 신호를 외부의 텔레비전 수상기에 공급하는 셋톱 박스가 될 수도 있다. 이하의 설명에서는 도 1의 수신장치가 텔레비전 수상기인 경우를 중심으로 설명한다.1 shows an embodiment of a digital broadcast receiving apparatus according to the present invention. The illustrated broadcast receiving apparatus includes a channel section 101, a multiplexer 102, a transport stream decoder 103, a video decoder / graphics processor 104, and an audio decoder 105, and receives a digital broadcast signal. This is decoded to output a video signal and an audio signal. Such a broadcast receiving apparatus may be a television receiver having a display and a speaker for outputting video and audio signals, respectively, or may be a set top box for supplying the video and audio signals to an external television receiver. In the following description, a description will be given mainly on the case where the receiver of Fig. 1 is a television receiver.

한편, 도 1의 방송 수신 장치는 저장 매체(107) 및 전송 스트림 저장 유닛(108)을 구비하여 방송 스트림을 저장할 수 있는 기능을 가진다. 다른 한편으로 방송 수신 장치는 자격 있는 사람만이 이를 동작시킬 수 있게 해주는 스마트 카드(109)를 탑재하고, 인터넷 접속용 모뎀(110)을 구비하는 것이 바람직하다.Meanwhile, the broadcast receiving device of FIG. 1 includes a storage medium 107 and a transport stream storage unit 108, and has a function of storing a broadcast stream. On the other hand, the broadcast receiving device is preferably equipped with a smart card 109 that allows only qualified persons to operate it, and has a modem 110 for internet access.

채널부(101)는 위성, 지상파, 케이블 등을 통해 디지털 텔레비전 방송 신호를 받아들이고 이를 복조하여 전송 스트림(Transport Stream: TS) 형태로 출력한다. 채널부(101)는 방송 사업자가 채택하는 전송 방식에 따라 또는 시청자가 선택한 수신 장치 기종에 따라 위성 채널부, 지상파 채널부 및 케이블 TV 채널부 등 여러 종류의 NIM(Network Interface Module) 중 어느 하나를 포함할 수 잇다. 다양한 전송 방식의 신호를 수신할 수 있도록 여러 개의 NIM이 있음은 물론이다. 도시하지는 않았지만 각 NIM은 튜너, 복조기, 에러정정복호화기를 구비한다. 특히 복조기는 전송 방식에 따라 VSB 복조기, QAM 복조기 또는 QPSK 복조기가 될 수 있다.The channel unit 101 receives a digital television broadcast signal through a satellite, terrestrial wave, cable, and the like, demodulates it, and outputs it in the form of a transport stream (TS). The channel unit 101 may select any one of several types of network interface modules (NIMs) such as a satellite channel unit, a terrestrial channel unit, and a cable TV channel unit according to a transmission method adopted by a broadcaster or a receiver type selected by a viewer. May contain. Of course, there are several NIMs to receive signals of various transmission methods. Although not shown, each NIM includes a tuner, a demodulator, and an error correction decoder. In particular, the demodulator may be a VSB demodulator, a QAM demodulator, or a QPSK demodulator, depending on the transmission scheme.

전송 스트림 디코더(103)는 복조된 TS 패킷 중에서 시청자가 선국한 채널에 관계된 TS 패킷만을 추출하고 PES(Packetized Elementary Stream) 형태의 비디오 스트림 및 오디오 스트림을 복원하며, 비디오 스트림은 비디오 디코더(104)로 전달하고 오디오 스트림은 오디오 디코더(105)로 전달한다. 비디오 디코더/그래픽 처리기(104)는 전송 스트림 디코더(103)로부터의 비디오 스트림을 디코딩하여 비디오 화소 데이터를 생성하고, 그래픽 화면을 생성하여 디스플레이에 오버레이한다. 오디오 디코더(105)는 전송 스트림 디코더(103)로부터의 오디오 스트림을 디코딩하여 아날로그 오디오 신호를 생성한다.The transport stream decoder 103 extracts only the TS packets related to the channel selected by the viewer from the demodulated TS packets and restores the video stream and the audio stream in the form of a packetized elementary stream (PES), and the video stream is sent to the video decoder 104. And the audio stream to the audio decoder 105. The video decoder / graphics processor 104 decodes the video stream from the transport stream decoder 103 to generate video pixel data, and generates a graphic screen to overlay on the display. The audio decoder 105 decodes the audio stream from the transport stream decoder 103 to generate an analog audio signal.

전송 스트림 저장 유닛(108)은 채널부(101)로부터 TS 패킷을 받아들이고, 이 중에서 저장하고자 하는 패킷을 추출하여 이를 새로운 저장패킷 형태로 저장 매체(107)에 저장한다. 시청자가 저장된 방송을 시청하고자 할 경우, 전송 스트림 저장 유닛(108)은 저장 매체(107)로부터 저장패킷을 독출하여 TS 패킷을 복원하고, 이를 전송 스트림 디코더(103)에 제공한다. 멀티플랙서(102)는 저장매체(107)로부터 독출된 TS와 채널부(101)로부터 직접 입력된 TS 중 어느 하나를 선택하는 데 사용된다. 여기에서, 저장 매체(107)로는 예를 들어 하드디스크나 기록 가능한 CD(CD-RW) 등이 사용될 수 있다.The transport stream storage unit 108 receives a TS packet from the channel unit 101, extracts a packet to be stored therein, and stores the packet to be stored in the storage medium 107 in the form of a new storage packet. When the viewer wants to watch the stored broadcast, the transport stream storage unit 108 reads the storage packet from the storage medium 107 to restore the TS packet, and provides it to the transport stream decoder 103. The multiplexer 102 is used to select either a TS read from the storage medium 107 and a TS directly input from the channel unit 101. Here, for example, a hard disk, a recordable CD (CD-RW), or the like may be used as the storage medium 107.

도 2는 도 1에 도시된 전송 스트림 저장 유닛(108)을 보다 구체적으로 보여준다.FIG. 2 shows the transport stream storage unit 108 shown in FIG. 1 in more detail.

전송 스트림 저장 유닛(108)은 저장하고자 하는 채널의 TS 패킷에 대해 저장패킷을 생성하여 저장 매체(107)에 저장하기 위한 저장부(200)와, 저장 매체(107)에 저장된 방송물을 시청하고자 할 때 저장 매체(107)에 저장되어 있는 저장패킷을 독출하여 TS 패킷을 복원해서 출력하기 위한 독출부(220)와, 저장부(200) 및 독출부(220)를 저장 매체(107)에 접속하기 위한 저장매체 인터페이스(240)를 구비한다.The transport stream storage unit 108 generates a storage packet for a TS packet of a channel to be stored and stores the storage packet 200 in the storage medium 107 and a broadcast stored in the storage medium 107. The readout 220 for reading out the storage packet stored in the storage medium 107 to restore and output the TS packet, and connecting the storage 200 and the readout 220 to the storage medium 107. It has a storage medium interface 240 for.

바람직한 실시예에 있어서, 저장부(200)는 패킷 확인자(Packet IDentifier; 이하, 'PID'라 함) 필터(202), 제1 기준 카운터(204), 시간 부착부(206), TS 패킷 카운터(208), 랜덤 액세스 검출부(210), 스크램블러(212), 패키타이저(214) 및 제1 메모리(216)를 구비한다. 또한, 독출부(200)는 디패키타이저(222), 제2 메모리 (224), 디스크램블러(226), 시간 비교 송출부(228) 및 제2 기준 카운터(230)를 구비한다. 여기에서, 제1 메모리(216)와 제2 메모리(224)는 동일한 물리적 메모리 매체를 사용할 수도 있다. 또한, 본 발명의 다른 실시예에 있어서는 스크램블러(212) 및 디스크램블러(226)를 생략하는 것도 가능하다.In a preferred embodiment, the storage unit 200 is a packet identifier (hereinafter referred to as a 'PID') filter 202, a first reference counter 204, a time attachment unit 206, TS packet counter ( 208, a random access detection unit 210, a scrambler 212, a packager 214, and a first memory 216. In addition, the reader 200 includes a depacketizer 222, a second memory 224, a descrambler 226, a time comparison transmitter 228, and a second reference counter 230. Here, the first memory 216 and the second memory 224 may use the same physical memory medium. In another embodiment of the present invention, the scrambler 212 and the descrambler 226 may be omitted.

도 3 및 도 4를 참조하여, 도 2의 전송 스트림 저장 유닛(108)의 동작을 설명한다. 도 3은 도 2의 전송 스트림 저장 유닛에서 수신된 방송 신호를 저장하는 과정을 설명하기 위한 도면이고, 도 4는 도 2 및 도 3에 도시된 패키타이저에 의해 생성되는 저장패킷의 포맷을 보여주는 도면이다.3 and 4, the operation of the transport stream storage unit 108 of FIG. 2 will be described. FIG. 3 is a diagram illustrating a process of storing a broadcast signal received by the transport stream storage unit of FIG. 2, and FIG. 4 is a diagram illustrating a format of a storage packet generated by the packager illustrated in FIGS. 2 and 3. Drawing.

먼저, 도 3을 참조하여 방송 신호 저장 과정을 설명한다. PID 필터(202)는 채널부(101)로부터 입력되는 TS 패킷 중 저장하고자 하는 방송 채널에 해당하는 TS패킷만을 추출하며, 시청하지 않는 방송 채널의 TS 패킷은 후단으로의 전달을 차단하여 소멸시킨다. PID 추출 과정은 CPU(106)가 PID 필터(202)에 비디오, 오디오 및 ECM(Entitlement Control Massage) 각각에 대한 PID를 설정하므로써 가능해진다.First, a broadcast signal storing process will be described with reference to FIG. 3. The PID filter 202 extracts only TS packets corresponding to a broadcast channel to be stored among the TS packets input from the channel unit 101, and TS packets of the broadcast channel which are not viewed are blocked by passing them to the rear end and are destroyed. The PID extraction process is enabled by the CPU 106 setting PIDs for each of video, audio, and Entitlement Control Massage (ECM) in the PID filter 202.

참고로, 채널부로부터 입력되는 MPEG 전송 패킷 스트림의 포맷을 도 8에 도시하였다. 도 8(a)에 도시된 것과 같이, TS 패킷은 4바이트의 헤더와 184바이트의 패이로드로 구성되어 총 188바이트의 길이를 갖는다. 헤더의 구체적인 포맷이 도 8(b)에 도시되어 있다. 헤더 내에 있는 Adaptation_field_control 값이 Adaptation field의 유무를 알려주는데, Adaptation_field_control 값이 '10' 또는 '11'인 경우 Adaptation field가 존재함을 의미한다. Adaptation field가 존재하는 경우, 그 구조는 도 8(c)의 포맷에 따르게 된다. 한편, 헤더에 포함되어 있는 PID 값은 채널에 관한 정보와, 패킷에 포함된 패이로드가 비디오 신호인지 오디오 신호인지를 구별하기 위한 정보를 포함한다.For reference, the format of the MPEG transport packet stream input from the channel section is shown in FIG. As shown in Fig. 8A, the TS packet is composed of a header of 4 bytes and a payload of 184 bytes and has a total length of 188 bytes. The specific format of the header is shown in Figure 8 (b). The Adaptation_field_control value in the header indicates the presence or absence of the Adaptation field. If the Adaptation_field_control value is '10' or '11', it means that the Adaptation field exists. If the adaptation field is present, its structure follows the format of FIG. 8 (c). Meanwhile, the PID value included in the header includes information about the channel and information for distinguishing whether the payload included in the packet is a video signal or an audio signal.

따라서 PID 필터(202)는 PID를 토대로 특정 채널의 패킷을 선별할 수 있게 된다. 시간 부착부(206)는 PID 필터(202)에 의해 선택된 TS 패킷을 받아들이고 이 순간의 제1 기준 카운터(204)의 카운트 값을 추출하여 상기 카운트 값을 도착 시간 정보로써 TS 패킷 앞부분에 부착한다. 제 1 기준 카운터(202)는 27MHz 클럭을 이용하여 업카운트하는 카운터이다.Accordingly, the PID filter 202 may select packets of a specific channel based on the PID. The time attaching unit 206 receives the TS packet selected by the PID filter 202, extracts the count value of the first reference counter 204 at this moment, and attaches the count value to the front of the TS packet as the arrival time information. The first reference counter 202 is a counter that counts up using a 27 MHz clock.

TS 패킷 카운터(208)는 PID 필터(202)로부터 출력된 TS 패킷 중 비디오 TS 패킷에 대해, 1초에 전송되는 패킷의 수(비디오 TS 패킷 수/sec)를 카운트하여 이를 CPU(106)에 전송한다. 이 카운트 값을 토대로 CPU(106)는 비디오 스트림의 전송률을 다음 수학식과 같이 추정할 수 있다.The TS packet counter 208 counts the number of packets (video TS packets / sec) transmitted in one second for the video TS packets among the TS packets output from the PID filter 202 and transmits them to the CPU 106. do. Based on this count value, the CPU 106 can estimate the transmission rate of the video stream as shown in the following equation.

전송률(bit/sec) = 188(byte) × 8(bit/byte) × TS(1/sec)Rate (bit / sec) = 188 (byte) × 8 (bit / byte) × TS (1 / sec)

랜덤 액세스 검출부(210)는 PID 필터(202)로부터 출력되는 비디오 TS 패킷의 헤더를 검사하여 랜덤 액세스 가능 상태인지를 검출하며, 이 랜덤 액세스 가능 여부에 대한 검출 결과를 CPU(106)에 알려준다. 이러한 검출 신호는 현재 TS 패킷 또는 동일한 PID를 가진 다음 TS 패킷에 관한 화면이 랜덤 액세스가 가능한 위치인지 여부를 알려주는 기능을 한다. 도 8(b)에 도시된 비디오 TS 패킷의 헤더 중 Payload_unit_start_indicator가 '1'로 설정되어 있고, Adaptation_field_control이 '10' 또는 '11'로 설정되어 있으며, 도 8(c)에 도시된 Adaptation field의 Random_access_indicator가 '1'로 설정되어 있는 경우, 해당 TS 패킷은 랜덤 액세스 가능 상태인 것으로 판단된다.The random access detector 210 detects whether the random access is possible by checking the header of the video TS packet output from the PID filter 202 and informs the CPU 106 of the detection result of whether the random access is possible. The detection signal is a function of indicating whether a screen about a current TS packet or a next TS packet having the same PID is a position where random access is possible. Payload_unit_start_indicator is set to '1' in the header of the video TS packet shown in FIG. 8 (b), Adaptation_field_control is set to '10' or '11', and Random_access_indicator of the Adaptation field shown in FIG. Is set to '1', the TS packet is determined to be in a random access state.

스크램블러(212)는 저장 매체(107)에 저장할 TS 패킷 중 저작권 보호를 수행해야 하는 TS 패킷에 대해서 수신 장치 고유의 스크램블 키를 이용하여 스크램블한다. 이를 위해 CPU(106)는 수신 장치에 대해 고유하게 설정되어 있는 스크램블 키를 스크램블러(212)에 제공한다. 일반 방송 저장을 위한 전송 스트림 저장 장치에서 스크램블러(206)는 생략이 가능하다. 그렇지만, 후술하는 바와 같이, 본 발명의 전송 스트림 저장 유닛(108)이 한정 수신 시스템에 적용되는 경우, 스크램블러(212) 및 디스크램블러(226)는 저장 매체(107)가 다른 시스템에 이전되거나 복사되어 재생되는 것을 방지함으로써 우수한 저작권 보호 효과를 기대할 수 있게 된다.The scrambler 212 scrambles a TS packet to be copyright-protected among TS packets to be stored in the storage medium 107 using a scramble key unique to the receiving device. To this end, the CPU 106 provides the scrambler 212 with a scrambled key uniquely set for the receiving device. The scrambler 206 may be omitted in the transport stream storage device for general broadcast storage. However, as will be described later, when the transport stream storage unit 108 of the present invention is applied to a limited reception system, the scrambler 212 and the descrambler 226 may be transferred or copied to another system. By preventing the reproduction, excellent copyright protection effect can be expected.

패키타이저(214)는 시간 부착부(206)에 의해 생성되고 스크램블러(212)에 의해 스크램블된 [도착시간+TS 패킷] 구조의 패킷을 제1 메모리(216)에 순차적으로 저장한 후, 도 4에 도시한 것과 같은 형태의 새로운 저장패킷을 생성한다. 패키타이저(217)에서 생성된 패킷의 헤더에는 랜덤 액세스 가능한 TS 패킷의 위치 등에 관한 정보가 포함된다. 한편, 위에서 기술한 바와 같이 저장패킷은 스크램블되지 않은 데이터를 토대로 생성될 수도 있다. 패키타이저의 동작 상태는 지속적으로 CPU(106)에 보고된다.The packager 214 sequentially stores the packets of the [arrival time + TS packets] structure generated by the time attachment unit 206 and scrambled by the scrambler 212 in the first memory 216. Create a new storage packet of the form shown in Figure 4. The header of the packet generated by the packager 217 includes information regarding the position of a randomly accessible TS packet. Meanwhile, as described above, the storage packet may be generated based on unscrambled data. The operating state of the packager is constantly reported to the CPU 106.

저장매체 인터페이스(240)는 패키타이저(214)로부터 저장패킷을 받아들이고, 저장 매체(107) 상에서 CPU(106)가 지정하는 저장 위치에 저장패킷이 저장되도록 한다.The storage medium interface 240 accepts the storage packets from the packager 214 and causes the storage packets to be stored in a storage location designated by the CPU 106 on the storage medium 107.

한편, CPU(106)는 랜덤 액세스 검출부(205)로부터 TS 패킷이 랜덤 액세스 가능한 상태임을 통보받게 되면, 해당 TS 패킷의 검출시간을 제1 기준 카운터(204)로부터 받아들이고, 해당 TS 패킷이 포함된 저장패킷의 저장 위치를 참조하여 랜덤 액세스 테이블을 생성한다. 도 5에 도시된 바와 같이, 랜덤 액세스 테이블은 [검출시간, 저장위치]의 필드 구조를 갖는다. 이 랜덤 액세스 테이블은 이후에 저장된 방송을 시청할 때 '앞으로 빨리 감기' 또는 '뒤로 빨리 감기'와 같은 트릭 모드(trick mode)를 구현하는데 사용될 수 있다. 랜덤 액세스 테이블은 저장 매체(107)나 제1 또는 제2 메모리(216, 224)에 저장할 수 있다.On the other hand, when the CPU 106 is informed from the random access detection unit 205 that the TS packet is in a randomly accessible state, the CPU 106 receives the detection time of the TS packet from the first reference counter 204 and stores the TS packet. The random access table is generated by referring to the storage location of the packet. As shown in Fig. 5, the random access table has a field structure of [detection time, storage location]. This random access table may be used to implement a trick mode such as 'fast forward' or 'fast forward' when watching a later stored broadcast. The random access table may be stored in the storage medium 107 or the first or second memories 216 and 224.

다음에는 도 2의 전송 스트림 저장 유닛(108)에서 저장된 디지털 방송 신호를 재생하기 위해 신호를 독출하는 과정을 설명한다. 도 6을 참조하면, 디패키타이저(222)는 저장 매체(107)에 저장된 저장패킷을 저장매체 인터페이스(240)를 통해 읽어들여, 이를 제2 메모리(224)에 일시적으로 저장한다. 이때, 저장 매체(107)로부터 독출될 저장패킷의 위치는 CPU(106)에 의해 지정된다. 디패키타이저(222)는 디스크램블러(226)와 시간 비교 송출부(228)의 상태를 점검하여, 디패키타이저(222)와 디스크램블러(226)가 데이터를 받아들일 준비가 되어 있을 때에 제2 메모리(224)에 일시 저장된 저장패킷을 디스크램블러(226)에 순차적으로 출력한다. 디스크램블러(226)는 저장패킷 중 스크램블된 부분을 디스크램블한 후 디스크램블된 패킷 데이터를 시간 비교 송출부(228)에 출력한다. 한편, 스크램블러(212) 및 디스크램블러(226)가 생략되는 변형된 실시예에 있어서는 디패키타이저(222)가 저장패킷을 직접 시간 비교 송출부(228)에 출력하게 된다.Next, a process of reading a signal to reproduce the digital broadcast signal stored in the transport stream storage unit 108 of FIG. 2 will be described. Referring to FIG. 6, the depacketizer 222 reads a storage packet stored in the storage medium 107 through the storage medium interface 240 and temporarily stores it in the second memory 224. At this time, the position of the storage packet to be read from the storage medium 107 is designated by the CPU 106. The depacketizer 222 checks the states of the descrambler 226 and the time comparison transmitter 228 so that the depacketizer 222 and the descrambler 226 are ready to receive data. The storage packets temporarily stored in the memory 224 are sequentially output to the descrambler 226. The descrambler 226 descrambles the scrambled portion of the storage packet and then outputs the descrambled packet data to the time comparison transmitter 228. In the modified embodiment in which the scrambler 212 and the descrambler 226 are omitted, the depacketizer 222 outputs the storage packet directly to the time comparison transmitter 228.

시간 비교 송출부(228)는 최초로 수신하는 저장패킷인 [도착시간1 + TS 패킷1]으로부터 도착시간1을 추출하고, 이를 이용하여 제2 기준 카운터(230)를 도착시간1로 초기화하는 한편 TS 패킷1을 출력한다. 여기에서, 제2 기준 카운터(230)는 제1 기준 카운터(204)와 동일한 클럭에 의해 동작하는 업카운터이다. 시간 비교 송출부(228)는 두 번째 이후 입력되는 [도착시간i + TS 패킷i]에 대해서는 도착시간i와 제 2 기준 카운터(230)의 증가 값을 비교하여 제2 기준 카운터(230)의 값이 도착시간i와 동일해질 때 TS 패킷i를 출력한다. 이에 따라, 전송 스트림 저장 유닛(108)은 각각의 TS 패킷이 입력되어 저장된 시간 간격과 동일한시간 간격으로 각각의 TS 패킷을 출력할 수 있게 된다. 시간 비교 송출부(228)로부터 출력되는 각각의 TS 패킷(TS 패킷1 ∼ TS 패킷n)은 멀티플랙서(102)를 통해 전송 스트림 디코더(103)로 입력되어 디코딩될 수 있다.The time comparison transmitter 228 extracts the arrival time 1 from the first arrival packet [arrival time 1 + TS packet 1], and initializes the second reference counter 230 to the arrival time 1 using the TS. Output packet 1. Here, the second reference counter 230 is an up counter operating by the same clock as the first reference counter 204. The time comparison transmitter 228 compares the arrival time i with the increment value of the second reference counter 230 with respect to the [arrival time i + TS packet i] inputted after the second time, and thus the value of the second reference counter 230. When this arrival time i becomes equal, TS packet i is outputted. Accordingly, the transport stream storage unit 108 can output each TS packet at the same time interval as the time interval at which each TS packet is input and stored. Each TS packet (TS packets 1 to TS packet n) output from the time comparison transmitter 228 may be input to the transport stream decoder 103 through the multiplexer 102 and decoded.

트릭 모드 구현Trick mode implementation

일반적으로 아날로그 VCR에 의해 저장된 방송을 재생시켜 시청할 때 '앞으로 빨리 감기' 또는 '뒤로 빨리 감기' 기능을 사용하게 되는 경우가 종종 있다. 그런데 MPEG 스트림으로 포맷팅된 디지털 신호의 경우, 신호 포맷이 복잡하기 때문에 디코딩 과정이 복잡하여 재생을 위한 준비에 많은 시간이 소요되고 임의의 시점부터 재생하기가 어렵다. 그렇지만 본 발명의 방송 수신 장치에 있어서는 저장시에 랜덤 액세스 테이블을 생성하고 재생시 이를 활용할 수 있기 때문에 원하는 시점의 방송을 쉽게 재생할 수 있고, 디코딩 준비 시간을 단축시킬 수 있다.In general, when playing and watching a broadcast stored by an analog VCR, a 'fast forward' or 'fast forward' function is often used. However, in the case of a digital signal formatted as an MPEG stream, since the signal format is complicated, the decoding process is complicated, and it takes a lot of time to prepare for reproduction, and it is difficult to reproduce from any point of time. However, in the broadcast receiving apparatus of the present invention, since the random access table can be generated and used during reproduction, the broadcast reception device can easily reproduce the broadcast at a desired time point and shorten the decoding preparation time.

본 발명에 있어서 트릭 모드 구현은 디지털 비디오 신호를 구성하는 I-picture, B-picture 및 P-picture 데이터 중에서 완전한 프레임 영상 신호를 포함하고 있는 I-picture 데이터의 위치를 추출하여 이를 테이블 형태로 정리해두고 재생시에 이를 참조하는 원리를 이용한다. 또한, 트릭 모드시에 스킵해야 할 TS 패킷의 수를 예측하기 위해 TS 패킷 카운터에서 카운트한 초당 비디오 TS 패킷의 수를 이용하여 비디오 스트림의 전송률을 측정한다.In the present invention, the trick mode implementation extracts the position of I-picture data including a complete frame video signal from the I-picture, B-picture, and P-picture data constituting the digital video signal, and arranges them in a table form. It uses the principle of referencing this during playback. In addition, in order to predict the number of TS packets to be skipped in the trick mode, the transmission rate of the video stream is measured using the number of video TS packets per second counted by the TS packet counter.

먼저, '앞으로 빨리 감기'의 경우에는 현재 TS 패킷의 랜덤 액세스 검출시간을 기준으로 하여 이후 시간에 있는 TS 패킷의 랜덤 액세스 검출시간과 관련되어있는 저장 위치로부터 일정 분량의 데이터를 읽어 이를 독출부(200)로 전송하고, '앞으로 빨리 감기' 명령이 계속해서 입력되면 계속적으로 검출시간 순으로 연결된 저장 위치에서 일정 분량을 전송하게 된다. 예를 들어, 현재 시간이 (검출시간2)이고 '앞으로 빨리 감기' 명령이 입력되었다고 가정하면, (검출시간3)에 연결되어 있는 (저장위치3)으로부터 일정 분량을 읽어 이를 패킷 분리 및 출력부(20)로 전송한다. 이와 같이 '앞으로 빨리 감기'하여 탐색된 위치가 원하는 위치가 아닌 경우에는 다시 '앞으로 빨리 감기' 명령을 입력하며, 전송 스트림 저장 유닛은 이어서 (저장위치4)로부터 저장패킷을 일정 분량 읽어 이를 전송하는 등 이와 같은 동작을 반복적으로 수행한다. 여기에서, 일정 분량이란 하나의 인트라 프레임이 들어갈 수 있는 충분한 TS 패킷량을 뜻하는 것으로, 비디오 전송률과 상관 관계를 갖는다. 이를 수학식으로 나타내면 다음과 같다.First, in the case of 'fast forward', a predetermined amount of data is read from a storage location related to a random access detection time of a TS packet at a later time based on the random access detection time of a current TS packet. 200), if the 'fast forward' command is continuously input, it continuously transmits a certain amount from the connected storage location in order of detection time. For example, assuming that the current time is (detection time 2) and the 'fast forward' command is input, the packet separation and output unit reads a certain amount from (storage location 3) connected to (detection time 3). Transfer to 20. In this case, if the searched position is not the desired position, the fast forward command is input again. The transport stream storage unit then reads a predetermined amount of the storage packet from (storage position 4) and transmits it. This operation is repeatedly performed. Here, a certain amount means a sufficient amount of TS packets that can accommodate one intra frame, and has a correlation with the video data rate. This is expressed as the following equation.

일정 분량 = A × 비디오 데이터 전송률Amount = A × Video Data Rate

여기에서, 스케일링 팩터 A의 구체적인 값은 실험을 통해 경험적으로 구해질 수 있다.Here, the specific value of the scaling factor A can be obtained empirically through experiments.

한편, '뒤로 빨리 감기'의 경우에는 현재 TS 패킷의 랜덤 액세스 검출시간을 기준으로 하여 이전 시간에 있는 TS 패킷의 랜덤 액세스 검출시간과 관련되어 있는 저장 위치로부터 일정 분량의 데이터를 읽어, 이를 독출(200)로 전송하고, '뒤로 빨리 감기' 명령이 계속해서 입력되면 검출시간을 역순으로 찾아가면서 연결된 저장위치로부터 일정 분량의 데이터를 패킷 분리 및 출력부(20)로 전송하는 동작을반복적으로 수행한다.In the case of 'fast forward', on the other hand, a predetermined amount of data is read from a storage location related to the random access detection time of the TS packet at a previous time based on the random access detection time of the current TS packet, 200), and if the 'fast forward' command is continuously input, the detection time is searched in reverse order to repeatedly transmit a predetermined amount of data from the connected storage location to the packet separation and output unit 20. .

저작권 보호에 대한 고려Copyright protection considerations

도 7은 본 발명에 의한 디지털 방송 수신 장치의 다른 실시예로서, 도시된 장치는 한정 수신 시스템에 적합한 것이다.7 is another embodiment of a digital broadcast receiving apparatus according to the present invention, and the illustrated apparatus is suitable for a limited reception system.

방송국에서는 시청 권한이 있는 일부의 가입자만이 프로그램을 시청할 수 있도록 하기 위해서 TS 패킷을 스크램블하여 송신하고, 수신 장치에서 해독키를 이용하여 스크램블된 신호를 디스크램블하여 방송을 시청하게 할 수 있는데, 이를 한정 수신 시스템이라 한다.The broadcasting station can scramble and transmit the TS packet so that only a part of subscribers who have the authority to view the program can watch the program, and the receiving device can descramble the scrambled signal using the decryption key to watch the broadcast. It is called a limited reception system.

일반적인 한정 수신 시스템에 적합한 방송 수신 장치에 있어서, 채널부(101)는 수신된 신호를 복조하여 스크램블된 TS 패킷을 전송 스트림 디코더(303)에 출력한다. 전송 스트림 디코더(303)는 ECM 메시지를 추출하여 CPU(306)에 제공하는데, 여기에서 ECM이란 TS 패킷을 스크램블할 때 사용한 키를 암호화한 메시지를 의미한다. CPU(306)는 ECM 메시지를 스마트 카드(309)로 전송한 후, 스마트 카드(309)로부터 ECM 메시지를 해독한 해독키를 받는다. CPU(306)는 이 해독키를 디스크램블러(311)로 전송하여 스크램블된 TS 패킷을 디스크램블할 수 있도록 한다. 일반적으로 디스크램블러(311)는 전송 스트림 디코더(303)에 내장되어 있다.In a broadcast receiving apparatus suitable for a general limited reception system, the channel unit 101 demodulates a received signal and outputs a scrambled TS packet to the transport stream decoder 303. The transport stream decoder 303 extracts an ECM message and provides it to the CPU 306, where ECM means a message that encrypts a key used when scrambled a TS packet. The CPU 306 sends the ECM message to the smart card 309 and then receives a decryption key that decrypts the ECM message from the smart card 309. The CPU 306 sends this decryption key to the descrambler 311 to descramble the scrambled TS packet. In general, the descrambler 311 is embedded in the transport stream decoder 303.

그런데 이와 같은 한정 수신 시스템에서는 전송된 방송 프로그램이 저장 매체에 저장되어 다른 사람의 수신 장치에 통째로 옮겨지거나 복사되어 이전된다면, 한정 수신 시스템이 의도하는 취지가 몰각됨은 물론 저작권 보호의 문제가 발생할수 있다. 따라서, 한정 수신 시스템 하에서 본 발명에 따라 방송물을 매체에 저장함에 있어서는, 방송 데이터에 대해 다시 스크램블을 수행하여 저장함은 물론 관련된 ECM 메시지도 함께 저장하는 것이 바람직하다. 이를 위해 도 7의 스트림 저장 유닛(308)은 저장패킷을 생성함에 있어서 도 4에 도시된 저장패킷 헤더에 ECM 패킷을 삽입하여 저장한다.However, in such a limited reception system, if a transmitted broadcast program is stored in a storage medium and transferred or copied and transferred to a receiving device of another person, the intended purpose of the limited reception system may be lost, and problems of copyright protection may occur. . Therefore, when storing broadcasts in a medium according to the present invention under the limited reception system, it is preferable to scramble and store broadcast data as well as to store related ECM messages. To this end, the stream storage unit 308 of FIG. 7 inserts and stores an ECM packet in the storage packet header shown in FIG. 4 when generating the storage packet.

도 7의 방송 수신 장치에서의 방송 신호 저장 및 재생 동작을 설명하면 다음과 같다. 먼저, 채널부(101)에 의해 출력되는 1차 스크램블된 TS 패킷에 대하여, 스트림 저장 유닛(107)의 스크램블러(212)는 헤더 4바이트를 제외한 184바이트의 패이로드에 대해 수신기 고유의 스크램블키로 2차 스크램블하여 저장 매체(107)에 저장한다. 저장패킷을 독출할 때 스트림 저장 유닛(108)의 디스크램블러(226)는 스크램블된 184바이트의 패이로드를 2차 디스크램블한다. 디스크램블된 TS 패킷은 전송 스트림 디코더(303)로 입력되고, CPU(306)는 저장패킷의 헤더에 있는 ECM 정보를 읽어들여 이를 스마트 카드(309)에게 전송한다. 이후, CPU(306)는 스마트 카드(309)로부터 해독키를 읽어들여 디스크램블러(311)에게 전송하여 스크램블된 TS 패킷을 1차 디스크램블하도록 한다. 이와 같이 하여 해독된 TS 패킷은 전송 스트림 디코더(303)에 의해 처리된 후 비디오 디코더/그래픽 처리기(104) 및 오디오 디코더(105)를 통하여 아날로그 비디오 및 오디오 신호로 출력된다.A broadcast signal storing and reproducing operation of the broadcast receiving device of FIG. 7 will be described below. First, with respect to the primary scrambled TS packet output by the channel section 101, the scrambler 212 of the stream storage unit 107 uses a receiver-specific scramble key for a payload of 184 bytes except for 4 bytes of the header. The second scramble is stored in the storage medium 107. When reading the storage packet, the descrambler 226 of the stream storage unit 108 secondary descrambles the scrambled 184 bytes of payload. The descrambled TS packet is input to the transport stream decoder 303, and the CPU 306 reads ECM information in the header of the storage packet and transmits it to the smart card 309. Thereafter, the CPU 306 reads the decryption key from the smart card 309 and transmits the decryption key to the descrambler 311 to descramble the scrambled TS packet. The TS packet thus decrypted is processed by the transport stream decoder 303 and then output as analog video and audio signals through the video decoder / graphics processor 104 and the audio decoder 105.

도 7의 장치에 있어서, 스트림 저장 유닛(108)이 사용하는 2차 스크램블키와 2차 해독키는 방송국에서 사용하는 1차 스크램블키 및 스마트 카드(309)가 제공하는 1차 해독키와 각각 서로 동일할 수도 있지만 서로 다른 것이 바람직하다. 이러한 경우 2차 스크램블키와 2차 해독키는 CPU(306)가 수신 장치 일련 번호를 토대로 생성하여 사용할 수도 있고 도 3 및 도 6에서 설명한 바와 마찬가지로 스마트 카드(309)가 제공할 수도 있다.In the apparatus of FIG. 7, the secondary scramble key and secondary decryption key used by the stream storage unit 108 are each different from the primary scramble key used by the broadcast station and the primary decryption key provided by the smart card 309, respectively. It may be the same but different is preferred. In this case, the secondary scramble key and the secondary decryption key may be generated and used by the CPU 306 based on the receiving device serial number, or may be provided by the smart card 309 as described with reference to FIGS. 3 and 6.

인터넷과의 연동Interworking with the Internet

본 발명에 의한 방송 수신 장치는 인터넷에 접속하여 정보를 획득할 수 있는 인터넷 TV 형태로 구현되는 것이 바람직하다. 일반적으로, 방송국에서는 방송 중에 있거나 향후 방송할 예정에 있는 프로그램과 관련 있는 내용의 웹 사이트를 제작하여 운영하고 있다. 만약, 웹 사이트를 인터넷 TV를 통하여 접속할 수 있도록 하기 위해 웹 사이트의 해당 페이지의 URL을 디지털 방송 신호와 함께 전송한다면, 본 발명에 의한 방송 수신 장치 사용자는 프로그램 예약 녹화를 손쉽게 행할 수 있게 된다. URL을 전송하는 방법 중의 하나로, 프로그램 안내 데이터를 이용할 수 있다. 예컨대 유럽의 DVB 규격에서 EIT(Event Information Table)라는 데이터를 통해 각 프로그램에 대한 안내 정보를 전송한다. 여기에는 여러 가지 서술자(Descriptor)가 존재하는데 여기에 URL 서술자라는 항목을 추가하여 해당 프로그램에 대한 URL을 전송할 수 있을 것이다.The broadcast receiving device according to the present invention is preferably implemented in the form of an Internet TV that can obtain information by accessing the Internet. In general, a broadcasting station produces and operates a website that is related to a program that is being broadcast or scheduled to be broadcast in the future. If the URL of the corresponding page of the web site is transmitted together with the digital broadcast signal in order to make the web site accessible through the Internet TV, the user of the broadcast reception device according to the present invention can easily perform program reservation recording. As one of methods for transmitting a URL, program guide data may be used. For example, in the European DVB standard, guide information about each program is transmitted through data called an event information table (EIT). There are several descriptors. You can add the URL descriptor here to send the URL for the program.

이와 같이 인터넷을 통해 각 프로그램에 대한 정보를 제공하는 경우, 방송 사업자는 프로그램 정보에 각 프로그램에 대한 설명뿐만 아니라 시작 시간 및 종료 시간에 대한 데이터가 이용자 단말기에 다운로드되게 할 수 있다. 방송 수신 장치는 인터넷을 통해 상기 데이터를 받아들여 메모리에 저장할 수 있는데, CPU는 메모리에 저장된 데이터에 의해 방송 신호 저장이 자동으로 이루어지게 할 수 있다. 이와 같은 기능은 간단한 프로그램에 의해 구현될 수 있는데, 방송국이 제공하는 데이터 포맷 등에 따라 구체적인 구현 방법이 달라질 수 있고 소프트웨어 업체의 당업자가 용이하게 실시할 수 있는 것이므로, 이에 대한 자세한 설명은 생략한다. 한편, 본 발명을 구현하는 인터넷 TV는 시청자가 인터넷에 접속되어 있는 동안 방송 화면과 인터넷 정보가 더블 윈도우나 PIP를 통해 동시에 표시되게 할 수도 있다. 아울러, 인터넷 화면만을 보여주고, 그 동안에는 방송 내용이 자동 저장되게 할 수도 있는데, 이에 대해 설명하기로 한다.When providing information about each program through the Internet as described above, the broadcaster may cause the program information to be downloaded to the user terminal, as well as the description of each program as well as the start time and the end time. The broadcast reception device may receive the data through the Internet and store the data in a memory, and the CPU may automatically store the broadcast signal based on the data stored in the memory. Such a function may be implemented by a simple program. Since a specific implementation method may vary according to a data format provided by a broadcasting station and can be easily implemented by those skilled in the software industry, a detailed description thereof will be omitted. Meanwhile, the Internet TV embodying the present invention may allow a broadcast screen and internet information to be simultaneously displayed through a double window or PIP while the viewer is connected to the Internet. In addition, only the Internet screen is shown, and during this time, broadcast contents may be automatically stored, which will be described.

시청자는 프로그램을 시청하다가 프로그램 구성 계획에 대한 자세한 정보를 얻고자 하는 경우 리모콘에 있는 인터넷 접속 버튼을 누를 수 있다. 디지털 방송 수신 장치가 인터넷 접속 버튼을 인지하면 현재 프로그램을 송출하는 방송국의 URL을 찾아 해당 웹 사이트로 인터넷 접속을 시도한다. 이와 같이 하여 인터넷에 접속해 있는 동안 실시간으로 수신되는 방송은 인터넷 접속을 시도한 순간의 시각과 함께 상술한 방법에 따라 본 발명에 따른 전송 스트림 저장 유닛에 의해 계속 저장되게 된다. 이때, 화면은 인터넷 정보만을 표시할 수 있다. 인터넷 접속을 수행하여 대화형 서비스 기능을 수행한 후 다시 기 시청하던 프로그램을 시청하고자 할 경우에는, 트릭 모드에서 동작하여 인터넷 접속 시도 순간의 방송부터 플레이하거나 현재 방송중인 내용으로 점프하여 플레이할 수 있다.Viewers can watch the program and press the Internet access button on the remote control if they want more information about the program configuration plan. When the digital broadcasting receiver recognizes the Internet access button, the digital broadcasting receiver attempts to access the Internet by searching for the URL of the broadcasting station that transmits the current program. In this way, broadcasts received in real time while connected to the Internet are continuously stored by the transport stream storage unit according to the present invention according to the above-described method together with the time of the attempt to connect to the Internet. In this case, the screen may display only Internet information. If you want to watch the program you have been watching again after performing the interactive service function by connecting to the Internet, you can play in the trick mode and start playing from the moment you try to connect to the Internet, or jump to the content that is currently being broadcast. .

변형된 실시예Modified Embodiment

이상의 설명은 본 발명의 바람직한 실시예를 예시하는 것으로서, 본 발명은 이에 한정되지 않고 다양하게 변형될 수 있다. 예컨대, 바람직한 실시예에 대한 설명에 있어서는 사용자가 선국하거나 또는 인터넷 접속 직전에 시청중이던 하나의 채널에 대해서만 전송 스트림 저장이 이루어지지만, 본 발명의 다른 실시예에 있어서는 다수의 방송 채널에 대한 전송 스트림 저장이 이루어질 수도 있다. 아울러, 위에서는 방송 수신 장치의 CPU가 랜덤 액세스 테이블을 생성하여 저장하는 것으로 기술하였지만, 이러한 실시예가 변형된 실시예에 있어서는 전송 스트림 저장 유닛(108)의 랜덤 액세스 검출부(210)가 자체적으로 랜덤 액세스 테이블을 생성할 수도 있다. 다른 한편으로, 전송 스트림 저장 유닛(108) 내에 별도의 마이크로컨트롤러 내지 마이크로프로세서가 구비될 수도 있음은 물론이다.The above description illustrates a preferred embodiment of the present invention, and the present invention is not limited thereto and may be variously modified. For example, in the description of the preferred embodiment, the transport stream is stored only for one channel that the user tunes in or is watching immediately before the Internet connection. In another embodiment of the present invention, the transport stream is stored for a plurality of broadcast channels. This may be done. In addition, although the CPU of the broadcast receiving apparatus generates and stores the random access table, in the modified embodiment, the random access detection unit 210 of the transport stream storage unit 108 performs random access by itself. You can also create a table. On the other hand, of course, a separate microcontroller or microprocessor may be provided in the transport stream storage unit 108.

이와 같이, 본 발명이 속하는 기술분야의 당업자는 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로서 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 등가개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.As such, those skilled in the art will appreciate that the present invention can be implemented in other specific forms without changing the technical spirit or essential features thereof. Therefore, the above-described embodiments are to be understood as illustrative in all respects and not as restrictive. The scope of the present invention is shown by the following claims rather than the detailed description, and all changes or modifications derived from the meaning and scope of the claims and their equivalents should be construed as being included in the scope of the present invention. do.

상술한 바와 같이 본 발명은 수신되는 MPEG 전송 스트림을 저장할 때 전송 스트림이 도착한 시간에 대한 정보 및 랜덤 액세스 가능한 상태 정보를 함께 저장하므로써, 저장된 방송을 임의의 위치에서 재생할 수 있게 해준다. 이때, 저장 매체로 하드디스크나 CD-RW 등을 사용할 수 있기 때문에 대량의 데이터를 쉽게 저장하고 액세스하는 것이 가능하다. 또한, 저장 유닛 자체가 스크램블러 및 디스크램블러를 내장하고 있기 때문에 한정 수신 시스템에 적용할 경우 2중의 암호화를 수행하게 있어 저작권 보호 기능을 강화시킬 수 있다. 그리고 인터넷 접속 기능이 있는 방송 수신 장치에 적용할 경우에는 프로그램을 손쉽게 예약 저장할 수 있고, 트릭 모드에서의 동작이 용이하기 때문에 인터넷 접속과 방송 시청간의 연동이 원활하게 이루어질 수 있는 이점이 있다.As described above, when the received MPEG transport stream is stored, the present invention stores information on a time when the transport stream arrives and randomly accessible state information, thereby enabling the stored broadcast to be reproduced at an arbitrary position. At this time, since a hard disk or a CD-RW can be used as the storage medium, it is possible to easily store and access a large amount of data. In addition, since the storage unit itself has a built-in scrambler and a descrambler, when applied to a limited reception system, double encryption can be performed to enhance the copyright protection function. In addition, when applied to a broadcast receiving device having an internet access function, a program can be easily reserved and stored, and operation in a trick mode can be easily performed, thereby facilitating interworking between internet access and broadcasting viewing.

Claims (19)

디지털 텔레비전 신호에 관한 전송 패킷 스트림을 받아들이고 상기 전송 패킷 스트림에 포함된 전송 패킷들 중 적어도 일부를 저장 매체에 저장하기 위한 전송 스트림 저장 장치로서,A transport stream storage device for receiving a transport packet stream relating to a digital television signal and for storing at least some of the transport packets included in the transport packet stream in a storage medium. 저장할 전송 패킷들 각각에 대해 도착 시간 정보를 부가하여 저장패킷을 생성하여 상기 저장 매체에 저장하고, 상기 저장할 전송 패킷들 각각에 대한 랜덤 액세스 가능 여부를 판단하는 저장부;A storage unit for generating a storage packet by adding arrival time information to each of the transport packets to be stored, and storing the storage packet in the storage medium, and determining whether random access is possible to each of the transport packets to be stored; 상기 저장 매체에 저장된 저장패킷들을 독출하여 상기 패킷들을 복원해서 출력하는 독출부; 및A reading unit configured to read the storage packets stored in the storage medium and to restore and output the packets; And 상기 저장부 및 상기 독출부를 상기 저장 매체에 접속하기 위한 저장매체 인터페이스;A storage medium interface for connecting the storage unit and the reading unit to the storage medium; 를 구비하며, 정상 모드 및 트릭 모드를 포함하는 복수의 동작 모드를 가지고, 상기 독출부는 정상 모드에서는 상기 복원된 전송 패킷들 각각을 상기 도착 시간 간격을 유지하면서 출력하고 트릭 모드에서는 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작되어 연이어진 소정 개수의 전송패킷만을 출력하는 전송 스트림 저장 장치.And a plurality of operation modes including a normal mode and a trick mode, wherein the reader outputs each of the restored transport packets while maintaining the arrival time interval in a normal mode, and randomly accessible transport packets in a trick mode. A transport stream storage device for outputting only a predetermined number of transport packets starting from each of them. 제1항에 있어서, 상기 저장부는The method of claim 1, wherein the storage unit 상기 전송 패킷들 각각에 포함된 패킷 확인자를 토대로 상기 전송패킷 스트림 중에서 소정의 방송 채널에 대한 전송 패킷들만을 상기 저장할 전송 패킷들로서 추출하는 필터링 수단;을 구비하는 전송 스트림 저장 장치.And filtering means for extracting only transport packets for a predetermined broadcast channel from the transport packet stream as the transport packets to be stored, based on a packet identifier included in each of the transport packets. 제1항 또는 제2항에 있어서, 상기 저장부는The method of claim 1, wherein the storage unit 상기 저장할 전송 패킷들 각각에 도착 시간 정보를 부착하는 시간 부착부;A time attachment unit attaching arrival time information to each of the transport packets to be stored; 상기 저장할 전송 패킷들 각각에 대해 랜덤 엑세스 가능 여부를 판단하는 랜덤 액세스 검출부; 및A random access detector to determine whether random access is possible for each of the transport packets to be stored; And 상기 도착 시간 정보가 부착된 복수의 전송 패킷들에 소정의 헤더를 부가하여 상기 저장패킷을 생성하는 저장패킷 생성부;A storage packet generation unit generating the storage packet by adding a predetermined header to the plurality of transport packets to which the arrival time information is attached; 를 더 구비하는 전송 스트림 저장 장치.Transport stream storage device further comprising. 제3항에 있어서, 상기 저장부는The method of claim 3, wherein the storage unit 상기 랜덤 액세스 검출부에 의해 랜덤 액세스가 가능한 것으로 판단되는 전송 패킷들 각각에 대한 검출 시간과 상기 저장 매체 상의 저장 위치를 저장하는 랜덤 액세스 테이블을 생성하기 위한 테이블 생성 수단;Table generating means for generating a random access table for storing a detection time for each of the transport packets determined to be randomly accessible by the random access detection unit and a storage location on the storage medium; 을 더 구비하며,Further provided, 상기 독출부는 상기 트릭 모드에서 상기 랜덤 액세스 테이블을 참조하여 상기 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작되어 연이어진 소정 개수의 전송패킷만을 출력하는 전송 스트림 저장 장치.And the reading unit outputs only a predetermined number of transmission packets starting from each of the randomly accessible transport packets in the trick mode with reference to the random access table. 제4항에 있어서, 상기 저장부는The method of claim 4, wherein the storage unit 상기 저장할 전송 패킷들 중 비디오 전송 패킷의 수를 카운트하는 패킷 카운터;를 더 구비하며,And a packet counter for counting the number of video transport packets among the transport packets to be stored. 상기 독출부는 상기 카운트된 패킷 수를 토대로 정해지는 비트율에 의해 상기 트릭 모드에서 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작하여 출력되는 전송 패킷의 수를 결정하는 전송 스트림 저장 장치.And the reading unit determines the number of transport packets output starting from each of randomly accessible transport packets in the trick mode by a bit rate determined based on the counted number of packets. 제3항에 있어서, 상기 저장패킷 헤더에 ECM 및 랜덤 액세스 가능한 전송 패킷 정보가 포함되는 전송 스트림 저장 장치.The transport stream storage device of claim 3, wherein the storage packet header includes ECM and randomly accessible transport packet information. 제3항에 있어서, 상기 독출부는The method of claim 3, wherein the reading unit 상기 저장매체 인터페이스를 통해 상기 저장 매체로부터 상기 저장패킷을 독출하고, 독출된 저장패킷을 해체하여 상기 도착 시간 정보가 부착된 전송 패킷들을 복원하는 저장패킷 해제부; 및A storage packet releasing unit configured to read the storage packet from the storage medium through the storage medium interface, and to disassemble the read storage packet and restore the transport packets to which the arrival time information is attached; And 상기 도착 시간 정보가 부착된 전송 패킷들에서 상기 도착 시간 정보를 분리하며, 상기 정상 모드에서 상기 복원된 전송 패킷들 각각을 상기 도착시간 간격을 유지하면서 출력하고, 상기 트릭 모드에서 상기 랜덤 액세스 가능한 전송 패킷들만을 출력하는 출력부;Separating the arrival time information from the transmission packets to which the arrival time information is attached, outputting each of the restored transmission packets while maintaining the arrival time interval in the normal mode, and transmitting the randomly accessible transmission in the trick mode. An output unit for outputting only packets; 를 구비하는 전송 스트림 저장 장치.Transport stream storage device comprising a. 제7항에 있어서, 상기 저장부는The method of claim 7, wherein the storage unit 상기 도착 시간 정보가 부착된 전송 패킷들 각각의 적어도 일부를 암호화하는 암호화 수단을 더 구비하여, 상기 저장패킷 생성부가 암호화된 데이터를 토대로 상기 저장패킷을 생성하게 하며,And encryption means for encrypting at least a portion of each of the transport packets to which the arrival time information is attached, such that the storage packet generator generates the storage packet based on the encrypted data, 상기 독출부는 암호화된 저장패킷 중 암호화된 부분을 해독하여, 해독된 데이터를 상기 출력부에 제공하는 복호화 수단을 더 구비하는 전송 스트림 저장 장치.And the reading unit further includes decrypting means for decrypting an encrypted portion of an encrypted storage packet and providing decrypted data to the output unit. 제7항에 있어서, 상기 저장부는The method of claim 7, wherein the storage unit 소정의 주파수를 가지는 클럭에 의해 업카운트하고, 제1 카운트 값을 상기 시간 부착부에 공급하는 제1 기준 카운터;를 더 구비하여, 상기 시간 부착부는 상기 카운트 값을 상기 도착 시간 정보로 사용하며,A first reference counter which counts up by a clock having a predetermined frequency and supplies a first count value to the time attaching part, wherein the time attaching part uses the count value as the arrival time information, 상기 독출부는The reading part 상기 클럭에 의해 업카운트하고, 제2 카운트 값을 상기 출려부에 공급하는 제2 기준 카운터;를 더 구비하여, 상기 출력부는 재생되는 최초의 전송패킷에 부착된 도착 시간을 추출하여 상기 제2 기준 카운터를 초기화하고 상기 최초의 전송패킷을 출력하며, 이후의 재생된 전송패킷에 대해서는 상기 제2 카운트 값이 해당 전송패킷에 부착된 도착 시간과 같아질 때 출력하는 전송 스트림 저장 장치.And a second reference counter which counts up by the clock and supplies a second count value to the output unit, wherein the output unit extracts the arrival time attached to the first transmission packet to be reproduced and the second reference counter. Initializing a counter and outputting the first transmission packet, and outputs when the second count value is equal to the arrival time attached to the transmission packet for the subsequent reproduced transmission packet. 디지털 텔레비전 방송 신호를 받아들이고 이를 복조하여 다수의 전송 패킷들이 포함된 전송 패킷 스트림을 출력하는 채널부;A channel unit which receives a digital television broadcast signal and demodulates it and outputs a transport packet stream including a plurality of transport packets; 상기 전송 패킷 스트림 중에서 사용자가 선국하는 소정의 채널에 관한 전송 패킷만을 추출하고 비디오 스트림 및 오디오 스트림을 복원하는 전송 스트림 디코더;A transport stream decoder for extracting only transport packets for a predetermined channel selected by a user from the transport packet streams and restoring a video stream and an audio stream; 상기 비디오 스트림을 받아들이고 디코딩하여 아날로그 비디오 신호를 생성하는 비디오 디코더;A video decoder that accepts and decodes the video stream to produce an analog video signal; 상기 오디오 스트림을 받아들이고 디코딩하여 아날로그 오디오 신호를 생성하는 오디오 디코더; 및An audio decoder that accepts and decodes the audio stream to produce an analog audio signal; And 상기 채널부, 상기 전송 스트림 디코더, 상기 비디오 디코더 및 상기 오디오 디코더의 동작을 제어하는 제어 수단;을 구비하는 방송 신호 수신 장치에 있어서,A control unit for controlling the operation of the channel unit, the transport stream decoder, the video decoder and the audio decoder; 저장 매체; 및Storage media; And 상기 전송 패킷 스트림을 받아들이고 상기 전송 패킷 스트림에 포함된 전송 패킷들 중 적어도 일부를 상기 저장 매체에 저장하기 위한 전송 스트림 저장 유닛;A transport stream storage unit for receiving the transport packet stream and storing at least some of the transport packets included in the transport packet stream in the storage medium; 을 더 구비하고,Further provided, 상기 전송 스트림 저장 유닛은The transport stream storage unit 저장할 전송 패킷들 각각에 대해 도착 시간 정보를 부가하여 저장패킷을 생성하여 상기 저장 매체에 저장하고, 상기 저장할 전송 패킷들 각각에 대한 랜덤 액세스 가능 여부를 판단하는 저장부와;A storage unit to generate a storage packet by adding arrival time information to each of the transport packets to be stored, to store in the storage medium, and to determine whether random access is possible to each of the transport packets to be stored; 상기 저장 매체에 저장된 저장패킷들을 독출하여 상기 패킷들을 복원해서 출력하는 독출부;A reading unit configured to read the storage packets stored in the storage medium and to restore and output the packets; 를 구비하고, 정상 모드 및 트릭 모드를 포함하는 복수의 동작 모드를 가지며, 정상 모드에서 상기 독출부는 상기 복원된 전송 패킷들 각각을 상기 도착 시간 간격을 유지하면서 상기 전송 스트림 디코더에 출력하고, 트릭 모드에서 상기 독출부는 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작되어 연이어진 소정 개수의 전송패킷만을 상기 전송 스트림 디코더에 출력하는 것을 특징으로 하는 방송 신호 수신 장치.And a plurality of operation modes including a normal mode and a trick mode, and in the normal mode, the reader outputs each of the recovered transport packets to the transport stream decoder while maintaining the arrival time interval, and the trick mode Wherein the reader outputs only a predetermined number of transmission packets starting from each of randomly accessible transport packets to the transport stream decoder. 제10항에 있어서, 상기 제어 수단은The method of claim 10, wherein the control means 상기 저장부에 의해 랜덤 액세스가 가능한 것으로 판단되는 전송 패킷들 각각에 대한 검출 시간과 상기 저장 매체 상의 저장 위치를 저장하는 랜덤 액세스 테이블을 생성하며,Generating a random access table storing a detection time for each of the transport packets determined to be randomly accessible by the storage unit and a storage location on the storage medium, 상기 랜덤 액세스 테이블을 참조하여 상기 독출부가 상기 트릭 모드에서 상기 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작되어 연이어진 소정 개수의 전송패킷만을 출력하도록 제어하는 방송 신호 수신 장치.And the read unit controls to output only a predetermined number of transmission packets starting from each of the randomly accessible transport packets in the trick mode with reference to the random access table. 제11항에 있어서, 상기 저장부는The method of claim 11, wherein the storage unit 상기 저장할 전송 패킷들 중 비디오 전송 패킷의 수를 카운트하는 패킷 카운터;를 더 구비하며,And a packet counter for counting the number of video transport packets among the transport packets to be stored. 상기 제어 수단은 상기 카운트된 패킷 수를 토대로 전송 패킷의 전송율을 계산하고, 상기 전송율을 토대로 상기 트릭 모드에서 랜덤 액세스 가능한 전송 패킷들 각각으로부터 시작하여 출력되는 전송 패킷의 수를 결정하는 방송 신호 수신 장치.The control unit calculates a transmission rate of the transport packet based on the counted number of packets, and determines a number of transport packets output from each of the transport packets randomly accessible in the trick mode based on the transmission rate. . 제10항에 있어서, 상기 저장부는The method of claim 10, wherein the storage unit 상기 전송 패킷들 각각에 포함된 패킷 확인자를 토대로 상기 전송패킷 스트림 중에서 소정의 방송 채널에 대한 전송 패킷들만을 상기 저장할 전송 패킷들로서 추출하는 필터링 수단;을 구비하는 것을 특징으로 하는 방송 신호 수신 장치.And filtering means for extracting only transport packets for a predetermined broadcast channel from among the transport packet streams as the transport packets to be stored, based on a packet identifier included in each of the transport packets. 제10항 또는 제13항에 있어서, 상기 저장부는The method of claim 10 or 13, wherein the storage unit 상기 저장할 전송 패킷들 각각에 도착 시간 정보를 부착하는 시간 부착부;A time attachment unit attaching arrival time information to each of the transport packets to be stored; 상기 저장할 전송 패킷들 각각에 대해 랜덤 엑세스 가능 여부를 판단하는 랜덤 액세스 검출부; 및A random access detector to determine whether random access is possible for each of the transport packets to be stored; And 상기 도착 시간 정보가 부착된 복수의 전송 패킷들에 소정의 헤더를 부가하여 상기 저장패킷을 생성하는 저장패킷 생성부;A storage packet generation unit generating the storage packet by adding a predetermined header to the plurality of transport packets to which the arrival time information is attached; 를 더 구비하는 방송 신호 수신 장치.Broadcast signal receiving apparatus further comprising. 제14항에 있어서, 상기 저장패킷 헤더에 ECM 및 랜덤 액세스 가능한 전송 패킷 정보가 포함되는 방송 신호 수신 장치.15. The apparatus of claim 14, wherein the storage packet header includes ECM and randomly accessible transport packet information. 제14항에 있어서, 상기 독출부는The method of claim 14, wherein the reading unit 상기 저장매체 인터페이스를 통해 상기 저장 매체로부터 상기 저장패킷을 독출하고, 독출된 저장패킷을 해체하여 상기 도착 시간 정보가 부착된 전송 패킷들을 복원하는 저장패킷 해제부; 및A storage packet releasing unit configured to read the storage packet from the storage medium through the storage medium interface, and to disassemble the read storage packet and restore the transport packets to which the arrival time information is attached; And 상기 도착 시간 정보가 부착된 전송 패킷들에서 상기 도착 시간 정보를 분리하며, 상기 정상 모드에서 상기 복원된 전송 패킷들 각각을 상기 도착시간 간격을 유지하면서 출력하고, 상기 트릭 모드에서 상기 랜덤 액세스 가능한 전송 패킷들만을 출력하는 출력부;Separating the arrival time information from the transmission packets to which the arrival time information is attached, outputting each of the restored transmission packets while maintaining the arrival time interval in the normal mode, and transmitting the randomly accessible transmission in the trick mode. An output unit for outputting only packets; 를 구비하는 방송 신호 수신 장치.Broadcast signal receiving apparatus having a. 제16항에 있어서, 상기 저장부는The method of claim 16, wherein the storage unit 상기 도착 시간 정보가 부착된 전송 패킷들 각각의 적어도 일부를 암호화하는 암호화 수단을 더 구비하여, 상기 저장패킷 생성부가 암호화된 데이터를 토대로 상기 저장패킷을 생성하게 하며,And encryption means for encrypting at least a portion of each of the transport packets to which the arrival time information is attached, such that the storage packet generator generates the storage packet based on the encrypted data, 상기 독출부는 암호화된 저장패킷 중 암호화된 부분을 해독하여, 해독된 데이터를 상기 출력부에 제공하는 복호화 수단을 더 구비하는 방송 신호 수신 장치.And the reading unit further includes decrypting means for decrypting an encrypted portion of an encrypted storage packet and providing decrypted data to the output unit. 제16항에 있어서, 상기 저장부는The method of claim 16, wherein the storage unit 소정의 주파수를 가지는 클럭에 의해 업카운트하고, 제1 카운트 값을 상기 시간 부착부에 공급하는 제1 기준 카운터;를 더 구비하여, 상기 시간 부착부는 상기 카운트 값을 상기 도착 시간 정보로 사용하며,A first reference counter which counts up by a clock having a predetermined frequency and supplies a first count value to the time attaching part, wherein the time attaching part uses the count value as the arrival time information, 상기 독출부는The reading part 상기 클럭에 의해 업카운트하고, 제2 카운트 값을 상기 출려부에 공급하는 제2 기준 카운터;를 더 구비하여, 상기 출력부는 재생되는 최초의 전송패킷에 부착된 도착 시간을 추출하여 상기 제2 기준 카운터를 초기화하고 상기 최초의 전송패킷을 출력하며, 이후의 재생된 전송패킷에 대해서는 상기 제2 카운트 값이 해당 전송패킷에 부착된 도착 시간과 같아질 때 출력하는 방송 신호 수신 장치.And a second reference counter which counts up by the clock and supplies a second count value to the output unit, wherein the output unit extracts the arrival time attached to the first transmission packet to be reproduced and the second reference counter. And a counter for initializing the counter and outputting the first transmission packet, and outputting the reproduced transmission packet when the second count value is equal to the arrival time attached to the transmission packet. 제10항에 있어서,The method of claim 10, 인터넷 접속을 위한 모뎀;을 더 구비하며,A modem for internet access; 상기 모뎀을 통해서 인터넷 접속이 이루어지는 경우 상기 제어 수단이 상기 전송 스트림 저장 유닛으로 하여금 전송 패킷 저장 동작을 시작하도록 자동으로 제어하는 방송 신호 수신 장치.And the control means automatically controls the transport stream storage unit to start a transport packet storage operation when an internet connection is made through the modem.
KR1020000048425A 2000-08-21 2000-08-21 Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same KR20020015232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000048425A KR20020015232A (en) 2000-08-21 2000-08-21 Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000048425A KR20020015232A (en) 2000-08-21 2000-08-21 Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same

Publications (1)

Publication Number Publication Date
KR20020015232A true KR20020015232A (en) 2002-02-27

Family

ID=19684285

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000048425A KR20020015232A (en) 2000-08-21 2000-08-21 Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same

Country Status (1)

Country Link
KR (1) KR20020015232A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100435918B1 (en) * 2001-11-09 2004-06-16 주식회사 휴맥스 Method for encryption recording a data in digital broadcasting program
KR100781219B1 (en) * 2006-10-31 2007-11-30 에스케이 텔레콤주식회사 Realtime broadcasting service system using record server, and method for the same
KR100807735B1 (en) * 2006-04-10 2008-02-28 삼성전자주식회사 Apparatus and method for processing broadcast data in a digital multimedia broadcasting terminal
WO2012077855A1 (en) * 2010-12-06 2012-06-14 한국전자통신연구원 Method and device for packetizing a video stream
US8762842B2 (en) 2004-02-09 2014-06-24 Samsung Electronics Co., Ltd. Information storage medium containing interactive graphics stream for change of AV data reproducing state, and reproducing method and apparatus thereof
KR101401967B1 (en) * 2007-12-04 2014-06-27 삼성전자주식회사 Method and apparatus for trick play of scrambled data stream

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100435918B1 (en) * 2001-11-09 2004-06-16 주식회사 휴맥스 Method for encryption recording a data in digital broadcasting program
US8762842B2 (en) 2004-02-09 2014-06-24 Samsung Electronics Co., Ltd. Information storage medium containing interactive graphics stream for change of AV data reproducing state, and reproducing method and apparatus thereof
US8856652B2 (en) 2004-02-09 2014-10-07 Samsung Electronics Co., Ltd. Information storage medium containing interactive graphics stream for change of AV data reproducing state, and reproducing method and apparatus thereof
KR100807735B1 (en) * 2006-04-10 2008-02-28 삼성전자주식회사 Apparatus and method for processing broadcast data in a digital multimedia broadcasting terminal
KR100781219B1 (en) * 2006-10-31 2007-11-30 에스케이 텔레콤주식회사 Realtime broadcasting service system using record server, and method for the same
KR101401967B1 (en) * 2007-12-04 2014-06-27 삼성전자주식회사 Method and apparatus for trick play of scrambled data stream
WO2012077855A1 (en) * 2010-12-06 2012-06-14 한국전자통신연구원 Method and device for packetizing a video stream

Similar Documents

Publication Publication Date Title
JP4110588B2 (en) Data receiving apparatus and receiving method
US6925180B2 (en) PC card recorder
US7089321B2 (en) Wireless data transmitting and receiving system, server device, and server device controlling method
EP2247106B1 (en) A method and apparatus for accessing stored digital programs
US7039614B1 (en) Method for simulcrypting scrambled data to a plurality of conditional access devices
US8189782B2 (en) Modular broadcast receiver system and method
US6487720B1 (en) Apparatus for receiving digital broadcast signal and apparatus for recording and reproducing digital broadcast information included in the digital broadcast signal
US20010038744A1 (en) Digital broadcast transmitter, receiver and method of receiving thereof
US7110542B1 (en) Protecting audio/video content during storage and playback on a processor-based system
JP4190870B2 (en) BROADCASTING SYSTEM, RECEPTION DEVICE, BROADCAST DATA PROTECTION METHOD, AND RECEPTION METHOD
JP5457280B2 (en) Method and apparatus for accessing recorded digital programs
KR100681158B1 (en) I / O device and input / output method, and receiver
JPH11112950A (en) Encryption information decoding reproducing device
KR20020015232A (en) Apparatus for Storing Transport Stream and Broadcast Signal Receiver Employing the Same
JP2003264813A (en) Digital broadcast receiver and method thereof, program, and medium therefor
JPH10191302A (en) Digital satellite broadcast receiver
KR0179106B1 (en) Limited reception system of a pay watching broadcasting
JP2001223653A (en) Program receiving terminal and program service method
JP2002051321A (en) Digital video transmitter, digital video receiver and digital video transmitter-receiver
JPH10210411A (en) Digital information receiver, recording and reproducing device and reproducing device
KR100435918B1 (en) Method for encryption recording a data in digital broadcasting program
JP2003061063A (en) Information transmitter, receiver and transmission/ reception system
JPH11215446A (en) Display method for television program information and control method for recording equipment
JP2002330454A (en) Audiovisual data notification system for digital broadcasting
JP2002238035A (en) Reproduction control method, transmission-reception system and device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
NORF Unpaid initial registration fee