JP2009093405A - System, method and computer program for data retrieval - Google Patents

System, method and computer program for data retrieval Download PDF

Info

Publication number
JP2009093405A
JP2009093405A JP2007263198A JP2007263198A JP2009093405A JP 2009093405 A JP2009093405 A JP 2009093405A JP 2007263198 A JP2007263198 A JP 2007263198A JP 2007263198 A JP2007263198 A JP 2007263198A JP 2009093405 A JP2009093405 A JP 2009093405A
Authority
JP
Japan
Prior art keywords
search
key
file
items
character string
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
JP2007263198A
Other languages
Japanese (ja)
Other versions
JP2009093405A5 (en
Inventor
Wataru Shoji
渉 庄司
Yoshie Kidokoro
良江 城所
Akio Murata
暁生 村田
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.)
HOWS KK
Original Assignee
HOWS KK
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 HOWS KK filed Critical HOWS KK
Priority to JP2007263198A priority Critical patent/JP2009093405A/en
Publication of JP2009093405A publication Critical patent/JP2009093405A/en
Publication of JP2009093405A5 publication Critical patent/JP2009093405A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To make the designating order of search keys flexible, when the result of retrieval is drilled down, and to increase the number of search keys which can be designated at retrieval. <P>SOLUTION: A converter 104 reads a search-method definition file 160, which defines searching methods with respect to many data items, generates many search files 122, 122, ..., which are respectively correlated with the many data items, and stores these files. The file name of each of the search files 122 is a character string, in which a plurality of key items (or their identifiers) relating to each data item are connected. A search engine 102 retrieves a file name, which matches the search key designated by a user, from the population 123 of the search files 122, 122, .... When the result of the retrieval is to be gradually narrowed down, the search engine retrieves at each stage, the file names which match all the search keys, which are specified both at the present stage and at the previous stage from the filename population 123. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、高速にデータの検索を行なうためのシステム、方法及びコンピュータプログラムに関する。   The present invention relates to a system, a method, and a computer program for searching data at high speed.

従来の一般的なデータベースにおいては、データベースの構築時に、検索キーとして使用される予定の複数のキーアイテムを登録したインデックステーブルが、検索対象のデータ項目(以下、データアイテムという)を格納したファイルとは別途に作成される。検索キーを用いた目的ファイルのサーチは、そのインデックステーブル上で行われ、それによる検索速度は速い。しかし、インデックステーブルに登録されていないキーアイテムを検索キーとして用いて検索を行う場合は、全てのデータアイテムファイルを開いて全てのデータアイテムを読み出し、それらのデータアイテムと検索キーとの比較を行う必要があるため、きわめて検索速度が遅くなる。従って、従来のデータベースでは、高速に検索を行なうためには、事前に作成されたインデックステーブルに登録されたキーアイテムの範囲内で検索キーを選択せざるを得ない。   In a conventional general database, an index table in which a plurality of key items scheduled to be used as search keys at the time of database construction is stored as a file storing data items to be searched (hereinafter referred to as data items). Is created separately. The search for the target file using the search key is performed on the index table, and the search speed is high. However, when a search is performed using a key item that is not registered in the index table as a search key, all data item files are opened, all data items are read, and the data items are compared with the search key. The search speed is extremely slow because it is necessary. Therefore, in a conventional database, in order to perform a search at high speed, a search key must be selected within a range of key items registered in an index table created in advance.

また、ドリルダウンと呼ばれる検索結果のデータアイテム群の段階的な絞り込みを行う場合(例えば、まず、カテゴリ「県」の検索キー「神奈川県」を指定してマッチするデータアイテム群を検索し、次に、カテゴリ「市」の検索キー「横浜市」を指定してそのデータアイテム群を絞り込むというように、カテゴリの異なる複数の検索キーを順次に指定することで検索結果のデータアイテム群を段階的に絞り込んでいく場合)、それぞれのカテゴリの検索キーを指定できる順序は、データベース構築時に作成されたインデックステーブルの構造に依存して制限的に決められる(例えば、カテゴリ「県」の検索キーを指定して検索した後でないと、カテゴリ「市」の検索キーが指定できない)。このような検索キーの指定順序を変更するためには、インデックステーブルの構造を変更する必要がある。インデックステーブルの構造を変更するとは、すなわち、改めてテーブル定義を変更し、データベースを再構築することを意味する。   Also, if you want to narrow down the data items in the search results called drilldown (for example, first search the matching data items by specifying the search key “Kanagawa” in the category “prefecture” For example, specify the search key “Yokohama” for the category “city” and narrow down the data item group. By specifying multiple search keys with different categories in order, the data items in the search results are stepped. The order in which the search keys for each category can be specified is limited depending on the structure of the index table created at the time of database construction (for example, the search key for category "Province" is specified) Search key for category "City" can only be specified) In order to change the search key designation order, it is necessary to change the structure of the index table. Changing the structure of the index table means changing the table definition anew and rebuilding the database.

このようなインデックステーブルの作成の労力を省くために、例えば特許文献1には、検索対象の各ファイルの内容を体系化されたコード(例えば、複数のキーアイテムをそれぞれ示すコードを所定順序で連結したもの)で表現し、そのコードをファイル名として各ファイルに付与し、そして、検索キーを用いてファイル名のサーチを行うことで目的ファイルを検索する方法が開示されている。   In order to save the effort of creating such an index table, for example, Patent Document 1 discloses a code that systematizes the contents of each file to be searched (for example, a code that indicates a plurality of key items in a predetermined order). In other words, a method of searching for a target file by assigning each code as a file name to each file and searching for the file name using a search key is disclosed.

また、特許文献2には、検索対象の各画像ファイルがもつ複数の属性を所定順序で連結したものを、ファイル名として各画像ファイルに付与するとともに、その画像ファイルが保存されたディレクトリのディレクトリ名にも、上記複数の属性の少なくとも一部を含ませ、そして、検索時には、利用者から指定された特定の属性の検索キーに基づいて検索用パス名と検索用ファイル名を作成し、その検索用パス名と検索用ファイル名を用いてディレクトリ名とファイル名をサーチすることで、目的ファイルを検索する方法が開示されている。   Japanese Patent Laid-Open No. 2004-228561 gives a concatenation of a plurality of attributes of each image file to be searched in a predetermined order to each image file as a file name, and the directory name of the directory in which the image file is stored In addition, at least a part of the plurality of attributes is included, and at the time of searching, a search path name and a search file name are created based on a search key of a specific attribute specified by the user, and the search is performed. A method of searching for a target file by searching a directory name and a file name using a path name and a search file name is disclosed.

このように、ファイル名やディレクトリ名にキーアイテムを含ませる検索方法によれば、インデックステーブルに頼らずに目的ファイルを高速に検索することが可能である。   As described above, according to the search method in which the key item is included in the file name or the directory name, the target file can be searched at high speed without depending on the index table.

特開2003−6014号公報JP 2003-6014 A 特開2006−106922号公報JP 2006-106922 A

しかし、上述した検索結果をドリルダウンする場合の検索キーの指定順序の制限の問題に関しては、特許文献1,2は明確な解決策を提供していない。   However, Patent Documents 1 and 2 do not provide a clear solution regarding the problem of restriction of the search key designation order when the above-described search result is drilled down.

また、コンピュータのOSが取り扱えるファイル名の長さには限界があるため、1つのファイル名に組み込むことができるキーアイテムの個数が制限される。その結果、検索時に指定できる検索キーの個数が制限される。   In addition, since the length of the file name that can be handled by the OS of the computer is limited, the number of key items that can be incorporated into one file name is limited. As a result, the number of search keys that can be specified during a search is limited.

従って、本発明の一つの目的は、検索結果をドルダウンする場合における検索キーの指定順序が自由に変更できるようにすることにある。   Accordingly, an object of the present invention is to allow a search key designation order to be freely changed when a search result is dollar-downed.

別の目的は、検索時に指定できる検索キーの個数を増やすことにある。   Another object is to increase the number of search keys that can be specified during a search.

本発明の一つの側面に従う、多数のデータアイテムの中から、検索キーにマッチするデータアイテムを検索するためのシステムは、
多数のデータアイテムにそれぞれ関連付けられた多数の文字列からなる文字列母群を保存する保存手段であって、前記文字列母群内の各文字列は、各データアイテムに関する複数のカテゴリにそれぞれ属する複数のキーアイテムを連結したもの又は前記複数のキーアイテムの識別符号を連結したものを含む、前記保存手段と、
前記文字列母群に含まれるキーアイテムの中から、ユーザの選択に従って、検索キーを選択する第1の検索キー選択手段と、
前記選択された検索キーにマッチする文字列を前記文字列母群の中から検索するための検索要求を発行する検索手段と、
前記検索要求に対する検索結果として得られた検索された文字列の中から、前記ユーザにより指定されたカテゴリに属するキーアイテムを抽出し、前記抽出されたキーアイテムを表示するキーアイテム表示手段と、
前記表示されたキーアイテムの中から、前記ユーザの選択に従って、次の検索キーを選択して、前記選択された次の検索キーと前記第1の検索キー選択手段により選択された検索キーとの双方にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる第2の検索キー選択手段と
を備え、
前記第2の検索キー選択手段は、前記ユーザの選択の繰り返しに従って複数回繰り返して動作し、各回において、今回選択された次の検索キーと以前の回で選択された検索キーと前記第1の検索キー選択手段により選択された検索キーとの全部にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる。
According to one aspect of the present invention, a system for searching for a data item that matches a search key from among a number of data items,
A storage means for storing a character string group composed of a large number of character strings respectively associated with a large number of data items, wherein each character string in the character string group belongs to a plurality of categories related to each data item. Including the concatenation of a plurality of key items or the concatenation of identification codes of the plurality of key items;
A first search key selecting means for selecting a search key from the key items included in the character string population according to the user's selection;
Search means for issuing a search request for searching the character string group for a character string that matches the selected search key;
Key item display means for extracting a key item belonging to the category specified by the user from the searched character string obtained as a search result for the search request, and displaying the extracted key item;
A next search key is selected from the displayed key items according to the user's selection, and the selected next search key and the search key selected by the first search key selection means are selected. Second search key selection means for operating the search means again so as to issue a search request for searching for a character string matching both from the character string population;
The second search key selection means repeatedly operates a plurality of times in accordance with the selection of the user, and each time, the next search key selected this time, the search key selected in the previous time, and the first search key are selected. The search means is operated again so as to issue a search request for searching the character string group for a character string that matches all of the search keys selected by the search key selection means.

本発明の別の側面に従う、多数のデータアイテムの中から、検索キーにマッチするデータアイテムを検索するための方法は、
多数のデータアイテムにそれぞれ関連付けられた多数の文字列からなる文字列母群を保存する保存ステップであって、前記文字列母群内の各文字列は、各データアイテムに関する複数のカテゴリにそれぞれ属する複数のキーアイテムを連結したもの又は前記複数のキーアイテムの識別符号を連結したものを含む、前記保存ステップと、
前記文字列母群に含まれるキーアイテムの中から、ユーザの選択に従って、検索キーを選択する第1の検索キー選択ステップと、
前記選択された検索キーにマッチする文字列を前記文字列母群の中から検索するための検索要求を発行する検索ステップと、
前記検索要求に対する検索結果として得られた検索された文字列の中から、前記ユーザにより指定されたカテゴリに属するキーアイテムを抽出して表示するキーリスト表示ステップと、
前記表示されたキーアイテムの中から、前記ユーザの選択に従って、次の検索キーを選択して、前記選択された次の検索キーと前記第1の検索キー選択ステップにより選択された検索キーとの双方にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる第2の検索キー選択ステップと、
手段とする第2の検索キー選択ステップと、
前記ユーザの選択の繰り返しに従って、前記第2の検索キー選択ステップを複数回繰り返し、各回において、今回選択された次の検索キーと以前の回で選択された検索キーと前記第1の検索キー選択ステップにより選択された検索キーとの全部にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる繰り返しステップと
を有する。
According to another aspect of the present invention, a method for searching for a data item that matches a search key from among a number of data items includes:
A storage step of storing a character string group composed of a number of character strings respectively associated with a number of data items, wherein each character string in the character string group belongs to a plurality of categories related to each data item Including the concatenation of a plurality of key items or the concatenation of identification codes of the plurality of key items;
A first search key selection step of selecting a search key from the key items included in the character string group according to a user's selection;
A search step for issuing a search request for searching the character string group for a character string that matches the selected search key;
A key list display step of extracting and displaying key items belonging to the category designated by the user from the searched character strings obtained as search results for the search request;
A next search key is selected from the displayed key items according to the user's selection, and the selected next search key and the search key selected by the first search key selection step are selected. A second search key selection step for causing the search means to operate again so as to issue a search request for searching for a character string matching both from the character string group;
A second search key selection step as means;
The second search key selection step is repeated a plurality of times in accordance with repetition of the user's selection, each time, the next search key selected this time, the search key selected in the previous time, and the first search key selection And a repetitive step of causing the search means to operate again so as to issue a search request for searching the character string group for a character string that matches all of the search keys selected in the step.

本発明のまた別の側面に従うコンピュータプログラムは、上述した検索方法をコンピュータに実行させるものである。   A computer program according to still another aspect of the present invention causes a computer to execute the above-described search method.

上述した本発明のデータ検索のためのシステム、方法及びコンピュータプログラムのそれぞれによれば、検索結果をドルダウンする場合における検索キーの指定順序が自由に変更できる。   According to each of the system, method, and computer program for data search of the present invention described above, the search key designation order can be freely changed when the search result is pulled down.

本発明の好適な一つの実施形態によれば、前記多数のデータアイテムに関連付けられた多数のサーチ用ファイルが保存される。保存された多数のサーチ用ファイルの各々のファイル名に、前記多数の文字列の各々が組み込まれている。そして、検索キーが選択された各回において、今回選択された次の検索キーと、以前の回で選択された検索キーと、最初に選択された検索キーと、他のカテゴリの未選択の検索キーの代用としてのワイルドカードとを連結してなる検索ファイル名が、作成される。そして、作成された検索ファイル名にマッチする前記サーチ用ファイルのファイル名を検索するための検索要求が、発行される。   According to a preferred embodiment of the present invention, a number of search files associated with the number of data items are stored. Each of the large number of character strings is incorporated in the file name of each of the large number of saved search files. Then, each time the search key is selected, the next search key selected this time, the search key selected in the previous time, the first selected search key, and the unselected search keys of other categories A search file name formed by concatenating a wild card as a substitute for is created. Then, a search request for searching for the file name of the search file that matches the created search file name is issued.

この構成によれば、コンピュータのOSが提供するファイル名検索の機能を利用して所望のデータアイテムが検索できるので、検索速度が高速である。   According to this configuration, since a desired data item can be searched using the file name search function provided by the OS of the computer, the search speed is high.

上記実施形態によれば、さらに、各サーチ用ファイルのファイル名に組み込まれた前記各文字列では、各キーアイテム又は前記各キーアイテムの識別符号が所定の区切り文字により両側から挟まれるようにして、前記複数のキーアイテム又は前記複数のキーアイテムの識別符号が連結されるとともに、前記複数のキーアイテム又は前記複数のキーアイテムの識別符号を連結したものの先頭と末尾にそれぞれ所定の接頭文字と接尾文字が付加されている。   According to the above-described embodiment, each key item or the identification code of each key item is further sandwiched from both sides by a predetermined delimiter in each character string incorporated in the file name of each search file. The identification codes of the plurality of key items or the plurality of key items are concatenated, and a predetermined prefix character and a suffix are respectively added to the beginning and the end of the plurality of key items or the identification codes of the plurality of key items concatenated. A character is added.

この構成によると、選択された検索キーとワイルドカードを連結して検索ファイル名を作成する時に、検索ファイル名の先頭と末尾に必ずワイルドカードを付けることができ、その結果、マッチするファイル名をサーチするときに、検索ファイル名内の検索キーが先頭又は末尾かどうかをチェックする手間が省け、検索速度が向上する。   According to this configuration, when creating a search file name by concatenating the selected search key and wildcard, you can always add a wildcard to the beginning and end of the search file name. When searching, it is possible to save the trouble of checking whether the search key in the search file name is at the head or tail, and the search speed is improved.

またさらに、上記実施形態によれば、各サーチ用ファイルには、各データアイテムの参照情報を格納することができる。それにより、各データアイテム自体は、サーチ用ファイルからは分離して、コンピュータ内外の任意の場所に存在することができる。   Furthermore, according to the above embodiment, the reference information for each data item can be stored in each search file. Thus, each data item itself can be separated from the search file and can be present at any location inside or outside the computer.

本発明の別の好適な実施形態によれば、キーアイテムリストファイルが保存され、その保存されたキーアイテムリストファイル内に、前記多数の文字列が、互いに区別されて格納される。この構成によれば、(前述のようにサーチ用ファイルのファイル名に、前記複数のキーアイテム又はそれらの識別符号を連結してなる文字列を組み込んだ場合には、ファイル名の長さの限界により、ファイル名に組み込めるキーアイテムの個数、つまり指定できる検索キーの個数が制限されるのに対し)、ファイル名の長さの限界により指定できる検索キーの個数が制限されるという問題はない。   According to another preferred embodiment of the present invention, a key item list file is stored, and the plurality of character strings are stored separately from each other in the stored key item list file. According to this configuration, as described above, when a character string formed by concatenating the plurality of key items or their identification codes is incorporated into the file name of the search file, the file name length limit (This limits the number of key items that can be incorporated into a file name, that is, the number of search keys that can be specified), but there is no problem that the number of search keys that can be specified is limited by the limit of the file name length.

上記いずれの実施形態においても、前記各文字列が、前記各データアイテムに関する前記複数のキーアイテムの識別符号を連結したものを含む場合には、各キーアイテムの識別符号として、前記各キーアイテムを構成する文字の各々の文字コードを、M進数(Mは2より大きい数)を表す文字列に変換したものを採用することができる。或いは、別の方法として、前記多数のデータアイテムに関する多数のキーアイテムが登録された中間テーブルファイルを用意し、そして、各キーアイテムの識別符号として、前記中間テーブルファイル上で前記各キーアイテムを識別するための符号を採用してもよい。後者の方法においては、前記各キーアイテムの識別符号として、例えば、前記中間テーブルファイル上での前記各キーアイテムの位置を特定するための符号を用いることができる。   In any of the above embodiments, when each of the character strings includes a concatenation of the identification codes of the plurality of key items related to the data items, the key items are used as the identification codes of the key items. It is possible to adopt a character string in which each character code constituting the character code is converted into a character string representing an M-ary number (M is a number greater than 2). Alternatively, as another method, an intermediate table file in which a large number of key items related to the large number of data items are registered is prepared, and each key item is identified on the intermediate table file as an identification code of each key item. You may employ | adopt the code | symbol for doing. In the latter method, for example, a code for specifying the position of each key item on the intermediate table file can be used as the identification code of each key item.

このような方法により、キーアイテム自体ではなく、キーアイテムの識別符号を使用して上記文字列を構成することにより、各キーアイテム(検索キー)を表記する文字数が減る可能性が高いので、指定できる検索キーの個数が増大する。   By configuring the above character string using the identification code of the key item instead of the key item itself, it is highly possible that the number of characters representing each key item (search key) will be reduced. The number of search keys that can be increased.

以下、図面を参照して、本発明の好適な実施形態を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の第1の実施形態にかかる検索システムの全体構成を示す。   FIG. 1 shows the overall configuration of a search system according to the first embodiment of the present invention.

本実施形態にかかる検索システム100は、(必ずしもそうでなければならないわけではないが)典型的にはコンピュータプログラムにより実装され、1または複数のコンピュータにより実行される。図1に示すように、検索システム100は、検索エンジン102とコンバータ104を有する。   The search system 100 according to the present embodiment is typically (although not necessarily) implemented by a computer program and executed by one or more computers. As shown in FIG. 1, the search system 100 includes a search engine 102 and a converter 104.

検索エンジン102は、ファイル名検索の方法を用いて、多数のデータアイテムの中から、特定のデータアイテムを検索する機能をもつ。すなわち、検索エンジン102は、図1に矢印で示されるように、ユーザから指定された検索キーを入力し(処理130)、指定された検索キーにマッチするファイル名の検索要求をコンピュータのOSのファイルシステム110へ送り(処理132)、そのファイル名検索の検索結果(検索されたファイル名)のリストをファイルシステム110から受け取り(処理134)、そして、その受け取った検索結果リストに基づいてユーザに提示すべき所定情報の表示を作成してコンピュータの表示装置へ表示する(処理136)。ここで、処理136で表示されるユーザに提示すべき所定情報とは、例えば、ユーザが次の検索キーとして指定することができるキーアイテムのリストである。   The search engine 102 has a function of searching for a specific data item from among a large number of data items using a file name search method. That is, as indicated by an arrow in FIG. 1, the search engine 102 inputs a search key designated by the user (process 130), and sends a search request for a file name that matches the designated search key to the OS of the computer OS. A list of search results (searched file names) of the file name search is received from the file system 110 (process 134) and sent to the user based on the received search result list. A display of predetermined information to be presented is created and displayed on the display device of the computer (process 136). Here, the predetermined information to be presented to the user displayed in the process 136 is, for example, a list of key items that the user can specify as the next search key.

コンバータ104は、上述したファイル名検索の対象であるファイル122,122,…(以下、サーチ用ファイルという)の群からなるデータベース126を、ストレージ装置120内に自動的に生成する機能をもつ。すなわち、コンバータ104は、図1に矢印で示すように、多数のデータアイテムに関する検索方法(例えば、何のカテゴリの何のキーアイテムが、検索キーとして指定できるか)を定義した検索方法定義情報を入力し(処理140)、入力された検索方法定義情報に基づいて、上記多数のデータアイテムにそれぞれ関連付けられた多数のサーチ用ファイル122,122,…を自動的に生成し、そして、生成されたサーチ用ファイル122,122,…を、ファイルシステム110を介して、ストレージ装置120の所定ディレクトリに保存する(処理140,142)。上述した検索エンジン102によるファイル名検索が実行されるより前に、準備作業として、コンバータ104により自動的に(又は、ユーザの手動入力により)、サーチ用ファイル122,122,…が、ストレージ装置120内に保存されている必要がある。   The converter 104 has a function of automatically generating in the storage device 120 a database 126 consisting of a group of files 122, 122,... That is, as shown by arrows in FIG. 1, the converter 104 stores search method definition information that defines a search method related to a large number of data items (for example, what key item in which category can be designated as a search key). Are automatically generated based on the input search method definition information, and a plurality of search files 122, 122,... Respectively associated with the plurality of data items are generated. The search files 122, 122,... Are stored in a predetermined directory of the storage apparatus 120 via the file system 110 (processing 140, 142). Prior to the file name search by the search engine 102 described above, as a preparatory work, the search file 122, 122,... Is automatically stored by the converter 104 (or manually input by the user). Must be stored within.

検索エンジン102が実行されるコンピュータと、コンバータ104が実行されるコンピュータと、ストレージ装置120を管理するコンピュータとは、同じマシンであっても、異なるマシンであってもよい。   The computer on which the search engine 102 is executed, the computer on which the converter 104 is executed, and the computer that manages the storage apparatus 120 may be the same machine or different machines.

サーチ用ファイル122,122,…の各々は、ユーザにとっての最終的な検索対象である複数のデータアイテムの各々に関連付けられている。本実施形態では、一例として、各データアイテムは、各ファイル122の内容それ自体又はその内容の一部である。従って、各ファイル122を開くことで、ユーザは各データアイテムにアクセスすることができる。或いは、変形例として、各データアイテムそれ自体ではなく、各データアイテムの参照情報が、各ファイル122の内容それ自体又はその内容の一部であってもよい。ここで、各データアイテムの参照情報とは、例えば、各データアイテムを格納した各ファイル(以下、上記のサーチ用ファイルと区別するために実体ファイルという)のパス情報、各実体ファイルへのリンク又は各実体ファイルのエイリアスなどである。この場合、各実体ファイル(つまり、各データアイテム)は、各ファイル122とは別の保存場所(そのコンピュータ内外の何処でもよい)に存在していてよい。各サーチ用ファイル122を開いてその中の参照情報を操作することで、ユーザは各データアイテムにアクセスすることができる。   Each of the search files 122, 122,... Is associated with each of a plurality of data items that are final search targets for the user. In the present embodiment, as an example, each data item is the content itself of each file 122 or a part of its content. Therefore, by opening each file 122, the user can access each data item. Alternatively, as a modification, the reference information of each data item may be the content itself of each file 122 or a part of the content, instead of each data item itself. Here, the reference information of each data item is, for example, path information of each file storing each data item (hereinafter referred to as an entity file to be distinguished from the search file), a link to each entity file, or An alias for each entity file. In this case, each entity file (that is, each data item) may exist in a storage location (anywhere inside or outside the computer) different from each file 122. By opening each search file 122 and manipulating the reference information therein, the user can access each data item.

各サーチ用ファイル122のファイル名は、各ファイル122に関連付けられた各データアイテムを検索するときに検索キーとして使用することができる所定の複数のキーアイテムに基づいて一定の法則に従って生成された文字列であり、これは、コンバータ104によって自動的に決定される。すなわち、上述した処理140でコンバータ104に入力される検索方法定義情報に、複数のデータアイテムの各々毎に、上述した検索キーとして使用可能な複数のキーアイテムが、検索方法の一項目として定義されており、その定義に基づいてコンバータ104が、各データアイテムに関連付けられた各サーチ用ファイル122のファイル名を生成する。   The file name of each search file 122 is a character generated according to a certain rule based on a plurality of predetermined key items that can be used as search keys when searching for each data item associated with each file 122. A column, which is automatically determined by the converter 104. That is, in the search method definition information input to the converter 104 in the process 140 described above, a plurality of key items that can be used as the search key described above are defined as one item of the search method for each of the plurality of data items. Based on the definition, the converter 104 generates a file name of each search file 122 associated with each data item.

各サーチ用ファイル122のファイル形式は、予め固定的に定まっていても(例えば、テキスト(.txt)形式で固定でも)よいし、各ファイル122の内容に応じて異なってもよいが、いずれにしても、これも、コンバータ104によって自動的に決定される。例えば、上述した処理140で入力される検索方法定義情報に、データアイテム毎に、サーチ用ファイルの形式が、検索方法の一項目として定義されており、その定義に基づいてコンバータ104が、各データアイテムに関連付けられた各サーチ用ファイル122のファイル形式を決定する。   The file format of each search file 122 may be fixed in advance (for example, fixed in text (.txt) format) or may vary depending on the contents of each file 122, but either However, this is also automatically determined by the converter 104. For example, in the search method definition information input in the processing 140 described above, the format of the search file is defined as one item of the search method for each data item, and the converter 104 determines each data item based on the definition. The file format of each search file 122 associated with the item is determined.

また、各サーチ用ファイル122の内容は、前述したように、各データアイテムそれ自体を含んだデータであっても、或いは、各データアイテムの参照情報を含んだデータであってもよいが、いずれにしても、これも、コンバータ104によって自動的に決定される。例えば、上述した処理140で入力される検索方法定義情報に、データアイテム毎に、サーチ用ファイルの内容を決定するための情報(例えば、各データアイテムそれ自体(例えばテキストデータ)、又は各データアイテムを格納した実体ファイルの参照情報)が、検索方法の一項目として定義されており、その定義に基づいてコンバータ104が、各データアイテムに関連付けられた各サーチ用ファイル122の内容を決定する(例えば、検索方法定義情報に定義された各データアイテムそれ自体もしくは実体ファイルの参照情報を、サーチ用ファイル122の内容とする、又は、その参照情報により特定される実体ファイルの内容を、サーチ用ファイル122の内容とする、など)。   Further, as described above, the contents of each search file 122 may be data including each data item itself or data including reference information of each data item. In any case, this is also automatically determined by the converter 104. For example, information for determining the contents of the search file for each data item (for example, each data item itself (for example, text data), or each data item is included in the search method definition information input in the processing 140 described above. (Reference information of the entity file that stores) is defined as one item of the search method, and based on the definition, the converter 104 determines the contents of each search file 122 associated with each data item (for example, The reference information of each data item or entity file defined in the search method definition information is used as the contents of the search file 122, or the contents of the entity file specified by the reference information are used as the search file 122. Etc.).

上述した検索エンジン102によるサーチ用ファイル122,122,…のファイル名検索は、高速に行うことができる。すなわち、OSのファイルシステム110は、一般に、それが管理するストレージ装置120内にファイル122,122,…を保存するときに、それらのファイル122,122,…のファイル名とそれらのファイル122,122,…それ自体へのリンクとをファイル名管理情報124にエントリし、そのファイル名管理情報124を、ストレージ装置120内で、ファイル122,122,…それ自体から分離して、ストレージ装置120内のOSが使用する特別の領域に保存している。そして、ファイル名管理情報124は、ほぼ常にコンピュータの主メモリ上にキャッシュされている。そして、ファイルシステム110は、前述した処理132で検索エンジン102からファイル名検索の要求を受け取ると、キャッシュされたファイル名管理情報124上でファイル名のサーチを行ない、そのときに、サーチ用ファイル122,122,…それ自体へのアクセスは行われない。そのため、ファイル名検索は高速に行われる。   The search engine 102 described above can search the file names of the search files 122, 122,... At high speed. That is, when the file system 110 of the OS generally stores the files 122, 122,... In the storage device 120 managed by the OS, the file names of the files 122, 122,. ,... Are entered into the file name management information 124, and the file name management information 124 is separated from the files 122, 122,. Stored in a special area used by the OS. The file name management information 124 is almost always cached on the main memory of the computer. When the file system 110 receives a file name search request from the search engine 102 in the process 132 described above, the file system 110 searches for the file name on the cached file name management information 124, and at that time, the search file 122. , 122,... Access to itself is not performed. Therefore, the file name search is performed at high speed.

このファイル名検索の高速性の利点を活かして、検索エンジン102は、いわゆるドリルダウンと呼ばれる検索結果の段階的な絞込みを行う場合に、前の絞り込み段階で得られた検索結果(絞り込まれたファイル名群)上で次の絞り込み段階のサーチを行うという従来の一般的な方法を用いず、その代わりに、どの絞り込み段階においても、ファイル名の母群(すなわち、全てのサーチ用ファイル122,122,…のファイル名の群)上でサーチを行うという方法を行う。そして、このような絞り込み方法を可能にするために、ワイルドカード、特に任意の長さの任意の文字を意味するワイルドカード(典型的には「*」)が効果的に使用される。その結果、従来のようなドリルダウンのための検索キーの指定順序の制限が解消され、自由な順序で検索キーが指定できる。   Taking advantage of the high speed of the file name search, the search engine 102 performs the search result obtained in the previous refinement stage (a refined file) when performing so-called drill-down refinement of search results. Instead of using the conventional general method of searching for the next refinement stage on the name group), instead of using the parent group of file names (that is, all search files 122, 122) at any refinement stage. ,... (Search for file names) is performed. In order to enable such a narrowing-down method, a wild card, particularly a wild card (typically “*”) that means an arbitrary character having an arbitrary length is effectively used. As a result, the restriction on the search key designation order for conventional drill-down is eliminated, and the search keys can be designated in any order.

図2は、コンバータ104によるサーチ用ファイル122,122,…の作成方法を示す。   FIG. 2 shows a method for creating search files 122, 122,.

図2に示されるように、前述した検索方法定義情報が登録された例えばCSV形式の一つのファイル(以下、検索方法定義ファイルという)160が、コンバータ104に入力される。検索方法定義ファイル160には、既に説明したように、複数のデータアイテムの各々について、検索キーとして使用可能な複数のキーアイテム、サーチ用ファイルの形式、及びサーチ用ファイルの内容を決定するための情報(例えば、各データアイテムそれ自体、又は各データアイテムを格納した実体ファイルの参照情報)が定義されている。図2に示された検索方法定義ファイル160の具体例では、第1行に、検索キーとして使用可能な複数のキーアイテムのカテゴリ名(例えば「データアイテム番号」、「都道府県」、「市区」、「町村」、「会社」、「姓」、「名」及び「参照ファイル名」などが、順に定義されている。第2行目以降の各行は、各データアイテムに対応しており、そこには、各データアイテムの検索キーとして使用可能な複数の上記カテゴリに属するキーアイテムをそれぞれ示す文字列が順に定義されている。   As shown in FIG. 2, for example, one file 160 (hereinafter referred to as a search method definition file) 160 in which the search method definition information is registered is input to the converter 104. In the search method definition file 160, as described above, for each of a plurality of data items, a plurality of key items that can be used as search keys, a search file format, and a search file content are determined. Information (for example, each data item itself or reference information of an entity file storing each data item) is defined. In the specific example of the search method definition file 160 shown in FIG. 2, the first row includes category names of a plurality of key items that can be used as search keys (for example, “data item number”, “prefecture”, “city” ”,“ Machimura ”,“ Company ”,“ Last Name ”,“ First Name ”,“ Reference File Name ”, etc. Each row after the second row corresponds to each data item, There are sequentially defined character strings indicating key items belonging to a plurality of categories that can be used as search keys for each data item.

なお、この具体例では、データアイテム毎のカテゴリ「参照ファイル名」のキーアイテムは、単に検索キーとして使用できるキーアイテムの一つであるだけでなく、サーチ用ファイルのファイル形式を指定していてもよいし(例えば、識別子「.txt」がテキスト形式を指定している)、又は、各データアイテムを格納した実体ファイルを指定してもよい(例えば、実体ファイル「0001.txt」にデータアイテム番号「001」のデータアイテムが格納されている)。この具体例のように、検索方法定義ファイル160上の特定のキーアイテムが、サーチ用ファイルのファイル形式又は実体ファイルを指定する役割を兼ねていてもよいが、変形例として、サーチ用ファイルのファイル形式を指定する情報及び/又は実体ファイルを指定する情報が、キーアイテムとは別に検索方法定義ファイル160上で定義されてもよい。   In this specific example, the key item of the category “reference file name” for each data item is not only one of the key items that can be used as a search key, but also specifies the file format of the search file. (For example, the identifier “.txt” specifies the text format), or the entity file storing each data item may be specified (for example, the data item in the entity file “0001.txt”) (Data item number "001" is stored). As in this specific example, a specific key item on the search method definition file 160 may also serve to specify the file format or entity file of the search file, but as a modification, the file of the search file Information specifying the format and / or information specifying the entity file may be defined on the search method definition file 160 separately from the key item.

このような検索方法定義ファイル160を作成すること、並びに、このような検索方法定義ファイル160上で検索キーの追加、変更及び消去、並びにデータアイテムの追加、変更及び消去を行うことは、ユーザにとり容易である。要するに、データベースのメンテナンスが容易である。そのため、スケジューラのように分単位でデータが増えていく用途にも適する。   It is for the user to create such a search method definition file 160, and to add, change and delete search keys and add, change and delete data items on such search method definition file 160. Easy. In short, database maintenance is easy. Therefore, it is also suitable for applications where data increases in minutes, such as a scheduler.

コンバータ104は、検索方法定義ファイル160を入力し、検索方法定義ファイル160の内容に従って、複数のデータアイテムにそれぞれ関連付けられた複数のサーチ用ファイル122,122,…を自動的に作成し保存する。そのとき、コンバータ104は、検索方法定義ファイル160から入力された各データアイテムの複数のキーアイテムを、一定の法則にしたがって、各データアイテムに関連付けられたサーチ用ファイル122のファイル名に変換する。1つのデータアイテムに関して、単一のサーチ用ファイルを生成してもよいし、2以上の所定数のサーチ用ファイルを生成してもよい。1つのデータアイテムに関して2以上のサーチ用ファイルを生成する場合には、それら2以上のサーチ用ファイルは異なるフォルダ(ディレクトリ)に配置されることが望ましい。   The converter 104 receives the search method definition file 160, and automatically creates and stores a plurality of search files 122, 122,... Respectively associated with a plurality of data items according to the contents of the search method definition file 160. At that time, the converter 104 converts a plurality of key items of each data item input from the search method definition file 160 into a file name of the search file 122 associated with each data item according to a certain rule. A single search file may be generated for one data item, or a predetermined number of search files of two or more may be generated. When two or more search files are generated for one data item, the two or more search files are preferably placed in different folders (directories).

各サーチ用ファイル122のファイル名の命名方法には多くのバリエーションがある。最も単純な方法の一つは、本明細書において「直接型」と呼ぶ命名方法である。直接型の命名方法を用いて、データアイテム毎に単一のサーチ用ファイル122を生成する場合、検索方法定義ファイル160から入力されたデータアイテム毎の複数のキーアイテムを直接的に表現する文字列を、一定の順序で(例えば、検索方法定義ファイル160上での配列順とおりの順序で)、単純に連結することにより、その単一のサーチ用ファイル122のファイル名が決定される。この場合、入力された文字列をそのままファイル名で用いてもよいし、或いは、入力された文字列が日本語のような2バイトコード文字を含む場合には、(複数バイト文字は、サーバーや通信環境によって使えないことがあるので)日本語から英語への翻訳のような自然言語翻訳を伴って2バイトコード文字を1バイトコード文字に変換し、変換後の1バイトコード文字を用いてもよい。いずれにしても、連結された隣り合うキーアイテムの間には、所定の区切り文字(例えば、アンダーバー「_」が挿入されることが望ましい。区切り文字を利用することにより、各キーアイテムの文字数に関係なく、ファイル名に組み込まれたキーアイテムの各々がどのカテゴリに属するのかが、判断できる。   There are many variations in the naming method of each search file 122. One of the simplest methods is the nomenclature referred to herein as “direct type”. When a single search file 122 is generated for each data item using a direct naming method, a character string that directly represents a plurality of key items for each data item input from the search method definition file 160 Are simply concatenated in a certain order (for example, in the order of arrangement on the search method definition file 160), and the file name of the single search file 122 is determined. In this case, the input character string may be used as it is in the file name, or when the input character string includes a 2-byte code character such as Japanese (a multi-byte character is a server or Even if you convert a 2-byte code character to a 1-byte code character with a natural language translation such as translation from Japanese to English, and use the converted 1-byte code character (because it may not be usable depending on the communication environment) Good. In any case, it is desirable to insert a predetermined delimiter (for example, an underscore “_”) between adjacent linked key items. By using the delimiter, the number of characters of each key item can be increased. Regardless, it can be determined to which category each of the key items incorporated in the file name belongs.

ここに、一つの具体例を示す。一例として、CSV形式の検索方法定義ファイル160上で、データアイテム毎の複数のキーアイテムが以下のように定義されていたと想定する。下記の例では、1行目はキーアイテムのカテゴリを定義し、2行目以下の各行が各データアイテムの複数のキーアイテムを定義している。   Here, one specific example is shown. As an example, it is assumed that a plurality of key items for each data item are defined as follows on the search method definition file 160 in the CSV format. In the example below, the first line defines a category of key items, and each line below the second line defines a plurality of key items for each data item.

<キーアイテム定義の例>
番号,氏,名,生まれ年,生まれ月,生まれ日,性別,実施年,実施月,実施日,終了月日,予定年,予定月,予定日,期限,参照ファイル名
001,渉,庄司,1950,04,27,2007,男,09,10,0910,2007,09,10,1020,200709012330.txt
002, 暁生,村田,1967,12,06,男,2007,09,10,0910,2007,09,10,1020,20070801010.txt
<Example of key item definition>
Number, Name, Date of birth, Date of birth, Date of birth, Gender, Implementation year, Implementation month, Implementation date, End month, Schedule year, Schedule month, Schedule date, Deadline, Reference file name
001, Wataru, Shoji, 1950, 04, 27, 2007, Male, 09, 10, 0910, 2007, 09, 10, 1020, 200709012330.txt
002, Mibu, Murata, 1967, 12, 06, Male, 2007, 09, 10, 0910, 2007, 09, 10, 1020, 20070801010.txt

このキーアイテム定義の例に基づくと、それぞれのデータアイテムに関連付けられたサーチ用ファイルのファイル名は、例えば以下のように決定される。   Based on this example of the key item definition, the file name of the search file associated with each data item is determined as follows, for example.

<直接型の命名法によるファイル名の例>
001_Wataru_Shoji_1950_04_27_m_2007_09_10_0910_2007_09_10_1020_200709012330.txt
002_Akio_Murata_1967_12_06_m_2007_09_10_0910_2007_09_10_1020_20070801010.txt
<Example of file name by direct naming method>
001_Wataru_Shoji_1950_04_27_m_2007_09_10_0910_2007_09_10_1020_200709012330.txt
002_Akio_Murata_1967_12_06_m_2007_09_10_0910_2007_09_10_1020_20070801010.txt

直接型の命名法の上記例では、各データアイテムの複数のキーアイテムの全てが、各データアイテムのサーチ用ファイルのファイル名に組み込まれている。この場合、異なるデータアイテムのサーチ用ファイルが、同じディレクトリ(フォルダ)に保存されてよい。   In the above example of the direct type nomenclature, all of the plurality of key items of each data item are incorporated in the file name of the search file for each data item. In this case, search files for different data items may be stored in the same directory (folder).

他方、直接型の変形例として、階層型のディレクトリ(フォルダ)を利用して、異なるデータアイテムのサーチ用ファイルが、異なるディレクトリ(フォルダ)に保存されてもよい。この場合、上記例のように各データアイテムの複数のキーアイテムの全てが、各データアイテムのサーチ用ファイルのファイル名に組み込まれてもよいが、別法として、複数のキーアイテムの内の一部がディレクトリ名に組み込まれ、残りがファイル名に組み込まれるというように、各データアイテムの複数のキーアイテムがディレクトリ名とファイル名に分散して組み込まれてもよい。要するに、この別法では、ディレクトリ名とファイル名を合わせたパス名が、複数のキーアイテムの連結によって構成される。具体例は、以下のとおりである。下記の例では、スラッシュ「/」が階層の異なるディレクトリ(フォルダ)間の区切りを意味している。   On the other hand, as a direct modification, search files for different data items may be stored in different directories (folders) using a hierarchical directory (folder). In this case, as in the above example, all of the plurality of key items of each data item may be incorporated in the file name of the search file of each data item. Alternatively, one of the plurality of key items may be included. A plurality of key items of each data item may be distributed and incorporated in the directory name and the file name, such that the part is incorporated in the directory name and the rest is incorporated in the file name. In short, in this alternative method, a path name combining a directory name and a file name is formed by concatenating a plurality of key items. Specific examples are as follows. In the example below, the slash “/” means a separator between directories (folders) at different levels.

<直接型の別の命名法によるパス名の例>
Wataru_Shoji_1950_04_27_m/2007/09/10_0910_10_1020_200709012330.txt
Akio_Murata_1967_12_06_m/2007/09/10_0910_2007_09_10_1020_20070801010.txt
<Examples of path names using another direct naming method>
Wataru_Shoji_1950_04_27_m / 2007/09 / 10_0910_10_1020_200709012330.txt
Akio_Murata_1967_12_06_m / 2007/09 / 10_0910_2007_09_10_1020_20070801010.txt

同じディレクトリ(フォルダ)に多数のサーチ用ファイルが存在することは、コンピュータにとっては実際上の問題にならない。例えば、現時点で市販されている一般的なパーソナルコンピュータは、1つのフォルダに少なくとも10万個のサーチ用ファイルが存在しても、支障なくファイル名検索を行なうことができる。しかし、ユーザにとっては、上述した後者の方法のように、適切に命名された階層型のフォルダに分類されてサーチ用ファイルが保存されている方が、便利である。例えばスケジューラにこの実施形態を用いる場合には、例えば、人別の複数のフォルダを用意し、各人のフォルダの中に、年別の複数のフォルダを用意し、各年のフォルダの中に、月別の複数のフォルダを用意し、さらに、各月のフォルダの中に複数のサーチ用ファイルを保存し、各サーチ用ファイルのファイル名に日付+開始時間+終了時間+場所情報+参照ファイル名を組み込む、というような運用ができる。   The existence of a large number of search files in the same directory (folder) is not a practical problem for a computer. For example, a general personal computer marketed at present can perform a file name search without any trouble even if at least 100,000 search files exist in one folder. However, it is convenient for the user that the search files are stored by being classified into appropriately named hierarchical folders as in the latter method described above. For example, when this embodiment is used for a scheduler, for example, a plurality of folders for each person are prepared, a plurality of folders for each year are prepared in each person's folder, and a folder for each year is prepared. Prepare multiple folders for each month, save multiple search files in each month folder, and add the date + start time + end time + location information + reference file name to the file name of each search file Operation such as incorporation is possible.

このように、階層型のディレクトリ(フォルダ)にサーチ用ファイルを分類して保存し、それぞれのサーチ用ファイルのパス名に、複数のキーアイテムを組み込むという方法は、上述した直接型の命名法だけでなく、以下に説明される他の型の命名法においても採用できる。従って、以下の他の型の命名法についての説明において、「ファイル名」という用語は、文字通りのファイル名だけを意味するものではなく、パス名を意味してもよい。   In this way, the method of classifying and storing search files in a hierarchical directory (folder) and incorporating a plurality of key items into the path name of each search file is the only direct naming method described above. Rather, it can be employed in other types of nomenclature described below. Thus, in the description of other types of naming below, the term “file name” may mean not only a literal file name but also a path name.

さて、サーチ用ファイルの別の型の命名法として、本明細書で「エンコード型」と呼ばれる方法がある。エンコード型の命名法では、入力された各キーアイテムの各文字が、(日本語のように複数バイト文字を含んでいても自然言語翻訳を行うことなしに、コンバータ104により自動的に)1バイト文字の文字列にエンコードされる。そして、それらエンコードされた文字列で表現された複数のキーアイテムの連結したものが、サーチ用ファイルのファイル名にされる。エンコード方法としては、入力された各文字の文字コード(例えば、UTF-8(Unicode Translation Format - 8)を基本にした文字コード)を、M進数(Mは2より大きい数)、例えば16進数を表す1バイト文字群(0-9,
A-F)を用いた文字列に、変換する方法が採用される。具体例を挙げると、例えば、入力された複数のキーアイテムの文字列が、
庄司,渉,1950,04,27,男
である場合、エンコード型の命名法によれば、ファイル名は、例えば、
5E8453F8_6E09_G31G39G35G30_G3H34_G32G37_7537.txt
となる。エンコード型の命名法は、日本語文字で検索することが多い用途、例えば、名刺管理や住所録などの用途の場合に便利である。
As another type of nomenclature for search files, there is a method called “encoding type” in this specification. In the encoding type nomenclature, each character of each input key item is 1 byte (automatically by the converter 104 without any natural language translation even if it contains multi-byte characters such as Japanese). Encoded to a character string. Then, a concatenation of a plurality of key items expressed by these encoded character strings is used as the file name of the search file. As an encoding method, a character code of each inputted character (for example, a character code based on UTF-8 (Unicode Translation Format-8)) is converted to an M number (M is a number larger than 2), for example, a hexadecimal number. 1-byte character group (0-9,
A method of converting to a character string using AF) is adopted. As a specific example, for example, character strings of a plurality of input key items are
Shoji, Wataru, 1950, 04, 27, if you are a man, according to the encoding type nomenclature, the file name is, for example,
5E8453F8_6E09_G31G39G35G30_G3H34_G32G37_7537.txt
It becomes. The encoding type nomenclature is convenient for applications that frequently search in Japanese characters, such as business card management and address book applications.

また別の型のファイル名の命名法として、本明細書で「複合型」と呼ばれる方法がある。この命名方法は、上述した直接型とエンコード型の命名法を組み合わせたものである。すなわち、上記のエンコード型の方法では、入力文字が半角英数文字である場合、それはより長い文字列にエンコードされるという問題がある。この問題を解決するため、複合型の命名法では、複数のキーアイテムのカテゴリを、エンコードするべきものとエンコードしないものとに分類して、前者のカテゴリに属するキーアイテムはエンコードして、エンコード後の文字列を用い、後者のカテゴリに属するキーアイテムはエンコードせずに、入力された文字列をそのまま用いて、ファイル名を生成する。この場合、そこに属する全てのキーアイテムの入力文字列が半角英数文字のみからなるカテゴリは、エンコードされないものとして、それ以外のカテゴリは、エンコードされるものとして、分類されることになる。そのような分類は、例えば、検索方法定義ファイル160において、キーアイテムのカテゴリ毎にエンコードするか否かのフラグ情報を付記するというような方法で、予め設定されていてもよいし、或いは、コンバータ104が検索方法定義ファイル160に記述されたキーアイテムの文字種を分析することで自動的に行われてもよい。   As another type of file name naming method, there is a method called “composite type” in this specification. This naming method is a combination of the direct type and encoded type naming methods described above. That is, in the above encoding type method, when the input character is a single-byte alphanumeric character, there is a problem that it is encoded into a longer character string. In order to solve this problem, the composite type nomenclature classifies multiple key item categories into those that should be encoded and those that do not encode, the key items belonging to the former category are encoded, and after encoding. The key item belonging to the latter category is encoded, and the input character string is used as it is without generating the file name. In this case, the category in which the input character strings of all the key items belonging thereto are composed only of alphanumeric characters are not encoded, and the other categories are classified as encoded. Such a classification may be set in advance, for example, by adding a flag information indicating whether or not to encode for each category of the key item in the search method definition file 160, or a converter 104 may be automatically performed by analyzing the character type of the key item described in the search method definition file 160.

複合型の命名法の具体例を挙げると、定義された複数のキーアイテムが、
庄司,渉,1950,04,27,男
である場合、半角英数文字で表現されてないキーアイテム「庄司」、「渉」及び「男」だけがエンコードされるので、ファイル名は、例えば、
5E8453F8_6E09_1950_04_27_7537.txt
となる。複合型の命名法は、日本語文字と半角英数文字の双方で検索することが多い用途、例えば名刺管理や住所録やスケジューラなどの用途で便利である。
Specific examples of complex nomenclature include multiple defined key items
Shoji, Wataru, 1950, 04, 27, if it is a man, only the key items `` Shoji '', `` Wa '' and `` Men '' that are not expressed in half-width alphanumeric characters are encoded, so the file name is, for example,
5E8453F8_6E09_1950_04_27_7537.txt
It becomes. The compound nomenclature is convenient for applications that frequently search both Japanese characters and alphanumeric characters, such as business card management, address book, and scheduler.

ところで、上述したエンコード型や複合型の命名法において、エンコード後のキーアイテムの表記に使用できる文字群は、上述した16進数文字群だけに限られるわけではない。16進数文字群に代えて、より大きい進数の文字群、例えば、62進数文字群(例えば、0-9, a-z, A-Z)を使用することにより、ファイル名をより短くするか又はファイル名中にさらに多くのキーアイテムを組み込むことが可能になる。ファイル名が短くなれば、検索速度はさらに向上する。   By the way, in the encoding type or composite type naming method described above, the character group that can be used for the notation of the key item after encoding is not limited to the hexadecimal character group described above. Use shorter hex character groups instead of hex character groups, eg 62 hex character groups (eg 0-9, az, AZ) to shorten file names or include them in file names It becomes possible to incorporate more key items. The search speed is further improved if the file name is shortened.

以上のように、本実施形態におけるデータベースでは、各データアイテムの持つ複数のキーアイテムがファイル名の中に組み込まれる。それにより、データアイテムの検索や抽出の仕組みが、OSの基本機能であるファイル名検索に置き換えられる。その結果、高速に検索が行なえる。本実施形態におけるデータベースでは、データベースのインデックスにファイル名が使される、ということができる。その結果、データアイテム自体のデータ形式として、画像、動画、ワープロ文書、スプレッドシートなど、コンピュータ上で扱える全ての形式が許容できる。従って、種々のデータ形式のデータアイテムを統括的に扱うことができる。また、サーチ用ファイルをXMLやHTMLで記述してもよく、そうすることで、コンピュータ内のストレージ装置内だけでなく外部の情報も統括的に処理することができる。   As described above, in the database according to the present embodiment, a plurality of key items possessed by each data item are incorporated into a file name. As a result, the data item search and extraction mechanism is replaced with the file name search, which is the basic function of the OS. As a result, the search can be performed at high speed. In the database according to the present embodiment, it can be said that a file name is used as an index of the database. As a result, all formats that can be handled on a computer, such as images, moving images, word processing documents, and spreadsheets, are acceptable as the data format of the data item itself. Therefore, it is possible to handle data items in various data formats in an integrated manner. Further, the search file may be described in XML or HTML, so that not only the storage device in the computer but also external information can be comprehensively processed.

次に、図1に示された検索システム102が行う検索方法について説明する。   Next, a search method performed by the search system 102 shown in FIG. 1 will be described.

この検索方法では、ユーザから指定される1以上の検索キーを用いて検索ファイル名が作られ、そして、その検索ファイル名にマッチするファイル名をもつサーチ用ファイルが検索される。このようなファイル名検索が1回以上行なわれて、検索結果としてのファイル名リストが得られる。その後に、そのファイル名リスト中からユーザにより選択されたサーチ用ファイルが開かれて、その選択されたサーチ用ファイルに関連付けられたデータアイテム(ユーザにとっての最終的な検索目的)が得られる。   In this search method, a search file name is created using one or more search keys designated by the user, and a search file having a file name that matches the search file name is searched. Such a file name search is performed one or more times, and a file name list as a search result is obtained. Thereafter, the search file selected by the user from the file name list is opened, and the data item (final search purpose for the user) associated with the selected search file is obtained.

上記のファイル名検索においてサーチされる範囲は、図3に示されるように、サーチ用ファイルのファイル名の母群(全てのサーチ用ファイルのファイル名)123である。複数の検索キーを順次に指定しながらファイル名群を段階的に絞り込む(ドリルダウン)場合でも、各段階でサーチされる範囲は、前段階で絞り込まれたファイル名群ではなく、ファイル名の母群である。ファイル名検索で使用される検索ファイル名は、ユーザにより指定された1以上の検索キーと、ワイルドカード「*」とを用いて、検索エンジン102により自動的に作られる。すなわち、ユーザにより指定された1以上のカテゴリの検索キーと、それ以外のカテゴリについてのワイルドカード「*」とが、ファイル名の中でのカテゴリの配列順序に対応した順序で、連結文字「_」を介して連結されることで、検索ファイル名が作成される。   As shown in FIG. 3, the search range in the above file name search is a mother group of file names of search files (file names of all search files) 123. Even when multiple search keys are specified in sequence and the file name group is narrowed down (drill-down), the search range at each stage is not the file name group narrowed down in the previous stage, but the file name mother. A group. The search file name used in the file name search is automatically created by the search engine 102 using one or more search keys designated by the user and the wild card “*”. That is, a search key for one or more categories designated by the user and a wildcard “*” for other categories are combined in the order corresponding to the arrangement order of the categories in the file name. The search file name is created.

複数の検索キーを順次に指定して検索結果をドリルダウンする場合には、その各段階において、今段階とそれ以前の全ての段階にてユーザにより指定されたカテゴリの検索キーと、それ以外のカテゴリについてのワイルドカード「*」とが連結されることで、検索ファイル名が作成される。   When drilling down the search results by specifying multiple search keys in sequence, the search key of the category specified by the user at this stage and all previous stages at that stage, and other The search file name is created by concatenating the wild card “*” for the category.

検索エンジン102による検索ファイル名の作成方法の具体例を以下に示す。例えば、サーチ用ファイルのファイル名の母群が次のようなものであるとする(各ファイル名内のキーアイテムのカテゴリは、左から順に「番号」、「名」、「姓」、「生まれ年」、「生まれ月」、「生まれ日」、「性別」、「都道府県」、「参照ファイル名」である)。   A specific example of a method for creating a search file name by the search engine 102 is shown below. For example, suppose the file name population of the search file is as follows (the key item categories in each file name are “number”, “first name”, “last name”, “born” in order from the left) Year, birth month, birth date, gender, prefecture, and reference file name).

001_Wataru_Shoji_1950_04_27_m_Tokyo_0001.txt
002_Maiko_Shoji_1978_05_27_f_Tokyo_0002.txt
003_Satoru_Shoji_1952_01_20_m_Tokyo_0003.txt
004_Akio_Murata_1967_12_06_m_Tokyo_0004.txt
005_Hiroaki_Otsuka_1949_04_04_m_Tokyo_0005.txt
006_Yoshie_Kidokoro_1960_04_25_f_Tokyo_0006.txt
007_Issei_Shoji_1990_04_27_m_Kanagawa_0007.txt
008_Hanako_Kidokoro_1990_04_25_f_Tokyo_0008.txt
001_Wataru_Shoji_1950_04_27_m_Tokyo_0001.txt
002_Maiko_Shoji_1978_05_27_f_Tokyo_0002.txt
003_Satoru_Shoji_1952_01_20_m_Tokyo_0003.txt
004_Akio_Murata_1967_12_06_m_Tokyo_0004.txt
005_Hiroaki_Otsuka_1949_04_04_m_Tokyo_0005.txt
006_Yoshie_Kidokoro_1960_04_25_f_Tokyo_0006.txt
007_Issei_Shoji_1990_04_27_m_Kanagawa_0007.txt
008_Hanako_Kidokoro_1990_04_25_f_Tokyo_0008.txt

この場合、カテゴリ「生まれ月」の検索キー「04」が指定された場合は、検索ファイル名は、
*_*_*_*_04_*_*_*_*.txt
というように、指定された検索キー「04」と、指定されてない検索キーの代用としてのワイルドカードとが連結されたものとなる。
In this case, if the search key “04” in the category “Birth month” is specified, the search file name is
* _ * _ * _ * _ 04 _ * _ * _ * _ *. Txt
Thus, the designated search key “04” and the wild card as a substitute for the undesignated search key are concatenated.

また、カテゴリ「氏」の検索キー「Shoji」が指定された場合は、検索ファイル名は、
*_*_Shoji_*_*_*_*_*_*.txt
となる。
If the search key “Shoji” for the category “Mr.” is specified, the search file name will be
* _ * _ Shoji _ * _ * _ * _ * _ * _ *. Txt
It becomes.

また、上記両方の検索キーが指定された場合には、検索ファイル名は、
*_*_Shoji_*_04_*_*_*_*.txt
となる。
If both the above search keys are specified, the search file name will be
* _ * _ Shoji _ * _ 04 _ * _ * _ * _ *. Txt
It becomes.

また、検索結果をドリルダウンする場合、例えば、最初の段階でカテゴリ「生まれ月」の検索キー「04」を指定してファイル名群を絞り込み、次の段階で、カテゴリ「氏」の検索キー「Shoji」を指定して、さらにファイル名群を絞り込に、さらに次の段階でカテゴリ「都道府県」の検索キー「Tokyo」で、もっと絞り込む場合には、次のようになる。   Also, when drilling down the search results, for example, the search key “04” for the category “born month” is specified in the first stage to narrow down the file name group, and the search key “ If you specify “Shoji” and further narrow down the file name group, and further refine with the search key “Tokyo” in the category “Prefecture” in the next stage, it will be as follows.

最初の段階では、検索ファイル名は、
*_*_*_*_04_*_*_*_*.txt
となる。
In the first stage, the search filename is
* _ * _ * _ * _ 04 _ * _ * _ * _ *. Txt
It becomes.

次の段階では、検索ファイル名は、
*_*_Shoji_*_04_*_*_*_*.txt
のように、この段階と最初の段階で指定された検索キー「04」と「Shoji」の双方が組み込まれたものになる。
In the next stage, the search filename is
* _ * _ Shoji _ * _ 04 _ * _ * _ * _ *. Txt
Thus, both the search keys “04” and “Shoji” designated in this stage and the first stage are incorporated.

さらに次の段階では、検索ファイル名は、
*_*_Shoji_*_04_*_*_Tokyo_*.txt
のように、この段階と以前の段階で指定された検索キー「04」と「Shoji」と「Tokyo」の全部が組み込まれたものになる。
In the next stage, the search file name is
* _ * _ Shoji _ * _ 04 _ * _ * _ Tokyo _ *. Txt
Like this, all of the search keys “04”, “Shoji”, and “Tokyo” specified in this stage and the previous stage are incorporated.

そして、最初の段階だけでなく、以後のどの段階でも、サーチ範囲は、前の段階で絞り込まれたファイル名群ではなく、ファイル名の母群である。   The search range is not a group of file names narrowed down in the previous stage, but a group of file names, not only in the first stage but also in any subsequent stage.

なお、上記具体例では、検索ファイル名の未指定のカテゴリの検索キーの1つ1つにワイルドカード「*」が1つずつ設定されているが、必ずしもそうでなければならないわけではない。指定された検索キーがどのカテゴリであるかが検索ファイル名から識別できる限り、未指定の連続する複数のカテゴリの検索キーをまとめて、それに1つのワイルドカード「*」を設定することもできる。例えば、上記の最初の段階で例示された検索ファイル名、
*_*_*_*_04_*_*_*_*.txt
は、例えば、
*_04_*_*_*_*.txt
とすることもできる。
In the above specific example, one wildcard “*” is set for each search key of an unspecified category of the search file name, but this is not necessarily the case. As long as the category of the specified search key can be identified from the search file name, the search keys of a plurality of unspecified consecutive categories can be combined and one wild card “*” can be set. For example, the search file name exemplified in the first stage above,
* _ * _ * _ * _ 04 _ * _ * _ * _ *. Txt
For example,
* _04 _ * _ * _ * _ *. Txt
It can also be.

このように、ファイル名検索では、検索結果をドリルダウンする場合であっても、サーチ範囲はファイル名の母群である。そして、予めインデックステーブルを作成しておく必要はない。その結果、検索結果をドリルダウンする時に指定できる検索キーのカテゴリやその順序には、格別の制約はなく、ユーザが自由に決めることができる。また、このように毎回母群からサーチしても、(検索ファイル名内のワイルドカードの数が非常に多くならない限りは)検索速度は高速である。なお、ワイルドカードは、上記のように未指定の検索キーの代用として使えるだけでなく、一般的なあいまい検索の目的(各検索キー中のあいまい個所の代用)にも使える。   As described above, in the file name search, the search range is a group of file names even when the search result is drilled down. There is no need to create an index table in advance. As a result, there are no particular restrictions on the categories and order of search keys that can be specified when drilling down on search results, and the user can freely determine them. Even if the search is performed from the mother group every time as described above, the search speed is high (unless the number of wild cards in the search file name is very large). In addition, the wild card can be used not only as a substitute for an unspecified search key as described above, but also for a general fuzzy search purpose (substitute for a fuzzy part in each search key).

図3は、検索エンジン102が提供するGUI(グラフィカルユーザインタフェース)ウィンドウの例を示す。図4〜図7は、検索エンジン102が行う検索のプロセスフローを示す。以下、これらの図を参照して、検索エンジン102が行う検索プロセスについて説明する。   FIG. 3 shows an example of a GUI (Graphical User Interface) window provided by the search engine 102. 4 to 7 show a process flow of search performed by the search engine 102. Hereinafter, a search process performed by the search engine 102 will be described with reference to these drawings.

図4に示すように、検索エンジン102は、ステップ200で、検索ファイル名のテンプレートを用意する。検索ファイル名のテンプレートは、検索ファイル名に含まれるべき検索キーと同じ個数の変数(図中、番号で示された部分)が、連結文字「_」を介して連結したものである。各変数には、検索キーまたはワイルドカードを入れることができる。   As shown in FIG. 4, the search engine 102 prepares a search file name template in step 200. The search file name template is obtained by concatenating the same number of variables as the search key to be included in the search file name (the part indicated by the number in the figure) via the concatenation character “_”. Each variable can contain a search key or wildcard.

ステップ202で、検索エンジン102は、検索方法定義ファイル160(図2参照)の第1行からコンバータ104により読み取られたキーアイテムの全てのカテゴリを、図3に示されたようなGUIウィンドウ170内の「キーカテゴリ一覧」ボックス172に、一覧表示する。   In step 202, the search engine 102 retrieves all categories of key items read by the converter 104 from the first line of the search method definition file 160 (see FIG. 2) in the GUI window 170 as shown in FIG. Are displayed in a “key category list” box 172.

ステップ204で、ユーザが、「キーカテゴリ一覧」ボックス172内から、任意のカテゴリを指定する。すると、検索エンジン102は、ユーザにより指定されたカテゴリを選択し、その選択されたカテゴリをGUIウィンドウ170内の「選択キーカテゴリ」ボックス174に表示する。それとともに、検索エンジン102は、その選択されたカテゴリが属するキーアイテムのファイル名の中での配置位置(例えば、そのキーアイテムがファイル名の左から何番目であるか)を把握し(例えば、検索方法定義ファイル160をコンバータ104が読み取った結果に基づいて把握する)、その把握された配置位置を変数n1に入れる。   In step 204, the user designates an arbitrary category from the “key category list” box 172. Then, the search engine 102 selects a category specified by the user, and displays the selected category in a “selected key category” box 174 in the GUI window 170. At the same time, the search engine 102 grasps the arrangement position in the file name of the key item to which the selected category belongs (for example, the number of the key item from the left of the file name) (for example, The search method definition file 160 is grasped on the basis of the result read by the converter 104), and the grasped arrangement position is entered in the variable n1.

ステップ206で、検索エンジン102は、GUIウィンドウ170上に「第1キーリスト」ボックス180を表示し、その中身を空にする。ここで、「第1キーリスト」ボックス180は、ユーザが最初に検索キーとして指定することができるキーアイテムのリストを表示するためのボックスである。   In step 206, the search engine 102 displays a “first key list” box 180 on the GUI window 170 and empties its contents. Here, the “first key list” box 180 is a box for displaying a list of key items that the user can first designate as a search key.

ステップ208で、検索エンジン102は、OSのファイルシステム110に要求してサーチ用ファイルのファイル名の母群のリストを獲得する。そして、ステップ208〜216で、検索エンジン102は、そのファイル名母群リスト中の全てのファイル名を逐次にチェックする。   In step 208, the search engine 102 requests the OS file system 110 to obtain a list of file name populations of search files. In steps 208 to 216, the search engine 102 sequentially checks all the file names in the file name parent group list.

このファイル名母群のチェックの過程では、ステップ212で、各ファイル名の中の変数n1に該当する位置のキーアイテムが抽出されて、そのキーアイテムが変数Tに入れられ、そして、ステップ214と216で、その変数Tの中身が「第1キーリスト」ボックス180に追加され(既に追加されたキーアイテムは追加されない)、そして、ステップ210により、上記のチェック処理がファイル名母群リスト中の最後のファイル名まで繰り返される。   In the process of checking the file name population, in step 212, the key item at the position corresponding to the variable n1 in each file name is extracted, and the key item is put in the variable T. At 216, the contents of the variable T are added to the “first key list” box 180 (key items that have already been added are not added), and step 210 causes the above checking process to be included in the file name parent list. Repeat until the last file name.

この結果として、ステップ218で、ユーザにより最初に指定されたカテゴリに属する全てのキーアイテムが抽出されて、「第1キーリスト」ボックス180に一覧表示される。換言すれば、ユーザが最初の検索キーとして選択可能なキーアイテムが、「第1キーリスト」ボックス180に一覧表示される。   As a result, in step 218, all key items belonging to the category first designated by the user are extracted and displayed in a list in the “first key list” box 180. In other words, key items that the user can select as the first search key are displayed in a list in the “first key list” box 180.

次に図5を参照する。ステップ220で、ユーザがGUIウィンドウ170の「キーカテゴリ一覧」ボックス172内から、先ほど選択したカテゴリと異なる任意のカテゴリを指定する。すると、検索エンジン102は、ユーザにより指定されたカテゴリを選択し、その選択されたカテゴリをGUIウィンドウ170内の「選択キーカテゴリ」ボックス174に表示する。このとき、既に「選択キーカテゴリ」ボックス174に表示されている最初のカテゴリの下に、今回選択されたカテゴリが表示される。それとともに、検索エンジン102は、その選択されたカテゴリが属するキーアイテムのファイル名の中での配置位置(例えば、そのキーアイテムがファイル名の左から何番目であるか)を把握し(例えば、検索方法定義ファイル160をコンバータ104が読み取った結果に基づいて把握する)、その把握された配置位置を変数n2に入れる。   Reference is now made to FIG. In step 220, the user designates an arbitrary category different from the category previously selected from the “key category list” box 172 of the GUI window 170. Then, the search engine 102 selects a category specified by the user, and displays the selected category in a “selected key category” box 174 in the GUI window 170. At this time, the category selected this time is displayed below the first category already displayed in the “selected key category” box 174. At the same time, the search engine 102 grasps the arrangement position in the file name of the key item to which the selected category belongs (for example, the number of the key item from the left of the file name) (for example, The search method definition file 160 is grasped on the basis of the result read by the converter 104), and the grasped arrangement position is entered in the variable n2.

ステップ222で、ユーザがGUIウィンドウ170の「第1キーリスト」ボックス180内から、任意のキーアイテムを検索キーとして選択する。すると、検索エンジン102は、その選択された検索キー(キーアイテム)を変数k1に入れ、そして、その変数k1を用いて検索ファイル名を作成する。すなわち、ステップ202で用意した検索ファイル名のテンプレート中の、変数n1に該当する配置位置の変数を、上記変数k1にリプレイスし、それ以外の変数をワイルドカード「*」にリプレイスすることにより、検索ファイル名が作成される。   In step 222, the user selects an arbitrary key item as a search key from within the “first key list” box 180 of the GUI window 170. Then, the search engine 102 puts the selected search key (key item) in the variable k1, and creates a search file name using the variable k1. That is, in the search file name template prepared in step 202, the variable at the placement position corresponding to the variable n1 is replaced with the variable k1, and the other variables are replaced with the wild card “*”. A file name is created.

ステップ224で、検索エンジン102は、作成された検索ファイル名にマッチするファイル名を、サーチ用ファイルのファイル名の母群から検索するよう、OSのファイルシステム110に要求し、そして、ファイルシステム110はその検索結果としての第1ファイル名リストを検索エンジン102に返す。第1ファイル名リストには、ユーザにより最初に指定された検索キーで絞り込まれたファイル名群が記述されている。   In step 224, the search engine 102 requests the OS file system 110 to search the file name population of the search file for a file name that matches the created search file name, and the file system 110 Returns the first file name list as the search result to the search engine 102. In the first file name list, file name groups narrowed down by a search key first designated by the user are described.

ステップ226で、検索エンジン102は、GUIウィンドウ170上に「第2キーリスト」ボックス182を標示し、その中身を空にする。ここで、「第2キーリスト」ボックス182は、ユーザが2番目に検索キーとして指定することができるキーアイテムのリストを表示するためのボックスである。   In step 226, the search engine 102 displays a “second key list” box 182 on the GUI window 170 and emptyes its contents. Here, the “second key list” box 182 is a box for displaying a list of key items that can be designated as a search key second by the user.

ステップ228〜236で、検索エンジン102は、最初の検索結果として得た第1ファイル名リスト中の全てのファイル名を逐次にチェックする。   In steps 228 to 236, the search engine 102 sequentially checks all file names in the first file name list obtained as the first search result.

この第1ファイル名リストのチェックの過程では、ステップ232で、各ファイル名の中の変数n2に該当する位置のキーアイテムが抽出されて、そのキーアイテムが変数Tに入れられ、そして、ステップ234と236で、その変数Tの中身が「第2キーリスト」ボックス182に追加され(既に追加されたキーアイテムは追加されない)、そして、ステップ230により、上記のチェック処理が第1ファイル名リスト中の最後のファイル名まで繰り返される。   In the process of checking the first file name list, in step 232, the key item at the position corresponding to the variable n2 in each file name is extracted, the key item is put in the variable T, and step 234 is executed. 236, the contents of the variable T are added to the "second key list" box 182 (the key item that has already been added is not added), and step 230 causes the above check processing to be performed in the first file name list. Repeat until the last file name.

この結果として、ステップ238で、ユーザにより最初に指定された検索キーで絞り込まれたファイル名群がもつ、2番目に指定されたカテゴリに属する全てのキーアイテムが、「第2キーリスト」ボックス182に一覧表示される。換言すれば、ユーザが2番目の検索キーとして選択可能なキーアイテムが、「第2キーリスト」ボックス182に一覧表示される。   As a result, in step 238, all key items belonging to the second designated category included in the file name group narrowed down by the search key designated first by the user are displayed in the “second key list” box 182. Are listed. In other words, key items that the user can select as the second search key are displayed in a list in the “second key list” box 182.

次に図6を参照する。この後、ステップ240で、ユーザが更に次のカテゴリを指定しない場合には、制御は図7に示す流れへ進むが、次のカテゴリを指定する場合には、制御はステップ242へ進む。   Reference is now made to FIG. After this, if the user does not specify the next category in step 240, the control proceeds to the flow shown in FIG. 7, but if the next category is specified, the control proceeds to step 242.

ステップ242で、ユーザがGUIウィンドウ170の「キーカテゴリ一覧」ボックス172内から、今まで選択したカテゴリとは異なる任意のカテゴリを指定する。すると、検索エンジン102は、ユーザにより指定されたカテゴリを選択し、その選択されたカテゴリをGUIウィンドウ170内の「選択キーカテゴリ」ボックス174に表示する。このとき、既に「選択キーカテゴリ」ボックス174に表示されている今まで選択されたカテゴリの下に、今回選択されたカテゴリが表示される。それとともに、検索エンジン102は、その選択されたカテゴリが属するキーアイテムのファイル名の中での配置位置(例えば、そのキーアイテムがファイル名の左から何番目であるか)を把握し(例えば、検索方法定義ファイル160をコンバータ104が読み取った結果に基づいて把握する)、その把握された配置位置を変数n3に入れる。   In step 242, the user designates an arbitrary category different from the category selected so far from within the “key category list” box 172 of the GUI window 170. Then, the search engine 102 selects a category specified by the user, and displays the selected category in a “selected key category” box 174 in the GUI window 170. At this time, the category selected this time is displayed below the category selected so far, which is already displayed in the “selected key category” box 174. At the same time, the search engine 102 grasps the arrangement position in the file name of the key item to which the selected category belongs (for example, the number of the key item from the left of the file name) (for example, The retrieval method definition file 160 is grasped on the basis of the result read by the converter 104), and the grasped arrangement position is entered in the variable n3.

ステップ244で、ユーザがGUIウィンドウ170の「第2キーリスト」ボックス182内から、任意のキーアイテムを検索キーとして選択する。すると、検索エンジン102は、その選択された検索キー(キーアイテム)を変数k2に入れ、そして、前回の変数k1と今回の変数k2とを用いて検索ファイル名を作成する。すなわち、ステップ202で用意した検索ファイル名のテンプレート中の、変数n1に該当する配置位置の変数を、上記変数k1にリプレイスし、変数n2に該当する配置位置の変数を、上記変数k2にリプレイスし、それ以外の変数をワイルドカード「*」にリプレイスすることにより、検索ファイル名が作成される。   In step 244, the user selects an arbitrary key item from the “second key list” box 182 of the GUI window 170 as a search key. Then, the search engine 102 puts the selected search key (key item) in the variable k2, and creates a search file name using the previous variable k1 and the current variable k2. That is, in the search file name template prepared in step 202, the variable at the placement position corresponding to the variable n1 is replaced with the variable k1, and the variable at the placement position corresponding to the variable n2 is replaced with the variable k2. By replacing the other variables with the wild card “*”, the search file name is created.

ステップ246で、検索エンジン102は、作成された検索ファイル名にマッチするファイル名を、サーチ用ファイルのファイル名の母群から検索するよう、OSのファイルシステム110に要求し、そして、ファイルシステム110はその検索結果としての第2ファイル名リストを検索エンジン102に返す。第2ファイル名リストには、ユーザにより最初に指定された検索キーと2番目に指定された検索キーの双方で絞り込まれたファイル名群が記述されている。   In step 246, the search engine 102 requests the OS file system 110 to search the file name population of the search file for a file name that matches the created search file name, and the file system 110. Returns the second file name list as the search result to the search engine 102. In the second file name list, file name groups narrowed down by both the search key designated first by the user and the search key designated second are described.

ステップ248で、検索エンジン102は、GUIウィンドウ170上に「第3キーリスト」ボックス184を表示し、その中身を空にする。ここで、「第3キーリスト」ボックス184は、ユーザが3番目に検索キーとして指定することができるキーアイテムのリストを表示するためのボックスである。   In step 248, the search engine 102 displays a “third key list” box 184 on the GUI window 170 and emptyes its contents. Here, the “third key list” box 184 is a box for displaying a list of key items that the user can designate as the third search key.

ステップ250〜258で、検索エンジン102は、2回目の検索結果として得た第2ファイル名リスト中の全てのファイル名を逐次にチェックする。   In steps 250 to 258, the search engine 102 sequentially checks all the file names in the second file name list obtained as the second search result.

この第2ファイル名リストのチェックの過程では、ステップ254で、各ファイル名の中の変数n3に該当する位置のキーアイテムが抽出されて、そのキーアイテムが変数Tに入れられ、そして、ステップ256と258で、その変数Tの中身が「第3キーリスト」ボックス184に追加され(既に追加されたキーアイテムは追加されない)、そして、ステップ252により、上記のチェック処理が第2ファイル名リスト中の最後のファイル名まで繰り返される。   In the process of checking the second file name list, in step 254, the key item at the position corresponding to the variable n3 in each file name is extracted, the key item is put in the variable T, and step 256 is performed. And 258, the contents of the variable T are added to the "third key list" box 184 (the key item already added is not added), and the above check processing is added to the second file name list in step 252. Repeat until the last file name.

この結果として、ステップ260で、ユーザにより最初と2番目に指定された検索キーの双方で絞り込まれたファイル名群がもつ、3番目に指定されたカテゴリに属する全てのキーアイテムが、「第3キーリスト」ボックス184に一覧表示される。換言すれば、ユーザが3番目の検索キーとして選択可能なキーアイテムが、「第3キーリスト」ボックス184に一覧表示される。   As a result, in step 260, all key items belonging to the third designated category included in the file name group narrowed down by both the first and second designated search keys by the user are displayed as “third A list is displayed in a “key list” box 184. In other words, key items that the user can select as the third search key are displayed in a list in the “third key list” box 184.

以後、ステップ262に示すように、ユーザが所望する絞り込み回数だけ、上述したカテゴリの選択から次の「キーリスト」ボックスの作成までの処理が繰り返される。例えば、図3に示した例では、絞り込みが4回繰り返され、それにより「第4キーリスト」ボックス186が作成されている。   Thereafter, as shown in step 262, the above-described processing from the category selection to the creation of the next “key list” box is repeated as many times as the number of refinements desired by the user. For example, in the example shown in FIG. 3, the narrowing down is repeated four times, thereby creating a “fourth key list” box 186.

次に図7を参照する。i回目までの絞り込みが行われた段階で、ユーザがそれ以上の絞り込みを望まなかったとする。このとき、GUIウィンドウ170には、「第iキーリスト」ボックス(図3の例では「第4キーリスト」ボックス186)が表示されている。この場合において、ステップ264で、ユーザが、「第iキーリスト」ボックス内から、任意のキーアイテムを検索キーとして選択する。すると、検索エンジン102は、その選択された検索キー(キーアイテム)を変数kiに入れ、そして、今までの変数k1〜kiを用いて検索ファイル名を作成する。すなわち、ステップ202で用意した検索ファイル名のテンプレート中の、変数n1〜niにそれぞれ該当する配置位置の変数を、上記変数k1〜kiにリプレイスし、それ以外の変数をワイルドカード「*」にリプレイスすることにより、検索ファイル名が作成される。   Reference is now made to FIG. It is assumed that the user does not desire further refinement at the stage where the refinement is performed up to the i-th time. At this time, the “i-th key list” box (“fourth key list” box 186 in the example of FIG. 3) is displayed in the GUI window 170. In this case, in step 264, the user selects an arbitrary key item as a search key from the “i-th key list” box. Then, the search engine 102 puts the selected search key (key item) in the variable ki, and creates a search file name using the variables k1 to ki so far. That is, in the search file name template prepared in step 202, the variables at the placement positions corresponding to the variables n1 to ni are replaced with the variables k1 to ki, and the other variables are replaced with the wild card “*”. By doing so, a search file name is created.

ステップ266で、検索エンジン102は、作成された検索ファイル名にマッチするファイル名を、サーチ用ファイルのファイル名の母群から検索するよう、OSのファイルシステム110に要求し、そして、ファイルシステム110はその検索結果としての第iファイル名リストを検索エンジン102に返す。第iファイル名リストには、ユーザにより最初から今回までに指定された全ての検索キーで絞り込まれたファイル名群が記述されている。   In step 266, the search engine 102 requests the OS file system 110 to search the file name population of the search file for a file name that matches the created search file name, and the file system 110. Returns the i-th file name list as a search result to the search engine 102. In the i-th file name list, file name groups narrowed down by all the search keys designated from the beginning to the current time by the user are described.

ステップ268で、検索エンジン102は、第iファイル名リストの中の全てのファイル名から、所定の1以上のカテゴリのキーアイテムを抽出し、抽出されたキーアイテムを、GUIウィンドウ170上の「検索結果」ボックス188を表示する。ここで抽出されるキーアイテムは、ユーザにとって、対応するデータアイテムが何であるかを特定することが容易であるようなカテゴリのものが望ましい。例えば、データアイテムが商品データであるならば、カテゴリ「商品名」と「商品番号」のキーアイテムがそれに適するであろう。   In step 268, the search engine 102 extracts key items of one or more predetermined categories from all file names in the i-th file name list, and searches the extracted key items for “search” on the GUI window 170. The “Result” box 188 is displayed. The key item extracted here is preferably in a category that makes it easy for the user to identify what the corresponding data item is. For example, if the data item is product data, the key items of the categories “product name” and “product number” may be suitable for it.

ステップ270で、ユーザが、「検索結果」ボックス188内から任意のキーアイテムを選択する。すると、検索エンジン102は、OSのファイルシステム110に要求して、その選択されたキーアイテムに対応するサーチ用ファイルを開いて、そのサーチ用ファイルに関連付けられたデータアイテムを取得する。このとき、もし、そのサーチ用ファイル内にそのデータアイテム自体が格納されているならば、そのサーチ用ファイルを開くことでそのデータアイテムを得ることができる。他方、もし、そのサーチ用ファイル内にそのデータアイテムの参照情報が格納されているならば、まずそのサーチ用ファイルを開いてそのデータアイテムの参照情報を得て、次にその参照情報を用いてそのデータアイテムを獲得することができる。   In step 270, the user selects any key item from within the “search results” box 188. Then, the search engine 102 requests the OS file system 110 to open a search file corresponding to the selected key item, and obtains a data item associated with the search file. At this time, if the data item itself is stored in the search file, the data item can be obtained by opening the search file. On the other hand, if the reference information of the data item is stored in the search file, the search file is first opened to obtain the reference information of the data item, and then the reference information is used. The data item can be acquired.

ステップ272で、検索エンジン102は、獲得されたデータアイテムを、GUIウィンドウ170上の「データ内容」ボックス190に表示する。   In step 272, the search engine 102 displays the acquired data item in a “data content” box 190 on the GUI window 170.

以上説明した検索プロセスによれば、検索結果をドリルダウンするときに、種々のカテゴリの検索キーを、任意の順序で指定することができる。   According to the search process described above, search keys of various categories can be designated in an arbitrary order when drilling down a search result.

さて、上述した実施形態において、1つのファイル名を構成するキーアイテムの個数は、OSが扱えるファイル名の長さの限界に制約される。また、たとえ、ファイル名の長さがその限界長さ以下に収まったとしても、検索ファイル名に組み込まれるワイルドカードの個数が多い(数十個程度以上)場合には、ファイル名検索の高速性が悪化するという問題がある。さらに、データアイテムの個数に相当する個数のサーチ用ファイルが必要であることに、抵抗を感じるユーザがいるかもしれない。また、データベースのバックアップをとる場合、データアイテム数分のサーチ用ファイルのコピーが必要である。   In the embodiment described above, the number of key items constituting one file name is restricted by the limit of the length of the file name that can be handled by the OS. In addition, even if the length of the file name is less than or equal to the limit length, if the number of wildcards included in the search file name is large (about several tens or more), the file name search speed is high. There is a problem that gets worse. Furthermore, there may be a user who feels resistance that the number of search files corresponding to the number of data items is necessary. Further, when taking a backup of the database, it is necessary to copy as many search files as there are data items.

以下では、このような問題を改善するための、改良されたファイル名命名法を幾つか説明する。   The following describes some of the improved file name naming schemes that remedy these problems.

まず、本明細書で「表対応型」と呼ばれる命名法を説明する。表対応型の命名法は、1つのファイル名に組み込めるキーアイテムの数の制限、及び、ワイルドカードの多用による検索速度の悪化という問題に対して改善を提供する。表対応型の命名法は、検索方法定義ファイル160(図2参照)とサーチ用ファイル122,122,…との間に、個々のキーアイテムの文字数を減らすための中間テーブルを介在させる。中間テーブルは、検索方法定義ファイル160に基づいて作成される。中間テーブルには、検索方法定義ファイル160により定義されたキーアイテムとそれらのカテゴリが登録されている。そして、中間テーブルは、カテゴリ毎に何個のキーアイテムが存在し、そして、そのテーブル内のどの位置(どの行位置)に何というカテゴリが登録され、各行内のどの位置(どの列位置)に何というキーアイテムが登録するかということが分かるように構成される。   First, a nomenclature called “table correspondence type” in this specification will be described. The table-based nomenclature provides an improvement over the problems of limiting the number of key items that can be included in a single file name, and degrading search speed due to heavy use of wildcards. In the table-corresponding naming method, an intermediate table for reducing the number of characters of each key item is interposed between the search method definition file 160 (see FIG. 2) and the search files 122, 122,. The intermediate table is created based on the search method definition file 160. In the intermediate table, key items defined by the search method definition file 160 and their categories are registered. In the intermediate table, how many key items exist for each category, and what category is registered at which position (which row position) in the table, and at which position (which column position) in each row It is configured so that it can be understood what key item is registered.

この方法は、さらに、本明細書で「列位置型」及び「行列位置型」とそれぞれ呼ばれる2つの命名法に分類できる。   This method can be further classified into two nomenclatures referred to herein as “column position type” and “matrix position type”, respectively.

「列位置型」の命名法では、ファイル名を作成する際、複数のキーアイテムを連結する代わりに、それぞれのキーアイテムの中間テーブル内での列位置を示す符号を、それぞれのキーアイテムのカテゴリの行位置の順序で連結することで、ファイル名が生成される。   In the “column position type” nomenclature, when creating a file name, instead of concatenating multiple key items, the code indicating the column position in the intermediate table of each key item is assigned to the category of each key item. By concatenating in the order of the line positions, a file name is generated.

その具体例を以下に示す。例えば、CSV形式の検索方法定義ファイル160が次のようにキーアイテムを定義していたとする。   Specific examples are shown below. For example, suppose that the CSV format search method definition file 160 defines key items as follows.

<キーアイテムの定義例>
番号,氏,名,性別,年齢,生まれ年,生まれ月,生まれ日,郵便番号,都道府県
01,庄司,渉,男,57,1950,04,27,1620067,東京都
02,庄司,悟,男,56,1952,01,20,1620067,東京都
03,城所,良江,女,47,1960,04,25,1401234,東京都
04,大塚,裕章,男,58,1949,04,04,1500001,東京都
05,田中,法子,女,40,1966,07,13,2220005,愛知県
06,岡本,由紀子,女,50,1967,09,25,3130088,神奈川県
07,伊藤,久美子,女,59,1949,10,13,2220000,埼玉県
<Key item definition example>
Number, name, gender, age, year of birth, month of birth, date of birth, postal code, prefecture
01, Shoji, Wataru, Male, 57, 1950, 04, 27, 1620067, Tokyo
02, Shoji, Satoru, Male, 56, 1952, 01, 20, 1620067, Tokyo
03, Castle, Rye, Woman, 47, 1960, 04, 25, 1401234, Tokyo
04, Otsuka, Hiroaki, Male, 58, 1949, 04, 04, 1500001, Tokyo
05, Tanaka, Noriko, Woman, 40, 1966, 07, 13, 2220005, Aichi
06, Okamoto, Yukiko, Woman, 50, 1967, 09, 25, 3130088, Kanagawa Prefecture
07, Ito, Kumiko, Woman, 59, 1949, 10, 13, 2220000, Saitama

このような検索方法定義ファイル160から、例えば、CSVファイルの形式で次のような中間テーブルが作成される。   From such a search method definition file 160, for example, the following intermediate table is created in the form of a CSV file.

<中間テーブルの例>
番号 (7),01,02,03,04,05,06,07
氏 (6),庄司,城所,大塚,田中,岡本,伊藤
名 (7),渉,悟,良江,裕章,法子,由紀子,久美子
性別 (2),男,女
年齢 (7),57,56,47,58,40,50,59
生まれ年 (6),1950,1952,1960,1949,1966,1967
生まれ月 (5),04,01,07,09,10
生まれ日 (5),27,20,25,04,13
郵便番号 (6),1620067,1401234,1500001,2220005,3130088,2220000
都道府県 (4),東京都,愛知県,神奈川県,埼玉県
<Example of intermediate table>
Number (7), 01,02,03,04,05,06,07
Mr. (6), Shoji, Castle, Otsuka, Tanaka, Okamoto, Itona (7), Wataru, Satoru, Yoshie, Hiroaki, Noriko, Yukiko, Kumiko Sex (2), Male, Female Age (7), 57, 56,47,58,40,50,59
Birth year (6), 1950, 1952, 1960, 1949, 1966, 1967
Birth month (5), 04,01,07,09,10
Birthday (5), 27,20,25,04,13
Postal code (6), 1620067,1401234,1500001,2220005,3130088,2220000
Prefectures (4), Tokyo, Aichi, Kanagawa, Saitama

この中間テーブルでは、そこに登録された各キーアイテムが、このテーブル上での行位置と列位置によって識別できる。すなわち、行位置により、各キーアイテムが属するカテゴリが識別され、各行内の列位置により、各カテゴリに属する各キーアイテムが識別できる。さらに、この中間テーブルでは、カテゴリ毎のキーアイテムの個数(括弧書きの数字)が分かる。上記の例では、(最上行の「番号」は、検索キーとして使用しないカテゴリであるため、これは無視して)1行目はカテゴリ「氏」に対応し、このカテゴリ「氏」のキーアイテムの個数は7個であり、それらは「01」、「02」、「03」、「04」、「05」、「06」及び「07」であって、それぞれの先頭文字は(キーアイテムが登録された列範囲内での)1、4、7、10、13、16,19列目にそれぞれ対応し、また、2行目はカテゴリ「性別」に対応し、このカテゴリ「性別」のキーアイテムの個数は2個であり、それらは「男」及び「女」であって、それぞれの先頭文字は(キーアイテムが登録された列範囲内での)1列目と3列目にそれぞれ対応する、ということが分かる。この中間テーブルのファイルは、コンバータ104(図2参照)が検索方法定義ファイル160から自動的に作成して保存することができる。   In this intermediate table, each key item registered there can be identified by the row position and the column position on this table. That is, the category to which each key item belongs is identified by the row position, and each key item belonging to each category can be identified by the column position in each row. Further, in this intermediate table, the number of key items (numbers in parentheses) for each category is known. In the above example (the “number” on the top line is a category that is not used as a search key, so this is ignored), the first line corresponds to the category “Mr.” and the key item of this category “Mr.” The number of is "01", "02", "03", "04", "05", "06" and "07", and the first character of each is (key item is Corresponding to columns 1, 4, 7, 10, 13, 16, 19 in the registered column range, the second row corresponds to the category “sex”, and the key of this category “sex” The number of items is 2, and they are “male” and “female”, and the first character of each item corresponds to the first column and the third column (within the column range where the key item is registered). You can see that This intermediate table file can be automatically created from the search method definition file 160 and saved by the converter 104 (see FIG. 2).

コンバータ104は、上記のような中間テーブルを利用して、検索方法定義ファイル160から、以下のようなファイル名をもったサーチ用ファイル群を作成する。   The converter 104 uses the intermediate table as described above to create a search file group having the following file names from the search method definition file 160.

<サーチ用ファイル群のファイル名の例>
01_1_1_1_1_1_1_1_1_1.txt
02_1_2_1_2_2_2_2_1_1.txt
03_2_3_2_3_3_1_3_2_1.txt
04_3_4_1_4_4_1_4_3_1.txt
05_4_5_2_5_5_3_5_4_2.txt
06_5_6_2_6_6_4_3_5_3.txt
07_6_7_2_7_4_5_5_6_4.txt
<Examples of file names for search files>
01_1_1_1_1_1_1_1_1_1.txt
02_1_2_1_2_2_2_2_1_1.txt
03_2_3_2_3_3_1_3_2_1.txt
04_3_4_1_4_4_1_4_3_1.txt
05_4_5_2_5_5_3_5_4_2.txt
06_5_6_2_6_6_4_3_5_3.txt
07_6_7_2_7_4_5_5_6_4.txt

上記各ファイル名では、区切り文字「_」で両側から挟まれた各符号(例えば数字)が、各キーアイテムを指している。そして、ファイル名の中での各符号の位置(例えば、左から何番目か)が、各キーアイテムが属するカテゴリの上記中間テーブルでの行位置(例えば、上から何番目のカテゴリか)(要するに、カテゴリの識別符号)を意味し、各符号(例えば数字)の値が、各キーアイテムの先頭文字の上記中間テーブルでの列位置(例えば、左から何番目の文字か)(要するに、各カテゴリの中でのキーアイテムの識別符号)を意味している。   In each of the above file names, each code (for example, a number) sandwiched from both sides by a delimiter “_” indicates each key item. The position of each code in the file name (for example, what number from the left) is the row position in the intermediate table of the category to which each key item belongs (for example, what number category from the top) (in short, Category identification code), and the value of each code (for example, a number) is the column position in the intermediate table of the first character of each key item (for example, the number of the character from the left) (in short, each category The identification code of the key item in

この場合の検索ファイル名の作成方法は、指定された検索キーの上記中間テーブル内での列位置を示す符号と、未指定の検索キーの代用としてのワイルドカードとを、区切り文字「_」を介して、上記中間テーブル内でのカテゴリの行順序で連結するという方法である。この方法において、未指定の1つ1つの検索キーの位置にワイルドカードを1つ1つ設定する必要は必ずしもなく、指定された検索キーのカテゴリが識別できさえすれば、複数の未指定の検索キーの塊に対して1つのワイルドカードを設定することができる。例えば、カテゴリ「性別」の検索キー「男」が指定された場合、検索ファイル名は、
*_*_*_1_*.txt
とすることができる。
In this case, the search file name is created by using a code indicating the column position in the intermediate table of the specified search key and a wild card as a substitute for the unspecified search key, and using the delimiter "_" In this way, the categories are linked in the row order of the categories in the intermediate table. In this method, it is not always necessary to set a wildcard one by one at each unspecified search key position, as long as the specified search key category can be identified. One wildcard can be set for a key block. For example, when the search key “male” of the category “gender” is specified, the search file name is
* _ * _ * _ 1 _ *. Txt
It can be.

この検索ファイル名の例では、ファイル名中の左からの位置によって検索キーのカテゴリが識別される。そのため、指定された検索キーの右側の全ての検索キーが未指定であれば、それら右側の全ての検索キーに対して1つのワイルドカードを設定することができる。この例の場合、より頻繁に使う検索キーほどより左の方に配置しておくと、設定すべきワイルドカードの数が減るので、検索速度が向上する。   In this search file name example, the search key category is identified by the position from the left in the file name. Therefore, if all the search keys on the right side of the designated search key are not specified, one wild card can be set for all the search keys on the right side. In the case of this example, if the search key used more frequently is arranged on the left side, the number of wild cards to be set is reduced, so that the search speed is improved.

この「列位置型」の命名法を採用した場合においても、図3〜図7を参照して説明した検索プロセスがそのまま適用できる。   Even when this “column position type” nomenclature is adopted, the search process described with reference to FIGS. 3 to 7 can be applied as it is.

この「列位置型」の命名法によれば、ファイル名をより短くすることができ、又は、制限された長さのファイル名に組み込めるキーアイテムの数を増やすことができる。また、上述した中間テーブルに例示されているように、各カテゴリに属するキーアイテムの個数が予め計数されているので、この計数されたカテゴリ毎のキーアイテム個数を、検索用のGUIウィンドウに表示する(例えば、図3では、「キーカテゴリ一覧」ボックス172や他の幾つかのボックスで、カテゴリ毎のキーアイテム個数が表示されている)ことで、ユーザにとり、検索結果のドリルダウンを行う時に、どの順序でどのカテゴリの検索キーを指定することが適切であるかの判断が、容易になる。   According to this “column position type” nomenclature, the file name can be shortened, or the number of key items that can be incorporated into a file name of a limited length can be increased. Further, as exemplified in the intermediate table described above, since the number of key items belonging to each category is counted in advance, the counted number of key items for each category is displayed in the GUI window for search. (For example, in FIG. 3, the number of key items for each category is displayed in the “key category list” box 172 and some other boxes), so that when the user drills down the search result, It is easy to determine which category search key is appropriate in which order.

ただし、この「列位置型」の命名法においては、直接的なあいまい検索(検索ファイル名上で各検索キーの一部分にワイルドカードを設定すること)はできない。しかし、検索ファイル名作成のプロセスの前に次のような別のプロセスを行えば、この問題は解消できる。すなわち、上記別プロセスにおいて、指定されたあいまいな検索キーにマッチするキーアイテムを、検索方法定義ファイル160に定義された全てのキーアイテムの中からサーチし、その結果検索されたキーアイテムの中から、検索ファイル名に組み込むべき検索キーを確定する。   However, in this “column position type” nomenclature, a direct fuzzy search (a wild card can be set for a part of each search key on the search file name) is not possible. However, this problem can be solved by performing another process such as the following before the search file name creation process. That is, in the separate process, a key item that matches the specified ambiguous search key is searched from all the key items defined in the search method definition file 160, and as a result, the key items searched for are searched. The search key to be included in the search file name is determined.

以上が、「表対応型」の命名法の中の1番目の方法である、「列位置型」の命名法である。次に、「表対応型」の命名法の中の2番目の方法である、「行列位置型」の命名法について説明する。   The above is the “column position type” nomenclature, which is the first of the “table correspondence type” nomenclature. Next, the “matrix position type” nomenclature, which is the second of the “table correspondence type” nomenclature, will be described.

「行列位置型」の命名法においても、上記中間テーブルの作成については、上述した「列位置型」の命名法と同様のプロセスが適用できる。「行列位置型」の方法と「列位置型」の方法との間の相違点は、サーチ用ファイル群のファイル名を作成するプロセスにある。すなわち、「行列位置型」の命名法では、ファイル名の中の各キーアイテムに対応する符号が、中間テーブル内の各キーアイテムの列位置だけではなく、行位置と列位置のペア(つまり行列座標)を示している。なお、ファイル名に組み込まれた符号の値から一意に、対応するキーアイテムが識別できるので、或るカテゴリのキーアイテムが無用である場合には、その無用のカテゴリに対応する符号は、ファイル名から省略することができる(要するに、検索方法定義ファイル160に定義された全てのカテゴリに対応する符号を、ファイル名に組み込む必要はない)。   In the “matrix position type” nomenclature, the same process as the “column position type” nomenclature described above can be applied to create the intermediate table. The difference between the “matrix position type” method and the “column position type” method is in the process of creating the file name of the search file group. That is, in the “matrix position type” nomenclature, the code corresponding to each key item in the file name is not only the column position of each key item in the intermediate table, but also a pair of row position and column position (that is, matrix Coordinate). Since the corresponding key item can be uniquely identified from the value of the code incorporated in the file name, when the key item of a certain category is useless, the code corresponding to the useless category is the file name. (In short, it is not necessary to incorporate codes corresponding to all categories defined in the search method definition file 160 into the file name).

具体例を示す。上述した「行列位置型」の命名法によれは、サーチ用ファイル群のファイル名は次のようであった。   A specific example is shown. According to the “matrix position type” nomenclature described above, the file name of the search file group is as follows.

<「列位置型」の命名法によるファイル名の例>
01_1_1_1_1_1_1_1_1_1.txt
02_1_2_1_2_2_2_2_1_1.txt
03_2_3_2_3_3_1_3_2_1.txt
04_3_4_1_4_4_1_4_3_1.txt
05_4_5_2_5_5_3_5_4_2.txt
06_5_6_2_6_6_4_3_5_3.txt
07_6_7_2_7_4_5_5_6_4.txt
<Example of file name by "column position type" naming method>
01_1_1_1_1_1_1_1_1_1.txt
02_1_2_1_2_2_2_2_1_1.txt
03_2_3_2_3_3_1_3_2_1.txt
04_3_4_1_4_4_1_4_3_1.txt
05_4_5_2_5_5_3_5_4_2.txt
06_5_6_2_6_6_4_3_5_3.txt
07_6_7_2_7_4_5_5_6_4.txt

これに対し、「行列位置型」の命名法によれば、サーチ用ファイル群のファイル名は次のようになる。   On the other hand, according to the “matrix position type” nomenclature, the file names of the search file group are as follows.

<「行列位置型」の命名法によるファイル名の例>
01_1A_2A_3A_4A_5A_6A_7A_8A_9A_Z.txt
02_1A_2C_3A_4D_5F_6D_7D_8A_9A_Z.txt
03_1D_2E_3C_4G_5K_6A_7G_8I_9A_Z.txt
04_1G_2H_3A_4J_5P_6A_7J_8Q_9A_Z.txt
05_1J_2K_3C_4M_5U_6G_7M_8Y_9E_Z.txt
06_1M_2N_3C_4P_5Z_6J_7G_8BG_9I_Z.txt
07_1P_2R_3C_4S_5P_6M_7M_8BO_9N_Z.txt
<Example of file name by "matrix position type"nomenclature>
01_1A_2A_3A_4A_5A_6A_7A_8A_9A_Z.txt
02_1A_2C_3A_4D_5F_6D_7D_8A_9A_Z.txt
03_1D_2E_3C_4G_5K_6A_7G_8I_9A_Z.txt
04_1G_2H_3A_4J_5P_6A_7J_8Q_9A_Z.txt
05_1J_2K_3C_4M_5U_6G_7M_8Y_9E_Z.txt
06_1M_2N_3C_4P_5Z_6J_7G_8BG_9I_Z.txt
07_1P_2R_3C_4S_5P_6M_7M_8BO_9N_Z.txt

各ファイル名の中の各キーアイテムに対応する符号は、数字とアルファベットのペアからなっている。各ペア中の数字は、中間テーブル上での各キーアイテムが属するカテゴリの行位置(要するに、カテゴリの識別符号)を意味し、次のアルファベットは、中間テーブル上での各キーアイテムの列位置(要するに、各カテゴリの中でのキーアイテムの識別符号)を意味している。アルファベットとしては、例えば、26進数を表すアルファベット文字(26文字)が使用される。例えば、「A」は「1」、「B」は「2」、…、「AA」は「27」を指す。   The code corresponding to each key item in each file name consists of a pair of numbers and alphabets. The number in each pair means the row position of the category to which each key item belongs on the intermediate table (in short, the category identification code), and the next alphabetical character indicates the column position of each key item on the intermediate table ( In short, it means a key item identification code in each category. As the alphabet, for example, alphabetic characters (26 characters) representing 26-digit numbers are used. For example, “A” indicates “1”, “B” indicates “2”,..., “AA” indicates “27”.

下記の中間テーブルの例の場合、或るキーアイテムに対応する符号が例えば「2R」であれば、そのうちの数字「2」は、(最上行の「番号」は、検索キーとして使用しないカテゴリであるため、これは無視して)2行目のカテゴリ「名」を指し、アルファベット「R」は、そのカテゴリ「名」の中の(キーアイテムが登録された列範囲内での)18列目から開始するキーアイテム「久美子」を指す。よって、符号「2R」はカテゴリ「名」のキーアイテム「久美子」を指す。   In the case of the following intermediate table, if the code corresponding to a certain key item is “2R”, for example, the number “2” is (the “number” in the top row is a category not used as a search key). Since this is ignored, it refers to the category “name” in the second row, and the alphabet “R” is the 18th column in the category “name” (within the column range in which the key item is registered). The key item "Kumiko" starting from Therefore, the symbol “2R” indicates the key item “Kumiko” of the category “Name”.

<中間テーブルの例>
番号 (7),01,02,03,04,05,06,07
氏 (6),庄司,城所,大塚,田中,岡本,伊藤
名 (7),渉,悟,良江,裕章,法子,由紀子,久美子
性別 (2),男,女
年齢 (7),57,56,47,58,40,50,59
生まれ年 (6),1950,1952,1960,1949,1966,1967
生まれ月 (5),04,01,07,09,10
生まれ日 (5),27,20,25,04,13
郵便番号 (6),1620067,1401234,1500001,2220005,3130088,2220000
都道府県 (4),東京都,愛知県,神奈川県,埼玉県
<Example of intermediate table>
Number (7), 01,02,03,04,05,06,07
Mr. (6), Shoji, Castle, Otsuka, Tanaka, Okamoto, Itona (7), Wataru, Satoru, Yoshie, Hiroaki, Noriko, Yukiko, Kumiko Sex (2), Male, Female Age (7), 57, 56,47,58,40,50,59
Birth year (6), 1950, 1952, 1960, 1949, 1966, 1967
Birth month (5), 04,01,07,09,10
Birthday (5), 27,20,25,04,13
Postal code (6), 1620067,1401234,1500001,2220005,3130088,2220000
Prefectures (4), Tokyo, Aichi, Kanagawa, Saitama

この場合の検索ファイル名の作成方法は、指定された検索キーの上記中間テーブル内での行列位置を示す符号と、未指定の検索キーの代用としてのワイルドカードとを、区切り文字「_」を介して連結するという方法である。この方法において、指定された検索キーのカテゴリは符号から識別できるので、複数の未指定の検索キーの塊に対して1つのワイルドカード「*」を設定することができる。また、検索ファイル名の両端に必ずワイルドカード「*」を付ける。例えば、カテゴリ「性別」の検索キー「男」が指定された場合、検索ファイル名は、
*3A*
とすればよい。また、カテゴリ「性別」の検索キー「男」と、カテゴリ「氏」の検索キー「庄司」とが指定された場合は、検索ファイル名は、
*1A*3A*
とすればよい。
In this case, the search file name is created by using a code indicating the matrix position of the specified search key in the intermediate table and a wild card as a substitute for the unspecified search key, and using the delimiter "_" It is a method of connecting via. In this method, since the category of the designated search key can be identified from the code, one wild card “*” can be set for a plurality of undesignated search key chunks. In addition, a wild card “*” is always added to both ends of the search file name. For example, when the search key “male” of the category “gender” is specified, the search file name is
* 3A *
And it is sufficient. Also, if the search key “male” for the category “sex” and the search key “Shoji” for the category “Mr.” are specified, the search file name will be
* 1A * 3A *
And it is sufficient.

検索ファイル名の両端にワイルドカード「*」を付ける理由は、もし、最初(左端)の検索キーの前又は最後(左端)の後にワイルドカード「*」が付いてないと、検索キーにマッチする文字列がファイル名内にあるか否かを判別する時に、その検索キーが最初又は最後であるかをチェックしなければなららないため、判別に手間がかかるからである。そのために、上述したサーチ用ファイル群のファイル名の例に示されているように、各サーチ用ファイルのファイル名の最後(右端)のキーアイテムの符号の後には、接尾文字「_Z」が付されている。接尾文字「_Z」が有ることで、検索ファイル名の最後にワイルドカード「*」を付けることができる。なお、検索ファイル名の最初には、検索キーとしては使用されないキーアイテム番号が付されており、このキーアイテム番号が接頭文字として、接尾文字「_Z」と同様な役割をするので、検索ファイル名の最初にもワイルドカード「*」を付けることができる。   The reason for adding a wildcard "*" to both ends of the search file name is that if the wildcard "*" is not added before the first (leftmost) search key or after the last (leftmost), it matches the search key. This is because, when it is determined whether or not the character string is in the file name, it is necessary to check whether the search key is the first or last, so that it takes time to determine. Therefore, as shown in the example of the file name of the search file group described above, the suffix “_Z” is added to the end of the key item at the end (right end) of the file name of each search file. Has been. By including the suffix “_Z”, a wild card “*” can be added to the end of the search file name. Note that a key item number that is not used as a search key is attached to the beginning of the search file name, and this key item number plays the same role as the suffix “_Z” as a prefix. You can also add a wild card "*" at the beginning of.

この「行列位置型」の命名法を採用した場合においても、図3〜図7を参照して説明した検索プロセスがそのまま適用できる。   Even when this “matrix position type” nomenclature is adopted, the search process described with reference to FIGS. 3 to 7 can be applied as it is.

この「行列位置型」の命名法によれば、ファイル名を短くすることができ、又は長さが制限されたファイル名に組み込める検索キーの個数を増やすことができる。特に、無用なカテゴリに対応する符号はファイル名において省略できる点は、ファイル名を短くするために貢献する。例えば、キーアイテムのカテゴリが全部で20個ある場合において、次のファイル名
00032_1A_6IJ_7O_8CQ_14BT_15BT_Z.txt
では、2、3、4、5、9〜13、16〜20番目のカテゴリのキーアイテムが省略されている。
According to this “matrix position type” nomenclature, the file name can be shortened, or the number of search keys that can be incorporated into a file name with a limited length can be increased. In particular, the fact that symbols corresponding to useless categories can be omitted in the file name contributes to shortening the file name. For example, if there are 20 key item categories in total, the following file name
00032_1A_6IJ_7O_8CQ_14BT_15BT_Z.txt
In this case, the key items of the 2, 3, 4, 5, 9-13, and 16-20th categories are omitted.

また、ファイル名に組み込まれた26進数文字が、それに対応するキーアイテムの先頭文字の位置を示していることにより、ファイル名の作成にかかる時間が短縮できる。中間テーブルのような2次元のマトリックス上で、或るアイテムがどこにあるかを探すより、文字列の中ににある或る文字の位置を調べる方が、処理時間が短いからである。また、後から、キーアイテムを追加しても、既存のファイル名を変更する必要がない。さらに、26進数文字は暗号化に役にたつ。例えば、26進数を、そのアルファベット順序を入れ替えたテーブルを使って暗号化すると、正解を見つけるために26の階乗分の組み合わせを探る必要があるので、暗号の解読が困難である。   Further, since the 26-digit character incorporated in the file name indicates the position of the first character of the corresponding key item, the time taken to create the file name can be shortened. This is because the processing time is shorter when the position of a certain character in the character string is examined than when the certain item is located on a two-dimensional matrix such as an intermediate table. Even if a key item is added later, there is no need to change the existing file name. In addition, 26-digit characters are useful for encryption. For example, if a 26-digit number is encrypted using a table in which the alphabetical order is changed, it is necessary to find a combination of 26 factorials in order to find a correct answer, so that it is difficult to decrypt the code.

以上、改良された幾つかのファイル名命名法を解説した。上記の説明においては、命名法が何であっても、1つのデータアイテムに対して1つのサーチ用ファイルが作成される。しかし、1つのデータアイテムに対して複数のサーチ用ファイルを作成することもできる。それえにより、ファイル名の長さの制限による問題を解決することができる。この場合にも、上述した種々の命名法のいずれもが、適用可能である。   So far, several improved file naming schemes have been described. In the above description, one search file is created for one data item regardless of the nomenclature. However, a plurality of search files can be created for one data item. As a result, the problem due to the limitation of the file name length can be solved. Again, any of the various nomenclatures described above are applicable.

図8は、1つのデータアイテムに対して複数のサーチ用ファイルを作成するように構成された本発明の変形実施形態におけるデータフロー図である。   FIG. 8 is a data flow diagram in a modified embodiment of the present invention configured to create a plurality of search files for one data item.

この変形実施形態でも、システムの基本構成は、図1に示されたものと同様である。図8に示すように、コンバータ104は、入力された検索方法定義ファイルを解析して、データアイテム毎に、複数(例えば2つ)のサーチ用サブファイル300、302を作成し、そして、それら複数のサーチ用サブファイル300、302を、それぞれ異なる所定のディレクトリに保存する。   Also in this modified embodiment, the basic configuration of the system is the same as that shown in FIG. As shown in FIG. 8, the converter 104 analyzes the input search method definition file, creates a plurality of (for example, two) search subfiles 300 and 302 for each data item, and the plurality of these subfiles. Are stored in different predetermined directories.

1つのデータアイテムに関連付けられた複数のサーチ用サブファイル300、302のファイル名には、それぞれ、そのデータアイテムのもつ異なるカテゴリ群のキーアイテムがそれぞれ組み込まれている。例えば、図8に示された例では、一方のサーチ用サブファイル300のファイル名には、前半のカテゴリ#1〜#3のキーアイテムが組み込まれ、他方のサーチ用サブファイル302のファイル名には、後半のカテゴリ#4〜#6のキーアイテムが組み込まれている。このように、各データアイテムのもつ多数のカテゴリのキーアイテムが複数の群に分割されて、異なるカテゴリ群のキーアイテムが異なるサーチ用サブファイル300、302のファイル名にそれぞれ組み込まれる。なお、いずれのサーチ用サブファイル300、302のファイル名にも、それに関連付けられたデータアイテムのデータアイテム番号は共通に組み込まれる。   In the file names of the plurality of search subfiles 300 and 302 associated with one data item, key items of different category groups possessed by the data item are respectively incorporated. For example, in the example shown in FIG. 8, the key items of the first category # 1 to # 3 are incorporated in the file name of one search subfile 300, and the file name of the other search subfile 302 is included in the file name. Includes key items of categories # 4 to # 6 in the latter half. In this way, the key items of many categories possessed by each data item are divided into a plurality of groups, and the key items of different category groups are incorporated in the file names of the different search subfiles 300 and 302, respectively. It should be noted that the data item numbers of the data items associated with the file names of any of the search subfiles 300 and 302 are incorporated in common.

検索エンジン102は、指定された検索キーを用いて、複数の検索サブファイル名304、306を作成し、それらの検索サブファイル名304、306をそれぞれ用いて、上記異なるディレクトリからファイルをそれぞれ検索する。これら複数の検索サブファイル名304には、上記異なるカテゴリ群に属する検索キーがそれぞれ組み込まれている。例えば、図8に示された例では、一方の検索サブファイル名304には、前半のカテゴリ#1〜#3の検索キーが組み込まれ、他方の検索サブファイル名306には、後半のカテゴリ#4〜#6の検索キーが組み込まれている。もし、或る検索サブファイル名に組み込まれるべきカテゴリ群に属する検索キーが未指定の場合には、その検索サブファイル名内の全ての検索キーはワイルドカードに置き換えられる。   The search engine 102 creates a plurality of search subfile names 304 and 306 using the specified search key, and searches the files from the different directories using the search subfile names 304 and 306, respectively. . The plurality of search subfile names 304 incorporate search keys belonging to the different category groups. For example, in the example shown in FIG. 8, one search subfile name 304 includes the search keys of the first category # 1 to # 3, and the other search subfile name 306 includes the second category #. Search keys 4 to # 6 are incorporated. If a search key belonging to a category group to be incorporated into a certain search subfile name is not specified, all search keys in the search subfile name are replaced with wild cards.

上記異なるディレクトリからのサブ検索結果としての複数のサブファイル名リスト308、310がファイルシステム110から返送されると、検索エンジン102は、それら複数のサブファイル名リスト308、310を論理演算により合成することで、合成検索結果312を作成する。すなわち、複数のサブファイル名リスト308、310の全てに、共通のデータアイテム番号をもつサブファイル名が含まれていたならば、それらのサブファイル名はヒットしたこと(つまり、その共通のデータアイテム番号で識別されるデータアイテムがヒットしたこと)を意味するから、その共通のデータアイテム番号(さらに、その共通のデータアイテム番号をもつサブファイル名に組み込まれているキーアイテムを加えてもよい)を合成検索結果312とすることができる。   When a plurality of sub file name lists 308 and 310 as sub search results from the different directories are returned from the file system 110, the search engine 102 synthesizes the plurality of sub file name lists 308 and 310 by a logical operation. Thus, the composite search result 312 is created. That is, if all of the plurality of subfile name lists 308 and 310 include subfile names having a common data item number, those subfile names have been hit (that is, the common data item). Means that the data item identified by the number has been hit), so that the common data item number (and the key item embedded in the subfile name having the common data item number may be added) Can be the combined search result 312.

以上、本発明の好適な一実施形態とその変形例を説明した。上記実施形態では、ファイル名検索を利用するので、検索速度が高速である。また、検索結果をドリルダウンする時における複数の検索キーの指定順序は、ユーザが任意に決めることができる。   The preferred embodiment of the present invention and its modifications have been described above. In the above embodiment, the file name search is used, so the search speed is high. Also, the user can arbitrarily determine the order in which the plurality of search keys are specified when drilling down the search results.

反面、上記実施形態では、多数のサーチ用ファイルをストレージ装置内の所定ディレクトリに保存する必要がある。また、使用できる検索キーのカテゴリ数が、コンピュータで扱えるファイル名の長さの限界によって制限される。   On the other hand, in the above embodiment, it is necessary to save a large number of search files in a predetermined directory in the storage device. In addition, the number of search key categories that can be used is limited by the limit on the length of file names that can be handled by a computer.

このような問題を克服するための、本発明の第2の実施形態について、以下に説明する。   A second embodiment of the present invention for overcoming such a problem will be described below.

図9は、この第2の実施形態にかかる検索システムの全体構成を示す。図9において、図1に示した構成と同様又は類似の役割をもつブロックには、同じ参照番号を付して、重複した説明を省略する。   FIG. 9 shows the overall configuration of the search system according to the second embodiment. 9, blocks having the same or similar role as the configuration shown in FIG. 1 are denoted by the same reference numerals, and redundant description is omitted.

以下、具体例を示しながら、この実施形態にかかる検索システムの構成と動作について説明する。   Hereinafter, the configuration and operation of the search system according to this embodiment will be described with specific examples.

図9に示すように、コンバータ104は、入力された検索方法定義ファイル160(例えばCSV形式のファイル)に基づいて、中間テーブルファイル320とキーアイテムリストファイル322を作成してストレージ装置120に保存する(ステップ400)。   As shown in FIG. 9, the converter 104 creates an intermediate table file 320 and a key item list file 322 based on the input search method definition file 160 (for example, a CSV format file) and saves it in the storage device 120. (Step 400).

具体例を示す。検索方法定義ファイル160によりキーアイテムが次のように定義されているとする。   A specific example is shown. Assume that the key item is defined as follows by the search method definition file 160.

<キーアイテムの定義例>
番号,氏,名,性別,年齢,生まれ年,生まれ月,生まれ日,郵便番号,都道府県
01,庄司,渉,男,57,1950,04,27,1620067,東京都
02,庄司,悟,男,56,1952,01,20,1620067,東京都
03,城所,良江,女,47,1960,04,25,1401234,東京都
04,大塚,裕章,男,58,1949,04,04,1500001,東京都
05,田中,法子,女,40,1966,07,13,2220005,愛知県
06,岡本,由紀子,女,50,1967,09,25,3130088,神奈川県
07,伊藤,久美子,女,59,1949,10,13,2220000,埼玉県
<Key item definition example>
Number, name, gender, age, year of birth, month of birth, date of birth, postal code, prefecture
01, Shoji, Wataru, Male, 57, 1950, 04, 27, 1620067, Tokyo
02, Shoji, Satoru, Male, 56, 1952, 01, 20, 1620067, Tokyo
03, Castle, Rye, Woman, 47, 1960, 04, 25, 1401234, Tokyo
04, Otsuka, Hiroaki, Male, 58, 1949, 04, 04, 1500001, Tokyo
05, Tanaka, Noriko, Woman, 40, 1966, 07, 13, 2220005, Aichi
06, Okamoto, Yukiko, Woman, 50, 1967, 09, 25, 3130088, Kanagawa Prefecture
07, Ito, Kumiko, Woman, 59, 1949, 10, 13, 2220000, Saitama

この場合、中間テーブルファイル320は例えばCSVファイルの形式で次のような内容で作成される。この内容は、上述した第1の実施形態における「表対応型」(「列位置型」と「行列位置型」)の命名法に関して説明した中間テーブルと同様である。   In this case, the intermediate table file 320 is created in the following format, for example, in the form of a CSV file. This content is the same as the intermediate table described with respect to the nomenclature of “table correspondence type” (“column position type” and “matrix position type”) in the first embodiment described above.

<中間テーブルファイル320の例>
番号 (7),01,02,03,04,05,06,07
氏 (6),庄司,城所,大塚,田中,岡本,伊藤
名 (7),渉,悟,良江,裕章,法子,由紀子,久美子
性別 (2),男,女
年齢 (7),57,56,47,58,40,50,59
生まれ年 (6),1950,1952,1960,1949,1966,1967
生まれ月 (5),04,01,07,09,10
生まれ日 (5),27,20,25,04,13
郵便番号 (6),1620067,1401234,1500001,2220005,3130088,2220000
都道府県 (4),東京都,愛知県,神奈川県,埼玉県
<Example of intermediate table file 320>
Number (7), 01,02,03,04,05,06,07
Mr. (6), Shoji, Castle, Otsuka, Tanaka, Okamoto, Itona (7), Wataru, Satoru, Yoshie, Hiroaki, Noriko, Yukiko, Kumiko Sex (2), Male, Female Age (7), 57, 56,47,58,40,50,59
Birth year (6), 1950, 1952, 1960, 1949, 1966, 1967
Birth month (5), 04,01,07,09,10
Birthday (5), 27,20,25,04,13
Postal code (6), 1620067,1401234,1500001,2220005,3130088,2220000
Prefectures (4), Tokyo, Aichi, Kanagawa, Saitama

次に、上記の中間テーブルファイル320の内容に基づいて、キーアイテムリストファイル322が、例えばテキストファイルの形式で、次のような内容で作成される。   Next, based on the contents of the intermediate table file 320, a key item list file 322 is created with the following contents, for example, in the form of a text file.

<キーアイテムリストファイル322の例>
01_1A_2A_3A_4A_5A_6A_7A_8A_9A_Z
02_1A_2C_3A_4D_5F_6D_7D_8A_9A_Z
03_1D_2E_3C_4G_5K_6A_7G_8I_9A_Z
04_1G_2H_3A_4J_5P_6A_7J_8Q_9A_Z
05_1J_2K_3C_4M_5U_6G_7M_8Y_9E_Z
06_1M_2N_3C_4P_5Z_6J_7G_8BG_9I_Z
07_1P_2R_3C_4S_5P_6M_7M_8BO_9N_Z
<Example of key item list file 322>
01_1A_2A_3A_4A_5A_6A_7A_8A_9A_Z
02_1A_2C_3A_4D_5F_6D_7D_8A_9A_Z
03_1D_2E_3C_4G_5K_6A_7G_8I_9A_Z
04_1G_2H_3A_4J_5P_6A_7J_8Q_9A_Z
05_1J_2K_3C_4M_5U_6G_7M_8Y_9E_Z
06_1M_2N_3C_4P_5Z_6J_7G_8BG_9I_Z
07_1P_2R_3C_4S_5P_6M_7M_8BO_9N_Z

このように、キーアイテムリストファイル322は、上述した第1の実施形態における「表対応型」(「列位置型」と「行列位置型」)の命名法に関して説明した各サーチ用ファイのファイル名から拡張子を除去した各文字列(つまり、各データアイテムの各々がもつ複数のキーアイテムの上記中間テーブルファイル320上での行列位置を示す符号を連結してなる各文字列)を、1つのテキストファイルの1行に(要するに、互いに区別して)書き込んだものに他ならない。従って、キーアイテムリストファイル322には、多数のデータアイテムにそれぞれ関連付けられた多数の上記文字列(文字列の母群)が、記載されている。検索キーを用いたサーチは、キーアイテムリストファイル322上で行われるので、指定できる検索キーの数がファイル名の長さによって制限されることはない。   As described above, the key item list file 322 is the file name of each search file described with respect to the naming method of “table correspondence type” (“column position type” and “matrix position type”) in the first embodiment. Each character string obtained by removing the extension from (that is, each character string formed by concatenating codes indicating matrix positions on the intermediate table file 320 of a plurality of key items of each data item) It is nothing but what was written in one line of the text file (in other words, distinguished from each other). Therefore, the key item list file 322 describes a large number of the character strings (character string mother groups) associated with a large number of data items. Since the search using the search key is performed on the key item list file 322, the number of search keys that can be specified is not limited by the length of the file name.

検索エンジン102は、検索要求を受ける(ステップ130)度に、中間テーブルファイル320とキーアイテムリストファイル322を読み込み、それらファイル320、322の内容、すなわち、中間テーブル324とキーアイテムリスト326を、コンピュータの主メモリ328上に展開する(ステップ402)。検索キーを用いたデータアイテムの検索(ステップ404)は、主メモリ328上の中間テーブル324とキーアイテムリスト326を参照して行われる。ファイル名検索のように使用できる検索キーの個数がファイル名の長さにより制限されるという問題は、存在しない。中間テーブル324は、指定された検索キーを、キーアイテムリスト326でサーチをするための文字列(すなわち、その検索キーの中間テーブルファイル320上での行列位置を示す符号、換言すれば、その検索キーの識別符号)に変換するために使用される。   Each time the search engine 102 receives a search request (step 130), the search engine 102 reads the intermediate table file 320 and the key item list file 322, and stores the contents of the files 320 and 322, that is, the intermediate table 324 and the key item list 326, on the computer. Is expanded on the main memory 328 (step 402). A search for a data item using the search key (step 404) is performed with reference to the intermediate table 324 and the key item list 326 on the main memory 328. There is no problem that the number of search keys that can be used like the file name search is limited by the length of the file name. The intermediate table 324 is a character string for searching the designated search key in the key item list 326 (that is, a code indicating the matrix position of the search key on the intermediate table file 320, in other words, the search key). Key identification code).

検索キーを用いたデータアイテムの検索(ステップ404)では、ファイル名検索ではないので、ワイルドカード「*」を使っての検索はできない。その代わりに、或る文字列「XXXX」の中に或る文字列「YYY」が存在するかをチェックする関数が利用される。例えば、カテゴリ「性別」の検索キー「男」及びカテゴリ「都道府県」の検索キー「東京都」でサーチを行う場合には、その関数を用いて、キーアイテムリスト326の各行に対して、検索キー「男」に対応する文字列「_3A_」を含み、且つ検索キー「東京都」に対応する文字列「_9A_」を含むかどうかをチェックし、ヒットした行の最初の番号を返す、という処理を実行する。   In the data item search using the search key (step 404), since it is not a file name search, a search using the wild card “*” cannot be performed. Instead, a function for checking whether a certain character string “YYY” exists in a certain character string “XXXX” is used. For example, when a search is performed with the search key “male” of the category “gender” and the search key “Tokyo” of the category “prefecture”, the search is performed for each row of the key item list 326 using the function. A process that checks whether or not the character string “_3A_” corresponding to the key “male” is included and the character string “_9A_” corresponding to the search key “Tokyo” is included, and the first number of the hit line is returned. Execute.

複数の検索キーが連続して並ぶ場合、例えば、カテゴリ「名前」の検索キー「渉」と隣のカテゴリ「性別」の検索キー「男」でサーチする場合には、キーアイテムリスト326の各行に対して、それら連続する検索キーに対応する符号を連結した文字列「_2A_3A_」を含むかチェックすればよい。   When a plurality of search keys are arranged in succession, for example, when searching with the search key “Wataru” of the category “name” and the search key “male” of the adjacent category “gender”, each row of the key item list 326 is displayed. On the other hand, it is only necessary to check whether or not the character string “_2A_3A_” concatenated with codes corresponding to the consecutive search keys is included.

この第2の実施形態においても、図3〜図7を参照して説明した検索プロセスが基本的に適用できる。ただし、図3〜図7を参照して説明した検索プロセスでは、指定された検索キーを組み込んだ検索ファイル名にマッチするサーチ用ファイルのファイル名が検索されるのに対し、この第2の実施形態での検索プロセスでは、指定された検索キーに対応する文字列(すなわち、その検索キーの中間テーブルファイル320上での行列位置を示す符号、換言すれば、その検索キーの識別符号)を含んだキーアイテムリストファイル322上の行の文字列が検索される。この相違点以外の処理において、図3〜図7を参照して説明した検索プロセスが適用できる。   Also in the second embodiment, the search process described with reference to FIGS. 3 to 7 can be basically applied. However, in the search process described with reference to FIGS. 3 to 7, the file name of the search file that matches the search file name incorporating the specified search key is searched, whereas this second implementation is performed. The search process in the form includes a character string (that is, a code indicating the matrix position of the search key on the intermediate table file 320, in other words, an identification code of the search key) corresponding to the specified search key. The character string in the line on the key item list file 322 is searched. In processes other than this difference, the search process described with reference to FIGS. 3 to 7 can be applied.

以上説明した第2の実施形態によれば、使用できる検索キーの個数に制限がない。検索キーの選択や、検索キーの順序は、ユーザが都度に自由に決定することができ、それが、検索の速度に影響することもない。ストレージ装置に保存すべきファイルの数は、データアイテムの数に関わらず、中間テーブルファイル320とキーアイテムリストファイル322の2つで足りるので、データベースのメンテナンス及びバックアップが極めて容易である。   According to the second embodiment described above, the number of search keys that can be used is not limited. The selection of search keys and the order of search keys can be freely determined by the user each time, and this does not affect the search speed. Regardless of the number of data items, two files, the intermediate table file 320 and the key item list file 322, are sufficient for the number of files to be stored in the storage device, so that database maintenance and backup are extremely easy.

なお、上記第2の実施形態では、キーアイテムリストファイル322内の各データアイテムに関連付けられた文字列の作成方法として、上述した「表対応型」、特に「行列位置型」の命名法が使用されているが、それに代えて、既に説明した他の命名法、例えば「直接型」、「エンコード型」又は「列位置型」の命名法を使用することも可能である(「直接型」又は「エンコード型」の命名法を用いる場合、中間テーブルファイル320は不要である)。また、上記第2の実施形態では、1つのキーアイテムリストファイル322が用いられるが、それに代えて、そのキーアイテムリストファイル322の内容を分割したのと同等の内容をもつ複数のサブファイルを用いることもできる。   In the second embodiment, the “table correspondence type”, particularly “matrix position type” nomenclature described above is used as a method of creating a character string associated with each data item in the key item list file 322. However, other nomenclatures already described, such as “direct type”, “encoding type” or “column position type” nomenclature can be used instead (“direct type” or When using the “encoding type” nomenclature, the intermediate table file 320 is not required). In the second embodiment, one key item list file 322 is used. Instead, a plurality of subfiles having contents equivalent to those obtained by dividing the contents of the key item list file 322 are used. You can also.

以上、説明された本発明の幾つかの実施形態は、本発明の説明のための例示であり、本発明の範囲を制限する趣旨ではない。本発明は、その要旨を逸脱することなしに、これらの実施形態とは異なる種々の形態でも実施することができる。   The several embodiments of the present invention described above are examples for explaining the present invention, and are not intended to limit the scope of the present invention. The present invention can be implemented in various forms different from these embodiments without departing from the gist thereof.

本発明の第1の実施形態にかかる検索システムの全体構成を示すブロック線図。1 is a block diagram showing an overall configuration of a search system according to a first embodiment of the present invention. コンバータ104によるサーチ用ファイル122,122,…の作成方法の具体例を示すデータフロー図。The data flow figure which shows the specific example of the production method of the search files 122,122, ... by the converter 104. FIG. 検索エンジン102が提供するグラフィカルユーザインタフェースの例を示す図。The figure which shows the example of the graphical user interface which the search engine 102 provides. 検索エンジン102が行う検索のプロセスフロー図の一部。Part of a process flow diagram of a search performed by the search engine 102. 検索エンジン102が行う検索のプロセスフロー図の一部。Part of a process flow diagram of a search performed by the search engine 102. 検索エンジン102が行う検索のプロセスフロー図の一部。Part of a process flow diagram of a search performed by the search engine 102. 検索エンジン102が行う検索のプロセスフロー図の一部。Part of a process flow diagram of a search performed by the search engine 102. 1つのデータアイテムに対して複数のサーチ用ファイルを作成するように構成された本発明の変形実施形態のデータフロー図。The data flow figure of the deformation | transformation embodiment of this invention comprised so that the some file for a search might be produced with respect to one data item. 本発明の第2の実施形態にかかる検索システムの全体構成を示すブロック線図。The block diagram which shows the whole structure of the search system concerning the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

100 検索システム
102 検索エンジン
104 コンバータ
110 OSのファイルシステム
120 ストレージ装置
122 サーチ用ファイル
160 検索方法定義情報
170 GUIウィンドウ
300、302 サーチ用サブファイル
304、306 検索サブファイル名
312 合成検索結果
320 中間テーブルファイル
322 キーアイテムリストファイル
324 中間テーブル
326 キーアイテムリスト
100 Search System 102 Search Engine 104 Converter 110 OS File System 120 Storage Device 122 Search File 160 Search Method Definition Information 170 GUI Window 300, 302 Search Subfile 304, 306 Search Subfile Name 312 Composite Search Result 320 Intermediate Table File 322 Key item list file 324 Intermediate table 326 Key item list

Claims (11)

多数のデータアイテムの中から、検索キーにマッチするデータアイテムを検索するためのシステムにおいて、
多数のデータアイテムにそれぞれ関連付けられた多数の文字列からなる文字列母群を保存する保存手段であって、前記文字列母群内の各文字列は、各データアイテムに関する複数のカテゴリにそれぞれ属する複数のキーアイテムを連結したもの又は前記複数のキーアイテムの識別符号を連結したものを含む、前記保存手段と、
前記文字列母群に含まれるキーアイテムの中から、ユーザの選択に従って、検索キーを選択する第1の検索キー選択手段と、
前記選択された検索キーにマッチする文字列を前記文字列母群の中から検索するための検索要求を発行する検索手段と、
前記検索要求に対する検索結果として得られた検索された文字列の中から、前記ユーザにより指定されたカテゴリに属するキーアイテムを抽出し、前記抽出されたキーアイテムを表示するキーアイテム表示手段と、
前記表示されたキーアイテムの中から、前記ユーザの選択に従って、次の検索キーを選択して、前記選択された次の検索キーと前記第1の検索キー選択ステップにより選択された検索キーとの双方にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる第2の検索キー選択手段と
を備え、
前記第2の検索キー選択手段は、前記ユーザの選択の繰り返しに従って複数回繰り返して動作し、各回において、今回選択された次の検索キーと以前の回で選択された検索キーと前記第1の検索キー選択ステップにより選択された検索キーとの全部にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる、データ検索のためのシステム。
In a system for searching for a data item that matches a search key from a number of data items,
A storage means for storing a character string group composed of a large number of character strings respectively associated with a large number of data items, wherein each character string in the character string group belongs to a plurality of categories related to each data item. Including the concatenation of a plurality of key items or the concatenation of identification codes of the plurality of key items;
A first search key selecting means for selecting a search key from the key items included in the character string population according to the user's selection;
Search means for issuing a search request for searching the character string group for a character string that matches the selected search key;
Key item display means for extracting a key item belonging to the category specified by the user from the searched character string obtained as a search result for the search request, and displaying the extracted key item;
A next search key is selected from the displayed key items according to the user's selection, and the selected next search key and the search key selected by the first search key selection step are selected. Second search key selection means for operating the search means again so as to issue a search request for searching for a character string matching both from the character string population;
The second search key selection means repeatedly operates a plurality of times in accordance with the selection of the user, and each time, the next search key selected this time, the search key selected in the previous time, and the first search key are selected. For data retrieval, the retrieval means is operated again so as to issue a retrieval request for retrieving from the character string group a character string that matches all the retrieval keys selected by the retrieval key selection step. System.
多数のデータアイテムの中から、検索キーにマッチするデータアイテムを検索するための方法において、
多数のデータアイテムにそれぞれ関連付けられた多数の文字列からなる文字列母群を保存する保存ステップであって、前記文字列母群内の各文字列は、各データアイテムに関する複数のカテゴリにそれぞれ属する複数のキーアイテムを連結したもの又は前記複数のキーアイテムの識別符号を連結したものを含む、前記保存ステップと、
前記文字列母群に含まれるキーアイテムの中から、ユーザの選択に従って、検索キーを選択する第1の検索キー選択ステップと、
前記選択された検索キーにマッチする文字列を前記文字列母群の中から検索するための検索要求を発行する検索ステップと、
前記検索要求に対する検索結果として得られた検索された文字列の中から、前記ユーザにより指定されたカテゴリに属するキーアイテムを抽出して表示するキーリスト表示ステップと、
前記表示されたキーアイテムの中から、前記ユーザの選択に従って、次の検索キーを選択して、前記選択された次の検索キーと前記第1の検索キー選択手段により選択された検索キーとの双方にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる第2の検索キー選択ステップと、
手段とする第2の検索キー選択ステップと、
前記ユーザの選択の繰り返しに従って、前記第2の検索キー選択ステップを複数回繰り返し、各回において、今回選択された次の検索キーと以前の回で選択された検索キーと前記第1の検索キー選択手段により選択された検索キーとの全部にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる繰り返しステップと
を有するデータ検索のための方法。
In a method for searching for a data item that matches a search key from a number of data items,
A storage step of storing a character string group composed of a number of character strings respectively associated with a number of data items, wherein each character string in the character string group belongs to a plurality of categories related to each data item Including the concatenation of a plurality of key items or the concatenation of identification codes of the plurality of key items;
A first search key selection step of selecting a search key from the key items included in the character string group according to a user's selection;
A search step for issuing a search request for searching the character string group for a character string that matches the selected search key;
A key list display step of extracting and displaying key items belonging to the category designated by the user from the searched character strings obtained as search results for the search request;
A next search key is selected from the displayed key items according to the user's selection, and the selected next search key and the search key selected by the first search key selection means are selected. A second search key selection step for causing the search means to operate again so as to issue a search request for searching for a character string matching both from the character string group;
A second search key selection step as means;
The second search key selection step is repeated a plurality of times in accordance with repetition of the user's selection, each time, the next search key selected this time, the search key selected in the previous time, and the first search key selection A repetitive step of causing the search means to operate again so as to issue a search request for searching the character string group for a character string that matches all of the search keys selected by the means. Way for.
多数のデータアイテムの中から、検索キーにマッチするデータアイテムを検索するための方法を、コンピュータに実行させるためのコンピュータプログラムにおいて、前記方法が、
多数のデータアイテムにそれぞれ関連付けられた多数の文字列からなる文字列母群を保存する保存ステップであって、前記文字列母群内の各文字列は、各データアイテムに関する複数のカテゴリにそれぞれ属する複数のキーアイテムを連結したもの又は前記複数のキーアイテムの識別符号を連結したものを含む、前記保存ステップと、
前記文字列母群に含まれるキーアイテムの中から、ユーザの選択に従って、検索キーを選択する第1の検索キー選択ステップと、
前記選択された検索キーにマッチする文字列を前記文字列母群の中から検索するための検索要求を発行する検索ステップと、
前記検索要求に対する検索結果として得られた検索された文字列の中から、前記ユーザにより指定されたカテゴリに属するキーアイテムを抽出して表示するキーリスト表示ステップと、
前記表示されたキーアイテムの中から、前記ユーザの選択に従って、次の検索キーを選択して、前記選択された次の検索キーと前記第1の検索キー選択手段により選択された検索キーとの双方にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる第2の検索キー選択ステップと、
手段とする第2の検索キー選択ステップと、
前記ユーザの選択の繰り返しに従って、前記第2の検索キー選択ステップを複数回繰り返し、各回において、今回選択された次の検索キーと以前の回で選択された検索キーと前記第1の検索キー選択手段により選択された検索キーとの全部にマッチする文字列を前記文字列母群の中から検索するための検索要求を発行するよう、前記検索手段を再び動作させる繰り返しステップと
を有する、データ検索のためのコンピュータプログラム。
In a computer program for causing a computer to execute a method for searching for a data item that matches a search key from a number of data items, the method includes:
A storage step of storing a character string group composed of a number of character strings respectively associated with a number of data items, wherein each character string in the character string group belongs to a plurality of categories related to each data item Including the concatenation of a plurality of key items or the concatenation of identification codes of the plurality of key items;
A first search key selection step of selecting a search key from the key items included in the character string group according to a user's selection;
A search step for issuing a search request for searching the character string group for a character string that matches the selected search key;
A key list display step of extracting and displaying key items belonging to the category designated by the user from the searched character strings obtained as search results for the search request;
A next search key is selected from the displayed key items according to the user's selection, and the selected next search key and the search key selected by the first search key selection means are selected. A second search key selection step for causing the search means to operate again so as to issue a search request for searching for a character string matching both from the character string group;
A second search key selection step as means;
The second search key selection step is repeated a plurality of times in accordance with repetition of the user's selection, each time, the next search key selected this time, the search key selected in the previous time, and the first search key selection A data search comprising: repeating the search means to issue a search request for searching the character string group for a character string that matches all of the search keys selected by the means. Computer program for.
請求項3記載のコンピュータプログラムにおいて、
前記保存ステップは、前記多数のデータアイテムに関連付けられた多数のサーチ用ファイルを保存するステップを含み、
前記保存された多数のサーチ用ファイルの各々のファイル名に、前記多数の文字列の各々が組み込まれている、データ検索のためのコンピュータプログラム。
The computer program according to claim 3, wherein
The storing step includes storing a number of search files associated with the number of data items;
A computer program for data retrieval, wherein each of the plurality of character strings is incorporated in a file name of each of the plurality of stored search files.
請求項4記載のコンピュータプログラムにおいて、
前記検索ステップは、前記各回において、
今回選択された次の検索キーと、以前の回で選択された検索キーと、前記第1の検索キー選択手段により選択された検索キーと、他のカテゴリの未選択の検索キーの代用としてのワイルドカードとを連結してなる検索ファイル名を作成するステップと、
前記作成された検索ファイル名にマッチする前記サーチ用ファイルのファイル名を検索するための検索要求を発行するステップと
を含む、データ検索のためのコンピュータプログラム。
The computer program according to claim 4, wherein
In each of the search steps,
As a substitute for the next search key selected this time, the search key selected in the previous round, the search key selected by the first search key selection means, and an unselected search key of another category Creating a search file name by concatenating wildcards;
Issuing a search request for searching for a file name of the search file that matches the created search file name.
請求項5記載のコンピュータプログラムにおいて、
各サーチ用ファイルのファイル名に組み込まれた前記各文字列では、各キーアイテム又は前記各キーアイテムの識別符号が所定の区切り文字により両側から挟まれるようにして、前記複数のキーアイテム又は前記複数のキーアイテムの識別符号が連結されるとともに、前記複数のキーアイテム又は前記複数のキーアイテムの識別符号を連結したものの先頭と末尾にそれぞれ所定の接頭文字と接尾文字が付加されている、データ検索のためのコンピュータプログラム。
The computer program according to claim 5, wherein
In each character string incorporated in the file name of each search file, each key item or each key item identification code is sandwiched from both sides by a predetermined delimiter so that the plurality of key items or the plurality of key items A data search in which identification codes of key items are connected and a predetermined prefix and suffix are added to the beginning and end of the plurality of key items or a combination of identification codes of the plurality of key items, respectively. Computer program for.
請求項4〜6のいずれか一項記載のコンピュータプログラムにおいて、
各サーチ用ファイルには、各データアイテムの参照情報が格納されている、データ検索のためのコンピュータプログラム。
In the computer program as described in any one of Claims 4-6,
A computer program for data search, in which each search file stores reference information of each data item.
請求項3記載のコンピュータプログラムにおいて、
前記保存ステップは、キーアイテムリストファイルを保存するステップを含み、
前記保存されたキーアイテムリストファイル内に、前記多数の文字列が互いに区別されて格納されている、データ検索のためのコンピュータプログラム。
The computer program according to claim 3, wherein
The storing step includes a step of storing a key item list file;
A computer program for data retrieval, wherein the plurality of character strings are distinguished from each other and stored in the stored key item list file.
請求項3〜8のいずれか一項記載のコンピュータプログラムにおいて、
前記各文字列は、前記各データアイテムに関する前記複数のキーアイテムの識別符号を連結したものを含み、
各キーアイテムの識別符号は、前記各キーアイテムを構成する文字の各々の文字コードを、M進数(Mは2より大きい数)を表す文字列に変換したものである、データ検索のためのコンピュータプログラム。
In the computer program as described in any one of Claims 3-8,
Each of the character strings includes a concatenation of identification codes of the plurality of key items related to the data items,
The identification code of each key item is obtained by converting the character code of each of the characters constituting each key item into a character string representing an M-ary number (M is a number greater than 2). program.
請求項3〜8のいずれか一項記載のコンピュータプログラムにおいて、
前記方法が、前記多数のデータアイテムに関する多数のキーアイテムが登録された中間テーブルファイルを保存するステップを、更に有し、
前記各文字列は、前記各データアイテムに関する前記複数のキーアイテムの識別符号を連結したものを含み、
各キーアイテムの識別符号は、前記中間テーブルファイル上で前記各キーアイテムを識別するための符号である、データ検索のためのコンピュータプログラム。
In the computer program as described in any one of Claims 3-8,
The method further comprises the step of saving an intermediate table file in which a number of key items relating to the number of data items are registered;
Each of the character strings includes a concatenation of identification codes of the plurality of key items related to the data items,
A computer program for data retrieval, wherein an identification code of each key item is a code for identifying each key item on the intermediate table file.
請求項10記載のコンピュータプログラムにおいて、
前記各キーアイテムの識別符号は、前記中間テーブルファイル上での前記各キーアイテムの位置を特定するための符号である、データ検索のためのコンピュータプログラム。
The computer program according to claim 10, wherein
A computer program for data search, wherein the identification code of each key item is a code for specifying the position of each key item on the intermediate table file.
JP2007263198A 2007-10-09 2007-10-09 System, method and computer program for data retrieval Pending JP2009093405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007263198A JP2009093405A (en) 2007-10-09 2007-10-09 System, method and computer program for data retrieval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007263198A JP2009093405A (en) 2007-10-09 2007-10-09 System, method and computer program for data retrieval

Publications (2)

Publication Number Publication Date
JP2009093405A true JP2009093405A (en) 2009-04-30
JP2009093405A5 JP2009093405A5 (en) 2009-07-16

Family

ID=40665337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007263198A Pending JP2009093405A (en) 2007-10-09 2007-10-09 System, method and computer program for data retrieval

Country Status (1)

Country Link
JP (1) JP2009093405A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011170791A (en) * 2010-02-22 2011-09-01 Nippon Telegr & Teleph Corp <Ntt> Information recording device, information recording method and program
US8935286B1 (en) * 2011-06-16 2015-01-13 The Boeing Company Interactive system for managing parts and information for parts

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011170791A (en) * 2010-02-22 2011-09-01 Nippon Telegr & Teleph Corp <Ntt> Information recording device, information recording method and program
US8935286B1 (en) * 2011-06-16 2015-01-13 The Boeing Company Interactive system for managing parts and information for parts

Similar Documents

Publication Publication Date Title
JP5782214B2 (en) Information search program, information search device, and information search method
JP4848317B2 (en) Database indexing system, method and program
JP5135272B2 (en) Structured document management apparatus and method
US7676487B2 (en) Method and system for formatting and indexing data
JP6833712B2 (en) Data transformation system and method
JP2669601B2 (en) Information retrieval method and system
JPH09245043A (en) Information retrieval device
JP6343081B1 (en) Recording medium recording code code classification search software
JP3784060B2 (en) Database search system, search method and program thereof
JP2009093405A (en) System, method and computer program for data retrieval
Howard et al. Phonetic spelling algorithm implementations for R
JP2016018279A (en) Document file search program, document file search device, document file search method, document information output program, document information output device, and document information output method
JP6787755B2 (en) Document search device
JP6871642B2 (en) Dictionary construction device, map creation device, search device, dictionary construction method, map creation method, search method, and program
Taghva et al. Farsi searching and display technologies
JP6361472B2 (en) Correspondence information generation program, correspondence information generation apparatus, and correspondence information generation method
JP7083473B2 (en) Input support device
JP4778466B2 (en) Data management apparatus, data management method, and program
JP7022789B2 (en) Document search device, document search method and computer program
JP4061283B2 (en) Apparatus, method and program for converting lexical data to data
JP2006126883A (en) Information retrieval device and the information retrieval method
JP2001092830A (en) Device and method for collating character string
JP2023008685A (en) Information providing system, information providing method, and data structure
JP2005275880A (en) Device, method and program for converting word and phrase into data
JPH08161351A (en) Word number replacing method, index preparing method and method and device for document retrieval

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090529

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090529

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20090529

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20090611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090707

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090904

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091006