JPH067400Y2 - File search device - Google Patents

File search device

Info

Publication number
JPH067400Y2
JPH067400Y2 JP6268887U JP6268887U JPH067400Y2 JP H067400 Y2 JPH067400 Y2 JP H067400Y2 JP 6268887 U JP6268887 U JP 6268887U JP 6268887 U JP6268887 U JP 6268887U JP H067400 Y2 JPH067400 Y2 JP H067400Y2
Authority
JP
Japan
Prior art keywords
file
directory
search
searched
memory
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.)
Expired - Lifetime
Application number
JP6268887U
Other languages
Japanese (ja)
Other versions
JPS63171839U (en
Inventor
祐介 吉野
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 JP6268887U priority Critical patent/JPH067400Y2/en
Publication of JPS63171839U publication Critical patent/JPS63171839U/ja
Application granted granted Critical
Publication of JPH067400Y2 publication Critical patent/JPH067400Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 「産業上の利用分野」 本考案は、階層構造のファイルシステムを有する情報処
理装置のファイル検索装置に関する。
DETAILED DESCRIPTION OF THE INVENTION "Industrial Application Field" The present invention relates to a file search device of an information processing device having a hierarchical file system.

「従来の技術」 コンピュータシステム等の情報処理装置においては、多
数の情報がファイル形式で磁気ディスク装置等に格納さ
れる。このファイル管理方式には、各種の方式が知られ
ているが、階層構造のファイルシステムを採用するもの
も少なくない。
"Prior Art" In an information processing device such as a computer system, a large amount of information is stored in a magnetic disk device or the like in a file format. Although various methods are known as this file management method, many of them employ a hierarchical file system.

例えば、多数のユーザにより共用されるシステムにおい
ては、各ユーザがそれぞれそのシステム下に、自己の固
有のユーザ名の下に階層構造のファイルシステムを設定
する。以後この固有のユーザ名のことをデスクトップと
呼ぶことにする。階層構造のファイルとは、例えば、デ
スクトップ(太郎)/経理/売掛台帳というように、ユ
ーザ名のデスクトップの下に何種かの業務別のディレク
トリを設け、その下にその業務に使用するファイルを設
けるといったトリー状に関連づけられたファイルのこと
をいう。
For example, in a system shared by a large number of users, each user sets a file system having a hierarchical structure under the system under its own unique user name. Hereinafter, this unique user name will be referred to as the desktop. Hierarchical files are, for example, desktop (Taro) / accounting / accounts receivable ledger, and a file used for the job under the user name desktop. A file that is associated with a tree, such as a file.

「考案が解決しようとする問題点」 ここで、例えば、第4図に示すように、あるユーザが、
文書ファイル10を使用して適当な文書を作成中、その
中の所定の領域11に別のイメージファイルに格納され
たイメージ12を挿入しようとした場合を考える。
“Problems to be solved by the device” Here, for example, as shown in FIG.
Consider a case where an image 12 stored in another image file is to be inserted into a predetermined area 11 therein while creating an appropriate document using the document file 10.

この場合、ユーザは、そのイメージファイル名を指定し
て、その呼び出しを行う。
In this case, the user specifies the image file name and calls it.

情報処理装置の側では、この呼び出し要求に応じて、階
層構造のファイルシステムから指定されたイメージファ
イルのサーチを開始する。
In response to the call request, the information processing apparatus side starts the search for the designated image file from the hierarchical file system.

例えば、そのファイルシステムが、第5図に示すよう
に、デスクトップ13の直下に、ホルダ14、文書1
5、イメージ16、その他の種類のファイル17、イメ
ージ16、ホルダ14等が所属し、さらにそのうちの2
個のホルダ14にまた、イメージ16、ホルダ14、ホ
ルダ14、イメージ16、イメージ16、ホルダ14等
が所属するといった複雑な階層構造を取っているものと
する。各ホルダには、その下にファイル等が所属してお
り、これがディレクトリに相当する。従来、この中か
ら、特定のイメージファイルをサーチする場合、デスク
トップ13の直下に所属するファイルから適当な順にく
まなくサーチを行うようにしていた。しかし、これでは
システム中の被サーチファイルの位置によっては、サー
チ時間も長くなり、システムに大きな負担をかけること
になる。
For example, as shown in FIG. 5, the file system has a folder 14 and a document 1 directly below the desktop 13.
5, images 16, other types of files 17, images 16, folders 14, etc. belong, and 2 of them
It is assumed that the individual holder 14 also has a complicated hierarchical structure in which the image 16, the holder 14, the holder 14, the image 16, the image 16, the holder 14, and the like belong. A file and the like belong to each holder, which corresponds to a directory. Conventionally, when searching for a specific image file from among these, the search is carried out in an appropriate order from the file directly under the desktop 13. However, this also lengthens the search time depending on the position of the searched file in the system, which imposes a heavy load on the system.

本考案は以上の点に着目してなされたもので、このよう
な、複雑な階層構造のファイルシステムにおいて、指定
された所定のファイルを効率良く迅速にサーチすること
ができるファイル検索装置を提供することを目的とする
ものである。
The present invention has been made in view of the above points, and provides a file search device capable of efficiently and quickly searching a specified file in such a file system having a complicated hierarchical structure. That is the purpose.

「問題点を解決するための手段」 本考案のファイル検索装置は、そのファイルシステムサ
ーチ用のファイル管理プログラムを格納したメモリと、
被サーチディレクトリ名を一時格納する被サーチディレ
クトリ指示メモリとサーチの完了したディレクトリとサ
ーチの完了していないディレクトリとを識別するフラグ
を格納するディレクトリ別サーチ完了フラグメモリと、
ファイルサーチ処理の実行の制御を行う制御装置とから
構成されている。この制御装置は、第1のファイルに対
してマージされるべき第2のファイルが指定されたと
き、第1のファイルの所属するディレクトリを被サーチ
ディレクトリとしてそのディレクトリ名を前記被サーチ
ディレクトリ指示メモリに格納し、ファイル管理プログ
ラムに従って、その被サーチディレクトリに所属するフ
ァイルを第2のファイル名と照合してファイルのサーチ
を実行する。一方、その被サーチディレクトリに所属す
るディレクトリについてさらにこれに所属するファイル
のサーチをするときは、被サーチディレクトリ指示メモ
リの内容をこのディレクトリに書き換える。いずれのデ
ィレクトリについても、そのサーチが完了したときは、
ディレクトリ別サーチ完了ファイルメモリにサーチを完
了したディレクトリを識別するフラグを立てながら、第
2のファイルを発見するまでファイルシステムの各ファ
イルのサーチを実行する。
"Means for Solving Problems" A file search device of the present invention comprises a memory storing a file management program for the file system search,
A directory-specific search completion flag memory for temporarily storing a searched directory name, a directory-specific search completion flag memory for storing a flag for identifying a directory for which a search has been completed and a directory for which a search has not been completed,
The control device controls the execution of the file search process. When the second file to be merged with the first file is designated, the control device sets the directory to which the first file belongs as the searched directory and stores the directory name in the searched directory instruction memory. The file is stored and the file belonging to the searched directory is compared with the second file name according to the file management program to execute the file search. On the other hand, when further searching the files belonging to the directory belonging to the searched directory, the contents of the searched directory instruction memory are rewritten to this directory. When the search is completed for either directory,
Search completion by directory While each file memory is flagged to identify the directory for which the search has been completed, each file in the file system is searched until the second file is found.

「作用」 以上のファイル検索装置は、第1のファイルに対して、
第2のファイルをマージする要求があった場合、まず、
その第1のファイルの所属するディレクトリを被サーチ
ディレクトリとしてサーチを開始する。通常、被サーチ
ファイルは、このディレクトリに所属している場合が最
も多いからである。その被サーチディレクトリに所属す
るディレクトリについては、そのディレクトリに所属す
るファイルまでサーチを進める。こうして、サーチを進
めていくと、1つのディレクトリについて完全にサーチ
が完了しないまま、次々と別のディレクトリのサーチに
移っていくことになる。そこで被サーチディレクトリを
被サーチディレクトリ指示メモリにより明確にしておく
ほか、サーチの完了したディレクトリについては、これ
を識別するためにフラグを立てる。そのフラグは、ディ
レクトリ別サーチ完了ファイルメモリに格納しておく。
"Operation" The file search device described above, for the first file,
If there is a request to merge the second file, first
The search is started using the directory to which the first file belongs as the searched directory. This is because the searched files usually belong to this directory in most cases. For directories belonging to the searched directory, the search is advanced to the files belonging to the directory. In this way, as the search proceeds, one directory is not completely searched and another directory is searched for. Therefore, the searched directory is clarified by the searched directory instruction memory, and a flag is set to identify the directory for which the search is completed. The flag is stored in the search completion file memory for each directory.

このように、被サーチディレクトリ指示メモリとディレ
クトリ別サーチ完了ファイルメモリとを確認しながら、
例えばファイルやディレクトリをアルファベット順にサ
ーチすれば、自動的にすべてのファイルのサーチが可能
である。また、このようにすると、サーチ速度が速く、
しかも、目的のファイルを発見するまでの時間を短縮す
ることができる。
In this way, while checking the searched directory indication memory and the directory-specific search completion file memory,
For example, if you search files or directories in alphabetical order, all files can be searched automatically. Also, if you do this, the search speed will be faster,
Moreover, it is possible to shorten the time required to find the target file.

「実施例」 第1図は本考案のファイル検索装置の実施例を示すブロ
ック図である。
[Embodiment] FIG. 1 is a block diagram showing an embodiment of the file search apparatus of the present invention.

この装置は、中央処理装置(CPU)1と、ファイル管
理プログラムROM(リード・オンリ・メモリ)2と、
被サーチディレクトリ指示メモリ3と、画像処理プログ
ラムROM4と、ディレクトリ別サーチ完了フラグメモ
リ5と、ディスク装置6と、キーボード7と、ディスプ
レイ8とから構成されている。
This device comprises a central processing unit (CPU) 1, a file management program ROM (read only memory) 2,
The search target directory instruction memory 3, the image processing program ROM 4, the directory-specific search completion flag memory 5, the disk device 6, the keyboard 7, and the display 8 are provided.

中央処理装置1は、本考案のファイルサーチ動作を制御
するマイクロプロセッサ等から成る回路で、以後この回
路を制御装置1と呼ぶことにする。
The central processing unit 1 is a circuit composed of a microprocessor or the like for controlling the file search operation of the present invention, and this circuit will be hereinafter referred to as the control unit 1.

ファイル管理プログラムROM2は、そのファイルシス
テム検索用のファイル管理プルグラムを格納したランダ
ム・アクセス・メモリ(RAM)等のメモリ素子であ
る。
The file management program ROM2 is a memory element such as a random access memory (RAM) that stores a file management program for the file system search.

被サーチディレクトリ指示メモリ3は、被サーチディレ
クトリ名を一時格納するやはりランダム・アクセス・メ
モリ等のメモリ素子である。
The searched directory instruction memory 3 is also a memory element such as a random access memory for temporarily storing the searched directory name.

なお、これらのメモリ素子は、必ずしも別々の素子から
成るものでなく、装置の各種のパラメータ等を格納する
メモリの一部であってさしつかえない。
It should be noted that these memory elements are not necessarily composed of separate elements and may be a part of a memory for storing various parameters of the device.

画像処理プログラムROM4は、ディスプレイ8に表示
した画像やそのマージおよび、図示しないプリンタ等に
画像信号を出力するための制御用プログラムを格納した
メモリである。
The image processing program ROM 4 is a memory that stores an image displayed on the display 8, a merged image, and a control program for outputting an image signal to a printer (not shown).

ディレクトリ別サーチ完了フラグメモリ5は、サーチの
完了したディレクトリとサーチの完了していないディレ
クトリとを識別するフラグを格納する。ここで、サーチ
が完了したというのは、そのディレクトリに所属するフ
ァイルやディレクトリがすべてサーチを終えた場合のこ
とをいう。そのディレクトリに所属するディレクトリす
なわち、子ディレクトリがサーチを終えたということ
は、その子ディレクトリに属するファイル等もサーチを
完了したことをいう。
The directory-specific search completion flag memory 5 stores a flag for identifying a directory for which a search has been completed and a directory for which a search has not been completed. Here, the search is completed means that all the files and directories belonging to the directory have been searched. The fact that the directory belonging to that directory, that is, the child directory has completed the search means that the search has also been completed for the files and the like belonging to the child directory.

ディスク装置6は、この装置で処理されるファイルを格
納しているハードディスク等を駆動する装置である。
The disk device 6 is a device that drives a hard disk or the like that stores files processed by this device.

キーボード7は、オペレータがファイルのサーチ等を指
示する際に操作される既知の装置である。また、ディス
プレイ8は、ブラウン管ディスプレイ等からなり、オペ
レータの処理するファイルの内容を表示し、また、各種
のメッセージ等を表示するいわゆるマン・マシンインタ
ーフェイスとして機能する装置である。
The keyboard 7 is a known device that is operated when the operator gives an instruction to search a file. The display 8 is a CRT display or the like, and is a device that displays the contents of a file processed by an operator and functions as a so-called man-machine interface that displays various messages and the like.

以上の構成の装置により、オペレータが、第4図に示し
たように文書ファイル10をディスプレイ8に表示させ
て適当な文書を作成しているものとする。
It is assumed that the operator creates the appropriate document by displaying the document file 10 on the display 8 as shown in FIG.

ここでオペレータが、その文書中の所定の領域11に別
のイメージファイルに格納されたイメージ12を挿入し
ようとする場合、オペレータはそのイメージファイル名
を指定して、その呼び出しを行う。
Here, when the operator wants to insert the image 12 stored in another image file into the predetermined area 11 in the document, the operator specifies the image file name and calls it.

この呼び出しを受けると、制御装置1は、ファイル管理
プログラムROM2からファイル管理プログラムを読み
込んでその実行を開始する。
Upon receiving this call, the control device 1 reads the file management program from the file management program ROM 2 and starts its execution.

第2図は、このときオペレータが使用しているディスク
トップ下のファイルシステムの構成例を示す。
FIG. 2 shows a configuration example of the file system under the desktop used by the operator at this time.

このファイルシステムは、デスクトップ下に3個のホル
ダABCが所属し、その一方のホルダA下には、1個の
文書ファイルDと、2個のホルダE,Fが所属し、さら
にその一方のホルダE下には、ホルダGとイメージファ
イルHと文書ファイルJとが所属する。そして、ホルダ
G下には、2個のイメージファイルL,Mが所属してい
る。
In this file system, three holders ABC belong to the bottom of the desktop, one document file D and two holders E and F belong to one of the holders A, and one of the holders Below E, a holder G, an image file H, and a document file J belong. Under the holder G, two image files L and M belong.

また、ホルダAに所属するホルダFには、イメージファ
イルKが所属し、ホルダB下には、イメージファイルN
が所属している。以下、ホルダC下に所属するファイル
等の説明は省略する。
The image file K belongs to the holder F belonging to the holder A, and the image file N belongs to the holder B.
Belongs to. Hereinafter, description of files and the like belonging to the holder C will be omitted.

なお、この実施例の場合、オペレータは文書ファイルD
をディスプレイ8に表示して処理しているものとし、イ
メージファイルKをこの文書ファイルDとマージするよ
う指示をしたものとする。
In the case of this embodiment, the operator uses the document file D
Is displayed on the display 8 and is being processed, and an instruction to merge the image file K with this document file D is given.

制御装置1の実行するファイル管理プログラムの内容を
第3図のフローチャートにより説明する。
The contents of the file management program executed by the control device 1 will be described with reference to the flowchart of FIG.

まず、ディスプレイ8に文書ファイルを表示する(ステ
ップ)。次に、被サーチファイル名を指定して、マー
ジを指定する(ステップ)。
First, the document file is displayed on the display 8 (step). Next, the search target file name is specified, and merge is specified (step).

これに応じて、制御装置1は、その文書ファイルの所属
するディレクトリ(第2図のホルダA)を被サーチディ
レクトリとして、その名称を被サーチディレクトリ指示
メモリ3に格納する(ステップ)。
In response to this, the control device 1 sets the directory (holder A in FIG. 2) to which the document file belongs as the searched directory and stores the name in the searched directory instruction memory 3 (step).

次に、まず、その被サーチディレクトリ中に、イメージ
ファイルかディレクトリが有るかどうか点検する(ステ
ップ)。これは、もし、そのディレクトリ下に全くフ
ァイル等を作成していない場合、別のディレクトリのサ
ーチへ移るようにするためである。
Next, first, it is checked whether or not there is an image file or directory in the searched directory (step). This is because if no files or the like have been created under that directory, the search is moved to another directory.

その被サーチディレクトリに所属するファイル等がある
場合、次のような規則で被サーチファイルのサーチを行
う。
If there is a file or the like belonging to the searched directory, the searched file is searched according to the following rules.

まず、被サーチディレクトリに所属するファイルとディ
レクトリについて、それらの名称をアルファベット順に
配列する。この場合、もし、同一名称のファイルやディ
レクトリがあったときは、生成日の新しい方をサーチの
対象とする。ファイルが同一名称のまま更新された場
合、新しい方を通常使用することになるからである。
First, the names of files and directories belonging to the searched directory are arranged in alphabetical order. In this case, if there is a file or directory with the same name, the one with the latest generation date will be the search target. This is because when the file is updated with the same name, the newer one is normally used.

第2図を用いて説明すると、オペレータの扱っている文
書ファイルDの所属するディレクトリは,ホルダAだか
ら、ホルダAの名称が被サーチディレクトリ指示メモリ
3に格納される。そして、ホルダE、ホルダFの順に照
合が進められていく。
Referring to FIG. 2, since the directory to which the document file D handled by the operator belongs is the holder A, the name of the holder A is stored in the searched directory instruction memory 3. Then, the collation proceeds in the order of the holder E and the holder F.

始めに取り出されるのが、ホルダEになるが、これは、
ファイルでない。そこで、これがディレクトリと判断さ
れると(ステップ)、被サーチディレクトリがそのデ
ィレクトリ名すなわちホルダEに書き換えられる(ステ
ップ)。
The holder E is taken out first, but this is
Not a file. Therefore, if this is determined to be a directory (step), the searched directory is rewritten to the directory name, that is, the holder E (step).

次のステップ、、では、ホルダE下のホルダG、
イメージファイルH、文書ファイルJのサーチが開始さ
れる。
In the next step ,,, the holder G under the holder E,
The search for the image file H and the document file J is started.

ここでも、最初に取り出されたのが、ホルダGであるか
ら、再び被サーチディレクトリの名称がホルダGに書き
換えられる(ステップ、)。
Again, since the holder G was first taken out, the name of the searched directory is rewritten to the holder G (step,).

このホルダDには、イメージファイルLとイメージファ
イルMとが所属している。両者を被サーチファイル名と
照合するために、ステップの手順を2回繰り
返す。その結果、求めるファイルを発見しないと(ステ
ップ)、現在のディレクトリのサーチが完了したこと
を確認し(ステップ)、サーチ未了の親ディレクトリ
にもどる(ステップ、)。
An image file L and an image file M belong to this holder D. The step procedure is repeated twice in order to match both with the searched file name. As a result, if the desired file is not found (step), it is confirmed that the search of the current directory is completed (step), and the parent directory in which the search is not completed is returned (step).

これには、すぐ上位のディレクトリを再び被サーチディ
レクトリにすればよい。なお、すぐ上位のディレクトリ
がすでにサーチを完了しているような場合がある。これ
は、サーチを完了したディレクトリについて、それを表
示するフラグをディレクトリ別サーチ完了フラグメモリ
5に立てるようにして識別する。そのフラグが立ってい
る場合には、さらにその上位のディレクトリを被サーチ
ディレクトリにする。
For this purpose, the immediately upper directory may be set as the searched directory again. In some cases, the immediately upper directory has already completed the search. This identifies the directory for which the search is completed by setting a flag for displaying it in the directory-specific search completion flag memory 5. When the flag is set, the upper directory is set as the searched directory.

第2図の例にもどると、ホルダGのサーチを完了後、被
サーチディレクトリ名は、ホルダEに書き換えられる。
そして、イメージファイルHと文書ファイルJとが先に
説明した手順で照合対象とされる。なお、被サーチファ
イルはイメージファイルであるから、実際にはこの文書
ファイルJは照合対象とされない。従って、イメージフ
ァイルHとの照合を終えると、ホルダEのサーチを完了
する。
Returning to the example of FIG. 2, after the search of the holder G is completed, the searched directory name is rewritten to the holder E.
Then, the image file H and the document file J are to be collated by the procedure described above. Since the file to be searched is an image file, this document file J is not actually a collation target. Therefore, when the collation with the image file H is completed, the search for the holder E is completed.

次に、被サーチディレクトリがホルダAに書き換えられ
る(ステップ、)。そして、未サーチのホルダFが
取り出され、再び被サーチディレクトリがホルダFに書
き換えられる(ステップ)。
Next, the searched directory is rewritten to the holder A (step,). Then, the unsearched holder F is taken out and the searched directory is rewritten to the holder F again (step).

そのホルダFに所属するイメージファイルKは、被サー
チファイルと一致するから、被サーチファイルの発見
(ステップ)後、サーチを完了し(ステップ)、発
見したイメージファイルを処理中の文書ファイルとマー
ジする処理を実行する(ステップ)。
Since the image file K belonging to the folder F matches the searched file, the search is completed (step) after the searched file is found (step), and the found image file is merged with the document file being processed. Execute the process (step).

これでサーチは完了し、以下、ホルダB、ホルダCのサ
ーチは行われない。
With this, the search is completed, and the search for the holders B and C is not performed thereafter.

「考案の効果」 以上説明した本考案のファイル検索装置によれば、ま
ず、処理中の文書ファイルの所属するディレクトリから
サーチを開始するので、サーチ対象ファイルを早期に発
見する確率が高い。通常、マージ等をするファイルはそ
の処理中のファイルと同一のディレクトリかそれ以下の
ディレクトリに所属させておくことが多いからである。
[Advantage of Device] According to the file search device of the present invention described above, since the search is first started from the directory to which the document file being processed belongs, the probability of finding the search target file early is high. This is because a file to be merged or the like usually belongs to the same directory as the file being processed or a directory below it.

なお、上記の実施例では、ファイルとディレクトリとを
平等に扱い、一律にアルファベット順にサーチを進める
ようにしたが、同一ディレクトリに所属するファイルと
ディレクトリがあった場合、ファイルを優先的にサーチ
するようにしても、被サーチファイルの発見を速くする
効果がある。
In the above embodiment, the files and directories are treated equally and the search is proceeded uniformly in alphabetical order. However, when there are files and directories belonging to the same directory, the files are searched preferentially. However, it has the effect of speeding up the discovery of the searched file.

また、そのサーチにあたり、被サーチディレクトリ指示
メモリとディレクトリ別サーチ完了フラグメモリとを使
用して、これらの内容を書き換えながらサーチを進める
ようにしたので、きわめて効率的に処理を進めることが
できる。
Further, in the search, the searched directory instruction memory and the directory-specific search completion flag memory are used so that the search is advanced while rewriting these contents, so that the processing can be carried out extremely efficiently.

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

第1図はファイル検索装置の実施例を示すブロック図、
第2図はファイル検索装置の実施に適するファイルシス
テムの構成例を示す説明図、第3図はファイル検索装置
の動作を説明するためのフローチャート、第4図はファ
イルのマージ要求の手順を示す説明図、第5図は階層構
造のファイルシステムの一例を示す説明図である。 1……制御装置、 2……ファイル管理プログラムROM、 3……被サーチディレクトリ指示メモリ、 5……ディレクトリ別サーチ完了フラグメモリ。
FIG. 1 is a block diagram showing an embodiment of a file search device,
FIG. 2 is an explanatory diagram showing a configuration example of a file system suitable for implementation of the file search device, FIG. 3 is a flowchart for explaining the operation of the file search device, and FIG. 4 is an explanation showing a procedure of a file merge request. 5 and 5 are explanatory views showing an example of a hierarchical file system. 1 ... Control device, 2 ... File management program ROM, 3 ... Search target directory instruction memory, 5 ... Directory-specific search completion flag memory.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】階層構造のファイルシステムを有するもの
において、そのファイルシステムサーチ用のファイル管
理プログラムを格納したメモリと、被サーチディレクト
リ名を一時格納する被サーチディレクトリ指示メモリ
と、サーチの完了したディレクトリとサーチの完了して
いないディレクトリとを識別するフラグを格納するディ
レクトリ別サーチ完了フラグメモリと、ファイルサーチ
処理の実行の制御を行う制御装置とから構成され、この
制御装置は、第1のファイルに対してマージされるべき
第2のファイルが指定されたとき、第1のファイルの所
属するディレクトリを被サーチディレクトリとしてその
ディレクトリ名を前記被サーチディレクトリ指示メモリ
に格納し、前記ファイル管理プログラムに従って、その
被サーチディレクトリに所属するファイルを前記第2の
ファイル名と照合してファイルのサーチを実行する一
方、その被サーチディレクトリに所属するディレクトリ
についてさらにこれに所属するファイルのサーチをする
ときは、前記被サーチディレクトリ指示メモリの内容を
このディレクトリに書き換え、いずれのディレクトリに
ついても、そのサーチが完了したときは、前記ディレク
トリ別サーチ完了ファイルメモリにサーチを完了したデ
ィレクトリを識別するフラグを立てながら、前記第2の
ファイルを発見するまでファイルシステムの各ファイル
のサーチを実行することを特徴とするファイル検索装
置。
1. A memory having a hierarchical file system, a memory storing a file management program for searching the file system, a searched directory instruction memory for temporarily storing a searched directory name, and a directory for which a search has been completed. And a search completion flag memory for each directory for storing a flag for identifying a directory for which the search has not been completed, and a control device for controlling execution of the file search process. When the second file to be merged is designated, the directory to which the first file belongs is set as the searched directory and its directory name is stored in the searched directory instruction memory. Searched Direct When searching for a file belonging to the searched directory while searching for a file belonging to the searched directory, the file to be searched is searched for the directory to be searched. The contents of the memory are rewritten to this directory, and when the search is completed for any of the directories, the second file is created while setting a flag for identifying the directory for which the search has been completed in the directory-specific search completion file memory. A file search device characterized by executing a search for each file in a file system until it is found.
JP6268887U 1987-04-27 1987-04-27 File search device Expired - Lifetime JPH067400Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6268887U JPH067400Y2 (en) 1987-04-27 1987-04-27 File search device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6268887U JPH067400Y2 (en) 1987-04-27 1987-04-27 File search device

Publications (2)

Publication Number Publication Date
JPS63171839U JPS63171839U (en) 1988-11-08
JPH067400Y2 true JPH067400Y2 (en) 1994-02-23

Family

ID=30897197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6268887U Expired - Lifetime JPH067400Y2 (en) 1987-04-27 1987-04-27 File search device

Country Status (1)

Country Link
JP (1) JPH067400Y2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003025649A (en) * 2002-04-26 2003-01-29 Matsushita Electric Ind Co Ltd Printer

Also Published As

Publication number Publication date
JPS63171839U (en) 1988-11-08

Similar Documents

Publication Publication Date Title
JPS62194532A (en) Display system for designated pattern to be processed
US5283892A (en) Method and apparatus for file operation
JP2695590B2 (en) Processing start method
JPH067400Y2 (en) File search device
JPH06131229A (en) Method for information processing and device therefor
JP3483904B2 (en) Information processing method and apparatus
JP4001392B2 (en) Structured document processing device
JPH06180663A (en) Electronic filing system
JP2740238B2 (en) File exclusive control unit
JPS6398029A (en) Application system for automatic patch selection
JPH0855114A (en) Document managing device
JPH04318672A (en) Information retreiving device
JP3302552B2 (en) Data entry method
JPH0237466A (en) Information processing system
JPH0391859A (en) Document processor
JP2615736B2 (en) Help device
JPH01204125A (en) Information processor and its information display method
JPS63610A (en) Automatic executing method for operation procedure
JPH06337770A (en) Confirmation assisting device for data analytic design information
JPH02304672A (en) Integrated document managing/displaying system
JPH0340065A (en) Document generating device
JPH086956A (en) Electronic filing device
JPH0273423A (en) Automatic selection system for relative software
JPS63239555A (en) Ruled line control system in document preparing device
JPH11296513A (en) Document processor and its method