CN1163830C - Digital data recording and reproducing method and digital data recording and reproducing device - Google Patents
Digital data recording and reproducing method and digital data recording and reproducing device Download PDFInfo
- Publication number
- CN1163830C CN1163830C CNB008003238A CN00800323A CN1163830C CN 1163830 C CN1163830 C CN 1163830C CN B008003238 A CNB008003238 A CN B008003238A CN 00800323 A CN00800323 A CN 00800323A CN 1163830 C CN1163830 C CN 1163830C
- Authority
- CN
- China
- Prior art keywords
- data
- file
- recording
- digital data
- cluster
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1435—Saving, restoring, recovering or retrying at system level using file system or storage system metadata
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting 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
Description
技术领域technical field
本发明涉及进行盘记录媒体上的数字数据的记录再生的数字数据记录再生方法和数字数据记录再生装置,特别是防止停电等异常结束时的文件破坏和数据丢失的数字数据记录再生方法和使用该数字数据记录再生方法的数字数据记录再生装置。The present invention relates to a digital data recording and reproducing method and a digital data recording and reproducing device for recording and reproducing digital data on a disk recording medium, in particular to a digital data recording and reproducing method for preventing file destruction and data loss at abnormal terminations such as power outages and the use of the digital data recording and reproducing method. A digital data recording and reproducing device for a digital data recording and reproducing method.
背景技术Background technique
迄今,作为防止在停电时发生的文件破坏和丢失的方法,已知的方法如特开平8-255001号公报所公开的那样,是使用在停电时可以暂时供给电源的无停电电源的方法。Hitherto, as a method for preventing file destruction and loss during a power failure, a known method is to use a non-interruptible power supply that can temporarily supply power during a power failure, as disclosed in JP-A-8-255001.
下面,参照图16说明先有的无停电电源系统的结构和动作。Next, the configuration and operation of a conventional uninterruptible power supply system will be described with reference to FIG. 16 .
图16是表示先有的无停电电源系统的结构的图。Fig. 16 is a diagram showing the configuration of a conventional uninterruptible power supply system.
先有的无停电电源系统具有进行数据的输入输出的输入输出装置1302、接收该输入输出装置1302的输入输出信号并向输入输出装置1302输出用于控制处理过程的控制信号的控制用电脑1301、停电时可以暂时供给电源的无停电电源1304和接收表示该无停电电源1304的商用电源的停电状态的商用电源断信号并在该商用电源信号持续一定时间以上时就判定为停电的动作检验电路1303。The conventional uninterruptible power supply system has an input and output device 1302 for inputting and outputting data, a control computer 1301 that receives the input and output signals of the input and output device 1302 and outputs a control signal for controlling the process to the input and output device 1302, A non-interruptible power supply 1304 capable of temporarily supplying power during a power failure, and an operation check circuit 1303 that receives a commercial power supply interruption signal indicating the power failure state of the commercial power supply of the non-interruption power supply 1304 and determines that a power failure occurs when the commercial power supply signal continues for a certain period of time or longer. .
控制用电脑1301接收到表示判定为动作检验电路1303的停电的信号后,就对现用文件进行关闭处理。另外,动作检验电路1303监视电源电压的异常,在异常时就利用电话线路自动通报装置1305进行自动通报。When the control computer 1301 receives a signal indicating that the operation check circuit 1303 has been judged to be a power failure, it closes the current file. In addition, the operation checking circuit 1303 monitors the abnormality of the power supply voltage, and when there is an abnormality, the automatic notification device 1305 for the telephone line makes an automatic notification.
这样,按照先有的无停电电源系统,在发生停电时,控制用电脑1301就可以进行现用文件的关闭处理,所以,在停电发生时不会发生现用文件的破坏或数据的丢失。In this way, according to the conventional non-interruption power supply system, when a power failure occurs, the control computer 1301 can close the currently used file, so that no damage to the currently used file or loss of data will occur when the power failure occurs.
然而,作为在家庭使用的数字数据记录再生装置的存储媒体,有以VCR为代表的磁带媒体,但是,目前已使用可以随机访问的磁盘和光磁盘等盘记录媒体取代磁带媒体。However, as a storage medium of a digital data recording and reproducing device used at home, there is a tape medium represented by a VCR, but at present, a disk recording medium such as a magnetic disk and a magneto-optical disk capable of random access has been used instead of the tape medium.
在先有的磁带媒体中,在进行记录时发生了停电时,虽然保存着停电以前的图像,但是,计算机用的盘记录媒体的情况时,如果记录结束处理不正确,将全部丢失从记录开始时到停电为止的图像数据。In the conventional magnetic tape media, when a power failure occurs during recording, the image before the power failure is preserved, but in the case of a computer disk recording medium, if the recording end processing is incorrect, all will be lost from the beginning of recording. Image data from time to power failure.
下面,使用图17说明向计算机用的盘记录媒体上记录时在停电时发生文件破坏和数据丢失的理由。Next, the reasons why file corruption and data loss occur at the time of power failure during recording to a computer disk recording medium will be described using FIG. 17 .
图17是表示由MS-Windows(微软公司制作)等、计算机的OS采用的盘记录媒体的记录区域中的文件记录结构的图。FIG. 17 is a diagram showing a file recording structure in a recording area of a disk recording medium used by a computer OS such as MS-Windows (manufactured by Microsoft Corporation).
盘记录媒体的记录区域由根目录1401、文件分配表1402和簇1403构成。The recording area of the disk recording medium is composed of a
根目录1401保持存储在盘记录媒体上的文件的名称和文件的开头簇号码。文件分配表1402保持构成文件的簇1403的连接信息。簇1403是盘记录媒体的记录再生的最小单位,保持实数据。The
在图17的例子中,根目录1401表示在该盘记录媒体上从簇号码0002开始存储称为Data1的文件,文件分配表1402表示Data1按簇号码0002、簇号码0003和簇号码0004的顺序构成数据。因此,表示Data1的实数据存储在簇1403的簇号码0002、簇号码0003和簇号码0004的区域。文件分配表1402的FFFF是表示文件的最后簇的簇号码。In the example of FIG. 17, the
在进行数据记录时,首先将文件名和开头簇号码登录到根目录1401中,由文件分配表1402更新簇1403的连接信息,并将实数据记录到簇1403的各区域中。When recording data, first register the file name and the first cluster number in the
然而,根目录1401和文件分配表1402是在盘记录媒体中固定存在的,簇1403的各区域使用根目录1401和文件分配表1402以外的盘记录媒体的区域。However, the
在进行数据记录时,向文件分配表1402和簇1403的各区域进行写入时,每次向簇1403写入时,都必须更新文件分配表1402的簇连接信息,所以,必须搜索对盘记录媒体的写入头,从而写入速度非常慢。When performing data recording, when writing to each area of the file allocation table 1402 and the
因此,采用在存储器内更新文件分配表1402的信息,将数据写入簇1403内,在数据的记录结束处理即文件关闭处理时,将文件分配表1402的信息反映在盘记录媒体上的方法。Therefore, the method of updating the information of the file allocation table 1402 in the memory, writing data into the
在向上述盘记录媒体进行记录的过程中,在进行记录结束处理之前发生了停电时,由于未更新盘记录媒体的文件分配表1402,所以,从记录开始到停电为止,尽管数据已记录到簇1403中,表示簇1403的连接信息的文件分配表1402的连接信息都将丢失,从而将发生文件破坏和数据的丢失。In the process of recording to the above-mentioned disk recording medium, when a power failure occurs before the recording end process is performed, the file allocation table 1402 of the disk recording medium is not updated. In 1403, the connection information of the file allocation table 1402 representing the connection information of the
另外,使用作为数据丢失的对策的先有的无停电电源的方法,作为家庭用数字数据记录再生装置,将成为价格昂贵的结构。In addition, using the conventional uninterrupted power supply method as a measure against data loss, it would be an expensive configuration as a digital data recording and reproducing device for home use.
发明内容Contents of the invention
本发明就是鉴于上述问题而提案的,目的旨在提供在进行数据记录时发生了停电等异常结束时不发生文件破坏和数据丢失的廉价的数字数据记录再生方法和数字数据记录再生装置。The present invention is proposed in view of the above problems, and an object of the present invention is to provide an inexpensive digital data recording and reproducing method and digital data recording and reproducing device that do not cause file corruption or data loss when abnormal termination such as power failure occurs during data recording.
本发明提供一种以作为盘记录媒体上数据的记录最小单位的簇为单位对数字数据进行记录再生的数字数据记录再生方法,其特征在于:包括在上述盘记录媒体上,构筑在数据记录开始前预先将可以记录的簇相互连接的文件结构的第1步骤;从可以记录的簇的开头开始记录数字数据的第2步骤,和将从记录开头簇到记录结束簇的数字数据构成为记录文件的第3步骤。The present invention provides a digital data recording and reproducing method for recording and reproducing digital data in units of clusters, which are the smallest unit of data recording on a disk recording medium. The first step of the file structure that connects the recordable clusters in advance; the second step of recording digital data from the beginning of the recordable clusters, and composing the digital data from the recording start cluster to the recording end cluster as a recording file Step 3 of .
本发明提供一种数字数据记录再生装置,其特征在于:具有以作为数据的记录最小单位的簇为单位存储数字数据的盘记录媒体,和文件结构管理部,将数字数据存储到上述盘记录媒体上或从上述盘记录媒体上读出数字数据构筑在数据记录开始前预先将可以记录的簇相互连接的文件结构,在数据记录开始时,从可以记录的簇的开头开始记录数字数据,在数据记录结束时将从记录开头簇开始到记录结束簇为止的数字数据构成为记录文件。The present invention provides a digital data recording and reproducing apparatus, characterized in that: it has a disk recording medium for storing digital data in units of clusters which are the smallest unit of data recording, and a file structure management unit for storing digital data in the above-mentioned disk recording medium. Read digital data on or from the above-mentioned disk recording medium to construct a file structure in which recordable clusters are connected to each other in advance before data recording starts. When data recording starts, digital data is recorded from the beginning of recordable clusters. At the end of recording, the digital data from the recording start cluster to the recording end cluster is constituted as a recording file.
按照本发明,在数字数据记录中即使发生了停电等异常结束,在通电再次开始时记录了数字数据的区域将作为文件的一部分而存在,在异常结束恢复后,可以再生从记录开始到异常结束为止所记录的数据,从而可以廉价地防止异常结束发生时的文件破坏和数据的丢失。According to the present invention, even if an abnormal end such as a power failure occurs during digital data recording, the area where the digital data is recorded will exist as a part of the file when the power is restarted. Data recorded so far can be cheaply prevented from file corruption and data loss when an abnormal end occurs.
按照本发明,在数字数据记录中即使发生了停电等异常结束时,在通电再次开始时不仅可以再生从记录开始到异常结束为止所记录的数据,而且可以将可以记录部分恢复为和进行通常的数据记录结束处理的文件相同的记录文件,从而可以廉价地防止异常结束发生时的文件破坏和数据的丢失。According to the present invention, even if an abnormal end 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 when the power is restarted, but also the recordable part can be restored to the normal state. The file to be processed at the end of data logging is the same as the log file, so that file destruction and data loss at the time of abnormal end can be prevented at low cost.
按照本发明,在数字数据记录中,即使发生了停电等异常结束时,在通电再次开始时不仅可以再生从记录开始到异常结束为止所记录的数据,而且可以廉价地防止异常结束发生时的文件破坏和数据的丢失。According to the present invention, in digital data recording, even if an abnormal end such as a power failure occurs, not only can the data recorded from the recording start to the abnormal end be reproduced when the power is restarted, but also the file loss at the time of the abnormal end can be prevented at low cost. damage and loss of data.
按照本发明,在数字数据记录中,即使发生了异常结束时,在通电开始时可以修复从记录开始到异常结束为止所记录的数据文件的文件分配表,从而可以将可以再生部分作为文件形式进行恢复处理。并且,可以廉价地防止异常结束发生时的文件破坏和数据的丢失。According to the present invention, in digital data recording, even if an abnormal end occurs, the file allocation table of the data file recorded from the start of recording to the abnormal end can be restored at the start of power-on, so that the reproducible part can be processed as a file. Resume processing. In addition, file destruction and data loss at the time of abnormal termination can be prevented at low cost.
按照本发明,在数据记录时即使发生了停电等异常结束时,如果数字广播不是收费广播,就可以恢复由于异常结束而中断之前的文件。另外,如果由于异常结束而记录中断的数字广播是收费广播,通过废弃到途中之前记录的数据,便可对该收费广播不计费,从而可以对用户进行合适的计费。According to the present invention, even if abnormal termination such as power failure occurs during data recording, if the digital broadcast is not paid broadcast, the file before the interruption due to abnormal termination can be restored. Also, if the digital broadcast whose recording was interrupted due to abnormal termination is a pay broadcast, by discarding the data recorded before the en route, the pay broadcast can be not charged, so that the user can be charged appropriately.
按照本发明,可以进行高速的盘访问,并且即使在数字数据记录中发生了停电等异常结束时,在通电再次开始时也可以将从记录开始到异常结束为止所记录的数据作为正常的文件形式而读入。并且,可以廉价地防止异常结束发生时的文件鲆和数据的丢失。According to the present invention, high-speed disk access is possible, and even when digital data recording is terminated abnormally such as a power failure, the data recorded from the recording start to the abnormal termination can be used as a normal file format when the power is restarted. And read in. In addition, it is possible to prevent the loss of files and data when an abnormal end occurs at low cost.
附图说明Description of drawings
图1是表示本发明实施例1的数字数据记录再生装置的结构的框图。Fig. 1 is a block diagram showing the configuration of a digital data recording and reproducing apparatus according to Embodiment 1 of the present invention.
图2(a)是表示本发明实施例1的盘记录媒体的数据未记录时的文件结构的图。Fig. 2(a) is a diagram showing the file structure when data is not recorded on the disk recording medium according to Embodiment 1 of the present invention.
图2(b)是表示本发明实施例1的盘记录媒体的数据记录时的文件结构的图。Fig. 2(b) is a diagram showing a file structure during data recording on the disc recording medium according to the first embodiment of the present invention.
图2(c)是表示本发明实施例1的盘记录媒体的数据记录结束时的文件结构的图。Fig. 2(c) is a diagram showing the file structure at the end of data recording on the disk recording medium according to Embodiment 1 of the present invention.
图3是表示本发明实施例1的数字数据记录再生方法的流程图。Fig. 3 is a flowchart showing a method for recording and reproducing digital data according to Embodiment 1 of the present invention.
图4是表示本发明实施例2的数字数据记录再生装置的结构的框图。Fig. 4 is a block diagram showing the configuration of a digital data recording and reproducing apparatus according to Embodiment 2 of the present invention.
图5是表示本发明实施例2的传输包的结构的图。Fig. 5 is a diagram showing the structure of a transport packet according to Embodiment 2 of the present invention.
图6是表示本发明实施例2的通电再次开始时的文件恢复处理的流程图。Fig. 6 is a flowchart showing file recovery processing when power is restarted according to Embodiment 2 of the present invention.
图7是用于说明本发明实施例3的PES数据的数据格式的图。Fig. 7 is a diagram for explaining the data format of PES data according to Embodiment 3 of the present invention.
图8是表示本发明实施例3的通电再次开始时的文件恢复处理的流程图。Fig. 8 is a flowchart showing file restoration processing when power is restarted according to Embodiment 3 of the present invention.
图9是表示本发明实施例4的盘记录媒体的文件结构的图。Fig. 9 is a diagram showing a file structure of a disc recording medium according to Embodiment 4 of the present invention.
图10是表示本发明实施例4的簇的数据结构的图。Fig. 10 is a diagram showing the data structure of a cluster according to Embodiment 4 of the present invention.
图11(a)是表示本发明实施例4的停电等异常结束时的文件结构的图。Fig. 11(a) is a diagram showing the file structure when the power failure or the like ends abnormally according to Embodiment 4 of the present invention.
图11(b)是表示本发明实施例4的停电等异常结束时的簇的状态的图。Fig. 11(b) is a diagram showing the status of clusters when abnormal termination such as a power outage according to Embodiment 4 of the present invention.
图12是表示本发明实施例4的通电再次开始时的文件恢复处理的流程图。Fig. 12 is a flowchart showing file recovery processing when power is restarted according to Embodiment 4 of the present invention.
图13(a)是表示本发明实施例5的数字数据记录再生装置的结构的图。Fig. 13(a) is a diagram showing the configuration of a digital data recording and reproducing apparatus according to Embodiment 5 of the present invention.
图13(b)是表示本发明实施例5的收费广播计费信息的图。Fig. 13(b) is a diagram showing billing information for paid broadcasting according to Embodiment 5 of the present invention.
图14是表示本发明实施例5的数字数据记录再生控制部的处理的流程图。Fig. 14 is a flowchart showing the processing of a digital data recording/reproducing control unit according to Embodiment 5 of the present invention.
图15是表示本发明实施例6的数字数据记录再生装置的结构的框图。Fig. 15 is a block diagram showing the configuration of a digital data recording and reproducing apparatus according to Embodiment 6 of the present invention.
图16是表示先有的无停电电源系统的结构的图。Fig. 16 is a diagram showing the configuration of a conventional uninterruptible power supply system.
图17是表示先有的文件结构的图。Fig. 17 is a diagram showing a conventional file structure.
具体实施方式Detailed ways
实施例1.Example 1.
下面,参照附图说明本发明实施例1的数字数据记录再生方法和数字数据记录再生装置。本实施例1的数字数据记录再生方法,预先在盘记录媒体上构筑将可以记录的簇相互连接的可以记录的区域,在记录结束时将从记录开头簇到记录结束簇为止的数字数据构成为记录文件。Next, a digital data recording and reproducing method and a digital data recording and reproducing apparatus according to Embodiment 1 of the present invention will be described with reference to the drawings. In the digital data recording and reproducing method of the present embodiment 1, a recordable area in which recordable clusters are connected to each other is constructed on the disk recording medium in advance, and the digital data from the recording start cluster to the recording end cluster is constituted at the end of recording as log file.
图1是表示本实施例1的数字数据记录再生装置的结构的框图。FIG. 1 is a block diagram showing the configuration of a digital data recording and reproducing apparatus according to the first embodiment.
数字数据记录再生装置20具有数据输入输出部21、文件结构管理部22和盘记录媒体23。The digital data recording/reproducing
数据输入输出部21在进行数据接收时从外部连接的数字数据输入机器接收数字数据,向文件结构管理部22输出数字数据;在进行数据再生时,从文件结构管理部22接收数字数据,向外部连接的数字数据再生机器输出数字数据。The data input and
文件结构管理部22管理盘记录媒体23的文件结构,在进行数据输入时,将数字数据记录到盘记录媒体23上,在进行数据输出时,从盘记录媒体23中读出数字数据。The file
盘记录媒体23是存储数字数据的盘状的记录媒体。The
图2(a)~图2(c)是表示盘记录媒体23的文件结构的图。2( a ) to 2( c ) are diagrams showing the file structure of the
在图2(a)~图2(c)中,盘记录媒体23的文件结构由根目录101、文件分配表102和簇103构成。In FIGS. 2( a ) to 2 ( c ), the file structure of the
根目录101保持可以记录区域的开头簇号码、记录的数据文件的名称和存储该数据文件的数据的开头簇号码。文件分配表102通过将与相应采用连接的簇号码存储到文件分配表102的相应簇号码位置来管理数据文件中的簇103的连接关系。簇103是盘记录媒体23的最小访问单位,将连续的数字分配为逻辑块地址,存储数据文件的数字数据。The
图2(a)是表示数据未记录时的文件结构的图。Fig. 2(a) is a diagram showing a file structure when data is not recorded.
在图2(a)中,在根目录101中不存在记录的数据文件,存在指示可以记录区域的自由区域,该自由区域成为从簇号码0002开始的结构。文件分配表102中的FFFF表示不存在与该簇连接的簇103,而是最终簇。In FIG. 2( a ), there are no recorded data files in the
作为数据未记录时的文件结构,自由区域从簇号码0002开始,成为顺序将全部簇连接的区域,从而构成文件分配表102。As a file structure when data is not recorded, the free area starts from the
下面,使用图1、图2(a)~图2(c)和图3说明记录数据的动作。Next, the operation of recording data will be described using FIG. 1 , FIG. 2( a ) to FIG. 2( c ), and FIG. 3 .
图3是表示数字数据记录再生方法的流程图。Fig. 3 is a flowchart showing a method for recording and reproducing digital data.
首先,在盘记录媒体23的格式化时或记录开始之前,文件结构管理部22如图2(a)所示的那样将盘记录媒体23的记录区域构筑为预先将所有的簇号码连接的文件结构(步骤S31)。在该文件结构构筑之后,开始进行数据的记录。First, when the
数字数据从外部连接的图中未示出的数字数据输入机器输入数据输入输出部21。数据输入输出部21将该数字数据向文件结构管理部22输出。The digital data is input to the device input data input/
图2(b)是表示数据记录开始时的文件结构的图。Fig. 2(b) is a diagram showing a file structure at the start of data recording.
在图2(b)中,在数据记录开始时,文件结构管理部22将分配给根目录101的自由区域的开头簇号码拷贝到数据文件视频的开头簇号码存储区域中,将表示不存在分配的簇103的FFFF存储到表示可以记录区域的自由区域的开头簇号码存储区域中。In FIG. 2(b), when data recording starts, the file
由于根目录101的变更,文件分配表102的结构就成为数据文件视频表示从簇号码0002开始顺序连接全部簇的区域。Due to the change of the
在进行数据记录时,在记录开始时从分配给数据文件视频的簇103的开头开始记录例如图像数据等的数字数据(步骤S32)。When data recording is performed, digital data such as image data is recorded from the head of the
图2(c)是表示数据记录结束时的文件结构的图。Fig. 2(c) is a diagram showing the file structure at the end of data recording.
在图2(c)中,在数据记录结束时,文件结构管理部22将表示数据文件的最终簇的FFFF存储到与记录在文件分配表102的最后的簇103对应的位置。In FIG. 2( c ), when data recording ends, the file
并且,在根目录101中,将与最后记录的簇103连接的簇号码(这时,为2000)存储到表示可以记录区域的自由区域的数据的开头簇号码存储区域中。通过这样处理,在下次的数据文件记录时,就可以使用从分配给表示可以记录区域的自由区域的开头簇开始的区域。这样,从记录开头簇到记录结束簇的数字数据就构成为记录文件(步骤S33)。Then, in the
在上述那样的文件结构中,在数据记录过程中发生了停电等异常结束时,例如在写入簇号码1FFF的当中发生了异常结束时,文件结构就是图2(b)的状态,数据文件就成为从簇号码0002到簇号码1FFF的记录完成簇和2000以后的未记录簇从未记录时开始预先连接的状态。In the above-mentioned file structure, when an abnormal end such as a power failure occurs during data recording, for example, when an abnormal end occurs during writing of cluster number 1FFF, the file structure is in the state shown in Fig. 2(b), and the data file is The recorded clusters from
这样,按照本实施例1的数字数据记录再生方法和数字数据记录再生装置,通过具有使用所有的可以记录区域的簇预先连接的文件结构的盘记录媒体23,在记录结束时将表示最终簇的标识符存储到最后记录数据的簇中,而将与最后记录数据的簇连接的簇的号码存储到可以记录区域的开头簇中的文件结构管理部,即使在数字数据记录中发生了停电等异常结束时,在通电再次开始时也可以将记录了数字数据的区域作为文件的一部分而存在并在异常结束恢复之后可以再生从记录开始到异常结束为止所记录的数据。In this way, according to the digital data recording and reproducing method and digital data recording and reproducing apparatus of the present embodiment 1, with the
在本实施例1中,作为表示不存在可以记录区域的标识符,是使用FFFF,但是,也可以使用不作为簇号码而存在的其他的值。In the first embodiment, FFFF is used as an identifier indicating that there is no recordable area, but other values that do not exist as cluster numbers may be used.
实施例2.Example 2.
下面,参照附图说明本发明实施例2的数字数据记录再生方法和数字数据记录再生装置。本实施例2的数字数据记录再生方法,是在实施侧1的处理中为了求中断文件的开头簇号码而附加了检查在簇的数据内是否有同步字节的丢失的步骤。Next, a digital data recording and reproducing method and a digital data recording and reproducing apparatus according to Embodiment 2 of the present invention will be described with reference to the drawings. In the digital data recording and reproducing method of the second embodiment, in the processing of the implementation side 1, a step of checking whether there is a missing sync byte in the data of the cluster is added in order to obtain the first cluster number of the interrupt file.
本实施例2的盘记录媒体的文件结构和实施例1的盘记录媒体的文件结构相同,在图2(a)~图2(c)中示出。图2(b)的存储在表示可以记录区域的自由区域的开头簇号码存储区域的FFFF,在本实施例2中表示是在数据记录中。The file structure of the disc recording medium of the second embodiment is the same as that of the disc recording medium of the first embodiment, and is shown in FIGS. 2(a) to 2(c). FFFF stored in the head cluster number storage area of the free area indicating the recordable area in FIG. 2(b) indicates that data is being recorded in the second embodiment.
图4是表示本实施例2的数字数据记录再生装置的结构的框图。FIG. 4 is a block diagram showing the configuration of a digital data recording and reproducing apparatus according to the second embodiment.
数字数据记录再生装置24具有数据输入输出部21、文件结构管理部25和盘记录媒体23。文件结构管理部25进而具有文件恢复处理部26。关于文件结构管理部25和文件恢复处理部26部分以外的结构和动作和实施例1相同,所以,省略其说明。The digital data recording/reproducing
文件结构管理部25管理盘记录媒体23的文件结构,在进行数据输入时,将数字数据记录到盘记录媒体23中,在进行数据输出时,从盘记录媒体23中读出数字数据。The file
文件恢复处理部26在数字数据的记录时发生了例如停电等数据记录的异常结束时进行恢复处理,以使在通电再次开始时从数据记录开始到异常结束为止的数据和进行通常的结束处理时一样成为1个记录文件。The file
图5是表示作为数字广播的数据形式的传输包的结构的图。FIG. 5 is a diagram showing the structure of a transport packet as a data format of digital broadcasting.
在图5中,传输包由作为标题信息的传输标题201和作为数字数据的实数据的有效负载202构成。传输包是固定长度。在传输标题201的开头,存在用于取得同步的同步字节203。数字广播由传输包反复传输的数据构成。In FIG. 5, the transport packet is composed of a
下面,说明在向图2(a)~图2(c)所示的文件结构的盘记录媒体23记录数据的途中发生了例如停电等异常结束时的通电再次开始时的文件恢复处理。2 (a) to FIG. 2 (c) shown in the file structure of the
图6是表示通电再次开始时的文件恢复处理的流程图。除了特别说明的情况以外,处理都是由文件恢复处理部26进行的。FIG. 6 is a flowchart showing file restoration processing when power is restarted. The processing is performed by the file
首先,在步骤S301,通过检查在图2(b)的根目录101中分配给表示可以记录区域的自由区域的开头簇号码是否为表示是在记录中的FFFF,来判断在记录中是否处理中断了。并且,如果记录处理未中断,即分配给自由区域的开头簇号码不是FFFF,就结束通电再次开始处理。如果记录处理中断了,即自由区域的开头簇号码是表示记录中的FFFF,就进入步骤S302,继续通电再次开始处理。First, in step S301, by checking whether the first cluster number assigned to the free area representing the recordable area in the
在步骤S302,从根目录101中取得文件分配表102的连接在最终簇(FFFF)未结束的记录中断文件的开头簇号码,作为现行簇。In step S302, from the
在步骤S303,判断在现行簇内是否有同步字节203的丢失。如果有同步字节203的丢失,就判定在现行簇中有记录中断,并进入步骤S304。如果没有同步字节203的丢失,就判定在现行簇中没有记录中断,并进入步骤S307。In step S303, it is judged whether there is a
在步骤S304,将表示最终簇的FFFF存储到与现行簇对应的文件分配表102的簇号码位置。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 after the current cluster is obtained from the file allocation table 102 as the first free cluster.
在步骤S306,将开头自由簇存储到根目录101的自由区域的开头簇号码存储区域中。并且,结束通电再次开始处理。In step S306, the first free cluster is stored in the first cluster number storage area of the free area of the
在步骤S307,判断是否有现行簇之后的簇。如果有与现行簇连接的簇,就进入步骤S308,如果没有现行簇之后的簇,就判定记录处理进行到了最终簇,从而结束通电再次开始处理。In step S307, it is judged whether there is a cluster after the current cluster. If there is a cluster connected with the current cluster, it will go to step S308. If there is no cluster after the current cluster, it will be judged that the recording process has reached the final cluster, and the power-on will be terminated and the process will be started again.
在步骤S308,从文件分配表102中取得现行簇之后的簇号码,通过就该簇号码作为现行簇,来更新现行簇,并返回到步骤S303,反复进行同步字节203的检查。In step S308, obtain the cluster number after the current cluster from the file allocation table 102, update the current cluster by using the cluster number as the current cluster, and return to step S303 to repeatedly check the
下面,使用具体例说明通电再次开始时的文件恢复处理。Next, a specific example will be used to describe the file restoration process when the power is turned on again.
假设例如在向簇号码1FFF的簇103中进行的数据记录中发生了停电。这时,在通电再次开始时的文件恢复处理中,根据记录中断文件的开头簇号码确认是否有同步字节203的丢失时,用簇号码1FFF不能发现同步字节203(步骤S303)。因此,将表示数据文件的最终簇的FFFF存储到文件分配表102的簇号码1FFF的位置(步骤S304)。并且,在根目录101中,将最后记录的簇号码1FFF之后的簇号码2000存储到表示可以记录区域的自由区域的开头簇号码存储区域中,取代表示是在记录中的FFFF(步骤S306)。这样,便可恢复为和图2(c)所示的正常地记录结束时相同的文件结构。Assume, for example, that a power outage occurs during data recording to the
这样,按照本实施例2的数字数据记录再生方法和数字数据记录再生装置,通过使用所有的可以记录区域的簇预先连接的文件结构的盘记录媒体23进行数字数据的记录,即使在数字数据记录中发生了停电等异常结束时,在通电再次开始时不仅可以再生从记录开始到异常结束为止所记录的数据,而且通过灵活使用作为可以记录区域的自由区域,还可以将可以记录部分恢复为和进行通常的数据记录结束处理的文件相同的文件形式。In this way, according to the digital data recording and reproducing method and digital data recording and reproducing apparatus of the present embodiment 2, the recording of digital data is carried out by using the
在本实施例2中,是将记录的数字数据作为传输包来说明的,但是,即使是组件数据,通过将组件开始代码作为同步字节使用,同样也可以实施。In the second embodiment, the recorded digital data is described as a transport packet, but it can be implemented similarly even if it is package data by using the package start code as a sync byte.
另外,作为求出中断文件的开头簇号码的方法,不仅根据是否有同步字节丢失来判断,而且也可以根据其他数字数据的格式信息进行判断。In addition, as a method of obtaining the head cluster number of the interrupted file, it is not only judged based on whether or not a sync byte is missing, but also judged based on format information of other digital data.
实施例3.Example 3.
下面,参照附图说明本发明实施例3的数字数据记录再生方法和数字数据记录再生装置。本实施例3的数字数据记录再生方法,是将实施例2的检查簇内是否有同步字节丢失的步骤作为检查簇内是否有标记位的丢失或PTS的减少的步骤。Next, a digital data recording and reproducing method and a digital data recording and reproducing apparatus according to Embodiment 3 of the present invention will be described with reference to the accompanying drawings. The digital data recording and reproducing method of the present embodiment 3 is to use the step of checking whether a sync byte is lost in the cluster in the embodiment 2 as a step of checking whether there is a loss of a marker bit or a reduction of the PTS in the cluster.
本实施例3的盘记录媒体的文件结构和数字数据记录再生装置分别和图2(a)~图2(c)和图4所示的实施例2的文件结构和数字数据记录再生装置相同,并省略其说明。存储在图2(b)的表示可以记录区域的自由区域的开头簇号码存储区域中的FFFF,在本实施例3中表示是在数据记录中。另外,在本实施例3中,图4的文件恢复处理部26通过确认标记位的丢失或PTS的减少而进行文件恢复处理。The file structure of the disk recording medium of the present embodiment 3 and the digital data recording and reproducing device are respectively the same as the file structure and the digital data recording and reproducing device of the embodiment 2 shown in Fig. 2 (a) to Fig. 2 (c) and Fig. 4, and omit its description. FFFF stored in the head cluster number storage area of the free area indicating the recordable area shown in FIG. 2(b) indicates that data is being recorded in the third embodiment. In addition, in the third embodiment, the file
图7是用于说明作为将图5所示的传输包的有效负载部集中的PES数据的数据格式的图。FIG. 7 is a diagram for explaining a data format of PES data which is a collection of payload portions of the transport packet shown in FIG. 5 .
PES数据由作为PES的信息区域的包标题401和作为实数据的包数据402构成。在包标题401中有作为再生输出的时刻管理信息的PTS403,PTS403是按数据的顺序而增加的值。另外,在PTS403中总是存在取1的值的标记位404。PES data is composed of a
下面,说明在数据记录途中发生了例如停电等异常结束时的通电再次开始时的文件恢复处理。Next, the file restoration process at the time of resumption of power supply when an abnormal end such as a power failure occurs during data recording will be described.
图8是表示通电再次开始时的文件恢复处理的流程图。步骤S501、S502和步骤S503~S508分别是实施例2的图6所示的步骤S301、S302和步骤S303~S308进行同样的处理的步骤,省略其说明。另外,除了特别说明的情况以外,处理都是由文件恢复处理部26进行的。FIG. 8 is a flowchart showing file restoration processing when power is restarted. Steps S501 , S502 and steps S503 to S508 are steps in which the same processing is performed as steps S301 , S302 and steps S303 to S308 shown in FIG. 6 of the second embodiment, respectively, and description thereof will be omitted. In addition, the processing is performed by the file
在步骤S503,判断在现行簇内是否有标记位404的丢失或PTS403的减少。如果有标记位404的丢失或PTS403的减少,就判定在现行簇中有记录中断,并进入步骤S504。如果没有标记位404的丢失或PTS403的减少,就判定在现行簇中没有记录中断,并进入步骤S507。In step S503, it is judged whether there is a loss of
下面,使用具体例说明通电再次开始时的文件恢复处理。Next, a specific example will be used to describe the file restoration process when the power is turned on again.
假设在例如向簇号码1FFF的簇103中进行的数据记录中发生了停电。这时,在通电再次开始时的文件恢复处理中,根据记录中断文件的开头簇号码确认PTS403是否正常时,在簇号码1FFF中,PTS403就不正常了(步骤S503)。因此,将表示数据文件的最终簇的FFFF存储到文件分配表102的簇号码1FFF的位置(步骤S504)。并且,在根目录101中,将最后记录的簇号码1FFF之后的簇号码2000存储到表示可以记录区域的自由区域的开头簇号码存储区域中,取代表示是在记录中的FFFF。(步骤S506)。这样,便可恢复为和图2(c)所示的正常地记录结束时相同的文件结构。Assume that, for example, a power outage occurs during data recording to the
这样,按照本实施例3的数字数据记录再生方法和数字数据记录再生装置,通过使用所有的可以记录区域的簇预先连接的文件结构的盘记录媒体23进行数字数据的记录,即使在数字数据记录中发生了停电等异常结束时,在通电再次开始时不仅可以再生从记录开始到异常结束为止所记录的数据,而且通过灵活使用作为可以记录区域的自由区域,还可以将可以记录部分恢复为和进行通常的数据记录结束处理的文件相同的文件形式。In this way, according to the digital data recording and reproducing method and digital data recording and reproducing apparatus of the present embodiment 3, the recording of digital data is carried out by using the
在本实施例3中,是将记录的数字数据作为传输包来说明的,但是,即使是组件数据,通过利用时间信息,同样也可以实施。In the third embodiment, the recorded digital data is described as a transport packet, but even package data can be implemented similarly by using time information.
另外,在实施例2和3中,作为表示是在记录中的标识符,是使用FFFF,但是,也可以使用不作为簇号码存在的其他的值。In addition, in Embodiments 2 and 3, FFFF is used as an identifier indicating that it is being recorded, but other values that do not exist as cluster numbers may be used.
实施例4.Example 4.
下面,参照附图说明本发明实施例4的数字数据记录再生方法和数字数据记录再生装置。本实施例4的数字数据记录再生方法在各簇内设置了存储用于识别数据文件的文件ID的区域,根据该文件ID进行文件恢复处理。Next, a digital data recording and reproducing method and a digital data recording and reproducing apparatus according to Embodiment 4 of the present invention will be described with reference to the drawings. In the digital data recording and reproducing method of 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 based on the file ID.
本实施例4的数字数据记录再生装置也和实施例2的数字数据记录再生装置相同,由图4所示。The digital data recording and reproducing device of the fourth embodiment is also the same as the digital data recording and reproducing device of the second embodiment, as shown in FIG. 4 .
图9是表示本实施例4的盘记录媒体23的文件结构的图。FIG. 9 is a diagram showing the file structure of the
在图9中,盘记录媒体23的记录区域由根目录601、文件分配表602和簇603构成。In FIG. 9 , the recording area of the
根目录601保持盘记录媒体23存储的文件的名称和存储该文件名称的数据的开头簇号码。文件分配表602通过将该簇之后的簇号码存储到相应簇号码位置来管理簇603的连接关系。簇603是盘记录媒体23的最小访问单位,连续的数字作为逻辑块地址进行分配,存储数据文件的数字数据。The
在进行数据记录时,将文件名和开头簇号码登录到根目录601中,在文件分配表602中更新簇603的连接信息,并将数据记录到簇603的各区域中。但是,为了高速进行盘访问,簇603的连接信息的更新在文件管理部25具有的图中未示出的存储器内进行,并执行向簇603内的数据写入,在数据写入结束时即文件关闭处理时,将存储器内的簇603的连接信息写入到盘记录媒体23的文件分配表602中。When recording data, the file name and the first cluster number are registered in the
下面,使用图10说明簇603的详细的数据结构。Next, the detailed data structure of the
图10是表示簇603的数据结构的图。FIG. 10 is a diagram showing the data structure of the
在图10中,1个簇603由记录进行数字数据的记录时的信息的记录信息701和作为实数据的数字数据702构成。记录信息701由识别数据文件的文件ID703和存储该簇之后的簇号码的连接簇号码704构成。作为文件ID703,在本实施例4中,是使用由ASCII代码表示记录开始的年月时分秒的。In FIG. 10 , one
图11(a)是表示在图9中将数据文件视频1向簇603的簇号码0004的记录中即在文件分配表602的更新之前发生了停电等异常结束时的文件结构的状态的图。11( a ) is a diagram showing the state of the file structure when an abnormal end such as a power failure occurs during the recording of the data file video 1 to the
在图11(a)中,根目录801和簇803是正常的状态,但是,文件分配表802则成为没有连接关系的状态。In FIG. 11(a), the
图11(b)是表示在记录中处理中断时的簇803的状态的图。FIG. 11(b) is a diagram showing the state of the
在图11(b)中,在写入了数据文件视频1的数字数据806的各簇的文件ID804中,存储了全部相同的记录开始时刻,在连接簇号码805中存储了簇连接关系。簇4的连接簇号码805之所以成为“不定”,表示在该簇4的连接簇号码805中存储了某种不正常的簇号码例如簇号码1000等。In FIG. 11( b ), in the
下面,使用图12说明通电再次开始时的文件恢复处理。Next, the file restoration process at the restart of power-on will be described using FIG. 12 .
图12是表示通电再次开始时的文件恢复处理的流程图。除了特别说明的情况以外,处理都是由文件恢复处理部26进行的。FIG. 12 is a flowchart showing file restoration processing when power is restarted. The processing is performed by the file
首先,在步骤S901,检查在图11(a)的根目录801中从数据文件视频1的开头簇号码开始的文件分配表802的簇连接关系,判断在记录中是否处理中断了。并且,如果记录处理未中断,即如果文件分配表802的连接关系是正常的状态,就结束通电再次开始处理。另一方面,如果记录处理中断了,就进入步骤S902。First, in step S901, check the cluster connection relationship of the file allocation table 802 from the head cluster number of the data file video 1 in the
在步骤S902,从根目录801中取得记录中断文件的开头簇号码作为现行簇,并将开头簇的文件ID804定为对象文件ID。In step S902, the head cluster number of the recording interrupted file is obtained from the
在步骤903,取得现行簇的簇803的连接簇号码805,作为后续簇。In step 903, the
在步骤S904,若后续簇的文件ID804与对象文件ID不同,就判定在现行簇中有记录中断,并进入步骤S905。另一方面,如果后续簇的文件ID804与对象文件ID相同,就判定在现行簇中没有数据的记录中断,并进入步骤S906。In step S904, if the
在步骤S905,将表示最终簇的FFFF存储到与现行簇对应的文件分配表802的簇号码位置。并且,结束通电再次开始处理。In step S905, FFFF representing the final cluster is stored in the cluster number position of the file allocation table 802 corresponding to the current cluster. And, the power-on is ended and the process is restarted.
在步骤S906,将后续簇的号码存储到文件分配表802的现行簇的位置,恢复簇连接关系,将现行簇更新为后续簇的值。并且,返回到步骤S903,反腐蚀进行步骤S903和步骤S904的文件ID804的检查。In step S906, the number of the subsequent cluster is stored in the position of the current cluster in the file allocation table 802, the connection relationship of the clusters is restored, and the value of the current cluster is updated to the value of the subsequent cluster. And, returning to step S903, anticorrosion checks the
下面,使用具体例说明通电再次开始时的文件恢复处理。Next, a specific example will be used to describe the file restoration process when the power is turned on again.
假设在例如向簇号码0004的簇803中进行的数据记录中发生了停电。这时,在通电再次开始时的文件恢复处理中,根据数据文件视频1的开头簇0002顺序确认现行簇与后续簇的文件ID是否相同时,在簇号码0004为现行簇时,现行簇与后续簇的文件ID就不相同(步骤S904)。因此,将表示数据文件的最终簇的FFFF存储到文件分配表802的簇号码0004的位置(步骤S905)。这样,便可将数据文件VIdeo1恢复为和图9所示的正常地记录结束时相同的记录文件。Assume that, for example, a power outage occurs during data recording to cluster 803 of
这样,按照本实施例4的数字数据记录再生方法和数字数据记录再生装置,通过将用于识别数据文件的文件ID和表示簇的连接关系的连接簇号码存储到各簇中,即使在数字数据记录中发生了异常结束,在通电再次开始时也可以修复从记录开始到异常结束为止所记录的数据文件的文件分配表602,从而可以将可以再生部分作为文件形式进行恢复处理。In this way, according to the digital data recording and reproducing method and digital data recording and reproducing apparatus of the present embodiment 4, by storing the file ID for identifying the data file and the connection cluster number representing the connection relationship of the clusters in each cluster, even in the digital data If abnormal end occurs during recording, the file allocation table 602 of the data files recorded from the recording start to the abnormal end can also be restored when the power is turned on again, so that the reproducible part can be restored as a file format.
在本实施例4中,作为文件ID,使用了记录开始时的年月时分秒,但是,也可以使用没有再现性的计数器。In Embodiment 4, the year, month, hour, minute, and second at the start of recording is used as the file ID, but a non-reproducible counter may also be used.
另外,在本实施例4中,作为没有文件分配表的连接关系的状态的文件分配表802的值,是使用“0000”,但是,也可以使用不作为簇号码而存在的其他的值。In the fourth embodiment, "0000" is used as the value of the file allocation table 802 in the state where there is no connection relation of the file allocation table, but other values that do not exist as cluster numbers may be used.
另外,在实施例1~4中,将可以记录区域对所有的簇进行了说明,但是,也可以将可以记录区域分配给一部分簇,而将其余的簇作为计算机数据记录区域使用。In addition, in Embodiments 1 to 4, all the clusters were described as the recordable areas, but it is also possible to allocate the recordable areas to some clusters and use the remaining clusters as computer data recording areas.
另外,在实施例1~4中,作为表示不存在该簇之后的簇而是最终簇的标识符,使用了FFFF,但是,也可以使用不作为簇号码而存在的其他的值。In addition, in Embodiments 1 to 4, FFFF is used as an identifier indicating that there is no cluster following the cluster but the last cluster, but other values that do not exist as cluster numbers may be used.
实施例5.Example 5.
下面,参照附图说明本发明实施侧5的数字数据记录再生装置。Next, a digital data recording and reproducing apparatus according to Embodiment 5 of the present invention will be described with reference to the drawings.
本实施例5的数字数据记录再生装置使用实施例2~4的任一个所述的数字数据记录再生方法,在记录收费广播时,即使发生了停电等异常结束,也可以进行适当的处置。The digital data recording and reproducing apparatus of the fifth embodiment employs the digital data recording and reproducing method described in any one of the embodiments 2 to 4, and can take appropriate measures even if an abnormal termination such as a power failure occurs when recording paid broadcasting.
图13(a)是表示本实施例5的数字数据记录再生装置的结构的图。Fig. 13(a) is a diagram showing the configuration of a digital data recording and reproducing apparatus according to the fifth embodiment.
在图13(a)中,数字数据记录再生装置具有数字广播接收部1001、译码器1002、数字数据记录再生控制部1003、盘存储部1005和数据输出目的地切换器1006。数字数据记录再生控制部1003具有数据输入输出部21、文件结构管理部25和控制器27。文件结构管理部25进而具有文件恢复处理部26。数据输入输出部21、文件结构管理部25和文件恢复处理部26的结构和动作与实施例2~4的任一个所述的相同,省略其说明。In FIG. 13( a ), the digital data recording and reproducing apparatus has a digital
数字广播接收部1001接收数字广播10A,取出复制保护信息,同时,进行信号分离,取出用户指定的节目,如果需要,根据复制保护信息进行盘搜索,取出数字数据10B。由数字广播接收部1001取出的节目的数字数据10B,向数字数据记录再生控制部1003输出。The digital
译码器1002从数字数据记录再生控制部1003接收数字数据10B,进行译码并变换为模拟数据,进行图像声音输出。The
数字数据记录再生控制部1003的控制器27将计费信息10D记录到主卡1004中,同时数据输出目的地切换器1006的指定在仅进行再生或再生和记录都进行时是向文件结构管理部25输出命令,用以将数字数据10B向译码器1002输出,数据输出目的地切换器1006的指定在仅进行记录或再生和记录都进行时是向文件结构管理部25输出命令,用以利用实施例2~4的任一个所述的数字数据记录再生方法将数字数据10B记录到盘存储部1005中。The
另外,文件恢复处理部26在通电开始后检测到数据记录由于停电等而异常结束了时,控制器27就向文件结构管理部25输出命令,用以消除盘存储部1005中记录途中的文件,从而从收费广播计费信息10D中删除该节目。In addition, when the file
计费信息10D记录到主卡1004中。
在盘存储部1005中,数字数据10B按实施例2~4的任意一种文件形式进行记录。In the
数据输出目的地切换器1006在用户将接收数据的输出地指定为仅进行再生、仅进行记录或再生和记录都进行的任意一个使用形式时将表示该使用形式的指定信号10C向数字数据记录再生控制部1003输出。The data
图13(b)是用于说明主卡1004中的计费信息格式的图。FIG. 13( b ) is a diagram for explaining the format of the charge information in the
在图13(b)中,计费信息格式由存储视听价格的收费广播价格1007、在视听时识别是再生的还是录像的的视听形式1008和存储记录到盘存储部1005中时的文件名的节目文件1009构成。In Fig. 13 (b), the billing information format consists of the paid
下面,说明数字数据记录再生装置的动作。Next, the operation of the digital data recording and reproducing apparatus will be described.
首先,说明接收数字广播10A、再生该广播或记录该广播的情况。First, the case of receiving the
在接收广播之前,数字数据记录再生装置的用户预先选择数据的输出形式即再生和记录都进行、仅进行再生、仅进行记录中的任意一种形式,并设定数据输出目的地切换器1006。Before receiving the broadcast, the user of the digital data recording/reproducing apparatus selects in advance the data output format, ie, both reproduction and recording, reproduction only, and recording only, and sets the data
从广播台传送来的数字广播,首先输入数字广播接收部1001。并且,数字广播接收部1001取出包含在数字广播中的复制保护信息,同时进行信号分离,取出用户指定的节目,如果需要,根据复制保护信息进行盘搜索,取出数字数据10B,并向数字数据记录再生控制部1003输出。A digital broadcast transmitted from a broadcast station is first input to the digital
数字数据记录再生控制部1003将计费信息10D记录到主卡1004中。并且,在包含再生时数据输出目的地切换器1006的指定是将数字数据10B向译码器1002输出,在包含记录时数据输出目的地切换器1006的指定是将数字数据10B存储到盘存储部1005中。The digital data recording/
在数字数据10B向译码器1002输出时,译码器1002将数字数据10B进行译码并变换为模拟数据,进行图像声音输出。When the
数字数据10B向盘存储部1005中的记录,利用实施例2~4的任一个所述的数字数据记录再生方法进行。The recording of the
下面,说明再生记录在盘存储部1005中的数据的动作。Next, the operation of reproducing data recorded in the
从盘存储部1005中进行再生时,数字数据记录再生控制部1003从盘存储部1005中读出数字数据10B,通过向译码器1002传输,便可再生模拟数据。When playing back from the
其次,使用图14说明收费广播节目在记录中发生了停电等异常结束时数字数据记录再生控制部1003的处理。Next, the processing of the digital data recording/
图14是表示收费广播节目在记录中发生了停电等异常结束时的数字数据记录再生控制部1003的处理的流程图。FIG. 14 is a flowchart showing the processing of the digital data recording/
首先,在步骤S111,文件恢复处理部26利用实施例2~4的任意一种数字数据记录再生方法判断数据记录是否已异常结束,如果记录处理未中断,就结束通电再次开始处理。如果记录处理中断了,就进入步骤S112。First, in step S111, the file
在步骤S112,文件结构管理部25取得在盘存储部1005中记录到途中的数据文件名,作为中断文件。In step S112, the file
在步骤S113,控制器27判断在收费广播计费信息的节目文件1009中是否有与中断文件一致的文件。如果不存在一致的节目文件1009,就判定是不晟广播记录中,并进入步骤S115。In step S113, the
在步骤S114,文件恢复处理部26利用实施例2~4的任意一种数字数据记录再生方法进行记录中断文件的恢复处理。并且,结束通电再次开始处理。In step S114, the file
在步骤S115,控制器27检查在主卡1004中存储的视听形式1008。并且,在视听形式1008仅为录像时,就进入步骤S116,向文件结构管理部26输出命令,用以消除盘存储部1005的中断文件。于是,文件结构管理部25就将盘存储部的中断文件消去。并且,进入步骤S119,从收费广播价格1007中减去录像的价格。并且,结束通电再次开始处理。At step S115, the
这样,按照本实施例5的数字数据记录再生装置,通过利用实施例2~4的任一个所述的文件结构记录数字广播,即使在数据记录时发生了停电等异常结束时,如果数字广播不是收费广播,就可以恢复由于异常结束而中断的文件。另外,如果由于异常结束而记录中断的数字广播是收费广播,通过废弃记录到途中为止的数据,就可以对该收费广播不计费,从而可以对用户进行适当的计费。In this way, according to the digital data recording and reproducing apparatus of the fifth embodiment, by utilizing the file structure described in any one of the second to fourth embodiments to record digital broadcasting, even when an abnormal end such as a power failure occurs during data recording, if the digital broadcasting is not By broadcasting for a fee, it is possible to resume a file that was interrupted due to an abnormal end. Also, if the digital broadcast whose recording was interrupted due to abnormal termination is a paid broadcast, by discarding the data recorded up to the middle, the paid broadcast can be not charged, and the user can be charged appropriately.
在本实施例5中,说明了收费广播节目在记录中发生了异常结束时无条件地废弃记录数据的情况,但是,也可以引入根据用户的判断是否保留记录到途中的数据进行计费。In Embodiment 5, the case where the recorded data is unconditionally discarded when the recording of the paid broadcast program ends abnormally is described, however, it is also possible to introduce charging according to the user's judgment whether to keep the data recorded in the middle.
实施例6.Example 6.
下面,参照附图说明本发明实施例6的数字数据记录再生装置。Next, a digital data recording and reproducing apparatus according to Embodiment 6 of the present invention will be described with reference to the drawings.
本实施例6的数字数据记录再生装置具有多个盘存储部,通过将存储数字数据的簇和表示簇的连接信息的文件分配表记录到不同的盘存储部中,可以比使用单一的盘存储部的情况减轻负担,从而可以进行高速的盘访问。The digital data recording and reproducing apparatus of the present embodiment 6 has a plurality of disc storage units, and by recording the clusters storing digital data and the file allocation table representing the connection information of the clusters in different disc storage units, it can be compared with a single disc storage. The load on the part is lightened, so that high-speed disk access can be performed.
图15是表示本实施例6的数字数据记录再生装置的结构的图。Fig. 15 is a diagram showing the configuration of a digital data recording and reproducing apparatus according to the sixth embodiment.
数字数据记录再生装置具有数据输入输出部1201、文件结构管理部1202、盘存储部A1203和盘存储部B1204。The digital data recording and reproducing apparatus has a data input/output unit 1201 , a file structure management unit 1202 , a disk storage unit A 1203 , and a disk storage unit B 1204 .
数据输入输出部1201在进行数字数据接收时从外部连接的数字数据输入机器接收数字数据,并向文件结构管理部1202输出数据,在进行数字数据再生时从文件结构管理部1202接收数据,并向外部连接的数字数据再生机器输出数字数据。The data input/output unit 1201 receives digital data from an externally connected digital data input device when digital data is received, and outputs the data to the file structure management unit 1202, and receives data from the file structure management unit 1202 when performing digital data reproduction, and sends the data to the file structure management unit 1202. An externally connected digital data reproducing device outputs digital data.
文件结构管理部1202在进行数字数据输入时将数字数据记录到盘存储部A1203和盘存储部B1204中,在进行数字数据输出时从盘存储部A1203和盘存储部B1204中读出数字数据。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 reads digital data from the disk storage unit A1203 and disk storage unit B1204 when digital data is output.
在盘存储部A1203和盘存储部B1204中,存储数字数据。在盘存储部A1203和盘存储部B1204中使用的文件结构和实施例4的文件结构相同,由图9所示。In the disk storage unit A1203 and the disk storage unit B1204, digital data is stored. The file structure used in the disk storage unit A1203 and the disk storage unit B1204 is the same as that of the fourth embodiment, as shown in FIG. 9 .
下面,说明数字数据向盘存储部A1203和盘存储部B1204中的记录动作。Next, the operation of recording digital data to the disk storage unit A1203 and the disk storage unit B1204 will be described.
在进行数据记录时将文件名和开头簇号码登录到根目录601中,由文件分配表602更新簇603的连接信息,将数字数据记录到簇603的各区域中。When recording data, the file name and the first cluster number are registered in the
将与图15的盘存储部B1204的簇B对应的根目录601和文件分配表602存储到与存储盘存储部B1204的簇603的盘存储部不同的盘存储部A1203的根目录601和文件分配表602的存储区域中,将与盘存储部A1203的簇A对应的根目录601和文件分配表602存储到与存储盘存储部A1203的簇603的盘存储部不同的盘存储部B1204的根目录601和文件分配表602的存储区域中。Store the
这样,按照本实施例6的数字数据记录再生方法,通过将存储数字数据的簇和表示该簇的连接信息的文件分配表记录到不同的盘存储部中,便可进行高速的盘访问,并且即使在数字数据记录中发生了停电等异常结束时,也可以将从记录开始到异常结束为止所记录的数据作为正常的文件形式而读入。In this way, according to the digital data recording and reproducing method of the sixth embodiment, by recording the cluster storing digital data and the file allocation table representing the connection information of the cluster in different disk storage units, high-speed disk access can be performed, and Even when digital data recording is abnormally terminated due to a power failure or the like, the data recorded from the start of recording to the abnormal end can be read as a normal file format.
在本实施例6中,说明了根目录也与簇存储到不同的盘存储部中的例子,但是,即使根目录和簇存储到相同的盘存储部中,簇和文件分配表也可以存储到不同的盘存储部中。In Embodiment 6, an example is described in which the root directory and clusters are also stored in a different disk storage unit. However, even if the root directory and clusters are stored in the same disk storage unit, the cluster and file allocation table can also be stored in the same disk storage unit. in a different disk storage unit.
另外,说明了使用2个盘存储部的情况,但是,如果将簇和文件分配表存储到不同的盘存储部中,也可以使用3个以上的盘存储部。In addition, the case where two disk storage units are used has been described, but three or more disk storage units may be used if clusters and file allocation tables are stored in different disk storage units.
另外,盘存储部A1203和盘存储部B1204的文件结构也可以是图17所示的先有的形式。In addition, the file structure of the disk storage unit A1203 and the disk storage unit B1204 may be the conventional format shown in FIG. 17 .
在实施例1~6中,数据输入输出部21、1201进行数据的输入和输出的两种动作,但是,也可以分为数据输入部和数据输出部两部分。In Embodiments 1 to 6, the data input and
另外,本实施例1~6的数字数据记录再生装置的文件结构管理部22、25、文件恢复处理部26和控制器27可以用硬件构成,也可以用软件构成。In addition, the file
另外,实施例1~6的数字数据是图像数据和声音数据或包含任意一方的数据。In addition, the digital data in Examples 1 to 6 are image data and audio data, or data including any one of them.
另外,在实施例1~4和实施例6中,通过事前将模拟数据编码为数字数据,可以利用数字数据记录再生方法将模拟数据作为数字数据进行记录。In addition, in Embodiments 1 to 4 and Embodiment 6, by encoding analog data into digital data in advance, analog data can be recorded as digital data by a digital data recording and reproducing method.
如上所述,本发明的数字数据记录再生方法和数字数据记录再生装置是进行图像数据、声音数据或这两种数据的记录或再生的,适用于在数据记录途中发生了停电等异常结束时的数据的记录。As mentioned above, the digital data recording and reproducing method and digital data recording and reproducing apparatus of the present invention are for recording or reproducing image data, audio data or both data, and are suitable for use when data recording is abnormally terminated due to a power failure or the like. Recording of data.
Claims (9)
- One kind with as the record least unit of data on the disc record media bunch be the digital data record renovation process that unit carries out record regenerating to digital data, it is characterized in that: compriseOn above-mentioned disc record media, construct the 1st step of bunch interconnective file structure that before data recording begins, can write down in advance;From can write down bunch beginning opening entry numerical data the 2nd step andNumerical data that will be from record beginning bunch to end of record (EOR) bunch constitutes the 3rd step of log file.
- 2. by the described digital data record renovation process of claim 1, it is characterized in that: also compriseWhen abnormal ending takes place because of having a power failure in data recording in the data recording of above-mentioned the 2nd step way, after energising once more, detect data recording abnormal ending step andFormat information according to numerical data will constitute the step of log file from data recording begins to be write down till abnormal ending numerical data.
- 3. by the described digital data record renovation process of claim 2, it is characterized in that: the format information of above-mentioned numerical data is the sync byte of transmission package.
- 4. by the described digital data record renovation process of claim 2, it is characterized in that: the format information of above-mentioned numerical data is a temporal information.
- 5. a digital data record regenerating unit is characterized in that: haveWith as the record least unit of data bunch be unit storage numerical data disc record media andFile structure management department, numerical data stored on the above-mentioned disc record media or reading number data from the above-mentioned disc record media, construct bunch interconnective file structure that before data recording begins, can write down in advance, when data recording begins from can write down bunch beginning opening entry numerical data, when data recording finishes, will constitute log file from the numerical data that record beginning bunch begins till the end of record (EOR) bunch.
- 6. by the described digital data record regenerating unit of claim 5, it is characterized in that: above-mentioned file structure management department has file and recovers handling part, when abnormal ending takes place because of having a power failure in data recording in the record way of numerical data, after energising once more, will constitute record data from the numerical data that data recording begins to be write down till abnormal ending according to the format information of numerical data.
- 7. by the described digital data record regenerating unit of claim 6, it is characterized in that: above-mentioned format information is the sync byte of transmission package.
- 8. by the described digital data record renovation process of claim 6, it is characterized in that: above-mentioned format information is a temporal information.
- 9. press the described digital data record regenerating unit of arbitrary claim of claim 6~8, it is characterized in that: and then have the digital broadcasting acceptance division of receiving digital broadcast, control the controller of above-mentioned file structure management department with the charge information that according to the digital broadcasting that received of expression whether is charging broadcast, when in receiving the charge digital broadcasting, the abnormal ending of data recording having taken place, after abnormal ending recovers, discard data recording and do not charge thereby above-mentioned controller just is controlled to be.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3906199 | 1999-02-17 | ||
| JP39061/1999 | 1999-02-17 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1296583A CN1296583A (en) | 2001-05-23 |
| CN1163830C true CN1163830C (en) | 2004-08-25 |
Family
ID=12542630
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB008003238A Expired - Fee Related CN1163830C (en) | 1999-02-17 | 2000-02-16 | Digital data recording and reproducing method and digital data recording and reproducing device |
Country Status (4)
| Country | Link |
|---|---|
| KR (1) | KR100421343B1 (en) |
| CN (1) | CN1163830C (en) |
| ID (1) | ID28733A (en) |
| WO (1) | WO2000049503A1 (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100390486B1 (en) * | 2000-12-13 | 2003-07-07 | 엘지전자 주식회사 | File name recording method for digital data player |
| 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 | 삼성전자주식회사 | Broadcast signal processing device and hard disk drive recording and reproducing method in broadcast signal processing device |
| KR100578085B1 (en) * | 2004-09-08 | 2006-05-10 | 엘지전자 주식회사 | Method for Improving Playback Performance of Optical Recording Media |
| 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 |
| 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 recording device and recording method |
| 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)
| 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 processing device |
| JP3526688B2 (en) * | 1996-03-29 | 2004-05-17 | 富士通株式会社 | Metered system and method for connectionless communication |
-
2000
- 2000-02-16 ID IDW20002376A patent/ID28733A/en unknown
- 2000-02-16 WO PCT/JP2000/000843 patent/WO2000049503A1/en not_active Ceased
- 2000-02-16 KR KR10-2000-7011490A patent/KR100421343B1/en not_active Expired - Fee Related
- 2000-02-16 CN CNB008003238A patent/CN1163830C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1296583A (en) | 2001-05-23 |
| KR20010042757A (en) | 2001-05-25 |
| KR100421343B1 (en) | 2004-03-09 |
| ID28733A (en) | 2001-06-28 |
| WO2000049503A1 (en) | 2000-08-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1208777C (en) | Method of Realizing Trick Play Mode in Stream Recorder | |
| CN1194552C (en) | Method and device for decoding digital video stream in digital video system | |
| CN1159917C (en) | Method and apparatus for generating trick modes in a digital video system | |
| CN1154978C (en) | Recording apparatus, playback apparatus and method thereof, and recording/playback apparatus and method thereof | |
| CN1213603C (en) | Data recording method and data recovery method | |
| CN1225118C (en) | Data broadcasting device capable of preventing receiving device from replaying broadcast data | |
| CN1163830C (en) | Digital data recording and reproducing method and digital data recording and reproducing device | |
| CN1192381C (en) | Data management device and data management method | |
| CN1265380C (en) | Recording equipment and program recording medium | |
| CN1959673A (en) | Information-processing apparatus, content reproduction apparatus, information-processing method, event-log creation method and computer programs | |
| CN1605102A (en) | Data recording method, data deletion method, data display method, recording device, recording medium, and program | |
| CN1287669A (en) | Information recording medium and apparatus and method for recording or reproducing data | |
| CN1416572A (en) | Information recording medium/information recording method and information reproducing method | |
| CN1918646A (en) | Recording apparatus, integrated circuit for recording apparatus, recording method, computer program, and recording medium which facilitates content recording | |
| CN101030223A (en) | Apparatus, method, and computer program for processing information | |
| CN101069420A (en) | Digital broadcast recording apparatus | |
| CN1825459A (en) | Method and apparatus for reproducing data from recording medium using local storage | |
| CN1145950C (en) | Reproducing apparatus and method, program providing medium, and storage medium | |
| CN1199222A (en) | Multi-media data regeneration apparatus, method, and record medium for recording regeneration program | |
| CN1879162A (en) | Image information recording device and image information display device | |
| CN1717739A (en) | Information recording/reproduction processing device, method, and computer program | |
| CN1126099C (en) | Video program information management device and method, recording and reproducing device and method | |
| CN1199447C (en) | Recording and reproducing device, MPEG image stream recording and reproducing device | |
| CN1969334A (en) | data processing device | |
| CN1275459C (en) | Digest video specification system, digest video providing system, digest video specifying method, digest video providing method, and medium and program therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20040825 Termination date: 20140216 |