KR100705180B1 - Apparatus and Method for Transport Stream Recording Control in Discmedia - Google Patents

Apparatus and Method for Transport Stream Recording Control in Discmedia Download PDF

Info

Publication number
KR100705180B1
KR100705180B1 KR1020050085528A KR20050085528A KR100705180B1 KR 100705180 B1 KR100705180 B1 KR 100705180B1 KR 1020050085528 A KR1020050085528 A KR 1020050085528A KR 20050085528 A KR20050085528 A KR 20050085528A KR 100705180 B1 KR100705180 B1 KR 100705180B1
Authority
KR
South Korea
Prior art keywords
transport stream
buffer memory
buffer
stored
output
Prior art date
Application number
KR1020050085528A
Other languages
Korean (ko)
Other versions
KR20070031008A (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 KR1020050085528A priority Critical patent/KR100705180B1/en
Publication of KR20070031008A publication Critical patent/KR20070031008A/en
Application granted granted Critical
Publication of KR100705180B1 publication Critical patent/KR100705180B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/144Movement detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

본 발명은 전송 스트림 기록 제어 장치에 있어서, 특히 하드디스크에 저장된 전송 스트림을 읽어와 광디스크 매체에 고속으로 기록할 수 있도록 하는 디스크 매체로의 전송 스트림 기록 제어 장치 및 방법에 관한 것이다.The present invention relates to a transport stream recording control apparatus, and more particularly, to a transport stream recording control apparatus and a method for reading a transport stream stored in a hard disk and recording it on an optical disk medium at high speed.

본 발명에 따른 전송 스트림의 기록 제어 방법은, 하드디스크에 저장된 전송 스트림 데이터를 읽어와 광디스크 매체에 기록되도록 하기 위해 제 1 및 제 2버퍼 메모리로의 저장 및 출력 동작을 각각 세마포어 동기를 이용하여 병렬처리 기반으로 수행되도록 하는 디스크 매체로의 전송 스트림 기록 제어 방법에 있어서, 전송 스트림을 수신하여 하드디스크에 저장하는 단계; 상기 저장된 전송 스트림을 복수개의 버퍼 영역을 갖는 제 1버퍼 메모리에 순차적으로 세마포어 카운트에 따라 저장 및 출력하는 단계; 상기 제 1버퍼 메모리로부터 순차적으로 출력된 전송 스트림을 인터페이스부에 임시 저장하는 단계; 상기 인터페이스부에 임시 저장된 전송 스트림을 복수개의 버퍼 영역을 갖는 제 2버퍼 메모리에 순차적으로 세마포어 카운트에 따라 저장 및 출력하는 단계; 상기 제 2버퍼 메모리로부터 순차적으로 출력된 전송 스트림을 광 디스크 매체에 기록하는 단계를 포함하는 것을 특징으로 한다.In the recording control method of the transport stream according to the present invention, the storage and output operations to the first and second buffer memories are paralleled using semaphore synchronization so that the transport stream data stored in the hard disk is read out and written to the optical disk medium. CLAIMS 1. A method for controlling transport stream recording to a disk medium to be performed on a processing basis, the method comprising: receiving and storing the transport stream on a hard disk; Storing and outputting the stored transport stream sequentially in a first buffer memory having a plurality of buffer areas according to semaphore counts; Temporarily storing a transport stream sequentially output from the first buffer memory in an interface unit; Sequentially storing and outputting a transport stream temporarily stored in the interface unit in a second buffer memory having a plurality of buffer areas according to semaphore counts; And recording the transport streams sequentially output from the second buffer memory on an optical disc medium.

HD 스트림, DVD, PVR HD stream, DVD, PVR

Description

디스크 매체로의 전송 스트림 기록 제어 장치 및 방법.{Apparatus and Method for Transport Stream Recording Control in Discmedia}Apparatus and Method for Transport Stream Recording Control in Discmedia}

도 1은 본 발명의 실시 예에 따른 디스크 매체로의 전송 스트림 기록 제어 장치를 나타내는 구성도.1 is a block diagram showing an apparatus for controlling transport stream recording to a disk medium according to an embodiment of the present invention.

도 2는 본 발명의 실시 예에 따른 전송 스트림의 저장/전송/기록과정을 도시한 구성도.2 is a block diagram illustrating a storage / transmission / recording process of a transport stream according to an embodiment of the present invention.

도 3은 본 발명의 실시 예에 따른 디스크 매체로의 전송 스트림 기록 제어 방법을 나타내는 플로우 차트.3 is a flowchart illustrating a method of controlling transport stream recording to a disk medium according to an embodiment of the present invention.

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

100...제 1모듈 101...튜너/디모듈레이터 1st module 101 ... tuner / demodulator

103...스트림 제어기 107...하드디스크103 Stream controller 107 Hard disk

109...제 1버퍼 메모리 111...중앙처리장치109 First buffer memory 111 Central processing unit

113...영상 디코더 120...인터페이스부113 Video decoder 120 Interface section

130...제 2모듈 131...DVD 제어기130 2nd module 131 DVD controller

133...제 2버퍼 메모리 135...광디스크 로더133 Second buffer memory 135 Optical disc loader

본 발명은 전송 스트림 기록 제어 장치에 있어서, 특히 하드디스크에 저장된 전송 스트림을 읽어와 광디스크 매체에 고속으로 기록할 수 있도록 하는 디스크 매체로의 전송 스트림 기록 제어 장치 및 방법에 관한 것이다.The present invention relates to a transport stream recording control apparatus, and more particularly, to a transport stream recording control apparatus and a method for reading a transport stream stored in a hard disk and recording it on an optical disk medium at high speed.

디지털 기술의 발전과 더불어 컴퓨터 시스템에서 데이터 저장장치로 사용되는 하드디스크 드라이버에 소정의 AV 데이터를 저장하고, 재생하여 출력하는 PVR(Personal Video Recorder)이 개발 및 사용되고 있다.BACKGROUND With the development of digital technology, a personal video recorder (PVR) for storing, reproducing, and outputting predetermined AV data in a hard disk driver used as a data storage device in a computer system has been developed and used.

상기 PVR은 수신되는 ATSC(Advanced Television Systems Committee)방식의 디지털 방송신호 및 NTSC(Nationl Television standards Committee)방식의 아날로그 방송신호는 물론 DVD(Digital Video Disk)플레이어, VHS(Video Home System) 및 VCR(Video Cassette Recorder)등을 비롯한 각종 AV 출력기기들로부터 입력되는 AV 데이터들을 하드디스크 드라이버에 저장하고, 재생 및 디지털 텔레비전 수상기로 전송하여 시청할 수 있을 뿐만 아니라 지연시청(Time Shifting) 및 배속시청(Trick Play)등의 고급 기능도 활용할 수 있도록 하고 있다.The PVR is a digital broadcast signal of ATSC (Advanced Television Systems Committee) and an analog broadcast signal of National Television Standards Committee (NTSC), as well as a DVD (Digital Video Disk) player, VHS (Video Home System) and VCR (Video). AV data input from various AV output devices including Cassette Recorder, etc. can be stored in the hard disk drive, transmitted to a playback and digital television receiver for viewing, as well as time shifting and trick play. It also allows you to take advantage of advanced features such as:

또한 최근에는 상기 PVR을 단독으로 사용하지 않고, 셋탑박스나 디지털 텔레비전 수상기 등에 일체로 내장하여 수신되는 디지털 및 아날로그 텔레비전 방송신호들과, 외부의 AV 출력기기들로부터 입력되는 AV 데이터들을 기록 및 재생하여 시청할 수 있도록 하고 있다.In recent years, the PVR is not used alone, and digital and analog television broadcast signals received by being integrated into a set-top box or a digital television receiver, and AV data input from external AV output devices are recorded and reproduced. We can watch.

하지만 종래의 전송 스트림 데이터를 광디스크 매체로 저장하는 방법은 하드디스크에 저장된 데이터를 읽어와 광디스크 매체에 기록하는 과정이 끝난 후에 다 음 데이터를 전송하는 방식을 적용하였다.However, the conventional method of storing the transport stream data on the optical disk medium has applied a method of transmitting the following data after the process of reading the data stored on the hard disk and recording the data on the optical disk medium.

따라서, 전송 스트림 데이터를 광디스크 매체에 기록할때, 하드디스크에 저장된 데이터를 읽어와서 광디스크 매체에 기록이 완료될 때까지 다른 작업을 병행하지 못하고 대기상태가 발생하여 각 장치들이 효율적으로 사용되지 못했다.Therefore, when recording the transport stream data on the optical disk medium, the standby state occurs because other operations cannot be performed in parallel until the data stored in the hard disk is read and the recording on the optical disk medium is completed, so that the devices cannot be used efficiently.

또한 전송 스트림 데이터를 광디스크 매체에 기록하는 기록 처리 속도가 떨어지고 기록 시간이 길어지는 문제점이 있다.In addition, there is a problem that the recording processing speed for recording the transport stream data on the optical disk medium is slow and the recording time is long.

본 발명은 상기 문제점을 해결하기 위해 안출된 것으로서, 하드디스크에 저장된 전송 스트림 데이터를 읽어와 광디스크 매체에 기록되도록 하는 저장/전송/출력 과정을 각각 분리하여 동시에 실행되도록 구성함으로써, HD급의 방송 스트림을 광디스크 매체에 고속으로 기록할 수 있도록 하는 디스크 매체로의 전송 스트림 기록 제어 장치 및 방법을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and is configured to be executed simultaneously by separately separating the storage / transmission / output processes for reading the transport stream data stored in the hard disk to be recorded on the optical disk medium, thereby providing an HD broadcast stream. An apparatus and method for controlling transport stream recording to a disk medium which enables recording at a high speed to an optical disk medium.

상기와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 디스크 매체로의 전송 스트림 기록 제어 장치는,An apparatus for controlling transport stream recording to a disk medium according to an embodiment of the present invention for achieving the above object,

하드디스크에 저장된 전송 스트림 데이터를 읽어와 광디스크 매체에 기록되도록 하는 저장 및 출력 과정을 각각 분리하여 세마포어 카운트에 따라 동시에 실행되도록 구성함으로써, HD급의 방송 스트림을 광디스크 매체에 고속으로 기록할 수 있도록 하는 디스크 매체로의 전송 스트림 기록 제어 장치에 있어서, It is possible to record HD broadcasting streams on optical disk media at high speed by separating the storing and output processes that read transport stream data stored in hard disk and recording them on optical disk media and executing them simultaneously according to semaphore count. An apparatus for controlling transport stream recording to a disk medium,

수신된 전송 스트림을 저장하는 하드디스크와;A hard disk for storing the received transport stream;

복수개의 링 버퍼 형태로 분리된 버퍼영역을 갖고, 상기 전송 스트림이 각각의 버퍼 영역에 순차적으로 저장 및 출력되는 제 1버퍼 메모리와;A first buffer memory having a buffer area divided into a plurality of ring buffers, wherein the transport stream is sequentially stored and output in each buffer area;

상기 하드디스크에 저장된 전송스트림을 제 1버퍼 메모리의 버퍼들에 순차적으로 저장하고, 상기 제 1버퍼 메모리의 각 버퍼에 저장된 전송 스트림이 순차적으로 출력되도록 세마포어 카운트에 따라 제1버퍼 메모리의 저장과 출력을 제어하는 중앙처리장치와;Storage and output of the first buffer memory according to the semaphore count so that the transport stream stored in the hard disk is sequentially stored in the buffers of the first buffer memory, and the transport streams stored in each buffer of the first buffer memory are sequentially output. A central processing unit controlling the;

상기 제 1버퍼 메모리로부터 출력된 전송 스트림을 저장한 후 광디스크 모듈로 전송하기 위한 인터페이스부와;An interface unit for storing the transport stream output from the first buffer memory and transmitting the stored stream to an optical disk module;

복수개의 링 버퍼 형태로 분리된 버퍼영역을 갖고, 상기 전송 스트림이 각각의 버퍼 영역에 순차적으로 저장 및 출력되는 제 2버퍼 메모리와;A second buffer memory having a buffer area divided into a plurality of ring buffers, wherein the transport stream is sequentially stored and output in each buffer area;

상기 인터페이스부로부터 저장된 전송 스트림을 순차적으로 상기 제 2버퍼 메모리의 버퍼들에 저장시키고, 상기 제 2버퍼 메모리의 각 버퍼에 저장된 전송 스크림이 순차적으로 광디스크 매체에 기록되도록 세마포어 카운트에 따라 제2버퍼 메모리의 저장과 출력을 제어하는 광디스크 제어기와;A second buffer memory according to the semaphore count so that the transport stream stored from the interface unit is sequentially stored in the buffers of the second buffer memory, and the transfer scrims stored in each buffer of the second buffer memory are sequentially recorded on the optical disk medium. An optical disk controller for controlling the storage and output of the optical disk;

상기 광디스크 제어기에 의해 출력된 전송 스트림을 광디스크 매체에 기록되도록 제어하는 광디스크 로더를 포함하는 것을 특징으로 한다.And an optical disc loader for controlling the transport stream output by the optical disc controller to be recorded on the optical disc medium.

바람직하게, 상기 중앙처리장치 및 광디스크 제어기는 해당 버퍼 메모리의 저장 및 출력 동작에 대해 병렬처리 기반으로 수행되도록 하는 것을 특징으로 한다. Preferably, the central processing unit and the optical disk controller is characterized in that to perform the storage and output operation of the buffer memory on a parallel processing basis.

삭제delete

삭제delete

한편, 본 발명의 다른 실시 예에 따른 디스크 매체로의 전송 스트림 기록 제 어 방법은, On the other hand, the transport stream recording control method to a disk medium according to another embodiment of the present invention,

하드디스크에 저장된 전송 스트림 데이터를 읽어와 광디스크 매체에 기록되도록 하기 위해 제 1 및 제 2버퍼 메모리로의 저장 및 출력 동작을 각각 세마포어 동기를 이용하여 병렬처리 기반으로 수행되도록 하는 디스크 매체로의 전송 스트림 기록 제어 방법에 있어서, Transport stream to disk medium that allows storage and output operations to the first and second buffer memories to be performed on a parallel processing basis using semaphore synchronization, respectively, in order to read transport stream data stored on the hard disk and write them to the optical disk medium. In the recording control method,

전송 스트림을 수신하여 하드디스크에 저장하는 단계;Receiving and storing the transport stream on a hard disk;

상기 저장된 전송 스트림을 복수개의 버퍼 영역을 갖는 제 1버퍼 메모리에 순차적으로 세마포어 카운트에 따라 저장 및 출력하는 단계; Storing and outputting the stored transport stream sequentially in a first buffer memory having a plurality of buffer areas according to semaphore counts;

상기 제 1버퍼 메모리로부터 순차적으로 출력된 전송 스트림을 인터페이스부에 임시 저장하는 단계; Temporarily storing a transport stream sequentially output from the first buffer memory in an interface unit;

상기 인터페이스부에 임시 저장된 전송 스트림을 복수개의 버퍼 영역을 갖는 제 2버퍼 메모리에 순차적으로 세마포어 카운트에 따라 저장 및 출력하는 단계;Sequentially storing and outputting a transport stream temporarily stored in the interface unit in a second buffer memory having a plurality of buffer areas according to semaphore counts;

상기 제 2버퍼 메모리로부터 순차적으로 출력된 전송 스트림을 광 디스크 매체에 기록하는 단계를 포함하는 것을 특징으로 한다. And recording the transport streams sequentially output from the second buffer memory on an optical disc medium.

삭제delete

바람직하게, 상기 제 1버퍼 메모리와 제 2버퍼 메모리는 각각 2개 이상의 버퍼 영역을 갖는 링 버퍼 형태인 것을 특징으로 한다. Preferably, the first buffer memory and the second buffer memory are characterized in that each of the ring buffer form having two or more buffer areas.

이하 첨부된 도면을 참조하여 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings as follows.

도 1은 본 발명의 실시 예에 따른 디스크 매체로의 전송 스트림 기록 제어 장치를 나타내는 구성도이다.1 is a block diagram showing an apparatus for controlling transport stream recording to a disk medium according to an embodiment of the present invention.

도 1을 참조하면, PVR 기능을 갖는 제 1모듈(100)과, 광디스크 매체로의 저장 및 재생을 위한 제 2모듈(130)과, 상기 제 1모듈 및 제 2모듈을 연결시켜 주기 위한 인터페이스부(120)를 포함한다.Referring to FIG. 1, a first module 100 having a PVR function, a second module 130 for storing and reproducing an optical disk medium, and an interface unit for connecting the first module and the second module to each other 120.

상기 제 1모듈(100)은 디지털 방송신호의 채널 선국 및 복조를 위한 튜너/디모듈레이터(Tuner/Demodulator)(101)와; 상기 복조된 전송 스트림(TS : Transport Stream)을 암호화된 전송 스트림(ETS : Encryption TS)으로 전달하는 스트림 제어기(TS Controller)(103)와; 시스템 버스(104)에 접속된 버스 브리지부(105)와; 상기 버스 브리지부를 통해 전송된 전송 스트림의 버퍼링을 위한 하드디스크(HDD)(107)와; 상기 전송 스트림을 임시 저장하기 위한 제 1버퍼 메모리(109)와; 상기 전송 스트림을 재생하기 위한 영상 디코더(113)와; 상기 스트림 재생시 임시 저장을 위한 영상 메모리(115)와; 상기 시스템 버스를 통해 각 부를 제어하는 중앙처리장치(111)를 포함하여 구성한다.The first module 100 includes: a tuner / demodulator 101 for channel tuning and demodulation of digital broadcast signals; A stream controller (TS Controller) 103 for delivering the demodulated transport stream (TS) to an encrypted transport stream (ETS); A bus bridge portion 105 connected to the system bus 104; A hard disk (HDD) 107 for buffering a transport stream transmitted through the bus bridge section; A first buffer memory (109) for temporarily storing the transport stream; An image decoder (113) for playing the transport stream; An image memory (115) for temporarily storing the stream when playing the stream; It comprises a central processing unit 111 for controlling each unit through the system bus.

또한 상기 제 2모듈(130)은, 상기 인터페이스부(120)를 통해 제 1모듈(100)에서 전송된 전송 스트림을 광디스크 매체에 기록하는 광디스크 로더(Loader)(130)와; 상기 광디스크 로더(130)를 제어하기 위한 DVD 제어기(131)와; 상기 DVD 제어기(131)에 의해 광디스크 매체에 기록 및 재생되는 데이터를 임시 저장하기 위한 제 2버퍼 메모리(133)를 포함하여 구성한다.In addition, the second module 130, an optical disk loader (130) for recording the transport stream transmitted from the first module 100 through the interface unit 120 to the optical disk medium; A DVD controller (131) for controlling the optical disc loader (130); And a second buffer memory 133 for temporarily storing data recorded and reproduced on the optical disc medium by the DVD controller 131.

여기서 상기 제 1버퍼 메모리(109), 영상 메모리(115), 제 2버퍼 메모리(133)는 바람직하게 SDRAM(Synchronous Dynamic random Access Memory)으로 구성되며, 상기 인터페이스부(120)는 바람직하게 DPRAM(Dual-Port RAM)으로 구성된다.Here, the first buffer memory 109, the image memory 115, and the second buffer memory 133 are preferably composed of synchronous dynamic random access memory (SDRAM), and the interface unit 120 is preferably DPRAM (Dual). -Port RAM).

또한 상기 제 1버퍼 메모리(109), 제 2버퍼 메모리(133)는 복수개의 버퍼 영역을 갖는 링 버퍼 형태로 분리된다.In addition, the first buffer memory 109 and the second buffer memory 133 are separated into a ring buffer having a plurality of buffer areas.

또한 상기 버스 브리지부(105)는 바람직하게 PCI/IDE Bus bridge로 이루어지며, 시스템 버스(104)는 바람직하게 PCI(Peripheral Component Interconnect) 버스로 구성된다.In addition, the bus bridge portion 105 is preferably composed of a PCI / IDE bus bridge, the system bus 104 is preferably composed of a Peripheral Component Interconnect (PCI) bus.

상기와 같이 구성되는 본 발명의 실시 예에 따른 디스크 매체로의 전송 스트림 기록 제어 장치에 대하여 첨부된 도면을 참조하여 설명하면 다음과 같다.A transport stream recording control apparatus for a disc medium according to an embodiment of the present invention configured as described above will be described with reference to the accompanying drawings.

디스크 매체로의 전송 스트림 기록 제어 장치는 제 1모듈(100)과 제 2모듈(130)이 복합된 구성이며, 상기 제 1모듈(100)과 제 2모듈(130)은 인터페이스부(120)에 의해 연결되어 데이터가 송/수신된다. 이러한 복합 장치는 하드디스크를 구비한 광디스크 레코더(예:DVD 레코더)로 기능하게 된다.The apparatus for controlling a transport stream recording to a disk medium is a configuration in which a first module 100 and a second module 130 are combined, and the first module 100 and the second module 130 are connected to the interface unit 120. The data is sent / received by the connection. Such a composite device will function as an optical disc recorder (eg, a DVD recorder) with a hard disc.

상기 제 1모듈(100)은 녹화 재생 모듈(즉, PVR 모듈)이고, 제 2모듈(130)은 광디스크 모듈(예: DVD 모듈)로 구성되며, 광디스크 매체로는 DVD, 블루레이 디스크(Blu-ray Disc)를 포함할 수 있다. 또한 인터페이스부(120)는 예를 들면 DPRAM을 사용하게 된다.The first module 100 is a recording / playback module (ie, a PVR module), and the second module 130 is composed of an optical disk module (eg, a DVD module), and an optical disk medium includes a DVD and a Blu-ray disk (Blu-). ray Disc). In addition, the interface unit 120 uses DPRAM, for example.

그리고, 제 1모듈(100)은 튜너/디모듈레이터(101), 스트림 제어기(103), 버스 브리지부(105), 제 1버퍼 메모리(109), 중앙처리장치(CPU)(111), 영상 디코더(MPEG Decoder)(113), 영상 메모리(115)를 포함하여 구성된다.The first module 100 includes a tuner / demodulator 101, a stream controller 103, a bus bridge unit 105, a first buffer memory 109, a central processing unit (CPU) 111, and an image decoder ( MPEG Decoder) 113, and image memory 115 are configured.

상기 튜너/디모듈레이터(101)는 디지털 방송 신호의 채널 선국을 통해서 방송 신호를 수신하고, 수신된 방송신호를 디지털 전송 스트림(TS : Transport Stream)으로 변환하여 출력하게 된다.The tuner / demodulator 101 receives a broadcast signal through channel selection of a digital broadcast signal, converts the received broadcast signal into a digital transport stream (TS), and outputs the converted broadcast signal.

그리고, 스트림 제어기(103)는 시스템 버스(PCI BUS)(104)에 연결되며 중앙처리장치(111)의 제어하에 상기 복조된 전송 스트림에 대해 PID(Packet ID) 필터링을 수행하고, 복사방지를 위해 암호화(Encryption)하여 내부 버퍼(buffer)에 축적한다. The stream controller 103 is connected to a system bus 104 and performs PID (Packet ID) filtering on the demodulated transport stream under the control of the CPU 111, and for copy protection. Encrypt and accumulate in an internal buffer.

여기서, 스트림 제어기(103)는 기록 또는 저장시 전송 스트림에 대해 암호화를 수행하고, 재생시 복호화를 수행하게 된다. 이러한 암호화 및 복호화 기능은 사용자가 옵션으로 지정할 수도 있다.Here, the stream controller 103 performs encryption on the transport stream at the time of recording or storing, and decrypts at the time of reproduction. This encryption and decryption function may be specified by the user as an option.

그리고, 중앙처리장치(111)는 시스템 버스(104)를 통해서 일정량의 스트림 데이터를 읽은 후 제 1버퍼 메모리(109)에 임시 저장한다.The CPU 111 reads a predetermined amount of stream data through the system bus 104 and temporarily stores the stream data in the first buffer memory 109.

상기 지상파의 전송 스트림은 전송 스트림(TS) 포맷이므로, 이 전송 스트림 포맷을 바로 광디스크 매체(예:DVD RW)에 저장하기 위해 버퍼링이 필요하게 된다. Since the terrestrial transport stream is a transport stream (TS) format, buffering is required to store this transport stream format directly on an optical disc medium (eg, DVD RW).

이때, 버퍼링 수단으로 하드디스크(107)를 사용하며, 하드디스크(107)에 저장될 때는 예를 들면, 4byte의 타임스탬프(Time Stamp)와 TS 188byte의 암호화(Encryption)형태로 저장되게 된다.At this time, the hard disk 107 is used as the buffering means, and when stored in the hard disk 107, for example, it is stored in the form of a time stamp of 4 bytes and an encryption of TS 188 bytes.

상기 하드디스크(107)에 저장되는 전송 스트림은 영상 디코더(113)를 통해 실시간 재생이 가능하게 되며, 하드디스크(107)에 저장되는 전송 스트림은 각각 하나의 방송 프로그램으로, 하드디스크(107)의 용량 내에 저장이 가능하게 된다. 또한 사용자가 하드디스크에 녹화된 목록을 보고 DVD 복사를 선택하여 해당 방송 프로그램을 광디스크 매체에 기록할 수도 있다.The transport stream stored in the hard disk 107 can be reproduced in real time through the image decoder 113, and the transport streams stored in the hard disk 107 are one broadcast program, respectively. Storage within the capacity is possible. In addition, the user may view the list recorded on the hard disk, select DVD copy, and record the corresponding broadcast program on the optical disk medium.

이와 같이, 사용자의 설정에 의해 하드디스크(107)에 저장된 전송 스트림을 광디스크 매체에 기록하고 재생할 수 있다.In this manner, the transport stream stored in the hard disk 107 can be recorded and reproduced on the optical disk medium by the user's setting.

이를 위해, 중앙처리장치(111)에서는 상기 하드디스크(107)에 저장된 전송 스트림 데이터를 광디스크 매체에 기록하기 위해, 상기 하드디스크(107)에 저장된 한 블럭의 데이터를 제 1버퍼 메모리(109)에 저장하고, 상기 저장된 데이터를 DPRAM(120)에 전송한다.To this end, the central processing unit 111 writes one block of data stored in the hard disk 107 to the first buffer memory 109 in order to record the transport stream data stored in the hard disk 107 on the optical disk medium. Store the data and transmit the stored data to the DPRAM 120.

또한 상기 DPRAM(120)으로부터 데이터를 읽어와 제 2모듈(130)인 DVD 모듈의 제 2버퍼 메모리(133)에 저장하고, 상기 저장된 데이터를 DVD 제어기(131)를 이용하여 광디스크 로더(135)에 기록하는 과정을 수행하며, 상기 저장/전송/기록과정을 각각 분리하여 서로 다른 태스크(Task)에서 실행되도록 병렬처리 기반으로 수행한다.In addition, data is read from the DPRAM 120 and stored in the second buffer memory 133 of the DVD module, which is the second module 130, and the stored data is stored in the optical disk loader 135 using the DVD controller 131. The recording process is performed, and the storage / transmission / recording process is separated and performed based on parallel processing so as to be executed in different tasks.

도 2는 본 발명의 실시 예에 따른 전송 스트림의 저장/전송/기록과정을 도시한 구성도이다.2 is a block diagram illustrating a storage / transmission / recording process of a transport stream according to an embodiment of the present invention.

도 2를 참조하면, 전송 스트림을 고속으로 제 1모듈 또는 제 2모듈인 DVD 모듈로 저장/전송/기록하기 위하여 하드디스크(107)로부터 읽어온 한 블록의 데이터를 중앙처리장치(111)의 제 1버퍼 메모리(109)에 저장한다. Referring to FIG. 2, a block of data read from the hard disk 107 for storing / transmitting / recording a transport stream to a DVD module which is a first module or a second module at a high speed is stored in the central processing unit 111. 1 is stored in the buffer memory 109.

상기 제 1버퍼 메모리(109)에 저장된 데이터는 DPRAM(120)을 통해 DVD 모듈로 전송되고, DVD 제어기(131)는 상기 DPRAM(120)으로부터 데이터를 읽어와 제 2버퍼 메모리(133)에 저장한 후 광디스크 로더(135)에 기록한다.The data stored in the first buffer memory 109 is transmitted to the DVD module through the DPRAM 120, and the DVD controller 131 reads data from the DPRAM 120 and stores the data in the second buffer memory 133. After that, the data is recorded on the optical disk loader 135.

여기서, 상기 제 1버퍼 메모리(109) 및 제 2버퍼 메모리(133)는 링 버퍼의 형태로 분리되어, 상기 분리된 각각의 버퍼에 저장된 데이터의 전송이 완료되기 전에 새로운 데이터로 변경되는 것을 방지할 수 있다.Here, the first buffer memory 109 and the second buffer memory 133 are separated in the form of a ring buffer to prevent the change of the new data before the transfer of data stored in each of the separated buffer is completed. Can be.

또한 상기 데이터의 저장/전송/기록과정은 각각 분리되어 병렬처리 기반으로 수행되며, 각각에 세마포어(Semaphore)를 두어 태스크(Task)간 동기를 맞춰준다.In addition, the data storage / transmission / writing process is performed separately based on parallel processing, and a semaphore is placed on each to synchronize synchronization between tasks.

상기 세마포어는 메모리 공간을 공유하거나, 파일들을 공유 액세스하기 위해 사용되며, 또한 상기 분리된 저장/전송/기록과정을 서로 다른 태스크에서 실행시켜 동시에 처리되도록 세마포어의 카운트를 조정하여 병렬처리 기반으로 수행되도록 한다.The semaphore is used to share memory space or to share access to files, and to execute the separated storage / transfer / write process in different tasks to adjust the semaphore count so that the semaphore can be executed in parallel. do.

예를 들면, 상기 중앙처리장치(111)는 하드디스크(107)에 저장된 전송 스트림 데이터를 읽어와 링 버퍼의 형태로 분리되어 있는 제 1버퍼 메모리(109)의 1번 버퍼(109-1)에 데이터를 저장한다.For example, the central processing unit 111 reads the transport stream data stored in the hard disk 107 and writes to the first buffer 109-1 of the first buffer memory 109 which is separated in the form of a ring buffer. Save the data.

상기 제 1버퍼 메모리(109)의 1번 버퍼(109-1)에 저장된 데이터는 DPRAM(120)를 통해 DVD 모듈로 전송되고, 이때 상기 중앙처리장치(111)는 하드디스크(107)에 저장된 전송 스트림 데이터를 읽어와 상기 제 1버퍼 메모리(109)의 2번 버퍼(109-2)에 저장한다.Data stored in the first buffer 109-1 of the first buffer memory 109 is transmitted to the DVD module through the DPRAM 120, wherein the CPU 111 transmits the data stored in the hard disk 107. The stream data is read and stored in the second buffer 109-2 of the first buffer memory 109.

즉, 중앙처리장치(111)는 제 1버퍼 메모리(109)에 전송 스트림 데이터를 순차적으로 저장하고 이미 저장된 전송 스트림 데이터를 인터페이스부를 통해 출력하게 된다. 상기 저장 및 출력 동작은 각각 독립적으로 이루어진다.That is, the CPU 111 sequentially stores the transport stream data in the first buffer memory 109 and outputs the already stored transport stream data through the interface unit. The storage and output operations are independent of each other.

또한, 이때 상기 각 프로세스에 세마포어를 생성하고, 해당 세마포어의 카운트에 의해 세마포어에 대기하고 있는 태스크를 수행하게 한다.In addition, at this time, a semaphore is generated in each process, and the task waiting for the semaphore is performed by the count of the semaphore.

자세히 설명하면 DPRAM(120)에 접근할 수 있는 세마포어 값이 1이라고 하면, 상기 DPRAM(120)의 세마포어 값이 1이될 때, 1번 버퍼(109-1)의 데이터가 상기 DPRAM(120)로 전송되고, 이때 DPRAM(120)의 세마포어 값을 0으로 감소시켜 다른 버퍼의 데이터 접근을 차단한다.In detail, if the semaphore value that can access the DPRAM 120 is 1, when the semaphore value of the DPRAM 120 becomes 1, the data of the first buffer 109-1 is transferred to the DPRAM 120. In this case, the semaphore value of DPRAM 120 is reduced to 0 to block data access of another buffer.

상기 1번 버퍼(109-1)의 데이터 전송이 완료되면, 상기 DPRAM(120)의 세마포어 값을 다시 1로 증가시켜 다음 버퍼의 데이터 전송을 가능하게 한다.When the data transfer of the first buffer 109-1 is completed, the semaphore value of the DPRAM 120 is increased to 1 again to enable data transfer of the next buffer.

이와 같이 제 1모듈에서는 하드디스크(107)에서 한 블럭의 데이터를 읽어와 링 버퍼형태로 분리된 제 1버퍼 메모리(109)의 각각의 버퍼(109-1~109-5)에 데이터를 저장하여 DPRAM(120)으로 전송하고, 상기 데이터 전송과정을 완료하여 메모리 공간이 비어있는 버퍼에 다시 하드디스크(107)에서 데이터를 읽어와 저장하는 과정을 세마포어 카운트를 조정하여 수행한다.As described above, the first module reads one block of data from the hard disk 107 and stores data in the buffers 109-1 to 109-5 of the first buffer memory 109 separated into ring buffers. The process of transferring the data to the DPRAM 120, completing the data transfer process, and reading and storing the data from the hard disk 107 again in the buffer in which the memory space is empty is performed by adjusting the semaphore count.

또한 제 2모듈인 DVD 모듈은 상기 전송된 데이터를 DPRAM(120)에서 읽어와 링 버퍼형태로 분리된 제 2버퍼 메모리(133)의 각각의 버퍼(133-1,133-2)에 데이터를 저장하고, 상기 각각의 버퍼에 저장되어 있는 데이터를 광디스크 매체에 기록한다.In addition, the DVD module, which is a second module, reads the transmitted data from the DPRAM 120 and stores the data in the buffers 133-1 and 133-2 of the second buffer memory 133 separated in a ring buffer form. Data stored in the respective buffers is recorded on the optical disc medium.

즉, 광디스크 제어기인 DVD 제어기(131)는 전송 스트림 데이터를 순차적으로 제 2버퍼 메모리(133)에 저장하고 이미 저장된 전송 스트림 데이터를 읽어 광디스크 매체에 출력하여 기록하게 된다. 상기 저장 및 출력 동작은 각각 독립적으로 이루어진다.That is, the DVD controller 131, which is an optical disk controller, sequentially stores the transport stream data in the second buffer memory 133, reads the already stored transport stream data, and outputs it to the optical disk medium for recording. The storage and output operations are independent of each other.

이때 상기 데이터 기록과정을 완료하여 메모리 공간이 비어있는 버퍼에 DPRAM(120)에서 다시 데이터를 읽어와 저장하는 과정을 세마포어 카운트를 조정하여 수행한다.At this time, the data writing process is completed and the process of reading data from the DPRAM 120 and storing the data again in a buffer having an empty memory space is performed by adjusting the semaphore count.

이와 같이 본 발명에 따르면, 제 1버퍼 메모리(109)의 2번 버퍼(109-2)에 저장된 데이터를 상기 DPRAM(120)으로 전송할 때, 상기 제 2버퍼 메모리(133)의 1번 버퍼(133-1)에 저장된 데이터를 광디스크 로더(135)에 기록할 수 있다.As described above, when the data stored in the second buffer 109-2 of the first buffer memory 109 is transferred to the DPRAM 120, the first buffer 133 of the second buffer memory 133 is transmitted. Data stored in -1) can be recorded in the optical disk loader 135.

또한 상기 제 1버퍼 메모리(109)의 2번 버퍼(109-2)에서 전송된 데이터를 DPRAM(120)에서 읽어와 제 2버퍼 메모리(133)의 비어있는 1번 버퍼(133-1)에 저장할 때, 하드디스크에서는 한 블럭의 데이터를 읽어와 제 1버퍼 메모리(109)에 비어있는 2번 버퍼(109-2)에 데이터를 저장하고, 또한 이때 제 1버퍼 메모리(109)의 3번 버퍼(109-3)에 저장된 데이터를 상기 DPRAM(120)에 전송할 수 있다.In addition, the data transferred from the second buffer 109-2 of the first buffer memory 109 is read from the DPRAM 120 and stored in the empty first buffer 133-1 of the second buffer memory 133. At this time, the hard disk reads one block of data and stores the data in the second buffer 109-2, which is empty in the first buffer memory 109, and at this time, the third buffer of the first buffer memory 109 ( Data stored in 109-3 may be transmitted to the DPRAM 120.

이와 같이 상기 각각의 저장/전송/기록과정을 분리하여 병렬적으로 처리하고 분리된 과정의 각각에 세마포어를 두어 동기를 맞춰준다.다시 말하면, 상기 중앙 처리장치(111)에서 제 1버퍼 메모리(109)에 저장 및 출력하는 동작과, DVD 제어기(131)에서 제 2버퍼 메모리(133)에 전송 스트림 데이터를 저장 및 출력하는 동작은 각각 독립적으로 또는 병렬적으로 이루어진다. 이는 중앙 처리장치(111)와 DVD 제어기(131)는 상대방에게 제어권을 넘겨주지 않고 서로 독립적으로 갖고 있는 버퍼 메모리에 구비된 두 개 이상의 버퍼를 이용하여 전송 스트림을 저장 및 출력하는 동작을 수행하게 된다.In this manner, each of the storage / transmission / writing processes are separated and processed in parallel, and a semaphore is placed in each of the separated processes to synchronize the synchronization. In other words, the first buffer memory 109 of the central processing unit 111 is synchronized. ) And the operation of storing and outputting the transport stream data in the second buffer memory 133 by the DVD controller 131 are performed independently or in parallel. This allows the central processing unit 111 and the DVD controller 131 to store and output a transport stream using two or more buffers provided in a buffer memory independently of each other without giving control to the other party. .

이렇게 본 발명에 따르면 광디스크 매체에 전송 스트림 데이터를 기록하기 위해 저장/전송/기록과정을 각각 분리하여 서로 다른 태스크(Task)에서 실행시키고, 상기 태스크의 동기를 맞춰주기 위해 각각 세마포어를 두어 분리된 저장/전송/기록과정을 병렬처리 기반으로 수행되도록 하여 기록 처리 속도 및 기록 시간을 향 상시킬 수 있다.As described above, according to the present invention, the recording / transporting / recording process is separately executed to record the transport stream data on the optical disk medium and executed in different tasks, and the semaphores are separately stored in order to synchronize the tasks. It is possible to improve the recording processing speed and recording time by performing the transmission / recording process on a parallel processing basis.

또한, 여기서 광디스크 매체에 전송 스트림을 기록할 경우 방송 프로그램에 대한 정보도 함께 저장되는데, 상기 방송 프로그램의 복사 상태 플래그가 존재하여 복사 방지(Copy Never, Copy Once)등의 정보를 함께 넣어 줄 수 있다.In addition, when the transport stream is recorded on the optical disc medium, information on a broadcast program is also stored. A copy status flag of the broadcast program exists so that information such as copy never or copy once may be included. .

또한 광디스크 매체에는 전송 스트림이 저장되었다는 것을 식별할 수 있도록 소정의 정보가 기록된다. 즉, 광디스크 매체는 전송 스트림에 대한 기록 정보 및 재생 정보, 데이터 영역으로 구분되며, 상기 기록 정보 영역에는 전송 스트림의 제목, 언어, 시간, 파일 사이즈 등이 기록되며, 재생 정보 영역에는 재생 위치 및 기기 정보 등이 포함된다.Furthermore, predetermined information is recorded on the optical disc medium to identify that the transport stream has been stored. That is, the optical disc medium is divided into recording information, reproduction information, and data area for the transport stream, and the title, language, time, file size, etc. of the transport stream are recorded in the recording information area, and the playback position and device in the reproduction information area. Information and the like.

또한 제 1모듈(100) 및 제 2모듈(130) 사이를 연결시켜 주는 인터페이스부(120)는 DPRAM으로 구성되며, 이러한 인터페이스부(120)는 두 개의 프로세서(CPU, DVD 제어기)간의 고속 데이터 전송을 위해, 듀얼 포트 램 영역을 두 개의 채널로 구분하게 된다. 그 두 개의 채널은 데이터 전송 제어채널과 데이터 전송채널로 나누어지며, 상기 데이터 전송채널에서는 데이터 전송 효율을 높이고자 별도의 전송 프로토콜 데이터를 추가하지 않고, 블록 단위로 사이즈 정보만 포함해서 전송한다. In addition, the interface unit 120 connecting the first module 100 and the second module 130 is composed of DPRAM, and the interface unit 120 transfers high-speed data between two processors (CPU, DVD controller). For this purpose, the dual port RAM area is divided into two channels. The two channels are divided into a data transmission control channel and a data transmission channel. The data transmission channel transmits only the size information in units of blocks without adding additional transmission protocol data to increase data transmission efficiency.

한편, 제 2모듈(130)의 광디스크 매체에 기록된 데이터는 다시 상기의 역순으로 재생하게 된다. 즉, 제 2모듈(130)의 DVD 제어기(131)는 광디스크 매체로부터 데이터를 읽은 후 제 2버퍼 메모리(133)에 저장하고, DPRAM(120)을 통해 상기 제 2버퍼 메모리(133)에 저장된 데이터를 제 1버퍼 메모리(109)에 저장한 후 하드디스크(107)에 저장하고, 스트림 제어기(103)에 의해 복호화된 후 영상 디코더(113)를 통해서 재생할 수 있다.On the other hand, the data recorded on the optical disk medium of the second module 130 is reproduced in the reverse order. That is, the DVD controller 131 of the second module 130 reads data from the optical disk medium and stores the data in the second buffer memory 133 and stores the data stored in the second buffer memory 133 through the DPRAM 120. The first buffer memory 109 may be stored in the first buffer memory 109 and then stored in the hard disk 107 and decoded by the stream controller 103 and then played back through the image decoder 113.

마찬가지로 상기 각 프로세스에 세마포어를 두어, 해당 세마포어의 카운트에 의해 상기 각 과정이 병렬처리 기반으로 수행된다.Similarly, semaphores are placed in the processes, and each process is performed on a parallel basis by counting the semaphores.

이와 같이, 하드디스크를 구비한 광디스크 레코더는 PVR 모듈 등의 방송수신모듈로부터 수신된 전송 스트림 데이터를 다른 모듈의 디스크 매체에 기록하면서, 디스크 매체에 기록된 전송 스트림을 읽어들여 재생시켜줄 수 있도록 하고, 또한 PVR 모듈과 DVD 모듈 사이에 전송 스트림 데이터를 고속으로 송/수신하는 수단을 제공함으로써, 버퍼링으로 인한 지연 시간의 최소화 및 실시간 데이터 전송보장이 가능하게 된다.In this way, the optical disk recorder having a hard disk can read and play the transport stream recorded on the disk medium while recording the transport stream data received from the broadcast receiving module such as the PVR module on the disk medium of another module. In addition, by providing a means for transmitting and receiving transport stream data at high speed between the PVR module and the DVD module, it is possible to minimize the delay time due to buffering and to guarantee real-time data transmission.

도 3은 본 발명의 실시 예에 따른 디스크 매체로의 전송 스트림 기록 제어 방법을 나타내는 플로우 차트이다.3 is a flowchart illustrating a method of controlling a transport stream recording to a disk medium according to an embodiment of the present invention.

도 3를 참조하면, 먼저 방송신호를 수신하고(S100), 상기 수신되는 방송신호로부터 전송 스트림 데이터를 복조하여 하드디스크에 저장한다(S102).Referring to FIG. 3, first, a broadcast signal is received (S100), and transport stream data is demodulated from the received broadcast signal and stored in a hard disk (S102).

상기 저장된 데이터의 디스크 기록 여부를 판단하여(S104), 상기 판단결과, 데이터를 디스크에 기록하기에 위해 상기 하드디스크에 저장된 데이터를 읽어와 복수개의 버퍼 영역을 갖도록 링 버퍼 형태로 분리된 제 1버퍼 메모리의 각각의 버퍼 영역에 저장하고(S106), 상기 제 1버퍼 메모리에 저장된 데이터를 DPRAM으로 전송한다(S108).It is determined whether the stored data is recorded on the disk (S104), and as a result of the determination, the first buffer reads the data stored in the hard disk to record the data on the disk, and is divided into a ring buffer so as to have a plurality of buffer areas. Each buffer area of the memory is stored (S106), and the data stored in the first buffer memory is transferred to the DPRAM (S108).

또한 상기 DPRAM으로 전송된 데이터를 읽어와 2개 이상의 버퍼 영역을 갖도록 링 버퍼 형태로 분리된 DVD 모듈의 제 2버퍼 메모리에 저장하고(S110), 상기 제 2버퍼 메모리의 각각의 버퍼 영역에 저장된 데이터를 광디스크 매체에 기록한다(S112).In addition, the data transferred to the DPRAM is read and stored in the second buffer memory of the DVD module separated into a ring buffer form to have two or more buffer areas (S110), and the data stored in each buffer area of the second buffer memory. Is recorded on the optical disk medium (S112).

또한 상기 저장/전송/기록 단계에 세마포어를 두고, 세마포어의 카운트를 조정하여 병렬적으로 전송 스트림의 저장/전송/기록을 가능하게 한다.A semaphore is also placed in the storage / transmission / recording step, and the semaphore count is adjusted to enable storage / transmission / recording of the transport stream in parallel.

이와 같이, 본 발명은 하드디스크에 저장된 데이터를 읽어와 제 1버퍼 메모에 저장하는 단계와, 상기 저장된 데이터를 DPRAM로 전송하는 단계와, 상기 DPRAM으로부터 데이터를 읽어와 DVD 모듈의 제 2버퍼 메모리로 저장하는 단계와, 상기 제 2버퍼 메모리에 저장된 데이터를 광디스크 매체에 기록하는 단계를 각각 분리하고, 세마포어 카운트를 조정하여 병렬처리 기반으로 수행되도록 하여 기록 처리 속도 및 기록 시간을 향상시키는 장점이 있다.As described above, the present invention reads the data stored in the hard disk and stores the data in the first buffer memo, transfers the stored data to the DPRAM, reads the data from the DPRAM to the second buffer memory of the DVD module. There is an advantage of improving the recording processing speed and the recording time by separating the storing step and the recording of the data stored in the second buffer memory on the optical disc medium, and adjusting the semaphore count to be performed based on parallel processing.

이제까지 본 발명에 대하여 그 바람직한 실시 예를 중심으로 살펴보았으며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 본질적 기술 범위 내에서 상기 본 발명의 상세한 설명과 다른 형태의 실시 예들을 구현할 수 있을 것이다. 여기서 본 발명의 본질적 기술범위는 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far, the present invention has been described with reference to the preferred embodiments, and those skilled in the art to which the present invention pertains to the detailed description of the present invention and other forms of embodiments within the essential technical scope of the present invention. Could be implemented. Here, the essential technical scope of the present invention is shown in the claims, and all differences within the equivalent range will be construed as being included in the present invention.

본 발명에 따라 전송 스트림의 기록 제어 장치 및 방법에 의하면, 전송 스트림을 광디스크 매체에 고속으로 저장할 수 있도록 저장/전송/기록과정을 분리하여 병렬적으로 동시에 수행함으로써 기록 처리 속도의 향상 및 기록 시간을 단축시키 는 효과가 있다.According to the present invention, there is provided a recording control apparatus and method for transport stream recording, which improves the recording processing speed and the recording time by performing parallel and simultaneous storage / transmission / recording processes so that the transport stream can be stored on the optical disk medium at high speed. It is effective to shorten.

또한 본 발명에 따라 전송 스트림의 전송뿐만 아니라 인터페이스부를 공유하는 서로 다른 CPU간의 데이터 송/수신에도 적용시킬 수 있는 효과가 있다.In addition, according to the present invention there is an effect that can be applied to the transmission and reception of data between different CPUs sharing the interface unit as well as the transmission stream.

Claims (7)

하드디스크에 저장된 전송 스트림 데이터를 읽어와 광디스크 매체에 기록되도록 하는 저장 및 출력 과정을 각각 분리하여 세마포어 카운트에 따라 동시에 실행되도록 구성함으로써, HD급의 방송 스트림을 광디스크 매체에 고속으로 기록할 수 있도록 하는 디스크 매체로의 전송 스트림 기록 제어 장치에 있어서, It is possible to record HD broadcasting streams on optical disk media at high speed by separating the storing and output processes that read transport stream data stored in hard disk and recording them on optical disk media and executing them simultaneously according to semaphore count. An apparatus for controlling transport stream recording to a disk medium, 수신된 전송 스트림을 저장하는 하드디스크와;A hard disk for storing the received transport stream; 복수개의 링 버퍼 형태로 분리된 버퍼영역을 갖고, 상기 전송 스트림이 각각의 버퍼 영역에 순차적으로 저장 및 출력되는 제 1버퍼 메모리와;A first buffer memory having a buffer area divided into a plurality of ring buffers, wherein the transport stream is sequentially stored and output in each buffer area; 상기 하드디스크에 저장된 전송스트림을 제 1버퍼 메모리의 버퍼들에 순차적으로 저장하고, 상기 제 1버퍼 메모리의 각 버퍼에 저장된 전송 스트림이 순차적으로 출력되도록 세마포어 카운트에 따라 제1버퍼 메모리의 저장과 출력을 제어하는 중앙처리장치와;Storage and output of the first buffer memory according to the semaphore count so that the transport stream stored in the hard disk is sequentially stored in the buffers of the first buffer memory, and the transport streams stored in each buffer of the first buffer memory are sequentially output. A central processing unit controlling the; 상기 제 1버퍼 메모리로부터 출력된 전송 스트림을 저장한 후 광디스크 모듈로 전송하기 위한 인터페이스부와;An interface unit for storing the transport stream output from the first buffer memory and transmitting the stored stream to an optical disk module; 복수개의 링 버퍼 형태로 분리된 버퍼영역을 갖고, 상기 전송 스트림이 각각의 버퍼 영역에 순차적으로 저장 및 출력되는 제 2버퍼 메모리와;A second buffer memory having a buffer area divided into a plurality of ring buffers, wherein the transport stream is sequentially stored and output in each buffer area; 상기 인터페이스부로부터 저장된 전송 스트림을 순차적으로 상기 제 2버퍼 메모리의 버퍼들에 저장시키고, 상기 제 2버퍼 메모리의 각 버퍼에 저장된 전송 스크림이 순차적으로 광디스크 매체에 기록되도록 세마포어 카운트에 따라 제2버퍼 메모리의 저장과 출력을 제어하는 광디스크 제어기와;A second buffer memory according to the semaphore count so that the transport stream stored from the interface unit is sequentially stored in the buffers of the second buffer memory, and the transfer scrims stored in each buffer of the second buffer memory are sequentially recorded on the optical disk medium. An optical disk controller for controlling the storage and output of the optical disk; 상기 광디스크 제어기에 의해 출력된 전송 스트림을 광디스크 매체에 기록되도록 제어하는 광디스크 로더를 포함하는 것을 특징으로 하는 디스크 매체로의 전송 스트림 기록 제어 장치.And an optical disc loader for controlling the transport stream output by the optical disc controller to be recorded on the optical disc medium. 제 1항에 있어서,The method of claim 1, 상기 중앙처리장치 및 광디스크 제어기는 해당 버퍼 메모리의 저장 및 출력 동작에 대해 병렬처리 기반으로 수행되도록 하는 것을 특징으로 하는 디스크 매체로의 전송 스트림 기록 제어 장치.And the central processing unit and the optical disk controller are configured to perform the storage and output operations of the buffer memory on a parallel processing basis. 삭제delete 삭제delete 하드디스크에 저장된 전송 스트림 데이터를 읽어와 광디스크 매체에 기록되도록 하기 위해 제 1 및 제 2버퍼 메모리로의 저장 및 출력 동작을 각각 세마포어 동기를 이용하여 병렬처리 기반으로 수행되도록 하는 디스크 매체로의 전송 스트림 기록 제어 방법에 있어서, Transport stream to disk medium that allows storage and output operations to the first and second buffer memories to be performed on a parallel processing basis using semaphore synchronization, respectively, in order to read transport stream data stored on the hard disk and write them to the optical disk medium. In the recording control method, 전송 스트림을 수신하여 하드디스크에 저장하는 단계;Receiving and storing the transport stream on a hard disk; 상기 저장된 전송 스트림을 복수개의 버퍼 영역을 갖는 제 1버퍼 메모리에 순차적으로 세마포어 카운트에 따라 저장 및 출력하는 단계; Storing and outputting the stored transport stream sequentially in a first buffer memory having a plurality of buffer areas according to semaphore counts; 상기 제 1버퍼 메모리로부터 순차적으로 출력된 전송 스트림을 인터페이스부에 임시 저장하는 단계; Temporarily storing a transport stream sequentially output from the first buffer memory in an interface unit; 상기 인터페이스부에 임시 저장된 전송 스트림을 복수개의 버퍼 영역을 갖는 제 2버퍼 메모리에 순차적으로 세마포어 카운트에 따라 저장 및 출력하는 단계;Sequentially storing and outputting a transport stream temporarily stored in the interface unit in a second buffer memory having a plurality of buffer areas according to semaphore counts; 상기 제 2버퍼 메모리로부터 순차적으로 출력된 전송 스트림을 광 디스크 매체에 기록하는 단계를 포함하는 것을 특징으로 하는 디스크 매체로의 전송 스트림 기록 제어 방법.And recording the transport streams sequentially output from the second buffer memory on an optical disc medium. 삭제delete 제 5항에 있어서,The method of claim 5, 상기 제 1버퍼 메모리와 제 2버퍼 메모리는 각각 2개 이상의 버퍼 영역을 갖는 링 버퍼 형태인 것을 특징으로 하는 디스크 매체로의 전송 스트림 기록 제어 방법.And the first buffer memory and the second buffer memory are each in the form of a ring buffer having two or more buffer areas.
KR1020050085528A 2005-09-14 2005-09-14 Apparatus and Method for Transport Stream Recording Control in Discmedia KR100705180B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050085528A KR100705180B1 (en) 2005-09-14 2005-09-14 Apparatus and Method for Transport Stream Recording Control in Discmedia

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050085528A KR100705180B1 (en) 2005-09-14 2005-09-14 Apparatus and Method for Transport Stream Recording Control in Discmedia

Publications (2)

Publication Number Publication Date
KR20070031008A KR20070031008A (en) 2007-03-19
KR100705180B1 true KR100705180B1 (en) 2007-04-09

Family

ID=41624713

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050085528A KR100705180B1 (en) 2005-09-14 2005-09-14 Apparatus and Method for Transport Stream Recording Control in Discmedia

Country Status (1)

Country Link
KR (1) KR100705180B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02547A (en) * 1988-12-26 1990-01-05 Toshiba Corp Device for formation of image

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02547A (en) * 1988-12-26 1990-01-05 Toshiba Corp Device for formation of image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
캐나다공개공보 제200547호

Also Published As

Publication number Publication date
KR20070031008A (en) 2007-03-19

Similar Documents

Publication Publication Date Title
KR100669616B1 (en) Dvd file system for recording/reproducing of hd stream
US7889864B2 (en) Data processing system and method
US20080240685A1 (en) Recording and reproducing apparatus
JP4431374B2 (en) Recording method, recording apparatus, and receiving apparatus
US8600221B2 (en) Writing/reading control method of HD stream
JP4091802B2 (en) Audio / video data recording / playback device
KR100259295B1 (en) Memory controlling apparatus
KR100705180B1 (en) Apparatus and Method for Transport Stream Recording Control in Discmedia
US20050201728A1 (en) Writing/reading system of HD stream
KR101022076B1 (en) Recording and palyback control method of transport stram data
JP2001291318A (en) Recording and reproducing device and digital broadcasting receiver
KR100630061B1 (en) Method for reproducing and registering data type id information for distinguishing plural service data
JP5581661B2 (en) Digital broadcast playback device
US6952520B1 (en) Picture recorder/reproducer and method thereof
JP4324411B2 (en) BS digital receiver with PVR device
KR100762581B1 (en) Method for recording data for time-shift
KR101115976B1 (en) Record and play device of digital broadcasting data
JP4229167B2 (en) Recording / reproducing apparatus and recording / reproducing method
KR20010011951A (en) Apparatus of Storing/Reproducing Data Stream Received at Digital Broadcasting Receiver and Method Thereof
JP4321713B2 (en) Information recording method and apparatus
JP2004207787A (en) Audio/video data storage reproducing apparatus, transmission band control apparatus, and transmission band control method
JP2004328295A (en) Accumulation/reproduction device
KR20060117731A (en) Method of digital multimedia broadcasting contents storage and reproducing
JP2002112180A (en) Digital data recording and reproducing device and its method
JP2000057681A (en) Optical disk simple extension type video server system

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: 20120327

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20130326

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee