JPH11143884A - Data retrieval system - Google Patents

Data retrieval system

Info

Publication number
JPH11143884A
JPH11143884A JP9301730A JP30173097A JPH11143884A JP H11143884 A JPH11143884 A JP H11143884A JP 9301730 A JP9301730 A JP 9301730A JP 30173097 A JP30173097 A JP 30173097A JP H11143884 A JPH11143884 A JP H11143884A
Authority
JP
Japan
Prior art keywords
search
host computer
data
host
main
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
JP9301730A
Other languages
Japanese (ja)
Inventor
Junji Tateishi
準二 立石
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9301730A priority Critical patent/JPH11143884A/en
Publication of JPH11143884A publication Critical patent/JPH11143884A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 検索を実行するホストコンピュータを、ホス
ト端末の検索要求プログラムが検索条件によって自動的
に選択できるようにし、ホストコンピュータの負荷を分
散して検索時間を短縮する。 【解決手段】 主ホストコンピュータ1、副ホストコン
ピュータ2及びホスト端末3はネットワーク4によって
相互に結ばれており、互いに静的な同一のデータから構
成されている主データ5及び副データ6がそれぞれ主ホ
ストコンピュータ1及び副ホストコンピュータ2によっ
て管理されている。ホスト端末3が有しているホスト自
動選択機能付き検索要求およびデータ表示プログラム1
1はホスト選択条件13に基づいて、検索要求を主ホス
トコンピュータ1及び副ホストコンピュータ2のいずれ
に対して優先的に振り分けて与えるかを決定する。ホス
ト選択条件は、検索時間帯、所要時間等に基づいてい
る。
(57) [Summary] [PROBLEMS] To enable a search request program of a host terminal to automatically select a host computer to execute a search according to search conditions, thereby distributing the load on the host computer and shortening the search time. SOLUTION: A main host computer 1, a sub host computer 2 and a host terminal 3 are mutually connected by a network 4, and main data 5 and sub data 6 composed of the same static data are respectively used as main data. It is managed by the host computer 1 and the secondary host computer 2. Search request and data display program 1 with host automatic selection function of host terminal 3
1 determines which of the primary host computer 1 and the secondary host computer 2 is preferentially distributed and given the search request based on the host selection condition 13. The host selection condition is based on a search time zone, a required time, and the like.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、複数のホストコ
ンピュータの各々によって管理されるデータを検索する
技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for retrieving data managed by each of a plurality of host computers.

【0002】[0002]

【従来の技術】図3は従来のデータ検索システムの構成
を示す模式図である。主ホストコンピュータ1、副ホス
トコンピュータ2及びホスト端末3が、ネットワーク4
によって相互に結ばれている。主データ5及び副データ
6はいずれもディスクなどの記憶装置において、それぞ
れ主ホストコンピュータ1及び副ホストコンピュータ2
によって管理されている。
2. Description of the Related Art FIG. 3 is a schematic diagram showing the configuration of a conventional data search system. The main host computer 1, the sub host computer 2, and the host terminal 3 are connected to a network 4
Are interconnected by The main data 5 and the sub data 6 are both stored in a storage device such as a disk in the main host computer 1 and the sub host computer 2 respectively.
Is managed by

【0003】主データ5及び副データ6は静的に同一の
データから構成されている。ここで「静的に同一」と
は、データの更新の際に主データ5及び副データ6が更
新されるタイミングがずれることにより、このずれたタ
イミングの間においては主データ5及び副データ6は過
渡的に異なることがあるかも知れないが、更新以外の時
点では同一のデータを有している、という意味である。
主ホストコンピュータ1がディスクに保持している主デ
ータ5は、ネットワーク4を介して副ホストコンピュー
タ2がディスクに保持している副データ6と同期を採っ
て更新が行われることにより、主データ5と副データ6
を静的に同一に保つ事ができる。
The main data 5 and the sub data 6 are statically constituted by the same data. Here, “statically the same” means that the timing at which the main data 5 and the sub-data 6 are updated at the time of updating the data is shifted, and during the shifted timing, the main data 5 and the sub-data 6 are not updated. It may be transiently different, but it means that it has the same data except at the time of updating.
The main data 5 held in the disk by the main host computer 1 is updated in synchronization with the sub data 6 held in the disk by the sub host computer 2 via the network 4 so that the main data 5 is updated. And sub data 6
Can be kept statically the same.

【0004】ホスト端末3が有する検索要求及びデータ
表示プログラム7の実行によって検索条件や、検索結果
がホスト端末3に表示され、また検索要求が発生する。
[0006] Search conditions and search results are displayed on the host terminal 3 by executing the search request and the data display program 7 of the host terminal 3, and a search request is generated.

【0005】検索要求は主ホストコンピュータ1に伝達
され、主ホストコンピュータ1の有するデータ検索プロ
グラム8の実行によって検索が行われる。主ホストコン
ピュータ1は通常使用するホストコンピュータであり、
副ホストコンピュータ2は主ホストコンピュータ1のバ
ックアップ用ホストコンピュータであるため、通常運用
においてはデータ検索のためには使用しない。主ホスト
コンピュータ1が異常停止した場合に副ホストコンピュ
ータ2が動作する。
[0005] The search request is transmitted to the main host computer 1, and a search is performed by executing a data search program 8 of the main host computer 1. The main host computer 1 is a commonly used host computer,
Since the secondary host computer 2 is a backup host computer for the primary host computer 1, it is not used for data retrieval in normal operation. When the main host computer 1 stops abnormally, the sub host computer 2 operates.

【0006】図4は、図3に示されたシステムにおける
データ検索の動作を示すフローチャートである。データ
検索は、まずホスト端末3の検索要求及びデータ表示プ
ログラム7が実行されることにより、検索する内容が表
示され、一つの検索が選択される(ステップST50
1)。
FIG. 4 is a flowchart showing the operation of data retrieval in the system shown in FIG. In the data search, first, the search request of the host terminal 3 and the data display program 7 are executed to display the content to be searched, and one search is selected (step ST50).
1).

【0007】例えば検索Aという検索内容が選択された
場合は、検索Aの検索条件を入力する画面を表示し、こ
の検索条件が入力される(ステップST502)。
[0007] For example, when the search content of search A is selected, a screen for inputting search conditions of search A is displayed, and the search conditions are input (step ST502).

【0008】入力された検索条件は、検索を指示する命
令(検索命令)と共にネットワーク4を介して検索要求
として主ホストコンピュータ1に送信され(ステップS
T503)、主ホストコンピュータ1のデータ検索プロ
グラム8に渡される。データ検索プログラム8は検索要
求を受取り、検索条件に基づいて主データ5に対するデ
ータ検索を行う(ステップST504)。
The input search condition is transmitted to the main host computer 1 as a search request via the network 4 together with a command (search command) for instructing a search (step S).
T503), the data is passed to the data search program 8 of the main host computer 1. The data search program 8 receives the search request and performs data search for the main data 5 based on the search condition (step ST504).

【0009】データ検索が完了すれば、ホスト端末3は
ネットワーク4を介して主ホストコンピュータ1から検
索結果データを受信し(ステップST505)、受信し
た検索結果データがホスト端末3の画面に表示される
(ステップST506)。
When the data search is completed, host terminal 3 receives the search result data from main host computer 1 via network 4 (step ST505), and the received search result data is displayed on the screen of host terminal 3. (Step ST506).

【0010】検索条件や検索結果データはネットワーク
4の検索A要求応答経路9を通る。一方、例えば検索B
という検索内容が選択された場合、検索条件や検索結果
データはネットワーク4の検索B要求応答経路10を使
用する。いずれの場合にもホスト端末3からの検索要求
は、必ず主ホストコンピュータ1が受信し、データ検索
プログラム8が主データ5を検索することになる。
[0010] Search conditions and search result data pass through a search A request response path 9 of the network 4. On the other hand, for example, search B
Is selected, the search condition and the search result data use the search B request response path 10 of the network 4. In any case, the search request from the host terminal 3 is always received by the main host computer 1 and the data search program 8 searches for the main data 5.

【0011】[0011]

【発明が解決しようとする課題】従来のデータ検索シス
テム装置は、以上のように構成されているため、主ホス
トコンピュータ1の1台のみに検索処理が集中するた
め、負荷が大きく検索時間が長くなる問題点があった。
また2台以上あるホストコンピュータを有効に使用でき
ないため、投資効果が低くなるという問題点もある。換
言すれば、主ホストコンピュータ1のメンテナンスに必
要な時間を割くことが容易ではない。
Since the conventional data search system apparatus is configured as described above, the search processing is concentrated on only one main host computer 1, so that the load is large and the search time is long. There was a problem.
Another problem is that the investment effect is reduced because two or more host computers cannot be used effectively. In other words, it is not easy to take the time required for the maintenance of the main host computer 1.

【0012】この発明は、上記のような問題点を解決す
るためになされたもので、検索を実行するホストコンピ
ュータを、ホスト端末の検索要求プログラムが検索条件
によって自動的に選択できるようにし、ホストコンピュ
ータの負荷を均衡(負荷分散)にし、検索時間を短縮す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems. A search request program of a host terminal can automatically select a host computer to execute a search based on search conditions. The purpose is to balance the load on the computer (load distribution) and reduce the search time.

【0013】[0013]

【課題を解決するための手段】この発明のうち請求項1
にかかるものは、静的に同一のデータが保持される第1
及び第2の記憶装置と、前記第1及び第2の記憶装置を
それぞれ管理する第1及び第2のホストコンピュータ
と、前記データの検索を実行する命令を、前記検索が行
われる時間帯によって前記第1及び第2のホストコンピ
ュータに優先的に振り分けて与える端末とを備えるデー
タ検索システムである。
Means for Solving the Problems Claim 1 of the present invention
The first is that the same data is kept statically the first
And a second storage device, first and second host computers respectively managing the first and second storage devices, and an instruction to execute a search for the data according to a time zone in which the search is performed. And a terminal that preferentially distributes and supplies the first and second host computers.

【0014】この発明のうち請求項2にかかるものは、
静的に同一のデータが保持される第1及び第2の記憶装
置と、前記第1及び第2の記憶装置をそれぞれ管理する
第1及び第2のホストコンピュータと、前記データの検
索を実行する命令を、前記検索の所要時間によって前記
第1及び第2のホストコンピュータに優先的に振り分け
て与える端末とを備えるデータ検索システムである。
According to a second aspect of the present invention,
First and second storage devices that statically hold the same data, first and second host computers that respectively manage the first and second storage devices, and search for the data A terminal for giving instructions to the first and second host computers preferentially according to the time required for the search.

【0015】この発明のうち請求項3にかかるものは、
静的に同一のデータが保持される第1及び第2の記憶装
置と、前記第1及び第2の記憶装置をそれぞれ管理する
第1及び第2のホストコンピュータと、前記データの検
索を実行する命令を、前記第1及び第2のホストコンピ
ュータのうち、停止していない方に優先的に振り分けて
与える端末とを備えるデータ検索システムである。
According to a third aspect of the present invention,
First and second storage devices that statically hold the same data, first and second host computers that respectively manage the first and second storage devices, and search for the data A data search system comprising: a terminal that preferentially distributes instructions to a non-stop one of the first and second host computers.

【0016】[0016]

【発明の実施の形態】基本的思想.図1は以下に示す、
この発明の参考例及び実施の形態1乃至3にかかるデー
タ検索システムのいずれに対しても採用される構成を示
す模式図である。主ホストコンピュータ1、副ホストコ
ンピュータ2及びホスト端末3がネットワーク4によっ
て相互に結ばれている点、互いに静的な同一のデータか
ら構成されている主データ5及び副データ6がいずれも
ディスクなどの記憶装置において、それぞれ主ホストコ
ンピュータ1及び副ホストコンピュータ2によって管理
されている点で従来の技術と共通している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Basic Concept. FIG. 1 shows the following:
FIG. 6 is a schematic diagram showing a configuration adopted for any of the data search systems according to the reference example of the present invention and the first to third embodiments. The main host computer 1, the sub host computer 2, and the host terminal 3 are interconnected by a network 4, and the main data 5 and the sub data 6, which are composed of the same static data, are all discs or the like. The storage device is common to the conventional technology in that the storage device is managed by the main host computer 1 and the sub host computer 2, respectively.

【0017】但し、副ホストコンピュータ2にも主ホス
トコンピュータ1のデータ検索プログラム8と同じプロ
グラムが動作している。図1においては主ホストコンピ
ュータ1及び副ホストコンピュータ2に格納されている
データ検索プログラム8に対してそれぞれ8a,8bと
表記している。
However, the same program as the data search program 8 of the main host computer 1 operates on the sub host computer 2. In FIG. 1, the data search programs 8 stored in the main host computer 1 and the sub host computer 2 are denoted by 8a and 8b, respectively.

【0018】またホスト端末3は検索要求及びデータ表
示プログラム7の代わりにホスト自動選択機能付き検索
要求およびデータ表示プログラム11を有している。こ
のホスト自動選択機能付き検索要求およびデータ表示プ
ログラム11はホスト選択条件13に基づいて、検索要
求を主ホストコンピュータ1及び副ホストコンピュータ
2のいずれに対して優先的に振り分けて与えるかを決定
する。
The host terminal 3 has a search request and data display program 11 with a host automatic selection function instead of the search request and data display program 7. The search request with host automatic selection function and data display program 11 determines, based on the host selection condition 13, to which of the main host computer 1 and the sub host computer 2 is preferentially distributed and given.

【0019】図2は、図1に示されたシステムにおける
データ検索の動作を示すフローチャートである。データ
検索は、ホスト端末3のホスト自動選択機能付き検索要
求及び表示プログラム11によって検索する内容を選択
する(ステップST201)。例えば、検索Aという検
索内容が選択された場合は、検索Aの検索条件を入力す
る画面を表示し、この検索条件が入力される(ステップ
ST202)。
FIG. 2 is a flowchart showing the operation of data retrieval in the system shown in FIG. In the data search, the content to be searched is selected by the search request and display program 11 with the host automatic selection function of the host terminal 3 (step ST201). For example, when the search content of search A is selected, a screen for inputting search conditions of search A is displayed, and the search conditions are input (step ST202).

【0020】後述する各実施の形態において示される様
にして、選択された検索Aを、ホスト自動選択機能付き
検索要求及び表示プログラム11が優先的に主ホストコ
ンピュータ1へ送信するように決定する(ステップST
203)。入力された検索要求(入力された検索条件及
び検索命令)は、ネットワーク4を介して主ホストコン
ピュータ1に送信され(ステップST204)、主ホス
トコンピュータ1のデータ検索プログラム8aに渡され
る。データ検索プログラム8aは、受け取った検索条件
に基づき、主データ5を検索する(ステップST20
5)。
As described in each embodiment described later, it is determined that the selected search A is transmitted to the main host computer 1 preferentially by the search request and display program 11 with the automatic host selection function (FIG. 1). Step ST
203). The input search request (input search condition and search command) is transmitted to the main host computer 1 via the network 4 (step ST204), and passed to the data search program 8a of the main host computer 1. The data search program 8a searches the main data 5 based on the received search conditions (step ST20).
5).

【0021】データ検索が完了すれば、ホスト端末3は
ネットワーク4を介して主ホストコンピュータ1から検
索結果データを受信し(ステップST206)、ホスト
自動選択機能付き検索要求及び表示プログラム11が受
信した検索結果データをホスト端末3の画面に表示させ
る(ステップST207)。
When the data search is completed, the host terminal 3 receives the search result data from the main host computer 1 via the network 4 (step ST206), and the search request with the host automatic selection function and the search received by the display program 11 The result data is displayed on the screen of the host terminal 3 (step ST207).

【0022】以上のような検索要求の送受信、検索結果
データの送受信が行われる際、検索条件や検索結果デー
タは、ネットワーク4の検索A要求応答経路9を使用す
る。
When the above-described transmission / reception of search requests and transmission / reception of search result data are performed, search conditions and search result data use the search A request response path 9 of the network 4.

【0023】一方、ステップST201において検索B
が選択された場合には、これをホスト自動選択機能付き
検索要求及び表示プログラム11が、後述する各実施の
形態において示される様にして、優先的に副ホストコン
ピュータ2に送信するように決定する(ステップST2
03)。入力された検索要求(入力された検索条件及び
検索命令)は、ネットワーク4を介して副ホストコンピ
ュータ2に送信され(ステップST204)、副ホスト
コンピュータ2のデータ検索プログラム8bに渡され
る。データ検索プログラム8bは、受け取った検索条件
に基づき、副データ6を検索する(ステップST20
5)。
On the other hand, in step ST201, search B
Is selected, the search request and display program 11 with the host automatic selection function determines that this is preferentially transmitted to the secondary host computer 2 as shown in each embodiment described later. (Step ST2
03). The input search request (input search condition and search command) is transmitted to the secondary host computer 2 via the network 4 (step ST204), and passed to the data search program 8b of the secondary host computer 2. The data search program 8b searches the sub-data 6 based on the received search condition (step ST20).
5).

【0024】データ検索が完了すれば、ホスト端末3は
ネットワーク4を介して副ホストコンピュータ2から検
索結果データを受信し(ステップST206)、ホスト
自動選択機能付き検索要求及び表示プログラム11が受
信した検索結果データをホスト端末3の画面に表示させ
る(ステップST207)。
When the data search is completed, the host terminal 3 receives the search result data from the secondary host computer 2 via the network 4 (step ST206), and the search request with the host automatic selection function and the search received by the display program 11 The result data is displayed on the screen of the host terminal 3 (step ST207).

【0025】以上のような検索要求の送受信、検索結果
データの送受信が行われる際、検索条件や検索結果デー
タは、ネットワーク4の検索B要求応答経路12を使用
する。
When the above-described transmission / reception of search requests and transmission / reception of search result data are performed, search conditions and search result data use the search B request response path 12 of the network 4.

【0026】つまり、ホスト端末3からの検索要求は、
ホスト自動選択機能付き検索要求及び表示プログラム1
1が所定の条件で決定したホストコンピュータが優先的
に受信し、データ検索プログラム8a,8bのいずれか
がそれぞれ主データ5及び副データ6のいずれかを検索
することになる。以下の各実施の形態においては、ステ
ップST203において、どの様にして検索要求を優先
的に一方のホストコンピュータへ振り分けるかについて
説明される。
That is, the search request from the host terminal 3 is:
Search request and display program 1 with automatic host selection function
The host computer, which is determined under the predetermined condition, receives the data preferentially, and one of the data retrieval programs 8a and 8b retrieves either the main data 5 or the sub data 6, respectively. In the following embodiments, how to preferentially distribute a search request to one host computer in step ST203 will be described.

【0027】参考例.表1は、本発明の参考例にかかる
ホスト選択条件13を示す。
Reference example. Table 1 shows host selection conditions 13 according to the reference example of the present invention.

【0028】[0028]

【表1】 [Table 1]

【0029】検索機能名称として検索A〜Fが挙げられ
ており、これらの検索機能名称は、少なくともその一部
が、あるいは全部がステップST201においてホスト
端末3に表示される。
Searches A to F are listed as search function names, and at least a part or all of these search function names are displayed on the host terminal 3 in step ST201.

【0030】例えば検索Aが選択された場合には表1か
ら検索実行ホストが主ホストコンピュータ1に割り当て
られており、検索Aについての検索要求は優先的に主ホ
ストコンピュータ1に振り分けられる。また、検索Bが
選択された場合には表1から検索実行ホストが副ホスト
コンピュータ2に割り当てられており、検索Bについて
の検索要求は優先的に副ホストコンピュータ2に振り分
けられる。
For example, when the search A is selected, the search execution host is assigned to the main host computer 1 from Table 1, and the search request for the search A is preferentially distributed to the main host computer 1. When the search B is selected, the search execution host is assigned to the secondary host computer 2 from Table 1, and the search request for the search B is distributed to the secondary host computer 2 with priority.

【0031】ここで「優先的に」とは、必ずしも振り分
けられたホストコンピュータが検索要求に応えることを
意味するのではない。例えば検索A,Eがこの順に連続
して選択された場合、表1に基づけばいずれの検索要求
も主ホストコンピュータ1が優先的に振り分けられる。
しかし検索Aの検索完了を待って検索Eを行うのでは処
理の迅速が図れない。そこで検索Aの検索完了以前に検
索Eを行うため、検索Eの検索要求には副ホストコンピ
ュータ2が対応する事になる。勿論、検索Eの検索要求
が生じた際に既に検索Aの検索が完了していれば、検索
Eの検索要求は主ホストコンピュータ1が対応する事に
なる。
Here, "preferentially" does not necessarily mean that the assigned host computer responds to the search request. For example, when the searches A and E are successively selected in this order, the main host computer 1 is preferentially allocated to any of the search requests based on Table 1.
However, if the search E is performed after the completion of the search A, the processing cannot be speeded up. Therefore, since the search E is performed before the search A is completed, the secondary host computer 2 responds to the search E search request. Of course, if the search for the search A has already been completed when the search request for the search E is generated, the main host computer 1 will respond to the search request for the search E.

【0032】なお、例えば特開平8−110881号公
報には、ネットワーク上の複数のワークステーションに
おいてクライアントがデータの転送を受けようとするサ
ーバの関係を定義した事前定義情報をクライアントに供
給する技術が開示されている。また、例えば特開昭63
−70367号公報の第4図には、応用プログラム名と
ホスト計算機番号とがエントリ毎に対応している技術が
開示されている。更に特開平6−266643号公報に
は複数のホストの各々についての性能、負荷、優先度に
ついての情報が登録されるホスト管理テーブル3が開示
されている。しかし、以下の各実施の形態に示されるよ
うなホスト選択条件13はいずれにも開示されていな
い。
[0032] For example, Japanese Patent Application Laid-Open No. HEI 8-110881 discloses a technique in which a plurality of workstations on a network provide a client with pre-defined information defining the relationship of a server to which the client intends to receive data transfer. It has been disclosed. In addition, for example,
FIG. 4 of -70367 discloses a technique in which an application program name and a host computer number correspond to each entry. Further, Japanese Patent Application Laid-Open No. 6-266643 discloses a host management table 3 in which information on performance, load, and priority for each of a plurality of hosts is registered. However, none of the host selection conditions 13 described in the following embodiments is disclosed.

【0033】実施の形態1.表2は、本発明の実施の形
態1にかかるホスト選択条件13を示す。
Embodiment 1 Table 2 shows the host selection condition 13 according to the first embodiment of the present invention.

【0034】[0034]

【表2】 [Table 2]

【0035】本実施の形態では検索実行ホストは時間帯
によって区分されており、例えば第1の時間帯(8:0
0〜17:00)においては検索要求を副ホストコンピ
ュータ2が優先的に処理し、第2の時間帯(17:00
〜00:00)においては検索要求を主ホストコンピュ
ータ1が優先的に処理する。
In the present embodiment, the search execution hosts are classified by time zone, for example, the first time zone (8: 0)
At 07:00 to 17:00), the secondary host computer 2 preferentially processes the search request, and the second time slot (17:00)
At 00:00), the main host computer 1 processes the search request with priority.

【0036】そして第1及び第2の時間帯における検索
は上記「基本的思想」の検索B,Aにそれぞれ相当す
る。従って何れか一方のホストコンピュータは検索命令
が与えられる可能性が低く、当該時間帯においてメンテ
ナンスを行う事ができる。また検索が集中する時間帯
(例えば上記第1の時間帯)には処理能力の高い方のホ
ストコンピュータ(例えば主ホストコンピュータ1)を
検索用に用いて迅速な検索を行う事ができ、検索が集中
しない時間帯(例えば上記第2の時間帯)には処理能力
の低い方のホストコンピュータ(例えば副ホストコンピ
ュータ2)を検索用に用いても迅速な検索を行う事がで
きる。その一方で、能力の高い方のホストコンピュータ
を検索以外で高い処理能力を要求される他のジョブに使
用する事ができる。
The searches in the first and second time zones correspond to the searches B and A in the above "basic idea", respectively. Therefore, any one of the host computers is unlikely to be given a search command, and can perform maintenance during the time period. In addition, in a time zone where search is concentrated (for example, the first time zone), a quick search can be performed using a host computer having a higher processing capacity (for example, the main host computer 1) for search. In a non-concentrated time zone (for example, the second time zone), a quick search can be performed by using a host computer having a lower processing capacity (for example, the secondary host computer 2) for the search. On the other hand, the host computer with the higher capability can be used for other jobs requiring high processing capability other than the search.

【0037】実施の形態2.表3は、本発明の実施の形
態2にかかるホスト選択条件13を示す。
Embodiment 2 Table 3 shows the host selection condition 13 according to the second embodiment of the present invention.

【0038】[0038]

【表3】 [Table 3]

【0039】本実施の形態では検索実行ホストは検索を
実行するのに必要な時間によって区分されている。例え
ば第1の検索時間(検索時間が10分以上)が必要な検
索要求については、検索要求を副ホストコンピュータ2
が優先的に処理し、第2の検索時間(検索時間が10分
未満)が必要な検索要求については、検索要求を主ホス
トコンピュータ1が優先的に処理する。従って所要時間
の短い検索は、所要時間の長い検索と別途に主ホストコ
ンピュータにおいて優先的に実行され、所要時間の短い
検索が所要時間の長い検索の終了を待つという事態を回
避してデータの検索を行う時間を短縮できる。
In the present embodiment, the search execution hosts are classified according to the time required to execute the search. For example, for a search request that requires the first search time (the search time is 10 minutes or more), the search request is sent to the secondary host computer 2.
Is processed preferentially, and for a search request requiring the second search time (the search time is less than 10 minutes), the main host computer 1 preferentially processes the search request. Therefore, a search with a short required time is preferentially executed in the main host computer separately from a search with a long required time, and a data search is performed while avoiding a situation where a search with a short required time waits for completion of a search with a long required time. Can be performed in a shorter time.

【0040】実施の形態3.検索要求を、主ホストコン
ピュータ1及び副ホストコンピュータ2のうち、停止し
ていない方に優先的に振り分けて与えることもできる。
このような制御をステップST203において行う事に
より、停止している方のホストコンピュータにおいて検
索命令が実行を待つという事態を回避してデータの検索
を行う時間を短縮できる。
Embodiment 3 The search request can be preferentially distributed to the non-stopped one of the primary host computer 1 and the secondary host computer 2 and given.
By performing such control in step ST203, it is possible to avoid a situation in which the search command waits for the stopped host computer to execute, thereby reducing the time for performing data search.

【0041】変形例.なお、上記参考例及び各実施の形
態では、ホストコンピュータを2台として説明したが、
3台以上でも同様の検索実行させるホストコンピュータ
を選択することは可能である。
Modification Example Note that, in the above reference example and each embodiment, two host computers have been described.
It is possible to select a host computer that performs the same search even for three or more computers.

【0042】[0042]

【発明の効果】以上のように、この発明によれば、第1
及び第2のホストコンピュータにかかる負荷が分散され
るので、データの検索を行う時間が短縮されるという効
果がある。
As described above, according to the present invention, the first
In addition, since the load on the second host computer is distributed, there is an effect that the time for performing data search is reduced.

【0043】特にこの発明のうち請求項1にかかるデー
タ検索システムによれば、検索が行われる時間帯によっ
て第1及び第2のホストコンピュータに優先的に振り分
けて検索命令が与えられる。従って何れか一方のホスト
コンピュータは検索命令が与えられる可能性が低く、当
該時間帯においてメンテナンスを行う事ができる。また
検索が集中する時間帯には処理能力の高い方のホストコ
ンピュータを検索用に用いて迅速な検索を行う事がで
き、検索が集中しない時間帯には処理能力の低い方のホ
ストコンピュータを検索用に用いても迅速な検索を行う
事ができる一方で、能力の高い方のホストコンピュータ
を検索以外で高い処理能力を要求される他のジョブに使
用する事ができる。
In particular, according to the data search system according to the first aspect of the present invention, a search command is given to the first and second host computers preferentially according to the time zone in which the search is performed. Therefore, any one of the host computers is unlikely to be given a search command, and can perform maintenance during the time period. In addition, when the search is concentrated, a quick search can be performed using the host computer with the higher processing capacity for the search, and when the search is not concentrated, the host computer with the lower processing capacity is searched. While a quick search can be performed even when the host computer is used, a host computer having a higher capability can be used for other jobs requiring a higher processing capability other than the search.

【0044】特にこの発明のうち請求項2にかかるデー
タ検索システムによれば、検索に必要な時間によって第
1及び第2のホストコンピュータに優先的に振り分けて
検索命令が与えられる。従って所要時間の短い検索は、
所要時間の長い検索と別途に実行され、所要時間の短い
検索が所要時間の長い検索の終了を待つという事態を回
避してデータの検索を行う時間を短縮できる。
In particular, according to the data search system according to the second aspect of the present invention, a search command is preferentially distributed to the first and second host computers according to the time required for the search. Therefore, a search with a short time required
A search that is executed separately from a search that requires a long time can be shortened, and a search that requires a short time can be prevented from waiting for the end of a search that requires a long time to complete, thereby shortening the time for searching data.

【0045】特にこの発明のうち請求項3にかかるデー
タ検索システムによれば、第1及び第2のホストコンピ
ュータのうち、停止していない方に優先的に振り分けて
検索命令が与えられる。従って停止している方のホスト
コンピュータにおいて検索命令が実行を待つという事態
を回避してデータの検索を行う時間を短縮できる。
In particular, according to the data search system of the third aspect of the present invention, the search command is preferentially distributed to the non-stopped one of the first and second host computers. Accordingly, it is possible to avoid a situation in which the search command waits for the stopped host computer to be executed, thereby shortening the time for performing the data search.

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

【図1】 この発明の実施の形態1乃至3にかかるデー
タ検索システムのいずれに対しても採用される構成を示
す模式図である。
FIG. 1 is a schematic diagram showing a configuration employed for any of the data search systems according to Embodiments 1 to 3 of the present invention.

【図2】 図1に示されたシステムにおけるデータ検索
の動作を示すフローチャートである。
FIG. 2 is a flowchart showing an operation of a data search in the system shown in FIG. 1;

【図3】 従来のデータ検索システムの構成を示す模式
図である。
FIG. 3 is a schematic diagram showing a configuration of a conventional data search system.

【図4】 従来のデータ検索の動作を示すフローチャー
トである。
FIG. 4 is a flowchart showing a conventional data search operation.

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

1 主ホストコンピュータ、2 副ホストコンピュー
タ、3 ホスト端末、4ネットワーク、5 主データ、
6 副データ、8a,8b データ検索プログラム、1
1 ホスト自動選択機能付き検索要求およびデータ表示
プログラム、13 ホスト選択条件。
1 primary host computer, 2 secondary host computers, 3 host terminals, 4 networks, 5 main data,
6 Sub-data, 8a, 8b Data search program, 1
1 Search request and data display program with host automatic selection function, 13 Host selection conditions.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 静的に同一のデータが保持される第1及
び第2の記憶装置と、 前記第1及び第2の記憶装置をそれぞれ管理する第1及
び第2のホストコンピュータと、 前記データの検索を実行する命令を、前記検索が行われ
る時間帯によって前記第1及び第2のホストコンピュー
タに優先的に振り分けて与える端末とを備えるデータ検
索システム。
A first and a second storage device that statically hold the same data; a first and a second host computer that respectively manage the first and the second storage device; And a terminal for giving instructions to execute the search to the first and second host computers preferentially according to the time zone in which the search is performed.
【請求項2】 静的に同一のデータが保持される第1及
び第2の記憶装置と、 前記第1及び第2の記憶装置をそれぞれ管理する第1及
び第2のホストコンピュータと、 前記データの検索を実行する命令を、前記検索の所要時
間によって前記第1及び第2のホストコンピュータに優
先的に振り分けて与える端末とを備えるデータ検索シス
テム。
2. A first and a second storage device that statically store the same data, a first and a second host computer respectively managing the first and the second storage device, and the data And a terminal for giving instructions for executing the search to the first and second host computers preferentially according to the time required for the search.
【請求項3】 静的に同一のデータが保持される第1及
び第2の記憶装置と、 前記第1及び第2の記憶装置をそれぞれ管理する第1及
び第2のホストコンピュータと、 前記データの検索を実行する命令を、前記第1及び第2
のホストコンピュータのうち、停止していない方に優先
的に振り分けて与える端末とを備えるデータ検索システ
ム。
3. A first and a second storage device that statically retain the same data, a first and a second host computer that respectively manage the first and the second storage device, and the data The first and second instructions for executing the search
A data search system, which preferentially distributes and gives to a non-stop host computer.
JP9301730A 1997-11-04 1997-11-04 Data retrieval system Pending JPH11143884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9301730A JPH11143884A (en) 1997-11-04 1997-11-04 Data retrieval system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9301730A JPH11143884A (en) 1997-11-04 1997-11-04 Data retrieval system

Publications (1)

Publication Number Publication Date
JPH11143884A true JPH11143884A (en) 1999-05-28

Family

ID=17900475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9301730A Pending JPH11143884A (en) 1997-11-04 1997-11-04 Data retrieval system

Country Status (1)

Country Link
JP (1) JPH11143884A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065729A (en) * 2006-09-11 2008-03-21 Toshiba Corp Information processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065729A (en) * 2006-09-11 2008-03-21 Toshiba Corp Information processing device

Similar Documents

Publication Publication Date Title
US5341499A (en) Method and apparatus for processing multiple file system server requests in a data processing network
US7325041B2 (en) File distribution system in which partial files are arranged according to various allocation rules associated with a plurality of file types
US7464138B2 (en) Mirror queue in a shared queue environment
JPH11232226A (en) Cooperative work aiding system and storage medium
JP2000172657A (en) Distributed processing system, distributed processing method, computer-readable recording medium storing a program for causing a computer to execute the method, server device, and client device
CN111897638A (en) Distributed task scheduling method and system
JP2019008417A (en) Information processing apparatus, memory control method and memory control program
JPH11282686A (en) Network computer system
JPH06332833A (en) Server operation system
CN113761075B (en) Method, device, apparatus and computer-readable medium for switching database
JPS6041160A (en) Control system of computer system
WO2006057040A1 (en) Computer system and information processing method
JPH11312154A (en) Cooperative work aiding system and recording medium thereof
JPH11143884A (en) Data retrieval system
JPH11232233A (en) Network computer management method and network computer system
US11500622B2 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium for coordinating a switch to an updated program in a cluster to suppress confusion on users
JPH04199339A (en) Distributed transaction file control method for distributed processing system
JPH05314179A (en) Data retrieval processing method for distributed data base
JP2919240B2 (en) I/O priority control method
JP2001265614A (en) Dynamic linkage information takeover method, linkage processing system, and program recording medium therefor
JP2006053732A (en) Storage device allocation method and management server and program therefor
JPH103458A (en) Load balancing method for database management system
JPH0895932A (en) System switching control method for distributed processing system
JPH07262118A (en) Information utilization system
JP3028544B2 (en) Load balancing method for distributed processing system