KR20020085864A - Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same - Google Patents

Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same Download PDF

Info

Publication number
KR20020085864A
KR20020085864A KR1020020064880A KR20020064880A KR20020085864A KR 20020085864 A KR20020085864 A KR 20020085864A KR 1020020064880 A KR1020020064880 A KR 1020020064880A KR 20020064880 A KR20020064880 A KR 20020064880A KR 20020085864 A KR20020085864 A KR 20020085864A
Authority
KR
South Korea
Prior art keywords
recording
information
file
real
reproducing
Prior art date
Application number
KR1020020064880A
Other languages
Korean (ko)
Other versions
KR100467615B1 (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
Priority claimed from KR1019980055039A external-priority patent/KR100382639B1/en
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to KR10-2002-0064880A priority Critical patent/KR100467615B1/en
Publication of KR20020085864A publication Critical patent/KR20020085864A/en
Application granted granted Critical
Publication of KR100467615B1 publication Critical patent/KR100467615B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • G11B20/1258Formatting, e.g. arrangement of data block or words on the record carriers on discs where blocks are arranged within multiple radial zones, e.g. Zone Bit Recording or Constant Density Recording discs, MCAV discs, MCLV discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B7/00Recording or reproducing by optical means, e.g. recording using a thermal beam of optical radiation by modifying optical properties or the physical structure, reproducing using an optical beam at lower power by sensing optical properties; Record carriers therefor
    • G11B2007/0003Recording, reproducing or erasing systems characterised by the structure or type of the carrier
    • G11B2007/0009Recording, reproducing or erasing systems characterised by the structure or type of the carrier for carriers having data stored in three dimensions, e.g. volume storage
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B2020/10935Digital recording or reproducing wherein a time constraint must be met
    • G11B2020/10944Real-time recording or reproducing, e.g. for ensuring seamless playback of AV data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • G11B2020/1218Formatting, e.g. arrangement of data block or words on the record carriers on discs wherein the formatting concerns a specific area of the disc
    • G11B2020/1222ECC block, i.e. a block of error correction encoded symbols which includes all parity data needed for decoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE: A recording medium for storing real-time recording/reproducing information, a method and a device for real time recording/reproducing and a file manipulation method using the information are provided to distinguish real time files from general files and use recording/reproducing defect management information, file allocation information, buffering information and stepped continuous storing unit size information as the real time recording/reproducing information for carrying out the real time recording/reproducing effectively. CONSTITUTION: A method for real time recording/reproducing includes the steps of disposing and recording real time files requiring real time recording/reproducing on a recording medium on the basis of real time recording/reproducing information and recording the real time recording/reproducing information to the recording medium, and reading and reproducing the real time file data by using the real time recording/reproducing information by storing the real time recording/reproducing information to a volume structure area of the recording medium, wherein the real time file reading and reproducing step is carried out by the sub-steps of reading a volume area on the recording medium, and reproducing one of the real time files considering the real time recording/reproducing information if the information exists in the volume area.

Description

실시간 기록/재생 정보를 저장하는 기록 매체, 실시간 기록재생방법과 장치 및 이 정보를 이용한 파일 조작 방법{Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same}Recording medium for storing real time recording / reproducing information, a method and apparatus for real time recording and reproducing, and a file manipulation method using the information {Recording medium for storing real time recording / reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same}

본 발명은 실시간 기록 및/또는 재생을 요구하는 시스템에 관한 것으로, 특히 실시간 기록/재생 정보를 저장하는 기록 매체, 이 실시간 기록/재생 정보를 근거로 하여 실시간 파일을 기록하고 재생하는 방법과 장치 및 이 정보를 이용한 파일 조작 방법에 관한 것이다.The present invention relates to a system requiring real time recording and / or reproducing, and more particularly, to a recording medium storing real time recording / reproducing information, a method and apparatus for recording and reproducing a real time file based on the real time recording / reproducing information, and A file manipulation method using this information.

파일 시스템으로 되어 있는 컴퓨터나 오디오 및 비디오(A/V) 장치에 있어서 실시간 기록 및 재생이 요구되는 A/V 파일의 경우 파일 제어 정보에 실시간 기록/재생 파일임을 나타내는 제어 정보가 기록되어 있지 않아 논리적으로는 연속되어 있더라도 기록 매체상에 물리적으로 연속되지 않고 산재되어 있는 데이터 블록들로 이루어진 파일을 재생할 경우 실시간 재생이 불가능한 문제점이 발생된다.In the case of A / V files that require real-time recording and playback in computer or audio and video (A / V) devices that are file systems, the control information indicating that they are real-time recording / playback files is not recorded in the file control information. In this case, when a file composed of data blocks interspersed and not physically contiguous on the recording medium is reproduced, a problem occurs that real time reproduction is impossible.

여기서, 종래의 파일 시스템은 도 1에 도시된 바와 같이 파일의 길이, 파일 데이터의 위치 및 파일의 독출/기입 가능 여부 등의 정보가 기록되어 있는 파일 제어 정보와 파일 제어 정보가 지시하는 위치에 저장되어 있는 파일 데이터로 구성되어 있다. 디스크상의 파일을 읽는 경우 파일 제어 정보를 먼저 독출하고, 독출된 파일 제어 정보가 지시하는 위치의 파일 데이터를 독출해서 재생한다. 이러한, 종래의 파일 시스템에서 사용되는 고정 크기의 블록을 할당하는 방법은 파일 재생시 실시간 재생이 불가능한 문제점이 발생된다.Here, as shown in FIG. 1, the conventional file system stores the file control information in which information such as the file length, the location of the file data, and whether the file can be read or written is stored in the location indicated by the file control information and the file control information. It consists of file data. When reading the file on the disc, the file control information is read first, and the file data at the position indicated by the read file control information is read and reproduced. Such a method of allocating a fixed-size block used in the conventional file system causes a problem that real-time playback is impossible during file playback.

즉, 종래의 파일 시스템의 기록 및 재생을, 도 2에 도시된 바와 같이 2개의 파일이 디스크내의 블록들을 점유한 예를 들어 설명한다. 파일 A는 실시간 재생을 요구하는 파일이고, 이 파일 A는 디스크의 블록 0,3,5,6을 점유하고, 파일 B는 일반 파일로서 디스크의 블록 1,2,4,7을 점유하고 있다.That is, the recording and reproducing of the conventional file system will be described by taking an example in which two files occupy blocks in the disc as shown in FIG. File A is a file for which real-time playback is required. This file A occupies blocks 0, 3, 5 and 6 of the disk, and file B occupies blocks 1,2, 4 and 7 of the disk as a normal file.

파일 A를 재생하는 과정은 다음과 같다.The process of playing file A is as follows.

제1 단계: 블록 0을 독출한다.Step 1: Read block 0.

제2 단계: 블록 3을 탐색한다.Step 2: Search for block 3.

제3 단계: 블록 3을 독출해서 재생한다.Step 3: Read block 3 and play it back.

제4 단계: 블록 5를 탐색한다.Step 4: Search for Block 5.

제5 단계: 블록 5와 6을 독출해서 재생한다.Step 5: Read and play blocks 5 and 6.

종래의 파일 시스템에서는 실시간 기록 및 재생을 요구하는 파일을 기록하더라도 실시간 기록 및 재생에 대한 정보가 기록되어 있지 않고, 또한 실시간 기록 및 재생을 위한 데이터 배치를 고려하지 않고 있기 때문에 실시간 재생이 되지 않을 수 있는 문제점이 있었다.In a conventional file system, even if a file that requires real time recording and playback is recorded, real time playback may not be possible because information on the real time recording and playback is not recorded and data arrangement for real time recording and playback is not considered. There was a problem.

즉, 도 2에 도시된 파일 A(예로서, 비디오 파일)가 실시간 재생을 요구하지만 종래의 파일 시스템은 이를 고려하지 않고 데이터 파일을 배치하므로서 재생 도중 화면이 끊어지는 현상이 발생된다. 파일을 실시간으로 기록 및 재생하기 위한 조건은 탐색 시간과 독출 시간을 합한 시간이 재생 시간보다 커서는 안된다는 것이다. 이를 아래와 같이 나타낼 수 있다.That is, although file A (e.g., a video file) shown in FIG. 2 requires real-time reproduction, a conventional file system arranges a data file without taking this into consideration, thereby causing the screen to break during reproduction. The condition for recording and reproducing a file in real time is that the sum of search time and read time should not be greater than the reproduction time. This can be expressed as follows.

seek~ time + read~ time ~ ~playback~ timeseek ~ time + read ~ time ~ ~ playback ~ time

그러나, CD(Compact Disc) 및 DVD(Digital Versatile Disc)와 같은 디스크의 구동장치는 탐색 시간(seek time)이 독출 시간(read time)에 비해 상당히 길다. 이 경우 현재 블록을 읽고 재생하는 시간 동안 탐색을 마치고 다음 블록을 읽어야 화면이 끊기지 않지만 종래의 CD 및 DVD 구동장치에서는 탐색 시간이 길기 때문에 다음 블록이 물리적으로 바로 인접하지 않으면 실시간 재생이 불가능한 문제점이 있었다.However, drive devices of discs such as compact discs (CDs) and digital versatile discs (DVDs) have considerably longer seek times than read times. In this case, the screen is not interrupted by reading the next block after reading the current block and reading the next block. However, since the seek time is long in the conventional CD and DVD drive, the real time playback is impossible unless the next block is physically immediately adjacent. .

상기한 문제점들을 해결하기 위하여, 본 발명의 목적은 실시간 파일을 위한 실시간 기록/재생 정보를 저장하는 기록 매체를 제공하는 데 있다.In order to solve the above problems, it is an object of the present invention to provide a recording medium for storing real-time recording / playback information for a real-time file.

본 발명의 다른 목적은 실시간 파일을 연속 저장 단위로 배치한 후 실시간 기록/재생 정보를 기록하고, 이 실시간 기록/재생 정보에 따라 파일을 실시간으로 재생하는 방법을 제공하는 데 있다.Another object of the present invention is to provide a method for recording real time recording / reproduction information after arranging real time files in a continuous storage unit and reproducing the file in real time according to the real time recording / reproduction information.

본 발명의 또 다른 목적은 실시간 기록/재생 정보를 고려하여 파일을 복사하고, 복사된 파일에 원파일의 실시간 기록/재생 정보를 부가하여 이 복사된 파일도 실시간 기록 및 재생 정보를 이용하여 실시간으로 재생할 수 있는 방법을 제공하는 데 있다.Another object of the present invention is to copy the file in consideration of the real-time recording / playback information, and add the real-time recording / playback information of the original file to the copied file in real time using the real-time recording and playback information To provide a way to play.

본 발명에 의한 또 다른 목적은 기록/재생 비트레이트가 구간별 변화하는 경우에 대응한 구간별 실시간 기록/재생 정보를 기록하고, 이 구간별 실시간 기록/재생 정보에 따라 파일을 실시간으로 재생하는 장치를 제공하는 데 있다.Still another object according to the present invention is an apparatus for recording real-time recording / reproducing information for each section corresponding to a case where a recording / reproducing bitrate changes for each section and reproducing a file in real time according to the real-time recording / reproducing information for each section. To provide.

본 발명의 또 다른 목적은 실시간 기록/재생 정보가 설정된 파일을 생성, 데이터 영역 확장, 기록과 재생 등의 파일 조작 방법을 제공하는 데 있다.It is still another object of the present invention to provide a file manipulation method such as generating a file in which real time recording / reproducing information is set, expanding a data area, and recording and reproducing.

상기의 목적들을 달성하기 위하여, 본 발명에 의한 기록 매체는 실시간 기록 및 재생을 요구하는 실시간 파일을 기록하는 기록 매체에 있어서: 이 실시간 파일의 실시간 기록 및 재생을 보장하기 위한 실시간 기록/재생 정보를 저장하는 것을 특징으로 하고 있다.In order to achieve the above objects, a recording medium according to the present invention is a recording medium for recording a real time file requiring real time recording and reproduction: real time recording / reproducing information for ensuring real time recording and reproduction of the real time file. It is characterized by storing.

본 발명에 의한 기록재생방법은 실시간 기록/재생을 요구하는 실시간 파일을실시간 재생을 보장하는 실시간 기록/재생 정보에 근거하여 배치해서 기록하고, 이 실시간 기록/재생 정보도 함께 소정 영역에 기록하는 단계 및 실시간 기록/재생 정보에 근거하여 실시간 파일 데이터를 독출해서 재생하는 단계를 포함함을 특징으로 하고 있다.The recording and reproducing method according to the present invention comprises the steps of arranging and recording a real-time file requiring real-time recording / reproducing based on real-time recording / reproducing information to ensure real-time reproduction, and recording the real-time recording / reproducing information together in a predetermined area. And reading and reproducing real-time file data based on real-time recording / reproducing information.

본 발명에 의한 기록재생장치는 실시간 기록 및 재생을 보장하기 위한 실시간 기록/재생 정보에 의해 실시간 파일을 기록 매체상에 기록 및/또는 재생하는 장치에 있어서: 기록시에는 입력 비트스트림을 소정의 압축 체계에 의해 압축 부호화해서 압축된 데이터를 제공하고, 재생시에는 압축 부호화된 데이터를 복호화하는 코덱, 실시간 기록/재생 정보의 하나인 비트레이트 정보를 이용하여 기록 비트레이트에 따라 압축된 데이터를 일시 저장하고, 기록 매체상에 기입된 데이터를 재생 비트레이트에 따라 코덱에 전송하는 버퍼, 기록시에는 버퍼에 저장된 데이터를 기록에 적합한 신호로 변환해서 실시간 기록/재생 정보와 함께 디스크상에 기록하고, 재생시에는 디스크의 소정 영역에 기록된 실시간 기록/재생 정보에 따라 독출된 데이터를 재생하는 신호 처리기 및 실시간 기록/재생 정보의 비트레이트 정보로부터 스핀들 모터를 포함한 서보 메카니즘을 구동 제어하는 콘트롤러를 포함함을 특징으로 한다.A recording and reproducing apparatus according to the present invention is an apparatus for recording and / or reproducing a real-time file on a recording medium by real-time recording / reproducing information for ensuring real time recording and reproduction: during recording, a predetermined compression of an input bitstream is performed. The system compresses and compresses the compressed data to provide compressed data, and during reproduction, temporarily stores the compressed data according to the recording bit rate by using a codec that decodes the compressed coded data and bit rate information which is one of real time recording / reproducing information. A buffer that transfers data written on a recording medium to a codec according to the reproduction bit rate.When recording, the data stored in the buffer is converted into a signal suitable for recording and recorded on a disc together with real-time recording / playback information. Reproduces the read data according to the real-time recording / playback information recorded in a predetermined area of the disc. No. characterized in that it comprises a controller for driving and controlling the servo mechanism including a spindle motor from the processor and the real time recording / reproduction bit rate information of the information.

또한, 본 발명에 의한 실시간 기록/재생 정보를 이용한 파일 조작 방법은 실시간 기록/재생 속성 정보가 부여된 실시간 파일을 기록 및 재기록가능한 시스템을 위한 파일 조작 방법에 있어서: 실시간 기록/재생 속성 정보를 이용하여 실시간 파일 생성 모드, 영역 할당 모드, 기록 모드, 재생 모드, 삭제 모드, 종료 모드 중어느 하나의 모드에 대응하여 실시간 파일을 조작하는 것을 특징으로 하고 있다.Also, a file manipulation method using real-time recording / playback information according to the present invention is a file manipulation method for a system capable of recording and rewriting a realtime file to which realtime recording / playback property information is assigned: using realtime recording / playback property information. The real-time file is manipulated in response to any one of a real time file generation mode, an area allocation mode, a recording mode, a playback mode, a deletion mode, and an end mode.

도 1은 파일 제어 정보와 파일 데이터와의 관계를 보인 기록 매체의 일차원 구조를 보인 도면이다.1 is a diagram showing a one-dimensional structure of a recording medium showing a relationship between file control information and file data.

도 2는 기존의 2개의 파일이 디스크상의 블록들을 점유하는 예를 보인 도면이다.2 shows an example in which two existing files occupy blocks on a disk.

도 3의 (a) 내지 (d)는 본 발명에 의한 실시간 기록 및 재생 속성(attributes) 정보가 저장되는 예들을 보인 도면이다.3A to 3D illustrate examples in which real-time recording and reproduction attribute information is stored according to the present invention.

도 4는 본 발명에 의한 실시간 파일이 연속 저장 단위로 디스크상의 블록들을 점유하는 예를 보인 도면이다.4 is a diagram illustrating an example in which a real time file occupies blocks on a disc in a continuous storage unit according to the present invention.

도 5는 본 발명에 의한 연속 저장 단위로 할당된 실시간 AV 데이터가 기록되는 기록 매체의 일차원 구조를 보인 도면이다.FIG. 5 is a diagram showing a one-dimensional structure of a recording medium on which real-time AV data allocated in a continuous storage unit according to the present invention is recorded.

도 6의 (a) 및 (b)는 본 발명에 의한 연속 저장 단위로 파일이 복사되는 예를 설명하기 위한 도면이다.6 (a) and 6 (b) are diagrams for explaining an example in which a file is copied in a continuous storage unit according to the present invention.

도 7은 본 발명에 의한 실시간 기록/재생 정보를 이용한 재생 방법의 일 실시예에 따른 흐름도이다.7 is a flowchart according to an embodiment of a reproducing method using real time recording / reproducing information according to the present invention.

도 8은 본 발명의 이해를 돕기 위한 기록재생장치의 개략적인 블록도이다.8 is a schematic block diagram of a recording / playback apparatus for aiding in understanding the present invention.

도 9는 실시간 재기록 가능한 시스템을 위한 실시간 기록/재생을 위한 제어 흐름을 보인 도면이다.9 is a diagram illustrating a control flow for real time recording / reproducing for a real time rewritable system.

도 10은 실시간 재기록 가능한 시스템을 위한 실시간 기록/재생을 위한 데이터 흐름을 보인 도면이다.10 is a diagram illustrating a data flow for real time recording / reproducing for a real time rewritable system.

도 11은 실시간 기록/재생 파일의 미기록/할당 영역을 할당하는 예를 보인 도면이다.11 shows an example of allocating an unrecorded / allocated area of a real-time recording / playback file.

도 12의 (a) 내지 (d)는 실시간 기록/재생 파일의 데이터를 기록하는 예를 보인 도면이다.12A to 12D are diagrams showing an example of recording data of a real time recording / reproducing file.

도 13의 (a) 내지 (d)는 비트레이트가 구간별로 다른 경우와 같은 경우에 대응한 파일 제어 정보를 설명하기 위한 도면이다.13A to 13D are diagrams for describing file control information corresponding to a case in which bitrates differ for each section.

도 14의 (a) 내지 (c)는 실시간 기록/재생 파일 데이터의 부분 삭제를 설명하기 위한 도면이다.14A to 14C are diagrams for explaining partial deletion of real-time recording / reproducing file data.

이하, 첨부된 도면을 참조하여 실시간 기록/재생 정보를 저장하는 기록 매체, 실시간 기록재생방법과 장치 및 이 정보를 이용한 파일 조작 방법의 바람직한 실시예를 설명하기로 한다.Hereinafter, with reference to the accompanying drawings will be described a preferred embodiment of a recording medium for storing real-time recording / playback information, a real-time recording and playback method and apparatus and a file operation method using this information.

도 3의 (a) 내지 (d)는 본 발명에 의한 실시간 기록/재생 정보(실시간 기록/재생 속성 정보라고 지칭될 수 있음)가 저장되는 예들을 보인 도면이다. 이 실시간 기록/재생 정보는 도 3의 (a)에 도시된 바와 같이 각각의 실시간 파일에 속성으로 부여될 수 있으며, 일 예로서 이 실시간 기록/재생 속성 정보는 파일 시스템이 UDF(Universal Disk Format) 시스템인 경우 파일 엔트리(File Entry)에 있는 파일 확장 속성(File Extended Attribute) 영역 또는 스트림 디렉토리 ICB(Information Control Block) 영역 상에 저장될 수 있다.3A to 3D illustrate examples in which real time recording / reproducing information (which may be referred to as real time recording / reproducing attribute information) according to the present invention is stored. This real time recording / reproducing information may be given as an attribute to each real-time file as shown in FIG. 3 (a). For example, the real-time recording / reproducing attribute information may be a UDF (Universal Disk Format). In the case of a system, it may be stored on a file extended attribute area or a stream directory information control block (ICB) area in a file entry.

또는, 파일 식별 서술자(File Identifier Descriptor) 저장될 수 있거나 파일 엔트리내의 ICB(Information Control Block) TAG필드 중 파일 타입 영역 또는 플래그 영역에 저장될 수 있다. 이 파일 엔트리를 파일 제어 정보 영역 또는 파일 구조(file structure) 영역이라고 지칭될 수 있다.Alternatively, a file identifier descriptor may be stored or may be stored in a file type region or a flag region of an information control block (ICB) TAG field in a file entry. This file entry may be referred to as a file control information area or a file structure area.

또한, 도 3의 (b)에 도시된 바와 같이 각각의 파일에 대한 실시간 기록/재생 속성 정보를 각각의 파일내의 소정 영역(정보 영역)에 저장될 수 있다. 일 예로서, RTRW 포맷인 경우 RTRW_TS.VOB라는 데이터 파일내에 실시간 기록/재생 속성 정보가 저장될 수 있다. 도 3의 (c)에 도시된 바와 같이 각각의 파일에 대한 실시간 기록/재생 속성 정보를 별개의 파일로 저장될 수 있다. 일 예로서, RTRW 포맷의 RTRW_TS.IFO라는 정보 파일에 실시간 기록/재생 속성 정보가 저장될 수 있다. 다른 예로서, 파일 시스템이 UDF 시스템인 경우 도 3의 (d)에 도시된 바와 같이 이 실시간 기록/재생 속성 정보를 파일 구조(file structure) 영역과 구분되는 볼륨 구조(volume structure) 영역에 저장될 수 있다.In addition, as shown in FIG. 3B, real-time recording / reproducing attribute information for each file can be stored in a predetermined area (information area) in each file. As an example, in the RTRW format, real-time recording / playback attribute information may be stored in a data file called RTRW_TS.VOB. As shown in (c) of FIG. 3, real-time recording / playback attribute information for each file may be stored as a separate file. As an example, real-time recording / playback attribute information may be stored in an information file called RTRW_TS.IFO in RTRW format. As another example, when the file system is a UDF system, as shown in (d) of FIG. 3, the real-time recording / reproducing attribute information may be stored in a volume structure area that is distinguished from a file structure area. Can be.

따라서, UDF 포맷에 실시간 기록/재생 속성 정보가 볼륨 구조 영역 또는 파일 구조 영역에 저장되어 있으면, 볼륨을 읽을 때(mount)나 파일을 읽을 때(open) 이 실시간 기록/재생 속성 정보를 먼저 해석하고, 해석된 정보에 따라 데이터를 실시간 기록/재생한다.Therefore, if real-time recording / playback property information is stored in the volume structure area or file structure area in the UDF format, the realtime recording / playback property information is interpreted first when the volume is read (mount) or when the file is read (open). The data is recorded and played back in real time according to the interpreted information.

이 실시간 기록/재생 속성 정보에는 실시간 기록 및 재생을 요구하는 파일임을 나타내는 실시간 기록 및 재생 파일 지시 정보(예를 들어, 구분자(Identifier)="AV file")가 포함되고, 또한 위 수학식 1의 조건을 만족시키는 연속 저장 단위의 크기 정보, 최소 연속 저장을 보장하는 재생 시간, 기록/재생 비트레이트(bitrate) 또는 연속 기록 및 재생 타입 정보 중 하나 이상이 저장될 수 있다. 여기서, 연속 기록 및 재생 타입 정보가 예로서 디스크 타입 A, B, C가 있다면, 다음과 같이 미리 정해져 있을 수 있다.This real-time recording / playback attribute information includes real-time recording and playback file indication information (for example, identifier = "AV file") indicating that the file is required for real-time recording and playback. One or more of the size information of the continuous storage unit satisfying the condition, the reproduction time to guarantee the minimum continuous storage, the recording / reproducing bitrate, or the continuous recording and reproduction type information may be stored. Here, if the continuous recording and reproduction type information is an example of the disc types A, B, and C, it may be predetermined as follows.

type A = 10.08 Mbps, type B = 1.4 Mbps, type C = 8 Mbpstype A = 10.08 Mbps, type B = 1.4 Mbps, type C = 8 Mbps

또한, 이 실시간 기록/재생 속성 정보에는 현재 실시간 기록 및 재생 가능하게 파일이 배치되었는지를 나타내는 속성 즉, 현재 실시간 기록 및 재생 가능 상태 속성도 포함된다.This real-time recording / reproducing attribute information also includes an attribute indicating whether a file is currently arranged for real-time recording and reproduction, that is, a current real-time recording and reproduction state attribute.

그리고, 구간별로 기록/재생 비트레이트가 변경되는 경우 여러개의 비트레이트값과 구간에 대한 정보(예로서 위치 정보)가 실시간 기록/재생 속성 정보로서 기록될 수도 있다. 여기서, 구간별 비트레이트 정보를 이용하면 스핀들 모터의 제어 정보를 얻을 수 있다.When the recording / reproducing bit rate is changed for each section, several bit rate values and information about the section (for example, location information) may be recorded as real-time recording / reproducing attribute information. Here, the control information of the spindle motor can be obtained by using bit rate information for each section.

게다가, 이 실시간 기록/재생 속성 정보에는 파일 결함 관리 정보, 파일 버퍼링 정보, 파일 할당 정보 등이 더 포함될 수 있다. 즉, 실시간 기록/재생 속성 정보로서 파일 결함 관리 정보가 저장되어 있으면, 예를 들어, 독출 또는 기입 실패시 결함 블록을 여유 영역(Spare Area)으로의 대치를 시도하지 않고, 또한 결함 블록을 다시 독출 또는 기입을 시도하지 않는다.In addition, the real time recording / reproducing attribute information may further include file defect management information, file buffering information, file allocation information, and the like. That is, if file defect management information is stored as real-time recording / reproducing attribute information, for example, when reading or writing fails, the defect block is not attempted to be replaced with a spare area, and the defective block is read again. Or do not attempt to write.

또한, 실시간 기록/재생 속성 정보로서 예를 들어, 여유 영역에 대치된 결함 블록은 데이터 블록으로서 할당하지 않는 것과 같은 파일 데이터 영역을 할당하는 파일 할당 정보가 저장될 수 있고, 트랙 버퍼로부터 미리 독출해야 하는 초기 독출 데이터 양 및 트랙 버퍼에 한번에 미리 기록되는 데이터 양에 관한 파일 버퍼링 정보가 저장될 수 있다.Further, as real time recording / reproducing attribute information, for example, a defective block replaced with a free area may be stored file allocation information for allocating a file data area such as not allocated as a data block, and must be read in advance from the track buffer. File buffering information about the amount of initial read data and the amount of data previously recorded in the track buffer at one time may be stored.

상술한 실시간 기록/재생 속성 정보로서 파일 결함 관리 정보, 파일 할당 정보, 파일 버퍼링 정보 등의 많은 실시간 기록/재생 속성을 일일이 저장하는 것 보다는 실시간 파일을 제어하기 위한 조건들을 타입별로 구분해서 실시간 기록/재생 파일 속성 정보 영역에 타입 정보를 기록하여 용이하게 실시간 기록재생을 구현할 수 있다. 예를 들어, 다음과 같은 타입 정보를 가질 수 있다.Rather than storing many real-time recording / playback properties such as file defect management information, file allocation information, file buffering information, etc. as the above-described realtime recording / playback property information, the conditions for controlling the real-time file are classified by type and recorded in real time. By recording the type information in the reproduction file attribute information area, real time recording and reproduction can be easily implemented. For example, it may have the following type information.

type A = 데이터 비트레이트 10Mbps, 여유 영역에 대치된 결함 블록에 데이터 블록 할당 불가, 읽기 실패시 재시도 불가능.type A = Data bitrate 10 Mbps, unable to allocate data block to defective block replaced by free area, retry on read failure.

type B = 데이터 비트레이트 8Mbps, 여유 영역에 대치된 결함 블록에 데이터 블록 할당 가능, 읽기 실패시 재시도 불가능.type B = Data bitrate 8 Mbps, can allocate data block to defective block replaced by free area, cannot retry on read failure.

한편, 본 발명에 의한 연속 저장 단위로 실시간 파일이 디스크상의 블록들을 점유하는 예를 보인 도 4에 있어서, 파일 A는 실시간 재생을 요구하는 파일이다. 이 파일 A는 수학식 1의 조건을 만족하는 연속 저장 단위가 일 예로서, 4 블록인 경우 4 블록 단위로 실시간 기록한다. 즉, 실시간 파일 A는 디스크의 블록들 0,1,2,3,5,6,7,8,11,12,13,14을 점유하고 있다. 일반 파일 B는 디스크의 블록들 4,9,10,15을 점유하고 있다. 실시간 재생을 요구하지 않는 일반 파일 B는 연속 저장 단위가 1 블록이 되므로 1개 또는 임의개로 저장될 수 있다. 이 블록은 통상 섹터(sector)에 해당한다.On the other hand, in Fig. 4 showing an example in which a real time file occupies blocks on a disc in a continuous storage unit according to the present invention, file A is a file requiring real time reproduction. The file A is recorded in real time in units of 4 blocks when the continuous storage unit satisfying the condition of Equation 1 is an example, 4 blocks. In other words, real-time file A occupies blocks 0, 1, 2, 3, 5, 6, 7, 8, 11, 12, 13 and 14 of the disk. General file B occupies blocks 4, 9, 10 and 15 of the disk. The normal file B which does not require real time reproduction may be stored in one or arbitrary pieces since the continuous storage unit is one block. This block usually corresponds to a sector.

파일 A가 실시간 재생을 위해서 다음과 같이 동작을 한다.File A operates as follows for real time playback.

Step 1: 블록 0,1,2,3을 독출한다.Step 1: Read blocks 0, 1, 2, and 3.

Step 2: 블록 0,1,2,3을 재생하는 동안 블록 5를 탐색한다.Step 2: Search for block 5 while playing blocks 0,1,2,3.

Step 3: 블록 5,6,7,8을 독출한다.Step 3: Read blocks 5, 6, 7, and 8.

Step 4: 블록 5,6,7,8을 재생하는 동안 블록 11을 탐색한다.Step 4: Search for block 11 while playing blocks 5, 6, 7, and 8.

Step 5: 블록 11,12,13,14를 독출해서 재생한다.Step 5: Read and play blocks 11, 12, 13 and 14.

실시간 재생을 요구하는 파일의 저장시 연속 저장 단위를 만족시킬 수 있는 연속된 블록들을 위한 영역이 디스크상에 존재하지 않는다면 이 파일의 기록은 불가능하다. 하지만, 사용자에게 "연속 기록은 불가능하오니 연속 저장 단위를 1개의블록으로 지정하고 저장할까요"라는 경고 메시지를 보여주고 사용자가 저장을 요구하면 1개의 연속 저장 단위로 저장할 수 있다. 이 경우, 실시간 기록/재생 속성에 포함되는 연속 저장 단위의 크기 정보에는 초기에 지정된 연속 저장 단위의 값이 저장되지만 현재 실시간 기록 및 재생 가능 상태 속성에는 현재 저장된 파일 배치가 실시간으로 기록 및 재생 불가능하다는 정보가 저장된다. 이렇게 하는 것은 다른 디스크 또는 동일 디스크상에 복사할 때 복사될 파일이 계속 실시간 기록 및 재생 파일로 다루어지도록 하기 위해서이다.Recording of this file is impossible unless there is an area on the disc for successive blocks that can satisfy the continuous storage unit in the storage of a file requiring real time reproduction. However, a warning message is displayed to the user, "As a continuous recording unit is specified and stored in one block because continuous recording is not possible." If the user requests storage, the user can save one continuous storage unit. In this case, the size information of the continuous storage unit included in the realtime recording / playback property stores the value of the initially designated continuous storage unit, but the currently stored file batch cannot be recorded and played back in real time in the current realtime recording and playback state property. The information is stored. This is so that when copying onto another disc or the same disc, the file to be copied continues to be treated as a real time recording and playback file.

본 발명은 CD 구동장치(driver) 및 DVD 구동장치와 같은 탐색 시간(예를 들어 150ms)이 독출 시간(예를 들어 1.43ms)보다 상당히 긴(탐색 시간 >> 독출시간) 구동장치에서도 위 수학식 1의 조건인 탐색 시간 + 독출시간 < 재생 시간의 조건을 만족시키면 실시간 재생이 가능하다.According to the present invention, even in a driving device such as a CD driver and a DVD drive, a driving time (for example, 150 ms) is considerably longer than a read time (for example, 1.43 ms) (search time >> read time), If the condition of search time + read time <reproduction time, which is the condition of 1, is satisfied, real time playback is possible.

한편, 이 연속 저장 단위는 디스크상의 자유 블록의 할당에 대하여 제한을 둠으로써 소정의 목적을 만족시키기 위한 것이다. 여기서, 자유 블록은 사용자가 사용할 수 있는 사용자 영역 중 결함 블록을 포함하지 않은 미사용 영역 또는 재기록 가능한 영역을 포함한다.On the other hand, this continuous storage unit is for satisfying a predetermined purpose by limiting the allocation of free blocks on the disk. Here, the free block includes an unused area or a rewritable area that does not include a defective block among user areas that can be used by a user.

연속 저장 단위를 예를 들어, ECC(Error Correction Code) 블록에 정렬된 16개의 블록으로 정의한 경우에는 16개 미만의 연속된 자유 블록에는 데이터 블록의 할당이 불가능하다. 또한, 2개의 ECC 블록에 걸쳐 있는 16개의 연속된 자유 블록에는 데이터 블록의 할당이 불가능하다. 여기서, 연속 저장 단위는 DVD-RAM의 ECC 단위로의 기록/재생을 목적으로 한다.If the continuous storage unit is defined as, for example, 16 blocks arranged in an Error Correction Code (ECC) block, data blocks may not be allocated to less than 16 consecutive free blocks. In addition, data blocks cannot be allocated to 16 consecutive free blocks that span two ECC blocks. Here, the continuous storage unit is intended for recording / reproducing in the ECC unit of the DVD-RAM.

한편, 디스크의 물리적으로 연속된 블록상에 모든 실시간 데이터를 저장하면 탐색이 발생하지 않아 화면이 끊어지는 문제가 발생하지 않지만, 연속된 블록이 무한정 존재하는 것이 아니므로 연속 저장 단위를 계산하여 파일의 실시간 기록/재생 속성으로서 저장하고, 실시간 데이터를 이 연속 저장 단위로 기록하면 화면이 끊어지는 현상을 막을 수 있다.On the other hand, if all the real-time data is stored on the physically contiguous blocks of the disk, the search does not occur and the screen is not broken, but since the contiguous blocks do not exist indefinitely, the contiguous storage unit is calculated to calculate the file size. Saving as a real-time recording / playback attribute and recording real-time data in this continuous storage unit can prevent the screen from breaking.

예를 들어, 8Mbps의 MPEG 스트림(=Vb), 150ms의 탐색 시간, 11Mbps의 독출 시간(=Va), 2048 바이트의 블록 크기, 하나의 ECC 블록은 16개의 블록으로 구성된 데이터를 디스크와 같은 기록 매체에 기록하는 경우 연속 블록 저장 단위 S는 위 수학식 1에 도시된 조건에 따라 아래와 같이 구할 수 있다.For example, an MPEG stream of 8 Mbps (= Vb), a seek time of 150 ms, a read time of 11 Mbps (= Va), a block size of 2048 bytes, one ECC block consists of 16 blocks of data and a recording medium such as a disk. In the case of writing to the continuous block storage unit S can be obtained as follows according to the conditions shown in Equation 1 above.

연속 저장 단위 S는 261 블록이 되고, 261 블록 이상을 연속 블록 저장 단위로 지정하여 데이터를 기록하면 실시간 재생이 가능하지만, 17개의 연속된 ECC 블록인 272 블록으로도 지정할 수 있다. 여기서, 소정의 목적은 최대 탐색 시간이 150ms일 때 기록/재생 보장을 목적으로 한다.The continuous storage unit S is 261 blocks, and data can be recorded in real time by specifying 261 blocks or more as a continuous block storage unit, but can also be designated as 272 blocks, which are 17 consecutive ECC blocks. Here, the predetermined purpose is to guarantee recording / reproducing when the maximum seek time is 150ms.

ECC 블록인 16 블록을 연속 저장 단위로 지정하고, 위 수학식 2에 도시된 바와 같이 탐색 시간과 같은 제한을 추가하여 실시간 기록재생을 위한 자유 블록 할당 방법을 표 1에 도시된 바와 같이 단계화해서 배치할 수 있다.16 blocks, which are ECC blocks, are designated as a continuous storage unit, and a free block allocation method for real time recording and reproducing is added in step 1 as shown in Table 1 by adding a limit such as search time as shown in Equation 2 above. Can be placed.

연속블록수Number of consecutive blocks 목적purpose 3단계Tier 3 1088블록(ECC 정렬)1088 blocks (ECC aligned) 600ms 탐색시간이 필요한 블록들간에 실시간 기록/재생을 보장Guarantees real-time recording / playback between blocks requiring 600ms seek time 2단계Tier 2 272블록(ECC 정렬)272 blocks (ECC alignment) 150ms 탐색시간이 필요한 블록들간에 실시간 기록/재생을 보장Real-time recording / playback between blocks requiring 150ms seek time 1단계Stage 1 16블록(ECC 정렬)16 blocks (ECC aligned) ECC 단위의 기록재생을 보장함(*1단계는 모든 할당된 블록들이 반드시 만족해야 함)Guarantees ECC recording and playback (* 1 step requires that all allocated blocks be satisfied)

단계화된 연속 저장 단위의 제한에 만족하는 블록들을 물리적으로 연결되도록 배치하여 A/V 데이터를 기록하고 재생함으로써 실시간 기록재생을 보장할 수 있다. 예를 들어, 다음 3개의 연속 저장 단위의 블록들이 있다고 할 때, [16 블록]-[272 블록]-[1088 블록], 탐색시간이 150ms일 때 블록을 연결하는 방법에 따라 실시간 기록/재생이 불가능하거나 가능할 수 있다.It is possible to ensure real time recording and reproducing by recording and reproducing A / V data by physically connecting blocks that satisfy the limitation of the staged continuous storage unit. For example, if there are blocks of the following three consecutive storage units, [16 blocks]-[272 blocks]-[1088 blocks], real-time recording / playback may be performed depending on how the blocks are connected when the search time is 150ms. It may or may not be possible.

[272블록] -> [1088블록] -> [16블록]: 실시간 기록재생 가능[272 Block]-> [1088 Block]-> [16 Block]: Real time recording and playback

[16블록] -> [272블록] -> [1088블록]: 실시간 기록재생 불가능[16 Blocks]-> [272 Blocks]-> [1088 Blocks]: Real time recording cannot be played.

따라서, 연속 저장 단위를 단계화와 블록 연결 방법을 이용하여 효율적으로 실시간 기록재생할 수 있다.Therefore, the continuous storage unit can be efficiently recorded and reproduced in real time by using a staged method and a block connection method.

한편, 연속 저장 단위의 조건에 따라 기록해도 도 5에 도시된 바와 같이 파일의 끝부분에 연속 저장 단위 만큼의 데이터를 채우지 못하면 채우지 못한 양만큼의 데이터 블록에 대해 할당은 되지만 미기록되어 있음을 나타내는 속성을 실시간 기록/재생 정보로서 저장하여 추가 기록시 실시간 재생이 가능하도록 한다.On the other hand, even when recording in accordance with the condition of the continuous storage unit, as shown in Figure 5, if the end of the file does not fill the data of the continuous storage unit as much as the amount of data blocks that are allocated but not recorded, indicating that the property is not recorded It is stored as real-time recording / playback information to enable real-time playback when additional recording.

즉, 연속 저장 단위로 저장되는 실시간 AV 데이터가 위치하는 기록 매체의 일차원 구조를 보인 도 5에 있어서, 디스크 블록 l에 위치한 파일 제어 정보내에는 파일의 길이, 파일 데이터의 위치 및 파일의 독출/기입 가능 여부 등의 정보외에 실시간 기록/재생 속성 정보가 더 저장되고, 디스크 블록 m에 위치한 제1 파일 데이터는 연속 저장 단위가 272개의 데이터 블록이 2개의 연속 저장 단위만큼 할당되어 있고, 디스크 블록 n에 위치한 제2 파일 데이터는 272개의 연속 저장 단위를 갖는 데이터 블록으로 할당되어 있고, 디스크 블록 o에 위치한 제3 파일 데이터는 200개의 데이터 블록과 할당은 되어 있지만 미기록된 72개의 데이터 블록(allocated/unrecorded block)으로 할당되어 있다.That is, in Fig. 5 showing a one-dimensional structure of a recording medium on which real-time AV data stored in a continuous storage unit is located, the file length, file data position, and file read / write are contained in the file control information located in the disk block l. Real-time recording / playback attribute information is further stored in addition to information such as availability, and the first file data located in the disk block m has a contiguous storage unit of 272 data blocks allocated by two contiguous storage units, The second file data located is allocated as a data block having 272 contiguous storage units, and the third file data located in the disk block o is 200 data blocks and 72 data blocks allocated and allocated (unlocated / unrecorded block). ) Is assigned.

한편, 실시간 기록 및 재생을 위한 파일을 동일 디스크내 또는 다른 디스크에 복사시 실시간 기록/재생 속성 정보를 이용하여 복사될 디스크 상에 실시간 재생이 되도록 파일의 데이터 블록을 배치해야 한다. 만약, 불가능한 경우 일반적인 파일 블록 배치와 동일한 기준으로 배치하고, 이때 실시간 기록/재생 속성정보는 원래의 속성 정보를 유지하되 다만, 현재 실시간 기록 및 재생 가능 상태 속성에는 실시간 기록 및 재생이 불가능한 것으로 설정한다.Meanwhile, when copying a file for real time recording and reproducing to the same disc or to another disc, the data block of the file should be arranged to be reproduced on the disc to be copied using real time recording / playback attribute information. If it is impossible, it is arranged based on the same criteria as the general file block arrangement.In this case, the real-time recording / playback attribute information is maintained in the original attribute information, but the real-time recording and playback state attribute is set to be impossible in real time recording and playback. .

또한, 파일 복사시 OS(Operating System)가 디스크 상의 결함을 알 경우에는 원래의 실시간 기록/재생 속성 정보와 SDL(Secondary Defect List)에 기록된 결함 관리 정보를 고려하여 데이터 블록을 배치해야 하며, 예로서 도 6의 (a)에 도시된 바와 같이 연속 저장 단위가 40 블록인 경우 복사될 디스크의 결함 영역(여기서는 6-10 블록)을 고려하여 도 6의 (b)에 도시된 바와 같이 배치한다. 그렇지 않고 OS가 SDL에 기록된 결함을 모르는 경우 응용 레벨(Application Level)에서 실시간 기록/재생 속성 정보를 고려하여 도 6의 (b)에 도시된 바와 같이 결함 영역을 제외한 블록에 데이터를 배치한다.In addition, if the OS (Operating System) knows a defect on the disk when copying a file, the data block should be arranged in consideration of the original real-time recording / playback attribute information and the defect management information recorded in the SDL (Secondary Defect List). As shown in FIG. 6 (a), when the continuous storage unit is 40 blocks, it is arranged as shown in FIG. 6 (b) in consideration of a defective area (here 6-10 blocks) of the disk to be copied. Otherwise, if the OS does not know the defect recorded in the SDL, the data is placed in the block excluding the defect area as shown in FIG. 6B in consideration of real-time recording / playback attribute information at the application level.

도 7은 본 발명에 의한 실시간 기록/재생 정보를 이용한 재생 방법의 일 실시예에 따른 흐름도로서, 디스크가 플레이어에 장착되면(S101 단계), 디스크상의 볼륨 영역을 읽는다(S102 단계). 이 볼륨 영역에 실시간 기록/재생 정보가 존재하는지를 판단해서(S103 단계), 볼륨 영역에 실시간 기록/재생 정보가 존재하면 실시간 기록/재생 정보를 고려하여 파일 재생할 것을 설정한다(S104 단계). S103 단계에서 볼륨 영역에 실시간 기록/재생 정보가 존재하지 않거나 S104단계를 수행한 후 볼륨 인식을 완료한다(S105 단계).7 is a flowchart according to an embodiment of a reproducing method using real time recording / reproducing information according to the present invention. When the disc is mounted in the player (step S101), the volume area on the disc is read (step S102). It is determined whether real-time recording / reproducing information exists in this volume area (step S103), and if real-time recording / reproducing information exists in the volume area, file reproduction is set in consideration of real-time recording / reproducing information (step S104). In step S103, real-time recording / reproducing information does not exist in the volume area, or after performing step S104, volume recognition is completed (step S105).

S105 단계를 수행한 후 파일을 읽는다(S106 단계). 읽혀진 파일에 실시간 기록/재생 정보가 존재하는 지를 판단해서(S107 단계), 파일에 실시간 기록/재생 정보가 존재하면 실시간 기록/재생 정보를 고려하여 파일 재생할 것을 설정한다(S108 단계). S107 단계에서 파일에 실시간 기록/재생 정보가 존재하지 않거나 S108 단계를 수행한 후 실시간 기록/재생 정보가 설정되어 있는지를 고려하여 파일을 재생한다(S109 단계).After performing step S105, the file is read (step S106). It is determined whether real time recording / playback information exists in the read file (step S107), and if the realtime recording / playback information exists in the file, the file is set to be considered in consideration of the realtime recording / playback information (step S108). In step S107, the file is reproduced in consideration of whether the real time recording / reproducing information does not exist in the file or if the real time recording / reproducing information is set after performing step S108 (step S109).

여기서, 실시간 기록/재생 정보가 볼륨 구조 영역에 존재하는 경우에는 S107 단계와 S108 단계를 수행하지 않을 수도 있고, 실시간 기록/재생 정보가 파일 제어 정보 영역에 존재하는 경우라면 S103 단계, S104 단계, S105 단계를 수행하지 않을 수도 있다.Here, if the real time recording / playback information exists in the volume structure area, steps S107 and S108 may not be performed. If the realtime recording / playback information exists in the file control information area, steps S103, S104, and S105 may be performed. You may not perform the steps.

도 8은 본 발명의 이해를 돕기 위한 기록재생장치의 개략적인 블록도로서, 기록 가능하고 재기록 가능한 디스크를 이용하여 A/V 데이터를 기록재생하는 장치의 기능은 크게 기록과 재생으로 나눌 수 있다.Fig. 8 is a schematic block diagram of a recording / playback apparatus for better understanding of the present invention. The functions of the apparatus for recording and reproducing A / V data using a recordable and rewritable disc can be broadly divided into recording and playback.

기록시, 코덱(110)은 외부의 비트스트림으로부터 A/V 신호를 소정의 압축 체계(scheme)에 의해 압축 부호화하고, 기록/재생 비트레이트(Vb)에 따라 압축된 데이터를 트랙 버퍼(120)에 기입한다. 오류정정 부호화기 및 복호화기(ECC로 표기되어 있음:130)는 트랙 버퍼(120)에 기입된 데이터를 오류정정 부호화해서 기입/독출 레이트(Va)로 독출하여 픽업부(140)에 인가하고, 또한, 콘트롤러(170)의 제어하에 생성된 실시간 기록/재생 정보를 볼륨 구조 영역 또는 파일 제어 정보 영역상에 기록되도록 픽업부(140)에 인가한다. 픽업부(140)는 오류정정 부호화된 데이터를 광학 신호로 변환해서 디스크(150) 상에 기록한다. 이때, 디스크(150)를 구동하는 스핀들 모터(160)는 콘트롤러(170)로부터 서보 제어 신호에 따라 기록 회전 속도가 제어된다.During recording, the codec 110 compresses and encodes an A / V signal from an external bitstream by a predetermined compression scheme, and compresses the data compressed according to the recording / reproducing bit rate Vb. Fill in The error correction encoder and decoder (denoted ECC) 130 perform error correction encoding on the data written in the track buffer 120, read the data at the write / read rate Va, and apply the data to the pickup unit 140. The real time recording / reproducing information generated under the control of the controller 170 is applied to the pickup unit 140 to be recorded on the volume structure area or the file control information area. The pickup unit 140 converts the error correction coded data into an optical signal and records the data on the disc 150. At this time, the spindle motor 160 for driving the disk 150 is controlled in the recording rotation speed in accordance with the servo control signal from the controller 170.

재생시, 파일 제어 정보 영역 또는 볼륨 구조 영역에 실시간 기록/재생 정보가 저장되어 있으면 초기 독출 버퍼양에 관한 버퍼링 정보, 파일 할당 정보 및 결함 관리 정보 등을 먼저 독출해서 독출된 정보에 근거하여 파일 데이터의 독출을 제어하고, 이어서 연속 저장 단위의 크기 정보를 독출해서 연속 저장 단위의 파일 데이터를 디스크(150)로부터 기입/독출 비트레이트(Va)에 따라 독출해서 픽업부(140)를 통해 오류정정 부호화기 및 복호화기(130)에서 독출된 파일 데이터를 오류정정 복호화해서 트랙 버퍼(120)에 기입한다. 코덱(110)은 트랙 버퍼(120)에 기입된 데이터를 기입/재생 비트레이트(Vb)에 따라 독출하고, 복호화해서 A/V 데이터를 재생한다.During playback, if real-time recording / playback information is stored in the file control information area or the volume structure area, the file data is read based on information read out by first reading buffering information, file allocation information, and defect management information on the initial read buffer amount. Control the reading of the data, and then read the size information of the continuous storage unit, and read the file data of the continuous storage unit from the disk 150 according to the write / read bit rate Va and the error correction encoder through the pickup unit 140. The file data read out from the decoder 130 is error corrected and decoded and written to the track buffer 120. The codec 110 reads and decodes the data written in the track buffer 120 in accordance with the write / reproduce bit rate Vb to reproduce A / V data.

또한, 실시간 기록/재생 정보내에 구간별 기록/재생 비트레이트 정보가 존재하면 콘트롤러(170)는 픽업부(140)와 오류정정 부호화기 및 복호화기(130)를 통해제공되는 구간별 기록/재생 비트레이트 정보로부터 스핀들 모터(160)의 제어 정보를 얻어 스핀들 모터는 물론 서보 메카니즘을 구동할 수 있다.In addition, if the recording / reproducing bitrate information for each section exists in the real time recording / reproducing information, the controller 170 records / plays the bitrate for each section provided through the pickup unit 140 and the error correction encoder and decoder 130. The control information of the spindle motor 160 can be obtained from the information to drive not only the spindle motor but also the servo mechanism.

도 9는 실시간 재기록가능한(Real Time Rewritable:"RTRW") 시스템에서 본 발명에 의한 실시간 기록/재생 속성이 부여된 디스크상의 데이터를 실시간 기록/재생을 위한 제어 흐름을 보인 도면이다.9 is a diagram illustrating a control flow for real time recording / reproducing of data on a disk to which real-time recording / playback attribute according to the present invention is applied in a real time rewritable system (RTRT).

RTRW 시스템은 A/V 데이터 기록 및 재생에 관련된 명령을 생성하는 응용 레이어(201), 이 생성된 명령을 해석하는 일 예로 윈도우 커넬(Windows Kernel)을 사용하는 윈도우 커넬(202), 윈도우 커넬(202)로부터 해석된 명령에 따라 해당 기능을 드라이브(204)에 드라이버 코맨드를 전송해서 요청하고, 일 예로서 DVD-RAM 디바이스 드라이버와 같은 파일 시스템을 갖는 디바이스 드라이버(203)로 되어 있다. 여기서, 윈도우 커넬(202)과 디바이스 드라이버(203)는 파일 시스템 레이어에 해당하고, 윈도우 커넬(202)이 커넬 레이어라고 지칭될 수 있다.The RTRW system includes an application layer 201 for generating commands related to recording and reproducing A / V data, a window kernel 202 and a window kernel 202 using a window kernel as an example of interpreting the generated commands. In accordance with the command interpreted from), a driver command is requested by transmitting a driver command to the drive 204. For example, the device driver 203 has a file system such as a DVD-RAM device driver. Here, the window kernel 202 and the device driver 203 may correspond to a file system layer, and the window kernel 202 may be referred to as a kernel layer.

도 10은 RTRW 시스템 중 컴퓨터 시스템을 위한 실시간 기록/재생 데이터 흐름을 보인 도면이다. 기록시, 실시간으로 AV 엔코더(211)에 입력되는 A/V 데이터를 컴퓨터 메인 메모리(212)에 저장하는 과정, 메인 메모리(212)에 저장된 A/V 데이터를 하드 디스크 드라이브("HDD", 213)의 FIFO(First-in First-out) 파일에 저장하는 과정, HDD(213) FIFO 파일에서 DVD-RAM 디스크(214)에 저장하는 과정이 병행(multi-tasking)으로 수행된다. 여기서, 컴퓨터상에 충분한 메인 메모리가 존재하면 HDD내 FIFO 파일이 없을 수도 있다.10 is a diagram showing a real-time recording / playback data flow for a computer system of the RTRW system. During recording, the A / V data input to the AV encoder 211 in real time is stored in the computer main memory 212, and the A / V data stored in the main memory 212 is stored in a hard disk drive ("HDD", 213 The process of storing in the first-in first-out (FIFO) file and the process of storing the HDD-213 FIFO file on the DVD-RAM disk 214 are performed in a multi-tasking manner. Here, if there is sufficient main memory on the computer, there may be no FIFO file in the HDD.

재생시, A/V 데이터를 실시간으로 DVD-RAM 디스크(214)에서 컴퓨터의 메인메모리(215)에 저장하는 과정, 메인 메모리(215)에 저장된 A/V 데이터를 A/V 디코더(216)에서 독출하는 과정이 병행으로 수행된다.During playback, the A / V data is stored in the main memory 215 of the computer in the DVD-RAM disk 214 in real time, and the A / V data stored in the main memory 215 is stored in the A / V decoder 216. The reading process is performed in parallel.

일 예로 윈도우 커넬을 이용하는 RTRW 시스템에서 실시간 기록/재생 속성이 부여된 파일을 생성, 데이터 영역 할당, 기록, 재생, 삭제, 종료하는 방법을 구분해서 도 9를 결부시켜 설명하기로 한다.As an example, a method of generating, data area allocation, recording, reproducing, deleting, and terminating a file to which a real time recording / playback property is assigned in an RTRW system using a window kernel will be described with reference to FIG. 9.

실시간 기록/재생 파일의 생성 방법How to create a realtime recording / playback file

제1 단계: 실시간 기록/재생 파일을 생성하기 위하여 호출하는 윈도우 커넬 API(Application Programming Interface)는 생성파일(CreateFile)이다. 응용 레이어(201)에서 실시간 기록/재생 파일을 생성하기 위해서 생성파일에 파일 속성을 FILE_ATTRIBUTE_RTRW로 지정하여 윈도우 커넬(202)을 아래 예와 같이 호출한다.First step: The Windows kernel application programming interface (API), which is called to create a real-time recording / playback file, is a create file. In order to generate a real-time recording / playback file in the application layer 201, the window kernel 202 is called as in the following example by specifying a file attribute as FILE_ATTRIBUTE_RTRW in the generated file.

예: FileHandle = CreateFile("AVFILE.MPG",FILE_ATTRIBUTE_RTRW,...)Example: FileHandle = CreateFile ("AVFILE.MPG", FILE_ATTRIBUTE_RTRW, ...)

제2 단계: 윈도우 커넬(202)은 DVD-RAM 디바이스 드라이버(203)로 파일 생성 기능을 호출한다.Second Step: The Windows kernel 202 calls the file creation function with the DVD-RAM device driver 203.

제3 단계: 파일 생성 기능 호출시 DVD-RAM 디바이스 드라이버(203)는 FILE_ATTRIBUTE_RTRW 속성을 지정하는 데, FILE_ATTRIBUTE_RTRW 속성을 지정할 때 파일 제어 정보를 UDF의 파일 엔트리의 확장 속성 영역, 스트림 디렉토리 ICB(Information Control Block) 영역, 파일 구분자 서술자 영역, 또는 파일 엔트리의 ICB TAG 필드의 파일 타입 영역 또는 플래그 영역에 저장한다. 여기서, AV 파일 생성시 비트레이트 정보가 함께 설정될 수도 있다.Step 3: When the file creation function is called, the DVD-RAM device driver 203 specifies the FILE_ATTRIBUTE_RTRW attribute. When the FILE_ATTRIBUTE_RTRW attribute is specified, the file control information is transferred to the extended attribute area of the file entry of the UDF, and the stream directory Information Control Block. ) In the file type area or flag area of the ICB TAG field of the file entry. Here, bit rate information may be set together when generating the AV file.

실시간 기록/재생 파일의 할당/미기록 영역 할당 방법Realtime recording / playback file allocation / unrecorded area allocation method

제1 단계: 실시간 기록/재생 파일의 할당/미기록 영역 할당을 위하여 호출하는 윈도우 커넬 API는 탐색(seek) 기능을 갖는 세트파일포인터(SetFilePointer)이다. 응용 레이어(201)가 실시간 기록/재생 파일의 데이터 영역을 미리 연속 저장 단위만큼의 할당/미기록 형태로 확보하려면 SetFilePointer로 윈도우 커넬(202)을 아래 예와 같이 호출한다.First step: The Windows kernel API calling for real time recording / playback file allocation / unrecorded area allocation is a setfile pointer having a seek function. The application layer 201 calls the window kernel 202 with SetFilePointer as in the following example to secure the data area of the real-time recording / playback file in the form of allocation / unrecording in advance by the continuous storage unit.

또는, SetFileBitrate(FileHandle,bitrate)를 이용하여 실시간 기록/재생에 필요한 데이터 영역을 미리 할당/미기록 형태로 확보할 수 있다. 이때, 응용 레이어에서 비트레이트를 알고 있으면 이 비트레이트를 블록의 개수로 변환해주는 API가 파일 시스템 레이어에 존재하면 SetFilePointer로 변환하여 실시간 기록/재생에 필요한 데이터 영역을 할당/미기록 상태로 확보할 수도 있다.Alternatively, using SetFileBitrate (FileHandle, bitrate), a data area required for real time recording / reproduction can be secured in a pre-allocated / unrecorded form. At this time, if the bitrate is known in the application layer, if an API for converting the bitrate into the number of blocks exists in the file system layer, it can be converted to SetFilePointer to secure the data area necessary for real-time recording / playback in the allocated / unrecorded state. .

예: SetFilePointer(FileHandle,8*1024*1024,NULL,FILE_END)Example: SetFilePointer (FileHandle, 8 * 1024 * 1024, NULL, FILE_END)

SetFileBitrate(FileHandle,bitrate)SetFileBitrate (FileHandle, bitrate)

제2 단계: 윈도우 커넬(202)은 DVD-RAM 디바이스 드라이버(203)로 파일 탐색 기능을 호출한다Second Step: The Windows Kernel 202 Calls the File Search Function With the DVD-RAM Device Driver 203

제3 단계: 파일 탐색 기능 호출시 DVD-RAM 디바이스 드라이버(203)는 파일이 실시간 기록/재생 속성이 지정되어 있는지를 체크해서, 지정된 실시간 기록/재생 속성 중 탐색하는 길이 만큼의 AV 블록 조건(예로서, 파일 결함 관리, 파일 할당 , 파일 버퍼링, 연속 저장 단위의 크기, 비트레이트 정보)에 따라 도 11에 도시된 바와 같이 할당/미기록 형태의 데이터 영역을 확보한다. 확보된 한 개 또는 복수개의 영역으로 ECC 단위로 정렬하여 할당될 수 있다.Step 3: When invoking the file search function, the DVD-RAM device driver 203 checks whether a file has a real-time recording / playback property specified, and determines an AV block condition as long as the length of the file to be searched among the designated realtime recording / playback properties. As shown in FIG. 11, a data area of an allocated / unrecorded type is secured according to file defect management, file allocation, file buffering, size of continuous storage unit, and bitrate information. One or a plurality of secured areas may be allocated and arranged in units of ECC.

실시간 기록/재생 파일의 데이터 기록 방법Real time recording / playback data recording method

제1 단계: 실시간 기록/재생 파일의 데이터 기록을 위하여 호출하는 윈도우 커넬 API는 기록파일(WriteFile)이다. 응용 레이어(201)가 실시간 데이터를 저장하려면 WriteFile을 통해 윈도우 커넬을 아래 예와 같이 호출한다.First step: The Windows kernel API that calls for data recording of a real-time recording / playback file is a write file. To save real-time data, the application layer 201 calls the window kernel through WriteFile as shown in the example below.

예: WriteFile(FileHandle,AV_Buffer,32*1024,NULL,NULL)Example: WriteFile (FileHandle, AV_Buffer, 32 * 1024, NULL, NULL)

제2 단계: 윈도우 커넬(202)은 DVD-RAM 디바이스 드라이버(203)로 파일 기록 기능을 호출한다.Second Step: The Windows kernel 202 calls the file write function with the DVD-RAM device driver 203.

제3 단계: 파일 기록 기능 호출시 DVD-RAM 디바이스 드라이버(203)는 파일이 실시간 기록/재생 속성이 지정되어 있는지를 체크하고, 실시간 기록/재생 속성이 지정되어 있으면 기록하려는 A/V 데이터를 실시간 기록 조건에 따라 할당/미기록 영역에 기록한다. 기록 중 할당/미기록 영역이 없는 경우 기록한 데이터 크기를 응용 레이어(201)에게 알려준다. 응용 레이어(201)는 기록한 데이터양을 참고로 하여 탐색 명령인 SetFilePointer를 이용해서 기록하지 못한 나머지 데이터를 기록하기 위해서 실시간 기록/재생 속성으로 지정된 미기록/할당 영역을 확보하고 다시 나머지 데이터를 기록한다.Step 3: When calling the file recording function, the DVD-RAM device driver 203 checks whether the file has a real time recording / playback property specified, and if the realtime recording / playback property is specified, records the A / V data to be recorded in real time. Recording is performed in the allocated / unrecorded area according to the recording conditions. If there is no allocated / unrecorded area during recording, the application layer 201 is notified of the recorded data size. The application layer 201 secures an unrecorded / allocated area designated as a real time recording / playback property and records the remaining data in order to record the remaining data that could not be recorded using the search command SetFilePointer with reference to the recorded data amount.

즉, 도 12의 (a)에 도시된 바와 같이 도 11에 도시된 8*1024*1024 크기의 할당/미기록 할당 영역에 32*1024 만큼의 A/V 데이터를 기록하고, 나머지 영역은 여전히 할당/미기록 할당 영역으로 할당한다.That is, as shown in (a) of FIG. 12, as much as 32 * 1024 A / V data is recorded in the 8 * 1024 * 1024 sized allocation / unrecorded allocation area shown in FIG. Allocate to an unrecorded area.

도 12의 (b)에 도시된 바와 같이 32*1024 바이트 만큼 할당/미기록 영역이 부족해서 응용 레이어(201)의 written에 기록한 데이터 양을 알려주게 되면 응용레이어(201)의 written에 기록한 데이터 양을 참고로 하여 SetFilePointer를 이용해 할당/미기록 영역을 확보하거나 SetFileBitrate를 통해 지정된 비트레이트 정보를 이용하여 파일시스템 레이어가 자동적으로 미할당 영역을 확보하고, 도 12의 (c)에 도시된 바와 같이 나머지 데이터를 기록한다. 기록시에는 ECC 블록 단위로 기록되며, 기록 중 결함 블록이 발생하여 오류가 생기면 도 12의 (d)에 도시된 바와 같이 해당 블록은 할당/미기록 영역에서 제외된다.As shown in (b) of FIG. 12, when the amount of data written in the written application layer 201 is notified due to insufficient allocation / unrecorded area by 32 * 1024 bytes, the amount of data recorded in the written application layer 201 is written. For reference, the allocated / unrecorded area is secured using SetFilePointer, or the file system layer automatically secures the unallocated area using bitrate information specified through SetFileBitrate, and the remaining data is stored as shown in (c) of FIG. Record it. During recording, recording is performed in units of ECC blocks. If a defective block occurs during recording and an error occurs, the corresponding block is excluded from the allocated / unrecorded area as shown in FIG.

이때, 구간별로 비트레이트를 구분할 수 있다면 파일 제어 정보 영역에 구간별 비트레이트 정보를 기록할 수도 있다. 즉, 도 13의 (a)와 (b)는 구간별 기록/재생 비트레이트가 상이한 경우에 대응하여 파일 제어 정보 영역에 복수개의 비트레이트값(여기서는 V1,V2,V3)과 구간에 대한 정보가 실시간 기록/재생 정보로서 저장되는 예를 보인 도면이고, 도 13의 (c)와 (d)는 기록/재생 비트레이트가 일정한 경우의 파일 제어 정보 영역에 하나의 비트레이트값(여기서는 Vb)이 실시간 기록/재생 정보로서 저장되는 예를 보인 도면이다.At this time, if the bit rate can be classified for each section, the bit rate information for each section may be recorded in the file control information area. That is, FIGS. 13A and 13B show a plurality of bit rate values (here, V 1 , V 2 , and V 3 ) in a file control information area in response to a case where the recording / reproducing bit rate for each section is different. FIG. 13 (c) and (d) show one bit rate value (here, V) in the file control information area when the recording / reproducing bit rate is constant. b ) shows an example of storing as real time recording / reproducing information.

실시간 기록/재생 파일 데이터 재생 방법Real time recording / playback file data playback method

제1 단계; 실시간 기록/재생 파일의 데이터 재생을 위하여 호출하는 윈도우커넬 API는 독출파일(ReadFile)이다. 응용 레이어(201)가 실시간 데이터를 재생하려면 ReadFile을 통해 윈도우 커넬을 아래 예와 같이 호출한다First step; The Windows kernel API that calls for data playback of real-time recording / playback files is a read file. In order for the application layer 201 to play real-time data, call the window kernel through ReadFile as in the example

예: ReadFile(FileHandle,AV_Buffer,32*1024,NULL,NULL)Example: ReadFile (FileHandle, AV_Buffer, 32 * 1024, NULL, NULL)

제2 단계: 윈도우 커넬(202)은 DVD-RAM 디바이스 드라이버(203)로 파일 독출 기능을 호출한다.Second Step: The Windows kernel 202 calls the file read function with the DVD-RAM device driver 203.

제3 단계: 파일 독출 기능 호출시 DVD-RAM 디바이스 드라이버(203)는 파일이 실시간 기록/재생 속성이 지정되어 있는지를 체크하고, 실시간 기록/재생 속성이 지정되어 있으면 재생하는 길이 만큼의 A/V 데이터를 실시간 재생 조건에 따라 A/V 데이터 영역에서 재생한다.Step 3: When calling the file reading function, the DVD-RAM device driver 203 checks whether a file has a real-time recording / playback property, and if the realtime recording / playback property is specified, the A / V of the length to play back. Data is played back in the A / V data area according to real-time playback conditions.

여기서, 재생하고자 하는 블록의 결함이 발생되면 할당/미기록 파일 속성을 부여하고 읽지 않는다는 지시를 하는 읽기 명령이 DVD-RAM 디바이스 드라이버(203)에서 드라이브(204)로 전송된다.Here, when a defect of a block to be reproduced occurs, a read command is given from the DVD-RAM device driver 203 to the drive 204 to give an assignment / unrecorded file attribute and instruct not to read.

실시간 기록 및 재생시에는 DVD-RAM 드라이버의 명령어 인터페이스에 의해 제공되는 실시간 기록 명령어와 재생 명령어를 이용해야 한다.Real time recording and playback should use the real time recording and playback commands provided by the DVD-RAM driver's command interface.

실시간 기록/재생 파일 데이터 부분 삭제 방법How to delete the real time recording / playback file data

제1 단계; 실시간 기록/재생 파일의 데이터 부분 삭제를 위하여 호출하는 윈도우 커넬 API는 삭제부분파일(DeletePart0fFile)이다. 응용 레이어(201)가 실시간 데이터를 부분 삭제하려면 DeletePart0fFile을 통해 윈도우 커넬을 아래 예와 같이 호출한다First step; The Windows kernel API called to delete the data portion of the real-time recording / playback file is the DeletePart File (DeletePart0fFile). To delete part of the real-time data, the application layer 201 calls the window kernel through DeletePart0fFile as in the example below.

예: DeletePart0fFile(FileHandle,Offset,Size)Example: DeletePart0fFile (FileHandle, Offset, Size)

제2 단계: 윈도우 커넬(202)은 DVD-RAM 디바이스 드라이버(203)로 파일 부분 삭제 기능을 호출한다.Second Step: The Windows kernel 202 calls the file portion erase function with the DVD-RAM device driver 203.

제3 단계: 파일 부분 삭제 기능 호출시 DVD-RAM 디바이스 드라이버(203)는 파일이 실시간 기록/재생 속성이 지정되어 있는지를 체크하고, 실시간 기록/재생 속성이 지정되어 있으면 데이터를 실시간 조건에 따라 A/V 데이터 영역에서 삭제한다. 파일 부분 삭제시 ECC 블록 단위의 정렬을 위하여 시스템 파일상에서 루트 디렉토리 아래에 더미 파일 또는 ECC 패딩(Padding)을 관리하는 파일을 만든다.Step 3: When calling the file part deletion function, the DVD-RAM device driver 203 checks whether a file has a real-time recording / playback property. Delete in the / V data area. When deleting a file part, a dummy file or a file managing ECC padding is created under the root directory on the system file for sorting by ECC blocks.

도 14의 (a)는 ECC 단위로 A/V 데이터가 배열된 실시간 파일에서 삭제하려는 영역이 도시되어 있고, 삭제 영역은 도 14의 (b)에 도시된 바와 같이 자유 영역으로 할당되고, 삭제 영역의 경계에서 걸쳐진 ECC 블록 중 삭제 영역에 속하는 A/V 데이터 구간을 패딩 공간이라고 하고, 이 패딩 공간의 A/V 데이터는 시스템 파일상에서 별도의 파일로 관리되는 데 ECC 패딩 스페이스(space) 리스트내의 AD(Application Descriptor) 리스트에 저장된다. 걸쳐진 ECC 블록중 삭제 영역에 속하지 않는 A/V 데이터는 파일 엔트리의 AD 리스트에 저장된다. 이 ECC 패딩 스페이스 리스트는 다시 삭제 또는 기입 등의 기능에 따라 갱신(updating)된다. 본 발명의 방법의 적용이 UDF 시스템인 경우 단기 할당 서술자(Short Allocation Descriptor)로 표현이 가능하다.FIG. 14A illustrates an area to be deleted from a real-time file in which A / V data is arranged in units of ECC, and the deletion area is allocated to a free area as shown in FIG. The A / V data section belonging to the erased area among the ECC blocks spanning the boundary of is called padding space, and the A / V data of this padding space is managed as a separate file on the system file. It is stored in the (Application Descriptor) list. The A / V data which does not belong to the deletion area among the overlaid ECC blocks is stored in the AD list of file entries. This ECC padding space list is updated again according to a function such as deletion or writing. When the method of the present invention is applied to the UDF system, it can be expressed as a short allocation descriptor.

도 14의 (b)에서 삭제 영역의 경계에 걸쳐진 ECC 블록의 A/V 파일 공간과 패딩 공간은 모두 범위(extent) 길이를 가진다. 그러나, 도 14의 (c)에 도시된 바와같이 삭제 영역의 경계에 걸쳐진 ECC 블록의 A/V 파일 공간은 extent 길이와 정보 길이를 모두 가지지만 패딩 공간에 대해서는 extent 길이는 가지지만 정보 길이는 "0"인 할당 서술자(allocation descriptor)로 A/V 파일 엔트리내의 AD 리스트에서 관리된다. 걸쳐진 ECC블록중 삭제 영역에 속하지 않는 A/V 파일 공간도 AV 파일 엔트내의 AD 리스트에서 관리된다. 이 경우에는 UDF의 확장 할당 서술자(Extended Allocation descriptor)로 표현이 가능하다.In FIG. 14B, both the A / V file space and the padding space of the ECC block that span the boundary of the erase area have an extended length. However, as shown in (c) of FIG. 14, the A / V file space of the ECC block that spans the boundary of the erase area has both an extent length and an information length, but has an extent length for the padding space, but has an information length ". An allocation descriptor of 0 ", managed in the AD list in the A / V file entry. A / V file spaces that do not belong to the deletion area among the spanned ECC blocks are also managed in the AD list in the AV file end. In this case, it can be expressed as an extended allocation descriptor of the UDF.

실시간 기록/재생 파일 종료 방법How to end the realtime recording / playback file

제1 단계: 실시간 파일 종료를 위하여 호출하는 윈도우 커넬 API는 종료핸들(CloseHandle)이다. 응용 레이어(201)가 실시간 기록/재생 파일을 종료하려면 CloseHandle을 통해 윈도우 커넬(202)을 아래 예와 같이 호출한다.Step 1: The Windows kernel API that calls for real-time file termination is a CloseHandle. To terminate the real-time recording / playback file, the application layer 201 calls the window kernel 202 through CloseHandle as shown in the example below.

예: CloseHandle(FileHandle)Example: CloseHandle (FileHandle)

제2 단계: 윈도우 커넬(202)는 DVD-RAM 디바이스 드라이버(203)로 파일 탐색 기능을 호출한다Second Step: The Windows Kernel 202 Calls the File Search Function With the DVD-RAM Device Driver 203

제3 단계: 파일 종료 기능 호출시 DVD-RAM 디바이스 드라이버(203)는 파일 제어 정보(파일 엔트리등) 및 디스크 정보(일 예로 자유 영역 정보등)을 갱신한다.Step 3: Upon invoking the file termination function, the DVD-RAM device driver 203 updates file control information (file entry, etc.) and disk information (eg, free area information, etc.).

상술한 바와 같이, 본 발명은 실시간 기록/재생 속성을 파일에 부여해서 일반 파일과 구분된 기록/재생을 하면 실시간 기록/재생 파일의 실시간 기록/재생을 보장할 수 있는 효과가 있다.As described above, the present invention has an effect of ensuring real time recording / playback of a realtime recording / playback file by assigning a realtime recording / playback property to a file to perform recording / playback separated from a normal file.

또한, 본 발명은 실시간 파일과 일반 파일을 구분하고, 실시간 파일에 기록/재생시 결함 관리 정보, 파일 할당 정보, 버퍼링 정보 및 단계화된 연속 저장 단위의 크기 정보를 실시간 기록/재생 정보로서 사용함으로써 실시간 기록/재생을 효율적으로 수행할 수 있다.In addition, the present invention distinguishes between a real-time file and a general file, by using defect management information, file allocation information, buffering information, and size information of the staged continuous storage unit as real-time recording / playback information when recording / playback to a real-time file Real time recording / playback can be performed efficiently.

또한, 본 발명은 구간별 기록/재생 비트레이트에 대한 실시간 기록/재생 정보를 이용하여 스핀들 모터의 제어 정보를 얻어 제어할 수 있는 효과가 있다.In addition, the present invention has the effect of obtaining and controlling the control information of the spindle motor by using real-time recording / playback information on the recording / playback bit rate for each section.

Claims (80)

(a) 실시간 기록/재생을 요구하는 실시간 파일을 실시간 재생을 보장하는 실시간 기록/재생 정보에 근거하여 기록 매체에 배치 및 기록하고, 상기 실시간 기록/재생 정보를 상기 기록 매체에 기록하는 단계; 및(a) arranging and recording a real-time file requiring real-time recording / reproducing on a recording medium based on real-time recording / reproducing information for ensuring real-time reproduction, and recording the real-time recording / reproducing information on the recording medium; And (b) 상기 실시간 기록/재생 정보를 이용하여 상기 실시간 파일 데이터를 독출 및 재생하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.(b) reading and reproducing the real-time file data using the real-time recording / reproducing information. 제1항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 기록 매체 상의 파일 제어 정보 영역에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.The recording and / or reproducing method according to claim 1, wherein the recording of the real-time recording / reproducing information comprises storing the real-time recording / reproducing information in a file control information area on the recording medium. 제1항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 기록 매체의 UDF 시스템의 파일 제어 정보 영역에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.The recording and / or recording method according to claim 1, wherein the recording of the real-time recording / reproducing information comprises storing the real-time recording / reproducing information in a file control information area of a UDF system of the recording medium. How to play. 제1항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 대응하는 실시간 파일 각각에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.The recording and / or reproducing method according to claim 1, wherein the recording of the real-time recording / reproducing information comprises storing the real-time recording / reproducing information in each corresponding real-time file. 제1항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 실시간 파일과 연관된 상기 실시간 기록/재생 정보를 상기 실시간 파일과는 별개의 파일에 저장하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.The method of claim 1, wherein recording the real-time recording / playback information includes storing the realtime recording / playback information associated with the realtime file in a file separate from the realtime file. And / or how to play. 제1항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 기록 매체의 볼륨 구조 영역(volume structure area)에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.The recording and / or reproducing method according to claim 1, wherein the recording of the real-time recording / reproducing information comprises storing the real-time recording / reproducing information in a volume structure area of the recording medium. Or how to play. 제1항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 파일이 실시간 기록/재생을 요구하는 파일임을 나타내는 파일 지시 정보를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.The recording and / or reproducing method according to claim 1, wherein the real-time recording / reproducing information includes file indication information indicating that the real-time file is a file requiring real-time recording / reproducing. 제1항에 있어서, 상기 실시간 파일은 다른 비트 레이트를 갖는 구간들을 가지며, 상기 실시간 기록/재생 정보는 상기 구간들과 연관된 정보와 상기 구간들의다른 비트 레이트에 대응하는 복수개의 비트 레이트 값을 포함하는 기록/재생 비트 레이트 정보를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.2. The real-time file of claim 1, wherein the real-time file has sections having different bit rates, wherein the real-time recording / playback information includes a plurality of bit rate values corresponding to information associated with the sections and different bit rates of the sections. Recording / reproduction bit rate information. 제8항에 있어서, 상기 배치하는 단계는 상기 기록/재생 비트 레이트 정보에 따라 상기 실시간 파일의 파일 데이터 영역을 자동적으로 배치하는 것을 특징으로 하는 기록 및/또는 재생 방법.10. The recording and / or reproducing method according to claim 8, wherein the disposing step automatically arranges a file data area of the real-time file according to the recording / reproducing bit rate information. 제9항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 기록/재생 비트 레이트의 최대 허용치 값을 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.10. The recording and / or reproducing method according to claim 9, wherein the real time recording / reproducing information includes a maximum allowable value of the real time recording / reproducing bit rate. 제1항에 있어서, 상기 실시간 기록/재생 정보는 현재 데이터 블록의 재생시간이 다음에 재생될 데이터 블록의 탐색 시간과 독출 시간의 합보다 커야 한다는 조건을 만족시키는 최소 연속 저장 블록에 대한 정보, 최소 연속 저장을 보장하는 재생 시간에 대한 정보 중 적어도 하나 이상을 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.The information on the minimum continuous storage block according to claim 1, wherein the real time recording / reproducing information is a minimum and minimum information about a continuous storage block that satisfies the condition that the reproduction time of the current data block must be greater than the sum of the seek time and the read time of the next data block to be reproduced. And at least one of information on a reproduction time to ensure continuous storage. 제11항에 있어서, 상기 단계 (a)는 상기 실시간 파일을 상기 최소 연속 저장 블록에 배치하는 것을 특징으로 하는 기록 및/또는 재생 방법.12. The method of claim 11, wherein step (a) places the real time file in the minimum continuous storage block. 제11항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 실시간 파일이 상기 최소 연속 저장 블록의 단위로 기록되는 동안, 상기 실시간 파일의 끝부분이 상기 최소 연속 저장 블록 단위 만큼의 데이터로 채워지지 않는 경우, 채우지 못한 크기에 대응하는 데이터 블록의 수가 할당되었지만 기록되지 않았음을 나타내는 속성 정보를 실시간 기록/재생 정보로서 기록하는 것을 특징으로 하는 기록 및/또는 재생 방법.12. The method of claim 11, wherein the recording of the real-time recording / playback information comprises: filling the minimum continuous storage block unit with the end of the real-time file while the real-time file is recorded in the unit of the minimum continuous storage block. And recording information as real-time recording / reproducing information, indicating that the number of data blocks corresponding to the unfilled size is allocated but not recorded. 제11항에 있어서, 상기 최소 연속 저장 블록들은 에러 정정 코드 블록 단위와 채대 탐색 시간을 고려하여 단계화하는 것을 특징으로 하는 기록 및/또는 재생 방법.12. The recording and / or reproducing method according to claim 11, wherein the minimum consecutive storage blocks are staged in consideration of an error correction code block unit and a channel search time. 제14항에 있어서, 상기 배치하는 단계는 상기 단계화된 최소 연속 저장 블록내에 상기 실시간 파일을 배치하는 것을 특징으로 하는 기록 및/또는 재생 방법.15. The method of claim 14, wherein the disposing step places the real time file within the staged minimum contiguous storage block. 제11항에 있어서, 상기 실시간 기록/재생 정보는 현재 파일이 실시간 기록/재생을 할 수 있도록 배치되었는지를 나타내는 현재 실시간 기록/재생 가능 상태 정보를 더 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.12. The recording and / or reproducing method of claim 11, wherein the real-time recording / reproducing information further includes current real-time recording / reproducing state information indicating whether the current file is arranged for real-time recording / reproducing. . 제11항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 파일들을 제어하기 위한 조건들로 구분되는 연속 기록/재생 타입 정보를 더 포함하며, 상기 조건들은 기록/재생 비트레이트 정보, 파일 결함 관리 정보, 파일 할당 정보, 파일 버퍼링 정보, 및 상기 최소 연속 저장 블록에 대한 정보를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.12. The apparatus of claim 11, wherein the real-time recording / reproducing information further includes continuous recording / reproducing type information divided into conditions for controlling the real-time files, wherein the conditions are recording / reproducing bit rate information and file defect management information. Recording file allocation information, file buffering information, and information on the minimum continuous storage block. 제11항에 있어서, 상기 실시간 기록/재생 정보는 독출 또는 기입 실패시 결함 블록을 여유 영역의 블록으로 대치 및 결함 블록을 다시 독출 또는 기입을 시도하지 않는다는 파일 결함 관리 정보, 여유 영역에 대치된 결함 블록에는 데이터 블록을 할당하지 않는 파일 할당 정보 및 버퍼로부터 초기 독출되는 데이터양 및 초기 기입되는 데이터양에 관한 파일 버퍼링 정보 중 하나 이상을 더 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.12. The defect as set forth in claim 11, wherein the real-time recording / reproducing information replaces a defective block with a block of a free area and fails to read or write a defective block again when a read or write fails. The block further includes at least one of file allocation information not allocating a data block and file buffering information regarding the amount of data initially read from the buffer and the amount of data initially written. 제1항에 있어서, 상기 실시간 파일을 독출 및 재생하는 단계는The method of claim 1, wherein reading and playing the real-time file comprises: 상기 기록 매체 상의 볼륨 영역을 읽는 단계; 및Reading a volume area on the recording medium; And 상기 볼륨 영역에 상기 실시간 기록/재생 정보가 존재하는 경우 상기 실시간 기록/재생 정보를 고려하여 상기 실시간 파일들 중 하나로서 파일을 재생하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.And reproducing a file as one of the real-time files in consideration of the real-time recording / reproducing information when the real-time recording / reproducing information exists in the volume area. 제19항에 있어서, 상기 파일을 재생하는 단계는 상기 실시간 기록/재생 정보에 따라 기록/재생 비트 레이트 정보, 결함 관리 정보, 파일 할당 정보, 및 파일 버퍼링 정보를 분석하고, 최소 연속 저장 블록 단위로 파일 데이터를 독출하여 재생하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.20. The method of claim 19, wherein the reproducing of the file comprises analyzing recording / reproducing bit rate information, defect management information, file allocation information, and file buffering information according to the real-time recording / reproducing information, and performing a minimum continuous storage block unit. And reading out and reproducing the file data. 제1항에 있어서, 상기 실시간 파일을 독출 및 재생하는 단계는The method of claim 1, wherein reading and playing the real-time file comprises: 상기 실시간 기록/재생 정보가 파일 영역에 존재하는지 여부를 판단하는 단계와,Determining whether the real-time recording / playback information exists in a file area; 상기 파일 영역에 상기 실시간 기록/재생 정보가 존재하는 경우 상기 실시간 기록/재생 정보를 고려하여 파일을 재생하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.And reproducing the file in consideration of the real time recording / reproducing information when the real time recording / reproducing information exists in the file area. 제21항에 있어서, 상기 파일을 재생하는 단계는 상기 실시간 기록/재생 정보에 따라 기록/재생 비트 레이트 정보, 결함 관리 정보, 파일 할당 정보, 및 파일 버퍼링 정보를 분석하고, 최소 연속 저장 블록 단위로 파일 데이터를 독출하여 재생하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.22. The method of claim 21, wherein the reproducing of the file comprises analyzing the recording / reproducing bit rate information, the defect management information, the file allocation information, and the file buffering information according to the real time recording / reproducing information, and performing a minimum continuous storage block unit. And reading out and reproducing the file data. 제1항에 있어서, 상기 방법은 상기 기록 매체상에 기록된 상기 실시간 기록/재생 정보와 일반적인 결함 관리 정보에 근거하여 결함 블록을 제외한 자유 영역(free area)에 파일을 복사하는 단계를 더 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.2. The method of claim 1, further comprising copying a file to a free area excluding a defective block based on the real time recording / reproducing information and general defect management information recorded on the recording medium. Recording and / or reproducing method. 제23항에 있어서, 상기 파일을 복사하는 단계는 상기 실시간 기록/재생 정보와 상기 실시간 파일을 함께 복사하는 것을 특징으로 하는 기록 및/또는 재생 방법.The recording and / or reproducing method according to claim 23, wherein the copying of the file comprises copying the real-time recording / reproducing information and the real-time file together. 제23항에 있어서, 상기 파일의 복사는 상기 실시간 기록/재생 정보에 근거하여 실시간 파일 데이터만 복사하는 것을 특징으로 하는 기록 및/또는 재생 방법.24. The recording and / or reproducing method according to claim 23, wherein the copying of the file copies only real-time file data based on the real-time recording / reproducing information. 제11항에 있어서, 상기 실시간 기록/재생 정보는 현재 파일을 실시간으로 기록/재생하는 것이 가능한지 여부를 나타내는 현재 실시간 기록/재생 상태 정보를 나타내는 것을 더 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.12. The recording and / or reproducing method according to claim 11, wherein the real time recording / reproducing information further includes current real time recording / reproducing state information indicating whether the current file can be recorded / reproduced in real time. . 제1항에 있어서, 상기 방법은The method of claim 1 wherein the method is 상기 기록 매체에 일반적인 결함 관리 정보를 기록하는 단계와,Recording general defect management information on the recording medium; 상기 기록 매체에 기록된 상기 실시간 기록/재생 정보 및 상기 일반적인 결함 관리 정보에 기초해서 결함 블록을 제외한 자유 영역에 파일을 복사하는 단계를 더 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.Copying a file to a free area excluding a defective block based on the real time recording / reproducing information and the general defect management information recorded on the recording medium. 제27항에 있어서, 상기 파일을 복사하는 단계는 상기 실시간 기록/재생 정보와 상기 파일을 함께 복사하는 것을 특징으로 하는 기록 및/또는 재생 방법.The recording and / or reproducing method according to claim 27, wherein the copying of the file comprises copying the real-time recording / reproducing information and the file together. 제27항에 있어서, 상기 파일을 복사하는 단계는 상기 실시간 기록/재생 정보에 근거하여 단지 실시간 파일 데이터만 복사하는 것을 특징으로 하는 기록 및/또는 재생 방법.28. The method of claim 27, wherein copying the file copies only real-time file data based on the real-time recording / playback information. 실시간 기록/재생을 요구하는 실시간 파일을 실시간 재생을 보장하는 실시간 기록/재생 정보에 따라 기록 매체에 배치 및 기록하는 단계; 및Arranging and recording a real-time file requiring real-time recording / reproducing on a recording medium according to real-time recording / reproducing information for ensuring real-time reproduction; And 상기 실시간 기록/재생 정보를 상기 기록 매체에 기록하는 단계를 포함하는 것을 특징으로 하는 기록 방법.And recording the real time recording / reproducing information on the recording medium. 제30항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 기록 매체의 파일 제어 정보 영역에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 방법.31. The recording method as claimed in claim 30, wherein the recording of the real time recording / reproducing information comprises storing the real time recording / reproducing information in a file control information area of the recording medium. 제30항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 기록 매체의 UDF 시스템의 파일 제어 정보 영역 내에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 방법.31. The recording method according to claim 30, wherein the recording of the real time recording / reproducing information includes storing the real time recording / reproducing information in a file control information area of a UDF system of the recording medium. 제30항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 각각의 대응 실시간 파일에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 방법.31. The method of claim 30, wherein recording the real time recording / playback information comprises storing the realtime recording / playback information in each corresponding realtime file. 제30항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 실시간 파일과 별개의 파일에 상기 실시간 파일과 연관된 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 방법.31. The method of claim 30, wherein recording the real time recording / playback information comprises storing the realtime recording / playback information associated with the real time file in a file separate from the real time file. 제30항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 기록 매체의 볼륨 구조 영역(volume structure area)에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 방법.31. The recording method of claim 30, wherein recording the real time recording / reproducing information includes storing the real time recording / reproducing information in a volume structure area of the recording medium. 제30항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 파일이 실시간 기록/재생을 요구한다는 것을 나타내는 파일 지시 정보를 포함하는 것을 특징으로 하는 기록 방법.31. The recording method as claimed in claim 30, wherein the real time recording / reproducing information includes file indication information indicating that the real time file requires real time recording / reproducing. 제30항에 있어서, 상기 실시간 파일은 다른 비트 레이트를 갖는 구간들을 가지며, 상기 실시간 기록/재생 정보는 상기 구간들과 연관된 정보와 상기 구간들의 다른 비트 레이트에 대응하는 복수개의 비트 레이트 값을 포함하는 기록/재생 비트 레이트 정보를 포함하는 것을 특징으로 하는 기록 방법.31. The apparatus of claim 30, wherein the real-time file has sections having different bit rates, wherein the real-time recording / playback information includes a plurality of bit rate values corresponding to information associated with the sections and different bit rates of the sections. Recording / reproducing bit rate information. 제37항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 기록/재생 비트 레이트 정보에 따라 상기 실시간 파일의 파일 데이터 영역을 자동적으로 배치하는 것을 특징으로 하는 기록 방법.38. The recording method according to claim 37, wherein the recording of the real time recording / reproducing information automatically arranges a file data area of the real-time file according to the recording / reproducing bit rate information. 제38항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 기록/재생 비트 레이트의 최대 허용치 값을 포함하는 것을 특징으로 하는 기록 방법.The recording method according to claim 38, wherein the real time recording / reproducing information includes a maximum allowable value of the real time recording / reproducing bit rate. 제30항에 있어서, 상기 실시간 기록/재생 정보는 현재 데이터 블록의 재생시간이 다음에 재생될 데이터 블록의 탐색 시간과 독출 시간의 합보다 커야 한다는 조건을 만족시키는 최소 연속 저장 블록에 대한 정보, 최소 연속 저장을 보장하는 재생 시간에 대한 정보 중 적어도 하나 이상을 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.32. The method of claim 30, wherein the real-time recording / reproducing information is information about a minimum continuous storage block that satisfies the condition that the reproduction time of the current data block must be greater than the sum of the seek time and the read time of the next data block to be reproduced. And at least one of information on a reproduction time to ensure continuous storage. 제40항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 상기 최소 연속 저장 블록에 상기 실시간 파일을 배치하는 단계를 포함하는 것을 특징으로 하는 기록 방법.41. The method of claim 40, wherein recording the real time recording / playback information comprises placing the real time file in the minimum continuous storage block. 제40항에 있어서, 상기 실시간 기록/재생 정보를 기록하는 단계는 실시간 파일이 상기 최소 연속 저장 블록의 단위로 기록되는 동안, 상기 실시간 파일의 끝부분이 상기 최소 연속 저장 블록 단위 만큼의 데이터로 채워지지 않는 경우, 채우지 못한 크기에 대응하는 데이터 블록의 수가 할당되었지만 기록되지 않았음을 나타내는 속성 정보를 실시간 기록/재생 정보로서 기록하는 것을 특징으로 하는 기록 방법.41. The method of claim 40, wherein the recording of the real-time recording / playback information comprises filling an end of the real-time file with data of the minimum continuous storage block unit while the real-time file is recorded in the unit of the minimum continuous storage block. And recording information as real time recording / reproduction information indicating that the number of data blocks corresponding to the unfilled size is allocated but not recorded. 제40항에 있어서, 에러 정정 코드 블록의 크기와 채대 탐색 시간에 따라 상기 최소 연속 저장 블록을 단계화하는 것을 특징으로 하는 기록 방법.41. The method of claim 40, wherein the minimum consecutive storage blocks are staged in accordance with the size of the error correction code block and the stand-by search time. 제43항에 있어서, 상기 실시간 파일을 배치하고 기록하는 단계는 상기 실시간 파일을 상기 단계화된 최소 연속 저장 블록내에 배치하는 것을 특징으로 하는 기록 방법.44. The method of claim 43, wherein placing and recording the real-time file places the real-time file in the staged minimum contiguous storage block. 제40항에 있어서, 상기 실시간 기록/재생 정보는 현재 파일이 실시간 기록/재생을 할 수 있도록 배치되었는지를 나타내는 현재 실시간 기록/재생 가능 상태 정보를 더 포함하는 것을 특징으로 하는 기록 방법.41. The method of claim 40, wherein the real-time recording / playback information further includes current realtime recording / playback status information indicating whether the current file is arranged for real time recording / playback. 제40항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 파일들을 제어하기 위한 조건들로 구분되는 연속 기록/재생 타입 정보를 더 포함하며, 상기 조건들은 기록/재생 비트레이트 정보, 파일 결함 관리 정보, 파일 할당 정보, 파일 버퍼링 정보, 및 상기 최소 연속 저장 블록에 대한 정보를 포함하는 것을 특징으로 하는 기록 방법.41. The apparatus of claim 40, wherein the real-time recording / reproducing information further includes continuous recording / reproducing type information divided into conditions for controlling the real-time files, wherein the conditions are recording / reproducing bit rate information and file defect management information. , File allocation information, file buffering information, and information on the minimum continuous storage block. 제40항에 있어서, 상기 실시간 기록/재생 정보는 독출 또는 기입 실패시 결함 블록을 여유 영역의 블록으로 대치 및 결함 블록을 다시 독출 또는 기입을 시도하지 않는다는 파일 결함 관리 정보, 여유 영역에 대치된 결함 블록에는 데이터 블록을 할당하지 않는 파일 할당 정보 및 버퍼로부터 초기 독출되는 데이터양 및 초기 기입되는 데이터양에 관한 파일 버퍼링 정보 중 하나 이상을 더 포함하는 것을 특징으로 하는 기록 방법.The file defect management information according to claim 40, wherein the real-time recording / reproducing information indicates that the defective block is replaced by the file defect management information that replaces the defective block with the free area block and does not attempt to read or write the defective block again when the read or write fails. The block further includes at least one of file allocation information not allocating a data block and file buffering information regarding the amount of data initially read from the buffer and the amount of data initially written. 제40항에 있어서, 상기 실시간 기록/재생 정보는 현재 파일을 실시간으로 기록/재생하는 것이 가능한지 여부를 나타내는 현재 실시간 기록/재생 가능 상태 정보를 더 포함하는 것을 특징으로 하는 기록 방법.41. The recording method according to claim 40, wherein the real time recording / playback information further includes current realtime recording / playback status information indicating whether it is possible to record / play back the current file in real time. 실시간 재생을 보장하는 실시간 기록/재생 정보를 사용하여 실시간 기록/재생을 요구하는 실시간 파일을 판독하는 단계, 및Reading real-time files requiring real-time recording / playback using realtime recording / playback information to ensure realtime playback, and 상기 판독된 실시간 파일을 재생하는 단계를 포함하며,Playing the read real-time file; 상기 실시간 기록/재생을 요구하는 실시간 파일은 상기 실시간 기록/재생 정보에 따라 기록 매체에 저장되며, 상기 실시간 기록/재생 정보는 상기 기록 매체에 저장되는 것을 특징으로 하는 재생 방법.And a real time file requiring the real time recording / reproducing is stored in a recording medium according to the real time recording / reproducing information, and the real time recording / reproducing information is stored in the recording medium. 제49항에 있어서, 상기 실시간 파일을 판독하는 단계는 상기 기록 매체의 파일 제어 정보로부터 상기 실시간 기록/재생 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 재생 방법.50. The reproduction method according to claim 49, wherein the reading of the real time file comprises reading the real time recording / reproducing information from file control information of the recording medium. 제49항에 있어서, 상기 실시간 파일을 판독하는 단계는 상기 기록 매체의UDF 시스템의 파일 제어 정보 영역으로부터 상기 실시간 기록/재생 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 재생 방법.50. The reproduction method according to claim 49, wherein the reading of the real time file comprises reading the real time recording / reproducing information from a file control information area of a UDF system of the recording medium. 제49항에 있어서, 상기 실시간 파일을 판독하는 단계는 각각의 대응 실시간 파일 내의 상기 실시간 기록/재생 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 재생 방법.50. The method of claim 49, wherein reading the real time file comprises reading the real time recording / playback information in each corresponding real time file. 제49항에 있어서, 상기 실시간 파일을 판독하는 단계는 상기 실시간 파일과는 별개의 파일 내의 상기 실시간 파일과 연관된 상기 실시간 기록/재생 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 재생 방법.50. The method of claim 49, wherein reading the real time file comprises reading the real time recording / playback information associated with the real time file in a file separate from the real time file. 제49항에 있어서, 상기 실시간 파일을 판독하는 단계는 상기 기록 매체의 볼륨 구조 영역 내의 상기 실시간 기록/재생 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 재생 방법.50. The method of claim 49, wherein reading the real time file includes reading the real time recording / reproducing information in a volume structure area of the recording medium. 제49항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 파일이 실시간 기록/재생을 요구하는 것을 나타내는 파일 지시 정보를 포함하는 것을 특징으로 하는 재생 방법.50. The reproduction method according to claim 49, wherein the real time recording / reproducing information includes file indication information indicating that the real time file requires real time recording / reproducing. 제49항에 있어서, 상기 실시간 파일은 다른 비트 레이트를 갖는 구간들을 가지며, 상기 실시간 기록/재생 정보는 상기 구간들과 연관된 정보와 상기 구간들의 다른 비트 레이트에 대응하는 복수개의 비트 레이트 값을 포함하는 기록/재생 비트 레이트 정보를 포함하며, 상기 재생 방법은 상기 대응하는 복수개의 비트 레이트값에 따라 상기 실시간 파일들의 구간들을 판독하는 것을 특징으로 하는 재생 방법.50. The apparatus of claim 49, wherein the real time file has sections having different bit rates, wherein the real time recording / playback information includes a plurality of bit rate values corresponding to information associated with the sections and different bit rates of the sections. And recording / reproducing bit rate information, wherein said reproducing method reads sections of said real-time files according to said corresponding plurality of bit rate values. 제56항에 있어서, 상기 실시간 파일의 파일 데이터 영역은 상기 기록/재생 비트 레이트 정보에 따라 배치되는 것을 특징으로 하는 재생 방법.57. The reproduction method according to claim 56, wherein the file data area of said real time file is arranged in accordance with said recording / reproducing bit rate information. 제57항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 기록/재생 비트 레이트의 최대 허용치를 포함하는 것을 특징으로 하는 재생 방법.58. The reproduction method according to claim 57, wherein the real time recording / reproducing information includes a maximum allowable value of the real time recording / reproducing bit rate. 제49항에 있어서, 상기 실시간 기록/재생 정보는 현재 데이터 블록의 재생시간이 다음에 재생될 데이터 블록의 탐색 시간과 독출 시간의 합보다 커야 한다는 조건을 만족시키는 최소 연속 저장 블록에 대한 정보, 최소 연속 저장을 보장하는 재생 시간에 대한 정보 중 적어도 하나 이상을 포함하는 것을 특징으로 하는 재생 방법.50. The method of claim 49, wherein the real-time recording / reproducing information is information about a minimum continuous storage block that satisfies the condition that the reproduction time of the current data block must be greater than the sum of the seek time and the read time of the next data block to be reproduced. And at least one of information on a reproduction time to ensure continuous storage. 제59항에 있어서, 상기 실시간 파일들은 상기 최소 연속 저장 블록들에 배치되는 것을 특징으로 하는 재생 방법.60. The method of claim 59, wherein the real time files are located in the minimum consecutive storage blocks. 제59항에 있어서, 상기 실시간 파일이 상기 최소 연속 저장 블록의 단위로 기록되는 동안, 상기 실시간 파일의 끝부분이 상기 최소 연속 저장 블록 단위 만큼의 데이터로 채워지지 않는 경우, 상기 실시간 기록/재생 정보는 채우지 못한 크기에 대응하는 데이터 블록의 수가 할당되었지만 기록되지 않았음을 나타내는 속성으로서 기록되는 것을 특징으로 하는 재생 방법.The real time recording / reproducing information according to claim 59, wherein when the end of the real time file is not filled with data of the minimum continuous storage block unit while the real time file is recorded in the unit of the minimum continuous storage block, the real time recording / reproducing information. Is recorded as an attribute indicating that the number of data blocks corresponding to the unfilled size is allocated but not recorded. 제59항에 있어서, 상기 최소 연속 저장 블록들은 에러 정정 코드 블록 단위와 채대 탐색 시간을 고려하여 단계화하는 것을 특징으로 하는 재생 방법.60. The method of claim 59, wherein the minimum consecutive storage blocks are staged in consideration of an error correction code block unit and a stalk search time. 제59항에 있어서, 상기 실시간 기록/재생 정보는 현재 파일이 실시간 기록/재생을 할 수 있도록 배치되었는지를 나타내는 현재 실시간 기록/재생 가능 상태 정보를 더 포함하는 것을 특징으로 하는 재생 방법.60. The method of claim 59, wherein the real-time recording / playback information further includes current real-time recording / playback status information indicating whether the current file is arranged for real-time recording / playback. 제59항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 파일들을 제어하기 위한 조건들로 구분되는 연속 기록/재생 타입 정보를 더 포함하며, 상기 조건들은 기록/재생 비트레이트 정보, 파일 결함 관리 정보, 파일 할당 정보, 파일 버퍼링 정보, 및 상기 최소 연속 저장 블록에 대한 정보를 포함하는 것을 특징으로 하는 재생 방법.60. The apparatus of claim 59, wherein the real-time recording / reproducing information further includes continuous recording / reproducing type information divided into conditions for controlling the real-time files, wherein the conditions are recording / reproducing bit rate information and file defect management information. , File allocation information, file buffering information, and information on the minimum continuous storage block. 제59항에 있어서, 상기 실시간 기록/재생 정보는 독출 또는 기입 실패시 결함 블록을 여유 영역의 블록으로 대치 및 결함 블록을 다시 독출 또는 기입을 시도하지 않는다는 파일 결함 관리 정보, 여유 영역에 대치된 결함 블록에는 데이터 블록을 할당하지 않는 파일 할당 정보 및 버퍼로부터 초기 독출되는 데이터양 및 초기 기입되는 데이터양에 관한 파일 버퍼링 정보 중 하나 이상을 더 포함하는 것을 특징으로 하는 재생 방법.60. The file defect management information according to claim 59, wherein the real-time recording / reproducing information indicates that the defective block is replaced by the file defect management information that does not attempt to read or write the defective block again and replace the defective block with the free area block when the read or write fails. The block further includes at least one of file allocation information not allocating a data block and file buffering information regarding the amount of data initially read from the buffer and the amount of data initially written. 제49항에 있어서, 상기 실시간 파일을 독출 및 재생하는 단계는The method of claim 49, wherein reading and playing the real-time file comprises: 상기 기록 매체 상의 볼륨 영역을 읽는 단계; 및Reading a volume area on the recording medium; And 상기 볼륨 영역에 상기 실시간 기록/재생 정보가 존재하는 경우 상기 실시간 기록/재생 정보를 고려하여 상기 실시간 파일들 중 하나로서 파일을 재생하는 단계를 포함하는 것을 특징으로 하는 재생 방법.And reproducing the file as one of the real-time files in consideration of the real-time recording / reproducing information when the real-time recording / reproducing information exists in the volume area. 제66항에 있어서, 상기 파일을 재생하는 단계는 상기 실시간 기록/재생 정보에 따라 기록/재생 비트 레이트 정보, 결함 관리 정보, 파일 할당 정보, 및 파일 버퍼링 정보를 분석하고, 최소 연속 저장 블록 단위로 파일 데이터를 독출하여 재생하는 단계를 포함하는 것을 특징으로 하는 재생 방법.67. The method of claim 66, wherein the reproducing of the file comprises analyzing recording / reproducing bit rate information, defect management information, file allocation information, and file buffering information according to the real-time recording / reproducing information, and performing at least continuous storage block units. And reproducing and reproducing file data. 제49항에 있어서, 상기 실시간 파일을 독출 및 재생하는 단계는The method of claim 49, wherein reading and playing the real-time file comprises: 상기 실시간 기록/재생 정보가 파일 영역에 존재하는지 여부를 판단하는 단계와,Determining whether the real-time recording / playback information exists in a file area; 상기 파일 영역에 상기 실시간 기록/재생 정보가 존재하는 경우 상기 실시간 기록/재생 정보를 고려하여 파일을 재생하는 단계를 포함하는 것을 특징으로 하는 재생 방법.And reproducing the file in consideration of the real time recording / reproducing information when the real time recording / reproducing information exists in the file area. 제68항에 있어서, 상기 파일을 재생하는 단계는 상기 실시간 기록/재생 정보에 따라 기록/재생 비트 레이트 정보, 결함 관리 정보, 파일 할당 정보, 및 파일 버퍼링 정보를 분석하고, 최소 연속 저장 블록 단위로 파일 데이터를 독출하여 재생하는 단계를 포함하는 것을 특징으로 하는 재생 방법.69. The method of claim 68, wherein the reproducing of the file comprises analyzing the recording / reproducing bit rate information, the defect management information, the file allocation information, and the file buffering information according to the real time recording / reproducing information. And reproducing and reproducing file data. 제49항에 있어서, 상기 방법은 상기 기록 매체상에 기록된 상기 실시간 기록/재생 정보와 일반적인 결함 관리 정보에 근거하여 결함 블록을 제외한 자유 영역에 파일을 복사하는 단계를 더 포함하는 것을 특징으로 하는 재생 방법.50. The method of claim 49, further comprising copying a file to a free area excluding a defective block based on the real time recording / reproducing information and general defect management information recorded on the recording medium. How to play. 제70항에 있어서, 상기 파일을 복사하는 단계는 상기 실시간 기록/재생 정보와 상기 실시간 파일을 함께 복사하는 것을 특징으로 하는 재생 방법.The method of claim 70, wherein the copying of the file comprises copying the real time recording / reproducing information and the real time file together. 제70항에 있어서, 상기 파일의 복사는 상기 실시간 기록/재생 정보에 근거하여 실시간 파일 데이터만 복사하는 것을 특징으로 하는 재생 방법.71. The method of claim 70, wherein the copying of the file copies only real-time file data based on the real-time recording / reproducing information. 제59항에 있어서, 상기 실시간 기록/재생 정보는 현재 파일을 실시간으로 기록/재생하는 것이 가능한지 여부를 나타내는 현재 실시간 기록/재생 상태 정보를 나타내는 것을 더 포함하는 것을 특징으로 하는 재생 방법.60. The method of claim 59, wherein the real time recording / playback information further includes current realtime recording / playback status information indicating whether it is possible to record / play back the current file in real time. 실시간 재생을 보장하기 위해 실시간 기록 및/또는 재생을 요구하는 실시간 파일을 실시간 기록 및/또는 재생 정보에 따라 기록 매체에 기록하는 단계와,Recording real-time files requiring real-time recording and / or reproducing to a recording medium according to real-time recording and / or reproducing information to ensure real-time reproducing, 상기 실시간 기록 및/또는 재생 정보를 UDF 시스템의 파일 엔트리 내의 (ICB) TAG 필드의 파일 타입 필드에 기록하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.Recording the real-time recording and / or playback information in a file type field of an (ICB) TAG field in a file entry of a UDF system. 제74항에 있어서, 상기 실시간 기록/재생 정보를 사용하여 상기 실시간 파일을 재생하는 단계를 더 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.75. The method of claim 74, further comprising the step of playing the real time file using the real time recording / playback information. 제74항에 있어서, 상기 실시간 파일을 기록하는 단계는 상기 실시간 파일 들 중 대응하는 파일내에 상기 실시간 기록/재생 정보를 저장하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.75. The method of claim 74, wherein recording the real time file comprises storing the real time recording / playback information in a corresponding one of the real time files. 제74항에 있어서, 상기 실시간 기록/재생 정보는 상기 실시간 파일이 실시간 기록 및/또는 재생을 요구하는 것임을 나타내는 파일 지시 정보를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.75. The recording and / or reproducing method according to claim 74, wherein the real time recording / reproducing information includes file indication information indicating that the real time file requires real time recording and / or reproduction. 제74항에 있어서, 상기 실시간 기록/재생 정보는 기록/재생 비트 레이트 정보, 현재 데이터 블록의 재생시간이 다음에 재생될 데이터 블록의 탐색 시간과 독출 시간의 합보다 커야 한다는 조건을 만족시키는 최소 연속 저장 블록에 대한 정보, 최소 연속 저장을 보장하는 재생 시간에 대한 정보 중 적어도 하나 이상을 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.75. The minimum continuation of claim 74, wherein the real-time recording / reproducing information is a minimum continuation that satisfies the condition that the recording / reproducing bit rate information, the reproduction time of the current data block must be greater than the sum of the seek time and the read time of the next data block to be reproduced. And at least one of information on a storage block and information on a reproduction time to ensure minimum continuous storage. 제75항에 있어서, 상기 실시간 파일을 재생하는 단계는76. The method of claim 75, wherein playing back the real time file comprises: 상기 기록 매체 상의 볼륨 영역을 읽는 단계; 및Reading a volume area on the recording medium; And 상기 실시간 기록/재생 정보에 따라 상기 실시간 파일들 중 하나로서 파일을 재생하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.And reproducing a file as one of the real-time files according to the real-time recording / reproducing information. 제79항에 있어서, 상기 파일 재생 방법은 상기 실시간 기록/재생 정보에 따라 기록/재생 비트 레이트 정보, 결함 관리 정보, 파일 할당 정보, 및 파일 버퍼링 정보를 분석하는 단계를 포함하는 것을 특징으로 하는 기록 및/또는 재생 방법.80. The method of claim 79, wherein the file reproducing method comprises analyzing recording / reproducing bit rate information, defect management information, file allocation information, and file buffering information according to the real time recording / reproducing information. And / or playback method.
KR10-2002-0064880A 1998-12-15 2002-10-23 Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same KR100467615B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0064880A KR100467615B1 (en) 1998-12-15 2002-10-23 Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1019980055039A KR100382639B1 (en) 1998-05-01 1998-12-15 Recording medium storing real time record/playback information, method and apparatus for recording and reproducing in real time, and file operating method using the same
KR10-2002-0064880A KR100467615B1 (en) 1998-12-15 2002-10-23 Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1019980055039A Division KR100382639B1 (en) 1998-05-01 1998-12-15 Recording medium storing real time record/playback information, method and apparatus for recording and reproducing in real time, and file operating method using the same

Publications (2)

Publication Number Publication Date
KR20020085864A true KR20020085864A (en) 2002-11-16
KR100467615B1 KR100467615B1 (en) 2005-01-24

Family

ID=27728936

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0064880A KR100467615B1 (en) 1998-12-15 2002-10-23 Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same

Country Status (1)

Country Link
KR (1) KR100467615B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101656102B1 (en) 2010-01-21 2016-09-23 삼성전자주식회사 Apparatus and method for generating/providing contents file
KR20160002656U (en) 2015-01-21 2016-07-29 이준석 A packing box roll tape cutting machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5999505A (en) * 1993-03-26 1999-12-07 Sony Corporation Information processing device for continuously and discontinuously processing recorded data and recording medium therefor

Also Published As

Publication number Publication date
KR100467615B1 (en) 2005-01-24

Similar Documents

Publication Publication Date Title
JP4242966B2 (en) Recording medium for storing real-time recording / reproduction information
US8521012B2 (en) Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same
US20010043804A1 (en) Optical disc recording apparatus, computer-readable recording medium recording a file management program, and optical disc
KR100374032B1 (en) Recording medium storing real time record/playback information, method and apparatus for recording and reproducing in real time, and file operating method using the same
KR100382639B1 (en) Recording medium storing real time record/playback information, method and apparatus for recording and reproducing in real time, and file operating method using the same
KR100467615B1 (en) Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same
JP2002373480A (en) Data-recording method, data recorder and recording medium
RU2303823C2 (en) Method for processing, recording and reproducing real time files
RU2300148C2 (en) Data carrier for storing information about recording/reproduction in real time scale, method and device for recording and reproduction in real time scale, and method for processing files using these
RU2289860C2 (en) Recording medium for storage of information about record/playback in real-time

Legal Events

Date Code Title Description
A107 Divisional application of patent
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: 20121228

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20131230

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20141223

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20151229

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20161228

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20171228

Year of fee payment: 14

EXPY Expiration of term