JP2008226137A - File management method and file management system - Google Patents

File management method and file management system Download PDF

Info

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
Application number
JP2007067007A
Other languages
Japanese (ja)
Inventor
Tomohiro Yamamoto
智大 山元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2007067007A priority Critical patent/JP2008226137A/en
Publication of JP2008226137A publication Critical patent/JP2008226137A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To allow a user to more easily access to a file in a file management method and a file management system virtually organizing a single directory tree based on a plurality of directory trees. <P>SOLUTION: A detection means (a CPU 141 or the like) detects a plurality of HDD 2 connected to a PC 1, the detection means (the CPU 141 or the like) reads the directory tree from each of the detected plurality of HDD 2. A creating means (the CPU 141 or the like) retrieves the same name folder in the same hierarchy from the highest order hierarchy in order in the directory tree, takes the same name folders in the retrieved same hierarchy as one folder, and creates a virtual directory tree by repeating the operation of writing a folder of a lower order hierarchy corresponding to the folder in the folder concerned. A management means (the CPU 141 or the like) manages access to a file based on the virtual directory tree. <P>COPYRIGHT: (C)2008,JPO&INPIT

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には、新規ファイル格納時やファイル編集時に、記録媒体の容量が足りなかったとき、新しい記録媒体上のルートディレクトリ以下に、元の記録媒体上のディレクトリと同じパスのサブディレクトリを増設し、そこにファイルを格納するファイル管理装置及びファイル管理方法が開示されている。これによれば、ユーザから見たディレクトリの木構造を変化させずに記録媒体を追加して記憶容量を増加させることが可能となる。
特開2006−268456号公報 特開2004−046661号公報 特開2002−244901号公報
For example, in Patent Document 1, a plurality of directory trees are overlapped like a layer to configure a virtual directory, and a plurality of directory trees are viewed as a single directory from an application and a file is updated. A file management apparatus and file management method that enables logical overwriting by writing to an update layer, prepares a file to be overwritten in another directory in advance, and deploys it to the top layer of the virtual directory. It is disclosed. According to this, it is possible to acquire a snapshot at a certain point in the past and hold a master file, and it is possible to atomically add a plurality of files simultaneously.
Further, for example, Patent Document 2 discloses a directory tree structure of an installed network storage even when a new network storage is added in a situation where the installed network storage is operated without using the virtual unification function. A virtual unification method is disclosed that can extend the capacity while inheriting.
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.
JP 2006-268456 A JP 2004-046661 A JP 2002-244901 A

ところで、仮想ディレクトリツリーに統合する複数の記録媒体に、ファイル名が共通する同名フォルダが存在している場合がある。しかしながら、上記特許文献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 above Patent Documents 1 to 3 do not describe any handling of the folder with the same name at the time of creating the virtual directory tree. If the same name folder exists in a plurality of recording media, the constructed virtual directory A folder with the same name exists in the tree. Therefore, when the same name folder exists in a plurality of recording media to be integrated into the virtual directory tree, the file management techniques of Patent Documents 1 to 3 make the virtual directory tree viewed from the user complicated and desired. There was a problem that could not easily access the file.

本発明の課題は、複数のディレクトリツリーに基づいて単一のディレクトリツリーを仮想的に構築するファイル管理方法及びファイル管理システムにおいて、ユーザによるファイルへのアクセスをより容易化することである。   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 claim 1 is a file management system for managing files by connecting a plurality of recording devices having different directory trees with different root directories to an electronic device.
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 claim 2 is a file management system for managing a file by connecting a plurality of recording media having a directory tree 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;
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 file management system 100 in the present embodiment.
In the file management system 100 of this embodiment, for example, as shown in FIG. 1, a plurality of recording devices (recording media) are connected to a personal computer (hereinafter referred to as “PC”) 1 as an electronic device. The recording device is, for example, a hard disk drive (hereinafter referred to as “HDD”) 2 that reads / writes data from / to a magnetic disk.
Specifically, the PC 1 includes, for example, one master hard disk drive (hereinafter referred to as “master HDD”) 21 and one or a plurality of (for example, one in this embodiment) removable external devices. A hard disk drive (hereinafter referred to as “external HDD”) 22 is connected, and each of the master HDD 21 and the external HDD 22 stores a file group having a directory tree structure with different root directories.
The master HDD 21 may be built in the casing of the PC 1 or may be externally attached to the casing of the PC 1 with a hard disk case or the like. Further, the number of external HDDs 22 is not limited and may be two or more. Further, the types of the master HDD 21 and the external HDD 22 may not be distinguished.

図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 file management system 100 in FIG.
As shown in FIG. 2, the PC 1 includes a key operation unit 11 for a user to input various instructions, a display unit 12 for displaying various display data, a master HDD 21 and an external HDD 22. And an I / F unit 13 that transmits and receives data between the devices, and a control unit 14 that performs overall control of the entire PC 1.

キー操作部11は、カーソルキー、数字キー、各種機能キー等を備えるキーボードや、マウス等により構成され、キーボード及びマウスにおいて押下されたキーに基づく入力操作信号を制御部14に対して出力する。   The key operation unit 11 includes a keyboard having a cursor key, numeric keys, various function keys, a mouse, and the like, and outputs an input operation signal based on a key pressed on the keyboard and the mouse to the control unit 14.

表示部12は、LCD(Liquid Display Panel)等の図示しないディスプレイを備えて構成され、CPU141による制御に従い、各種の表示データをディスプレイに表示させる。   The display unit 12 includes a display (not shown) such as an LCD (Liquid Display Panel), and displays various display data on the display according to control by the CPU 141.

I/F部13は、例えば、ATA(AT Attachment)規格等が採用されたインターフェースであり、PC1に接続されたマスタHDD21・外付HDD22との間で各種情報を送受信する。
具体的には、I/F部13は、例えば、制御部14から制御に従って、PC1に接続されたHDD2から、後述のファイル管理情報211、221や各種ファイル等を送受信する。
The I / F unit 13 is an interface that adopts, for example, the ATA (AT Attachment) standard, and transmits and receives various types of information between the master HDD 21 and the external HDD 22 connected to the PC 1.
Specifically, the I / F unit 13 transmits / receives file management information 211 and 221 described below, various files, and the like from the HDD 2 connected to the PC 1 under the control of the control unit 14, for example.

制御部14は、例えば、CPU(Central Processing Unit)141、メモリ部142、ROM(Read Only Memory)143等を備えて構成されている。   The control unit 14 includes, for example, a CPU (Central Processing Unit) 141, a memory unit 142, a ROM (Read Only Memory) 143, and the like.

CPU141は、PC1の各部から入力された入力信号や、キー操作部11における各種キーの押下操作によって入力された入力操作信号等に応じて、ROM143に格納された各種プログラムを実行するとともに、実行にかかるプログラムに基づいてPC1の各部に出力信号を出力することにより、ファイル管理システム100の動作全般を統括制御する。   The CPU 141 executes various programs stored in the ROM 143 in accordance with input signals input from each unit of the PC 1, input operation signals input by pressing various keys in the key operation unit 11, and the like. Based on such a program, the overall operation of the file management system 100 is comprehensively controlled by outputting an output signal to each part of the PC 1.

メモリ部142は、例えば、RAM(Random Access Memory)等の揮発性メモリからなるワークエリア1421を備えており、CPU141によって各種プログラムが実行される際に生じる処理結果や、入力されたデータ等をこのワークエリア1421に記憶させる。   The memory unit 142 includes, for example, a work area 1421 formed of a volatile memory such as a RAM (Random Access Memory), and processing results generated when various programs are executed by the CPU 141, input data, and the like. Store in work area 1421.

また、メモリ部142は、EPROM(Erasable Programmable ROM)等の不揮発性メモリからなるデータエリア1422を備えている。データエリア1422は、例えば、接続情報管理テーブル1422aと、領域管理テーブル1422b等を備えている。   The memory unit 142 includes a data area 1422 made of a nonvolatile memory such as an EPROM (Erasable Programmable ROM). The data area 1422 includes, for example, a connection information management table 1422a and an area management table 1422b.

接続情報管理テーブル1422aは、例えば、PC1に接続されているHDD2を管理するための情報である。具体的には、接続情報管理テーブル1422aは、図3に示すように、PC1に接続されたHDD2毎に、機器IDと、マスタHDDであるか或いは外付HDDであるかを示す種別情報と、仮想ディレクトリツリーに統合するHDD2であるか否かを示すメンバ登録情報等を対応付けて記憶している。   The connection information management table 1422a is information for managing the HDD 2 connected to the PC 1, for example. Specifically, as shown in FIG. 3, the connection information management table 1422a includes, for each HDD 2 connected to the PC 1, a device ID, type information indicating whether the HDD is a master HDD or an external HDD, Member registration information and the like indicating whether or not the HDD 2 is integrated into the virtual directory tree are stored in association with each other.

領域管理テーブル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 HDD 2 connected to the PC 1, and this area is recorded when new data is recorded in any HDD 2. The management table 1422b is referred to, and the recording destination HDD 2 and the recording destination address are determined.

ROM143は、例えば、不揮発性メモリから成るプログラム格納エリアを有しており、具体的には、検出プログラム143a、読出プログラム143b、作成プログラム143c、記憶制御プログラム143d、管理プログラム143e、接続検出プログラム143f、選択プログラム143g、判別プログラム143h、判断プログラム143i、報知プログラム143j等を格納している。   The ROM 143 has a program storage area composed of, for example, a nonvolatile memory. Specifically, the ROM 143 includes a detection program 143a, a read program 143b, a creation program 143c, a storage control program 143d, a management program 143e, a connection detection program 143f, A selection program 143g, a determination program 143h, a determination program 143i, a notification program 143j, and the like are stored.

検出プログラム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 detection program 143a is a program for causing the CPU 141 to realize a function of detecting a plurality of HDDs 2 connected to the PC 1, for example.
Specifically, the CPU 141 starts virtual directory tree creation processing at a predetermined timing such as when an instruction to create a virtual directory tree is given by a key operation in the key operation unit 11.
When the CPU 141 starts the virtual directory tree creation process, first, the I / F unit 13 detects the HDD 2 connected to the PC 1 and acquires the device ID, type information, and the like of the detected HDD 2. 4, the virtual directory tree setting screen is displayed on the display of the display unit 12. On the virtual directory setting screen, it is possible to select whether or not to integrate each of the connected HDDs 2 (for example, the master HDD 21 and the external HDD 22) connected to the PC 1 into the virtual directory tree. 11, when the user selects integration / non-integration by the key operation, the CPU 141 stores the ID information of the HDD 2 and the master for each of the HDDs 2 recognized as being connected to the PC 1 in the connection information management table 1422a. Type information indicating whether the HDD is an HDD or an external HDD and member registration information indicating whether the HDD 2 is integrated into the virtual directory tree are registered.
The CPU 141 functions as a detection unit by executing the detection program 143a.

読出プログラム143bは、例えば、CPU141に、前述の検出プログラム143aの実行により検出された複数のHDD2の各々から、ディレクトリツリーを読み出す機能を実現させるためのプログラムである。
具体的には、検出プログラム143aの実行においてPC1に接続されたHDD2が検出され、その中から仮想ディレクトリツリーに統合するHDD2がユーザにより選択されると、CPU141は、仮想ディレクトリツリーに統合するHDD2(例えば、マスタHDD21及び外付HDD22)のそれぞれから、そのHDD2に記録されているディレクトリツリーとしてのファイル管理情報211、221を読み出す。
CPU141は、かかる読出プログラム143bを実行することにより、読出手段として機能する。
The read program 143b is a program for causing the CPU 141 to realize a function of reading a directory tree from each of the plurality of HDDs 2 detected by the execution of the detection program 143a, for example.
Specifically, when the HDD 2 connected to the PC 1 is detected in the execution of the detection program 143a and the HDD 2 to be integrated into the virtual directory tree is selected by the user, the CPU 141 selects the HDD 2 ( For example, the file management information 211 and 221 as a directory tree recorded in the HDD 2 is read from each of the master HDD 21 and the external HDD 22).
The CPU 141 functions as a reading unit by executing the reading program 143b.

ここで、図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 master HDD 21 and the external HDD 22 and their hierarchical structure will be described with reference to FIGS.
5A shows the file management information 211 stored in the master HDD 21, and FIG. 5B shows the file management information 221 stored in the external HDD 22. 6A shows a hierarchical structure of files stored in the master HDD 21, and FIG. 6B shows a hierarchical structure of files stored in the external HDD 22.

各HDD21、22に格納されたファイル管理情報211、221は、そのHDD21、22に格納された各ファイルに関する情報と、当該ファイルのデータ構造であるディレクトリツリーに関する情報を記憶している。
具体的には、ファイル管理情報211、221は、図5に示すように、そのHDD2に格納されているファイル毎に、ファイル名、磁気ディスクにおいてファイルが記憶された領域の先頭論理ブロックアドレス、ファイルサイズ、ファイルの格納場所を示すパス(絶対パス)、ファイルの作成日時、ファイルの更新日時等を対応づけて記憶している。
パスは、そのHDD2のディレクトリツリーにおける各ファイルの位置を示しており、以下の説明では、当該パスを、後述の仮想パスと区別するため「実パス」という。実パスは、“ルートディレクトリ/フォルダ名/…/ファイル名”という形式で表現され、例えば、マスタHDD21に記憶された「file101」というファイルにアクセスするためには、「C:(ルートディレクトリ)→fold.a→fold.d→file101」というルートを辿ることとなる。
The file management information 211 and 221 stored in each HDD 21 and 22 stores information related to each file stored in the HDD 21 and 22 and information related to the directory tree that is the data structure of the file.
Specifically, as shown in FIG. 5, the file management information 211, 221 includes, for each file stored in the HDD 2, a file name, a head logical block address of the area where the file is stored on the magnetic disk, a file A size, a path indicating a file storage location (absolute path), a file creation date and time, a file update date and time, and the like are stored in association with each other.
The path indicates the position of each file in the directory tree of the HDD 2. In the following description, the path is referred to as “real path” in order to distinguish it from a virtual path described later. The actual path is expressed in the form of “root directory / folder name /.. ./File name”. For example, in order to access the file “file 101” stored in the master HDD 21, “C: (root directory) → “fold.a → fold.d → file101” is traced.

作成プログラム143cは、例えば、CPU141に、前述の読出プログラム143bの実行により読み出されたディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダを検索し、検索された同一階層内における同名フォルダを一つのフォルダとし、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを順に書き込む動作を繰り返して仮想ディレクトリツリーを作成する機能を実現させるためのプログラムである。
具体的には、CPU141は、PC1に接続されたHDD2(例えば、マスタHDD21及び外付HDD22)のそれぞれから、ディレクトリツリー構造のファイル群を管理するファイル管理情報211、221を読み出すと、各HDD2から読み出したファイル管理情報211、221に記憶されている各ファイルの実パスに基づいて、各ディレクトリツリーの各階層におけるファイルを走査して仮想ディレクトリツリーの構築を行う。さらに、CPU141は、構築した仮想ディレクトリツリーにおける各ファイルの位置を示す仮想パスを決定し、決定した各ファイルの仮想パスに基づいて仮想ディレクトリツリー情報212を作成することにより、仮想ディレクトリツリーを作成する。
For example, the creation program 143c searches the directory tree read out by the execution of the read program 143b by the CPU 141 for the same name folder in the same hierarchy in order from the highest hierarchy, and searches for the same name in the searched same hierarchy. This is a program for realizing a function of creating a virtual directory tree by repeating the operation of sequentially writing a folder in a lower hierarchy associated with the folder into the folder.
Specifically, when the CPU 141 reads out file management information 211 and 221 for managing a file group having a directory tree structure from each of the HDDs 2 (for example, the master HDD 21 and the external HDD 22) connected to the PC 1, the CPU 141 reads the file management information 211 and 221 from each HDD 2. Based on the actual path of each file stored in the read file management information 211 and 221, a file in each hierarchy of each directory tree is scanned to construct a virtual directory tree. Further, the CPU 141 determines a virtual path indicating the position of each file in the constructed virtual directory tree, and creates virtual directory tree information 212 based on the determined virtual path of each file, thereby creating a virtual directory tree. .

ここで、図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 creation program 143c will be described with reference to FIGS.
7 shows a virtual directory tree based on the directory tree of the master HDD 21 shown in FIGS. 5 (a) and 6 (a) and the directory tree of the external HDD 22 shown in FIGS. 5 (b) and 6 (b). It is a figure which illustrates the virtual directory tree information 212 produced when a creation process is performed. 8 is based on the directory tree of the master HDD 21 shown in FIGS. 5 (a) and 6 (a) and the directory tree of the external HDD 22 shown in FIGS. 5 (a) and 6 (b). It is a figure which illustrates the hierarchical structure of the virtual directory tree created when a directory tree creation process is performed.

具体的には、図5及び図6に例示するマスタHDD21のディレクトリツリー及び外付HDD22のディレクトリツリーを統合して、仮想ディレクトリツリーを作成する場合、CPU141は、まず、マスタHDD21のルートディレクトリ(即ち、例えば、「C:」)を仮想ディレクトリツリーのルートディレクトリと決定する。
次に、各ディレクトリツリーにおけるルートディレクトリ直下の階層(なお、ルートディレクトリ直下の階層を「最上位階層」又は「第1階層」とし、ルートディレクトリを「第0階層」とする)を走査して、複数のディレクトリツリーの第1階層において、フォルダ名が共通する同名フォルダを検索する。複数のディレクトリツリーの第1階層に同名フォルダが存在する場合には、CPU141は、これらの同名フォルダを1つに統合して、仮想ディレクトリツリーの第1階層におけるフォルダとするとともに、同名フォルダ以外のフォルダのそれぞれを、仮想ディレクトリツリーの第1階層におけるフォルダとする。
Specifically, when the directory tree of the master HDD 21 and the directory tree of the external HDD 22 illustrated in FIGS. 5 and 6 are integrated to create a virtual directory tree, the CPU 141 firstly has the root directory of the master HDD 21 (that is, For example, “C:”) is determined as the root directory of the virtual directory tree.
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 CPU 141 integrates these folders with the same name into one folder in the first hierarchy of the virtual directory tree, and other than the folder with the same name. Each of the folders is a folder in the first hierarchy of the virtual directory tree.

例えば、マスタ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 master HDD 21, and “fold.a”, “fold.c” exist in the first hierarchy of the directory tree of the external HDD 22. When “c” and “fold.d” exist, the CPU 141 replaces “fold.a” and “fold.c” that exist in common in the first hierarchy of each directory tree with each of the virtual directory tree. Each folder of “fold.d” existing only in the first hierarchy of the master HDD 21 and “fold.d” existing only in the first hierarchy of the external HDD 22 is set as one folder in the first hierarchy. A folder in the first hierarchy of the tree.

仮想ディレクトリツリーの第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 CPU 141 then selects a folder that is not the lowest hierarchy among folders existing in the first hierarchy of the virtual directory tree (ie, “fold.a”, “fold”). .C ”and“ fold.d ”, a folder in which no folder exists in the lower hierarchy) is searched in one folder.
Specifically, the CPU 141 searches for one of the unsearched folders that is not the lowest hierarchy in the first hierarchy and searches for a hierarchy (the first hierarchy) lower in the folder being searched in a plurality of directory trees. The next lower layer of the first layer is set as the “second layer”), and a folder having the same name with the same folder name is searched. That is, the CPU 141 refers to the directory tree in which the folder being searched actually exists, and scans the second hierarchy in the folder being searched in those directory trees. When the folder being searched exists in a plurality of directory trees, and the same name folder having the same folder name exists in the second hierarchy in the folder being searched in the plurality of directory trees, the CPU 141 determines the same name. The folders are integrated into one folder to be a second-level folder in the folder being searched in the virtual directory tree, and each folder other than the same-name folder is set to the second hierarchy in the folder being searched in the virtual directory tree. Folder.

例えば、仮想ディレクトリツリーの第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 CPU 141 searches the directory tree of the master HDD 21 and the directory tree of the external HDD 22 in which “fold.a” exists in the first hierarchy. Referring to each, the second hierarchy that is one level lower than “fold.a” existing in the first hierarchy of each directory tree is scanned, and is common to the directory tree of the master HDD 21 and the directory tree of the external HDD 22. Search for a folder with the same name. “Fold.d” and “fold.f” exist in the second hierarchy in “fold.a” of the directory tree of the master HDD 21, and in the second hierarchy in “fold.a” of the directory tree of the external HDD 22. When “fold.f” exists, the CPU 141 replaces “fold.f” existing in the second hierarchy in “fold.a” of each directory tree with “fold.f” of the virtual directory tree. “fold.d” existing only in the second hierarchy of the master HDD 21 as a folder in the second hierarchy in “fold.a” of the virtual directory tree. .

CPU141は、上述の処理を上位の階層から下位の階層の順番で、最下位階層のフォルダ内の検索が終了するまで繰り返し行うとともに、最下位階層のフォルダ内の検索が終了すると、1つ上位の階層に戻って当該処理を繰り返し、さらに、各ディレクトリツリーにおける全階層の検索が終了するまでこの処理を繰り返す。すなわち、CPU141は、各ディレクトリツリーにおける片側から順に(例えば、左側から右側の順番で)走査することとなる。   The CPU 141 repeats the above processing in the order from the upper layer to the lower layer until the search in the folder in the lowest layer is completed, and when the search in the folder in the lowest layer is completed, Returning to the hierarchy, the process is repeated, and this process is repeated until the search of all hierarchies in each directory tree is completed. That is, the CPU 141 scans in order from one side in each directory tree (for example, from left to right).

CPU141は、上記の処理により、各ディレクトリツリーにおける全階層の走査が終了して、1つの仮想ディレクトリツリーが構築されると、構築された仮想ディレクトリツリーにおける各ファイルの位置を示す仮想パスを決定する。当該仮想パスは、HDD2のディレクトリツリーにおけるファイルの実際の位置を示す実パスとは異なり、仮想的に構築された仮想ディレクトリツリーにおけるファイルの位置を示している。
各ファイルの仮想パスが決定されると、CPU141は、これらを仮想ディレクトリツリー情報212に記憶させる。
仮想ディレクトリツリー情報212は、例えば、図7に示すように、仮想ディレクトリツリーに統合した複数のディレクトリツリーにおけるファイルのそれぞれに、ファイル名、決定されたファイルの仮想パス、ファイルを格納しているHDD2を識別する機器ID、ファイルの実際の位置を示す実パス、磁気ディスクにおいてファイルが記憶された先頭論理ブロックアドレス、ファイルサイズ、等を記憶している。
CPU141は、かかる作成プログラム143cを実行することにより、作成手段として機能する。
When the CPU 141 completes scanning of all layers in each directory tree and one virtual directory tree is constructed by the above processing, the CPU 141 determines a virtual path indicating the position of each file in the constructed virtual directory tree. . The virtual path indicates the position of the file in the virtually constructed virtual directory tree, unlike the actual path that indicates the actual position of the file in the directory tree of the HDD 2.
When the virtual path of each file is determined, the CPU 141 stores them in the virtual directory tree information 212.
For example, as shown in FIG. 7, the virtual directory tree information 212 includes a file name, a virtual path of the determined file, and an HDD 2 storing the file in each of the files in the plurality of directory trees integrated into the virtual directory tree. A device ID for identifying the file, an actual path indicating the actual position of the file, a head logical block address where the file is stored on the magnetic disk, a file size, and the like are stored.
The CPU 141 functions as a creation unit by executing the creation program 143c.

記憶制御プログラム143dは、例えば、CPU141に、前述の作成プログラム143cの実行により作成された仮想ディレクトリツリーをマスタHDD21に記憶させる機能を実現させるためのプログラムである。
具体的には、CPU141は、作成プログラム143cの実行において、仮想ディレクトリツリーを構築して、仮想ディレクトリツリーにおける各ファイルのファイル名、仮想パス、実パス等を記憶する仮想ディレクトリツリー情報212を作成すると、作成した仮想ディレクトリツリー情報212を、I/F部13を介してPC1に接続されたマスタHDD21に格納する。
CPU141は、かかる記憶制御プログラム143dを実行することにより、記憶制御手段として機能する。
The storage control program 143d is a program for causing the CPU 141 to realize a function of storing the virtual directory tree created by executing the creation program 143c in the master HDD 21, for example.
Specifically, when executing the creation program 143c, the CPU 141 constructs a virtual directory tree and creates virtual directory tree information 212 that stores the file name, virtual path, real path, and the like of each file in the virtual directory tree. The created virtual directory tree information 212 is stored in the master HDD 21 connected to the PC 1 via the I / F unit 13.
The CPU 141 functions as a storage control unit by executing the storage control program 143d.

管理プログラム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 management program 143 e is a program for causing the CPU 141 to realize a function of managing access to files stored in the plurality of HDDs 2 based on the virtual directory tree stored in the master HDD 21, for example.
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 key operation unit 11, the CPU 141 reads out the virtual directory tree information 212 stored in the master HDD 21, and reads out the read virtual directory tree Based on the information 212, file information is displayed on the display unit 12.
Further, when a read request is made for one of the files integrated in the virtual directory tree by a key operation in the key operation unit 11, the CPU 141 displays the virtual directory tree information 212 stored in the master HDD 21. From the read and read virtual directory tree information 212, the identification ID and actual path of the HDD 2 in which the file requested to be read is stored are acquired, and the file requested to be read based on the acquired identification ID and actual path Is accessed, the file is read and displayed on the display unit 12.
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 key operation unit 11, the CPU 141 stores the virtual directory stored in the master HDD 21. The tree information 212 is read, and from the read virtual directory tree information 212, the identification ID and real path of the HDD 2 storing the file for which the deletion / change request is made are acquired, and based on the acquired identification ID and real path, The HDD 2 in which the file for which the deletion / change request has been made is actually stored is accessed to perform deletion or change. Further, when the file is deleted / changed, the CPU 141 updates the file management information (for example, 211, 221) of the HDD 2 in which the file is actually stored and adapts to this. As described above, the virtual directory tree information 212 stored in the master HDD 21 is updated.
The CPU 141 functions as a management unit by executing the management program 143e.

上述の管理プログラム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 management program 143e described above, the files stored in the plurality of HDDs 2 are displayed in a single virtual directory tree structure.
That is, when a user accesses a file, folders that are actually distributed and stored in the plurality of HDDs 21 and 22 appear to the user to be integrated into one directory tree. Then, for example, when the user wants to read the file “file19-1110” stored in the external HDD 22, if the user makes an access request to “file19-1110” in the single virtual directory tree, the user Even if it is not recognized in which HDD 2 the actual data is stored, based on the actual path “E: /fold.a/fold.f/fold.19-1110” of the file, The file is read from the external HDD 22 that actually stores the file, and the file can be easily accessed.
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 master HDD 21, and “fold.a” in the directory tree of the external HDD 22 exists. Even if “fold.f” exists in the second hierarchy, the user is notified that “fold.f” and “fold.f” are displayed in the second hierarchy in “fold.a” of the first hierarchy of the virtual directory tree. Only two folders “d” appear to exist, and the tree structure is easy to see for the user.

接続検出プログラム143fは、例えば、CPU141に、PC1に新規のHDD2が接続されたことを検出する機能を実現させるためのプログラムである。
CPU141は、かかる接続検出プログラム143fを実行することにより、接続検出手段として機能する。
The connection detection program 143f is a program for causing the CPU 141 to realize a function of detecting that a new HDD 2 is connected to the PC 1, for example.
The CPU 141 functions as a connection detection unit by executing the connection detection program 143f.

選択プログラム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 selection program 143g detects that the new HDD 2 is connected to the CPU 141 by executing the above-described connection detection program 143f, the selection program 143g is based on the key operation in the key operation unit 11, for example. This is a program for realizing the function of allowing the user to select whether or not to integrate the directory tree into the virtual directory tree created by executing the creation program 143c.
Specifically, when the CPU 141 detects that a new HDD 2 is connected to the PC 1, the CPU 141 reads data for a new HDD setting screen stored in a predetermined area such as the memory unit 142 and the like on the display unit 12. Display on the display.
FIG. 9 is a diagram illustrating a new HDD setting screen displayed on the display of the display unit 12. As shown in FIG. 9, on the new HDD setting screen, whether or not to integrate the directory tree structure file stored in the new HDD 2 connected to the PC 1 into the virtual directory tree created by executing the creation program 143c. Let the user select
The CPU 141 functions as a selection unit by executing the selection program 143g.

判別プログラム143hは、例えば、CPU141に、前述の選択プログラム143gの実行により、新規のHDD2のディレクトリツリーを仮想ディレクトリツリーに統合すると選択された場合に、当該新規のHDD2がフォーマット済みであるか否かを判別する機能を実現させるためのプログラムである。
具体的には、前述の選択プログラム143gの実行において表示部12のディスプレイに表示される新規HDD設定画面において、ユーザが、新規のHDD2におけるディレクトリツリーを仮想ディレクトリツリーに統合すると選択した場合に、CPU141は、当該新規のHDD2がフォーマット済みであるか否かを判別し、未フォーマットの場合には、このHDD2に対して、初期化データを書き込むフォーマット処理を行う。
CPU141は、かかる判別プログラム143hを実行することにより、判別手段として機能する。
For example, when the CPU 141 selects that the directory tree of the new HDD 2 is to be integrated into the virtual directory tree by executing the selection program 143g, the determination program 143h determines whether or not the new HDD 2 has been formatted. This is a program for realizing a function for discriminating between.
Specifically, when the user selects to integrate the directory tree in the new HDD 2 into the virtual directory tree on the new HDD setting screen displayed on the display unit 12 in the execution of the selection program 143g described above, the CPU 141. Determines whether or not the new HDD 2 has been formatted. If the new HDD 2 has not been formatted, the HDD 2 is subjected to a formatting process for writing initialization data.
The CPU 141 functions as a determination unit by executing the determination program 143h.

判断プログラム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 CPU 141 determines that the new HDD 2 has been formatted by executing the determination program 143h, the determination program 143i determines the file system of the new HDD 2, and determines the new HDD 2's file system. This is a program for realizing the function of determining whether or not the file system is the same as the file system of the virtual directory tree.
Specifically, when the CPU 141 determines that the new HDD 2 has been formatted in the execution of the determination program 143h, or the CPU 141 determines that the new HDD 2 has not been formatted, the CPU 141 performs the formatting process. The file system of the new HDD 2 (for example, Windows (registered trademark) FAT (File Allocation System), NTFS (NT File System), etc.) is determined to be the same as the file system of the virtual directory tree, Determine whether it can be integrated into a virtual directory tree. If the CPU 141 determines that the file system of the new HDD 2 is different from the file system of the virtual directory tree, and if these file systems are not compatible, the CPU 141 changes the directory tree of the new HDD 2 to the virtual directory tree. Judge that it cannot be integrated into the directory tree.
The CPU 141 functions as a determination unit by executing the determination program 143i.

報知プログラム143jは、例えば、CPU141に、前述の判断プログラム143iの実行により、新規のHDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一でないと判断された場合に、新規のHDD2のディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨を報知する機能を実現させるためのプログラムである。
具体的には、新規のHDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一でなく、且つ、これらのファイルシステム同士に互換性が無く、新規HDD2のディレクトリツリーを仮想ディレクトリツリーに統合できないと判断すると、CPU141は、メモリ部142等の所定の領域に記憶された報知画面用のデータを読み出して、図10に示すように、表示部12のディスプレイに新規のHDD2のディレクトリツリーを仮想ディレクトリツリーに統合させることができない旨の報知画面を表示させ、ユーザに報知する。
CPU141は、かかる報知プログラム143jを実行することにより、報知手段として機能する。
For example, when the CPU 141 determines that the file system of the new HDD 2 is not the same as the file system of the virtual directory tree by executing the above-described determination program 143 i, the notification program 143 j displays the directory tree of the new HDD 2. This is a program for realizing a function of notifying that it is impossible to integrate the virtual directory tree.
Specifically, the file system of the new HDD 2 is not the same as the file system of the virtual directory tree, the file systems are not compatible with each other, and the directory tree of the new HDD 2 cannot be integrated into the virtual directory tree. When the determination is made, the CPU 141 reads the data for the notification screen stored in a predetermined area such as the memory unit 142, and places the new HDD 2 directory tree on the display of the display unit 12 as shown in FIG. A notification screen indicating that it cannot be integrated is displayed to notify the user.
The CPU 141 functions as a notification unit by executing the notification program 143j.

さらに、CPU141は、PC1に接続された新規のHDD2について、識別IDと、マスタHDDであるか或いは外付HDDであるかの種別情報と、仮想ディレクトリツリーに統合するか否かのメンバ登録情報と、をデータエリア1422に格納された接続情報管理テーブル1422aに記憶させる。   Further, the CPU 141 identifies, for the new HDD 2 connected to the PC 1, identification ID, type information indicating whether the HDD is a master HDD or an external HDD, and member registration information indicating whether to integrate the virtual HDD into the virtual directory tree. Are stored in the connection information management table 1422a stored in the data area 1422.

また、前述の判断プログラム143iの実行により、前述の判断プログラム143iの実行により、新規のHDD2のファイルシステムが、仮想ディレクトリツリーのファイルシステムと同一である又は互換性があるとされて、仮想ディレクトリツリーに統合可能と判断された場合には、前述した作成プログラム143cが実行されることとなる。すなわち、CPU141は、新規のHDD2からディレクトリツリー構造のファイルを管理するファイル管理情報を読み出して、読み出したファイル管理情報に基づいて、新規HDD2のディレクトリツリーをマスタHDD21に記憶されている仮想ディレクトリツリーに統合する処理を行う。   Further, the execution of the above-described determination program 143i indicates that the file system of the new HDD 2 is the same as or compatible with the file system of the virtual directory tree by executing the above-described determination program 143i. If it is determined that they can be integrated, the creation program 143c described above is executed. That is, the CPU 141 reads the file management information for managing the file of the directory tree structure from the new HDD 2, and based on the read file management information, the directory tree of the new HDD 2 is stored in the virtual directory tree stored in the master HDD 21. Perform the integration process.

次に、図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 CPU 141 determines whether or not there is an input for instructing creation of a virtual directory tree by a key operation or the like in the key operation unit 11, and determines that there is an input for instructing creation of a virtual directory tree. Then (step S1; Yes), the virtual directory tree creation process is started. In step S2, the CPU 141 detects the HDD 2 connected to the PC 1. In step S3, the virtual directory tree setting screen is displayed on the display of the display unit 12, and the virtual directory tree for each HDD 2 connected to the PC 1 is displayed. Let the user select whether to integrate with. In step S4, the CPU 141 stores, in the connection information management table 1422a, the HDD 2 ID information and type information indicating whether the HDD 2 is a master HDD or an external HDD for each HDD 2 detected as being connected to the PC 1. And member registration information indicating whether or not the HDD 2 is integrated into the virtual directory tree.

次に、ステップ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 CPU 141 reads out file management information (for example, 211, 221) as a directory tree from each of the HDDs 2 selected to be integrated into the virtual directory tree among the HDDs 2 connected to the PC 1. When the directory tree is read from each HDD 2, the CPU 141 first sets the root directory of the master HDD 21 as the root directory of the virtual directory tree in step S6. Further, in step S7, the CPU 141 sets N to 1, and in step S8, in the (N-1) th hierarchy of each directory tree read from each HDD 2, it is not the lowest hierarchy and has not been searched (or (( N-1) If the hierarchy is the root directory, the Nth hierarchy existing under one of the folders of the search incomplete) is searched.
In step S <b> 9, the CPU 141 determines whether or not a folder with the same name exists in common in a plurality of directory trees in the Nth hierarchy in the folder being searched in the (N−1) th hierarchy. If the CPU 141 determines that a folder with the same name exists in the Nth layer in the folder being searched (step S9; Yes), in step S10, the folder having the same name is set as one folder, and each folder in the Nth layer being searched is displayed. A folder in the Nth layer in the virtual directory tree. If the CPU 141 determines that there is no folder with the same name in the Nth hierarchy in the folder being searched (step S9; No), the Nth hierarchy in the folder being searched in the plurality of directory trees in step S11. Are the folders of the Nth hierarchy in the virtual directory tree.

さらに、ステップ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 CPU 141 determines whether or not there is an unsearched folder that is not the lowest layer in the Nth layer in the folder being searched. If the CPU 141 determines in step S12 that there is an unsearched folder that is not the lowest hierarchy in the N-th hierarchy being searched (step S12; Yes), the CPU 141 increments N in step S13, and proceeds to step S8. Return and repeat the above process. On the other hand, if the CPU 141 determines in step S12 that there is no unsearched folder that is not the lowest hierarchy in the Nth hierarchy in the folder being searched (step S12; No), the process proceeds to step S14.
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 CPU 141 decrements N. In step S15, the CPU 141 determines whether N = 0 (that is, the root directory). If the CPU 141 determines that N = 0 is not satisfied in step S15 (step S15; No), the CPU 141 returns to step S12 and repeats the above processing. On the other hand, if the CPU 141 determines that N = 0 is satisfied in step S15 (step S15; Yes) Assuming that the creation of the virtual directory tree is completed, the virtual path of each file is determined and the virtual directory tree information 212 is created. In step S16, the created virtual directory tree information 212 is stored in the master HDD 21. This process ends.

次に、図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 new HDD 2 is connected to the PC 1 will be described with reference to the flowchart of FIG.
First, in step S21, the CPU 141 determines whether or not a new HDD 2 is connected to the PC 1, and determines that the new HDD 2 is connected (step S21; Yes). In step S22, the key operation unit 11 by the user is displayed. Based on the key operation, it is determined whether to integrate the new HDD 2 into the virtual directory tree. If the CPU 141 determines in step S22 that the new HDD 2 is not integrated into the virtual directory tree (step S22; No), the CPU 141 proceeds to step S29, and determines that the new HDD 2 is integrated into the virtual directory tree (step S22; Yes). In subsequent step S23, it is determined whether or not the new HDD 2 has been formatted. If the CPU 141 determines in step S23 that the new HDD 2 has not been formatted (step S23; Yes), in step S24, the CPU 141 performs a format process for writing initialization data to the new HDD 2, while the new HDD 2 has been formatted. If it judges (step S23; Yes), it will progress to step S25.

ステップ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 CPU 141 determines whether the file system of the new HDD 2 is a file system that can be integrated into the virtual directory tree. If the CPU 141 determines in step S25 that the file system of the new HDD 2 is different from the file system of the virtual directory tree and cannot be compatible with the file system of the virtual directory tree, it cannot be integrated into the virtual directory tree ( In step S25; No), in step S26, the display unit 12 is notified that the directory tree of the new HDD 2 cannot be integrated into the virtual directory tree, and the process proceeds to step S29. On the other hand, in step S25, when the file system of the new HDD 2 is the same as the file system of the virtual directory tree or when the file system is compatible with the file system of the new directory tree, the CPU 141 If it is determined that the file system can be integrated into the directory tree (step S25; Yes), in step S27, it is determined whether data such as a folder / file is stored in the new HDD 2. If the CPU 141 determines in step S27 that data is stored in the new HDD 2 (step S27; Yes), the folder / file stored in the HDD 2 is stored in the master HDD 21 in step S28. The virtual directory tree 212 is updated by updating the virtual directory tree information 212, and the process proceeds to step S29.
In step S29, the CPU 141 stores in the connection information management table 1422a stored in the data area 1422 of the memory unit 142, the identification ID of the new HDD 2, the type information indicating whether it is a master HDD or an external HDD, virtual Member registration information or the like indicating whether or not the HDD 2 is integrated in the directory tree is registered, the connection information management table 1422a is updated, and this processing is terminated.

以上説明した本実施形態におけるファイル管理システム100によれば、CPU141による検出プログラム143aの実行により、PC1に接続された複数のHDD2が検出され、読出プログラム143bの実行により、検出プログラム143aの実行により検出された複数のHDD2の各々から、ディレクトリツリーが読み出され、作成プログラム143cの実行により、読出プログラム143bの実行により読み出されたディレクトリツリーにおいて、最上位階層から順に、同一階層内における同名フォルダが検索され、検索された同一階層内における同名フォルダが一つのフォルダとされ、当該フォルダ内に当該フォルダに対応付けられた下位階層のフォルダを書き込む動作が繰り返されて仮想ディレクトリツリーが作成され、記憶制御プログラム143dの実行により、作成プログラム143cの実行により作成された仮想ディレクトリツリーがマスタHDD21に記憶され、管理プログラム143eの実行により、マスタHDD21に記憶された仮想ディレクトリツリーに基づいて、複数のHDD2に記憶されたファイルへのアクセスが管理される。
したがって、複数のHDD2のディレクトリツリーにおける同一階層内に同名フォルダが存在する場合であっても、仮想ディレクトリツリーにおいて当該同名フォルダが一つのフォルダに統合されこととなるため、ユーザから見た仮想ディレクトリツリー構造が煩雑になることなく、ユーザが容易にアクセスすることができるファイル管理システム100を提供することができる。
According to the file management system 100 in the present embodiment described above, a plurality of HDDs 2 connected to the PC 1 are detected by the execution of the detection program 143a by the CPU 141, and detected by the execution of the detection program 143a by the execution of the read program 143b. A directory tree is read from each of the plurality of HDDs 2, and by executing the creation program 143 c, in the directory tree read by execution of the read program 143 b, folders with the same name in the same hierarchy are sequentially arranged from the highest hierarchy. The folder having the same name in the same hierarchy searched is made one folder, and a virtual directory tree is created and stored by repeating the operation of writing a folder in a lower hierarchy associated with the folder in the folder. By executing the control program 143d, the virtual directory tree created by executing the creation program 143c is stored in the master HDD 21, and by executing the management program 143e, the virtual directory tree is stored in the plurality of HDDs 2 based on the virtual directory tree stored in the master HDD 21. Access to stored files is managed.
Therefore, even when a folder with the same name exists in the same hierarchy in a directory tree of a plurality of HDDs 2, the folder with the same name is integrated into one folder in the virtual directory tree. A file management system 100 that can be easily accessed by a user without complicating the structure can be provided.

また、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 new HDD 2 is connected to the PC 1 by executing the connection detection program 143f by the CPU 141, and the new HDD 2 is connected by executing the connection detection program 143f by executing the selection program 143g. Is detected based on the key operation in the key operation unit 11, the user selects whether or not to merge the directory tree of the new HDD 2 into the virtual directory tree created by executing the creation program 143c, When the directory program of the new HDD 2 is selected to be integrated into the virtual directory tree by executing the selection program 143g by the execution of the determination program 143h, it is determined whether or not the new HDD 2 has been formatted. 143i fruit Thus, when it is determined that the new HDD 2 has been formatted by executing the determination program 143h, the file system of the new HDD 2 is determined, and the file system of the new HDD 2 is determined as the file system of the virtual directory tree. If the file system of the new HDD 2 is determined not to be the same as the file system of the virtual directory tree by execution of the notification program 143j and execution of the determination program 143i. It is notified that it is impossible to integrate the directory tree of HDD2 into the virtual directory tree, and execution of the judgment program 143i determines that the file system of the new HDD2 is the same as the file system of the virtual directory tree. If it is, creating program 143c is executed.
Therefore, even after the virtual directory tree is created, the new HDD 2 directory tree can be integrated into the virtual directory tree with a simple operation, and the new HDD 2 directory tree cannot be integrated into the virtual directory tree. Therefore, the user can surely grasp that fact.

なお、本発明は、上記実施の形態に限られることなく、本発明の趣旨を逸脱しない範囲において、種々の改良並びに設計の変更を行っても良い。   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 creation program 143c) for realizing the file management system 100 of the present invention may be provided on the HDD 2 side instead of the PC 1.
Further, the created virtual directory tree does not necessarily have to be stored in the master HDD 21, and may be stored in the PC 1 or another HDD 2. Further, the storage location may be selected by the user.
Further, the method for storing the virtual directory tree is not limited to the method exemplified in the above embodiment.

本実施形態におけるファイル管理システムの全体構成を示す図である。It is a figure which shows the whole structure of the file management system in this embodiment. 本実施形態におけるファイル管理システムの要部構成を例示するブロック図である。It is a block diagram which illustrates the principal part structure of the file management system in this embodiment. 接続情報管理テーブルの例示である。It is an example of a connection information management table. 表示部のディスプレイに表示される仮想ディレクトリ設定画面の例示である。It is an example of the virtual directory setting screen displayed on the display of a display part. 図5(a)は、マスタHDDに格納されているファイル管理情報を例示する図であり、図5(b)は、外付HDDに格納されているファイル管理情報を例示する図である。FIG. 5A is a diagram illustrating file management information stored in the master HDD, and FIG. 5B is a diagram illustrating file management information stored in the external HDD. 図6(a)は、マスタHDDに記憶されているファイルの階層構造を例示する図であり、図6(b)は、外付HDDに記憶されているファイルの階層構造を例示する図である。FIG. 6A is a diagram illustrating the hierarchical structure of files stored in the master HDD, and FIG. 6B is a diagram illustrating the hierarchical structure of files stored in the external HDD. . 図5(a)・図6(a)におけるマスタHDDのディレクトリツリーと、図5(b)・図6(b)における外付HDDのディレクトリツリーに基づいて、仮想ディレクトリツリー作成処理が行われた場合に作成される仮想ディレクトリツリー情報を例示する図である。Based on the directory tree of the master HDD in FIGS. 5A and 6A and the directory tree of the external HDD in FIGS. 5B and 6B, a virtual directory tree creation process has been performed. It is a figure which illustrates the virtual directory tree information produced in the case. 図5(a)・図6(a)におけるマスタHDDのディレクトリツリーと、図5(a)・図6(b)における外付HDDのファイルのディレクトリツリーに基づいて、仮想ディレクトリツリー作成処理が行われた場合に作成される仮想ディレクトリツリーの階層構造を例示する図である。Based on the directory tree of the master HDD in FIGS. 5 (a) and 6 (a) and the directory tree of the file on the external HDD in FIGS. 5 (a) and 6 (b), a virtual directory tree creation process is performed. It is a figure which illustrates the hierarchical structure of the virtual directory tree produced in the case of being broken. 表示部のディスプレイに表示される新規HDD設定画面を例示する図である。It is a figure which illustrates the new HDD setting screen displayed on the display of a display part. 表示部のディスプレイに表示される新規HDDのディレクトリツリーを仮想ディレクトリツリーに統合させることが不可能である旨の報知画面を例示する図である。It is a figure which illustrates the alerting | reporting screen to the effect that it is impossible to integrate the directory tree of the new HDD displayed on the display of a display part with a virtual directory tree. 仮想ディレクトリツリー作成処理を示すフローチャートである。It is a flowchart which shows a virtual directory tree creation process. PCに新規のHDDが接続された場合に実行される処理を示すフローチャートである。6 is a flowchart illustrating processing executed when a new HDD is connected to a PC.

符号の説明Explanation of symbols

100 ファイル管理システム
1 パーソナルコンピュータ(電子機器)
2 ハードディスクドライブ(記録媒体、記録装置)
21 マスタハードディスクドライブ
11 キー操作部
141 CPU(検出手段、読出手段、作成手段、記録制御手段、管理手段、接続検出手段、選択手段、判別手段、判断手段、報知手段)
143a 検出プログラム(検出手段)
143b 読出プログラム(読出手段)
143c 作成プログラム(作成手段)
143d 記憶制御プログラム(記録制御手段)
143e 管理プログラム(管理手段)
143f 接続検出プログラム(接続検出手段)
143g 選択プログラム(選択手段)
143h 判別プログラム(判別手段)
143i 判断プログラム(判断手段)
143j 報知プログラム(報知手段)
100 File management system 1 Personal computer (electronic equipment)
2 Hard disk drive (recording medium, recording device)
21 Master hard disk drive 11 Key operation unit 141 CPU (detection means, reading means, creation means, recording control means, management means, connection detection means, selection means, determination means, determination means, notification means)
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.
JP2007067007A 2007-03-15 2007-03-15 File management method and file management system Pending JP2008226137A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (4)

* Cited by examiner, † Cited by third party
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