KR100640346B1 - Digital stream controller and a broadcast receiving system having the same - Google Patents

Digital stream controller and a broadcast receiving system having the same Download PDF

Info

Publication number
KR100640346B1
KR100640346B1 KR1019990044537A KR19990044537A KR100640346B1 KR 100640346 B1 KR100640346 B1 KR 100640346B1 KR 1019990044537 A KR1019990044537 A KR 1019990044537A KR 19990044537 A KR19990044537 A KR 19990044537A KR 100640346 B1 KR100640346 B1 KR 100640346B1
Authority
KR
South Korea
Prior art keywords
packet
transport packet
transport
time
controller
Prior art date
Application number
KR1019990044537A
Other languages
Korean (ko)
Other versions
KR20010037173A (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 KR1019990044537A priority Critical patent/KR100640346B1/en
Publication of KR20010037173A publication Critical patent/KR20010037173A/en
Application granted granted Critical
Publication of KR100640346B1 publication Critical patent/KR100640346B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/775Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television receiver
    • 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

Abstract

본 발명은 방송신호에 대한 시간지연 시청과 녹화 및 재생을 동시에 지원할 수 있는 방송신호 수신 시스템에 관한 것으로, 실시간으로 입력되는 디지털 스트림을 랜덤 액세스 저장장치의 기록매체에 저장하고 이를 효율적으로 재생함은 물론, 트릭 플레이를 지원할 수 있도록 디지털 스트림의 입출력을 제어하는 컨트롤러와 그를 포함하는 방송 수신 시스템에 관한 것이다. 이를 위해 본 발명의 실시예에서는 수신되는 방송신호중 녹화하고자 하는 채널의 트랜스포트 패킷만을 추출하고, 추출된 트랜스포트 패킷의 도착시간을 지시하는 타임 스탬프를 상기 트랜스포트 패킷에 삽입한다. 이와 같이 타임 스탬프 삽입된 일군의 트랜스포트 패킷들에 헤더를 삽입하여 디스크 패킷을 만들어 디스크면에 기록한다. 재생시에는 재생된 디스크 패킷들에서 타임 스탬프 삽입된 트랜스포트 패킷만을 추출한후 타임 스탬프가 지시하는 시간에 해당 트랜스포트 패킷을 데이터 디코딩부로 출력함을 특징으로 한다.The present invention relates to a broadcast signal receiving system capable of simultaneously supporting time delay viewing and recording and playback of a broadcast signal. The present invention relates to storing a digital stream input in real time on a recording medium of a random access storage device and efficiently reproducing it. Of course, the present invention relates to a controller for controlling input and output of a digital stream so as to support trick play, and a broadcast receiving system including the same. To this end, in the embodiment of the present invention, only the transport packet of the channel to be recorded is extracted from the received broadcast signal, and a time stamp indicating the arrival time of the extracted transport packet is inserted into the transport packet. In this way, a header is inserted into a group of transport packets, which are time stamped, to create a disk packet and record the disk packet. During playback, the transport packet is extracted from the reproduced disk packets, and then the transport packet is output to the data decoding unit at the time indicated by the time stamp.

타임 스탬프, 디스크 패킷, 디지털 트랜스포트 스트림Time stamps, disk packets, digital transport streams

Description

디지털 스트림 컨트롤러와 그를 포함하는 방송 수신 시스템{DIGITAL STREAM CONTROLLER AND A BROADCAST RECEIVING SYSTEM HAVING THE SAME} Digital stream controller and broadcast receiving system including the same {DIGITAL STREAM CONTROLLER AND A BROADCAST RECEIVING SYSTEM HAVING THE SAME}             

도 1은 본 발명의 실시예에 따른 디지털 스트림 컨트롤러를 구비하는 방송 수신 시스템의 블럭구성도.1 is a block diagram of a broadcast receiving system having a digital stream controller according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 디지털 스트림 컨트롤러(20)의 구성도.2 is a block diagram of a digital stream controller 20 according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 디스크 패킷 구조도.3 is a disk packet structure diagram according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따른 디스크 패킷 크기 예시도.4 is an exemplary disk packet size in accordance with an embodiment of the present invention.

도 5는 본 발명의 실시예에 따른 트릭 모드(Trick Mode) 지원을 위한 픽쳐 저장 위치 테이블 예시도.5 is a diagram illustrating a picture storage location table for trick mode support according to an embodiment of the present invention.

도 6은 본 발명의 실시예에 따라 하드 디스크 드라이브(HDD)에 트랜스포트 스트림(TS)을 녹화하기 까지의 과정을 설명하기 위한 도면.6 is a view for explaining a process up to recording a transport stream (TS) on a hard disk drive (HDD) in accordance with an embodiment of the present invention.

도 7은 본 발명의 실시예에 따라 하드 디스크 드라이브(HDD)로부터 재생된 비디오 스트림의 전송과정을 설명하기 위한 도면.7 is a view for explaining a process of transmitting a video stream reproduced from a hard disk drive (HDD) according to an embodiment of the present invention.

본 발명은 방송신호에 대한 시간지연 시청과 녹화 및 재생을 동시에 지원할 수 있는 방송 수신 시스템에 관한 것으로, 특히 디지털 스트림을 하드 디스크면에 저장하고 트릭 모드를 지원하기 위한 디지털 스트림 컨트롤러와 그를 포함하는 방송 수신 시스템 및 비디오 스트림 녹화/재생방법에 관한 것이다.The present invention relates to a broadcast receiving system capable of simultaneously supporting time delay viewing and recording and playback of a broadcast signal, and in particular, a digital stream controller for storing a digital stream on a hard disk and supporting a trick mode, and a broadcast including the same. A receiving system and a method for recording / reproducing a video stream.

컴퓨터 시스템의 보조기억장치인 하드 디스크 드라이브(Hard Disk Drive)는 랜덤 액세스가 가능하며, 데이터 전송속도가 고속인 동시에 타(他) 보조기억장치 보다 저가이면서도 대용량화할 수 있다는 점에서 방송 수신 시스템의 랜덤 액세스 저장장치로 사용되고 있다.The hard disk drive, which is a secondary memory device of a computer system, can be randomly accessed, and the data transmission speed is high, and it can be cheaper and larger in capacity than other auxiliary memory devices. It is used as an access storage device.

랜덤 액세스 저장장치를 구비하는 방송 수신 시스템은 디지털 트랜스포트 스트림의 동시 녹화 및 재생, 시간지연 시청이 가능한 시스템이다. 이와 같은 방송신호의 시간지연 시청 및 트랜스포트 스트림의 동시 녹화 및 재생은 하드 디스크 드라이브로 입/출력되는 디지털 스트림을 버퍼링 제어함으로써 구현될 수 있다.A broadcast receiving system having a random access storage device is a system capable of simultaneously recording and playing back digital transport streams and viewing time delays. Simultaneous recording and reproducing of the time-delayed viewing and transport stream of the broadcast signal can be implemented by buffering the digital stream input / output to the hard disk drive.

방송신호에 대한 시간지연 시청과 녹화 및 재생을 동시에 지원할 수 있는 일반적인 방송 수신 시스템은 하드 디스크면에 디지털 트랜스포트 스트림을 저장하기 위해서, 수신되는 아나로그 방송신호를 A/D 변환하고 이를 엠펙(MPEG) 인코더를 통해 디지털 비디오 스트림으로 변환한후 하드 디스크면에 저장한다. 따라서 일반적인 방송 수신 시스템에서는 하드 디스크면에 디지털 스트림을 저장하기 위해 A/D 컨버터, 엠펙 인코더와 같은 추가적인 하드웨어 구성을 필요로 하기 때문에 방송 수신 시스템이 대형화되는 단점이 있다.A general broadcast reception system capable of supporting time delay viewing and recording and playback of a broadcast signal simultaneously performs A / D conversion of the received analog broadcast signal to store a digital transport stream on a hard disk, and then converts it into MPEG. The encoder converts the digital video stream and stores it on the hard disk. Therefore, a general broadcast reception system requires an additional hardware configuration such as an A / D converter and an MPEG encoder in order to store a digital stream on the hard disk surface, so that the broadcast reception system is enlarged.

또한 멀티미디어 PC, 주문형 비디오(VOD), 고선명 TV, 디지털방송, 디지털 통신 등의 멀티미디어 상품을 고려해 볼때, 실시간 전송되는 디지털 스트림을 하드 디스크면에 저장하고 이를 시간 지연시청 및 트릭 플레이(trick play) 지원하기 위해서는 디지털 스트림의 입출력을 효과적으로 제어하기 위한 컨트롤러가 요구된다.In addition, considering multimedia products such as multimedia PC, video on demand (VOD), high definition TV, digital broadcasting, digital communication, etc., the real-time transmission of digital streams is stored on the hard disk, and it supports time delay watching and trick play. To do this, a controller for effectively controlling the input and output of the digital stream is required.

따라서 본 발명의 목적은 실시간으로 입력되는 디지털 스트림을 랜덤 액세스 저장장치의 기록매체에 저장하고 이를 효율적으로 재생함은 물론, 트릭 플레이를 지원할 수 있도록 디지털 스트림을 분석하여 필요한 정보를 추출하고 이를 이용하는 컨트롤러와 그를 포함하는 방송 수신 시스템을 제공함에 있다.Accordingly, an object of the present invention is to store a digital stream input in real time on a recording medium of a random access storage device and to efficiently reproduce it, as well as to analyze the digital stream so as to support trick play and extract necessary information and use the controller. And a broadcast receiving system including the same.

본 발명의 또 다른 목적은 방송신호에 대한 시간지연 시청과 녹화 및 재생을 동시에 지원할 수 있는 방송 수신 시스템에서 랜덤 액세스 저장장치에 디지털 스트림을 녹화하거나 녹화된 스트림을 재생할 수 있는 녹화 및 재생방법을 제공함에 있다.It is still another object of the present invention to provide a recording and reproducing method of recording a digital stream or playing back a recorded stream in a random access storage device in a broadcast receiving system capable of simultaneously supporting time delay viewing and recording and playback of a broadcast signal. Is in.

상기 목적을 달성하기 위한 본 발명은 시간지연 시청과 녹화 및 재생을 동시에 지원하기 위한 하드 디스크 드라이브를 구비하는 방송 수신 시스템에 있어서,The present invention for achieving the above object is a broadcast receiving system having a hard disk drive for supporting time delay viewing and recording and playback at the same time,

에러정정부호가 삽입되고 디지털 변조되어 전송되어 오는 방송신호를 입력하여 이를 디지털 트랜스포트 스트림으로 변환 출력하는 채널회로와,A channel circuit for inputting a broadcast signal into which an error correction code is inserted, digitally modulated and transmitted, and converting it into a digital transport stream;

상기 채널회로로부터 입력되는 트랜스포트 스트림에서 선택된 트랜스포트 패킷 혹은 외부 네트워크로부터 입력되는 단일 비디오 스트림에 새로운 PAT정보와 타 임 스탬프를 삽입하여 하드 디스크 드라이브로 전송하고, 상기 하드 디스크 드라이브로부터 재생된 타임 스탬프 삽입된 트랜스포트 패킷을 액세스하여 트랜스포트 패킷만을 비디오 디코더로 출력하는 디지털 스트림 컨트롤러와,Inserts new PAT information and time stamp into the selected transport packet in the transport stream input from the channel circuit or a single video stream input from an external network, and transmits the new PAT information and time stamp to the hard disk drive, and the time stamp reproduced from the hard disk drive. A digital stream controller for accessing the inserted transport packet and outputting only the transport packet to the video decoder;

상기 디지털 스트림 컨트롤러로부터 전송되는 타임 스탬프 삽입된 트랜스포트 패킷을 저장하는 메모리와,A memory for storing a time stamped transport packet transmitted from the digital stream controller;

녹화시 상기 메모리에 저장된 일군의 타임 스탬프 삽입된 트랜스포트 패킷에 헤더를 부가하여 디스크 패킷을 만들고 이를 상기 하드 디스크 드라이브에 기록되도록 제어하며, 녹화정보 재생시 상기 하드 디스크 드라이브를 제어하여 소망하는 디스크 패킷을 상기 메모리에 저장하는 시스템 제어부로 구성함을 특징으로 하며,When recording, a header is added to a group of time-stamped transport packets stored in the memory to create a disk packet and control the recording to be recorded on the hard disk drive, and the desired disk packet is controlled by controlling the hard disk drive when playing recording information. Characterized in that the system control unit for storing in the memory,

상기 디지털 스트림 컨트롤러는 입력되는 디지털 트랜스포트 스트림중에서 선택된 녹화 채널만의 트랜스포트 패킷의 PID만을 선택출력하는 필터와,The digital stream controller may include a filter for selectively outputting only PIDs of transport packets of only a recording channel selected from an input digital transport stream;

여러 채널에 대한 정보를 가지고 있는 PAT가 도착한 시간에 현재 선택된 채널에 대한 정보만을 가지는 새로운 PAT패킷을 생성하여 여러 채널정보를 가진 PAT로 치환하여 삽입하는 PAT 삽입부와,PAT inserting unit for generating a new PAT packet having only the information on the currently selected channel at the time when the PAT having the information on the multiple channels arrives, replacing the PAT packet with a PAT having multiple channel information,

상기 PAT 삽입부로부터 트랜스포트 패킷 입력시에 소정 사이클 주기로 증가하는 내부 클럭 카운팅값을 캡쳐링하여 상기 트랜스포트 패킷에 삽입하는 타임 스탬프 삽입부와,A time stamp inserter for capturing and inserting an internal clock counting value that is increased in a predetermined cycle period when the transport packet is input from the PAT inserter, and inserting it into the transport packet;

설정되는 비디오 PID값에 따라 상기 타임 스탬프 삽입된 트랜스포트 패킷에서 비디오 패킷을 추출하고, 추출된 비디오 패킷에서 픽쳐 헤더를 찾아 픽쳐 헤더 검출 비트를 세팅함과 아울러 현재 픽쳐의 픽쳐 타입 정보를 세팅하는 픽쳐 헤더 검출부와,A picture which extracts a video packet from the time stamped transport packet according to the set video PID value, finds a picture header from the extracted video packet, sets a picture header detection bit, and sets picture type information of the current picture. A header detector,

상기 타임 스탬프 삽입된 트랜스포트 패킷을 상기 랜덤 액세스 저장장치로 전송 제어하고, 상기 랜덤 액세스 저장장치에서 재생된 타임 스탬프 삽입된 트랜스포트 패킷을 액세스하여 출력하는 컨트롤러와,A controller for controlling transmission of the time stamped transport packet to the random access storage device, and accessing and outputting the time stamped transport packet reproduced in the random access storage device;

상기 컨트롤러로부터 출력되는 타임 스탬프 삽입된 트랜스포트 패킷을 일시 저장하는 메모리와,A memory for temporarily storing a time stamped transport packet output from the controller;

상기 메모리로부터 출력되는 타임 스탬프 삽입된 트랜스포트 패킷에서 트랜스포트 패킷만을 디코딩부로 출력하는 타이밍 컨트롤러로 구성함을 특징으로 한다.
And a timing controller for outputting only the transport packet to the decoding unit from the time stamp-inserted transport packet output from the memory.

이하 첨부한 도면을 참조하여 본 발명의 실시예에 디지털 스트림 컨트롤러와 그를 포함하는 방송 수신 시스템의 구성 및 동작을 상세히 설명하기로 한다.Hereinafter, the configuration and operation of a digital stream controller and a broadcast receiving system including the same will be described in detail with reference to the accompanying drawings.

우선 도 1은 본 발명의 실시예에 따른 디지털 스트림 컨트롤러를 구비하는 방송 수신 시스템의 블럭구성도를 도시한 것이며, 도 2는 본 발명의 실시예에 따른 디지털 스트림 컨트롤러(20)의 상세 구성도를 도시한 것이다.1 is a block diagram of a broadcast receiving system having a digital stream controller according to an embodiment of the present invention, and FIG. 2 is a detailed block diagram of a digital stream controller 20 according to an embodiment of the present invention. It is shown.

도 1을 참조하면 본 발명의 실시예에 따른 디지털 스트림 컨트롤러(20)는 채널회로(10)와 IEEE 1394(40)와 접속되어 엠펙(MPEG) 트랜스포트 스트림을 전송받는다. 상기 채널회로(10)는 지상파, 위성, 케이블 등과 같은 채널종류에 따라 구비되어야 하는 기능 블럭으로써, 그 내부에는 변조된 신호를 복조하기 위한 복조부와 전송시 수반되는 에러를 정정하기 위한 에러정정부를 포함하고 있다. 즉, 채널회로(10)는 고유채널을 통해 전송되는 방송신호를 입력하여 이를 엠펙 트랜스포트 스트림(Transport Stream:이하 TS 스트림이라 함)으로 변환하여 출력한다.Referring to FIG. 1, a digital stream controller 20 according to an exemplary embodiment of the present invention is connected to a channel circuit 10 and an IEEE 1394 40 to receive an MPEG transport stream. The channel circuit 10 is a functional block that must be provided according to a channel type such as terrestrial wave, satellite, cable, etc., and includes a demodulator for demodulating a modulated signal and an error correction unit for correcting an error accompanying transmission. It includes. That is, the channel circuit 10 inputs a broadcast signal transmitted through a unique channel, converts it into an MPEG transport stream (hereinafter referred to as a TS stream), and outputs it.

IEEE 1394(40)는 1394 네트워크(30)로부터 전송되는 단일 비트스트림을 디지털 스트림 컨트롤러(20)로 전송하여 준다.The IEEE 1394 40 transmits a single bit stream transmitted from the 1394 network 30 to the digital stream controller 20.

디지털 스트림 컨트롤러(20)는 1394 네트워크 혹은 채널회로(10)로부터 입력되는 TS 스트림에 새로운 PAT정보와 타임 스탬프를 삽입한후 PCI버스(50)를 통해 메모리 1(90)로 전송하고, HDD(70)로부터 재생된 TS 스트림을 저장시 삽입되었던 타임 스탬프의 값에 따라 A/V디코더로 전송하는 역할을 수행한다.The digital stream controller 20 inserts new PAT information and time stamps into the TS stream input from the 1394 network or the channel circuit 10 and transmits the new PAT information and time stamps to the memory 1 90 through the PCI bus 50 and the HDD 70. Transmits the TS stream reproduced from the A / V decoder according to the value of the time stamp inserted in the storage.

HDD 인터페이스(60)는 하드 디스크 드라이브(Hard Disk Drive:HDD라함)(70)와 메모리1(90) 사이에 송수신되는 TS 스트림을 인터페이싱한다.The HDD interface 60 interfaces TS streams transmitted and received between the hard disk drive (HDD) 70 and the memory 1 90.

HDD(70)는 상기 HDD 인터페이스(60)를 통해 전송된 TS 스트림을 기록저장하기 위한 다수의 디스크들과, 상기 디스크면에 TS 패킷을 기록하거나 기록된 TS 패킷을 독출하기 위한 헤드들을 구비한다.The HDD 70 includes a plurality of disks for recording and storing TS streams transmitted through the HDD interface 60, and heads for recording TS packets or reading recorded TS packets on the disk surface.

브릿지 회로(Bridge Circuit)(80)는 시스템 제어부(100)의 고유 버스와 PCI버스(50) 사이에서의 신호 송수신이 가능하도록 변환하는 역할을 수행한다. 즉, 시스템 제어부(100)에서 PCI버스상에 존재하는 기능 블럭에 데이터를 라이트하고자 하는 경우, 시스템 제어부(100)의 고유 버스신호를 PCI 버스 신호로 변환시켜 PCI버스(50)상에 존재하는 기능 블럭에 라이트할 수 있도록 해 준다.The bridge circuit 80 converts signals between the intrinsic bus of the system controller 100 and the PCI bus 50 to enable transmission and reception of signals. That is, when the system controller 100 wants to write data to a function block existing on the PCI bus, the system controller 100 converts the intrinsic bus signal into a PCI bus signal to exist on the PCI bus 50. Allows to write to the block.

메모리1(90)은 시스템 제어부(100)에 의해 제어되며 디지털 스트림 컨트롤러(20)로부터 전송되는 타임 스탬프(4바이트)가 포함된 192바이트의 TS패킷 을 저장하거나 HDD(70)로부터 재생된 디스크 패킷을 일시 저장한다.The memory 1 90 stores a 192-byte TS packet containing a time stamp (4 bytes) transmitted from the digital stream controller 20 and controlled by the system control unit 100, or a disk packet reproduced from the HDD 70. Temporarily save.

시스템 제어부(100)는 시스템 제어동작시 발생하는 데이터를 일시 저장하기 위한 램(RAM)과 시스템 제어 프로그램 데이터가 저장된 롬(ROM)으로 구성되는 메모리를 내부에 구비한다. 그리고 시스템 제어부(100)는 사용자 인터페이스부(리모콘 혹은 조작판넬부 등)(110)와 접속되어 사용자의 조작 명령에 따라 시간지연 시청과 녹화 및 재생을 동시에 지원하기 위한 일련의 제어동작을 수행한다. 일예로, 시스템 제어부(100)는 메모리1(90)에 저장되는 타임 스탬프 삽입된 TS 패킷을 디스크 패킷화하여 HDD(70)로 전송 제어하고, HDD(70)로부터 재생되는 디스크 패킷을 메모리1(90)에 저장되도록 제어한다. 또한 시스템 제어부(100)는 TS스트림 녹화시 트릭모드 지원을 위한 픽쳐 타입 테이블을 작성하여 내부 메모리에 저장한다.The system controller 100 includes a memory configured to include a RAM for temporarily storing data generated during a system control operation and a ROM in which system control program data is stored. The system controller 100 is connected to a user interface unit (such as a remote control unit or an operation panel unit) 110 to perform a series of control operations for simultaneously supporting time delay viewing and recording and playback according to a user's operation command. For example, the system controller 100 controls a disk packetized TS packet stored in the memory 1 90 to be transmitted to the HDD 70, and controls the disk packet reproduced from the HDD 70 to be stored in the memory 1 ( 90) to be stored. In addition, the system controller 100 creates a picture type table for trick mode support during TS stream recording and stores the picture type table in the internal memory.

이하 상술한 디지털 스트림 컨트롤러(20)의 상세 구성을 도시한 도 2를 참조하면, 상기 디지털 스트림 컨트롤러(20)는 트랜스포트 스트림(TS) 디먹스(DEMUX)(21), PAT 삽입부(22), 타임 스탬프 삽입부 & PH(Picture Header)검출부(23), DMA컨트롤러(24), 피포(FIFO)메모리(25) 및 타이밍 컨트롤러(26)로 구성된다.Referring to FIG. 2, which shows a detailed configuration of the digital stream controller 20 described above, the digital stream controller 20 includes a transport stream (TS) demux (DEMUX) 21 and a PAT insertion unit 22. And a time stamp inserter & PH (picture header) detector 23, a DMA controller 24, a FIFO memory 25, and a timing controller 26.

상기 TS DEMUX(21)는 PID 필터(21a)와 스크램블러(21b)로 구성되는데, 상기 PID필터(21a)는 HDD에 녹화하고자 하는 단일 채널만 녹화하기 위해 필요한 PID만을 선별하여 출력한다. 만약 사용자의 선택에 의해 채널이 변경되면 변경된 채널의 PID값이 시스템 제어부(100)의 제어에 의해 새로이 설정된다. 선택될 PID로는 PAT(Program Association Table), PMT(Program Map Table), 비디오 PID, 오디오 PID, 데이터 PID, ECM PID 등이다.The TS DEMUX 21 is composed of a PID filter 21a and a scrambler 21b. The PID filter 21a selects and outputs only PIDs necessary for recording only a single channel to be recorded on the HDD. If the channel is changed by the user's selection, the PID value of the changed channel is newly set by the control of the system controller 100. The PID to be selected includes a program association table (PAT), a program map table (PMT), a video PID, an audio PID, a data PID, and an ECM PID.

스크램블러(21b)는 IEEE 1394 네트워크로부터 전송된 AV스트림을 스크램블링하여 출력한다. 즉, 스크램블러(21b)는 스크램블링되지 않은 AV스트림을 스크램블링하기 위해 존재하며, 만약 입력되는 채널이 스크램블되어 있다면 이를 다시 스크램블할 필요없이 그대로 바이패스시킨다. 이와 같은 제어는 시스템 제어부(100)의 제어에 의해 이루어진다.The scrambler 21b scrambles and outputs the AV stream transmitted from the IEEE 1394 network. That is, the scrambler 21b exists to scramble the unscrambled AV stream. If the input channel is scrambled, the scrambler 21b bypasses the scrambler 21 without having to scramble it again. Such control is performed by the control of the system control unit 100.

PAT 삽입부(22)는 방송중인 여러 채널에 대한 정보를 가지고 있는 PAT가 도착한 시간에 현재 선택된 채널에 대한 정보만을 가지는 새로운 PAT패킷을 생성하여 여러 채널에 대한 정보를 가지고 있는 PAT로 치환하여 TS 스트림에 삽입한다.The PAT inserting unit 22 generates a new PAT packet having only information on the currently selected channel at the time when the PAT having information on several channels on the air arrives and replaces it with a PAT having information on several channels to transmit the TS stream. Insert in

타임 스탬프(Time Stamp) 삽입부 & PH 검출부(23)에서, 타임 스탬프 삽입부는 TS패킷 도착시에 27MHz 클럭으로 증가하는 내부 카운터 값을 캡쳐링하여 입력된 TS 패킷에 삽입한다. 이와 같이 TS패킷에 타임 스탬프를 삽입함으로써 HDD(70) 재생시 최초의 TS 패킷에 삽입된 타임스탬프로 초기화한후, 다음 TS패킷에 삽입된 타임 스탬프값을 계속 증가하고 있는 내부 카운터값과 비교하여 동일하면 해당 TS패킷을 전송할 수 있게 된다. 상기 타임 스탬프는 하기 설명에서 4바이트의 크기를 갖는 것으로 가정한다.In the time stamp inserter & PH detector 23, the time stamp inserter captures and inserts an internal counter value incremented by 27 MHz clock into the input TS packet upon arrival of the TS packet. By inserting the time stamp into the TS packet as described above, the HDD 70 is initialized with the time stamp inserted into the first TS packet during playback, and then the time stamp value inserted into the next TS packet is compared with the internal counter value which is continuously increasing. If the same, the TS packet can be transmitted. The time stamp is assumed to have a size of 4 bytes in the following description.

타임 스탬프 삽입부 & PH 검출부(23)에서의 PH(Picture Header)검출부는 시스템 제어부(100)의 제어에 의해 내부 레지스터의 비디오 PID값이 세팅된다. 이러한 PH검출부는 비디오 TS패킷에서 픽쳐 헤더를 찾아 픽쳐 헤더 검출 비트를 세팅하고 이와 동시에 현재 픽쳐의 픽쳐 타입 정보를 세팅한다. 이와 같이 세팅된 픽쳐 헤더 검출 비트는 HDD(70)에 디스크 패킷을 기록하기 위한 헤더정보 구성시 이용된다.The picture header (PH) detector in the time stamp inserter & PH detector 23 sets the video PID value of the internal register under the control of the system controller 100. The PH detection unit finds a picture header in a video TS packet, sets a picture header detection bit, and simultaneously sets picture type information of a current picture. The picture header detection bit set as described above is used when configuring the header information for recording the disk packet on the HDD 70.

한편 트랜스포트 스트림의 하드 디스크 저장시에 DMA 컨트롤러(24)는 상기 타임 스탬프 삽입부 & PH검출부(23)로부터 입력되는 TS패킷을 메모리1(90)로 전송하고, 하드 디스크로부터 TS 스트림을 읽어들일 때에는 시스템 제어부(100)의 제어하에 상기 메모리1(90)에 저장된 디스크 패킷에서 유효 데이터만(헤더를 제외한 타임 스탬프 삽입된 TS패킷)을 독출하여 피포 메모리(25)로 전송한다. 이러한 DMA컨트롤러(24)는 내부에 다수의 레지스터를 구비하는데, 예를 들면 입력되는 TS패킷을 DMA전송하기 위한 레지스터 2쌍을 가진다. 즉, 1쌍의 레지스터를 이용하여 DMA 동작을 수행하고 인터럽트 발생후 자동적으로 나머지 1쌍의 레지스터를 사용하여 계속적으로 입력되는 TS패킷을 전송하도록 한다. 이러한 과정을 원활하게 수행하기 위해 DMA에 관계되는 레지스터 세트만 2쌍을 가지는 것이 아니고, PH검출부에서 처리한 결과를 보고하는 레지스터도 2쌍을 두어 상술한 DMA 레지스터와 연결하여 사용한다.On the other hand, when storing the transport stream on the hard disk, the DMA controller 24 transmits the TS packet input from the time stamp inserting unit & PH detecting unit 23 to the memory 1 90, and reads the TS stream from the hard disk. Under the control of the system control unit 100, only valid data (TS packets inserted with a time stamp except for a header) is read from the disk packet stored in the memory 1 90 and transmitted to the target memory 25. The DMA controller 24 has a plurality of registers therein. For example, the DMA controller 24 has two registers for DMA transfer of an input TS packet. That is, DMA operation is performed by using a pair of registers, and after the interrupt is generated, TS packets are continuously transmitted using the remaining pair of registers automatically. In order to perform this process smoothly, not only the register set related to the DMA has two pairs, but the register for reporting the result of processing by the PH detection unit also has two pairs and is used in connection with the aforementioned DMA register.

피포 메모리(25)는 상기 DMA컨트롤러(24)를 통해 입력되는 타임 스탬프 삽입된 TS 패킷을 일시 저장하고 선입선출방식으로 출력한다.The PoBee memory 25 temporarily stores the TS-packet inserted into the TS packet input through the DMA controller 24 and outputs the first-in first-out method.

타이밍 컨트롤러(26)는 타임 스탬프가 삽입되어 있는 TS패킷을 상기 피포 메모리(25)에서 읽어 들인후 타임 스탬프에 적혀 있는 시간이 되면 타임 스탬프를 제외한 188바이트의 TS패킷을 A/V디코더로 출력한다.The timing controller 26 reads out the TS packet having the time stamp inserted from the packet memory 25 and outputs 188 bytes of TS packet excluding the time stamp to the A / V decoder when the time written in the time stamp is reached. .

이하 도 3 내지 도 6을 참조하여 채널로부터 입력되는 TS스트림을 HDD(70)에 디스크 패킷화하여 기록하는 과정을 상세히 설명하기로 한다.Hereinafter, a process of disc packetizing and recording a TS stream input from a channel to the HDD 70 will be described in detail with reference to FIGS. 3 to 6.

우선 도 3은 본 발명의 실시예에 따른 디스크 패킷 구조도를 도시한 것이며, 도 4는 본 발명의 실시예에 따른 디스크 패킷 크기 예시도를 도시한 것이다. 그리고 도 5는 본 발명의 실시예에 따른 트릭 모드(Trick Mode) 지원을 위한 픽쳐 타입 테이블 예시도를 도시한 것이다.First, FIG. 3 illustrates a structure of a disk packet according to an embodiment of the present invention, and FIG. 4 illustrates an exemplary diagram of a disk packet size according to an embodiment of the present invention. 5 illustrates an example of a picture type table for trick mode support according to an embodiment of the present invention.

본 발명의 실시예에 따른 디스크 패킷은 디스크면에 기록되는 TS패킷을 지칭하는 것으로 헤더부분과 데이터로 구분되는데, 상기 데이터는 TS패킷과 각 TS패킷이 도착한 시간 Tn으로 구성된다. 상기 TS패킷이 도착한 시간은 삽입된 타임 스탬프의 값을 지칭한다. 이와 같이 디스크 패킷을 구성하는 이유는 연속되는 TS패킷을 디스크면의 연속되는 섹터들에 기록하여 데이터 액세스시의 속도향상을 기하기 위함이다. 그리고 상기 데이터를 메모리1(90)에 저장하여 디스크 패킷화하기 위한 DMA 컨트롤러(24)내의 레지스터를 정리하면 하기 표 1과 같다.A disk packet according to an embodiment of the present invention refers to a TS packet recorded on a disk surface, and is divided into a header part and data. The data consists of a TS packet and a time Tn at which each TS packet arrives. The arrival time of the TS packet refers to the value of the inserted time stamp. The reason for constructing the disk packet as described above is to improve the speed during data access by writing successive TS packets to successive sectors on the disk surface. The registers in the DMA controller 24 for storing the data in the memory 1 90 and disk packetizing are as shown in Table 1 below.

레지스터 명칭            Register name 설명                  Explanation 디스크 패킷 스타트 어드레스     Disk packet start address TS패킷을 메모리1에 저장할때의 시작번지Start address when saving TS packet to memory 1 TS패킷 사이즈            TS packet size MPEG : 192MPEG: 192 TS패킷 갯수            TS Packet Count 디스크 패킷을 구성하기 위해 전송해야 하는 TS패킷 갯수Number of TS packets that need to be sent to construct disk packets 제어/명령            Control / command

즉, DMA컨트롤러(24)로부터 타임 스탬프까지 포함된 192바이트의 TS패킷을 메모리1(90)에 모아 1개의 디스크 패킷을 생성시킬 수 있으며, 이때 디스크 패킷의 크기를 도 4에 나타낸 바와 같이 다양화할 수 있다. 디스크 패킷의 크기가 클수록 메모리1(90)에 TS패킷을 저장하기 위한 영역이 많이 필요해 지며, 하나의 디스크 패킷에 여러 픽쳐가 존재할 수 있기 때문에 이러한 점을 고려하여 디스크 패킷의 크기를 정하는 것이 바람직하다.That is, 192 bytes of TS packets including the time stamps from the DMA controller 24 can be collected in the memory 1 90 to generate one disk packet. In this case, the size of the disk packet can be varied as shown in FIG. Can be. The larger the size of the disk packet, the more space for storing the TS packet is required in the memory 1 90. Since several pictures may exist in one disk packet, it is desirable to determine the size of the disk packet in consideration of this point. .

한편 디스크 패킷의 일요소인 헤더는 하기 표 2와 같은 항목을 가질 수 있다.Meanwhile, the header, which is an element of the disk packet, may have items as shown in Table 2 below.

헤더정보Header Information 바이트 수Number of bytes 설명Explanation HeaderHeader 22 디스크 패킷 헤더Disk packet header 헤더정보 유효여부Validity of header information 1One 데이터 유효여부 플래그Data validity flag PMT PIDPMT PID 각각 2 (선택사항)  2 each (optional) 싱글 프로그램을 위한 PSI정보  PSI Information for Single Program Video PIDVideo PID Audio PIDAudio PID ECM PIDECM PID Data PIDData PID Random access IndicatorRandom access indicator 1 One 픽쳐 헤더 포함유무, I픽쳐 포함여부Whether to include picture header and whether to include I picture TS Pointer TS Pointer n개의 TS패킷중에 몇번째 TS패킷에 픽쳐 헤더가 있는지를 지시.Indicates which TS packet among n TS packets has a picture header. Picture header TypePicture header type 1One TimeTime Key sizeKey size 1One 암호화된 key가 차지하게 될 사이즈The size of the encrypted key Encrypted KeyEncrypted Key 1One TS가 스크램블되어 있을 경우 이를 풀기 위한 키Key to unlock if TS is scrambled

상기 표 2에서 Random access indicator, TS pointer, Picture header type등의 정보는 PH검출부에서 전송되는 정보를 이용하여 세팅된다.In Table 2, information such as a random access indicator, a TS pointer, and a picture header type is set using information transmitted from the PH detector.

한편 TS패킷을 디스크 패킷화함과 아울러 트릭모드(fast forward, rewind)동작을 지원하기 위해 픽쳐 타입 테이블을 작성하는데, 이러한 픽쳐 타입 테이블은 도 5에 예시한 바와 같고 내부 메모리에 저장하여 이용한다. 도 5에서 C, H, S는 픽쳐 헤더가 저장된 디스크면의 위치값을 지시하는 것으로, 각각 실린더(Cylinder), 헤드(Head), 섹터(Sector)넘버를 나타낸다. 예를 들어 고속탐색의 경우 상기 픽쳐 타입 테이블을 검색하여 I픽쳐 혹은 I.P픽쳐에 대한 C,H,S값을 리드하여 HDD인터페이스(60)로 전송하면 그에 따라 필요한 픽쳐 데이터만 디스크면으로부터 독출될 수 있다.Meanwhile, a picture type table is created to support disk packet packetization and trick forward (fast forward, rewind) operation. Such a picture type table is illustrated in FIG. 5 and stored and used in an internal memory. In FIG. 5, C, H, and S indicate a position value of a disk surface on which a picture header is stored, and represent cylinder, head, and sector numbers, respectively. For example, in the case of high-speed search, after searching the picture type table and reading the C, H, and S values for the I picture or the IP picture and transmitting them to the HDD interface 60, only the required picture data can be read from the disk surface. have.

이하 타임 스탬프가 포함된 192바이트의 TS패킷을 2K바이트 크기의 디스크 패킷으로 패킷화하여 HDD(70)에 기록저장하는 과정을 도 6을 참조하여 설명하면,Hereinafter, a process of packetizing a 192-byte TS packet including a time stamp into a 2K-byte disk packet and recording and storing it in the HDD 70 will be described with reference to FIG. 6.

우선 사용자 인터페이스부(110)를 통해 디지털 방송신호를 HDD(70)에 녹화하기 위한 명령이 입력되면 시스템 제어부(100)는 선택된(혹은 변경된) 방송채널만을 녹화하기 위해서 필요한 값(예를 들면 PID값)들을 세팅하여 준다. 이러한 채널선택 혹은 변경과정 이후에 PID필터(21a)에서 출력되는 TS스트림은 스크램블러(21b)를 통해 출력되며, PAT삽입부(22)에 의해서 선택된 채널에 대한 정보만을 가지는 새로운 PAT패킷이 삽입되고, 타임 스탬프 삽입부 & PH 검출부(23)에 의해 TS패킷 도착시간을 지시하는 타임 스탬프가 삽입되어 DMA 컨트롤러(24)를 통해 순차적으로 메모리 1(90)로 전송된다. 이와 같은 DMA전송중 DMA컨트롤러(100)는 210단계에서 메모리1(90)의 TS패킷 저장위치(어드레스)를 지정해 준후, 220단계로 진행하여 입력되는 TS패킷을 메모리1(90)로 전송하는 방식으로 일군의 TS패킷을 메모리1(90)로 순차전송한다. 만약 1군의 TS패킷 전송이 완료되었다고 230단계에서 판단되면 DMA컨트롤러(24)는 240단계로 진행하여 시스템 제어부(100)로 인터럽트를 발생시킨다. 상기 1군의 TS패킷은 하기 설명에서 디스크 패킷을 이루는 10개의 TS패킷으로 정의할 수 있다.First, when a command for recording a digital broadcast signal to the HDD 70 is input through the user interface 110, the system controller 100 needs to record only a selected (or changed) broadcast channel (eg, a PID value). Set them). After the channel selection or change process, the TS stream output from the PID filter 21a is output through the scrambler 21b, and a new PAT packet having only information on the channel selected by the PAT inserter 22 is inserted. A time stamp inserting time stamp indicating the TS packet arrival time is inserted by the time stamp inserting unit & PH detecting unit 23 and sequentially transferred to the memory 1 90 through the DMA controller 24. During the DMA transfer, the DMA controller 100 designates the TS packet storage location (address) of the memory 1 90 in step 210, and then proceeds to step 220 and transmits the input TS packet to the memory 1 90. As a result, a group of TS packets are sequentially transmitted to the memory 1 (90). If it is determined in step 230 that the TS packet transmission of the first group is completed, the DMA controller 24 proceeds to step 240 to generate an interrupt to the system controller 100. The group of TS packets may be defined as ten TS packets constituting a disk packet in the following description.

한편 인터럽트 발생시 시스템 제어부(100)는 300단계에서 일군의 TS패킷에 픽쳐 헤더(PH검출부에서 검출됨)를 삽입하여 하나의 완전한 디스크 패킷을 만든후 310단계로 진행하여 디스크 저장위치(C,H,S 혹은 Logic Block Address)를 지정한다. 이와 같이 디스크 패킷의 저장위치가 지정되면 시스템 제어부(100)는 320단계에서 디스크 패킷을 HDD(70)로 전송하여 기록저장하고 픽쳐 타입 테이블을 갱신한다. 이러한 디스크 패킷의 전송중에도 계속적으로 TS패킷은 DMA전송되므로, DMA전송에 관계되는 레지스터를 2쌍 구비하여 1쌍의 DMA전송을 수행하고 인터럽트를 발생시킨 후에는 자동적으로 나머지 1쌍의 레지스터를 사용하여 TS패킷이 전송되도록 한다.On the other hand, when an interrupt occurs, the system control unit 100 inserts a picture header (detected by the PH detection unit) into a group of TS packets in step 300 to make one complete disk packet, and then proceeds to step 310 and stores the disk storage positions (C, H, S or Logic Block Address). When the storage location of the disk packet is specified as described above, the system controller 100 transmits the disk packet to the HDD 70 to record and store the picture and updates the picture type table in step 320. Since TS packets are DMA-transmitted continuously during the transmission of such disk packets, two pairs of registers related to the DMA transfer are performed to perform one pair of DMA transfers, and after the interrupt is generated, the remaining one pair of registers is automatically used. Allow TS packets to be sent.

따라서 DMA컨트롤러(24)로부터 전송되는 일군의 TS패킷은 시스템 제어부(100)의 제어에 의해 디스크 패킷화되어 HDD(70)의 소정 위치에 기록저장되고, 각 픽쳐 타입의 저장위치는 픽쳐 타입 테이블에 갱신되므로써 이후 시스템 제어부(100)는 트릭모드를 지원할 수 있게 되는 것이다.Therefore, a group of TS packets transmitted from the DMA controller 24 is disk packetized under the control of the system control unit 100 and recorded and stored in a predetermined position of the HDD 70, and the storage position of each picture type is stored in the picture type table. By being updated, the system control unit 100 can then support the trick mode.

이하 도 7을 참조하여 하드 디스크 드라이브(70)에서 재생된 비디오 스트림이 전송되는 과정을 설명하기로 한다.Hereinafter, a process of transmitting a video stream reproduced from the hard disk drive 70 will be described with reference to FIG. 7.

우선 도 7은 본 발명의 실시예에 따라 하드 디스크 드라이브(HDD)로부터 재생된 비디오 스트림이 전송되는 과정을 설명하기 위한 도면을 도시한 것이다. 도 7을 참조하면, 사용자 인터페이스부(110)를 통해 재생명령이 있으면 시스템 제어부(100)는 420단계로 진행하여 재생하고자 하는 비디오 스트림의 시작번지를 검색한다. 즉, 재생하고자 하는 비디오 스트림이 디스크면의 어디에 위치하고 있는 지를 검색하는 단계이며, 이는 화일 시스템(file system)을 검색함으로써 얻을 수 있다. 따라서 시스템 제어부(100)는 재생하고자 하는 비디오 스트림의 시작번지를 검색 완료하였으면 430단계로 진행하여 HDD(70)를 제어하여 소망하는 비디오 스트림을 재생한다. 이와 같이 HDD(70)로부터 재생되는 일정 크기(본 발명의 실시예에서는 디스크 패킷단위인 것으로 가정함)의 비디오 스트림은 440단계에서 HDD 인터페이스(60)를 통해 메모리1(90)에 저장된다. 도면에 도시하지는 않았지만 HDD(70)에서 재생된 디스크 패킷을 상기 메모리1(90)에 저장하기에 앞서 시스템 제어부(100)에 의해 디스크 패킷의 저장위치는 지정된다.FIG. 7 is a diagram illustrating a process of transmitting a video stream reproduced from a hard disk drive (HDD) according to an embodiment of the present invention. Referring to FIG. 7, if there is a playback command through the user interface 110, the system controller 100 searches for a start address of a video stream to be played in step 420. That is, a step of searching where the video stream to be played is located on the disk surface can be obtained by searching a file system. Therefore, when the search for the start address of the video stream to be played is completed, the system controller 100 proceeds to step 430 to control the HDD 70 to play the desired video stream. As described above, the video stream of a predetermined size (assuming disk unit in the embodiment of the present invention) reproduced from the HDD 70 is stored in the memory 1 90 through the HDD interface 60 in step 440. Although not shown in the figure, the storage location of the disk packet is designated by the system controller 100 prior to storing the disk packet reproduced in the HDD 70 in the memory 1 90.

한편 DMA컨트롤러(24)는 메모리1(90)에 저장된 디스크 패킷에서 유효 데이터(디스크 패킷에서 헤더를 제외한 데이터)만을 독출하여 설정된 횟수만큼 피포 메모리(25)로 전송제어하는데, 이를 위해 하기 표 3과 같은 레지스터들을 구비한다.On the other hand, the DMA controller 24 reads only valid data (data excluding the header from the disk packet) from the disk packet stored in the memory 1 90 and transfers the control to the target memory 25 as many times as set. With the same registers.

레지스터명           Register name 설명                  Explanation 디스크 패킷 스타트 어드레스   Disk packet start address 메모리내에 디스크 패킷이 놓여진 시작번지 Start address of disk packet in memory 디스크 패킷 유효 데이터 오프셋   Disk Packet Valid Data Offset 디스크 패킷내에 유효데이터가 놓이는 오프셋 The offset where the valid data is placed in the disk packet TS 패킷 사이즈         TS packet size TS + 타임 스탬프의 길이(MPEG:192B)     Length of TS + Time Stamp (MPEG: 192B) 디스크 패킷 사이즈      Disk packet size 디스크 패킷의 크기             Disk packet size 디스크 패킷 갯수       Disk Packet Count 전송해야 할 디스크 패킷 갯수        The number of disk packets to send 제어/상태 레지스터       Control / status register

즉, DMA컨트롤러(24)는 510단계에서 시스템 제어부(100)의 제어에 의해 세팅된 레지스터값을 참조하여 우선적으로 디스크 패킷의 유효 데이터만을 독출하여 피포 메모리(25)로 전송한다. 그리고 520단계에서 피포 메모리(25)로 전송한 유효 데이터의 전송횟수를 카운트하고, 530단계에서 설정횟수 만큼의 유효데이터 전송이 이루어졌는가를 판단한다. 이와 같이 설정횟수 만큼 유효데이터의 전송이 이루어졌는가를 판단하는 이유는 HDD(70)의 비디오 스트림 재생속도와 메모리1(90)의 데이터 저장용량 및 피포 메모리(25)에 저장된 TS패킷이 타이밍 컨트롤러(26)를 통해 A/V디코더로 출력되기 위해 필요한 시간을 고려하기 때문이다. 따라서 530단계에서 설정횟수 만큼 데이터 전송이 이루어졌다면 DMA컨트롤러(24)는 540단계에서 시스템 제어부(100)로 인터럽트를 발생시키고, 그에 응답하여 시스템 제어부(100)는 다시 HDD(70)를 제어하여 비디오 스트림을 계속적으로 재생해 나간다.That is, the DMA controller 24 first reads only valid data of a disk packet and transmits the read data to the target memory 25 by referring to the register value set by the control of the system controller 100 in step 510. In operation 520, the number of times of valid data transmitted to the pipo memory 25 is counted. In operation 530, it is determined whether the number of valid data transfers is performed as many times as the set number of times. The reason for determining whether the effective data has been transmitted by the set number of times is that the playback speed of the video stream of the HDD 70, the data storage capacity of the memory 1 90, and the TS packets stored in the Popo memory 25 are determined by the timing controller ( This is because the time required for output to the A / V decoder is considered. Therefore, if data is transmitted as many times as set in step 530, the DMA controller 24 generates an interrupt to the system control unit 100 in step 540, and in response, the system control unit 100 controls the HDD 70 again to control the video. Play the stream continuously.

상술한 바와 같이 재생시에 비디오 스트림이 전송되는 경로를 살펴보면, HDD(70)에서 재생된 비디오 스트림은 시스템 제어부(100)의 제어에 의해 메모리1(90)에 저장되고, 저장된 디스크 패킷의 유효 데이터는 DMA컨트롤러(24)에 의해서 피포 메모리(25)를 통해 타이밍 컨트롤러(26)로 전송된다. 그러면 타이밍 컨트롤러(26)는 전송된 유효데이터에서 타임 스탬프에 적혀 있는 시간이 될때까지 TS패킷을 홀딩한후 타임 스탬프값의 시간이 되었을때 188바이트 TS패킷을 A/V디코더로 출력하게 되는 것이다.As described above, referring to the path through which the video stream is transmitted during playback, the video stream played back from the HDD 70 is stored in the memory 1 90 under the control of the system controller 100, and the valid data of the stored disk packet is The DMA controller 24 transmits the data to the timing controller 26 through the target memory 25. Then, the timing controller 26 holds the TS packet until the time stamped time reaches the valid data, and then outputs the 188-byte TS packet to the A / V decoder when the time stamp value reaches the time stamp value.

상술한 바와 같이 본 발명은 A/D컨버터, 엠펙 인코더와 같은 추가적인 하드웨어의 구비없이 전송채널을 통해 수신되는 신호를 하드 디스크면에 기록할 수 있기 때문에, 아날로그 비디오신호를 동화상 압축하여 기록하는 시스템에 비해 상대적으로 방송 수신 시스템의 회로구성을 단순화, 소형화시킬 수 있는 장점이 있다. 또한 디지털형태로 전송되어 온 신호에 새로운 PAT정보와 타임 스탬프를 삽입함으로써 트릭 플레이를 용이하게 지원할 수 있는 장점이 있다.As described above, the present invention can record a signal received through a transmission channel on a hard disk without any additional hardware such as an A / D converter and an MPEG encoder. In comparison, there is an advantage that the circuit configuration of the broadcast reception system can be simplified and downsized. In addition, there is an advantage that can easily support trick play by inserting new PAT information and time stamp into the signal transmitted in digital form.

Claims (10)

시간지연 시청과 녹화 및 재생을 동시에 지원하기 위한 랜덤 액세스 저장장치를 구비하는 방송 수신 시스템에서의 디지털 스트림 컨트롤러에 있어서,A digital stream controller in a broadcast receiving system having random access storage for simultaneously supporting time delay viewing and recording and playback, 입력되는 디지털 트랜스포트 스트림중에서 선택된 녹화 채널만의 트랜스포트 패킷의 PID(Packet ID)만을 선택출력하는 필터와,A filter for selectively outputting only the PID (Packet ID) of the transport packet of only the selected recording channel among the inputted digital transport streams; 여러 채널에 대한 정보를 가지고 있는 PAT(Program Association Table)가 도착한 시간에 현재 선택된 채널에 대한 정보만을 가지는 새로운 PAT패킷을 생성하여 상기 트랜스포트 패킷에 삽입하는 PAT 삽입부와,A PAT inserting unit for generating a new PAT packet having only information on a channel currently selected at the time when a PAT (Program Association Table) having information on various channels arrives, and inserting it into the transport packet; 상기 PAT 삽입부로부터 트랜스포트 패킷 입력시에 소정 사이클 주기로 증가하는 내부 클럭 카운팅값을 캡쳐링하여 상기 트랜스포트 패킷에 삽입하는 타임 스탬프 삽입부와,A time stamp inserter for capturing and inserting an internal clock counting value that is increased in a predetermined cycle period when the transport packet is input from the PAT inserter, and inserting it into the transport packet; 설정되는 비디오 PID값에 따라 상기 타임 스탬프가 삽입된 트랜스포트 패킷에서 비디오 패킷을 추출하고, 추출된 비디오 패킷에서 픽쳐 헤더를 찾아 픽쳐 헤더 검출 비트를 세팅함과 아울러 현재 픽쳐의 픽쳐 타입 정보를 세팅하는 픽쳐 헤더 검출부와,Extracting a video packet from the transport packet having the time stamp inserted according to the set video PID value, finding a picture header from the extracted video packet, setting a picture header detection bit, and setting picture type information of the current picture; A picture header detector, 상기 타임 스탬프가 삽입된 트랜스포트 패킷을 상기 랜덤 액세스 저장장치로 전송 제어하고, 상기 랜덤 액세스 저장장치에서 재생된 타임 스탬프 삽입된 트랜스포트 패킷을 액세스하여 출력하는 컨트롤러와,A controller for controlling transmission of the time stamped transport packet to the random access storage device, and accessing and outputting the time stamped transport packet reproduced in the random access storage device; 상기 컨트롤러로부터 출력되는 타임 스탬프 삽입된 트랜스포트 패킷을 일시 저장하는 메모리와,A memory for temporarily storing a time stamped transport packet output from the controller; 상기 메모리로부터 출력되는 타임 스탬프가 삽입된 트랜스포트 패킷에서 트랜스포트 패킷만을 디코딩부로 출력하는 타이밍 컨트롤러로 구성함을 특징으로 하는 디지털 스트림 컨트롤러.And a timing controller for outputting only the transport packet to the decoding unit from the transport packet into which the time stamp output from the memory is inserted. 제1항에 있어서, 상기 필터와 PAT 삽입부 사이에 상기 트랜스포트 패킷을 선택적으로 스크램블링하기 위한 스크램블러를 더 포함함을 특징으로 하는 디지털 스트림 컨트롤러.The digital stream controller of claim 1, further comprising a scrambler for selectively scrambled the transport packet between the filter and the PAT inserter. 제1항에 있어서, 상기 타이밍 컨트롤러는 입력되는 타임 스탬프가 지시하는 시간동안 해당 트랜스포트 패킷을 지연출력함을 특징으로 하는 디지털 스트림 컨트롤러.The digital stream controller of claim 1, wherein the timing controller delays a corresponding transport packet for a time indicated by an input time stamp. 시간지연 시청과 녹화 및 재생을 동시에 지원하기 위한 하드 디스크 드라이브를 구비하는 방송 수신 시스템에 있어서,In the broadcast receiving system having a hard disk drive for simultaneously supporting time delay viewing and recording and playback, 고유채널을 통해 전송되는 방송신호를 입력하여 이를 디지털 트랜스포트 스트림으로 변환 출력하는 채널회로와,A channel circuit for inputting a broadcast signal transmitted through a unique channel and converting the same into a digital transport stream; 상기 채널회로로부터 입력되는 트랜스포트 스트림에서 선택된 트랜스포트 패킷 혹은 외부 네트워크로부터 입력되는 단일 비디오 스트림에 새로운 PAT(Program Association Table)정보와 타임 스탬프를 삽입하여 외부로 전송하고, 상기 하드 디스크 드라이브로부터 재생된 타임 스탬프가 삽입된 트랜스포트 패킷을 액세스하여 트랜스포트 패킷만을 비디오 디코더로 출력하는 디지털 스트림 컨트롤러와,A new PAT (Program Association Table) information and a time stamp are inserted into a transport packet selected from a transport stream input from the channel circuit or a single video stream input from an external network, and transmitted to the outside, and reproduced from the hard disk drive. A digital stream controller for accessing a transport packet with a time stamp and outputting only the transport packet to a video decoder; 상기 디지털 스트림 컨트롤러로부터 전송되는 타임 스탬프가 삽입된 트랜스포트 패킷을 저장하는 메모리와,A memory for storing a transport packet including a time stamp transmitted from the digital stream controller; 녹화시 상기 메모리에 저장된 일군의 타임 스탬프가 삽입된 트랜스포트 패킷에 헤더를 부가하여 디스크 패킷을 만들고 이를 상기 하드 디스크 드라이브에 기록되도록 제어하며, 녹화정보 재생시 상기 하드 디스크 드라이브를 제어하여 소망하는 디스크 패킷을 상기 메모리에 저장하는 시스템 제어부로 구성함을 특징으로 하는 방송 수신 시스템.When recording, a header is added to a transport packet inserted with a group of time stamps stored in the memory to create a disk packet, and it is controlled to be recorded on the hard disk drive. And a system controller for storing a packet in the memory. 제4항에 있어서, 상기 디지털 스트림 컨트롤러는;The digital stream controller of claim 4, further comprising: a digital stream controller; 상기 채널회로로부터 입력되는 디지털 트랜스포트 스트림중에서 선택된 녹화 채널만의 트랜스포트 패킷의 PID만을 선택출력하는 필터와,A filter for selectively outputting only PIDs of transport packets of only a recording channel selected from a digital transport stream input from the channel circuit; 여러 채널에 대한 정보를 가지고 있는 PAT가 도착한 시간에 현재 선택된 채널에 대한 정보만을 가지는 새로운 PAT패킷을 생성하여 상기 트랜스포트 패킷에 삽입하는 PAT 삽입부와,A PAT inserting unit for generating a new PAT packet having only information on a currently selected channel and inserting it into the transport packet when a PAT having information on several channels arrives; 상기 PAT 삽입부로부터 트랜스포트 패킷 입력시에 소정 사이클 주기로 증가하는 내부 클럭 카운팅값을 캡쳐링하여 상기 트랜스포트 패킷에 삽입하는 타임 스탬프 삽입부와,A time stamp inserter for capturing and inserting an internal clock counting value that is increased in a predetermined cycle period when the transport packet is input from the PAT inserter, and inserting it into the transport packet; 설정되는 비디오 PID값에 따라 상기 타임 스탬프 삽입된 트랜스포트 패킷에서 비디오 트랜스포트 패킷을 추출하고, 추출된 비디오 트랜스포트 패킷에서 픽쳐 헤더를 찾아 픽쳐 헤더 검출 비트를 세팅함과 아울러 현재 픽쳐의 픽쳐 타입 정보를 세팅하는 픽쳐 헤더 검출부와,Extracting a video transport packet from the time-stamped transport packet according to the set video PID value, finding a picture header from the extracted video transport packet, setting a picture header detection bit, and picture type information of the current picture A picture header detection unit for setting 상기 타임 스탬프가 삽입된 트랜스포트 패킷을 상기 랜덤 액세스 저장장치로 전송 제어하고, 상기 랜덤 액세스 저장장치에서 재생된, 타임 스탬프가 삽입된 트랜스포트 패킷을 액세스하여 출력하는 컨트롤러와,A controller for controlling transmission of the time stamped transport packet to the random access storage device and accessing and outputting the time stamped transport packet reproduced in the random access storage device; 상기 컨트롤러로부터 출력되는 타임 스탬프 삽입된 트랜스포트 패킷을 일시 저장하는 메모리와,A memory for temporarily storing a time stamped transport packet output from the controller; 상기 메모리로부터 출력되는, 타임 스탬프가 삽입된 트랜스포트 패킷에서 트랜스포트 패킷만을 디코딩부로 출력하는 타이밍 컨트롤러로 구성함을 특징으로 하는 방송 수신 시스템.And a timing controller for outputting only the transport packet to the decoding unit from the transport packet with the time stamp inserted from the memory. 제5항에 있어서, 상기 디지털 스트림 컨트롤러는 상기 외부 네트워크로부터 입력되는 단일 비디오 스트림을 스크램블링하기 위한 스크램블러를 더 구비함을 특 징으로 하는 방송 수신 시스템.6. The broadcast receiving system according to claim 5, wherein the digital stream controller further comprises a scrambler for scrambling a single video stream input from the external network. 시간지연 시청과 녹화 및 재생을 동시에 지원하기 위한 하드 디스크 드라이브를 구비하는 방송 수신 시스템에서의 트랜스포트 스트림 녹화방법에 있어서,In the transport stream recording method in a broadcast receiving system having a hard disk drive for simultaneously supporting time delay viewing and recording and playback, 수신되는 방송신호중 녹화하고자 하는 채널의 트랜스포트 패킷만을 추출하는 제1과정과,Extracting only a transport packet of a channel to be recorded from among the received broadcast signals; 추출된 트랜스포트 패킷의 도착시간을 지시하는 타임 스탬프를 상기 트랜스포트 패킷에 삽입하는 제2과정과,Inserting a time stamp indicating the arrival time of the extracted transport packet into the transport packet; 상기 트랜스포트 패킷에서 픽쳐 헤더를 검출하는 제3과정과,Detecting a picture header from the transport packet; 상기 타임 스탬프가 삽입된 트랜스포트 패킷을 메모리에 저장하는 제4과정과,A fourth process of storing the transport packet having the time stamp inserted in the memory; 상기 메모리에 저장된, 일군의 타임 스탬프가 삽입된 트랜스포트 패킷들에 상기 검출된 헤더정보를 부가하여 트랜스포트 패킷을 디스크 패킷화하는 제5과정과,A fifth process of disc packetizing the transport packet by adding the detected header information to a transport packet having a time stamp inserted in the memory; 상기 디스크 패킷들을 상기 하드 디스크면에 기록저장하는 제6과정으로 이루어짐을 특징으로 하는 트랜스포트 스트림 녹화방법.And a sixth step of recording and storing the disk packets on the hard disk surface. 타임 스탬프 삽입된 트랜스포트 패킷들이 디스크 패킷화되어 하드 디스크면에 기록되어 있는 방송 수신 시스템에서의 비디오 스트림 재생방법에 있어서,A method of reproducing a video stream in a broadcast receiving system in which time-inserted transport packets are disk-packed and recorded on a hard disk surface. 재생하고자 하는 비디오 스트림의 시작번지를 검색하여 상기 하드 디스크면 에서 해당 비디오 스트림의 재생을 수행하는 제1과정과,A first step of searching for a start address of a video stream to be played and playing the video stream on the hard disk; 재생되는 비디오 스트림의 디스크 패킷들을 메모리에 저장하는 제2과정과,A second process of storing the disk packets of the played video stream in a memory; 상기 메모리에 저장된 디스크 패킷들에서 유효 데이터만을 독출한후 소정 시간 지연후에 상기 트랜스포트 패킷만을 데이터 디코딩부로 출력하는 제3과정으로 이루어짐을 특징으로 하는 비디오 스트림 재생방법.And reading only valid data from the disk packets stored in the memory and outputting only the transport packet to a data decoding unit after a predetermined time delay. 제8항에 있어서, 상기 유효 데이터는 각각의 디스크 패킷에서 헤더정보를 제외한 타임 스탬프와 트랜스포트 패킷들로 이루어짐을 특징으로 하는 비디오 스트림 재생방법.10. The method of claim 8, wherein the valid data includes time stamps and transport packets except for header information in each disk packet. 제8항에 있어서, 상기 트랜스포트 패킷 각각은 상기 유효 데이터의 일 구성요소인 타임 스탬프가 지시하고 있는 시간만큼 지연출력됨을 특징으로 하는 비디오 스트림 재생방법.9. The method of claim 8, wherein each of the transport packets is delayed by a time indicated by a time stamp that is one component of the valid data.
KR1019990044537A 1999-10-14 1999-10-14 Digital stream controller and a broadcast receiving system having the same KR100640346B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990044537A KR100640346B1 (en) 1999-10-14 1999-10-14 Digital stream controller and a broadcast receiving system having the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990044537A KR100640346B1 (en) 1999-10-14 1999-10-14 Digital stream controller and a broadcast receiving system having the same

Publications (2)

Publication Number Publication Date
KR20010037173A KR20010037173A (en) 2001-05-07
KR100640346B1 true KR100640346B1 (en) 2006-10-31

Family

ID=19615342

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990044537A KR100640346B1 (en) 1999-10-14 1999-10-14 Digital stream controller and a broadcast receiving system having the same

Country Status (1)

Country Link
KR (1) KR100640346B1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100386590B1 (en) * 2001-02-28 2003-06-02 엘지전자 주식회사 Media router
KR100900449B1 (en) * 2001-06-21 2009-06-02 엘지전자 주식회사 Apparatus and method for recording and reproducing a digital broadcasting data
KR100782234B1 (en) * 2001-10-08 2007-12-05 엘지전자 주식회사 Method processing broadcasting error unit of personal video recoder
KR100425137B1 (en) * 2002-01-07 2004-03-31 엘지전자 주식회사 system decoder
KR20030061652A (en) * 2002-01-15 2003-07-22 엘지전자 주식회사 Reserved recoding method for personal video recorder
KR100851001B1 (en) * 2002-01-23 2008-08-12 주식회사 엘지이아이 Program recording and reproducing apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08339630A (en) * 1995-06-13 1996-12-24 Mitsubishi Electric Corp Multichannel selector, multichannel recorder, multichannel reproducer, multichannel recorder and reproducer, data compressor and data expander
KR20000031449A (en) * 1998-11-06 2000-06-05 윤종용 Method for watching and recording program of digital television
KR20010010916A (en) * 1999-07-23 2001-02-15 윤종용 Receipt system for recording and playing television broadcasting signal and controlling method therof the same
KR20010011951A (en) * 1999-07-31 2001-02-15 구자홍 Apparatus of Storing/Reproducing Data Stream Received at Digital Broadcasting Receiver and Method Thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08339630A (en) * 1995-06-13 1996-12-24 Mitsubishi Electric Corp Multichannel selector, multichannel recorder, multichannel reproducer, multichannel recorder and reproducer, data compressor and data expander
KR20000031449A (en) * 1998-11-06 2000-06-05 윤종용 Method for watching and recording program of digital television
KR20010010916A (en) * 1999-07-23 2001-02-15 윤종용 Receipt system for recording and playing television broadcasting signal and controlling method therof the same
KR20010011951A (en) * 1999-07-31 2001-02-15 구자홍 Apparatus of Storing/Reproducing Data Stream Received at Digital Broadcasting Receiver and Method Thereof

Also Published As

Publication number Publication date
KR20010037173A (en) 2001-05-07

Similar Documents

Publication Publication Date Title
US6940873B2 (en) Data stream control system for associating counter values with stored selected data packets from an incoming data transport stream to preserve interpacket time interval information
JP4322695B2 (en) Method for recording scrambled digital data, recording medium and method for reading such data
US20010040925A1 (en) Method and device for decoding a digital video stream in a digital video system using dummy header insertion
US7359620B2 (en) Information transmitting method, information processing method and apparatus, and information recording and reproducing method and apparatus
US7242853B2 (en) Recording/reproducing system
CN1698376B (en) Content delivery system, content delivery apparatus, content recording/playback apparatus, content recording/playback method
KR100730368B1 (en) Method and apparatus for recording on a storage medium or replaying from a storage medium data packets of a transport stream
KR100663049B1 (en) Data processing device, its method and recording medium
US20040047612A1 (en) Recording/reproducing apparatus, video data recording apparatus, recording method, and reproducing method
KR100640346B1 (en) Digital stream controller and a broadcast receiving system having the same
JP2001103444A (en) Packet encryption device and program recording medium
KR20010051423A (en) Information processing device, it's method and recording media
KR20000050606A (en) Method for recording digital data stream
KR100617767B1 (en) Location information recording management method for trick mode support
US20030219041A1 (en) Method for recording location information of broadcasting signals, and a broadcasting signal receiving device and transmitting device capable of recording location information of broadcasting signals
US8600221B2 (en) Writing/reading control method of HD stream
US20040247285A1 (en) Storing and retrieving encoded data stream with specified time of delivery on hard disk
KR19990019506A (en) Memory controller
JP3592186B2 (en) Data recording / reproducing device
Jung et al. Design and implementation of an enhanced personal video recorder for DTV
US7006755B2 (en) Storage device with an index indicating a sequential relationship
US7869696B1 (en) Method for recording recorded digital data stream and for providing presentation managing information for the recorded digital data stream
KR20010039412A (en) Data recording medium and recording method in a broadcast receiving system for time shift
US7693399B2 (en) Method for providing program specific information recorded on high density disc medium
KR100630061B1 (en) Method for reproducing and registering data type id information for distinguishing plural service data

Legal Events

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

Payment date: 20120927

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130927

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140929

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150925

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee