JP2007108853A - Information processor, information processing method, and computer program - Google Patents

Information processor, information processing method, and computer program Download PDF

Info

Publication number
JP2007108853A
JP2007108853A JP2005296468A JP2005296468A JP2007108853A JP 2007108853 A JP2007108853 A JP 2007108853A JP 2005296468 A JP2005296468 A JP 2005296468A JP 2005296468 A JP2005296468 A JP 2005296468A JP 2007108853 A JP2007108853 A JP 2007108853A
Authority
JP
Japan
Prior art keywords
file
information
recording
data
allocation table
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.)
Pending
Application number
JP2005296468A
Other languages
Japanese (ja)
Inventor
Ryogo Ito
亮吾 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2005296468A priority Critical patent/JP2007108853A/en
Publication of JP2007108853A publication Critical patent/JP2007108853A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To achieve continuous recording reproduction of data unrestricted by a file size permitted in a file system. <P>SOLUTION: A special code showing continuous recording into a new file is set to a first file allocation table before a recorded data amount of a file corresponding to recorded data into an information recording medium reaches the file size permitted in the file system, and a head cluster number corresponding to the new file is set into an entry position of a second file allocation table corresponding to a set entry position of the special code. This constitution provides continuous recording processing and reproduction processing of data applying a plurality of files unrestricted by the file size permitted in the file system. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、情報処理装置、および情報処理方法、並びにコンピュータ・プログラムに関する。さらに詳細には、ファイルシステムによって管理される最大ファイルサイズを超えるデータの記録および再生を特別な管理データを生成することなく実現する情報処理装置、および情報処理方法、並びにコンピュータ・プログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and a computer program. More specifically, the present invention relates to an information processing apparatus, an information processing method, and a computer program that realize recording and reproduction of data exceeding the maximum file size managed by a file system without generating special management data.

例えばデジタルビデオカメラやその他の情報処理機器において、ハードディスクなどのメディア(情報記録媒体)に対して情報記録を行なう場合、記録データファイルの管理情報、例えばFAT(File Allocation Table)を適用した処理が行なわれる。   For example, when information is recorded on a medium (information recording medium) such as a hard disk in a digital video camera or other information processing device, a process that applies management information of a recording data file, for example, a FAT (File Allocation Table) is performed. It is.

FATには、例えばFAT16、FAT32などがある。これらのファイルシステムは、メディア(情報記録媒体)に対して記録されるデータファイル各々についての記録位置情報、記録位置連鎖情報等を管理する。FAT16、FAT32などのファイルシステムでは、設定可能な最大ファイルサイズについての制約がある。従って、記録データサイズが大きくなり、予め設定された最大ファイルサイズを超えてしまうと、一連のデータであっても、異なる2つ以上のファイルに分割されて記録されることになる。   Examples of the FAT include FAT16 and FAT32. These file systems manage recording position information, recording position chain information, and the like for each data file recorded on a medium (information recording medium). In file systems such as FAT16 and FAT32, there are restrictions on the maximum file size that can be set. Therefore, when the recording data size increases and exceeds a preset maximum file size, even a series of data is divided and recorded in two or more different files.

このような分割記録ファイルについては、関連データファイルであることを識別可能とすることが必要となる。例えば特許文献1には、記録媒体に記録されたファイルについてのインデックスデータを階層的に収容したインデックスデータファイルを設定して、記録媒体に記録されたファイルの関係を識別可能とした構成を開示している。   Such a divided recording file needs to be identified as a related data file. For example, Patent Document 1 discloses a configuration in which an index data file that hierarchically accommodates index data for files recorded on a recording medium is set so that the relationship between the files recorded on the recording medium can be identified. ing.

しかし、特許文献1に記載の構成では、ファイルの関連性についての情報を格納するための独立したインデックスデータファイルを生成、管理することが必要となる。また、このインデックスデータファイルが削除、破壊された場合には、ファイルの関連性に関する情報が消失してしまうという問題がある。
特開2002−278996号公報
However, in the configuration described in Patent Document 1, it is necessary to generate and manage an independent index data file for storing information about file relevance. In addition, when this index data file is deleted or destroyed, there is a problem that information relating to file relevance is lost.
JP 2002-278996 A

本発明は、上述の問題点に鑑みてなされたものであり、新たな管理情報ファイルを生成することなく、従来から使用されているファイルシステムの格納情報を変更して、ファイルシステムにおける最大許容ファイルサイズを超えて複数のファイルに記録されるファイルの関連性を保持、管理することを可能とした情報処理装置、および情報処理方法、並びにコンピュータ・プログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and changes the storage information of a file system that has been conventionally used without generating a new management information file, thereby allowing the maximum allowable file in the file system. An object of the present invention is to provide an information processing apparatus, an information processing method, and a computer program capable of maintaining and managing the relevance of files recorded in a plurality of files exceeding the size.

本発明の第1の側面は、
情報処理装置であり、
情報記録媒体に対する情報記録制御を行なうとともに、情報記録媒体におけるデータ記録位置に関する連鎖情報をテーブルに登録する処理を実行する記録制御部を有し、
前記記録制御部は、
データ記録ファイルの切り替えに応じて、前記テーブルに先行ファイルと後続ファイルの連鎖情報を記録する処理を実行する構成であることを特徴とする情報処理装置にある。
The first aspect of the present invention is:
An information processing device,
A recording control unit that performs information recording control on the information recording medium and executes processing for registering chain information relating to data recording positions in the information recording medium in a table,
The recording control unit
The information processing apparatus is configured to execute processing for recording the chain information of the preceding file and the succeeding file in the table in accordance with the switching of the data recording file.

さらに、本発明の情報処理装置の一実施態様において、前記記録制御部は、前記テーブルにおける先行ファイルの最終連鎖情報登録位置に後続ファイルの存在を示す特殊コードを設定する処理を実行する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the recording control unit is configured to execute a process of setting a special code indicating the presence of the subsequent file at the final chain information registration position of the preceding file in the table. It is characterized by that.

さらに、本発明の情報処理装置の一実施態様において、前記記録制御部は、情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を第1のファイルアロケーションテーブルと第2のファイルアロケーションテーブルに対して登録する処理を実行するとともに、情報記録媒体に対する記録データに対応して設定されたファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至る前に、前記第1のファイルアロケーションテーブルに新規ファイルへの連続記録を示す特殊コードを設定し、該特殊コードの設定エントリ位置に対応する前記第2のファイルアロケーションテーブルのエントリ位置に、前記新規ファイルに対応する先頭クラスタ番号を設定し、複数の異なるファイルを適用したデータの連続記録処理を実行する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the recording control unit uses the first file allocation table and the second file allocation table as the cluster number chain information applied as calculation information of the data recording position in the information recording medium. A process for registering the file allocation table is executed, and before the recording data amount of the file set corresponding to the recording data for the information recording medium reaches the file size allowed in the file system, the first A special code indicating continuous recording in a new file is set in the file allocation table, and the first cluster number corresponding to the new file is set at the entry position of the second file allocation table corresponding to the set entry position of the special code. Set up and apply several different files Characterized in that the is configured to perform continuous recording processing of the data.

さらに、本発明の情報処理装置の一実施態様において、前記記録制御部は、情報記録媒体に対する記録データに対応して設定されたファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至ると判断した場合、ファイルシステムにおいて規定されたデータ終端を示すEOFコードを前記第1のファイルアロケーションテーブルに記録することなく、前記特殊コードを記録する処理を実行する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the recording control unit determines that the recording data amount of the file set corresponding to the recording data on the information recording medium reaches a file size allowed in the file system. When the determination is made, the processing is performed to record the special code without recording the EOF code indicating the end of data defined in the file system in the first file allocation table.

さらに、本発明の情報処理装置の一実施態様において、前記記録制御部は、前記第2のファイルアロケーションテーブルを、基本的に前記第1のファイルアロケーションテーブルのコピー情報記録テーブルとして適用し、前記第1のファイルアロケーションテーブルにおける特殊コード記録エントリに対応する第2のファイルアロケーションテーブルのエントリにのみ、異なるファイルについての先頭クラスタ番号の設定処理を実行する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the recording control unit basically applies the second file allocation table as a copy information recording table of the first file allocation table, and The first cluster number setting process for different files is executed only for the second file allocation table entry corresponding to the special code recording entry in one file allocation table.

さらに、本発明の第2の側面は、
情報処理装置であり、
情報記録媒体におけるデータ記録位置の連鎖情報を登録したテーブルから連鎖情報を取得し、該取得情報に従って情報記録媒体からの情報再生制御を行なう再生制御部を有し、
前記再生制御部は、
前記テーブルから、異なるファイル間の連鎖情報を取得して、複数ファイルを適用した連続再生処理を実行する構成であることを特徴とする情報処理装置にある。
Furthermore, the second aspect of the present invention provides
An information processing device,
A chain controller that acquires chain information from a table in which chain information of data recording positions in the information recording medium is registered, and has a playback control unit that performs information playback control from the information recording medium according to the acquired information;
The reproduction control unit
The information processing apparatus has a configuration in which chain information between different files is acquired from the table, and continuous reproduction processing using a plurality of files is executed.

さらに、本発明の情報処理装置の一実施態様において、前記再生制御部は、情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を記録した第1のファイルアロケーションテーブルと第2のファイルアロケーションテーブルを利用したクラスタ連鎖情報取得処理を実行する構成であり、前記第1のファイルアロケーションテーブルから、データ読み取り実行中のファイルと異なる継続記録ファイルへの連続記録を示す特殊コードを取得した場合、該特殊コードの設定エントリ位置に対応する前記第2のファイルアロケーションテーブルのエントリから、継続記録ファイルに対応する先頭クラスタ番号を取得する処理を実行し、複数ファイルの連続適用によるデータ取得再生処理を実行する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the reproduction control unit includes a first file allocation table and a first file allocation table in which chain information of cluster numbers applied as calculation information of a data recording position in the information recording medium is recorded. The cluster chain information acquisition process using the file allocation table of No. 2 is executed, and a special code indicating continuous recording to a continuous recording file different from the file being read is acquired from the first file allocation table In such a case, a process for obtaining the first cluster number corresponding to the continuous recording file from the entry of the second file allocation table corresponding to the set entry position of the special code is executed, and data acquisition / reproduction by continuous application of a plurality of files is executed. It must be configured to execute processing And features.

さらに、本発明の第3の側面は、
情報処理方法であり、
情報記録媒体に対する情報記録制御を行なうとともに、情報記録媒体におけるデータ記録位置に関する連鎖情報をテーブルに登録する処理を実行する記録制御ステップを有し、
前記記録制御ステップは、
データ記録ファイルの切り替えに応じて、前記テーブルに先行ファイルと後続ファイルの連鎖情報を記録する処理を実行することを特徴とする情報処理方法にある。
Furthermore, the third aspect of the present invention provides
An information processing method,
A recording control step for performing information recording control on the information recording medium and executing processing for registering chain information relating to data recording positions in the information recording medium in a table;
The recording control step includes
In accordance with the switching of the data recording file, the information processing method is characterized in that a process of recording the chain information of the preceding file and the succeeding file in the table is executed.

さらに、本発明の情報処理方法の一実施態様において、前記記録制御ステップは、前記テーブルにおける先行ファイルの最終連鎖情報登録位置に後続ファイルの存在を示す特殊コードを設定する処理を実行することを特徴とする。   Furthermore, in an embodiment of the information processing method of the present invention, the recording control step executes a process of setting a special code indicating the presence of the subsequent file at the final chain information registration position of the preceding file in the table. And

さらに、本発明の情報処理方法の一実施態様において、前記記録制御ステップにおいて、情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を第1のファイルアロケーションテーブルと第2のファイルアロケーションテーブルに対して登録する処理を実行するとともに、情報記録媒体に対する記録データに対応して設定されたファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至る前に、前記第1のファイルアロケーションテーブルに新規ファイルへの連続記録を示す特殊コードを設定し、該特殊コードの設定エントリ位置に対応する前記第2のファイルアロケーションテーブルのエントリ位置に、前記新規ファイルに対応する先頭クラスタ番号を設定し、複数の異なるファイルを適用したデータの連続記録処理を実行することを特徴とする。   Furthermore, in an embodiment of the information processing method of the present invention, in the recording control step, the chain information of cluster numbers applied as calculation information of the data recording position in the information recording medium is changed to the first file allocation table and the second information. A process for registering the file allocation table is executed, and before the recording data amount of the file set corresponding to the recording data for the information recording medium reaches the file size allowed in the file system, the first A special code indicating continuous recording in a new file is set in the file allocation table, and the first cluster number corresponding to the new file is set at the entry position of the second file allocation table corresponding to the set entry position of the special code. Set and multiple different And executes the continuous recording processing of the applied data file.

さらに、本発明の情報処理方法の一実施態様において、前記記録制御ステップにおいて、情報記録媒体に対する記録データに対応して設定されたファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至ると判断した場合、ファイルシステムにおいて規定されたデータ終端を示すEOFコードを前記第1のファイルアロケーションテーブルに記録することなく、前記特殊コードを記録する処理を実行することを特徴とする。   Furthermore, in an embodiment of the information processing method of the present invention, when the recording data amount of the file set corresponding to the recording data on the information recording medium reaches a file size allowed in the file system in the recording control step. If it is determined, the special code is recorded without recording an EOF code indicating the end of data defined in the file system in the first file allocation table.

さらに、本発明の情報処理方法の一実施態様において、前記記録制御ステップにおいて、前記第2のファイルアロケーションテーブルを、基本的に前記第1のファイルアロケーションテーブルのコピー情報記録テーブルとして適用したデータ登録を実行し、前記第1のファイルアロケーションテーブルにおける特殊コード記録エントリに対応する第2のファイルアロケーションテーブルのエントリにのみ、異なるファイルについての先頭クラスタ番号の設定処理を実行することを特徴とする。   Furthermore, in one embodiment of the information processing method of the present invention, in the recording control step, data registration is basically performed by applying the second file allocation table as a copy information recording table of the first file allocation table. And the first cluster number setting process for different files is executed only for the second file allocation table entry corresponding to the special code recording entry in the first file allocation table.

さらに、本発明の第4の側面は、
情報処理方法であり、
情報記録媒体におけるデータ記録位置の連鎖情報を登録したテーブルから連鎖情報を取得し、該取得情報に従って情報記録媒体からの情報再生制御を行なう再生制御ステップを有し、
前記再生制御ステップは、
前記テーブルから、異なるファイル間の連鎖情報を取得して、複数ファイルを適用した連続再生処理を実行することを特徴とする情報処理方法にある。
Furthermore, the fourth aspect of the present invention provides
An information processing method,
A chain control step of acquiring chain information from a table in which chain information of data recording positions in the information recording medium is registered, and performing playback control of information from the information recording medium according to the acquired information;
The reproduction control step includes
In the information processing method, chain information between different files is acquired from the table, and continuous reproduction processing using a plurality of files is executed.

さらに、本発明の情報処理方法の一実施態様において、前記再生制御ステップにおいて、情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を記録した第1のファイルアロケーションテーブルと第2のファイルアロケーションテーブルを利用したクラスタ連鎖情報取得処理を実行する構成であり、前記第1のファイルアロケーションテーブルから、データ読み取り実行中のファイルと異なる継続記録ファイルへの連続記録を示す特殊コードを取得した場合、該特殊コードの設定エントリ位置に対応する前記第2のファイルアロケーションテーブルのエントリから、継続記録ファイルに対応する先頭クラスタ番号を取得する処理を実行し、複数ファイルの連続適用によるデータ取得再生処理を実行することを特徴とする。   Furthermore, in an embodiment of the information processing method of the present invention, in the reproduction control step, a first file allocation table and a first file allocation table in which chain information of cluster numbers applied as calculation information of a data recording position in the information recording medium is recorded. The cluster chain information acquisition process using the file allocation table of No. 2 is executed, and a special code indicating continuous recording to a continuous recording file different from the file being read is acquired from the first file allocation table In such a case, a process for obtaining the first cluster number corresponding to the continuous recording file from the entry of the second file allocation table corresponding to the set entry position of the special code is executed, and data acquisition / reproduction by continuous application of a plurality of files is executed. Execute the process The features.

さらに、本発明の第5の側面は、
情報処理装置において情報記録処理制御を実行させるコンピュータ・プログラムであり、
情報記録媒体に対する情報記録制御を行なうとともに、情報記録媒体におけるデータ記録位置に関する連鎖情報をテーブルに登録する処理を実行する記録制御ステップを有し、
前記記録制御ステップは、
データ記録ファイルの切り替えに応じて、前記テーブルに先行ファイルと後続ファイルの連鎖情報を記録する処理を実行するステップとして設定されていることを特徴とするコンピュータ・プログラムにある。
Furthermore, the fifth aspect of the present invention provides
A computer program for executing information recording processing control in an information processing apparatus;
A recording control step for performing information recording control on the information recording medium and executing processing for registering chain information relating to data recording positions in the information recording medium in a table;
The recording control step includes
The computer program is characterized in that it is set as a step for executing processing for recording the chain information of the preceding file and the succeeding file in the table in accordance with the switching of the data recording file.

さらに、本発明の第6の側面は、
情報処理装置において情報再生処理制御を実行させるコンピュータ・プログラムであり、
情報記録媒体におけるデータ記録位置の連鎖情報を登録したテーブルから連鎖情報を取得し、該取得情報に従って情報記録媒体からの情報再生制御を行なう再生制御ステップを有し、
前記再生制御ステップは、
前記テーブルから、異なるファイル間の連鎖情報を取得して、複数ファイルを適用した連続再生処理を実行するステップとして設定されていることを特徴とするコンピュータ・プログラムにある。
Furthermore, the sixth aspect of the present invention provides
A computer program for executing information reproduction processing control in an information processing device,
A chain control step of acquiring chain information from a table in which chain information of data recording positions in the information recording medium is registered, and performing playback control of information from the information recording medium according to the acquired information;
The reproduction control step includes
The computer program is set as a step of acquiring chain information between different files from the table and executing a continuous reproduction process using a plurality of files.

なお、本発明のコンピュータ・プログラムは、例えば、様々なプログラム・コードを実行可能な汎用コンピュータ・システムに対して、コンピュータ可読な形式で提供する記憶媒体、通信媒体、例えば、CDやFD、MOなどの記憶媒体、あるいは、ネットワークなどの通信媒体によって提供可能なコンピュータ・プログラムである。このようなプログラムをコンピュータ可読な形式で提供することにより、コンピュータ・システム上でプログラムに応じた処理が実現される。   The computer program of the present invention is, for example, a storage medium or communication medium provided in a computer-readable format to a general-purpose computer system capable of executing various program codes, such as a CD, FD, MO, etc. Or a computer program that can be provided by a communication medium such as a network. By providing such a program in a computer-readable format, processing corresponding to the program is realized on the computer system.

本発明のさらに他の目的、特徴や利点は、後述する本発明の実施例や添付する図面に基づく、より詳細な説明によって明らかになるであろう。なお、本明細書においてシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   Other objects, features, and advantages of the present invention will become apparent from a more detailed description based on embodiments of the present invention described later and the accompanying drawings. In this specification, the system is a logical set configuration of a plurality of devices, and is not limited to one in which the devices of each configuration are in the same casing.

本発明の一実施例構成によれば、情報記録媒体に対する情報記録処理に際して、情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報をファイルアロケーションテーブルに登録する処理を実行し、情報記録媒体に対する記録データに対応するファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至る前に、第1のファイルアロケーションテーブルに新規ファイルへの連続記録を示す特殊コードを設定し、特殊コードの設定エントリ位置に対応する第2のファイルアロケーションテーブルのエントリ位置に、新規ファイルに対応する先頭クラスタ番号を設定する構成としたので、ファイルシステムにおいて許容するファイルサイズに制限されることのない複数ファイルを適用したデータの連続記録処理が実現される。   According to the configuration of one embodiment of the present invention, in the information recording process on the information recording medium, the process of registering the chain information of the cluster numbers applied as the calculation information of the data recording position in the information recording medium in the file allocation table is executed. A special code indicating continuous recording to a new file is set in the first file allocation table before the recording data amount of the file corresponding to the recording data on the information recording medium reaches the file size allowed in the file system, Since the first cluster number corresponding to the new file is set at the entry position of the second file allocation table corresponding to the special code setting entry position, the file size allowed in the file system is not limited. Apply multiple files Continuous recording of data is realized.

また、本発明の一実施例構成によれば、情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を記録したファイルアロケーションテーブルを適用して、クラスタ連鎖情報を取得して情報記録媒体からの情報再生制御を行なう際、第1のファイルアロケーションテーブルから、データ読み取り実行中のファイルと異なる継続記録ファイルへの連続記録を示す特殊コードを取得した場合に、特殊コードの設定エントリ位置に対応する第2のファイルアロケーションテーブルのエントリから、継続記録ファイルに対応する先頭クラスタ番号を取得することを可能としたので、ファイルアロケーションテーブルの参照による複数ファイルを連続適用したデータ取得再生処理が実現される。   Further, according to the configuration of one embodiment of the present invention, the cluster allocation information is obtained by applying the file allocation table in which the cluster number chain information applied as the calculation information of the data recording position in the information recording medium is applied. When the information reproduction control from the information recording medium is performed, a special code setting entry is obtained when a special code indicating continuous recording to a continuous recording file different from the file being read is acquired from the first file allocation table. Since the first cluster number corresponding to the continuous recording file can be acquired from the entry of the second file allocation table corresponding to the position, the data acquisition / playback process in which a plurality of files are continuously applied by referring to the file allocation table is performed. Realized.

以下、図面を参照しながら、本発明の情報処理装置、および情報処理方法、並びにコンピュータ・プログラムの詳細について説明する。説明は、以下の各項目に従って行なう。
1.ファイルシステムの概要
2.本発明の情報処理装置におけるファイルシステム利用構成例
(2.1)FATの構成
(2.2)データ記録、再生シーケンス
(2.3)システム構成
3.情報処理装置の構成例
Details of the information processing apparatus, the information processing method, and the computer program of the present invention will be described below with reference to the drawings. The description will be made according to the following items.
1. 1. Outline of file system 2. File system utilization configuration example in information processing apparatus of the present invention (2.1) FAT configuration (2.2) Data recording and playback sequence (2.3) System configuration Configuration example of information processing device

[1.ファイルシステムの概要]
前述したように、例えばデジタルビデオカメラやPC、その他の情報処理機器において、ハードディスクなどのメディア(情報記録媒体)に対して情報記録を行なう場合、記録データファイルの管理情報、例えばFAT(File Allocation Table)を適用した処理が行なわれる。FATには、例えばFAT16、FAT32などがあり、これらのファイルシステムは、メディア(情報記録媒体)に対して記録されるデータファイル各々についての記録位置情報、記録位置連鎖情報等を管理する。なお、FAT16/32の詳細については、例えば、「Microsoft Extensible Firmware Initiative FAT32 File System Specification」などに説明がある。
[1. File system overview]
As described above, when information is recorded on a medium (information recording medium) such as a hard disk in a digital video camera, PC, or other information processing device, for example, management information of a recording data file, for example, FAT (File Allocation Table) ) Is applied. The FAT includes, for example, FAT16 and FAT32, and these file systems manage recording position information, recording position chain information, and the like for each data file recorded on the medium (information recording medium). The details of FAT16 / 32 are described in, for example, “Microsoft Extensible Firmware Initiative FAT32 File System Specification”.

図1を参照して、ハードディスクにパーティションを1つ設け、FAT16およびFAT32でフォーマットした場合のデータ構造について説明する。図1(a)がFAT16、(b)がFAT32によるフォーマットを示している。   With reference to FIG. 1, the data structure when one partition is provided on the hard disk and formatted with FAT16 and FAT32 will be described. FIG. 1A shows a format by FAT16, and FIG. 1B shows a format by FAT32.

FAT16のデータ構造は、図1(a)に示すように、先頭セクタ(LBA=0)から順に、マスターブートレコード(MBR)、パーティションブートレコード(PBR)に続き、ファイルアロケーションテーブル1(FAT1)と、ファイルアロケーションテーブル2(FAT2)が記録され、さらにルートディレクトリエントリに続いて、データ領域としてのクラスタが複数設定される。   As shown in FIG. 1A, the data structure of the FAT 16 is, in order from the first sector (LBA = 0), following the master boot record (MBR), the partition boot record (PBR), and the file allocation table 1 (FAT 1). The file allocation table 2 (FAT2) is recorded, and a plurality of clusters as data areas are set following the root directory entry.

FAT32のデータ構造は、図1(b)に示すように、先頭セクタ(LBA=0)から順に、マスターブートレコード(MBR)、パーティションブートレコード(PBR)、ファイルシステム情報(FSinfo)に続いて、ファイルアロケーションテーブル1(FAT1)と、ファイルアロケーションテーブル2(FAT2)が記録され、その後、データ領域としてのクラスタが複数設定される。   As shown in FIG. 1B, the data structure of FAT32 is, in order from the first sector (LBA = 0), following the master boot record (MBR), partition boot record (PBR), and file system information (FSinfo). A file allocation table 1 (FAT1) and a file allocation table 2 (FAT2) are recorded, and then a plurality of clusters as data areas are set.

マスターブートレコード(MBR)は、図2(a)に示すように、起動情報と、パーティション情報、すなわち、各パーティションの開始アドレスとサイズ情報を含むパーティションテーブルを保持している。なお、図1に示すFAT16,FAT32のデータ構造では、パーティションを1つのみとした例を示しているが、ハードディスクなどの記録媒体を複数のパーティションに区切って管理することが可能であり、この場合には、図2に示すように、複数のパーティションの各パーティションの開始アドレスとサイズ情報が含まれるパーティションテーブルが設定される。   As shown in FIG. 2A, the master boot record (MBR) holds startup information and partition information, that is, a partition table including the start address and size information of each partition. The FAT16 and FAT32 data structures shown in FIG. 1 show an example in which there is only one partition. However, it is possible to manage a recording medium such as a hard disk by dividing it into a plurality of partitions. As shown in FIG. 2, a partition table including the start address and size information of each partition of a plurality of partitions is set.

起動時においては、まず、MBRの起動コード領域から起動コード(プログラム)が読み出される。この読み出されたMBRの起動コードは、図2(a)に示す起動コードの直後に形成されるパーティションテーブル領域のパーティションテーブルを参照し、目的とするパーティションのブートセクタの情報を読み出し、このブートセクタのコード(プログラム)によって、OS(Operating System)が起動される。   At the time of activation, first, an activation code (program) is read from the activation code area of the MBR. The read activation code of the MBR refers to the partition table in the partition table area formed immediately after the activation code shown in FIG. 2A, reads the information of the boot sector of the target partition, and An OS (Operating System) is activated by a sector code (program).

パーティションテーブルは複数個(例えば4個)設けることができるようにされる。各パーティションテーブルは、上述したように、例えばハードディスクの記録領域を分割して形成される各パーティション領域の位置(開始アドレス)と大きさ(パーティションサイズ)を示す情報を保持する。なお、パーティションテーブル領域に続く2バイト(0E,0F)には、パーティションテーブルに対する署名が付与される。   A plurality of (for example, four) partition tables can be provided. As described above, each partition table holds information indicating the position (start address) and size (partition size) of each partition area formed by dividing the recording area of the hard disk, for example. A signature for the partition table is given to 2 bytes (0E, 0F) following the partition table area.

16バイト(128ビット)データ長のパーティションテーブルのデータ構造を図2(b)に示す。0バイト目から7バイト目までの8バイト分のエリアがCHS方式でアドレスを指定する場合に用いる情報の格納エリアであり、8バイト目から15バイト目までの8バイト分のエリアがLBA方式でアドレスを指定する場合に用いる情報の格納エリアである。   The data structure of the partition table having a data length of 16 bytes (128 bits) is shown in FIG. The 8-byte area from the 0th byte to the 7th byte is a storage area for information used when the address is specified by the CHS method, and the 8-byte area from the 8th byte to the 15th byte is the LBA method. This is an information storage area used when specifying an address.

CHS方式は、シリンダ(Cylinder)、ヘッド(Head)、セクタ(Sector)の3つのパラメータを1組として用いて、記録媒体(ハードディスク)上のアドレス(位置)を指定するようにするものである。また、LBA方式は、ハードディスクの記録領域上のアクセス可能な単位ブロック(例えば、1セクタ単位)それぞれについて、例えば0番から順番に数字(ブロックアドレス(論理アドレス))を割り当てておき、その数字を指定することにより、ハードディスクの記録領域上のアドレス(位置)を指定するようにするものである。   In the CHS system, an address (position) on a recording medium (hard disk) is specified using three parameters of a cylinder (Cylinder), a head (Head), and a sector (Sector) as one set. In the LBA method, numbers (block addresses (logical addresses)) are assigned in order from, for example, 0 to each accessible unit block (for example, one sector unit) on the recording area of the hard disk. By designating, an address (position) on the recording area of the hard disk is designated.

図2(b)に示すように、CHS方式でアクセスする場合に用いる情報の格納エリアは、0バイト目がアクティブフラグ情報(以下、単にフラグ情報という。)の格納エリア、1バイト目から3バイト目までの3バイト分がCHS方式でアクセスする場合に用いる開始セクタ情報の格納アリア、4バイト目がパーティションタイプ情報(以下、単にタイプ情報という。)の格納エリア、5バイト目から7バイト目までの3バイト分がCHS方式でアクセスする場合に用いる終了セクタ情報の格納エリアである。   As shown in FIG. 2B, the storage area of information used when accessing by the CHS system is the 0th byte storage area for active flag information (hereinafter simply referred to as flag information), and the first byte to 3 bytes. Storage area for starting sector information used when the first 3 bytes are accessed by the CHS method, 4th byte is a storage area for partition type information (hereinafter simply referred to as type information), 5th to 7th bytes Is the storage area of the end sector information used when accessing by the CHS method.

また、図2(b)に示すように、LBA方式でアクセスする場合に用いる情報の格納エリアは、8バイト目から11バイト目までの4バイト分がLBA方式で用いられる開始セクタ情報の格納エリア、12バイト目から15バイト目までの4バイト分がLBA方式で用いられるパーティションサイズの格納エリアである。   Further, as shown in FIG. 2B, the information storage area used when accessing by the LBA method is the storage area of the start sector information in which 4 bytes from the 8th byte to the 11th byte are used by the LBA method. , 4 bytes from the 12th byte to the 15th byte are a partition size storage area used in the LBA method.

なお、CHS方式は、ハードディスクの物理的構造をそのまま流用しており、シリンダ、ヘッド、セクタというアドレス指定のためのパラメータが3つあることから、ソフトウェア的な処理が複雑になってしまう。これに対し、LBA方式の場合には、ブロックアドレスという単一のパラメータで指定するので、アクセス時のアドレス指定が極めて簡単である。このため、ハードディスクにおけるアドレス指定方式としてはLBA方式が主流になっており、その他の記録媒体、例えば、いわゆるリムーバブルメディアとして広く用いられるようになってきている種々のメモリーカードなどにおいても、LBA方式でアドレス指定ができるものが多くなってきている。なお、本発明の情報処理装置において適用する方式は、CHS方式、LBA方式いずれでもよい。   Note that the CHS method uses the physical structure of the hard disk as it is, and there are three parameters for addressing such as cylinder, head, and sector, so that the software processing becomes complicated. On the other hand, in the case of the LBA method, since it is designated by a single parameter called a block address, the address designation at the time of access is very simple. For this reason, the LBA method has become the main addressing method for hard disks, and the LBA method is also used for other recording media, for example, various memory cards that are becoming widely used as so-called removable media. More and more addresses can be specified. Note that the method applied in the information processing apparatus of the present invention may be either a CHS method or an LBA method.

情報記録媒体に記録される各ファイルには、ファイル名や記録日時などの管理情報が設定される。図3に各パーティションに設けられるディレクトリに格納される情報であって、ファイル毎に形成されるディレクトリエントリの情報構造を示す。このディレクトリエントリは、パーティション内にファイルが形成された場合に、その形成されたファイルに応じてディレクトリに形成される情報であり、形成されたファイルの詳細情報を管理するものである。   Management information such as a file name and recording date / time is set for each file recorded on the information recording medium. FIG. 3 shows information stored in a directory provided in each partition and the information structure of a directory entry formed for each file. This directory entry is information formed in a directory according to the formed file when a file is formed in the partition, and manages detailed information of the formed file.

各ファイルのディレクトリエントリは、図3に示すように、名前(ファイル名)欄、拡張名欄、属性欄、予約欄、作成時刻欄、作成日欄、最終アクセス日付欄、先頭クラスタ番号の指示情報(High)欄、記録時刻欄、記録日付欄、先頭クラスタ番号の指示情報(Low)欄、ファイルサイズ欄を備え、それぞれ対応する情報、すなわち、ファイル名、拡張名、属性、作成時刻、作成日、最終アクセス日付、先頭クラスタ番号(High)、記録時刻、記録日付、先頭クラスタ番号(Low)、ファイルサイズを管理する。このディレクトリエントリの情報を用いることにより、ファイル名によって特定されるファイルは、(1)どのような属性のものであり、(2)開始クラスタはどこで、(3)どの位の大きさのファイルであり、(4)いつ作成され、(5)最終アクセスはいつで、(6)データの記録はいつ行われたか等について管理することができる。   As shown in FIG. 3, the directory entry of each file includes a name (file name) field, an extended name field, an attribute field, a reservation field, a creation time field, a creation date field, a last access date field, and head cluster number instruction information. (High) field, recording time field, recording date field, head cluster number indication information (Low) field, and file size field, and corresponding information, that is, file name, extended name, attribute, creation time, creation date , Last access date, top cluster number (High), recording time, recording date, top cluster number (Low), and file size are managed. By using this directory entry information, the file specified by the file name is (1) what attribute it has, (2) where the starting cluster is, and (3) how big the file is. Yes, it is possible to manage (4) when it was created, (5) when it was last accessed, (6) when data was recorded, etc.

開始クラスタ番号は、ファイルのデータ記録が開始されたパーティションのデータ領域のクラスタ単位の記憶領域を特定する情報である。換言すれば、開始クラスタ番号は、当該パーティションのデータ領域をクラスタ単位に分割した各記憶領域の内の何番目の記憶領域から当該ファイルのデータの記録が行われたかを示している。そして、この例の場合には、図3に示すように、先頭クラスタ番号は、上位側(high側)の2バイトと、下位側(Low側)の2バイトとに分けて管理される。   The start cluster number is information for specifying a storage area in cluster units of the data area of the partition where the file data recording is started. In other words, the start cluster number indicates from which storage area of each storage area obtained by dividing the data area of the partition into cluster units, the data of the file is recorded. In the case of this example, as shown in FIG. 3, the leading cluster number is managed by dividing it into two bytes on the upper side (high side) and two bytes on the lower side (Low side).

クラスタは、図1に示すように、データ領域に含まれ、FATにおけるデータを管理できる最小単位であり、複数のセクタをまとめた、1ファイル当たりの最小記録単位を意味する。1クラスタは、セクタ(ハードディスクの場合、セクタサイズ=512バイト)をn個(n=1,2,4,・・・64,128)集めた構成になる。ハードディスクの最小単位であるセクタは、ファイルを管理するための単位としては小さすぎるので、複数のセクタをまとめたクラスタという単位領域を用いることによって、ファイルの管理が容易となるようにしている。クラスタの具体的な大きさは、例えば、FAT16の場合には32キロバイト、FAT32の場合には4キロバイトである。   As shown in FIG. 1, the cluster is a minimum unit that is included in the data area and can manage data in the FAT, and means a minimum recording unit per file in which a plurality of sectors are collected. One cluster has a configuration in which n sectors (n = 1, 2, 4,... 64, 128) are collected (sector size = 512 bytes in the case of a hard disk). Since the sector, which is the minimum unit of the hard disk, is too small as a unit for managing files, file management is facilitated by using a unit area called a cluster in which a plurality of sectors are collected. The specific size of the cluster is, for example, 32 kilobytes for FAT16 and 4 kilobytes for FAT32.

図1に示すFATのデータ構造には、図2を参照して説明したマスターブートレコード(MBR)に続いて、パーティションに対応する起動コードを含むパーティションブートレコード(PBR)が設定され、その後、ファイルアロケーションテーブル1(FAT1)と、ファイルアロケーションテーブル2(FAT2)が格納される。   In the FAT data structure shown in FIG. 1, a partition boot record (PBR) including an activation code corresponding to a partition is set subsequent to the master boot record (MBR) described with reference to FIG. An allocation table 1 (FAT1) and a file allocation table 2 (FAT2) are stored.

ファイルアロケーションテーブル2(FAT2)は、ファイルアロケーションテーブル1(FAT1)の予備データとして利用されるのが従来の構成であり、従来のファイルシステムでは、ファイルアロケーションテーブル2(FAT2)には、ファイルアロケーションテーブル1(FAT1)のコピーデータを格納していた。ただし、本発明に係るファイルシステムは、FAT2を、単にFAT1のコピーデータ格納テーブルとせず、特殊な利用形態を持つ。本発明のFAT構成については後述する。   The file allocation table 2 (FAT2) has a conventional configuration that is used as spare data for the file allocation table 1 (FAT1). In the conventional file system, the file allocation table 2 (FAT2) includes a file allocation table. 1 (FAT1) copy data was stored. However, the file system according to the present invention has a special usage form, in which FAT2 is not simply a copy data storage table of FAT1. The FAT configuration of the present invention will be described later.

まず、一般的なファイルアロケーションテーブル(FAT)のデータ構成例について、図4を参照して説明する。ファイルアロケーションテーブル(FAT)は、メディア(情報記録媒体)に対して記録されるデータファイル各々についての記録位置情報、記録位置連鎖情報を管理するテーブルである。   First, a data configuration example of a general file allocation table (FAT) will be described with reference to FIG. The file allocation table (FAT) is a table for managing recording position information and recording position chain information for each data file recorded on a medium (information recording medium).

前述したように、各データファイルの構成データは、1つ以上のクラスタに分散されて情報記録媒体に記録される。ファイルアロケーションテーブル(FAT)は、各ファイルの構成データを格納したクラスタのクラスタ番号の連鎖情報を格納している。   As described above, the configuration data of each data file is distributed to one or more clusters and recorded on the information recording medium. The file allocation table (FAT) stores chain information of cluster numbers of clusters that store configuration data of each file.

図4に示すFATは、2つに分割して示してある。2重線で示す項目は、インデックスであり、データエントリとして、
[00000000h]〜[0000000Fh]
[00000010h]〜[0000001Fh]
[00000020h]〜[0000002Fh]
[00000030h]〜[0000003Fh]
のクラスタ番号を示している。なお、図に示すテーブルでは[h]を省略しているが、上記[h]は前の8桁の0〜Fの数値で示されるクラスタ番号が16進数表記であることを示している。
The FAT shown in FIG. 4 is divided into two parts. Items indicated by double lines are indexes, and as data entries,
[00000000h] to [0000000Fh]
[00000010h] to [0000001Fh]
[00000020h] to [0000002Fh]
[00000030h] to [0000003Fh]
Indicates the cluster number. In the table shown in the figure, [h] is omitted, but the above [h] indicates that the cluster number indicated by the previous 8 digits of 0 to F is in hexadecimal notation.

各ファイルの構成データを格納したクラスタ番号の位置に、ファイル構成データの次のデータを格納したクラスタ番号が記録され、最終クラスタ番号の位置にはEOF(エンドオブファイル)を示すコード[0FFFFFFFh]が記録される。先頭クラスタ番号は、図3を参照して説明した各ファイルのディレクトリエントリに記録されている。   The cluster number storing the next data of the file configuration data is recorded at the position of the cluster number storing the configuration data of each file, and the code [0FFFFFFFh] indicating EOF (end of file) is recorded at the position of the final cluster number. Is done. The head cluster number is recorded in the directory entry of each file described with reference to FIG.

例えば、各ファイルのディレクトリエントリに記録された先頭クラスタ番号を、
第1ファイル:00000007h
第2ファイル:0000000Ah
第3ファイル:0000001Bh
第4ファイル:0000002Ch
とする。
For example, the first cluster number recorded in the directory entry of each file is
First file: 00000007h
Second file: 0000000Ah
Third file: 0000001Bh
4th file: 0000002Ch
And

第1ファイルの先頭クラスタ番号は、[00000007h]であるので、まず、クラスタ番号[00000007h]のクラスタを読み取ることで、第1ファイルの最初のデータが取得できる。第1ファイルの次の構成データの記録されたクラスタ番号は、図4に示すFATのクラスタ番号[00000007h]の位置の記録情報に基づいて知ることができる。図4に示すFATのクラスタ番号[00000007h]の位置にはクラスタ番号[00000008h]が記録され、第1ファイルの次の構成データの記録されたクラスタ番号は[00000008h]であることが判明し、クラスタ番号[00000008h]のクラスタからデータを読み取ることができる。   Since the first cluster number of the first file is [00000007h], the first data of the first file can be acquired by reading the cluster with the cluster number [00000007h]. The cluster number in which the next configuration data of the first file is recorded can be known based on the recording information at the position of the FAT cluster number [00000007h] shown in FIG. It is found that the cluster number [00000008h] is recorded at the position of the FAT cluster number [00000007h] shown in FIG. 4, and the cluster number in which the next configuration data of the first file is recorded is [00000008h]. Data can be read from the cluster with the number [00000008h].

さらに、第1ファイルの次の構成データの記録されたクラスタ番号は、図4に示すFATのクラスタ番号[00000008h]の位置に記録されている。図4に示すFATのクラスタ番号[00000008h]の位置にはクラスタ番号[00000009h]が記録され、第1ファイルの次の構成データの記録されたクラスタ番号は[00000009h]であることが判明し、クラスタ番号[00000009h]のクラスタからデータを読み取ることができる。さらに、次の構成データの記録されたクラスタ番号を取得するため、FATのクラスタ番号[00000009h]の位置の記録情報を参照すると、EOF(エンドオブファイル)の対応コード[0FFFFFFFh]が記録されており、後続データはないことが判明する。   Further, the cluster number in which the next configuration data of the first file is recorded is recorded at the position of the FAT cluster number [00000008h] shown in FIG. It is found that the cluster number [00000009h] is recorded at the position of the FAT cluster number [00000008h] shown in FIG. 4, and the cluster number in which the next configuration data of the first file is recorded is [00000009h]. Data can be read from the cluster with the number [00000009h]. Further, in order to obtain the cluster number in which the next configuration data is recorded, referring to the recording information at the position of the FAT cluster number [00000009h], a corresponding code [0FFFFFFFh] of EOF (end of file) is recorded, It turns out that there is no subsequent data.

結果として、第1ファイルは、
クラスタ番号:[00000007h]→[00000008h]→[00000009h]によって指定されるクラスタに格納されていることが判明する。
As a result, the first file is
Cluster number: [00000007h] → [00000008h] → [00000009h] It is found that the cluster is stored.

同様に、
第2ファイルは、
クラスタ番号:[0000000Ah]→[0000001Fh]→[00000025h]→[00000031h]→[00000030h]
第3ファイルは、
クラスタ番号:[0000001Bh]→[00000011h]→[00000012h]→[00000013h]→[00000014h]→[00000003h]
第4ファイルは、
クラスタ番号:[0000002Ch]→[0000002Dh]→[0000002Eh]→[0000002Fh]→[00000038h]→[00000039h]→[0000003Ah]→[0000003Bh]
によって指定されるクラスタに格納されていることが判明し、これらのクラスタからデータを取得することが可能となる。
Similarly,
The second file is
Cluster number: [0000000Ah] → [0000001Fh] → [00000025h] → [00000031h] → [00000030h]
The third file is
Cluster number: [0000001Bh] → [0000001h] → [00000012h] → [00000013h] → [00000014h] → [00000003h]
The fourth file is
Cluster number: [0000002Ch]->[0000002Dh]->[0000002Eh]->[0000002Fh]->[00000028h]->[0000009h]->[0000003Ah]-> [0000003Bh]
It becomes clear that the data is stored in the clusters designated by, and data can be acquired from these clusters.

なお、図4に示すFATは、FAT32に対応するデータ例である。FAT32では、EOF(エンドオブファイル)の対応コードは[0FFFFFFFh]であるが、FAT16では、EOF(エンドオブファイル)の対応コードは[FFFFh]である。このEOF(エンドオブファイル)の対応コードを検出することで、ファイル構成データが終了することを判別することができる。   The FAT shown in FIG. 4 is a data example corresponding to the FAT32. In FAT32, the EOF (end of file) corresponding code is [0FFFFFFFh], while in FAT16, the EOF (end of file) corresponding code is [FFFFh]. By detecting the EOF (end of file) corresponding code, it is possible to determine that the file configuration data is finished.

このように、情報記録媒体に記録される各ファイルは、
(a)ファイル名や作成日時、ファイルサイズなどを保持する「ディレクトリエントリ」
(b)クラスタの連鎖情報を保持する「FAT」
(c)クラスタ単位で記録されている「データ(ファイルの実体)」
の3要素を有し、これらがハードディスクなどの情報記録媒体上に記録され、「ディレクトリエントリ」と、「FAT」に基づいて、各ファイルの構成クラスタを識別して、データを読み取ることができる。
Thus, each file recorded on the information recording medium is
(A) "Directory entry" that holds file name, creation date and time, file size, etc.
(B) “FAT” that holds cluster chain information
(C) “Data (substance of file)” recorded in cluster units
These are recorded on an information recording medium such as a hard disk, and based on “directory entry” and “FAT”, the cluster of each file can be identified and data can be read.

[2.本発明のファイルシステム利用構成例]
(2.1)FATの構成
次に、本発明の情報処理装置におけるファイルシステム利用構成例について説明する。前述したように、FAT16、FAT32などのファイルシステムでは、設定可能な最大ファイルサイズについての制約がある。従って、記録データサイズが大きくなり、予め設定された最大ファイルサイズを超えてしまうと、記録を停止するか、異なる2つ以上のファイルに分割して記録することになる。例えば、FAT32ファイルシステムにおいて、1ファイルあたりの最大サイズは、約4GB=4,294,967,295B(16進数で表現した場合、FFFFFFFFhと表現される数値)である。例えば、9Mbpsの固定レートにて動画を記録した場合に、1ファイルにて記録可能な時間は、約63分37秒である。25Mbpsの固定レートにて動画を記録した場合、1ファイルにて記録可能な時間は、約24分54秒である。
[2. Example of file system usage configuration of the present invention]
(2.1) Configuration of FAT Next, an example of a configuration using a file system in the information processing apparatus of the present invention will be described. As described above, file systems such as FAT16 and FAT32 have restrictions on the maximum file size that can be set. Therefore, if the recording data size increases and exceeds the preset maximum file size, the recording is stopped or divided into two or more different files for recording. For example, in the FAT32 file system, the maximum size per file is about 4 GB = 4,294,967,295B (a numerical value expressed as FFFFFFFFh when expressed in hexadecimal). For example, when a moving image is recorded at a fixed rate of 9 Mbps, the time that can be recorded in one file is about 63 minutes and 37 seconds. When a moving image is recorded at a fixed rate of 25 Mbps, the time that can be recorded in one file is about 24 minutes 54 seconds.

このように、1ファイルにて記録可能な時間が制限されている場合、データ記録に際して、記録データサイズがファイルシステムによって規定される最大許容ファイルサイズ(例えば4GB)に達した場合、情報記録を実行している情報処理装置としての対処方法としては、以下の2通りが考えられる。
(A)記録を停止する。
(B)現在オープンしているファイルをクローズし、新たなファイルをオープンすることによって、異なるファイルを利用して記録を続行する。
As described above, when the time that can be recorded in one file is limited, information recording is performed when the recording data size reaches the maximum allowable file size (for example, 4 GB) defined by the file system. The following two methods are conceivable as coping methods as the information processing apparatus.
(A) Stop recording.
(B) Recording is continued using a different file by closing the currently opened file and opening a new file.

(B)の設定は、先に説明した特許文献1に記載の構成に相当し、分割記録ファイルについて、関連データファイルであることを識別可能とするための独立した管理情報ファイルを生成、管理することが必要となる。しかし、この管理情報ファイルが削除、破壊された場合には、ファイルの関連性に関する情報が消失してしまうという問題がある。   The setting of (B) corresponds to the configuration described in Patent Document 1 described above, and generates and manages an independent management information file for enabling identification of the related recording file as a divided recording file. It will be necessary. However, when this management information file is deleted or destroyed, there is a problem in that information relating to file relevance is lost.

本発明では、新たな管理情報ファイルを生成することなく、従来から使用されているファイルシステムの格納情報を変更して、ファイルシステムにおける最大許容ファイルサイズを超えて複数のファイルに記録されるファイルの関連性を保持、管理することを可能とする。   In the present invention, the storage information of a file system that has been used conventionally is changed without generating a new management information file, and the files recorded in a plurality of files exceeding the maximum allowable file size in the file system. Relevance can be maintained and managed.

図5に、本発明を適用した場合のFAT1およびFAT2のデータ構成例を示す。図5に示すFAT1,FAT2は、先に図4を説明したテーブルと同様、FAT32に従ったファイルアロケーションテーブル(FAT)である。基本的には、FAT2はFAT1のコピーデータが格納される。ただし、本発明の構成では、FAT2には、FAT1のコピーデータ以外のデータが格納される。   FIG. 5 shows a data configuration example of FAT1 and FAT2 when the present invention is applied. FAT1 and FAT2 shown in FIG. 5 are file allocation tables (FAT) according to FAT32, similar to the table described above with reference to FIG. Basically, FAT2 stores the copy data of FAT1. However, in the configuration of the present invention, data other than the copy data of FAT1 is stored in FAT2.

具体的には、複数のファイルに一連のデータが分割されて記録されている場合、FAT1において、先行するファイルの終端を示すEOFコードを格納する位置に、EOFコードと異なる連続記録ファイルの存在を示す特殊コードを格納する。さらに、特殊コードを検出したFAT1のコード格納位置に対応するFAT2のエントリ位置に分割データが記録された次のファイルの先頭クラスタ番号を格納する。   Specifically, when a series of data is divided and recorded in a plurality of files, the presence of a continuous recording file different from the EOF code at the position where the EOF code indicating the end of the preceding file is stored in FAT1. Stores the special code indicated. Further, the first cluster number of the next file in which the divided data is recorded is stored in the FAT2 entry position corresponding to the FAT1 code storage position where the special code is detected.

ファイルデータの取得、再生処理を実行する情報処理装置は、FAT1から特殊コードを検出した場合、特殊コードを検出したFAT1のコード格納位置に対応するFAT2のエントリを取得する。このFAT2の対応エントリには、分割データが記録された次のファイルの先頭クラスタ番号が格納されている。この先頭クラスタ番号を取得して、データが記録された異なるファイルの格納データの先頭クラスタ番号を得ることができる。その後は、さらにFAT1に戻り、そのファイルデータについてのクラスタ連鎖をたどることで、データを順次、取得することができる。   When a special code is detected from FAT1, the information processing apparatus that executes file data acquisition and reproduction processing acquires an entry in FAT2 corresponding to the code storage position of FAT1 in which the special code is detected. In the corresponding entry of FAT2, the leading cluster number of the next file in which the divided data is recorded is stored. By obtaining the head cluster number, the head cluster number of the stored data of different files in which the data is recorded can be obtained. Thereafter, returning to FAT1, the data can be sequentially acquired by following the cluster chain for the file data.

図5の例では、3つの異なるファイルにデータが分割記録された例を示している。まず、あるファイルを指定したデータを取得し再生を行なう場合、情報処理装置は、指定ファイルの先頭クラスタ番号を取得する。先頭クラスタ番号は、先に説明したように、図3を参照して説明した各ファイルのディレクトリエントリに記録されている。[00000010h]が先頭クラスタ番号として取得されたとする。ファイルの先頭クラスタ番号は、[00000010h]であるので、まず、クラスタ番号[00000010h]のクラスタを読み取ることで、ファイルの最初のデータが取得できる。   In the example of FIG. 5, an example is shown in which data is divided and recorded in three different files. First, when data specifying a certain file is acquired and reproduced, the information processing apparatus acquires the first cluster number of the specified file. As described above, the head cluster number is recorded in the directory entry of each file described with reference to FIG. It is assumed that [00000010h] is acquired as the leading cluster number. Since the first cluster number of the file is [00000010h], the first data of the file can be acquired by first reading the cluster with the cluster number [00000010h].

ファイルの次の構成データの記録されたクラスタ番号は、図5に示すFAT1のクラスタ番号[00000010h]の位置の記録情報に基づいて知ることができる。図5に示すFATのクラスタ番号[00000010h]の位置にはクラスタ番号[00000011h]が記録され、第1ファイルの次の構成データの記録されたクラスタ番号は[00000011h]であることが判明し、クラスタ番号[00000011h]のクラスタからデータを読み取ることができる。このようにして、FAT1からクラスタ連鎖を示すクラスタ番号を取得し、1つのファイルの構成データを各クラスタから順次、取得する。最後に、図5に示すFAT1のクラスタ番号[0000001Fh]のエントリデータ101を取得する。この位置のデータには、EOFコードと異なる連続記録ファイルの存在を示す特殊コードが格納されている。本例では、特殊コードを[1FFFFFFFh]としている。   The cluster number in which the next component data of the file is recorded can be known based on the recording information at the position of the FAT1 cluster number [00000010h] shown in FIG. It is found that the cluster number [00000011h] is recorded at the position of the FAT cluster number [00000010h] shown in FIG. 5, and the cluster number in which the next configuration data of the first file is recorded is [00000011h]. Data can be read from the cluster having the number [00000011h]. In this way, the cluster number indicating the cluster chain is acquired from FAT1, and the configuration data of one file is sequentially acquired from each cluster. Finally, the entry data 101 of the FAT1 cluster number [0000001Fh] shown in FIG. 5 is acquired. The data at this position stores a special code indicating the presence of a continuous recording file different from the EOF code. In this example, the special code is [1FFFFFFFh].

この特殊コード[1FFFFFFFh]は、連続記録ファイルの存在を示す特殊コードである。ファイルデータの取得、再生処理を実行する情報処理装置は、FAT1から特殊コードを検出した場合、特殊コードを検出したFAT1のコード格納位置に対応するFAT2のエントリデータを取得する。すなわち、図5に示すエントリデータ102である。   This special code [1FFFFFFFh] is a special code indicating the presence of a continuous recording file. When a special code is detected from FAT1, the information processing apparatus that executes file data acquisition and playback processing acquires FAT2 entry data corresponding to the code storage position of FAT1 in which the special code is detected. That is, the entry data 102 shown in FIG.

このFAT2の対応エントリデータ102は、分割データが記録された次のファイルの先頭クラスタ番号が格納されている。図5に示すエントリデータ102は、[00000020h]である。このクラスタ番号が、分割データの記録された2番目のファイルの構成データのクラスタ番号に相当する。情報処理装置は、この先頭クラスタ番号を取得して、データが記録された異なるファイルの格納データの先頭クラスタ番号を得ることができる。その後は、さらにFAT1に戻り、そのファイルデータについてのクラスタ連鎖をたどる。すなわち、図5のFAT1の[00000020h]の位置のエントリデータから、順次クラスタ連鎖をたどることで、第2番目のファイルの構成データを順次、取得することができる。   The FAT2 corresponding entry data 102 stores the first cluster number of the next file in which the divided data is recorded. The entry data 102 shown in FIG. 5 is [00000020h]. This cluster number corresponds to the cluster number of the configuration data of the second file in which the divided data is recorded. The information processing apparatus can obtain the first cluster number and obtain the first cluster number of the data stored in different files in which the data is recorded. Thereafter, the process returns to FAT1 to follow the cluster chain for the file data. That is, the configuration data of the second file can be sequentially obtained by sequentially following the cluster chain from the entry data at the position [00000020h] of FAT1 in FIG.

さらに、この2番目のファイルの構成データを各クラスタから順次取得し、最後に、図5に示すFAT1のクラスタ番号[0000002Fh]のエントリデータを取得する。この位置のデータにも、EOFコードと異なる連続記録ファイルの存在を示す特殊コード[1FFFFFFFh]が格納されている。   Further, the configuration data of the second file is sequentially acquired from each cluster, and finally, the entry data of FAT1 cluster number [0000002Fh] shown in FIG. 5 is acquired. The special code [1FFFFFFFh] indicating the presence of a continuous recording file different from the EOF code is also stored in the data at this position.

前述したように、この特殊コード[1FFFFFFFh]は、連続記録ファイルの存在を示す特殊コードであり、ファイルデータの取得、再生処理を実行する情報処理装置は、特殊コードを検出したFAT1のコード格納位置に対応するFAT2のエントリデータを取得する。すなわち、図5に示す点線矢印に沿って、FAT2の対応エントリを参照する。   As described above, this special code [1FFFFFFFh] is a special code indicating the presence of a continuous recording file, and the information processing apparatus that executes file data acquisition and reproduction processing stores the code storage position of FAT1 that detected the special code. FAT2 entry data corresponding to is obtained. That is, the corresponding entry of FAT2 is referred to along the dotted arrow shown in FIG.

FAT2の対応エントリは、分割データが記録された次のファイルの先頭クラスタ番号が格納されている。図5に示す例では、[00000030h]である。このクラスタ番号が、分割データの記録された3番目のファイルの構成データのクラスタ番号に相当する。情報処理装置は、この先頭クラスタ番号を取得して、データが記録された異なるファイルの格納データの先頭クラスタ番号を得ることができる。その後は、さらにFAT1に戻り、その第3番目のファイルのデータのクラスタ連鎖をたどる。すなわち、図5のFAT1の[00000030h]の位置のエントリデータから、順次クラスタ連鎖をたどることで、第3番目のファイルの構成データを順次、取得することができる。   The corresponding entry of FAT2 stores the leading cluster number of the next file in which the divided data is recorded. In the example shown in FIG. 5, it is [00000030h]. This cluster number corresponds to the cluster number of the configuration data of the third file in which the divided data is recorded. The information processing apparatus can obtain the first cluster number and obtain the first cluster number of the data stored in different files in which the data is recorded. Thereafter, the process returns to FAT1, and the cluster chain of the data of the third file is followed. That is, the configuration data of the third file can be sequentially obtained by sequentially following the cluster chain from the entry data at the position [00000030h] of FAT1 in FIG.

最後に、図5に示すFAT1のクラスタ番号[0000003Fh]のエントリデータを取得する。この位置のデータは、EOFコード、すなわち[0FFFFFFFh]であり、このEOFコードを取得することで、後続データはなく、データの終端であると判定し、ファィルデータの取得を終了する。   Finally, the entry data of FAT1 cluster number [0000003Fh] shown in FIG. 5 is acquired. The data at this position is an EOF code, that is, [0FFFFFFFh]. By acquiring this EOF code, it is determined that there is no subsequent data and the end of the data, and the acquisition of the file data is ended.

このように、ファイルデータの取得を実行する装置は、ファイルシステムにおいてデータ終端であることを示すEOFコード[0FFFFFFFF]を取得した場合は、データ終了であると判断し、EOFコードと異なる連続記録ファイルの存在を示す特殊コード[1FFFFFFFh]をFAT1から取得した場合は、FAT2の対応エントリを参照して、この対応エントリから次のファイルの先頭クラスタ番号を取得して、異なるファイルを即座にオープンすることができる。このような処理構成によれば、複数のデータ量が大きいデータであっても、複数のファイルに分割記録可能であり、データ取得、再生時の処理は、FAT参照処理のみでよく、効率的なデータ処理が可能となる。   As described above, when the device that executes the acquisition of the file data acquires the EOF code [0FFFFFFFF] indicating the end of data in the file system, it determines that the data is ended, and is a continuous recording file different from the EOF code. When the special code [1FFFFFFFFh] indicating the presence of the file is acquired from the FAT1, the first cluster number of the next file is acquired from the corresponding entry of the FAT2, and a different file is immediately opened. Can do. According to such a processing configuration, even a large amount of data can be divided and recorded in a plurality of files, and the processing at the time of data acquisition and reproduction may be only the FAT reference processing, which is efficient. Data processing is possible.

上述の構成では、EOFコード[0FFFFFFFh]と異なる連続記録ファイルの存在を示す特殊コード[1FFFFFFFh]を利用した例である。この例では、16進数で示すコードの先頭コードが、EOFの場合[0]、特殊コードの場合[1]である。ビットデータとして示すと、
EOFコードは、上位4ビットが[0000]、
特殊コードは、上位4ビットが[0001]となる。
The above configuration is an example using the special code [1FFFFFFFFh] indicating the presence of a continuous recording file different from the EOF code [0FFFFFFFh]. In this example, the head code of the code represented in hexadecimal is [0] when it is EOF and [1] when it is a special code. As bit data,
In the EOF code, the upper 4 bits are [0000],
In the special code, the upper 4 bits are [0001].

情報再生処理を実行する情報処理装置の場合、上位4ビットが[0001]のクラスタ番号を検出したとき、FAT2を参照して、引き続くファイルの先頭クラスタ番号を得る処理を実行する。図5に示す設定では、FAT1およびFAT2を適用して1つ目のファイル(00000010h〜)→2つ目のファイル(00000020h〜)→3つ目のファイル(00000030h〜)という異なるファイルを適用したクラスタ連鎖情報を取得することが可能となる。   In the case of an information processing apparatus that executes information reproduction processing, when a cluster number whose upper 4 bits are [0001] is detected, processing for obtaining the first cluster number of the subsequent file is executed with reference to FAT2. In the setting shown in FIG. 5, a cluster in which FAT1 and FAT2 are applied and different files are applied: the first file (00000010h ~) → the second file (00000020h ~) → the third file (00000030h ~) Chain information can be acquired.

なお、上述した例はFAT32を適用した場合の処理例であるが、FAT16の場合、EOFコードは、[FFFFh]である。FAT16の場合も、連続記録ファイルの存在を示す特殊コードを、例えば[1FFFh]と設定して、この特殊コードによって、次のファイルの存在を検出する構成とすることができる。なお、連続記録ファイルの存在を示す特殊コードは、予め規定することで、様々な設定が可能である。   The above-described example is a processing example when FAT32 is applied. In the case of FAT16, the EOF code is [FFFFh]. Also in the case of FAT16, a special code indicating the presence of a continuous recording file can be set to [1FFFh], for example, and the presence of the next file can be detected by this special code. The special code indicating the presence of the continuous recording file can be set in various ways by predefining it.

(2.2)データ記録、再生シーケンス
次に、フローチャートを参照して、本発明の情報処理装置における情報記録処理および情報再生処理の処理シーケンスについて説明する。
(2.2) Data Recording and Reproducing Sequence Next, with reference to a flowchart, a processing sequence of information recording processing and information reproducing processing in the information processing apparatus of the present invention will be described.

まず、図6、および図7を参照して、本発明の情報処理装置における情報記録処理シーケンスについて説明する。図6は、本発明の情報処理装置における情報記録処理の全体シーケンスを示し、図7は、図6に示す処理ステップS210のファイル切り替え処理の詳細を説明するフローチャートである。   First, an information recording processing sequence in the information processing apparatus of the present invention will be described with reference to FIG. 6 and FIG. FIG. 6 shows an entire sequence of information recording processing in the information processing apparatus of the present invention, and FIG. 7 is a flowchart for explaining the details of the file switching processing in processing step S210 shown in FIG.

図6のフローについて説明する。まず、情報記録媒体に対する情報記録処理を実行する情報処理装置は、ステップS201において、データ記録用のファイルをオープンし、ステップS202において、アプリケーションから渡された記録データのサイズを検証し、ステップS203において、アプリケーションから渡されたデータの記録を行なうことで、ファイルシステムの許容するファイルサイズの上限を超えるか否かを判定する。   The flow of FIG. 6 will be described. First, the information processing apparatus that executes the information recording process for the information recording medium opens a data recording file in step S201, verifies the size of the recording data passed from the application in step S202, and in step S203. By recording the data passed from the application, it is determined whether or not the upper limit of the file size allowed by the file system is exceeded.

超えないと判定した場合は、ステップS204において、データ記録を実行する。なお、データ記録処理に際しては、FATに対するクラスタ番号の記録を併せて実行する。さらに、ステップS205において、すべてのデータ記録が終了したか否かを判定し、未記録データがある場合は、ステップS202に戻り、データ記録処理を継続する。ステップS205において、すべてのデータ記録が終了したと判定した場合は、データ記録処理を終了する。   If it is determined that it does not exceed, data recording is executed in step S204. In the data recording process, the cluster number is recorded on the FAT. Further, in step S205, it is determined whether or not all data recording has been completed. If there is unrecorded data, the process returns to step S202 to continue the data recording process. If it is determined in step S205 that all data recording has been completed, the data recording process ends.

一方、ステップS203の判定処理において、アプリケーションから渡されたデータの記録を行なうことで、ファイルシステムの許容するファイルサイズの上限を超えると判定した場合は、ステップS210のファイルクローズオープン処理を実行する。これは、ステップS211において、許容されたファイルサイズに近づいたデータ記録中のファイルをクローズし、ステップS212において、連続記録を実行する新たなファイルをオープンする処理であり、ステップS212において新たなファイルをオープンした場合は、ステップS204において、そのファイルに対するデータ記録を実行する。   On the other hand, in the determination process of step S203, if it is determined that the upper limit of the file size allowed by the file system is exceeded by recording the data passed from the application, the file close / open process of step S210 is executed. This is a process of closing the data recording file that has approached the allowable file size in step S211, and opening a new file for executing continuous recording in step S212. In step S212, the new file is opened. If the file is opened, data recording for the file is executed in step S204.

ステップS210において実行されるファイルクローズオープン処理の詳細シーケンスについて、図7のフローを参照して説明する。図7に示すフローでは、ファイルクローズ対象のファイル、すなわち、許容されたファイルサイズに近づいたデータ記録中のファイルをファイルAとし、連続記録を実行する新たなファイルをファイルBとしている。   A detailed sequence of the file close / open process executed in step S210 will be described with reference to the flow of FIG. In the flow shown in FIG. 7, a file to be closed, that is, a file that is being recorded with data approaching an allowable file size is referred to as file A, and a new file that performs continuous recording is referred to as file B.

まず、ステップS301において、FAT1の編集処理として、クローズ対象のファイルAの最終クラスタにEOFをセットする。FAT32の場合[0FFFFFFFh]である。次に、ステップS302において、FAT2の編集処理として、クローズ対象のファイルAの最終クラスタにEOFをセットする。   First, in step S301, EOF is set in the final cluster of the file A to be closed as the editing process of FAT1. In the case of FAT32, it is [0FFFFFFFFh]. In step S302, EOF is set in the final cluster of the file A to be closed as the FAT2 editing process.

さらに、ステップS303において、ファイルAをクローズし、ステップS304において、ステップS301,S302においてFATに設定したEOFを設定したFAT中のクラスタ番号をメモリに記憶する。   Further, in step S303, the file A is closed, and in step S304, the cluster number in the FAT in which the EOF set in the FAT in steps S301 and S302 is set is stored in the memory.

次に、ステップS305において、継続データの記録を行なう新たなファイルであるファイルBをオープンし、ステップS306において、ファイルBの先頭クラスタを決定する。次に、ステップS307において、FAT2の編集処理として、ステップS302において、EOFコードを設定したFAT2のクラスタ位置に、連続データを記録するファイルBの先頭クラスタ、すなわち、ステップS306において決定したファイルBの先頭クラスタを記録する。   Next, in step S305, file B, which is a new file for recording continuous data, is opened. In step S306, the first cluster of file B is determined. Next, in step S307, as the FAT2 editing process, in step S302, the top cluster of file B in which continuous data is recorded at the FAT2 cluster position where the EOF code is set, that is, the top of file B determined in step S306. Record the cluster.

最後に、ステップS308において、FAT1の編集処理として、ステップS301において、EOFコードを設定したFAT1のクラスタ位置に、連続データを記録するファイルの存在を示す特殊コードを格納する。特殊コードは例えば前述した例では、[1FFFFFFFh]である。   Finally, in step S308, as a FAT1 editing process, in step S301, a special code indicating the existence of a file for recording continuous data is stored at the FAT1 cluster position where the EOF code is set. The special code is, for example, [1FFFFFFFh] in the above-described example.

この処理によって、ファイルクローズおよびオープン処理が完了し、ファイルBに対して継続データを順次記録することができる。さらに記録データが継続し、ファイルBが許容ファイルサイズを超える場合は、さらに、新たなファイルCを図7に示すフローを実行してオープンする。これらの処理によって、次々と、新たなファイルを適用してデータ記録を実行することができる。   By this processing, the file closing and opening processing is completed, and continuous data can be sequentially recorded on the file B. If the recorded data continues and the file B exceeds the allowable file size, a new file C is opened by executing the flow shown in FIG. By these processes, data recording can be executed by applying new files one after another.

次に、図8に示すフローチャートを参照して、上述した処理によって、複数のファイルに分割記録されたデータを取得し、再生する処理シーケンスについて説明する。   Next, a processing sequence for acquiring and reproducing data divided and recorded in a plurality of files by the above-described processing will be described with reference to the flowchart shown in FIG.

まず、ステップS501において、再生対象ファイルAのディレクトリエントリ情報から先頭クラスタ番号を取得し、ステップS502において、FATに基づき、ファイルAのクラスタ連鎖をたどり、順次データを取得する。   First, in step S501, the leading cluster number is obtained from the directory entry information of the file A to be played, and in step S502, the cluster chain of the file A is traced based on the FAT, and data is obtained sequentially.

ステップS503において、FAT1から継続ファイルを示す特殊コードが検出されたか否かを判定し、特殊コードが検出されない場合は、EOFコードが検出されるまでデータを取得してデータ取得再生処理を終了する。   In step S503, it is determined whether or not a special code indicating a continuation file has been detected from the FAT1, and if no special code is detected, data is acquired until the EOF code is detected, and the data acquisition / reproduction process is terminated.

ステップS503において、FAT1から継続ファイルを示す特殊コードが検出された場合は、ステップS504において、特殊コードが検出されたFAT1のクラスタ番号エントリに対応するFAT2のエントリを参照し、参照エントリから継続記録された異なるファイルBの開始クラスタ番号Xを取得する。   If a special code indicating a continuation file is detected from FAT1 in step S503, the FAT2 entry corresponding to the cluster number entry of FAT1 in which the special code is detected is referenced in step S504, and is continuously recorded from the reference entry. The start cluster number X of the different file B is acquired.

次に、ステップS505において、ファイルAをクローズし、ステップS506において、Xを開始クラスタ番号とするディレクトリエントリを検索しファイルBを検出する。さらに、ステップS507においてファイルBをオープンし、ステップS508において、FATに基づき、ファイルBのクラスタ連鎖をたどり、順次データを取得し再生を実行する。   Next, in step S505, the file A is closed, and in step S506, a directory entry having X as the start cluster number is searched to detect the file B. Further, in step S507, the file B is opened, and in step S508, the cluster chain of the file B is traced based on the FAT, and data is sequentially acquired and reproduced.

(2.3)システム構成
次に、上述した処理を実行する情報処理装置のシステム構成について説明する。上述した情報記録媒体に対するデータ記録および情報記録媒体からのデータ取得、再生処理は、例えばデジタルビデオカメラ、PCなどの情報処理装置のCPUによる所定のデータ処理プログラムの実行によって行なわれる。
(2.3) System Configuration Next, a system configuration of an information processing apparatus that performs the above-described processing will be described. Data recording to the information recording medium and data acquisition and reproduction processing from the information recording medium are performed by executing a predetermined data processing program by a CPU of an information processing apparatus such as a digital video camera or a PC.

すなわち、図9に示すように、ハードディスク等の情報記録媒体204に対してデータを記録したり、記録媒体に記録されているデータを読み出して利用したりする場合には、ユーザとの窓口となるアプリケーションプログラム201の下層に情報記録媒体204上のファイルを管理するためのファイルシステム(ファイル管理プログラム)202とファイルシステムからの情報に基づいて情報記録媒体204を制御するデバイスドライバ203とが存在する。   That is, as shown in FIG. 9, when data is recorded on an information recording medium 204 such as a hard disk, or when data recorded on the recording medium is read and used, it becomes a window for the user. Below the application program 201 are a file system (file management program) 202 for managing files on the information recording medium 204 and a device driver 203 for controlling the information recording medium 204 based on information from the file system.

情報記録媒体204に対してデータを記録、または情報記録媒体204からデータを再生する場合には、ファイルシステム202、デバイスドライバ203の機能によりデータの書き込み、再生が実行される。従来と同様の処理によって、ファイルシステム⇔デバイスドライバ⇔記録媒体(ハードディスク)といった構成で処理は行なわれる。   When data is recorded on the information recording medium 204 or data is reproduced from the information recording medium 204, data is written and reproduced by the functions of the file system 202 and the device driver 203. By the same processing as before, processing is performed with a configuration of file system⇔device driver⇔recording medium (hard disk).

データ記録を行なう場合に、複数の異なるファイルを継続記録ファイルとして適用する場合は、ファイルシステムによって適用されるファイルアロケーションテーブル(FAT)に対する特殊コードの記録を行なう。また、データ再生を実行する場合に複数の異なるファイルを継続記録ファイルとして適用する場合は、FATからの特殊コードの検出を条件として、ファイルの切り替えを実行する。   When a plurality of different files are applied as continuous recording files when data recording is performed, special codes are recorded in a file allocation table (FAT) applied by the file system. When a plurality of different files are applied as continuous recording files when data reproduction is executed, file switching is executed on condition that a special code is detected from the FAT.

図9に示すシステム構成中のファイルシステムをさらに詳細に示した構成図を図10に示す。図10に示す構成は、図9と同様、情報記録媒体に対するデータ記録および情報記録媒体からのデータ取得、再生処理を実行する情報処理装置のシステム構成を示す図であり、ハードディスク等の情報記録媒体304に対してデータを記録したり、記録媒体に記録されているデータを読み出して利用する処理を実行する情報処理装置のシステム構成を示しており、ユーザとの窓口となるアプリケーションプログラム301の下層に情報記録媒体304上のファイルを管理するためのファイルシステム(ファイル管理プログラム)302とファイルシステムからの情報に基づいて情報記録媒体304を制御するデバイスドライバ303とが存在する。   FIG. 10 shows a configuration diagram showing the file system in the system configuration shown in FIG. 9 in more detail. The configuration shown in FIG. 10 is a diagram showing the system configuration of an information processing apparatus that performs data recording on an information recording medium, data acquisition from the information recording medium, and reproduction processing, as in FIG. 9, and an information recording medium such as a hard disk 304 shows a system configuration of an information processing apparatus that records data to 304 or executes processing for reading out and using data recorded on a recording medium, in a lower layer of an application program 301 serving as a window with a user There are a file system (file management program) 302 for managing files on the information recording medium 304 and a device driver 303 for controlling the information recording medium 304 based on information from the file system.

アプリケーション301、ファイルシステム302、デバイスドライバ303は、各構成部の処理に必要なプログラムやパラメータの格納、データ処理におけるワーク領域としてメモリ341をアクセスして利用する。   The application 301, the file system 302, and the device driver 303 access and use the memory 341 as a work area for storing programs and parameters necessary for processing of each component and data processing.

ファイルシステム302は、記録媒体の種別やフォーマット情報などを含むマウントドライブ情報311を保持し、ドライブ情報311に従って、データ記録、再生制御を実行する。ファイルシステム302は、データ記録再生制御を実行する記録再生制御部320と、メディア制御を実行するメディア制御部330を有する。   The file system 302 holds mount drive information 311 including the type and format information of the recording medium, and executes data recording and reproduction control according to the drive information 311. The file system 302 includes a recording / playback control unit 320 that executes data recording / playback control, and a media control unit 330 that executes media control.

記録再生制御部320は、ファイルアロケーションテーブル(FAT)の記録、参照処理を実行するFAT制御部321と、データ記録位置情報としてのクラスタの決定処理、クラスタ番号に基づく再生位置決定処理を実行するクラスタ制御部322と、ファイルに対応する情報を格納したディレクトリエントリ(図3参照)を生成、または参照する処理を実行するディレクトリエントリ制御部323を有する。ディレクトリエントリ制御部323は、アプリケーション301からの指示に基づいて特定のファイルに対応するディレクトリエントリを取得し、例えばファイル再生の場合は、ディレクトリエントリから先頭クラスタ番号を取得し、クラスタ制御部322に提供する。   The recording / playback control unit 320 includes a FAT control unit 321 that performs file allocation table (FAT) recording and reference processing, a cluster determination process as data recording position information, and a cluster that performs a playback position determination process based on the cluster number. It has a control unit 322 and a directory entry control unit 323 that executes a process for generating or referring to a directory entry (see FIG. 3) that stores information corresponding to a file. The directory entry control unit 323 acquires a directory entry corresponding to a specific file based on an instruction from the application 301. For example, in the case of file reproduction, the directory entry control unit 323 acquires the first cluster number from the directory entry and provides it to the cluster control unit 322. To do.

メディア制御部330は、位置算出部331を有し、クラスタ制御部322の決定するクラスタ情報やFATのクラスタ連鎖情報に基づいて、デバイスドライバ303を制御し、クラスタ番号によってデータ記録、またはデータ再生を実行するディスクの位置を決定し、決定した位置情報に従って、デバイスドライバ303を介してデータ記録、または当該ディスク位置からのデータ再生を実行する。   The media control unit 330 has a position calculation unit 331, controls the device driver 303 based on the cluster information determined by the cluster control unit 322 and the cluster linkage information of FAT, and performs data recording or data reproduction according to the cluster number. The position of the disk to be executed is determined, and data recording or data reproduction from the disk position is executed via the device driver 303 according to the determined position information.

図11は、図10に示すシステム構成とは異なるシステム構成例であり、ファイルシステムをコア部と、インタフェース部とに区別して示した例である。ファイルシステム(コア)382は、ファイルシステム(インタフェース)381を介してアプリケーション301とのデータ送受信を実行する。その他の構成は、図10に示す構成と同様である。   FIG. 11 is an example of a system configuration different from the system configuration shown in FIG. 10, and shows an example in which the file system is distinguished into a core part and an interface part. The file system (core) 382 executes data transmission / reception with the application 301 via the file system (interface) 381. Other configurations are the same as those shown in FIG.

図11に示す構成において、情報記録媒体に対して、異なるファイルを連続適用してデータ記録を実行する場合の処理シーケンスについて、図12、図13を参照して説明する。   In the configuration shown in FIG. 11, a processing sequence in the case where data recording is executed by successively applying different files to the information recording medium will be described with reference to FIGS.

図12、図13のシーケンス図は、左からアプリケーション301、ファイルシステム(インタフェース)381、ファイルシステム(コア)382、デバイスドライバ303を示し、各構成部間でのコマンドやデータなどの通知シーケンスを時系列に示してある。   The sequence diagrams of FIGS. 12 and 13 show the application 301, the file system (interface) 381, the file system (core) 382, and the device driver 303 from the left, and the notification sequence of commands, data, and the like between the components is shown. It is shown in the series.

まず、データ記録を行なう場合は、ステップS701において、アプリケーション301から、ファイルシステム(インタフェース)381に対して、ファイルオープン指示が出力され、さらに、指示はファイルシステム(コア)382に伝達されると、ファイルシステム(コア)382は、デバイスドライバ303を適用して空きクラスタの検索を行い、新規ファイルのためのディレクトリエントリ(DE)を作成する。ディレクトリエントリ(DE)は先に図3を参照して説明したように、ファイル名や先頭クラスタ番号などが記録される。   First, when performing data recording, in step S701, a file open instruction is output from the application 301 to the file system (interface) 381, and further, the instruction is transmitted to the file system (core) 382. The file system (core) 382 searches for an empty cluster by applying the device driver 303 and creates a directory entry (DE) for a new file. As described above with reference to FIG. 3, the directory entry (DE) records a file name, a head cluster number, and the like.

これらの処理が終了すると処理完了通知がアプリケーション301まで通知され、アプリケーション301は、ステップS702において、設定されたファイルに対するデータ書き込みを開始する。その後。継続してデータ書き込みが実行され、ステップS703において、ファイルシステム(コア)382の制御の下にFATの書き込み処理が実行される。FATは、先に図4、図5を参照して説明したようにファイルの構成データの書き込まれたクラスタ番号の連鎖情報が書き込まれたデータとして構成される。   When these processes are completed, a process completion notification is notified to the application 301, and the application 301 starts writing data to the set file in step S702. afterwards. Data writing is continuously executed, and FAT write processing is executed under the control of the file system (core) 382 in step S703. As described above with reference to FIGS. 4 and 5, the FAT is configured as data in which chain information of cluster numbers in which file configuration data is written is written.

次に、図13のシーケンス図について説明する。記録データがファイルシステムによって許容されるファイルサイズの上限に至ることが判明すると、ファイルシステム(インタフェース)381は、ステップS711において、ファイルクローズ処理をファイルシステム(コア)382に要求する。   Next, the sequence diagram of FIG. 13 will be described. When it is determined that the recording data reaches the upper limit of the file size allowed by the file system, the file system (interface) 381 requests the file system (core) 382 for file close processing in step S711.

ファイルシステム(コア)382は、それまでに書き込み要求のあった実データの書き込み終了後、ステップS712においてFATの書き込みを完了させ、さらに、ステップS713において、ディレクトリエントリの書き込みを実行する。これらは、データ書き込みの実行されたファイルに対応するFATデータおよびディレクトリエントリの書き込み処理である。   The file system (core) 382 completes the FAT writing in step S712 after the writing of the actual data that has been requested so far, and further executes the directory entry writing in step S713. These are writing processes of FAT data and directory entries corresponding to files for which data writing has been executed.

これらの処理の完了通知をファイルシステム(インタフェース)381が受領すると、ファイルシステム(インタフェース)381は、ステップS714において、継続データを記録する新たなファイルのオープン処理を実行するようにファイルシステム(コア)382に通知する。   When the file system (interface) 381 receives a notification of completion of these processes, the file system (interface) 381 executes a process of opening a new file for recording continuous data in step S714. 382 is notified.

ファイルシステム(コア)382は、デバイスドライバ303を適用して空きクラスタの検索を行い、継続データを記録する新規ファイルのためのディレクトリエントリ(DE)を作成する。ディレクトリエントリ(DE)は先に図3を参照して説明したように、ファイル名や先頭クラスタ番号などが記録される。   The file system (core) 382 searches for an empty cluster by applying the device driver 303 and creates a directory entry (DE) for a new file in which continuation data is recorded. As described above with reference to FIG. 3, the directory entry (DE) records a file name, a head cluster number, and the like.

これらの処理が終了すると処理完了通知がアプリケーション301まで通知され、アプリケーション301は、ステップS715において、設定されたファイルに対するデータ書き込みを開始する。その後。継続してデータ書き込みが実行される。   When these processes are completed, a process completion notification is notified to the application 301, and the application 301 starts writing data to the set file in step S715. afterwards. Data writing is executed continuously.

[3.情報処理装置の構成例]
次に、上述した処理を実行する情報処理装置の構成例として、デジタルビデオカメラと、PCの装置構成例について、図14、図15を参照して説明する。
[3. Configuration example of information processing apparatus]
Next, as a configuration example of an information processing apparatus that performs the above-described processing, a configuration example of a digital video camera and a PC will be described with reference to FIGS.

まず、図14を参照してデジタルビデオカメラの構成例について説明する。デジタルビデオカメラは、画像を撮像して、撮像することにより得た画像データをドライブ432を介して磁気ディスク、光ディスク、光磁気ディスク、半導体メモリ等の各種情報記録媒体に記録する撮像モードと、画像入出力部414や音声入出力部416あるいは通信部431を通じて供給を受けたデータを記録媒体に記録したり、記録媒体に記録されているデータを再生したりするVTRモードとを備えたものである。   First, a configuration example of a digital video camera will be described with reference to FIG. The digital video camera captures an image and records image data obtained by capturing the image data on various information recording media such as a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor memory via the drive 432, and an image. It is provided with a VTR mode in which data supplied through the input / output unit 414, the audio input / output unit 416 or the communication unit 431 is recorded on a recording medium, and data recorded on the recording medium is reproduced. .

撮像モードは、動画を撮像すると共に、これと同時に収音するようにした音声とを記録媒体に記録する動画撮像モードと、静止画を撮像する静止画撮像モードとを備えている。また、VTRモード時においては、記録ボタンスイッチなどによって構成される操作入力部420を操作することにより供給されるデータの記録が行われるようにされ、再生ボタンスイッチを操作することにより記録媒体に記録されている目的とするデータを再生することができる。   The imaging mode includes a moving image imaging mode in which a moving image is captured and simultaneously recorded sound is recorded on a recording medium, and a still image imaging mode in which a still image is captured. In the VTR mode, the supplied data is recorded by operating the operation input unit 420 including a recording button switch, and the recording is performed on the recording medium by operating the playback button switch. The target data can be reproduced.

図14に示すように、デジタルビデオカメラは、光学レンズ部411、光電変換部412、カメラ機能制御部402、画像信号処理部413、画像入出力部414、液晶ディスプレイ415、音声入出力部416、音声信号処理部417、通信部431、制御部(CPU)401、内蔵メモリ(RAM)418、内蔵メモリ(ROM)419、操作入力部420、情報記録媒体に対するドライブ432、さらに、各構成部に対する電力供給を行なう電源441を備えたものである。   As shown in FIG. 14, the digital video camera includes an optical lens unit 411, a photoelectric conversion unit 412, a camera function control unit 402, an image signal processing unit 413, an image input / output unit 414, a liquid crystal display 415, an audio input / output unit 416, Audio signal processing unit 417, communication unit 431, control unit (CPU) 401, built-in memory (RAM) 418, built-in memory (ROM) 419, operation input unit 420, drive 432 for the information recording medium, and power for each component A power supply 441 for supplying power is provided.

制御部(CPU)401は、ROM419に格納された各種の処理プログラムに従って処理を実行する。RAM418は、各処理において途中結果を一時記憶するなど、主に作業領域として用いられる。   A control unit (CPU) 401 executes processing according to various processing programs stored in the ROM 419. The RAM 418 is mainly used as a work area such as temporarily storing intermediate results in each process.

操作入力部401は、動画撮影モード、静止画撮影モード、VTRモードなどの動作モードを切り換えるモード切り換えキー、静止画の撮影のためのシャッターキー、動画を撮影するための撮影開始キー、録画キー、再生キー、停止キー、早送りキー、早戻しキーなどの種々の操作キーや機能キーなどを備え、ユーザからの操作入力を受け付けて、受け付けた操作入力に応じた電気信号を制御部(CPU)401に供給する。   The operation input unit 401 includes a mode switching key for switching operation modes such as a moving image shooting mode, a still image shooting mode, a VTR mode, a shutter key for shooting a still image, a shooting start key for shooting a movie, a recording key, Various operation keys and function keys such as a reproduction key, a stop key, a fast-forward key, and a fast-rewind key are provided, and an operation input from the user is received and an electric signal corresponding to the received operation input is transmitted to the control unit (CPU) 401. To supply.

制御部(CPU)401は、ユーザからの操作入力に応じて、目的とする処理を行うためのプログラムをROM419から読み出して実行し、各部を制御することによって、ユーザからの指示に応じた処理の制御を行う。デジタルビデオカメラは、情報記録媒体として、磁気ディスク、光ディスク、光磁気ディスク、半導体メモリ等の各種情報記録媒体を装着可能であり、これらの情報記録媒体にドライブ432を介して各種の情報を記録し、また、これらの情報記録媒体に記録された情報を再生する。   The control unit (CPU) 401 reads out and executes a program for performing a target process from the ROM 419 in accordance with an operation input from the user, and controls each unit to perform a process according to an instruction from the user. Take control. The digital video camera can mount various information recording media such as a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor memory as an information recording medium, and record various kinds of information on these information recording media via a drive 432. Also, the information recorded on these information recording media is reproduced.

次に、図15を参照して、上述した処理を実行する情報処理装置の一例としてのPCのハードウェア構成例について説明する。CPU(Central Processing Unit)501は、OS(Operating System)に対応する処理や、上述の実施例において説明した異なるファイルを利用したデータ記録、あるいはデータ再生処理などを実行するデータ処理部として機能する。これらの処理は、情報処理装置のROM、ハードディスクなどのデータ記憶部に格納されたコンピュータ・プログラムに従って実行される。   Next, a hardware configuration example of a PC as an example of an information processing apparatus that performs the above-described processing will be described with reference to FIG. A CPU (Central Processing Unit) 501 functions as a data processing unit that executes processing corresponding to an OS (Operating System), data recording using a different file described in the above-described embodiment, or data reproduction processing. These processes are executed according to a computer program stored in a data storage unit such as a ROM or a hard disk of the information processing apparatus.

ROM(Read Only Memory)502は、CPU501が使用するプログラムや演算パラメータ等を格納する。RAM(Random Access Memory)503は、CPU501の実行において使用するプログラムや、その実行において適宜変化するパラメータ等を格納する。これらはCPUバスなどから構成されるホストバス504により相互に接続されている。   A ROM (Read Only Memory) 502 stores programs used by the CPU 501, calculation parameters, and the like. A RAM (Random Access Memory) 503 stores programs used in the execution of the CPU 501, parameters that change as appropriate during the execution, and the like. These are connected to each other by a host bus 504 including a CPU bus.

ホストバス504は、ブリッジ505を介して、PCI(Peripheral Component Interconnect/Interface)バスなどの外部バス506に接続されている。   The host bus 504 is connected to an external bus 506 such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge 505.

キーボード508、ポインティングデバイス509は、ユーザにより操作される入力デバイスである。ディスプレイ510は、液晶表示装置またはCRT(Cathode Ray Tube)などから成り、各種情報をテキストやイメージで表示する。   A keyboard 508 and a pointing device 509 are input devices operated by the user. The display 510 includes a liquid crystal display device, a CRT (Cathode Ray Tube), or the like, and displays various types of information as text and images.

HDD(Hard Disk Drive)511は、ハードディスクを内蔵し、ハードディスクを駆動し、CPU501によって実行するプログラムや情報を記録または再生させる。ハードディスクは、例えば、画像データファイルの格納領域として利用されるとともに、データ処理プログラム等、各種コンピュータ・プログラムが格納される。   An HDD (Hard Disk Drive) 511 includes a hard disk, drives the hard disk, and records or reproduces a program executed by the CPU 501 and information. The hard disk is used as, for example, a storage area for image data files, and stores various computer programs such as a data processing program.

ドライブ512は、装着されている磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリ等のリムーバブル記録媒体521に記録されているデータまたはプログラムを読み出して、そのデータまたはプログラムを、インタフェース507、外部バス506、ブリッジ505、およびホストバス504を介して接続されているRAM503に供給する。   The drive 512 reads data or a program recorded on a removable recording medium 521 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and the data or program is read out from the interface 507 and the external bus 506. , And supplied to the RAM 503 connected via the bridge 505 and the host bus 504.

接続ポート514は、外部接続機器522を接続するポートであり、USB,IEEE1394等の接続部を持つ。接続ポート514は、インタフェース507、および外部バス506、ブリッジ505、ホストバス504等を介してCPU501等に接続されている。通信部515は、ネットワークに接続され、その他の情報処理装置との通信を実行する。   The connection port 514 is a port for connecting the external connection device 522 and has a connection unit such as USB or IEEE1394. The connection port 514 is connected to the CPU 501 and the like via the interface 507, the external bus 506, the bridge 505, the host bus 504, and the like. The communication unit 515 is connected to a network and executes communication with other information processing apparatuses.

なお、図14、図15に示す情報処理装置の構成例は、装置の一例であり、情報処理装置は、図14、図15に示す構成に限らず、上述した実施例において説明した処理を実行可能な構成であればよい。   The configuration example of the information processing apparatus illustrated in FIGS. 14 and 15 is an example of the apparatus, and the information processing apparatus is not limited to the configuration illustrated in FIGS. 14 and 15, and executes the processing described in the above-described embodiments. Any configuration is possible.

以上、特定の実施例を参照しながら、本発明について詳解してきた。しかしながら、本発明の要旨を逸脱しない範囲で当業者が該実施例の修正や代用を成し得ることは自明である。すなわち、例示という形態で本発明を開示してきたのであり、限定的に解釈されるべきではない。本発明の要旨を判断するためには、特許請求の範囲の欄を参酌すべきである。   The present invention has been described in detail above with reference to specific embodiments. However, it is obvious that those skilled in the art can make modifications and substitutions of the embodiments without departing from the gist of the present invention. In other words, the present invention has been disclosed in the form of exemplification, and should not be interpreted in a limited manner. In order to determine the gist of the present invention, the claims should be taken into consideration.

また、明細書中において説明した一連の処理はハードウェア、またはソフトウェア、あるいは両者の複合構成によって実行することが可能である。ソフトウェアによる処理を実行する場合は、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれたコンピュータ内のメモリにインストールして実行させるか、あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。   The series of processes described in the specification can be executed by hardware, software, or a combined configuration of both. When executing processing by software, the program recording the processing sequence is installed in a memory in a computer incorporated in dedicated hardware and executed, or the program is executed on a general-purpose computer capable of executing various processing. It can be installed and run.

例えば、プログラムは記録媒体としてのハードディスクやROM(Read Only Memory)に予め記録しておくことができる。あるいは、プログラムはフレキシブルディスク、CD−ROM(Compact Disc Read Only Memory),MO(Magneto optical)ディスク,DVD(Digital Versatile Disc)、磁気ディスク、半導体メモリなどのリムーバブル記録媒体に、一時的あるいは永続的に格納(記録)しておくことができる。このようなリムーバブル記録媒体は、いわゆるパッケージソフトウエアとして提供することができる。   For example, the program can be recorded in advance on a hard disk or ROM (Read Only Memory) as a recording medium. Alternatively, the program is temporarily or permanently stored on a removable recording medium such as a flexible disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, or a semiconductor memory. It can be stored (recorded). Such a removable recording medium can be provided as so-called package software.

なお、プログラムは、上述したようなリムーバブル記録媒体からコンピュータにインストールする他、ダウンロードサイトから、コンピュータに無線転送したり、LAN(Local Area Network)、インターネットといったネットワークを介して、コンピュータに有線で転送し、コンピュータでは、そのようにして転送されてくるプログラムを受信し、内蔵するハードディスク等の記録媒体にインストールすることができる。   The program is installed on the computer from the removable recording medium as described above, or is wirelessly transferred from the download site to the computer, or is wired to the computer via a network such as a LAN (Local Area Network) or the Internet. The computer can receive the program transferred in this manner and install it on a recording medium such as a built-in hard disk.

なお、明細書に記載された各種の処理は、記載に従って時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。また、本明細書においてシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   Note that the various processes described in the specification are not only executed in time series according to the description, but may be executed in parallel or individually according to the processing capability of the apparatus that executes the processes or as necessary. Further, in this specification, the system is a logical set configuration of a plurality of devices, and the devices of each configuration are not limited to being in the same casing.

以上、説明したように、本発明の一実施例構成によれば、情報記録媒体に対する情報記録処理に際して、情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報をファイルアロケーションテーブルに登録する処理を実行し、情報記録媒体に対する記録データに対応するファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至る前に、第1のファイルアロケーションテーブルに新規ファイルへの連続記録を示す特殊コードを設定し、特殊コードの設定エントリ位置に対応する第2のファイルアロケーションテーブルのエントリ位置に、新規ファイルに対応する先頭クラスタ番号を設定する構成としたので、ファイルシステムにおいて許容するファイルサイズに制限されることのない複数ファイルを適用したデータの連続記録処理が実現される。   As described above, according to the configuration of one embodiment of the present invention, in the information recording process on the information recording medium, the cluster number chain information applied as the calculation information of the data recording position in the information recording medium is displayed in the file allocation table. Before the recording data amount of the file corresponding to the recording data on the information recording medium reaches the file size allowed in the file system, continuous recording to the new file is performed in the first file allocation table. The file size allowed in the file system is set so that the special cluster code is set and the first cluster number corresponding to the new file is set at the entry position of the second file allocation table corresponding to the entry position of the special code. Is not limited to Continuous recording of data according to the multiple files can be achieved.

また、本発明の一実施例構成によれば、情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を記録したファイルアロケーションテーブルを適用して、クラスタ連鎖情報を取得して情報記録媒体からの情報再生制御を行なう際、第1のファイルアロケーションテーブルから、データ読み取り実行中のファイルと異なる継続記録ファイルへの連続記録を示す特殊コードを取得した場合に、特殊コードの設定エントリ位置に対応する第2のファイルアロケーションテーブルのエントリから、継続記録ファイルに対応する先頭クラスタ番号を取得することを可能としたので、ファイルアロケーションテーブルの参照による複数ファイルを連続適用したデータ取得再生処理が実現される。   Further, according to the configuration of one embodiment of the present invention, the cluster allocation information is obtained by applying the file allocation table in which the cluster number chain information applied as the calculation information of the data recording position in the information recording medium is applied. When the information reproduction control from the information recording medium is performed, a special code setting entry is obtained when a special code indicating continuous recording to a continuous recording file different from the file being read is acquired from the first file allocation table. Since the first cluster number corresponding to the continuous recording file can be acquired from the entry of the second file allocation table corresponding to the position, the data acquisition / playback process in which a plurality of files are continuously applied by referring to the file allocation table is performed. Realized.

FAT16およびFAT32でフォーマットした場合のデータ構造について説明する図である。It is a figure explaining the data structure at the time of formatting by FAT16 and FAT32. マスターブートレコード(MBR)のデータ構成について説明する図である。It is a figure explaining the data structure of a master boot record (MBR). ファイル毎に形成されるディレクトリエントリの情報構造を説明する図である。It is a figure explaining the information structure of the directory entry formed for every file. 一般的なファイルアロケーションテーブル(FAT)のデータ構成例について説明する図である。It is a figure explaining the example of a data structure of a general file allocation table (FAT). 本発明を適用した場合のFAT1およびFAT2のデータ構成例を示す図である。It is a figure which shows the data structural example of FAT1 and FAT2 at the time of applying this invention. 本発明の情報処理装置における情報記録処理シーケンスについて説明するフローチャートを示す図である。It is a figure which shows the flowchart explaining the information recording process sequence in the information processing apparatus of this invention. 本発明の情報処理装置における情報記録処理において実行するファイル切り換えシーケンスについて説明するフローチャートを示す図である。It is a figure which shows the flowchart explaining the file switching sequence performed in the information recording process in the information processing apparatus of this invention. 本発明の情報処理装置における情報再生シーケンスについて説明するフローチャートを示す図である。It is a figure which shows the flowchart explaining the information reproduction sequence in the information processing apparatus of this invention. 本発明の一実施例に係る情報処理装置のシステム構成について説明する図である。It is a figure explaining the system configuration | structure of the information processing apparatus which concerns on one Example of this invention. 本発明の一実施例に係る情報処理装置のシステム構成について説明する図である。It is a figure explaining the system configuration | structure of the information processing apparatus which concerns on one Example of this invention. 本発明の一実施例に係る情報処理装置のシステム構成について説明する図である。It is a figure explaining the system configuration | structure of the information processing apparatus which concerns on one Example of this invention. 本発明の情報処理装置における情報記録処理シーケンスについて説明する図である。It is a figure explaining the information recording process sequence in the information processing apparatus of this invention. 本発明の情報処理装置における情報記録処理シーケンスについて説明する図である。It is a figure explaining the information recording process sequence in the information processing apparatus of this invention. 本発明の情報処理装置の一実施例としてのデジタルビデオカメラの構成例について説明する図である。It is a figure explaining the structural example of the digital video camera as one Example of the information processing apparatus of this invention. 本発明の情報処理装置の一実施例としてのPCの構成例について説明する図である。It is a figure explaining the structural example of PC as one Example of the information processing apparatus of this invention.

符号の説明Explanation of symbols

201 アプリケーション
202 ファイルシステム
203 デバイスドライバ
204 情報記録媒体
301 アプリケーション
302 ファイルシステム
303 デバイスドライバ
304 情報記録媒体
311 マウントドライブ情報
320 記録再生制御部
321 FAT制御部
322 クラスタ制御部
323 ディレクトリエントリ制御部
330 メディア制御部
331 位置算出部
341 メモリ
381 ファイルシステム(インタフェース)
382 ファイルシステム(コア)
401 制御部(CPU)
402 カメラ機能制御部
411 光学レンズ部
412 光電変換部
413 画像信号処理部
414 画像入出力部
415 液晶ディスプレイ
416 音声入出力部
417 音声処理部
418 内蔵メモリ(RAM)
419 内蔵メモリ(ROM)
420 操作入力部
431 通信部
432 ドライブ
441 電源
501 CPU(Central Processing Unit)
502 ROM(Read-Only-Memory)
503 RAM(Random Access Memory)
504 ホストバス
505 ブリッジ
506 外部バス
507 インタフェース
508 キーボード
509 ポインティングデバイス
510 ディスプレイ
511 HDD(Hard Disk Drive)
512 ドライブ
514 接続ポート
515 通信部
521 リムーバブル記録媒体
522 外部接続機器
201 Application 202 File System 203 Device Driver 204 Information Recording Medium 301 Application 302 File System 303 Device Driver 304 Information Recording Medium 311 Mount Drive Information 320 Recording / Playback Control Unit 321 FAT Control Unit 322 Cluster Control Unit 323 Directory Entry Control Unit 330 Media Control Unit 331 Position calculation unit 341 Memory 381 File system (interface)
382 File system (core)
401 Control unit (CPU)
402 Camera Function Control Unit 411 Optical Lens Unit 412 Photoelectric Conversion Unit 413 Image Signal Processing Unit 414 Image Input / Output Unit 415 Liquid Crystal Display 416 Audio Input / Output Unit 417 Audio Processing Unit 418 Built-in Memory (RAM)
419 Internal memory (ROM)
420 Operation Input Unit 431 Communication Unit 432 Drive 441 Power Supply 501 CPU (Central Processing Unit)
502 ROM (Read-Only-Memory)
503 RAM (Random Access Memory)
504 Host bus 505 Bridge 506 External bus 507 Interface 508 Keyboard 509 Pointing device 510 Display 511 HDD (Hard Disk Drive)
512 drive 514 connection port 515 communication unit 521 removable recording medium 522 external connection device

Claims (16)

情報処理装置であり、
情報記録媒体に対する情報記録制御を行なうとともに、情報記録媒体におけるデータ記録位置に関する連鎖情報をテーブルに登録する処理を実行する記録制御部を有し、
前記記録制御部は、
データ記録ファイルの切り替えに応じて、前記テーブルに先行ファイルと後続ファイルの連鎖情報を記録する処理を実行する構成であることを特徴とする情報処理装置。
An information processing device,
A recording control unit that performs information recording control on the information recording medium and executes processing for registering chain information relating to data recording positions in the information recording medium in a table,
The recording control unit
An information processing apparatus configured to execute processing for recording chain information of a preceding file and a succeeding file in the table according to switching of a data recording file.
前記記録制御部は、
前記テーブルにおける先行ファイルの最終連鎖情報登録位置に後続ファイルの存在を示す特殊コードを設定する処理を実行する構成であることを特徴とする請求項1に記載の情報処理装置。
The recording control unit
The information processing apparatus according to claim 1, wherein the information processing apparatus is configured to execute a process of setting a special code indicating the presence of a subsequent file at a final chain information registration position of the preceding file in the table.
前記記録制御部は、
情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を第1のファイルアロケーションテーブルと第2のファイルアロケーションテーブルに対して登録する処理を実行するとともに、情報記録媒体に対する記録データに対応して設定されたファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至る前に、前記第1のファイルアロケーションテーブルに新規ファイルへの連続記録を示す特殊コードを設定し、該特殊コードの設定エントリ位置に対応する前記第2のファイルアロケーションテーブルのエントリ位置に、前記新規ファイルに対応する先頭クラスタ番号を設定し、複数の異なるファイルを適用したデータの連続記録処理を実行する構成であることを特徴とする請求項1に記載の情報処理装置。
The recording control unit
A process for registering chain information of cluster numbers applied as data recording position calculation information in the information recording medium in the first file allocation table and the second file allocation table, and recording data on the information recording medium Before the recording data amount of the file set corresponding to the file size reaches the file size allowed in the file system, a special code indicating continuous recording to a new file is set in the first file allocation table, and the special data is set. The configuration is such that the start cluster number corresponding to the new file is set at the entry position of the second file allocation table corresponding to the set entry position of the code, and continuous recording processing of data to which a plurality of different files are applied is executed. Claims The information processing apparatus according to.
前記記録制御部は、
情報記録媒体に対する記録データに対応して設定されたファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至ると判断した場合、ファイルシステムにおいて規定されたデータ終端を示すEOFコードを前記第1のファイルアロケーションテーブルに記録することなく、前記特殊コードを記録する処理を実行する構成であることを特徴とする請求項3に記載の情報処理装置。
The recording control unit
When it is determined that the recording data amount of the file set corresponding to the recording data for the information recording medium reaches the file size allowed in the file system, the EOF code indicating the data end specified in the file system is used. The information processing apparatus according to claim 3, wherein the processing for recording the special code is performed without recording in the file allocation table.
前記記録制御部は、
前記第2のファイルアロケーションテーブルを、基本的に前記第1のファイルアロケーションテーブルのコピー情報記録テーブルとして適用し、前記第1のファイルアロケーションテーブルにおける特殊コード記録エントリに対応する第2のファイルアロケーションテーブルのエントリにのみ、異なるファイルについての先頭クラスタ番号の設定処理を実行する構成であることを特徴とする請求項3に記載の情報処理装置。
The recording control unit
The second file allocation table is basically applied as a copy information recording table of the first file allocation table, and the second file allocation table corresponding to the special code recording entry in the first file allocation table is used. The information processing apparatus according to claim 3, wherein only the entry is configured to execute a process for setting a leading cluster number for different files.
情報処理装置であり、
情報記録媒体におけるデータ記録位置の連鎖情報を登録したテーブルから連鎖情報を取得し、該取得情報に従って情報記録媒体からの情報再生制御を行なう再生制御部を有し、
前記再生制御部は、
前記テーブルから、異なるファイル間の連鎖情報を取得して、複数ファイルを適用した連続再生処理を実行する構成であることを特徴とする情報処理装置。
An information processing device,
A chain controller that acquires chain information from a table in which chain information of data recording positions in the information recording medium is registered, and has a playback control unit that performs information playback control from the information recording medium according to the acquired information;
The reproduction control unit
An information processing apparatus having a configuration in which chain information between different files is acquired from the table, and continuous reproduction processing using a plurality of files is executed.
前記再生制御部は、
情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を記録した第1のファイルアロケーションテーブルと第2のファイルアロケーションテーブルを利用したクラスタ連鎖情報取得処理を実行する構成であり、前記第1のファイルアロケーションテーブルから、データ読み取り実行中のファイルと異なる継続記録ファイルへの連続記録を示す特殊コードを取得した場合、該特殊コードの設定エントリ位置に対応する前記第2のファイルアロケーションテーブルのエントリから、継続記録ファイルに対応する先頭クラスタ番号を取得する処理を実行し、複数ファイルの連続適用によるデータ取得再生処理を実行する構成であることを特徴とする請求項6に記載の情報処理装置。
The reproduction control unit
A configuration for executing cluster chain information acquisition processing using a first file allocation table and a second file allocation table in which chain information of cluster numbers applied as calculation information of a data recording position in an information recording medium is recorded; The second file allocation table corresponding to the set entry position of the special code when the special code indicating the continuous recording to the continuous recording file different from the file being read is acquired from the first file allocation table. 7. The information processing according to claim 6, wherein a process for acquiring a head cluster number corresponding to a continuous recording file is executed from the entry of the file, and a data acquisition / reproduction process by continuous application of a plurality of files is executed. apparatus.
情報処理方法であり、
情報記録媒体に対する情報記録制御を行なうとともに、情報記録媒体におけるデータ記録位置に関する連鎖情報をテーブルに登録する処理を実行する記録制御ステップを有し、
前記記録制御ステップは、
データ記録ファイルの切り替えに応じて、前記テーブルに先行ファイルと後続ファイルの連鎖情報を記録する処理を実行することを特徴とする情報処理方法。
An information processing method,
A recording control step for performing information recording control on the information recording medium and executing processing for registering chain information relating to data recording positions in the information recording medium in a table;
The recording control step includes
An information processing method comprising: executing a process of recording chain information of a preceding file and a succeeding file in the table according to switching of a data recording file.
前記記録制御ステップは、
前記テーブルにおける先行ファイルの最終連鎖情報登録位置に後続ファイルの存在を示す特殊コードを設定する処理を実行することを特徴とする請求項8に記載の情報処理方法。
The recording control step includes
9. The information processing method according to claim 8, wherein a process of setting a special code indicating the presence of a subsequent file at a final chain information registration position of the preceding file in the table is executed.
前記記録制御ステップにおいて、
情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を第1のファイルアロケーションテーブルと第2のファイルアロケーションテーブルに対して登録する処理を実行するとともに、情報記録媒体に対する記録データに対応して設定されたファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至る前に、前記第1のファイルアロケーションテーブルに新規ファイルへの連続記録を示す特殊コードを設定し、該特殊コードの設定エントリ位置に対応する前記第2のファイルアロケーションテーブルのエントリ位置に、前記新規ファイルに対応する先頭クラスタ番号を設定し、複数の異なるファイルを適用したデータの連続記録処理を実行することを特徴とする請求項8に記載の情報処理方法。
In the recording control step,
A process for registering chain information of cluster numbers applied as data recording position calculation information in the information recording medium in the first file allocation table and the second file allocation table, and recording data on the information recording medium Before the recording data amount of the file set corresponding to the file size reaches the file size allowed in the file system, a special code indicating continuous recording to a new file is set in the first file allocation table, and the special data is set. The first cluster number corresponding to the new file is set at the entry position of the second file allocation table corresponding to the set entry position of the code, and continuous recording processing of data to which a plurality of different files are applied is executed. 9. The feature of claim 8 Broadcast processing method.
前記記録制御ステップにおいて、
情報記録媒体に対する記録データに対応して設定されたファイルの記録データ量が、ファイルシステムにおいて許容するファイルサイズに至ると判断した場合、ファイルシステムにおいて規定されたデータ終端を示すEOFコードを前記第1のファイルアロケーションテーブルに記録することなく、前記特殊コードを記録する処理を実行することを特徴とする請求項10に記載の情報処理方法。
In the recording control step,
When it is determined that the recording data amount of the file set corresponding to the recording data for the information recording medium reaches the file size allowed in the file system, the EOF code indicating the data end specified in the file system is used as the first file. The information processing method according to claim 10, wherein the process of recording the special code is executed without recording in the file allocation table.
前記記録制御ステップにおいて、
前記第2のファイルアロケーションテーブルを、基本的に前記第1のファイルアロケーションテーブルのコピー情報記録テーブルとして適用したデータ登録を実行し、前記第1のファイルアロケーションテーブルにおける特殊コード記録エントリに対応する第2のファイルアロケーションテーブルのエントリにのみ、異なるファイルについての先頭クラスタ番号の設定処理を実行することを特徴とする請求項10に記載の情報処理方法。
In the recording control step,
Data registration is executed by applying the second file allocation table basically as a copy information recording table of the first file allocation table, and a second code corresponding to the special code recording entry in the first file allocation table is executed. 11. The information processing method according to claim 10, wherein a setting process of a leading cluster number for a different file is executed only for an entry in the file allocation table.
情報処理方法であり、
情報記録媒体におけるデータ記録位置の連鎖情報を登録したテーブルから連鎖情報を取得し、該取得情報に従って情報記録媒体からの情報再生制御を行なう再生制御ステップを有し、
前記再生制御ステップは、
前記テーブルから、異なるファイル間の連鎖情報を取得して、複数ファイルを適用した連続再生処理を実行することを特徴とする情報処理方法。
An information processing method,
A chain control step of acquiring chain information from a table in which chain information of data recording positions in the information recording medium is registered, and performing playback control of information from the information recording medium according to the acquired information;
The reproduction control step includes
An information processing method comprising: acquiring chain information between different files from the table and executing a continuous reproduction process using a plurality of files.
前記再生制御ステップにおいて、
情報記録媒体におけるデータ記録位置の算出情報として適用されるクラスタ番号の連鎖情報を記録した第1のファイルアロケーションテーブルと第2のファイルアロケーションテーブルを利用したクラスタ連鎖情報取得処理を実行する構成であり、前記第1のファイルアロケーションテーブルから、データ読み取り実行中のファイルと異なる継続記録ファイルへの連続記録を示す特殊コードを取得した場合、該特殊コードの設定エントリ位置に対応する前記第2のファイルアロケーションテーブルのエントリから、継続記録ファイルに対応する先頭クラスタ番号を取得する処理を実行し、複数ファイルの連続適用によるデータ取得再生処理を実行することを特徴とする請求項13に記載の情報処理方法。
In the reproduction control step,
A configuration for executing cluster chain information acquisition processing using a first file allocation table and a second file allocation table in which chain information of cluster numbers applied as data recording position calculation information in an information recording medium is recorded; The second file allocation table corresponding to the set entry position of the special code when the special code indicating the continuous recording to the continuous recording file different from the file being read is acquired from the first file allocation table. 14. The information processing method according to claim 13, wherein a process of acquiring a head cluster number corresponding to a continuous recording file is executed from the entry of No. 5, and a data acquisition / playback process by continuous application of a plurality of files is executed.
情報処理装置において情報記録処理制御を実行させるコンピュータ・プログラムであり、
情報記録媒体に対する情報記録制御を行なうとともに、情報記録媒体におけるデータ記録位置に関する連鎖情報をテーブルに登録する処理を実行する記録制御ステップを有し、
前記記録制御ステップは、
データ記録ファイルの切り替えに応じて、前記テーブルに先行ファイルと後続ファイルの連鎖情報を記録する処理を実行するステップとして設定されていることを特徴とするコンピュータ・プログラム。
A computer program for executing information recording processing control in an information processing apparatus;
A recording control step for performing information recording control on the information recording medium and executing processing for registering chain information relating to data recording positions in the information recording medium in a table;
The recording control step includes
A computer program set as a step of executing processing for recording chain information of a preceding file and a succeeding file in the table in accordance with switching of a data recording file.
情報処理装置において情報再生処理制御を実行させるコンピュータ・プログラムであり、
情報記録媒体におけるデータ記録位置の連鎖情報を登録したテーブルから連鎖情報を取得し、該取得情報に従って情報記録媒体からの情報再生制御を行なう再生制御ステップを有し、
前記再生制御ステップは、
前記テーブルから、異なるファイル間の連鎖情報を取得して、複数ファイルを適用した連続再生処理を実行するステップとして設定されていることを特徴とするコンピュータ・プログラム。
A computer program for executing information reproduction processing control in an information processing device,
A chain control step of acquiring chain information from a table in which chain information of data recording positions in the information recording medium is registered, and performing playback control of information from the information recording medium according to the acquired information;
The reproduction control step includes
A computer program set as a step of acquiring chain information between different files from the table and executing a continuous reproduction process using a plurality of files.
JP2005296468A 2005-10-11 2005-10-11 Information processor, information processing method, and computer program Pending JP2007108853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005296468A JP2007108853A (en) 2005-10-11 2005-10-11 Information processor, information processing method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005296468A JP2007108853A (en) 2005-10-11 2005-10-11 Information processor, information processing method, and computer program

Publications (1)

Publication Number Publication Date
JP2007108853A true JP2007108853A (en) 2007-04-26

Family

ID=38034689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005296468A Pending JP2007108853A (en) 2005-10-11 2005-10-11 Information processor, information processing method, and computer program

Country Status (1)

Country Link
JP (1) JP2007108853A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010020845A (en) * 2008-07-10 2010-01-28 Canon Inc Method and device for initializing recording medium
JP2011028393A (en) * 2009-07-22 2011-02-10 Nec Corp Data replication system and data processing method
JP2013125563A (en) * 2011-12-14 2013-06-24 Canon Inc Recording apparatus
CN112394876A (en) * 2019-08-14 2021-02-23 深圳市特思威尔科技有限公司 Large file storage/reading method, storage/reading device and computer equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010020845A (en) * 2008-07-10 2010-01-28 Canon Inc Method and device for initializing recording medium
JP2011028393A (en) * 2009-07-22 2011-02-10 Nec Corp Data replication system and data processing method
JP2013125563A (en) * 2011-12-14 2013-06-24 Canon Inc Recording apparatus
CN112394876A (en) * 2019-08-14 2021-02-23 深圳市特思威尔科技有限公司 Large file storage/reading method, storage/reading device and computer equipment
CN112394876B (en) * 2019-08-14 2024-02-23 深圳市特思威尔科技有限公司 Large file storage/reading method, storage/reading device and computer equipment

Similar Documents

Publication Publication Date Title
US6378031B1 (en) Data processing apparatus and file management method therefor
JP4561759B2 (en) Information processing apparatus, information recording medium, information processing method, and computer program
JP2007122221A (en) Information processor, information processing method and computer program
JP2008107965A (en) Information processing apparatus, information processing method, program, and program recording medium
US7747144B2 (en) Information processing apparatus, information processing method, recording medium, control
US8867889B2 (en) Apparatus, method, and computer program for processing information
JP2007108853A (en) Information processor, information processing method, and computer program
JP4106702B2 (en) Information processing apparatus, data recording / reproducing method, program for data recording / reproducing method, and recording medium recording program for data recording / reproducing method
JP2007257061A (en) Data storage apparatus and data access method
JP4470471B2 (en) Recording / reproducing apparatus and method, and recording / reproducing system
JP2007128286A (en) Reproducing apparatus, reproducing method and reproducing program
JP2007264870A (en) Information processor, information processing method, and computer program
JP2007528086A (en) Flexible formatting for universal storage
JP2005093010A (en) Recording device, recording method, and program
JP2006178633A (en) Information processor, information processing method, and program
JP4480592B2 (en) File system
JP4561323B2 (en) Information processing apparatus, information processing method, and program
JP2006164017A (en) Information processor, information processing method, and program
JP2001043662A (en) Disk medium managing method
JP2008262381A (en) Information processor, information processing method and computer program
JP4391329B2 (en) Recording control apparatus, recording control method, recording / reproducing apparatus, recording control program, and recording medium recording the recording control program
JP2007058671A (en) Information processor, method and program, and recording medium
JP2009301683A (en) Recording and playback device, recording and playback method, and computer program
JP2001057058A (en) Information processing device and method for accessing information recording device
JP2009104739A (en) Recording media control device, recording media control method, and computer program