JPH03126141A - Code file retrieving device - Google Patents

Code file retrieving device

Info

Publication number
JPH03126141A
JPH03126141A JP1264774A JP26477489A JPH03126141A JP H03126141 A JPH03126141 A JP H03126141A JP 1264774 A JP1264774 A JP 1264774A JP 26477489 A JP26477489 A JP 26477489A JP H03126141 A JPH03126141 A JP H03126141A
Authority
JP
Japan
Prior art keywords
code file
data
update
file
code
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
JP1264774A
Other languages
Japanese (ja)
Inventor
Kazuhiro Aoki
青木 一広
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1264774A priority Critical patent/JPH03126141A/en
Publication of JPH03126141A publication Critical patent/JPH03126141A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To efficiently perform a processing to omit a time required for reconsideration of data by providing a history file where data before update is stored and using the data before update to perform code conversion. CONSTITUTION:A code file retrieving program means 1 receives input data as the object of code conversion to retrieve a code file 5; and if a code corresponding to input data cannot be retrieved, a history file 6 where data just before update is stored is retrieved to output the retrieval result. Next, a code file updating means 22 receives data for update of the code file 5 to update the code file 5 and a history file 6. Thus, the time required for reconsideration of data as the object of code conversion accompanied with update of the code file 5 is omitted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理におけるファイルの検索に利用する。[Detailed description of the invention] [Industrial application field] INDUSTRIAL APPLICATION This invention is utilized for a file search in information processing.

本発明は履歴ファイルを用いたコードファイルの検索装
置に関する。
The present invention relates to a code file search device using a history file.

〔概要〕〔overview〕

本発明は入力データのコードをコードファイルから検索
しコード変換を行うコードファイル検索装置において、 更新以前のデータを格納する履歴ファイルを設け、その
更新以前のデータを用いてコード変換を行うことにより
、 処理の効率化およびデータの見直しに要する時間を省略
できるようにしたものである。
The present invention is a code file search device that searches a code file for a code of input data and performs code conversion. This is designed to improve processing efficiency and reduce the time required to review data.

〔従来の技術〕[Conventional technology]

従来、この種のコードファイルの検索は、コード変換の
対象となるデータとコードファイルのデータが一致する
ことによりコード変換を行っていた。
Conventionally, in this type of code file search, code conversion is performed when the data to be converted matches the data in the code file.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のコードファイル検索は、コードファイル
のデータを更新した後に更新以前のデータを用いてコー
ド変換を行うことができないために、むだなコードファ
イルへのアクセスが発生し処理効率を悪(し、またデー
タの見直しをする時間を必要とする欠点がある。
In the conventional code file search described above, after the code file data is updated, code conversion cannot be performed using the data before the update, resulting in unnecessary access to the code file and poor processing efficiency. , it also has the disadvantage of requiring time to review the data.

本発明はこのような欠点を除去するもので、更新以前の
データを格納する履歴ファイルへのアクセスを行い、処
理の効率化およびデータの見直しをする時間を省略する
ことができる装置を提供することを目的とする。
The present invention aims to eliminate such drawbacks, and provides a device that can access a history file that stores data before updating, improve processing efficiency, and eliminate the time required to review data. With the goal.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、データのコードを格納するコードファイルを
設け、コード変換の対象となる入力データを受け取る入
力手段、この入力手段により得られたデータを受け取り
前記コードファイルを検索するコードファイル検索手段
、および検索結果を出力する出力手段を含むコードファ
イル検索プログラム手段と、前記コードファイルを更新
するためのデータを受け取る更新データ入力手段、およ
びこの更新データ入力手段により得られた更新データを
受け取りコードファイルの更新を行うコードファイル更
新手段を含むコードファイル更新プログラム手段とを備
えたコードファイル検索装置において、更新以前のデー
タを格納する履歴ファイルを設け、前記コードファイル
検索プログラム手段に、前記コードファイル検索手段が
データを検索できなかったときに前記履歴ファイルを検
索する履歴ファイル検索手段を含み、前記コードファイ
ル更新プログラム手段に、前記履歴ファイルの更新を行
う履歴ファイル更新手段を含むことを特徴とする。
The present invention provides an input means for receiving input data that is a target of code conversion by providing a code file for storing data codes, a code file search means for receiving data obtained by the input means and searching the code file, and code file search program means including output means for outputting search results; update data input means for receiving data for updating the code file; and update data received by the update data input means for updating the code file. A code file search device is provided with a code file update program means that includes a code file update means for performing a code file update program. The present invention is characterized in that it includes a history file search means for searching the history file when the history file cannot be searched, and the code file update program means includes a history file update means for updating the history file.

〔作用〕[Effect]

コードファイル検索プログラム手段が、コード変換の対
象となる入力データを受け取りコードファイルを検索し
、入力データに該当するコードを検索できなかったとき
に更新直前のデータが格納されている履歴ファイルを検
索してその検索結果を出力する。
The code file search program means receives input data to be converted, searches the code file, and when the code corresponding to the input data cannot be searched, searches the history file in which the data immediately before the update is stored. and output the search results.

次いで、コードファイル更新手段が、コードファイルを
更新するためのデータを受け取りコードファイルおよび
履歴ファイルを更新する。
Next, the code file update means receives data for updating the code file and updates the code file and the history file.

これにより、コードファイルの更新に伴うコードの変換
対象となるデータの見直しに要する時間を省略すること
ができる。
As a result, it is possible to omit the time required to review the data to be converted into the code when updating the code file.

〔実施例〕〔Example〕

次に、このように構成された本発明実施例を図面に基づ
いて説明する。第1図は本発明実施例の構成を示すブロ
ック図である。
Next, an embodiment of the present invention configured as described above will be described based on the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

本発明実施例は、データのコードを格納するコードファ
イル5を設け、コード変換の対象となる入力データを受
け取る入力手段11、この入力手段11により得られた
データを受け取りコードファイル5を検索するコードフ
ァイル検索手段12、および検索結果を出力する出力手
段14を含むコードファイル検索プログラム手段1と、
コードファイル5を更新するためのデータを受け取る更
新データ入力手段21、およびこの更新データ入力手段
21により得られた更新データを受け取りコードファイ
ルの更新を行うコードファイル更新手段22を含むコー
ドファイル更新プログラム手段2とを備え、さらに、更
新以前のデータを格納する履歴ファイル6を設け、コー
ドファイル検索プログラム手段1に、コードファイル検
索手段12がデータを検索できなかったときに履歴ファ
イル6を検索する履歴ファイル検索手段13を含み、コ
ードファイル更新プログラム手段2に、履歴ファイル6
0更新を行う履歴ファイル更新手段23を含む。
The embodiment of the present invention is provided with a code file 5 for storing data codes, an input means 11 for receiving input data to be converted into a code, and a code for receiving data obtained by this input means 11 and searching the code file 5. Code file search program means 1 including file search means 12 and output means 14 for outputting search results;
Code file update program means including an update data input means 21 that receives data for updating the code file 5, and a code file update means 22 that receives the update data obtained by the update data input means 21 and updates the code file. 2, and further provided with a history file 6 for storing data before update, and the code file search program means 1 includes a history file for searching the history file 6 when the code file search means 12 is unable to search for data. A search means 13 is included, and a history file 6 is stored in the code file update program means 2.
It includes a history file update means 23 that performs zero update.

第2図(a)、(社)、(C)、(6)、(eL (f
)および(区はデー夕のフォーマットを示す図である。
Figure 2 (a), (company), (C), (6), (eL (f
) and (ku) are diagrams showing the format of data.

入力データ3は同図(a)に示すようなコードファイル
5または履歴ファイル6を検索するときのデータであり
、出力データ4は同図(d)に示すようなコードファイ
ル検索プログラム手段1により検索された結果のデータ
である。
Input data 3 is data used when searching a code file 5 or history file 6 as shown in FIG. This is the resulting data.

また、コードファイル5は同図(6)に示すように構成
され、例えば磁気ディスク装置のようなランダムアクセ
ス可能な補助記憶装置上に構成されて複数格納される。
Further, the code files 5 are configured as shown in FIG. 6 (6), and are configured and stored in plural on a randomly accessible auxiliary storage device such as a magnetic disk device, for example.

履歴ファイル6は同図(C)に示すように構成され、例
えば磁気ディスク装置のようなランダムアクセス可能な
補助記憶装置上に構成されて複数格納され、更新データ
7は同図(e)に示すように構成されコードファイルを
更新する。
The history file 6 is configured as shown in the figure (C), and a plurality of history files are stored on a randomly accessible auxiliary storage device such as a magnetic disk device, and the update data 7 is as shown in the figure (e). Update the configured code file.

次に、このように構成された本発明実施例の動作につい
て説明する。第3図は本発明実施例のコードファイル検
索プログラム手段1の動作の流れを示す流れ図である。
Next, the operation of the embodiment of the present invention configured as described above will be explained. FIG. 3 is a flowchart showing the operation flow of the code file search program means 1 according to the embodiment of the present invention.

コードファイル検索プログラム手段1の処理は、データ
入力後、コードファイル検索、コードファイル検索判定
、履歴ファイル検索、履歴ファイル検索判定、各処理お
よび未検索処理を行いデータを出力する。
After inputting data, the code file search program means 1 performs code file search, code file search determination, history file search, history file search determination, each process, and unsearched process, and outputs data.

第4図は本発明実施例のコードファイル更新プログラム
手段2の動作の流れを示す流れ図である。
FIG. 4 is a flowchart showing the operation flow of the code file update program means 2 according to the embodiment of the present invention.

コードファイル更新プログラム手段2の処理は、更新デ
ータを入力後、コードファイル更新、右よび履歴ファイ
ル更新の処理を行う。
After inputting the update data, the code file update program means 2 performs processing of updating the code file and updating the right and history files.

まず、コードファイル検索プログラム手段1が起動され
ると、人力手段11によってコード変換の対象となる第
2図(a)に示すデータD6□をフィールドIから入力
され(ステップ31)、コードファイル検索手段12は
人力手段11からフィールドIを受け取り、このフィー
ルドIのデータD6□を検索条件として、例えば第2図
(b)に示すようなコードファイルにアクセスし、一致
するデータを検索する(ステップ32)。
First, when the code file search program means 1 is started, the data D6□ shown in FIG. 12 receives the field I from the manual means 11, uses the data D6□ of this field I as a search condition, accesses a code file as shown in FIG. 2(b), and searches for matching data (step 32). .

一致するデータが検索されなければ、履歴ファイル検索
手段13がフィールドIのデータI)s2を検索条件と
して、例えば第2図(C)に示すような履歴ファイル6
にアクセスし、一致するデータを有するデータレコード
RF2を検索する(ステップ34) 。
If no matching data is found, the history file search means 13 uses the data I)s2 of field I as a search condition to search for a history file 6 as shown in FIG. 2(C), for example.
and searches for data record RF2 having matching data (step 34).

次いで一致するデータが検索されると、出力手段14を
介してコードデータC21を第2図(6)に示すように
フィールド○にセットする。 (ステップ37)。
Next, when matching data is retrieved, the code data C21 is set in the field ◯ as shown in FIG. 2 (6) via the output means 14. (Step 37).

次にコードファイル更新プログラム手段2が起動される
と、更新データ入力手段21によってコードファイルを
更新するための第2図(e)に示すデー 4゜りCHI
とデータD 112をフィールドKから入力する(ステ
ップ41)。コードファイル更新手段22は更新データ
入力手段21からフィールドKを受け取り、フィールド
にのデータC3Iを検索条件として、例えば第2図ら)
に示すようなコードファイルにアクセスし、一致するデ
ータを検索してデータレコードCF、を保持してデータ
D31をフィールドにのデータI)szに更新して第2
図(f)に示すようなコードファイルにする(ステップ
42)。
Next, when the code file update program means 2 is started, the update data input means 21 inputs the data shown in FIG. 2(e) for updating the code file.
and data D 112 are input from field K (step 41). The code file update means 22 receives the field K from the update data input means 21, and uses the data C3I in the field as a search condition (for example, as shown in FIG. 2).
Access the code file as shown in , search for matching data, hold data record CF, update data D31 to field data I) sz, and enter the second
Create a code file as shown in Figure (f) (step 42).

履歴ファイル更新手段23は更新データ入力手段21か
らデータレコードCF、を受け取り、例えば第2図(g
)のようにレコードを追加する(ステップ43)。
The history file update means 23 receives the data record CF from the update data input means 21, and receives the data record CF from the update data input means 21, for example, as shown in FIG.
) (step 43).

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

以上説明したように本発明によれば、コードファイルの
更新に伴うコード変換の対象となるデータの見直しに要
する時間を省略することができる効果がある。
As described above, according to the present invention, it is possible to omit the time required to review data to be subjected to code conversion when updating a code file.

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

第1図は本発明実施例の構成を示すブロック図。 第2図(a)、(6)、(C)、(d)、(e)、(f
)、(印は本発明実施例のデータフォーマットを示す図
。 第3図は本発明実施例のコードファイル検索プログラム
手段の処理手順を示す流れ図。 第4図は本発明実施例のコードファイル更新プログラム
手段の処理手順を示す流れ図。 1・・・コードファイル検索プログラム手段、2・・・
コードファイル更新プログラム手段、3・・・入力デー
タ、4・・・出力データ、5・・・コードファイルペ 
6・・・履歴ファイル、7・・・更新データ、11・・
・入力手段、12・・・コードファイル検索手段、13
・・・履歴ファイル検索手段、14・・・出力手段、2
1・・・更新データ入力手段、22・・・コードファイ
ル更新手段、23・・・履歴ファイル更新手段。 実施例 コードファイル検索プログ ラム手段の動作 第3図 O [二二互==]出力データ (d) (C) 第 図 (f) (g)
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. Figure 2 (a), (6), (C), (d), (e), (f
), (marks indicate the data format of the embodiment of the present invention. Fig. 3 is a flowchart showing the processing procedure of the code file search program means of the embodiment of the present invention. Fig. 4 shows the code file update program of the embodiment of the present invention. Flowchart showing the processing procedure of the means. 1... Code file search program means, 2...
code file update program means, 3...input data, 4...output data, 5...code file update program means;
6... History file, 7... Update data, 11...
- Input means, 12...Code file search means, 13
...History file search means, 14...Output means, 2
1... Update data input means, 22... Code file update means, 23... History file update means. Operation of the embodiment code file search program means Figure 3 O [22 mutual==] Output data (d) (C) Figures (f) (g)

Claims (1)

【特許請求の範囲】 1、データのコードを格納するコードファイルを設け、 コード変換の対象となる入力データを受け取る入力手段
、この入力手段により得られたデータを受け取り前記コ
ードファイルを検索するコードファイル検索手段、およ
び検索結果を出力する出力手段を含むコードファイル検
索プログラム手段と、前記コードファイルを更新するた
めのデータを受け取る更新データ入力手段、およびこの
更新データ入力手段により得られた更新データを受け取
りコードファイルの更新を行うコードファイル更新手段
を含むコードファイル更新プログラム手段と を備えたコードファイル検索装置において、更新以前の
データを格納する履歴ファイルを設け、 前記コードファイル検索プログラム手段に、前記コード
ファイル検索手段がデータを検索できなかったときに前
記履歴ファイルを検索する履歴ファイル検索手段を含み
、 前記コードファイル更新プログラム手段に、前記履歴フ
ァイルの更新を行う履歴ファイル更新手段を含む ことを特徴とするコードファイル検索装置。
[Claims] 1. Input means for receiving input data that is a target of code conversion by providing a code file for storing data codes; and a code file for receiving data obtained by the input means and searching the code file. code file search program means including a search means and an output means for outputting search results; an update data input means for receiving data for updating the code file; and an update data input means for receiving the update data obtained by the update data input means. A code file search device comprising a code file update program means including a code file update means for updating a code file, wherein a history file for storing data before update is provided, and the code file search program means includes a code file update program means for updating the code file. The present invention is characterized in that it includes a history file search unit that searches the history file when the search unit is unable to search for data, and that the code file update program unit includes a history file update unit that updates the history file. Code file search device.
JP1264774A 1989-10-11 1989-10-11 Code file retrieving device Pending JPH03126141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1264774A JPH03126141A (en) 1989-10-11 1989-10-11 Code file retrieving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1264774A JPH03126141A (en) 1989-10-11 1989-10-11 Code file retrieving device

Publications (1)

Publication Number Publication Date
JPH03126141A true JPH03126141A (en) 1991-05-29

Family

ID=17408004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1264774A Pending JPH03126141A (en) 1989-10-11 1989-10-11 Code file retrieving device

Country Status (1)

Country Link
JP (1) JPH03126141A (en)

Similar Documents

Publication Publication Date Title
JP2000357115A (en) Device and method for file retrieval
JPH03126141A (en) Code file retrieving device
JPH02297670A (en) Data base retrieving system
JPH04340163A (en) Keyword retrieval system
JPH0773187A (en) Retrieving system
JPS6380325A (en) Information retrieval method and index used therefor
JPH05204978A (en) Information retrieving device
JPH0728836A (en) Data base retrieving method and data base system using this method
JPH01120621A (en) Retrieving/updating system for data base
JPH0254323A (en) Retrieving system for screen input item
JPH01307847A (en) File data processing system
JPH04148373A (en) Data retrieving system
JPS63231527A (en) Time series retrieving system
JPH0224737A (en) File processor
JPH05313971A (en) Key word managing system in relational data base
JPH01180632A (en) Record retrieving system
JPH1091493A (en) Method for constructing database
JPS58125155A (en) Data file processing system
JPS61281368A (en) Picture information retrieving device
JPH02109162A (en) Index system for library file
JPH08329095A (en) Data retrieval system for relational data base
JPH0546666A (en) Information retrieving device
JPS61127046A (en) Control system for prefetching from data base
JPH05165891A (en) Data registration/retrieval system of data base
JPH04304559A (en) Data retrieving system