KR100300981B1 - Apparatus and method for writing and reading disk - Google Patents
Apparatus and method for writing and reading disk Download PDFInfo
- Publication number
- KR100300981B1 KR100300981B1 KR1019980009487A KR19980009487A KR100300981B1 KR 100300981 B1 KR100300981 B1 KR 100300981B1 KR 1019980009487 A KR1019980009487 A KR 1019980009487A KR 19980009487 A KR19980009487 A KR 19980009487A KR 100300981 B1 KR100300981 B1 KR 100300981B1
- Authority
- KR
- South Korea
- Prior art keywords
- recording
- program
- recorded
- time
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
- G11B19/02—Control of operating function, e.g. switching from recording to reproducing
- G11B19/10—Control of operating function, e.g. switching from recording to reproducing by sensing presence or absence of record in accessible stored position or on turntable
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/00007—Time or data compression or expansion
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/12—Formatting, e.g. arrangement of data block or words on the record carriers
- G11B20/1217—Formatting, e.g. arrangement of data block or words on the record carriers on discs
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/00007—Time or data compression or expansion
- G11B2020/00014—Time or data compression or expansion the compressed signal being an audio signal
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/00007—Time or data compression or expansion
- G11B2020/00072—Time or data compression or expansion the compressed signal including a video signal
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/10537—Audio or video recording
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10916—Seeking data on the record carrier for preparing an access to a specific address
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10935—Digital recording or reproducing wherein a time constraint must be met
- G11B2020/10944—Real-time recording or reproducing, e.g. for ensuring seamless playback of AV data
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/12—Formatting, e.g. arrangement of data block or words on the record carriers
- G11B20/1217—Formatting, e.g. arrangement of data block or words on the record carriers on discs
- G11B2020/1218—Formatting, 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/1232—Formatting, e.g. arrangement of data block or words on the record carriers on discs wherein the formatting concerns a specific area of the disc sector, i.e. the minimal addressable physical data unit
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/12—Formatting, e.g. arrangement of data block or words on the record carriers
- G11B2020/1264—Formatting, e.g. arrangement of data block or words on the record carriers wherein the formatting concerns a specific kind of data
- G11B2020/1265—Control data, system data or management information, i.e. data used to access or process user data
- G11B2020/1267—Address data
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/20—Disc-shaped record carriers
- G11B2220/21—Disc-shaped record carriers characterised in that the disc is of read-only, rewritable, or recordable type
- G11B2220/215—Recordable discs
- G11B2220/216—Rewritable discs
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
디스크에 실시간으로 프로그램을 자동 삽입하고 삽입된 프로그램에 대한 랜덤 접근 위치를 기록하여 재생시 사용자가 원하는 프로그램을 재생하는 장치 및 그 방법을 제공하며, 디스크에 오디오, 비디오 데이터를 기록하는 과정, 상기 과정에서 기록된 시간에 해당하는 기록 시간과 기록한 영역에 해당하는 섹터 어드레스 정보를 리드하여 기록된 프로그램을 확인하는 과정, 상기 과정에서 마지막으로 기록된 프로그램의 기록 날짜 정보와 현재 프로그램의 날짜가 일치하고, 마지막으로 기록된 프로그램의 재생시간과 현재 프로그램의 기록 시간의 합이 일정 시간을 초과하면 프로그램을 추가하여 기록하는 과정을 포함하며, 디스크 재생시 기록된 프로그램 정보를 이용하여 일정 분량의 데이터 단위로 고속 서치가 가능하다.The present invention provides a device and a method for automatically inserting a program in real time on a disc and recording a random access position of the inserted program to play a program desired by a user during playback, and recording audio and video data on the disc. Reading the recording time corresponding to the recorded time and sector address information corresponding to the recorded area to confirm the recorded program, the recording date information of the last recorded program in the process coincides with the date of the current program, If the sum of the playing time of the last recorded program and the recording time of the current program exceeds a certain time, it includes the process of adding and recording the program. Search is possible.
Description
본 발명은 기록 가능하고, 재기록 가능한 디스크를 이용하여 오디오, 비디오 데이터를 기록 및 재생하는 장치 및 그 방법에 관한 것으로서, 특히 디스크에 실시간으로 프로그램을 자동 삽입하고 삽입된 프로그램에 대한 랜덤 접근 위치를 기록하여 재생시 사용자가 원하는 프로그램을 재생하는 장치 및 그 방법을 제공하는 데있다.The present invention relates to an apparatus and method for recording and reproducing audio and video data using a recordable, rewritable disc, and more particularly, to automatically inserting a program on a disc in real time and recording a random access position for the inserted program Providing a device and a method for playing a program desired by the user during playback.
일반적으로 디스크를 이용하여 오디오, 비디오 데이터를 사용하는 가정용 기기에는 비디오-CD와 DVD 플레이어가 있다. 이들 기기는 모두 재생 전용으로 디스크 제작 업체에서 생성한 정보를 읽어내어 재생만 가능하다. 이들 기기에서 사용하는 디스크에는 일반적으로 프로그램의 구조가 여러개의 프로그램을 이용한 다단계로 구성되며, 사용자의 편의를 위하여 다양한 랜덤 접근 위치등이 기록된다. 이는 별도의 장치에서 오디오, 비디오 데이터를 생성한 후, 컴퓨터등에서 동작하는 별도의 전문적인 도구로 프로그램 제작자가 오디오, 비디오 데이터를 이용하여 임의의 프로그램을 구성하고, 이에 따른 각 프로그램의 랜덤 접근 위치 정보등을 다양하게 비실시간적로 분석하여 디스크에 기록한다. 그러나 이러한 복잡한 데이터 구조는 실시간으로 오디오,비디오 데이터를 기록하고자 할 경우 다단계의 복잡한 프로그램을 구성하거나 다양한 랜덤 접근 위치 정보를 기록하기가 어려운 문제점이 있다.In general, home appliances that use audio and video data using discs include video-CD and DVD players. All of these devices are dedicated to playback, and can only read the information generated by the disc maker. Discs used in these devices generally have a program structure composed of multiple steps using several programs, and various random access positions are recorded for the user's convenience. This is a separate tool that generates audio and video data in a separate device, and is a separate professional tool that operates on a computer. The program maker composes an arbitrary program using audio and video data, and accordingly, random access location information of each program. Various non-real time analysis of the back and write to the disk. However, such a complicated data structure has a problem that it is difficult to compose a multi-level complex program or to record various random access location information when recording audio and video data in real time.
본 발명이 이루고자하는 기술적과제는 디스크를 이용하여 프로그램을 실시간으로 자동 삽입하고 삽입된 프로그램에 대한 랜덤 접근 위치 정보를 기록하는 장치를 제공하는 데있다.The technical problem to be achieved by the present invention is to provide an apparatus for automatically inserting a program in real time using a disk and recording the random access position information for the inserted program.
본 발명이 이루고자하는 다른 기술적과제는 디스크를 이용하여 프로그램을 실시간으로 자동 삽입하고 삽입된 프로그램에 대한 랜덤 접근 위치 정보를 기록하는 방법을 제공하는 데있다.Another object of the present invention is to provide a method for automatically inserting a program in real time using a disk and recording random access position information on the inserted program.
도 1은 본 발명을 수행하기 위한 광기록재생장치의 블록도이다.1 is a block diagram of an optical recording and reproducing apparatus for carrying out the present invention.
도 2는 일반적인 PGCI와 VOB의 관계를 도시한 것이다.2 illustrates a relationship between a general PGCI and a VOB.
도 3은 도 2의 PGCI의 상세도이다.FIG. 3 is a detailed view of the PGCI of FIG. 2.
도 4는 본 발명에 따라 오디오, 비디오 데이터를 기록 및 재생하는 장치에 있어서 실시간으로 프로그램을 자동 삽입하기 위한 흐름도이다.4 is a flowchart for automatically inserting a program in real time in an apparatus for recording and reproducing audio and video data according to the present invention.
도 5는 디스크에 기록되는 섹터 단위의 데이터 구조를 도시한 것이다.5 shows a data structure in units of sectors recorded on a disc.
도 6은 픽쳐 스타트 코드와 섹터 어드레스간의 타이밍도를 도시한 것이다.6 shows a timing diagram between a picture start code and a sector address.
도 7은 도 1의 DSP(104)에서 섹터 어드레스를 검출하는 방법을 보이는 흐름도이다7 is a flowchart illustrating a method of detecting a sector address in the DSP 104 of FIG. 1.
상기의 기술적 과제를 해결하기 위하여, 재기록이 가능한 디스크상에 오디오, 비디오 데이터를 기록하는 장치에 있어서,In order to solve the above technical problem, an apparatus for recording audio and video data on a rewritable disc,
오디오, 비디오 데이터를 부호화함과 함께 그 데이터에 해당하는 시간 정보를 생성하는 코덱부;A codec unit for encoding audio and video data and generating time information corresponding to the data;
상기 코덱부에서 발생되는 오디오,비디오 데이터를 섹터 단위로 구분하고, 입력되는 오디오, 비디오 데이터의 내용을 검색하면서 특정 데이터에 해당하는 위치에서의 섹터 어드레스 정보를 검출하는 디지털신호프로세서부;A digital signal processor for classifying audio and video data generated by the codec unit in units of sectors and detecting sector address information at a position corresponding to specific data while searching contents of input audio and video data;
상기 코덱부 및 상기 디지털신호프로세서부에서 생성된 시간 정보와 섹터 어드레스 정보에 따라 상기 비디오,오디오 데이터를 프로그램 단위로 설정하여 이에 부가되는 정보를 실시간적으로 기록하는 시스템 콘트롤러를 포함하는 것을 특징으로 하는 디스크 기록 장치이다.And a system controller configured to set the video and audio data in units of programs according to time information and sector address information generated by the codec unit and the digital signal processor unit, and record information added thereto in real time. It is a disk recording device.
상기의 다른 기술적 과제를 해결하기 위하여, 재기록이 가능한 디스크상에 오디오, 비디오 데이터를 기록하면서 일정분량의 프로그램을 실시간적으로 추가하는 방법에 있어서, (a) 상기 디스크에 오디오, 비디오 데이터를 기록하는 과정; (b) 상기 (a)과정에서 기록된 시간에 해당하는 기록 시간과 기록한 영역에 해당하는 섹터 어드레스 정보를 리드하여 기록된 프로그램을 확인하는 과정; (c) 상기 (b)과정에서 마지막으로 기록된 프로그램의 기록 날짜 정보와 현재 날짜가 다르거나, 마지막으로 기록된 프로그램의 재생시간과 현재 기록한 데이터의기록 시간의 합이 일정 시간을 초과하면 프로그램을 추가하여 기록하는 과정을 포함하는 것을 특징으로 하는 디스크 기록 방법이다.In order to solve the above technical problem, a method of adding a predetermined amount of programs in real time while recording audio and video data on a rewritable disc, comprising: (a) recording audio and video data on the disc; process; (b) reading a recording time corresponding to the time recorded in step (a) and sector address information corresponding to the recorded area to confirm the recorded program; (c) If the recording date information of the program last recorded in step (b) is different from the current date, or if the sum of the playback time of the last recorded program and the recording time of the currently recorded data exceeds a certain time, A disc recording method comprising the step of additionally recording.
이하 첨부된 도면을 참조로하여 본 발명의 바람직한 실시예를 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.
도 1은 본 발명을 수행하기 위한 광기록재생장치의 블록도로서, 이 광기록재생장치는 기록 및 재기록이 가능한 오디오/비디오(이하 A/V라 칭함)용의 DVD-레코더가 대표적인 예가 되며, 이 광기록재생장치의 기능은 크게 오디오/비디오 데이터 및 오디오/비디오 데이터의 속성과 랜덤 억세스를 위한 정보 데이터를 기록하고 재생하는 두 부분으로 나눌 수 있다.Fig. 1 is a block diagram of an optical recording / reproducing apparatus for carrying out the present invention, which is a typical example of a DVD-recorder for audio / video (hereinafter referred to as A / V) capable of recording and re-recording. The function of the optical recording and reproducing apparatus can be largely divided into two parts: recording and reproducing the audio / video data and the attributes of the audio / video data and the information data for random access.
도 1에 있어서, 기록모드시 오디오,비디오 부호화 및 복호화기(이하 코덱(CODEC)이라고 함:102)은 외부에서 입력되는 A/V 데이터를 소정의 압축 부호화체계(예를 들면 MPEG 규격)에 의해 압축부호화하고 압축된 데이터에 대한 시간 정보등을 제공하며, DSP(Digital Signal Process)(104)는 AV 코덱(102)에서 인가되는 부호화 데이터에 ECC(Error Correction Code) 처리를 위한 부가 데이터를 첨가하고 오류정정부호화된 데이터를 소정의 변조체계에 의해 변조해서 변조된 데이터를 발생하며, 입력되는 데이터를 검색하여 필요한 위치에서의 섹터 어드레스를 발생한다.In Fig. 1, in the recording mode, an audio and video encoder and decoder (hereinafter referred to as a codec: 102) uses an externally input A / V data by a predetermined compression encoding scheme (e.g., MPEG standard). Compression-encoded and provide time information on the compressed data, DSP (Digital Signal Process) 104 adds additional data for ECC (Error Correction Code) processing to the coded data applied from the AV codec 102 The error correction coded data is modulated by a predetermined modulation scheme to generate modulated data, and the input data is retrieved to generate a sector address at a required position.
고주파(RF) 증폭기(106)는 DSP(104)에서 인가되는 전기적인 데이터를 광학신호로 증폭한다. 픽업부(108)는 디스크(109)를 구동시키며 RF 증폭기(106)로부터 인가되는 광학신호를 재기록 가능한 디스크(109)에 기록하며, 포커싱 및 트래킹을 행하기 위한 액튜에이터(actuator)를 내장하고 있다.A high frequency (RF) amplifier 106 amplifies the electrical data applied from the DSP 104 into an optical signal. The pickup unit 108 drives the disk 109, records the optical signal applied from the RF amplifier 106 to the rewritable disk 109, and incorporates an actuator for focusing and tracking.
서보부(110)는 RF 증폭기(106)와 시스템 콘트롤러(112)을 통해 DSP(104)으로부터 서보 제어에 필요한 정보를 받아서 픽업부(108)를 제어하는 안정된 서보기능을 수행한다.The servo unit 110 receives the information necessary for servo control from the DSP 104 through the RF amplifier 106 and the system controller 112 and performs a stable servo function for controlling the pickup unit 108.
시스템 콘트롤러(112)는 시스템 전체를 제어하면서 A/V 데이터를 디스크에 기록하도록하며, 자동으로 프로그램 단위를 설정하여 이에 부가되는 정보를 기록한다.The system controller 112 records the A / V data on the disk while controlling the entire system, and automatically sets program units to record the information added thereto.
한편, 재생모드시 픽업부(108)는 디스크(109)로부터 저장된 데이터를 독출하여 광학신호로 출력한다. RF 증폭기(106)는 이 광학신호를 전기적 신호로 변환시켜서 변조된 데이터를 추출하고, 이 전기적인 신호를 이용하여 안정된 서보를 수행하기 위한 서보신호를 발생한다.On the other hand, in the playback mode, the pickup unit 108 reads out the stored data from the disc 109 and outputs the optical signal. The RF amplifier 106 converts this optical signal into an electrical signal, extracts modulated data, and generates a servo signal for performing stable servo using this electrical signal.
DSP(104)는 변조된 데이터를 복조하고 복조된 데이터에 대해 ECC를 수행하여 오류를 수정하면서 부가 데이터를 제거하고, 서보부(110)는 RF 증폭기(106)를 통해 인가되는 서보신호를 이용하여 각종 서보가 안정되도록 구동한다. AV 코덱(102)은 DSP(104)으로부터 전송되는 압축 부호화된 오디오 및 비디오 데이터를 복호화하여 복호화된 오디오 및 비디오 신호가 최종 출력된다. 시스템 콘트롤러(112)는 사용자와의 인터페이스를 통해 사용자의 입력을 처리하며, 디스크의 정보를 이용하여 프로그램 재생에 맞게 시스템 전체를 제어한다.The DSP 104 demodulates the modulated data and performs ECC on the demodulated data to correct the error to remove the additional data, and the servo unit 110 uses the servo signal applied through the RF amplifier 106. Various servos are driven to stabilize. The AV codec 102 decodes the compressed coded audio and video data transmitted from the DSP 104 and finally outputs the decoded audio and video signal. The system controller 112 processes a user's input through an interface with the user, and controls the entire system for program reproduction using information on the disk.
도 2는 일반적인 PGCI와 VOB의 관계를 도시한 것이다.2 illustrates a relationship between a general PGCI and a VOB.
PGCI(Program Chain Information)는 프로그램들의 구조에 대한 연결 정보가 기록되어 있으며, VOB(Video Object)는 실제로 압축된 오디오, 비디오 데이터들이 기록되어 있다. 하나의 PGCI내에는 하나 이상의 프로그램(Program)들이 존재하고, 하나의 프로그램은 하나 이상의 셀(Cell)들의 집합으로 구성된다. 각각의 셀은 일종의 기록 및 재생 단위로써 실제 데이터는 VOB내에 존재한다.In PGCI (Program Chain Information), connection information about the structure of programs is recorded. In VOB (Video Object), compressed audio and video data are recorded. One or more programs exist in one PGCI, and one program consists of a set of one or more cells. Each cell is a kind of recording and reproducing unit, and the actual data exists in the VOB.
PGCI에서는 VOB내의 실제 데이터 위치, 기록 및 재생 시간 정보등 프로그램에 대한 정보만을 구비하고 있다. 또는 VOB는 VOBU(Video Object Unit)라는 단위로 세분화되어 기록되며, 이는 디스크 기록 및 재생 장치의 랜덤 엑세스 위치로 이용된다.The PGCI only has information about the program, such as the actual data position, recording and playback time information in the VOB. Alternatively, the VOB is recorded by being divided into units called a video object unit (VOBU), which is used as a random access position of the disc recording and reproducing apparatus.
도 3은 도 2의 PGCI의 상세도이며, PGC-GI, PGC_PGMAP, C_PBIT, C_DTIT로 구성된다. PGC-GI(PGC General information)은 프로그램의 개수와 셀의 개수 정보를 나타내는 PGC_CNT, PGCI내의 모든 프로그램의 전체 재생 시간을 나타내는 PGC_PBTM, PGCI내의 여러 테이블의 시작 어드레스를 나타내는 PGC_PGMAP_SA, C_PBIT_SA, C_DTIT_SA정보로 이루어지며, PGC_PGMAP(Program Chain Program Map)는 PGCI 내의 모든 프로그램에 대하여 각 프로그램의 엔트리 셀 넘버(Entry Cell Number)를 구비하며, C_PBIT(Cell Playback Information)는 PGCI내의 모든 셀에 대하여 각각의 셀의 재생 시간을 나타내는 C_PBTM, 각각의 셀에 속한 실제의 데이터를 지시하기 위하여 셀의 첫 번째 VOBU의 시작 번지를 가지는 C_F_VOBU_SA, 셀의 마지막 VOBU의 시작 번지를 가지는 C_L_VOBU_SA, 셀의 마지막 VOBU의 마지막 번지를 가지는 C_L_VOBU_EA로 구성된다. C_DTIT(Cell Date Information Table)는 PGCI 내의 각각의 셀에 대하여 기록된 날짜 정보를 구비하고 있다.FIG. 3 is a detailed view of the PGCI of FIG. 2 and includes PGC-GI, PGC_PGMAP, C_PBIT, and C_DTIT. PGC-GI (PGC General Information) consists of PGC_CNT which indicates the number of programs and the number of cells, PGC_PBTM which indicates the total playing time of all programs in PGCI, PGC_PGMAP_SA, C_PBIT_SA and C_DTIT_SA which indicates the starting address of several tables in PGCI. PGC_PGMAP (Program Chain Program Map) has an entry cell number of each program for every program in PGCI, and C_PBIT (Cell Playback Information) is a playback time of each cell for every cell in PGCI. C_PBTM indicating C_PBTM, C_F_VOBU_SA having the start address of the first VOBU of the cell, C_L_VOBU_SA having the start address of the last VOBU of the cell, and C_L_VOBU_EA having the last address of the last VOBU of the cell to indicate actual data belonging to each cell. It is composed. The Cell Date Information Table (C_DTIT) has date information recorded for each cell in the PGCI.
도 4는 본 발명에 따라 오디오, 비디오 데이터를 기록 및 재생하는 장치에 있어서 실시간으로 프로그램을 자동 추가 또는 삽입하기 위한 흐름도이다.4 is a flowchart for automatically adding or inserting a program in real time in the apparatus for recording and reproducing audio and video data according to the present invention.
PGCI에는 여러 가지 형태로 프로그램을 구성하는 것이 가능하며, 본 발명에서는 하나의 프로그램은 하나의 셀로 구성하여 셀과 프로그램의 개수를 동일하게하고, 그 프로그램을 순차적으로 기록하도록한다.A program can be configured in various forms in the PGCI. In the present invention, one program is composed of one cell so that the number of cells and programs is the same, and the programs are sequentially recorded.
도 4에 도시된 바와 같이 먼저, 디스크 기록 및 재생 장치에서 기록이 시작되면 시스템콘트롤러(112)는 외부로부터 디스크에 기록되는 오디오, 비디오 데이터 기록 시간 정보를 얻기 위하여 AV 코덱(102)를 초기화하고, 기록되어 있는 디스크상의 위치를 나타내는 섹터 어드레스 정보를 얻기 위하여 DSP(104)를 초기화하여 입력되는 오디오 및 비디오 데이터를 기록한다(410과정). 기록이 종료되면 시스템콘트롤러(112)는 AV 코덱(102)과 DSP(104)에 기록 종료를 알리고, AV 코덱(102)으로부터 기록한 시간을 나타내는 기록 시간을 리드하고, DSP(104)로 부터는 방금 기록한 영역에 대한 섹터 어드레스 정보 즉, 기록한 영역의 첫 번째 VOBU의 시작 섹터 어드레스인 F_VOBU_SA와 기록한 영역의 마지막 VOBU의 시작 섹터 어드레스인 L_VOBU_SA와 기록한 영역의 마지막 VOBU의 마지막 섹터 어드레스인 L_VOBU_EA를 리드한다(420과정). 여기서 기록한 시간 정보를 인식하는 방법은 일반적인 AV 코덱이 비디오인 경우 프레임 단위, 오디오인 경우 일정 시간 단위로 부호화를 수행함으로 기록한 시간에 대한 정보를 시, 분, 초, 프레임 단위로 알 수있다. 또한 DSP(104)에서는 섹터 어드레스와 AV코덱(102)에서 입력되는 데이터를 기초로하여 섹터를 구성하므로 섹터 어드레스에 대한 여러 가지 정보 제공이 가능하다.As shown in FIG. 4, first, when recording is started in the disc recording and reproducing apparatus, the system controller 112 initializes the AV codec 102 to obtain audio and video data recording time information recorded on the disc from the outside, In order to obtain sector address information indicating the position on the disc to be recorded, the DSP 104 is initialized to record the input audio and video data (step 410). When the recording is finished, the system controller 112 notifies the AV codec 102 and the DSP 104 of the end of recording, reads out the recording time indicating the time recorded from the AV codec 102, and immediately records the data from the DSP 104. It reads the sector address information of the area, that is, F_VOBU_SA, the start sector address of the first VOBU of the recorded area, L_VOBU_SA, the start sector address of the last VOBU of the recorded area, and L_VOBU_EA, the last sector address of the last VOBU of the recorded area. ). Here, the method of recognizing the recorded time information can be obtained in units of hours, minutes, seconds, and frames by encoding information in a frame unit when the general AV codec is video and in a unit of time in case of audio. In addition, since the DSP 104 configures a sector based on the sector address and the data input from the AV codec 102, various information on the sector address can be provided.
다음 현재 기록되어 있는 프로그램의 개수가 n개 이하인가를 확인하여(430과정), n개를 초과하면 새로이 프로그램을 추가하지 않고 기존의 프로그램에 추가한다. 이는 너무 많은 프로그램은 관리에 불편함을 줄수 있기 때문이다. 또한 프로그램의 개수가 n개이하이면 다른 날짜에 기록된 데이터는 새로운 프로그램으로 생성하기 위해서 마지막으로 기록된 프로그램의 기록 날짜 정보를 독출하여 현재의 날짜와 일치하는가를 체크한다(440과정). 여기서 날짜가 다르면 새로운 프로그램을 추가하여 기록하고(470과정), 날짜가 일치한다면 마지막으로 기록되어 있는 프로그램의 Cell_PBTM을 리드하여(450과정), Cell_PBTM값과 새로이 기록한 데이터의 기록 시간과의 합이 일정 시간을 초과하는가를 체크한다(460과정). 이는 하나의 프로그램 길이를 최대 얼마 이하로 한정하기 위함이다. 이때 기준 되는 일정 시간은 사용자가 디스크 기록 및 재생 장치에 입력하여 저장할 수도 있고 합리적인 값으로 임의의 값을 가질 수도 있다. 460과정에서 일정 시간을 초과하는 경우 새로운 프로그램을 추가하여 기록하고(470과정), 일정 시간 이하이면 기존의 프로그램에 추가하여 기록하게 된다(480과정). 여기서 새로운 프로그램을 추가하는 경우 먼저, PGC_CNT를 증가시켜 프로그램의 수와 셀의 수를 하나씩 증가시키고, 기존에 기록되어 있는 PGC_PBTM에다 기록 데이터에 대한 기록 시간 값을 더하여 엎데이트(update)해주고, CELL_PBTM에서 그 기록 시간값으로 대치한다. 또한 셀에 대한 섹터 어드레스 정보를 가지고 있는 C_F_VOBU_SA, C_L_VOBU_SA, C_L_VOBU_EA에는 각각 기록 데이터에 대한 섹터 어드레스 정보인 F_VOBU_SA, L_VOBU_SA, L_VOBU_EA 값을 기록한다. 그리고 새로이 생성된 프로그램의 날짜 정보를 기록함으로써 새로운 프로그램이 삽입된 형태로 PGCI를 엎데이트하고 프로그램을 자동으로 삽입하는 동작을 종료하게 된다.Next, it is checked whether the number of currently recorded programs is n or less (step 430). If the number exceeds n, the program is added to the existing program without adding a new program. This is because too many programs can be inconvenient to manage. In addition, if the number of programs is less than n, data recorded on another date is read to record the date of recording of the last recorded program in order to generate a new program, and it is checked whether it matches the current date (step 440). If the date is different, a new program is added (step 470). If the date is correct, the cell_PBTM of the last recorded program is read (step 450), and the sum of the cell_PBTM value and the recording time of the newly recorded data is constant. Check if the time is exceeded (step 460). This is to limit the maximum length of one program. At this time, the reference time may be input and stored by the user in the disc recording and reproducing apparatus or may have any value as a reasonable value. If a predetermined time is exceeded in step 460, a new program is added (step 470). If a predetermined time or less is added, an existing program is recorded (step 480). In case of adding a new program, first increase the number of programs and the number of cells by increasing PGC_CNT, update the recorded data by adding the recording time value to the previously recorded PGC_PBTM, and in CELL_PBTM Replace with the recording time value. In addition, the C_F_VOBU_SA, C_L_VOBU_SA, and C_L_VOBU_EA having sector address information for the cell are recorded with F_VOBU_SA, L_VOBU_SA, and L_VOBU_EA, which are sector address information for the recording data, respectively. By recording the date information of the newly created program, the PGCI is updated with the new program inserted and the operation of automatically inserting the program is terminated.
반면에 새로운 프로그램을 추가하지 않는 경우, 기존에 기록되어 잇는 PGC_PBTM과 CELL_PBTM에다 기록 데이터에 대한 기록 시간 값을 더하여 엎데이트하고, 셀에 대한 섹터 어드레스 정보중 C_L_VOBU_SA, C_L_VOBU_EA만을 리드된 L_VOBU_SA, L_VOBU_EA 값으로 엎데이트함으로써 기존에 있던 프로그램에 추가하는 동작을 종료하게 된다.On the other hand, if a new program is not added, the data is recorded by adding the recording time value to the PGC_PBTM and CELL_PBTM that have been previously recorded, and only the C_L_VOBU_SA and C_L_VOBU_EA of the sector address information of the cell are read to L_VOBU_SA and L_VOBU_EA. By updating, you end the addition to the existing program.
도 5는 디스크에 기록되는 섹터 단위의 데이터 구조를 도시한 것이다. 도 1의 AV 코덱(102)에서 부호화되어 출력되는 데이터는 2048 바이트 단위로 나누어져 하나의 섹터에 대한 메인 데이터가 되고, 여기에 부가되어 있는 데이터 ID는 섹터 어드레스를 포함하는 섹터별로 유일한 ID 값이 된다. 또한 이 섹터는 데이터 ID의 오류를 검출하기 위한 IED, 메인 데이터 영역의 오류를 검출하기 위한 EDC가 포함된다.5 shows a data structure in units of sectors recorded on a disc. Data encoded and output by the AV codec 102 of FIG. 1 is divided into 2048 byte units to be main data for one sector, and a data ID added thereto has a unique ID value for each sector including a sector address. do. This sector also includes an IED for detecting an error in the data ID and an EDC for detecting an error in the main data area.
도 6은 픽쳐 스타트 코드와 섹터 어드레스간의 타이밍도를 도시한 것이다. 즉, 도 1의 DSP(104)에서 AV 코덱(102)으로부터 출력되는 데이터를 분석하여 섹터 어드레스 정보를 발생하는 데 있어서, MPEG 데이터의 픽쳐 스타트 코드(picture_start_code)와 해당되는 섹터 어드레스의 관계를 나타낸 것이다. DSP(104)에서 구분하는 섹터 단위는 AV 코덱(102)에서 부호화시 고려되지 않는다. 따라서 AV 코덱(102)에서 부호화한 픽쳐 스타트 코드는 섹터와 섹터에 걸쳐서 존재존재할수 있는 데 이 경우 픽쳐 스타트 코드에 해당되는 섹터 어드레스는 픽쳐 스타트 코드가 시작된 시점의 섹터 어드레스가 유효하다.6 shows a timing diagram between a picture start code and a sector address. That is, when analyzing the data output from the AV codec 102 in the DSP 104 of FIG. 1 to generate sector address information, the relationship between the picture start code (picture_start_code) of the MPEG data and the corresponding sector address is shown. . Sector units distinguished by the DSP 104 are not taken into account when encoding in the AV codec 102. Therefore, the picture start code encoded by the AV codec 102 may exist across sectors and sectors. In this case, the sector address corresponding to the picture start code is valid at the start of the picture start code.
도 7은 도 1의 DSP(104)에서 섹터 어드레스를 검출하는 방법을 보이는 흐름도이다.7 is a flowchart illustrating a method of detecting a sector address in the DSP 104 of FIG. 1.
먼저, 입력되는 데이터에서 MPEG 비디오에서 정의된 픽쳐 스타트 코드(picture_start_code)를 검출하고(712과정), 검출된 픽쳐가 MPEG 비디오에서 정의된 I(Intra) 픽쳐인가를 체크한다(714과정). 이는 오디오, 비디오를 기록하는 경우 I 픽쳐로 부호화되는 프레임을 데이터 기록 단위의 기준으로 삼기위해서다. I 픽쳐가 검출되면 도 6에 도시된 바와 같이 픽쳐 스타트 코드가 검출되었을 때 유효한 섹터 어드레스가 첫 번째 VOBU 시작 번지, F_VOBU_SA에 격납된다(716과정). 이러한 과정은 연속된 기록 동작의 첫 번째 한번만 수행된다. 다음으로 712, 714과정과 동일하게 다음의 I 픽쳐를 검출하는 데(718, 720과정), 이 때 검출되는 I 픽쳐는 연속되는 기록 데이터중 마지막 VOBU에 속한다고 가정하여 도 6에 도시된 바와 같이 픽쳐 스타트 코드가 검출되었을 때 유효한 섹터 어드레스가 마지막 VOBU 시작 번지인 L_VOUB_SA에 격납된다(722과정). 이러한 가정은 기록이 계속되면 L_VOUB_SA는 계속적으로 변경되면서 올바른 값으로 수정되며, 이때 섹터 어드레스 검출 동작이 종료하는가를 점검하여(724과정) 계속 어드레스 검출 동작중이면 또 다시 픽쳐 스타트 코드를 검출해서 I 픽쳐를 검출한다(726, 728과정). 여기서 I 픽쳐 검출과 섹터 어드레스 검출 동작 종료의 점검을 계속해서 반복되는 데, 만일 I 픽쳐가 검출된다면 L_VOUB_SA값을 새로이 검출된 I 픽쳐의 픽쳐 스타트 코드에 맞게 수정하고, 계속해서 같은 동작을 반복한다. 만일 섹터 어드레스 검출 동작이 종료되었으면 현재의 섹터 어드레스를 마지막 VOBU의 마지막 번지임을 나타내는 L_VOBU_EA에 격납한다(730과정).First, a picture start code (picture_start_code) defined in the MPEG video is detected from the input data (step 712), and it is checked whether the detected picture is an I (Intra) picture defined in the MPEG video (step 714). This is to make a frame encoded by an I picture as a reference for data recording units when recording audio and video. If an I picture is detected, a valid sector address is stored in the first VOBU start address, F_VOBU_SA, as shown in FIG. 6 when the picture start code is detected (step 716). This process is performed only the first time of successive write operations. Next, as in steps 712 and 714, the next I picture is detected (steps 718 and 720), and the detected I picture is assumed to belong to the last VOBU of the continuous recording data, as shown in FIG. When a picture start code is detected, a valid sector address is stored in L_VOUB_SA, which is the last VOBU start address (step 722). This assumption is that if recording continues, L_VOUB_SA is continuously changed and corrected to the correct value. At this time, it is checked whether the sector address detection operation is terminated (step 724). (Step 726, 728). Here, the inspection of the end of the I picture detection and the end of the sector address detection operation is repeated. If the I picture is detected, the L_VOUB_SA value is modified to match the picture start code of the newly detected I picture, and the same operation is repeated. If the sector address detection operation is completed, the current sector address is stored in L_VOBU_EA indicating the last address of the last VOBU (step 730).
상술한 바와 같이 본 발명에 의하면, 디스크를 이용하여 오디오, 비디오 데이터를 기록재생하는 데 있어서, 프로그램을 실시간으로 자동 추가하고 기록된 프로그램에 대한 랜덤 접근 위치 정보를 제공함으로써 디스크 재생시 기록된 프로그램 정보를 이용하여 일정 분량의 데이터 단위로 고속 서치가 가능하다.As described above, according to the present invention, in recording and reproducing audio and video data using a disc, program information recorded during disc reproduction by automatically adding a program in real time and providing random access position information for the recorded program. High-speed search is possible in a certain amount of data units using.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980009487A KR100300981B1 (en) | 1998-03-19 | 1998-03-19 | Apparatus and method for writing and reading disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980009487A KR100300981B1 (en) | 1998-03-19 | 1998-03-19 | Apparatus and method for writing and reading disk |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990075335A KR19990075335A (en) | 1999-10-15 |
KR100300981B1 true KR100300981B1 (en) | 2001-09-06 |
Family
ID=37529011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980009487A Expired - Fee Related KR100300981B1 (en) | 1998-03-19 | 1998-03-19 | Apparatus and method for writing and reading disk |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100300981B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009139557A3 (en) * | 2008-05-14 | 2010-02-18 | 엘지전자(주) | Recording medium, recording method and recording device, and playback method and playback device, for long-term data storage |
-
1998
- 1998-03-19 KR KR1019980009487A patent/KR100300981B1/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009139557A3 (en) * | 2008-05-14 | 2010-02-18 | 엘지전자(주) | Recording medium, recording method and recording device, and playback method and playback device, for long-term data storage |
Also Published As
Publication number | Publication date |
---|---|
KR19990075335A (en) | 1999-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100301012B1 (en) | Optical disc recording / reproducing apparatus, method and information structure thereof | |
US8891940B2 (en) | Method and apparatus for recording manufacturer information on a recording medium and for determining whether the manufacturer information is effective | |
US6766103B2 (en) | Method for recording and reproducing representative audio data to/from a rewritable recording medium | |
JPH11213532A (en) | Disk having unique code for type detection in optical disk reproducing apparatus and type detection method thereof | |
JP2007004972A (en) | Method and apparatus for recording data in various formats, method for reproducing the data, apparatus and optical storage medium on which data is recorded by the method | |
US20020126552A1 (en) | Method of reproducing a multi-session disk | |
US5430698A (en) | CD playing apparatus | |
KR100300981B1 (en) | Apparatus and method for writing and reading disk | |
JP3787934B2 (en) | Playback device | |
JP3859163B2 (en) | Recording apparatus and recording method, reproducing apparatus and reproducing method, and program | |
US7085475B1 (en) | Method and apparatus for recording manufacturer information on a recording medium and for determining whether the manufacturer information is effective | |
KR100335409B1 (en) | Optical recording and reproducing apparatus, method and disk for providing menu function | |
KR100297749B1 (en) | Optical recording/reproduction apparatus and method having a menu service function | |
KR100240334B1 (en) | Recording method of a dvdr system | |
KR19980058840A (en) | Editing method of erasing rewritable optical disc system | |
KR100251460B1 (en) | Dvd recorder and method for recording program in real time | |
JPH10154389A (en) | Information recording medium, reproducing apparatus for reproducing the same, and apparatus for simulating information recording medium | |
JPH0945054A (en) | Information reproducer | |
KR19990080325A (en) | How to record audio after | |
KR19980036880A (en) | How to record the START information of the interactive compact disc data track (CD-I DATA TRACK) | |
JPH11176140A (en) | Information recording system, information recording device and information recording method | |
JP2008269672A (en) | Optical disk recording/reproducing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 19980319 |
|
A201 | Request for examination | ||
PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 19990707 Comment text: Request for Examination of Application Patent event code: PA02011R01I Patent event date: 19980319 Comment text: Patent Application |
|
PG1501 | Laying open of application | ||
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20010531 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20010621 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20010622 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20040528 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20050530 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20060529 Start annual number: 6 End annual number: 6 |
|
PR1001 | Payment of annual fee |
Payment date: 20070530 Start annual number: 7 End annual number: 7 |
|
FPAY | Annual fee payment |
Payment date: 20080529 Year of fee payment: 8 |
|
PR1001 | Payment of annual fee |
Payment date: 20080529 Start annual number: 8 End annual number: 8 |
|
LAPS | Lapse due to unpaid annual fee | ||
PC1903 | Unpaid annual fee |