JPH03196330A - Data collating device - Google Patents

Data collating device

Info

Publication number
JPH03196330A
JPH03196330A JP33520189A JP33520189A JPH03196330A JP H03196330 A JPH03196330 A JP H03196330A JP 33520189 A JP33520189 A JP 33520189A JP 33520189 A JP33520189 A JP 33520189A JP H03196330 A JPH03196330 A JP H03196330A
Authority
JP
Japan
Prior art keywords
data
storage means
stored
main storage
collation
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
JP33520189A
Other languages
Japanese (ja)
Inventor
Takayuki Kawakami
隆行 川上
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP33520189A priority Critical patent/JPH03196330A/en
Publication of JPH03196330A publication Critical patent/JPH03196330A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten the data collation time by retrieving the data by a main storage means only in the case the data which coincides with collation data is not stored in a first and a second storage means. CONSTITUTION:When data control means 1 inputs collation data outputted from a data output means 4, the retrieval of data which coincides with this collation data is executed preferentially with regard to a first and a second storage means 3, 5 whose storage capacity is smaller than the storage capacity of a main storage means 2. Subsequently, only in the case the data which coincides with the collation data is not stored in these storage means 3, 5, the data is retrieved by the main storage means 2. Accordingly, in the case the collation data which coincides with the data which is not stored in the main storage means 2 is inputted repeatedly, the data is retrieved by a second storage means 5 whose storage capacity is smaller than that of the main storage means 2, and the data control means 1 can recognize quickly a fact that the data which coincides with the collation data does not exist in the main storage means 2. In such a way, the time for retrieving the data is shortened, and the collation time of the data is shortened.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、いわゆるコンピュータ等の情報処理装置に係
り、特に記憶手段に記憶されたデータと入力したデータ
とを短時間で照合することができるデータ照合装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an information processing device such as a so-called computer, and in particular is capable of collating data stored in a storage means with input data in a short time. The present invention relates to a data matching device.

(従来の技術) 一般に、各種情報処理を行なういわゆるコンピュータ等
の情報処理装置には、処理に使用する情報としてのデー
タを記憶する記憶手段が備えられている。
(Prior Art) Generally, information processing apparatuses such as so-called computers that perform various information processing are equipped with storage means for storing data as information used in the processing.

近年にはこのような記憶手段として、フロッピーディス
ク装置やハードディスク装置と呼ばれる比較的記憶容量
の大きいものがある。これらの装置は、磁気ディスク等
の記憶媒体と、この記憶媒体に対してデータの書き込み
又は読み出しを行なうヘッドと、これらを作動させる機
構等によって構成されている。そして、このような記憶
手段は、コンピュータの中央処理装置(CP U)から
データの書き込み又は読み出しを行なわせる信号を入力
すると、それらの構成部祠を作動させ、記憶媒体の所定
の記憶場所にデータを記憶したり、所定の記憶場所から
データを呼び出すようになっている。これにより、CP
Uは、処理内容に応じて記憶手段に記憶されたデータを
呼び出したり、必要なデータを記憶手段に記憶させるこ
とができ、このようなデータに基づいて各種処理を行な
うようになっている。
In recent years, such storage means include devices with relatively large storage capacities called floppy disk devices and hard disk devices. These devices are composed of a storage medium such as a magnetic disk, a head that writes data to or reads data from the storage medium, and a mechanism that operates these devices. When such a storage means receives a signal from the central processing unit (CPU) of the computer to write or read data, it activates these components and stores the data in a predetermined storage location of the storage medium. It is designed to store and recall data from a predetermined storage location. As a result, C.P.
The U is capable of calling up data stored in the storage means according to processing contents, or storing necessary data in the storage means, and performs various processes based on such data.

ところが、このようにCPUが記憶手段からデータを呼
び出す場合には、記憶手段は機構を作動させ、該当する
データの検索を夫々の記憶場所に対して順に行なうので
、CPUの処理速度に対してデータを呼び出す又は書き
込むまでの時間(以下にアクセス時間という。)がかか
り、このような検索が処理の途中で行なわれると、処理
速度が低下するという問題が生じる。
However, when the CPU reads data from the storage means in this way, the storage means activates a mechanism and searches for the corresponding data in each storage location in turn. It takes time to call or write (hereinafter referred to as access time), and if such a search is performed in the middle of processing, a problem arises in that the processing speed decreases.

そこで従来には、第3図、第4図に示すように、いわゆ
るキャッシュメモリによって、そのようなアクセス時間
を短縮するようにしているものがある。
Conventionally, as shown in FIGS. 3 and 4, a so-called cache memory is used to shorten such access time.

第3図に示すように、各種情報処理を行なうCPUIに
は、前述したようなフロッピーディスク装置やハードデ
ィスク装置からなる比較的大容量の主記憶装置2が接続
されており、この主記憶装置2には、CPUIが処理す
るための各種データが記憶されている。
As shown in FIG. 3, a relatively large-capacity main storage device 2 consisting of a floppy disk device or a hard disk device as described above is connected to a CPU that performs various information processing. stores various data for processing by the CPUI.

又、CPUIには、アクセス時間を短縮するためのキャ
ッシュメモリ3が接続されている。このキャッシュメモ
リ3は、主記憶装置2に対して比較的小容量のメモリで
あり、いわゆるRAMと呼ばれる電気的な素子等で形成
されたメモリである。
Further, a cache memory 3 is connected to the CPUI in order to shorten access time. This cache memory 3 has a relatively small capacity compared to the main storage device 2, and is a memory formed of an electrical element called a so-called RAM.

このキャッシュメモリ3には、主記憶装置2に記憶され
たデータのうち、CPUIによって読みだされたデータ
が順次−時的に記憶されるようになっている。これは、
CPUIが情報処理を行なう上で、−度実行した処理や
一度参照したデータは、近い将来再び実行、参照する確
率が高いため、このデータをキャッシュメモリー3に一
時的に記憶させておくことによって、CPUIが再度同
じデータを呼び出す際に、このキャッシュメモリ3にて
データの検索を行なえば、短いアクセス時間でそのデー
タを呼び出すことができるためである。
The cache memory 3 is configured to sequentially and temporally store data read out by the CPUI among the data stored in the main storage device 2. this is,
When the CPU performs information processing, there is a high probability that a process that has been executed several times or data that has been referenced once will be executed or referenced again in the near future, so by temporarily storing this data in the cache memory 3, This is because when the CPUI calls up the same data again, by searching for the data in this cache memory 3, the data can be called out in a short access time.

このようにキャッシュメモリ3を設けることによって、
CPUIは、第4図に示すフローチャートに示すように
、所定の情報処理を行なっている間に主記憶装置2に記
憶されているデータを呼び出す場合には、まず、キャッ
シュメモリ3でデータの検索を行ない、キャッシュメモ
リ3にデータかない場合にのみ、主記憶装置2でデータ
の検索を行なう。これにより前述したように、−度使用
したデータは、キャッシュメモリ3に記憶されているの
で、再びこのデータを呼び出す場合には、CPUIは、
短いアクセス時間でデータを呼び出すことができ、処理
速度を低下させないようになっている。
By providing the cache memory 3 in this way,
As shown in the flowchart shown in FIG. 4, when calling up data stored in the main storage device 2 while performing predetermined information processing, the CPU first searches for the data in the cache memory 3. The main storage device 2 is searched for data only when there is no data in the cache memory 3. As a result, as mentioned above, the data used once is stored in the cache memory 3, so when this data is called up again, the CPU
Data can be retrieved in a short access time without slowing down processing speed.

(発明が解決しようとする課題) しかしながら、このような従来の情報処理装置にあって
は、CPUが外部から入力したデータと、記憶手段に記
憶されたデータとを照合する従来−船釣に行なわれてい
るデータ照合処理を行なう場合、例えば、主記憶装置に
記憶されたデータに基づいて、サーボモータを駆動制御
し、このサーボモータの位置決めが正確に行なわれたか
否かを判断する場合等に、フィードバックされるサーボ
モータの位置データと、サーボモータを駆動するために
主記憶装置に記憶されたデータ(以下に記憶データとい
う。)とを照合する処理をCPUが行なう場合には、C
PUは、入力するデータ、つまり記憶データに照合させ
ようとするデータ(以下に照合データという。)に一致
する記憶データを検索する必要がある。この場合、CP
Uは、前述したようにキャッシュメモリ、主記憶装置の
順にデータの検索を行ない、できるだけ処理速度が低下
しないように動作するが、主記憶装置に照合データに一
致する記憶データが記憶されていない場合、つまり、サ
ーボモータが位置ずれして位置決めされた場合等にあっ
ては、CPUは、照合データに一致する記憶データがキ
ャッシュメモリにも主記憶装置にも記憶されていないた
めにキャッシュメモリ及び主記憶装置の全データに対し
てデータの検索を行なうことになり、アクセス時間が長
くなってしまう。そして、このような照合データが複数
CPUに入力された場合等には、毎回このようなデータ
の検索を行なうことになり、処理速度が著しく低下する
等の問題があった。
(Problem to be Solved by the Invention) However, in such a conventional information processing device, the CPU collates data input from the outside with data stored in the storage means, which is conventionally used for boat fishing. For example, when performing data verification processing based on the data stored in the main memory, when controlling the drive of a servo motor and determining whether or not the positioning of this servo motor has been performed accurately. , when the CPU performs the process of comparing the feedback position data of the servo motor with the data stored in the main memory (hereinafter referred to as stored data) for driving the servo motor, the CPU
The PU needs to search for stored data that matches input data, that is, data that is to be verified against stored data (hereinafter referred to as verification data). In this case, C.P.
As mentioned above, U searches for data in the order of the cache memory and the main storage, and operates in such a way that the processing speed does not decrease as much as possible. However, if the main storage does not store stored data that matches the verification data. In other words, in cases such as when the servo motor is positioned with a misalignment, the CPU will store the data in the cache memory and the main memory because the stored data that matches the verification data is not stored in the cache memory or the main memory. Data retrieval is performed for all data in the storage device, resulting in a long access time. When such verification data is input to a plurality of CPUs, such data must be searched each time, resulting in a problem such as a significant decrease in processing speed.

本発明は、このような従来の問題点を解決するために成
されたものであり、記憶手段に記憶されたデータとこの
データに照合するデータとを短時間で照合することがで
きるデータ照合装置を提供することを目的する。
The present invention has been made to solve these conventional problems, and provides a data matching device that can match data stored in a storage means with data to be matched against this data in a short time. The purpose is to provide

(課題を解決するための手段) 前記目的を達成するために本発明は、所定の情報処理が
行なわれる隙に使用されるデータを予め記憶する主記憶
手段と、当該主記憶手段に記憶されたデータに照合させ
る照合データを出力するデータ出力手段と、前記主記憶
手段の記憶容量よりも小さい記憶容量であり、前記主記
憶手段に記憶されたデータのうち前記情報処理に使用さ
れたデータを一時的に記憶する第1記憶手段と、前記主
記憶手段の記憶容量よりも小さい記憶容量であり、前記
データ出力手段から出力される照合データのうち、前記
主記憶手段に記憶されているデータに一致しない照合デ
ータを一時的に記憶する第2記憶手段と、前記照合デー
タを入力した際に、該照合データに一致するデータが前
記第1記憶手段及び前記第2記憶手段に記憶されていな
かった場合にのみ、該データを前記主記憶手段にて検索
するデータ制御手段とを備えたことを特徴とする。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides main storage means for storing in advance data to be used during predetermined information processing, and data stored in the main storage means. a data output means for outputting collation data to be collated with the data; and a storage capacity smaller than the storage capacity of the main storage means, which temporarily stores data used for the information processing among the data stored in the main storage means. and a first storage means for storing data, the storage capacity of which is smaller than the storage capacity of the main storage means, and of the collated data output from the data output means, which matches the data stored in the main storage means. a second storage means for temporarily storing collation data that does not match; and a case where, when the collation data is input, data matching the collation data is not stored in the first storage means and the second storage means; and data control means for searching the data in the main storage means.

(作用) 上記のように構成された本発明は、以下のように作用す
る。
(Function) The present invention configured as described above functions as follows.

データ制御手段は、データ出力手段から出力される照合
データを入力すると、まず、この照合データに一致する
データの検索を第1記憶手段について行なう。
When the data control means receives the collation data outputted from the data output means, it first searches the first storage means for data matching the collation data.

そして、データ制御手段は、この第1記憶手段を検索し
た結果、照合データに一致するデータが記憶されていた
場合には、このデータを読み込み所定の処理を行なう。
Then, as a result of searching the first storage means, if data matching the verification data is stored, the data control means reads this data and performs a predetermined process.

又、記憶されていなかった場合には、第2記憶手段につ
いて同様にデータの検索を行なう。
If the data is not stored, the second storage means is similarly searched for data.

データ制御手段は、この第2記憶手段を検索した結果、
この第2記憶手段に照合データに一致するデータが記憶
されていた場合には、主記憶手段には、照合データに一
致するデータが記憶されていないと判断し、この判断に
応じた所定の処理を行なう。又、第2記憶手段に該当す
るデータが記憶されていなかった場合には、主記憶手段
に記憶されている可能性があると判断し、主記憶手段に
ついて同様にデータの検索を行なう。
As a result of searching this second storage means, the data control means obtains
If the second storage means stores data that matches the verification data, it is determined that the main storage means does not store data that matches the verification data, and predetermined processing is performed in accordance with this determination. Do this. If the corresponding data is not stored in the second storage means, it is determined that there is a possibility that the data is stored in the main storage means, and the main storage means is similarly searched for data.

したがって、データ制御手段は、まず、主記憶手段の記
憶容量よりも小さい記憶容量の前記第1記憶手段及び前
記第2記憶手段についてデータの検索を行ない、これら
の記憶手段に入力した照合データと一致するデータが記
憶されていなかった場合にのみ、そのデータを前記主記
憶手段にて検索するので、主記憶装置に記憶されていな
いデータに一致する照合データを繰り返し入力した場合
には、記憶容量が主記憶手段よりも小さい第2記憶手段
にてデータの検索を行なうことによって、主記憶手段に
は照合データに一致するデータがないことを迅速に認識
することができる。これによりデータを検索する時間を
短くすることができるので、データの照合にかかる時間
を短かくすることができるようになる。
Therefore, the data control means first searches for data in the first storage means and the second storage means whose storage capacity is smaller than the storage capacity of the main storage means, and searches for data that matches the verification data input into these storage means. Only when the data to be stored is not stored, that data is retrieved in the main storage means, so if verification data that matches data not stored in the main storage device is repeatedly input, the storage capacity will be reduced. By searching for data in the second storage means, which is smaller than the main storage means, it is possible to quickly recognize that the main storage means does not have data that matches the verification data. This makes it possible to shorten the time it takes to search for data, thereby reducing the time it takes to collate data.

(実施例) 以下に、本発明に係るデータ照合装置を図面に基づいて
詳細に説明する。
(Example) Below, a data matching device according to the present invention will be explained in detail based on the drawings.

第1図は、本発明に係るデータ照合装置の概略構成図で
あり、第2図は、そのデータ照合装置の動作を示すメイ
ンフローチャートである。
FIG. 1 is a schematic configuration diagram of a data matching device according to the present invention, and FIG. 2 is a main flowchart showing the operation of the data matching device.

第1図に示すように、本発明に係るデータ照合装置は、
従来の技術で説明した情報処理装置に、主記憶装置2に
記憶されたデータに照合させる照合データを出力するデ
ータ出力手段4と、従来と同様のキャッシュメモリが2
つ夫々CPUIに接続されている。尚、従来の技術で説
明した部材と同一部材には同一符号が付してあり、ここ
ではそ0 の説明を省略する。
As shown in FIG. 1, the data matching device according to the present invention includes:
The information processing device described in the conventional technology includes a data output means 4 for outputting verification data to be verified against data stored in the main storage device 2, and a cache memory 2 similar to the conventional technology.
Each is connected to the CPUI. Incidentally, the same members as those described in the prior art are designated by the same reference numerals, and the explanation thereof will be omitted here.

CPUIには、主記憶装置2に記憶されたデータと照合
させる照合データをCPUIに出力するデータ出力手段
4が接続されている。
Connected to the CPUI is a data output means 4 that outputs verification data to be verified against data stored in the main storage device 2 to the CPUI.

このデータ出力手段4は、主記憶装置2に記憶されたデ
ータに対応する照合データ、具体的には、前述したよう
なサーボモータを制御する原にフィードバックされる位
置決めデータ等の照合データをCPUIに出力するよう
になっている。
This data output means 4 outputs verification data corresponding to the data stored in the main storage device 2, specifically, verification data such as positioning data that is fed back to the source that controls the servo motor as described above, to the CPUI. It is designed to be output.

又、CPUIには、2つのキャッシュメモリが接続され
ており、一方の第1キヤツシユメモリ3は、従来のキャ
ッシュメモリと同様に、主記憶装置2に記憶されたデー
タのうち、CPUIによって読みだされたデータが順次
−時的に記憶するようになっている。そして、前述した
ようにCPU1は、再度同じデータを呼び出す際に、こ
のキャッシュメモリ3にてデータの検索を行なえば、短
いアクセス時間でそのデータを呼び出すことができるよ
うになっている。
Also, two cache memories are connected to the CPUI, and one of the first cache memories 3 is used to store data stored in the main storage device 2 that is read by the CPUI, similar to conventional cache memories. The stored data is stored sequentially and temporally. Then, as described above, when the CPU 1 retrieves the same data again, by searching for the data in the cache memory 3, the CPU 1 can retrieve the data in a short access time.

さらに、他方の第2キヤツシユメモリ5は、第1 1キヤツシユメモリ3と同一のものであるが、データ出
力手段4から出力される照合データのうち、主記憶装置
2に記憶されているデータに一致しない照合データを記
憶するようになっている。
Further, the other second cache memory 5, which is the same as the first cache memory 3, stores the data stored in the main storage device 2 among the verification data output from the data output means 4. Verification data that does not match is stored.

ここで、これらのキャッシュメモリに記憶されているデ
ータを具体的に説明する。
Here, the data stored in these cache memories will be specifically explained.

同図に図示するように、例えば、主記憶装置2には、A
〜■のデータが夫々記憶されているとし、CPUIが過
去に呼び出したデータがB、  C,Dである場合には
、第1キヤツシユメモリ3には、B、C,Dが記憶され
るようになっている。これに対して、データ出力手段4
から出力された照合データが主記憶装置2に記憶されて
いないPやQであった場合には、このP、Qは、第2キ
ヤツシユメモリ5に記憶されるようになっている。
As shown in the figure, for example, the main storage device 2 includes A
Assuming that the data of ~■ are stored respectively, and if the data called by the CPU in the past are B, C, and D, then B, C, and D are stored in the first cache memory 3. It has become. On the other hand, data output means 4
If the verification data output from the main memory 2 is P or Q that is not stored in the main storage device 2, the P or Q is stored in the second cache memory 5.

そして、CPUIは、データ出力手段4から再び照合デ
ータPが出力された場合には、まず、第1キヤツシユメ
モリ3にてデータの検索を行なう。
Then, when the verification data P is output again from the data output means 4, the CPUI first searches the first cache memory 3 for the data.

ところが、第1キヤツシユメモリ3には、データPが記
憶されていないので、CPUIは第2キャ2 ッシュメモリ5にてデータPの検索を行なう。この第2
キヤツシユメモリ5には、データPが記憶されているの
で、CPUIは、データPが主記憶装置2に記憶されて
いないことを認識することができる。
However, since the data P is not stored in the first cache memory 3, the CPUI searches for the data P in the second cache memory 5. This second
Since the data P is stored in the cache memory 5, the CPUI can recognize that the data P is not stored in the main storage device 2.

このとき、これらのキャッシュメモリ3,5は、主記憶
装置2よりも記憶容量が小さいので、CPU1がこれら
のメモリにてデータを検索する時間は短時間となる。そ
して、CPUIは、このように第1キヤツシユメモリ3
又は第2キヤツシユメモリ5に記憶されているデータを
データ出力手段4から入力した場合、つまり一度CPU
Iが読み出したか、主記憶装置2に記憶されていないと
判断した照合データが入力した場合には、この照合デー
タが主記憶装置2に記憶されているか否かを短時間で判
断することができる。
At this time, since these cache memories 3 and 5 have a smaller storage capacity than the main storage device 2, the time for the CPU 1 to search for data in these memories is short. The CPU then accesses the first cache memory 3 in this way.
Or, if the data stored in the second cache memory 5 is input from the data output means 4, that is, once the CPU
If verification data that has been read by I or is determined not to be stored in the main storage device 2 is input, it can be determined in a short time whether or not this verification data is stored in the main storage device 2. .

このように構成された本発明のデータ照合装置は、第2
図に示すフローチャートに基づいてデータの照合を行な
う。
The data collation device of the present invention configured in this way has a second
Data verification is performed based on the flowchart shown in the figure.

CPUIは、データ出力手段4が出力する照合3 データを入力すると、まず、第1キヤツシユメモリ3に
てこの照合データに一致するデータを検索する。CPU
Iは、第1キヤツシユメモリ3に該当するデータが記憶
されていた場合には、ステップ14に進み、この結果に
基づいて所定の処理を行なう(ステップ10)。
When the CPUI inputs the verification 3 data output by the data output means 4, it first searches the first cache memory 3 for data that matches this verification data. CPU
If the corresponding data is stored in the first cache memory 3, I proceeds to step 14 and performs a predetermined process based on this result (step 10).

そして、第1キヤツシユメモリ3に該当するデータが記
憶されていなかった場合には、つまり入力した照合デー
タが最近CPUIが主記憶装置2から読み出したデータ
でなかった場合には、TS2キャッシュメモリ5にて同
様に検索を行なう。−方、CPUIは、照合データに該
当するデータが第2キヤツシユメモリ5に記憶されてい
た場合には、ステップ16に進み、主記憶装置2には照
合データに該当すデータがないと判断し、この判断に基
づいた処理を行なう(ステップ11)。
If the corresponding data is not stored in the first cache memory 3, that is, if the input collation data is not data recently read out from the main storage device 2 by the CPUI, the TS2 cache memory 5 Search in the same way. - On the other hand, if the data corresponding to the verification data is stored in the second cache memory 5, the CPU proceeds to step 16 and determines that there is no data corresponding to the verification data in the main storage device 2. , performs processing based on this judgment (step 11).

さらに、第2キヤツシユメモリ5にも該当するデータが
記憶されていなかった場合には、CPU1は、主記憶装
置2に記憶されている可能性があると判断して、主記憶
装置2にて同様に検索を行4 なう(ステップ12)。
Furthermore, if the corresponding data is not stored in the second cache memory 5, the CPU 1 determines that there is a possibility that the data is stored in the main storage device 2, and stores the data in the main storage device 2. Search in the same way (step 12).

そして、該当するデータがこの主記憶装置2に記憶され
ていた場合には、CPUIは、従来と同様にこのデータ
を第1キヤツシユメモリ3に記憶させ(ステップ13)
、同時にこのデータを読み込み、この結果に基づいて所
定の処理を行なう(ステップ14)。
If the corresponding data is stored in this main storage device 2, the CPUI stores this data in the first cache memory 3 as in the conventional case (step 13).
, simultaneously read this data and perform predetermined processing based on this result (step 14).

又、ステップ12において、該当するデータが主記憶装
置2に記憶されていなかった場合には、CPUIは、入
力した照合データを第2キヤツシユメモリ5に記憶させ
る(ステップ15)。
If the corresponding data is not stored in the main storage device 2 in step 12, the CPUI stores the input verification data in the second cache memory 5 (step 15).

そして、CPUIは、主記憶装置2には入力した照合デ
ータに該当すデータがないと判断し、この判断に基づい
た処理を行なう(ステップ16)。
The CPU then determines that there is no data corresponding to the input verification data in the main storage device 2, and performs processing based on this determination (step 16).

このように、CPUIは、まず、第1及び第2キャッシ
ュメモリ3.5についてデータの検索を行ない、入力し
た照合データと一致するデータがこれらのキャッシュメ
モリ3,5に記憶されていなかった場合にのみ、その照
合データを主記憶装置2にて検索するので、最近CPU
Iが呼び出し5 たデータに一致する照合データや、主記憶装置2に記憶
されていないデータに一致する照合データを繰り返し入
力した場合には、夫々のキャッシュメモリ3.5にてデ
ータの検索を行なうことによって、主記憶装置2には照
合データに一致するデータがあるか否かを迅速に認識す
ることができる。
In this way, the CPU first searches for data in the first and second cache memories 3.5, and if data matching the input verification data is not stored in these cache memories 3 and 5, Since the verification data is searched in the main memory 2 only when the CPU
When verification data that matches the data retrieved by I 5 or verification data that matches data that is not stored in the main memory 2 is repeatedly input, the data is searched in each cache memory 3.5. By doing so, it can be quickly recognized whether or not there is data matching the verification data in the main storage device 2.

これによりデータを検索する時間を短くすることができ
るので、データの照合時間を短かくすることができるよ
うになる。
This makes it possible to shorten the time required to search for data, thereby making it possible to shorten the time required to collate data.

(発明の効果) 以上の説明により明らかように、本発明にあっては以下
のような効果を奏す。
(Effects of the Invention) As is clear from the above description, the present invention has the following effects.

データ制御手段がデータ出力手段から出力される照合デ
ータを入力すると、この照合データに一致するデータの
検索を、主記憶手段の記憶容量よりも小さい記憶容量の
第1記憶手段及び第2記憶手段について優先的にを行な
い、照合データに一致するデータがこれらの記憶手段に
記憶されていなかった場合にのみ、主記憶手段にてデー
タの検索を行なうので、主記憶手段に記憶されていない
6 データに一致する照合データを繰り返し入力した場合に
は、記憶容量が主記憶手段よりも小さい第2記憶手段に
てデータの検索が行なわれ、データ制御手段は、主記憶
手段には照合データに一致するデータがないことを迅速
に認識することができる。これによりデータを検索する
時間が短いので、データの照合時間が短かくなる。
When the data control means inputs the collation data output from the data output means, it searches for data matching this collation data in the first storage means and second storage means whose storage capacity is smaller than the storage capacity of the main storage means. The main memory is searched for data only when the data that matches the collation data is not stored in these storage means. When matching verification data is repeatedly input, the data is searched in the second storage means whose storage capacity is smaller than the main storage means, and the data control means inputs the data matching the verification data into the main storage means. You can quickly recognize that there is no such thing. This reduces the time required to search for data, thereby reducing the time required to collate data.

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

第1図は本発明に係るデータ照合装置の概略構成図、第
2図はそのデータ照合装置の動作を示すメインフローチ
ャート、第3図及び第4図は従来の情報処理装置の説明
図である。 1・・・CPU (データ制御手段)、2・・・主記憶
装置(主記憶手段)、3・・・第1キヤツシユメモリ(
第1記憶手段)、4・・・データ出力手段、5・・・第
2キヤツシユメモリ(第2記憶手段)。
FIG. 1 is a schematic configuration diagram of a data matching device according to the present invention, FIG. 2 is a main flowchart showing the operation of the data matching device, and FIGS. 3 and 4 are explanatory diagrams of a conventional information processing device. 1... CPU (data control means), 2... Main storage device (main storage means), 3... First cache memory (
4... data output means, 5... second cache memory (second storage means).

Claims (1)

【特許請求の範囲】[Claims] 所定の情報処理が行なわれる際に使用されるデータを予
め記憶する主記憶手段と、当該主記憶手段に記憶された
データに照合させる照合データを出力するデータ出力手
段と、前記主記憶手段の記憶容量よりも小さい記憶容量
であり、前記主記憶手段に記憶されたデータのうち前記
情報処理に使用されたデータを一時的に記憶する第1記
憶手段と、前記主記憶手段の記憶容量よりも小さい記憶
容量であり、前記データ出力手段から出力される照合デ
ータのうち、前記主記憶手段に記憶されているデータに
一致しない照合データを一時的に記憶する第2記憶手段
と、前記照合データを入力した際に、該照合データに一
致するデータが前記第1記憶手段及び前記第2記憶手段
に記憶されていなかった場合にのみ、該データを前記主
記憶手段にて検索するデータ制御手段とを備え、データ
の照合時間を短かくすることを特徴とするデータ照合装
置。
A main memory means for storing in advance data used when predetermined information processing is performed, a data output means for outputting collation data to be compared with the data stored in the main memory means, and a memory of the main memory means. A first storage means for temporarily storing data used for the information processing among data stored in the main storage means, and a storage capacity smaller than the storage capacity of the main storage means. a second storage means having a storage capacity and temporarily storing collation data that does not match the data stored in the main storage means among the collation data output from the data output means; and a second storage means for inputting the collation data. and data control means for retrieving the data in the main storage means only when data matching the collation data is not stored in the first storage means and the second storage means. , a data matching device characterized by shortening data matching time.
JP33520189A 1989-12-26 1989-12-26 Data collating device Pending JPH03196330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33520189A JPH03196330A (en) 1989-12-26 1989-12-26 Data collating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33520189A JPH03196330A (en) 1989-12-26 1989-12-26 Data collating device

Publications (1)

Publication Number Publication Date
JPH03196330A true JPH03196330A (en) 1991-08-27

Family

ID=18285893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33520189A Pending JPH03196330A (en) 1989-12-26 1989-12-26 Data collating device

Country Status (1)

Country Link
JP (1) JPH03196330A (en)

Similar Documents

Publication Publication Date Title
US5220667A (en) Computer system
JP3183993B2 (en) Disk control system
US5239644A (en) Data preloading method and system for using a buffer
JPS5843777B2 (en) Rotating magnetic storage device
JPH065518B2 (en) Data processing subsystem control method
JPH03196330A (en) Data collating device
JPH01500935A (en) Method and apparatus for executing two instruction sequences according to predetermined rankings
JPH06195265A (en) How to operate the cache memory
JPH0410292A (en) Hard disk device
JPH0239225A (en) Filing system
JP2003203486A (en) Semiconductor memory device and control method thereof
JPS5856145A (en) Data retrieval system
JPH036646A (en) Data processor
JPH01223529A (en) Semiconductor disk device
JPS62150429A (en) Storage device
JPS6286425A (en) Magnetic disc control device
JPS6167159A (en) information processing equipment
JPH0736631A (en) Storage device
JPH03196260A (en) Full sentence retrieving device
JPH05119923A (en) Disk controller
JPH04171578A (en) Information processor
JPH096676A (en) Control method for magnetic disk cache
JPS62184561A (en) Input/output buffer controller
JPH09259064A (en) Device access method for information processing device
JPS5841526B2 (en) Channel command word preemption buffer control method