JPS59133659A - Address storage control system - Google Patents

Address storage control system

Info

Publication number
JPS59133659A
JPS59133659A JP58006556A JP655683A JPS59133659A JP S59133659 A JPS59133659 A JP S59133659A JP 58006556 A JP58006556 A JP 58006556A JP 655683 A JP655683 A JP 655683A JP S59133659 A JPS59133659 A JP S59133659A
Authority
JP
Japan
Prior art keywords
data
memory
address
information
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.)
Granted
Application number
JP58006556A
Other languages
Japanese (ja)
Other versions
JPH0365571B2 (en
Inventor
Kenzo Ina
伊奈 謙三
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58006556A priority Critical patent/JPS59133659A/en
Publication of JPS59133659A publication Critical patent/JPS59133659A/en
Priority to US07/186,731 priority patent/US4937779A/en
Publication of JPH0365571B2 publication Critical patent/JPH0365571B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To process plural information in a high speed within a single processing time, by holding in an address storage part, the address of pertinent data of retrieval data to be retrieved, which is extracted from an external storage device, synchronously with the read speed of a storage memory concerning retrieval information. CONSTITUTION:Information indicating a retrieving method of retrieval information is stored temporarily in a memory 6, and an initial value of retrieval information is stored in a memory 7. Data to be retrieved which are extracted from an extenal storage device 1 in accordance with contents of memories 6 and 7 are stored temporarily in memories 8 and 9. Data read out from the device 1 through an interface A2 and data read out from the memory 7 are compared with each other by a comparator 10, and read data from the device 1 is compared with data read out from memories 8 and 9 by comparators 11 and 12. In this case, a retrieval logic circuit control part 14 performs the logical control of each comparator output and holds the address of data to be retrieved in an address storage part 16 synchronously with the read speed of memories 8 and 9.

Description

【発明の詳細な説明】 技術分野 本発明は情報検索装置における被検索データの該当レコ
ードアドレス格納制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a control method for storing corresponding record addresses of searched data in an information retrieval device.

従来技術 従来ハードウェアを用いて情報検索を行う場合、検索テ
ークと一致のとれた被検索データのアドレスを格納する
方法として、アドレス格納専用メモリを用意し、該当の
とれたレコードアドレスを格納すると共に処理を一時的
に終了するか、もしくは順次新規該当レコードアドレス
を更新する方法がある。但し従来の検索手法では単一処
理内に抽出可能なレコード数は1件であり、複数件数を
リアルタイムに抽出する事は困難であり、可能ならしめ
るには大きなハードウェアを必要とした。
Prior Art When performing information retrieval using conventional hardware, one method of storing the address of the searched data that matches the search take is to prepare a dedicated address storage memory, store the corresponding record address, and There are two methods: to temporarily end the process, or to sequentially update new corresponding record addresses. However, with conventional search methods, the number of records that can be extracted in a single process is one, and it is difficult to extract multiple records in real time, and large hardware is required to make it possible.

磁気ディスク等の外部記憶装置を(Ifiiえた情報検
索装置では所望の情報を抽出する場合、外δ[i記憶装
置内の多量な情報を一担中央処理装置買内の主メモリに
格納し、メモリ内で検索する方法がとられていた。又磁
気ディスクからの読み出し情報をリアルタイムに処理し
、所望の情報を抽出するには、1回のアクセスに対し1
件の情報しか得られず、多量の件数を必要とするアプリ
ケーションにおいては、その件数分だけ前記外部記憶装
置へのアクセスを必要とし、多く 117間を要する欠
点があった。
When extracting desired information from an external storage device such as a magnetic disk, an information retrieval device stores a large amount of information in the storage device in the main memory of the central processing unit, and In addition, in order to process the information read from the magnetic disk in real time and extract the desired information, it is necessary to search once per access.
In an application in which only one item of information can be obtained and a large number of items are required, access to the external storage device is required for the number of items, which has the drawback of requiring a large amount of time.

目的 本発明は」−述した従来の欠点を改良すると共に、単一
処理時間内に複数性の情報の抽出を可能とし、検索の結
果の該当レコードアドレスの格納方式を柔軟なかつ安価
で高速処理可能とする構成のアドレス格納制御方式を提
供することを目的とする。
Purpose: The present invention improves the above-mentioned conventional drawbacks, makes it possible to extract plurality of information within a single processing time, and enables flexible, inexpensive, and high-speed processing of storage methods for corresponding record addresses in search results. The purpose of this invention is to provide an address storage control system with the following configuration.

実施例 以下に本発明の一実施例を図面を参照して説明する。Example An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明を実現した情報検索装置のブロックダイ
ヤグラムである。
FIG. 1 is a block diagram of an information retrieval device implementing the present invention.

1は本情報検索装置の制御下にある外部記憶装置。2は
前述した外部記憶装置1のデータ及びクロックを制御及
び送受信用のインクフェイスA。
1 is an external storage device under the control of this information retrieval device. 2 is an ink face A for controlling, transmitting and receiving the data and clock of the external storage device 1 mentioned above;

3は前述した外部記憶袋@1のアドレス及び外部記憶装
置1からのリターン情報を送受信するインクフェイスB
、4は前述の1.2.3及び本発明の情報検索装置全体
の制御を司る制御部MCT。
3 is an ink face B that sends and receives the address of the external storage bag @1 mentioned above and return information from the external storage device 1;
, 4 is a control unit MCT that controls the above-mentioned 1.2.3 and the entire information search device of the present invention.

5は後述する内部パスラインを切変え、前記制御部MC
T4の指示でデータの方向をも制御するスリーステート
ゲート。6は検索情報の検索手法を指示する情報を一時
記憶するメモリJM。7は検索情報の初期値を格納する
メモリQ1である。メモリQ2 (8)、メモリQ3 
 (9)はメモリJM6、メモリQl (7)の内容に
従って、外部記憶装置1より抽出された被検索データが
一時格納、もしくは一時格納された被検索データが第2
、第3の抽出データを検索する為の検索データ格納メモ
リとなるバッファメモリ兼用検索レジスタである。10
は外部記憶装置1からインクフェイスA2を介して読み
出されるデータと、メモリQ1(7)から読み出される
データとを比較する比較器CMI。11及び12は上述
のCMl(10)同様読み第しデータとメモリQ2 (
8)又はメモリQ3 (9)より読み出されるデータと
を比較する比較器CM2又は0M3゜13はメモリJM
、6、メモリQl (7)、メモリQ2 (8)、メモ
リQ3 (9)のアドレス及び被検索データの長さを制
御するレングスカウンタ(L −C)。14はCMI 
 (10)、CM2 (11)’、CM3 (12)の
各比較器出力の論理制御を司りLC13の動作を制御し
、後述する該当レコードアドレス藷納メモリADM16
及び該当レコードステータス格納メモリSTM17に所
定の制御情報を送出する検索論理回路制御部I RCT
。15はMCT4の出力情報に従い、被検索データの区
切りをカウントシ、各データの一連のまとまり(レコー
ド)ブθに該アドレスとして保持し、IRCT14の指
示によりADMI 6へ送出するレコードアドレスカウ
ンタRADC016は前述した如く、RADC16の内
容を、IRCT14の指示により一時的にレコードアド
レスを格納するメモリADM017は被検索データの状
態(i11f’当の有無や、以前に同一データが存在し
た事を表わす複数該当のイ1無情報!:4)を格納する
メモリSTM、18は本発明の情報検索装置と」二位装
置等を接続する為のバスインクフェイスBIF。19は
前述した外部記憶装置lからの生情報が行きかう高速パ
スラインMBUS、2]まM’LT4の制御下で各メモ
リの状態及びカウンタ値やBIF18への情報が行きか
う5BUS。21は本情報検索装置と」−位装置間の通
信手段LBUSで、BIF18により任意な通信手段を
構築することが出来る。
5 switches the internal pass line, which will be described later, and controls the control unit MC.
A three-state gate that also controls the direction of data according to instructions from T4. Reference numeral 6 denotes a memory JM that temporarily stores information instructing a search method for search information. 7 is a memory Q1 that stores initial values of search information. Memory Q2 (8), Memory Q3
In (9), the searched data extracted from the external storage device 1 is temporarily stored, or the temporarily stored searched data is stored in the second memory according to the contents of the memory JM6 and memory Ql (7).
, a search register that also serves as a buffer memory and serves as a search data storage memory for searching the third extracted data. 10
A comparator CMI compares data read from the external storage device 1 via the ink face A2 with data read from the memory Q1 (7). 11 and 12 are reading data and memory Q2 (
8) or memory Q3 (9) Comparator CM2 or 0M3゜13 is memory JM
, 6. A length counter (L-C) that controls the addresses of the memory Ql (7), the memory Q2 (8), and the memory Q3 (9) and the length of the searched data. 14 is CMI
(10), CM2 (11)', CM3 (12), controls the logic of each comparator output, controls the operation of LC13, and controls the corresponding record address memory ADM16, which will be described later.
and a search logic circuit control unit IRCT that sends predetermined control information to the corresponding record status storage memory STM17.
. 15 is a record address counter RADC016 which counts the delimiter of the searched data according to the output information of the MCT4, holds it as the corresponding address in a series of records (records) of each data block θ, and sends it to the ADMI 6 according to the instruction of the IRCT14. As shown in FIG. 18 is a bus ink face BIF for connecting the information retrieval device of the present invention and a secondary device, etc.; 19 is a high-speed path line MBUS through which raw information from the external storage device 1 described above is exchanged, and 5BUS through which the status of each memory, counter value, and information to BIF 18 are exchanged under the control of M'LT4. Reference numeral 21 is a communication means LBUS between this information retrieval device and the other device, and an arbitrary communication means can be constructed using the BIF 18.

次に本発明の好適な実施例である情報検索装置の動作原
理を図面を参照して詳述する。
Next, the principle of operation of an information retrieval device according to a preferred embodiment of the present invention will be explained in detail with reference to the drawings.

第2図は本発明の動作フローチャートである。FIG. 2 is an operational flowchart of the present invention.

第1図のLBUS 21を介し所定フォーマットで本情
報処理装置へインストラクション及び検索す、べき被検
索データの格納されている外部記憶装置lのアドレス又
は各ファイル単位のファイル名等が上位装置より送出さ
れ、送出された情報は制御部(MCT)4にて解読され
、各検索レジスタ及びインクフェイスB3を介して外部
記憶装置1への制御等が実行され検索処理が開始となる
。検索レジスタJ ’M 、 Q 1に所定の初期値が
設定されると(ステップ100.l’o1)、外部記憶
装置1はデータの読み出しサイクルに入る(ステップ1
02)。そして外部記憶装置1が検索をすトきアドレス
に到達する才で待ち時間となり、検索指示アドレスに到
達すると(ステップ103−Y)、MCT4J:1JL
c13及びRADc15に検索開始指令が送出され(ス
テップl’04)、外部記憶装置1の読み出し速度に同
期して、JM6の内容に従い、Ql (7)とインタフ
ェイスA2を介し、MBUS19上に出力されている外
部記憶装置1の読み出しデータとの比較が実行される(
ステップ105)。この比較は1クロツクサイクルの前
後半を利用して、被検索データに対し上限値(又は下限
値)、下限値(又は上限値)の初期値である2値情報を
比較し、被検索データが初期設定した値の中に含まれる
か否かを判別する。次に“Qlにて該当あり″と判断さ
れると、該データが第一・優先順位のデータか否か選択
される(ステップ106)。第−優先順位でない場合は
次に第二優先順位のデータか否か選択される(ステップ
107)。
Instructions are sent to this information processing device in a predetermined format via the LBUS 21 in FIG. 1, and the address of the external storage device l storing the data to be searched or the file name of each file is sent from the host device. The sent information is decoded by the control unit (MCT) 4, and control, etc. to the external storage device 1 is executed via each search register and the ink face B3, and the search process is started. When predetermined initial values are set in the search registers J'M and Q1 (step 100.l'o1), the external storage device 1 enters a data read cycle (step 1).
02). When the external storage device 1 reaches the search address, a waiting time begins, and when the search instruction address is reached (step 103-Y), MCT4J:1JL
A search start command is sent to c13 and RADc15 (step l'04), and in synchronization with the read speed of external storage device 1, it is output on MBUS19 via Ql (7) and interface A2 according to the contents of JM6. A comparison with the read data of the external storage device 1 is performed (
Step 105). This comparison uses the first and second half of one clock cycle to compare the upper limit value (or lower limit value) and the initial value of the lower limit value (or upper limit value), which is binary information, to the searched data. is included in the initialized values. Next, when it is determined that "Ql matches", it is selected whether the data is the first priority data (step 106). If the data is not in the first priority, it is then selected whether the data is in the second priority (step 107).

第−優先順位として選択さ、れる条件は(1)検索指示
された範囲内で最初に該当があった場合。
The conditions to be selected as the first priority are (1) when a match is first found within the range specified for search;

(2)Q2 、Q3に格納されている該当データより、
より極限値に近い場合。
(2) From the corresponding data stored in Q2 and Q3,
If it is closer to the limit value.

第二優先順位として選択される条件は、(1)検索指示
された範囲内で、2回目に該当があった場合でかつ1回
目の該当データより極限値から遠いか、もしくは1回目
の該当データと等しい場合。
The conditions to be selected as the second priority are: (1) within the specified search range, the second time the match is found and the corresponding data is further from the extreme value than the first time, or the first time matching data If equal to .

(2)Q2’、’Q3に格納されている第一優先、第二
優先順位のデータに対し、既築−優先順位データより極
限値から遠く既第二優先順位デ・−夕より極限値に近い
場合(この場合類データは既第二優先順位データにかわ
り、第二優先順位データとなる)。
(2) For the first priority and second priority data stored in Q2' and 'Q3, the existing priority data is further from the extreme value than the existing second priority data. If it is close (in this case, the class data will replace the existing second priority data and become second priority data).

もし第一優先順位のデータと判断されると(ステップ1
06−y、) 、 Q2 (8)及び。3(9)に格納
されているデータが同一内容であるか否かのフラッグ、
FSDBを判断しくステップ1゜8)、もしFSDB笑
1ならは(同一内容でなけれは)検索開始から最初の該
当データか、もしくはQ2 (8)及びQ3 (9)に
格納されているデータより優先度の高いデータが被検索
データとして入力されたことになる。このため、過去に
第一優先順位データと同一データの被検索データがあっ
たことを示すFDBLフラッグがセットされているかを
判断しくステップ113)、もしセットされていれはそ
れをリセットする(ステップ114)。その後ワーク領
域に格納されている被検索データを第一優先順位のデー
タとするため被検索データの記録されていたレコードア
ドレスカウンタの値をメモリADMにセットする(ステ
ップ111)と共に、Q2 (8)  、 Q、3 (
9)内の被検索データに格納されているワーク領域を検
索データ領域とし、Q2 (8)、Q3 (9)内の極
限値より遠いデータを削除し、該データ格納場所が新規
ワーク領域となる(ステップ112)。
If it is determined that the data has the first priority (step 1
06-y, ), Q2 (8) and. 3 (9) A flag indicating whether or not the data stored in the data has the same content;
Determine the FSDB in step 1゜8). If the FSDB is 1, the first corresponding data from the start of the search (if they are not the same) or the data stored in Q2 (8) and Q3 (9) will be given priority. This means that data with a high degree of accuracy has been input as searched data. Therefore, it is determined whether the FDBL flag indicating that there was searched data that is the same as the first priority data in the past has been set (step 113), and if it has been set, it is reset (step 114). ). After that, in order to make the searched data stored in the work area the first priority data, the value of the record address counter where the searched data was recorded is set in the memory ADM (step 111), and at the same time, Q2 (8) , Q, 3 (
The work area stored in the searched data in 9) is set as the search data area, data further than the limit value in Q2 (8) and Q3 (9) is deleted, and the data storage location becomes the new work area. (Step 112).

又FSDB=1ならQ2 (8)、Q3 (9)に格納
されている既該当データは等しく被検索データすなわち
該第−優先データが既該当データより極限値に近い為、
既該当データのうち一方を削除しなければならないが、
過去に既該当データと等しいデータが存在したことを示
すためFDBLフラッグをセラI・しくステ1ツブ10
9)、その後層該当データが同一であることを宗すF 
、SD pフラッグをリセットする(ステップ110)
Also, if FSDB=1, the already applicable data stored in Q2 (8) and Q3 (9) are equally searched data, that is, the first priority data is closer to the limit value than the already applicable data.
One of the existing applicable data must be deleted,
Set the FDBL flag to indicate that data equal to the existing data existed in the past.
9), F that indicates that the data corresponding to the layer is the same after that
, reset the SD p flag (step 110).
.

そして前述したFSDB= 1の時と同様レコードアド
レスカウンタのイ直をメモリADMにセットし時間的に
後ろの、既該当データ(検索指示範囲内アドレスの後方
に近い既該当データをざず。)、が削除され(ステップ
111) 、前述したQ2もしくはQ3の削除されたデ
ータ領域が次レコードの為のワーク領域として確保され
る(ステップ112)。
Then, in the same way as when FSDB = 1 mentioned above, set the value of the record address counter in the memory ADM, and search for the corresponding data that is later in time (already applicable data that is near the end of the address within the search instruction range), is deleted (step 111), and the deleted data area of Q2 or Q3 mentioned above is secured as a work area for the next record (step 112).

次に第一優先順位でないと判断されると(ステップl”
O’6− N) 、前述した第二優先順位の条件を満足
しているか否かを判別しくステップ107)、第二優先
順位のデータと判断されると、該第二優先順位データが
既第〜イ■先順位データと等しいか判断しくステップ1
15)、等しけれ4よ′Q2 (8)、Q3 (9)レ
ジスタに格納されているデータが等しい事を意味し、次
に該当データが第一19先順位データとして上位に割込
んでき起ときに、前記FDBLをセットする為のフラッ
グ、FSDB (Q2 、Q3の既該当データが等しい
事を表わす。)をセットしくステップ116) :  
レコードアドレスカウンタの値をメモリADMにセ・ツ
トしくステップ114)、今まで第二優先順位のデータ
が格納されていた領域を新たにワーク領域とし、被検索
データの格納されていた領域を新たな第二優先順位のデ
ータの検索データとする(ステップ112)。
Next, if it is determined that it is not the first priority (step l”
O'6-N), it is determined whether the above-mentioned second priority condition is satisfied or not (step 107), and if it is determined that the second priority data is second priority data, the second priority data is ~I ■ Determine if it is equal to the priority data Step 1
15), Equal 4'Q2 (8), Q3 (9) It means that the data stored in the registers are equal, and then when the corresponding data interrupts the upper rank as the 19th priority data, , set the flag FSDB (indicating that the corresponding data of Q2 and Q3 are equal) for setting the FDBL (Step 116):
The value of the record address counter is set in the memory ADM (Step 114), the area where second priority data was stored is set as a new work area, and the area where searched data was stored is set as a new work area. The search data is set as the second priority data (step 112).

又第二優先順位データが第一+ff先順位データと異な
った場合 例えば不順ソート処理で、 第一優先順位データく第二優先順位データの時は、通常
の該当ありデータとして処理、され特別なフラッグのセ
ットやリセットを伴わない。、すなわちレコードアドレ
スをメモリADMにセットしくステップ111)、削除
されたデータ領域が新たなワーク領域として確保される
(ステップ112)。
Also, if the second priority data is different from the first + ff priority data, for example in an unordered sorting process, if the first priority data is the second priority data, it will be treated as normal applicable data and a special flag will be set. does not involve setting or resetting. That is, the record address is set in the memory ADM (step 111), and the deleted data area is secured as a new work area (step 112).

又ステップ107で第二優先順位でないと判断された場
合は、該データが第二優先順位データと茗しいか否かを
判断しくステップ117) もし塚しいならばQ2 (
8)、Q3 (9)に格納されている該当データと同じ
データが存在する事を示すFDBLフラッグをセットす
る(ステップ118)。その後「該当なし」として処理
される(ステップ119)。
If it is determined in step 107 that the data is not the second priority data, it is determined whether the data is similar to the second priority data (step 117). If it is different, Q2 (
8), sets the FDBL flag indicating that the same data as the corresponding data stored in Q3 (9) exists (step 118). Thereafter, it is processed as "not applicable" (step 119).

次に第3図を用いて実際のデータの格納状態及び比較状
態を時間の流れにそって説明する。・第3図は任1者、
な数値情報を50〜125まで手順ソートを実行した時
のデータの流れとQl(7)。
Next, using FIG. 3, the actual data storage state and comparison state will be explained along the flow of time.・Figure 3 is the first person in charge,
Data flow and Ql(7) when performing procedural sorting of numerical information from 50 to 125.

Q2 (8)、Q3 、(9)のデータの格納状態及び
レコードアドレスの格納状態を表わす。図において時間
はTO−Tl、T2.・・・Tnと流れ、被検索データ
はディスク装置等の外部記憶装置からのリー ド出力、
各データの区別としてレコードN゛0、RO、R1、・
=Rnがある。Ql (7)にはソートする場合の極限
値、下限と上限か格納され第1図比較器7により被検索
データが所望の値の中に含まれているかをチェックする
。すなわちフローチャートのステップ105であり、T
oでは50<123<125ゆえRO=123は「該当
あり町と判別され、Q2 (8)のワーク領域(W)に
格納される。T1ではQlで50<99く125であり
同様にR1=99は「該当あり」と判別されQ2 (8
)で99<1’23が成立するゆえ、R1=99が第一
優先順位データとなり、RO=123は第二優先順位デ
ータとなる。又各該当レコードアドレスは第3図のレコ
ード−7ドレスの格納状態に示さ・れており上が第一優
先、下が第二優先順位を表わす。T2ではQlで50<
’、105<125ゆえ「該当ありJであるが、Q2及
びQ3では、99<105<123が成立するゆえ、今
まJ2Pl二優先順位であ)たR O= 123が削除
される。レコードアドレスもR1とR2を格納する。T
3ではQlの条件は12回様であるがQ2.Q3では9
9=99<105となるR 2’ =105が削除され
、第一、第二優先順位データが等しい為FSDBがセッ
トされる。T4てはQlの条件では満足されるが、Q2
.Q3ての条件99=99<102となりR4のデータ
は優先順位が低いためr該当なし刃と判別される。T5
てはQlはI′該当ありJIQ?、Q3では91<99
=99が成立する為第一優先順位データとなりR3=9
9が削除される。R,3= 99とR1=99は等しい
為前述の如< FSDB= 1で第一イ盆先順位データ
が存在したゆえ、FDBLがセットされ、レジスフに格
納されたデータ以外に等しい・データの存在の有無を知
る事がてきる。T6てtヨQ1の条件は11I!i足す
るがQ2 、Q3て91<R6≦99はR6二100ゆ
え成立しない為、「該当なし」となる。T7ではQlの
条件は満足、Q2.Q3ではR7(85)<91<99
か成立するゆえ、第一優先順位データとなりR7=85
が第一で、R5= 91が第二優先順位となり、R1=
99が削除される。よってQ2 、Q34こは(99)
がなくなる為FDBLはリセットする。
Q2 represents the storage state of data (8), Q3, and (9) and the storage state of record addresses. In the figure, the times are TO-Tl, T2. ...Tn, and the searched data is read output from an external storage device such as a disk device,
To distinguish each data, record N゛0, RO, R1, ・
There is =Rn. Ql (7) stores the limit values, lower limit and upper limit for sorting, and the comparator 7 in FIG. 1 checks whether the data to be searched is included in the desired values. That is, step 105 of the flowchart, T
In o, 50<123<125, so RO=123 is determined to be a "matching town" and is stored in the work area (W) of Q2 (8).In T1, 50<99×125 in Ql, and similarly R1= 99 is determined to be “applicable” and Q2 (8
), 99<1'23 holds true, so R1=99 becomes first priority data and RO=123 becomes second priority data. Each corresponding record address is shown in the storage state of the record-7 address in FIG. 3, with the upper one representing the first priority and the lower one representing the second priority. At T2, Ql is 50<
', 105 < 125, so "J is applicable, but in Q2 and Q3, 99 < 105 < 123 holds, so R O = 123, which was previously in the J2Pl priority order), will be deleted. Record address also stores R1 and R2.T
3, the condition of Ql is like 12 times, but Q2. 9 in Q3
R 2' =105, where 9=99<105, is deleted, and since the first and second priority data are equal, FSDB is set. T4 is satisfied under the condition of Ql, but Q2
.. Since the condition of Q3 is 99=99<102, the data of R4 has a low priority, so it is determined that the blade is not applicable. T5
Ql is I' applicable JIQ? , 91<99 in Q3
=99 holds, so it becomes first priority data and R3=9
9 is deleted. Since R, 3 = 99 and R1 = 99 are equal, as mentioned above, FSDB = 1 and the first priority ranking data existed, so FDBL is set and the existence of equal data other than the data stored in the register is set. You will be able to know whether or not there is. The conditions for T6 and Q1 are 11I! Although i is added to Q2 and Q3, 91<R6≦99 does not hold because R62100, so it becomes "not applicable". At T7, the condition of Ql is satisfied, and Q2. In Q3, R7(85)<91<99
holds true, so it becomes the first priority data and R7=85
is the first priority, R5=91 is the second priority, R1=
99 is deleted. Therefore, Q2, Q34 Koha (99)
FDBL is reset because it is no longer available.

レコードアドレスは毎レコードメモリApMへ格納され
るが、「該当あり」と判断されると、レコードアドレス
の先頭に該当有無情報を付加してADMへ格納される。
The record address is stored in the record memory ApM for each record, but if it is determined that there is a match, the record address is stored in the ADM with matching information added to the beginning of the record address.

ADMはn段のスタック構造て、任意な時間(このレコ
ードの読み取りが終了するまでの任意な時間)にMCT
がADMのデータがチェックする事により前述した如く
1回のソート処理で複数性のレコード(被検索データ)
を抽出し、そのレコードのアドレスも知る事ができる。
The ADM has an n-stage stack structure and reads the MCT at any time (any time until the end of reading this record).
By checking the ADM data, multiple records (searched data) can be obtained in one sorting process as described above.
You can also extract the record and find out the address of that record.

物理的にQ2.Q3の大きさを外部記憶装置の大きさに
近づける事により、より多くのデータが1回で抽出可能
となる。すなわちディスク装置等にランダムに記憶(数
値的に大小関係を表わした場合の順不同を表わす。)さ
れた情報をディスクの1回サーチにより手順あるいは大
願にならびかえる事が可能となる。このレコードアドレ
スの構成を第4図に示す。また第5図に各レジスタと被
検索データとの関係を表わす。Il。
Physically Q2. By bringing the size of Q3 closer to the size of the external storage device, more data can be extracted at one time. In other words, it is possible to rearrange information stored randomly in a disk device or the like (representing random order when numerically representing a magnitude relationship) in accordance with a procedure or a grand request by searching the disk once. The structure of this record address is shown in FIG. Further, FIG. 5 shows the relationship between each register and the data to be searched. Il.

I2.・・・工5は各レコード(RN 、RN+ 1・
・・)内のアイテムを表わす。各アイテムは各々が検索
時のキ一対照となりうると共にII、I2.I3の如く
各アイテムの論理積検索及び11+12+工3の始論理
和検索が可能な一情報の単位であ・る。この様な検索は
Q2、Q3の大きさ番こより8与分割にて同一被検系デ
ータに対して複数個の比較検索データを対象として比較
することによって極めて容易な構成で高速な検索処理が
実現する。
I2. ...Eng.5 is each record (RN, RN+1,
...) represents the item. Each item can serve as a key reference during a search, and II, I2. It is a unit of information that allows a logical product search for each item and a starting logical OR search for 11+12+3 as shown in I3. Such a search can be performed with an extremely simple configuration and high-speed search processing by comparing multiple pieces of comparison search data for the same subject data by dividing it into 8 from the size numbers of Q2 and Q3. do.

効果 以上述べた様に本発明のアドレス格納制御方式を用いる
ことにより単一処理時間内に複数性の情報の検索を実現
すると共に高速処理を可能とする情報検索が実現する。
Effects As described above, by using the address storage control method of the present invention, it is possible to realize a plurality of information searches within a single processing time and to realize an information search that enables high-speed processing.

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

第1図は木実施例のブロックダイヤグラム、。 第2図は動作フローチャート、 第3図は不順ソート実行時のデータの流れを示す図、 第4図はレコードアドレスの構成を示す図、第5図は被
検索データと各レジスタとの対応を示す図である。 図において、1・・・外部記憶装置、2・・・インタフ
ェイスA、3・・・インクフェイスB、4・・・制御部
、6・・・メモリJM、7・・・メモリQl、8・・・
メモリQ2.9・・・メモリQ3.10・・・比較器C
MI、11・・・比較器CM2.12・・・比較器CM
3.13・・・レンクスカウンク、14・・・検索論理
回路制御部、15・・・レコードアドレスカウンタ、1
6・・・メモリADM、17・・・メモリSTM、18
・・・ハスインクフェイスである。 特許出願人    キャノン株式会社 396
FIG. 1 is a block diagram of the tree embodiment. Figure 2 is an operation flowchart, Figure 3 is a diagram showing the flow of data when performing unordered sorting, Figure 4 is a diagram showing the structure of record addresses, and Figure 5 is a diagram showing the correspondence between searched data and each register. It is a diagram. In the figure, 1...external storage device, 2...interface A, 3...ink face B, 4...control unit, 6...memory JM, 7...memory Ql, 8...・・・
Memory Q2.9...Memory Q3.10...Comparator C
MI, 11...Comparator CM2.12...Comparator CM
3.13... Renx count, 14... Search logic circuit control unit, 15... Record address counter, 1
6...Memory ADM, 17...Memory STM, 18
...It's a lotus ink face. Patent applicant Canon Co., Ltd. 396

Claims (1)

【特許請求の範囲】[Claims] 外部記憶装置を用いた情報処理装置において、前記外部
記憶装置よりの被検索データを格納する第1の格納部と
、少なくとも1件の検索データ及び検索該当データを格
納する第2の格納部と、前記第1の格納部と前記第2の
格納部の内容を比較する比較部と、該比較部へ比較条件
を指示する比較条件格納部と、前記第1の格納部の読み
出し速度に同期して前記被検索データのうち少なくとも
1件の前記第2の格納部の検索該当データのアドレスを
アドレス格納部に保持することを特徴とするアドレス格
納制御方式。
In an information processing device using an external storage device, a first storage section that stores search target data from the external storage device, a second storage section that stores at least one search data and search applicable data; a comparison section that compares the contents of the first storage section and the second storage section; a comparison condition storage section that instructs the comparison condition to the comparison section; and a comparison condition storage section that is synchronized with the read speed of the first storage section. An address storage control method characterized in that an address of at least one search target data in the second storage section among the search target data is held in an address storage section.
JP58006556A 1983-01-20 1983-01-20 Address storage control system Granted JPS59133659A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP58006556A JPS59133659A (en) 1983-01-20 1983-01-20 Address storage control system
US07/186,731 US4937779A (en) 1983-01-20 1988-04-22 Information retrieving apparatus capable of rearranging information stored in memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58006556A JPS59133659A (en) 1983-01-20 1983-01-20 Address storage control system

Publications (2)

Publication Number Publication Date
JPS59133659A true JPS59133659A (en) 1984-08-01
JPH0365571B2 JPH0365571B2 (en) 1991-10-14

Family

ID=11641600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58006556A Granted JPS59133659A (en) 1983-01-20 1983-01-20 Address storage control system

Country Status (1)

Country Link
JP (1) JPS59133659A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5864549A (en) * 1981-10-13 1983-04-16 Fujitsu Ltd Selecting circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5864549A (en) * 1981-10-13 1983-04-16 Fujitsu Ltd Selecting circuit

Also Published As

Publication number Publication date
JPH0365571B2 (en) 1991-10-14

Similar Documents

Publication Publication Date Title
US4433392A (en) Interactive data retrieval apparatus
US3611314A (en) Dynamic associative data processing system
JP2511435B2 (en) Rule-based data retrieval method and apparatus
US6490279B1 (en) Fast data base research and learning apparatus
KR0152979B1 (en) Variable length data processing apparatus
US5321843A (en) Information retrieval apparatus and information editing system using the same
JP2516609B2 (en) Circular context addressable memory
JPS59133659A (en) Address storage control system
JPS59133641A (en) Information retrieving device
US4937779A (en) Information retrieving apparatus capable of rearranging information stored in memory
JPS59133640A (en) Memory control system
JPH01297724A (en) Learning type character string retriever and control system for the same
JP2991007B2 (en) Key retrieval device, key retrieval method, sort processing device, and database processing device
JPH0642248B2 (en) Information retrieval device
JP3360308B2 (en) Character string search method and device
JPS5914193A (en) Memory circuit
JPS633351A (en) Buffer retrieving control system
SU1442992A1 (en) Device for loading and rearranging a file
JPS5822773B2 (en) Jiyouhoukensakuuchi
JPH0752451B2 (en) Information retrieval device
JPH03196260A (en) Full sentence retrieving device
JPH043251A (en) Method and processor for retrieving document
JPH11143749A (en) Relational database management system and data management method
JPH0218641A (en) Data control method
JPH01129324A (en) Data retrieving device