JPH0567145A - Data retrieving method - Google Patents
Data retrieving methodInfo
- Publication number
- JPH0567145A JPH0567145A JP3226733A JP22673391A JPH0567145A JP H0567145 A JPH0567145 A JP H0567145A JP 3226733 A JP3226733 A JP 3226733A JP 22673391 A JP22673391 A JP 22673391A JP H0567145 A JPH0567145 A JP H0567145A
- Authority
- JP
- Japan
- Prior art keywords
- retrieval
- key
- data
- file
- search
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はデータ検索方法に関し、
特に複数の検索キーのファイル化によるデータ検索方法
に関する。The present invention relates to a data search method,
In particular, it relates to a data search method by filing a plurality of search keys.
【0002】[0002]
【従来の技術】従来の複数の検索キーによるデータ検索
方法は図3に示すように入力された検索キーを(ステッ
プ21)データファイルのキー項目であるかを判断する
処理(ステップ22)と、キーによるデータ読み込み処
理(ステップ23)と、データファイルを順次読み込み
(ステップ24)該当するデータであるかを判断する処
理とを有している。2. Description of the Related Art A conventional data search method using a plurality of search keys includes a process of determining whether an input search key is a key item of a data file (step 21) as shown in FIG. It has a data read process using a key (step 23) and a process of sequentially reading data files (step 24) to determine whether the data is corresponding data.
【0003】次に処理手順について説明する。入力され
た検索キーをデータファイルのキー項目であるかを判断
する(ステップ22)。ファイルのキー項目と決定した
場合、入力されたキー値によりデータファイルを読み込
む(ステップ23)。ファイルのキー項目でないと決定
した場合、データファイルの順次読み込み(ステップ2
4)を行ない、読み込んだデータが入力された検索キー
と一致するかの判断を行なう(ステップ25)。一致し
ない場合は再度この判断を繰り返し行なう(ステップ2
4)。そして、入力されたキーと一致したデータを端末
に表示する(ステップ26)。Next, the processing procedure will be described. It is judged whether the input search key is a key item of the data file (step 22). If the key item of the file is determined, the data file is read by the input key value (step 23). If it is determined that the file is not a key item, the data file is sequentially read (step 2
4) is performed to determine whether the read data matches the input search key (step 25). If they do not match, this judgment is repeated again (step 2).
4). Then, the data matching the entered key is displayed on the terminal (step 26).
【0004】[0004]
【発明が解決しようとする課題】この検索方法では、デ
ータファイル項目での検索処理を行う場合、常にデータ
ファイルの先頭から順次読み込みを行い、読み込んだデ
ータが入力された検索キーと一致するかを判断する必要
がある為、データファイルのデータ件数が多く、データ
ファイルの後ろにあるデータを検索するときは非常に処
理時間がかかるという問題があった。In this retrieval method, when performing retrieval processing in a data file item, it is always read sequentially from the beginning of the data file, and whether the retrieved data matches the entered retrieval key. Since it is necessary to judge, there is a problem that the number of data in the data file is large and it takes a very long processing time to search the data behind the data file.
【0005】[0005]
【課題を解決するための手段】本発明の検索方法は、入
力された検索キーに対応した検索キーファイルを認識す
ることと、その検索キーファイルから読み込んだデータ
により目的とする検索データファイルの読み取りキーを
生成することと、検索データファイルより検索データを
読み込むこととを備えて構成される。A search method according to the present invention recognizes a search key file corresponding to an input search key, and reads a target search data file from data read from the search key file. It is configured to generate a key and read the search data from the search data file.
【0006】[0006]
【実施例】次に本発明について図面を参照して説明す
る。The present invention will be described below with reference to the drawings.
【0007】図1は本発明の構成を示す流れ図、図2は
各種キーファイルとデータファイルとの関係付けを示す
キーファイルのデータ内容の一例を示すデータ構成図で
ある。入力された検索キーに(ステップ9)対応した検
索キーファイルを認識し(ステップ11)、データファ
イルのキー項目以外の場合、認識した検索キーファイル
を読み(ステップ12)、検索要求のあった画面に例え
ばキーファイル情報(キーファイルのキーの値18・デ
ータファイルキー値19・付加情報10)を最大1回に
例えば20件表示する。利用者が要求した検索データと
一致したデータがない場合には、次データ以降を読み再
度画面へ表示する(ステップ14)。利用者は表示され
ているキーデータより検索データを決定し、選択すると
(ステップ15)、キーファイル上のデータファイルキ
ー値19により、データファイルからデータを索引して
読み込み要求のあった画面へ検索データを表示する(ス
テップ17)。FIG. 1 is a flow chart showing the configuration of the present invention, and FIG. 2 is a data configuration diagram showing an example of the data contents of a key file showing the relationship between various key files and data files. The search key file corresponding to the input search key (step 9) is recognized (step 11), and if it is not the key item of the data file, the recognized search key file is read (step 12) and the screen requesting the search is displayed. For example, the key file information (key value 18 of the key file, data file key value 19, additional information 10) is displayed at a maximum of 20 times at a time, for example. If there is no data that matches the search data requested by the user, the next and subsequent data is read and displayed again on the screen (step 14). When the user determines the search data from the displayed key data and selects it (step 15), the data file key value 19 on the key file is used to index the data from the data file and search for the screen requested to be read. Display the data (step 17).
【0008】検索キーファイル認識(ステップ11)で
データファイルのキー項目13と認識された場合には、
入力された検索キーにてデータファイルより索引し検索
データを読み込み(ステップ16)、検索データを要求
画面へ表示する(ステップ17)。When it is recognized as the key item 13 of the data file in the search key file recognition (step 11),
The input search key is used to index the data file and read the search data (step 16), and the search data is displayed on the request screen (step 17).
【0009】[0009]
【発明の効果】以上説明したように本発明は、検索デー
タの検索キーを複数のファイルで管理するようにした
為、データファイルのキー項目以外での検索処理におい
て順次読み込みを行う必要がなく、検索時間が短縮する
という効果を有する。As described above, according to the present invention, since the search key of the search data is managed by a plurality of files, it is not necessary to sequentially read in the search processing other than the key item of the data file. This has the effect of reducing the search time.
【図1】本発明の一実施例の構成を示す流れ図FIG. 1 is a flow chart showing the configuration of an embodiment of the present invention.
【図2】キーファイルとデータファイルとの関連付けを
示すキーファイルのデータ内容の一例を示す構成図FIG. 2 is a configuration diagram showing an example of data contents of a key file showing association between a key file and a data file.
【図3】従来の技術による検索方法の構成を示す流れ図FIG. 3 is a flowchart showing a configuration of a search method according to a conventional technique.
10 付加情報 18 キーファイルのキー値 19 データファイルキー値 10 Additional information 18 Key value of key file 19 Data file key value
Claims (1)
ファイルを認識することと、その検索キーファイルから
読み込んだデータにより目的とする検索データファイル
の読み取りキーを生成することと、検索データファイル
より検索データを読み込むこととを備えて成ることを特
徴としたデータ検索方法。1. Recognizing a search key file corresponding to an input search key, generating a read key of a target search data file from data read from the search key file, and extracting the read key from the search data file. A data search method comprising reading search data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3226733A JPH0567145A (en) | 1991-09-06 | 1991-09-06 | Data retrieving method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3226733A JPH0567145A (en) | 1991-09-06 | 1991-09-06 | Data retrieving method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0567145A true JPH0567145A (en) | 1993-03-19 |
Family
ID=16849758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3226733A Pending JPH0567145A (en) | 1991-09-06 | 1991-09-06 | Data retrieving method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0567145A (en) |
-
1991
- 1991-09-06 JP JP3226733A patent/JPH0567145A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS59128661A (en) | Filing device of picture | |
JPH0567145A (en) | Data retrieving method | |
JPH04340163A (en) | Keyword retrieval system | |
JP3902825B2 (en) | Document search system and method | |
JPH05135102A (en) | Document retrieval system | |
JP3005380B2 (en) | Slip transaction data input device and input method | |
JP3052380B2 (en) | Item selection device | |
JPH02108157A (en) | Information retrieving method | |
JPH0567157A (en) | Character string retrieval system | |
JPS63204434A (en) | Electronic document retrieving device | |
JPH07249034A (en) | Character string extraction processor | |
JPH05216938A (en) | Virtual file retrieving system | |
JPH05342278A (en) | File data extraction device | |
JPH07282086A (en) | Document retrieving device | |
JPH05197590A (en) | Display processing system for software test item | |
JPH04241672A (en) | Character string retrieving system | |
JPH0752451B2 (en) | Information retrieval device | |
JP2001052022A (en) | Data totalization and reference type retrieval system | |
JPH0452967A (en) | And operation processing system for set file | |
JPH04293164A (en) | Multi-media data base generating/display device | |
JPH0869455A (en) | Document retrieval method, document retrieval device, and document storage device | |
JPH02255979A (en) | Document producing device | |
JPH02136967A (en) | Data retrieving system | |
JPH0546666A (en) | Information retrieving device | |
JPH08249418A (en) | Device and method for area discrimination |