JP2524450B2 - Search system - Google Patents

Search system

Info

Publication number
JP2524450B2
JP2524450B2 JP4088623A JP8862392A JP2524450B2 JP 2524450 B2 JP2524450 B2 JP 2524450B2 JP 4088623 A JP4088623 A JP 4088623A JP 8862392 A JP8862392 A JP 8862392A JP 2524450 B2 JP2524450 B2 JP 2524450B2
Authority
JP
Japan
Prior art keywords
search
flag
area
state
computer
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.)
Expired - Fee Related
Application number
JP4088623A
Other languages
Japanese (ja)
Other versions
JPH0628401A (en
Inventor
寿邦 平山
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.)
AI TEII ERU KK
Original Assignee
AI TEII ERU KK
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 AI TEII ERU KK filed Critical AI TEII ERU KK
Priority to JP4088623A priority Critical patent/JP2524450B2/en
Publication of JPH0628401A publication Critical patent/JPH0628401A/en
Application granted granted Critical
Publication of JP2524450B2 publication Critical patent/JP2524450B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数のコンピュータを
用い同時に並行してデータベースの検索を行う検索シス
テムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a search system for simultaneously searching a database using a plurality of computers in parallel.

【0002】[0002]

【従来の技術】近年、種々の分野における各種のデータ
を格納したデータベースが発達してきており、これらの
データベースはコンピュータを用いた検索システムによ
る検索が可能となっている。これらのデータベースに検
索システムを用いてアクセスすることにより、膨大なデ
ータの中から必要とするデータを短時間でしかも正確に
得ることが可能である。
2. Description of the Related Art In recent years, databases that store various data in various fields have been developed, and these databases can be searched by a search system using a computer. By accessing these databases using a search system, it is possible to accurately obtain the necessary data from a vast amount of data in a short time.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、巨大な
データベースにアクセスする場合には、必要なデータを
得るまでの検索時間が長くなるという問題点が生じる。
また、データベースの活用が一般化するに伴って検索シ
ステムの利用者が増加し、検索に要する時間の短縮が望
まれている。更に、電話回線などの通信回線を介してデ
ータベースへのアクセスを行う場合には、データの伝送
がシリアルに行われ、しかもデータ伝送速度が遅いた
め、検索に要する時間が更に長くなる。
However, when accessing a huge database, there is a problem that the search time for obtaining necessary data becomes long.
In addition, the number of users of the search system is increasing with the general use of databases, and it is desired to reduce the time required for the search. Further, when the database is accessed via a communication line such as a telephone line, data transmission is serially performed, and the data transmission speed is slow, so that the time required for the search becomes longer.

【0004】本発明はこのような従来の問題点を解決す
るものであり、本発明の目的は、データベースへのアク
セスを短時間で行うことができる検索システムを提供す
ることである。
The present invention solves such conventional problems, and an object of the present invention is to provide a search system which can access a database in a short time.

【0005】[0005]

【課題を解決するための手段】本発明に係る検索システ
ムは、少なくとも1つのデータベースからなる検索対象
を検索する検索システムであって、前記検索対象の検索
条件を設定する条件設定用コンピュータと、該検索条件
を記憶する検索条件記憶手段と、前記検索対象を所定の
大きさに分割した複数の検索領域のそれぞれに対応して
設けられ、前記各検索領域が未検索状態、検索状態及び
検索完了状態の何れの状態であるかを示すフラグを記憶
するフラグ記憶手段と、互いに独立に動作し前記検索条
件記憶手段に記憶されている検索条件に従って前記何れ
かの検索領域の検索を行う複数のコンピュータと、前記
各コンピュータにおいて得られる検索結果を記憶する検
索結果記憶手段とを備え、前記各コンピュータは、未検
索状態のフラグを検索状態に設定すると共に該フラグに
対応する検索領域の検索を行い、得られた検索結果を前
記検索結果記憶手段に出力すると共に前記検索状態のフ
ラグを検索完了状態に設定する検索サイクルを実行し、
未検索状態のフラグの全てが検索完了状態になるまで前
記検索サイクルを繰り返すことを特徴とする。
A search system according to the present invention is a search system for searching a search target composed of at least one database, and a condition setting computer for setting a search condition for the search target, Search condition storage means for storing search conditions, and a plurality of search areas each of which is obtained by dividing the search target into a predetermined size are provided in correspondence with each search area, and each search area is in a non-search state, a search state, and a search completion state. And a plurality of computers that operate independently of each other and perform a search of any one of the search areas according to the search conditions stored in the search condition storage means. And a search result storage unit that stores a search result obtained in each of the computers, wherein each computer sets a flag in an unsearched state. The search area corresponding to the flag is searched, the obtained search result is output to the search result storage means, and the search cycle for setting the search state flag to the search completed state is executed. ,
It is characterized in that the search cycle is repeated until all of the unsearched flags are in the search completed state.

【0006】また、前記各フラグのうち、検索状態に設
定された後所定時間を経過しても検索完了状態に設定さ
れないフラグが存在する場合に、該フラグに対応する検
索領域の検索サイクルを、該検索領域の検索サイクルを
実行しているコンピュータ以外のコンピュータが実行す
る構成を付加することもできる。
If there is a flag among the flags that is not set to the search completion state even after a predetermined time has elapsed after being set to the search state, the search cycle of the search area corresponding to the flag is changed. A configuration executed by a computer other than the computer executing the search cycle of the search area can be added.

【0007】更に、前記各コンピュータは、通信回線を
介して前記検索対象の検索を行う構成とする事もでき
る。
Further, each of the computers may be configured to search for the search target via a communication line.

【0008】[0008]

【作用】上記の構成よりなる検索システムでは、1又は
2以上のデータベースからなる検索対象の検索を行うこ
とができる。検索対象は所定の大きさを有する複数の検
索領域に分割され、各検索領域のそれぞれに対し、未検
索状態、検索状態及び検索完了状態の何れの状態である
かを示すを示すフラグが設けられ、これらのフラグはフ
ラグ記憶手段に保持されている。
In the search system having the above-described structure, it is possible to search for a search target composed of one or more databases. The search target is divided into a plurality of search areas having a predetermined size, and each search area is provided with a flag indicating whether it is in the unsearched state, the search state, or the search completed state. , These flags are held in the flag storage means.

【0009】本発明の検索システムでは、まず、検索条
件が検索条件記憶手段に設定される。検索条件が設定さ
れると、各コンピュータは順次以下の検索サイクルの実
行を開始する。即ち、検索サイクルは、フラグ記憶手段
に未検索状態のフラグがあるかを検出するステップと、
未検索状態のフラグがある場合にコンピュータがそのフ
ラグを検索状態に設定するステップと、該フラグに対応
する検索領域の検索を実行するステップと、検索の終了
後に得られた検索結果を検索結果記憶手段に出力するス
テップと、フラグ記憶手段のフラグを検索完了状態に設
定するステップからなる。それぞれのコンピュータは、
フラグが未検索状態の検索領域について、このような検
索サイクルを順次実行する。そして、検索を完了したコ
ンピュータは再びフラグ記憶手段をアクセスし、未検索
状態のフラグがあればそれに対応する検索領域について
更に検索サイクルを実行する。各コンピュータは互いに
独立して動作しているので、検索データの少ない検索領
域を検索したコンピュータは次の検索サイクルに早期に
移行し、検索データの多い検索領域を検索したコンピュ
ータは次の検索サイクルに移行するまでに長時間を要す
ることとなる。そして、全てのフラグが検索完了状態に
なるまで検索サイクルを繰り返し実行する。
In the search system of the present invention, the search conditions are first set in the search condition storage means. When the search condition is set, each computer sequentially starts executing the following search cycle. That is, the search cycle includes a step of detecting whether there is an unsearched flag in the flag storage means,
When there is a flag in the unsearched state, the computer sets the flag to the search state, executes the search in the search area corresponding to the flag, and stores the search result obtained after the search is completed in the search result storage. And a step of setting the flag in the flag storage means to the search completion state. Each computer is
Such a search cycle is sequentially executed for the search area in which the flag has not been searched. Then, the computer that has completed the search again accesses the flag storage means, and if there is a flag in the unsearched state, further executes the search cycle for the search area corresponding to the flag. Since each computer operates independently of the others, the computer that searches the search area with less search data moves to the next search cycle earlier, and the computer that searches the search area with more search data moves to the next search cycle. It will take a long time to transfer. Then, the search cycle is repeatedly executed until all the flags are in the search completed state.

【0010】全てのフラグが検索完了状態になると検索
対象の検索を終了する。
When all the flags are in the search completed state, the search for the search target is terminated.

【0011】このように、本発明の検索システムでは、
独立に動作する複数のコンピュータを用いることによ
り、同時に並行して検索を行うことが可能となってい
る。また、本発明の検索システムでは、フラグ記憶手段
を設けることにより、各コンピュータは他のコンピュー
タに影響されることなく、しかも互いに重複することな
く検索領域の検索を実行することができる。上記の検索
システムにおいて、複数のコンピュータの何れかがハー
ド障害等により、検索を続行することができない場合に
は、フラグ記憶手段のフラグは検索状態に設定されたま
まとなり、検索システムは検索を完了することができな
い。
As described above, in the search system of the present invention,
By using multiple computers that operate independently, it is possible to perform searches in parallel at the same time. Further, in the search system of the present invention, by providing the flag storage means, each computer can execute the search in the search area without being influenced by other computers and without overlapping each other. In the above search system, when one of the plurality of computers cannot continue the search due to a hardware failure or the like, the flag of the flag storage means remains set to the search state, and the search system completes the search. Can not do it.

【0012】このような場合に備えて、本発明のシステ
ムでは、フラグが検索状態に設定された後の時間を測定
し、この時間が予め設定された値より大きい場合に、他
のコンピュータを用いて当該検索領域の検索を行う。こ
れにより、何れかのコンピュータが不良となっても、正
常に検索を完了することができる。
In preparation for such a case, the system of the present invention measures the time after the flag is set to the search state, and when this time is larger than a preset value, another computer is used. The search area is searched. As a result, even if any of the computers becomes defective, the search can be completed normally.

【0013】なお、検索対象が遠隔地にある場合には、
各コンピュータは電話回線などの通信回線を介して検索
対象の検索を行うことができる。また、検索対象が複数
の異なる場所に存在するデータベースからなる場合に
も、各コンピュータは検索すべき検索領域が存在するデ
ータベース毎に電話回線を接続して検索を行うことがで
きる。
If the search target is in a remote location,
Each computer can search for a search target via a communication line such as a telephone line. Further, even when the search target is composed of databases existing in a plurality of different places, each computer can perform a search by connecting a telephone line to each database having a search area to be searched.

【0014】[0014]

【実施例】以下、本発明の実施例を図面に基づいてより
詳細に説明する。本実施例では、全国の企業データを収
録したデータベースに公衆電話回線を介してアクセス
し、特定の名称の企業を検索するシステムを取り挙げ
る。
Embodiments of the present invention will be described below in detail with reference to the drawings. In this embodiment, a system for accessing a database containing company data nationwide through a public telephone line and searching for a company with a specific name will be given.

【0015】本実施例の検索システムの構成を図1に模
式的に示す。本実施例の検索システムは、互いに独立に
動作し得る11台のパーソナルコンピュータ1,1…を
備え、各パーソナルコンピュータ1,1…は、各インタ
ーフェイスボード(IFボード)2,2…を介して1台
のディスク共用化装置14に接続されている。また、デ
ィスク共用化装置14には、条件設定・保守用システム
16とデータ処理・印刷用システム20とが接続されて
いる。更に、ディスク共用化装置14には1台の共用ハ
ードディスク15が接続されている。従って、共用ハー
ドディスク15は11台のパーソナルコンピュータ1,
1…と、条件設定・保守用システム16と、データ処理
・印刷用システム20とによって共有されている。共用
ハードディスク15には、図2に示すように、検索用監
視エリア25と印刷・編集用監視エリア26と、ワーク
エリア27とが設けられている。
The structure of the search system of this embodiment is schematically shown in FIG. The search system according to the present embodiment includes eleven personal computers 1, 1 ... Which can operate independently of each other, and each personal computer 1, 1 ... 1 through each interface board (IF board) 2, 2. Is connected to one disk sharing device 14. A condition setting / maintenance system 16 and a data processing / printing system 20 are connected to the disk sharing device 14. Further, one shared hard disk 15 is connected to the disk sharing device 14. Therefore, the shared hard disk 15 includes 11 personal computers 1,
1, and the condition setting / maintenance system 16 and the data processing / printing system 20. As shown in FIG. 2, the shared hard disk 15 is provided with a search monitor area 25, a print / edit monitor area 26, and a work area 27.

【0016】条件設定・保守用システム16は、条件設
定用コンピュータであるパーソナルコンピュータ18
と、CRT19と、データ保存用フレキシブルディスク
ドライブ17とによって構成されている。また、データ
処理・印刷用システム20は処理用ハードディスク21
と、パーソナルコンピュータ22と、CRT24と、プ
リンタ23とによって構成されている。前述のディスク
共用化装置14は11台のパーソナルコンピュータ1,
1…、パーソナルコンピュータ18、及びパーソナルコ
ンピュータ22が同時に共用ハードディスク15にアク
セスした場合の競合を調整する機能を果たしている。
The condition setting / maintenance system 16 includes a personal computer 18 which is a condition setting computer.
And a CRT 19 and a flexible disk drive 17 for data storage. Further, the data processing / printing system 20 includes a processing hard disk 21.
And a personal computer 22, a CRT 24, and a printer 23. The disk sharing device 14 is composed of 11 personal computers 1,
1 ..., the personal computer 18, and the personal computer 22 have a function of adjusting a conflict when the shared hard disk 15 is simultaneously accessed.

【0017】各パーソナルコンピュータ1,1…は、そ
れぞれモデム12,12…を備えており、公衆電話回線
3を介してデータベース32に接続することができる。
データベース32はホストコンピュータ30とデータフ
ァイル31とを備えており、ホストコンピュータ30は
複数のコンピュータとタイムシェアリングによって接続
され、データファイル31の検索を行う。従って、各パ
ーソナルコンピュータ1,1…は、同時にデータベース
32のホストコンピュータ30に接続することができ、
同時にデータベース31の検索を行うことができる。本
実施例においてはデータベース31は、前述のように企
業データを収録したものである。
Each personal computer 1, 1 ... Has a modem 12, 12, ... And can be connected to the database 32 via the public telephone line 3.
The database 32 includes a host computer 30 and a data file 31, and the host computer 30 is connected to a plurality of computers by time sharing and searches the data file 31. Therefore, each personal computer 1, 1 ... Can be simultaneously connected to the host computer 30 of the database 32,
At the same time, the database 31 can be searched. In the present embodiment, the database 31 is recorded with company data as described above.

【0018】本実施例の検索システムでは、データベー
ス31を全国の都道府県、郡市町村等の単位に分割した
検索領域ごとに各パーソナルコンピュータ1,1…がア
クセスする。ホストコンピュータ30へ接続するための
電話番号、データベース31をどのような検索領域に分
割するか等のデータは、予め条件設定・保守用システム
16のパーソナルコンピュータ18によって検索条件フ
ァイルに格納されているか、又は各パーソナルコンピュ
ータ1,1…に記憶されている。
In the search system of this embodiment, the personal computer 1, 1, ... Is accessed for each search area obtained by dividing the database 31 into units such as prefectures, counties, cities, towns, villages and the like. Data such as a telephone number for connecting to the host computer 30 and what kind of search area the database 31 is divided into is stored in the search condition file in advance by the personal computer 18 of the condition setting / maintenance system 16. Alternatively, it is stored in each personal computer 1, 1.

【0019】本実施例の検索システムの動作を図3に示
すフローチャートに従って説明する。まず、条件設定・
保守用システム16のパーソナルコンピュータ18は、
検索条件、検索結果の印刷条件などの設定を行う。検索
条件には、検索すべき企業名、検索地域等が含まれる。
これらの検索条件は、新規に作成するか、又は検索用監
視エリア25に既に記憶されている検索条件ファイルの
内容の変更、追加、取消等を行うことにより作成され
る。図3のステップ41に示すように、作成された検索
条件は、検索用監視エリア25の検索条件記憶領域28
(図2)に格納される。検索条件の作成と格納は、以下
で説明するパーソナルコンピュータ1,1…による検索
が行われている間においても行うことができる。
The operation of the search system of this embodiment will be described with reference to the flowchart shown in FIG. First, set the conditions
The personal computer 18 of the maintenance system 16 is
Set search conditions, print conditions for search results, etc. The search condition includes a company name to be searched, a search area, and the like.
These search conditions are newly created or created by changing, adding or canceling the contents of the search condition file already stored in the search monitoring area 25. As shown in step 41 of FIG. 3, the created search condition is the search condition storage area 28 of the search monitoring area 25.
(FIG. 2). The search conditions can be created and stored even while the search by the personal computers 1, 1 ... Described below is being performed.

【0020】各パーソナルコンピュータ1,1…は、順
次検索用監視エリア25の検索条件記憶領域28を監視
しており、検索条件が検索条件記憶領域28に設定され
たことを検出すると、それを検出したパーソナルコンピ
ュータ1が検索用監視エリア25にアクセスフラグファ
イル29を作成し、アクセスフラグファイル29内の全
てのフラグを”1”に設定する(ステップ42)。フラ
グ”1”は未検索状態を表している。アクセスフラグフ
ァイル29内の各フラグは、各検索領域に対応して設け
られている。従って、検索領域の数とフラグの数とは同
じである。本実施例では、検索条件記憶領域28が検索
条件記憶手段として機能し、アクセスフラグファイル2
9がフラグ記憶手段として機能している。
Each of the personal computers 1, 1 ... Monitors the search condition storage area 28 of the search area 25 for search in sequence. When it is detected that the search condition is set in the search condition storage area 28, it is detected. Then, the personal computer 1 creates the access flag file 29 in the search monitoring area 25 and sets all the flags in the access flag file 29 to "1" (step 42). The flag "1" represents the unsearched state. Each flag in the access flag file 29 is provided corresponding to each search area. Therefore, the number of search areas and the number of flags are the same. In this embodiment, the search condition storage area 28 functions as a search condition storage means, and the access flag file 2
9 functions as a flag storage means.

【0021】次に、各パーソナルコンピュータ1,1…
は、図3のステップ43に示すように、アクセスフラグ
ファイル29に”1”の値のフラグがあるかどうかを判
断する。”1”の値のフラグがあれば、図3のステップ
44に示すように、アクセスフラグファイル29内の”
1”の値の1つのフラグを”2”に設定する。次に、公
衆電話回線3(図1)を介してデータベース32にアク
セスし、そのフラグに対応する検索領域を、検索用監視
エリア25の検索条件記憶領域28に設定された検索条
件に従って検索する(ステップ45)。ここで、フラ
グ”2”は検索状態を表している。
Next, each personal computer 1, 1 ...
Determines whether the access flag file 29 has a flag with a value of "1", as shown in step 43 of FIG. If there is a flag with a value of "1", as shown in step 44 of FIG.
One flag having a value of "1" is set to "2". Next, the database 32 is accessed via the public telephone line 3 (FIG. 1), and the search area corresponding to the flag is set as the search monitoring area 25. The search is performed according to the search condition set in the search condition storage area 28 (step 45), where the flag "2" indicates the search state.

【0022】このように、各パーソナルコンピュータ
1,1…は順次アクセスフラグファイル29内の”1”
のフラグを”2”に設定し、そのフラグに対応する検索
領域を行う。そして、検索を完了した各パーソナルコン
ピュータ1は、図3のステップ46に示すように、検索
結果を共用ハードディスク15のワークエリア27に出
力する。本実施例ではワークエリアが検索結果記憶手段
として機能している。検索結果を出力したパーソナルコ
ンピュータ1は、図3のステップ47に示すように、検
索を完了した検索領域のフラグを”3”に設定する。こ
こで、フラグ”3”は検索完了状態を示している。この
ようなステップ43〜47が1回の検索サイクルに対応
している。
As described above, each of the personal computers 1, 1 ... Sequentially stores “1” in the access flag file 29.
Flag is set to "2" and the search area corresponding to the flag is performed. Then, each personal computer 1 that has completed the search outputs the search result to the work area 27 of the shared hard disk 15, as shown in step 46 of FIG. In this embodiment, the work area functions as a search result storage means. The personal computer 1 that has output the search result sets the flag of the search area for which the search has been completed to "3", as shown in step 47 of FIG. Here, the flag "3" indicates the search completion state. Such steps 43 to 47 correspond to one search cycle.

【0023】次に、検索サイクルを完了したパーソナル
コンピュータ1は、ステップ43に示すように、アクセ
スフラグファイル29の”1”の値を有するフラグがあ
るかどうかを判断する。”1”の値のフラグがあればそ
のフラグを”2”に設定して、上述と同様にそのフラグ
に対応する検索領域を検索用監視エリア25に設定され
た検索条件に従って検索する(ステップ45)。このよ
うに、各パーソナルコンピュータ1,1…はそれぞれ独
立に検索領域の検索を行い、短時間で検索サイクルを完
了したパーソナルコンピュータ1は、次の検索サイクル
を早期に開始し、検索サイクルに長時間を要したパーソ
ナルコンピュータ1は、次の検索サイクルに移行するま
でに長時間を要することとなる。
Next, the personal computer 1 that has completed the search cycle determines whether or not there is a flag having the value "1" in the access flag file 29, as shown in step 43. If there is a flag having a value of "1", the flag is set to "2", and the search area corresponding to the flag is searched according to the search condition set in the search monitoring area 25 as in the above (step 45). ). As described above, each personal computer 1, 1 ... Independently searches the search area independently, and the personal computer 1 that completes the search cycle in a short time starts the next search cycle early and the search cycle takes a long time. The personal computer 1 that has required a long time will take a long time before shifting to the next search cycle.

【0024】このようにして、未検索の検索領域、即
ち”1”の値を有するフラグが無くなると、各パーソナ
ルコンピュータ1,1…は検索領域の検索を終える。そ
して、図3のステップ48に示すように、全てのフラグ
が”3”に設定されたか否かを判断し、全てのフラグ
が”3”に設定されている場合には、即ち全ての検索領
域の検索が完了している場合には、図3のステップ49
に示すように、最後にフラグを”3”に設定したパーソ
ナルコンピュータ1が、ワークエリア27に格納されて
いる全検索データを共用ハードディスク15の印刷・編
集用監視エリア26に転送する。
In this way, when the unsearched search area, that is, the flag having the value of "1" disappears, each personal computer 1, 1 ... Ends the search of the search area. Then, as shown in step 48 of FIG. 3, it is determined whether or not all the flags are set to "3", and if all the flags are set to "3", that is, all the search areas are searched. If the search for is completed, step 49 in FIG.
Finally, the personal computer 1 having the flag set to “3” transfers all the search data stored in the work area 27 to the print / edit monitoring area 26 of the shared hard disk 15.

【0025】全検索データの転送が終了すると、各パー
ソナルコンピュータ1,1…は再び検索用監視エリア2
5の検索条件記憶領域28の監視を開始する。既に条件
設定・保守用システム16のパーソナルコンピュータ1
8によって検索条件記憶領域28に検索条件が設定され
ている場合には、各パーソナルコンピュータ1,1…は
再び検索を開始し、設定されていない場合には検索条件
記憶領域28の監視を継続する。
When the transfer of all search data is completed, each personal computer 1, 1 ...
The monitoring of the search condition storage area 28 of No. 5 is started. Personal computer 1 for the condition setting / maintenance system 16
If the search condition is set in the search condition storage area 28 by 8, each personal computer 1, 1 ... Starts the search again, and if not set, the monitoring of the search condition storage area 28 is continued. .

【0026】一方、データ処理・印刷用システム20の
パーソナルコンピュータ22は常時印刷・編集用監視エ
リア26を監視しており、ワークエリア27の全検索デ
ータが印刷・編集用監視エリア26に転送されると、そ
の検索データを検索用監視エリア25に格納されている
印刷条件データに従って印刷する(ステップ50)。
On the other hand, the personal computer 22 of the data processing / printing system 20 constantly monitors the printing / editing monitoring area 26, and all search data in the work area 27 is transferred to the printing / editing monitoring area 26. Then, the search data is printed according to the print condition data stored in the search monitoring area 25 (step 50).

【0027】印刷が終了すると、再び印刷・編集用監視
エリア26の監視を継続する。このように、データ処理
・印刷用システム20は各パーソナルコンピュータ1,
1…、条件設定・保守用システム16等から独立してお
り、印刷・編集用監視エリア26にデータが転送される
ことによってのみ印刷を開始する。
When the printing is completed, the monitoring of the printing / editing monitoring area 26 is continued again. As described above, the data processing / printing system 20 includes each personal computer 1,
1, ... Independent of the condition setting / maintenance system 16 and the like, and starts printing only when data is transferred to the printing / editing monitoring area 26.

【0028】更に、条件設定・保守用システム16のパ
ーソナルコンピュータ18は、図3のステップ51に示
すように、印刷・編集用監視エリア26の検索結果をフ
レキシブルディスクドライブ17を介してフレキシブル
ディスクに保存し、検索を終了する。
Further, the personal computer 18 of the condition setting / maintenance system 16 stores the search result of the print / edit monitoring area 26 in the flexible disk via the flexible disk drive 17, as shown in step 51 of FIG. And ends the search.

【0029】本実施例の検索システムでは、何れかのパ
ーソナルコンピュータ1に障害が発生した場合に復旧が
可能となっている。即ち、上記のようにパーソナルコン
ピュータ1がフラグの値を”1”から”2”に変更した
後、検索領域の検索中に障害が発生して検索を完了でき
ない場合に、他のパーソナルコンピュータ1がその検索
領域の検索を代行するものである。代替のパーソナルコ
ンピュータ1によって検索を代行するか否かは、図3の
ステップ52に示すように、検索所要時間が予め決めら
れた設定時間より長くなっているかを判断することによ
り決定される。
In the search system of this embodiment, if any one of the personal computers 1 fails, it can be restored. That is, after the personal computer 1 changes the value of the flag from "1" to "2" as described above, if a failure occurs during the search in the search area and the search cannot be completed, another personal computer 1 The search in that search area is performed on behalf of the user. Whether or not to perform the search by the alternative personal computer 1 is determined by determining whether the required search time is longer than a predetermined set time, as shown in step 52 of FIG.

【0030】ステップ52で検索所要時間が設定時間よ
り長いことが検出されると、ステップ53に示すよう
に、他のパーソナルコンピュータ1によってその検索領
域を検索し、その検索結果を出力し(ステップ54)、
その検索領域のフラグを”3”に設定する(ステップ5
5)。その後、ステップ48へ戻り、全てのフラグが”
3”であることが確認されると、上述のステップ49〜
51が続行される。
When it is detected in step 52 that the required search time is longer than the set time, the search area is searched by another personal computer 1 and the search result is output as shown in step 53 (step 54). ),
The flag of the search area is set to "3" (step 5)
5). After that, the process returns to step 48 and all the flags are "
3 "is confirmed, the above steps 49 to 49 are performed.
51 continues.

【0031】上記の検索所要時間の測定は、フラグの値
の変更直後から開始してもよく、或いはそのフラグ以外
のフラグの全てが”3”に設定されてから開始してもよ
い。
The above measurement of the required search time may be started immediately after changing the value of the flag, or may be started after all the flags other than that flag are set to "3".

【0032】また、上記の設定時間は検索領域の大きさ
などに応じて適宜決めることができる。このように、本
実施例では独立に動作し得るよう複数のパーソナルコン
ピュータ1,1…を用いているため、障害復旧機能を容
易に実現することができる。
Further, the set time can be appropriately determined according to the size of the search area and the like. As described above, in the present embodiment, since the plurality of personal computers 1, 1 ... Are used so that they can operate independently, the failure recovery function can be easily realized.

【0033】なお、本実施例では検索対象が1つのデー
タベースのみからなる場合について説明したが、検索対
象が2以上のデータベースからなる場合についても適用
することができ、更に各データベースが異なる場所に存
在する場合にも適用することができる。この場合には、
各データベースへの電話番号は、検索条件ファイルに格
納されるか、又は各パーソナルコンピュータ1,1…に
記憶される。
In this embodiment, the case where the search target is composed of only one database has been described, but the present invention can be applied to the case where the search target is composed of two or more databases, and each database exists in a different place. It can also be applied to the case. In this case,
The telephone number for each database is stored in the search condition file or stored in each personal computer 1, 1.

【0034】また、本実施例では検索を行うパーソナル
コンピュータ1,1…は全て同じ仕様ものを用いたが、
異なる仕様のものを用いることができ、更に、処理速度
も異なるパーソナルコンピュータを用いることもでき
る。
Further, in the present embodiment, the personal computers 1, 1 ... Which conduct the search all have the same specifications.
It is possible to use those having different specifications, and it is also possible to use personal computers having different processing speeds.

【0035】更に、本実施例では”1”の値のフラグが
無くなると、検索領域の検索を終了したパーソナルコン
ピュータ1はその検索対象に対する全ての検索領域の検
索が終了するまで待機しているが、検索を終了したパー
ソナルコンピュータ1に次の検索対象の検索領域の検索
を開始させるシステムとすることができる。このような
システムとすることにより、検索に要する時間を更に短
縮することが可能となる。
Further, in the present embodiment, when the flag of the value "1" disappears, the personal computer 1 which has completed the search of the search area waits until the search of all the search areas for the search target is completed. The personal computer 1 that has completed the search may start a search for the next search target search area. With such a system, the time required for the search can be further shortened.

【0036】[0036]

【発明の効果】本発明に係る検索システムでは、複数の
検索領域の検索を独立に動作する複数のコンピュータに
よって同時に行うことができるので、検索に要する時間
を大幅に短縮することができる。従って、多くの利用者
が短い待ち時間で検索システムを利用することができ
る。更に、データの伝送がシリアルに行われる電話回線
などを介してデータベースへのアクセスを行う場合に
も、短時間で検索を行うことができる。
In the search system according to the present invention, a plurality of search areas can be searched at the same time by a plurality of independently operating computers, so that the time required for the search can be greatly reduced. Therefore, many users can use the search system with a short waiting time. Further, even when the database is accessed via a telephone line or the like in which data is transmitted serially, the search can be performed in a short time.

【0037】また、本発明に係る検索システムでは、検
索を行うコンピュータの一つに障害が発生した場合に、
他のコンピュータが障害を起こしたコンピュータに代行
して検索を行うため、障害復旧機能を容易に付与するこ
とできる。従って、本発明によれば、非常に信頼性の高
い検索システムが得られる。
Further, in the search system according to the present invention, when a failure occurs in one of the searching computers,
Since the other computer performs the search on behalf of the faulty computer, the fault recovery function can be easily provided. Therefore, according to the present invention, a very reliable search system can be obtained.

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

【図1】本発明の検索システムの一実施例の概略構成を
示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a search system of the present invention.

【図2】図1の検索システムにおける共用ハードディス
クの記憶領域を示す概念図である。
FIG. 2 is a conceptual diagram showing a storage area of a shared hard disk in the search system of FIG.

【図3】図1の検索システムにおける検索プロセスを示
すフローチャートである。
3 is a flowchart showing a search process in the search system of FIG.

【符号の説明】[Explanation of symbols]

1…パーソナルコンピュータ 2…インターフェイスボード 3…公衆電話回線 12…モデム 14…ディスク共用化装置 15…共用ハードディスク 16…条件設定・保守用システム 17…データ保存用フレキシブルディスクドライブ 18…パーソナルコンピュータ 22…パーソナルコンピュータ 23…プリンタ 25…検索用監視エリア 26…印刷・編集用監視エリア 27…ワークエリア 28…検索条件記憶領域 29…アクセスフラグファイル 30…ホストコンピュータ 32…データベース 1 ... Personal computer 2 ... Interface board 3 ... Public telephone line 12 ... Modem 14 ... Disk sharing device 15 ... Shared hard disk 16 ... Condition setting / maintenance system 17 ... Data storage flexible disk drive 18 ... Personal computer 22 ... Personal computer 23 ... Printer 25 ... Search Monitoring Area 26 ... Printing / Editing Monitoring Area 27 ... Work Area 28 ... Search Condition Storage Area 29 ... Access Flag File 30 ... Host Computer 32 ... Database

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 少なくとも1つのデータベースからなる
検索対象を検索する検索システムであって、 前記検索対象の検索条件を設定する条件設定用コンピュ
ータと、 該検索条件を記憶する検索条件記憶手段と、 前記検索対象を所定の大きさに分割した複数の検索領域
のそれぞれに対応して設けられ、前記各検索領域が未検
索状態、検索状態及び検索完了状態の何れの状態である
かを示すフラグを記憶するフラグ記憶手段と、 互いに独立に動作し前記検索条件記憶手段に記憶されて
いる検索条件に従って前記何れかの検索領域の検索を行
う複数のコンピュータと、 前記各コンピュータにおいて得られる検索結果を記憶す
る検索結果記憶手段とを備え、 前記各コンピュータは、未検索状態のフラグを検索状態
に設定すると共に該フラグに対応する検索領域の検索を
行い、得られた検索結果を前記検索結果記憶手段に出力
すると共に前記検索状態のフラグを検索完了状態に設定
する検索サイクルを実行し、未検索状態のフラグの全て
が検索完了状態になるまで前記検索サイクルを繰り返す
ことを特徴とする検索システム。
1. A search system for searching for a search target comprising at least one database, a condition setting computer for setting a search condition for the search target, a search condition storage means for storing the search condition, A flag is provided corresponding to each of a plurality of search areas obtained by dividing the search target into a predetermined size, and stores a flag indicating whether each search area is in a non-search state, a search state, or a search completed state. Flag storage means, a plurality of computers that operate independently of each other and perform a search of any one of the search areas according to the search conditions stored in the search condition storage means, and store the search results obtained in each computer. And a search result storage means, wherein each computer sets a flag in a non-search state to a search state and responds to the flag. A search area is searched, the obtained search result is output to the search result storage means, and a search cycle for setting the search status flag to the search completion status is executed, and all the unsearched flags are searched. A search system, characterized in that the search cycle is repeated until a completed state is reached.
【請求項2】 前記各フラグのうち、検索状態に設定さ
れた後所定時間を経過しても検索完了状態に設定されな
いフラグが存在する場合に、該フラグに対応する検索領
域の検索サイクルを、該検索領域の検索サイクルを実行
しているコンピュータ以外のコンピュータが実行するこ
とを特徴とする請求項1記載の検索システム。
2. A search cycle of a search area corresponding to the flag when a flag that is not set to the search completion state even if a predetermined time has elapsed after being set to the search state is set among the flags. The search system according to claim 1, wherein the search system is executed by a computer other than a computer that is executing a search cycle of the search area.
【請求項3】 前記各コンピュータは、通信回線を介し
て前記検索対象の検索を行うことを特徴とする請求項1
又は2記載の検索システム。
3. The respective computers search the search target via a communication line.
Alternatively, the search system described in 2.
JP4088623A 1992-04-09 1992-04-09 Search system Expired - Fee Related JP2524450B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4088623A JP2524450B2 (en) 1992-04-09 1992-04-09 Search system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4088623A JP2524450B2 (en) 1992-04-09 1992-04-09 Search system

Publications (2)

Publication Number Publication Date
JPH0628401A JPH0628401A (en) 1994-02-04
JP2524450B2 true JP2524450B2 (en) 1996-08-14

Family

ID=13947941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4088623A Expired - Fee Related JP2524450B2 (en) 1992-04-09 1992-04-09 Search system

Country Status (1)

Country Link
JP (1) JP2524450B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9975572B2 (en) 2014-02-24 2018-05-22 Hitachi Automotives Systems, Ltd. In-vehicle device controller and power steering device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3842319B2 (en) * 1995-11-08 2006-11-08 富士通株式会社 Information retrieval system
JP5280148B2 (en) * 2008-10-24 2013-09-04 株式会社Hde Mail system
JP5223909B2 (en) * 2010-11-10 2013-06-26 富士通株式会社 Allocation system, allocation device, and allocation program
CN111143294B (en) * 2019-12-25 2023-08-01 宁波三星医疗电气股份有限公司 Data retrieval method and device for power acquisition terminal and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9975572B2 (en) 2014-02-24 2018-05-22 Hitachi Automotives Systems, Ltd. In-vehicle device controller and power steering device

Also Published As

Publication number Publication date
JPH0628401A (en) 1994-02-04

Similar Documents

Publication Publication Date Title
JPS5846742B2 (en) Interactive data search device
JP2524450B2 (en) Search system
JPH02297670A (en) Data base retrieving system
JPH05134930A (en) Memory protecting device
JP3260743B2 (en) Information search method
JP2675088B2 (en) Information collection method
KR100268674B1 (en) Database backup in realtime database system on multi-process environment
JP2821896B2 (en) Information storage device and information storage method
JPH0744426A (en) File management method for file system
JPH037986B2 (en)
JPH02250120A (en) Automatizing system for test diagnostic program of information processing system
JP3223675B2 (en) Data collection processor
JPS60203066A (en) File system of picture information
JP2001142772A (en) Management method by memory name, copying method, medium for recording management program by memory name and medium for recording copying program
JPH05101012A (en) On-line data processor
JPH0581115A (en) Data processing method for distributed database managing system
JPH02127742A (en) Idle area retrieving system
JPH01263843A (en) Message display
JPH04250569A (en) Network file service controller
JPS629433A (en) Data base access mechanism
JPS63291116A (en) File access system
JPH02263268A (en) Data retrieving system
Alston California DTIC
JP2000099379A (en) Data management device
JPH0484233A (en) Recording system for program operation conditions

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees