KR101741487B1 - Apparatus and method for time shift buffering function in digital broadcast system - Google Patents

Apparatus and method for time shift buffering function in digital broadcast system Download PDF

Info

Publication number
KR101741487B1
KR101741487B1 KR1020100130471A KR20100130471A KR101741487B1 KR 101741487 B1 KR101741487 B1 KR 101741487B1 KR 1020100130471 A KR1020100130471 A KR 1020100130471A KR 20100130471 A KR20100130471 A KR 20100130471A KR 101741487 B1 KR101741487 B1 KR 101741487B1
Authority
KR
South Korea
Prior art keywords
segment file
file
recording
segment
time shift
Prior art date
Application number
KR1020100130471A
Other languages
Korean (ko)
Other versions
KR20120069082A (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 KR1020100130471A priority Critical patent/KR101741487B1/en
Publication of KR20120069082A publication Critical patent/KR20120069082A/en
Application granted granted Critical
Publication of KR101741487B1 publication Critical patent/KR101741487B1/en

Links

Images

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/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/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/93Regeneration of the television signal or of selected parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

본 발명은 디지털 방송 시스템에서 타임 쉬프트 버퍼 관리에 관한 것으로, 방송 수신 장치는, 방송 스트림 데이터를 수신하는 수신부와, 플랫(flat) 형태의 타임 쉬프트 버퍼를 할당하고, 상기 방송 스트림 데이터를 상기 타임 쉬프트 버퍼에 저장하는 제어부를 포함한다.The present invention relates to time shift buffer management in a digital broadcasting system, and a broadcast receiving apparatus includes: a receiver for receiving broadcast stream data; a flat time shift buffer; And stores it in a buffer.

Description

디지털 방송 시스템에서 타임 쉬프트 버퍼링 기능을 제공하기 위한 장치 및 방법{APPARATUS AND METHOD FOR TIME SHIFT BUFFERING FUNCTION IN DIGITAL BROADCAST SYSTEM}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to an apparatus and a method for providing a time shift buffering function in a digital broadcasting system,

본 발명은 디지털 방송 시스템에 관한 것으로, 특히, 디지털 방송 시스템에서 타임 쉬프트 버퍼링(time shift buffering) 기능을 제공하기 위한 장치 및 방법에 관한 것이다.The present invention relates to a digital broadcasting system, and more particularly, to an apparatus and method for providing a time shift buffering function in a digital broadcasting system.

오늘날 대부분의 셋탑 박스(Set-Top box) 및 일부 TV(Television)을 통해 제공되는 타임 쉬프트 버퍼링(time shift buffering)은 본래의 방송 시간에 제공되는 방송 스트리밍 데이터를 버퍼링해둠으로써 사용자가 원하는 시간에 방송을 다시 시청할 수 있게 하는 기능으로서, 상기 타임 쉬프트 버퍼링 기능은 사용자에게 많은 편의를 제공하고 있다.The time shift buffering provided through most set-top boxes and some TVs today buffers the broadcast streaming data provided in the original broadcast time, As a function to enable the user to view the broadcast again, the time shift buffering function provides a lot of convenience to the user.

도 1은 종래 기술에 따른 디지털 방송 시스템에서 타임 쉬프트 버퍼의 구조를 도시하고 있다. 상기 도 1에 도시된 바와 같이, 타임 쉬프트 버퍼(110)는 전체 메모리 공간에서 일부 영역에 할당되며, 순환 버퍼(circular buffer)의 구조를 가진다. 따라서, 시간이 경과함에 따라 이전에 저장된 스트리밍 데이터는 새로운 스트리밍 데이터를 덮어 쓰기(overwrite)함으로써 소실된다. 이에 따라, 사용자가 타임 쉬프트 버퍼에 저장되고 있는 방송 스트리밍 데이터를 방송이 끝난 뒤 다시 보기 위해 레코딩(Recording)을 시도하는 경우, 사용자가 원하는 방송 스트리밍 데이터가 소실되어 있는 상황이 발생할 수 있다. 상기 덮어 쓰기에 의한 이전 방송 정보의 소실을 방지하기 위해, 시스템은 상기 타임 쉬프트 버퍼(110)에 저장된 정보를 실제 물리적인 파일로 복사하는 절차를 수행한다. 하지만, 이러한 절차에서 다음과 같은 문제점들이 발생한다.FIG. 1 shows a structure of a time shift buffer in a digital broadcasting system according to the related art. As shown in FIG. 1, the time shift buffer 110 is allocated to a partial area in an entire memory space, and has a structure of a circular buffer. Thus, as time elapses, the previously stored streaming data is lost by overwriting the new streaming data. Accordingly, when the user tries to record the broadcast streaming data stored in the time shift buffer after watching the broadcast, the broadcast streaming data desired by the user may be lost. In order to prevent loss of previous broadcast information by overwriting, the system performs a procedure of copying the information stored in the time shift buffer 110 to an actual physical file. However, the following problems arise in this procedure.

첫째, 타임 쉬프트 버퍼에 저장되고 있는 방송 정보를 레코딩 동작에 의해 물리적인 파일로 복사하는 경우, 해당 데이터가 덮어 쓰기(overwrite)되어 사라지기 전에 파일로 저장하기 위해 많은 CPU(Centural Processing Unit) 자원(resource)이 상기 복사 동작에 할당된다. 이에 따라, 셋탑 박스의 기본 기능이라 할 수 있는 레코딩(Recording), 빨리감기(Fast Forward), 되감기(Rewind) 등의 기능들이 원활하게 진행되지 않게 된다. First, when the broadcast information stored in the time shift buffer is copied to a physical file by a recording operation, a lot of CPU (Century Processing Unit) resources resource is allocated to the copy operation. Accordingly, functions such as recording, fast forward, and rewind, which are basic functions of the set-top box, do not proceed smoothly.

둘째, 타임 쉬프트 버퍼로부터 파일로의 복사 동작은 시청 중인 방송이 끝나기 전에 완료될 수 있어야한다. 하지만, 방송이 끝나는 시점까지도 파일로의 복사가 완료되지 아니하여, 추후 시청자가 해당 방송을 보고자 할 때 완전한 방송 프로그램을 보여 줄 수 없는 경우가 발생한다. Second, the copy operation from the time shift buffer to the file must be completed before the end of the broadcast being viewed. However, copying to a file is not completed until the end of the broadcast, and the viewer may not be able to show the complete broadcast program when the viewer wants to view the broadcast later.

셋째, 타임 쉬프트 버퍼에서 파일로 복사하는 레코딩 동작이 진행 중인 상태의 방송 프로그램을 시청자가 시청하고자 하는 경우, 상기 타임 쉬프트 버퍼에 전체 분량의 방송 데이터가 저장되어 있더라도 상기 파일로 복사된 부분까지만 시청이 가능하다. 따라서, 사용자가 빨리감기 기능으로 이미 시청한 부분을 건너 뛰고자 하여도, 시스템은 사용자의 요청을 수행할 수 없다.Thirdly, when a viewer wants to view a broadcast program in a state where a recording operation for copying from a time shift buffer to a file is in progress, even if a full amount of broadcast data is stored in the time shift buffer, It is possible. Therefore, even if the user tries to skip the portion that has already been viewed with the fast forward function, the system can not perform the user's request.

넷째, 파일로의 복사 동작이 진행 중에 홈 네트워크(Home-Network) 기능을 지원하는 셋탑 박스에서 저장된 컨텐츠를 시청하고자 하는 경우, 상기 복사 동작으로 인해 원활한 스트리밍 서비스를 제공할 수 없다.Fourth, in the case of trying to view contents stored in a set-top box supporting a Home-Network function during a copy operation to a file, it is impossible to provide a smooth streaming service due to the copy operation.

상술한 바와 같이, 타임 쉬프트 버퍼링 기능을 제공함에 있어서 많은 문제점이 발생한다. 따라서, 상기 타임 쉬프트 버퍼링 기능의 편의성을 유지하며 상술한 문제점들을 해결하기 위한 대안이 제시되어야 한다.As described above, many problems arise in providing the time shift buffering function. Therefore, an alternative for solving the above problems must be presented while maintaining the convenience of the time shift buffering function.

따라서, 본 발명의 목적은 디지털 방송 시스템에서 타임 쉬프터 버퍼링 기능으로 인한 다른 기능들의 성능 저하를 방지하기 위한 장치 및 방법을 제공함에 있다.Accordingly, it is an object of the present invention to provide an apparatus and method for preventing performance degradation of other functions due to a time shifter buffering function in a digital broadcasting system.

본 발명의 다른 목적은 디지털 방송 시스템에서 타임 쉬프터 버퍼에 저장된 스트리밍 데이터를 레코딩 파일로 변환할 때 발생할 수 있는 CPU 부하를 감소시키기 위한 장치 및 방법을 제공함에 있다.It is another object of the present invention to provide an apparatus and method for reducing a CPU load that may occur when converting streaming data stored in a time shifter buffer into a recording file in a digital broadcasting system.

본 발명의 또 다른 목적은 디지털 방송 시스템에서 홈 네트워크를 지원하는 셋탑 박스를 통한 스트리밍 서비스 요청 시 화면 끊김 없이 원활한 스트리밍 서비스를 보장하기 위한 장치 및 방법을 제공함에 있다.It is another object of the present invention to provide an apparatus and method for ensuring a smooth streaming service without a screen interruption when a streaming service is requested through a set-top box supporting a home network in a digital broadcasting system.

상기 목적을 달성하기 위한 본 발명의 제1견지에 따르면, 디지털 방송 시스템에서 방송 수신 장치는, 방송 스트림 데이터를 수신하는 수신부와, 플랫(flat) 형태의 타임 쉬프트 버퍼를 할당하고, 상기 방송 스트림 데이터를 상기 타임 쉬프트 버퍼에 저장하는 제어부를 포함하는 것을 특징으로 한다.According to a first aspect of the present invention, there is provided a broadcast receiving apparatus in a digital broadcasting system, including: a receiver for receiving broadcast stream data; a flat time shift buffer; In the time shift buffer.

상기 목적을 달성하기 위한 본 발명의 제2견지에 따르면, 디지털 방송 시스템에서 방송 수신 방법은, 플랫(flat) 형태의 타임 쉬프트 버퍼를 할당하는 과정과, 방송 스트림 데이터를 수신하는 과정과, 상기 방송 스트림 데이터를 상기 타임 쉬프트 버퍼에 저장하는 과정을 포함하는 것을 특징으로 한다.According to a second aspect of the present invention, there is provided a broadcast receiving method in a digital broadcasting system, including: allocating a time shift buffer in a flat form; receiving broadcast stream data; And storing the stream data in the time shift buffer.

디지털 방송 시스템에서 플랫(flat) 형태의 타임 쉬프트 버퍼를 사용하고, 방송 스트림 데이터를 세그먼트 파일들로 분할하여 관리함으로써, 데이터의 복사(copy) 동작 없이 세그먼트 파일의 맵핑(mapping) 동작만으로 방송 프로그램 레코딩을 완료할 수 있다. 이에 따라, 복사 연산을 위해 사용되던 불필요한 CPU 자원 낭비가 감소함으로써, 사용자에게 원활한 방송 스트리밍 서비스를 제공할 수 있다.A digital broadcast system uses a flat time shift buffer and divides and manages broadcast stream data into segment files so that the broadcast program recording is performed only by the mapping operation of the segment file without copying data, Can be completed. Accordingly, unnecessary waste of CPU resources used for copying operation is reduced, so that a smooth broadcast streaming service can be provided to a user.

도 1은 종래 기술에 따른 디지털 방송 시스템에서 타임 쉬프트 버퍼의 구조를 도시하는 도면,
도 2는 본 발명에 따른 디지털 방송 시스템에서 타임 쉬프트 버퍼의 구조를 도시하는 도면,
도 3은 본 발명의 실시 예에 따른 디지털 방송 시스템에서 타임 쉬프트 버퍼의 관리 방식을 도시하는 도면,
도 4는 본 발명의 실시 예에 따른 디지털 방송 시스템에서 방송 수신 장치의 블록 구성을 도시하는 도면,
도 5는 본 발명의 실시 예에 따른 디지털 방송 시스템에서 방송 수신 장치의 동작 절차를 도시하는 도면.
1 illustrates a structure of a time shift buffer in a digital broadcasting system according to the related art,
2 is a diagram illustrating a structure of a time shift buffer in a digital broadcasting system according to the present invention;
3 is a diagram illustrating a method of managing a time shift buffer in a digital broadcasting system according to an embodiment of the present invention.
4 is a block diagram of a broadcast receiving apparatus in a digital broadcasting system according to an embodiment of the present invention.
5 is a flowchart illustrating an operation procedure of a broadcast receiving apparatus in a digital broadcasting system according to an embodiment of the present invention.

이하 본 발명의 바람직한 실시 예를 첨부된 도면의 참조와 함께 상세히 설명한다. 그리고, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우, 그 상세한 설명은 생략한다.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

본 발명의 실시 예에 따른 디지털 방송 시스템에서, 방송 스트림을 수신하여 TV에 출력하는 셋탑 시스템에서 사용자의 입력에 의하여 특정 채널로의 전환이 발생하는 경우, 방송 수신 장치는 해당 채널의 주파수로 락킹(locking)을 시도하여 방송 스트림을 수신하게 된다. 이후, 상기 방송 수신 장치는 수신된 부호화된 방송 스트림으로부터 사용자가 원하는 오디오/비디오 데이터를 복호화(decoding)한 후 해당 데이터를 재생하여 사용자에게 라이브(live)로 제공한다. 이와 동시에, 타입 쉬프트 버퍼링 기능을 위해, 상기 방송 수신 장치는 타임 쉬프트 버퍼에 방송 스트림 데이터를 저장한다. 이때, 상기 타임 쉬프트 버퍼는 순환(circular) 형식이 아닌 플랫(Flat)한 형태의 버퍼로서, 상기 수신단은 시간이 지남에 따라 이전 데이터를 덮어 쓰기하지 아니한다.
In a digital broadcast system according to an exemplary embodiment of the present invention, in a set-top system that receives a broadcast stream and outputs the broadcast stream to a TV, when a user switches to a specific channel, locking is attempted to receive the broadcast stream. Then, the broadcasting receiver decodes the audio / video data desired by the user from the received encoded broadcast stream, and then reproduces the corresponding audio / video data and provides the reproduced live data to the user. At the same time, for the type shift buffering function, the broadcast receiving apparatus stores broadcast stream data in a time shift buffer. At this time, the time shift buffer is not a circular format but a flat type buffer, and the receiver does not overwrite previous data over time.

도 2는 본 발명에 따른 디지털 방송 시스템에서 타임 쉬프트 버퍼의 구조를 도시하고 있다.2 illustrates a structure of a time shift buffer in the digital broadcasting system according to the present invention.

상기 도 2를 참고하면, 상기 타임 쉬프트 버퍼(220)는 순환 형태가 아닌 플랫(flat) 형태를 가지며, 다수의 세그먼트(segement) 파일들로 방송 스트림 데이터를 저장한다. 그리고, 상기 타임 쉬프트 버퍼(220)에 대한 접근 정보를 포함하는 엔트리(entry) 정보(210)가 존재한다. Referring to FIG. 2, the time shift buffer 220 has a flat shape instead of a circular format, and stores broadcast stream data in a plurality of segment files. There is entry information 210 including access information for the time shift buffer 220.

각 세그먼트 파일은 미리 정의된 최대 크기 이하로 저장된다. 예를 들어, 상기 최대 크기는 방송 스트림의 재생 시간 또는 용량 기준으로 정의될 수 있다. 예를 들어, 상기 세그먼트 파일의 최대 크기는 2GB 또는 10분 분량으로 정의될 수 있다. 방송 스트림 데이터를 포함하는 세그먼트 파일들은 상기 엔트리 정보(210)를 통해 관리된다. 즉, 방송 수신 장치는 각 세그먼트 파일 별 정보 및 전체 타임 쉬프트 버퍼에 대한 정보를 포함하는 상기 엔트리 정보(210) 생성한다. 예를 들어, 각 세그먼트 파일에 대한 엔트리 정보(210)는 세그먼트 파일 크기 정보, 오프셋 정보, 세그먼트 식별 정보, 세그먼트 파일 상태 정보 등을 포함할 수 있다. 예를 들어, 상기 상태 정보는 사용되지 아니함을 나타내는 '유휴 상태', 임시 저장 중임을 나타내는 '버퍼링 중', 레코딩 중이므로 삭제되어서는 아니됨을 나타내는 '레코딩 중', 레코딩 완료되었음을 나타내는 '레코딩 완료', 삭제되었음을 나타내는 '삭제' 중 하나를 나타내는 값으로 설정될 수 있다. 예를 들어, 상기 엔트리 정보(210)는 하기 <표 1>과 같은 구조를 가질 수 있다.Each segment file is stored below a predefined maximum size. For example, the maximum size may be defined based on the playback time or capacity of the broadcast stream. For example, the maximum size of the segment file may be defined as 2 GB or 10 minutes. The segment files including the broadcast stream data are managed through the entry information 210. That is, the broadcast receiving apparatus generates the entry information 210 including information on each segment file and information on the entire time shift buffer. For example, the entry information 210 for each segment file may include segment file size information, offset information, segment identification information, segment file status information, and the like. For example, the status information may be 'idle' indicating that the status information is not used, 'buffering' indicating that temporary storage is being performed, 'recording in progress' indicating that recording is in progress, 'recording completed' Quot ;, and &quot; delete &quot; indicating deletion. For example, the entry information 210 may have a structure as shown in Table 1 below.

구성Configuration 설명Explanation union bpvrfifo_entries {union bpvrfifo_entries { struct {  struct { struct bpvrfifo_entry entrys[N];    struct bpvrfifo_entry entry [N]; N개의 세그먼트 별 엔트리 정보
최대 N개 세그먼트 파일까지 저장 가능함을 의미
N segment entry information
Meaning that up to N segment files can be stored
char f_root[32];    char f_root [32]; 세그먼트 파일들의 루트 경로(root path) 정보About the root path of segment files char f_ext[8];    char f_ext [8]; 파일의 확장자 정보 (.nav, .inf, .env, or NULL)File extension information (.nav, .inf, .env, or NULL) unsigned uIdx;    unsigned uIdx; 현재 기록(Writing) 중인 엔트리 인덱스(entry index) 정보Information on the entry index currently being written off_t size;    off_t size; 타임 쉬프트 버퍼의 전체 크기
(=전체 세그먼트 파일 크기 합)
The total size of the time shift buffer
(= Sum of total segment file size)
}  } }}

상기 <표 1>의 세그먼트 별 엔트리 정보는 하기 <표 2>와 같은 구조를 가질 수 있다.The entry information for each segment in Table 1 may have a structure as shown in Table 2 below.

구성Configuration 설명Explanation struct bpvrfifo_entry {struct bpvrfifo_entry { off_t size;  off_t size; 세그먼트 파일 크기Segment file size off_t trim_size;  off_t trim_size; 타임 쉬프트 버퍼의 진행에 따라 버퍼의 경계(bound) 관리를 위한 값, 즉, 버퍼의 경계를 지시하는 값A value for managing the bound of the buffer according to the progress of the time shift buffer, that is, a value indicating the boundary of the buffer off_t voff;  off_t voff; 타임 쉬프트 버퍼에서 레코딩이 시작된 후 증가하는 가상의 오프셋(virtual byte offset) 값Incremental virtual byte offset value after recording starts in the time shift buffer unsigned f_id;  unsigned f_id; 세그먼트 파일 식별 정보Segment file identification information ePvrfifoRecord eState;  ePvrfifoRecord eState; 세그먼트 파일 상태 정보
(IDLE, DELETED, RECORDING, BUFFERED, RECORDED)
Segment file status information
(IDLE, DELETED, RECORDING, BUFFERED, RECORDED)
}}

도 3은 본 발명의 실시 예에 따른 디지털 방송 시스템에서 타임 쉬프트 버퍼의 관리 방식을 도시하고 있다.FIG. 3 illustrates a time shift buffer management method in a digital broadcasting system according to an embodiment of the present invention.

상기 도 3의 (a)와 같이, 타임 쉬프트 버퍼(310)는 8개의 세그먼트 파일들이 생성됨으로써 포화되었다. 이후, 새로운 세그먼트 파일(320-9)이 기록되기 시작하면, 상기 도 3의 (b)와 같이 상기 새로이 저장되는 세그먼트 파일(320-9)의 저장량에 따라 가장 오래된 세그먼트 파일(320-1)에서 상기 타임 쉬프트 버퍼(310)의 시작을 나타내는 오프셋(offset)(330)이 증가한다. 상기 새로운 세그먼트 파일(320-9)의 저장이 완료되고, 이에 따라 상기 오프셋(330)이 점차 증가하여 상기 가장 오래된 세그먼트 파일(320-1)의 범위를 벗어나면, 상기 가장 오래된 세그먼트 파일(320-1)은 삭제된다. 예를 들어, 상기 타임 쉬프트 버퍼(310)의 최대 크기가 1시간 분량의 방송 데이터를 저장할 수 있도록 정의된 경우, 1시간 이전에 생성된 세그먼트 파일은 삭제되고, 새로운 최대 크기의 세그먼트 파일로서 새로운 방송 스트리밍 데이터가 저장된다. 상술한 방식에 따라, 상기 방송 수신 장치는 하나의 방송 프로그램에 의해 생성되는 다수의 세그먼트 파일들을 하나의 엔트리로서 관리한다.As shown in FIG. 3 (a), the time shift buffer 310 is saturated by generating eight segment files. When the new segment file 320-9 starts to be recorded, the oldest segment file 320-1 is stored in the oldest segment file 320-1 according to the storage amount of the newly stored segment file 320-9 as shown in FIG. An offset 330 indicating the start of the time shift buffer 310 is increased. When the storage of the new segment file 320-9 is completed and the offset 330 gradually increases to deviate from the oldest segment file 320-1, the oldest segment file 320- 1) is deleted. For example, if the maximum size of the time shift buffer 310 is defined to store one hour of broadcast data, the segment file created before one hour is deleted, and a new broadcast file Streaming data is stored. According to the above-described method, the broadcast receiving apparatus manages a plurality of segment files generated by one broadcast program as one entry.

사용자에 의해 방송의 레코딩, 즉, 상기 타임 쉬프트 버퍼(310)에서 일반 파일로의 레코딩 이벤트가 발생하는 경우, 상기 방송 수신 장치는 종래 기술의 순환 버퍼와 같이 이전 스트리밍 테이터의 삭제를 고려하여 상기 타임 쉬프트 버퍼(310)에 저장된 데이터를 복사(copy)할 필요 없이, 해당 방송 프로그램에 속한 세그먼트 파일들의 엔트리 정보를 레코딩 파일과 맵핑(mapping)시킨다. 예를 들어, 상기 방송 수신 장치는 상기 엔트리 정보를 상기 레코딩 파일에 복사한다. 이 경우, 상기 타임 쉬프트 버퍼(310)가 포화되더라도 레코딩 중인 방송 프로그램에 속한 세그먼트 파일은 삭제되지 아니한다. 그리고, 상기 레코딩이 종료되면, 상기 방송 수신 장치는 레코딩 대상 방송 프로그램에 속한 세그먼트 파일들을 유지하고, 저장 공간 내 다른 위치에 상기 타임 쉬프트 버퍼(310)를 새로이 할당한다.
When a recording of a broadcast by a user, that is, a recording event to a general file is generated in the time shift buffer 310, the broadcast receiving apparatus, like the circulation buffer of the related art, Maps the entry information of the segment files belonging to the broadcast program to the recording file without copying the data stored in the shift buffer 310. [ For example, the broadcast receiving apparatus copies the entry information to the recording file. In this case, even if the time shift buffer 310 is saturated, the segment file belonging to the broadcast program being recorded is not deleted. When the recording ends, the broadcast receiving apparatus retains the segment files belonging to the recording target broadcast program and newly allocates the time shift buffer 310 to another position in the storage space.

도 4는 본 발명의 실시 예에 따른 디지털 방송 시스템에서 방송 수신 장치의 블록 구성을 도시하고 있다.4 shows a block diagram of a broadcast receiving apparatus in a digital broadcasting system according to an embodiment of the present invention.

상기 도 4에 도시된 바와 같이, 상기 방송 수신 장치는 수신부(410), AV(Audio/Video)데이터복호부(420), 저장부(430), 미디어스트리밍전송부(440), 제어부(450)를 포함하여 구성된다.4, the broadcast receiving apparatus includes a receiver 410, an AV (audio / video) data decoder 420, a storage 430, a media streaming transmitter 440, a controller 450, .

상기 수신부(410)는 통신을 위한 인터페이스를 포함하며, 선택된 채널의 주파수로 락킹(locking)함으로써 유선 채널 또는 무선 채널을 통해 방송 스트림 데이터 신호를 수신한다. 다. 상기 AV데이터복호부(420)는 상기 수신부(410)를 통해 수신된 방송 스트림 데이터를 오디오/비디오 데이터로 복호한다. 상기 저장부(430)는 상기 제어부(450)의 제어에 따라 타임 쉬프트 버퍼를 할당할 저장 공간을 제공하고, 상기 타임 쉬프트 버퍼에 상기 수신부(410)를 통해 수신된 방송 스트림 데이터를 저장한다. The receiver 410 includes an interface for communication and receives a broadcast stream data signal through a wired channel or a wireless channel by locking the selected channel with a frequency of the selected channel. All. The AV data decoding unit 420 decodes the broadcast stream data received through the receiving unit 410 into audio / video data. The storage unit 430 provides a storage space for allocating a time shift buffer under the control of the controller 450 and stores the broadcast stream data received through the receiver 410 in the time shift buffer.

상기 미디어스트리밍전송부(440)는 홈네트워크 기능을 지원하기 위한 블록으로서, 클라이언트(client) 장치로 방송 스트림을 전송하는 인터페이스를 제공한다. 따라서, 상기 방송 수신 장치가 홈네트워크 기능을 지원하지 아니하는 기기인 경우, 상기 미디어스트리밍전송부(440)는 포함되지 아니할 수 있다.The media streaming transmission unit 440 is a block for supporting a home network function and provides an interface for transmitting a broadcast stream to a client apparatus. Accordingly, when the broadcast receiving apparatus does not support the home network function, the media streaming transmitting unit 440 may not be included.

상기 제어부(450)는 상기 방송 수신 장치의 전반적인 기능을 제어한다. 예를 들어, 상기 제어부(450)는 방송 데이터의 재생, 녹화, 다시 보기 등의 기능을 제어한다. 구체적으로 설명하면, 상기 제어부(450) 내의 재생처리부(452)는 상기 AV데이터복호부(420)에 의해 복호된 오디오/비디오 데이터를 출력 장치와 연결된 출력 단자(미도시)를 통해 라이브로 상기 출력 장치에 제공한다. The controller 450 controls the overall function of the broadcasting receiver. For example, the control unit 450 controls functions of playing, recording, and viewing broadcasting data. More specifically, the reproduction processing unit 452 in the control unit 450 outputs the audio / video data decoded by the AV data decoding unit 420 to the output (not shown) through an output terminal Device.

또한, 상기 제어부(450) 내의 버퍼관리부(454)는 상기 저장부(430) 내에 플랫(flat) 형태, 다시 말해, 연속한 파일 데이터 형태의 타임 쉬프트 버퍼를 할당하고, 상기 수신부(410)로부터 제공되는 방송 스트리밍 데이터를 세그먼트 파일 단위로 상기 타임 쉬프트 버퍼에 저장한다. 그리고, 상기 제어부(450)는 상기 타임 쉬프트 버퍼에 접근하기 위한 정보를 포함하는 엔트리 정보를 생성한다. 예를 들어, 상기 엔트리 정보는 세그먼트 식별 정보, 세그먼트 파일 크기 정보, 오프셋 정보, 세그먼트 파일 상태 정보 등을 포함할 수 있다. 예를 들어, 상기 엔트리 정보는 상기 <표 1> 및 상기 <표 2>와 같이 구성될 수 있다.The buffer management unit 454 in the control unit 450 allocates a time shift buffer in a flat form, that is, a continuous file data type, to the storage unit 430, And stores the broadcast streaming data in the time shift buffer on a segment file unit basis. The controller 450 generates entry information including information for accessing the time shift buffer. For example, the entry information may include segment identification information, segment file size information, offset information, segment file status information, and the like. For example, the entry information may be configured as shown in Table 1 and Table 2, respectively.

상기 타임 쉬프트 버퍼의 저장 공간이 모두 사용된 후, 다시 말해 상기 타임 쉬프트 버퍼가 포화된 후, 새로운 세그먼트 파일이 기록되기 시작하면, 상기 버퍼관리부(454)는 가장 오래된 세그먼트 파일의 오프셋 값을 증가시키고, 상기 오프셋 값이 상기 가장 오래된 세그먼트 파일의 범위를 벗어나면, 상기 가장 오래된 세그먼트 파일을 삭제한다.After all the storage space of the time shift buffer is used, that is, after the time shift buffer is saturated, when a new segment file is started to be written, the buffer management unit 454 increases the offset value of the oldest segment file If the offset value is out of the range of the oldest segment file, the oldest segment file is deleted.

상기 사용자의 조작에 의해 레코딩 명령이 발생하면, 상기 제어부(450) 내의 레코딩처리부(456)는 레코딩 파일 및 세그먼트 파일의 엔트리 정보를 맵핑한다. 즉, 상기 레코딩처리부(456)는 실제 방송 스트림 데이터를 포함하는 세그먼트 파일들의 현 상태를 유지하고, 상기 레코딩 파일에 레코딩 대상 방송 프로그램에 속한 세그먼트 파일들에 접근하기 위해 필요한 정보만을 기록한다. 예를 들어, 상기 레코딩처리부(456)는 상기 세그먼트 파일들의 식별 정보를 상기 레코딩 파일에 저장한다. 상기 레코딩이 진행 중인 동안, 상기 오프셋 값이 해당 세그먼트 파일의 범위를 벗어나더라도, 상기 버퍼관리부(454)는 상기 대상 방송 프로그램에 속한 세그먼트 파일들을 삭제하지 아니한다. 그리고, 레코딩이 종료되면, 상기 버퍼관리부(454)는 상기 레코딩 대상 방송 프로그램에 속한 세그먼트 파일들을 유지하고, 상기 저장부(430) 내의 다른 위치에 상기 타임 쉬프트 버퍼를 새로이 할당한다.
When a recording command is generated by the user's operation, the recording processor 456 in the controller 450 maps the entry information of the recording file and the segment file. That is, the recording processor 456 maintains the current status of the segment files including the actual broadcast stream data, and records only the information necessary for accessing the segment files belonging to the recording target broadcast program in the recording file. For example, the recording processor 456 stores the identification information of the segment files in the recording file. While the recording is in progress, the buffer management unit 454 does not delete the segment files belonging to the target broadcast program, even if the offset value is out of the range of the segment file. When the recording is completed, the buffer management unit 454 holds the segment files belonging to the recording object program, and newly allocates the time shift buffer to another position in the storage unit 430. [

도 5는 본 발명의 실시 예에 따른 디지털 방송 시스템에서 방송 수신 장치의 동작 절차를 도시하고 있다.FIG. 5 illustrates an operation procedure of a broadcast receiving apparatus in a digital broadcasting system according to an embodiment of the present invention.

상기 도 5를 참고하면, 상기 방송 수신 장치는 501단계에서 플랫(flat) 형태, 다시 말해, 연속한 파일 데이터 형태의 타임 쉬프트 버퍼를 할당하고, 엔트리 정보를 생성한다. 여기서, 상기 타임 쉬프트 버퍼는 미리 정의된 최대 크기를 가지는 세그먼트 단위로 분할되어 관리된다. 예를 들어, 상기 최대 크기는 2GB 또는 10분 분량으로 정의될 수 있다. 그리고, 상기 엔트리 정보는 상기 타임 쉬프트 버퍼에 접근하기 위한 정보를 포함한다. 예를 들어, 상기 엔트리 정보는 세그먼트 식별 정보, 세그먼트 파일 크기 정보, 오프셋 정보, 세그먼트 파일 상태 정보 등을 포함할 수 있다. 예를 들어, 상기 엔트리 정보는 상기 <표 1> 및 상기 <표 2>와 같이 구성될 수 있다.5, in step 501, the broadcast receiving apparatus allocates a time shift buffer in a flat form, that is, a continuous file data type, and generates entry information. Here, the time shift buffer is divided and managed in units of segments having a predetermined maximum size. For example, the maximum size may be defined as 2 GB or 10 minutes. The entry information includes information for accessing the time shift buffer. For example, the entry information may include segment identification information, segment file size information, offset information, segment file status information, and the like. For example, the entry information may be configured as shown in Table 1 and Table 2, respectively.

이후, 상기 방송 수신 장치는 503단계로 진행하여 수신되는 방송 스트림 데이터를 상기 타임 쉬프트 버퍼에 저장한다. 이때, 상기 방송 수신 장치는 상기 방송 스트림 데이터를 미리 정의된 최대 크기를 가지는 세그먼트 파일 단위로 저장한다. 예를 들어, 상기 최대 크기는 2GB일 수 있다.In step 503, the broadcast receiving apparatus stores the received broadcast stream data in the time shift buffer. At this time, the broadcast receiving apparatus stores the broadcast stream data in a segment file unit having a predetermined maximum size. For example, the maximum size may be 2 GB.

이어, 상기 방송 수신 장치는 505단계로 진행하여 상기 타임 쉬프트 버퍼의 전체 용량을 초과하는 세그먼트 파일이 생성되었는지 판단한다. 즉, 상기 타임 쉬프트 버퍼가 N개의 세그먼트들을 포함하는 경우, 상기 방송 수신 장치는 N+1개의 세그먼트 파일이 생성되었는지 판단한다. 즉, 상기 타임 쉬프트 버퍼의 저장 공간이 모두 사용된 후 새로운 세그먼트 파일이 기록되기 시작하면, 상기 방송 수신 장치는 상기 엔트리 정보에서 가장 오래된 세그먼트 파일의 오프셋 값을 증가시키고, 상기 오프셋 값이 상기 가장 오래된 세그먼트 파일의 범위를 벗어나면, 전체 용량을 초과하는 세그먼트 파일이 생성되었음을 판단한다.In step 505, the broadcast receiving apparatus determines whether a segment file exceeding the total capacity of the time shift buffer has been generated. That is, if the time shift buffer includes N segments, the broadcast receiving apparatus determines whether N + 1 segment files have been generated. That is, when a new segment file is started to be recorded after all the storage space of the time shift buffer is used, the broadcast receiving apparatus increases the offset value of the oldest segment file in the entry information, If it is out of the range of the segment file, it is judged that a segment file exceeding the total capacity is generated.

만일, 상기 전체 용량을 초과하는 세그먼트 파일이 생성되었으면, 상기 방송 수신 장치는 507단계로 진행하여 가장 오래된 세그먼트 파일을 삭제한다. 즉, 상기 방송 수신 장치는 상기 가장 오래된 세그먼트 파일을 삭제함으로써 상기 타임 쉬프트 버퍼의 전체 용량을 유지한다. 이후, 상기 방송 수신 장치는 상기 503단계로 되돌아간다.If a segment file exceeding the total capacity is generated, the broadcast receiving apparatus proceeds to step 507 to delete the oldest segment file. That is, the broadcast receiving apparatus retains the entire capacity of the time shift buffer by deleting the oldest segment file. Thereafter, the broadcast receiving apparatus returns to step 503.

반면, 상기 전체 용량을 초과하는 세그먼트 파일이 생성되지 아니하였으면, 상기 방송 수신 장치는 509단계로 진행하여 레코딩 명령이 발생하는지 판단한다. 상기 레코딩 명령은 사용자의 조작에 의해 발생한다.On the other hand, if the segment file exceeding the total capacity is not generated, the broadcast receiving apparatus proceeds to step 509 and determines whether a recording command is generated. The recording command is generated by a user's operation.

상기 레코딩 명령이 발생하면, 상기 방송 수신 장치는 511단계로 진행하여 레코딩 파일 및 해당 세그먼트 파일들의 엔트리 정보를 맵핑한다. 즉, 상기 방송 수신 장치는 상기 타임 쉬프트 버퍼에 저장된 방송 스트림 데이터를 상기 레코딩 파일에 복사하지 아니하고, 상기 레코딩 파일에 레코딩 대상 방송 프로그램에 속한 세그먼트 파일들에 접근하기 위해 필요한 정보인 엔트리 정보만을 기록한다. 예를 들어, 상기 방송 수신 장치는 상기 세그먼트 파일들의 식별 정보를 상기 레코딩 파일에 저장한다. 이때, 상기 방송 수신 장치는 상기 엔트리 정보에서 상기 대상 방송 프로그램에 속한 세그먼트 파일들의 상태 정보를 '레코딩 중'을 나타내는 값으로 설정한다. 단, 본 발명의 다른 실시 예에 따라, 상기 레코딩 파일 및 엔트리 정보의 맵핑은 레코딩의 종료 후 수행될 수 있다.When the recording command is generated, the broadcast receiving apparatus proceeds to step 511 and maps entry information of the recording file and corresponding segment files. That is, the broadcast receiving apparatus does not copy the broadcast stream data stored in the time shift buffer into the recording file, but records only the entry information, which is information necessary for accessing the segment files belonging to the recording target broadcast program, in the recording file . For example, the broadcast receiving apparatus stores the identification information of the segment files in the recording file. At this time, the broadcast receiving apparatus sets the status information of the segment files belonging to the target broadcast program to a value indicating 'during recording' in the entry information. However, according to another embodiment of the present invention, the mapping of the recording file and the entry information may be performed after the end of recording.

이어, 상기 방송 수신 장치는 513단계로 진행하여 상기 타임 쉬프트 버퍼의 전체 용량을 초과하는 세그먼트 파일이 생성되었는지 판단한다. 즉, 상기 타임 쉬프트 버퍼의 저장 공간이 모두 사용된 후 새로운 세그먼트 파일이 기록되기 시작하면, 상기 방송 수신 장치는 상기 엔트리 정보에서 가장 오래된 세그먼트 파일의 오프셋 값을 증가시키고, 상기 오프셋 값이 상기 가장 오래된 세그먼트 파일의 범위를 벗어나면, 전체 용량을 초과하는 세그먼트 파일이 생성되었음을 판단한다.In step 513, the broadcast receiving apparatus determines whether a segment file exceeding the total capacity of the time shift buffer has been generated. That is, when a new segment file is started to be recorded after all the storage space of the time shift buffer is used, the broadcast receiving apparatus increases the offset value of the oldest segment file in the entry information, If it is out of the range of the segment file, it is judged that a segment file exceeding the total capacity is generated.

만일, 상기 전체 용량을 초과하는 세그먼트 파일이 생성되었으면, 상기 방송 수신 장치는 517단계로 진행하여 가장 오래된 세그먼트 파일이 레코딩 중인 방송 프로그램에 속하는지 판단한다. 즉, 상기 방송 수신 장치는 상기 엔트리 정보에서 가장 오래된 세그먼트 파일의 상태 정보가 '레코딩 중'을 나타내는 값으로 설정되어 있는지 확인한다. If a segment file exceeding the total capacity is generated, the broadcast receiving apparatus proceeds to step 517 and determines whether the oldest segment file belongs to the broadcast program being recorded. That is, the broadcast receiving apparatus determines whether the state information of the oldest segment file in the entry information is set to a value indicating 'during recording'.

만일, 상기 가장 오래된 세그먼트 파일이 레코딩 중인 방송 프로그램에 속하지 아니하면, 상기 방송 수신 장치는 519단계로 진행하여 상기 가장 오래된 세그먼트 파일을 삭제한다. 즉, 상기 가장 오래된 세그먼트 파일이 레코딩 중이 아니라면, 상기 가장 오래된 세그먼트 파일은 유지될 필요가 없으므로, 상기 방송 수신 장치는 상기 가장 오래된 세그먼트 파일을 삭제한다. 그리고, 상기 방송 수신 장치는 이하 521단계로 진행한다.If the oldest segment file does not belong to the broadcast program being recorded, the broadcast receiver deletes the oldest segment file in step 519. [ That is, if the oldest segment file is not being recorded, the oldest segment file does not need to be maintained, so the broadcast receiver deletes the oldest segment file. Then, the broadcast receiving apparatus proceeds to step 521. FIG.

반면, 상기 가장 오래된 세그먼트 파일이 레코딩 중인 방송 프로그램에 속하면, 상기 방송 수신 장치는 상기 가장 오래된 세그먼트 파일을 삭제하지 아니하고, 521단계로 진행하여 레코딩이 종료되었는지 판단한다. 즉, 레코딩 중인 파일은 사용자의 레코딩 파일 삭제 명령이 발생하기 전까지 유지되어야 하므로, 상기 방송 수신 장치는 상기 가장 오래된 세그먼트 파일을 삭제하지 아니한다. 그리고, 상기 방송 수신 장치는 레코딩이 종료되는지 판단한다. 여기서, 상기 레코딩의 종료는 레코딩 대상 방송 프로그램의 방송 스트림 데이터가 상기 타임 쉬프트 버퍼에 모두 저장되는 것을 의미한다.On the other hand, if the oldest segment file belongs to the broadcast program being recorded, the broadcast receiving apparatus does not delete the oldest segment file, and proceeds to step 521 to determine whether recording has ended. That is, since the file being recorded must be retained until the user deletes the recording file, the broadcast receiving apparatus does not delete the oldest segment file. Then, the broadcast receiving apparatus determines whether or not the recording is ended. Here, the termination of the recording means that the broadcast stream data of the recording target broadcast program is all stored in the time shift buffer.

상기 레코딩이 종료되면, 상기 방송 수신 장치는 523단계로 진행하여 상기 레코딩 대상 방송 프로그램에 속한 세그먼트 파일들을 유지하고, 저장 공간 내 다른 위치에 타임 쉬프트 버퍼를 새로이 할당한다. 이때, 상기 방송 수신 장치는 상기 엔트리 정보에서 상기 레코딩 종료된 세그먼트 파일들의 상태 정보를 '레코딩 완료'를 나타내는 값으로 설정한다. 즉, 상기 레코딩 대상 방송 프로그램에 속한 세그먼트 파일들은 레코딩 파일에 의해 읽혀질 수 있어야하므로 삭제되지 아니하며, 상기 방송 수신 장치는 상기 타임 쉬프트 버퍼를 위한 저장 공간을 새로이 지정한다. 이후, 상기 방송 수신 장치는 상기 503단계로 되돌아간다.
When the recording is completed, the broadcast receiving apparatus proceeds to step 523 to hold segment files belonging to the recording object broadcast program, and newly allocates a time shift buffer to another location in the storage space. At this time, the broadcast receiving apparatus sets the status information of the segment files that have finished recording in the entry information to a value indicating 'recording completed'. That is, the segment files belonging to the recording object broadcast program are not deleted because they can be read by the recording file, and the broadcasting receiver newly designates a storage space for the time shift buffer. Thereafter, the broadcast receiving apparatus returns to step 503.

한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니 되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments, but is capable of various modifications within the scope of the invention. Therefore, the scope of the present invention should not be limited by the illustrated embodiments, but should be determined by the scope of the appended claims and equivalents thereof.

Claims (18)

디지털 방송 시스템에서 방송 수신 장치에 있어서,
방송 프로그램에 대한 스트림 데이터를 수신하는 수신부와,
연속한 파일 데이터 형태의 타임 쉬프트 버퍼를 할당하고,
미리 정의된 크기의 세그먼트 파일들로 상기 스트림 데이터를 상기 타임 쉬프트 버퍼에 저장하고,
상기 방송 프로그램의 레코딩 명령을 감지하는 것에 기반하여, 상기 세그먼트 파일들 중 세그먼트 파일에 대한 엔트리 정보를 레코딩 파일에 맵핑하도록 구성되는 제어부를 포함하고,
상기 엔트리 정보는 상기 세그먼트 파일의 레코딩 동작 여부를 나타내기 위한 정보를 포함하는 장치.
A broadcast receiving apparatus in a digital broadcasting system,
A receiver for receiving stream data for a broadcast program;
A time shift buffer of continuous file data type is allocated,
Storing the stream data in the time shift buffer with segment files of a predefined size,
And a control unit configured to map entry information for a segment file among the segment files to a recording file based on sensing a recording command of the broadcast program,
Wherein the entry information includes information for indicating whether or not recording of the segment file is performed.
제1항에 있어서,
상기 제어부는, 상기 타임 쉬프트 버퍼에 접근하기 위해 필요한 정보를 포함하는 상기 엔트리 정보를 생성하는 장치.
The method according to claim 1,
Wherein the control unit generates the entry information including information necessary for accessing the time shift buffer.
제2항에 있어서,
상기 엔트리 정보는, 상기 세그먼트 파일을 식별하기 위한 정보, 상기 세그먼트 파일의 크기 정보, 상기 세그먼트 파일의 오프셋 정보, 상기 세그먼트 파일의 상태 정보 중 적어도 하나를 포함하는 장치.
3. The method of claim 2,
Wherein the entry information includes at least one of information for identifying the segment file, size information of the segment file, offset information of the segment file, and status information of the segment file.
제3항에 있어서, 상기 세그먼트 파일의 상태 정보는, 상기 세그먼트 파일이 사용되지 아니함을 나타내는 값, 상기 세그먼트 파일이 임시 저장 중(buffering)임을 나타내는 값, 상기 세그먼트 파일이 상기 레코딩 동작 중임을 나타내는 값, 상기 세그먼트 파일이 상기 레코딩이 완료되었음을 나타내는 값, 및 상기 세그먼트 파일이 삭제되었음을 나타내는 값 중 하나로 설정되는 장치.
4. The method of claim 3, wherein the status information of the segment file includes at least one of a value indicating that the segment file is not used, a value indicating that the segment file is temporarily stored (buffering), a value indicating that the segment file is in the recording operation The segment file is set to one of a value indicating that the recording has been completed and a value indicating that the segment file has been deleted.
제1항에 있어서,
상기 제어부는, 상기 타임 쉬프트 버퍼의 전체 용량을 초과하는 세그먼트 파일이 생성되었음을 결정하면, 가장 오래된 세그먼트 파일이 상기 레코딩 동작 중인지 여부를 판단하고,
상기 가장 오래된 세그먼트 파일이 레코딩 동작 중이 아닌 경우, 상기 가장 오래된 세그먼트 파일을 삭제하고,
상기 가장 오래된 세그먼트 파일이 레코딩 동작 중인 경우, 상기 가장 오래된 세그먼트 파일을 삭제하지 않고 유지하는 장치.
The method according to claim 1,
The control unit determines whether the oldest segment file is in the recording operation when it is determined that a segment file exceeding the total capacity of the time shift buffer has been generated,
If the oldest segment file is not in the recording operation, deletes the oldest segment file,
And if the oldest segment file is in the recording operation, retains the oldest segment file without deleting.
제5항에 있어서,
상기 제어부는, 상기 타임 쉬프트 버퍼가 포화된 후, 새로운 세그먼트 파일이 기록되기 시작하면, 상기 새로운 세그먼트 파일의 저장량에 따라 상기 가장 오래된 세그먼트 파일의 오프셋 값을 증가시키고, 상기 오프셋 값이 상기 가장 오래된 세그먼트 파일의 범위를 벗어나면, 상기 가장 오래된 세그먼트 파일이 생성되었음을 결정하는 장치.


6. The method of claim 5,
The control unit increases the offset value of the oldest segment file according to the storage amount of the new segment file after the time shift buffer is saturated and when a new segment file starts to be recorded, If the file is out of range, the oldest segment file is determined to have been created.


삭제delete 제1항에 있어서,
상기 제어부는, 상기 레코딩 파일에 상기 세그먼트 파일에 접근하기 위해 필요한 정보를 기록함으로써 상기 세그먼트 파일에 대한 상기 엔트리 정보 각각을 상기 레코딩 파일에 맵핑시키는 장치.
The method according to claim 1,
Wherein the control unit maps each piece of the entry information for the segment file to the recording file by recording information necessary for accessing the segment file in the recording file.
제1항에 있어서,
상기 제어부는, 상기 방송 프로그램의 레코딩이 종료됨을 감지하는 것에 기반하여, 상기 방송 프로그램에 포함되는 세그먼트 파일들을 유지한 채 새로운 타임 쉬프트 버퍼를 할당하는 장치.
The method according to claim 1,
Wherein the control unit keeps the segment files included in the broadcast program based on detecting that the recording of the broadcast program is terminated, and allocates a new time shift buffer.
디지털 방송 시스템에서 방송 수신 방법에 있어서,
연속한 파일 데이터 형태의 타임 쉬프트 버퍼를 할당하는 과정과,
방송 프로그램에 대한 스트림 데이터를 수신하는 과정과,
미리 정의된 크기의 세그먼트 파일들로 상기 스트림 데이터를 상기 타임 쉬프트 버퍼에 저장하는 과정과,
상기 방송 프로그램의 레코딩 명령을 감지하는 것에 기반하여, 상기 세그먼트 파일들 중 세그먼트 파일에 대한 엔트리 정보를 레코딩 파일에 맵핑하는 과정을 포함하고,
상기 엔트리 정보는 상기 세그먼트 파일의 레코딩 동작 여부를 나타내기 위한 정보를 포함하는 방법.
A broadcast receiving method in a digital broadcasting system,
Allocating a time shift buffer of continuous file data type;
Receiving stream data for a broadcast program;
Storing the stream data in the time shift buffer with segment files of a predefined size;
And mapping entry information on a segment file of the segment files to a recording file based on sensing a recording command of the broadcast program,
Wherein the entry information includes information for indicating whether or not recording of the segment file is performed.
제10항에 있어서,
상기 타임 쉬프트 버퍼에 접근하기 위해 필요한 정보를 포함하는 상기 엔트리 정보를 생성하는 과정을 더 포함하는 방법.
11. The method of claim 10,
Further comprising generating the entry information including information necessary for accessing the time shift buffer.
제11항에 있어서,
상기 엔트리 정보는, 상기 세그먼트 파일을 식별하기 위한 정보, 상기 세그먼트 파일의 크기 정보, 상기 세그먼트 파일의 오프셋 정보, 상기 세그먼트 파일의 상태 정보 중 적어도 하나를 포함하는 방법.
12. The method of claim 11,
Wherein the entry information includes at least one of information for identifying the segment file, size information of the segment file, offset information of the segment file, and status information of the segment file.
제12항에 있어서, 상기 세그먼트 파일의 상태 정보는, 상기 세그먼트 파일이 사용되지 아니함을 나타내는 값, 상기 세그먼트 파일이 임시 저장 중(buffering)임을 나타내는 값, 상기 세그먼트 파일이 상기 레코딩 동작 중임을 나타내는 값, 상기 세그먼트 파일이 상기 레코딩이 완료되었음을 나타내는 값, 및 상기 세그먼트 파일이 삭제되었음을 나타내는 값 중 하나로 설정되는 방법.
13. The method of claim 12, wherein the status information of the segment file includes at least one of a value indicating that the segment file is not used, a value indicating that the segment file is temporarily stored (buffering), a value indicating that the segment file is in the recording operation The segment file is set to one of a value indicating that the recording has been completed and a value indicating that the segment file has been deleted.
제10항에 있어서,
상기 타임 쉬프트 버퍼의 전체 용량을 초과하는 세그먼트 파일이 생성되었음을 결정하면, 가장 오래된 세그먼트 파일이 상기 레코딩 동작 중인지 여부를 판단하는 과정과,
상기 가장 오래된 세그먼트 파일이 레코딩 동작 중이 아닌 경우, 상기 가장 오래된 세그먼트 파일을 삭제하는 과정과,
상기 가장 오래된 세그먼트 파일이 레코딩 동작 중인 경우, 상기 가장 오래된 세그먼트 파일을 삭제하지 않고 유지하는 과정을 더 포함하는 방법.
11. The method of claim 10,
Determining whether the oldest segment file is in the recording operation if it is determined that a segment file exceeding the total capacity of the time shift buffer has been generated;
Deleting the oldest segment file if the oldest segment file is not in the recording operation;
If the oldest segment file is in the recording operation, maintaining the oldest segment file without deleting.
제14항에 있어서,
상기 타임 쉬프트 버퍼가 포화된 후, 새로운 세그먼트 파일이 기록되기 시작하면, 상기 새로운 세그먼트 파일의 저장량에 따라 상기 가장 오래된 세그먼트 파일의 오프셋 값을 증가시키는 과정과,
상기 오프셋 값이 상기 가장 오래된 세그먼트 파일의 범위를 벗어나면, 상기 가장 오래된 세그먼트 파일이 생성되었음을 결정하는 과정을 더 포함하는 방법.


15. The method of claim 14,
Increasing an offset value of the oldest segment file according to an amount of storage of the new segment file when a new segment file starts to be written after the time shift buffer is saturated,
Further comprising determining that the oldest segment file has been created if the offset value is out of the range of the oldest segment file.


삭제delete 제10항에 있어서, 상기 엔트리 정보를 상기 레코딩 파일에 맵핑시키는 과정은,
상기 세그먼트 파일에 접근하기 위해 필요한 정보를 기록함으로써, 상기 세그먼트 파일에 대한 상기 엔트리 정보를 상기 레코딩 파일에 맵핑시키는 과정을 포함하는 방법.
The method of claim 10, wherein mapping the entry information to the recording file comprises:
And mapping the entry information for the segment file to the recording file by recording information necessary for accessing the segment file.
제10항에 있어서,
상기 방송 프로그램의 레코딩이 종료됨을 감지하는 것에 기반하여, 상기 방송 프로그램에 포함되는 세그먼트 파일들을 유지한 채 새로운 타임 쉬프트 버퍼를 할당하는 과정을 더 포함하는 방법.
11. The method of claim 10,
Further comprising: allocating a new time shift buffer while maintaining segment files included in the broadcast program, based on sensing that recording of the broadcast program is terminated.
KR1020100130471A 2010-12-20 2010-12-20 Apparatus and method for time shift buffering function in digital broadcast system KR101741487B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100130471A KR101741487B1 (en) 2010-12-20 2010-12-20 Apparatus and method for time shift buffering function in digital broadcast system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100130471A KR101741487B1 (en) 2010-12-20 2010-12-20 Apparatus and method for time shift buffering function in digital broadcast system

Publications (2)

Publication Number Publication Date
KR20120069082A KR20120069082A (en) 2012-06-28
KR101741487B1 true KR101741487B1 (en) 2017-05-30

Family

ID=46687408

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100130471A KR101741487B1 (en) 2010-12-20 2010-12-20 Apparatus and method for time shift buffering function in digital broadcast system

Country Status (1)

Country Link
KR (1) KR101741487B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11159833B2 (en) * 2018-11-23 2021-10-26 Sony Corporation Buffer management for storing files of a received packet stream

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100445167B1 (en) * 2003-06-24 2004-08-21 주식회사 휴맥스 file system of broadcasting receiver storing digital signal and working method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100445167B1 (en) * 2003-06-24 2004-08-21 주식회사 휴맥스 file system of broadcasting receiver storing digital signal and working method thereof

Also Published As

Publication number Publication date
KR20120069082A (en) 2012-06-28

Similar Documents

Publication Publication Date Title
JP5307315B2 (en) System and method for incorporating previously broadcast content into program recordings
US7433576B2 (en) Video data recording/reproducing apparatus and video data management method for use in the same
US7522817B2 (en) Method and apparatus for storing content
JP4751889B2 (en) Data recording system, data recording method, and data recording program
JP4427478B2 (en) Electronic information management apparatus, electronic information management method, computer program, and recording medium
KR100841436B1 (en) Video recording/reproducing apparatus and control method of memory device of thereof
US20110010418A1 (en) Pvr offloader
US20080101764A1 (en) Method and Apparatus for Managing Multimedia Content Recording Assets
JP2004005472A (en) Recording/storage control of contents attached with precedence
KR100302499B1 (en) Broadcasting program playback management information generation method and playlist automatic generation method and device
KR20110044493A (en) Method and apparatus for storing data in digital broadcasting system providing video on demand service
JP2015510652A (en) System and method for processing media content
KR101741487B1 (en) Apparatus and method for time shift buffering function in digital broadcast system
WO2002065299A1 (en) Device and method for managing the access to a storage medium
JP2009238316A (en) Stream recording control device, method, and program
US8588586B2 (en) Recording method
US8565584B2 (en) Editing apparatus and editing method
JP5472090B2 (en) Program recording apparatus, user terminal, program recording system, program recording method and program
CN105637843A (en) Transmission method and system of video software
JP4416586B2 (en) Video recording / playback device
JP4951376B2 (en) Playback device, video recording device, and program information editing method thereof
JP2010157978A (en) Reproduction apparatus and method of controlling the same
JP2008108364A (en) Content recording and reproducing device and portable content player
JP2007273020A (en) Content recording 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