JPS63208936A - File retrieving method - Google Patents

File retrieving method

Info

Publication number
JPS63208936A
JPS63208936A JP62042291A JP4229187A JPS63208936A JP S63208936 A JPS63208936 A JP S63208936A JP 62042291 A JP62042291 A JP 62042291A JP 4229187 A JP4229187 A JP 4229187A JP S63208936 A JPS63208936 A JP S63208936A
Authority
JP
Japan
Prior art keywords
file
data
search
written
files
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
JP62042291A
Other languages
Japanese (ja)
Inventor
Yoshinari Senda
千田 吉成
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP62042291A priority Critical patent/JPS63208936A/en
Publication of JPS63208936A publication Critical patent/JPS63208936A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To perform a file retrieving job at high speed compared with a case where the file contents are directly retrieved, by applying a card style file managing method provided with a label region where a key word, etc., are written. CONSTITUTION:A series of data on the document information, etc., are arranged in accordance with a prescribed rule and a file FL of a card style using a label are LB for file management is stored in a memory 1. The file numbers are written into the area LB of a file together with the retrieving function data, the final application date date, the application frequency data, the plural key words showing the contents of said data, etc. In this system the retrieving function data showing the importance of files are written into the region LB based on the final application date and the application frequency of the files. Thus an access is given at high speed to a desired file with the retrieval of the retrieving function data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データベース等において蓄積される文官情報
等のファイル、特にカード形式のファイルをアクセスす
るためのファイル検索方法に関す〔発明の概要〕 本発明は、カード形式のファイルをアクセスするための
ファイル検索方法において、ファイルの使用回数データ
と最終使用日データとから算出される検索関数データを
上記使用回数データ、最終使用日データとともに記入す
るラベル領域を各ファイルに設け、先ず、各ファイルの
検索関数データの検索を実行し、次に、条件を満たす検
索関数データがラベル領域に記入されているファイルに
ついて内容検索を実行することにより、多量のファイル
を効率良く検索して、所望のファイルの高速アクセスを
可能にしたものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a file search method for accessing files such as civilian information stored in databases etc., particularly files in card format [Summary of the Invention] The present invention provides a file search method for accessing a file in a card format, in which search function data calculated from file use count data and last use date data is written on a label along with the use count data and last use date data. By setting an area for each file, first searching for search function data in each file, and then executing a content search for files whose search function data that meets the conditions are written in the label area, a large amount of data can be searched. It allows for efficient file searching and high-speed access to desired files.

〔従来の技術〕[Conventional technology]

一般に、多量の文書情報等を管理する場合、一連の情報
を予め所定の規則に従って整理したファイルとして記憶
装置にM積しておき、使用者の要求に応じて上記記憶装
置から必要なファイルを読み出すファイル管理が行われ
る。
Generally, when managing a large amount of document information, etc., a series of information is stored in a storage device as files organized according to predetermined rules, and the necessary files are read from the storage device according to the user's request. File management is performed.

従来より、多量のファイルを管理するデータベース等で
は、高速で7プイル検索を行うために、ハードウェアの
高速化や、検索プログラムのアルゴリズム等の見直しに
よるソフトウェア上の高速化が図られている。そして、
カード形式のファイルの場合には、情報内容の縮小画像
や分類あるいはキーワードを付与するラベル領域を各フ
ァイルに設けて、各ラベル領域を利用したファイル検索
により高速化を図る手法が広く採用されている。
Conventionally, in order to perform 7-pool searches at high speed in databases and the like that manage a large number of files, efforts have been made to increase the speed of software by increasing the speed of hardware and reviewing the algorithms of search programs. and,
In the case of card-format files, a widely adopted method is to provide each file with a label area that assigns a reduced image, classification, or keyword to the information content, and to speed up file searches by using each label area. .

(発明が解決しようとする問題点) ところで、上述のようにキーワード等を記入するラベル
領域を設けたカード形式のファイル管理の手法を採用す
ることにより、ファイル内容を直接検索するのに比較し
て、ファイルの検索作業を高速化−することができるの
であるが、この場合にも、従来、全ファイルについて各
ラベル領域を順次に検索する作業を行うために、ファイ
ル数の増加に比例して検索作業に要する時間が長くなり
、所望のファイルを迅速にアクセスすることができなく
なってしまうという問題点がある。
(Problem to be Solved by the Invention) By the way, as mentioned above, by adopting a card-type file management method that provides a label area for entering keywords, etc., it is possible to improve the efficiency compared to directly searching the file contents. , it is possible to speed up the file search process, but in this case too, conventionally, each label area for all files is sequentially searched, so the search speed increases in proportion to the increase in the number of files. This poses a problem in that the time required for the work increases and it becomes impossible to quickly access a desired file.

そこで、本発明は、上述の如き従来の問題点に鑑み、多
量のファイルから所望のファイルを効率良く検索して高
速アクセスできるようしたファイル検索方法を提供する
ことを目的とするものである。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional problems, it is an object of the present invention to provide a file search method that allows a desired file to be efficiently searched from a large number of files and accessed at high speed.

(問題点を解決するための手段〕 本発明は、上述の問題点を解決するために、ファイルの
使用回数データと最終使用日データとから算出される検
索関数データを上記使用回数データ、最終使用日データ
とともに記入するラベル領域を各ファイルに設け、先ず
、各ファイルの検索関数データの検索を実行し、次に、
条件を満たす検索関数データがラベル領域に記入されて
いるファイルについて内容検索を実行することを特徴と
している。
(Means for Solving the Problems) In order to solve the above-mentioned problems, the present invention provides search function data calculated from file use count data and last use date data. A label area is provided in each file to be filled in along with the day data, and the search function data of each file is first searched, and then,
It is characterized in that a content search is executed for files in which search function data that satisfies conditions is written in the label area.

〔作用〕[Effect]

本発明では、ファイルに設けたラベル領域に記入される
使用回数データおよび最終使用日データは当該ファイル
の使用状況を示し、上記使用回数データと最ネ冬イ吏用
日データとから当該ファイルの重要度を示す検索関数デ
ータを予め算出して上記ラベル領域に記入しておき、各
ファイル内容の検索に先立って検索関数データについて
検索レベルを設定して検索することにり、実際に内容検
索を行うファイル数を削減して、効率の良いファイル検
索を行うことができる。
In the present invention, the use count data and the last use date data written in the label area provided in the file indicate the usage status of the file, and the importance of the file is determined based on the use count data and the most recent use date data. The search function data indicating the degree is calculated in advance and entered in the label area above, and the search function data is set and searched prior to searching the contents of each file to actually perform the content search. It is possible to reduce the number of files and perform efficient file searches.

〔実施例〕〔Example〕

以下、本発明の一実施例について、図面に従い詳細に説
明する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図ないし第8図は本発明をデータベースシステムに
適用した一実施例を示すもので、この実施例においてデ
ータベースシステムは、第2図のブロック図に示すよう
に、文書情報等のファイルを蓄積した記憶装置1と、こ
の記憶装置1に蓄積されている多量のファイルを管理す
るホストマシン2とを備え、ターミナルマシン3のキー
ボード4を操作することにより要求される所望のファイ
ルを検索して上記記Ja装置fから上記ターミナルマシ
ン3の表示装T1.5の画面上に読み出すようになって
いる。
Figures 1 to 8 show an embodiment in which the present invention is applied to a database system. In this embodiment, the database system stores files such as document information, as shown in the block diagram of Figure 2. A host machine 2 manages a large amount of files stored in the storage device 1, and searches for desired files by operating the keyboard 4 of the terminal machine 3. The information is read out from the Ja device f onto the screen of the display device T1.5 of the terminal machine 3.

上記記憶装置1には、第1図に模式的に示しであるよう
に、文書情報等の一連のデータ(DATA)を所定の規
則に従って整理し、ファイル管理用のラベル領域LBを
設けたカード形式のファイルFLが多量に蓄積されてい
る。上記ファイルFLのラベル領域LBには、そのファ
イル番号(磁)、検索関数データ(K) 、最終使用日
データ(t)、使用回数データ(N)、さらに、上記デ
ータ(DATA)内容を示す複数のキーワード(KW)
等が記入されている。
As schematically shown in FIG. 1, the storage device 1 has a card format in which a series of data (DATA) such as document information is organized according to predetermined rules, and a label area LB for file management is provided. A large amount of files FL have been accumulated. The label area LB of the above file FL includes its file number (magnetic), search function data (K), last use date data (t), use count data (N), and multiple numbers indicating the contents of the above data (DATA). Keyword (KW)
etc. are entered.

ここで、技術文献等の文書情f騎を蓄積するデータベー
スでは、最近使用されたファイルは直ちに可使mされる
可能性が高く、使用頻度の高いファイルは再使用される
可能性が高く、あるファイルの使用日I3[(N)を縦
軸にとり、また、最終使用日(1)からの経過日数を(
T)として(1/T)を横軸にとって示した第3図のよ
うに、使用回数(N)と経過日数(T)がともに小さな
領域(C)にあるファイルの使用可能性は低(、また、
使用回数(N)と経過日数(〒)がともに大きなwIJ
J(A)にあるファイルの使用可能性は高い。
Here, in a database that accumulates document information such as technical documents, recently used files are likely to be usable immediately, and frequently used files are likely to be reused. The vertical axis is the file usage date I3 [(N), and the number of days that have passed since the last usage date (1) is (
As shown in Figure 3, where (1/T) is plotted as T) on the horizontal axis, the possibility of using a file whose number of uses (N) and number of days elapsed (T) are both in the small area (C) is low (, Also,
wIJ with a large number of uses (N) and number of days elapsed (〒)
The possibility of using the file in J(A) is high.

そこで、この実施例では、 K−αN/β下 にて与えられる検索関数データ(K)をファイルFLの
ラベル領域LBに記入されている最終使用日データ(1
)と使用回数データ(N)とから予め算出して予め上記
ラベル領域LBに記入しておく、なお、上記αおよびβ
は重み付けであって、最終使用日に重きを置くか、使用
顛度に重きをぼくかによりユーザが任意に設定する0例
えば、第1図に示す各ファイル10.20では、αおよ
びβを1として1985年12月5日に算出した各検索
関数データ(K) Kx =Nx/Tx−17/4−4.25Ky −Ny
 /Ty −11/1−11が各ラベル領域11.21
に記入されている。
Therefore, in this embodiment, the search function data (K) given under K-αN/β is converted into the last use date data (1) written in the label area LB of the file FL.
) and usage frequency data (N) and written in the label area LB in advance.
is a weighting that can be set arbitrarily by the user depending on whether to give more weight to the date of last use or to frequency of use.For example, in each file 10.20 shown in FIG. 1, α and β are set to 1. Each search function data (K) calculated on December 5, 1985 as Kx = Nx/Tx-17/4-4.25Ky -Ny
/Ty -11/1-11 is each label area 11.21
is written in.

そして、上記ホストマシン2は、ターミナルマシン3に
よりファイル検索モードが指定されると、第4図のフロ
ーチャートに示すように、検索レベル(Ko)を受は付
けて、ファイルFLのラベル領域LBに記入されている
検索関数データ(K)について検索を実行する。この検
索関数データ(K)の検索作業は、ラベル領域LBに記
入されている検索関数データ(K)を読んで上記検索レ
ベル(Ko)未満であれば、ファイル番号(隘)をイン
クリメントして次のファイルの検索関数データ(K)の
検索作業に移り、上記検索レベル(Ko)以上の検索関
数データ(K)がラベル領域LBに記入されているファ
イルFLについてだけ、そのラベルwI域LBのキーワ
ード(KW)を読んでファイル内容の検索を行う0例え
ば、検索レベル(Ko)を5とした場合に、第1図に示
したKx =4.25の検索関数データKxがラベル領
域11に記入されているファイル10については、各キ
ーワードによる内容検索が省略され、Ky−11の検索
関数データKyがラベル領域21に記入されているファ
イル20については、各キーワードによる内容検索が実
行される。
When the file search mode is specified by the terminal machine 3, the host machine 2 enters the search level (Ko) in the label area LB of the file FL, as shown in the flowchart of FIG. A search is executed for the search function data (K). The search operation for this search function data (K) is performed by reading the search function data (K) written in the label area LB and if it is less than the above search level (Ko), incrementing the file number (Ko) and next. Moving on to the search work for the search function data (K) of the file, only for the file FL in which the search function data (K) of the above search level (Ko) or higher is written in the label area LB, the keyword of the label wI area LB is searched. (KW) to search the file contents 0 For example, when the search level (Ko) is set to 5, the search function data Kx of Kx = 4.25 shown in Fig. 1 is written in the label area 11. For the file 10 in which the search function data Ky-11 is written in the label area 21, the content search using each keyword is omitted, and for the file 20 in which the search function data Ky-11 is written in the label area 21, the content search using each keyword is executed.

そして、上記ファイル検索モードにて検索した所望のフ
ァイルPLのデータ(DATA)の読み出しくファイル
アクセス)要求を受は付けると、上記ホストマシン2は
、第5図のフローチャートに示すように、要求されたフ
ァイルをオープンしてタスクを実行しデータ(DATA
)の読み出しを終了してから、ラベル領域LBの使用回
数データ(N)をインクリメントし、さらに、そのファ
イルアクセス日を最終使用日(1)としてファイルをク
ローズする。
When the host machine 2 accepts the file access request for reading data (DATA) of the desired file PL searched in the file search mode, the host machine 2 processes the requested file as shown in the flowchart of FIG. Open the file, execute the task, and retrieve the data (DATA).
), the usage count data (N) of the label area LB is incremented, and the file is closed with the file access date set as the last usage date (1).

さらに、上記ホストマシン2は、通常業務を終了した夜
間や休日を利用して、第6図のフローチャートに示す如
き手順のバンチ処理を定期的に行い、上記記憶装置1に
N積されているファイルFLのラベル領域LBに記入さ
れている最終使用日データ(1)から経過日数(T)を
求めて、この経過日数(T)と使用回数データ(N)か
ら検索関数データ(K)を算出して書き替える第6図の
フローチャートに示す如き手順のバンチ処理を定期的に
行うようになっている。
Furthermore, the host machine 2 periodically performs bunch processing as shown in the flowchart of FIG. Find the number of elapsed days (T) from the last use date data (1) written in the label area LB of FL, and calculate the search function data (K) from this number of elapsed days (T) and the number of use data (N). Bunch processing of the procedure shown in the flowchart of FIG. 6 is periodically performed.

このようなデータベースシステムでは、記憶装置1に蓄
積されているファイルFLの最終使用日(1)と使用回
数(N)をパラメータとして算出した当該ファイルFL
の重要度を示す検索関数データ(K)をラベル領域LB
に記入してるので、各ファイルの内容検索に先立って、
検索レベル(Ko)を指定して上記検索関数データ(K
)の検索作業を実行して、多数のファイルの中から内容
検索を実行するに価するファイルを探し出し、効率良く
迅速に内容検索を行って、必要とするファイルの高速ア
クセスを行うことができる。
In such a database system, the file FL stored in the storage device 1 is calculated using the last use date (1) and the number of uses (N) as parameters.
The search function data (K) indicating the importance of is stored in the label area LB.
, so before searching the contents of each file,
Specify the search level (Ko) and retrieve the above search function data (K
), it is possible to find a file that is worth performing a content search from among a large number of files, perform the content search efficiently and quickly, and access the required file at high speed.

〔発明の効果〕〔Effect of the invention〕

本発明では、ファイルに設けたラベル領域に記入される
使用回数データおよび最終使用日データは当該ファイル
の使用状況を示す使用回数データおよび最終使用日デー
タを記入するとともに、上記使用回数データと最終使用
日データとから当該ファイルの重要度を示す検索関数デ
ータを予め算出して上記ラベル領域・に記入しておくこ
とにより、各ファイル内容の検索に先立って検索関数デ
ータについて検索レベルを設定した検索を実行して、実
際に内容検索を行うファイル数を削減することができ、
多量のファイルについて効率の良いファイル検索を行う
ことができる。従って、本発明によれば、多数のファイ
ルの中から必要とするファイルを効率良く迅速に探し出
して高速アクセスすることができる。
In the present invention, the use count data and last use date data that are written in the label area provided in the file include the use count data and last use date data that indicate the usage status of the file, and the use count data and last use date data that indicate the usage status of the file are entered. By calculating the search function data indicating the importance of the file in advance from the date data and entering it in the label area above, you can perform a search with a search level set for the search function data before searching the contents of each file. You can reduce the number of files whose contents are actually searched by executing
Efficient file searches can be performed for a large number of files. Therefore, according to the present invention, it is possible to efficiently and quickly search for a required file among a large number of files and access it at high speed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図ないし第6図は本発明をデータベースシステム◇
適用した一実施例を示す図であって、第1図はファイル
の概略構成を示す模式図であり、第2図はデータベース
システムの概略構成を示すブロック図であり、第3図は
ファイル検索に使用する検索関数の説明に供する特性線
図であり、第4図はファイル検索動作を示すフローチャ
ートであり、第5図はファイルアクセス動作を示すフロ
ーチャートであり、第6図はバッチ処理動作を示すフロ
ーチャートである。 1・・・記憶装置 2・・・ホストマシン 3・・・ターミナルマシン
Figures 1 to 6 show the present invention as a database system◇
FIG. 1 is a schematic diagram showing a schematic structure of a file, FIG. 2 is a block diagram showing a schematic structure of a database system, and FIG. 3 is a diagram showing a schematic structure of a database system. FIG. 4 is a flowchart showing a file search operation, FIG. 5 is a flowchart showing a file access operation, and FIG. 6 is a flowchart showing a batch processing operation. It is. 1...Storage device 2...Host machine 3...Terminal machine

Claims (1)

【特許請求の範囲】 ファイルの使用回数データと最終使用日データとから算
出される検索関数データを上記使用回数データ、最終使
用日データとともに記入するラベル領域を各ファイルに
設け、 先ず、各ファイルの検索関数データの検索を実行し、次
に、条件を満たす検索関数データがラベル領域に記入さ
れているファイルについて内容検索を実行することを特
徴とするファイル検索方法。
[Scope of Claims] Each file is provided with a label area in which search function data calculated from file usage count data and last usage date data is written together with the usage count data and last usage date data. A file search method characterized by executing a search for search function data, and then executing a content search for a file in which search function data satisfying a condition is written in a label area.
JP62042291A 1987-02-25 1987-02-25 File retrieving method Pending JPS63208936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62042291A JPS63208936A (en) 1987-02-25 1987-02-25 File retrieving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62042291A JPS63208936A (en) 1987-02-25 1987-02-25 File retrieving method

Publications (1)

Publication Number Publication Date
JPS63208936A true JPS63208936A (en) 1988-08-30

Family

ID=12631937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62042291A Pending JPS63208936A (en) 1987-02-25 1987-02-25 File retrieving method

Country Status (1)

Country Link
JP (1) JPS63208936A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02108162U (en) * 1989-02-16 1990-08-28

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02108162U (en) * 1989-02-16 1990-08-28

Similar Documents

Publication Publication Date Title
US8799229B2 (en) Searchable archive
US5732260A (en) Information retrieval system and method
US5987453A (en) Method and apparatus for performing a join query in a database system
US9805077B2 (en) Method and system for optimizing data access in a database using multi-class objects
RU2182357C2 (en) Concurrent data processing system for data base passage
US6606617B1 (en) Optimized technique for prefetching LOB table space pages
US6003043A (en) Text data registering and retrieving system including a database storing a plurality of document files therin and a plural-character occurrence table for a text index and an update text buffer to retrieve a target document in cooperation with the database
JPH0675265B2 (en) Information retrieval method and system
US20230259563A1 (en) System, Method and Computer Program Product for Protecting Derived Metadata When Updating Records within a Search Engine
US9477729B2 (en) Domain based keyword search
US11449564B2 (en) System and method for searching based on text blocks and associated search operators
JPH11120203A (en) Method for combining data base and device for retrieving document from data base
WO2019006551A1 (en) System and method of managing indexing for search index partitions
JPS63208936A (en) File retrieving method
JPH1185585A (en) Method and device for complete memory resident index
EP2942720A1 (en) Domain based keyword search
JP3588681B2 (en) File management apparatus and method and computer system
JP2003323448A (en) Database retrieving device and method
JPS6327927A (en) Index generation system in reserved information retrieval system
JPH0877044A (en) Data base controller
JPS63285631A (en) Updating and processing system for index file
JP2000020360A (en) Data buffering system
JPH04213128A (en) Data processor
JP2006235903A (en) Access control method for relational database
JPH0371371A (en) English word retrieving device