KR100469266B1 - apparatus for recording/playing of digital broadcast signal - Google Patents

apparatus for recording/playing of digital broadcast signal Download PDF

Info

Publication number
KR100469266B1
KR100469266B1 KR10-2002-0003928A KR20020003928A KR100469266B1 KR 100469266 B1 KR100469266 B1 KR 100469266B1 KR 20020003928 A KR20020003928 A KR 20020003928A KR 100469266 B1 KR100469266 B1 KR 100469266B1
Authority
KR
South Korea
Prior art keywords
program
programs
buffer
pid
input
Prior art date
Application number
KR10-2002-0003928A
Other languages
Korean (ko)
Other versions
KR20030063679A (en
Inventor
이승현
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR10-2002-0003928A priority Critical patent/KR100469266B1/en
Publication of KR20030063679A publication Critical patent/KR20030063679A/en
Application granted granted Critical
Publication of KR100469266B1 publication Critical patent/KR100469266B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/4147PVR [Personal Video Recorder]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42661Internal components of the client ; Characteristics thereof for reading from or writing on a magnetic storage medium, e.g. hard disk drive
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

본 발명은 복수 프로그램을 동시에 녹화하기 위해 가능한 한 하드디스크 상의 저장 위치를 변경하지 않음으로써, 하드디스크의 헤드가 이동하는 시간을 최소화하여 데이터 전송 효율을 단일 프로그램 녹화시와 비슷한 수준으로 유지하기 위한 것으로서, 패킷 형태로 입력되는 방송용 스트림 중 PID 필터링을 통해 저장될 입력 패킷을 프로그램별 버퍼 인덱스로 분류하는 PID 필터와, 상기 PID 필터에서 분류된 프로그램별 수만큼 읽기 및 쓰기 버퍼의 영역으로 나누어 PID 필터링을 통해 전송되는 복수 프로그램을 저장하는 저장부와, 상기 PID 필터에서 분류된 프로그램별 버퍼 인덱스를 이용하여 상기 저장부에 저장되는 복수 프로그램의 각 주소를 생성하는 저장/재생 제어기와, 상기 PID 필터를 통해 입력되는 복수 프로그램 또는 상기 저장부에 저장된 복수 프로그램 중 재생될 프로그램을 입력받아 복호화하여 출력하는 시스템 복호화기를 포함하여 구성되는데 있다.The present invention does not change the storage location on the hard disk as much as possible in order to simultaneously record multiple programs, thereby minimizing the movement time of the head of the hard disk to maintain data transfer efficiency at a level similar to that of recording a single program. PID filtering classifies the input packets to be stored through the PID filtering among the broadcast streams that are input in the form of packets into buffer indexes for each program, and divides the PID packets into read and write buffer areas by the number of programs classified by the PID filter. A storage unit for storing a plurality of programs transmitted through the storage unit, a storage / reproducing controller for generating respective addresses of the plurality of programs stored in the storage unit using a buffer index for each program classified by the PID filter, and the PID filter Multiple programs to be input or duplicates stored in the storage unit There is to be input to the program to be reproduced of the program receiving decoding system configured to include a decoding and outputting.

Description

디지털 방송 신호의 녹화/재생 장치{apparatus for recording/playing of digital broadcast signal}Apparatus for recording / playing of digital broadcast signal

본 발명은 PVR(Personal Video Recorder)에서 복수의 가상 채널을 통해 들어오는 2개 이상의 프로그램을 동시에 저장 또는 재생할 수 있는 디지털 방송 신호의 녹화/재생 장치에 관한 것이다.The present invention relates to an apparatus for recording / reproducing a digital broadcast signal capable of simultaneously storing or reproducing two or more programs coming through a plurality of virtual channels in a personal video recorder (PVR).

최근 DTV/STB에 하드디스크와 같은 보조 기억장치를 결합한 형태의 응용장치가 개발되고 있다. 이를 PVR이라 하며, MPEG-2에 기반한 디지털 방송 입력 또는 MPEG-2로 부호화된 아날로그(NTSC) 방송을 디지털 저장 매체에 보관하기 위한 목적으로 하는 것이다.Recently, an application device of a type in which an auxiliary storage device such as a hard disk is combined with a DTV / STB has been developed. This is called a PVR, and is intended to store a digital broadcast input based on MPEG-2 or an analog (NTSC) broadcast encoded with MPEG-2 on a digital storage medium.

이를 위해서는 저장을 고려하지 않은 종래의 시스템 복호화기와는 달리 녹화시에 입력되는 스트림을 하드디스크 등의 매체에 저장하고, 재생시에는 하드디스크 등의 매체에서 저장된 스트림을 읽어서 복호화기의 입력에 전달하는 기본적인 구조를 갖추어야 한다.To do this, unlike a conventional system decoder which does not consider storage, a stream input at the time of recording is stored in a medium such as a hard disk, and at the time of reproduction, a stream stored in a medium such as a hard disk is read and transmitted to a decoder input. It must be structured.

여기서 시스템 복호화기란 다수의 음향, 영상, 기타 데이터들을 시분할하여 전송하기 위한 규격인 ISO/IEC 13818-1(information technology-generic coding of moving pictures and associated audio information: system)과 같은 규격을 준수하는 스트림을 복호화하여 구성 스트림을 얻어내기 위한 복호화기를 의미한다.Here, the system decoder refers to a stream that conforms to a standard such as ISO / IEC 13818-1 (information technology-generic coding of moving pictures and associated audio information (system)), which is a standard for time-dividing and transmitting a plurality of audio, video, and other data. Decoder for decoding to obtain a configuration stream.

PVR은 현재의 아날로그 티브이 방송을 MPEG로 디지털 압축 부호화한 후 하드디스크에 녹화하는 용도로 사용할 수 있으나, 주로 디지털 티브이 방송을 저장하기 위한 용도로 개발된 것이다.PVR can be used to record the current analog TV broadcasts to MPEG after digital compression encoding by MPEG, but it was mainly developed for storing digital TV broadcasts.

특히, 디지털 티브이의 경우에는 하나의 채널 안에 다수의 가상 채널이 존재하여 여러 개의 프로그램을 전송할 수 있다.In particular, in the case of a digital TV, a plurality of virtual channels exist in one channel to transmit several programs.

따라서, 종래의 아날로그 티브이 환경에 비해 다수 프로그램의 녹화에 대한 요구가 증가할 수밖에 없다.Therefore, the demand for recording of a large number of programs is inevitably increased compared to the conventional analog TV environment.

디지털 티브이 방송 규격인 ATSC의 경우, HD 급의 고화질 프로그램은 한 채널에 할당된 19.4Mbps의 데이터량을 모두 하나의 프로그램을 전송하는데 사용하지만, SD 급의 일반 프로그램의 경우는 4개까지가 한 채널을 통해 전송될 수 있다.In the case of ATSC, which is a digital TV broadcasting standard, HD-quality high-definition programs use 19.4Mbps of data allocated to one channel to transmit a single program. Can be transmitted through.

이는 한 개의 튜너 및 복조기를 가진 일반 수상기에서도 복수의 프로그램을 동시에 시청할 수 있음을 의미한다.This means that a general receiver having one tuner and a demodulator can simultaneously watch a plurality of programs.

PVR 사용자가 복수의 가상 채널을 녹화하려면, 시스템 복호화기가 각 가상 채널을 통해 들어오는 프로그램을 처리해야 하고, 다시 이를 하드디스크에 저장하기 위한 장치가 필요하다.In order for a PVR user to record a plurality of virtual channels, a system decoder needs to process a program coming through each virtual channel, and a device for storing them on a hard disk is required.

하드디스크의 성능은 그 기계적인 특성으로 인해 매우 제한적이다.Hard disk performance is very limited due to its mechanical characteristics.

현재 가정용으로 사용되는 하드디스크는 소음과 발열 문제로 인해 일반 PC에서 사용되는 것보다 디스크 회전 및 데이터 전송 속도가 느린 것이 일반적이며, 하나의 HD 프로그램을 안정적으로 녹화 재생할 수 있는 정도의 성능을 제공하고 있다.Hard disks currently used for home use generally have slower disk rotation and data transfer speeds than those used in ordinary PCs due to noise and heat problems, and provide the performance to reliably record and play a single HD program. have.

데이터량만을 고려하면 하나의 HD 프로그램과 복수의 SD 프로그램의 데이터량이 비슷하므로 문제가 없어야 하나, 하나의 프로그램을 녹화하는 경우에는 연속적인 공간을 사용하는데 반해 다수 프로그램을 녹화하는 경우에는 저장 위치가 수시로 바뀔 수 있기 때문에 디스크의 헤드가 이동하는데 걸리는 시간으로 인해 데이터 전송 효율이 떨어지는 것이 일반적이다.Considering the data volume alone, there should be no problem because the data volume of one HD program and multiple SD programs are similar.However, when recording one program, the storage space is frequently used when recording multiple programs. Because of the time it takes for the head of the disk to move, it is common for data transfer efficiency to decrease.

따라서 복수의 프로그램을 녹화할 경우, 데이터 전송 효율을 극대화하지 않으면 안정적인 서비스를 제공할 수 없게 된다.Therefore, when recording a plurality of programs, it is not possible to provide a stable service without maximizing data transmission efficiency.

따라서 본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 복수 프로그램을 동시에 녹화하기 위해 가능한 한 하드디스크 상의 저장 위치를 변경하지 않음으로써, 하드디스크의 헤드가 이동하는 시간을 최소화하여 데이터 전송 효율을 단일 프로그램 녹화시와 비슷한 수준으로 유지하는데 그 목적이 있다.Therefore, the present invention has been made to solve the above problems, by not changing the storage location on the hard disk as much as possible to record a plurality of programs at the same time, minimizing the time to move the head of the hard disk data transfer efficiency Aims to maintain the same level as when recording a single program.

본 발명의 다른 목적은 이렇게 녹화한 복수 프로그램을 선택적으로 재생할 수 있도록 저장 방식을 정의하는데 있다.Another object of the present invention is to define a storage method for selectively reproducing a plurality of recorded programs.

도 1 은 본 발명에 따른 디지털 방송 신호의 녹화/재생 장치의 구조를 나타낸 도면1 is a diagram showing the structure of an apparatus for recording / reproducing a digital broadcast signal according to the present invention.

도 2 는 일반적인 단일 프로그램 저장용 PID 필터의 레지스터를 나타낸 도면2 is a diagram showing a register of a PID filter for storing a general single program.

도 3 은 본 발명에 따른 복수 프로그램 저장용 PID 필터의 레지스터를 나타낸 도면3 is a diagram showing a register of a PID filter for storing multiple programs according to the present invention.

도 4 는 일반적인 단일 프로그램 저장용 디스크 읽기/쓰기 버퍼를 나타낸 도면4 illustrates a general single program disk read / write buffer.

도 5 는 본 발명에 따른 복수 프로그램 저장용 디스크 읽기/쓰기 버퍼를 나타낸 도면5 is a diagram illustrating a disk read / write buffer for storing multiple programs according to the present invention.

도 6 은 본 발명에 따른 복수 프로그램 녹화시 하드디스크상의 패킷 배열 순서를 나타낸 도면6 is a diagram illustrating a packet arrangement sequence on a hard disk when recording multiple programs according to the present invention.

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

10 : 채널 입력부 20 : PID 필터10: channel input 20: PID filter

30 : 시스템 복호화기 40 : 저장/재생 제어기30: system decoder 40: storage / playback controller

50 : 채널 출력부 60 : 디스크 읽기/쓰기 버퍼50: channel output unit 60: disk read / write buffer

70 : HDD70: HDD

상기와 같은 목적을 달성하기 위한 본 발명에 따른 디지털 방송 신호의 녹화/재생 장치의 특징은 패킷 형태로 입력되는 방송용 스트림 중 PID 필터링을 통해 저장될 입력 패킷을 프로그램별 버퍼 인덱스로 분류하는 PID 필터와, 상기 PID 필터에서 분류된 프로그램별 수만큼 읽기 및 쓰기 버퍼의 영역으로 나누어 PID 필터링을 통해 전송되는 복수 프로그램을 저장하는 저장부와, 상기 PID 필터에서 분류된 프로그램별 버퍼 인덱스를 이용하여 상기 저장부에 저장되는 복수 프로그램의 각 주소를 생성하는 저장/재생 제어기와, 상기 PID 필터를 통해 입력되는 복수 프로그램 또는 상기 저장부에 저장된 복수 프로그램 중 재생될 프로그램을 입력받아 복호화하여 출력하는 시스템 복호화기를 포함하여 구성되는데 있다.Features of the recording / reproducing apparatus of the digital broadcast signal according to the present invention for achieving the above object is a PID filter for classifying the input packet to be stored through the PID filtering of the broadcast stream input in the form of a packet to the buffer index for each program; A storage unit storing a plurality of programs transmitted through PID filtering by dividing the read and write buffers by the number of programs classified by the PID filter, and using the program-specific buffer indexes classified by the PID filter. A storage / playback controller for generating respective addresses of a plurality of programs stored in the system; and a system decoder for receiving and decoding a plurality of programs input through the PID filter or a program to be played back among a plurality of programs stored in the storage unit. It is composed.

이때, 상기 저장/재생 제어기에서 생성되는 각 주소의 상위 비트는 상기 버퍼 인덱스로 결정하고, 하위 비트는 단위 버퍼의 크기로 결정하는데 다른 특징이 있다.In this case, the upper bit of each address generated by the storage / playback controller is determined by the buffer index, and the lower bit is determined by the size of the unit buffer.

이때, 상기 저장부는 각 입력 패킷을 복호화할 것인지 여부를 나타내는 디코딩 플래그 필드, 저장 여부를 결정하는 리코딩 플래그 필드, PID별로 버퍼를 지정하는 디코딩 버퍼 인덱스 필드, 그리고 상기 PID별로 지정된 버퍼 내에 프로그램별로 분류하는 리코딩 버퍼 인덱스 필드로 구성되는데 또 다른 특징이 있다.In this case, the storage unit classifies each program into a decoding flag field indicating whether to decode each input packet, a recording flag field determining whether to store the storage, a decoding buffer index field specifying a buffer for each PID, and a buffer designated for each PID. It is composed of a recording buffer index field and has another feature.

또한, 상기 저장부는 상기 입력 방송 스트림을 프로그램별로 데이터 블록 단위로 모아서 저장하는데 또 다른 특징이 있다.In addition, the storage unit collects the input broadcast stream in units of data blocks for each program and stores the collected data.

본 발명의 다른 목적, 특성 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments taken in conjunction with the accompanying drawings.

본 발명에 따른 디지털 방송 신호의 녹화/재생 장치의 바람직한 실시예에 대하여 첨부한 도면을 참조하여 설명하면 다음과 같다.A preferred embodiment of a device for recording / reproducing digital broadcast signals according to the present invention will be described below with reference to the accompanying drawings.

도 1 은 본 발명에 따른 디지털 방송 신호의 녹화/재생 장치를 나타낸 도면이다.1 is a diagram showing an apparatus for recording / reproducing a digital broadcast signal according to the present invention.

도 1을 보면, 패킷 형태로 입력되는 방송용 스트림 중 PID 필터링을 통해 저장될 입력 패킷을 프로그램별 버퍼 인덱스로 분류하는 PID 필터(20)와, 상기 PID 필터(20)에서 분류된 프로그램별 수만큼 읽기 및 쓰기 버퍼의 영역으로 나누어 PID 필터링을 통해 전송되는 복수 프로그램을 저장하는 디스크 읽기/쓰기 버퍼부(60)와, 상기 PID 필터(20)에서 분류된 프로그램별 버퍼 인덱스를 이용하여 상기 디스크 읽기/쓰기 버퍼부(60)에 저장되는 복수 프로그램의 각 주소를 생성하는 저장/재생 제어기(40)와, 상기 PID 필터(20)를 통해 입력되는 복수 프로그램 또는 상기 디스크 읽기/쓰기 버퍼부(60)에 임시 저장된 복수 프로그램 중 재생될 프로그램을 입력받아 복호화하여 출력하는 시스템 복호화기(30)로 구성된다.Referring to FIG. 1, a PID filter 20 for classifying input packets to be stored through PID filtering among broadcast streams input in the form of packets into buffer indexes for each program, and reading as many as the number of programs classified by the PID filter 20 is provided. And a disk read / write buffer unit 60 for dividing into a write buffer area and storing a plurality of programs transmitted through PID filtering, and the disk read / write using a buffer index for each program classified by the PID filter 20. A storage / reproducing controller 40 which generates respective addresses of a plurality of programs stored in the buffer unit 60, and a plurality of programs or the disk read / write buffer unit 60 inputted through the PID filter 20. It is composed of a system decoder 30 that receives a program to be reproduced from a plurality of stored programs to decode and output.

그리고 데이터 스트림이 입력되도록 채널을 형성하는 채널 입력부(10)와, 데이터 스트림이 출력되도록 채널을 형성하는 채널 출력부(50)와, 상기 디스크 읽기/쓰기 버퍼부(60)에 임시 저장된 복수 프로그램을 저장하는 하드디스크(HDD)(70)를 더 포함하여 구성된다.And a channel input unit 10 for forming a channel for inputting the data stream, a channel output unit 50 for forming a channel for outputting the data stream, and a plurality of programs temporarily stored in the disk read / write buffer unit 60. It further comprises a hard disk (HDD) 70 for storing.

여기서 PID 필터(20)는 방송용 스트림이 패킷 형태로 전송되어 올 때 각 패킷의 헤더에 있는 패킷 ID(PID)를 이용하여 사용자가 선택한 스트림에 속하는 패킷만을 골라내는 역할을 한다. 또한, 입력 스트림을 저장하는 PVR에서도 역시 PID 필터(20)를 이용하여 저장할 패킷만을 골라내는 과정을 거친다.Here, the PID filter 20 selects only packets belonging to the stream selected by the user by using the packet ID (PID) in the header of each packet when the broadcast stream is transmitted in the form of a packet. In addition, the PVR storing the input stream is also subjected to the process of selecting only packets to be stored using the PID filter 20.

PVR의 경우에는 이렇게 추출한 패킷들을 하드디스크(HDD)(70)로 전송하기 전 디스크 읽기/쓰기 버퍼(60)에 임시 저장을 한다.In the case of the PVR, the extracted packets are temporarily stored in the disk read / write buffer 60 before being transmitted to the hard disk (HDD) 70.

그리고 PVR에서 녹화된 프로그램을 재생하는 경우에는 HDD(70)에서 읽기/쓰기 버퍼(60)로 선택한 프로그램에 속하는 패킷만을 읽어 들인 후 다시 시스템 복호화기(30)로 보내서 처리한다.In the case of playing back a program recorded in the PVR, only packets belonging to the program selected by the read / write buffer 60 in the HDD 70 are read, and then sent to the system decoder 30 for processing.

복수 채널을 처리할 수 있게 하려면 이러한 PID 필터의 구조를 개선해야 한다.In order to be able to handle multiple channels, the structure of these PID filters needs to be improved.

도 2에 보인 구조와 같이 단일 채널의 경우 PID 필터는 각 입력 패킷을 복호화할 것인지 여부를 나타내는 디코딩 플래그를 가진다.In the case of a single channel, as shown in FIG. 2, the PID filter has a decoding flag indicating whether to decode each input packet.

또한, PVR을 지원하는 경우에는 저장 여부를 결정하는 리코딩 플래그도 가진다.In addition, when supporting the PVR has a recording flag for determining whether to save.

이와 같이 단일 프로그램을 처리하는 시스템에서는 도 2에 보인 예와 같이 입력 프로그램 중 하나에 대해서만 활성화되지만, 복수 프로그램을 처리하는 시스템의 경우에는 도 3의 예와 같이 활성화되는 프로그램의 수에 제한이 없다.In the system processing a single program as described above, only one of the input programs is activated as in the example shown in FIG. 2, but in the case of a system processing a plurality of programs, the number of programs activated as in the example of FIG. 3 is not limited.

그리고 디코딩 시에는 비디오, 오디오, 프로그램 정보 등이 실려오는 패킷을 분류하여 처리해야 하기 때문에 처리하는 프로그램의 수에 관계없이 PID별로 버퍼를 분리하여야 하므로, 도 2에 보인 바와 같이 디코딩 버퍼 인덱스를 갖는다.In decoding, since a packet carrying video, audio, and program information must be classified and processed, the buffer must be separated for each PID regardless of the number of programs to be processed. As shown in FIG.

또한, 저장의 경우에는 비디오와 오디오 패킷만 구분 없이 저장하기 때문에 단일 프로그램만 처리할 경우에는 별도로 버퍼를 구분할 필요가 없어서 리코딩 버퍼 인덱스를 정의하지 않는다.In addition, since only video and audio packets are stored in the storage, the recording buffer index is not defined when a single program is processed.

그러나 복수 프로그램 녹화시에는 현재 저장하는 패킷을 프로그램별로 분류하여 디스크 읽기/쓰기 버퍼(60)에 저장해야 하기 때문에 도 3에 보인 바와 같이 저장할 프로그램의 PID마다 버퍼 영역을 지정하는 리코딩 버퍼 인덱스 필드를 할당한다.However, when recording multiple programs, it is necessary to classify the currently stored packet by program and store it in the disk read / write buffer 60. As shown in FIG. 3, a recording buffer index field is assigned to designate a buffer area for each PID of a program to be stored. do.

단, 단일 프로그램 저장시와 마찬가지로 비디오 오디오 패킷만 구분 없이 저장하므로 PID가 달라도 같은 프로그램에 해당하는 패킷은 모두 같은 버퍼 인덱스를 갖는다.However, as in the case of storing a single program, only video and audio packets are stored without distinction, so even if the PIDs are different, all packets corresponding to the same program have the same buffer index.

녹화와 동시에 실시간으로 복호화하는 경우에는 이 필드를 복호화기의 버퍼를 지정하는 디코딩 버퍼 인덱스와는 독립적으로 저장 및 재생 제어기(40)에서 디코딩 버퍼 할당에 사용하게 된다.When decoding in real time at the same time as recording, this field is used by the storage and reproducing controller 40 to allocate the decoding buffer independently of the decoding buffer index that designates the buffer of the decoder.

디스크 읽기 및 쓰기 버퍼(60)도 이에 따라 버퍼 할당을 세분화해야 한다.Disk read and write buffers 60 must also refine the buffer allocation accordingly.

도 4에서 보는 바와 같이 단일 프로그램 저장용 장치에서는 메모리를 같은 크기와 같은 수(L)의 읽기 버퍼와 쓰기 버퍼(60)로 나누면 된다.As shown in FIG. 4, in a single program storage device, the memory may be divided into the same size and the same number (L) of read buffers and write buffers 60.

여기서 이중 버퍼링을 위해 버퍼의 최소 개수는 읽기 버퍼 및 쓰기 버퍼 각각 2개로 한다.Here, the minimum number of buffers for double buffering is two read buffers and two write buffers.

그러나 복수 프로그램을 저장할 수 있는 장치에서는 도 5와 같이 읽기 및 쓰기 버퍼(60)의 각 영역을 저장할 프로그램의 수만큼 다시 나누어 쓴다.However, in a device capable of storing a plurality of programs, as shown in FIG. 5, each area of the read and write buffer 60 is divided and rewritten as many as the number of programs to be stored.

도 5에는 M개의 녹화 프로그램 각각에 대해 L개의 디스크 쓰기 버퍼를 할당하고, N개의 재생 프로그램 각각에 대해 L개의 디스크 읽기 버퍼를 할당한 예이다.In FIG. 5, L disk write buffers are allocated to each of the M recorded programs, and L disk read buffers are allocated to each of the N playback programs.

이때 디스크 읽기 및 쓰기 버퍼 하나의 크기는 한번에 HDD(70)로 전송하는 데이터의 크기로 결정하되 편의상형태로 결정한다.At this time, the size of one disk read and write buffer is determined by the size of data to be transferred to the HDD 70 at a time, but for convenience Decide on the form.

저장 및 재생 제어기(40)에서는 PID 필터 레지스터에서 지정하는 버퍼 인덱스를 이용해서 쓰기 또는 읽기 버퍼의 주소를 생성한다.The storage and reproduction controller 40 generates the address of the write or read buffer by using the buffer index specified in the PID filter register.

이때, 상기 버퍼 인덱스는 버퍼 주소의 상위 비트를 결정하고 하위 비트의 수는 단위 버퍼의 크기에 따라 결정된다.In this case, the buffer index determines the upper bits of the buffer address and the number of lower bits is determined according to the size of the unit buffer.

예를 들어 4개의 프로그램을 녹화하기 위해서는 리코딩 버퍼 인덱스가 2비트 필요하고, 각 버퍼 크기를 64KB(Byte)라고 가정하면 버퍼의 주소를 나타내는 레지스터의 크기는 18비트가 된다.For example, to record four programs, a 2-bit recording buffer index is required, and each buffer size is 64KB ( Bytes), the size of the register representing the address of the buffer is 18 bits.

따라서, 버퍼 인덱스가 2라면 주소는 20000h~2FFFFh까지 갖게 된다.Therefore, if the buffer index is 2, the address will be from 20000h to 2FFFFh.

실제 복수 프로그램의 녹화시에는 가상 채널을 통해 들어오는 프로그램이 각 구성 패킷 단위로 시분할하여 해당 버퍼에 저장된다.In actual recording of multiple programs, programs coming through the virtual channel are time-divided into each component packet and stored in the corresponding buffer.

그리고 다수 패킷으로 구성되는 버퍼가 가득차면 그 버퍼의 데이터는 한번에 HDD(70)로 전송한다.When the buffer composed of multiple packets is full, the data of the buffer is transmitted to the HDD 70 at one time.

이들 데이터 블록은 HDD(70)에 순차적으로 저장된다.These data blocks are stored in the HDD 70 sequentially.

서로 다른 프로그램에 해당하는 버퍼가 연속적으로 저장될 때에도 역시 HDD(70)에 순차적으로 저장된다.When buffers corresponding to different programs are stored in succession, they are also sequentially stored in the HDD 70.

이 결과 도 6에 보인 것과 같은 데이터 배열이 얻어진다.As a result, a data array as shown in FIG. 6 is obtained.

도 6을 참조하여 설명하면, 하나의 프로그램에 속하는 비디오 및 오디오 패킷들은 방송 순서에 따라 배열되고 몇 개의 패킷이 하나의 데이터 블록을 구성하게 된다.Referring to FIG. 6, video and audio packets belonging to one program are arranged in a broadcast order, and several packets constitute one data block.

프로그램 0에 해당하는 데이터 블록은 리코딩 버퍼 0에 대기하고 있다가 HDD(70)로 전송되고 프로그램 1에 해당하는 데이터 블록은 리코딩 버퍼 1에 대기하고 있다가 HDD(70)로 전송된다. 그리고 이러한 과정이 교대로 수행된다.The data block corresponding to program 0 waits in recording buffer 0 and is transmitted to HDD 70, and the data block corresponding to program 1 waits in recording buffer 1 and is transmitted to HDD 70. And this process is carried out alternately.

만일, 사용자가 녹화 도중 프로그램 1의 녹화를 중단시키면 그 이후부터는 프로그램 0에 해당하는 데이터 블록만 버퍼 0을 통해 전송되고, 그 결과 HDD(70)에는 프로그램 0만 연속적으로 녹화된다.If the user stops recording the program 1 during the recording, only the data block corresponding to the program 0 is transmitted through the buffer 0 thereafter, and as a result, only the program 0 is continuously recorded in the HDD 70.

각 프로그램별로 저장영역을 분리하여 수행할 경우, 데이터 구조가 단순해 지고 단일 프로그램 재생시 효율이 좋을 수도 있으나, 저장할 때 패킷 단위로HDD(70)의 헤드 위치가 이동되어야 하고, 또 복수 프로그램의 재생시에는 어차피 HDD(70)의 다른 영역을 번갈아 접근하는 방식이 되기 때문에 부하를 크게 하여 결과적으로 큰 이점이 없게 된다.When the storage area is separated and executed for each program, the data structure may be simplified and the efficiency may be improved when a single program is reproduced. However, when storing, the head position of the HDD 70 should be moved in units of packets. Since there is a way of alternately approaching other areas of the HDD 70 anyway, the load is increased and as a result, there is no great advantage.

오히려 저장시 패킷 단위로 HDD(70)의 헤드가 이동해야 하므로 선택한 프로그램들이 정상적으로 녹화되는 것을 보장하기 어렵게 된다.Rather, it is difficult to ensure that the selected programs are normally recorded because the head of the HDD 70 must be moved in packet units during storage.

반대로 프로그램 구분이 전혀 없이 입력 패킷 순서대로 저장하면, 재생시에 패킷 단위로 스킵을 하면서 데이터를 읽어와야 하기 때문에 HDD(70)의 읽기 성능이 크기 떨어지게 된다.On the contrary, if the data is stored in the order of input packets without any program classification, the read performance of the HDD 70 is reduced because data must be read while skipping in packet units during reproduction.

일반적으로 패킷의 크기가 200바이트 미만인 반면 HDD(70)의 데이터 전송시 효율적인 단위는 64KB~256KB 정도인 것으로 알려져 있다.In general, while the packet size is less than 200 bytes, it is known that an efficient unit for transferring data of the HDD 70 is 64 KB to 256 KB.

특히, 복수 프로그램을 동시에 재생할 경우에는 HDD(70) 내에 흩어져 있는 패킷들을 일일이 검색하여 읽어야 하기 때문에 성능 저하는 더 심해진다.In particular, when playing a plurality of programs at the same time, the performance is worsened because packets scattered in the HDD 70 must be searched and read one by one.

HDD(70)의 성능상 동시 녹화/재생할 수 있는 프로그램의 수에 제한이 있다면, 녹화시의 제한을 완화하는 방향으로 구현하는 것이 바람직하다.If there is a limit on the number of programs that can be simultaneously recorded / reproduced due to the performance of the HDD 70, it is preferable to implement in a direction to alleviate the restriction at the time of recording.

일반적으로 PVR의 목적은 방송중인 프로그램의 시청시간을 자유롭게 조정하기 위한 것이므로, 녹화된 프로그램을 동시에 여러 개 시청할 수 있는 기능보다는 동시에 방송되고 있는 프로그램을 최대한 자유롭게 선택하여 녹화 가능하도록 하는 것이 적절하다.In general, the purpose of the PVR is to freely adjust the viewing time of the program being broadcast. Therefore, it is appropriate to freely select and record the program being broadcast simultaneously as much as possible rather than the function of simultaneously viewing a plurality of recorded programs.

따라서, 입력 방송 스트림을 프로그램별로 데이터 블록 단위로 모아서 저장함으로써, Hdd(70)로 한번에 전송하는 단위를 효율적으로 정하면서 프로그램별 저장 위치의 변화를 데이터 블록 크기 정도로 제한하여 전송 효율의 저하를 억제하는 효과를 갖게 된다.Therefore, by collecting and storing the input broadcast stream in units of data blocks for each program, it is possible to efficiently determine a unit for transmission at one time to the Hdd 70 while limiting the change in the storage location for each program to the size of the data block to suppress the decrease in transmission efficiency. Will have an effect.

재생시에는 선택한 프로그램에 해당하는 데이터 블록을 HDD(70)에서 검색하여 순차적으로 읽어낸다.At the time of reproduction, the data block corresponding to the selected program is retrieved from the HDD 70 and sequentially read.

이때 사이사이에 발생하는 다른 프로그램의 데이터 블록은 스킵한다.At this time, data blocks of other programs that occur between them are skipped.

이는 HDD(70)의 읽기 성능에 큰 영향을 미치지 않는다.This does not significantly affect the read performance of the HDD 70.

문제는 읽기와 쓰기가 동시에 발생하는 경우이다.The problem is that reads and writes occur at the same time.

단일 프로그램의 경우에도 녹화와 재생이 동시에 발생하는 경우에는 HDD(70)의 성능저하가 나타나게 된다.Even in the case of a single program, when recording and playback occur at the same time, the performance degradation of the HDD 70 appears.

특히, 읽기 지점과 쓰기 지점의 위치가 멀수록 그 영향이 커지게 된다.In particular, the farther the position of the read point and the write point is, the greater the influence.

위와 같은 방법에 따라 복수 프로그램을 녹화한 경우에는 프로그램별로 구분된 데이터 블록 단위로 읽고 쓰는 과정에서 마찬가지의 성능 저하가 발생할 수 있다.In the case of recording a plurality of programs according to the above method, the same performance degradation may occur in the process of reading and writing the data blocks by programs.

단, 그 영향은 단위 프로그램에서 읽고 쓸 때 데이터 블록 단위로 HDD(70) 헤드의 이동이 발생하는 양상과 크게 다르지 않다.However, the influence is not significantly different from the aspect in which the movement of the HDD 70 head occurs in units of data blocks when reading and writing in the unit program.

따라서 HDD(70)에 가해지는 전체적인 부하는 비슷한 수준으로 유지되며, 단일 프로그램의 동시 녹화/재생 기능이 제공되는 시스템에서 복수 프로그램 녹화/재생 기능을 구현하는데 큰 문제가 없음을 알 수 있다.Therefore, the overall load applied to the HDD 70 is maintained at a similar level, and it can be seen that there is no big problem in implementing a multi-program recording / playback function in a system in which simultaneous recording / playback function of a single program is provided.

이상에서 설명한 바와 같은 본 발명에 따른 디지털 방송 신호의 녹화/재생 장치는 다음과 같은 효과가 있다.As described above, the apparatus for recording / reproducing a digital broadcast signal according to the present invention has the following effects.

첫째, 단일 프로그램을 녹화할 수 있는 시스템에서 HDD등 구성요소의 성능을 크게 향상시키지 않아도 복수 프로그램을 저장할 수 있는 효과가 있다.First, in a system capable of recording a single program, there is an effect that can store multiple programs without significantly improving the performance of components such as HDD.

둘째, 복수 프로그램의 녹화를 위해 디스크 쓰기 버퍼를 효율적으로 운용할 수 있는 효과가 있다.Second, the disk write buffer can be efficiently operated for recording of multiple programs.

셋째, 단일 프로그램의 경우에 비해 HDD의 부하를 크게 높이지 않으면서 녹화된 복수 프로그램을 재생할 수 있는 효과가 있다.Third, compared to the case of a single program, it is possible to play back a plurality of recorded programs without significantly increasing the load on the HDD.

넷째, HDD의 성능이 허용하는 한계 내에서 녹화 채널의 개수를 자유롭게 확장할 수 있는 효과가 있다.Fourth, the number of recording channels can be freely extended within the limits allowed by the performance of the HDD.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 이탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.

따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다.Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.

Claims (4)

패킷 형태로 입력되는 방송용 스트림 중 PID 필터링을 통해 저장될 입력 패킷을 프로그램별 버퍼 인덱스로 분류하는 PID 필터와,PID filter for classifying input packets to be stored through PID filtering among broadcasting streams input in packet form as buffer index for each program; 상기 PID 필터에서 분류된 프로그램별 수만큼 읽기 및 쓰기 버퍼의 영역으로 나누어 PID 필터링을 통해 전송되는 복수 프로그램을 저장하는 저장부와,A storage unit which stores a plurality of programs transmitted through PID filtering by dividing the read and write buffers by the number of programs classified by the PID filter; 상기 PID 필터에서 분류된 프로그램별 버퍼 인덱스를 이용하여 상기 저장부에 저장되는 복수 프로그램의 각 주소를 생성하는 저장/재생 제어기와,A storage / playback controller for generating respective addresses of a plurality of programs stored in the storage unit by using the buffer index for each program classified by the PID filter; 상기 PID 필터를 통해 입력되는 복수 프로그램 또는 상기 저장부에 저장된 복수 프로그램 중 재생될 프로그램을 입력받아 복호화하여 출력하는 시스템 복호화기를 포함하여 구성되는 것을 특징으로 하는 디지털 방송 신호의 녹화/재생 장치.And a system decoder configured to receive, decode, and output a program to be reproduced from among a plurality of programs input through the PID filter or a plurality of programs stored in the storage unit. 제 1 항에 있어서,The method of claim 1, 상기 저장/재생 제어기에서 생성되는 각 주소의 상위 비트는 상기 버퍼 인덱스로 결정하고, 하위 비트는 단위 버퍼의 크기로 결정하는 것을 특징으로 하는 디지털 방송 신호의 녹화/재생 장치.The upper bit of each address generated by the storage / playback controller is determined by the buffer index, and the lower bit is determined by the size of the unit buffer. 제 1 항에 있어서, 상기 저장부는The method of claim 1, wherein the storage unit 각 입력 패킷을 복호화할 것인지 여부를 나타내는 디코딩 플래그 필드, 저장 여부를 결정하는 리코딩 플래그 필드, PID별로 버퍼를 지정하는 디코딩 버퍼 인덱스 필드, 그리고 상기 PID별로 지정된 버퍼 내에 프로그램별로 분류하는 리코딩 버퍼 인덱스 필드로 구성되는 것을 특징으로 하는 디지털 방송 신호의 녹화/재생 장치.A decoding flag field indicating whether or not to decode each input packet, a recording flag field determining whether to store each input packet, a decoding buffer index field for designating a buffer for each PID, and a recording buffer index field for classifying the program in a buffer designated for each PID. And a digital broadcast signal recording / reproducing apparatus. 제 3 항에 있어서, 상기 저장부는The method of claim 3, wherein the storage unit 상기 입력 방송 스트림을 프로그램별로 데이터 블록 단위로 모아서 저장하는 것을 특징으로 하는 디지털 방송 신호의 녹화/재생 장치.And recording and storing the input broadcast stream in data block units for each program.
KR10-2002-0003928A 2002-01-23 2002-01-23 apparatus for recording/playing of digital broadcast signal KR100469266B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0003928A KR100469266B1 (en) 2002-01-23 2002-01-23 apparatus for recording/playing of digital broadcast signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0003928A KR100469266B1 (en) 2002-01-23 2002-01-23 apparatus for recording/playing of digital broadcast signal

Publications (2)

Publication Number Publication Date
KR20030063679A KR20030063679A (en) 2003-07-31
KR100469266B1 true KR100469266B1 (en) 2005-02-02

Family

ID=32219039

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0003928A KR100469266B1 (en) 2002-01-23 2002-01-23 apparatus for recording/playing of digital broadcast signal

Country Status (1)

Country Link
KR (1) KR100469266B1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683674A (en) * 1992-09-04 1994-03-25 Victor Co Of Japan Ltd Multichannel information file reproducer
JPH11110915A (en) * 1997-09-30 1999-04-23 Sony Corp Signal recording and reproducing device and method
JPH11265263A (en) * 1997-10-31 1999-09-28 Sony Corp Data processor
KR20010011951A (en) * 1999-07-31 2001-02-15 구자홍 Apparatus of Storing/Reproducing Data Stream Received at Digital Broadcasting Receiver and Method Thereof
JP2001057024A (en) * 1999-08-17 2001-02-27 Sony Corp Recorded and method and recording medium
KR20010028634A (en) * 1999-09-22 2001-04-06 구자홍 Apparatus For Storing Plural Chanel Program Synchronously
KR20010045778A (en) * 1999-11-08 2001-06-05 구자홍 Recording/reproducting apparatus and method at the digital television signal
KR20030052047A (en) * 2001-12-20 2003-06-26 주식회사 휴맥스 File System for a Data Storage Medium and Method for storing data the Storage Medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683674A (en) * 1992-09-04 1994-03-25 Victor Co Of Japan Ltd Multichannel information file reproducer
JPH11110915A (en) * 1997-09-30 1999-04-23 Sony Corp Signal recording and reproducing device and method
JPH11265263A (en) * 1997-10-31 1999-09-28 Sony Corp Data processor
KR20010011951A (en) * 1999-07-31 2001-02-15 구자홍 Apparatus of Storing/Reproducing Data Stream Received at Digital Broadcasting Receiver and Method Thereof
JP2001057024A (en) * 1999-08-17 2001-02-27 Sony Corp Recorded and method and recording medium
KR20010028634A (en) * 1999-09-22 2001-04-06 구자홍 Apparatus For Storing Plural Chanel Program Synchronously
KR20010045778A (en) * 1999-11-08 2001-06-05 구자홍 Recording/reproducting apparatus and method at the digital television signal
KR20030052047A (en) * 2001-12-20 2003-06-26 주식회사 휴맥스 File System for a Data Storage Medium and Method for storing data the Storage Medium

Also Published As

Publication number Publication date
KR20030063679A (en) 2003-07-31

Similar Documents

Publication Publication Date Title
CA2660725C (en) Method and apparatus for receiving, storing, and presenting multimedia programming without indexing prior to storage
KR100598285B1 (en) Apparatus and method for recording a multichannel stream and, medium thereof
EP1887575B1 (en) Digital video recorder having hierarchical memories and method for implementing hierarchical memories
RU2324986C2 (en) Flow set reading
KR100469266B1 (en) apparatus for recording/playing of digital broadcast signal
CN100447883C (en) Treating play back bit stream
JP4847672B2 (en) Method and apparatus for recording multimedia digital data
EP1311120A2 (en) Method for implementing low-speed playback of a digital broadcast program
JP2001145061A (en) Recorder and encoder
KR100610680B1 (en) Apparatus for recording ? editing of digital broadcasting data and method of the same
JP2002344892A (en) Device for recording and reproducing digital data stream
KR100912308B1 (en) Simultaneous regeneration method of recording stream of TV broadcasting
KR20060113718A (en) Method and circuit for retrieving data
KR100323677B1 (en) method for writing/reading the same time of digital video
KR100705180B1 (en) Apparatus and Method for Transport Stream Recording Control in Discmedia
JP2001148832A (en) Recording and reproducing device
JP2004207787A (en) Audio/video data storage reproducing apparatus, transmission band control apparatus, and transmission band control method
JP2004072440A (en) Method, system, and device for recording digital signal, recording medium, method, system, and device for reproducing digital signal, and computer software
JP2001067798A (en) Data recording and reproducing device
JP2004112104A (en) Method and apparatus for recording encoded bit stream
JP2000244859A (en) Video server device
JP2002142196A (en) Apparatus and method for recording and reproducing

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
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: 20091230

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee