KR20010042757A - Method and device for recording/reproducing digital data - Google Patents

Method and device for recording/reproducing digital data Download PDF

Info

Publication number
KR20010042757A
KR20010042757A KR1020007011490A KR20007011490A KR20010042757A KR 20010042757 A KR20010042757 A KR 20010042757A KR 1020007011490 A KR1020007011490 A KR 1020007011490A KR 20007011490 A KR20007011490 A KR 20007011490A KR 20010042757 A KR20010042757 A KR 20010042757A
Authority
KR
South Korea
Prior art keywords
recording
data
digital data
file
cluster
Prior art date
Application number
KR1020007011490A
Other languages
Korean (ko)
Other versions
KR100421343B1 (en
Inventor
다카하시마사유키
Original Assignee
마츠시타 덴끼 산교 가부시키가이샤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 마츠시타 덴끼 산교 가부시키가이샤 filed Critical 마츠시타 덴끼 산교 가부시키가이샤
Publication of KR20010042757A publication Critical patent/KR20010042757A/en
Application granted granted Critical
Publication of KR100421343B1 publication Critical patent/KR100421343B1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1435Saving, restoring, recovering or retrying at system level using file system or storage system metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

디스크 기록 매체에 있어서의 디지털 데이터의 기록 재생에 있어서, 정전 등의 이상 종료 시의 파일 파괴 및 데이터 상실을 방지할 수 있는 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치를 제공하는 것을 목적으로 한다. 기록 가능 클러스터를 서로 연결시킨 파일 구조의 디스크 기록 매체에 데이터를 기록하는 파일 구조 관리부(25)와, 이상 종료가 발생한 경우에, 이상 종료 복구 후에 데이터의 포맷 정보를 근거로 데이터 기록 개시로부터 이상 종료까지 기록된 디지털 데이터를 기록 파일로서 구성하는 파일 복구 처리부(26)를 구비한 구성으로 한다.An object of the present invention is to provide a digital data recording and reproducing method and a digital data recording and reproducing apparatus capable of preventing file destruction and data loss at the end of abnormality such as a power failure in recording and reproducing digital data in a disc recording medium. The file structure management unit 25 which records data on a disk recording medium having a file structure in which recordable clusters are connected to each other, and when abnormal termination occurs, abnormal termination ends from the start of data recording based on the format information of the data after abnormal termination recovery. A file recovery processing unit 26 for configuring digital data recorded so far as a recording file is used.

Description

디지털 데이터 기록/재생 방법 및 디지털 데이터 기록/재생 장치{METHOD AND DEVICE FOR RECORDING/REPRODUCING DIGITAL DATA}Digital data recording / playback method and digital data recording / playback device {METHOD AND DEVICE FOR RECORDING / REPRODUCING DIGITAL DATA}

종래, 정전 시에 발생하는 파일의 파괴 및 손상을 방지하는 방법으로는, 일본국 특허 공개 평성 제8-255001호 공보에 개시된 것과 같이, 정전 시에도 일시적으로 전원을 공급할 수 있는 무정전 전원을 이용한 방법이 알려져 있다.Conventionally, a method using an uninterruptible power supply capable of temporarily supplying power even during a power failure, as disclosed in Japanese Patent Application Laid-Open No. 8-255001, is a method for preventing damage and damage to a file generated during power failure. This is known.

이하, 종래의 무정전 전원 시스템의 구성 및 동작에 대하여, 도 16을 참조하면서 설명한다.Hereinafter, the structure and operation of the conventional uninterruptible power supply system will be described with reference to FIG.

도 16은 종래의 무정전 전원 시스템의 구성을 나타내는 도면이다.16 is a diagram illustrating a configuration of a conventional uninterruptible power supply system.

종래의 무정전 전원 시스템은 데이터의 입출력을 행하는 입출력 장치(1302)와, 이 입출력 장치(1302)로부터의 입출력 신호를 받아, 프로세스를 제어하기 위한 제어 신호를 입출력 장치(1302)에 출력하는 제어용 퍼스널 컴퓨터(1301)와, 정전 시에도 일시적으로 전원을 공급할 수 있는 무정전 전원(1304)과, 이 무정전 전원(1304)으로부터의 상용 전원의 정전 상태를 나타내는 상용 전원 끊김 신호를 수신하여, 이 상용 전원 끊김 신호가 일정 시간 이상 단속(斷續)된 경우, 정전이라고 판별하는 동작 체크 회로(1303)를 구비한다.The conventional uninterruptible power supply system is a control personal computer that receives an input / output device 1302 for inputting / outputting data and an input / output signal from the input / output device 1302, and outputs a control signal for controlling a process to the input / output device 1302. 1301, an uninterruptible power supply 1304 capable of temporarily supplying power even in the event of a power failure, and a commercial power disconnection signal indicating a power failure state of the commercial power supply from the uninterruptible power supply 1304, and receiving the commercial power disconnection signal. Is interrupted for more than a predetermined time, the operation check circuit 1303 is determined to determine that the power failure.

제어용 퍼스널 컴퓨터(1301)는 동작 체크 회로(1303)로부터의 정전이라고 판별된 신호를 수신하여, 활성 파일에 대하여 종료 처리를 행한다. 또한, 동작 체크 회로(1303)는 전원 전압의 이상을 감시하고, 이상 시에는 전화 회선 자동 통보 장치(1305)에 의해 자동 통보를 행한다.The control personal computer 1301 receives a signal determined to be a power failure from the operation check circuit 1303, and performs a termination process on the active file. In addition, the operation check circuit 1303 monitors an abnormality in the power supply voltage, and automatically performs an automatic notification by the telephone line automatic notification device 1305 when the abnormality occurs.

이와 같이, 종래의 무정전 전원 시스템에 의하면, 정전이 발생했을 때에도, 제어용 퍼스널 컴퓨터(1301)는 액티브 파일의 종료 처리를 할 수 있으므로, 정전 발생 시의 액티브 파일의 파괴 혹은 데이터의 상실이 일어나는 일은 없었다.As described above, according to the conventional uninterruptible power supply system, even when a power failure occurs, the controlling personal computer 1301 can terminate the active file, so that the active file is not destroyed or data is lost when the power failure occurs. .

그런데, 가정에서 이용되는 디지털 데이터 기록 재생 장치의 기억 매체로서, VCR로 대표되는 데이터 매체가 있는데, 현재, 테이프 매체에 대신하여 랜덤 액세스 가능한 자기 디스크 및 광 자기 디스크 등의 디스크 기록 매체가 이용되게 되고 있다.By the way, as a storage medium of a digital data recording and reproducing apparatus used at home, there is a data medium represented by a VCR. Currently, disc recording media such as magnetic disks and magneto-optical disks which can be randomly accessed instead of tape media are used. have.

종래의 테이프 매체에서는, 기록 시에 정전이 발생한 경우, 정전까지의 영상이 보존되지만, 컴퓨터용으로 구성된 디스크 기록 매체의 경우에는, 기록 종료 처리가 바르게 되지 않으면, 기록 개시 시로부터 정전까지의 영상 데이터를 모두 상실하여 버린다는 문제가 있었다.In a conventional tape medium, when a power failure occurs at the time of recording, the video up to the power failure is stored. In the case of a disk recording medium configured for a computer, if the recording end process is not correct, the video data from the start of recording until the power failure There was a problem that all lost.

이하, 컴퓨터용으로 구성된 디스크 기록 매체에의 기록일 경우, 정전 시에 파일 파괴이나 데이터 상실이 발생하는 이유에 대하여, 도 17을 이용하여 설명한다.Hereinafter, in the case of recording to a disk recording medium configured for a computer, the reason why file destruction or data loss occurs during power failure will be described with reference to FIG. 17.

도 17은 MS-Windows(마이크로소프트사 제) 등, 컴퓨터의 OS에서 채용되고 있는 디스크 기록 매체의 기록 영역에 있어서의 파일 기록 구조를 나타내는 도면이다.Fig. 17 is a diagram showing the file recording structure in the recording area of the disc recording medium employed in the OS of the computer such as MS-Windows (manufactured by Microsoft Corporation).

디스크 기록 매체의 기록 영역은 루트 디렉토리(1401)와, 파일 할당 테이블(1402)과, 클러스터(1403)로 구성된다.The recording area of the disc recording medium is composed of a root directory 1401, a file allocation table 1402, and a cluster 1403.

루트 디렉토리(1401)는 디스크 기록 매체에 저장된 파일의 명칭과 파일의 선두 클러스터 번호를 유지한다. 파일 할당 테이블(1402)은 파일이 구성되는 클러스터(1403)의 접속 정보를 유지한다. 클러스터(1403)는 디스크 기록 매체의 기록 재생의 최소 단위로서, 실제 데이터를 유지한다.The root directory 1401 holds the name of a file stored in the disc recording medium and the head cluster number of the file. The file allocation table 1402 maintains connection information of the cluster 1403 in which the file is composed. The cluster 1403 is a minimum unit of recording and reproducing of a disc recording medium, and holds actual data.

도 17의 예에서는, 루트 디렉토리(1401)는 이 디스크 기록 매체에 데이터 1이라는 파일이 클러스터 번호 0002부터 저장되어 있는 것을 나타내고, 파일 할당 테이블(1402)은 데이터 1이 클러스터 번호 0002, 클러스터 번호 0003 및 클러스터 번호 0004의 순서로 데이터가 구성되어 있는 것을 나타내고 있다. 따라서, 데이터 1의 실제 데이터는 클러스터(1403)의 클러스터 번호 0002, 클러스터 번호 0003 및 클러스터 번호 0004의 영역에 저장되어 있는 것을 나타낸다. 또, 파일 할당 테이블(1402)의 FFFF는 파일의 최종 클러스터를 나타내는 클러스터 번호이다.In the example of FIG. 17, the root directory 1401 indicates that a file called data 1 is stored in this disk recording medium starting from cluster number 0002, and the file allocation table 1402 indicates that data 1 includes cluster number 0002, cluster number 0003, and the like. It shows that data is constructed in the order of cluster number 0004. Therefore, the actual data of data 1 indicates that the data is stored in the cluster number 0002, the cluster number 0003, and the cluster number 0004 of the cluster 1403. FFFF in the file allocation table 1402 is a cluster number indicating the final cluster of the file.

데이터 기록 시에는, 먼저, 파일명과 선두 클러스터 번호를 루트 디렉토리(1401)에 등록하고, 파일 할당 테이블(1402)에서 클러스터(1403)의 접속 정보를 갱신하면서, 클러스터(1403)의 각 영역에 실제 데이터를 기록한다.In data recording, first, the file name and the first cluster number are registered in the root directory 1401, and the actual data is displayed in each area of the cluster 1403 while updating the connection information of the cluster 1403 in the file allocation table 1402. Record it.

그런데, 루트 디렉토리(1401)와 파일 할당 테이블(1402)은 디스크 기록 매체에 고정되어 존재하고, 클러스터(1403)의 각 영역은 루트 디렉토리(1401)와 파일 할당 테이블(1402) 이외의 디스크 기록 매체의 영역이 사용된다.By the way, the root directory 1401 and the file allocation table 1402 are fixedly present in the disk recording medium, and each area of the cluster 1403 is located in a disk recording medium other than the root directory 1401 and the file allocation table 1402. Area is used.

데이터 기록 시에, 파일 할당 테이블(1402)과 클러스터(1403)의 각 영역에 기록을 하려 하면, 클러스터(1403)를 기록할 때마다, 파일 할당 테이블(1402)의 클러스터 접속 정보를 갱신할 필요가 있으므로, 디스크 기록 매체에의 기록 헤드를 탐색할 필요가 있어, 기록 속도가 매우 지연되게 된다.If data is to be recorded in each area of the file allocation table 1402 and the cluster 1403 at the time of data recording, each time the cluster 1403 is recorded, it is necessary to update the cluster connection information of the file allocation table 1402. Therefore, it is necessary to search the recording head on the disk recording medium, and the recording speed becomes very delayed.

그래서, 파일 할당 테이블(1402)의 정보를 메모리 내에서 갱신하면서 클러스터(1403) 내에 데이터를 기록하고, 데이터의 기록 종료 처리, 즉 파일 종료 처리 시에, 파일 할당 테이블(1402)의 정보를 디스크 기록 매체에 반영시킨다는 방법이 채용되고 있다.Thus, data is recorded in the cluster 1403 while updating the information in the file allocation table 1402 in memory, and the information in the file allocation table 1402 is recorded in the disk at the time of the data recording end process, that is, the file end process. The method of reflecting in a medium is employ | adopted.

이상과 같은 디스크 기록 매체에의 기록 과정에 있어서, 기록 종료 처리가 행해지기 전에, 정전이 발생한 경우에는, 디스크 기록 매체의 파일 할당 테이블(1402)이 갱신되어 있지 않으므로, 기록 개시로부터 정전까지, 데이터가 클러스터(1403)에 기록되었음에도 불구하고 클러스터(1403)의 접속 정보를 나타내는 파일 할당 테이블(1402)의 접속 정보가 상실되어, 파일의 파괴 및 데이터의 상실이 발생한다.In the above recording process to the disk recording medium, if a power failure occurs before the recording end process is performed, the file allocation table 1402 of the disk recording medium is not updated, and thus data from the start of recording to the power failure is lost. Is recorded in the cluster 1403, the connection information of the file allocation table 1402, which indicates the connection information of the cluster 1403, is lost, resulting in destruction of the file and loss of data.

또한, 데이터 상실의 대책으로서의 종래의 무정전 전원을 이용하는 방법은 가정용 디지털 데이터 기록 재생 장치로서는 고가의 구성으로 된다.In addition, the conventional method of using an uninterruptible power supply as a countermeasure for data loss has an expensive structure as a home digital data recording and reproducing apparatus.

본 발명은 이러한 문제점을 감안하여 이루어진 것으로, 데이터 기록 시에 정전 등의 이상 종료가 일어났을 때에, 파일의 파괴 및 데이터의 상실을 발생하지 않는, 저가의 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치를 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and inexpensive digital data recording and reproducing method and digital data recording and reproducing apparatus do not cause file destruction and data loss when abnormal termination of power failure or the like occurs during data recording. The purpose is to provide.

본 발명은 디스크 기록 매체에 있어서의 디지털 데이터의 기록 재생을 행하는 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 관한 것으로, 특히 정전(停電) 등의 이상(異常) 종료 시의 파일 파괴 및 데이터 상실을 방지하는 디지털 데이터 기록 재생 방법 및 그 디지털 데이터 기록 재생 방법을 이용한 디지털 데이터 기록 재생 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital data recording and reproducing method and a digital data recording and reproducing apparatus for recording and reproducing digital data on a disc recording medium. In particular, file destruction and data loss at the end of abnormality, such as power failure, etc. And a digital data recording and reproducing apparatus using the digital data recording and reproducing method.

도 1은 본 발명의 실시예 1에 의한 디지털 데이터 기록 재생 장치의 구성을 도시하는 블록도,1 is a block diagram showing the structure of a digital data recording and reproducing apparatus according to a first embodiment of the present invention;

도 2a는 본 발명의 실시예 1에 의한 디스크 기록 매체의 데이터 미기록 시의 파일 구조를 도시하는 도면,Fig. 2A is a diagram showing the file structure when data is not recorded on the disc recording medium according to the first embodiment of the present invention;

도 2b는 본 발명의 실시예 1에 의한 디스크 기록 매체의 데이터 기록 시의 파일 구조를 도시하는 도면,Fig. 2B is a diagram showing the file structure at the time of data recording of the disc recording medium according to the first embodiment of the present invention;

도 2c는 본 발명의 실시예 1에 의한 디스크 기록 매체의 데이터 기록 종료 시의 파일 구조를 도시하는 도면,Fig. 2C is a diagram showing the file structure at the end of data recording of the disc recording medium according to the first embodiment of the present invention;

도 3은 본 발명의 실시예 1에 의한 디지털 데이터 기록 재생 방법을 나타내는 흐름도,3 is a flowchart showing a digital data recording and reproducing method according to Embodiment 1 of the present invention;

도 4는 본 발명의 실시예 2에 의한 디지털 데이터 기록 재생 장치의 구성을 도시하는 블록도,4 is a block diagram showing the structure of a digital data recording and reproducing apparatus according to a second embodiment of the present invention;

도 5는 본 발명의 실시예 2에 의한 트랜스 포트 패킷의 구조를 도시하는 도면,5 is a diagram showing the structure of a transport packet according to a second embodiment of the present invention;

도 6은 본 발명의 실시예 2에 의한 통전 재개 시의 파일 복구 처리를 나타내는 흐름도,6 is a flowchart showing a file recovery process at the time of restarting energization according to the second embodiment of the present invention;

도 7은 본 발명의 실시예 3에 의한 PES 데이터의 데이터 포맷에 대하여 설명하기 위한 도면,7 is a diagram for explaining the data format of PES data according to the third embodiment of the present invention;

도 8은 본 발명의 실시예 3에 의한 통전 재개 시의 파일 복구 처리를 나타내는 흐름도,8 is a flowchart showing a file recovery process at the time of restarting energization according to the third embodiment of the present invention;

도 9는 본 발명의 실시예 4에 의한 디스크 기록 매체의 파일 구조를 도시하는 도면,9 is a diagram showing the file structure of a disk recording medium according to Embodiment 4 of the present invention;

도 10은 본 발명의 실시예 4에 의한 클러스터의 데이터 구조를 도시하는 도면,10 is a diagram showing a data structure of a cluster according to Embodiment 4 of the present invention;

도 11a는 본 발명의 실시예 4에 의한 정전 등의 이상 종료 시의 파일 구조를 도시하는 도면,Fig. 11A is a view showing the file structure at the time of abnormal termination of power failure or the like according to the fourth embodiment of the present invention;

도 11b는 본 발명의 실시예 4에 의한 정전 등의 이상 종료 시의 클러스터의 상태를 도시하는 도면,11B is a diagram showing the state of the cluster at the time of abnormal termination of power failure or the like according to the fourth embodiment of the present invention;

도 12는 본 발명의 실시예 4에 의한 통전 재개 시의 파일 복구 처리를 나타내는 흐름도,12 is a flowchart showing a file recovery process at the time of restarting energization according to the fourth embodiment of the present invention;

도 13a는 본 발명의 실시예 5에 의한 디지털 데이터 기록 재생 장치의 구성을 도시하는 도면,FIG. 13A is a diagram showing the configuration of a digital data recording and reproducing apparatus according to a fifth embodiment of the present invention; FIG.

도 13b는 본 발명의 실시예 5에 의한 유료 방송 과금(課金) 정보를 도시하는 도면,FIG. 13B is a diagram showing pay TV billing information according to a fifth embodiment of the present invention; FIG.

도 14는 본 발명의 실시예 5에 의한 디지털 데이터 기록 재생 제어부의 처리를 나타내는 흐름도,14 is a flowchart showing processing of the digital data recording and reproducing controller according to the fifth embodiment of the present invention;

도 15는 본 발명의 실시예 6에 의한 디지털 데이터 기록 재생 장치의 구성을 도시하는 블록도,Fig. 15 is a block diagram showing the construction of a digital data recording and reproducing apparatus according to a sixth embodiment of the present invention;

도 16은 종래의 무정전 전원 시스템의 구성을 도시하는 도면,16 is a diagram showing the configuration of a conventional uninterruptible power supply system;

도 17은 종래의 파일 구조를 도시하는 도면.17 is a diagram showing a conventional file structure.

본 발명의 청구항 1에 따른 디지털 데이터 기록 재생 방법은 디스크 기록 매체에 있어서의 데이터의 기록 최소 단위인 클러스터 단위로 디지털 데이터를 기록 재생하는 디지털 데이터 기록 재생 방법에 있어서, 상기 디스크 기록 매체 상에, 기록 가능 클러스터를 서로 연결시킨 파일 구조를 구축하는 제 1 단계와, 기록 가능 클러스터의 선두부터 디지털 데이터를 기록하는 제 2 단계와, 기록 선두 클러스터로부터 기록 종료 클러스터까지의 디지털 데이터를, 기록 파일로서 구성하는 제 3 단계를 구비한 것을 특징으로 하는 것이다.A digital data recording and reproducing method according to claim 1 of the present invention is a digital data recording and reproducing method for recording and reproducing digital data in a cluster unit which is a minimum unit of data recording in a disk recording medium, wherein the recording and reproducing method is performed on the disc recording medium. A first step of constructing a file structure in which possible clusters are connected to each other, a second step of recording digital data from the head of the recordable cluster, and digital data from the recording head cluster to the recording end cluster as a recording file. It is characterized by having a third step.

본 발명에 의하면, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생했다고 하여도, 통전 재개 시에, 디지털 데이터가 기록된 영역이 파일의 일부로서 존재하고, 이상 종료 복구 후에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있고 이상 종료 발생 시의 파일의 파괴 및 데이터 상실을 저렴하게 방지할 수 있다.According to the present invention, even when abnormal termination of power failure or the like occurs during digital data recording, an area in which digital data is recorded exists as a part of the file at the time of resumption of power supply, and recording is performed from the start of recording to the abnormal ending after abnormal termination recovery. The data can be reproduced, and the file destruction and data loss at the time of abnormal termination can be prevented at low cost.

본 발명의 청구항 2에 따른 디지털 데이터 기록 재생 방법은 청구항 1에 기재된 디지털 데이터 기록 재생 방법에 있어서, 상기 제 2 단계의 데이터 기록 도중에 데이터 기록이 이상 종료한 경우, 상기 이상 종료 복구 후에 데이터 기록이 이상 종료했다는 것을 검지하는 단계와, 디지털 데이터의 포맷 정보를 근거로, 데이터 기록 개시로부터 이상 종료까지 기록된 디지털 데이터를 기록 파일로서 구성하는 단계를 더 구비한 것을 특징으로 하는 것이다.The digital data recording and reproducing method according to claim 2 of the present invention is the digital data recording and reproducing method according to claim 1, wherein the data recording is abnormal after the abnormal end recovery when the data recording is abnormally terminated during the data recording of the second step. Detecting that the data has been ended, and configuring digital data recorded from data recording start to abnormal termination as a recording file based on the format information of the digital data.

본 발명에 의하면, 디지털 데이터 기록 도중에 정전 등의 이상 종료가 발생했다 하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있을 뿐만 아니라, 기록 가능 부분을 통상의 데이터 기록 종료 처리를 행한 파일과 마찬가지의 기록 파일로서 복구하는 것이 가능하고, 이상 종료 발생 시의 파일의 파괴 및 데이터의 상실을 저렴하게 방지할 수 있다.According to the present invention, even if an abnormal termination such as a power failure occurs during digital data recording, not only can the data recorded from the recording start to the abnormal end be reproduced at the time of resumption of power supply, It is possible to recover as a recording file similar to the file which has been executed, and the destruction of the file and the loss of data at the time of abnormal termination can be prevented at low cost.

본 발명의 청구항 3에 따른 디지털 데이터 기록 재생 방법은 청구항 2에 기재된 디지털 데이터 기록 재생 방법에 있어서, 상기 디지털 데이터의 포맷 정보가, 트랜스포트 패킷의 동기 바이트인 것을 특징으로 하는 것이다.The digital data recording and reproducing method according to claim 3 of the present invention is the digital data recording and reproducing method according to claim 2, wherein the format information of the digital data is a sync byte of a transport packet.

본 발명에 의하면, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생했다 하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있을 뿐만 아니라, 기록 가능 부분을 통상의 데이터 기록 종료 처리를 행한 파일과 마찬가지의 기록 파일로서 복구하는 것이 가능하고, 이상 종료 발생 시의 파일의 파괴 및 데이터의 상실을 저렴하게 방지할 수 있다.According to the present invention, even when abnormal termination of power failure or the like occurs during digital data recording, not only can the data recorded from the recording start to the abnormal termination be resumed when the power is resumed, but the recordable portion is processed in the normal data recording termination process. It is possible to recover as a recording file similar to the file which has been executed, and the destruction of the file and the loss of data at the time of abnormal termination can be prevented at low cost.

본 발명의 청구항 4에 따른 디지털 데이터 기록 재생 방법은 청구항 2에 기재된 디지털 데이터 기록 재생 방법에 있어서, 상기 디지털 데이터의 포맷 정보가 시간 정보인 것을 특징으로 하는 것이다.The digital data recording and reproducing method according to claim 4 of the present invention is the digital data recording and reproducing method according to claim 2, wherein the format information of the digital data is time information.

본 발명에 의하면, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생했다 하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있을 뿐만 아니라, 기록 가능 부분을 통상의 데이터 기록 종료 처리를 행한 파일과 마찬가지의 기록 파일로서 복구하는 것이 가능하고, 이상 종료 발생 시의 파일의 파괴 및 데이터의 손상을 저렴하게 방지할 수 있다.According to the present invention, even when abnormal termination of power failure or the like occurs during digital data recording, not only can the data recorded from the recording start to the abnormal termination be resumed when the power is resumed, but the recordable portion is processed in the normal data recording termination process. It is possible to recover as a recording file similar to the file which has been executed, and it is possible to inexpensively prevent file destruction and data corruption at the time of abnormal termination.

본 발명의 청구항 5에 따른 디지털 데이터 기록 재생 방법은 디스크 기록 매체에 있어서의 데이터의 기록 최소 단위인 클러스터 단위로 디지털 데이터를 기록 재생하는 디지털 데이터 기록 재생 방법에 있어서, 디지털 데이터에, 파일 식별자와 클러스터 접속 정보를 부가하여 클러스터에 기록하는 단계와, 데이터 기록 도중에 데이터 기록이 이상 종료한 경우에는, 상기 이상 종료 복구 후에 데이터 기록이 이상 종료한 것을 검지하는 단계와, 클러스터 내에 기록한 상기 파일 식별자와 상기 클러스터 접속 정보를 근거로 클러스터의 접속 정보를 복구하는 단계를 구비한 것을 특징으로 하는 것이다.The digital data recording and reproducing method according to claim 5 of the present invention is a digital data recording and reproducing method for recording and reproducing digital data in a cluster unit which is a minimum recording unit of data in a disc recording medium, wherein the file identifier and cluster are added to the digital data. Adding connection information to the cluster, and if data recording ends abnormally during data recording, detecting that data recording ends abnormally after the abnormal termination recovery; and the file identifier and cluster recorded in the cluster. Restoring access information of the cluster based on the access information.

본 발명에 의하면, 디지털 데이터 기록 중에 이상 종료가 발생했다 하여도, 통전 개시 시에 기록 개시로부터 이상 종료까지 기록된 데이터 파일의 파일 할당 테이블을 복구할 수 있고, 재생 가능 부분을 파일 형식으로서 복구 처리할 수 있다. 그리고, 이상 종료 시의 파일의 파괴 및 데이터의 손상을 저렴하게 방지할 수 있다.According to the present invention, even if an abnormal termination occurs during digital data recording, the file allocation table of the data file recorded from the start of recording to the abnormal termination at the start of energization can be restored, and the reproducible portion is restored as a file format. can do. In addition, file destruction and data corruption at abnormal termination can be prevented at low cost.

본 발명의 청구항 6에 따른 디지털 데이터 기록 재생 장치는 데이터의 기록 최소 단위인 클러스터 단위로, 디지털 데이터가 저장되는 디스크 기록 매체와, 디지털 데이터를 상기 디스크 기록 매체에 저장하거나 혹은 상기 디스크 기록 매체로부터 디지털 데이터를 판독하는 파일 구조 관리부를 구비하되, 상기 디스크 기록 매체가 미리 모든 클러스터가 서로 연결된 파일 구조를 갖는 것을 특징으로 하는 것이다.The digital data recording and reproducing apparatus according to claim 6 of the present invention is a disk recording medium in which digital data is stored, in a cluster unit that is a minimum unit of data recording, and digital data is stored in the disk recording medium or digitally recorded from the disk recording medium. And a file structure management unit for reading data, wherein the disc recording medium has a file structure in which all clusters are connected to each other in advance.

본 발명에 의하면, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생한다 하여도, 통전 재개 시에, 디지털 데이터의 기록된 영역이 파일의 일부로서 존재하고, 이상 종료 복구 후에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있어, 이상 종료 발생 시의 파일의 파괴 및 데이터의 손상을 저렴하게 방지할 수 있다.According to the present invention, even if abnormal termination of power failure or the like occurs during digital data recording, at the time of resumption of power supply, a recorded area of digital data exists as a part of the file, and recording is performed from the start of recording to the abnormal termination after the abnormal termination recovery. The data can be reproduced, and the file destruction and data corruption at the time of abnormal termination can be prevented at low cost.

본 발명의 청구항 7에 따른 디지털 데이터 기록 재생 장치는 청구항 6에 기재된 디지털 데이터 기록 재생 장치에 있어서, 상기 파일 구조 관리부가 디지털 데이터의 기록 도중에 데이터 기록이 이상 종료한 경우에는 상기 이상 종료 복구 후에 디지털 데이터의 포맷 정보를 근거로 데이터 기록 개시로부터 이상 종료까지 기록된 디지털 데이터를 기록 데이터로서 구성하는 파일 복구 처리부를 갖는 것을 특징으로 하는 것이다.The digital data recording and reproducing apparatus according to claim 7 is the digital data recording and reproducing apparatus according to claim 6, wherein the data structure management unit performs digital data after the abnormal end recovery when the data recording ends abnormally during the recording of the digital data. And a file recovery processing unit configured to configure digital data recorded from the data recording start to the abnormal end as the recording data based on the format information.

본 발명에 의하면, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생한다 하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있을 뿐만 아니라, 기록 가능 부분을 통상의 데이터 기록 종료 처리를 행한 파일과 마찬가지의 기록 파일로서 복구하는 것이 가능하고, 이상 종료 발생 시의 파일 파괴 및 데이터의 손상을 저렴하게 방지할 수 있다.According to the present invention, even if abnormal termination of power failure or the like occurs during digital data recording, not only can the data recorded from the start of recording to the abnormal end be reproduced at the time of restart of power supply, It is possible to recover as a recording file similar to the file which has been executed, and the file destruction and data corruption at the time of abnormal termination can be prevented at low cost.

본 발명의 청구항 8에 따른 디지털 데이터 기록 재생 장치는 청구항 7에 기재된 디지털 데이터 기록 재생 장치에 있어서, 상기 포맷 정보가 트랜스 포트 패킷의 동기 바이트인 것을 특징으로 하는 것이다.The digital data recording and reproducing apparatus according to claim 8 of the present invention is the digital data recording and reproducing apparatus according to claim 7, wherein the format information is a sync byte of a transport packet.

본 발명에 의하면, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생한다 하여도, 통전 개시 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있을 뿐만 아니라, 기록 가능 부분을 통상의 데이터 기록 종료 처리를 행한 파일과 마찬가지의 기록 파일로서 복구하는 것이 가능하고, 이상 종료 발생 시의 파일의 파괴 및 데이터의 상실을 저렴하게 방지할 수 있다.According to the present invention, even if abnormal termination of power failure or the like occurs during digital data recording, not only can the data recorded from the recording start to the abnormal end be reproduced at the start of power supply, but also the normal data recording end processing of the recordable portion. It is possible to recover as a recording file similar to the file which has been executed, and the destruction of the file and the loss of data at the time of abnormal termination can be prevented at low cost.

본 발명의 청구항 9에 따른 디지털 데이터 기록 재생 장치는 청구항 7에 기재된 디지털 데이터 기록 재생 장치에 있어서, 상기 포맷 정보가 시간 정보인 것을 특징으로 하는 것이다.A digital data recording and reproducing apparatus according to claim 9 of the present invention is the digital data recording and reproducing apparatus according to claim 7, wherein the format information is time information.

본 발명에 의하면, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생한다 하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있을 뿐만 아니라, 기록 가능 부분을 통상의 데이터 기록 종료 처리를 행한 파일과 마찬가지의 기록 파일로서 복구하는 것이 가능하고, 이상 종료 발생 시의 파일의 파괴 및 상실을 저렴하게 방지할 수 있다.According to the present invention, even if abnormal termination of power failure or the like occurs during digital data recording, not only can the data recorded from the start of recording to the abnormal end be reproduced at the time of restart of power supply, It is possible to recover as a recording file similar to the file which has been executed, and the destruction and loss of the file at the time of abnormal termination can be prevented at low cost.

본 발명의 청구항 10에 따른 디지털 데이터 기록 재생 장치는 데이터의 기록 최소 단위인 클러스터 단위로 디지털 데이터가 저장되는 디스크 기록 매체와, 디지털 데이터를 상기 디스크 기록 매체의 클러스터에 파일 식별자와 클러스터 접속 정보를 부가하여 저장하거나, 혹은 상기 디스크 기록 매체로부터 디지털 데이터를 판독하는 파일 구조 관리부를 구비하되, 상기 파일 구조 관리부가 디지털 데이터의 기록 도중에 데이터 기록이 이상 종료 한 경우에는, 상기 이상 종료 복구 후에 클러스터 내에 기록한 상기 파일 식별자와 상기 클러스터 접속 정보를 근거로 데이터 기록 개시로부터 이상 종료까지 기록된 디지털 데이터를 기록 데이터로서 구성하는 파일 복구 처리부를 갖는 것을 특징으로 하는 것이다.A digital data recording and reproducing apparatus according to claim 10, wherein the digital data recording and reproducing apparatus adds a file identifier and cluster connection information to a disk recording medium storing digital data in a cluster unit, which is a minimum unit of data recording, and adds digital data to a cluster of the disk recording medium. And a file structure management unit for storing the data or reading the digital data from the disc recording medium. When the file structure management unit abnormally terminates the data recording during the recording of the digital data, the data recorded in the cluster after the abnormal termination recovery is performed. And a file recovery processing unit for configuring digital data recorded from data recording start to abnormal termination on the basis of the file identifier and the cluster connection information as record data.

본 발명에 의하면, 디지털 데이터 기록 중에 이상 종료가 발생한다 하여도, 통전 개시 시에 기록 개시로부터 이상 종료까지 기록된 데이터 파일의 파일 할당 테이블을 복구할 수 있고, 재생 가능 부분을 파일 형식으로서 복구 처리할 수 있다. 그리고, 이상 종료 발생 시의 파일의 파괴 및 데이터의 상실을 저렴하게 방지할 수 있다.According to the present invention, even if abnormal termination occurs during digital data recording, the file allocation table of the data file recorded from the recording start to the abnormal termination at the start of energization can be restored, and the reproducible portion is restored as a file format. can do. In addition, it is possible to inexpensively prevent file destruction and loss of data when abnormal termination occurs.

본 발명의 청구항 11에 따른 디지털 데이터 기록 재생 장치는 청구항 7 내지 10 중 어느 하나에 기재된 디지털 데이터 기록 재생 장치에 있어서, 디지털 방송을 수신하는 디지털 방송 수신부와, 수신한 디지털 방송이 유료인지의 여부를 나타내는 과금(課金) 정보에 의해, 상기 파일 구조 관리부를 제어하는 제어기를 더욱 구비하되, 유료 디지털 방송을 수신하는 중에 데이터 기록의 이상 종료가 발생한 경우에는, 상기 제어기가 이상 종료 복구 후에 기록 데이터를 폐기하고, 과금하지 않도록 제어하는 것을 특징으로 하는 것이다.The digital data recording and reproducing apparatus according to claim 11 of the present invention is the digital data recording and reproducing apparatus according to any one of claims 7 to 10, comprising: a digital broadcasting receiver for receiving digital broadcasting, and whether the received digital broadcasting is charged or not. And further comprising a controller for controlling the file structure management unit according to the charging information indicating, when the abnormal termination of data recording occurs while receiving pay digital broadcasting, the controller discards the recorded data after the abnormal termination recovery. And controlling not to charge.

본 발명에 의하면, 데이터 기록 시에 정전 등의 이상 종료가 발생했을 때에도, 디지털 방송이 유료가 아니라면, 이상 종료에 의해 중단할 때까지의 파일을 복구할 수 있다. 또한, 이상 종료에 의해 기록 중단한 디지털 방송이 유료라면, 도중까지 기록한 데이터를 폐기하는 것에 의해, 그 유료 방송에 관해서는 과금되지 않아, 사용자에 대하여 적절한 과금을 행할 수 있다.According to the present invention, even when an abnormal termination such as a power failure or the like occurs during data recording, if the digital broadcasting is not paid, the file until the termination by the abnormal termination can be recovered. If the digital broadcasting stopped recording due to abnormal termination is paid, the data recorded up to the middle is discarded so that the paid broadcasting is not charged, and appropriate charging can be made to the user.

본 발명의 청구항 12에 따른 디지털 데이터 기록 재생 장치는 디지털 데이터의 기록 재생을 하는 디지털 데이터 기록 재생 장치에 있어서, 디지털 데이터가 기록되는 복수의 디스크 기억부와, 디지털 데이터가 저장되는 클러스터와 그 클러스터의 접속 정보를 관리하는 파일 할당 테이블을 서로 다른 디스크 기억부에 기록하는 파일 구조 관리부를 구비한 것을 특징으로 하는 것이다.A digital data recording and reproducing apparatus according to claim 12 of the present invention is a digital data recording and reproducing apparatus for recording and reproducing digital data, comprising: a plurality of disc storage units for recording digital data, a cluster storing digital data, and a cluster of the clusters; And a file structure management unit for recording file allocation tables for managing access information in different disk storage units.

본 발명에 의하면, 고속의 디스크 액세스가 가능하게 되고, 또한 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 정상적인 파일 형식으로서 판독할 수 있다. 그리고, 이상 종료 발생 시의 파일의 파괴 및 데이터의 상실을 저렴하게 방지할 수 있다.According to the present invention, high-speed disk access is possible, and even if abnormal termination of power failure or the like occurs during digital data recording, data recorded from the start of recording to abnormal termination can be read as a normal file format at the time of restarting power supply. have. In addition, it is possible to inexpensively prevent file destruction and loss of data when abnormal termination occurs.

(실시예 1)(Example 1)

이하, 본 발명의 실시예 1에 의한 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 대하여, 도면을 참조하면서 설명한다. 본 실시예 1에 있어서의 디지털 데이터 기록 재생 방법은 미리 기록 가능 클러스터를 서로 연결시킨 합친 기록 가능 영역을 디스크 기록 매체 상에 구축하고, 기록 종료 시에 기록 선두 클러스터로부터 기록 종료 클러스터까지의 디지털 데이터를 기록 파일로서 구성하는 것이다.Hereinafter, the digital data recording and reproducing method and the digital data recording and reproducing apparatus according to the first embodiment of the present invention will be described with reference to the drawings. In the digital data recording and reproducing method of the first embodiment, a combined recordable area where previously recordable clusters are connected to each other is constructed on a disc recording medium, and at the end of recording, digital data from the recording head cluster to the recording end cluster is recorded. It is configured as a log file.

도 1은 본 실시예 1에 의한 디지털 데이터 기록 재생 장치의 구조를 도시하는 블록도이다.1 is a block diagram showing the structure of a digital data recording and reproducing apparatus according to the first embodiment.

디지털 데이터 기록 재생 장치(20)는 데이터 입출력부(21)와 파일 구조 관리부(22)와 디스크 기록 매체(23)를 구비한다.The digital data recording and reproducing apparatus 20 includes a data input / output unit 21, a file structure management unit 22, and a disc recording medium 23.

데이터 입출력부(21)는 데이터 수신 시에는, 외부 접속된 디지털 데이터 입력 기기로부터 디지털 데이터를 수신하여 파일 구조 관리부(22)로 디지털 데이터를 출력하고, 데이터 재생 시에는, 파일 구조 관리부(22)로부터 디지털 데이터를 수신하여 외부 접속된 디지털 데이터 재생 기기로 디지털 데이터를 출력한다.The data input / output unit 21 receives digital data from an externally connected digital data input device at the time of data reception, outputs digital data to the file structure management unit 22, and, from the file structure management unit 22, at the time of data reproduction. Receive digital data and output digital data to an externally connected digital data reproducing apparatus.

파일 구조 관리부(22)는 디스크 기록 매체(23)의 파일 구조를 관리하여, 데이터 입력 시에는, 디지털 데이터를 디스크 기록 매체(23)에 기록하고, 데이터 출력 시에는, 디스크 기록 매체(23)로부터 디지털 데이터를 판독한다.The file structure management unit 22 manages the file structure of the disc recording medium 23, records digital data on the disc recording medium 23 at the time of data input, and from the disc recording medium 23 at the time of data output. Read digital data.

디스크 기록 매체(23)는 디지털 데이터가 저장되는 디스크 형태의 기록 매체이다.The disc recording medium 23 is a disc-shaped recording medium in which digital data is stored.

도 2a 내지 도 2c는 디스크 기록 매체(23)의 파일 구조를 도시하는 도면이다.2A to 2C are diagrams showing the file structure of the disc recording medium 23. FIG.

도 2a 내지 도 2c에 있어서, 디스크 기록 매체(23)의 파일 구조는 루트 디렉토리(101)와 파일 할당 테이블(102)과 클러스터(103)로 구성된다.2A to 2C, the file structure of the disc recording medium 23 is composed of a root directory 101, a file allocation table 102, and a cluster 103. As shown in FIG.

루트 디렉토리(101)는 기록 가능 영역의 선두 클러스터 번호와, 기록된 데이터 파일의 명칭과, 그 데이터 파일의 데이터가 저장되는 선두 클러스터 번호를 유지한다. 파일 할당 테이블(102)은 데이터 파일에 있어서의 클러스터(103)의 접속 관계를 파일 할당 테이블(102)의 해당 클러스터 번호 위치에, 해당 클러스터에 이어지는 클러스터 번호를 저장하는 것에 의해 관리한다. 클러스터(103)는 디스크 기록 매체(23)의 최소 액세스 단위로서, 연속하는 숫자가 논리 블록 어드레스로서 할당되어 있으며, 데이터 파일의 디지털 데이터가 저장된다.The root directory 101 holds the head cluster number of the recordable area, the name of the recorded data file, and the head cluster number where the data of the data file is stored. The file allocation table 102 manages the connection relationship of the cluster 103 in the data file by storing the cluster number following the cluster at the cluster number position of the file allocation table 102. The cluster 103 is a minimum access unit of the disc recording medium 23, in which consecutive numbers are assigned as logical block addresses, and digital data of a data file is stored.

도 2a는 데이터 미기록 시의 파일 구조를 도시하는 도면이다.Fig. 2A is a diagram showing a file structure when data is not recorded.

도 2a에 있어서, 루트 디렉토리(101)에는 기록된 데이터 파일은 존재하지 않고, 기록 가능 영역을 가리키는 프리 영역이 존재하고, 그 프리 영역은 클러스터 번호 0002부터 시작하는 구성으로 되어 있다. 또, 파일 할당 테이블(102) 중의 FFFF는 해당 클러스터에 계속되는 클러스터(103)가 존재하지 않고, 최종 클러스터라는 것을 나타낸다.In Fig. 2A, the recorded data file does not exist in the root directory 101, and there is a free area indicating the recordable area, and the free area is configured to start from cluster number 0002. FFFF in the file allocation table 102 indicates that there is no cluster 103 subsequent to the cluster and is the final cluster.

데이터 미기록 시의 파일 구조로서는 프리 영역이 클러스터 번호 0002부터 시작하고, 전체 클러스터를 순서대로 접속시킨 영역으로 되도록, 파일 할당 테이블(102)이 구성되어 있다.As a file structure when data is not recorded, the file allocation table 102 is configured such that the free area starts with the cluster number 0002 and becomes an area where all the clusters are connected in order.

다음에, 데이터를 기록하는 동작에 대하여, 도 1, 도 2a 내지 도 2c 및 도 3을 이용하여 설명한다.Next, an operation of recording data will be described with reference to FIGS. 1, 2A to 2C, and FIG. 3.

도 3은 디지털 데이터 기록 재생 방법을 나타내는 흐름도이다.3 is a flowchart showing a digital data recording and reproducing method.

우선, 디스크 기록 매체(23)의 포맷 시 혹은 기록 개시 전에, 파일 구조 관리부(22)는 디스크 기록 매체(23)의 기록 영역을 도 2a에 도시하는 바와 같이, 미리 모든 클러스터 번호가 이어지는 파일 구조로 구축한다(단계 S31). 그 파일 구조의 구축 후에, 데이터의 기록을 개시한다.First, at the time of formatting or before the start of recording of the disc recording medium 23, the file structure management unit 22 displays the recording area of the disc recording medium 23 in a file structure in which all cluster numbers are successively connected in advance. (Step S31). After the file structure is constructed, data recording is started.

디지털 데이터는 외부 접속된 도시하지 않은 디지털 데이터 입력 기기로부터 데이터 입출력부(21)에 입력된다. 데이터 입출력부(21)는 그 디지털 데이터를 파일 구조 관리부(22)에 출력한다.The digital data is input to the data input / output unit 21 from an externally connected digital data input device (not shown). The data input / output unit 21 outputs the digital data to the file structure management unit 22.

도 2b는 데이터 기록 개시 시의 파일 구조를 도시하는 도면이다.2B is a diagram showing a file structure at the start of data recording.

도 2b에 있어서, 데이터 기록 개시 시에는 파일 구조 관리부(22)가 루트 디렉토리(101)의 프리 영역에 할당되어 있던 선두 클러스터 번호를 데이터 파일 비디오의 선두 클러스터 번호 저장 영역에 복사하고, 기록 가능 영역을 나타내는 프리 영역의 선두 클러스터 번호 저장 영역에는 할당된 클러스터(103)가 존재하지 않는 것을 나타내는 FFFF를 저장한다.In FIG. 2B, at the start of data recording, the file structure management unit 22 copies the head cluster number assigned to the free area of the root directory 101 to the head cluster number storage area of the data file video, and records the recordable area. An FFFF indicating that the allocated cluster 103 does not exist is stored in the head cluster number storage area of the indicated free area.

루트 디렉토리(101)의 변경에 의해, 파일 할당 테이블(102)의 구성은 데이터 파일 비디오가 클러스터 번호 0002로부터 시작하고, 모든 클러스터를 순서대로 접속한 영역을 나타내는 것으로 된다.With the change of the root directory 101, the configuration of the file allocation table 102 indicates the area where the data file video starts from cluster number 0002 and connects all clusters in order.

데이터 기록 시는 기록 개시 시에, 데이터 파일 비디오에 할당된 클러스터(103)의 선두로부터, 예컨대 영상 데이터 등의 디지털 데이터를 기록한다(단계 S32).At the time of data recording, at the start of recording, digital data such as video data is recorded from the head of the cluster 103 allocated to the data file video (step S32).

도 2c는 데이터 기록 종료 시의 파일 구조를 도시하는 도면이다.Fig. 2C is a diagram showing the file structure at the end of data recording.

도 2c에 있어서, 데이터 기록 종료 시에는, 파일 구조 관리부(22)가 파일 할당 테이블(102)의 최후에 기록된 클러스터(103)에 대응하는 위치에, 데이터 파일의 최종 클러스터를 나타내는 FFFF를 저장한다.In FIG. 2C, at the end of data recording, the file structure management unit 22 stores the FFFF indicating the final cluster of the data file at a position corresponding to the cluster 103 recorded last in the file allocation table 102. In FIG. .

그리고, 루트 디렉토리(101)에서는, 기록 가능 영역을 나타내는 프리 영역의 데이터의 선두 클러스터 번호 저장 영역에, 최후에 기록한 클러스터(103)에 연이는 클러스터 번호(이 경우, 2000)를 저장한다.In the root directory 101, the cluster number (2000 in this case) subsequent to the cluster 103 recorded last is stored in the first cluster number storage area of the data of the free area indicating the recordable area.

이렇게 하는 것으로, 다음의 데이터 파일 기록 시에는, 기록 가능 영역을 나타내는 프리 영역에 할당된 선두 클러스터로부터 시작하는 영역이 사용되는 것으로 된다. 이와 같이 하여, 기록 선두 클러스터로부터 기록 종료 클러스터까지의 디지털 데이터가 기록 파일로서 구성된다(단계 S33).By doing so, the area starting from the first cluster allocated to the free area representing the recordable area is used during the next data file recording. In this way, the digital data from the recording head cluster to the recording end cluster are configured as a recording file (step S33).

상기와 같은 파일 구조에 있어서, 데이터 기록 중에 정전 등의 이상 종료가 발생한 경우, 예컨대 클러스터 번호 1FFF를 기록하는 중에 이상 종료가 발생한 경우에는, 파일 구조는 도 2b의 상태로서, 데이터 파일은 클러스터 번호 0002로부터 클러스터 번호 1FFF까지의 기록 완료 클러스터와, 2000 이후의 미기록 클러스터가 미기록 시로부터 미리 연결된 상태로 되어 있다.In the above file structure, when abnormal termination of power failure or the like occurs during data recording, for example, when abnormal termination occurs during recording of cluster number 1FFF, the file structure is in the state of FIG. 2B, and the data file is cluster number 0002. The recording completed clusters up to the cluster number 1FFF and the unrecorded cluster after 2000 are connected in advance from the unrecorded time.

이와 같이, 본 실시예 1의 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 의하면, 이미 모든 기록 가능 영역의 클러스터가 연결된 파일 구조의 디스크 기록 매체(23)를 이용하여, 기록 종료 시에, 최후에 데이터를 기록한 클러스터에, 최종 클러스터를 나타내는 식별자를 저장하고, 기록 가능 영역의 선두 클러스터에 최후로 데이터를 기록한 클러스터에 연속하는 클러스터의 번호를 저장하는 파일 구조 관리부(22)를 구비한 것으로, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발샌한다 하여도, 통전 재개 시에, 디지털 데이터가 기록된 영역이, 파일의 일부로서 존재하여, 이상 종료 복구 후에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있다.As described above, according to the digital data recording and reproducing method and the digital data recording and reproducing apparatus of the first embodiment, at the end of recording by using the disk recording medium 23 having a file structure in which clusters of all recordable areas are already connected, The file structure management unit 22 stores an identifier indicating a final cluster in a cluster in which data is recorded, and stores a number of clusters subsequent to the cluster in which data was last recorded in the head cluster of the recordable area. Even if abnormal termination of power failure or the like occurs during data recording, an area in which digital data is recorded as a part of the file at the time of restarting power supply can be reproduced so that data recorded from the start of recording to abnormal termination after abnormal termination recovery can be reproduced. have.

또, 본 실시예 1에서는, 기록 가능 영역이 존재하지 않는 것을 나타내는 식별자로서, FFFF를 이용했지만, 클러스터 번호로서 존재하지 않는 다른 값을 이용하여도 된다.In the first embodiment, although FFFF is used as an identifier indicating that a recordable area does not exist, another value that does not exist as a cluster number may be used.

(실시예 2)(Example 2)

이하, 본 발명의 실시예 2에 의한 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 대하여, 도면을 참조하면서 설명한다. 본 실시예 2에 의한 디지털 데이터 기록 재생 방법은 실시예 1에 있어서의 처리에, 중단 파일의 선두 클러스터 번호를 구하기 위해, 클러스터의 데이터 내에 동기 바이트의 누락이 있는지의 여부를 조사하는 단계를 부가한 것이다.Hereinafter, the digital data recording and reproducing method and the digital data recording and reproducing apparatus according to the second embodiment of the present invention will be described with reference to the drawings. In the digital data recording and reproducing method according to the second embodiment, the processing in the first embodiment adds a step of checking whether there is a missing sync byte in the cluster data in order to obtain the head cluster number of the interruption file. will be.

본 실시예 2에 의한 디스크 기록 매체의 파일 구조는 실시예 1의 디스크 기록 매체의 파일 구조와 마찬가지이고, 도 2a 내지 도 2c로 나타내어진다. 또, 도 2b의 기록 가능 영역을 나타내는 프리 영역의 선두 클러스터 번호 저장 영역에 저장된 FFFF는 본 실시예 2에서는 데이터 기록 중인 것을 나타낸다.The file structure of the disc recording medium according to the second embodiment is the same as that of the disc recording medium of the first embodiment, and is shown in Figs. 2A to 2C. In addition, FFFF stored in the head cluster number storage area of the free area indicating the recordable area in Fig. 2B indicates that data is being recorded in the second embodiment.

도 4는 본 실시예 2에 의한 디지털 데이터 기록 재생 장치의 구성을 나타내는 블록도이다.4 is a block diagram showing the configuration of the digital data recording and reproducing apparatus according to the second embodiment.

디지털 데이터 기록 재생 장치(24)는 데이터 입출력부(21)와, 파일 구조 관리부(25)와, 디스크 기록 매체(23)를 구비한다. 파일 구조 관리부(25)는 파일 복구 처리부(26)를 더 구비한다. 또, 파일 구조 관리부(25) 및 파일 복구 처리부(26)에 관련되는 부분 이외의 구성 및 동작은 실시예 1과 마찬가지이므로 설명을 생략한다.The digital data recording and reproducing apparatus 24 includes a data input / output unit 21, a file structure management unit 25, and a disc recording medium 23. The file structure management unit 25 further includes a file recovery processing unit 26. In addition, since the structure and operation | movement other than the part related to the file structure management part 25 and the file recovery process part 26 are the same as that of Example 1, description is abbreviate | omitted.

파일 구조 관리부(25)는 디스크 기록 매체(23)의 파일 구조를 관리하고, 데이터 입력 시에는 디지털 데이터를 디스크 기록 매체(23)에 기록하고, 데이터 출력 시에는, 디스크 기록 매체(23)로부터 디지털 데이터를 판독한다.The file structure management unit 25 manages the file structure of the disc recording medium 23, records digital data on the disc recording medium 23 at the time of data input, and digitally reads from the disc recording medium 23 at the time of data output. Read the data.

파일 복구 처리부(26)는 디지털 데이터의 기록 시에, 예컨대 정전 등의 데이터 기록의 이상 종료가 발생한 경우, 통전 재개 시에, 데이터 기록 개시로부터 이상 종료까지의 데이터가 통상의 종료 처리를 행한 경우와 마찬가지로 하나의 기록 파일로 되도록 복구 처리를 행한다.The file recovery processing unit 26 performs a normal termination process when data from the data recording start to the abnormal end is performed when digital data is recorded, for example, when an abnormal end of data recording such as a power failure or the like is resumed. Similarly, recovery processing is performed so as to be one recording file.

도 5는 디지털 방송의 데이터 형식인 트랜스 포트 패킷의 구조를 나타내는 도면이다.5 is a diagram illustrating a structure of a transport packet which is a data format of digital broadcasting.

도 5에 있어서, 트랜스 포트 패킷은 헤더 정보인 트랜스 포트 헤더(201)와, 디지털 데이터의 실제 데이터인 페이로드(202)로 구성된다. 또, 트랜스 포트 패킷은 고정 길이이다. 트랜스 포트 헤더(201)의 선두에는 동기를 취하기 위한 동기 바이트(203)가 존재한다. 디지털 방송은 이 트랜스 포트 패킷을 반복시킨 데이터에 의해 구성된다.In Fig. 5, a transport packet is composed of a transport header 201, which is header information, and a payload 202, which is actual data of digital data. Also, the transport packet has a fixed length. At the head of the transport header 201 is a sync byte 203 for synchronization. Digital broadcasting is composed of data obtained by repeating this transport packet.

다음에, 도 2a 내지 도 2c에서 도시되는 파일 구조의 디스크 기록 매체(23)에, 데이터를 기록하는 도중에, 예컨대 정전 등의 이상 종료가 발생한 경우의 통전 재개 시의 파일 복구 처리에 대하여 설명한다.Next, a description will be given of a file recovery process at the time of resuming power supply when an abnormal termination such as a power failure occurs while recording data on the disk recording medium 23 having the file structure shown in FIGS. 2A to 2C.

도 6은 통전 재개 시의 파일 복구 처리를 나타내는 흐름도이다. 또, 특히 기술되어 있는 경우 이외에는, 처리는 파일 복구 처리부(26)에 의해 행해진다.6 is a flowchart showing a file recovery process at the time of restarting energization. In addition, except as specifically described, the process is performed by the file recovery processing unit 26.

먼저, 단계 S301에 있어서, 기록 중에 처리가 중단되었는지의 여부를, 도 2b의 루트 디렉토리(101)에 있어서, 기록 가능 영역을 나타내는 프리 영역에 할당되어 있던 선두 클러스터 번호가 기록 중인 것을 나타내는 FFFF인지의 여부를 체크하는 것에 의해 판단된다. 그리고, 기록 처리가 중단되어 있지 않으면, 즉 프리 영역에 할당되어 있던 선두 클러스터 번호가 FFFF가 아니라면, 통전 개시 처리를 종료한다. 기록 처리가 중단되어 있으면, 즉 프리 영역의 선두 클러스터 번호가 기록 중임을 나타내는 FFFF라면, 단계 S302로 진행하여, 통전 재개 처리를 계속한다.First, in step S301, it is determined whether or not the process is interrupted during recording. In step S301, whether the first cluster number assigned to the free area indicating the recordable area in the root directory 101 of FIG. It is judged by checking whether or not. If the recording process is not interrupted, that is, if the head cluster number assigned to the free area is not FFFF, the energization start process ends. If the recording process is interrupted, that is, FFFF indicating that the head cluster number of the free area is recording, the flow advances to step S302 to continue the energization resumption process.

단계 S302에서는, 루트 디렉토리(101)로부터 파일 할당 테이블(102)의 접속이 최종 클러스터 FFFF로 종료하고 있지 않은 기록 중단 파일의 선두 클러스터 번호를 취득하여 커런트 클러스터로 한다.In step S302, the head cluster number of the recording interruption file whose connection to the file allocation table 102 has not been terminated to the last cluster FFFF is obtained from the root directory 101 to be a current cluster.

단계 S303에서는, 커런트 클러스터 내에 동기 바이트(203)의 누락이 있는지의 여부를 판단한다. 동기 바이트(203)의 누락이 있으면, 커런트 클러스터에서 기록 중단이 있었다고 판단하고, 단계 S304로 진행한다. 동기 바이트(203)의 누락이 없다면, 커런트 클러스터에서 기록 중단이 없었다고 판단하고, 단계 S307로 진행한다.In step S303, it is determined whether or not the sync byte 203 is missing in the current cluster. If the sync byte 203 is missing, it is determined that there is a recording interruption in the current cluster, and the flow proceeds to step S304. If there is no omission of the sync byte 203, it is determined that there is no write interruption in the current cluster, and the flow proceeds to step S307.

단계 S304에서는 커런트 클러스터에 대응하는 파일 할당 테이블(102)의 클러스터 번호 위치에, 최종 클러스터를 의미하는 FFFF를 저장한다.In step S304, FFFF representing the final cluster is stored in the cluster number position of the file allocation table 102 corresponding to the current cluster.

단계 S305에서는, 파일 할당 테이블(102)로부터 커런트 클러스터에 연속하는 클러스터 번호를 취득하여, 선두 프리 클러스터로 한다.In step S305, the cluster number subsequent to the current cluster is obtained from the file allocation table 102, and the first free cluster is obtained.

단계 S306에서는, 루트 디렉토리(101)의 프리 영역의 선두 클러스터 번호 저장 영역에, 선두 클러스터를 저장한다. 그리고, 통전 재개 처리를 종료한다.In step S306, the head cluster is stored in the head cluster number storage area of the free area of the root directory 101. Then, the energization resumption process ends.

단계 S307에서는, 커런트 클러스터에 연속하는 클러스터가 있는지의 여부를 판단한다. 커런트 클러스터에 연속하는 클러스터가 있으면, 단계 S308로 진행하고, 커런트 클러스터에 연속하는 클러스터가 없으면, 최종 클러스터까지 기록 처리가 행해졌다고 판단하여 통전 재개 처리를 종료한다.In step S307, it is determined whether there is a continuous cluster in the current cluster. If there is a continuous cluster in the current cluster, the flow advances to step S308. If there is no continuous cluster in the current cluster, it is determined that the recording process has been performed to the last cluster, and the power supply resume process ends.

단계 S308에서는, 파일 할당 테이블(102)로부터 커런트 클러스터에 연속하는 클러스터 번호를 취득하여, 그 클러스터 번호를 커런트 클러스터로 하는 것에 의해, 커런트 클러스터를 갱신하고, 단계 S303으로 복귀하고, 동기 바이트(203)의 체크를 반복한다.In step S308, by obtaining the cluster number subsequent to the current cluster from the file allocation table 102 and setting the cluster number as the current cluster, the current cluster is updated, and the process returns to step S303, and the sync byte 203 is obtained. Repeat the check.

다음에, 통전 재개 시의 파일 복구 처리에 대하여, 구체적인 예를 이용하여 설명한다.Next, a file recovery process at the time of restarting energization will be described using a specific example.

예컨대, 클러스터 번호 1FFF의 클러스터(103)에의 데이터 기록 도중에 정전이 발생하였다고 가정한다. 이 경우에, 통전 재개 시의 파일 복구 처리에 있어서, 동기 바이트(203)의 누락이 있는지의 여부를, 기록 중단 파일의 선두 클러스터 번호로부터 확인해 가면, 클러스터 번호 1FFFF에서 동기 바이트(203)를 발견할 수 없게 된다(단계 S303). 그리고, 파일 할당 테이블(102)의 클러스터 번호 1FFF의 위치에 데이터 파일의 최종 클러스터를 나타내는 FFFF를 저장한다(단계 S304). 그리고, 루트 디렉토리(101)에 있어서는, 기록 가능 영역을 나타내는 프리 영역의 선두 클러스터 번호 저장 영역에 기록 중인 것을 나타내는 FFFF 대신에, 최후에 기록한 클러스터 번호 1FFF에 연속하는 클러스터 번호 2000을 저장한다(단계 S306). 이것에 의해, 도 2c에서 도시하는 정상적으로 기록이 종료한 경우와 마찬가지의 파일 구조로 복구할 수 있다.For example, it is assumed that a power failure has occurred during data recording to the cluster 103 of the cluster number 1FFF. In this case, in the file recovery process at the time of restart of energization, if the synchronization byte 203 is checked whether or not there is a missing of the synchronization byte, the synchronization byte 203 can be found at the cluster number 1FFFF. It becomes impossible (step S303). Then, FFFF indicating the final cluster of the data file is stored at the cluster number 1FFF in the file allocation table 102 (step S304). In the root directory 101, a cluster number 2000 subsequent to the last recorded cluster number 1FFF is stored in place of the FFFF indicating that recording is in the head cluster number storage area of the free area indicating the recordable area (step S306). ). As a result, the same file structure as that in the case where recording is normally completed as shown in Fig. 2C can be restored.

이와 같이, 본 실시예 2에 의한 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 의하면, 미리 모든 기록 가능 영역의 클러스터의 연이은 파일 구조의 디스크 기록 매체(23)를 이용하여 디지털 데이터의 기록을 행하는 것에 의해, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생한다 하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있을 뿐만 아니라, 기록 가능 영역으로서의 프리 영역을 활용하는 것에 의해, 기록 가능 부분을 통상의 데이터 기록 종료 처리를 행한 파일과 마찬가지의 파일 형식으로서 복구하는 것이 가능하다.As described above, according to the digital data recording and reproducing method and the digital data recording and reproducing apparatus according to the second embodiment, the digital data is recorded by using the disc recording medium 23 having the successive file structure of the cluster of all recordable areas in advance. Thus, even if abnormal termination of power failure or the like occurs during digital data recording, not only can the data recorded from the start of recording to the abnormal end be reproduced at the time of restarting power supply, but also by utilizing the free area as a recordable area, It is possible to recover the recordable portion as a file format similar to that of a file that has undergone normal data recording end processing.

또, 본 실시예 2에서는, 기록하는 디지털 데이터 형식을 트랜스 포트 패킷 으로서 설명하였지만, 팩 데이터에 있어서도, 팩 개시 코드를 동기 바이트로서 이용하는 것에 의해, 마찬가지로 실시할 수 있다.In the second embodiment, the digital data format to be recorded has been described as a transport packet. However, the pack start code can also be implemented similarly by using the pack start code as a sync byte.

또한, 중단 파일의 선두 클러스터 번호를 구하는 수단으로서는, 동기 바이트 누락이 있는지의 여부에 의해 판별할 뿐만 아니라, 다른 디지털 데이터의 포맷 정보에 근거하여 판별하여도 된다.In addition, the means for obtaining the head cluster number of the interrupt file may be determined not only based on whether there is a missing sync byte, but also based on the format information of other digital data.

(실시예 3)(Example 3)

이하, 본 발명의 실시에 3에 의한 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 대하여, 도면을 참조하면서 설명한다. 본 실시예 3에 의한 디지털 데이터 기록 재생 방법은 실시예 2에 있어서의 클러스터 내에 동기 바이트 누락이 있는지의 여부를 조사하는 단계를 클러스터 내에 마커 비트의 누락 혹은 PTS의 감소가 있는지의 여부를 조사하는 단계로 한 것이다.Hereinafter, the digital data recording and reproducing method and digital data recording and reproducing apparatus according to Embodiment 3 of the present invention will be described with reference to the drawings. In the digital data recording and reproducing method according to the third embodiment, the step of investigating whether there is a missing sync byte in the cluster in the second embodiment is a step of investigating whether there are missing marker bits or a decrease in PTS in the cluster. It is done.

본 실시예 3에 의한 디스크 기록 매체의 파일 구조 및 디지털 데이터 기록 재생 장치는 각각 도 2a 내지 도 2c 및 도 4에 도시되고, 실시예 2의 파일 구조 및 디지털 데이터 기록 재생 장치와 마찬가지이므로, 설명을 생략한다. 또, 도 2b의 기록 가능 영역을 도시하는 프리 영역의 선두 클러스터 번호 저장 영역에 저장된 FFFF는 본 실시예 3에서는, 데이터 기록 중인 것을 나타낸다. 또한, 본 실시예 3에 있어서는, 도 4의 파일 복구 처리부(26)는 마커 비트의 누락 혹은 PTS의 감소를 확인하는 것에 의해, 파일 복구 처리를 행하는 것으로 한다.The file structure and digital data recording and reproducing apparatus of the disc recording medium according to the third embodiment are shown in Figs. 2A to 2C and 4, respectively, and are the same as the file structure and digital data recording and reproducing apparatus of the second embodiment. Omit. In addition, in the third embodiment, FFFF stored in the head cluster number storage area of the free area showing the recordable area in Fig. 2B indicates that data is being recorded. In the third embodiment, the file recovery processing unit 26 in FIG. 4 performs file recovery processing by confirming that the marker bits are missing or the PTS is reduced.

도 7은 도 5에 도시하는 트랜스 포트 패킷의 페이로드부를 모은 PES 데이터의 데이터 포맷에 대하여 설명하기 위한 도면이다.FIG. 7 is a diagram for explaining the data format of PES data in which the payload unit of the transport packet shown in FIG. 5 is collected.

PES 데이터는 PES의 정보 영역인 패킷 헤더(401)와 실제 데이터인 패킷 데이터(402)로 구성된다. 패킷 헤더(401)에는 재생 출력의 시각 관리 정보인 PTS(403)이 있고, PTS(403)은 데이터의 순서로 증가하는 값으로 되어 있다. 또한, PTS(403)에는 항상 1개의 값을 취하는 마커 비트(404)가 존재한다.The PES data consists of a packet header 401 which is an information area of the PES and packet data 402 which is actual data. The packet header 401 has a PTS 403 which is time management information of reproduction output, and the PTS 403 is a value which increases in the order of data. In addition, there is a marker bit 404 that always takes one value in the PTS 403.

다음에, 데이터 기록 도중에, 예컨대 정전 등의 이상 종료가 발생한 경우의 통전 재개 시의 파일 복구 처리에 대하여 설명한다.Next, a description will be given of a file recovery process at the time of restarting power supply when abnormal termination such as a power failure or the like occurs during data recording.

도 8은 통전 재개 시의 파일 복구 처리를 나타내는 흐름도이다. 또, 단계 S501, 502 및 단계 S503~S508은 각각 실시예 2의 도 6에 나타낸 흐름도의 단계 S301, S302 및 S303~S308과 마찬가지의 처리를 행하는 단계이므로, 설명을 생략한다. 또한, 특히 기술되어 있는 경우 이외는, 처리는 파일 복구 처리부(26)에 의해 행해진다.8 is a flowchart showing a file recovery process at the time of restarting energization. In addition, since step S501, 502, and step S503-S508 perform the process similar to step S301, S302, and S303-S308 of the flowchart shown in FIG. 6 of Example 2, description is abbreviate | omitted. In addition, the process is performed by the file recovery processing unit 26 except when specifically described.

단계 S503에서는, 커런트 클러스터 내에, 마커 비트(404)의 누락 혹은 PTS(403)의 감소가 있는지의 여부를 판단한다. 마커 비트(404)의 누락 혹은 PTS(403)의 감소가 있으면, 커런트 클러스터에서 기록 중단이 있었다고 판단하고, 단계 S504로 진행한다. 마커 비트(404)의 누락 혹은 PTS(403)의 감소가 없으면, 커런트 클러스터에서 기록 중단이 없었다고 판단하여 단계 S507로 진행한다.In step S503, it is determined whether or not the marker bit 404 is missing or the PTS 403 is reduced in the current cluster. If the marker bit 404 is missing or there is a decrease in the PTS 403, it is determined that there is a recording interruption in the current cluster, and the flow proceeds to step S504. If there is no omission of the marker bit 404 or the decrease of the PTS 403, it is determined that there is no recording interruption in the current cluster, and the flow proceeds to step S507.

다음에 통전 재개 시의 파일 복구 처리에 대하여, 구체예를 이용하여 설명한다.Next, a file recovery process at the time of restarting energization will be described using a specific example.

예컨대, 클러스터 번호 1FFF의 클러스터(103)에의 데이터 기록 중에 정전이 발생했다고 가정한다. 이 경우에, 통전 재개 시의 파일 복구 처리에 있어서, PTS(403)가 정상인지의 여부를, 기록 중단 파일의 선두 클러스터 번호로부터 확인해 가면, 클러스터 번호 1FFF에서 PTS(403)가 정상이 아니게 된다(단계 S503). 그리고, 파일 할당 테이블(102)의 클러스터 번호 1FFF의 위치에 데이터 파일의 최종 클러스터를 나타내는 FFFF를 저장한다(단계 S504). 그리고, 루트 디렉토리(101)에 있어서는, 기록 가능 영역을 나타내는 프리 영역의 선두 클러스터 번호 저장 영역에 기록 중인 것을 나타내는 FFFF의 대신에, 최후에 기록한 클러스터 번호 1FFF에 연속하는 클러스터 번호 2000을 저장한다(단계 S506). 이것에 의해, 도 2c로 나타내는, 정상적으로 기록이 종료한 경우와 마찬가지의 파일 구조로 복구할 수 있다.For example, suppose that a power failure has occurred during data writing to the cluster 103 of the cluster number 1FFF. In this case, in the file recovery process at the time of restarting the energization, if the PTS 403 is checked whether or not the PTS 403 is normal, the PTS 403 is not normal in the cluster number 1FFF. Step S503). Then, FFFF indicating the final cluster of the data file is stored at the cluster number 1FFF in the file allocation table 102 (step S504). In the root directory 101, the cluster number 2000 subsequent to the cluster number 1FFF recorded last is stored instead of the FFFF indicating that the head cluster number storage area of the free area indicating the recordable area is being recorded (step). S506). As a result, the file structure shown in FIG. 2C can be restored to the same file structure as when recording was normally completed.

이와 같이, 본 실시예 3에 의한 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 의하면, 이미 모든 기록 가능 영역의 클러스터가 연결된 파일 구조의 디스크 기록 매체를 이용하여 디지털 데이터의 기록을 행하는 것에 의해, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생한다 하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 재생할 수 있을 뿐만 아니라, 기록 가능 영역으로서의 프리 영역을 활용하는 것에 의해, 기록 가능 부분을 통상의 데이터 기록 종료 처리를 행한 파일과 마찬가지의 파일 형식으로서 복구하는 것이 가능하다.As described above, according to the digital data recording and reproducing method and the digital data recording and reproducing apparatus according to the third embodiment, by recording digital data using a disk recording medium having a file structure in which clusters of all recordable areas are already connected, Even if abnormal termination of power failure or the like occurs during digital data recording, not only can the data recorded from the recording start to the abnormal end be reproduced at the time of resumption of power supply, but also the free area as the recordable area can be utilized. Can be recovered in the same file format as a file that has undergone normal data recording end processing.

또, 본 실시예 3에서는 기록하는 디지털 데이터 형식을, 트랜스 포트 패킷으로 하여 설명했지만, 팩 데이터이더라도 시간 정보를 이용하는 것에 의해, 마찬가지로 실시할 수 있다.In the third embodiment, the digital data format to be recorded has been described as a transport packet. However, even in the case of pack data, it can be implemented similarly by using time information.

또한, 실시예 2 및 실시예 3에서는 기록 중인 것을 나타내는 식별자로서 FFFF를 이용했지만, 클러스터 번호로서 존재하지 않는 다른 값을 이용하여도 된다.In the second and third embodiments, FFFF is used as an identifier indicating that recording is in progress, but other values that do not exist as cluster numbers may be used.

(실시예 4)(Example 4)

이하, 본 발명의 실시예 4에 의한 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 대하여, 도면을 참조하면서 설명한다. 본 실시예 4에 의한 디지털 데이터 기록 재생 방법은 각 클러스터에 데이터 파일을 식별하기 위한 파일 ID를 저장하는 영역을 마련하고, 그 파일 ID에 의해 파일 복구 처리를 행하는 것이다.Hereinafter, the digital data recording and reproducing method and the digital data recording and reproducing apparatus according to the fourth embodiment of the present invention will be described with reference to the drawings. In the digital data recording and reproducing method according to the fourth embodiment, an area for storing a file ID for identifying a data file is provided in each cluster, and file recovery processing is performed by the file ID.

본 실시예 4에 의한 디지털 데이터 기록 재생 장치도, 실시예 2의 디지털 데이터 기록 재생 장치와 마찬가지의 것으로, 도 4에 나타낸다.The digital data recording and reproducing apparatus according to the fourth embodiment is also similar to the digital data recording and reproducing apparatus of the second embodiment, and is shown in FIG.

도 9는 본 실시예 4에 의한 디스크 기록 매체(23)의 파일 구조를 나타내는 도면이다.9 shows the file structure of the disc recording medium 23 according to the fourth embodiment.

도 9에 있어서, 디스크 기록 매체(23)의 기록 영역은 루트 디렉토리(601)와, 파일 할당 테이블(602)과 클러스터(603)로 구성된다.In FIG. 9, the recording area of the disc recording medium 23 is composed of a root directory 601, a file allocation table 602, and a cluster 603. FIG.

루트 디렉토리(601)는 디스크 기록 매체(23)에 저장된 파일의 명칭과, 그 데이터 파일의 데이터가 저장되는 선두 클러스터 번호를 유지한다. 파일 할당 테이블(602)은 클러스터(603)의 접속 관계를, 해당 클러스터 번호 위치에, 그 클러스터에 연속하는 클러스터 번호를 저장하는 것에 의해 관리한다. 클러스터(603)는 디스크 기록 매체(23)의 최소 액세스 단위이고, 연속하는 숫자가 논리 블록 어드레스로서 할당되어 있어, 데이터 파일의 디지털 데이터가 저장된다.The root directory 601 holds the name of a file stored in the disc recording medium 23 and the head cluster number where the data of the data file is stored. The file allocation table 602 manages the connection relationship of the cluster 603 by storing a cluster number subsequent to the cluster at the cluster number position. The cluster 603 is a minimum access unit of the disc recording medium 23, and consecutive numbers are assigned as logical block addresses, and digital data of the data file is stored.

데이터 기록 시에는 파일명과 선두 클러스터 번호를 루트 디렉토리(601)에 등록하고, 파일 할당 테이블(602)에서 클러스터(603)의 접속 정보를 갱신하면서, 클러스터(603)의 각 영역에 데이터를 기록한다. 다만, 고속으로 디스크 액세스를 하기 위해, 클러스터(603)의 접속 정보의 갱신은 파일 구조 관리부(25)가 갖는 도시하지 않은 메모리 내에서 행하면서 클러스터(603)에의 데이터 기록을 실행하고, 데이터 기록 종료 시, 즉 파일 종료 처리 시에, 메모리 내의 클러스터(603)의 접속 정보를 디스크 기록 매체(23)의 파일 할당 테이블(602)에 기록한다.At the time of data recording, the file name and head cluster number are registered in the root directory 601, and data is recorded in each area of the cluster 603 while updating the connection information of the cluster 603 in the file allocation table 602. However, in order to perform disk access at high speed, updating of the connection information of the cluster 603 is performed in the memory (not shown) included in the file structure management unit 25, and data writing to the cluster 603 is executed, and data recording ends. At the time of file termination processing, the connection information of the cluster 603 in the memory is recorded in the file allocation table 602 of the disk recording medium 23.

다음에, 클러스터(603)의 상세한 데이터 구조에 대하여, 도 10을 이용하여 설명한다.Next, the detailed data structure of the cluster 603 will be described with reference to FIG.

도 10은 클러스터(603)의 데이터 구조를 나타내는 도면이다.10 is a diagram illustrating a data structure of the cluster 603.

도 10에 있어서, 하나의 클러스터(603)는 디지털 데이터의 기록 시의 정보를 기록하는 기록 정보(701)와, 실제 데이터인 디지털 데이터(702)로 구성된다. 기록 정보(701)는 데이터 파일을 식별하는 파일 ID(703)와, 해당 클러스터에 연속하는 클러스터 번호를 저장하는 접속 클러스터 번호(704)로 이루어진다. 파일 ID(703)로서, 본 실시예 4에서는, 기록 개시의 년월시분초를 아스키코드로 나타낸 것을 이용한다.In FIG. 10, one cluster 603 is composed of recording information 701 for recording information at the time of recording digital data, and digital data 702 which is actual data. The record information 701 includes a file ID 703 for identifying a data file and a connection cluster number 704 for storing a cluster number subsequent to the cluster. As the file ID 703, in the fourth embodiment, an ASCII code is used for the year, month, and minute of the start of recording.

도 11a는 도 9에 있어서, 데이터 파일 비디오 1을, 클러스터(603)의 클러스터 번호 0004에 기록 중, 즉 파일 할당 테이블(602)의 갱신 전에 정전 등의 이상 종료가 발생한 경우의 파일 구조의 상태를 나타내는 도면이다.FIG. 11A shows the state of the file structure when data file video 1 is recorded in cluster number 0004 of the cluster 603, that is, abnormal termination such as a power failure occurs before updating the file allocation table 602 in FIG. 9. It is a figure which shows.

도 11a에 있어서, 루트 디렉토리(801)와 클러스터(803)는 정상적인 상태이지만, 파일 할당 테이블(802)은 접속 관계가 없는 상태로 되어 있다.In Fig. 11A, the root directory 801 and the cluster 803 are in a normal state, but the file allocation table 802 is in a non-connection state.

도 11b는 기록 중에 처리가 중단되어 있던 경우의 클러스터(803)의 상태를 나타내는 도면이다.FIG. 11B is a diagram showing the state of the cluster 803 in the case where the processing is interrupted during recording.

도 11b에 있어서, 데이터 파일 비디오 1의 디지털 데이터(806)를 기록한 각 클러스터의 파일 ID(804)에는, 모두 동일 기록 개시 시각이 저장되고, 접속 클러스터 번호(805)에는 클러스터 접속 관계가 저장되어 있다. 또, 클러스터 4의 접속 클러스터 번호(805)가 「부정(不定)」으로 되어 있는 것은 이 클러스터 4의 접속 클러스터 번호(805)에 무언가 정상이 아닌 클러스터 번호, 예컨대 클러스터 번호 1000 등이 저장되어 있는 것을 나타내고 있다.In FIG. 11B, the same recording start time is all stored in the file ID 804 of each cluster in which the digital data 806 of the data file Video 1 is recorded, and the cluster connection relationship is stored in the connection cluster number 805. . In addition, the connection cluster number 805 of the cluster 4 is " indeterminate " because the cluster number 805 of the cluster 4 has a non-normal cluster number, for example, a cluster number 1000 and the like. It is shown.

다음에, 통전 재개 시의 파일 복구 처리에 대하여, 도 12를 이용하여 설명한다.Next, a file recovery process at the time of restarting energization will be described with reference to FIG.

도 12는 통전 재개 시의 파일 복구 처리를 나타내는 흐름도이다. 또, 특히 기술되어 있는 경우 이외는, 파일 복구 처리부(26)에 의해 처리가 행해진다.12 is a flowchart showing a file recovery process at the time of restarting energization. In addition, the process is performed by the file recovery processing unit 26 except when specifically described.

먼저, 단계 S901에 있어서, 기록 중에 처리가 중단되었는지의 여부를, 도 11a의 루트 디렉토리(801)에 있어서, 데이터 파일 비디오 1의 선두 클러스터 번호로부터 시작하는 파일 할당 테이블(802)의 클러스터 접속 관계를 체크하여 판단한다. 그리고, 기록 처리가 중단되어 있지 않으면, 즉 파일 할당 테이블(802)의 접속 관계가 정상인 상태라면, 통전 재개 처리를 종료한다. 한편, 기록 처리가 중단되어 있으면, 단계 S902로 진행한다.First, in step S901, it is determined whether or not the process is interrupted during recording. In the root directory 801 of Fig. 11A, the cluster connection relationship of the file allocation table 802 starting from the first cluster number of the data file video 1 is determined. Check and judge. If the recording process is not interrupted, that is, if the connection relationship of the file allocation table 802 is normal, the power supply resume process is terminated. On the other hand, if the recording process is stopped, the flow advances to step S902.

단계 S902에서는, 루트 디렉토리(801)로부터 기록 중단 파일의 선두 클러스터 번호를 취득하여 커런트 클러스터로 하고, 선두 클러스터의 파일 ID(804)를 대상 파일 ID로 한다.In step S902, the head cluster number of the recording interruption file is obtained from the root directory 801 to be the current cluster, and the file ID 804 of the head cluster is the target file ID.

단계 S903에서는, 커런트 클러스터의 클러스터(803)의 접속 클러스터 번호(805)를 취득하고, 후속 클러스터로 한다.In step S903, the access cluster number 805 of the cluster 803 of the current cluster is obtained, and a subsequent cluster is obtained.

단계 S904에서는, 후속 클러스터의 파일 ID(804)가 대상 파일 ID와 다르면, 커런트 클러스터에서 기록 중단이 있었다고 판단하고, 단계 S905로 진행한다. 한편, 후속 클러스터의 파일 ID(804)가 대상 파일 ID와 동일하면, 커런트 클러스터에서는 데이터의 기록 중단이 없었다고 판단하고 단계 S906으로 진행한다.In step S904, if the file ID 804 of the subsequent cluster is different from the target file ID, it is determined that there is a recording interruption in the current cluster, and the flow advances to step S905. On the other hand, if the file ID 804 of the subsequent cluster is the same as the target file ID, it is determined that there is no interruption of data recording in the current cluster, and the flow proceeds to step S906.

단계 S905에서는, 커런트 클러스터에 대응하는 파일 할당 테이블(802)의 클러스터 번호 위치에, 최종 클러스터를 의미하는 FFFF를 저장한다. 그리고, 통전 재개 처리를 종료한다.In step S905, the FFFF representing the final cluster is stored in the cluster number position of the file allocation table 802 corresponding to the current cluster. Then, the energization resumption process ends.

단계 S906에서는, 파일 할당 테이블(802)의 커런트 클러스터의 위치에, 후속 클러스터의 번호를 저장하여 클러스터 접속 관계를 복구하고, 커런트 클러스터를 후속 클러스터의 값으로 갱신한다. 그리고, 단계 S903으로 복귀하여 단계 S903 및 단계 S904에 있어서의 파일 ID(804)의 체크를 반복한다.In step S906, the number of the subsequent cluster is stored at the position of the current cluster in the file allocation table 802 to restore the cluster connection relationship, and the current cluster is updated with the value of the subsequent cluster. Then, the process returns to step S903 and the check of the file ID 804 in steps S903 and S904 is repeated.

다음에, 통전 재개 시의 파일 복구 처리에 대하여, 구체예를 이용하여 설명한다.Next, a file recovery process at the time of restarting energization will be described using a specific example.

예컨대, 클러스터 번호 0004의 클러스터(803)에의 데이터 기록 중의 정전이 발생했다고 가정한다. 이 경우에, 통전 재개 시의 파일 복구 처리에 있어서, 데이터 파일 비디오 1의 선두 클러스터 0002로부터 커런트 클러스터와 후속 클러스터의 파일 ID가 동일한지의 여부를 순차 확인하여 가면, 클러스터 번호 0004가 커런트 클러스터일 때에, 커런트 클러스터와 후속 클러스터의 파일 ID가 다르게 된다(단계 S904). 그러면, 파일 할당 테이블(802)의 클러스터 번호 0004의 위치에 데이터 파일의 최종 클러스터를 나타내는 FFFF를 저장한다(단계 S905). 이것에 의해, 데이터 파일 비디오 1을, 도 9에서 나타내는 정상적으로 기록이 종료한 경우와 마찬가지로, 기록 파일로서 복구할 수 있다.For example, it is assumed that a power failure during data recording into the cluster 803 of cluster number 0004 has occurred. In this case, in the file recovery process at the time of restart of energization, if the file IDs of the current cluster and the subsequent cluster are the same from the first cluster 0002 of the data file video 1 sequentially, when the cluster number 0004 is the current cluster, The file IDs of the current cluster and the subsequent cluster are different (step S904). Then, the FFFF representing the final cluster of the data file is stored at the cluster number 0004 in the file allocation table 802 (step S905). Thereby, the data file video 1 can be restored as a recording file similarly to the case where recording is normally completed as shown in FIG.

이와 같이, 본 실시예 4에 의한 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치에 의하면, 각 클러스터에 데이터 파일을 식별하기 위한 파일 ID와, 클러스터의 접속 관계를 나타내는 접속 클러스터 번호를 저장하는 것에 의해, 디지털 데이터 기록 중에 이상 종료가 발생했다 하여도, 통전 개시 시에 기록 개시로부터 이상 종료까지 기록된 데이터 파일의 파일 할당 테이블(802)을 복구할 수 있고, 재생 가능 부분을 파일 형식으로서 복구 처리할 수 있다.As described above, according to the digital data recording and reproducing method and the digital data recording and reproducing apparatus according to the fourth embodiment, by storing a file ID for identifying a data file in each cluster and a connection cluster number indicating a connection relationship between the clusters, Even if abnormal termination occurs during digital data recording, the file allocation table 802 of the data file recorded from the recording start to the abnormal termination at the start of energization can be restored, and the reproducible portion can be recovered as a file format. Can be.

또, 본 실시예 4에서는, 파일 ID로서 기록 개시 시의 년월시분초를 이용했지만, 재현성이 없는 카운터 등을 이용하여도 된다.In the fourth embodiment, although the year, month, minute, and second at the time of recording start are used as the file ID, a counter or the like without reproducibility may be used.

또한, 본 실시예 4에서는, 파일 할당 테이블의 접속 관계가 없는 상태의 파일 할당 테이블(802)의 값으로서 「0000」을 이용하여 설명했지만, 클러스터 번호로서 존재하지 않는 다른 값을 이용하여도 된다.In the fourth embodiment, although "0000" has been described as a value of the file allocation table 802 in a state where there is no connection relationship between the file allocation table, another value which does not exist as a cluster number may be used.

또한, 실시예 1 내지 4에서는, 기록 가능 영역을 모든 클러스터로 하여 설명했지만, 기록 가능 영역을 일부의 클러스터에 할당하고, 나머지의 클러스터를 컴퓨터 데이터 기록 영역으로서 사용하여도 된다.In the first to fourth embodiments, the recordable area is described as all clusters. However, the recordable area may be allocated to some clusters, and the remaining clusters may be used as computer data recording areas.

또한, 실시예 1 내지 4에서는, 해당 클러스터에 연속하는 클러스터가 존재하지 않아, 최종 클러스터인 것을 나타내는 식별자로서, FFFF를 이용했지만, 클러스터 번호로서 존재하지 않는 다른 값을 이용하여도 된다.In Examples 1 to 4, although FFFF was used as an identifier indicating that there is no continuous cluster in the cluster and is the last cluster, other values that do not exist as cluster numbers may be used.

(실시예 5)(Example 5)

이하, 본 발명의 실시예 5에 의한 디지털 데이터 기록 재생 장치에 대하여 도면을 참조하면서 설명한다.The digital data recording and reproducing apparatus according to the fifth embodiment of the present invention will be described below with reference to the drawings.

본 실시예 5에 의한 디지털 데이터 기록 재생 장치는 실시예 2~4 중 어느 하나에 의한 디지털 데이터 기록 재생 방법을 이용하여, 유료 방송을 기록할 때에, 정전 등의 이상 종료가 발생하여도 적절하게 대처할 수 있는 것이다.In the digital data recording and reproducing apparatus according to the fifth embodiment, the digital data recording and reproducing method according to any one of the embodiments 2 to 4 can be appropriately handled even when abnormal termination such as a power failure occurs when recording a pay broadcast. It can be.

도 13a는 본 실시예 5에 의한 디지털 데이터 기록 재생 장치의 구성을 나타내는 도면이다.Fig. 13A is a diagram showing the construction of the digital data recording and reproducing apparatus according to the fifth embodiment.

도 13a에 있어서, 디지털 데이터 기록 재생 장치는 디지털 방송 수신부(1001)와, 디코더(1002)와, 디지털 데이터 기록 재생 제어부(1003)와, 디스크 기억부(1005)와, 데이터 출력지 스위치(1006)를 구비한다. 디지털 데이터 기록 재생 제어부(1003)는 데이터 입출력부(21)와 파일 구조 관리부(25)와 제어기(27)를 구비한다. 파일 구조 관리부(25)는 파일 복구 처리부(26)를 더 구비한다. 또, 데이터 입출력부(21), 파일 구조 관리부(25) 및 파일 복구 처리부(26)의 구성 및 동작은 실시예 2 내지 4 중 어느 하나에 기재된 것과 마찬가지이므로 설명을 생략한다.In FIG. 13A, the digital data recording and reproducing apparatus includes a digital broadcast receiving unit 1001, a decoder 1002, a digital data recording and reproducing control unit 1003, a disk storage unit 1005, and a data output destination switch 1006. It is provided. The digital data recording and reproducing control section 1003 includes a data input / output section 21, a file structure management section 25, and a controller 27. The file structure management unit 25 further includes a file recovery processing unit 26. In addition, since the structure and operation | movement of the data input / output part 21, the file structure management part 25, and the file recovery process part 26 are the same as that of any of Embodiments 2-4, description is abbreviate | omitted.

디지털 방송 수신부(1001)는 디지털 방송(10A)을 수신하여, 카피 프로텍션 정보를 판독함과 동시에, 디멀티플렉스하여 사용자 지정 프로그램을 판독하고 필요하다면 카피 프로텍션 정보를 근거로 디스크램블을 행하여, 디지털 데이터(10B)를 판독한다. 디지털 방송 수신부(1001)에서 판독한 프로그램의 디지털 데이터(10B)는 디지털 데이터 기록 재생 제어부(1003)에 출력된다.The digital broadcast receiver 1001 receives the digital broadcast 10A, reads copy protection information, demultiplexes and reads a user-specified program, and if necessary descrambles on the basis of copy protection information, digital data. Read 10B. The digital data 10B of the program read by the digital broadcast receiving unit 1001 is output to the digital data recording and reproducing control unit 1003.

디코더(1002)는 디지털 데이터(10B)를 디지털 데이터 기록 재생 제어부(1003)로부터 수신하여, 디코드해서 아날로그 데이터로 변환한 후, 영상 음성 출력을 행한다.The decoder 1002 receives the digital data 10B from the digital data recording and reproducing control section 1003, decodes and converts the analog data into analog data, and then outputs audio and video.

디지털 데이터 기록 재생 제어부(1003)의 제어기(27)는 과금 정보(10D)를 마스터 카드(1004)에 기록함과 동시에, 데이터 출력지 스위치(1006)의 지정이, "재생만" 혹은 "재생과 기록"의 양쪽으로 되어 있는 경우에는, 디지털 데이터(10B)를 디코더(1002)에 출력하도록 파일 구조 관리부(25)에 명령을 출력하고, 데이터 출력지 스위치(1006)의 지정이 "기록만" 혹은 "재생과 기록"의 양쪽으로 되어 있는 경우에는, 디지털 데이터(10b)를 실시예 2 내지 4 중 어느 하나의 디지털 데이터 기록 재생 방법에 의해, 디스크 기억부(1005)에 기록하도록 파일 구조 관리부(25)에 명령을 출력한다.The controller 27 of the digital data recording and playback control section 1003 records the charging information 10D on the master card 1004, and at the same time, the designation of the data output destination switch 1006 is "playback only" or "playback and recording." In both cases, the command is outputted to the file structure management unit 25 so that the digital data 10B is output to the decoder 1002, and the designation of the data output destination switch 1006 is " write only " or " In the case of both reproduction and recording, the file structure management unit 25 records the digital data 10b in the disk storage unit 1005 by the digital data recording / reproduction method in any one of the embodiments 2-4. Output the command to

또한, 파일 복구 처리부(26)가 통전 개시 후에, 데이터 기록이 정전 등에 의해 이상 종료한 것을 검지하면, 제어기(27)는 디스크 기억부(1005)에 도중까지 기억된 파일을 소거하도록, 파일 구조 관리부(25)에 명령을 출력하고, 해당 프로그램을 유료 방송 과금 정보(10D)로부터 삭제한다.In addition, when the file recovery processing unit 26 detects that the data recording has abnormally terminated due to a power failure or the like after the start of energization, the controller 27 deletes the file stored in the disk storage unit 1005 up to halfway. The command is output to 25, and the corresponding program is deleted from the pay broadcasting billing information 10D.

마스터 카드(1004)에는 과금 정보(10D)가 기록된다.The charging information 10D is recorded in the master card 1004.

디스크 기억부(1005)에는, 디지털 데이터(10b)가 실시예 2 내지 4 중 어느 하나의 파일 형식으로 기록된다.In the disk storage unit 1005, the digital data 10b is recorded in the file format of any one of the second to fourth embodiments.

데이터 출력지 스위치(1006)는 사용자가 수신 데이터의 출력지를 "재생만", "기록만" 혹은 "재생과 기록"의 양쪽 중 어느 하나의 사용 형태로 지정한 경우에, 그 사용 형태를 나타내는 지정 신호(10C)를 디지털 데이터 기록 재생 제어부(1003)에 출력한다.The data output destination switch 1006 is a designated signal indicating the usage mode when the user designates the output destination of the received data as either a usage type of "playback only", "record only", or "playback and recording". 10C is outputted to the digital data recording and reproducing controller 1003.

도 13b는 마스터 카드(1004)에서의 과금 정보 포맷을 설명하기 위한 도면이다.FIG. 13B is a diagram for explaining a charging information format in the master card 1004.

도 13b에 있어서, 과금 정보 포맷은 시청가격을 저장하는 유료 방송 가격(1007)과, 시청 시에 재생되었는지 녹화되었는지를 식별하는 시청 형태(1008)와, 디스크 기억부(1005)에 기록한 경우의 파일명을 저장하는 프로그램 파일(1009)로 구성된다.In Fig. 13B, the billing information format includes a pay-TV price 1007 for storing the viewing price, a viewing type 1008 for identifying whether or not it was reproduced or recorded at the time of viewing, and a file name in the case of recording in the disk storage unit 1005. It consists of a program file 1009 for storing the.

다음에, 디지털 데이터 기록 재생 장치의 동작에 대하여 설명한다.Next, the operation of the digital data recording and reproducing apparatus will be described.

먼저, 디지털 방송(10A)을 수신하고, 그 방송을 재생하든지 혹은 기록하는 경우에 대하여 설명한다.First, the case where the digital broadcast 10A is received and the broadcast is reproduced or recorded will be described.

방송을 수신하기 전에 디지털 데이터 기록 재생 장치의 사용자는 미리 데이터의 출력 형식, 즉, "재생과 기록"의 양쪽이나 "재생만" 중 하나를 선택하여 데이터 출력지 스위치(1006)에 설정하여 둔다.Before receiving the broadcast, the user of the digital data recording and reproducing apparatus selects in advance the data output format, i.e., both of "playback and recording" or "playback only" and sets it in the data output destination switch 1006.

방송국으로부터 송신된 디지털 방송은 먼저, 디지털 방송 수신부(1001)에 입력된다. 그리고, 디지털 방송 수신부(1001)는 디지털 방송에 포함되어 있는 카피 프로텍션 정보를 판독함과 동시에, 디멀티플렉스하여 사용자가 지정하는 프로그램을 판독하고, 필요하면, 카피프로텍션 정보를 근거로 디스크램블을 행하여 디지털 데이터(10B)를 판독하고, 디지털 데이터 기록 재생 제어부(1003)에 출력한다.The digital broadcast transmitted from the broadcasting station is first input to the digital broadcast receiving unit 1001. The digital broadcast receiver 1001 reads the copy protection information included in the digital broadcast, demultiplexes and reads a program designated by the user, and if necessary descrambles based on the copy protection information. The digital data 10B is read out and output to the digital data recording / playback control unit 1003.

디지털 데이터 기록 재생 제어부(1003)는 과금 정보(10D)를 마스터 카드(1004)에 기록한다. 그리고, 데이터 출력지 스위치(1006)의 지정이 재생을 포함하는 경우에는, 디지털 데이터(10B)를 디코더(1002)에 출력하고, 데이터 출력지 스위치(1006)의 지정이 기록을 포함하는 경우에는, 디지털 데이터(10B)를 디스크 기억부(1005)에 저장한다.The digital data recording and reproducing controller 1003 records the charging information 10D on the master card 1004. When the designation of the data output paper switch 1006 includes reproduction, the digital data 10B is output to the decoder 1002, and when the designation of the data output paper switch 1006 includes recording, The digital data 10B is stored in the disc storage unit 1005.

디코더(1002)에 디지털 데이터(10B)가 출력된 경우에는, 디코더(1002)가 디지털 데이터(10B)를 디코드하여 아날로그 데이터로 변환하고, 영상 음성 출력을 행한다.When the digital data 10B is output to the decoder 1002, the decoder 1002 decodes the digital data 10B, converts the digital data into analog data, and outputs audio and video.

또, 디지털 데이터(10B)의 디스크 기억부(1005)에의 기록은 실시예 2 내지 4 중 어느 하나에 기재한 디지털 데이터 기록 재생 방법에 의해 행한다.In addition, recording of the digital data 10B to the disk storage unit 1005 is performed by the digital data recording and reproducing method described in any one of Embodiments 2 to 4. FIG.

다음에, 디스크 기억부(1005)에 기록한 데이터를 재생하는 동작에 대하여 설명한다.Next, the operation of reproducing the data recorded in the disc storage unit 1005 will be described.

디스크 기억부(1005)로부터의 재생 시, 디지털 데이터 기록 재생 제어부(1003)는 디스크 기억부(1005)로부터 디지털 데이터(10B)를 판독하여, 디코더(1002)에 전송하는 것에 의해, 아날로그 데이터를 재생할 수 있다.At the time of reproduction from the disc storage unit 1005, the digital data recording and reproduction control unit 1003 reads the digital data 10B from the disc storage unit 1005 and transfers it to the decoder 1002 to reproduce analog data. Can be.

다음에, 유료 방송 프로그램 기록 중에 정전 등의 이상 종료가 발생한 경우에 있어서의 디지털 데이터 기록 재생 제어부(1003)의 처리에 대하여, 도 14를 이용하여 설명한다.Next, a process of the digital data recording and reproducing control section 1003 when abnormal termination such as a power failure or the like occurs during recording of a pay broadcast program will be described with reference to FIG. 14.

도 14는 유료 방송 프로그램을 기록 중에 정전 등의 이상 종료가 발생한 경우의 디지털 데이터 기록 재생 제어부(1003)의 처리를 나타내는 흐름도이다.14 is a flowchart showing the process of the digital data recording and reproducing controller 1003 when abnormal termination such as a power failure occurs while recording a pay broadcast program.

먼저, 단계 S111에 있어서, 파일 복구 처리부(26)는 데이터 기록이 이상 종료했는지의 여부를 실시예 2 내지 4 중 어느 하나에 기재된 디지털 데이터 기록 재생 방법으로 판단하고, 기록 처리가 중단되어 있지 않으면, 통전 재개 처리를 종료한다. 기록 처리가 중단되어 있으면, 단계 S112로 진행한다.First, in step S111, the file recovery processing unit 26 judges whether or not data recording is abnormally terminated by the digital data recording / reproducing method according to any one of embodiments 2 to 4, and if the recording process is not interrupted, End the power resume processing. If the recording process is stopped, the flow advances to step S112.

단계 S112에 있어서, 파일 구조 관리부(25)는 디스크 기억부(1005)에 도중까지 기록된 데이터 파일명을 취득하여, 중단 파일이라 한다.In step S112, the file structure management unit 25 acquires the data file name recorded up to halfway in the disk storage unit 1005, and is called an interrupt file.

단계 S113에 있어서, 제어기(27)는 유료 방송 과금 정보의 프로그램 파일(1009)에 중단 파일과 일치하는 것이 있는지의 여부를 판단한다. 일치하는 프로그램 파일(1009)이 존재하지 않으면, 무료 방송 기록 중에 있었다고 판단하고, 단계 S114로 진행한다. 중단 파일명과 일치하는 프로그램 파일(1009)이 존재하는 경우는, 단계 S115로 진행한다.In step S113, the controller 27 determines whether or not the program file 1009 of the pay broadcasting billing information matches the interrupted file. If no matching program file 1009 exists, it is determined that it is in the free broadcast recording, and the flow proceeds to step S114. If there is a program file 1009 that matches the interrupted file name, the flow proceeds to step S115.

단계 S114에 있어서, 파일 복구 처리부(26)는 기록 중단 파일의 복구 처리를, 실시예 2 내지 4 중 어느 하나에 기재한 디지털 데이터 기록 재생 방법으로 행한다. 그리고, 통전 재개 처리를 종료한다.In step S114, the file recovery processing unit 26 performs the recovery processing of the recording interrupted file by the digital data recording / reproducing method described in any one of the embodiments 2-4. Then, the energization resumption process ends.

단계 S115에 있어서, 제어기(27)는 마스터 카드(1004)에 기억되어 있는 시청 형태(1008)를 체크한다. 그리고, 시청 형태(1008)가 "녹화만"인 경우에는, 단계 S116으로 진행하고, 디스크 기억부(1005)의 중단 파일을 소거하도록 파일 구조 관리부(25)에 명령을 출력한다. 그러면, 파일 구조 관리부(25)는 디스크 기억부의 중단 파일을 소거한다. 그리고, 단계 S117로 진행하고, 제어기(27)는 해당 프로그램을 유료 방송 과금 정보로부터 삭제하고 통전 재개 처리를 종료한다.In step S115, the controller 27 checks the viewing mode 1008 stored in the master card 1004. If the viewing mode 1008 is " recording only ", the flow advances to step S116 to output a command to the file structure management unit 25 so as to erase the interrupted file of the disk storage unit 1005. The file structure management unit 25 then erases the interrupted file in the disk storage unit. The flow advances to step S117, and the controller 27 deletes the program from paying broadcasting charging information and ends the energization resumption process.

시청 형태(1008)가 녹화와 재생의 양쪽일 경우, 단계 S118에 있어서, 제어기(27)는 디스크 기억부(1005)의 중단 파일을 소거하도록 파일 구조 관리부(25)에 명령을 출력한다. 그러면, 파일 구조 관리부(25)는 디스크 기억부(1005)의 중단 파일을 소거한다. 그리고, 단계 S119로 진행하여, 유료 방송 가격(1007)으로부터 녹화에 따른 가격을 삭감한다. 그리고, 통전 재개 처리를 종료한다.If the viewing mode 1008 is both recording and playback, in step S118, the controller 27 outputs a command to the file structure management unit 25 to erase the interrupted file of the disc storage unit 1005. Then, the file structure management unit 25 erases the interrupted file of the disk storage unit 1005. The flow advances to step S119 to reduce the price according to the video recording from the paid broadcast price 1007. Then, the energization resumption process ends.

이와 같이, 본 실시예 5에 의한 디지털 데이터 기록 재생 장치에 의하면, 실시예 2 내지 4 중 어느 하나에 기재한 파일 구조에 의해 디지털 방송을 기록으로써, 데이터 기록 시에 정전 등의 이상 종료가 발생했을 때에도, 디지털 방송이 유료가 아니라면, 이상 종료에 의해 중단하기까지의 파일을 복구할 수 있다. 또한, 이상 종료에 의해 기록이 중단된 디지털 방송이 유료라면, 도중까지 기록한 데이터를 폐기하는 것에 의해, 그 유료 방송에 관하여는 과금되지 않아, 사용자에 대하여 적절한 과금을 행할 수 있다.As described above, according to the digital data recording and reproducing apparatus according to the fifth embodiment, by recording digital broadcasting using the file structure described in any one of the embodiments 2 to 4, abnormal termination of power failure or the like occurred during data recording. Even in this case, if digital broadcasting is not paid, the files until interrupted by abnormal termination can be recovered. If the digital broadcast whose recording is interrupted due to abnormal termination is paid, the data recorded up to the middle is discarded, so that the charged broadcast is not charged and appropriate charging can be made for the user.

또, 본 실시예 5에서는, 유료 방송 프로그램 기록 중에 이상 종료가 발생한 경우에 무조건적으로 기록 데이터를 파괴하는 경우에 대하여 설명했지만, 도중까지 기록한 데이터를 남겨 과금할 것인지의 여부를 사용자에 의해 판단하도록 하여도 된다.In the fifth embodiment, the case where the recording data is unconditionally destroyed when abnormal termination occurs during the recording of the pay TV program, but the user decides whether or not to charge the remaining data recorded until the middle of the program. You may also

(실시예 6)(Example 6)

이하, 본 발명의 실시예 6에 의한 디지털 데이터 기록 재생 장치에 대하여, 도면을 참조하면서 설명한다.Hereinafter, the digital data recording and reproducing apparatus according to the sixth embodiment of the present invention will be described with reference to the drawings.

본 실시예 6에 의한 디지털 기록 재생 장치는 복수의 디스크 기억부를 구비하되, 디지털 데이터를 저장하는 클러스터와, 클러스터의 접속 정보를 나타내는 파일 할당 테이블을 별도의 디스크 기억부에 기록하는 것에 의해, 단일 디스크 기억부를 이용한 경우보다도 부담이 경감되고, 고속인 디스크 액세스가 가능하게 되는 것이다.The digital recording and reproducing apparatus according to the sixth embodiment includes a plurality of disk storage units, and records a cluster storing digital data and a file allocation table indicating connection information of the clusters in separate disk storage units. The burden is less than that in the case of using the storage unit, and high speed disk access is enabled.

도 15는 본 실시예 6에 의한 디지털 데이터 기록 재생 장치의 구성을 나타내는 도면이다.Fig. 15 is a diagram showing the configuration of the digital data recording and reproducing apparatus according to the sixth embodiment.

디지털 데이터 기록 재생 장치는 데이터 입출력부(1201)와, 파일 구조 관리부(1202)와, 디스크 기억부 A(1203)와, 디스크 기억부 B(1204)를 구비한다.The digital data recording and reproducing apparatus includes a data input / output unit 1201, a file structure management unit 1202, a disc storage unit A 1203, and a disc storage unit B 1204.

데이터 입출력부(1201)는 디지털 데이터 수신 시에는, 외부 접속된 디지털 데이터 입력 기기로부터 디지털 데이터를 수신하여, 파일 구조 관리부(1202)에 데이터를 출력하고, 디지털 데이터 재생 시에는, 파일 구조 관리부(1202)로부터 데이터를 수신하여 외부 접속된 디지털 데이터 재생 기기에 디지털 데이터를 출력한다.The data input / output unit 1201, when receiving digital data, receives digital data from an externally connected digital data input device, outputs the data to the file structure management unit 1202, and at the time of digital data reproduction, the file structure management unit 1202 Receive the data from the digital data output device to an externally connected digital data reproducing apparatus.

파일 구조 관리부(1202)는 디지털 데이터 입력 시에는, 디지털 데이터를 디스크 기억부 A(1203) 및 디스크 기억부 B(1204)에 기록하고, 디지털 데이터 출력 시에는 디스크 기억부 A(1203) 및 디스크 기억부 B(1204)로부터 디지털 데이터를 판독한다.The file structure management unit 1202 records digital data in the disk storage unit A1203 and the disk storage unit B1204 when digital data is input, and the disk storage unit A1203 and disk storage when digital data is output. The digital data is read from the section B 1204.

디스크 기억부 A(1203) 및 디스크 기억부 B(1204)에는 디지털 데이터가 기록된다. 또, 디스크 기억부 A(1203) 및 디스크 기억부 B(1204)에서 이용되는 파일 구조는 실시예 4의 파일 구조와 마찬가지의 것으로, 도 9에 도시되고 있다.Digital data is recorded in the disk storage unit A1203 and the disk storage unit B1204. The file structures used in the disk storage unit A1203 and the disk storage unit B1204 are the same as those in the fourth embodiment, and are shown in FIG.

다음에, 디지털 데이터의 디스크 기억부 A(1203) 및 디스크 기억부 B(1204)에의 기록 동작에 대하여 설명한다.Next, the recording operation of the digital data to the disc storage unit A 1203 and the disc storage unit B 1204 will be described.

데이터 기록 시에는, 파일명과 선두 클러스터 번호를 루트 디렉토리(601)에 등록하고, 파일 할당 테이블(602)에서 클러스터(603)의 접속 정보를 갱신하면서, 클러스터(603)의 각 영역에 디지털 데이터를 기록한다.At the time of data recording, digital data is recorded in each area of the cluster 603 while registering the file name and the first cluster number in the root directory 601 and updating the connection information of the cluster 603 in the file allocation table 602. do.

도 15에 있어서의 디스크 기억부 B(1204)의 클러스터 B에 대응하는 루트 디렉토리(601)와 파일 할당 테이블(602)을 디스크 기억부 B(1204)의 클러스터(603)가 저장되는 디스크 기억부와는 별도의 디스크 기억부 A(1203)의 루트 디렉토리(601)와 파일 할당 테이블(602)의 저장 영역에 저장하고, 디스크 기억부 A(1203)의 클러스터 A에 대응하는 루트 디렉토리(601)와 파일 할당 테이블(602)을, 디스크 기억부 A(1203)의 클러스터(603)가 저장되는 디스크 기억부와는 별도의 디스크 기억부 B(1204)의 루트 디렉토리(601)와 파일 할당 테이블(602)의 저장 영역에 저장한다.15. The root directory 601 and the file allocation table 602 corresponding to the cluster B of the disk storage unit B 1204 in FIG. 15 are stored in the disk storage unit in which the cluster 603 of the disk storage unit B 1204 is stored. Is stored in a separate storage area of the root directory 601 and the file allocation table 602 of the disk storage unit A1203, and the root directory 601 and the file corresponding to the cluster A of the disk storage unit A1203. The allocation table 602 is stored in the root directory 601 of the disk storage unit B 1204 and the file allocation table 602 which are separate from the disk storage unit in which the cluster 603 of the disk storage unit A 1203 is stored. Save to storage area.

이와 같이, 본 실시예 6의 디지털 데이터 기록 재생 방법에 의하면, 디지털 데이터를 저장하는 클러스터와, 그 클러스터의 접속 정보를 나타내는 파일 할당 테이블을 서로 다른 디스크 기억부에 기록하는 것에 의해, 고속의 디스크 액세스가 가능하게 되고, 또한, 디지털 데이터 기록 중에 정전 등의 이상 종료가 발생하여도, 통전 재개 시에 기록 개시로부터 이상 종료까지 기록된 데이터를 정상적인 파일 형식으로서 판독할 수 있다.As described above, according to the digital data recording and reproducing method of the sixth embodiment, high speed disk access is achieved by recording a cluster storing digital data and a file allocation table indicating connection information of the cluster in different disk storage units. Also, even if abnormal termination of power failure or the like occurs during digital data recording, data recorded from the start of recording to abnormal termination can be read as a normal file format at the time of restarting power supply.

또, 본 실시예 6에서는 루트 디렉토리도 클러스터와는 별도의 디스크 기억부에 저장하는 예로 설명했지만, 루트 디렉토리와 클러스터가 동일 디스크 기억부에 저장되어도 클러스터와 파일 할당 테이블이 별도의 디스크 기억부에 저장되면 된다.In the sixth embodiment, the root directory is also stored in a disk storage unit separate from the cluster. However, even though the root directory and the cluster are stored in the same disk storage unit, the cluster and file allocation table are stored in separate disk storage units. That's it.

또한, 2개의 디스크 기억부를 이용하는 경우에 대하여 설명했지만, 클러스터와 파일 할당 테이블을 별도의 디스크 기억부에 저장하는 것이라면, 3개 이상의 디스크 기억부를 이용하여도 된다.In the case where two disk storage units are used, three or more disk storage units may be used as long as the cluster and file allocation table are stored in separate disk storage units.

또한, 디스크 기억부 A(1203) 및 디스크 기억부 B(1204)의 파일 구조는 도 17에 도시된 종래의 것이어도 된다.Incidentally, the file structures of the disk storage A 1203 and the disk storage B 1204 may be conventional ones shown in FIG.

또, 실시예 1 내지 6에서는 데이터 입출력부(21),(1201)는 데이터의 입력과 출력의 양쪽을 행하는 것으로 했지만, 데이터 입력부와 데이터 출력부로 분리하여도 된다.In the first to sixth embodiments, the data input / output units 21 and 1201 perform both data input and output. However, the data input / output units 21 and 1201 may be separated into a data input unit and a data output unit.

또한, 본 실시예 1 내지 6의 디지털 데이터 기록 재생 장치의 파일 구조 관리부(22),(25), 파일 복구 처리부(26) 및 제어기(27)는 하드웨어로 구성하여도 소프트 웨어로 구성하여도 된다.In addition, the file structure management units 22, 25, the file recovery processing unit 26, and the controller 27 of the digital data recording and reproducing apparatuses of the first to sixth embodiments may be constituted by hardware or software. .

또한, 실시예 1 내지 6에 있어서의 디지털 데이터와는 영상 데이터 및 음성 데이터의 양쪽 혹은 어느 하나를 포함하는 데이터이다.In addition, the digital data in Examples 1 to 6 are data including either or both of video data and audio data.

또한, 실시예 1 내지 4 및 6에서는, 사전에 아날로그 데이터를 디지털 데이터로 인코드암으로써, 디지털 데이터 기록 재생 방법에 의해 아날로그 데이터를 디지털 데이터로서 기록하여도 된다.In Examples 1 to 4 and 6, analog data may be encoded as digital data beforehand, so that analog data may be recorded as digital data by a digital data recording and reproducing method.

이상과 같이, 본 발명에 따른 디지털 데이터 기록 재생 방법 및 디지털 데이터 기록 재생 장치는 영상 데이터, 음성 데이터 혹은 그 양쪽 데이터의 기록 혹은 재생을 행하는 것이고, 데이터 기록 도중에 정전 등의 이상 종료가 발생한 경우의 데이터 기록에 적합하다.As described above, the digital data recording and reproducing method and the digital data recording and reproducing apparatus according to the present invention are for recording or reproducing video data, audio data or both data, and data in the event of abnormal termination such as a power failure during data recording. Suitable for recording

Claims (12)

디스크 기록 매체에 있어서의 데이터의 기록 최소 단위인 클러스터 단위로 디지털 데이터를 기록 재생하는 디지털 데이터 기록 재생 방법에 있어서,A digital data recording and reproducing method of recording and reproducing digital data in a cluster unit which is a recording minimum unit of data in a disc recording medium, 상기 디스크 기록 매체 상에, 기록 가능 클러스터를 서로 연결한 파일 구조를 구축하는 제 1 단계와,A first step of constructing a file structure in which recordable clusters are connected to each other on the disc recording medium; 기록 가능 클러스터의 선두로부터 디지털 데이터를 기록하는 제 2 단계와,A second step of recording digital data from the head of the recordable cluster; 기록 선두 클러스터로부터 기록 종료 클러스터까지의 디지털 데이터를 기록 파일로서 구성하는 제 3 단계를 구비한 것을 특징으로 하는 디지털 데이터 기록 재생 방법.And a third step of configuring digital data from the recording head cluster to the recording end cluster as a recording file. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 데이터 기록 도중에 데이터 기록이 이상(異常) 종료한 경우, 상기 이상 종료 복구 후에 데이터 기록이 이상 종료한 것을 검지하는 단계와,Detecting that data recording has ended abnormally after the abnormal termination recovery, when data recording ends abnormally during the data recording of the second step; 디지털 데이터의 포맷 정보를 근거로, 데이터 기록 개시로부터 이상 종료까지 기록된 디지털 데이터를 기록 파일로서 구성하는 단계를 더 구비한 것을 특징으로 하는 디지털 데이터 기록 재생 방법.And configuring digital data recorded from the data recording start to abnormal termination as a recording file based on the format information of the digital data. 제 2 항에 있어서,The method of claim 2, 상기 디지털 데이터의 포맷 정보가 트랜스 포트 패킷의 동기 바이트인 것을 특징으로 하는 디지털 데이터 기록 재생 방법.And the format information of the digital data is a sync byte of a transport packet. 제 2 항에 있어서,The method of claim 2, 상기 디지털 데이터의 포맷 정보가 시간 정보인 것을 특징으로 하는 디지털 데이터 기록 재생 방법.And the format information of the digital data is time information. 디스크 기록 매체에 있어서의 데이터의 기록 최소 단위인 클러스터 단위로 디지털 데이터를 기록 재생하는 디지털 데이털 기록 재생 방법에 있어서,A digital data recording and reproducing method for recording and reproducing digital data in a cluster unit which is a recording minimum unit of data in a disc recording medium, 디지털 데이터에 파일 식별자와 클러스터 접속 정보를 부가하여 클러스터에 기록하는 단계와,Adding a file identifier and cluster connection information to the digital data and recording the result in a cluster; 데이터 기록 도중에 데이터 기록이 이상 종료한 경우에는 상기 이상 종료 복구 후에 데이터 기록이 이상 종료한 것을 검지하는 단계와,Detecting abnormal termination of data recording after the abnormal termination recovery, when data recording ends abnormally during data recording; 클러스터 내에 기록한 상기 파일 식별자와 상기 클러스터 접속 정보를 근거로 클러스터의 접속 정보를 복구하는 단계를 포함하는 것을 특징으로 하는 디지털 데이터 기록 재생 방법.And restoring access information of the cluster based on the file identifier and the cluster access information recorded in the cluster. 데이터 기록 최소 단위인 클러스터 단위로 디지털 데이터가 저장되는 디스크 기록 매체와,A disc recording medium storing digital data in units of clusters which is a minimum unit of data recording; 디지털 데이터를 상기 디스크 기록 매체에 저장하거나 혹은 상기 디스크 기록 매체로부터 디지털 데이터를 판독하는 파일 구조 관리부를 구비하되,A file structure management unit for storing digital data on the disc recording medium or reading digital data from the disc recording medium, 상기 디스크 기록 매체가 미리 모든 클러스터를 서로 연결시킨 파일 구조를 갖는 것을 특징으로 하는 디지털 데이터 기록 재생 장치.And the disk recording medium has a file structure in which all clusters are connected to each other in advance. 제 6 항에 있어서,The method of claim 6, 상기 파일 구조 관리부가 디지털 데이터의 기록 도중에 데이터 기록이 이상 종료한 경우에는, 상기 이상 종료 복구 후에 디지털 데이터의 포맷 정보를 근거로 데이터 기록 개시로부터 이상 종료까지 기록된 디지털 데이터를 기록 데이터로서 구성하는 파일 복구 처리부를 더 포함하는 것을 특징으로 하는 디지털 데이터 기록 재생 장치.If the file structure management section abnormally terminates the data recording in the middle of recording the digital data, a file constituting the digital data recorded from the data recording start to the abnormal end as record data based on the format information of the digital data after the abnormal end recovery. And a recovery processing section. 제 7 항에 있어서,The method of claim 7, wherein 상기 포맷 정보가 트랜스 포트 패킷의 동기 바이트인 것을 특징으로 하는 디지털 데이터 기록 재생 장치.And the format information is a sync byte of a transport packet. 제 7 항에 있어서,The method of claim 7, wherein 상기 포맷 정보가 시간 정보인 것을 특징으로 하는 디지털 데이털 기록 재생 장치.And the format information is time information. 데이터의 기록 최소 단위인 클러스터 단위로 디지털 데이터가 저장되는 클러스터 기록 매체와,A cluster recording medium storing digital data in units of clusters which is a minimum recording unit of data; 디지털 데이터를 상기 디스크 기록 매체의 클러스터에 파일 식별자와, 클러스터 접속 정보를 부가하여 저장하거나 혹은 상기 디스크 기록 매체로부터 디지털 데이터를 판독하는 파일 구조 관리부를 포함하되,A file structure management unit for storing digital data by adding a file identifier and cluster connection information to a cluster of the disc recording medium or reading digital data from the disc recording medium, 상기 파일 구조 관리부가 디지털 데이터의 기록 도중에 데이터 기록이 종료된 경우에, 상기 이상 종료 복구 후에 클러스터 내에 기록한 상기 파일 식별자와 상기 클러스터 접속 정보를 근거로 데이터 기록 개시로부터 이상 종료까지 기록된 디지털 데이터를 기록 데이터로서 구성하는 파일 복구 처리부를 포함하는 것을 특징으로 하는 디지털 데이터 기록 재생 장치.When the data recording is terminated during the recording of the digital data, the file structure management unit records the digital data recorded from the data recording start to the abnormal end based on the file identifier and the cluster connection information recorded in the cluster after the abnormal termination recovery. And a file recovery processing unit configured as data. 제 7 항 내지 제 10 항 중 어느 한 항에 있어서,The method according to any one of claims 7 to 10, 디지털 방송을 수신하는 디지털 방송 수신부와,A digital broadcast receiver for receiving digital broadcasts, 수신한 디지털 방송이 유료인지의 여부를 나타내는 과금(課金) 정보에 의해, 상기 파일 구조 관리부를 제어하는 제어기를 더욱 포함하되,A controller for controlling the file structure management unit by charging information indicating whether the received digital broadcast is paid, 유료 디지털 방송을 수신하는 중에 데이터 기록의 이상 종료가 발생한 경우에는, 상기 제어기가 이상 종료 복구 후에 기록 데이터를 폐기하고, 과금하지 않도록 제어하는 것을 특징으로 하는 디지털 데이터 기록 재생 장치.And in the event that an abnormal termination of data recording occurs while receiving a pay digital broadcast, the controller controls to discard the recorded data after the abnormal termination recovery and not charge. 디지털 데이터의 기록 재생을 행하는 디지털 데이터 기록 재생 장치에 있어서,A digital data recording and reproducing apparatus for recording and reproducing digital data, 디지털 데이터가 기록되는 복수의 디스크 기억부와,A plurality of disk storages in which digital data is recorded; 디지털 데이터가 저장되는 클러스터와 상기 클러스터의 접속 정보를 관리하는 파일 할당 테이블을 다른 디스크 기억부에 기록하는 파일 구조 관리부를 포함하는 것을 특징으로 하는 디지털 데이터 기록 재생 장치.And a file structure management unit for recording a cluster in which digital data is stored and a file allocation table for managing connection information of the cluster in another disk storage unit.
KR10-2000-7011490A 1999-02-17 2000-02-16 Method and device for recording/reproducing digital data KR100421343B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP3906199 1999-02-17
JP99-39061 1999-02-17

Publications (2)

Publication Number Publication Date
KR20010042757A true KR20010042757A (en) 2001-05-25
KR100421343B1 KR100421343B1 (en) 2004-03-09

Family

ID=12542630

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-7011490A KR100421343B1 (en) 1999-02-17 2000-02-16 Method and device for recording/reproducing digital data

Country Status (4)

Country Link
KR (1) KR100421343B1 (en)
CN (1) CN1163830C (en)
ID (1) ID28733A (en)
WO (1) WO2000049503A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462620B1 (en) * 2002-10-15 2004-12-23 삼성전자주식회사 Methods for storing and recovering data in image processing apparatus having hard disk drive, and the image processing apparatus for processing the methods
KR100502711B1 (en) * 2003-03-14 2005-07-20 주식회사 코원시스템 Method for recovering a recorded data in a portable storage device
KR100578085B1 (en) * 2004-09-08 2006-05-10 엘지전자 주식회사 Playback Performance Improvement Method of Optical Writable Medium
KR100945513B1 (en) * 2004-12-03 2010-03-09 삼성전자주식회사 Optical disc write stating Apparatus and Method
KR100967376B1 (en) * 2003-09-08 2010-07-05 삼성전자주식회사 Broadcasting signal processing apparatus capable of recording/reproducing and a method thereof
US8254759B2 (en) 2004-11-12 2012-08-28 Samsung Electronics Co., Ltd. Broadcasting signal processing apparatus and method thereof for recording and reproducing with respect to hard disc drive

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100390486B1 (en) * 2000-12-13 2003-07-07 엘지전자 주식회사 File name recording method for digital data player
US7680397B2 (en) 2004-09-27 2010-03-16 Victor Company Of Japan, Ltd. Method and apparatus for recording data on a recording disc, and method and apparatus for restoring data recorded on a recording disc
JP2007042255A (en) * 2005-06-29 2007-02-15 Victor Co Of Japan Ltd Recording method
JP4172500B2 (en) 2006-05-30 2008-10-29 ソニー株式会社 Recording apparatus and method, program, and recording medium
CN103092849A (en) * 2011-10-28 2013-05-08 浙江大华技术股份有限公司 File system cluster management method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06236307A (en) * 1993-02-08 1994-08-23 Nec Software Ltd Discrimination system for end of file
JPH08227372A (en) * 1995-02-20 1996-09-03 Canon Inc Data processor
JP3526688B2 (en) * 1996-03-29 2004-05-17 富士通株式会社 Metered system and method for connectionless communication

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462620B1 (en) * 2002-10-15 2004-12-23 삼성전자주식회사 Methods for storing and recovering data in image processing apparatus having hard disk drive, and the image processing apparatus for processing the methods
KR100502711B1 (en) * 2003-03-14 2005-07-20 주식회사 코원시스템 Method for recovering a recorded data in a portable storage device
KR100967376B1 (en) * 2003-09-08 2010-07-05 삼성전자주식회사 Broadcasting signal processing apparatus capable of recording/reproducing and a method thereof
KR100578085B1 (en) * 2004-09-08 2006-05-10 엘지전자 주식회사 Playback Performance Improvement Method of Optical Writable Medium
US8254759B2 (en) 2004-11-12 2012-08-28 Samsung Electronics Co., Ltd. Broadcasting signal processing apparatus and method thereof for recording and reproducing with respect to hard disc drive
KR100945513B1 (en) * 2004-12-03 2010-03-09 삼성전자주식회사 Optical disc write stating Apparatus and Method

Also Published As

Publication number Publication date
WO2000049503A1 (en) 2000-08-24
ID28733A (en) 2001-06-28
CN1163830C (en) 2004-08-25
KR100421343B1 (en) 2004-03-09
CN1296583A (en) 2001-05-23

Similar Documents

Publication Publication Date Title
US8346061B2 (en) Digital signal recording/reproducing apparatus, receiving apparatus
US6101310A (en) Apparatus for reading and writing information from and to a time code track in a recording medium
US6862401B1 (en) Recording apparatus, method and program recording medium
US6711343B1 (en) Data recording/reproducing device, file managing method, file information generating method, file managing method, management information generating device, management information analyzing device, and medium
KR100421343B1 (en) Method and device for recording/reproducing digital data
CN101595526A (en) Video and audio reproducing device
US7194548B1 (en) Data transmission apparatus, receiving apparatus, and sending apparatus
KR100454520B1 (en) Recording/reproducing disk control device and disc apparatus comprising the same
JP4412002B2 (en) Recording system, recording apparatus, and recording management method
JP2001266482A (en) Device and method for recording and reproducing information
US20020071652A1 (en) Reproduction apparatus and reproduction method
JP2001045420A (en) Recorder, method and computer-readable storage medium
US20040062516A1 (en) Moving picture experts group phase 2 transport stream data editing method
JP3178507B2 (en) Signal receiving device and magnetic recording / reproducing device
EP0971359A1 (en) Equipment control command processing system and method thereof
US6141481A (en) Modifying data stored in memory means in accordance with a reproduced signal
JP3890640B2 (en) COMMERCIAL SENDING SYSTEM AND COMMERCIAL SENDING METHOD
JPH07226062A (en) Device for reproducing multi-media data
JP3826742B2 (en) Video / audio signal recording and playback device
EP1309192A2 (en) Playback control apparatus
JPH05314728A (en) Automatic editing system and partial reproducing system for magnetic recording medium
JP3826743B2 (en) Video / audio signal recording and playback device
JPH10243326A (en) Transmission system
JP2000217068A (en) Information recorder
JP2001022528A (en) Disk media, recording method, recorder and reproducing device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 20120130

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130130

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee