JP2001110169A - Data management methods - Google Patents
Data management methodsInfo
- Publication number
- JP2001110169A JP2001110169A JP28899299A JP28899299A JP2001110169A JP 2001110169 A JP2001110169 A JP 2001110169A JP 28899299 A JP28899299 A JP 28899299A JP 28899299 A JP28899299 A JP 28899299A JP 2001110169 A JP2001110169 A JP 2001110169A
- Authority
- JP
- Japan
- Prior art keywords
- area
- virtual
- file
- data
- management information
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
(57)【要約】
【課題】 記録媒体上に一度定義されたエリアの大きさ
を変更するということは、そのエリアを管理する管理情
報を変更する必要があることを意味する。エリアの大き
さを管理する管理情報を更新するだけではなく、そのエ
リア内の空き領域を管理している前述のFATやSpace Bit
mapを変更されるエリアの大きさに合わせて変更する必
要があり、手間がかかる。
【解決手段】 第1の領域中に、仮想領域として作用す
る第3の領域を作成し、この領域の管理情報は第2のエ
リアに記録し、この仮想領域内に、この仮想領域内のフ
ァイルを管理する管理情報を記録する。
(57) [Summary] To change the size of an area once defined on a recording medium means to change management information for managing the area. Not only updating the management information that manages the size of the area, but also the above-mentioned FAT and Space Bit that manages the free space in the area
It is necessary to change the map according to the size of the area to be changed, which takes time. A third area acting as a virtual area is created in a first area, management information of this area is recorded in a second area, and a file in the virtual area is stored in the virtual area. Record management information for managing
Description
【0001】[0001]
【発明の属する技術分野】本発明は、記録媒体上に記録
領域を確保し、その領域内にデータを記録する場合にお
ける、領域及びデータの管理方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an area and data management method when a recording area is secured on a recording medium and data is recorded in the area.
【0002】[0002]
【従来の技術】同一のディスクを複数のエリアに分割し
て管理する理由の1つに、前述したように種類や性質の
異なったデータを効率良く記録すると言った目的が挙げ
られる。例えば、動画像を独自の論理ファイルシステム
を用いて、静止画像をデジタルカメラなどで広く使われ
ている、DCF規格に準拠したFATファイルシステムを用い
て管理したいと言った要求が考えられる。2. Description of the Related Art One of the reasons for managing a single disk by dividing it into a plurality of areas is to efficiently record data of different types and properties as described above. For example, there may be a request to manage moving images using a unique logical file system and still images using a FAT file system compliant with the DCF standard, which is widely used in digital cameras and the like.
【0003】エリアはディスクを初期化する段階で定義
するのが一般的である。初期化時に動画像用のエリアと
静止画像用のエリアを定義する場合、それぞれのエリア
の大きさをどのように決定するかが問題となる。例え
ば、静止画像用のエリアの大きさを小さく取り過ぎる
と、このディスクに記録できる静止画像の枚数が少なく
なり、静止画像用のエリアの大きさを大きく取り過ぎる
と、今度は全く静止画像を撮影しなかった場合に、その
確保したエリアの領域が無駄になってしまうことにな
る。An area is generally defined at the stage of initializing a disk. When defining a moving image area and a still image area at the time of initialization, how to determine the size of each area is a problem. For example, if the size of the still image area is set too small, the number of still images that can be recorded on this disc decreases, and if the size of the still image area is set too large, a still image is taken at all. Otherwise, the secured area is wasted.
【0004】そこで、エリアの大きさや個数を使用過程
において動的に変更することが要求されることになる。
例えば、静止画像を記録するエリアと動画像を記録する
エリアの大きさを使用目的に応じてユーザが適当な大き
さを考えて、ディスクの初期化時に定義する。このとき
に、ファイルシステムによっては、各エリアの管理領域
の大きさも適宜変更することができる。これは、ファイ
ルを1つ作成する毎に、ファイルの管理情報が管理領域
に作成されるために、管理領域が少ないと、作成するフ
ァイル数が少なくなってしまい、管理領域を多くとる
と、実データを記録する領域が少なくなってしまうとい
う問題があるためである。ファイルシステムによって
は、一義的に管理領域の大きさを決定するようにしても
よい。Therefore, it is required to dynamically change the size and the number of the areas in the use process.
For example, the size of an area for recording a still image and an area for recording a moving image is defined by the user at the time of initializing the disc, considering an appropriate size according to the purpose of use. At this time, depending on the file system, the size of the management area of each area can be changed as appropriate. This is because the management information of the file is created in the management area every time one file is created. Therefore, if the management area is small, the number of files to be created is reduced. This is because there is a problem that the area for recording data is reduced. Depending on the file system, the size of the management area may be uniquely determined.
【0005】ここで、静止画像用のエリアが一杯になっ
た段階で新たな静止画像用のエリアを定義する事を考え
る。既にエリアが定義された状態で新たなエリアを定義
する場合は、新たに定義するエリアに対応するディスク
上の領域を定義しなければならない。ディスク上の領域
が既に前述の動画像と静止画像の2つのエリアによって
使用されているために、動画像用のエリアで確保されて
いるディスク上の領域の内、使用していない部分を解放
し新たに定義するエリアの領域として割り当てなければ
ならない。つまり、既に定義されているエリアの大きさ
を変更することになる。Here, it is considered that a new still image area is defined when the still image area is full. When defining a new area in a state where an area has already been defined, an area on the disk corresponding to the newly defined area must be defined. Since the area on the disk has already been used by the two areas of the moving image and still image, release the unused part of the area on the disk reserved for the moving image area. It must be allocated as a newly defined area. That is, the size of the already defined area is changed.
【0006】一度定義されたエリアの大きさを変更する
ということは、そのエリアを管理する管理情報を変更す
る必要があることを意味する。エリアの大きさを管理す
る管理情報を更新するだけではなく、そのエリア内の空
き領域を管理している前述のFATやSpace Bitmapを変更
されるエリアの大きさに合わせて変更する必要がある。
これは、FATやSpace Bitmapが管理するエリア内の全論
理ブロックに対応して作成されるため、エリア内の論理
ブロック数が変更になればこれらの情報も同時に変更し
なければならない事になる。[0006] Changing the size of an area once defined means that it is necessary to change management information for managing the area. In addition to updating the management information for managing the size of the area, it is necessary to change the above-mentioned FAT or Space Bitmap which manages the free area in the area according to the size of the area to be changed.
Since this is created corresponding to all the logical blocks in the area managed by the FAT and the Space Bitmap, if the number of logical blocks in the area changes, these information must be changed at the same time.
【0007】このように、新たにエリアを定義するには
既に定義されているエリアに関する管理情報も変更しな
ければならず、手間がかかるという問題点を有してい
る。As described above, in order to define a new area, it is necessary to change the management information relating to the already defined area, and there is a problem that it takes time and effort.
【0008】また、繁雑にエリアの追加や削除と言った
用途を考えた場合、追加や削除の度に発生する管理情報
の変更はシステムのレスポンスの低下という問題につな
がる。[0008] In addition, when the use of adding or deleting an area is considered in a complicated manner, a change in management information that occurs each time an addition or deletion is performed leads to a problem of a decrease in system response.
【0009】[0009]
【発明が解決しようとする課題】同一のディスクを複数
のエリアに分割して管理する理由の1つに、前述したよ
うに種類や性質の異なったデータを効率良く記録すると
言った目的が挙げられる。例えば、動画像を独自の論理
ファイルシステムを用いて、静止画像をデジタルカメラ
などで広く使われている、DCF規格に準拠したFATファイ
ルシステムを用いて管理したいと言った要求が考えられ
る。One of the reasons for managing the same disk by dividing it into a plurality of areas is to record data of different types and properties efficiently as described above. . For example, there may be a request to manage moving images using a unique logical file system and still images using a FAT file system compliant with the DCF standard, which is widely used in digital cameras and the like.
【0010】エリアはディスクを初期化する段階で定義
するのが一般的である。初期化時に動画像用のエリアと
静止画像用のエリアを定義する場合、それぞれのエリア
の大きさをどのように決定するかが問題となる。例え
ば、静止画像用のエリアの大きさを小さく取り過ぎる
と、このディスクに記録できる静止画像の枚数が少なく
なり、静止画像用のエリアの大きさを大きく取り過ぎる
と、今度は全く静止画像を撮影しなかった場合に、その
確保したエリアの領域が無駄になってしまうことにな
る。[0010] The area is generally defined at the stage of initializing the disk. When defining a moving image area and a still image area at the time of initialization, how to determine the size of each area is a problem. For example, if the size of the still image area is set too small, the number of still images that can be recorded on this disc decreases, and if the size of the still image area is set too large, a still image is taken at all. Otherwise, the secured area is wasted.
【0011】そこで、エリアの大きさや個数を使用過程
において動的に変更することが要求されることになる。
例えば、静止画像を記録するエリアと動画像を記録する
エリアの大きさを使用目的に応じてユーザが適当な大き
さを考えて、ディスクの初期化時に定義する。Therefore, it is required to dynamically change the size and the number of the areas in the use process.
For example, the size of an area for recording a still image and an area for recording a moving image is defined by the user at the time of initializing the disc, considering an appropriate size according to the purpose of use.
【0012】このときに、ファイルシステムによって
は、各エリアの管理領域の大きさも適宜変更することが
できる。これは、ファイルを1つ作成する毎に、ファイ
ルの管理情報が管理領域に作成されるために、管理領域
が少ないと、作成するファイル数が少なくなってしま
い、管理領域を多くとると、実データを記録する領域が
少なくなってしまうという問題があるためである。ファ
イルシステムによっては、一義的に管理領域の大きさを
決定するようにしてもよい。At this time, depending on the file system, the size of the management area in each area can be changed as appropriate. This is because the management information of the file is created in the management area every time one file is created. Therefore, if the management area is small, the number of files to be created is reduced. This is because there is a problem that the area for recording data is reduced. Depending on the file system, the size of the management area may be uniquely determined.
【0013】ここで、静止画像用のエリアが一杯になっ
た段階で新たな静止画像用のエリアを定義する事を考え
る。既にエリアが定義された状態で新たなエリアを定義
する場合は、新たに定義するエリアに対応するディスク
上の領域を定義しなければならない。ディスク上の領域
が既に前述の動画像と静止画像の2つのエリアによって
使用されているために、動画像用のエリアで確保されて
いるディスク上の領域の内、使用していない部分を解放
し新たに定義するエリアの領域として割り当てなければ
ならない。つまり、既に定義されているエリアの大きさ
を変更することになる。Now, consider defining a new still image area when the still image area is full. When defining a new area in a state where an area has already been defined, an area on the disk corresponding to the newly defined area must be defined. Since the area on the disk has already been used by the two areas of the moving image and still image, release the unused part of the area on the disk reserved for the moving image area. It must be allocated as a newly defined area. That is, the size of the already defined area is changed.
【0014】一度定義されたエリアの大きさを変更する
ということは、そのエリアを管理する管理情報を変更す
る必要があることを意味する。エリアの大きさを管理す
る管理情報を更新するだけではなく、そのエリア内の空
き領域を管理している前述のFATやSpace Bitmapを変更
されるエリアの大きさに合わせて変更する必要がある。
これは、FATやSpace Bitmapが管理するエリア内の全論
理ブロックに対応して作成されるため、エリア内の論理
ブロック数が変更になればこれらの情報も同時に変更し
なければならない事になる。Changing the size of an area once defined means that it is necessary to change management information for managing the area. In addition to updating the management information for managing the size of the area, it is necessary to change the above-mentioned FAT or Space Bitmap which manages the free area in the area according to the size of the area to be changed.
Since this is created corresponding to all the logical blocks in the area managed by the FAT and the Space Bitmap, if the number of logical blocks in the area changes, these information must be changed at the same time.
【0015】このように、新たにエリアを定義するには
既に定義されているエリアに関する管理情報も変更しな
ければならず、手間がかかるという問題点を有してい
る。As described above, in order to newly define an area, it is necessary to change the management information relating to the already defined area, and there is a problem that it takes time and effort.
【0016】また、繁雑にエリアの追加や削除と言った
用途を考えた場合、追加や削除の度に発生する管理情報
の変更はシステムのレスポンスの低下という問題につな
がる。In addition, when considering the use of adding or deleting an area in a complicated manner, a change in management information that occurs each time an addition or deletion is performed leads to a problem of a decrease in system response.
【0017】[0017]
【課題を解決するための手段】本願の第1の発明によれ
ば、記録媒体上にデータを記録する第1の領域を確保し
て、第1の領域に記録されるデータの管理情報を第1の
エリア内の第2のエリアに記録するデータ管理方法にお
いて、第1の領域中に、仮想領域として作用する第3の
領域を作成し、この領域の管理情報は第2のエリアに記
録し、この仮想領域内に、この仮想領域内のファイルを
管理する管理情報を記録する。According to the first aspect of the present invention, a first area for recording data is secured on a recording medium, and management information of data recorded in the first area is stored in the first area. In the data management method for recording in a second area in one area, a third area acting as a virtual area is created in the first area, and management information of this area is recorded in the second area. In the virtual area, management information for managing files in the virtual area is recorded.
【0018】このように構成することで、第2のエリア
の管理情報で、仮想領域を管理することができ、仮想領
域の設定、削除を容易に行うことができる。この仮想領
域中のファイルは仮想領域内に記録されている管理情報
で管理を行う。この管理情報は、仮想領域内の特定の領
域に記録され、他の領域を管理する例えばFATなどの形
式であってもよいし、他のどのような形式であってもよ
い。With this configuration, the virtual area can be managed by the management information of the second area, and setting and deletion of the virtual area can be easily performed. The files in this virtual area are managed by management information recorded in the virtual area. This management information is recorded in a specific area in the virtual area, and may be in a format such as FAT for managing other areas, or may be in any other form.
【0019】本発明の第2の発明によれば、前記第3の
エリアである仮想領域のサイズを、外部記録媒体のサイ
ズと同一にし、外部記録媒体のデータを前記第3のエリ
アにコピーするものである。According to the second aspect of the present invention, the size of the virtual area as the third area is made equal to the size of the external recording medium, and the data of the external recording medium is copied to the third area. Things.
【0020】このように構成することで、相互の互換を
容易に図ることができる。外部記録媒体のデータはファ
イルとそのファイルを管理する管理情報であり、このデ
ータサイズの仮想領域(第3のエリア)にそのままコピ
ーを行う。With such a configuration, mutual interchangeability can be easily achieved. The data on the external recording medium is a file and management information for managing the file, and the data is directly copied to a virtual area (third area) of this data size.
【0021】本発明の第3の発明によれば、前記仮想領
域を1つのファイルとして構成する。仮想領域を1つの
仮想領域ファイルとすることによって、第2のエリア内
の管理情報で、ファイルとして仮想領域を確保、削除を
容易に行うことができる。According to the third aspect of the present invention, the virtual area is configured as one file. By using the virtual area as one virtual area file, it is possible to easily secure and delete a virtual area as a file using the management information in the second area.
【0022】本発明の第4の発明によれば、前記仮想領
域を1つのディレクトリとして構成する。仮想領域を1
つのデータサイズを持つディレクトリとすることによっ
て、第2のエリア内の管理情報でディレクトリの確保、
削除を行うことが可能であり、仮想領域内のファイルの
管理が通常のディレクトリと同様に管理可能である。According to the fourth aspect of the present invention, the virtual area is configured as one directory. 1 virtual area
With a directory having two data sizes, the directory can be secured by the management information in the second area,
Deletion can be performed, and files in the virtual area can be managed in the same manner as a normal directory.
【0023】[0023]
【発明の実施の形態】以下、本発明のファイル管理方法
に関する実施形態について、図1乃至図33とともに詳細
について説明する。本実施例において、記録装置として
携帯型のディスクを用いたビデオカメラを、ディスクに
記録する映像データはMPEGを、静止画像は日本電子工業
振興協会(JEIDA)のDCF規格(Design rule for Camera
File system)に従うものとする。ディスク装置に関して
は、据え置き型のビデオデッキや、記録媒体はハードデ
ィスクや半導体メモリであっても本実施例をそのまま適
用できるものである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment relating to a file management method of the present invention will be described below in detail with reference to FIGS. In this embodiment, a video camera using a portable disk as a recording device, video data recorded on the disk is MPEG, and still images are DCF standards (Design rule for Camera) of the Japan Electronics Industry Development Association (JEIDA).
File system). As for the disk device, the present embodiment can be applied as it is even if the stationary video deck or the recording medium is a hard disk or a semiconductor memory.
【0024】本発明では、一例として同一ディスクに対
して動画像と静止画像という性質の異なる複数のデータ
を記録する場合について説明を進める。前述したように
性質の異なる映像データと静止画データを同一記録媒体
に記録するので、それぞれのデータに適した論理ファイ
ルシステムを使用することにする。In the present invention, as an example, a case will be described in which a plurality of data having different properties, that is, a moving image and a still image, are recorded on the same disk. As described above, since video data and still image data having different properties are recorded on the same recording medium, a logical file system suitable for each data is used.
【0025】次に、本実施形態において使用する論理フ
ァイルシステムについての詳細を説明する。論理ファイ
ルシステムとは、ディスクメディアに記録されているデ
ータをファイル形式で管理をすることによって、ディス
クを使用するユーザやアプリケーションプログラムにと
って使い勝手の良さを提供するものである。ディスク上
の任意の箇所に分断されて記録されているようなデータ
であってもファイルを指定することによって、データの
読み出しが容易に行なえることが可能となる。また、デ
ィレクトリの概念によってディスクに記録されるファイ
ルを効率良く整理し管理することが可能となる。Next, details of the logical file system used in this embodiment will be described. The logical file system manages data recorded on a disk medium in a file format, thereby providing ease of use for a user using the disk or an application program. By designating a file even for data that is divided and recorded at an arbitrary location on a disk, data can be easily read. In addition, the concept of a directory makes it possible to efficiently organize and manage files recorded on a disc.
【0026】ディスクは、一般的にセクタの集合で構成
されておりセクタにはアドレスが付加されている。特に
論理ファイルシステムが管理を行なえるセクタを論理セ
クタと呼ぶ事とする。通常ディスクには、パリティーを
記録する領域やセクタに欠陥などが生じた時に、代替と
して使用するセクタの領域など、論理ファイルシステム
がアクセスできない領域がある。また、本発明では更に
論理ブロックという概念を導入する。論理ブロックとは
2n(n=>0)個の論理セクタを集めた管理単位である。本
論理ファイルシステムにおいての最小管理単位をこの論
理ブロックとする。本説明においては論理セクタの大き
さは2KBとし、論理ブロックの大きさも同じ2KBとする。A disk is generally composed of a set of sectors, and an address is added to each sector. In particular, a sector that can be managed by the logical file system is called a logical sector. In a normal disk, there are areas that cannot be accessed by the logical file system, such as an area for recording parity and an area for a sector used as a substitute when a defect occurs in a sector. The present invention further introduces the concept of a logical block. What is a logical block?
This is a management unit in which 2n (n => 0) logical sectors are collected. The minimum management unit in this logical file system is this logical block. In this description, the size of the logical sector is 2 KB, and the size of the logical block is also 2 KB.
【0027】本実施形態で説明する論理ファイルシステ
ムは、Volumeレベルの論理ファイルシステムの管理情報
とAreaレベルの論理ファイルシステムの管理情報に区別
されている。図1に記録媒体上での様子を示す。Volume
レベルの論理ファイルシステムの管理情報によって、特
定用途のAreaを任意の個数定義することが可能となる。
この図1の例では、記録媒体上に1つのAreaを定義してい
る場合を示している。The logical file system described in the present embodiment is divided into management information of a logical file system at a volume level and management information of a logical file system at an area level. FIG. 1 shows a state on a recording medium. Volume
Any number of Areas for specific use can be defined by the management information of the logical file system at the level.
The example of FIG. 1 shows a case where one Area is defined on the recording medium.
【0028】図1においては記録媒体全体がVolume Spa
ceとなっている。このVolume Spaceのうち、Volumeを管
理する領域がVolume Management Spaceであり、それ以
外の部分がAllocatable Spaceである。この例では1つの
Volume Spaceに1つのAreaを定義するので、このAllocat
able Space = Areaとなる。In FIG. 1, the entire recording medium is a Volume Spa
ce. In the Volume Space, the area for managing the Volume is the Volume Management Space, and the rest is the Allocatable Space. In this example one
Since one Area is defined in Volume Space, this Allocat
able Space = Area.
【0029】Volumeを管理する管理情報は Volume Mana
gement Spaceに記録される。1つのVolumeにおいて、こ
のVolume Management Spaceを除く領域が Area とな
る。このVolume Management Spaceには、ディスク全体
の基本管理情報を記録するPrimaryVolume Descriptor
(PVD)、エリアの基本管理情報を記録するArea Descript
or(AD)が記録される。The management information for managing Volume is Volume Mana
Recorded in gement Space. In one Volume, an area excluding the Volume Management Space is an Area. In this Volume Management Space, a Primary Volume Descriptor that records basic management information of the entire disk
(PVD), Area Descript to record basic management information of the area
or (AD) is recorded.
【0030】前述のPVDはディスクの論理セクタ番号0
(LSN=0)と論理セクタ番号16(LSN=16)に同一内容の
ものが記録される。論理セクタ16に記録されるPVDはバ
ックアップ目的で使われる。論理セクタ0に記録されたP
VDにアクセスすることによって、ディスクの基本管理情
報とディスク上に定義されたAreaを管理するArea Descr
iptorが記録されている位置を把握することができる。The above PVD is the logical sector number 0 of the disk.
(LSN = 0) and logical sector number 16 (LSN = 16) are recorded with the same contents. The PVD recorded in the logical sector 16 is used for backup purpose. P recorded in logical sector 0
Area Descr that manages the basic management information of the disk and the area defined on the disk by accessing the VD
The location where the iptor is recorded can be grasped.
【0031】Volume Management Spaceとして確保され
た領域の論理セクタ番号32(LSN=32)以降にArea Descr
iptorが記録される。Area Descriptorは定義されたArea
の数だけVolume Management Spaceに記録される。PVDの
情報を元に、Area Descriptorの管理情報をディスクか
ら読み出す。Area Descriptorにより、Areaの基本情報
および、Area内で最初にアクセスすべきディスク上の管
理情報の位置情報を把握することが可能となる。After the logical sector number 32 (LSN = 32) of the area secured as Volume Management Space, Area Descr
iptor is recorded. Area Descriptor is defined Area
Are recorded in the Volume Management Space. The management information of the Area Descriptor is read from the disk based on the information of the PVD. The Area Descriptor makes it possible to grasp the basic information of the Area and the position information of the management information on the disk to be accessed first in the Area.
【0032】まず、Primary Volume Descriptor (PVD)
のデータ構造について図2を用いて説明する。Primary V
olume Descriptor(PVD)は、ディスク全体の基本管理
情報を記録する管理記述子である。PVDは、PVDを識別す
るためのID(Header ID)、管理を行なうディスクの種
別(Disk Type)、ディスクを区別するためのID(DiskI
D)、ディスクの大きさ(Volume Size)、Allocatable
Spaceにおける空き領域の大きさ(Free Logical Sector
s in Allocatable Space)、ディスク名(Volume Nam
e)、PVDの作成および修正日時(Creation Time & Dat
e、Modified Time &Date)、Areaを管理するための管理
領域であるVolume Management Spaceのディスク上での
位置情報である開始論理セクタ番号と論理セクタ数(Lo
cation of Volume Management Space)、Areaを定義す
るためのディスク領域を管理するAllocatable Spaceの
ディスク上での位置情報である開始論理セクタ番号と論
理セクタ数(Location of Allocatable Space)、Alloc
atable Spaceに定義されたArea数(Number of Area
s)、定義されたAreaの基本情報が記録されるArea Desc
riptorのディスク上での記録位置(Location of Area D
escriptor)によって構成される。なお、Location of A
rea DescriptorはNumber of Areasの値だけ存在するこ
とになる。つまり、図11の例のように、1つのVolumeに
1つのAreaしかない場合は、Location of Area Descrip
torは1つとなる。First, Primary Volume Descriptor (PVD)
The data structure of will be described with reference to FIG. Primary V
The olume Descriptor (PVD) is a management descriptor that records basic management information of the entire disc. PVD includes an ID (Header ID) for identifying the PVD, a type of disk to be managed (Disk Type), and an ID for identifying the disk (DiskI
D), disk size (Volume Size), Allocatable
Space size (Free Logical Sector)
s in Allocatable Space), disk name (Volume Nam
e) PVD creation and modification date (Creation Time & Dat
e, Modified Time & Date), the starting logical sector number and the number of logical sectors (Lo), which are positional information on the disk of the Volume Management Space, which is the management area for managing Area
The start logical sector number and the number of logical sectors (Location of Allocatable Space), which are the location information on the disk of the Allocatable Space that manages the disk area for defining the Area and the Area of Allocatable Space.
Number of Area defined in atable Space
s), Area Desc in which basic information of the defined Area is recorded
The location of the riptor on the disc (Location of Area D
escriptor). In addition, Location of A
The rea Descriptor exists only for the value of Number of Areas. That is, as shown in the example of FIG. 11, when there is only one Area in one Volume, the Location of Area Descrip
tor becomes one.
【0033】ここで、図2の表中の、BPはByte Position
を意味し、先頭から見た対応する管理項目の開始位置を
示す情報で、Lengthはその管理項目の大きさをByteで表
し、Field Nameは管理項目名、Contentsは、管理項目が
どのような形式で記録されなければならないかというこ
とを示す。Contentsで用いられているデータ型のうち、
Uint8は符号無し8bit整数、Uint16は符号無し16bit整
数、Uint32は符号無し32bit整数、Uint48は符号無し48b
it整数を意味する。Stringは文字列を格納するためのデ
ータ型、Timestampは日時情報を格納する型である。Here, in the table of FIG. 2, BP is Byte Position
Indicates the start position of the corresponding management item as viewed from the top, Length indicates the size of the management item in bytes, Field Name indicates the management item name, and Contents indicates the format of the management item To indicate if it must be recorded. Of the data types used in Contents,
Uint8 is unsigned 8-bit integer, Uint16 is unsigned 16-bit integer, Uint32 is unsigned 32-bit integer, Uint48 is unsigned 48b
means it integer. String is a data type for storing character strings, and Timestamp is a type for storing date and time information.
【0034】また、contents中の adr-longは、図3に示
すように、本論理ファイルシステムの管理記述子で共通
に利用するデータ型で、主にディスク上のデータなどの
配置を開始点(Location)と長さ(Length)で表現をす
る。同様に、Header IDは、図4に示すように、本論理フ
ァイルシステムの管理記述子で共通に利用されるデータ
型で、論理ファイルシステムの種類(Standard ID)、
論理ファイルシステムのバージョン(Standard Versio
n)、管理記述子の種類(Descriptor ID)、管理記述子
をディスクに書き込んだメーカ(Manufacturer ID)で
構成されている。As shown in FIG. 3, adr-long in the contents is a data type commonly used in the management descriptor of the present logical file system, and is mainly used as a starting point for arranging data or the like on a disk. Location) and Length. Similarly, as shown in FIG. 4, the Header ID is a data type commonly used in the management descriptor of the present logical file system, and the type of the logical file system (Standard ID),
Logical file system version (Standard Versio
n), the type of management descriptor (Descriptor ID), and the manufacturer (Manufacturer ID) that wrote the management descriptor to the disk.
【0035】つぎに、Area Descriptor(AD)のデータ
構造について説明する。図5に示すArea Descriptor(A
D)は、Areaの基本管理情報を記録する管理記述子であ
る。ADは、ADを識別するためのID(Header ID)、Area
の種類を示す情報(Area Type)、Area内の論理ブロッ
クサイズ(Logical Block Size)、Areaの大きさ(Area
Size)、Areaの名前(Area Name)、ADの作成および修
正時刻(Creation Time &Date、 Modified Time & Dat
e)、Area内の最初にアクセスすべき管理情報の位置情
報である論理ブロック番号(Location of Main Primary
Area Descriptor(PAD))、Area内の最初にアクセスす
べき管理情報のバックアップが存在する時の位置情報で
ある論理ブロック番号(Location of Secondary Primar
y Area Descriptor(PAD))、Areaのディスク上で分断数
(Number of Area Extents)、分断毎のディスク上での
位置情報を示す開始論理セクタ番号と論理セクタ数(Lo
cationof Area Extent)で構成される。Location of Ar
ea ExtentはNumber of Area Extentの値だけ存在する事
になる。例えば、Areaが2つの分断で構成されていれば
(Areaが2つの領域からなっていれば)、Location of
Area Extentの項目は2つあり、それぞれにそれぞれのA
reaの位置情報が記録されることになる。Next, the data structure of the Area Descriptor (AD) will be described. Area Descriptor (A
D) is a management descriptor that records basic management information of the Area. AD is an ID (Header ID) for identifying AD, Area
(Area Type), the logical block size in the area (Logical Block Size), the size of the area (Area
Size), Area Name (Area Name), AD creation and modification time (Creation Time & Date, Modified Time & Dat
e), a logical block number (Location of Main Primary) which is position information of management information to be accessed first in the Area.
Area Descriptor (PAD), a logical block number (Location of Secondary Primar) which is position information when there is a backup of management information to be accessed first in the Area
y Area Descriptor (PAD)), the number of divisions on the Area disk (Number of Area Extents), the starting logical sector number and the logical sector number (Lo) indicating the position information on the disk for each division
cationof Area Extent). Location of Ar
The ea Extent exists only for the value of the Number of Area Extent. For example, if the Area is composed of two divisions (if the Area consists of two areas), the Location of
There are two Area Extent items, each with its own A
The position information of rea will be recorded.
【0036】次に、Area内のデータの構成を図6を用い
て説明する。AV Areaは、論理ファイルシステムの管理
情報を記録するArea Management Spaceとユーザシステ
ムがデータを記録するExtent Spaceにわかれている。Next, the structure of data in the area will be described with reference to FIG. The AV Area is divided into an Area Management Space in which management information of the logical file system is recorded and an Extent Space in which the user system records data.
【0037】論理ファイルシステムの管理領域であるAr
ea Management Spaceには、Area内の最初にアクセスす
べき管理情報であるPrimary Area Descriptor (PAD)、A
rea内の空き領域を管理するための管理情報であるSpace
Management Descriptor、ディレクトリを管理するため
の管理情報であるDirectory Descriptor、実ファイルを
管理するためのFile Descriptorなどが記録されること
になる。Ar which is a management area of the logical file system
In the ea Management Space, Primary Area Descriptor (PAD), which is management information to be accessed first in the Area,
Space which is management information for managing the free area in rea
A Management Descriptor, a Directory Descriptor which is management information for managing a directory, a File Descriptor for managing an actual file, and the like are recorded.
【0038】また、安全性の観点から、Area Managemen
t Spaceを2重化することが可能である。2重化を行なう
場合は、Area Management SpaceをMainとSecondaryの領
域に分割を行なう。それぞれ、MainとSecondaryの領域
は同一の内容でなければならない。管理情報を更新する
際は両方の領域を更新する必要があり、万が一Mainの管
理情報が読み込めなくなった場合、Secondaryの管理領
域にアクセスすることによって管理情報の復旧を行なう
ことが可能である。From the viewpoint of safety, Area Managemen
It is possible to duplicate t Space. When duplexing, the Area Management Space is divided into Main and Secondary areas. The main and secondary areas must have the same contents. When updating the management information, it is necessary to update both areas. In the unlikely event that the management information of Main cannot be read, it is possible to recover the management information by accessing the management area of Secondary.
【0039】Areaにアクセスする際には、まずPrimary
Area Descriptor(PAD)をディスクから読み出す。PADはA
V Area内の論理ブロック番号0に記録されており、Area
の基本情報と共に、管理領域の2重化の有無、空き領域
管理情報であるSpace Management Descriptorが記録さ
れているディスク上の開始位置、またルートディレクト
リを管理しているDirectory Descriptorが記録されてい
るディスク上の位置を示す情報を備えており、これらの
データを読み出すことが可能となる。When accessing the Area, first, the Primary
Read the Area Descriptor (PAD) from the disk. PAD is A
Recorded in logical block number 0 in V Area, Area
Disk with the duplication of the management area, the start position on the disk where the Space Management Descriptor which is the free area management information is recorded, and the Directory Descriptor which manages the root directory, together with the basic information of Information indicating the upper position is provided, and it is possible to read these data.
【0040】図7にPrimary Area Descriptor(PAD)の
構成を示す。Primary Area Descriptor(PAD)は、Area
の基本管理情報を記録する管理情報である。PADは、PAD
を識別するためのID(Header ID)、Areaの大きさ(Are
a Size)、Area内の管理領域であるArea Management Sp
aceの空き容量(Free Blocks in Area Management Spac
e)、Area内のデータ領域であるExtent Spaceの空き容
量(Free Blocks in Extent Space)、Areaのモードを
示す情報(Area Mode)、Area内の論理ブロックサイズ
(Logical Block Size)、Areaの名前(Area Name)、P
ADの作成および修正時刻(Creation Time & Date、Modi
fied Time & Date)、Area内のメインの管理領域の位置
情報で有る開始論理ブロック番号と論理ブロック数(Lo
cation ofMain Area Management Space)、Area内のバ
ックアップ管理領域の位置情報である開始論理ブロック
番号と論理ブロック数(Location of Secondary Area M
anagement Space)、Area内のデータ領域であるExtent
Spaceの位置情報である開始論理ブロック番号と論理ブ
ロック数(Location of Extent Space)、Area内の空き
領域管理を行なうSpace Management Descriptorの記録
開始位置である論理ブロック番号(Location of Space
Management Descriptor)、ルートディレクトリのDirec
tory Descriptorが記録された位置情報である論理ブロ
ック番号(Location of Root Directory Descriptor)
で構成される。FIG. 7 shows the structure of a Primary Area Descriptor (PAD). Primary Area Descriptor (PAD) is Area
Is the management information for recording the basic management information. PAD, PAD
(Header ID) to identify the size of Area (Are
a Size), Area Management Sp which is the management area in Area
ace free space (Free Blocks in Area Management Spac
e), the free space of Extent Space (Free Blocks in Extent Space) which is a data area in Area, information indicating Area mode (Area Mode), logical block size in Area (Logical Block Size), Area name ( Area Name), P
AD creation and modification times (Creation Time & Date, Modi
fied Time & Date), start logical block number and logical block number (Lo
cation of Main Area Management Space), the start logical block number and the number of logical blocks (Location of Secondary Area M) which are the position information of the backup management area in the Area
anagement Space), Extent which is the data area in Area
The start logical block number and the number of logical blocks (Location of Extent Space), which are the location information of the Space, and the logical block number (Location of Space), which is the recording start position of the Space Management Descriptor that manages the free area in the Area
Management Descriptor), Direc in the root directory
Logical block number (Location of Root Directory Descriptor) which is the location information where tory Descriptor is recorded
It consists of.
【0041】図8に、Space Management Descriptor(SM
D)の構成を示す。SMDは、Area内の空き領域を管理する
ための管理記述子である。SMDは、SMDを識別するための
ID(Header ID)、1論理ブロックにSMDが格納できずに
複数の論理ブロックにまたがって記録される場合に次に
アクセスすべき論理ブロック番号(Next Extension)、
同様に複数論理ブロックにまたがった場合に1つ前の情
報が記録された論理ブロック番号(Previous Extensio
n)、そして空き領域管理を行なう管理情報であるSpace
Bitmapで構成される。Space Bitmapとは、Area内の全
ての論理ブロックに対して1bitの情報を割り当て、その
論理ブロックが使用されている場合はそのbitを1に、
未使用の場合は0を記録することによって、Area内の空
き領域を管理するためのものである。FIG. 8 shows a Space Management Descriptor (SM).
The configuration of D) is shown. The SMD is a management descriptor for managing a free area in the area. SMD is used to identify SMD
ID (Header ID), the logical block number (Next Extension) to be accessed next when the SMD cannot be stored in one logical block and is recorded over a plurality of logical blocks,
Similarly, when a logical block number spans a plurality of logical blocks, the logical block number (Previous Extensio
n) and Space, which is management information for managing free space
Consists of Bitmap. Space Bitmap assigns 1-bit information to all logical blocks in the Area, and if that logical block is used, sets that bit to 1,
If unused, 0 is recorded to manage the free area in the Area.
【0042】図9に、Directory Descriptor(DD)の構
成を示す。DDはディレクトリを管理するための管理情報
である。DDはDDを識別するためのID(Header ID)、1論
理ブロックにDDが格納できずに複数の論理ブロックにま
たがって記録される場合に次にアクセスすべき論理ブロ
ック番号(Next Extension)、同様に複数論理ブロック
にまたがった場合に1つ前の情報が記録された論理ブロ
ック番号(Previous Extension)、ディレクトリの属性
情報(Attribute)、ディレクトリ名(Directory Nam
e)、DDの作成および修正時刻(Creation Time & Dat
e、Modified Time &Date)、管理するディレクトリが含
まれるディレクトリのDirectory Descriptorが記録され
た論理ブロック番号(Pointer to Parent Director
y)、ディレクトリ構造でディスク上の連続領域を管理
する場合の位置情報である開始論理ブロック番号と論理
ブロック数(Location of Contiguous Space)、ディレ
クトリに含まれるファイルやディレクトリ数(Number o
f Descriptor Pointer Entries)、ディレクトリに含ま
れるファイルやディレクトリへのポインタ情報(Descri
ptorPointer Entry)で構成される。Descriptor Pointe
r EntryはNumber of Descriptor Pointer Entriesの値
だけ存在することになる。FIG. 9 shows the structure of the directory descriptor (DD). DD is management information for managing the directory. DD is an ID (Header ID) for identifying the DD, the next logical block number (Next Extension) to be accessed when the DD cannot be stored in one logical block and is recorded over a plurality of logical blocks, and so on. , A logical block number (Previous Extension) in which the previous information is recorded when a plurality of logical blocks are recorded, attribute information of a directory (Attribute), and a directory name (Directory Nam).
e), DD creation and modification time (Creation Time & Dat
e, Modified Time & Date), the logical block number (Pointer to Parent Director) in which the Directory Descriptor of the directory containing the directory to be managed is recorded
y), the starting logical block number and the number of logical blocks (Location of Contiguous Space), which are positional information when managing a continuous area on the disk in a directory structure, and the number of files and directories included in the directory (Number o)
f Descriptor Pointer Entries, pointer information to files and directories contained in the directory (Descri
ptorPointer Entry). Descriptor Pointe
r Entry will have only the value of Number of Descriptor Pointer Entries.
【0043】図10にディレクトリに含まれるファイルや
ディレクトリへのポインタ情報(Descriptor Pointer E
ntry)の構成を示す。Descriptor Pointer Entryは、フ
ァイルやディレクトリの名前(Entry Name)、管理して
いる情報がファイルかディレクトリかを区別する情報
(Entry Type)、ディレクトリあるいはファイルの管理
記述子が記録されている位置情報である論理ブロック番
号(Location of Descriptor)で構成される。FIG. 10 shows pointer information (Descriptor Pointer E) for files and directories contained in the directory.
ntry). Descriptor Pointer Entry is the name of a file or directory (Entry Name), information for distinguishing whether the managed information is a file or a directory (Entry Type), and positional information where a directory or file management descriptor is recorded. It is composed of a logical block number (Location of Descriptor).
【0044】図11にディレクトリの属性情報であるAttr
ibuteについて示す。Attributeは16bitの情報であり、B
it0 Read Onlyは管理するディレクトリが読み込み専用
であるかを示し、Bit1 Deletedは管理するディレクトリ
が一時的に削除されたかどうかを示し、Bit2 Contiguou
sは管理するディレクトリがディスク上の連続領域を確
保しているかどうかを示し、Bit3 Allocation Modeはデ
ィレクトリの場合は使用しないので、常にZEROを記録す
る。Bit4、5 CGMS(Copy Generation Management Syste
m)は、コピーを許可するか、1世代のみコピーするか、
コピーを禁止するかどうかの情報を示す。なお、ディレ
クトリのAttribute情報は後述するファイルの管理情報
であるFile Descriptor内のAttributeと同じ構成を持
つ。FIG. 11 shows Attr which is directory attribute information.
I will show about ibute. Attribute is 16bit information, B
it0 Read Only indicates whether the managed directory is read-only, Bit1 Deleted indicates whether the managed directory has been temporarily deleted, Bit2 Contiguou
s indicates whether the directory to be managed secures a continuous area on the disk, and Bit3 Allocation Mode is not used for directories, so ZERO is always recorded. Bit4, 5 CGMS (Copy Generation Management System
m) is to allow copying, copy only one generation,
Indicates information on whether to prohibit copying. The Attribute information of the directory has the same configuration as the Attribute in the File Descriptor, which is file management information described later.
【0045】図12に示すFile Descriptor(FD)はファ
イルを管理するための論理ファイルシステムの管理情報
でありデバイスドライバが扱う情報である。FDはFDを識
別するためのID(Header ID)、1論理ブロックにFDが格
納できずに複数の論理ブロックにまたがって記録される
場合に次にアクセスすべき論理ブロック番号(Next Ext
ension)、同様に複数論理ブロックにまたがった場合に
1つ前の情報が記録された論理ブロック番号(Previous
Extension)、ファイルの属性情報(Attribute)、フ
ァイル名(File Name)、FDの作成および修正時刻(Cre
ation Time & Date、Modified Time & Date)、ファイ
ルの大きさ(File Size)、管理するファイルが含まれ
るディレクトリのDirectory Descriptorの記録位置を示
す論理ブロック番号(Pointer to Parent Director
y)、ファイル構造でディスク上の連続領域を管理する
場合の位置情報である開始論理ブロック番号と論理ブロ
ック数(Location of Contiguous Extent)、ファイル
が管理するExtent Spaceに記録されるデータのディスク
上での分断数(Number of Extents)、そしてそれぞれ
の分断の位置情報である開始論理ブロック番号と論理ブ
ロック数(Location of Extent)で構成される。なお、
Location of ExtentはNumber of Extentsで管理される
分断数の数だけ記録される。A File Descriptor (FD) shown in FIG. 12 is management information of a logical file system for managing a file, and is information handled by a device driver. The FD is an ID (Header ID) for identifying the FD, and when the FD cannot be stored in one logical block and is recorded over a plurality of logical blocks, the logical block number to be accessed next (Next Ext)
extension), a logical block number (Previous) in which the immediately preceding information is recorded when the logical block extends over a plurality of logical blocks.
Extension, file attribute information (Attribute), file name (File Name), creation and modification time of FD (Cre
ation Time & Date, Modified Time & Date), file size (File Size), logical block number (Pointer to Parent Director) indicating the recording position of Directory Descriptor of the directory containing the file to be managed
y), the starting logical block number and the number of logical blocks (Location of Contiguous Extent), which are the position information when managing the continuous area on the disk with the file structure, and the data recorded on the Extent Space managed by the file on the disk (Number of Extents), and the start logical block number and the number of logical blocks (Location of Extent) which are the position information of each division. In addition,
Location of Extent is recorded for the number of divisions managed by Number of Extents.
【0046】図13にFile Descriptorの属性情報であるA
ttributeについて示す。Attributeは16bitの情報であ
り、Bit0 Read Onlyは管理するファイルが読み込み専用
であるかを示し、Bit1 Deletedは管理するファイルが一
時的に削除されたかどうかを示し、Bit2 Contiguousは
管理するファイルがディスク上の連続領域を確保してい
るかどうかを示し、Bit3 Allocation Modeはファイルで
管理されるデータの配置方法がAreaの前方からアクセス
であるか後方からのアクセスであるかを示しBit4、5 CG
MS(Copy Generation Management System)は、コピー
を許可するか、1世代のみコピーするか、コピーを禁止
するかどうかの情報を示す。なおBit6-15までは将来の
拡張用にReservedされたビットである。FIG. 13 shows the attribute information A of the File Descriptor.
Shown about ttribute. Attribute is 16-bit information, Bit0 Read Only indicates whether the managed file is read-only, Bit1 Deleted indicates whether the managed file has been temporarily deleted, Bit2 Contiguous indicates that the managed file is on disk Bit3 Allocation Mode indicates whether the data allocation method managed by the file is an access from the front of the Area or an access from the rear of the Area Bit4, 5 CG
MS (Copy Generation Management System) indicates information as to whether copying is permitted, only one generation is copied, or copying is prohibited. Bits 6 to 15 are reserved for future expansion.
【0047】AV Area内に記録されているファイルやデ
ィレクトリはルートディレクトリの管理情報から辿るこ
とによって把握することが可能となる。これらの処理は
論理ファイルシステムに従って処理をするデバイスドラ
イバがArea Management Spaceに記録されている論理フ
ァイルシステムの管理情報を参照することによって行う
ことであり、既に述べているようにユーザシステムは単
純に目的のファイルを指定して抽象化されたアクセスコ
マンドを用いてディスクへのアクセスを行う。The files and directories recorded in the AV Area can be grasped by tracing from the management information of the root directory. These processes are performed by a device driver that processes according to the logical file system by referring to the management information of the logical file system recorded in the Area Management Space. The disk is accessed using an access command abstracted by specifying the file.
【0048】本実施形態において、ファイルは、実際に
はそのファイルを管理するためのArea Management Spac
eに記録される論理ファイルシステムの管理情報(File
Descriptor)と、Extent Spaceに記録されるそのファイ
ルに対応する実データから構成されることになる。In the present embodiment, a file is actually an Area Management Spac for managing the file.
logical file system management information (File
Descriptor) and actual data corresponding to the file recorded in the Extent Space.
【0049】図14に拡張用の記述子であるExtended Des
criptor(ED)について示す。EDはEDを識別するためのID
(Header ID)、1論理ブロックにEDが格納できずに複数
の論理ブロックにまたがって記録される場合に次にアク
セスすべき論理ブロック番号(Next Extension)、同様
に複数論理ブロックにまたがった場合に1つ前の情報が
記録された論理ブロック番号(Previous Extension)、
そして最初の論理ブロックに入り切らなかった情報を格
納するスペース(Extended Data)で構成される。FIG. 14 shows Extended Des which is a descriptor for extension.
It shows about criptor (ED). ED is an ID for identifying the ED
(Header ID), the logical block number (Next Extension) to be accessed next when the ED cannot be stored in one logical block and is recorded across multiple logical blocks, and similarly when the ED spans multiple logical blocks Logical block number (Previous Extension) where the previous information was recorded,
It is configured with a space (Extended Data) for storing information that does not fit in the first logical block.
【0050】説明してきた論理ファイルシステムの管理
情報は、ディスクに論理ブロック単位で記録される。論
理ブロックの大きさが2KBなので、例えば1つのディレク
トリを管理するDirectory Descriptorや1つのファイル
を管理するFile Descriptorは最低でもディスク上で2KB
を使うことになる。定義したディレクトリに含まれるフ
ァイルやディレクトリが少ない場合は、上記Directory
Descriptor内のDescriptor Pointer Entryが少ないの
で、このDirectory Descriptorは余裕を持って1論理ブ
ロックに収まる。しかし逆にディレクトリに大量のファ
イルやディレクトリが定義されると、このDirectory De
scriptorは1論理ブロックに収まらないために、複数の
論理ブロックにまたがる必要がある。このような状況に
おいて利用するExtended Descriptorについて、図15に
示す。この図では、ある管理記述子が1論理ブロックに
収まらず3つの論理ブロックにまたがって記録されてい
る様子である。1つ目の論理ブロックがDirectory Desc
riptorだとすると、2KBに収まりきらなかったDescripto
r Pointer Entryの情報が2つ目以降の論理ブロックに、
Extended Descriptorを用いて管理される。このようにE
xtended Descriptorは先頭にヘッダ情報のみが付いた管
理情報を格納するための入れ物であり、Directory Desc
riptor以外にも複数ブロックにまたがって記録されなけ
ればならない管理情報について共通で用いられる。The management information of the logical file system described above is recorded on the disk in logical block units. Since the size of the logical block is 2KB, for example, the Directory Descriptor that manages one directory and the File Descriptor that manages one file are at least 2KB on disk.
Will be used. If there are few files and directories in the defined directory, use the Directory
Since there are few Descriptor Pointer Entries in the Descriptor, this Directory Descriptor fits in one logical block with a margin. However, if a large number of files and directories are defined in the directory,
Since the scriptor does not fit in one logical block, it must span multiple logical blocks. FIG. 15 shows the Extended Descriptor used in such a situation. In this figure, a certain management descriptor does not fit in one logical block but is recorded over three logical blocks. The first logical block is Directory Desc
If it is a riptor, Descripto could not fit in 2KB
r Pointer Entry information is stored in the second and subsequent logical blocks.
It is managed using Extended Descriptor. Thus E
xtended Descriptor is a container for storing management information with only header information at the beginning, and is a Directory Desc
In addition to the riptor, it is commonly used for management information that must be recorded over a plurality of blocks.
【0051】前述の独自の論理ファイルシステムによっ
て管理されるエリアを動画像を記録するためにディスク
上に確保する。ここで、ユーザがビデオカメラなどを利
用して撮影を行なう場合にディスクに記録される映像シ
ーンの作成手順について説明する。An area managed by the above-described unique logical file system is secured on a disk for recording a moving image. Here, a procedure for creating a video scene recorded on a disc when a user shoots using a video camera or the like will be described.
【0052】撮影開始から停止あるいは一時停止までの
連続的な一連の映像を動画像シーンとし、1つのファイ
ルとしてディスクに記録する。図16に示すように、ディ
スク上に記録する映像シーンのファイルを格納するため
に、ルートディレクトリの下にディレクトリ「DATA」を
作成する。A series of continuous images from the start of shooting to the stop or the pause are taken as moving image scenes and recorded on the disk as one file. As shown in FIG. 16, a directory “DATA” is created under a root directory to store a file of a video scene to be recorded on a disc.
【0053】ディレクトリ「DATA」の下に撮影した映像
シーン毎にファイルを作成するが、この時ファイル名を
撮影した順番に従ってOS0001.MPG、OS0002.MPG、OS000
3.MPGと言ったように、数字の部分で記録順番が把握で
きるようにする。映像シーンを撮影順序に従って組み合
わせた管理単位をプログラムと呼び、ここではディレク
トリ「DATA」に対応する。つまり、従来のテープメディ
アのようにテープの先頭から最後までを再生するにはデ
ィレクトリ「DATA」を指定し、そのディレクトリの下に
保存されている映像シーンのファイルをOS0001.MPGから
順番に再生することによって同様の効果が得られる。A file is created for each video scene shot under the directory "DATA". At this time, the file names are determined according to the shooting order, OS0001.MPG, OS0002.MPG, OS000.
3. As in the case of MPG, make it possible to grasp the recording order in the number part. A management unit in which video scenes are combined in accordance with the shooting order is called a program, and here corresponds to the directory “DATA”. In other words, to play from the beginning to the end of the tape like a conventional tape medium, specify the directory "DATA" and play the video scene files saved under that directory in order from OS0001.MPG Thereby, a similar effect can be obtained.
【0054】続いて、静止画像を同一ディスクに記録す
る場合について説明をする。前述したように、動画像デ
ータとは性質の異なるデータであるので、動画像データ
を記録するエリアとは異なる、FATファイルシステムに
基づいて管理されるエリアを定義する事とする。ここ
で、動画像データを記録するエリアと静止画像を記録す
るエリアの大きさが問題となる。Next, a case where a still image is recorded on the same disk will be described. As described above, since the moving image data has different properties, an area managed based on the FAT file system, which is different from the area where the moving image data is recorded, is defined. Here, the size of an area for recording moving image data and an area for recording a still image poses a problem.
【0055】図17に示すように、本発明ではディスク3
領域全域を動画像を記録するために、前述した独自ファ
イルシステム用のエリア2として割り当て、あえて静止
画像データを記録するエリアを従来の方式のように定義
することはしない。その代わりに、動画像データを記録
するためのエリア2に、静止画像を記録するエリアに相
当するファイル4を作成する事とする。As shown in FIG. 17, in the present invention, the disk 3
In order to record a moving image, the entire area is allocated as the above-described area 2 for the unique file system, and the area for recording still image data is not dared to be defined as in the conventional method. Instead, a file 4 corresponding to an area for recording a still image is created in an area 2 for recording moving image data.
【0056】例えば、デジタルカメラなどの記録媒体と
して広く普及しているコンパクトフラッシュなどの記録
媒体と合わせ、32MBや64MBと言った静止画像を記録する
仮想エリア1に相当するファイル4を動画像データを記録
するためのエリア2内に作成する。この時、動画エリア
には仮想エリアを管理するファイルと、動画像シーンの
データを管理するファイルが存在することになる。For example, together with a recording medium such as a compact flash which is widely used as a recording medium such as a digital camera, a file 4 corresponding to a virtual area 1 for recording a still image such as 32 MB or 64 MB is used for moving image data. Create in area 2 for recording. At this time, a file for managing the virtual area and a file for managing data of the moving image scene exist in the moving image area.
【0057】この動画像データを記録するためのエリア
内のファイルとして管理される仮想エリアが定義される
と、静止画像を記録する仮想エリアを管理するFATファ
イルシステムが、その領域を管理するための管理情報な
どを書き込む初期化処理を行なう。この様に静止画像を
記録するための仮想エリアがファイルとして作成される
ため、仮にこの領域を削除したりしたい場合は単純に動
画像データを記録するエリアを管理する独自ファイルシ
ステムにおいてこのファイルを削除するだけで処理が完
了する。When a virtual area managed as a file in the area for recording the moving image data is defined, the FAT file system for managing the virtual area for recording the still image is used for managing the area. An initialization process for writing management information and the like is performed. In this way, the virtual area for recording still images is created as a file. If you want to delete this area, simply delete this file in the original file system that simply manages the area for recording moving image data Just complete the process.
【0058】前述したように、静止画像データを記録す
る仮想エリアは32MBや64MBと言った単位で確保される。
当然、静止画像データを記録していくとその仮想エリア
が一杯になった段階でそれ以上静止画像が記録出来なく
なってしまう。As described above, a virtual area for recording still image data is secured in units of 32 MB or 64 MB.
Naturally, when still image data is recorded, it becomes impossible to record a still image any more when the virtual area becomes full.
【0059】そこで、静止画像データの仮想エリアが一
杯になった段階で静止画像の領域を拡張するか、新たな
静止画データを記録する仮想エリアを定義する必要があ
る。Therefore, when the virtual area of the still image data becomes full, it is necessary to extend the area of the still image or to define a virtual area for recording new still image data.
【0060】前者は、動画像データを記録するエリアを
管理する独自ファイルシステムにおいて、静止画像デー
タを記録する仮想エリアを管理しているファイルの大き
さを、動画像データを記録するエリア内の空き領域をこ
のファイルが確保する領域として付け足すことによっ
て、領域が確保される。In the former, in a unique file system for managing an area for recording moving image data, the size of a file for managing a virtual area for recording still image data is determined by changing the size of a file in the area for recording moving image data. An area is secured by adding the area as an area secured by this file.
【0061】後者は、一杯になった静止画像データを記
録する仮想エリアはそのままにして、新たに静止画像デ
ータを記録するための仮想エリアを定義するという方法
になる。この場合は、動画像データを記録するエリアを
管理する独自ファイルシステムにおいて、動画像データ
エリア内の空き領域を検索して、静止画像データ用の仮
想エリアに相当するファイルを定義する。そして、静止
画像データを記録する仮想エリアを管理するFATファイ
ルシステム用のデバイスドライバがその領域に対して初
期化処理を行なう。In the latter case, a virtual area for recording still image data is newly defined while leaving a virtual area for recording full still image data. In this case, in a unique file system that manages an area for recording moving image data, a free area in the moving image data area is searched to define a file corresponding to a virtual area for still image data. Then, a device driver for the FAT file system that manages a virtual area for recording still image data performs initialization processing on the area.
【0062】この方法では、例えば静止画像データを記
録する仮想エリアが32MB単位で作成されるとすると、そ
の仮想エリアに記録できる容量に上限が決まってしま
う。しかし、この32MB単位の領域をユーザにアルバム的
な管理単位として提示することによって、なんら違和感
のないものとなる。例えば、仮に32MBの領域に最大200
枚の静止画が記録できるものであるとすれば、ユーザに
は1つのアルバムで管理できる静止画像は200枚までで、
一杯になった段階で新しいアルバムを作成することを促
せば良いわけである。当然1つの(前述の32MB単位の)
アルバムの中に関しても、アルバム的な分類が行なえる
ので、ディスク上に新たな領域の確保を伴うアルバムの
新規作成が必要以上に発生することもなくディスク領域
も効率良く使用することができる。In this method, for example, if a virtual area for recording still image data is created in units of 32 MB, the upper limit of the capacity that can be recorded in the virtual area is determined. However, by presenting the area in units of 32 MB to the user as an album-like management unit, there is no sense of incongruity. For example, suppose a maximum of 200
Assuming that still images can be recorded, the user can manage up to 200 still images in one album,
Just encourage them to create a new album when they're full. Of course one (of the 32MB unit mentioned above)
Since the album can be classified as an album, the disc area can be used efficiently without the need to create a new album with a new area on the disc unnecessarily.
【0063】図18にこの様子を示す。この図の例では、
動画像を記録するエリア内に4つの仮想エリアを管理す
るファイル(001, 002, 003, 004)が作成されている。
それぞれのファイルは動画像エリア内で任意の領域を管
理しており、管理しているそれぞれの領域の中にFATフ
ァイルシステムが管理する領域がある。図の例では、フ
ァイルによって管理されている領域が連続的に確保され
ているが、この領域が連続的に確保されている必要はな
く、動画像エリア内で分断している領域であっても構わ
ない。それぞれの仮想エリアのファイルは、動画像エリ
アと同一レベルの仮想静止画エリア(ファイル)として
アクセスが可能となる。FIG. 18 shows this state. In the example in this figure,
Files (001, 002, 003, 004) for managing four virtual areas are created in the area for recording moving images.
Each file manages an arbitrary area within the moving image area, and among the managed areas, there is an area managed by the FAT file system. In the example of the figure, the area managed by the file is continuously secured, but this area does not need to be continuously secured, and even if the area is divided in the moving image area. I do not care. Each virtual area file can be accessed as a virtual still image area (file) at the same level as the moving image area.
【0064】この例では、それぞれの仮想エリアを「旅
行」「スポーツ」「学芸会」「発表会」といったアルバ
ムに見立てており、図19に示すようなユーザインターフ
ェースを提供することが可能となる。この例では、それ
ぞれの仮想エリアに対応するアルバムが画面上に表示さ
れ、例えば「スポーツ」のアルバムを開くとその中に記
録されている静止画がアイコンとして表示されている様
子である。この「スポーツ」のアルバムの中の静止画像
は、図中のファイル002によって管理されるディスク上
の領域に作成されたFATファイルシステムで管理される
ものである。選択しているアルバムを変更することは、
アクセスすべき仮想エリア、つまり読み出すファイルを
変更する事と同じ事となる。In this example, each virtual area is regarded as an album such as “travel”, “sports”, “gakugei-kai”, “presentation”, and a user interface as shown in FIG. 19 can be provided. In this example, an album corresponding to each virtual area is displayed on the screen. For example, when an album of “sports” is opened, a still image recorded in the album is displayed as an icon. The still image in the “sports” album is managed by the FAT file system created in the area on the disk managed by the file 002 in the figure. Changing the selected album will
This is the same as changing the virtual area to be accessed, that is, the file to be read.
【0065】また、静止画像データを記録する仮想エリ
アの大きさをデジタルカメラなどで広く普及しているコ
ンパクトフラッシュなどの容量(例えば32MB,64MB)と
合わせる事と、同一のファイルシステムおよび、DCF規
格に基づいてファイルやディレクトリ規定を採用するこ
とによって、相互の互換を取ることが可能となる。Further, the size of the virtual area for recording still image data is matched with the capacity of a compact flash or the like (for example, 32 MB or 64 MB) widely used in digital cameras and the like, and the same file system and DCF standard are used. By adopting the file and directory rules based on the above, mutual compatibility can be achieved.
【0066】例えば、この発明が対象とする記録再生装
置に、前記コンパクトフラッシュ等の記録媒体にもアク
セスする手段があるとすると、コンパクトフラッシュの
内容をそのままディスク上に仮想エリアとしてコピーし
たり、逆にディスク上に記録された静止画仮想エリアを
そのままコンパクトフラッシュにコピーすることが容易
にできることになる。ここでいうコピーとは、単純なビ
ットレベルのデータ転送と言った単純な処理であり、非
常に容易に相互のコピーが行なえるものである。ここで
はコンパクトフラッシュを例にとったが、記録再生装置
とアクセス可能な記録媒体であれば、どのような記録媒
体であっても、目的は達成できる。つまり、仮想エリア
のサイズと、記録媒体中のファイルシステム(管理情
報)領域及びデータ領域を合わせたサイズを合わせるこ
とによって、相互の互換をとることができる。For example, if the recording / reproducing apparatus to which the present invention is applied has means for accessing a recording medium such as the compact flash, the contents of the compact flash can be directly copied to a disk as a virtual area, Thus, the still image virtual area recorded on the disk can be easily copied as it is to the compact flash. The copy here is a simple process such as simple bit-level data transfer, and can be performed very easily. Here, the compact flash is taken as an example, but the object can be achieved with any recording medium as long as it is accessible to the recording / reproducing device. That is, mutual compatibility can be obtained by matching the size of the virtual area with the size of the file system (management information) area and the data area in the recording medium.
【0067】図20の例では、ユーザシステム10からアク
セスできるディスク媒体12全域を動画像を記録するため
のエリア13として定義し、その中に仮想エリアを管理す
るファイル15を作成している。この時、仮想エリアの大
きさやファイルシステムなどを外部記録媒体11であるコ
ンパクトフラッシュのそれと完全に合わせている様子で
ある。このことにより、外部記録媒体の内容14と仮想エ
リアファイル15の領域内のデータ列は完全に互換が取れ
ているものとなり、仮に外部記録媒体の内容14を仮想エ
リアファイル15の領域に簡単な処理によってダンプする
だけでコピーができることになる。また仮想エリアファ
イル15の内容をコンパクトフラッシュ11などにダンプす
ることによって逆方向のコピーが可能とする。例えば図
20において外部記録媒体の内容14を仮想エリアにコピー
する場合、ユーザシステム10がデバイスドライバA 16に
対して外部記録媒体の内容をファイルやディレクトリな
どと言ったファイルシステムレベルのアクセスではな
く、記録媒体のアドレスを指定してそこに記録されてい
るデータを読み出す低水準のアクセスコマンドを使用し
てデータを読み出し、これを転送先であるディスク媒体
12のデバイスドライバB 17の低水準アクセスコマンドを
利用して同様にアドレスを指定してデータを書き込む。
この時データを書き込む領域は仮想エリアファイルによ
って管理される領域である。このような処理を外部記録
媒体の全域に対して行うことによって、完全なコピーが
できることになる。In the example of FIG. 20, the entire area of the disk medium 12 accessible from the user system 10 is defined as an area 13 for recording a moving image, and a file 15 for managing a virtual area is created therein. At this time, it seems that the size of the virtual area, the file system, and the like are completely matched with those of the compact flash as the external recording medium 11. As a result, the contents 14 of the external recording medium and the data sequence in the area of the virtual area file 15 are completely compatible, and the contents 14 of the external recording medium can be easily processed in the area of the virtual area file 15 by simple processing. Can be copied just by dumping. Further, by copying the contents of the virtual area file 15 to the compact flash 11 or the like, copying in the reverse direction is enabled. For example, figure
When the contents 14 of the external recording medium are copied to the virtual area at 20, the user system 10 does not access the contents of the external recording medium to the device driver A 16 at a file system level such as a file or a directory, but at the recording medium. The data is read out using a low-level access command for specifying the address of the data and reading out the data recorded there, and the data is transferred to the disk medium to which the data is transferred.
Similarly, data is written by specifying an address by using the low-level access command of the device driver B 17 of the device 12.
At this time, the area in which data is written is an area managed by the virtual area file. By performing such processing for the entire area of the external recording medium, complete copying can be performed.
【0068】上記したように、動画像を記録するための
エリア内にファイルとして管理される仮想エリアを作成
するために、ファイルを仮想エリアとして認識するため
の情報が必要になる。1つの方法としてユーザシステム
レベルの定義として、ファイル名と記録するディレクト
リ名を規定すると言った方法が考えられる。例えば、独
自ファイルシステムによって管理されるエリア内に特定
のディレクトリを定義し、その中に記録されるファイル
は仮想エリアファイルである事とし、そのファイル名と
同じ仮想エリアを作成することになる。As described above, in order to create a virtual area managed as a file in an area for recording a moving image, information for recognizing a file as a virtual area is required. One method is to define a file name and a directory name to be recorded as a definition at the user system level. For example, a specific directory is defined in an area managed by a unique file system, a file recorded therein is a virtual area file, and a virtual area having the same file name is created.
【0069】また、前述の独自ファイルシステムにおい
てVolumeレベルの管理情報として、Area Descriptorと
同様に、Virtual Area Descriptorを定義して、このVi
rtualArea Descriptorで、仮想エリアを管理しているフ
ァイルを特定する方法がある。このVirtual Area Desc
riptorの一例を図21に示す。このVirtual Area Descrip
torは図22に示すように、Volume Management Spaceに記
録される。このVirtual Area DescriptorはArea Descri
ptorと同一レベルの管理情報であり、例えばディスクを
本発明で対象とする記録再生装置に挿入した段階で、読
み込まれディスクの構成を把握することができる。この
事により、ディスクに定義された実エリアと仮想エリア
が全て把握でき、またそれぞれの実エリアや仮想エリア
へ実際にアクセスするために必要な情報が把握できる事
になる。Also, in the above-mentioned original file system, a Virtual Area Descriptor is defined as the Volume level management information in the same manner as the Area Descriptor, and this Vi
There is a method to specify the file that manages the virtual area with the rtualArea Descriptor. This Virtual Area Desc
FIG. 21 shows an example of the riptor. This Virtual Area Descrip
The tor is recorded in the Volume Management Space as shown in FIG. This Virtual Area Descriptor is Area Descri
This is management information at the same level as ptor, and can be read and the configuration of the disc can be grasped, for example, when the disc is inserted into the recording / reproducing apparatus targeted by the present invention. As a result, all real and virtual areas defined on the disc can be grasped, and information necessary for actually accessing the respective real and virtual areas can be grasped.
【0070】Virtual Area Descriptor(VAD)は、仮想
エリアの基本管理情報を記録する管理記述子である。VA
Dは、VADを識別するためのID(Header ID)、Virtual A
reaを管理しているファイルシステムの種類を示す情報
(Virtual Area Type)、Virtual Areaの大きさ(Virtu
al Area Size)、仮想エリアの名前(Virtual Area Nam
e)、VADの作成および修正時刻(Creation Time & Dat
e、 Modified Time & Date)、Virtual Areaを管理する
ファイルが記録されるArea名(Virtual Area File Reco
rded Area Name)、Virtual Areaを管理するファイルが
記録されている前記Virtual Area File Recorded Area
Nameのエリアのファイルシステム内のパス(Virtual Ar
ea File Recorded Path)、Virtual Areaを管理するフ
ァイルのファイル名(Virtual Area File Name)、指定
されたパスの下位のファイル構造を仮想エリアとして見
せるための情報である(Path to Mount)で構成され
る。The Virtual Area Descriptor (VAD) is a management descriptor for recording basic management information of a virtual area. VA
D is an ID (Header ID) for identifying VAD, Virtual A
Information indicating the type of file system managing the rea (Virtual Area Type), the size of the Virtual Area (Virtu
al Area Size), the name of the virtual area (Virtual Area Nam)
e), VAD creation and modification time (Creation Time & Dat
e, Modified Time & Date), Area name where virtual area management file is recorded (Virtual Area File Reco)
rded Area Name), the Virtual Area File Recorded Area in which files for managing the Virtual Area are recorded.
Path in the file system in the area of Name (Virtual Ar
ea File Recorded Path), the file name of the file that manages the Virtual Area (Virtual Area File Name), and information (Path to Mount) that is used to make the lower-level file structure of the specified path appear as a virtual area. .
【0071】新たに仮想エリアが作成されるたびに、こ
のVirtual Area Descriptorが作成されることになり、
この管理情報を参照することによって、定義された仮想
エリアの数や種類を把握することが可能となる。Virtua
l Area Descriptorを定義する場合は、Primary Volume
DescriptorのLocation of Area DescriptorにVirtual A
rea Descriptorを記録したアドレスを記録することにな
る。Each time a new virtual area is created, this Virtual Area Descriptor is created.
By referring to this management information, it is possible to grasp the number and types of the defined virtual areas. Virtua
l When defining Area Descriptor, Primary Volume
Virtual A for Descriptor Location of Area Descriptor
The address where the rea Descriptor is recorded is recorded.
【0072】図22に、Virtual Area Descriptorが有る
場合のVolumeレベルの管理領域の様子を示す。この例で
は、ディスク全域が動画像を記録するためのエリアとし
て定義されており、それがArea Descriptorによって管
理されている。一方、仮想エリアはVirtual Area Descr
iptorによって管理されている。Virtual Area Descript
orによって、仮想エリアのディスク上の領域が含まれて
いる実エリア(Area)を特定し、その実エリアを管理する
ファイルシステム内の特定のファイルより、ディスクに
アクセスすることが可能となる。FIG. 22 shows the state of the management area at the Volume level when there is a Virtual Area Descriptor. In this example, the entire area of the disc is defined as an area for recording a moving image, which is managed by the Area Descriptor. On the other hand, the virtual area is the Virtual Area Descr
Managed by iptor. Virtual Area Descript
With or, it is possible to specify a real area (Area) including an area of the virtual area on the disk, and to access the disk from a specific file in a file system that manages the real area.
【0073】以下処理の詳細について説明していく。説
明の都合上、動画像データを記録するエリアを動画エリ
ア、動画エリアは前述の独自ファイルシステムによって
管理されており、このエリアにアクセスするためのデバ
イスドライバを独自デバイスドライバと呼ぶ。また静止
画像データを記録する領域を静止画仮想エリア、静止画
像仮想エリアはFATファイルシステムによって管理され
ており、この領域にアクセスするためのデバイスドライ
バをFATデバイスドライバと呼ぶ事とする。The details of the processing will be described below. For convenience of explanation, the area for recording moving image data is managed by the moving image area, and the moving image area is managed by the above-described unique file system. A device driver for accessing this area is called a unique device driver. An area for recording still image data is managed by a still image virtual area, and a still image virtual area is managed by a FAT file system. A device driver for accessing this area is called a FAT device driver.
【0074】動画エリアに静止画仮想エリアをファイル
として作成する処理手順を図23のフローチャートを用い
て説明する。The processing procedure for creating a still image virtual area as a file in the moving image area will be described with reference to the flowchart of FIG.
【0075】ステップS10において、静止画仮想エリア
を新規に作成する処理要求が発生すると、ステップS11
において、動画エリアを管理する独自デバイスドライバ
は、動画エリアに新規作成する仮想エリアの大きさの空
き領域があるかどうかをSpace Management Descriptor
によって検索をする。In step S10, when a processing request for newly creating a still image virtual area is generated, the process proceeds to step S11.
In the original device driver that manages the video area, the Space Management Descriptor determines whether there is a free area of the size of the newly created virtual area in the video area.
Search by.
【0076】ステップS12において、空き領域が無い場
合はステップS19においてエラー処理を行なって処理を
終了する。ステップS12において、空き領域が有る場合
はステップS13において、作成するファイルを管理するF
ile DescriptorをArea Management Spaceに記録する。
このFile DescriptorがExtent Spaceに確保された静止
画仮想エリアの位置情報を管理することになる。If there is no free area in step S12, error processing is performed in step S19, and the processing ends. In step S12, if there is free space, in step S13, the file management
Record ile Descriptor in Area Management Space.
This File Descriptor manages the position information of the still image virtual area secured in the Extent Space.
【0077】ステップS14において、作成したファイル
が含まれるディレクトリのDirectoryDescriptorのDescr
iptor Pointer Entryに、作成したファイルを管理するF
ileDescriptorへのポインタ情報を追加しディスク上で
更新する。In step S14, the Descr of the DirectoryDescriptor of the directory containing the created file
F to manage created files in iptor Pointer Entry
Add pointer information to ileDescriptor and update on disk.
【0078】ステップS15において、Volume Management
Spaceに作成した仮想エリア、つまり仮想エリアとなる
ファイルを管理するVirtual Area Descriptorを記録す
る。ステップS16において、Volume Management Spaceか
らPrimary Volume Descriptorを読み出し、新規に作成
した仮想エリアを管理するVirtual Area Descriptorへ
のポインタ情報を追加しディスク上で更新する。In step S15, Volume Management
The virtual area created in the space, that is, a virtual area descriptor for managing a file serving as the virtual area is recorded. In step S16, the Primary Volume Descriptor is read from the Volume Management Space, and pointer information to the Virtual Area Descriptor that manages the newly created virtual area is added and updated on the disk.
【0079】ステップS17において、Extent Spaceに静
止画仮想エリア用に確保した領域と、ファイルを管理す
るFile Descriptorと、仮想エリアを管理するVirtual A
reaDescriptorに対応する、Space Management Descript
orを使用状態に更新し、ディスク上で更新する。In step S17, the area reserved for the still image virtual area in the Extent Space, the File Descriptor for managing the file, and the Virtual A for managing the virtual area
Space Management Descript corresponding to reaDescriptor
Update or to use status and update on disk.
【0080】ステップS18において、今度はFATデバイス
ドライバが動画エリアにファイルとして確保された仮想
エリアに対して初期化処理を行ない処理を終了する。初
期化操作とは、この領域をFATファイルシステムで使用
できるように管理情報をこの領域に書き込むことを意味
する。FATデバイスドライバは広く使用されているた
め、容易に入手することができる。例えば、FATデバイ
スドライバに対してユーザシステムがFORMATコマンドを
発行することによって実現できる。In step S18, the FAT device driver performs an initialization process on the virtual area secured as a file in the moving image area, and ends the process. The initialization operation means that management information is written in this area so that the area can be used in the FAT file system. FAT device drivers are widely used and can be readily obtained. For example, this can be realized by the user system issuing a FORMAT command to the FAT device driver.
【0081】外部の記録媒体と同じサイズの仮想エリア
を作成する場合は、S11で所定サイズのファイルが作成
できるか否か検索し、当該サイズのファイルをS13で作
成する。そしてS18でFATデバイスドライバが初期化を行
う処理に変えて、外部の記録媒体のデータを当該仮想エ
リアであるファイルにそのままダンプすることによって
実現することができる。When creating a virtual area of the same size as the external recording medium, it is searched in S11 whether a file of a predetermined size can be created, and a file of the size is created in S13. Then, the processing can be realized by directly dumping the data of the external recording medium to the file which is the virtual area, instead of performing the initialization by the FAT device driver in S18.
【0082】動画エリア内に静止画仮想エリアがファイ
ルとして管理されている場合に、動画像データ及び静止
画像データにアクセスする概要図を図24に示す。この図
では、ディスク媒体26の全域を動画エリア25として確保
しており、ユーザシステム20がこの動画エリアにアクセ
スするためにはデバイスドライバB 23を介してアクセス
することになる。FIG. 24 shows a schematic diagram for accessing moving image data and still image data when a still image virtual area is managed as a file in the moving image area. In this figure, the entire area of the disk medium 26 is secured as the moving image area 25, and the user system 20 accesses this moving image area via the device driver B23.
【0083】一方、静止画を記録するための領域は仮想
エリア22として定義されており、動画エリア内に仮想エ
リアファイル24として作成されている。一方、ユーザシ
ステム20が仮想エリア22の中の静止画にアクセスする場
合は、デバイスドライバA 21を介して、仮想エリアファ
イルで管理される領域に対してアクセスすることにな
る。実際には、ユーザシステムが20がデバイスドライバ
Bを介して仮想エリアファイルの管理情報から仮想エリ
アのディスク上の位置情報を把握する。次に、ユーザシ
ステム20はデバイスドライバAを介して、把握した動画
エリア中に確保されている仮想エリアのディスク上の領
域に対してアクセスを行うことになる。この仮想エリア
のディスク上での領域には、デバイスドライバAでアク
セスを行うファイルシステムに対応する管理情報と実デ
ータが記録されているこになる。この際の処理手順を図
25のフローチャートを用いて説明する。On the other hand, an area for recording a still image is defined as a virtual area 22, and is created as a virtual area file 24 in the moving image area. On the other hand, when the user system 20 accesses a still image in the virtual area 22, the user system 20 accesses the area managed by the virtual area file via the device driver A21. Actually, the user system has 20 device drivers
The position information of the virtual area on the disk is grasped from the management information of the virtual area file via B. Next, the user system 20 accesses, via the device driver A, an area on the disk of the virtual area secured in the grasped moving image area. In the area of the virtual area on the disk, management information and actual data corresponding to the file system accessed by the device driver A are recorded. Diagram of the processing procedure at this time
This will be described with reference to the flowchart of FIG.
【0084】ステップS20において、データへのアクセ
ス要求が発生すると、ステップS21において動画エリア
あるいは静止画仮想エリアへのアクセスかどうかを判断
する。これは、アクセスするエリアとして仮想エリアが
指定されたかどうかで判断することが可能である。ステ
ップS21において、動画像データ領域をアクセスすると
判断された場合、ステップS22において独自デバイスド
ライバを介して動画エリアにアクセスする。When a data access request is generated in step S20, it is determined in step S21 whether or not the access is to a moving image area or a still image virtual area. This can be determined based on whether a virtual area is designated as an area to be accessed. When it is determined in step S21 that the moving image data area is to be accessed, the moving image area is accessed via the unique device driver in step S22.
【0085】ステップS21において、静止画仮想エリア
をアクセスすると判断された場合、ステップS23におい
て独自デバイスドライバを介して、静止画仮想エリアを
管理している静止画エリアファイルのFile Descriptor
をArea Management Spaceから読み出してディスク上の
位置情報を把握する。If it is determined in step S21 that the still image virtual area is to be accessed, the file descriptor of the still image area file managing the still image virtual area is determined in step S23 via the unique device driver.
From the Area Management Space to determine the position information on the disk.
【0086】ステップS24において、今度は仮想エリア
内のFATデバイスドライバを介して静止画仮想エリア内
のファイルにアクセスする。この際の静止画仮想エリア
の位置情報はステップS23において取得した位置情報を
利用する。In step S24, a file in the still image virtual area is accessed this time via the FAT device driver in the virtual area. At this time, the position information of the still image virtual area uses the position information acquired in step S23.
【0087】このように、静止画仮想エリアにアクセス
する場合は、独自デバイスドライバによってその領域を
管理するファイルのFile Descriptorから位置情報を取
得し、後の処理は通常のFATファイルシステムのファイ
ル処理と何ら変わりの無いものである。As described above, when accessing the still image virtual area, position information is acquired from the File Descriptor of the file that manages the area by the unique device driver, and the subsequent processing is the same as the file processing of the normal FAT file system. There is no change.
【0088】上記実施例において、前述の図18および図
19の例を用いて説明を補足する。この例のような場合
は、Volume Management Spaceには、動画エリアを管理
するArea Descriptorと、静止画を記録するための仮想
エリアを管理するVirtual Area Descriptorが4つ記録さ
れている事になる。ディスクが記録再生装置に挿入され
た段階でこれらの管理情報が読み込まれ、ディスクの構
成がユーザシステムによって把握されることになる。図
19におけるようなGUI画面を持つアプリケーションプロ
グラムは、読み込んだVirtual Area Descriptorの情報
を元に、静止画像を記録する仮想エリアにそれぞれ対応
する「スポーツ」「旅行」「学芸会」「発表会」のアイ
コンを表示する。この状態で例えばユーザによって「ス
ポーツ」のアイコンが選択され開かれると、「スポー
ツ」に対応する仮想エリアにアクセスを行い、その仮想
エリア内の静止画にアクセスするものである。In the above embodiment, FIG. 18 and FIG.
The explanation is supplemented with 19 examples. In this case, the Volume Management Space records four Area Descriptors for managing a moving image area and four Virtual Area Descriptors for managing a virtual area for recording a still image. The management information is read when the disc is inserted into the recording / reproducing apparatus, and the configuration of the disc is grasped by the user system. Figure
The application program with the GUI screen as in 19 is based on the information of the read Virtual Area Descriptor, and the icons of "Sports", "Travel", "Gakugei-kai" and "Release event" corresponding to the virtual area where the still image is recorded Is displayed. In this state, for example, when the icon of “sports” is selected and opened by the user, a virtual area corresponding to “sports” is accessed, and a still image in the virtual area is accessed.
【0089】上記実施例は、仮想エリアを指定して静止
画が記録されたファイルシステムにアクセスする例であ
るが、直接静止画像のファイル名を指定して表示したい
場合は、仮想エリアの内部のファイル構造を容易に把握
する手段を提供し、静止画ファイルの検索等を高速化す
るために、仮想エリア内部のファイル構造を示すファイ
ルを独自ファイルシステムによって管理される動画像を
記録するエリアに作成するようにしてもよい。このファ
イルを読むことにより、当該静止画ファイルがどの静止
画エリアに記録されているかを認識したのちに、静止画
エリアへのアクセスを行うことが可能となる。The above embodiment is an example of accessing a file system in which a still image is recorded by designating a virtual area. However, when it is desired to directly designate a file name of a still image and display it, the inside of the virtual area is displayed. Creates a file showing the file structure inside the virtual area in the area that records moving images managed by the proprietary file system in order to provide a means to easily grasp the file structure and speed up the search of still image files, etc. You may make it. By reading this file, it is possible to access the still image area after recognizing in which still image area the still image file is recorded.
【0090】次に、動画エリアに静止画仮想エリアがフ
ァイルとして管理されており、この静止画仮想エリアの
大きさを拡張する際の処理手順を図26のフローチャート
を用いて説明する。Next, a still image virtual area is managed as a file in the moving image area, and a processing procedure for expanding the size of the still image virtual area will be described with reference to the flowchart of FIG.
【0091】ステップS30において、静止画仮想エリア
の大きさを拡張する処理要求が発生すると、ステップS3
1において、動画エリアを管理する独自デバイスドライ
バは、動画エリアに拡張したい領域の大きさの空き領域
があるかどうかをSpace Management Descriptorによっ
て検索をする。ステップS32において、空き領域が無い
場合はステップS38においてエラー処理を行なって処理
を終了する。In step S30, when a processing request for expanding the size of the still picture virtual area is issued, step S3
In step 1, the unique device driver that manages the moving image area searches the space area of the moving image area to determine whether or not there is a free area having the size of the area to be expanded. If there is no free area in step S32, error processing is performed in step S38, and the processing ends.
【0092】ステップS32において、空き領域が有る場
合はステップS33において、拡張する静止画仮想エリア
を管理するファイルのFile DescriptorをArea Manageme
nt Spaceから読み出す。ステップS34において、File De
scriptorが拡張する領域を含めるようにLocation of Ex
tentを更新しディスク上で更新する。分断点が増加する
場合は、Number of Extentsも同様に更新する。In step S32, if there is a free area, in step S33, the File Descriptor of the file for managing the extended still image virtual area is assigned to the Area Manageme.
Read from nt Space. In step S34, File De
Location of Ex to include the area that the scriptor extends
Update the tent and update on disk. If the number of breakpoints increases, update the Number of Extents as well.
【0093】ステップS35において、静止画仮想エリア
用に確保した新たな領域に対応する、Space Management
Descriptorを使用状態に更新しディスク上で更新す
る。ステップS36において、Volume Management Spaceに
記録された仮想エリアを管理するVirtual Area Descrip
torのVirtual Area Size情報をディスク上で更新する。
ステップS37において、今度はFATデバイスドライバが既
に存在した静止画像データ領域の管理情報を更新し処理
を終了する。具体的には、領域の大きさを管理する管理
情報や、FATの再構築などである。In step S35, the Space Management corresponding to the new area secured for the still image virtual area
Update Descriptor to use status and update on disk. In step S36, a Virtual Area Descrip which manages the virtual area recorded in the Volume Management Space
Update the virtual area size information of tor on the disk.
In step S37, the management information of the still image data area in which the FAT device driver already exists is updated, and the process ends. Specifically, there are management information for managing the size of the area, and reconstruction of the FAT.
【0094】動画像データを記録する領域に静止画像デ
ータを記録する領域がファイルとして管理されており、
この静止画像データを記録する領域の大きさを小さくす
る際の処理手順を図27のフローチャートを用いて説明す
る。The area for recording still image data is managed as a file in the area for recording moving image data.
A processing procedure for reducing the size of the area for recording the still image data will be described with reference to the flowchart in FIG.
【0095】ステップS40において、静止画像仮想エリ
アの大きさを縮小する処理要求が発生すると、ステップ
S41においてFATデバイスドライバは静止画像仮想エリア
に縮小したいだけの空き空間があるかどうかを判断す
る。ステップS42において、空き領域が無い場合はステ
ップS48においてエラー処理を行ない処理を終了する。In step S40, when a processing request for reducing the size of the still image virtual area is issued,
In S41, the FAT device driver determines whether there is enough free space in the virtual still image area to be reduced. If there is no free area in step S42, error processing is performed in step S48, and the processing ends.
【0096】ステップS42において、空き領域が有る場
合はステップS43において、FATデバイスドライバが既に
存在している静止画像仮想エリアの管理情報を更新す
る。具体的には、領域の大きさを管理する管理情報や、
FATの再構築などがある。ステップS44において、動画像
データエリアを管理する独自デバイスドライバは、静止
画像仮想エリアをファイルとして管理するFile Descrip
torをArea ManagementSpaceから読み出す。ステップS45
において、読み出したFile DescriptorのLocation of E
xtentsで新たな静止画像仮想エリアの位置を管理するよ
うに変更しディスク上で更新する。分断数が減少した場
合、Number of Extentsも同様に更新する。In step S42, if there is a free area, in step S43, the management information of the still image virtual area in which the FAT device driver already exists is updated. Specifically, management information for managing the size of the area,
FAT reconstruction, etc. In step S44, the unique device driver that manages the moving image data area performs File Descrip to manage the still image virtual area as a file.
Read tor from Area ManagementSpace. Step S45
At the location of E of the read File Descriptor
Change the location of the new still image virtual area to be managed by xtents and update on disk. When the number of divisions decreases, the Number of Extents is updated similarly.
【0097】ステップS46において、Volume Management
Spaceに記録された仮想エリアを管理するVirtual Area
Descriptorの情報を更新しディスク上で更新する。ス
テップS47において、静止画像仮想エリア用を縮小した
領域に対応するSpace Management Descriptorを解放し
ディスク上で更新する。In step S46, Volume Management
Virtual Area that manages the virtual area recorded in Space
Update Descriptor information and update on disk. In step S47, the Space Management Descriptor corresponding to the reduced area for the still image virtual area is released and updated on the disk.
【0098】動画エリア内に静止画仮想エリアがファイ
ルとして管理されている場合に、この静止画仮想エリア
を削除する際の処理手順を図28のフローチャートを用い
て説明する。A processing procedure for deleting a still image virtual area when a still image virtual area is managed as a file in the moving image area will be described with reference to the flowchart of FIG.
【0099】ステップS50において、静止画仮想エリア
を削除する処理要求が発生すると、ステップS51におい
て、Volume Management SpaceからPrimary Volume Desc
riptorを読み出し、削除する仮想エリアに対応するVirt
ual Area Descriptorへのポインタ情報を削除し、ディ
スク上で更新する。ステップS52において、動画エリア
を管理する独自デバイスドライバは、静止画仮想エリア
を管理するファイルのFile DescriptorをArea Manageme
nt Spaceから読み出し、静止画仮想エリアの位置情報を
把握する。ステップS53において、削除する静止画仮想
エリアと、その領域を管理していたFile Descriptor
と、仮想エリアを管理していたVirtual AreaDescriptor
に対応する、Space Management Descriptorを解放しデ
ィスク上で更新し処理を終了する。In step S50, when a processing request for deleting the still image virtual area is issued, in step S51, the Primary Volume Desc is deleted from the Volume Management Space.
Virt corresponding to the virtual area to read the riptor and delete
Delete the pointer information to the ual Area Descriptor and update it on the disk. In step S52, the unique device driver that manages the moving image area sets the File Descriptor of the file that manages the still image virtual area to Area Manageme.
Read from the nt Space and grasp the position information of the still image virtual area. In step S53, the still image virtual area to be deleted and the File Descriptor managing the area
And the Virtual AreaDescriptor that managed the virtual area
Release the Space Management Descriptor corresponding to, update on the disk, and end the process.
【0100】動画エリア内に静止画仮想エリアがファイ
ルとして管理されている場合について説明してきたが、
異なる実施の形態として、動画エリア内のファイルをVo
lumeレベルの仮想的エリアとして扱うのではなく、動画
エリアを管理する独自ファイルシステム内の仮想ディレ
クトリとしてアクセスを可能とする例を図29に示す。The case where the still image virtual area is managed as a file in the moving image area has been described.
As a different embodiment, files in the video area
FIG. 29 shows an example in which an access can be made not as a lume-level virtual area but as a virtual directory in a unique file system that manages a moving image area.
【0101】この例では、ユーザシステムが仮想ディレ
クトリにアクセスすることによって、ファイルとして管
理されている仮想ディレクトリファイルの中のファイル
システムにアクセスができるというものである。動画領
域の任意の領域を仮想ディレクトリとして確保し、その
領域に対して任意のファイルシステムを構築すると言っ
た事は前述の仮想エリアの場合と全く同じである。この
図の例では、動画像を記録するエリア内に4つの仮想デ
ィレクトリを管理するファイル(001, 002, 003, 004)
が作成されている。それぞれのファイルは動画像エリア
内で任意の領域を管理しており、管理しているそれぞれ
の領域の中にFATファイルシステムが管理する領域があ
る。In this example, when the user system accesses the virtual directory, the file system in the virtual directory file managed as a file can be accessed. Securing an arbitrary area of the moving image area as a virtual directory and constructing an arbitrary file system for that area is exactly the same as the case of the virtual area described above. In the example of this figure, files (001, 002, 003, 004) for managing four virtual directories in the area for recording moving images
Has been created. Each file manages an arbitrary area within the moving image area, and among the managed areas, there is an area managed by the FAT file system.
【0102】図の例では、ファイルによって管理されて
いる領域が連続的に確保されているが、この領域が連続
的に確保されている必要はなく、動画像エリア内で分断
している領域であっても構わない。In the example shown in the figure, the area managed by the file is continuously secured. However, this area does not need to be continuously secured, and it is an area divided in the moving image area. It does not matter.
【0103】それぞれの仮想ディレクトリは、ユーザシ
ステムから見ると通常のディレクトリとしてアクセスが
可能となる。つまり、この仮想ディレクトリに入ると、
その仮想ディレクトリが管理するファイルシステムの中
にアクセスするようになっている。Each virtual directory can be accessed as a normal directory when viewed from the user system. In other words, when you enter this virtual directory,
It accesses the file system managed by the virtual directory.
【0104】この例では、それぞれの仮想ディレクトリ
を「旅行」「スポーツ」「学芸会」「発表会」といった
アルバムに見立てており、図19に示すようなユーザイン
ターフェースを提供することが可能となる。図29におい
て、動画エリア内のDATA内のディレクトリである「スポ
ーツ」ディレクトリ内への移動が発生した時点で、それ
までは動画エリアのファイルシステムの管轄下であった
ものが、今度は仮想ディレクトリ「スポーツ」内のファ
イルシステムにより静止画ファイルが開かれ、図19に示
すように、その中に記録されている静止画がアイコンと
して表示される。In this example, each virtual directory is regarded as an album such as “travel”, “sports”, “gakugei-kai”, “presentation”, and a user interface as shown in FIG. 19 can be provided. In FIG. 29, when the movement to the “sports” directory, which is a directory in the DATA in the moving image area, occurs, the virtual directory “ The still image file is opened by the file system in "sports", and the still images recorded therein are displayed as icons as shown in FIG.
【0105】この「スポーツ」のアルバムの中の静止画
像は、図29中の仮想ディレクトリ「スポーツ」002によ
って管理されるディスク上の領域に作成されたFATファ
イルシステムで管理されるものである。選択しているア
ルバムを変更することは、アクセスすべき仮想ディレク
トリを変更する事と同じ事となる。つまり、再度、動画
エリアのファイルシステムにより、他のディレクトリに
移動することになる。The still images in the “sports” album are managed by the FAT file system created in the area on the disk managed by the virtual directory “sports” 002 in FIG. Changing the selected album is the same as changing the virtual directory to be accessed. That is, the directory is moved to another directory again by the file system of the moving image area.
【0106】このような実施形態の場合は、前述の独自
ファイルシステムにおいてAreaレベルの管理情報とし
て、Virtual Directory Descriptorを定義する。このV
irtualDirectory Descriptorの一例を図30に示す。In the case of such an embodiment, a Virtual Directory Descriptor is defined as the management information at the Area level in the above-mentioned unique file system. This V
FIG. 30 shows an example of the irtualDirectory Descriptor.
【0107】Virtual Directory Descriptor(VDD)
は、仮想ディレクトリの基本管理情報を記録する管理記
述子である。VDDは、VDDを識別するためのID(Header I
D)、1論理ブロックにVDDが格納できずに複数の論理ブ
ロックにまたがって記録される場合に次にアクセスすべ
き論理ブロック番号(Next Extension)、同様に複数論
理ブロックにまたがった場合に1つ前の情報が記録され
た論理ブロック番号(Previous Extension)、仮想ディ
レクトリ内のファイルシステムの種類を示す(Virtual
Directory Type)、仮想ディレクトリ名(Virtual Dire
ctory Name)、VDDの作成および修正時刻(Creation Ti
me & Date、Modified Time & Date)、仮想ディレクト
リが管理する領域の大きさ(Virtual Directory Siz
e)、管理する仮想ディレクトリが含まれるディレクト
リのDirectory Descriptorの記録位置を示す論理ブロッ
ク番号(Pointer to Parent Directory)、仮想ディレ
クトリ内のファイルシステムのパスを指定し、そのパス
から下位のファイル構造を仮想ディレクトリとして見せ
るための情報である(Path to Mount)、仮想ディレク
トリが管理するExtent Spaceに記録されるデータのディ
スク上での分断数(Numberof Extents)、そしてそれぞ
れの分断の位置情報である開始論理ブロック番号と論理
ブロック数(Location of Extent)で構成される。な
お、Location of ExtentはNumber of Extentsで管理さ
れる分断数の数だけ記録される。Virtual Directory Descriptor (VDD)
Is a management descriptor for recording basic management information of the virtual directory. VDD is an ID (Header I) for identifying VDD.
D) The logical block number (Next Extension) to be accessed next when VDD cannot be stored in one logical block and is recorded over a plurality of logical blocks, and similarly, one when the VDD extends over a plurality of logical blocks The logical block number (Previous Extension) where the previous information was recorded, and the type of the file system in the virtual directory (Virtual
Directory Type), Virtual Directory Name (Virtual Dire)
ctory Name), VDD creation and modification time (Creation Ti
me & Date, Modified Time & Date), the size of the area managed by the virtual directory (Virtual Directory Siz
e) Specify the logical block number (Pointer to Parent Directory) indicating the recording position of the Directory Descriptor of the directory containing the virtual directory to be managed, specify the file system path in the virtual directory, and virtualize the lower-level file structure from that path. The information to be shown as a directory (Path to Mount), the number of partitions on the disk of the data recorded in the Extent Space managed by the virtual directory (Number of Extents), and the start logical block that is the location information of each partition It consists of a number and the number of logical blocks (Location of Extent). Note that the number of Location of Extents is recorded by the number of divisions managed by the Number of Extents.
【0108】新たに仮想ディレクトリが作成されるたび
に、このVirtual Directory Descriptorが作成されるこ
とになり、この管理情報にアクセスすることによって前
述の仮想エリアにアクセスするのと同様の効果が得られ
る。このVirtual DirectoryDescriptorの新規作成や削
除は、ファイルの追加や削除とまったく同じ処理で行え
るものであり、Virtual Directory Descriptor自体はAV
Area内のArea Management Spaceに記録される。Each time a new virtual directory is created, this Virtual Directory Descriptor is created. By accessing this management information, the same effect as accessing the above-described virtual area can be obtained. The creation and deletion of a new Virtual Directory Descriptor can be performed in exactly the same way as adding or deleting a file.
Recorded in Area Management Space in Area.
【0109】Virtual Directory Descriptorが記録され
る場合のAreaの管理領域の様子を図31に示す。この図で
は、Rootディレクトリを管理するDirectory Descriptor
(DIR Descriptor for Root)からDATAディレクトリを
管理するDirectory Descriptor(DIR Descriptor for D
ATA)へのポインタがある。更に、DIR Descriptor forD
ATAからは仮想ディレクトリを管理するVirtual Directo
ry Descriptor(Virtual DIR Descriptor)へのポイン
タが出ている。FIG. 31 shows the state of the area management area when the Virtual Directory Descriptor is recorded. In this figure, the Directory Descriptor that manages the Root directory
Directory Descriptor (DIR Descriptor for D) that manages the DATA directory from (DIR Descriptor for Root)
ATA). Furthermore, DIR Descriptor for D
Virtual Directo manages virtual directories from ATA
The pointer to the ry Descriptor (Virtual DIR Descriptor) has appeared.
【0110】ユーザから見れば、通常のディレクトリと
仮想ディレクトリは同様に管理することが可能であり、
異なるデバイスドライバを意識することなく、動画と静
止画にそれぞれアクセスすることが可能となる。From the viewpoint of the user, the normal directory and the virtual directory can be managed in the same manner.
It is possible to access a moving image and a still image without being aware of different device drivers.
【0111】この仮想ディレクトリの実施例において
も、仮想ディレクトリの内部のファイル構造を容易に把
握する手段を提供し、静止画ファイルの検索等を高速化
するために、仮想ディレクトリ内部のファイル構造を示
すファイルを独自ファイルシステムによって管理される
動画像を記録するエリアに作成するようにしてもよい。Also in this embodiment of the virtual directory, the means for easily grasping the file structure inside the virtual directory is provided, and the file structure inside the virtual directory is shown in order to speed up the retrieval of still image files and the like. The file may be created in an area for recording a moving image managed by a unique file system.
【0112】説明の都合上、動画像を記録する領域と静
止画像を記録する領域という前提で説明をしてきたが、
特に動画像と静止画に限った話である必要はなく、異な
るファイルシステムを導入したい場合や、領域を分割し
て管理する場合に初期化後に領域の変更を行うことが考
えられる場合に、本発明は適用可能である。For convenience of explanation, the description has been made on the assumption that an area for recording a moving image and an area for recording a still image.
This is not particularly limited to moving images and still images.If you want to introduce a different file system or if you want to change the area after initialization when dividing and managing the area, this book The invention is applicable.
【0113】また、上記の実施例では、各領域を管理す
る管理情報は所定の単一の領域内に確保されているが、
管理情報を複数の領域に分割して記録するように構成し
てもよいことは言うまでもない。In the above embodiment, the management information for managing each area is secured in a predetermined single area.
It goes without saying that the management information may be divided into a plurality of areas and recorded.
【0114】以上のように、特定のエリア内にファイル
構造によってディスク上の領域を確保し、その領域を仮
想的なエリアやディレクトリとして扱うことによって、
従来エリアなどの新規作成や大きさの変更を動的に行う
場合に手間がかかっていた問題が解決される。具体的に
は、新たに領域を定義したり、定義されている領域の大
きさを変更するにあたって、その領域がファイル構造の
作成や削除や大きさの変更などで目的が達成できるた
め、既存のエリアの大きさを変更する必要がなくなり、
大幅に処理が軽減されることになる。As described above, an area on the disk is secured by a file structure in a specific area, and the area is treated as a virtual area or directory.
It is possible to solve the problem that was conventionally troublesome when dynamically creating a new area or changing the size. Specifically, when defining a new area or changing the size of a defined area, the area can be achieved by creating, deleting, or changing the size of the file structure. No need to change the size of the area,
Processing will be greatly reduced.
【0115】また、仮想的なエリアやディレクトリの中
のファイルシステムや大きさを外部記録装置などでつか
われるコンパクトフラッシュなどと同じとすることによ
って、相互のデータのコピーなどが容易に行うことがで
互換性が高いシステムを構築することが可能となる。Further, by making the file system and the size in the virtual area or directory the same as those of the compact flash used in the external recording device or the like, mutual data can be easily copied. A highly compatible system can be constructed.
【0116】[0116]
【発明の効果】本発明によれば、上記したように構成す
ることで、上位のエリア(実領域)の管理情報で、仮想
領域ファイル或いは仮想ディレクトリとしての仮想領域
を管理することができ、仮想領域の設定、削除を容易に
行うことができる。つまり、領域のサイズの拡張、領域
の解放など、従来、一度初期化が必要になっていた処理
を、初期化することなく、容易に管理することが可能と
なる。According to the present invention, with the above configuration, it is possible to manage a virtual area as a virtual area file or a virtual directory with management information of an upper area (real area). Area setting and deletion can be easily performed. In other words, it is possible to easily manage processing that once required initialization, such as expansion of the area size and release of the area, without initialization.
【0117】また、仮想領域のサイズを、外部記録媒体
のサイズと同一にすることによって、外部記録媒体のデ
ータを容易に利用することが可能となる。Further, by making the size of the virtual area the same as the size of the external recording medium, data on the external recording medium can be easily used.
【図1】本発明の記録媒体管理方法の実施形態における
ディスクのレイアウトを示す説明図である。FIG. 1 is an explanatory diagram showing a layout of a disk in a recording medium management method according to an embodiment of the present invention.
【図2】本発明の記録媒体管理方法の実施形態における
Primary Volume Descriptorの説明図である。FIG. 2 illustrates a recording medium management method according to an embodiment of the present invention.
It is an explanatory view of a Primary Volume Descriptor.
【図3】本発明の記録媒体管理方法の実施形態における
adr#long形式の説明図である。FIG. 3 illustrates a recording medium management method according to an embodiment of the present invention.
FIG. 4 is an explanatory diagram of an adr # long format.
【図4】本発明の記録媒体管理方法の実施形態における
Header ID形式の説明図である。FIG. 4 illustrates a recording medium management method according to an embodiment of the present invention.
It is an explanatory view of a Header ID format.
【図5】本発明の記録媒体管理方法の実施形態における
Area Descriptorの説明図である。FIG. 5 illustrates a recording medium management method according to an embodiment of the present invention.
It is explanatory drawing of Area Descriptor.
【図6】本発明の記録媒体管理方法の実施形態における
AV Areaのレイアウトを示す説明図である。FIG. 6 illustrates a recording medium management method according to an embodiment of the present invention.
FIG. 3 is an explanatory diagram showing a layout of an AV area.
【図7】本発明の記録媒体管理方法の実施形態における
Primary Area Descriptorの説明図である。FIG. 7 illustrates a recording medium management method according to an embodiment of the present invention.
It is explanatory drawing of Primary Area Descriptor.
【図8】本発明の記録媒体管理方法の実施形態における
Space Management Descriptorの説明図である。FIG. 8 shows a recording medium management method according to an embodiment of the present invention.
It is explanatory drawing of Space Management Descriptor.
【図9】本発明の記録媒体管理方法の実施形態における
Directory Descriptorの説明図である。FIG. 9 illustrates a recording medium management method according to an embodiment of the present invention.
It is an explanatory view of Directory Descriptor.
【図10】本発明の記録媒体管理方法の実施形態におけ
るDescriptor Pointer Entryの説明図である。FIG. 10 is an explanatory diagram of Descriptor Pointer Entry in the embodiment of the recording medium management method of the present invention.
【図11】本発明の記録媒体管理方法の実施形態におけ
るディレクトリのAttributeの説明図である。FIG. 11 is an explanatory diagram of a directory attribute in the embodiment of the recording medium management method of the present invention.
【図12】本発明の記録媒体管理方法の実施形態におけ
るFile Descriptorの説明図である。FIG. 12 is an explanatory diagram of a file descriptor in the embodiment of the recording medium management method of the present invention.
【図13】本発明の記録媒体管理方法の実施形態におけ
るファイルのAttributeの説明図である。FIG. 13 is an explanatory diagram of a file attribute in the embodiment of the recording medium management method of the present invention.
【図14】本発明の記録媒体管理方法の実施形態におけ
るExtended Descriptorの説明図である。FIG. 14 is an explanatory diagram of an Extended Descriptor in the embodiment of the recording medium management method of the present invention.
【図15】本発明の記録媒体管理方法の実施形態におけ
るExtended Descriptorの使用方法を示す説明図であ
る。FIG. 15 is an explanatory diagram showing a method of using an Extended Descriptor in the embodiment of the recording medium management method of the present invention.
【図16】本発明の記録媒体管理方法の実施形態におけ
る動画像シーンを記録する様子の説明図である。FIG. 16 is an explanatory diagram showing how a moving image scene is recorded in the recording medium management method according to the embodiment of the present invention.
【図17】本発明の記録媒体管理方法の実施形態におけ
る仮想パーティションファイルと仮想パーティションフ
ァイルの関係の説明図である。FIG. 17 is an explanatory diagram of a relationship between a virtual partition file and a virtual partition file in the embodiment of the recording medium management method of the present invention.
【図18】本発明の記録媒体管理方法の実施形態におけ
る動画パーティションに記録された仮想パーティション
ファイルの様子の説明図である。FIG. 18 is an explanatory diagram of a state of a virtual partition file recorded in a moving image partition in the embodiment of the recording medium management method of the present invention.
【図19】本発明の記録媒体管理方法の実施形態におけ
るユーザインターフェースの一例を示す説明図である。FIG. 19 is an explanatory diagram showing an example of a user interface in the embodiment of the recording medium management method of the present invention.
【図20】本発明の記録媒体管理方法の実施形態におけ
る仮想パーティションを管理するファイルを外部記録媒
体と互換を持たせる様子の説明図である。FIG. 20 is an explanatory diagram showing how a file for managing a virtual partition is made compatible with an external recording medium in the embodiment of the recording medium management method of the present invention.
【図21】本発明の記録媒体管理方法の実施形態におけ
るVirtual Area Descriptorの説明図である。FIG. 21 is an explanatory diagram of a virtual area descriptor in the embodiment of the recording medium management method of the present invention.
【図22】本発明の記録媒体管理方法の実施形態におい
てVirtual Area Descriptorを導入した際のディスクの
レイアウトを示す説明図である。FIG. 22 is an explanatory diagram showing a disk layout when a Virtual Area Descriptor is introduced in the embodiment of the recording medium management method of the present invention.
【図23】本発明の記録媒体管理方法の実施形態におけ
る仮想パーティションファイルを新規に作成する処理の
流れを示すフローチャートである。FIG. 23 is a flowchart showing a flow of processing for newly creating a virtual partition file in the embodiment of the recording medium management method of the present invention.
【図24】本発明の記録媒体管理方法の実施形態におけ
る動画パーティションと仮想パーティションにアクセス
するためのデバイスドライバの様子を示す説明図であ
る。FIG. 24 is an explanatory diagram showing a state of a device driver for accessing a moving image partition and a virtual partition in the embodiment of the recording medium management method of the present invention.
【図25】本発明の記録媒体管理方法の実施形態におけ
るデータアクセス要求が発生した際の処理の流れを示す
フローチャートである。FIG. 25 is a flowchart showing a processing flow when a data access request is generated in the embodiment of the recording medium management method of the present invention.
【図26】本発明の記録媒体管理方法の実施形態におけ
る仮想パーティションファイルの大きさを拡張する要求
が発生した際の処理の流れを示すフローチャートであ
る。FIG. 26 is a flowchart showing the flow of processing when a request to expand the size of a virtual partition file occurs in the embodiment of the recording medium management method of the present invention.
【図27】本発明の記録媒体管理方法の実施形態におけ
る仮想パーティションファイルの大きさを縮小する要求
が発生した際の処理の流れを示すフローチャートであ
る。FIG. 27 is a flowchart showing the flow of processing when a request to reduce the size of a virtual partition file occurs in the embodiment of the recording medium management method of the present invention.
【図28】本発明の記録媒体管理方法の実施形態におけ
る仮想パーティションファイルを削除する際の処理の流
れを示すフローチャートである。FIG. 28 is a flowchart showing a processing flow when deleting a virtual partition file in the embodiment of the recording medium management method of the present invention.
【図29】本発明の記録媒体管理方法の別の実施形態で
ある仮想ディレクトリの概要を示す説明図である。FIG. 29 is an explanatory diagram showing an outline of a virtual directory which is another embodiment of the recording medium management method of the present invention.
【図30】本発明の記録媒体管理方法の実施形態におけ
るVirtual Directory Descriptorの説明図である。FIG. 30 is an explanatory diagram of a Virtual Directory Descriptor in the embodiment of the recording medium management method of the present invention.
【図31】本発明の記録媒体管理方法の実施形態におい
てVirtual Directory Descriptorが導入された際のAV
Areaのレイアウトを示す説明図であるFIG. 31 shows an AV when a Virtual Directory Descriptor is introduced in the embodiment of the recording medium management method of the present invention.
FIG. 3 is an explanatory diagram showing a layout of an Area.
【図32】従来技術におけるユーザシステムがデバイス
ドライバを使って論理ファイルシステムの管理情報を使
い、ディスクにアクセスする様子の説明図である。FIG. 32 is an explanatory diagram of how a user system in the related art accesses a disk using management information of a logical file system using a device driver.
【図33】従来技術における複数パーティションを定義
した場合の説明図である。FIG. 33 is an explanatory diagram of a case where a plurality of partitions are defined in the related art.
20 ユーザシステム 21 デバイスドライバA 22 仮想エリア 23 デバイスドライバB 24 仮想エリアファイル 25 動画エリア 26 ディスク媒体 Reference Signs List 20 user system 21 device driver A 22 virtual area 23 device driver B 24 virtual area file 25 video area 26 disk medium
フロントページの続き Fターム(参考) 5B082 AA13 CA08 CA11 CA17 CA18 EA01 5C052 AA01 AA17 AB03 AB04 AB05 AC08 DD02 DD04 5D110 AA04 AA13 AA29 BB07 BB16 DA01 DA11 DA17 DA20 DB03 DC05 DC16 FA08 Continued on the front page F term (reference) 5B082 AA13 CA08 CA11 CA17 CA18 EA01 5C052 AA01 AA17 AB03 AB04 AB05 AC08 DD02 DD04 5D110 AA04 AA13 AA29 BB07 BB16 DA01 DA11 DA17 DA20 DB03 DC05 DC16 FA08
Claims (4)
のエリアを確保し、該第1のエリアに記録されるデータ
の管理情報を第1のエリア内の第2のエリアに記録し、
前記第2のエリア中の管理情報を用いて、前記第1エリ
ア中のデータの管理を行う記録再生装置におけるデータ
管理方法であって、 前記第1のエリア内に、所定のデータサイズの第3のエ
リアを確保するとともに、該第3のエリアの管理情報を
前記第2のエリアに記録し、 第3のエリア内に記録されるデータの管理情報を第3の
エリア内に記録し、 前記第3のエリア内に記録される管理情報及び前記第2
のエリア内の管理情報を用いて、前記第3のエリア内の
データの管理を行うことを特徴とするデータ管理方法。A first recording medium for recording data on a first recording medium;
Area, and management information of data recorded in the first area is recorded in a second area in the first area,
A data management method in a recording / reproducing apparatus for managing data in said first area using management information in said second area, wherein a third data area having a predetermined data size is stored in said first area. And the management information of the third area is recorded in the second area, and the management information of the data recorded in the third area is recorded in the third area. Management information recorded in the area 3 and the second
A data management method for managing data in the third area by using management information in the area.
第1の記録媒体とは異なる第2の記録媒体上のサイズと
等しいサイズとして領域の確保を行い、 前記第2の記録媒体上のデータを、前記第1の記録媒体
中の第3のエリアにコピーすることを特徴とする前記請
求項1に記載のデータ管理方法。2. An area is secured by setting the data size of the third area equal to the size on a second recording medium different from the first recording medium. 2. The data management method according to claim 1, wherein data is copied to a third area in the first recording medium.
のエリアに記録し、記録媒体上にデータ記録を行う第1
のエリアを確保し、第1のエリアの管理情報を前記第4
のエリアに記録し、第1のエリアに記録されるファイル
の管理情報を第1のエリア内の第2のエリアに記録し、
前記第2のエリア中の管理情報を用いて、前記第1エリ
ア中のファイルの管理を行う記録再生装置におけるデー
タ管理方法であって、 前記第1のエリア内に、所定のデータサイズの仮想エリ
アファイルを作成するとともに、該仮想エリアファイル
の管理情報を前記第2のエリアに記録し、 前記仮想エリアファイルに記録されるデータの管理情報
を前記仮想エリアファイル内に記録し、前記仮想ファイ
ル内の管理情報及び前記第2のエリア内の管理情報を用
いて、前記仮想エリアファイル内のデータの管理を行
い、 前記仮想エリアファイルを仮想エリアとして前記仮想エ
リアファイルのを仮想エリアとして管理するよう、前記
仮想エリアファイルを特定する情報を含む該仮想エリア
の管理情報を前記第4のエリアに記録し、該仮想エリア
の管理を行うことを特徴とするデータ管理方法。3. Management information for managing the entire recording medium is stored in a fourth storage medium.
No. 1 to record on the recording medium and record data on the recording medium
Area, and the management information of the first area is stored in the fourth area.
And recording management information of a file recorded in the first area in a second area in the first area,
A data management method in a recording / reproducing apparatus for managing files in said first area using management information in said second area, comprising: a virtual area having a predetermined data size in said first area. Creating a file, recording management information of the virtual area file in the second area, recording management information of data recorded in the virtual area file in the virtual area file, Using the management information and the management information in the second area, manage data in the virtual area file, and manage the virtual area file as a virtual area and the virtual area file as a virtual area. The management information of the virtual area including the information specifying the virtual area file is recorded in the fourth area, and the management information of the virtual area is recorded. Data management method and performing.
アを確保し、該第1のエリアに記録されるデータの管理
情報を第1のエリア内の第2のエリアに記録し、前記第
2のエリア中の管理情報を用いて、前記第1エリア中の
データの管理を行う記録再生装置におけるデータ管理方
法であって、 前記第1のエリア内に、所定のデータサイズの領域をも
つ仮想ディレクトリを作成するとともに、該仮想ディレ
クトリの管理情報を前記第2のエリアに記録し、 前記仮想ディレクトリ内に記録されるデータの管理情報
を前記仮想ディレクトリとして確保した領域内に記録
し、 前記仮想ディレクトリと領域内の管理情報及び前記第2
のエリア内の管理情報を用いて、前記仮想ディレクトリ
内のデータの管理を行うことを特徴とするデータ管理方
法。4. A first area for recording data on a recording medium is secured, and management information of data recorded in the first area is recorded in a second area in the first area. A data management method in a recording / reproducing apparatus for managing data in a first area using management information in a second area, wherein the first area has an area of a predetermined data size. Creating a virtual directory, recording management information of the virtual directory in the second area, recording management information of data recorded in the virtual directory in an area secured as the virtual directory, Directory and management information in the area and the second
A data management method for managing data in said virtual directory using management information in said area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28899299A JP2001110169A (en) | 1999-10-12 | 1999-10-12 | Data management methods |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28899299A JP2001110169A (en) | 1999-10-12 | 1999-10-12 | Data management methods |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001110169A true JP2001110169A (en) | 2001-04-20 |
Family
ID=17737451
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28899299A Pending JP2001110169A (en) | 1999-10-12 | 1999-10-12 | Data management methods |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001110169A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006016494A1 (en) * | 2004-08-09 | 2006-02-16 | Pioneer Corporation | Information recording medium, information recording device and method, information reproducing device and method, and computer program |
| JP2006350606A (en) * | 2005-06-15 | 2006-12-28 | Sharp Corp | Electronic information temporary storage device, computer program, and recording medium |
| US7366066B2 (en) | 2001-11-30 | 2008-04-29 | Sony Corporation | Information recording method and apparatus, information reproducing method and apparatus, information recording medium, and program storage medium with overwrite protection features limiting the possible number of rewrites |
| JP2008108420A (en) * | 2007-11-15 | 2008-05-08 | Sony Corp | Information recording apparatus and method, information reproducing apparatus and method, information recording medium, program storage medium, and program |
| WO2009078157A1 (en) * | 2007-12-17 | 2009-06-25 | Panasonic Corporation | Individual sales oriented recording medium, recording device, reproducing device and method for them |
| US7825961B2 (en) | 2004-05-28 | 2010-11-02 | Canon Kabushiki Kaisha | Recording apparatus and method for recording image data on a removable recording medium having plural partitions |
-
1999
- 1999-10-12 JP JP28899299A patent/JP2001110169A/en active Pending
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7366066B2 (en) | 2001-11-30 | 2008-04-29 | Sony Corporation | Information recording method and apparatus, information reproducing method and apparatus, information recording medium, and program storage medium with overwrite protection features limiting the possible number of rewrites |
| KR100941799B1 (en) * | 2001-11-30 | 2010-02-10 | 소니 주식회사 | An information recording method and apparatus, an information reproducing method and apparatus, an information recording medium, and a program storage medium |
| US7738330B2 (en) | 2001-11-30 | 2010-06-15 | Sony Corporation | Information recording method and apparatus, information reproducing method and apparatus, information recording medium, program storage medium and program |
| US7825961B2 (en) | 2004-05-28 | 2010-11-02 | Canon Kabushiki Kaisha | Recording apparatus and method for recording image data on a removable recording medium having plural partitions |
| WO2006016494A1 (en) * | 2004-08-09 | 2006-02-16 | Pioneer Corporation | Information recording medium, information recording device and method, information reproducing device and method, and computer program |
| JPWO2006016494A1 (en) * | 2004-08-09 | 2008-07-31 | パイオニア株式会社 | Information recording medium, information recording apparatus and method, information reproducing apparatus and method, and computer program |
| JP2006350606A (en) * | 2005-06-15 | 2006-12-28 | Sharp Corp | Electronic information temporary storage device, computer program, and recording medium |
| JP2008108420A (en) * | 2007-11-15 | 2008-05-08 | Sony Corp | Information recording apparatus and method, information reproducing apparatus and method, information recording medium, program storage medium, and program |
| WO2009078157A1 (en) * | 2007-12-17 | 2009-06-25 | Panasonic Corporation | Individual sales oriented recording medium, recording device, reproducing device and method for them |
| US8051100B2 (en) | 2007-12-17 | 2011-11-01 | Panasonic Corporation | Recording medium, recording device, and playback device for use in individual sales and method therefor |
| CN101903952B (en) * | 2007-12-17 | 2012-08-22 | 松下电器产业株式会社 | Recording device, reproducing device, recording method, and reproducing method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6823417B2 (en) | Memory controller for memory card manages file allocation table | |
| US6675276B2 (en) | Method for providing extensible dos-fat system structures on one-time programmable media | |
| JP3938594B2 (en) | File name generator | |
| US5579516A (en) | Method for storing data files on a multiple volume media set | |
| JP4076078B2 (en) | File management method | |
| US20120271859A1 (en) | Storage device presenting to hosts only files compatible with a defined host capability | |
| EP1568031A1 (en) | Record carrier having a main file system area and a virtual file system area | |
| JP2001110169A (en) | Data management methods | |
| KR20040068175A (en) | Data storage methods and apparatuses with basic and extended file system capacity | |
| JPH11120044A (en) | Data processing device, data processing method, data processing system, and recording medium | |
| JP3620241B2 (en) | File management apparatus, file management method, recording medium, and file management system | |
| US20070055819A1 (en) | Information recording medium and its control method | |
| WO1999000728A1 (en) | File managing device, file managing method, and recording medium stored with file managing program | |
| JP4561323B2 (en) | Information processing apparatus, information processing method, and program | |
| JP2006178633A (en) | Information processing apparatus, information processing method, and program | |
| JP4003709B2 (en) | File management apparatus, file management method, and file management system | |
| JP3624647B2 (en) | Storage device, data management device, data management system, data management method, file management device, recording medium, and file management system | |
| JP2001128111A (en) | Recording / reproducing device and recording / reproducing method, control device and control method, recording / reproducing control system and recording / reproducing control method | |
| JPH05151056A (en) | Data controller | |
| JP2008134777A (en) | Caching method of file allocation table | |
| KR100882470B1 (en) | How to edit media files | |
| JP2009301683A (en) | Recording and playback device, recording and playback method, and computer program | |
| JP2002163132A (en) | File management device, file management method, and storage medium for file management program | |
| JP2000003298A (en) | Electronic file storage method | |
| JPH11110273A (en) | Data management device and data management method |