KR20010038361A - Location information recording management method for trick mode support - Google Patents
Location information recording management method for trick mode support Download PDFInfo
- Publication number
- KR20010038361A KR20010038361A KR1019990046316A KR19990046316A KR20010038361A KR 20010038361 A KR20010038361 A KR 20010038361A KR 1019990046316 A KR1019990046316 A KR 1019990046316A KR 19990046316 A KR19990046316 A KR 19990046316A KR 20010038361 A KR20010038361 A KR 20010038361A
- Authority
- KR
- South Korea
- Prior art keywords
- packet
- picture type
- trick mode
- recording
- picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
- H04N5/775—Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television receiver
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/781—Television signal recording using magnetic recording on disks or drums
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
본 발명은 방송신호에 대한 시간지연 시청과 녹화 및 재생을 동시에 지원할 수 있는 방송 수신 시스템에 관한 것으로, 특히 트릭 모드를 지원하기 위해서 녹화되는 픽쳐 타입의 위치정보를 기록하여 관리하는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a broadcast reception system capable of simultaneously supporting time delay viewing and recording and playback of a broadcast signal. More particularly, the present invention relates to a method of recording and managing location information of a picture type recorded to support a trick mode.
컴퓨터 시스템의 보조기억장치인 하드 디스크 드라이브(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, and so on, the real-time transmission of digital streams is stored on the hard disk and supports time delay and trick play. To do this, a controller for effectively controlling the input and output of the digital stream is required.
그리고 트릭 모드 지원을 위해서는 하드 디스크면에 기록되는 녹화 데이터의 위치정보를 정확히 알고 있어야 트릭 모드를 지원할 수가 있다.And in order to support the trick mode, it is necessary to know the location information of the recording data recorded on the hard disk surface to support the trick mode.
따라서 본 발명의 목적은 실시간으로 입력되는 디지털 스트림을 랜덤 액세스 저장장치의 기록매체에 저장함에 있어서 트릭 플레이를 효율적으로 지원할 수 있도록 녹화되는 데이터의 위치정보를 기록하여 관리하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method of recording and managing location information of recorded data to efficiently support trick play in storing a digital stream input in real time on a recording medium of a random access storage device.
상기 목적을 달성하기 위한 본 발명은 랜덤 액세스 저장장치를 구비하는 방송 수신 시스템에서의 트릭모드 지원을 위한 위치정보 기록관리방법에 있어서,The present invention for achieving the above object is a location information recording management method for trick mode support in a broadcast receiving system having a random access storage device,
입력되는 트랜스포트 스트림중에서 녹화 채널의 비디오 트랜스포트 패킷을 추출하고, 추출된 비디오 트랜스포트 패킷에서 픽쳐 헤더를 찾아 픽쳐 타입 정보를 세팅하는 제1과정과,Extracting a video transport packet of a recording channel from an input transport stream, finding a picture header from the extracted video transport packet, and setting picture type information;
다수의 상기 비디오 트랜스포트 패킷을 하나의 디스크 패킷으로 구성하여 디스크면에 기록하는 제2과정과,A second process of composing a plurality of the video transport packets into one disc packet and recording them on a disc surface;
상기 디스크 패킷을 구성하는 각 픽쳐 타입들에 대한 디스크상의 기록 위치정보를 대응시켜 픽쳐 타입 테이블을 작성하고, 트릭모드 지원시 작성된 테이블을 검색하여 소망하는 데이터만을 독출하는 제3과정으로 이루어짐을 특징으로 한다.And a third step of creating a picture type table by matching the recording position information on the disc for each picture type constituting the disc packet, searching for a table created when the trick mode is supported, and reading only desired data. It is done.
도 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는 도 1중 디지털 스트림 컨트롤러(20)의 구성도.2 is a block diagram of the digital stream controller 20 in FIG.
도 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 type table configuration for trick mode support according to an embodiment of the present invention.
이하 첨부한 도면을 참조하여 본 발명의 실시예에 따라 트릭 모드를 지원하기 위한 위치정보 기록방법을 상세히 설명하기로 한다.Hereinafter, a method of recording location information for supporting a trick mode according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
우선 도 1은 본 발명의 실시예에 따른 트릭 모드를 지원하기 위해 필요한 디지털 스트림 컨트롤러를 구비하는 방송 수신 시스템의 블럭구성도를 도시한 것이며, 도 2는 도 1중 디지털 스트림 컨트롤러(20)의 상세 구성도를 도시한 것이다. 상기 도 1 및 도 2의 구성은 본원 출원인에 의해 1999년 대한민국 특허청에 "디지털 스트림 컨트롤러와 그를 포함하는 방송 수신 시스템"이라는 명칭으로 특허출원된 명세서에 첨부된 도면이다.First, FIG. 1 illustrates a block diagram of a broadcast receiving system having a digital stream controller required to support a trick mode according to an embodiment of the present invention. FIG. 2 is a detailed diagram of the digital stream controller 20 of FIG. The configuration diagram is shown. 1 and 2 are attached to a patent application filed by the applicant of the Korean Patent Office in 1999 under the name "Digital Stream Controller and Broadcast Receiving System Including It".
도 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 channel types such as terrestrial waves, satellites, cables, etc., and includes a demodulator for demodulating a modulated signal and an error correction unit for correcting errors 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 is a disk packet controlled by the system control unit 100 and stores a 192 byte TS packet including a time stamp (4 bytes) transmitted from the digital stream controller 20 or reproduced from the HDD 70. Temporarily save.
시스템 제어부(100)는 시스템 제어동작시 발생하는 데이터를 일시 저장하기 위한 램(RAM)과 시스템 제어 프로그램 데이터가 저장된 롬(ROM)으로 구성되는 메모리를 내부에 구비한다. 그리고 시스템 제어부(100)는 사용자 인터페이스부(리모콘 혹은 조작판넬부 등)(110)와 접속되어 사용자의 조작 명령에 따라 시간지연 시청과 녹화 및 재생을 동시에 지원하기 위한 일련의 제어동작을 수행한다. 일예로, 시스템 제어부(100)는 메모리1(90)에 저장되는 타임 스탬프 삽입된 TS 패킷을 디스크 패킷화하여 HDD(70)로 전송 제어하고, HDD(70)로부터 재생되는 디스크 패킷을 메모리1(90)에 저장되도록 제어한다. 또한 시스템 제어부(100)는 TS스트림 녹화시 트릭모드 지원을 위한 픽쳐 타입 테이블을 작성하여 내부 메모리에 저장한다. 또 다른 실시예로써 상기 픽쳐 타입 테이블은 디스크면의 메인터넌스영역에 기록된후 드라이브 초기화시 시스템 제어부(100)로 독출되어 갱신될 수도 있다.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. In another embodiment, the picture type table may be recorded in the maintenance area of the disk, and then read and updated by the system controller 100 when the drive is initialized.
상기 픽쳐 타입 테이블의 구성은 도 5에 예시되어 있기 때문에 그에 대한 상세한 설명은 후술하기로 한다.Since the configuration of the picture type table is illustrated in FIG. 5, a detailed description thereof will be described later.
한편 도 2를 참조하면, 상기 디지털 스트림 컨트롤러(20)는 트랜스포트 스트림(TS) 디먹스(DEMUX)(21), PAT 삽입부(22), 타임 스탬프 삽입부 & PH(Picture Header)검출부(23), DMA컨트롤러(24), 피포(FIFO)메모리(25) 및 타이밍 컨트롤러(26)로 구성된다.2, the digital stream controller 20 includes a transport stream (TS) demux (DEMUX) 21, a PAT inserter 22, 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패킷을 생성하여 TS 스트림에 삽입한다.The PAT inserting unit 22 generates a new PAT packet having only the information on the currently selected channel at the time when the PAT having the information on the various channels on the air arrives and inserts the new PAT packet into the TS stream.
타임 스탬프(Time Stamp) 삽입부 & PH 검출부(23)에서, 타임 스탬프 삽입부는 TS패킷 도착시에 27MHz 클럭으로 증가하는 내부 카운터 값을 캡쳐링하여 입력된 TS 패킷에 삽입한다. 이와 같이 TS패킷에 타임 스탬프를 삽입함으로써 HDD(70) 재생시 최초의 TS 패킷에 삽입된 타임스탬프로 초기화한후, 다음 TS패킷에 삽입된 타임 스탬프값을 계속 증가하고 있는 내부 카운터값과 비교하여 동일하면 해당 TS패킷을 전송할 수 있게 된다. 상기 타임 스탬프는 하기 설명에서 4바이트의 크기를 갖는 것으로 가정한다.In the time stamp inserting unit & PH detecting unit 23, the time stamp inserting unit captures an internal counter value which is incremented by 27 MHz clock upon arrival of the TS packet and inserts it into the input 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) detection unit in the time stamp insertion unit & PH detection unit 23 sets the video PID value of the internal register under the control of the system control unit 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)로 전송하고 시스템 제어부(100)의 제어하에 상기 메모리1(90)에 저장된 디스크 패킷에서 유효 데이터만(헤더를 제외한 타임 스탬프 삽입된 TS패킷)을 독출하여 피포 메모리(25)로 전송한다. 이러한 DMA컨트롤러(24)는 내부에 다수의 레지스터를 구비하는데, 예를 들면 입력되는 TS패킷을 DMA전송하기 위한 레지스터 2쌍을 가진다. 즉, 1쌍의 레지스터를 이용하여 DMA 동작을 수행하고 인터럽트 발생후 자동적으로 나머지 1쌍의 레지스터를 사용하여 계속적으로 입력되는 TS패킷을 전송하도록 한다. 이러한 과정을 원활하게 수행하기 위해 DMA에 관계되는 레지스터 세트만 2쌍을 가지는 것이 아니고, PH검출부에서 처리한 결과를 보고하는 레지스터도 2쌍을 두어 상술한 DMA 레지스터와 연결하여 사용한다.The DMA controller 24 transmits the TS packet inputted from the time stamp inserting unit & PH detecting unit 23 to the memory 1 90 and stores the disk packet stored in the memory 1 90 under the control of the system control unit 100. Only valid data (TS packets with time stamps except headers) are read out and transferred 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 내지 도 5를 참조하여 트릭 모드 지원을 위해 채널로부터 입력되는 TS스트림을 HDD(70)에 디스크 패킷화하여 기록하는 과정을 상세히 설명하기로 한다.Hereinafter, a process of disc packetizing and recording a TS stream input from a channel to the HDD 70 for trick mode support will be described in detail with reference to FIGS. 3 to 5.
우선 도 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패킷을 디스크면의 연속되는 섹터들에 정렬(align)하여 기록함으로써 데이터 액세스시의 속도향상을 기하기 위함이다. 그리고 상기 데이터를 메모리1(90)에 저장하여 디스크 패킷화하기 위한 DMA 컨트롤러(24)내의 레지스터를 정리하면 하기 표 1과 같다.A disk packet according to an embodiment of the present invention refers to a group of TS packets 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 when 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 at the time of data access by aligning and writing successive TS packets in successive sectors of 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.
즉, 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.
상기 표 2에서 Random access indicator, TS pointer, Picture header type등의 정보는 PH검출부(23)에서 전송되는 정보를 이용하여 세팅된다.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 23.
한편 TS패킷을 디스크 패킷화함과 아울러 트릭모드(fast forward, rewind)동작을 지원하기 위해 픽쳐 타입 테이블을 작성하는데, 이러한 픽쳐 타입 테이블은 도 5에 예시한 바와 같이 입력되는 비디오 트랜스포트 패킷순서에 따라 작성되고 내부 메모리에 저장되어 이용된다. 도 5에서 C, H, S는 픽쳐 헤더가 저장된 디스크면의 위치값을 지시하는 것으로, 각각 실린더(Cylinder), 헤드(Head), 섹터(Sector)넘버를 나타낸다. 도 5에 도시한 바와 같이 픽쳐 타입 테이블을 작성하여 운용함으로써 빨리 감기(fast forward), 빨리 되감기(fast rewind)를 효율적으로 수행할 수 있다. 예를 들면 트릭모드중에서 빨리 감기(fast forward)를 수행한다면, 시스템 제어부(100)는 상기 픽쳐 타입 테이블을 검색하여 현재 픽쳐에서 가장 가까운 I픽쳐 혹은 P픽쳐에 대한 위치정보값(C,H,S)을 리드하여 HDD인터페이스(60)로 전송하면 그에 따라 필요한 픽쳐 데이터만 디스크면으로부터 독출될 수 있다. 반대로 빨리 되감기를 수행하는 경우에도 현재 픽쳐 위치에서 시간상으로 앞서는 I픽쳐의 픽쳐 헤더와 그 이전 I픽쳐의 픽쳐 헤더 사이에 존재하는 데이터를 독출하여 재생함으로써 빨리 되감기를 정상적으로 수행할 수 있다.On the other hand, a picture type table is created in order to disk packetize TS packets and support trick mode (fast forward, rewind) operation. The picture type table is arranged according to the video transport packet order as illustrated in FIG. 5. It is created and stored and used in 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. As shown in FIG. 5, by creating and operating a picture type table, fast forward and fast rewind can be efficiently performed. For example, if a fast forward is performed in the trick mode, the system controller 100 searches the picture type table to determine the location information values C, H, and S for the I picture or P picture closest to the current picture. ) And transferred to the HDD interface 60, only the required picture data can be read from the disk surface. On the contrary, even when fast rewinding is performed, fast rewinding can be normally performed by reading and playing back data existing between the picture header of the I picture and the picture header of the previous I picture that advance in time from the current picture position.
이하 타임 스탬프가 포함된 192바이트의 TS패킷을 2K바이트 크기의 디스크 패킷으로 패킷화하여 HDD(70)에 기록저장하는 과정을 설명하면,Hereinafter, a process of packetizing a 192-byte TS packet including a time stamp into a 2K-byte disk packet to record and store in the HDD 70 will be described.
우선 사용자 인터페이스부(110)를 통해 디지털 방송신호를 HDD(70)에 녹화하기 위한 명령이 입력되면 시스템 제어부(100)는 선택된(혹은 변경된) 방송채널만을 녹화하기 위해서 필요한 값(예를 들면 PID값)들을 세팅하여 준다. 이러한 채널선택 혹은 변경과정 이후에 PID필터(21a)에서 출력되는 TS스트림은 스크램블러(21b)를 통해 출력되며, PAT삽입부(22)에 의해서 선택된 채널에 대한 정보만을 가지는 새로운 PAT패킷이 삽입되고, 타임 스탬프 삽입부 & PH 검출부(23)에 의해 TS패킷 도착시간을 지시하는 타임 스탬프가 삽입되어 DMA 컨트롤러(24)를 통해 순차적으로 메모리 1(90)로 전송된다. 이와 같은 DMA전송중 DMA컨트롤러(100)는 메모리1(90)의 TS패킷 저장위치(어드레스)를 지정해 준후, 입력되는 TS패킷을 메모리1(90)로 전송하는 방식으로 일군의 TS패킷을 메모리1(90)로 순차전송한다. 만약 1군의 TS패킷 전송이 완료되었으면 DMA컨트롤러(24)는 시스템 제어부(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. The time stamp inserting unit & PH detecting unit 23 inserts a time stamp indicating the TS packet arrival time, and is sequentially transferred to the memory 1 90 via the DMA controller 24. During the DMA transfer, the DMA controller 100 designates a TS packet storage location (address) of the memory 1 90, and then transfers a group of TS packets to the memory 1 90 by transferring the input TS packets to the memory 1 90. Sequentially transmit to (90). If one group of TS packets is completed, the DMA controller 24 generates 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)는 일군의 TS패킷에 픽쳐 헤더(PH검출부에서 검출됨)를 삽입하여 하나의 완전한 디스크 패킷을 만든후 디스크 저장위치(C,H,S 혹은 Logic Block Address)를 지정한다. 이와 같이 디스크 패킷의 저장위치가 지정되면 시스템 제어부(100)는 디스크 패킷을 HDD(70)로 전송하여 기록저장하고 픽쳐 타입 테이블을 갱신한다. 이러한 디스크 패킷의 전송중에도 계속적으로 TS패킷은 DMA전송되므로, DMA전송에 관계되는 레지스터를 2쌍 구비하여 1쌍의 DMA전송을 수행하고 인터럽트를 발생시킨 후에는 자동적으로 나머지 1쌍의 레지스터를 사용하여 TS패킷이 전송되도록 한다.On the other hand, when an interrupt occurs, the system controller 100 inserts a picture header (detected by the PH detection unit) into a group of TS packets to make a complete disk packet, and then designates a disk storage location (C, H, S or Logic Block Address). do. 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 to update the picture type table. 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 updating, the system controller 100 can read the location information of each picture stored in the internal memory to support the trick mode.
상술한 바와 같이 본 발명은 디스크면에 녹화되는 픽쳐 데이터와 그에 대응하는 위치정보를 테이블화하여 관리함으로써 트릭 플레이를 용이하게 지원할 수 있는 장점이 있다.As described above, the present invention has an advantage of easily supporting trick play by managing the picture data recorded on the disk surface and the location information corresponding thereto in a table.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1019990046316A KR100617767B1 (en) | 1999-10-25 | 1999-10-25 | Location Information Record Management Method for Trick Mode Support |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1019990046316A KR100617767B1 (en) | 1999-10-25 | 1999-10-25 | Location Information Record Management Method for Trick Mode Support |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20010038361A true KR20010038361A (en) | 2001-05-15 |
| KR100617767B1 KR100617767B1 (en) | 2006-08-28 |
Family
ID=19616720
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1019990046316A Expired - Fee Related KR100617767B1 (en) | 1999-10-25 | 1999-10-25 | Location Information Record Management Method for Trick Mode Support |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR100617767B1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20030061652A (en) * | 2002-01-15 | 2003-07-22 | 엘지전자 주식회사 | Reserved recoding method for personal video recorder |
| KR20030087193A (en) * | 2002-05-07 | 2003-11-14 | 엘지전자 주식회사 | Method for managing a multi-channel broadcast stream record |
| KR100563731B1 (en) * | 2002-04-19 | 2006-03-28 | 주식회사 휴맥스 | Apparatus and method for trick play in a digital broadcast receiver |
| KR100802607B1 (en) * | 2001-11-22 | 2008-02-13 | 엘지전자 주식회사 | Skip stream playback apparatus and method of digital broadcasting receiver |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CA2168327C (en) * | 1995-01-30 | 2000-04-11 | Shinichi Kikuchi | A recording medium on which a data containing navigation data is recorded, a method and apparatus for reproducing a data according to navigationdata, a method and apparatus for recording a data containing navigation data on a recording medium. |
| MX9707116A (en) * | 1995-03-20 | 1998-02-28 | Closures & Packaging Serv Ltd | Device and method for recording picture information. |
| JP3253530B2 (en) * | 1996-07-24 | 2002-02-04 | 三洋電機株式会社 | Video recording device |
| KR100211970B1 (en) * | 1996-11-27 | 1999-08-02 | 이계철 | Fast forward and fast rewind of video pump |
-
1999
- 1999-10-25 KR KR1019990046316A patent/KR100617767B1/en not_active Expired - Fee Related
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100802607B1 (en) * | 2001-11-22 | 2008-02-13 | 엘지전자 주식회사 | Skip stream playback apparatus and method of digital broadcasting receiver |
| KR20030061652A (en) * | 2002-01-15 | 2003-07-22 | 엘지전자 주식회사 | Reserved recoding method for personal video recorder |
| KR100563731B1 (en) * | 2002-04-19 | 2006-03-28 | 주식회사 휴맥스 | Apparatus and method for trick play in a digital broadcast receiver |
| KR20030087193A (en) * | 2002-05-07 | 2003-11-14 | 엘지전자 주식회사 | Method for managing a multi-channel broadcast stream record |
Also Published As
| Publication number | Publication date |
|---|---|
| KR100617767B1 (en) | 2006-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6823131B2 (en) | Method and device for decoding a digital video stream in a digital video system using dummy header insertion | |
| JP3884431B2 (en) | Apparatus and method for recording and reproducing a multi-channel stream | |
| US20010036269A1 (en) | Information transmitting method, information processing method and apparatus, and information recording and reproducing method and apparatus | |
| US6643449B1 (en) | Recording/reproducing apparatus, video data recording apparatus, recording method, reproducing method | |
| KR100663049B1 (en) | Data processing device, its method and recording medium | |
| US20040001592A1 (en) | Method of constructing MPEG program streams from encrypted MPEG transport streams | |
| JPH08340541A (en) | Digital data transmission method, transmission device, recording method, recording device, reproducing method, reproducing device, recording / reproducing method, and recording / reproducing device | |
| US7054989B2 (en) | Stream processor | |
| US8032910B2 (en) | System for receiving transport streams | |
| KR20010051423A (en) | Information processing device, it's method and recording media | |
| KR100640346B1 (en) | Digital stream controller and broadcast receiving system including the same | |
| KR100617767B1 (en) | Location Information Record Management Method for Trick Mode Support | |
| KR100259295B1 (en) | Memory controller | |
| US7969972B2 (en) | System for receiving packet stream | |
| JP3039444B2 (en) | Image storage device | |
| US20040008731A1 (en) | Audio-visual data recording/reproducing device | |
| KR20010039412A (en) | Data recording medium and recording method in a broadcast receiving system for time shift | |
| US20090109840A1 (en) | Fault-resistant digital-content-stream AV packet switch | |
| US7869696B1 (en) | Method for recording recorded digital data stream and for providing presentation managing information for the recorded digital data stream | |
| JP2001268518A (en) | Data recording / reproducing device | |
| KR100630061B1 (en) | Data type identification information registration and reproduction method for distinguishing a plurality of service data | |
| JP3258911B2 (en) | Digital video recorder | |
| KR100744369B1 (en) | Backup data recording method for data corruption prevention in multi data bit stream recording device | |
| JP4583870B2 (en) | Transport stream processing device | |
| US7248780B2 (en) | Reproducing device, medium, information aggregate, transmitting medium, and recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-3-3-R10-R18-oth-X000 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-3-3-R10-R13-asn-PN2301 St.27 status event code: A-3-3-R10-R11-asn-PN2301 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-3-3-R10-R18-oth-X000 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-3-3-R10-R18-oth-X000 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-3-3-R10-R18-oth-X000 |
|
| A201 | Request for examination | ||
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-3-3-R10-R13-asn-PN2301 St.27 status event code: A-3-3-R10-R11-asn-PN2301 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-3-3-R10-R13-asn-PN2301 St.27 status event code: A-3-3-R10-R11-asn-PN2301 |
|
| D13-X000 | Search requested |
St.27 status event code: A-1-2-D10-D13-srh-X000 |
|
| D14-X000 | Search report completed |
St.27 status event code: A-1-2-D10-D14-srh-X000 |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 6 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
| FPAY | Annual fee payment |
Payment date: 20120730 Year of fee payment: 7 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 7 |
|
| FPAY | Annual fee payment |
Payment date: 20130730 Year of fee payment: 8 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 8 |
|
| FPAY | Annual fee payment |
Payment date: 20140730 Year of fee payment: 9 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 9 |
|
| LAPS | Lapse due to unpaid annual fee | ||
| PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20150823 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20150823 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |