JPH05204976A - File registration retrieving device - Google Patents

File registration retrieving device

Info

Publication number
JPH05204976A
JPH05204976A JP4015463A JP1546392A JPH05204976A JP H05204976 A JPH05204976 A JP H05204976A JP 4015463 A JP4015463 A JP 4015463A JP 1546392 A JP1546392 A JP 1546392A JP H05204976 A JPH05204976 A JP H05204976A
Authority
JP
Japan
Prior art keywords
file
search
directory
retrieving
attribute
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
JP4015463A
Other languages
Japanese (ja)
Inventor
Eimei Fujii
栄明 藤井
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4015463A priority Critical patent/JPH05204976A/en
Publication of JPH05204976A publication Critical patent/JPH05204976A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To retrieve the desired one of those files having the common parts in the items of contents and also to retrieve the file of the contents consisting of the character strings and the file of the contents except the character strings. CONSTITUTION:When a file to be retrieved is stored, a file storage part 14 stores a retrieving file, a retrieving object file, and a directory which controls both files. Meanwhile a retrieving attribute storage table storing part 13 stores the character strings included in a special frame corresponding to the name of the special frame extracted out of the retrieving file by an extracting means and the directory storing destination information with correspondence secured between them. When the object file is retrieved, an attribute retrieving part 15 extracts a character string coincident with the character string that is designated as the retrieving conditions out of the part 13 and also takes the corresponding directory out of the part 14 together with the retrieving file and the retrieving object file based on the stored storing destination information. Then the part 15 retrieves the file adaptive to the retrieving conditions.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、検索条件に適合するフ
ァイルを検索するファイル登録検索装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file registration / retrieval device for retrieving a file that meets a retrieval condition.

【0002】[0002]

【従来の技術】従来のデータ管理システムの一例として
は、たとえば丸善株式会社から昭和61年4月25日に
発行された「JStar ワークステーション」(P144〜P15
7)に開示されたものがある。この文献に開示されたワ
ークステーションの文書ファイルの登録検索機能では、
定形文書の変化する項目にフィールドと呼ばれる特殊記
号“「 」”(以下、特殊枠という)を挿入し、本文か
ら区別して扱い、この特殊枠中への文字列の入力などに
専用のコマンドを提供することによって、定形文書を簡
易に作成することが可能になっている。また、1文書中
の複数の特殊枠中の文字列(以下、特殊枠の値という)
を組みとしたものを1レコードとしたデータを管理する
レコードファイルを使用することにより、多数のレコー
ドから、ユーザが指定した条件を満たすレコードを検索
することができる。
2. Description of the Related Art As an example of a conventional data management system, for example, "JStar Workstation" (P144 to P15) issued by Maruzen Co., Ltd. on April 25, 1986.
There is one disclosed in 7). In the document document registration search function of the workstation disclosed in this document,
A special symbol ““ ”(hereinafter referred to as“ special frame ”) called a field is inserted into a variable item of a fixed form document to handle it separately from the text, and a dedicated command is provided for entering a character string into this special frame. By doing so, it is possible to easily create a standard document.Character strings in a plurality of special frames in one document (hereinafter referred to as special frame values)
By using a record file that manages the data in which the combination of 1 and 2 is used as one record, a record satisfying the condition specified by the user can be searched from a large number of records.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来のレコードファイルによるデータ管理では、ユーザが
指定した条件を満たすレコードの特殊枠の値のみが結果
として表示されるため、文書のヘッダのような文書の一
部分のみが共通で、本分と異なるような文書を扱うのに
は不向きであった。すなわち、レコードファイルでは文
書ファイルの格納及び取り出しが出来なかった。勿論、
内容が文字列ではないようなファイル(例えばイメージ
データ)の格納及び取り出しも出来なかった。
However, in the above-mentioned conventional data management by the record file, since only the value of the special frame of the record satisfying the condition specified by the user is displayed as a result, a document such as a document header is displayed. It was unsuitable for handling documents that differed from the main one, because only a part of was common. That is, the record file could not store or retrieve the document file. Of course,
It was also not possible to store and retrieve files (for example, image data) whose contents were not character strings.

【0004】この発明の目的は、内容の項目に共通部分
がある複数のファイルから所望のファイルを検索するこ
とができると共に、文字列を有して構成される内容のフ
ァイルや文字列以外の内容のファイルを検索することの
できるファイル登録検索装置を提供することにある。
An object of the present invention is to search for a desired file from a plurality of files having a common part in the content items, and to provide a file having a character string and a content other than the character string. It is to provide a file registration / retrieval device capable of retrieving the following files.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、特殊枠の名前および該特殊枠内の文字列
が登録されている検索用ファイルと、この検索用ファイ
ルに対応する所定のファイルと、これらファイルを管理
するためのディレクトリとを記憶する第1の記憶手段
と、前記検索用ファイル中の前記名前および文字列を抽
出する抽出手段と、前記抽出手段によって抽出される前
記名前に対応する前記文字列と、前記第1の記憶手段中
における前記ディレクトリの格納先情報とを対応付けし
て記憶する第2の記憶手段と、検索条件として指定され
た前記文字列に応じて前記第2の記憶手段を検索し、こ
の検索結果に基づいて前記第1の記憶手段から目的とす
るファイルを検索する検索手段とを具えている。
To achieve the above object, the present invention provides a search file in which a name of a special frame and a character string in the special frame are registered, and a predetermined file corresponding to the search file. First storage means for storing the files and directories for managing these files, extraction means for extracting the name and character string in the search file, and the name extracted by the extraction means. Corresponding to the character string and the storage destination information of the directory in the first storage means are stored in association with each other; The second storage means is searched, and the searching means for searching the target file from the first storage means based on the search result.

【0006】[0006]

【作用】この発明に係るファイル登録検索装置では、検
索対象ファイルの格納時には、第1の記憶手段に、検索
用ファイル、該検索用ファイルに対応する所定のファイ
ル及びこれらのファイルを管理するためのディレクトリ
が記憶されると共に、第2の記憶手段に、抽出手段によ
り前記検索用ファイルから抽出された特殊枠の名前に対
応する該特殊枠内の文字列と前記ディレクトリの格納先
情報とが対応付けされて記憶される。ファイルの検索時
には、検索手段は、前記第2の記憶手段から、検索条件
として指定された文字列と一致する文字列を抽出すると
共に、この抽出された文字列に対応して記憶されている
格納先情報に基づいて、前記第1の記憶手段から、該当
するディレクトリを、該ディレクトリによって管理され
ている検索用ファイル及び所定のファイルと共に取り出
して、検索条件に適合するファイルを検索する。
In the file registration / retrieval apparatus according to the present invention, when the retrieval target file is stored, the first storage means manages the retrieval file, a predetermined file corresponding to the retrieval file, and these files. A directory is stored, and a character string in the special frame corresponding to the name of the special frame extracted from the search file by the extraction unit is associated with the storage destination information of the directory in the second storage unit. Are stored. At the time of searching for a file, the searching means extracts a character string that matches the character string specified as the search condition from the second storage means, and stores the stored character string corresponding to the extracted character string. Based on the destination information, the corresponding directory is retrieved from the first storage unit together with the search file managed by the directory and a predetermined file, and a file that meets the search condition is searched.

【0007】従ってこの発明によれば、検索対象となる
ファイルは検索用ファイルと共にディレクトリの下で記
憶され管理されることとなり、内容が文字列ではないフ
ァイル(例えばイメージデータを保存しているファイ
ル)であっても、そのファイルを検索することができ
る。
Therefore, according to the present invention, the file to be searched is stored and managed under the directory together with the search file, and the content is not a character string (for example, a file storing image data). You can even search for that file.

【0008】[0008]

【実施例】以下、本発明の実施例を添付図面を参照して
説明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0009】図1は、本発明に係るファイル登録検索装
置を有して構成されるネットワークシステムの一実施例
をブロック図で示したものである。
FIG. 1 is a block diagram showing an embodiment of a network system including a file registration / retrieval device according to the present invention.

【0010】同図において、ファイル登録検索装置10
は、ネットワーク20を介してワークステーション30
と接続され、このワークステーション30から入力され
る検索指示に従って、自己内に格納されている検索対象
ファイルを検索して、この検索結果をワークステーショ
ン30に返す。その検索結果は、ワークステーション3
0に設けられた表示装置(図示せず)に表示されたり、
プリンタ(図示せず)により印字される。なお、ワーク
ステーション30はファイルの転記、移動、削除等を行
うファイル管理部31、データを記憶するファイル記憶
部32、ディレクトリ、検索用ファイル、文書ファイル
やイメージデータファイルなど検索対象となるファイル
を生成すると共に、ファイルを編集するファイル編集部
33、及びネットワーク20に接続されネットワーク2
0を介してデータの入出力を行うデータ通信部34から
構成されている。
In FIG. 1, a file registration / retrieval device 10
Is a workstation 30 via the network 20.
The search target file stored in itself is searched according to the search instruction input from the workstation 30, and the search result is returned to the workstation 30. The search result is workstation 3
0 is displayed on a display device (not shown) provided in
It is printed by a printer (not shown). The workstation 30 generates a file management unit 31 that transfers, moves, or deletes files, a file storage unit 32 that stores data, a directory, a search file, a file to be searched such as a document file or an image data file. In addition, the file editing unit 33 for editing the file and the network 2 connected to the network 20
It is composed of a data communication unit 34 that inputs and outputs data via 0.

【0011】ファイル登録検索装置10は、検索属性抽
出部11、検索属性記憶用テーブル作成部12、検索属
性記憶用テーブル格納部13、ファイル記憶部14、属
性検索部15、データ通信部16から構成されている。
The file registration / retrieval device 10 comprises a retrieval attribute extraction unit 11, a retrieval attribute storage table creation unit 12, a retrieval attribute storage table storage unit 13, a file storage unit 14, an attribute retrieval unit 15, and a data communication unit 16. Has been done.

【0012】検索属性抽出部11は、検索用ファイルの
文字列中に挿入され、その中に文字列が記入可能である
ような特殊枠の名前と順序および特殊枠中の文字列を認
識する。すなわち、データ通信部16を通じて入力され
る図2に示すような検索用ファイル200中の各特殊枠
210、220、230の名前と順序とを抽出したデー
タ、及び特殊枠の名前と順序を一意で区別できる属性デ
ータを取り出す。図2では特殊枠は“「 」”で示され
ている。なお図2中における各特殊枠の左に表記されて
いる文字「イメージデータ名」、「作成者」、「作成
日」は検索用ファイルを登録する際に、オペレータに対
して特殊枠の属性が何であるかを分からせるためにシス
テムの文字入力機能を使って入力したものである。
The search attribute extraction unit 11 recognizes the name and order of the special frame and the character string in the special frame which are inserted into the character string of the search file and in which the character string can be written. That is, the data extracted from the names and order of the special frames 210, 220, 230 in the search file 200 as shown in FIG. 2 input through the data communication unit 16 and the names and order of the special frames are unique. Extract the distinguishable attribute data. The special frame is indicated by "" in Fig. 2. The characters "image data name", "creator", and "creation date" written to the left of each special frame in Fig. 2 are for searching. When registering a file, it is entered using the character input function of the system so that the operator can know what the attributes of the special frame are.

【0013】ところで検索属性抽出部11は、検索用フ
ァイルの登録時には抽出データを検索属性記憶用テーブ
ル作成部12に送り、また所定のファイルの格納時には
属性データに基づいて検索属性記憶用テーブル格納部1
3に保存されている検索属性記憶用テーブルの中から抽
出データまたは属性データに合致した検索属性記憶用テ
ーブルを選択し、該当するテーブルに、入力されたファ
イルを取り出す際のポインタを追加する。このポインタ
は文書ファイルやイメージデータファイルなど検索対象
となるファイルを管理するためのディレクトリがファイ
ル記憶部14のどの場所に格納されているかを示す情報
である。
By the way, the search attribute extraction unit 11 sends the extracted data to the search attribute storage table creation unit 12 when the search file is registered, and the search attribute storage table storage unit based on the attribute data when the predetermined file is stored. 1
A search attribute storage table matching the extracted data or the attribute data is selected from the search attribute storage tables stored in No. 3, and a pointer for extracting the input file is added to the corresponding table. This pointer is information indicating where in the file storage unit 14 a directory for managing a file to be searched such as a document file or an image data file is stored.

【0014】検索用ファイル200からは、特殊枠21
0、220、230の名前、すなわち各特殊枠の属性と
して、図2に示す例では“イメージデータ名”、“作成
者”“作成日”が抽出される。また当該各特殊枠の順序
としては、例えば“イメージデータ名”という特殊枠の
順位を1番とし、これに“特殊枠1”という順位が与え
られ、同様に“作成者”という特殊枠には順位を2番と
して“特殊枠2”が、また“作成日”という特殊枠には
順位を3番として“特殊枠3”がそれぞれ与えられる。
この特殊枠の順序は、特殊枠の名前を抽出する際にその
抽出順序によって決定される。従って図2に示した例で
は、最初に特殊枠“イメージデータ名”が抽出された後
に、特殊枠“作成者”、特殊枠“作成日”が順次に抽出
されたことになる。
From the search file 200, the special frame 21
In the example shown in FIG. 2, “image data name”, “creator”, and “creation date” are extracted as the names 0, 220, and 230, that is, the attributes of each special frame. As for the order of the special frames, for example, the order of the special frame "image data name" is set to 1, and the order of "special frame 1" is given to this special frame. “Special frame 2” is assigned with the second rank, and “special frame 3” is assigned with the third rank for the special frame “creation date”.
The order of the special frames is determined by the extraction order when extracting the names of the special frames. Therefore, in the example shown in FIG. 2, the special frame “image data name” is first extracted, and then the special frame “creator” and the special frame “creation date” are sequentially extracted.

【0015】検索属性記憶用テーブル作成部12は、検
索属性抽出部11で抽出された特殊枠の名前と順序に従
って、その特殊枠の名前に対応したカラムを有する検索
属性記憶用テーブルを作成する。この検索属性記憶用テ
ーブルの一例を図3に示す。この図に示す例では、検索
属性記憶用テーブル300は、図2に示した検索用ファ
イル中の各特殊枠の名前に対応し特殊枠内の文字列が登
録される3つのカラムと、当該検索用ファイル及び検索
対象となる所定のファイルを管理するためのディレクト
リの格納先情報が登録されるカラムとを有する領域で構
成されている。図2に示す例では、各特殊枠の名前に対
応した各カラム310、320、330と、格納先情報
としてのポインタのカラム340とを有するテーブルが
作成されている。このようなテーブルは検索用ファイル
毎に作成され、検索属性記憶用テーブル格納部13に格
納される。
The search attribute storage table creating unit 12 creates a search attribute storage table having columns corresponding to the names of the special frames according to the names and order of the special frames extracted by the search attribute extracting unit 11. An example of this search attribute storage table is shown in FIG. In the example shown in this figure, the search attribute storage table 300 has three columns in which the character strings in the special frame corresponding to the names of the special frames in the search file shown in FIG. File and a column in which storage location information of a directory for managing a predetermined file to be searched is registered. In the example shown in FIG. 2, a table having columns 310, 320 and 330 corresponding to the names of the special frames and a column 340 of pointers as storage destination information is created. Such a table is created for each search file and stored in the search attribute storage table storage unit 13.

【0016】このようにして作成された検索属性記憶用
テーブルを検索属性記憶用テーブル格納部13に保存す
る際に、当該テーブルに名前を付け、同じ名前のファイ
ルを属性として持たせる。例えば、図3に示すテーブル
300の名前を“Table :イメージデータ名/作成者/
作成日”とし、“Table :イメージデータ名/作成者/
作成日”という属性データを検索用ファイルの属性とす
る。このように特殊枠の名前と順序を一意に区別できる
属性データを採用することにより、検索用ファイル中の
特殊枠の名前と順序を抽出する時間が省ける。
When the search attribute storage table thus created is stored in the search attribute storage table storage unit 13, a name is given to the table and a file having the same name is provided as an attribute. For example, the name of the table 300 shown in FIG. 3 is changed to “Table: image data name / creator /
Created date "," Table: image data name / creator /
The attribute data "creation date" is used as the attribute of the search file. By using the attribute data that can uniquely distinguish the name and order of the special frame, the name and order of the special frame in the search file are extracted. Save time to do

【0017】検索属性記憶用テーブル格納部13は、検
索属性記憶用テーブル作成部12で作成されたテーブル
を既存のテーブルに追加して格納する。
The search attribute storage table storage section 13 stores the table created by the search attribute storage table creation section 12 in addition to the existing table.

【0018】ファイル記憶部5は、検索対象ファイルの
格納時に、データ通信部16を通して入力される検索用
ファイル200、この検索用ファイルに対応する検索対
象ファイル、これらファイルを管理するためのディレク
トリを記憶する。
The file storage unit 5 stores a search file 200 input through the data communication unit 16 when storing search target files, search target files corresponding to the search files, and directories for managing these files. To do.

【0019】属性検索部15は、入力される検索条件に
基づいて検索属性記憶テーブル格納部13に格納されて
いる該当する検索属性記憶テーブルを選択し、このテー
ブルのポインタを使用してファイル記憶部14を検索
し、その結果をデータ通信部16に出力する。
The attribute search unit 15 selects a corresponding search attribute storage table stored in the search attribute storage table storage unit 13 based on the input search condition, and uses the pointer of this table to select the file storage unit. 14 is searched, and the result is output to the data communication unit 16.

【0020】なおこの実施例では、検索属性抽出部11
によって抽出された特殊枠の名前に従って、検索属性記
憶用テーブル作成部12が図3に示すようなテーブルを
作成するようにしたが、テーブルを作成することなく、
抽出された特殊枠の名前とこの名前に対応する特殊枠内
に入力される文字列とディレクトリの格納先情報とを対
応付けして記憶するようにしたものでも良い。しかし、
前処理として検索属性記憶用テーブルを作成し、このテ
ーブルに上記各情報を登録することにより、ファイル検
索時の検索処理を迅速に行うことができるので、この実
施例のようにテーブルを作成するようにした方が好まし
い。
In this embodiment, the search attribute extraction unit 11
According to the name of the special frame extracted by, the search attribute storage table creating unit 12 creates the table as shown in FIG. 3, but without creating the table,
The name of the extracted special frame, the character string input in the special frame corresponding to this name, and the storage destination information of the directory may be stored in association with each other. But,
By creating a search attribute storage table as preprocessing and registering the above information in this table, the search processing at the time of file search can be performed quickly. Therefore, create the table as in this embodiment. Is preferred.

【0021】またこの実施例では、上述した抽出手段は
検索属性抽出部11で構成されており、上述した第1の
記憶手段はファイル記憶手段で構成されており、上述し
た第2の記憶手段は検索属性記憶用テーブル格納部13
で構成されており、上述した検索手段は属性検索部15
で構成されている。
Further, in this embodiment, the above-mentioned extracting means is constituted by the search attribute extracting section 11, the above-mentioned first storing means is constituted by the file storing means, and the above-mentioned second storing means is constituted. Search attribute storage table storage unit 13
The search means described above is the attribute search unit 15
It is composed of.

【0022】上述した構成において、ファイル登録検索
装置の概略動作を説明する。検索対象ファイルの格納時
には、検索属性抽出部11は、検索用ファイルを検索対
象ファイルと共に、ファイルの階層構造を構築している
全体のディレクトリ(このディレクトリは検索用ファイ
ル及び検索対象ファイルを管理するディレクトリとは異
なる)の下において、検索用ファイル及び検索対象ファ
イルを管理するためのディレクトリ毎(このディレクト
リは上記全体のディレクトリを構成する要素となる)に
ファイル記憶部14に格納する。以下、この実施例で
は、全体のディレクトリとこのディレクトリを構成する
要素としてのディレクトリとを区別するために、要素と
してのディレクトリを単に“ディレクトリ”と呼び、全
体のディレクトリを“全体ディレクトリ”と呼ぶことに
する。
The general operation of the file registration / retrieval apparatus having the above-mentioned structure will be described. When the search target file is stored, the search attribute extraction unit 11 stores the search file together with the search target file in the entire directory that constructs a hierarchical structure of files (this directory is a directory for managing the search file and the search target file). Different from each other) is stored in the file storage unit 14 for each directory for managing the search file and the search target file (this directory is an element that constitutes the above-mentioned entire directory). Hereinafter, in this embodiment, in order to distinguish the whole directory from the directories as the elements constituting the directory, the directories as the elements are simply referred to as “directories” and the whole directories are referred to as the “entire directories”. To

【0023】また検索属性抽出部11は、検索用ファイ
ル中に挿入された特殊枠の名前の組みおよび特殊枠中の
文字列を、検索用ファイルの数だけ抽出し、特殊枠中の
文字列とファイル記憶部4におけるディレクトリへのポ
インタとを、検索用ファイルに対応する検索属性記憶用
テーブルに挿入する。
Further, the search attribute extraction unit 11 extracts a set of names of special frames and a character string in the special frame inserted in the search file as many as the number of search files to obtain a character string in the special frame. A pointer to the directory in the file storage unit 4 is inserted into the search attribute storage table corresponding to the search file.

【0024】検索対象ファイルの検索時には、属性検索
部15が、ユーザが指定した特殊枠中の文字列に対する
条件に応じて、検索属性記憶用テーブル格納部13に格
納されている検索属性記憶用テーブルを検索することに
より、ユーザが指定した特殊枠中の文字列に対する条件
を満たす検索用ファイルと共に格納された検索対象ファ
イルを検索する。
At the time of searching for the file to be searched, the attribute search unit 15 stores the search attribute storage table stored in the search attribute storage table storage unit 13 according to the condition for the character string in the special frame specified by the user. By searching for, the search target file stored together with the search file satisfying the condition for the character string in the special frame specified by the user is searched.

【0025】次に、検索用ファイルの登録処理につい
て、図4に示すフローチャートを参照して説明する。
Next, the process of registering the search file will be described with reference to the flowchart shown in FIG.

【0026】検索用ファイルがワークステーション30
からデータ通信部16を通じてファイル登録検索装置1
0に入力されると(ステップ401)、検索属性抽出部
11は検索用ファイル中の特殊枠の名前を抽出し(ステ
ップ402)、これを検索属性記憶用テーブル作成部1
2に渡す。検索属性記憶用テーブル作成部12では特殊
枠の名前に応じたカラムを有するテーブルを検索属性記
憶用テーブルとして作成し(ステップ403)、検索属
性記憶テーブル格納部13に追加登録する。
The search file is the workstation 30.
From the file registration search device 1 through the data communication unit 16
When 0 is input (step 401), the search attribute extraction unit 11 extracts the name of the special frame in the search file (step 402), and this is used as the search attribute storage table creation unit 1
Pass to 2. The search attribute storage table creation unit 12 creates a table having columns corresponding to the names of the special frames as a search attribute storage table (step 403) and additionally registers it in the search attribute storage table storage unit 13.

【0027】続いて、ファイルの格納処理について、図
5に示すフローチャートを参照して説明する。
Next, the file storage processing will be described with reference to the flowchart shown in FIG.

【0028】検索用ファイル、検索対象ファイル、ディ
レクトリがデータ通信部16を通じてファイル登録検索
装置10に入力されると、検索属性抽出部11は、図5
に示すように、ディレクトリか否かを判定し(ステップ
501)、ディレクトリの場合は、N=1と定義し(ス
テップ502)、その後、N番目のファイルは検索用フ
ァイルか否かを判定する(ステップ503)。N番目が
検索用ファイルの場合は、その検索用ファイル中の特殊
枠の名前を抽出し(ステップ504)、その特殊枠の名
前が一致する検索属性記憶用テーブルを検索属性記憶用
テーブル格納部13から選択し(ステップ505)、そ
の選択されたテーブルに、特殊枠中の文字列の組みをロ
ー(行)として追加登録する(ステップ506)。
When the file for search, the file to be searched, and the directory are input to the file registration / search device 10 through the data communication unit 16, the search attribute extraction unit 11 operates as shown in FIG.
As shown in (1), it is determined whether or not it is a directory (step 501), and in the case of a directory, N = 1 is defined (step 502), and then it is determined whether or not the Nth file is a search file ( Step 503). If the Nth file is a search file, the name of the special frame in the search file is extracted (step 504), and the search attribute storage table in which the name of the special frame matches is retrieved attribute storage table storage unit 13 Is selected (step 505) and the set of character strings in the special frame is additionally registered as a row (row) in the selected table (step 506).

【0029】その後、上記ディレクトリの下で管理され
ているファイルがまだ存在するかどうかを調べ(ステッ
プ507)、まだファイルが存在していれば「N=N+
1」を演算した後(ステップ508)、上記ステップ5
03に戻りこのステップ以降を実行する。一方、もうフ
ァイルがなければ、検索用ファイルを検索対象ファイル
と共に、全体ディレクトリの下においてディレクトリ毎
にファイル記憶部14に格納する(ステップ509)。
そして、そのディレクトリへのポインタ(アドレス情
報)を、ステップ506における検索属性記憶用テーブ
ルの該当するローに登録する(ステップ510)。上記
ステップ501、503で「NO」の場合は、該当する
ファイルをファイル記憶部14に格納する(ステップ5
11)。
After that, it is checked whether a file managed under the above directory still exists (step 507), and if the file still exists, "N = N +".
1 ”is calculated (step 508), and then the above step 5
Returning to step 03, the steps after this step are executed. On the other hand, if there are no more files, the search file is stored in the file storage unit 14 for each directory under the entire directory together with the search target file (step 509).
Then, the pointer (address information) to the directory is registered in the corresponding row of the search attribute storage table in step 506 (step 510). If “NO” in steps 501 and 503, the corresponding file is stored in the file storage unit 14 (step 5
11).

【0030】次に上記格納処理について具体例を挙げて
説明する。
Next, the storage process will be described with a specific example.

【0031】今、外形図1を示すイメージデータが保存
されている検索対象ファイルAを格納する場合を考え
る。クライアントとしてのワークステーション30にお
いて、図2に示す検索用ファイル200に対して、特殊
枠210にイメージデータ名として「外形図1」が、特
殊枠220に作成者の氏名として「A」が、特殊枠23
0に作成日として「1992年、X1 月、Y1 日」が記
述されたとする。このような内容が記述されたファイル
を検索用ファイルAとする。また図6に示すように、フ
ォルダ1の下位に、検索用ファイルAを示す情報(ノー
ド)と検索対象ファイルAを示す情報(ノード)とが繋
がれた、ディレクトリ600が生成されたとする。
Now, let us consider a case where the search target file A in which the image data showing the outline drawing 1 is stored is stored. In the workstation 30 as a client, for the search file 200 shown in FIG. 2, "Outline drawing 1" as the image data name in the special frame 210 and "A" as the creator's name in the special frame 220 are special Frame 23
It is assumed that “0, January 1, 1992” is described as the creation date in 0. A file in which such contents are described is referred to as a search file A. Further, as shown in FIG. 6, it is assumed that a directory 600 is created under the folder 1 in which information (node) indicating the search file A and information (node) indicating the search target file A are connected.

【0032】そして、検索用ファイルA、検索対象ファ
イルA、ディレクトリ600がファイル登録検索装置1
0に入力されると、検索用ファイルA及び検索対象ファ
イルAがファイル記憶部14に格納されると共に、ディ
レクトリ600がファイル記憶部14に格納されている
全体ディレクトリの所定の領域とリンクされて格納され
る。また検索属性記憶用テーブル300には、図7に示
される、ロー(行)710の内容が登録される。即ちロ
ー710において、各カラム310、320、330に
は検索用ファイルAの各特殊枠210、220、230
内の文字列が登録され、カラム340にはディレクトリ
600の格納先情報としての“Address1”が登録され
る。なおこの時点においては、ロー720の内容は登録
されていない。
The search file A, the search target file A, and the directory 600 are the file registration / search device 1
When input to 0, the file A for search and the file A to be searched are stored in the file storage unit 14, and the directory 600 is stored by being linked to a predetermined area of the entire directory stored in the file storage unit 14. To be done. Further, the contents of the row (row) 710 shown in FIG. 7 are registered in the search attribute storage table 300. That is, in the row 710, the special frames 210, 220, 230 of the search file A are stored in the columns 310, 320, 330, respectively.
The character string in the column is registered, and “Address1” as the storage destination information of the directory 600 is registered in the column 340. Note that the contents of row 720 have not been registered at this point.

【0033】次に、外形図2を示すイメージデータが保
存されている検索対象ファイルBを格納するに際し、こ
のファイルの保存期限を管理したい場合を考える。
Next, when storing the search target file B in which the image data showing the outline drawing 2 is stored, consider the case where it is desired to manage the storage time limit of this file.

【0034】上記同様に、ワークステーション30にお
いて、検索用ファイル200に対して、特殊枠210に
「外形図2」が、特殊枠220に「B」が、特殊枠23
0に「1992年、X2 月、Y2 日」が記述されたとす
る。このような内容が記述されたファイルを検索用ファ
イルB1とする。また保存期限を管理するために図8に
示すような内容の検索用ファイル800が登録され、且
つ、このファイルに対して、特殊枠810に保存期限と
して「1992年、X3 月、Y3 日」が、特殊枠820
に管理者の氏名として「C」が記述されたとする。この
ような内容が記述されたファイルを検索用ファイルB2
とする。更に図9に示すように、フォルダ2の下位に、
検索用ファイルB1を示す情報(ノード)と検索用ファ
イルB2を示す情報(ノード)と検索対象ファイルBを
示す情報(ノード)とが繋がれた、ディレクトリ900
が生成されたとする。
Similarly to the above, in the workstation 30, for the search file 200, the special frame 210 has the "outside view 2", the special frame 220 has the "B", and the special frame 23.
It is assumed that 0 describes "1992, X2 month, Y2 day". A file in which such contents are described is referred to as a search file B1. Further, a search file 800 having the content as shown in FIG. 8 is registered to manage the storage deadline, and the storage deadline of this file is “1992, X3, Y3 days” in the special frame 810. , Special frame 820
It is assumed that "C" is described as the administrator's name. The file in which such contents are described is the search file B2.
And Further, as shown in FIG. 9, under the folder 2,
A directory 900 in which information (node) indicating the search file B1, information (node) indicating the search file B2, and information (node) indicating the search target file B are linked.
Is generated.

【0035】なお、検索用ファイル800が登録操作さ
れた際には、これに対応する検索属性記憶用テーブル
(この時点では実際の内容は登録されていない)が作成
され、検索属性記憶用テーブル格納部13に格納される
こととなる。
When the search file 800 is registered, a search attribute storage table corresponding thereto (the actual contents are not registered at this point) is created, and the search attribute storage table is stored. It will be stored in the unit 13.

【0036】そして、検索用ファイルB1、検索用ファ
イルB2、検索対象ファイルB、ディレクトリ900が
ファイル登録検索装置10に入力されると、上記格納処
理と同様に、検索用ファイルB1、検索用ファイルB
2、検索対象ファイルBがファイル記憶部14に格納さ
れると共に、ディレクトリ900が全体ディレクトリの
所定の領域とリンクされてファイル記憶部14に格納さ
れる。
When the search file B1, the search file B2, the search target file B, and the directory 900 are input to the file registration / search device 10, the search file B1 and the search file B are input in the same manner as the above storage processing.
2. The search target file B is stored in the file storage unit 14, and the directory 900 is stored in the file storage unit 14 linked to a predetermined area of the entire directory.

【0037】また、検索属性記憶用テーブル300に
は、図7に示されるロー720の内容が登録される。す
なわちロー720において、各カラム310、320、
330には検索用ファイルB1の各特殊枠210、22
0、230内の文字列が登録され、カラム340にはデ
ィレクトリ900の格納先情報としての“Address 2”
が登録される。また検索用ファイル800が登録された
際に、これに対応する検索属性記憶用テーブルが作成さ
れているので、そのテーブルに所定の情報が登録され
る。この登録された状態を図10に示す。同図に示す例
では、テーブル1000のロー1010において、各カ
ラム1020、1030には検索用ファイルB2の各特
殊枠810、820内の文字列が登録され、またカラム
1040にはディレクトリ900の格納先情報としての
“Address 2”が登録される。
Further, the contents of row 720 shown in FIG. 7 are registered in the search attribute storage table 300. That is, in row 720, each column 310, 320,
330 includes special frames 210 and 22 of the search file B1.
The character strings in 0 and 230 are registered, and “Address 2” as the storage destination information of the directory 900 is stored in the column 340.
Is registered. Further, when the search file 800 is registered, the search attribute storage table corresponding to the file is created, so that predetermined information is registered in the table. This registered state is shown in FIG. In the example shown in the figure, in the row 1010 of the table 1000, the character strings in the special frames 810 and 820 of the search file B2 are registered in the columns 1020 and 1030, and the storage destination of the directory 900 is stored in the column 1040. “Address 2” as information is registered.

【0038】最後にファイルの検索処理について、図1
1に示すフローチャートを参照して説明する。
Finally, the file search processing is shown in FIG.
This will be described with reference to the flowchart shown in FIG.

【0039】データ通信部16からファイル登録検索装
置10に検索条件としての“イメージデータ名=外形図
1かつ作成者=A”が入力されると(ステップ110
1)、属性検索部15は、与えられた検索条件に該当す
る検索属性記憶用テーブルを検索記憶用テーブル格納部
13から選択し(ステップ1102)、そのテーブルか
ら与えられた検索条件を満足するローを検索する(ステ
ップ1103)。さらにファイル記憶部14でのディレ
クトリへのポインタを使用して検索し、この結果(ディ
レクトリ及び検索対象ファイル)をデータ通信部16に
出力する(ステップ1104)。
When "image data name = outer view 1 and creator = A" as a search condition is input from the data communication unit 16 to the file registration / search device 10 (step 110).
1) The attribute search unit 15 selects a search attribute storage table corresponding to a given search condition from the search storage table storage unit 13 (step 1102), and a row satisfying the search condition given from the table is selected. Is searched (step 1103). Further, a search is performed using the pointer to the directory in the file storage unit 14, and the result (directory and search target file) is output to the data communication unit 16 (step 1104).

【0040】次に上記検索処理を具体例を挙げて説明す
る。
Next, the above-mentioned search processing will be described with a specific example.

【0041】最初に、検索条件1として“イメージデー
タ名=外形図1かつ作成者=A”が与えられると、検索
属性記憶用テーブル格納部13のテーブル中から、図7
に示されるテーブル300が選択され、かつその検索条
件に適合するロー710の内容が抽出されることにな
り、この結果、ファイル記憶部14からは、“Address
1で指し示されるディレクトリ(この例では、図6に示
されるディレクトリ600)、このディレクトリ600
の下で管理されている検索用ファイルA、検索対象ファ
イルAが読み出される。
First, when "image data name = outer view 1 and creator = A" is given as the search condition 1, the table shown in FIG.
The table 300 shown in is selected, and the contents of the row 710 matching the search condition are extracted. As a result, the file storage unit 14 reads "Address".
1. The directory indicated by 1 (in this example, the directory 600 shown in FIG. 6), this directory 600
The search file A and the search target file A, which are managed under, are read.

【0042】次に、検索条件2として“イメージデータ
名=外形図2かつ作成者=B”が与えられると、上記検
索条件1の場合と同様の処理が行われることになるの
で、結果としてファイル記憶部14からは、“Address
2で指し示されるディレクトリ(この例では図9に示さ
れるディレクトリ900)、このディレクトリ900の
下で管理されている検索用ファイルB1 、検索用ファイ
ルB2 、検索対象ファイルBが読み出される。
Next, when "image data name = outline drawing 2 and creator = B" is given as the search condition 2, the same processing as in the case of the search condition 1 is performed, and as a result, the file is obtained. From the storage unit 14, “Address
The directory indicated by 2 (the directory 900 shown in FIG. 9 in this example), the search file B1, the search file B2, and the search target file B managed under this directory 900 are read.

【0043】更に、検索条件3として“保存期限=1992
・X3・Y3かつ管理者=C”が与えられると、今度は、検
索属性記憶用テーブル格納部13のテーブル中から、図
10に示されるテーブル300が選択され、かつその検
索条件に適合するロー1010の内容が抽出される。こ
の結果、“Address 2で指し示されるディレクトリが参
照されることになるので、ファイル記憶部14からは、
上記検索条件3の場合と同様に、ディレクトリ900、
検索用ファイルB1 、検索用ファイルB2 、検索対象フ
ァイルBが読み出される。
Further, the retrieval condition 3 is "retention date = 1992.
When X3 · Y3 and administrator = C ”are given, this time, the table 300 shown in FIG. 10 is selected from the tables in the search attribute storage table storage unit 13 and the row matching the search condition is selected. The contents of 1010 are extracted. As a result, since the directory indicated by “Address 2” is referred to, the file storage unit 14
As in the case of the above search condition 3, the directory 900,
The search file B1, the search file B2, and the search target file B are read.

【0044】以上説明したように本実施例によれば、内
容が文字列でないファイル(例えばイメージデータ)で
あっても、そのファイルを検索することができる。
As described above, according to this embodiment, even if the content is not a character string (eg image data), the file can be searched.

【0045】また例えば上記検索条件2あるいは検索条
件3のいずれかの条件を与えることにより、目的とする
検索対象ファイルBを検索することができることとな
り、複数の項目の組みから検索条件を指定することがで
きる。この実施例では、「イメージデータ名、作成者、
作成日」の組み中からの所望の項目を、あるいは「保存
期限、管理者」の組み中からの所望の項目を指定するこ
とにより、目的とする検索対象ファイルを検索すること
ができる。
Further, for example, by giving either the search condition 2 or the search condition 3 described above, the target search target file B can be searched, and the search condition can be designated from a set of a plurality of items. You can In this embodiment, "image data name, creator,
By designating a desired item from the set of "creation date" or a desired item from the set of "retention period, administrator", the target search target file can be searched.

【0046】なおこの実施例では、検索対象ファイルを
イメージデータとしたが、これを文書ファイルとするこ
とにより、文書ファイルの検索を行うことができるとい
うことは言うまでもない。
In this embodiment, the file to be searched is the image data, but it goes without saying that the document file can be searched by using this as a document file.

【0047】従って、例えば文書ファイル、イメージデ
ータファイル等どのようなファイルであっても、内容の
項目に共通部分がある複数のファイルから、目的とする
ファイルを検索することができる。
Therefore, a desired file can be searched from a plurality of files having a common part in the items of contents, for example, any file such as a document file and an image data file.

【0048】[0048]

【発明の効果】以上説明したように本発明によれば、検
索対象となるファイルは検索用ファイルと共にディレク
トリの下で記憶され管理されるので、内容が文字列では
ないファイル(例えばイメージデータを保存しているフ
ァイル)であっても、そのファイルを検索することがで
きる。
As described above, according to the present invention, the file to be searched is stored and managed under the directory together with the search file, so that the content is not a character string (for example, image data is saved). File), you can search for that file.

【0049】したがって、上述したことから例えば文書
ファイル、イメージデータファイル等どのようなファイ
ルであっても、内容の項目に共通部分がある複数のファ
イルから、目的とするファイルを検索することができ
る。
Therefore, from the above, it is possible to search for a target file from a plurality of files that have a common part in the items of contents, for example, any file such as a document file and an image data file.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係るファイル登録検索装置の一実施例
を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a file registration / retrieval device according to the present invention.

【図2】本実施例における検索用ファイルを説明するた
めの図。
FIG. 2 is a diagram for explaining a search file according to the present embodiment.

【図3】本実施例における検索属性記憶用テーブルを説
明するための図。
FIG. 3 is a diagram for explaining a search attribute storage table according to the present embodiment.

【図4】本実施例における検索用ファイルの登録処理動
作を示すフローチャート。
FIG. 4 is a flowchart showing a registration processing operation of a search file according to the present embodiment.

【図5】本実施例における格納処理動作を示すフローチ
ャート。
FIG. 5 is a flowchart showing a storage processing operation in this embodiment.

【図6】図2に示す検索用ファイルを用いた場合の格納
処理過程を説明するためのディレクトリを示す図。
FIG. 6 is a diagram showing a directory for explaining a storage processing process when the search file shown in FIG. 2 is used.

【図7】格納処理過程を説明するための、図2に示す検
索用ファイルに対応する検索属性記憶用テーブルを示す
図。
FIG. 7 is a diagram showing a search attribute storage table corresponding to the search file shown in FIG. 2 for explaining the storage process.

【図8】本実施例における他の検索用ファイルを説明す
るための図。
FIG. 8 is a diagram for explaining another search file according to the present embodiment.

【図9】図2及び図8に示す検索用ファイルを用いた場
合の格納処理過程を説明するためのディレクトリを示す
図。
FIG. 9 is a diagram showing a directory for explaining a storage processing process when the search file shown in FIGS. 2 and 8 is used.

【図10】格納処理過程を説明するための、図8に示す
検索用ファイルに対応する検索属性記憶用テーブルを示
す図。
FIG. 10 is a view showing a search attribute storage table corresponding to the search file shown in FIG. 8 for explaining the storing process.

【図11】検索処理動作を示すフローチャート。FIG. 11 is a flowchart showing a search processing operation.

【符号の説明】[Explanation of symbols]

10…ファイル登録検索装置、11…検索属性抽出部、
12…検索属性記憶用テーブル作成部、13…検索属性
記憶用テーブル格納部、14…ファイル記憶部、15…
属性検索部、16…データ通信部、20…ネットワー
ク、30…ワークステーション、31…ファイル管理
部、32…ファイル記憶部、33…ファイル編集部、3
4…データ通信部、200、800…検索用ファイル、
300、1000…検索属性記憶用テーブル、600、
900…ディレクトリ。
10 ... File registration search device, 11 ... Search attribute extraction unit,
12 ... Search attribute storage table creating unit, 13 ... Search attribute storage table storage unit, 14 ... File storage unit, 15 ...
Attribute search unit, 16 ... Data communication unit, 20 ... Network, 30 ... Workstation, 31 ... File management unit, 32 ... File storage unit, 33 ... File editing unit, 3
4 ... Data communication unit, 200, 800 ... Search file,
300, 1000 ... Search attribute storage table, 600,
900 ... Directory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】特殊枠の名前および該特殊枠内の文字列が
登録されている検索用ファイルと、この検索用ファイル
に対応する所定のファイルと、これらファイルを管理す
るためのディレクトリとを記憶する第1の記憶手段と、 前記検索用ファイル中の前記名前および文字列を抽出す
る抽出手段と、 前記抽出手段によって抽出される前記名前に対応する前
記文字列と、前記第1の記憶手段中における前記ディレ
クトリの格納先情報とを対応付けして記憶する第2の記
憶手段と、 検索条件として指定された前記文字列に応じて前記第2
の記憶手段を検索し、この検索結果に基づいて前記第1
の記憶手段から目的とするファイルを検索する検索手段
とを具えたことを特徴とするファイル登録検索装置。
1. A search file in which a name of a special frame and a character string in the special frame are registered, a predetermined file corresponding to the search file, and a directory for managing these files are stored. A first storage unit for storing the name and a character string in the search file; a character string corresponding to the name extracted by the extracting unit; In the second storage means for storing the storage location information of the directory in association with the second storage means in accordance with the character string designated as a search condition.
Searching the storage means, and based on the search result, the first
And a search means for searching a target file from the storage means of the file registration search device.
JP4015463A 1992-01-30 1992-01-30 File registration retrieving device Pending JPH05204976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4015463A JPH05204976A (en) 1992-01-30 1992-01-30 File registration retrieving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4015463A JPH05204976A (en) 1992-01-30 1992-01-30 File registration retrieving device

Publications (1)

Publication Number Publication Date
JPH05204976A true JPH05204976A (en) 1993-08-13

Family

ID=11889494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4015463A Pending JPH05204976A (en) 1992-01-30 1992-01-30 File registration retrieving device

Country Status (1)

Country Link
JP (1) JPH05204976A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001167113A (en) * 1999-12-09 2001-06-22 Nec Corp System and method for full text retrieval considering imparted information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001167113A (en) * 1999-12-09 2001-06-22 Nec Corp System and method for full text retrieval considering imparted information

Similar Documents

Publication Publication Date Title
US7401078B2 (en) Information processing apparatus, document search method, program, and storage medium
JPH0765035A (en) Structured document retrieving device
JP4358464B2 (en) Electronic file apparatus, system creation method thereof, and document data selection method
JPH08161342A (en) Data base display device
JPH05204976A (en) File registration retrieving device
JPH05233699A (en) Mehtod and system for operating document
JP2888458B2 (en) File storage device
JPH0561758A (en) Information link device
JPS62106574A (en) Registration retrieving system for document picture file
JPH06195386A (en) Data retriever
JP2845897B2 (en) Document search / display method and apparatus
JPH06348756A (en) Index preparing device and index utilizing device
JP2009098829A (en) Frame retrieval device for cartoon
JP3444620B2 (en) Filing system equipment
JPH0514304B2 (en)
JPS61217831A (en) Retrieving system for document picture file
JPH0215374A (en) Image information retrieving device
JPH01211028A (en) Document retrieving system
JP3537052B2 (en) File processing device
JPH0237466A (en) Information processing system
JP3047400B2 (en) Data processing device
JP2601139B2 (en) String search device
JPH0991300A (en) File management method
JPH0420501B2 (en)
JPH02123467A (en) Device for retrieving literature information