JP2008226137A - File management method and file management system - Google Patents
File management method and file management system Download PDFInfo
- Publication number
- JP2008226137A JP2008226137A JP2007067007A JP2007067007A JP2008226137A JP 2008226137 A JP2008226137 A JP 2008226137A JP 2007067007 A JP2007067007 A JP 2007067007A JP 2007067007 A JP2007067007 A JP 2007067007A JP 2008226137 A JP2008226137 A JP 2008226137A
- Authority
- JP
- Japan
- Prior art keywords
- directory tree
- folder
- file
- virtual directory
- hdd
- 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
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、電子機器に対してディレクトリツリー構造の異なる複数の記録媒体を接続し、単一のディレクトリツリーを仮想的に構築するファイル管理方法及びファイル管理システムに関する。 The present invention relates to a file management method and a file management system for connecting a plurality of recording media having different directory tree structures to an electronic device and virtually constructing a single directory tree.
従来から、複数のディレクトリツリーに基づいて1つのディレクトリツリーを仮想的に構築し、ユーザによるファイルのアクセスを容易にすることができるファイル管理方法、ファイル管理装置が開示されている。 2. Description of the Related Art Conventionally, a file management method and a file management apparatus have been disclosed that can virtually construct one directory tree based on a plurality of directory trees and facilitate user access to files.
例えば、特許文献1には、複数のディレクトリツリーをレイヤのように重ね合わせて仮想ディレクトリを構成し、複数のディスレクトリツリーをアプリケーションからは単一のディレクトリのように見せ、ファイルを更新する際は、更新用のレイヤに書き込むことで論理的な上書きを可能とし、さらに予め他のディレクトリ以下に上書きしたいファイルを用意しておき、仮想ディレクトリの最上位レイヤへ配備するファイル管理装置・ファイル管理方法が開示されている。これによれば、過去のある時点のスナップショットの取得やマスターファイルの保持が可能であり、複数のファイルの同時追加についてもアトミックに行うことが可能となる。
また、例えば、特許文献2には、設置済ネットワークストレージが仮想一元化機能を使用せずに運用している状況で、新しいネットワークストレージを増設した場合であっても、設置済ネットワークストレージのディレクトリツリー構造を継承しつつ、その容量を拡張することができる仮想一元化方法が開示されている。
また、例えば、特許文献3には、新規ファイル格納時やファイル編集時に、記録媒体の容量が足りなかったとき、新しい記録媒体上のルートディレクトリ以下に、元の記録媒体上のディレクトリと同じパスのサブディレクトリを増設し、そこにファイルを格納するファイル管理装置及びファイル管理方法が開示されている。これによれば、ユーザから見たディレクトリの木構造を変化させずに記録媒体を追加して記憶容量を増加させることが可能となる。
Further, for example,
Further, for example, in Patent Document 3, when the capacity of a recording medium is insufficient when storing a new file or editing a file, the same path as the directory on the original recording medium is placed under the root directory on the new recording medium. A file management apparatus and a file management method for adding subdirectories and storing files therein are disclosed. According to this, it is possible to increase the storage capacity by adding a recording medium without changing the tree structure of the directory seen by the user.
ところで、仮想ディレクトリツリーに統合する複数の記録媒体に、ファイル名が共通する同名フォルダが存在している場合がある。しかしながら、上記特許文献1〜3には、仮想ディレクトリツリー作成時における当該同名フォルダの扱いについて何ら記載されておらず、複数の記録媒体に同名フォルダが存在している場合には、構築した仮想ディレクトリツリーに同名のフォルダが存在することとなってしまう。そのため、仮想ディレクトリツリーに統合する複数の記録媒体に同名フォルダが存在している場合に、上記特許文献1〜3のファイル管理技術では、ユーザから見た仮想ディレクトリツリーが煩雑となってしまい、所望のファイルへ容易にアクセスできないという問題があった。
By the way, the same name folder with a common file name may exist in a plurality of recording media integrated into the virtual directory tree. However, the
本発明の課題は、複数のディレクトリツリーに基づいて単一のディレクトリツリーを仮想的に構築するファイル管理方法及びファイル管理システムにおいて、ユーザによるファイルへのアクセスをより容易化することである。 An object of the present invention is to make it easier for a user to access a file in a file management method and file management system that virtually constructs a single directory tree based on a plurality of directory trees.
上記課題を解決するため、請求項1に記載の発明は、電子機器に対して、ルートディレクトリが互いに異なるディレクトリツリーを有する複数の記録装置を接続してファイルを管理するファイル管理システムにおいて、
前記複数の記録装置は、一のマスタハードディスクドライブ及び一又は複数の外付ハードディスクドライブにより構成され、
前記電子機器に接続された前記複数の記録装置を検出する検出手段と、
前記検出手段により検出された前記複数の記録装置の各々から、前記ディレクトリツリーを読み出す読出手段と、
前記読出手段により読み出された前記ディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダを検索し、検索された同一階層内における同名フォルダを一つのフォルダとし、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作を繰り返して仮想ディレクトリツリーを作成する作成手段と、
前記作成手段により作成された前記仮想ディレクトリツリーを前記マスタハードディスクドライブに記憶させる記憶制御手段と、
前記マスタハードディスクドライブに記憶された前記仮想ディレクトリツリーに基づいて、前記複数の記録装置に記憶されたファイルへのアクセスを管理する管理手段と、
前記電子機器に、新規の記録装置が接続されたことを検出する接続検出手段と、
前記接続検出手段により、前記新規の記録装置が接続されたことが検出された場合に、キー操作部におけるキー操作に基づいて、当該新規の記録装置のディレクトリツリーを、前記作成手段により作成された前記仮想ディレクトリツリーに統合するか否かをユーザに選択させる選択手段と、
前記選択手段により、前記新規の記録装置のディレクトリツリーを前記仮想ディレクトリツリーに統合すると選択された場合に、当該新規の記録装置がフォーマット済みであるか否かを判別する判別手段と、
前記判別手段により、前記新規の記録装置がフォーマット済みであると判別された場合に、当該新規の記録装置のファイルシステムを判別し、当該新規の記録装置のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一であるか否かを判断する判断手段と、
前記判断手段により、前記新規の記録装置のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、当該新規の記録装置のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨を報知する報知手段と、
を備え、
前記作成手段は、
前記判断手段により、前記新規の記録装置のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一であると判断された場合に実行されることを特徴とする。
In order to solve the above problems, the invention according to
The plurality of recording devices includes one master hard disk drive and one or more external hard disk drives,
Detecting means for detecting the plurality of recording devices connected to the electronic device;
Reading means for reading out the directory tree from each of the plurality of recording devices detected by the detecting means;
In the directory tree read by the reading means, the same name folder in the same hierarchy is searched in order from the highest hierarchy, and the searched same name folder in the same hierarchy is set as one folder, and the folder is stored in the folder. Creating means for creating a virtual directory tree by repeating the operation of writing a lower-level folder associated with
Storage control means for storing the virtual directory tree created by the creating means in the master hard disk drive;
Management means for managing access to files stored in the plurality of recording devices based on the virtual directory tree stored in the master hard disk drive;
Connection detection means for detecting that a new recording device is connected to the electronic device;
When the connection detecting unit detects that the new recording device is connected, a directory tree of the new recording device is created by the creating unit based on a key operation in the key operation unit. Selection means for allowing the user to select whether to integrate into the virtual directory tree;
A discriminating unit for discriminating whether or not the new recording device is formatted when the selection unit selects to integrate the directory tree of the new recording device into the virtual directory tree;
When the determination unit determines that the new recording device is formatted, the file system of the new recording device is determined, and the file system of the new recording device is a file in the virtual directory tree. A determination means for determining whether or not the system is the same;
If the determination unit determines that the file system of the new recording device is not the same as the file system of the virtual directory tree, it is not possible to integrate the directory tree of the new recording device into the virtual directory tree. An informing means for informing that it is possible;
With
The creating means includes
It is executed when the determination unit determines that the file system of the new recording device is the same as the file system of the virtual directory tree.
請求項2に記載の発明は、電子機器に対して、ルートディレクトリが互いに異なるディレクトリツリーを有する複数の記録媒体を接続してファイルを管理するファイル管理システムにおいて、
前記電子機器に接続された前記複数の記録媒体を検出する検出手段と、
前記検出手段により検出された前記複数の記録媒体の各々から、前記ディレクトリツリーを読み出す読出手段と、
前記読出手段により読み出された前記ディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダを検索し、検索された同一階層内における同名フォルダを一つのフォルダとし、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作を繰り返して仮想ディレクトリツリーを作成する作成手段と、
前記作成手段により作成された前記仮想ディレクトリツリーに基づいて、前記複数の記録媒体に記憶されたファイルへのアクセスを管理する管理手段と、
を備えることを特徴とする。
The invention described in
Detecting means for detecting the plurality of recording media connected to the electronic device;
Reading means for reading out the directory tree from each of the plurality of recording media detected by the detecting means;
In the directory tree read by the reading means, the same name folder in the same hierarchy is searched in order from the highest hierarchy, and the searched same name folder in the same hierarchy is set as one folder, and the folder is stored in the folder. Creating means for creating a virtual directory tree by repeating the operation of writing a lower-level folder associated with
Management means for managing access to files stored in the plurality of recording media based on the virtual directory tree created by the creation means;
It is characterized by providing.
請求項3に記載の発明は、請求項2に記載のファイル管理システムにおいて、前記電子機器に、新規の記録媒体が接続されたことを検出する接続検出手段と、
前記接続検出手段により、前記新規の記録媒体が接続されたことが検出された場合に、キー操作部におけるキー操作に基づいて、当該新規の記録媒体のディレクトリツリーを、前記作成手段により作成された前記仮想ディレクトリツリーに統合するか否かをユーザに選択させる選択手段と、を備え、
前記作成手段は、
前記選択手段により、前記新規の記録媒体のディレクトリツリーを前記仮想ディレクトリツリーに統合すると選択された場合に実行することを特徴とする。
A third aspect of the present invention provides the file management system according to the second aspect, wherein a connection detection means for detecting that a new recording medium is connected to the electronic device,
When the connection detection unit detects that the new recording medium is connected, a directory tree of the new recording medium is created by the creation unit based on a key operation in the key operation unit. Selecting means for allowing the user to select whether to integrate into the virtual directory tree,
The creating means includes
This is executed when the selection means selects that the directory tree of the new recording medium is integrated into the virtual directory tree.
請求項4に記載の発明は、請求項3に記載のファイル管理システムにおいて、前記選択手段により、前記新規の記録媒体のディレクトリツリーを前記仮想ディレクトリツリーに統合すると選択された場合に、当該新規の記録媒体がフォーマット済みであるか否かを判別する判別手段と、
前記判別手段により、前記新規の記録媒体がフォーマット済みであると判別された場合に、当該新規の記録媒体のファイルシステムを判別し、当該新規の記録媒体のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一であるか否かを判断する判断手段と、
前記判断手段により、前記新規の記録媒体のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、当該新規の記録媒体のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨を報知する報知手段と、
を備えることを特徴とする。
According to a fourth aspect of the present invention, in the file management system according to the third aspect, when the selection unit selects to integrate the directory tree of the new recording medium into the virtual directory tree, the new Determining means for determining whether or not the recording medium is formatted;
When the determination unit determines that the new recording medium has been formatted, the file system of the new recording medium is determined, and the file system of the new recording medium is a file in the virtual directory tree. A determination means for determining whether or not the system is the same;
If the determination unit determines that the file system of the new recording medium is not the same as the file system of the virtual directory tree, it is not possible to integrate the directory tree of the new recording medium into the virtual directory tree. An informing means for informing that it is possible;
It is characterized by providing.
請求項5に記載の発明は、電子機器に対して、ルートディレクトリが互いに異なるディレクトリツリーを有する複数の記録媒体を接続してファイルを管理するファイル管理方法において、
前記電子機器に接続された前記複数の記録媒体を検出し、
次いで、前記検出された前記複数の記録媒体の各々から、前記ディレクトリツリーを読み出し、
次いで、最上位階層から順に、同一階層内における同名フォルダを、読み出した前記ディレクトリツリーから検索し、検索された同一階層内における同名フォルダを一つのフォルダとし、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作を繰り返して仮想ディレクトリツリーを作成し、
次いで、作成した前記仮想ディレクトリツリーに基づいて、前記複数の記録媒体に記憶されたファイルへのアクセスを管理することを特徴とする。
The invention according to claim 5 is a file management method for managing a file by connecting a plurality of recording media having directory trees with different root directories to an electronic device.
Detecting the plurality of recording media connected to the electronic device;
Next, the directory tree is read from each of the detected recording media,
Next, in order from the top layer, the same name folder in the same layer is searched from the read directory tree, and the searched same name folder in the same layer is set as one folder, and the folder is associated with the folder. Create a virtual directory tree by repeating the operation of writing the lower level folder,
Next, access to the files stored in the plurality of recording media is managed based on the created virtual directory tree.
請求項1に記載の発明によれば、複数の記録装置は、一のマスタハードディスクドライブ及び一又は複数の外付ハードディスクドライブにより構成され、検出手段により、電子機器に接続された複数の記録装置が検出され、読出手段により、検出手段により検出された複数の記録装置の各々から、ディレクトリツリーが読み出され、作成手段により、読出手段により読み出されたディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダが検索され、検索された同一階層内における同名フォルダが一つのフォルダとされ、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作が繰り返されて仮想ディレクトリツリーが作成され、記憶制御手段により、作成手段により作成された仮想ディレクトリツリーがマスタハードディスクドライブに記憶され、管理手段により、マスタハードディスクドライブに記憶された仮想ディレクトリツリーに基づいて、複数の記録装置に記憶されたファイルへのアクセスが管理される。
したがって、複数の記録装置のディレクトリツリーにおける同一階層内に同名フォルダが存在する場合であっても、仮想ディレクトリツリーにおいて当該同名フォルダが一つのフォルダに統合されこととなるため、ユーザから見た仮想ディレクトリツリー構造が煩雑になることなく、ユーザが容易にアクセスすることができるファイル管理システムを提供することができる。
また、接続検出手段により、電子機器に、新規の記録装置が接続されたことが検出され、選択手段により、接続検出手段により、新規の記録装置が接続されたことが検出された場合に、キー操作部におけるキー操作に基づいて、新規の記録装置のディレクトリツリーが、作成手段により作成された仮想ディレクトリツリーに統合するか否かがユーザに選択され、判別手段により、選択手段により、新規の記録装置のディレクトリツリーが仮想ディレクトリツリーに統合すると選択された場合に、新規の記録装置がフォーマット済みであるか否かが判別され、判断手段により、判別手段により、新規の記録装置がフォーマット済みであると判別された場合に、当該新規の記録装置のファイルシステムが判別され、当該新規の記録装置のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一であるか否かが判断され、報知手段により、判断手段により、新規の記録装置のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、新規の記録装置のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨が報知され、作成手段は、判断手段により新規の記録装置のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一であると判断された場合に実行される。
したがって、仮想ディレクトリツリー作成後であっても、新規の記録装置のディレクトリツリーを、簡単な操作で仮想ディレクトリツリーに統合することができるとともに、新規の記録装置のディレクトリツリーを仮想ディレクトリツリーに統合できない場合には、ユーザはその旨を確実に把握できることとなる。
According to the first aspect of the present invention, the plurality of recording devices are constituted by one master hard disk drive and one or a plurality of external hard disk drives, and the plurality of recording devices connected to the electronic device by the detecting means are provided. The directory tree is read from each of the plurality of recording devices detected and detected by the reading unit by the reading unit, and the directory tree read by the reading unit by the creating unit is the same in order from the highest hierarchy. The folder with the same name in the hierarchy is searched, the folder with the same name in the searched same hierarchy is made one folder, and the operation of writing the folder of the lower hierarchy associated with the folder in the folder is repeated, and the virtual directory tree Created by the storage control means and created by the creation means. Irekutoritsuri are stored in the master hard disk drive, by the management unit, based on the virtual directory tree stored on the master hard disk drive, access to the files stored in a plurality of recording devices are managed.
Therefore, even when a folder with the same name exists in the same hierarchy in the directory tree of a plurality of recording devices, the folder with the same name in the virtual directory tree is integrated into one folder. It is possible to provide a file management system that can be easily accessed by the user without complicating the tree structure.
In addition, when the connection detection unit detects that a new recording device is connected to the electronic device, and the selection unit detects that the new recording device is connected by the connection detection unit, the key is displayed. Based on the key operation in the operation unit, the user selects whether or not to merge the directory tree of the new recording device into the virtual directory tree created by the creation unit, and the discrimination unit creates a new recording by the selection unit. When it is selected that the directory tree of the device is integrated into the virtual directory tree, it is determined whether or not the new recording device has been formatted, and the determining device has already formatted the new recording device. The file system of the new recording device is determined, and the file of the new recording device is determined. Is determined to be the same as the file system of the virtual directory tree, and the notification means determines that the file system of the new recording device is not the same as the file system of the virtual directory tree. In this case, it is notified that it is impossible to integrate the directory tree of the new recording device into the virtual directory tree, and the creation unit determines that the file system of the new recording device is the file system of the virtual directory tree. It is executed when it is determined that they are the same.
Therefore, even after the virtual directory tree is created, the directory tree of the new recording device can be integrated into the virtual directory tree with a simple operation, and the directory tree of the new recording device cannot be integrated into the virtual directory tree. In this case, the user can surely grasp that fact.
請求項2に記載の発明によれば、検出手段により、電子機器に接続された複数の記録媒体が検出され、読出手段により、検出手段により検出された複数の記録媒体の各々から、ディレクトリツリーが読み出され、作成手段により、読出手段により読み出されたディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダが検索され、検索された同一階層内における同名フォルダが一つのフォルダとされ、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作が繰り返されて仮想ディレクトリツリーが作成され、管理手段により、作成手段により作成された仮想ディレクトリツリーに基づいて、複数の記録媒体に記憶されたファイルへのアクセスが管理される。
したがって、複数の記録媒体のディレクトリツリーにおける同一階層内に同名フォルダが存在する場合であっても、仮想ディレクトリツリーにおいて当該同名フォルダが一つのフォルダに統合されこととなるため、ユーザから見た仮想ディレクトリツリー構造が煩雑になることなく、ユーザが容易にアクセスすることができるファイル管理システムを提供することができる。
According to the second aspect of the present invention, the detection unit detects a plurality of recording media connected to the electronic device, and the reading unit detects a directory tree from each of the plurality of recording media detected by the detection unit. The same name folder in the same hierarchy is searched in order from the highest hierarchy in the directory tree read out and read out by the creation means by the creation means, and the same name folder in the searched same hierarchy is regarded as one folder. The virtual directory tree is created by repeating the operation of writing the lower-level folder associated with the folder in the folder, and a plurality of records are created by the management unit based on the virtual directory tree created by the creation unit. Access to files stored on the medium is managed.
Therefore, even when a folder with the same name exists in the same hierarchy in a directory tree of a plurality of recording media, the folder with the same name in the virtual directory tree is integrated into one folder. It is possible to provide a file management system that can be easily accessed by the user without complicating the tree structure.
請求項3に記載の発明によれば、請求項2に記載の発明と同様の効果が得られるのは無論のこと、接続検出手段により、電子機器に、新規の記録媒体が接続されたことが検出され、選択手段により、接続検出手段により、新規の記録媒体が接続されたことが検出された場合に、キー操作部におけるキー操作に基づいて、当該新規の記録媒体のディレクトリツリーを、作成手段により作成された仮想ディレクトリツリーに統合するか否かがユーザにより選択され、作成手段は、選択手段により、新規の記録媒体のディレクトリツリーを前記仮想ディレクトリツリーに統合すると選択された場合に実行される。
したがって、仮想ディレクトリツリー作成後であっても、新規の記録媒体のディレクトリツリーを、簡単な操作で仮想ディレクトリツリーに統合することができる。
According to the third aspect of the present invention, it is possible to obtain the same effect as the second aspect of the invention, and that a new recording medium is connected to the electronic device by the connection detecting means. When the selection means detects that the new recording medium is connected by the connection detecting means, the directory tree of the new recording medium is created based on the key operation in the key operation unit. The user selects whether or not to integrate into the virtual directory tree created by the above, and the creation means is executed when the selection means selects to integrate the directory tree of the new recording medium into the virtual directory tree. .
Therefore, even after the virtual directory tree is created, the directory tree of the new recording medium can be integrated into the virtual directory tree with a simple operation.
請求項4に記載の発明によれば、請求項3に記載の発明と同様の効果が得られるのは無論のこと、判別手段により、選択手段により、新規の記録媒体のディレクトリツリーを仮想ディレクトリツリーに統合すると選択された場合に、当該新規の記録媒体がフォーマット済みであるか否かが判別され、判断手段により、判別手段により、新規の記録媒体がフォーマット済みであると判別された場合に、新規の記録媒体のファイルシステムが判別され、新規の記録媒体のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一であるか否かが判断され、報知手段により、判断手段により、新規の記録媒体のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、新規の記録媒体のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨が報知される。
したがって、新規の記録媒体のディレクトリツリーを仮想ディレクトリツリーに統合できない場合には、ユーザはその旨を確実に把握できることとなる。
According to the invention described in claim 4, the same effect as that of the invention described in claim 3 can be obtained. The directory tree of the new recording medium is converted into the virtual directory tree by the selecting means by the determining means. If it is selected that the new recording medium has been formatted, it is determined whether or not the new recording medium has been formatted, and when the determining means determines that the new recording medium has been formatted, The file system of the new recording medium is determined, and it is determined whether or not the file system of the new recording medium is the same as the file system of the virtual directory tree. If it is determined that the file system is not the same as the file system of the virtual directory tree, the new recording medium That Rekutoritsuri it is impossible to be integrated in the virtual directory tree is notified.
Therefore, when the directory tree of the new recording medium cannot be integrated into the virtual directory tree, the user can surely grasp that fact.
請求項5に記載の発明は、電子機器に接続された複数の記録媒体が検出され、次いで、検出された複数の記録媒体の各々から、ディレクトリツリーが読み出され、次いで、最上位階層から順に、同一階層内における同名フォルダが、読み出されたディレクトリツリーから検索され、検索された同一階層内における同名フォルダが一つのフォルダとされ、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダが書き込む動作を繰り返して仮想ディレクトリツリーが作成され、次いで、作成された仮想ディレクトリツリーに基づいて、複数の記録媒体に記憶されたファイルへのアクセスが管理される。
したがって、複数の記録媒体のディレクトリツリーにおける同一階層内に同名フォルダが存在する場合であっても、仮想ディレクトリツリーにおいて当該同名フォルダが一つのフォルダに統合されることとなるため、ユーザから見た仮想ディレクトリツリー構造が煩雑になることなく、ユーザが容易にアクセスすることができるファイル管理方法を提供することができる。
In the invention according to claim 5, a plurality of recording media connected to the electronic device are detected, then a directory tree is read from each of the detected recording media, and then sequentially from the highest hierarchy. A folder with the same name in the same hierarchy is searched from the read directory tree, and the folder with the same name in the searched same hierarchy is regarded as one folder, and a folder in a lower hierarchy associated with the folder in the folder. Is repeated to create a virtual directory tree, and then, based on the created virtual directory tree, access to files stored in a plurality of recording media is managed.
Therefore, even when a folder with the same name exists in the same hierarchy in a directory tree of a plurality of recording media, the folder with the same name in the virtual directory tree is integrated into one folder. It is possible to provide a file management method that can be easily accessed by the user without complicating the directory tree structure.
以下、本発明の実施の形態を、図面を参照しながら詳細に説明する。
本実施形態では、本発明のファイル管理システムを、パーソナルコンピュータ(Personal Computer: PC)システムに適用した形態について説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
In the present embodiment, a mode in which the file management system of the present invention is applied to a personal computer (PC) system will be described.
図1は、本実施形態におけるファイル管理システム100の全体構成を示す図である。
本実施形態のファイル管理システム100は、例えば、図1に示すように、電子機器としてのパーソナルコンピュータ(以下、「PC」という)1に、複数の記録装置(記録媒体)が接続されている。記録装置は、例えば、磁気ディスクに対してデータの読み書きを行うハードディスクドライブ(以下、「HDD」とする)2である。
具体的には、PC1には、例えば、一のマスタハードディスクドライブ(以下、「マスタHDD」とする)21と、一又は複数の(本実施形態では、例えば、1つ)の着脱可能な外付ハードディスクドライブ(以下、「外付HDD」とする)22とが接続され、マスタHDD21及び外付HDD22のそれぞれには、ルートディレクトリが互いに異なるディレクトリツリー構造を有するファイル群が記憶されている。
なお、マスタHDD21はPC1の筐体に内蔵されていても良く、又は、ハードディスクケース等によりPC1の筐体に外付けされていても良い。また、外付HDD22の数も限定されず、2つ以上であっても良い。さらに、マスタHDD21・外付HDD22等の種別は区別しなくても良い。
FIG. 1 is a diagram showing an overall configuration of a
In the
Specifically, the
The
図2は、図1におけるファイル管理システム100の要部構成を例示するブロック図である。
PC1は、図2に示すように、ユーザがキー操作を行って、各種指示を入力するためのキー操作部11と、各種表示データを表示する表示部12と、マスタHDD21及び外付HDD22をPC1に接続して、当該機器間におけるデータの送受信を行うI/F部13と、PC1全体を統括制御するための制御部14等を備えて構成される。
FIG. 2 is a block diagram illustrating the main configuration of the
As shown in FIG. 2, the
キー操作部11は、カーソルキー、数字キー、各種機能キー等を備えるキーボードや、マウス等により構成され、キーボード及びマウスにおいて押下されたキーに基づく入力操作信号を制御部14に対して出力する。
The
表示部12は、LCD(Liquid Display Panel)等の図示しないディスプレイを備えて構成され、CPU141による制御に従い、各種の表示データをディスプレイに表示させる。
The
I/F部13は、例えば、ATA(AT Attachment)規格等が採用されたインターフェースであり、PC1に接続されたマスタHDD21・外付HDD22との間で各種情報を送受信する。
具体的には、I/F部13は、例えば、制御部14から制御に従って、PC1に接続されたHDD2から、後述のファイル管理情報211、221や各種ファイル等を送受信する。
The I /
Specifically, the I /
制御部14は、例えば、CPU(Central Processing Unit)141、メモリ部142、ROM(Read Only Memory)143等を備えて構成されている。
The
CPU141は、PC1の各部から入力された入力信号や、キー操作部11における各種キーの押下操作によって入力された入力操作信号等に応じて、ROM143に格納された各種プログラムを実行するとともに、実行にかかるプログラムに基づいてPC1の各部に出力信号を出力することにより、ファイル管理システム100の動作全般を統括制御する。
The
メモリ部142は、例えば、RAM(Random Access Memory)等の揮発性メモリからなるワークエリア1421を備えており、CPU141によって各種プログラムが実行される際に生じる処理結果や、入力されたデータ等をこのワークエリア1421に記憶させる。
The
また、メモリ部142は、EPROM(Erasable Programmable ROM)等の不揮発性メモリからなるデータエリア1422を備えている。データエリア1422は、例えば、接続情報管理テーブル1422aと、領域管理テーブル1422b等を備えている。
The
接続情報管理テーブル1422aは、例えば、PC1に接続されているHDD2を管理するための情報である。具体的には、接続情報管理テーブル1422aは、図3に示すように、PC1に接続されたHDD2毎に、機器IDと、マスタHDDであるか或いは外付HDDであるかを示す種別情報と、仮想ディレクトリツリーに統合するHDD2であるか否かを示すメンバ登録情報等を対応付けて記憶している。
The connection information management table 1422a is information for managing the
領域管理テーブル1422bは、例えば、PC1に接続されたそれぞれのHDD2における記録済み領域、未記録領域、空き容量等を記憶しており、新規のデータを何れかのHDD2に記録する際に、この領域管理テーブル1422bが参照されて、記録先のHDD2と、記録先のアドレスが決定される。
The area management table 1422b stores, for example, a recorded area, an unrecorded area, a free capacity, and the like in each
ROM143は、例えば、不揮発性メモリから成るプログラム格納エリアを有しており、具体的には、検出プログラム143a、読出プログラム143b、作成プログラム143c、記憶制御プログラム143d、管理プログラム143e、接続検出プログラム143f、選択プログラム143g、判別プログラム143h、判断プログラム143i、報知プログラム143j等を格納している。
The
検出プログラム143aは、例えば、CPU141に、PC1に接続された複数のHDD2を検出する機能を実現させるためのプログラムである。
具体的には、CPU141は、キー操作部11におけるキー操作により、仮想ディレクトリツリーを作成する旨の指示がなされた場合等の所定のタイミングで、仮想ディレクトリツリー作成処理を開始する。
CPU141は、仮想ディレクトリツリー作成処理を開始すると、まず始めに、I/F部13において、PC1に接続されたHDD2を検出させ、検出されたHDD2の機器ID、種別情報等を取得して、図4に示すように、表示部12のディスプレイに仮想ディレクトリツリー設定画面を表示させる。仮想ディレクトリ設定画面では、PC1に接続された接続されたHDD2(例えば、マスタHDD21及び外付HDD22)のそれぞれについて、仮想ディレクトリツリーに統合するか否かが選択できるようになっており、キー操作部11におけるキー操作により、統合する/しないがユーザにより選択されると、CPU141は、接続情報管理テーブル1422aに、PC1に接続されていると認識されたHDD2の各々について、HDD2のID情報と、マスタHDDであるか或いは外付HDDであるかを示す種別情報と、仮想ディレクトリツリーに統合するHDD2であるか否かを示すメンバ登録情報を登録する。
CPU141は、かかる検出プログラム143aを実行することにより、検出手段として機能する。
The
Specifically, the
When the
The
読出プログラム143bは、例えば、CPU141に、前述の検出プログラム143aの実行により検出された複数のHDD2の各々から、ディレクトリツリーを読み出す機能を実現させるためのプログラムである。
具体的には、検出プログラム143aの実行においてPC1に接続されたHDD2が検出され、その中から仮想ディレクトリツリーに統合するHDD2がユーザにより選択されると、CPU141は、仮想ディレクトリツリーに統合するHDD2(例えば、マスタHDD21及び外付HDD22)のそれぞれから、そのHDD2に記録されているディレクトリツリーとしてのファイル管理情報211、221を読み出す。
CPU141は、かかる読出プログラム143bを実行することにより、読出手段として機能する。
The
Specifically, when the
The
ここで、図5及び図6を参照しながら、マスタHDD21及び外付HDD22に記憶されるファイルとその階層構造について説明する。
図5において、図5(a)は、マスタHDD21に格納されているファイル管理情報211であり、図5(b)は、外付HDD22に格納されているファイル管理情報221である。また、図6において、図6(a)は、マスタHDD21に記憶されているファイルの階層構造を示し、図6(b)は、外付HDD22に記憶されているファイルの階層構造を示す。
Here, the files stored in the
5A shows the
各HDD21、22に格納されたファイル管理情報211、221は、そのHDD21、22に格納された各ファイルに関する情報と、当該ファイルのデータ構造であるディレクトリツリーに関する情報を記憶している。
具体的には、ファイル管理情報211、221は、図5に示すように、そのHDD2に格納されているファイル毎に、ファイル名、磁気ディスクにおいてファイルが記憶された領域の先頭論理ブロックアドレス、ファイルサイズ、ファイルの格納場所を示すパス(絶対パス)、ファイルの作成日時、ファイルの更新日時等を対応づけて記憶している。
パスは、そのHDD2のディレクトリツリーにおける各ファイルの位置を示しており、以下の説明では、当該パスを、後述の仮想パスと区別するため「実パス」という。実パスは、“ルートディレクトリ/フォルダ名/…/ファイル名”という形式で表現され、例えば、マスタHDD21に記憶された「file101」というファイルにアクセスするためには、「C:(ルートディレクトリ)→fold.a→fold.d→file101」というルートを辿ることとなる。
The
Specifically, as shown in FIG. 5, the
The path indicates the position of each file in the directory tree of the
作成プログラム143cは、例えば、CPU141に、前述の読出プログラム143bの実行により読み出されたディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダを検索し、検索された同一階層内における同名フォルダを一つのフォルダとし、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを順に書き込む動作を繰り返して仮想ディレクトリツリーを作成する機能を実現させるためのプログラムである。
具体的には、CPU141は、PC1に接続されたHDD2(例えば、マスタHDD21及び外付HDD22)のそれぞれから、ディレクトリツリー構造のファイル群を管理するファイル管理情報211、221を読み出すと、各HDD2から読み出したファイル管理情報211、221に記憶されている各ファイルの実パスに基づいて、各ディレクトリツリーの各階層におけるファイルを走査して仮想ディレクトリツリーの構築を行う。さらに、CPU141は、構築した仮想ディレクトリツリーにおける各ファイルの位置を示す仮想パスを決定し、決定した各ファイルの仮想パスに基づいて仮想ディレクトリツリー情報212を作成することにより、仮想ディレクトリツリーを作成する。
For example, the
Specifically, when the
ここで、図7及び図8を参照しながら、作成プログラム143cの実行における複数のディレクトリツリーを統合する処理の具体例について説明する。
図7は、図5(a)・図6(a)に示すマスタHDD21のディレクトリツリーと、図5(b)・図6(b)に示す外付HDD22のディレクトリツリーに基づいて、仮想ディレクトリツリー作成処理が行われた場合に作成される仮想ディレクトリツリー情報212を例示する図である。また、図8は、図5(a)・図6(a)に示すマスタHDD21のディレクトリツリーと、図5(a)・図6(b)に示す外付HDD22のディレクトリツリーに基づいて、仮想ディレクトリツリー作成処理が行われた場合に作成される仮想ディレクトリツリーの階層構造を例示する図である。
Here, a specific example of a process for integrating a plurality of directory trees in the execution of the
7 shows a virtual directory tree based on the directory tree of the
具体的には、図5及び図6に例示するマスタHDD21のディレクトリツリー及び外付HDD22のディレクトリツリーを統合して、仮想ディレクトリツリーを作成する場合、CPU141は、まず、マスタHDD21のルートディレクトリ(即ち、例えば、「C:」)を仮想ディレクトリツリーのルートディレクトリと決定する。
次に、各ディレクトリツリーにおけるルートディレクトリ直下の階層(なお、ルートディレクトリ直下の階層を「最上位階層」又は「第1階層」とし、ルートディレクトリを「第0階層」とする)を走査して、複数のディレクトリツリーの第1階層において、フォルダ名が共通する同名フォルダを検索する。複数のディレクトリツリーの第1階層に同名フォルダが存在する場合には、CPU141は、これらの同名フォルダを1つに統合して、仮想ディレクトリツリーの第1階層におけるフォルダとするとともに、同名フォルダ以外のフォルダのそれぞれを、仮想ディレクトリツリーの第1階層におけるフォルダとする。
Specifically, when the directory tree of the
Next, scan the hierarchy immediately below the root directory in each directory tree (note that the hierarchy immediately below the root directory is the “highest hierarchy” or “first hierarchy” and the root directory is “the 0th hierarchy”), In the first hierarchy of a plurality of directory trees, the same name folder having the same folder name is searched. When folders with the same name exist in the first hierarchy of a plurality of directory trees, the
例えば、マスタHDD21のディレクトリツリーの第1階層に「fold.a」「fold.b」「fold.c」が存在し、外付HDD22のディレクトリツリーの第1階層に「fold.a」「fold.c」「fold.d」が存在する場合には、CPU141は、それぞれのディレクトリツリーの第1階層に共通して存在する「fold.a」と「fold.c」のそれぞれを、仮想ディレクトリツリーの第1階層における1つのフォルダとするともに、マスタHDD21の第1階層のみに存在する「fold.d」と、外付HDD22の第1階層のみに存在する「fold.d」のそれぞれを、仮想ディレクトリツリーの第1階層におけるフォルダとする。
For example, “fold.a”, “fold.b”, and “fold.c” exist in the first hierarchy of the directory tree of the
仮想ディレクトリツリーの第1階層のフォルダが決定されると、次に、CPU141は、仮想ディレクトリツリーの第1階層に存在するフォルダの中で最下位階層でないフォルダ(すなわち、「fold.a」「fold.c」「fold.d」のように、下位階層にフォルダが存在しないフォルダ)のうち、1つのフォルダ内を検索する。
具体的には、CPU141は、第1階層における最下位階層でなく且つ未検索のフォルダの一つを検索対象として、複数のディレクトリツリーにおいて、当該検索中のフォルダ内における1つ下位の階層(第1階層の1つ下位の階層を「第2階層」とする)を走査し、フォルダ名が共通する同名フォルダを検索する。すなわち、CPU141は、検索中のフォルダが実際に存在するディレクトリツリーを参照し、それらのディレクトリツリーにおける当該検索中のフォルダ内の第2階層を走査する。検索中のフォルダが複数のディレクトリツリーに存在し、複数のディレクトリツリーにおける当該検索中のフォルダ内の第2階層に、フォルダ名が共通する同名フォルダが存在する場合には、CPU141は、これらの同名フォルダを1つに統合して、仮想ディレクトリツリーにおける検索中のフォルダ内における第2階層のフォルダとするとともに、同名フォルダ以外のフォルダのそれぞれを、仮想ディレクトリツリーにおける検索中のフォルダ内における第2階層のフォルダとする。
When the folder of the first hierarchy of the virtual directory tree is determined, the
Specifically, the
例えば、仮想ディレクトリツリーの第1階層の「fold.a」内を検索する場合、CPU141は、当該「fold.a」が第1階層に存在するマスタHDD21のディレクトリツリー及び外付HDD22のディレクトリツリーをそれぞれ参照して、各ディレクトリツリーの第1階層に存在する「fold.a」の1つ下位の第2階層を走査して、マスタHDD21のディレクトリツリーと外付HDD22のディレクトリツリーに共通して存在する同名フォルダを検索する。マスタHDD21のディレクトリツリーの「fold.a」内の第2階層に「fold.d」と「fold.f」が存在し、外付HDD22のディレクトリツリーの「fold.a」内の第2階層に「fold.f」が存在する場合には、CPU141は、それぞれのディレクトリツリーの「fold.a」内の第2階層に共通して存在する「fold.f」を、仮想ディレクトリツリーの「fold.a」内の第2階層における1つのフォルダとするとともに、マスタHDD21の第2階層のみに存在する「fold.d」を、仮想ディレクトリツリーの「fold.a」内の第2階層におけるフォルダとする。
For example, when searching for “fold.a” in the first hierarchy of the virtual directory tree, the
CPU141は、上述の処理を上位の階層から下位の階層の順番で、最下位階層のフォルダ内の検索が終了するまで繰り返し行うとともに、最下位階層のフォルダ内の検索が終了すると、1つ上位の階層に戻って当該処理を繰り返し、さらに、各ディレクトリツリーにおける全階層の検索が終了するまでこの処理を繰り返す。すなわち、CPU141は、各ディレクトリツリーにおける片側から順に(例えば、左側から右側の順番で)走査することとなる。
The
CPU141は、上記の処理により、各ディレクトリツリーにおける全階層の走査が終了して、1つの仮想ディレクトリツリーが構築されると、構築された仮想ディレクトリツリーにおける各ファイルの位置を示す仮想パスを決定する。当該仮想パスは、HDD2のディレクトリツリーにおけるファイルの実際の位置を示す実パスとは異なり、仮想的に構築された仮想ディレクトリツリーにおけるファイルの位置を示している。
各ファイルの仮想パスが決定されると、CPU141は、これらを仮想ディレクトリツリー情報212に記憶させる。
仮想ディレクトリツリー情報212は、例えば、図7に示すように、仮想ディレクトリツリーに統合した複数のディレクトリツリーにおけるファイルのそれぞれに、ファイル名、決定されたファイルの仮想パス、ファイルを格納しているHDD2を識別する機器ID、ファイルの実際の位置を示す実パス、磁気ディスクにおいてファイルが記憶された先頭論理ブロックアドレス、ファイルサイズ、等を記憶している。
CPU141は、かかる作成プログラム143cを実行することにより、作成手段として機能する。
When the
When the virtual path of each file is determined, the
For example, as shown in FIG. 7, the virtual
The
記憶制御プログラム143dは、例えば、CPU141に、前述の作成プログラム143cの実行により作成された仮想ディレクトリツリーをマスタHDD21に記憶させる機能を実現させるためのプログラムである。
具体的には、CPU141は、作成プログラム143cの実行において、仮想ディレクトリツリーを構築して、仮想ディレクトリツリーにおける各ファイルのファイル名、仮想パス、実パス等を記憶する仮想ディレクトリツリー情報212を作成すると、作成した仮想ディレクトリツリー情報212を、I/F部13を介してPC1に接続されたマスタHDD21に格納する。
CPU141は、かかる記憶制御プログラム143dを実行することにより、記憶制御手段として機能する。
The
Specifically, when executing the
The
管理プログラム143eは、例えば、CPU141に、マスタHDD21に記憶された仮想ディレクトリツリーに基づいて、複数のHDD2に記憶されたファイルのアクセスを管理する機能を実現させるためのプログラムである。
CPU141は、キー操作部11におけるキー操作により、仮想ディレクトリツリーに統合されたファイルに関するファイル情報の表示要求が行われると、マスタHDD21に記憶させた仮想ディレクトリツリー情報212を読み出し、読み出した仮想ディレクトリツリー情報212に基づいて表示部12にファイル情報を表示させる。
また、CPU141は、キー操作部11におけるキー操作により、仮想ディレクトリツリーに統合されたファイルのうち、一のファイルに対して読み出し要求が行われると、マスタHDD21に記憶された仮想ディレクトリツリー情報212を読み出し、読み出した仮想ディレクトリツリー情報212から、読み出し要求のなされたファイルの格納されたHDD2の識別ID及び実パスを取得し、取得した識別ID及び実パスに基づいて、当該読み出し要求のなされたファイルが実際に格納されているHDD2にアクセスし、このファイルを読み出して表示部12に表示させる。
さらに、CPU141は、キー操作部11におけるキー操作により、仮想ディレクトリツリーに統合されたファイルのうち、一のファイルに対して削除要求や変更要求等が行われると、マスタHDD21に記憶された仮想ディレクトリツリー情報212を読み出し、読み出した仮想ディレクトリツリー情報212から、削除・変更要求等がなされたファイルの格納されたHDD2の識別ID及び実パスを取得し、取得した識別ID及び実パスに基づいて、当該削除・変更要求等のなされたファイルが実際に格納されているHDD2にアクセスし、削除や変更等を行う。さらに、CPU141は、ファイルに対して削除・変更等が行なわれた場合には、当該ファイルが実際に記憶されたHDD2のファイル管理情報(例えば、211、221)を更新するととともに、これに適合するよう、マスタHDD21に記憶された仮想ディレクトリツリー情報212を更新する。
CPU141は、かかる管理プログラム143eを実行することにより、管理手段として機能する。
The
When a display request for file information relating to a file integrated in the virtual directory tree is made by a key operation in the
Further, when a read request is made for one of the files integrated in the virtual directory tree by a key operation in the
Further, when a delete request or a change request is made for one file among the files integrated in the virtual directory tree by a key operation in the
The
上述の管理プログラム143eの実行において、複数のHDD2に記憶されたファイルは、単一の仮想ディレクトリツリー構造で表示されることとなる。
すなわち、ユーザがファイルにアクセスする際に、実際には複数のHDD21、22に分散されて格納されているフォルダが、ユーザには、一つのディレクトリツリーに統合されているように見える。すると、例えば、ユーザが、外付HDD22に格納された「file19−1110」というファイルを読み出したい場合に、単一の仮想ディレクトリツリーにおける「file19−1110」に対してアクセス要求を行えば、ユーザが実際のデータが何れのHDD2に格納されているかを認識していない場合であっても、当該ファイルの実パス「E:/fold.a/fold.f/fold.19−1110」に基づいて、このファイルを実際に記憶する外付HDD22から当該ファイルが読み出されることとなり、容易にファイルに対してアクセスできることとなる。
また、同一階層内に同名フォルダが存在する場合であっても、仮想ディレクトリツリーでは、当該同名フォルダが一つのフォルダに統合されこととなるため、ユーザから見た仮想ディレクトリツリー構造が煩雑になることなく、ファイルに対して更に容易にアクセスすることができる。すなわち、例えば、マスタHDD21のディレクトリツリーの「fold.a」内の第2階層に「fold.d」と「fold.f」が存在し、外付HDD22のディレクトリツリーの「fold.a」内の第2階層に「fold.f」が存在する場合であっても、ユーザには、仮想ディレクトリツリーの第1階層の「fold.a」内の第2階層に「fold.f」と「fold.d」の2つのフォルダのみが存在しているように見えることとなって、ユーザにとって見易いツリー構造となる。
In the execution of the
That is, when a user accesses a file, folders that are actually distributed and stored in the plurality of
In addition, even if a folder with the same name exists in the same hierarchy, since the folder with the same name is integrated into one folder in the virtual directory tree, the structure of the virtual directory tree viewed from the user becomes complicated. And more easily access the file. That is, for example, “fold.d” and “fold.f” exist in the second hierarchy in “fold.a” of the directory tree of the
接続検出プログラム143fは、例えば、CPU141に、PC1に新規のHDD2が接続されたことを検出する機能を実現させるためのプログラムである。
CPU141は、かかる接続検出プログラム143fを実行することにより、接続検出手段として機能する。
The
The
選択プログラム143gは、例えば、CPU141に、前述の接続検出プログラム143fの実行により、新規のHDD2が接続されたことが検出された場合に、キー操作部11におけるキー操作に基づいて、当該新規のHDD2のディレクトリツリーを、作成プログラム143cの実行により作成された仮想ディレクトリツリーに統合するか否かをユーザに選択させる機能を実現させるためのプログラムである。
具体的には、CPU141は、PC1に新規のHDD2が接続されたことが検出されると、メモリ部142等の所定の領域に記憶された新規HDD設定画面用のデータを読み出して表示部12のディスプレイに表示させる。
図9は、表示部12のディスプレイに表示される新規HDD設定画面を例示する図である。図9に示すように、新規HDD設定画面は、PC1に接続された新規のHDD2に記憶されているディレクトリツリー構造のファイルを、作成プログラム143cの実行により作成される仮想ディレクトリツリーに統合するか否かをユーザに選択させる。
CPU141は、かかる選択プログラム143gを実行することにより、選択手段として機能する。
For example, when the
Specifically, when the
FIG. 9 is a diagram illustrating a new HDD setting screen displayed on the display of the
The
判別プログラム143hは、例えば、CPU141に、前述の選択プログラム143gの実行により、新規のHDD2のディレクトリツリーを仮想ディレクトリツリーに統合すると選択された場合に、当該新規のHDD2がフォーマット済みであるか否かを判別する機能を実現させるためのプログラムである。
具体的には、前述の選択プログラム143gの実行において表示部12のディスプレイに表示される新規HDD設定画面において、ユーザが、新規のHDD2におけるディレクトリツリーを仮想ディレクトリツリーに統合すると選択した場合に、CPU141は、当該新規のHDD2がフォーマット済みであるか否かを判別し、未フォーマットの場合には、このHDD2に対して、初期化データを書き込むフォーマット処理を行う。
CPU141は、かかる判別プログラム143hを実行することにより、判別手段として機能する。
For example, when the
Specifically, when the user selects to integrate the directory tree in the
The
判断プログラム143iは、例えば、CPU141に、前述の判別プログラム143hの実行により、新規のHDD2がフォーマット済みであると判別された場合に、当該新規のHDD2のファイルシステムを判別し、当該新規のHDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一であるか否かを判断する機能を実現させるためのプログラムである。
具体的には、CPU141は、判別プログラム143hの実行において、新規のHDD2がフォーマット済みであると判別された場合、又は、未フォーマットであると判別されてフォーマット処理が行われた場合に、CPU141は、新規HDD2のファイルシステム(例えば、Windows(登録商標)のFAT(File Allocation System)・NTFS(NT File System)等)が、仮想ディレクトリツリーのファイルシステムと同一であるか否かを判断して、仮想ディレクトリツリーに統合できるか否かを判断する。CPU141は、新規HDD2のファイルシステムが仮想ディレクトリツリーのファイルシステムと異なると判断し、且つ、これらのファイルシステム間に互換性がない場合には、CPU141は、当該新規のHDD2のディレクトリツリーを、仮想ディレクトリツリーに統合できないと判断する。
CPU141は、かかる判断プログラム143iを実行することにより、判断手段として機能する。
For example, when the
Specifically, when the
The
報知プログラム143jは、例えば、CPU141に、前述の判断プログラム143iの実行により、新規のHDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、新規のHDD2のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨を報知する機能を実現させるためのプログラムである。
具体的には、新規のHDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一でなく、且つ、これらのファイルシステム同士に互換性が無く、新規HDD2のディレクトリツリーを仮想ディレクトリツリーに統合できないと判断すると、CPU141は、メモリ部142等の所定の領域に記憶された報知画面用のデータを読み出して、図10に示すように、表示部12のディスプレイに新規のHDD2のディレクトリツリーを仮想ディレクトリツリーに統合させることができない旨の報知画面を表示させ、ユーザに報知する。
CPU141は、かかる報知プログラム143jを実行することにより、報知手段として機能する。
For example, when the
Specifically, the file system of the
The
さらに、CPU141は、PC1に接続された新規のHDD2について、識別IDと、マスタHDDであるか或いは外付HDDであるかの種別情報と、仮想ディレクトリツリーに統合するか否かのメンバ登録情報と、をデータエリア1422に格納された接続情報管理テーブル1422aに記憶させる。
Further, the
また、前述の判断プログラム143iの実行により、前述の判断プログラム143iの実行により、新規のHDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一である又は互換性があるとされて、仮想ディレクトリツリーに統合可能と判断された場合には、前述した作成プログラム143cが実行されることとなる。すなわち、CPU141は、新規のHDD2からディレクトリツリー構造のファイルを管理するファイル管理情報を読み出して、読み出したファイル管理情報に基づいて、新規HDD2のディレクトリツリーをマスタHDD21に記憶されている仮想ディレクトリツリーに統合する処理を行う。
Further, the execution of the above-described
次に、図11のフローチャートを参照しながら、複数のディレクトリツリーに基づいて、単一のディレクトリツリーを仮想的に構築する仮想ディレクトリツリー作成処理について説明する。
まず、ステップS1において、CPU141は、キー操作部11におけるキー操作等により、仮想ディレクトリツリーの作成を指示する入力が有るか否かを判断し、仮想ディレクトリツリーの作成を指示する入力が有ると判断すると(ステップS1;Yes)、仮想ディレクトリツリー作成処理を開始する。ステップS2において、CPU141は、PC1に接続されたHDD2を検出し、ステップS3において、表示部12のディスプレイに仮想ディレクトリツリー設定画面を表示させて、PC1に接続されたそれぞれのHDD2について、仮想ディレクトリツリーに統合するか否かをユーザに選択させる。ステップS4において、CPU141は、接続情報管理テーブル1422aに、PC1に接続されていると検出された各HDD2について、HDD2のID情報と、マスタHDDであるか或いは外付HDDであるかを示す種別情報と、仮想ディレクトリツリーに統合するHDD2であるか否かを示すメンバ登録情報等を登録する。
Next, a virtual directory tree creation process for virtually constructing a single directory tree based on a plurality of directory trees will be described with reference to the flowchart of FIG.
First, in step S1, the
次に、ステップS5において、CPU141は、PC1に接続されたHDD2のうち、仮想ディレクトリツリーに統合すると選択されたHDD2のそれぞれから、ディレクトリツリーとしてのファイル管理情報(例えば、211、221)を読み出す。各HDD2からディレクトリツリーを読み出すと、CPU141は、まず始めに、ステップS6において、マスタHDD21のルートディレクトリを、仮想ディレクトリツリーのルートディレクトリとする。さらに、ステップS7において、CPU141は、Nを1とし、ステップS8において、それぞれのHDD2から読み出した各ディレクトリツリーの第(N−1)階層において、最下位階層でなく且つ未検索(或いは、第(N−1)階層がルートディレクトリである場合には、検索未完了)のフォルダのうちの、1つのフォルダの下位に存在する第N階層を検索する。
ステップS9において、CPU141は、第(N−1)階層における検索中のフォルダ内の第N階層において、複数のディレクトリツリーに共通して同名フォルダが存在するか否かを判断する。CPU141は、検索中のフォルダ内の第N階層において、同名フォルダが存在すると判断すると(ステップS9;Yes)、ステップS10において、同名フォルダを1つのフォルダとして、検索中の第N階層における各フォルダを、仮想ディレクトリツリーにおける第N階層のフォルダとする。また、CPU141は、検索中のフォルダ内の第N階層において、同名フォルダが存在しないと判断すると(ステップS9;No)、ステップS11において、複数のディレクトリツリーにおいて、検索中のフォルダ内の第N階層における各フォルダを、仮想ディレクトリツリーにおける第N階層のフォルダとする。
Next, in step S5, the
In step S <b> 9, the
さらに、ステップS12において、CPU141は、検索中のフォルダ内の第N階層に、最下位階層でなく且つ未検索のフォルダが存在するか否かを判断する。CPU141は、ステップS12において、検索中の第N階層に、最下位階層でなく且つ未検索のフォルダが存在すると判断すると(ステップS12;Yes)、ステップS13において、Nをインクリメントするとともに、ステップS8に戻って以上の処理を繰り返す。一方、CPU141は、ステップS12において、検索中のフォルダ内の第N階層に、最下位階層でなく且つ未検索のフォルダが存在しないと判断すると(ステップS12;No)、ステップS14に進む。
ここで、例えば、図6(a)のディレクトリツリーと図6(b)のディレクトリツリーに基づいて仮想ディレクトリツリーを作成する場合を例に説明する。
例えば、N=1である場合、ステップS12において、第1階層に存在する「fold.a」「fold.b」「fold.c」「fold.d」の中で、最下位階層でないフォルダ(すなわち、「fold.a」「fold.c」「fold.d」)のうち、全てのフォルダ内の走査が終了していない段階では、最下位階層でなく且つ未検索のフォルダが存在する(ステップS12;Yes)と判断されることとなる。
一方、第1階層の「fold.a」「fold.b」「fold.c」「fold.d」の中で、最下位階層でないフォルダ(すなわち、「fold.a」「fold.c」「fold.d」)の全てのフォルダ内の検索が既に終了している場合には、最下位階層でなく且つ未検索のフォルダは存在しないと判断されることとなる(ステップS12;No)。
Further, in step S12, the
Here, for example, a case where a virtual directory tree is created based on the directory tree of FIG. 6A and the directory tree of FIG. 6B will be described as an example.
For example, if N = 1, in step S12, the folder that is not the lowest hierarchy in “fold.a”, “fold.b”, “fold.c”, and “fold.d” existing in the first hierarchy (that is, , “Fold.a”, “fold.c”, and “fold.d”), at the stage where scanning of all the folders has not been completed, there is an unsearched folder that is not the lowest hierarchy (step S12). ; Yes).
On the other hand, among folders “fold.a”, “fold.b”, “fold.c”, and “fold.d” in the first hierarchy, folders that are not the lowest hierarchy (that is, “fold.a”, “fold.c”, “fold”). .D ”) has already been searched, it is determined that there is no unsearched folder that is not at the lowest level (step S12; No).
ステップS14において、CPU141は、Nをデクリメントし、ステップS15において、N=0(すなわち、ルートディレクトリ)であるか否かを判断する。CPU141は、ステップS15において、N=0でないと判断すると(ステップS15;No)、ステップS12に戻って以上の処理を繰り返し、一方、ステップS15において、N=0であると判断すると(ステップS15;Yes)、仮想ディレクトリツリーの作成が完了したとして、各ファイルの仮想パスを決定して仮想ディレクトリツリー情報212を作成し、ステップS16において、作成した仮想ディレクトリツリー情報212をマスタHDD21に記憶させて、本処理を終了する。
In step S14, the
次に、図12のフローチャートを参照しながら、PC1に新規のHDD2が接続された場合に実行される処理について説明する。
まず、ステップS21において、CPU141は、PC1に新規のHDD2が接続されたか否かを判断し、新規HDD2の接続有りと判断すると(ステップS21;Yes)、ステップS22において、ユーザによるキー操作部11のキー操作に基づいて、当該新規のHDD2を仮想ディレクトリツリーに統合するか否かを判断する。CPU141は、ステップS22において、新規HDD2を仮想ディレクトリツリーに統合しないと判断すると(ステップS22;No)、ステップS29に進み、一方、新規HDD2を仮想ディレクトリツリーに統合すると判断すると(ステップS22;Yes)、続くステップS23において、新規のHDD2がフォーマット済みであるか否かを判断する。CPU141は、ステップS23において、新規HDD2がフォーマット済みでないと判断すると(ステップS23;Yes)、ステップS24において、新規HDD2に初期化データを書き込むフォーマット処理を行い、一方、新規HDD2がフォーマット済みであると判断すると(ステップS23;Yes)、ステップS25に進む。
Next, processing executed when a
First, in step S21, the
ステップS25において、CPU141は、新規HDD2のファイルシステムが、仮想ディレクトリツリーに統合可能なファイルシステムであるか否かを判断する。CPU141は、ステップS25において、新規HDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと異なり、且つ、仮想ディレクトリツリーのファイルシステムと互換不可能な場合等に、仮想ディレクトリツリーに統合できないと判断すると(ステップS25;No)、ステップS26において、表示部12のディスプレイに、新規HDD2のディレクトリツリーを仮想ディレクトリツリーに統合することが不可能である旨の報知を行わせ、ステップS29に進む。一方、CPU141は、ステップS25において、新規HDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一である場合、又は、新規ディレクトリツリーのファイルシステムと互換性を有するファイルシステムである場合等に、仮想ディレクトリツリーに統合可能なファイルシステムであると判断すると(ステップS25;Yes)、ステップS27において、当該新規のHDD2に、フォルダ・ファイル等のデータが記憶されているか否かを判断する。そして、CPU141は、ステップS27において、新規HDD2にデータが記憶されていると判断すると(ステップS27;Yes)、ステップS28において、当該HDD2に記憶されたフォルダ・ファイル等を、マスタHDD21に記憶されている仮想ディレクトリツリーに統合させる処理を行い、仮想ディレクトリツリー情報212を更新して、ステップS29に進む。
ステップS29において、CPU141は、メモリ部142のデータエリア1422に格納された接続情報管理テーブル1422aに、当該新規のHDD2の識別ID、マスタHDDであるか或いは外付HDDであるかの種別情報、仮想ディレクトリツリーに統合するHDD2であるか否かを示すメンバ登録情報等を登録し、接続情報管理テーブル1422aを更新して、本処理を終了する。
In step S25, the
In step S29, the
以上説明した本実施形態におけるファイル管理システム100によれば、CPU141による検出プログラム143aの実行により、PC1に接続された複数のHDD2が検出され、読出プログラム143bの実行により、検出プログラム143aの実行により検出された複数のHDD2の各々から、ディレクトリツリーが読み出され、作成プログラム143cの実行により、読出プログラム143bの実行により読み出されたディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダが検索され、検索された同一階層内における同名フォルダが一つのフォルダとされ、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作が繰り返されて仮想ディレクトリツリーが作成され、記憶制御プログラム143dの実行により、作成プログラム143cの実行により作成された仮想ディレクトリツリーがマスタHDD21に記憶され、管理プログラム143eの実行により、マスタHDD21に記憶された仮想ディレクトリツリーに基づいて、複数のHDD2に記憶されたファイルへのアクセスが管理される。
したがって、複数のHDD2のディレクトリツリーにおける同一階層内に同名フォルダが存在する場合であっても、仮想ディレクトリツリーにおいて当該同名フォルダが一つのフォルダに統合されこととなるため、ユーザから見た仮想ディレクトリツリー構造が煩雑になることなく、ユーザが容易にアクセスすることができるファイル管理システム100を提供することができる。
According to the
Therefore, even when a folder with the same name exists in the same hierarchy in a directory tree of a plurality of
また、CPU141による接続検出プログラム143fの実行により、PC1に、新規のHDD2が接続されたことが検出され、選択プログラム143gの実行により、接続検出プログラム143fの実行により、新規のHDD2が接続されたことが検出された場合に、キー操作部11におけるキー操作に基づいて、新規のHDD2のディレクトリツリーが、作成プログラム143cの実行により作成された仮想ディレクトリツリーに統合するか否かがユーザに選択され、判別プログラム143hの実行により、選択プログラム143gの実行により、新規のHDD2のディレクトリツリーが仮想ディレクトリツリーに統合すると選択された場合に、新規のHDD2がフォーマット済みであるか否かが判別され、判断プログラム143iの実行により、判別プログラム143hの実行により新規のHDD2がフォーマット済みであると判別された場合に、当該新規のHDD2のファイルシステムが判別されて、当該新規のHDD2のファイルシステムが仮想ディレクトリツリーのファイルシステムと同一であるか否かが判断され、報知プログラム143jの実行により、判断プログラム143iの実行により、新規のHDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、新規のHDD2のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨が報知され、判断プログラム143iの実行により新規のHDD2のファイルシステムが仮想ディレクトリツリーのファイルシステムと同一であると判断された場合に、作成プログラム143cが実行される。
したがって、仮想ディレクトリツリー作成後であっても、新規のHDD2のディレクトリツリーを、簡単な操作で仮想ディレクトリツリーに統合することができるとともに、新規のHDD2のディレクトリツリーが仮想ディレクトリツリーに統合できない場合には、ユーザはその旨を確実に把握できることとなる。
In addition, it is detected that the
Therefore, even after the virtual directory tree is created, the
なお、本発明は、上記実施の形態に限られることなく、本発明の趣旨を逸脱しない範囲において、種々の改良並びに設計の変更を行っても良い。 The present invention is not limited to the above embodiment, and various improvements and design changes may be made without departing from the spirit of the present invention.
例えば、記録媒体及び記録装置は、ハードディスク・ハードディスクドライブに限られることなく、DVD−RAM、CD−RW等の光ディスク、光磁気ディスク(MO: Magneto-Optical disk)、FD(Floppy(登録商標) Disk)等の磁気ディスク、PCカード等のメモリカードであっても良い。
また、本発明のファイル管理システム100を実現するためのプログラム(例えば、作成プログラム143c等)が、PC1ではなくHDD2側に備わる構成であっても良い。
また、作成した仮想ディレクトリツリーは、必ずしもマスタHDD21に記憶させなくても良く、PC1や、他のHDD2に記憶させても良い。また、記憶場所をユーザが選択できる構成となっていても良い。
また、仮想ディレクトリツリーを記憶する方法は、上記実施の形態で例示した方法に限られない。
For example, the recording medium and the recording device are not limited to hard disks and hard disk drives, but are optical disks such as DVD-RAM and CD-RW, magneto-optical disks (MO), FD (Floppy (registered trademark) Disks). ) Etc., or a memory card such as a PC card.
In addition, a program (for example, the
Further, the created virtual directory tree does not necessarily have to be stored in the
Further, the method for storing the virtual directory tree is not limited to the method exemplified in the above embodiment.
100 ファイル管理システム
1 パーソナルコンピュータ(電子機器)
2 ハードディスクドライブ(記録媒体、記録装置)
21 マスタハードディスクドライブ
11 キー操作部
141 CPU(検出手段、読出手段、作成手段、記録制御手段、管理手段、接続検出手段、選択手段、判別手段、判断手段、報知手段)
143a 検出プログラム(検出手段)
143b 読出プログラム(読出手段)
143c 作成プログラム(作成手段)
143d 記憶制御プログラム(記録制御手段)
143e 管理プログラム(管理手段)
143f 接続検出プログラム(接続検出手段)
143g 選択プログラム(選択手段)
143h 判別プログラム(判別手段)
143i 判断プログラム(判断手段)
143j 報知プログラム(報知手段)
100
2 Hard disk drive (recording medium, recording device)
21 Master
143a Detection program (detection means)
143b Reading program (reading means)
143c Creation program (creation means)
143d Storage control program (recording control means)
143e management program (management means)
143f Connection detection program (connection detection means)
143g Selection program (selection means)
143h Discrimination program (discrimination means)
143i Judgment program (judgment means)
143j Notification program (notification means)
Claims (5)
前記複数の記録装置は、一のマスタハードディスクドライブ、及び一又は複数の外付ハードディスクドライブにより構成され、
前記電子機器に接続された前記複数の記録装置を検出する検出手段と、
前記検出手段により検出された前記複数の記録装置の各々から、前記ディレクトリツリーを読み出す読出手段と、
前記読出手段により読み出された前記ディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダを検索し、検索された同一階層内における同名フォルダを一つのフォルダとし、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作を繰り返して仮想ディレクトリツリーを作成する作成手段と、
前記作成手段により作成された前記仮想ディレクトリツリーを前記マスタハードディスクドライブに記憶させる記憶制御手段と、
前記マスタハードディスクドライブに記憶された前記仮想ディレクトリツリーに基づいて、前記複数の記録装置に記憶されたファイルへのアクセスを管理する管理手段と、
前記電子機器に、新規の記録装置が接続されたことを検出する接続検出手段と、
前記接続検出手段により、前記新規の記録装置が接続されたことが検出された場合に、キー操作部におけるキー操作に基づいて、当該新規の記録装置のディレクトリツリーを、前記作成手段により作成された前記仮想ディレクトリツリーに統合するか否かをユーザに選択させる選択手段と、
前記選択手段により、前記新規の記録装置のディレクトリツリーを前記仮想ディレクトリツリーに統合すると選択された場合に、当該新規の記録装置がフォーマット済みであるか否かを判別する判別手段と、
前記判別手段により、前記新規の記録装置がフォーマット済みであると判別された場合に、当該新規の記録装置のファイルシステムを判別し、当該新規の記録装置のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一であるか否かを判断する判断手段と、
前記判断手段により、前記新規の記録装置のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、当該新規の記録装置のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨を報知する報知手段と、
を備え、
前記作成手段は、
前記判断手段により、前記新規の記録装置のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一であると判断された場合に実行されることを特徴とするファイル管理システム。 In a file management system for managing a file by connecting a plurality of recording devices having directory trees with different root directories to an electronic device,
The plurality of recording devices are composed of one master hard disk drive and one or more external hard disk drives,
Detecting means for detecting the plurality of recording devices connected to the electronic device;
Reading means for reading out the directory tree from each of the plurality of recording devices detected by the detecting means;
In the directory tree read by the reading means, the same name folder in the same hierarchy is searched in order from the highest hierarchy, and the searched same name folder in the same hierarchy is set as one folder, and the folder is stored in the folder. Creating means for creating a virtual directory tree by repeating the operation of writing a lower-level folder associated with
Storage control means for storing the virtual directory tree created by the creating means in the master hard disk drive;
Management means for managing access to files stored in the plurality of recording devices based on the virtual directory tree stored in the master hard disk drive;
Connection detection means for detecting that a new recording device is connected to the electronic device;
When the connection detecting unit detects that the new recording device is connected, a directory tree of the new recording device is created by the creating unit based on a key operation in the key operation unit. Selection means for allowing the user to select whether to integrate into the virtual directory tree;
A discriminating unit for discriminating whether or not the new recording device is formatted when the selection unit selects to integrate the directory tree of the new recording device into the virtual directory tree;
When the determination unit determines that the new recording device is formatted, the file system of the new recording device is determined, and the file system of the new recording device is a file in the virtual directory tree. A determination means for determining whether or not the system is the same;
If the determination unit determines that the file system of the new recording device is not the same as the file system of the virtual directory tree, it is not possible to integrate the directory tree of the new recording device into the virtual directory tree. An informing means for informing that it is possible;
With
The creating means includes
The file management system is executed when the determination unit determines that the file system of the new recording device is the same as the file system of the virtual directory tree.
前記電子機器に接続された前記複数の記録媒体を検出する検出手段と、
前記検出手段により検出された前記複数の記録媒体の各々から、前記ディレクトリツリーを読み出す読出手段と、
前記読出手段により読み出された前記ディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダを検索し、検索された同一階層内における同名フォルダを一つのフォルダとし、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作を繰り返して仮想ディレクトリツリーを作成する作成手段と、
前記作成手段により作成された前記仮想ディレクトリツリーに基づいて、前記複数の記録媒体に記憶されたファイルへのアクセスを管理する管理手段と、
を備えることを特徴とするファイル管理システム。 In a file management system for managing a file by connecting a plurality of recording media having different directory trees with different root directories to an electronic device,
Detecting means for detecting the plurality of recording media connected to the electronic device;
Reading means for reading out the directory tree from each of the plurality of recording media detected by the detecting means;
In the directory tree read by the reading means, the same name folder in the same hierarchy is searched in order from the highest hierarchy, and the searched same name folder in the same hierarchy is set as one folder, and the folder is stored in the folder. Creating means for creating a virtual directory tree by repeating the operation of writing a lower-level folder associated with
Management means for managing access to files stored in the plurality of recording media based on the virtual directory tree created by the creation means;
A file management system comprising:
前記接続検出手段により、前記新規の記録媒体が接続されたことが検出された場合に、キー操作部におけるキー操作に基づいて、当該新規の記録媒体のディレクトリツリーを、前記作成手段により作成された前記仮想ディレクトリツリーに統合するか否かをユーザに選択させる選択手段と、を備え、
前記作成手段は、
前記選択手段により、前記新規の記録媒体のディレクトリツリーを前記仮想ディレクトリツリーに統合すると選択された場合に実行することを特徴とする請求項2に記載のファイル管理システム。 Connection detection means for detecting that a new recording medium is connected to the electronic device;
When the connection detection unit detects that the new recording medium is connected, a directory tree of the new recording medium is created by the creation unit based on a key operation in the key operation unit. Selecting means for allowing the user to select whether to integrate into the virtual directory tree,
The creating means includes
3. The file management system according to claim 2, wherein the file management system is executed when the selection unit selects that the directory tree of the new recording medium is integrated into the virtual directory tree.
前記判別手段により、前記新規の記録媒体がフォーマット済みであると判別された場合に、当該新規の記録媒体のファイルシステムを判別し、当該新規の記録媒体のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一であるか否かを判断する判断手段と、
前記判断手段により、前記新規の記録媒体のファイルシステムが、前記仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、当該新規の記録媒体のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨を報知する報知手段と、
を備えることを特徴とする請求項3に記載のファイル管理システム。 A discriminating unit for discriminating whether or not the new recording medium has been formatted when the selection unit selects to integrate the directory tree of the new recording medium into the virtual directory tree;
When the determination unit determines that the new recording medium has been formatted, the file system of the new recording medium is determined, and the file system of the new recording medium is a file in the virtual directory tree. A determination means for determining whether or not the system is the same;
If the determination unit determines that the file system of the new recording medium is not the same as the file system of the virtual directory tree, it is not possible to integrate the directory tree of the new recording medium into the virtual directory tree. An informing means for informing that it is possible;
The file management system according to claim 3, further comprising:
前記電子機器に接続された前記複数の記録媒体を検出し、
次いで、前記検出された前記複数の記録媒体の各々から、前記ディレクトリツリーを読み出し、
次いで、最上位階層から順に、同一階層内における同名フォルダを、読み出した前記ディレクトリツリーから検索し、検索された同一階層内における同名フォルダを一つのフォルダとし、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作を繰り返して仮想ディレクトリツリーを作成し、
次いで、作成した前記仮想ディレクトリツリーに基づいて、前記複数の記録媒体に記憶されたファイルへのアクセスを管理することを特徴とするファイル管理方法。 In a file management method for managing a file by connecting a plurality of recording media having different directory trees with different root directories to an electronic device,
Detecting the plurality of recording media connected to the electronic device;
Next, the directory tree is read from each of the detected recording media,
Next, in order from the top layer, the same name folder in the same layer is searched from the read directory tree, and the searched same name folder in the same layer is set as one folder, and the folder is associated with the folder. Create a virtual directory tree by repeating the operation of writing the lower level folder,
Next, based on the created virtual directory tree, access to the files stored in the plurality of recording media is managed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007067007A JP2008226137A (en) | 2007-03-15 | 2007-03-15 | File management method and file management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007067007A JP2008226137A (en) | 2007-03-15 | 2007-03-15 | File management method and file management system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008226137A true JP2008226137A (en) | 2008-09-25 |
Family
ID=39844632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007067007A Pending JP2008226137A (en) | 2007-03-15 | 2007-03-15 | File management method and file management system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008226137A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010237939A (en) * | 2009-03-31 | 2010-10-21 | Nec Corp | Apparatus, method and program for managing projection file system |
KR20220018186A (en) * | 2020-08-06 | 2022-02-15 | 주식회사 파수 | Method for managing virtual file, apparatus for the same, computer program for the same, and recording medium storing computer program thereof |
-
2007
- 2007-03-15 JP JP2007067007A patent/JP2008226137A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010237939A (en) * | 2009-03-31 | 2010-10-21 | Nec Corp | Apparatus, method and program for managing projection file system |
KR20220018186A (en) * | 2020-08-06 | 2022-02-15 | 주식회사 파수 | Method for managing virtual file, apparatus for the same, computer program for the same, and recording medium storing computer program thereof |
KR102438329B1 (en) | 2020-08-06 | 2022-08-31 | 주식회사 파수 | Method for managing virtual file, apparatus for the same, computer program for the same, and recording medium storing computer program thereof |
US11625365B2 (en) | 2020-08-06 | 2023-04-11 | Fasoo Co., Ltd | Method for managing virtual file, apparatus for the same, computer program for the same, and recording medium storing computer program thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5149570B2 (en) | File management apparatus, file management apparatus control method, and program | |
JP5346506B2 (en) | File management device | |
RU2406132C2 (en) | File management system using time scale-based data presentation | |
US10452768B2 (en) | Managing source annotation metadata | |
US20050080807A1 (en) | Extensible creation and editing of integrated collections | |
EP1720109A2 (en) | Apparatus and method for storing and managing additional data in file system | |
WO2004023310A1 (en) | Method for managing file using network structure, operation object display limiting program, and recording medium | |
JP2007188501A (en) | Method of creating symbolic link capable of being compatible with file system, and method and apparatus for accessing file or directory by using symbolic link | |
AU2003204198A1 (en) | Virtual address bar user interface control | |
JPWO2006098031A1 (en) | Keyword management device | |
JP5053550B2 (en) | Document processing apparatus and method and document processing system | |
KR20080078255A (en) | Method and apparatus of managing files and information storage medium storing files | |
JP2008152585A (en) | Display image control apparatus and its control method | |
JP5448412B2 (en) | Information processing apparatus and method, program, and recording medium | |
US7565374B2 (en) | Database visualization and searching | |
JP2008226137A (en) | File management method and file management system | |
CN101556612A (en) | Information processing apparatus and control method thereof | |
KR101446566B1 (en) | File management apparatus and method thereof | |
JP5063465B2 (en) | Document management apparatus, document management method, information processing program, and recording medium | |
JP2004272439A (en) | Directory retrieval method, directory retrieval device, storage medium and program | |
KR100645965B1 (en) | Host device and method for management data | |
JP4279496B2 (en) | Electronic delivery support device and program | |
RU2351981C2 (en) | Expandable creation and editing of combined sets | |
JP2007257494A (en) | Data recorder, connecting device, information processing system and information processing method | |
US20120311505A1 (en) | Document Management System and Program for the System |