JP2013206275A - File management device and program - Google Patents
File management device and program Download PDFInfo
- Publication number
- JP2013206275A JP2013206275A JP2012076244A JP2012076244A JP2013206275A JP 2013206275 A JP2013206275 A JP 2013206275A JP 2012076244 A JP2012076244 A JP 2012076244A JP 2012076244 A JP2012076244 A JP 2012076244A JP 2013206275 A JP2013206275 A JP 2013206275A
- Authority
- JP
- Japan
- Prior art keywords
- file
- tag data
- search
- tag
- folder
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、階層構造を持つフォルダ群を使用して、記憶部に格納された複数の電子ファイルデータを階層的に管理するファイル管理装置に関し、特に、短時間で、ファイル検索用データを自動的に生成するファイル管理装置に関する。また、本発明は、コンピュータによってそのファイル管理装置を実現するプログラムにも関する。 The present invention relates to a file management apparatus that hierarchically manages a plurality of electronic file data stored in a storage unit using a group of folders having a hierarchical structure, and in particular, automatically searches for file search data in a short time. The present invention relates to a file management device to be generated. The present invention also relates to a program for realizing the file management apparatus by a computer.
従来、階層構造を持つフォルダ群を使用して、記憶部に格納された複数の電子ファイルデータ(以下、単に「ファイル」と称する)を階層的に管理するファイル管理装置(又は、システム)があった。 Conventionally, there has been a file management device (or system) that hierarchically manages a plurality of electronic file data (hereinafter simply referred to as “files”) stored in a storage unit using a group of folders having a hierarchical structure. It was.
このファイル管理装置は、利用者が、各ファイルを適宜分類して、各ファイルを該当する階層のフォルダに格納する。これにより、このファイル管理装置は、フォルダ群の階層構造に基づいて、各ファイルの格納場所を管理する。 In this file management apparatus, a user classifies each file as appropriate and stores each file in a folder of the corresponding hierarchy. Thus, the file management apparatus manages the storage location of each file based on the hierarchical structure of the folder group.
このファイル管理装置は、広く普及しており、例えば、大量のファイルを格納するデータベース等で利用されている。しかしながら、初期型のファイル管理装置は、ファイルの検索性能が悪く、特に、フォルダ群全体の階層構造が大規模になり複雑化した場合に、ファイルの検索が困難になるときがあった。 This file management apparatus is widely used, and is used in, for example, a database that stores a large number of files. However, the initial-type file management apparatus has poor file search performance, and in particular, when the hierarchical structure of the entire folder group becomes large and complicated, it may be difficult to search for files.
そこで、改良型のファイル管理装置(又は、システム)として、ファイルの検索性能を向上させるために、ファイル検索用データをファイル自体に付加してファイルの格納場所を管理する技術や、ファイル検索用データとファイルとを関連付けしたテーブルデータを用いてファイルの格納場所を管理する技術等を採用した装置(又は、システム)が、提案され普及している。しかしながら、改良型のファイル管理装置は、ファイル検索用データを手動で設定する構成であったため、設定に時間を要していた。 Therefore, as an improved file management device (or system), in order to improve file search performance, a technique for managing file storage location by adding file search data to the file itself, or file search data An apparatus (or system) that employs a technique for managing a file storage location using table data that associates a file with a file has been proposed and is widely used. However, since the improved file management apparatus is configured to manually set file search data, it takes time to set.
そこで、さらに改良されたファイル管理装置(又は、システム)として、ファイル検索用データとしてメタデータを自動的に生成する装置(又は、システム)が、提案され普及している(例えば、特許文献1参照)。 Therefore, as a further improved file management apparatus (or system), an apparatus (or system) that automatically generates metadata as file search data has been proposed and is widely used (for example, see Patent Document 1). ).
このさらに改良されたファイル管理装置(以下、「従来のファイル管理装置」と称する)は、ファイルを記憶部に格納する際に、ファイルの格納場所を表す位置情報に基づいて、ファイル検索用データ(メタデータ)を自動的に生成する構成になっている。 This further improved file management apparatus (hereinafter referred to as “conventional file management apparatus”), when storing a file in the storage unit, uses file search data (based on position information indicating the storage location of the file). (Metadata) is automatically generated.
具体的には、従来のファイル管理装置は、ファイルの種類情報及びファイルの位置情報に応じて個別に作成されたファイル検索用データ(メタデータ)の生成規則に基づいて、ファイルの位置情報に含まれているデータベースフォルダ名を、対応するファイル検索用データ(メタデータ)の属性として設定する。これによって、従来のファイル管理装置は、ファイル検索用データ(メタデータ)を生成する。なお、「データベースフォルダ名」は、ファイルが格納されているフォルダの階層を最下位の階層とし、階層関係にある最上位から最下位までの各階層の全てのフォルダ名が連結された構成になっている。 Specifically, the conventional file management apparatus includes the file search information (metadata) generated separately according to the file type information and the file position information in the file position information. The specified database folder name is set as an attribute of the corresponding file search data (metadata). As a result, the conventional file management device generates file search data (metadata). Note that the “database folder name” has a structure in which the folder hierarchy in which the file is stored is the lowest hierarchy, and all folder names from the highest hierarchy to the lowest hierarchy are connected. ing.
しかしながら、従来のファイル管理装置は、以下に説明するように、フォルダ群全体の階層構造が大規模な場合に、ファイル検索用データの生成に時間を要する、という課題があった。 However, as described below, the conventional file management apparatus has a problem that it takes time to generate data for file search when the hierarchical structure of the entire folder group is large.
例えば、従来のファイル管理装置は、既に任意のフォルダに分類されているファイルを対象にして、ファイル検索用データ(メタデータ)を生成する場合に、まず、記憶部に予め格納された制御プログラムに従って、フォルダ群全体の階層構造を把握し、次に、ファイルの種類情報及びファイルの位置情報に応じて個別にファイル検索用データ(メタデータ)の生成規則を作成する。なお、このとき用いるファイルの位置情報は、ファイルの格納場所を表す情報であり、ファイル検索用データ(メタデータ)の生成対象となるファイルが分類されているフォルダの階層構造内での位置に対応している。そして、従来のファイル管理装置は、その生成規則に基づいて、ファイル検索用データ(メタデータ)を生成する。 For example, when a conventional file management apparatus generates file search data (metadata) for a file already classified in an arbitrary folder, first, according to a control program stored in advance in a storage unit Then, the hierarchical structure of the entire folder group is grasped, and then a file search data (metadata) generation rule is individually created according to the file type information and the file position information. The file location information used at this time is information indicating the storage location of the file, and corresponds to the location in the hierarchical structure of the folder into which the file for which the file search data (metadata) is generated is classified. doing. Then, the conventional file management device generates file search data (metadata) based on the generation rule.
しかしながら、従来のファイル管理装置は、フォルダ群全体の階層構造が大規模な場合に、フォルダ群全体の階層構造の把握に時間がかかるため、ファイル検索用データ(メタデータ)の生成規則の作成に時間がかかる。その結果、この場合に、従来のファイル管理装置は、ファイル検索用データの生成に時間を要していた。 However, since the conventional file management apparatus takes time to grasp the hierarchical structure of the entire folder group when the hierarchical structure of the entire folder group is large, it is necessary to create a rule for generating file search data (metadata). take time. As a result, in this case, the conventional file management apparatus takes time to generate file search data.
なお、従来のファイル管理装置は、以下に説明するように、フォルダ群全体の階層構造が大規模な場合に、ファイルの検索性能が低下し易い、という課題もあった。 As described below, the conventional file management apparatus has a problem that the file search performance is likely to deteriorate when the hierarchical structure of the entire folder group is large.
例えば、従来のファイル管理装置は、生成規則に基づいて、ファイル検索用データ(メタデータ)を生成する。その生成規則は、ファイルの種類情報及びファイルの位置情報に応じて個別に作成される。しかも、生成規則に基づいて生成されるファイル検索用データ(メタデータ)は、ファイルの位置情報に含まれているデータベースフォルダ名が、属性として、設定される。その「データベースフォルダ名」は、ファイルが格納されているフォルダの階層を最下位の階層とし、階層関係にある最上位から最下位までの各階層の全てのフォルダ名が連結された構成になっている。そのため、従来のファイル管理装置は、ファイルの種類やファイルを格納するフォルダの階層構造内での位置に応じて、生成されるファイル検索用データ(メタデータ)が変わる。その結果、従来のファイル管理装置は、フォルダ群全体の階層構造が大規模な場合に、ファイルの検索性能が低下し易かった。 For example, a conventional file management apparatus generates file search data (metadata) based on a generation rule. The generation rule is individually created according to the file type information and the file position information. Moreover, in the file search data (metadata) generated based on the generation rule, the database folder name included in the file location information is set as an attribute. The “database folder name” is configured such that the folder hierarchy in which the file is stored is the lowest hierarchy, and all folder names from the highest hierarchy to the lowest hierarchy in the hierarchical relationship are linked. Yes. Therefore, in the conventional file management apparatus, the file search data (metadata) to be generated changes according to the file type and the position in the hierarchical structure of the folder storing the file. As a result, the file search performance of the conventional file management apparatus is likely to be lowered when the hierarchical structure of the entire folder group is large.
本発明は、前記した課題を解決するためになされたものであり、短時間で、ファイル検索用データを自動的に生成するファイル管理装置、及び、コンピュータによってそのファイル管理装置を実現するプログラムを提供することを主な目的とする。 The present invention has been made to solve the above-described problems, and provides a file management apparatus that automatically generates file search data in a short time, and a program that realizes the file management apparatus by a computer The main purpose is to do.
前記目的を達成するため、第1発明は、階層構造を持つフォルダ群を使用して、記憶部に格納されたファイルを階層的に管理するファイル管理装置であって、前記記憶部から任意のファイルのファイル名、及び、前記階層構造内での当該ファイルの格納場所を表す位置情報を取得する取得部と、取得された前記ファイル名毎に、取得された前記位置情報に含まれているデータベースフォルダ名の中の、階層関係にある最上位から最下位までの各階層の全てのフォルダ名を検索用タグとして抽出し、前記ファイル名に対してそれぞれの当該検索用タグを並列に対応付けることによってタグデータを生成するタグデータ生成部とを有する構成とする。なお、ここでは、「並列に」とは、他の検索用タグと連結されておらず、他の検索用タグから独立して検索可能な状態を意味している。 In order to achieve the above object, a first invention is a file management apparatus that hierarchically manages files stored in a storage unit using a group of folders having a hierarchical structure, wherein an arbitrary file is stored in the storage unit. And a database folder included in the acquired location information for each of the acquired file names, and an acquisition unit that acquires location information indicating the storage location of the file in the hierarchical structure Tags by extracting all the folder names of each hierarchy from the highest level to the lowest level in the name as search tags and associating each search tag in parallel with the file name A tag data generation unit that generates data is provided. Here, “in parallel” means a state that is not connected to other search tags and can be searched independently from other search tags.
このファイル管理装置は、取得部が、記憶部から任意のファイルのファイル名、及び、階層構造内でのそのファイルの格納場所を表す位置情報を取得し、タグデータ生成部が、ファイル検索の際に使用されるファイル検索用データとして、タグデータを生成する。 In this file management apparatus, the acquisition unit acquires a file name of an arbitrary file from the storage unit and position information indicating the storage location of the file in the hierarchical structure, and the tag data generation unit performs the file search. Tag data is generated as file search data used in the process.
その際に、タグデータ生成部は、取得部によって取得されたファイル名毎に、取得部によって取得された位置情報に含まれているデータベースフォルダ名の中の、階層関係にある最上位から最下位までの各階層の全てのフォルダ名を検索用タグとして抽出し、ファイル名に対してそれぞれの検索用タグを並列に対応付けることによってタグデータを生成する。なお、「並列に」とは、前記した通り、他の検索用タグと連結されておらず、他の検索用タグから独立して検索可能な状態を意味している。そのため、タグデータは、ファイルの種類やフォルダ群全体の階層構造に依存しない構成になっている。 At that time, the tag data generation unit, for each file name acquired by the acquisition unit, among the database folder names included in the location information acquired by the acquisition unit, from the highest to the lowest in the hierarchical relationship All the folder names up to each level are extracted as search tags, and tag data is generated by associating each search tag with the file name in parallel. As described above, “in parallel” means a state that is not connected to other search tags and can be searched independently from other search tags. For this reason, the tag data has a configuration that does not depend on the file type or the hierarchical structure of the entire folder group.
したがって、このファイル管理装置は、ファイルの種類やフォルダ群全体の階層構造に依存することなく、ファイル検索用データとしてのタグデータを生成することができる。そのため、このファイル管理装置は、従来のファイル管理装置と異なり、フォルダ群全体の階層構造を把握する作業、及び、ファイルの種類情報及びファイルの位置情報に応じて個別にファイル検索用データの生成規則を作成する作業を行うことなく、ファイル検索用データとしてのタグデータを生成することができる。その結果、このファイル管理装置は、工数をかけずに、短時間で、ファイル検索用データとしてのタグデータを自動的に生成することができる。 Therefore, this file management apparatus can generate tag data as file search data without depending on the type of file or the hierarchical structure of the entire folder group. Therefore, this file management device differs from the conventional file management device in that it grasps the hierarchical structure of the entire folder group, and the file search data generation rules individually according to the file type information and file position information. The tag data as the file search data can be generated without performing the operation of creating the file. As a result, the file management apparatus can automatically generate tag data as file search data in a short time without man-hours.
また、第1発明では、ファイル検索用データとしてのタグデータは、ファイルの種類やフォルダ群全体の階層構造に依存しない構成になっている。そのため、このファイル管理装置は、前記したタグデータをファイル検索用データとして用いてファイル検索を行った場合に、ファイルの種類やフォルダ群全体の階層構造に依存しないファイル検索を行うことができる。その結果、このファイル管理装置は、フォルダ群全体の階層構造が大規模な場合であっても、ファイルの検索性能の低下を抑制することができる。 In the first invention, the tag data as the file search data is configured not to depend on the file type or the hierarchical structure of the entire folder group. Therefore, this file management apparatus can perform a file search that does not depend on the type of file or the hierarchical structure of the entire folder group when the file search is performed using the tag data as the file search data. As a result, the file management apparatus can suppress a decrease in file search performance even when the hierarchical structure of the entire folder group is large.
また、第2発明は、ファイルが格納された記憶部を有するコンピュータを、階層構造を持つフォルダ群を使用して、当該記憶部に格納されたファイルを階層的に管理するファイル管理装置として機能させるプログラムであって、前記コンピュータを、前記記憶部から任意のファイルのファイル名、及び、前記階層構造内での当該ファイルの格納場所を表す位置情報を取得する取得部と、取得された前記ファイル名毎に、取得された前記位置情報に含まれているデータベースフォルダ名の中の、階層関係にある最上位から最下位までの各階層の全てのフォルダ名を検索用タグとして抽出し、前記ファイル名に対してそれぞれの当該検索用タグを並列に対応付けることによってタグデータを生成するタグデータ生成部として機能させる構成とする。
このプログラムは、コンピュータによって第1発明に係るファイル管理装置を実現することができる。
The second invention causes a computer having a storage unit storing files to function as a file management device that hierarchically manages files stored in the storage unit using a group of folders having a hierarchical structure. An acquisition unit for acquiring a file name of an arbitrary file from the storage unit and position information indicating a storage location of the file in the hierarchical structure, and the acquired file name For each database folder name included in the acquired location information, all folder names in each hierarchy from the highest level to the lowest level in the hierarchical relationship are extracted as search tags, and the file name The tag is configured to function as a tag data generation unit that generates tag data by associating each search tag in parallel.
This program can realize the file management apparatus according to the first invention by a computer.
本発明によれば、短時間で、ファイル検索用データを自動的に生成することができる。 According to the present invention, file search data can be automatically generated in a short time.
以下、図面を参照して、本発明の実施の形態(以下、「本実施形態」と称する)につき詳細に説明する。なお、各図は、本発明を十分に理解できる程度に、概略的に示してあるに過ぎない。よって、本発明は、図示例のみに限定されるものではない。また、各図において、共通する構成要素や同様な構成要素については、同一の符号を付し、それらの重複する説明を省略する。 Hereinafter, an embodiment of the present invention (hereinafter referred to as “the present embodiment”) will be described in detail with reference to the drawings. Each figure is only schematically shown so that the present invention can be fully understood. Therefore, the present invention is not limited to the illustrated example. Moreover, in each figure, the same code | symbol is attached | subjected about the common component and the same component, and those overlapping description is abbreviate | omitted.
[実施形態1]
<ファイル管理装置の構成>
以下、図1を参照して、本実施形態1に係るファイル管理装置の構成につき説明する。図1は、実施形態1に係るファイル管理装置の構成を示す図である。
[Embodiment 1]
<Configuration of file management device>
Hereinafter, the configuration of the file management apparatus according to the first embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating a configuration of a file management apparatus according to the first embodiment.
本実施形態1に係るファイル管理装置1は、階層構造を持つフォルダ群を使用して、記憶部40(具体的には、後記するファイル記憶部42)に格納された複数の電子ファイルデータを階層的に管理する装置である。以下、電子ファイルデータを単に「ファイル」と称する。また、記憶部40に格納されたファイルを「格納ファイル」と称する。
The file management apparatus 1 according to the first embodiment uses a folder group having a hierarchical structure to hierarchically store a plurality of electronic file data stored in the storage unit 40 (specifically, a
ファイル管理装置1は、タグデータ(例えば、図5に示すタグデータ200や図6に示すタグデータ200A等)を生成する機能が、制御部10に付与されている。「タグデータ」は、所望のファイルを検索するときに用いられるファイル検索用データである。「タグデータ」の詳細については、後記する。
The file management apparatus 1 has a function for generating tag data (for example,
生成されたタグデータは、タグテーブル(例えば、図5に示すタグテーブル1000や図6に示すタグテーブル1000A等)に登録される。以下、生成されたタグデータとタグテーブルに登録されたタグデータとを区別する場合に、生成されたタグデータを「生成タグデータ」と称し、タグテーブルに登録されたタグデータを「登録タグデータ」と称する。また、ここでは、タグデータが図5に示すタグデータ200として構成されており、タグテーブルが図5に示すタグテーブル1000として構成されている場合を想定して説明する。なお、登録タグデータは、図5に示すタグテーブル1000に登録されたタグデータ200を意味している。タグデータ200は、例えば、図6に示すタグデータ200Aのように、変形することができる。
The generated tag data is registered in a tag table (for example, the tag table 1000 shown in FIG. 5 or the tag table 1000A shown in FIG. 6). Hereinafter, when distinguishing the generated tag data from the tag data registered in the tag table, the generated tag data is referred to as “generated tag data”, and the tag data registered in the tag table is referred to as “registered tag data”. ". Further, here, description will be made assuming that the tag data is configured as the
本実施形態1では、ファイル管理装置1がパーソナルコンピュータ(PC)やワークステーション(WS)等の単一のコンピュータによって構成される場合を想定して説明する。ただし、ファイル管理装置1は、後記するタグデータ登録部20を備える第1のコンピュータと後記するファイル検索部30を備える第2のコンピュータとに分割されることにより、ファイル管理システムとして構成することも可能である。この場合に、第1のコンピュータと第2のコンピュータとは、例えば、LAN等の通信回線によって通信可能に接続された構成となる。 In the first embodiment, the case where the file management apparatus 1 is configured by a single computer such as a personal computer (PC) or a workstation (WS) will be described. However, the file management apparatus 1 may be configured as a file management system by being divided into a first computer having a tag data registration unit 20 to be described later and a second computer having a file search unit 30 to be described later. Is possible. In this case, the first computer and the second computer are configured to be communicably connected via a communication line such as a LAN.
図1に示すように、ファイル管理装置1は、制御部10、記憶部40、入力部51、出力部52、及び、通信部53を備えている。
制御部10は、ファイル管理装置1の動作を制御する構成要素である。制御部10は、CPUが記憶部40に予め格納された制御プログラム2を実行することにより実現される。制御部10では、オペレーティングシステム(以下、「OS」と称する)が動作している。OSは、ファイル管理装置1の全体の動作を管理し、種々のアプリケーションプログラムに共通する利用環境を提供するための基本的なプログラムである。
As illustrated in FIG. 1, the file management apparatus 1 includes a control unit 10, a storage unit 40, an
The control unit 10 is a component that controls the operation of the file management apparatus 1. The control unit 10 is realized by the CPU executing the
記憶部40は、各種のプログラムやデータを記憶する構成要素である。記憶部40は、RAMやROM、HDD等によって構成されている。RAMは、OS上での各種のアプリケーションプログラムの実行に必要なデータ等が一時的に記憶される。ROMは、HDDに記憶されたOSや各種のアプリケーションプログラムを起動させるための起動プログラムが格納されている。HDDは、OSや各種のアプリケーションプログラム、データ等を記憶する。なお、HDDは、ファイル管理装置1の外部に増設して設けることができる。また、ファイル管理装置1は、記憶手段として、HDDに加えて、光ディスク装置等の記憶装置を用いることができる。 The storage unit 40 is a component that stores various programs and data. The storage unit 40 includes a RAM, a ROM, an HDD, and the like. The RAM temporarily stores data and the like necessary for executing various application programs on the OS. The ROM stores an activation program for activating the OS and various application programs stored in the HDD. The HDD stores an OS, various application programs, data, and the like. The HDD can be additionally provided outside the file management apparatus 1. In addition to the HDD, the file management apparatus 1 can use a storage device such as an optical disk device as a storage unit.
入力部51は、キーボードやマウス等の、ファイル管理装置1に対してデータの入力を行う構成要素である。
出力部52は、ディスプレイやプリンタ等の、データを出力する構成要素である。
通信部53は、他の装置との通信を行う構成要素である。
The
The
The
制御部10としてのCPUは、後記するプログラム記憶部41に予め格納された制御プログラム2を実行することにより、ファイル取得部21、位置情報取得部22、タグデータ生成部23、タグデータ確認部24、入出力管理部31、及び、タグデータ検索部32として機能する。
The CPU as the control unit 10 executes the
ファイル取得部21は、後記する階層情報記憶部44から任意のファイルのファイル名を取得する機能手段である。ファイル取得部21は、後記する階層情報記憶部44に格納された階層情報に基づいて、階層構造内での取得対象となる系統のフォルダ群100(図2参照)に含まれている全てのファイル151(図2参照)のファイル名を検索して取得する。例えば、ファイル取得部21は、「DIR /S」コマンドや「TREE /F」コマンド等を用いることによって、全てのフォルダ名を検索することができる。以下、ファイル取得部21によって取得されたファイル名を「取得ファイル名」と称する。なお、図2は、実施形態1で用いるフォルダ群の階層構造の一例を示す図である。「階層情報」は、本実施形態1で用いるフォルダ群100の階層構造を表す情報である。フォルダ群100の階層構造については、後記する。
The
位置情報取得部22は、ファイル取得部21によって取得される取得ファイル名に基づいて、取得ファイル名に対応付けられた位置情報を取得する機能手段である。「位置情報」は、階層構造内でのファイル151(図2参照)の格納場所を表す情報である。「位置情報」は、データベースフォルダ名を含む構成になっている。その「データベースフォルダ名」は、ファイル151が格納されているフォルダ101(図2参照)の階層を最下位の階層とし、階層関係にある最上位(ルートディレクトリ)から最下位までの各階層の全てのフォルダ名が連結された構成になっている。
The location
なお、特許請求の範囲に記載された「取得部」とは、ファイル取得部21及び位置情報取得部22の総称である。ファイル取得部21及び位置情報取得部22からなる「取得部」は、記憶部40(例えば、後記する階層情報記憶部44)から任意のファイル151のファイル名、及び、階層構造内でのそのファイル151の格納場所を表す位置情報を取得する。
The “acquisition unit” described in the claims is a general term for the
タグデータ生成部23は、位置情報取得部22によって取得される位置情報に基づいて、ファイル検索用データとして、タグデータ200(図5参照)を生成する機能手段である。タグデータ生成部23は、取得ファイル名(ファイル名201(図5参照))毎に、取得された位置情報に含まれているデータベースフォルダ名の中の、階層関係にある最上位(ルートディレクトリ)から最下位までの各階層の全てのフォルダ名を検索用タグ203(図5参照)として抽出し、取得ファイル名に対してそれぞれの検索用タグ203を並列に対応付けることによって、タグデータ200を生成する。なお、ここでは、「並列に」とは、他の検索用タグ203と連結されておらず、他の検索用タグ203から独立して検索可能な状態を意味している。
The tag
タグデータ確認部24は、タグデータ生成部23によって生成されたタグデータ200と同一のタグデータ200がタグテーブル1000(図5参照)に登録されているか否かを確認する(すなわち、生成タグデータと同一の登録タグデータがタグテーブル1000に登録されているか否かを確認する)機能手段である。タグデータ確認部24は、生成タグデータと同一の登録タグデータがタグテーブル1000に登録されていない場合に、生成タグデータを登録タグデータとしてタグテーブル1000に登録する。
The tag
なお、ファイル取得部21、位置情報取得部22、タグデータ生成部23、及び、タグデータ確認部24は、タグデータ登録部20を構成している。タグデータ登録部20は、ファイル検索用データとしてのタグデータ200を生成してタグテーブル1000に登録する機能手段である。
The
入出力管理部31は、入力部51、出力部52、及び、通信部53を制御する機能手段である。
タグデータ検索部32は、入出力管理部31からファイル151(図2参照)の検索要求を受けた場合に、タグテーブル1000の中から、検索すべきファイル(以下、「検索対象ファイル」と称する)に対応付けられた検索用タグ203(図5参照)を含むタグデータ200を検索する機能手段である。
The input /
When the tag
入出力管理部31及びタグデータ検索部32は、ファイル検索部30を構成している。ファイル検索部30は、利用者によって任意の階層のフォルダ名を指定する検索が指示された場合に、タグテーブル1000(図5参照)の中から、指定されたフォルダ名が検索用タグ(図5参照)として対応付けられたタグデータ200(図5参照)を検索することによって、指定されたフォルダ名のフォルダ以下の各階層のフォルダに格納されているファイル151を検索対象ファイルとして検索する機能手段である。
The input /
具体的には、ファイル管理装置1のファイル検索部30は、利用者によって入力部51から任意の階層のフォルダ名を指定する検索が指示された場合に、入出力管理部31が、指定されたフォルダ名(以下、「指定フォルダ名」と称する)に基づく検索要求をタグデータ検索部32に出力する。
Specifically, the file search unit 30 of the file management apparatus 1 is designated by the input /
これに応答して、タグデータ検索部32は、指定フォルダ名が検索用タグ203(図5参照)として対応付けられたファイル151を検索対象ファイルとし、タグテーブル1000の中から、検索対象ファイルに対応付けられた検索用タグ203を含むタグデータ200を検索する。
In response to this, the tag
その検索用タグ203は、データベースフォルダ名の中から抽出された一部の情報によって構成されている。そのため、ファイル検索部30のタグデータ検索部32は、検索用タグ203としてデータベースフォルダ名から抽出された一部の情報のみを対象にして、検索対象ファイルを検索する。このような、ファイル検索部30のタグデータ検索部32は、検索用タグ203として抽出された一部の情報のみを対象にして検索対象ファイルを検索するため、データベースフォルダ名を対象にして検索対象ファイルを検索するよりも早く検索対象ファイルを検索することができる。
The
なお、タグデータ200は、検索用タグ203とともに、ファイル名を表すファイル名情報(以下、単に「ファイル名」と称する場合がある)201をも含んでいる。したがって、タグデータ検索部32は、検索対象ファイルに対応付けられた検索用タグ203を含むタグデータ200を検索することにより、同時に、検索対象ファイルのファイル名を検索するができる。
The
タグデータ検索部32は、検索対象ファイルに対応付けられた検索用タグ203を含むタグデータ200を検索すると、この検索により発見された検索対象ファイルのタグデータ200を検索結果として入出力管理部31に出力する。入出力管理部31は、その検索結果を、出力部52としての図示せぬディスプレイに表示させる。
When the tag
なお、ファイル検索部30は、例えば、利用者が入力部51を操作して所定のファイル151の読み出しが指示された場合に、入出力管理部31が、後記するファイル記憶部42から、そのファイル151を読み出して、出力部52としての図示せぬディスプレイに表示させることもできる。また、ファイル管理装置1は、通信部53を介して、読み出されたファイル151を外部の装置に送信することもできる。
For example, when the user operates the
記憶部40は、プログラム記憶部41、ファイル記憶部42、タグデータ記憶部43、及び、階層情報記憶部44を備えている。
プログラム記憶部41は、制御プログラム2が予め格納される記憶領域である。
ファイル記憶部42は、階層的に管理されるファイル151(図2参照)が格納される記憶領域である。
The storage unit 40 includes a
The
The
タグデータ記憶部43は、タグテーブル1000(図5参照)が格納される記憶領域である。
階層情報記憶部44は、フォルダ群100(図2参照)の階層構造を表す階層情報が格納される記憶領域である。階層情報記憶部44は、階層情報に加え、階層構造内での、タグデータ200の生成対象となるファイル151(図2参照)の位置情報も格納される。ファイル151の位置情報は、タグデータ登録部20がタグデータ200の生成作業を開始する前に、利用者によって設定される。
The tag
The hierarchical
なお、ファイル管理装置1は、サーバとして構成される場合に、キーボードやマウス等の入力部51及びディスプレイやプリンタ等の出力部52が排除された構成となる。
また、ファイル管理装置1は、サーバとして構成される場合に、LAN等の通信回線を介して、通信部53によって外部の装置との間でデータを送受信する構成となる。この場合に、ファイル管理装置1は、例えば、ファイル操作を指示する画像を外部の装置に送信し、外部の装置からその応答としての指示を受信することが可能になる。
When the file management apparatus 1 is configured as a server, the
When the file management device 1 is configured as a server, the
<フォルダ群の階層構造の構成>
ファイル管理装置1は、前記した通り、階層構造を持つフォルダ群100(図2参照)を使用して、記憶部40に格納された複数のファイル151(図2参照)を階層的に管理する。
<Structure of folder group hierarchy>
As described above, the file management apparatus 1 hierarchically manages a plurality of files 151 (see FIG. 2) stored in the storage unit 40 using the folder group 100 (see FIG. 2) having a hierarchical structure.
図2は、前記した通り、実施形態1で用いる階層構造ファイル群の一例を示す図である。図2は、複数のフォルダ101によって構成されるフォルダ群100の階層構造を示している。
FIG. 2 is a diagram illustrating an example of a hierarchical structure file group used in the first embodiment as described above. FIG. 2 shows a hierarchical structure of a
フォルダ101は、自身の内部に別のフォルダ101を複数持つことができる。フォルダ101は、自身の内部に別のフォルダ101を持つことにより、階層構造を持つフォルダ群100を形成する。
The folder 101 can have a plurality of different folders 101 within itself. The folder 101 has another folder 101 inside itself, thereby forming a
例えば、図2に示す例では、フォルダ群100は、最上位の階層のフォルダ101として、種別が「文書」となっている種別フォルダ101aと、種別が「資料」となっている種別フォルダ101aとを含む構成となっている。
For example, in the example illustrated in FIG. 2, the
種別が「文書」となっている種別フォルダ101aは、その下に、年次が「2008」となっている年次フォルダ101bと、年次が「2009」となっている年次フォルダ101bと、年次が「2010」となっている年次フォルダ101bとを持っている。さらに、それぞれの年次フォルダ101bは、その下に、業務種類が「業務A」、「業務B」、及び、「業務C」等となっている1乃至複数の業務フォルダ101cを持っている。
A type folder 101a whose type is “document” includes an
また、種別が「資料」となっている種別フォルダ101aは、その下に、業務種類が「業務A」となっている業務フォルダ101cを持っている。 Further, the type folder 101a whose type is “material” has a business folder 101c under which the type of business is “business A”.
そして、種別が「文書」で、年次が「2008」で、かつ、業務種類が「業務A」となっているフォルダ101には、ファイル名が「ファイル1」となっているファイル151aが格納されている。すなわち、ファイル名を「ファイル1」とするファイル151aは、種別を「文書」とし、年次を「2008」とし、かつ、業務種類を「業務A」とするフォルダ101に格納されている。なお、ファイル151aの相対位置情報は、「¥文書¥2008¥業務A¥ファイル1」という構成になる。
Then, the
また、種別が「文書」で、年次が「2008」で、かつ、業務種類が「業務B」となっているフォルダ101には、ファイル名が「ファイル2」となっているファイル151bが格納されている。すなわち、ファイル名を「ファイル2」とするファイル151bは、種別を「文書」とし、年次を「2008」とし、かつ、業務種類を「業務B」とするフォルダ101に格納されている。なお、ファイル151bの相対位置情報は、「¥文書¥2008¥業務B¥ファイル2」という構成になる。
In addition, a
また、種別が「文書」で、年次が「2009」で、かつ、業務種類が「業務A」となっているフォルダ101には、ファイル名が「ファイル3」となっているファイル151cが格納されている。すなわち、ファイル名を「ファイル3」とするファイル151cは、種別を「文書」とし、年次を「2009」とし、かつ、業務種類を「業務A」とするフォルダ101に格納されている。なお、ファイル151cの相対位置情報は、「¥文書¥2009¥業務A¥ファイル3」という構成になる。
In addition, a
また、種別が「資料」で、かつ、業務種類が「業務A」となっているフォルダ101には、ファイル名が「ファイル4」となっているファイル151dが格納されている。すなわち、ファイル名を「ファイル4」とするファイル151dは、種別を「資料」とし、かつ、業務種類を「業務A」とするフォルダ101に格納されている。なお、ファイル151dの相対位置情報は、「¥資料¥業務A¥ファイル4」という構成になる。
In addition, in the folder 101 whose type is “material” and whose business type is “business A”, a
<ファイル管理装置の動作>
以下、図3及び図4を参照して、ファイル管理装置1の動作につき説明する。なお、ここでは、フォルダ群100の階層構造が図2に示す構成になっている場合を想定して説明する。
<Operation of file management device>
Hereinafter, the operation of the file management apparatus 1 will be described with reference to FIGS. 3 and 4. Here, description will be made assuming that the hierarchical structure of the
図3及び図4は、実施形態1に係るファイル管理装置1の動作を示すフローチャートである。ファイル管理装置1の動作は、主に、タグデータ生成時の動作と、ファイル検索時の動作とに分類される。図3は、タグデータ生成時のファイル管理装置1の動作を示しており、図4は、ファイル検索時のファイル管理装置1の動作を示している。 3 and 4 are flowcharts showing the operation of the file management apparatus 1 according to the first embodiment. The operations of the file management apparatus 1 are mainly classified into operations at the time of tag data generation and operations at the time of file search. FIG. 3 shows the operation of the file management apparatus 1 when generating tag data, and FIG. 4 shows the operation of the file management apparatus 1 when searching for files.
なお、ファイル管理装置1は、図示せぬタイマによって計測された時間に基づいて動作する。また、ファイル管理装置1の動作は、記憶部40のプログラム記憶部41に読み出し自在に予め格納された制御プログラム2によって規定されており、制御部10によって実行される。また、各データは、記憶部40に読み出し自在に一旦格納されてから、その後の処理を行う所要の構成要素に出力される。以下、これらの点については、情報処理では常套手段であるので、その詳細な説明を省略する。
Note that the file management apparatus 1 operates based on the time measured by a timer (not shown). The operation of the file management apparatus 1 is defined by the
(タグデータ生成時の動作)
ファイル管理装置1は、タグデータ200(生成タグデータ)の生成に際して、事前に、フォルダ群100の階層構造を表す階層情報を階層情報記憶部44に登録する。
(Operation when tag data is generated)
When generating the tag data 200 (generated tag data), the file management apparatus 1 registers hierarchical information representing the hierarchical structure of the
階層情報の登録は、例えば、以下のようにして行われる。例えば、利用者は、ファイル管理装置1に、任意のアプリケーションプログラムを実行させる。これにより、その実行結果としてのファイル151が生成される。利用者は、生成されたファイル151が所定のフォルダ101の中に格納された状態になるように、ファイル管理装置1の入力部51を操作して、生成されたファイル151をファイル記憶部42(図1参照)に格納する。
The registration of the hierarchy information is performed as follows, for example. For example, the user causes the file management apparatus 1 to execute an arbitrary application program. Thereby, the
このとき、ファイル管理装置1は、フォルダ群100全体の階層構造を特定し、その階層構造を表す階層情報を階層情報記憶部44に登録する。また、このとき、ファイル管理装置1は、ファイル151が格納されたフォルダ101の階層構造内での位置(すなわち、ファイル151の格納場所)を特定し、そのフォルダ101の位置を表す位置情報(相対位置情報)をそのフォルダ101に対応付けて階層情報記憶部44に登録する。
At this time, the file management apparatus 1 identifies the hierarchical structure of the
この後、ファイル管理装置1は、予め定められたタイミングで、タグデータ200の生成作業を開始する。なお、ここでは、種別が「文書」となっている種別フォルダ101a(図2参照)以下の各階層のフォルダ101を対象にしてタグデータ200の生成作業を行う場合を想定して説明する。以下、種別が「文書」となっている種別フォルダ101aを「『文書』フォルダ」と称する。
Thereafter, the file management apparatus 1 starts the generation operation of the
図3に示すように、ファイル管理装置1は、まず、ファイル取得部21が、タグデータ200の生成対象を特定するために、階層情報記憶部44に登録された階層情報からタグデータ200の生成作業の起点となるフォルダ(以下、「起点フォルダ」と称する)の階層構造内での位置を特定し、次に、起点フォルダをカレントフォルダとし、フォルダ群100の中から、カレントフォルダである起点フォルダ以下の各階層のフォルダ(すなわち、起点フォルダ及び起点フォルダよりも下の階層のフォルダ)101の中に格納されている各ファイル151のファイル名を検索する(S110)。なお、「カレントフォルダ」とは、ファイル操作等を行う場合に対象として使用するフォルダを意味している。
As shown in FIG. 3, in the file management apparatus 1, first, the
例えば、本実施形態1では、ファイル取得部21は、まず、階層情報に基づいて、起点フォルダの階層として、「文書」フォルダの階層を特定し、次に、起点フォルダとしての「文書」フォルダ以下の各階層のフォルダ(すなわち、「文書」フォルダ及び「文書」フォルダよりも下の階層のフォルダ)101を対象にして、それらのフォルダ101の中に格納されている各ファイル151のファイル名を検索する。
For example, in the first embodiment, the
その結果、本実施形態1では、ファイル取得部21は、3つのファイル151a,151b,151c(図2参照)のファイル名(ここでは、「ファイル1」、「ファイル2」、及び、「ファイル3」)を取得する。ファイル管理装置1のタグデータ登録部20は、このとき取得されたファイル名の各ファイル151a,151b,151cを対象にして、タグデータ200の生成作業を行う。
As a result, in the first embodiment, the
なお、ここでは、「文書」フォルダを対象にしてタグデータ200の生成作業を行う場合を想定している。そのため、このとき、「文書」以外の種別のフォルダ(ここでは、種別が「資料」となっているフォルダ)は、タグデータ200の生成対象から外れる。以下、種別が「資料」となっているフォルダを「『資料』フォルダ」と称する。したがって、このとき、「資料」フォルダ以下の各階層のフォルダ101の中に格納されているファイル151(図2に示す例では、ファイル名が「ファイル4」となっているファイル151d)は、タグデータ200の生成対象から外れる。その結果、ファイル管理装置1は、ファイル151dのファイル名(ここでは、「ファイル4」)を取得せず、また、ファイル151dのタグデータ200を生成しない。
Here, it is assumed that the
このように、ファイル管理装置1は、運用次第で、フォルダ群100の中に格納されている全てのファイル151をタグデータ200の生成対象にするのではなく、タグデータ200の生成が必要なフォルダ(本実施形態1では、「文書」フォルダ)の中に格納されているファイル151(本実施形態1では、ファイル151a,151b,151c)に対してのみ、タグデータ200の生成作業を行うようにすることができる。
As described above, the file management apparatus 1 does not set all the
この場合に、ファイル管理装置1は、タグデータ200の生成が不要なフォルダ(本実施形態1では、「資料」フォルダ)の中に格納されているファイル151(本実施形態1では、ファイル151d)に対して、タグデータ200の生成作業を省略することができる。
In this case, the file management apparatus 1 stores the file 151 (
その結果、この場合に、ファイル管理装置1は、タグデータ200の生成時間の短縮、及び、生成されるタグデータ200の簡素化を図ることができる。また、ファイル管理装置1は、生成されるタグデータ200が簡素化されるため、ファイル検索時に、検索時間の短縮を図ることもできる。
As a result, in this case, the file management apparatus 1 can shorten the generation time of the
なお、本実施形態1では、種別が「文書」となっている種別フォルダ101a(図2参照)以下の各階層のフォルダ101を対象にしてタグデータ200の生成作業を行う場合を想定している。そのため、ファイル管理装置1は、ファイル取得部21が、フォルダ群100全体の中で、最上位の階層に配置された「文書」フォルダを起点フォルダとし、「文書」フォルダ以下の各階層のフォルダ101を対象にして、それらのフォルダ101の中に格納されている各ファイル151のファイル名を検索する。このとき、ファイル取得部21は、「ファイル1」、「ファイル2」、及び、「ファイル3」のファイル名を取得する。この後、タグデータ登録部20が、このとき取得されたファイル名の各ファイル151a,151b,151cを対象にして、タグデータ200の生成作業を行う。
In the first embodiment, it is assumed that the generation work of the
しかしながら、タグデータ200の生成作業は、他のフォルダ101を対象にして行うことができる。例えば、タグデータ200の生成作業は、図2に示すフォルダ群100全体の中で、階層関係にある中間の階層や最下位の階層に配置されたフォルダ101を対象にして行うことができる。
However, the generation operation of the
具体的には、ファイル管理装置1は、図2に示すフォルダ群100全体の中で、年次が「2008」となっている年次フォルダ101b(以下、「『2008』フォルダ」と称する)を対象にしてタグデータ200の生成作業を行うことができる。この場合に、ファイル管理装置1は、ファイル取得部21が、フォルダ群100全体の中で、中間の階層に配置された「2008」フォルダを起点フォルダとし、「2008」フォルダ以下の各階層のフォルダ(すなわち、「2008」フォルダ及び「2008」フォルダよりも下の階層のフォルダ)101を対象にして、それらのフォルダ101の中に格納されている各ファイル151のファイル名を検索する。このとき、ファイル取得部21は、「ファイル1」、及び、「ファイル2」のファイル名を取得する。この後、タグデータ登録部20が、このとき取得されたファイル名の各ファイル151a,151bを対象にして、タグデータ200の生成作業を行う。
Specifically, the file management apparatus 1 includes an
S110の後、ファイル取得部21は、S110で検索された1乃至複数のファイル名の中から1つのファイル名を選択し、ファイル記憶部42から、選択されたファイル名のファイル151を取得ファイルとして取得する(読み出す)(S115)。
After S110, the
S115の後、ファイル管理装置1は、位置情報取得部22が、ファイル取得部21によって取得された取得ファイルに基づいて、階層情報記憶部44から取得ファイルに対応付けられた位置情報を取得する(S120)。
After S115, in the file management apparatus 1, the location
「位置情報」は、ファイル151が格納されているフォルダ101の階層を最下位の階層とし、階層関係にある最上位から最下位までの各階層の全てのフォルダ名が連結されたデータベースフォルダ名を含む構成になっている。すなわち、「位置情報」は、ファイル151に対して階層関係にある全てのフォルダ101のフォルダ名とそのファイル151のファイル名とが1行に連結された文字列情報を含む構成になっている。例えば、図2に示す例では、ファイル名が「ファイル1」となっているファイル151aの「相対位置情報」は、「¥文書¥2008¥業務A¥ファイル1」という構成になる。ファイル管理装置1は、S120で、その相対位置情報を取得する。
The “location information” is a database folder name in which the hierarchy of the folder 101 in which the
S120の後、タグデータ生成部23は、位置情報取得部22によって取得された相対位置情報に基づいて、タグデータ200の生成作業を行う(S125)。このとき、タグデータ生成部23は、取得ファイル名毎に、取得された相対位置情報に含まれているデータベースフォルダ名の中の、階層関係にある最上位から最下位までの各階層の全てのフォルダ名を検索用タグ203として抽出し、取得ファイル名に対してそれぞれの検索用タグ203を並列に対応付けることによって、タグデータ200を生成する。
After S120, the tag
図5は、本実施形態1で用いるタグデータの一例を示す図である。図5は、複数のタグデータ200が、タグテーブル1000に登録された状態を示している。図5に示す例では、タグデータ200は、ファイル名情報(ファイル名)201、位置情報(ファイル格納場所)203、及び、検索用タグ203という3つの独立した情報を有する構成となっている。また、図5に示すタグデータ200a,200b,200c,200dは、それぞれ、図2に示すファイル151a,151b,151c,151dに対応している。
FIG. 5 is a diagram illustrating an example of tag data used in the first embodiment. FIG. 5 shows a state in which a plurality of
タグデータ生成部23は、ファイル取得部21によって取得された取得ファイル名をファイル名201に設定する。
また、タグデータ生成部23は、位置情報取得部22によって取得された相対位置情報を位置情報202に設定する。
また、タグデータ生成部23は、相対位置情報に含まれているデータベースフォルダ名の中の、階層関係にある最上位から最下位までの各階層の全てのフォルダ名(すなわち、ファイル151に対して階層関係にある全てのフォルダ101のフォルダ名)を検索用タグ203に設定する。
The tag
Further, the tag
Further, the tag
具体的には、図2及び図5に示す例では、タグデータ生成部23は、ファイル名が「ファイル1」となっているファイル151aに対して、「ファイル1」という情報をファイル名201に設定し、「¥文書¥2008¥業務A¥ファイル1」という相対位置情報を位置情報202に設定し、「“文書”“2008”“業務A”」という情報を検索用タグ203に設定することによって、タグデータ200aを生成する。ただし、タグデータ生成部23は、運用次第では、前記した「起点フォルダ」以下のフォルダ151の相対位置情報のみを位置情報202に設定することが可能である。
Specifically, in the example illustrated in FIG. 2 and FIG. 5, the tag
なお、図5に示す例では、タグデータ200は、複数のフォルダ名を検索用タグ203に設定する場合に、複数のフォルダ名を1つの項目内に並列に羅列する構成となっている。しかしながら、タグデータ200は、例えば、図6に示すように、これ以外の形式に変更することができる。図6は、実施形態1で用いるタグデータの他の例を示す図である。
In the example illustrated in FIG. 5, the
図6に示すタグデータ200Aは、図5に示すタグデータ200と比較すると、検索用タグ203を検索用タグ203Aに変更している点で相違している。その検索用タグ203Aは、「検索用タグ1」、「検索用タグ2」、及び、「検索用タグ3」という、それぞれが独立した複数の項目を含む構成となっている。これらの項目は、それぞれに、1つのフォルダ名が設定される。図6に示すタグデータ200Aの内容は、図5に示すタグデータ200の内容と同じである。
The
なお、図5に示すタグデータ200の内容及び図6に示すタグデータ200Aの内容は、タグテーブル1000へのタグデータ200,200Aの登録時の扱い及び登録されたタグデータ200,200Aの運用時の扱いに影響されて変化する。
The contents of the
S125の後、ファイル管理装置1は、タグデータ確認部24が、タグデータ記憶部43に格納されているタグテーブル1000を参照して、タグテーブル1000に登録されているタグデータ200(登録タグデータ)を確認し(S130)、タグデータ生成部23によって生成されたタグデータ200(生成タグデータ)と同一の登録タグデータがタグテーブル1000に登録されているか否かを判定する(S135)。なお、「生成タグデータと同一の登録タグデータ」とは、ファイル名が生成タグデータと同一で、かつ、ファイル151を格納するフォルダ101のフォルダ群100内での位置が生成タグデータと同一であることを意味している。
After S125, in the file management apparatus 1, the tag
S135の判定で、生成タグデータと同一の登録タグデータがタグテーブル1000に登録されていると判定された場合(“Yes”の場合)に、処理は、S145に進む。この場合に、タグデータ生成部23は、生成タグデータをタグテーブル1000に登録しない。
If it is determined in S135 that the same registered tag data as the generated tag data is registered in the tag table 1000 (in the case of “Yes”), the process proceeds to S145. In this case, the tag
一方、S135の判定で、生成タグデータと同一の登録タグデータがタグテーブル1000に登録されていないと判定された場合(“No”の場合)に、タグデータ200がタグテーブル1000に登録されていないため、タグデータ生成部23によって生成された生成タグデータをタグテーブル1000に登録する(S140)。
On the other hand, if it is determined in S135 that the same registered tag data as the generated tag data is not registered in the tag table 1000 (in the case of “No”), the
S135の判定で、生成タグデータと同一の登録タグデータがタグテーブル1000に登録されていると判定された場合(“Yes”の場合)、又は、S140の後に、ファイル取得部21が、S110で検索された複数のファイル名の中に、まだタグデータ200が生成されていないファイル151が存在するか否かを判定する(S145)。
If it is determined in S135 that the same registered tag data as the generated tag data is registered in the tag table 1000 (in the case of “Yes”), or after S140, the
S145の判定で、まだタグデータ200が生成されていないファイル151が存在すると判定された場合(“Yes”の場合)に、処理は、S115に戻る。その結果、ファイル管理装置1は、S115〜S145の処理を繰り返し行う。
If it is determined in S145 that there is a
一方、S145の判定で、まだタグデータ200が生成されていないファイル151が存在しないと判定された場合(“No”の場合)に、検索された全てのファイル151に対してタグデータ200が生成されたため、ファイル管理装置1は、タグデータ200の生成作業を終了する。
On the other hand, if it is determined in S145 that there is no
(ファイル検索時の動作)
本実施形態1では、利用者が任意の階層のフォルダ名を指定する検索をファイル管理装置1に指示することにより、ファイル管理装置1がファイル検索作業を開始するものとして説明する。
(Operation when searching for files)
In the first embodiment, it is assumed that the file management apparatus 1 starts a file search operation by instructing the file management apparatus 1 to perform a search for designating a folder name of an arbitrary hierarchy.
利用者は、入力部51を操作して、例えば、図7に示す検索画面600の表示指示をファイル管理装置1に入力する。これに応答して、ファイル管理装置1は、検索画面600を出力部52としての図示せぬディスプレイに表示する。
The user operates the
なお、図7は、実施形態1で用いる検索画面の一例を示す図である。図7に示す検索画面600は、検索用タグ入力欄601、検索実行ボタン602、検索結果表示欄603、及び、検索終了ボタン604を備える構成になっている。検索画面600は、PC等では一般的なグラフィカル・ユーザ・インタフェース(GUI)を用いた形式となっている。
検索用タグ入力欄601は、検索用タグが入力される欄である。
検索実行ボタン602は、検索の実行を指示するボタンである。
検索結果表示欄603は、検索結果が表示される欄である。
検索終了ボタン604は、検索の終了を指示するボタンである。
FIG. 7 is a diagram illustrating an example of a search screen used in the first embodiment. A search screen 600 shown in FIG. 7 includes a search tag input field 601, a search execution button 602, a search result display field 603, and a search end button 604. The search screen 600 has a format that uses a general graphical user interface (GUI) in a PC or the like.
The search tag input field 601 is a field in which a search tag is input.
A search execution button 602 is a button for instructing execution of a search.
The search result display column 603 is a column in which search results are displayed.
A search end button 604 is a button for instructing the end of the search.
利用者は、検索画面600を見ながら、入力部51を操作して、検索すべきファイル151(検索対象ファイル)に関連する任意の文字列情報を検索用タグ入力欄601に入力する。例えば、業務Aに関するファイル151を検索対象ファイルとして検索する場合に、利用者は、「業務A」という文字列情報を入力する。このとき入力された文字列情報は、検索用タグ入力欄601に表示される。そのため、利用者は、文字列情報の内容を確認することができる。また、利用者は、文字列情報の内容に対して、修正や削除等を行うことができる。
While viewing the search screen 600, the user operates the
ファイル管理装置1は、文字列情報が検索用タグ入力欄601に入力されると、入出力管理部31が、文字列情報の入力を検知する(S205)。以下、入力された文字列情報を「入力タグ」と称する。
In the file management apparatus 1, when the character string information is input to the search tag input field 601, the input /
利用者は、文字列情報の入力が完了すると、検索実行ボタン602を押下する。すると、ファイル管理装置1の入出力管理部31が、検索実行ボタン602の押下を検知する(S210)。
When the input of the character string information is completed, the user presses the search execution button 602. Then, the input /
S210の後、入出力管理部31は、検索用タグ入力欄601に入力された文字列情報を入力タグとして取得し、タグデータ検索部32に出力する。これに応答して、タグデータ検索部32は、入力タグを用いて、タグデータ記憶部43に格納されたタグテーブル1000の中から、入力タグと一致する検索用タグ203を持つ登録タグデータを検索する。これにより、タグデータ検索部32は、入力タグと一致する検索用タグ203を持つ登録タグデータを検索結果として取得する(S215)。
After S <b> 210, the input /
例えば、「業務A」という文字列情報を入力タグとし、図5に示すタグテーブル1000の中から、入力タグと一致する検索用タグ203を持つ登録タグデータを検索する場合に、タグデータ検索部32は、「業務A」という文字列情報を検索用タグ203として持つファイル151a,151c,151d(図2参照)の登録タグデータを検索結果として取得する。この後、タグデータ検索部32は、取得された検索結果としての登録タグデータを入出力管理部31に出力する。
For example, when searching for registered tag data having a
S215の後、入出力管理部31は、タグデータ検索部32から検索結果としての登録タグデータが入力されると、検索結果としての登録タグデータを検索画面600の検索結果表示欄603に表示(出力)する(S220)。
After S215, when the registered tag data as the search result is input from the tag
図7に示す例では、検索結果として、ファイル151a,151c,151dの「ファイル名」と「ファイル格納場所」とが、検索結果表示欄603に表示されている。具体的には、ファイル151aに対して、ファイル名として「ファイル1」という名称とファイル格納場所として「¥文書¥2008¥業務A¥ファイル1」という相対位置情報とが、検索結果表示欄603に表示されている。また、ファイル151cに対して、ファイル名として「ファイル3」という名称とファイル格納場所として「¥文書¥2009¥業務A¥ファイル3」という相対位置情報とが、検索結果表示欄603に表示されている。また、ファイル151dに対して、ファイル名として「ファイル4」という名称とファイル格納場所として「¥資料¥業務A¥ファイル4」という相対位置情報とが、検索結果表示欄603に表示されている。
In the example illustrated in FIG. 7, the “file name” and “file storage location” of the
検索結果表示欄603に表示(出力)された検索結果は、利用者が選択可能な状態になっている。利用者は、検索結果の中から所望の登録タグデータを選択する。ここでは、「選択」は、所望の登録タグデータを2回クリック(押下)することにより、行われるものとして説明する。入出力管理部31は、利用者が検索結果の中から所望の登録タグデータを選択すると、その選択を検知する(S225)。以下、選択された登録タグデータを「選択タグデータ」と称する。
The search result displayed (output) in the search result display field 603 is in a state where the user can select. The user selects desired registration tag data from the search results. Here, it is assumed that “selection” is performed by clicking (pressing) desired registration tag data twice. When the user selects desired registration tag data from the search results, the input /
これに応答して、入出力管理部31は、選択タグデータの「ファイル格納場所」として図示せぬディスプレイに表示されている相対位置情報に基づいて、ファイル記憶部42から選択タグデータが対応付けられているファイル151(以下、「選択ファイル」と称する)を読み出し、出力部52としての図示せぬディスプレイに表示する(S230)。
In response to this, the input /
なお、このとき、入出力管理部31は、選択ファイルの内容を開いて表示すること以外に、選択ファイルが格納されたフォルダを開いて表示することで、利用者が選択ファイルを利用可能にするようにしてもよい。
At this time, in addition to opening and displaying the contents of the selected file, the input /
S230の後、利用者は、別のファイル151を検索することができる。利用者は、別のファイル151を検索する場合に、再び、検索画面600を見ながら、入力部51を操作して、検索すべきファイル151(検索対象ファイル)に関連する任意の文字列情報を検索用タグ入力欄601に入力する。一方、利用者は、ファイル151の検索を終了する場合に、検索終了ボタン604を押下する。
After S230, the user can search for another
ファイル管理装置1は、入出力管理部31が、次の検索用タグの入力を検知したか否かを判定する(S235)。S235の判定で、次の検索用タグの入力を検知したと判定された場合(“Yes”の場合)に、処理は、S210に戻る。その結果、ファイル管理装置1は、S210〜S235の処理を繰り返し行う。一方、S235の判定で、次の検索用タグの入力を検知しなかった(すなわち、検索終了ボタン604の押下を検知した)と判定された場合(“No”の場合)に、ファイル管理装置1は、ファイル151の検索作業を終了する。
The file management apparatus 1 determines whether or not the input /
係る構成において、ファイル管理装置1は、ファイル取得部21が、記憶部40の階層情報記憶部44から任意のファイル151のファイル名を取得するとともに、位置情報取得部22がそのファイル151の位置情報202(図5参照)を取得し、タグデータ生成部23が、ファイル検索用データとして、タグデータ200を生成する。
In this configuration, in the file management apparatus 1, the
その際に、タグデータ生成部23は、ファイル取得部21によって取得されたファイル名毎に、位置情報取得部22によって取得された位置情報202(図5参照)に含まれているデータベースフォルダ名の中の、階層関係にある最上位から最下位までの各階層の全てのフォルダ名を検索用タグとして抽出し、ファイル名に対してそれぞれの検索用タグ203(図5参照)を並列に対応付けることによってタグデータ200(図5参照)を生成する。そのタグデータ200は、それぞれの検索用タグ203がファイル名に並列に対応付けられているため、前記した通り、ファイル151の種類やフォルダ群100全体の階層構造に依存しない構成になっている。
At that time, the tag
したがって、ファイル管理装置1は、ファイル151の種類やフォルダ群100全体の階層構造に依存することなく、タグデータ200を生成することができる。そのため、ファイル管理装置1は、従来のファイル管理装置と異なり、フォルダ群100全体の階層構造を把握する作業、及び、ファイル151の種類情報及びファイル151の位置情報に応じて個別にファイル検索用データの生成規則を作成する作業を行うことなく、ファイル検索用データとしてのタグデータ200を生成することができる。その結果、ファイル管理装置1は、工数をかけずに、短時間で、ファイル検索用データとしてのタグデータ200を自動的に生成することができる。
Therefore, the file management apparatus 1 can generate the
また、ファイル管理装置1は、タグデータ200がファイル151の種類やフォルダ群100全体の階層構造に依存しない構成になっているため、タグデータ200をファイル検索用データとして用いてファイル検索を行った場合に、ファイル151の種類やフォルダ群100全体の階層構造に依存しないファイル検索を行うことができる。その結果、ファイル管理装置1は、フォルダ群100全体の階層構造が大規模な場合であっても、ファイル151の検索性能の低下を抑制することができる。
Further, since the
以上の通り、本実施形態1に係るファイル管理装置1によれば、ファイル検索用データとして、ファイル151の種類やフォルダ群全体の階層構造に依存しないタグデータ200を生成することにより、フォルダ群100全体の階層構造を把握する作業、及び、ファイル151の種類情報及びファイル151の位置情報に応じて個別にファイル検索用データの生成規則を作成する作業を行うことなくファイル検索用データを自動的に生成することができる。そのため、本実施形態1に係るファイル管理装置1によれば、工数をかけずに、短時間で、ファイル検索用データを自動的に生成することができる。
As described above, according to the file management apparatus 1 according to the first embodiment, the
[実施形態2]
実施形態1に係るファイル管理装置1は、以下に説明するように、タグデータ200がタグテーブル1000に登録された後に、利用者が階層構造内のファイル151を移動又は削除した場合に、ファイル151の検索を正しく行えなくなる可能性がある。
[Embodiment 2]
As will be described below, the file management apparatus 1 according to the first embodiment, when the user moves or deletes the
例えば、実施形態1に係るファイル管理装置1は、タグデータ200がタグテーブル1000に登録された後に、利用者が階層構造内のファイル151を移動又は削除した場合に、タグテーブル1000に登録されたタグデータ200(登録タグデータ)の「ファイル格納場所」及び「検索用タグ」の内容が不正確になる。そのため、この場合に、実施形態1に係るファイル管理装置1は、登録タグデータの検索用タグ203の内容が実際のファイル151の格納場所と一致しなくなり、ファイル151の検索を正しく行えなくなる可能性がある。その結果、実施形態1に係るファイル管理装置1は、利用者が検索結果から所望の登録タグデータを選択しても、ファイル記憶部42から選択された登録タグデータに対応する選択ファイルを読み出すことができなくなる可能性がある。
For example, the file management apparatus 1 according to the first embodiment is registered in the tag table 1000 when the user moves or deletes the
そこで、本実施形態2では、タグデータ200がタグテーブル1000に登録された後に、利用者が階層構造内のファイル151を移動又は削除した場合であっても、ファイル151の検索を正しく行うことができるファイル管理装置(以下、「ファイル管理装置1B(図8参照)」と称する)を提供する。
Therefore, in the second embodiment, even when the user moves or deletes the
<ファイル管理装置の構成>
本実施形態2に係るファイル管理装置1Bは、タグテーブル1000に登録された登録タグデータの検索用タグ203の内容と実際のファイル151の格納場所とが相違する場合に、実際のファイル151の格納場所に合わせて、登録タグデータを自動的に更新する機能が、制御部10B(図8参照)に付与されている。以下、図8を参照して、本実施形態2に係るファイル管理装置1Bの構成につき説明する。図8は、実施形態2に係るファイル管理装置の構成を示す図である。
<Configuration of file management device>
The file management apparatus 1B according to the second embodiment stores the
本実施形態2に係るファイル管理装置1B(図8参照)は、実施形態1に係るファイル管理装置1(図1参照)と比較すると、登録タグデータを自動的に更新する機能を実現するために、変更確認部26、タグデータ削除部27、及び、更新時間記憶部46を備える点で相違している。なお、変更確認部26及びタグデータ削除部27は、タグデータ登録部20Bを構成している。
The file management apparatus 1B according to the second embodiment (see FIG. 8) is compared with the file management apparatus 1 according to the first embodiment (see FIG. 1) in order to realize a function of automatically updating registered tag data. The
変更確認部26は、タグテーブル1000に登録された登録タグデータを対象にして、実際のファイル151の格納場所の変更の有無を確認する機能手段である。なお、「タグテーブル1000」は、タグデータ記憶部43に記憶されている。また、「ファイル151の格納場所」を表す「ファイル151の位置情報」は、階層情報記憶部44に記憶されている。
The
変更確認部26は、利用者によって更新時間記憶部46に予め登録された更新時間情報に基づいて、更新時間が経過する度に、定期的に、登録タグデータを対象にして、実際のファイル151の格納場所の変更があったか否かを確認する。この確認は、変更確認部26が、タグデータ記憶部43からタグテーブル1000を読み出すとともに、階層情報記憶部44からファイル151の位置情報を読み出し、タグテーブル1000に登録された登録タグデータを対象にして、その登録タグデータの格納場所とファイル151の位置情報の表す格納場所とが一致するか否かを判定することによって、行われる。なお、ここでは、「更新時間情報」とは、変更確認部26を定期的に動作させるための更新時間を表す情報を意味している。
Based on the update time information registered in advance in the update
変更確認部26は、ファイル151の格納場所の変更が確認された場合に、そのファイル151の登録タグデータ(以下、「既変更タグデータ」と称する)をタグデータ削除部27に出力して、タグデータ削除部27に、タグテーブル1000に登録された登録タグデータの中から既変更タグデータを削除させる。なお、ここでは、「ファイル151の格納場所の変更が確認された場合」とは、登録タグデータに含まれている検索用タグ203の内容と実際のファイル151の格納場所との相違が確認されたことを意味している。
When the change of the storage location of the
また、変更確認部26は、既変更タグデータに対応付けられていたファイル151(以下、「既変更ファイル」と称する)のファイル名をファイル取得部21に出力して、ファイル取得部21に、ファイル記憶部42に格納された全ての格納ファイルの中から、既変更ファイルのファイル名に一致する格納ファイルを検索させる。
Further, the
この検索により、全ての格納ファイルの中から、既変更ファイルのファイル名に一致する格納ファイルが発見された場合に、その格納ファイルは、タグデータ200の生成対象となる。この場合に、ファイル取得部21は、ファイル管理装置1のタグデータ登録部20Bは、このとき発見された格納ファイルを対象にして、タグデータ200の生成作業を行う。
If a storage file that matches the file name of the already-changed file is found from all the storage files by this search, the storage file becomes a generation target of the
タグデータ削除部27は、タグテーブル1000に登録された登録タグデータを削除する機能手段である。タグデータ削除部27は、変更確認部26から既変更タグデータが入力された場合に、タグテーブル1000に登録された登録タグデータの中から、既変更タグデータに対応する登録タグデータを削除する。
The tag
更新時間記憶部46は、更新時間情報(変更確認部26を定期的に動作させるための更新時間を表す情報)が予め登録される記憶領域である。
The update
本実施形態2では、例えば、利用者が、図2及び図9に示すように、ファイル151bを、図2に示す格納場所から図9に示す格納場所に移動させた場合を想定して説明する。図9は、実施形態2で用いるフォルダ群の階層構造の一例を示す図である。
In the second embodiment, for example, a case where the user moves the
なお、ここでは、ファイル管理装置1Bは、図2に示す階層構造のフォルダ群100に対して、既にタグデータ200の生成作業を行い、図5に示すタグデータ200をタグテーブル1000に登録しているものとして説明する。
Here, the file management apparatus 1B has already generated the
前記した通り、本実施形態2では、利用者は、図2及び図9に示すように、ファイル151bを、図2に示す格納場所から図9に示す格納場所に移動させている。
したがって、本実施形態2では、図2に示すように、移動前のファイル151bは、相対位置情報を「¥文書¥2008¥業務B¥ファイル2」とする格納場所に格納されている。すなわち、移動前のファイル151bは、「文書」フォルダの下に「2008」フォルダが配置されており、「2008」フォルダの下に「業務B」フォルダが配置されており、その「業務B」フォルダの中に格納されている。
これに対して、図9に示すように、移動後のファイル151bは、相対位置情報を「¥文書¥2010¥業務B¥ファイル2」とする格納場所に格納されている。すなわち、移動後のファイル151bは、「文書」フォルダの下に「2010」フォルダが配置されており、「2010」フォルダの下に「業務B」フォルダが配置されており、その「業務B」フォルダの中に格納されている。
As described above, in the second embodiment, as shown in FIGS. 2 and 9, the user moves the
Therefore, in the second embodiment, as shown in FIG. 2, the
On the other hand, as shown in FIG. 9, the moved
その結果、タグテーブル1000に登録されているファイル151bの登録タグデータは、実際のファイル151bの格納場所と一致しなくなっている。そのため、ファイル管理装置1Bは、ファイル151bの登録タグデータを更新する必要がある。
As a result, the registered tag data of the
そこで、ファイル管理装置1Bは、更新時間記憶部46に予め登録された更新時間情報に基づいて、更新時間が経過する度に、定期的に、登録タグデータを対象にして、ファイル151の格納場所を確認する。そして、ファイル151の格納場所が変更されている場合(ファイル151が消去されている場合を含む)に、ファイル管理装置1Bは、そのファイル151に対応する登録タグデータを更新する。
Therefore, the file management device 1B periodically stores the storage location of the
例えば、更新時間として「1時間」という値が更新時間記憶部46に予め登録されているものとする。この場合に、ファイル管理装置1Bの変更確認部26が、1時間毎に動作して、登録タグデータを対象にして、ファイル151の格納場所を確認する。
For example, it is assumed that a value “1 hour” is registered in the update
このとき、変更確認部26は、まず、タグデータ記憶部43からタグテーブル1000を読み出し、タグテーブル1000に登録されている登録タグデータを確認する。例えば、ファイル名を「ファイル1」とするファイル151a(図9参照)の登録タグデータは、相対位置情報を「¥文書¥2008¥業務A¥ファイル1」とする格納場所に格納されている。そこで、変更確認部26は、階層情報記憶部44からファイル151の位置情報を読み出し、ファイル151の位置情報に基づいて、ファイル151aがその格納場所に存在するか否かを確認する。図9に示す例では、ファイル151aがその格納場所に存在するため、変更確認部26は、登録タグデータに対応するファイル151が移動(又は、消去)されていないと判定する。
At this time, the
変更確認部26は、他の登録タグデータについても同様に確認を行う。図9に示す例では、ファイル名を「ファイル2」とするファイル151bが移動されている。そのため、ファイル151b(図9参照)は、登録タグデータでは、相対位置情報を「¥文書¥2008¥業務A¥ファイル1」とする格納場所に格納されていることになっているが、実際には、その格納場所に格納されていない。したがって、ファイル管理装置1Bは、ファイル151bの登録タグデータを、対応するファイル151が存在しない無効なデータと見なす。
The
その結果、ファイル管理装置1Bは、変更確認部26が、ファイル151bの登録タグデータをタグデータ削除部27に出力して、タグデータ削除部27に、タグテーブル1000の中からファイル151bの登録タグデータを削除させる。
As a result, in the file management apparatus 1B, the
この後、ファイル管理装置1Bは、タグデータ登録部20Bが、階層情報記憶部44からファイル151の位置情報を読み出し、ファイル151の位置情報に基づいて、フォルダ群100の中からファイル151bを検索して、ファイル151bが発見された場合に、ファイル151bのタグデータ200Bb(図11参照)を生成して、生成されたタグデータ200Bbを登録タグデータとしてタグテーブル1000に登録する。
Thereafter, in the file management apparatus 1B, the tag data registration unit 20B reads the location information of the
その結果、図5に示すタグテーブル1000が、図11に示す内容に更新される。なお、図11は、実施形態2で用いるタグデータの一例を示す図である。図11は、更新後のタグテーブル1000の一例を示している。図11に示すファイル151bのタグデータ200Bbは、その内容が、実際のファイル151bの格納場所に一致するようになっている。
なお、ファイル管理装置1Bは、他の登録タグデータに対しても同様の処理を行う。
As a result, the tag table 1000 shown in FIG. 5 is updated to the contents shown in FIG. FIG. 11 is a diagram illustrating an example of tag data used in the second embodiment. FIG. 11 shows an example of the updated tag table 1000. The tag data 200Bb of the
Note that the file management apparatus 1B performs the same processing for other registered tag data.
<ファイル管理装置の動作>
本実施形態2に係るファイル管理装置1Bの動作は、実施形態1に係るファイル管理装置1の動作と比較すると、登録タグデータを自動的に更新する点で相違している。
<Operation of file management device>
The operation of the file management apparatus 1B according to the second embodiment is different from the operation of the file management apparatus 1 according to the first embodiment in that the registered tag data is automatically updated.
以下、図10を参照して、本実施形態2に係るファイル管理装置1Bの登録タグデータの更新時の動作につき説明する。図10は、実施形態2に係るファイル管理装置の動作を示すフローチャートである。図10は、実施形態2に係るファイル管理装置の登録タグデータの更新時の動作を示している。 Hereinafter, with reference to FIG. 10, the operation at the time of updating the registered tag data of the file management apparatus 1B according to the second embodiment will be described. FIG. 10 is a flowchart illustrating the operation of the file management apparatus according to the second embodiment. FIG. 10 shows an operation at the time of updating the registration tag data of the file management apparatus according to the second embodiment.
なお、本実施形態2に係るファイル管理装置1Bのタグデータ生成時の動作及びファイル検索時の動作は、実施形態1に係るファイル管理装置1のタグデータ生成時の動作(図3参照)及びファイル検索時の動作(図4参照)と同じである。 The operation at the time of tag data generation and the operation at the time of file search of the file management apparatus 1B according to the second embodiment are the same as the operation at the time of tag data generation (see FIG. 3) and the file of the file management apparatus 1 according to the first embodiment. This is the same as the operation during search (see FIG. 4).
ここでは、本実施形態2に係るファイル管理装置1Bの動作について、実施形態1に係るファイル管理装置1と相違する動作を重点的に説明し、実施形態1に係るファイル管理装置1と同様の動作(図3及び図4参照)については、前記した実施形態1に係るファイル管理装置1の動作を本実施形態2に係るファイル管理装置1Bの動作に読み替えるものとして、詳細な説明を省略する。 Here, the operation of the file management apparatus 1B according to the second embodiment will be described focusing on the operation different from that of the file management apparatus 1 according to the first embodiment, and the same operation as that of the file management apparatus 1 according to the first embodiment. As for (refer to FIGS. 3 and 4), the operation of the file management apparatus 1 according to the first embodiment is replaced with the operation of the file management apparatus 1B according to the second embodiment, and detailed description thereof is omitted.
本実施形態2に係るファイル管理装置1Bは、タグデータ登録部20Bが、利用者によって更新時間記憶部46に予め登録された更新時間情報に基づいて、更新時間が経過する度に、定期的に、登録タグデータの更新作業を開始する。
The file management apparatus 1B according to the second embodiment periodically updates the tag data registration unit 20B every time the update time elapses based on the update time information registered in advance in the update
ここでは、利用者が更新時間を「1時間」に予め設定している場合を想定して説明する。したがって、ここでは、「1時間」という更新時間を表す更新時間情報が、更新時間記憶部46に登録されている。その結果、ファイル管理装置1Bは、タグデータ登録部20Bが、1時間が経過する度に、登録タグデータの更新作業を開始する。
Here, the case where the user has set the update time to “1 hour” in advance will be described. Therefore, here, update time information representing the update time of “1 hour” is registered in the update
なお、更新時間情報が更新時間記憶部46に登録されていない場合(すなわち、利用者が更新時間を予め設定していない場合)に、タグデータ登録部20Bは作動しない。そのため、この場合に、ファイル管理装置1Bは、登録タグデータの更新作業を行わない。 Note that when the update time information is not registered in the update time storage unit 46 (that is, when the user does not set the update time in advance), the tag data registration unit 20B does not operate. Therefore, in this case, the file management apparatus 1B does not update the registered tag data.
ファイル管理装置1Bは、登録タグデータの更新作業を開始すると、図10に示すように、変更確認部26が、タグテーブル1000に登録されている1乃至複数(通常は、複数)の登録タグデータの中から1つのタグデータ200を選択し、取得タグデータとして取得する(S305)。ここでは、登録タグデータの構成及び取得タグデータの構成がタグデータ200(図5参照)の構成と同じであるものとして説明する。
When the file management apparatus 1B starts the update operation of the registered tag data, as shown in FIG. 10, the
S305の後、変更確認部26は、取得タグデータに含まれている位置情報202(図5参照)によって特定される「ファイル格納場所」のフォルダ(以下、「該当フォルダ」と称する)の中に、取得タグデータに対応するファイル151が存在するか否かを確認する(S310)。そして、変更確認部26は、取得タグデータに対応するファイル151が、該当フォルダの中に存在するか否かを判定する(S315)。
After S305, the
S315の判定で、取得タグデータに対応するファイル151が該当フォルダの中に存在しないと判定された場合(“No”の場合)に、ファイル管理装置1Bは、タグテーブル1000に登録された登録タグデータの中から、取得タグデータに対応する登録タグデータを無効なタグデータ200として削除する。この場合に、ファイル管理装置1Bは、まず、変更確認部26が取得タグデータをタグデータ削除部27に出力する。これに応答して、タグデータ削除部27は、取得タグデータが入力されると、タグテーブル1000に登録されている登録タグデータの中から、取得タグデータを削除する(S320)。
When it is determined in S315 that the
一方、S315の判定で、取得タグデータに対応するファイル151が該当フォルダの中に存在すると判定された場合(“Yes”の場合)に、処理は、S325に進む。この場合に、取得タグデータの削除は、行われない。
On the other hand, when it is determined in S315 that the
S315の判定で、取得タグデータに対応するファイル151が該当フォルダの中に存在すると判定された場合(“Yes”の場合)、又は、S320の後に、変更確認部26は、取得タグデータの中で、該当フォルダの中に存在するか否かの確認が完了していない取得タグデータが存在するか否かを判定する(S325)。
If it is determined in S315 that the
S325の判定で、確認が完了していない取得タグデータが存在すると判定された場合(“Yes”の場合)に、処理は、S305に戻る。その結果、ファイル管理装置1Bは、S305〜S325の処理を繰り返し行う。 If it is determined in S325 that there is acquired tag data that has not been confirmed (if “Yes”), the process returns to S305. As a result, the file management apparatus 1B repeats the processes of S305 to S325.
S325の判定で、確認が完了していない取得タグデータが存在しないと判定された場合(“No”の場合)に、タグテーブル1000に登録された全ての登録タグデータに含まれている検索用タグ203の内容と実際のファイル151の格納場所との一致又は相違の確認作業が完了したため、処理は、S110aに進む。その結果、ファイル管理装置1Bは、S110a〜S145aの処理を行う。
When it is determined in S325 that there is no acquired tag data for which confirmation has not been completed (in the case of “No”), the search is included in all registered tag data registered in the tag table 1000. Since the confirmation of the match or difference between the contents of the
S110a〜S145aの処理は、タグテーブル1000に登録されていないタグデータ200の生成作業を行う処理である。S110a〜S145aの処理は、図3に示すS110〜S145の処理と同一である。そのため、ここでは、その説明を省略する。
The processing of S110a to S145a is processing for generating the
係る構成において、ファイル管理装置1Bは、タグデータ登録部20Bが、定期的に、登録タグデータの更新作業を行う。これにより、ファイル管理装置1Bは、検索用タグ203の内容が実際のファイル151の格納場所と相違する登録タグデータを自動的に更新することができる。そのため、ファイル管理装置1Bは、自動的に登録タグデータを最新の状態に保つことができる。その結果、ファイル管理装置1Bは、タグデータ200がタグテーブル1000に登録された後に、利用者が階層構造内のファイル151を移動又は削除した場合であっても、ファイル151の検索を正しく行うことができる。
In such a configuration, in the file management apparatus 1B, the tag data registration unit 20B periodically updates the registered tag data. Thereby, the file management apparatus 1B can automatically update the registered tag data in which the content of the
以上の通り、本実施形態2に係るファイル管理装置1Bによれば、実施形態1に係るファイル管理装置1と同様に、短時間で、ファイル検索用データを自動的に生成することができる。
しかも、本実施形態2に係るファイル管理装置1Bによれば、タグデータ200がタグテーブル1000に登録された後に、利用者が階層構造内のファイル151を移動又は削除した場合であっても、ファイル151の検索を正しく行うことができる。
As described above, according to the file management apparatus 1B according to the second embodiment, the file search data can be automatically generated in a short time as in the file management apparatus 1 according to the first embodiment.
In addition, according to the file management apparatus 1B according to the second embodiment, even if the user moves or deletes the
本発明は、前記した実施形態に限定されることなく、本発明の要旨を逸脱しない範囲で種々の変更や変形を行うことができる。 The present invention is not limited to the above-described embodiment, and various changes and modifications can be made without departing from the gist of the present invention.
例えば、実施形態1に係るファイル管理装置1(図1参照)及び実施形態2に係るファイル管理装置1B(図8参照)は、単一のコンピュータによって構成されている。
しかしながら、実施形態1に係るファイル管理装置1は、前記した通り、タグデータ登録部20を備える第1のコンピュータとファイル検索部30を備える第2のコンピュータとに分割されることにより、ファイル管理システムとして構成することが可能である。
同様に、実施形態2に係るファイル管理装置1Bは、タグデータ登録部20Bを備える第1のコンピュータとファイル検索部30を備える第2のコンピュータとに分割することにより、ファイル管理システムとして構成することが可能である。
For example, the file management device 1 according to the first embodiment (see FIG. 1) and the file management device 1B according to the second embodiment (see FIG. 8) are configured by a single computer.
However, as described above, the file management apparatus 1 according to the first embodiment is divided into the first computer including the tag data registration unit 20 and the second computer including the file search unit 30, so that the file management system It can be configured as.
Similarly, the file management apparatus 1B according to the second embodiment is configured as a file management system by dividing into a first computer having the tag data registration unit 20B and a second computer having the file search unit 30. Is possible.
なお、この場合に、第1のコンピュータと第2のコンピュータとは、例えば、LAN等の通信回線によって通信可能に接続された構成となる。
また、この場合に、ファイル検索部30は、入力部51及び出力部52との間でデータの入出力を行う以外に、LAN等の通信回線を介して、他の装置との間でデータの送受信を行うことができ、他の装置から受信されたデータに基づいて、動作する構成にすることができる。
また、この場合に、第1のコンピュータ及び第2のコンピュータのいずれか一方又は双方は、キーボードやマウス等の入力部51及びディスプレイやプリンタ等の出力部52が、排除された構成になるときもある。
In this case, the first computer and the second computer are configured to be communicably connected via a communication line such as a LAN.
Further, in this case, the file search unit 30 can exchange data with other devices via a communication line such as a LAN in addition to inputting / outputting data between the
In this case, either or both of the first computer and the second computer may be configured such that the
1,1B ファイル管理装置(PC,WS等)
2,2B 制御プログラム
10,10B 制御部(CPU)
20,20B タグデータ登録部
21 ファイル取得部
22 位置情報取得部
23 タグデータ生成部
24 タグデータ確認部
26 変更確認部
27 タグデータ削除部
30 ファイル検索部
31 入出力管理部
32 タグデータ検索部
40,40B 記憶部(RAM,ROM,HDD等)
41 プログラム記憶部
42 ファイル記憶部
43 タグデータ記憶部
44 階層情報記憶部
46 更新時間記憶部
51 入力部(キーボード,マウス等)
52 出力部(ディスプレイ)
53 通信部
100 フォルダ群
101 フォルダ
101a 種別フォルダ
101b 年次フォルダ
101c 業務フォルダ
151(151a,151b,151c,151d) ファイル
200,200A タグデータ(ファイル検索用データ)
201 ファイル名情報(ファイル名)
202 位置情報
203,203A 検索用タグ
600 検索画面
601 検索用タグ入力欄
602 検索実行ボタン
603 検索結果表示欄
604 検索終了ボタン
1000,1000A タグテーブル
1,1B File management device (PC, WS, etc.)
2,2B control program 10,10B control unit (CPU)
20, 20B Tag
41
52 Output unit (display)
53
201 File name information (file name)
202
Claims (6)
前記記憶部から任意のファイルのファイル名、及び、前記階層構造内での当該ファイルの格納場所を表す位置情報を取得する取得部と、
取得された前記ファイル名毎に、取得された前記位置情報に含まれているデータベースフォルダ名の中の、階層関係にある最上位から最下位までの各階層の全てのフォルダ名を検索用タグとして抽出し、前記ファイル名に対してそれぞれの当該検索用タグを並列に対応付けることによってタグデータを生成するタグデータ生成部とを有する
ことを特徴とするファイル管理装置。 In a file management apparatus that hierarchically manages files stored in a storage unit using a folder group having a hierarchical structure,
An acquisition unit that acquires a file name of an arbitrary file from the storage unit, and position information indicating a storage location of the file in the hierarchical structure;
For each of the acquired file names, among the database folder names included in the acquired location information, all the folder names of each layer from the highest level to the lowest level in the hierarchical relationship are used as search tags. A file management apparatus comprising: a tag data generation unit that generates tag data by extracting and associating each search tag in parallel with the file name.
前記記憶部は、前記タグデータが登録されるタグテーブルを格納しており、
さらに、利用者によって任意の階層のフォルダ名を指定する検索が指示された場合に、前記タグテーブルの中から、当該指定されたフォルダ名が前記検索用タグとして対応付けられた前記タグデータを検索することによって、当該指定されたフォルダ名のフォルダ以下の各階層のフォルダに格納されている前記ファイルを検索対象ファイルとして検索するファイル検索部を有する
ことを特徴とするファイル管理装置。 The file management apparatus according to claim 1,
The storage unit stores a tag table in which the tag data is registered,
Further, when a search for specifying a folder name of an arbitrary hierarchy is instructed by the user, the tag data in which the specified folder name is associated as the search tag is searched from the tag table. A file management apparatus comprising: a file search unit that searches for the file stored in a folder of each hierarchy below the folder having the designated folder name as a search target file.
さらに、前記タグデータ生成部によって前記タグデータが生成された場合に、前記タグテーブルに対し、生成された前記タグデータと同一の登録タグデータの有無を確認し、当該同一の登録タグデータが存在しない場合に、生成された前記タグデータを前記タグテーブルに登録するタグデータ確認部を有する
ことを特徴とするファイル管理装置。 The file management apparatus according to claim 2,
Further, when the tag data is generated by the tag data generation unit, the tag table is checked for the same registered tag data as the generated tag data, and the same registered tag data exists. A file management apparatus comprising: a tag data confirmation unit that registers the generated tag data in the tag table if not.
さらに、前記ファイルの格納場所の変更の有無を確認する変更確認部を有し、
前記変更確認部が、定期的にそれぞれの前記ファイルの格納場所の変更の有無を確認するとともに、
前記タグデータ生成部が、前記変更確認部によって前記格納場所の変更が確認されたファイルを対象にして、前記タグデータを生成する
ことを特徴とするファイル管理装置。 The file management device according to any one of claims 1 to 3,
And a change confirmation unit for confirming whether or not the storage location of the file has been changed,
The change confirmation unit periodically confirms whether or not the storage location of each file is changed,
The file data management apparatus, wherein the tag data generation unit generates the tag data for a file whose change of the storage location is confirmed by the change confirmation unit.
前記変更確認部は、予め前記記憶部に登録された更新時間情報によって指定された更新時間毎に、前記ファイルの格納場所の変更の有無を確認する
ことを特徴とするファイル管理装置。 The file management apparatus according to claim 4, wherein
The file confirmation apparatus, wherein the change confirmation unit confirms whether or not the storage location of the file has been changed at every update time designated by update time information registered in the storage unit in advance.
前記コンピュータを、
前記記憶部から任意のファイルのファイル名、及び、前記階層構造内での当該ファイルの格納場所を表す位置情報を取得する取得部と、
取得された前記ファイル名毎に、取得された前記位置情報に含まれているデータベースフォルダ名の中の、階層関係にある最上位から最下位までの各階層の全てのフォルダ名を検索用タグとして抽出し、前記ファイル名に対してそれぞれの当該検索用タグを並列に対応付けることによってタグデータを生成するタグデータ生成部として機能させる
ことを特徴とするプログラム。 A program that causes a computer having a storage unit in which files are stored to function as a file management apparatus that hierarchically manages files stored in the storage unit using a group of folders having a hierarchical structure,
The computer,
An acquisition unit that acquires a file name of an arbitrary file from the storage unit, and position information indicating a storage location of the file in the hierarchical structure;
For each of the acquired file names, among the database folder names included in the acquired location information, all the folder names of each layer from the highest level to the lowest level in the hierarchical relationship are used as search tags. A program that extracts and functions as a tag data generation unit that generates tag data by associating each search tag in parallel with the file name.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012076244A JP2013206275A (en) | 2012-03-29 | 2012-03-29 | File management device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012076244A JP2013206275A (en) | 2012-03-29 | 2012-03-29 | File management device and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013206275A true JP2013206275A (en) | 2013-10-07 |
Family
ID=49525256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012076244A Pending JP2013206275A (en) | 2012-03-29 | 2012-03-29 | File management device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013206275A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024047819A1 (en) * | 2022-08-31 | 2024-03-07 | 日本電信電話株式会社 | Extraction device, information extraction device, extraction method, and extraction program |
-
2012
- 2012-03-29 JP JP2012076244A patent/JP2013206275A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024047819A1 (en) * | 2022-08-31 | 2024-03-07 | 日本電信電話株式会社 | Extraction device, information extraction device, extraction method, and extraction program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109478180B (en) | Cloud content state determination logic | |
US9529798B2 (en) | Document management system, search designation method, and storage medium | |
US10467209B2 (en) | Document management client apparatus and document management method | |
JP5474479B2 (en) | How to display a document with images | |
JP5393073B2 (en) | Document management apparatus, method, and program | |
US9164991B2 (en) | Document management system and method thereof | |
JP2008234215A (en) | Workflow management system | |
US20190212987A1 (en) | Content development device | |
JP2013206275A (en) | File management device and program | |
JP2019128859A (en) | Information processing device | |
JP6313987B2 (en) | File management program, file management method, and file management system | |
JP2009265902A (en) | Document management device, document management method, information processing program, and recording medium | |
JP2011154454A (en) | Information processing apparatus, information processing method and program | |
JP2020042660A (en) | Electronic file management device, electronic file management program and electronic file management system | |
JP2014044564A (en) | Document management device, document management system, document management method, and document management program | |
JP2018018551A (en) | Document management device, document management system, document management method, and document management program | |
JP2010067233A (en) | Workflow management system, workflow management method, and workflow management program | |
JP2006072705A (en) | Document search device and method | |
JP2011138223A (en) | Search device, search method and program | |
JP5942432B2 (en) | Document management system | |
JP5517779B2 (en) | Document management apparatus, document management method, and program | |
JP2009064347A (en) | Work support information display, and work support information display method | |
JP2009104548A (en) | Document retrieval device and document retrieval support method | |
JP7013797B2 (en) | Information processing equipment and programs | |
JP2006301809A (en) | Data processing system |