Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2944123B2 - How to search the database - Google Patents
[go: Go Back, main page]

JP2944123B2 - How to search the database - Google Patents

How to search the database

Info

Publication number
JP2944123B2
JP2944123B2 JP2025158A JP2515890A JP2944123B2 JP 2944123 B2 JP2944123 B2 JP 2944123B2 JP 2025158 A JP2025158 A JP 2025158A JP 2515890 A JP2515890 A JP 2515890A JP 2944123 B2 JP2944123 B2 JP 2944123B2
Authority
JP
Japan
Prior art keywords
file
update
terminal device
local
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.)
Expired - Fee Related
Application number
JP2025158A
Other languages
Japanese (ja)
Other versions
JPH03230234A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2025158A priority Critical patent/JP2944123B2/en
Publication of JPH03230234A publication Critical patent/JPH03230234A/en
Application granted granted Critical
Publication of JP2944123B2 publication Critical patent/JP2944123B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、センタ側に検索対象となるデータベースを
格納したマスタファイルを設け、これを端末装置におい
て検索するデータベースの検索方法に関する。
Description: TECHNICAL FIELD The present invention relates to a database search method in which a center file is provided with a master file storing a database to be searched, and the master file is searched by a terminal device.

(従来の技術) 技術情報,営業情報,個人情報等、大量に蓄積される
各種の情報の検索は、今日、コンピュータを用いたオン
ライン検索が主流となっている。
(Prior Art) Online search using a computer is currently the mainstream for searching various types of information accumulated in large quantities, such as technical information, sales information, and personal information.

第2図に、一般的な従来のデータベースの検索方法説
明図を示す。
FIG. 2 is an explanatory diagram of a general conventional database search method.

図のセンタ10には、技術情報,その他の検索対象とな
るデータベースを格納したマスタファイル11が設けられ
ている。このセンタ10に、通信回線20を介してターミナ
ルコントローラ30が接続され、ターミナルコントローラ
30には、1台あるいは複数台の端末装置40が接続されて
いる。
The center 10 is provided with a master file 11 storing technical information and other databases to be searched. A terminal controller 30 is connected to the center 10 via a communication line 20.
One or a plurality of terminal devices 40 are connected to 30.

オペレータは、端末装置40を操作し、必要なデータを
得るための検索キーを入力する。この検索キーは、ター
ミナルコントローラ30及び通信回線20を通じてセンタ10
に送信され、センタ10においてマスタファイル11の検索
が実行される。その検索結果は、再び通信回線20及びタ
ーミナルコントローラ30を介して端末装置40に送信され
る。マスタファイル11に新たに格納すべき更新データ12
は、蓄積しておき、定期的にマスタファイル11に追加さ
れる。
The operator operates the terminal device 40 and inputs a search key for obtaining necessary data. This search key is input to the center 10 through the terminal controller 30 and the communication line 20.
And the center 10 searches for the master file 11. The search result is transmitted to the terminal device 40 via the communication line 20 and the terminal controller 30 again. Update data 12 to be newly stored in the master file 11
Are stored and periodically added to the master file 11.

(発明が解決しようとする課題) ところで、第2図に示したような従来のデータベース
検索方法では、次のような問題が生じていた。
(Problems to be Solved by the Invention) By the way, the following problems have occurred in the conventional database search method as shown in FIG.

先ず、センタ10においてマスタファイル11に更新デー
タ12を追加する更新作業の間は、一旦、マスタファイル
11を使用する業務が停止される。即ち、マスタファイル
11の更新中は、端末装置40からの検索が禁止され、一定
時間待機しなければならない。また、端末装置40が、タ
ーミナルコントローラ30や通信回線20を介して常にマス
タファイル11を検索することから、データ伝送速度上、
検索作業の高速化に限界があるといった問題があった。
First, during the update work in which the center 10 adds the update data 12 to the master file 11, once the master file
Business using 11 is stopped. That is, the master file
During the update of 11, the search from the terminal device 40 is prohibited, and it is necessary to wait for a certain time. Further, since the terminal device 40 always searches the master file 11 via the terminal controller 30 and the communication line 20, the data transmission speed is increased.
There is a problem that the speed of the search operation is limited.

本発明は以上の点に着目してなされたもので、データ
ベースの検索をより効率的に高速で行なうことができる
データベース検索方法を提供することを目的とするもの
である。
The present invention has been made in view of the above points, and an object of the present invention is to provide a database search method capable of performing a database search more efficiently and at a high speed.

(課題を解決するための手段) 本発明のデータベース検索方法は、センタ側には、検
索対象となるデータベースを格納したマスタファイルを
設け、前記センタと端末装置との間を中継するターミナ
ルコントローラには、前記マスタファイルの更新の都
度、新たに更新されたデータのみを抽出して格納した更
新履歴ファイルを設け、前記端末装置には、前記マスタ
ファイルを所定のタイミングでコピーしたローカルファ
イルを設け、前記端末装置による前記データベースの検
索は、前記ローカルファイルを参照すると共に、前記更
新履歴ファイルの、当該ローカルファイルのコピー後に
作成された更新データを参照して行なうことを特徴とす
るものである。
(Means for Solving the Problems) According to a database search method of the present invention, a master file storing a database to be searched is provided on a center side, and a terminal controller for relaying between the center and a terminal device is provided. Each time the master file is updated, an update history file that extracts and stores only newly updated data is provided, and the terminal device is provided with a local file obtained by copying the master file at a predetermined timing. The search of the database by the terminal device is performed by referring to the local file and referring to update data of the update history file created after copying the local file.

(作用) 本発明の方法は、センタ(10)と端末装置(40)の間
を中継するターミナルコントローラ(30)に、マスタフ
ァイル(11)の更新時に新たに更新されたデータのみか
ら成る更新履歴ファイル(31)が設けられている。ま
た、端末装置(40)には、マスタファイル(11)を定期
的にコピーしたローカルファイル(41)が設けられてい
る。従って、ローカルファイル(41)がマスタファイル
(11)と同時に更新されなくても、ローカルファイル
(41)と更新履歴ファイル(31)を参照することにより
最新のデータベースを検索できる。
(Operation) The method of the present invention provides a terminal controller (30) relaying between a center (10) and a terminal device (40) to an update history consisting of only data newly updated when a master file (11) is updated. A file (31) is provided. The terminal device (40) is provided with a local file (41) in which the master file (11) is periodically copied. Therefore, even if the local file (41) is not updated at the same time as the master file (11), the latest database can be searched by referring to the local file (41) and the update history file (31).

(実施例) 以下、本発明を図の実施例を用いて詳細に説明する。(Examples) Hereinafter, the present invention will be described in detail with reference to the illustrated examples.

第1図は、本発明のデータベースの検索方法実施例を
示す説明図である。
FIG. 1 is an explanatory diagram showing an embodiment of a database search method according to the present invention.

図のシステムは、センタ10に設けられたマスタファイ
ル11を、通信回線20及びターミナルコントローラ30を介
して端末装置40が検索する構成のものである。センタ10
にはマスタファイル11が設けられ、ここには検索対象と
なるデータベースが格納されている。
The system shown in the figure has a configuration in which a terminal device 40 searches for a master file 11 provided in a center 10 via a communication line 20 and a terminal controller 30. Center 10
Is provided with a master file 11, in which a database to be searched is stored.

一方、センタ10には、通信回線20を介してターミナル
コントローラ30が接続されている。このターミナルコン
トローラ30は、センタ10と端末装置40との間を中継する
もので、図示していない複数の端末装置が、このターミ
ナルコントローラ30に接続されているものとする。
On the other hand, a terminal controller 30 is connected to the center 10 via a communication line 20. The terminal controller 30 relays between the center 10 and the terminal device 40, and it is assumed that a plurality of terminal devices (not shown) are connected to the terminal controller 30.

そして、本発明においては、ターミナルコントローラ
30に、更新履歴ファイル31が設けられている。この更新
履歴ファイル31は、センタ10においてマスタファイル11
を更新する際に、新たに追加等される更新データ12のみ
を抽出して格納したものである。尚、マスタファイル11
の更新に当たっては、データの追加,削除,変更が考え
られるが、以下、これらの内容を示すデータを、一括し
て更新データ12と表現する。
And in the present invention, the terminal controller
An update history file 31 is provided in 30. The update history file 31 is stored in the master file 11 in the center 10.
Is updated and only the newly added update data 12 is extracted and stored. The master file 11
In updating the data, addition, deletion, and change of data may be considered. Hereinafter, data indicating these contents will be collectively referred to as update data 12.

一方、端末装置40には、センタ10のマスタファイル11
を定期的にコピーしたローカルファイル41に設けられて
いる。
On the other hand, the terminal device 40 has a master file 11 of the center 10.
Is provided in the local file 41 that is periodically copied.

以上のシステムにおいて、本発明は次のように実施さ
れる。
In the above system, the present invention is implemented as follows.

先ず、センタ10のマスタファイル11は、定期的に、例
えば1日おきにあるいは1週間おきに内容が更新される
ものとする。この場合、更新データ12が、マスタファイ
ル11に追加等されて更新が行なわれる。また、これと同
時に、更新データ12が抽出され、通信回線20を介して、
ターミナルコントローラ30の更新履歴ファイル31に格納
される。一方、マスタファイル11の更新とは別に、例え
ば、比較的長間隔で定期的に端末装置40にマスタファイ
ル11がコピーされ、ローカルファイル41が作成される。
First, it is assumed that the contents of the master file 11 of the center 10 are updated periodically, for example, every other day or every other week. In this case, the update data 12 is updated by being added to the master file 11 or the like. At the same time, the update data 12 is extracted, and via the communication line 20,
It is stored in the update history file 31 of the terminal controller 30. On the other hand, apart from the update of the master file 11, for example, the master file 11 is periodically copied to the terminal device 40 at relatively long intervals, and the local file 41 is created.

この状態で、オペレータが検索を行なう場合、先ず、
ローカルファイル41が検索対象とされ、更にターミナル
コントローラ30の更新履歴ファイル31を参照して検索作
業が行なわれる。これにより、実際に端末装置40がマス
タファイル11を直接検索した場合と同等の結果が得られ
ることになる。
When the operator performs a search in this state, first,
The local file 41 is set as a search target, and a search operation is further performed with reference to the update history file 31 of the terminal controller 30. As a result, the same result as when the terminal device 40 actually searches the master file 11 directly is obtained.

また、ターミナルコントローラ30と端末装置40との通
信は、高速で行なうことができるため、検索レスポンス
タイムの短縮化を図ることができる。更に、通信回線20
に何らかの障害が発生した場合であっても、端末装置40
における検索作業に支障が生じない。
Further, since communication between the terminal controller 30 and the terminal device 40 can be performed at high speed, the search response time can be reduced. Furthermore, the communication line 20
Terminal device 40
There is no hindrance to the search operation in.

第3図には、本発明の方法の他の実施例を示す。 FIG. 3 shows another embodiment of the method of the present invention.

図において、センタ10にはAマスタファイル11aとB
マスタファイル11bが設けられている。また、これらの
マスタファイルを更新制御するために、バッチ用ファイ
ル制御部13及びオンライン用ファイル制御部14が設けら
れている。また、ターミナルコントローラ30には、セン
タ10のマスタファイルをコピーしたサブマスタファイル
32と、先に第1図において説明した更新履歴ファイル31
が設けられている。また、端末装置40には、マスタファ
イルをコピーしたAローカルファイル41aとBローカル
ファイル41bとが設けられている。
In the figure, the center 10 has A master files 11a and B
A master file 11b is provided. Further, a batch file control unit 13 and an online file control unit 14 are provided to update and control these master files. In addition, the terminal controller 30 has a submaster file that is a copy of the master file of the center 10.
32 and the update history file 31 described earlier in FIG.
Is provided. Further, the terminal device 40 is provided with an A local file 41a and a B local file 41b in which the master file is copied.

この実施例は以下のように実施される。 This embodiment is implemented as follows.

先ず、センタ10においては、日常業務の中で次々と更
新データ12が作成され、バッチ用ファイル制御部13によ
り、例えばAマスタファイル11aが更新される。この
間、オンライン用ファイル制御部14は、Bマスタファイ
ル11bを検索用として使用し、端末装置40の検索を受付
ける。即ち、この実施例においては、センタ10において
2つのマスタファイルを設け、一方のマスタファイルが
更新処理中は他方のマスタファイルにより検索を受付け
るため、何れかのマスタファイル更新中に検索業務が中
断することがない。
First, in the center 10, the update data 12 is created one after another in daily work, and the batch file control unit 13 updates, for example, the A master file 11a. During this time, the online file control unit 14 uses the B master file 11b for search and accepts the search of the terminal device 40. In other words, in this embodiment, two master files are provided in the center 10, and while one master file is being updated, the search is accepted by the other master file, so that the search operation is interrupted during the update of any master file. Nothing.

次に、ターミナルコントローラ30には、センタ10のマ
スタファイルを所定のタイミングでコピーしたサブマス
タファイル32が設けられる。更に、センタ10におけるマ
スタファイルの更新の都度、新たに更新された更新デー
タ12が抽出され、更新履歴ファイル31に格納される。こ
れにより、サブマスタファイル32と更新履歴ファイル31
を参照すれば、センタ10の最新に更新されたマスタファ
イルを参照するのと同等の検索結果が得られることにな
る。
Next, the terminal controller 30 is provided with a submaster file 32 obtained by copying the master file of the center 10 at a predetermined timing. Further, every time the master file is updated in the center 10, the newly updated data 12 is extracted and stored in the update history file 31. As a result, the submaster file 32 and the update history file 31
, A search result equivalent to referring to the latest updated master file of the center 10 can be obtained.

一方、端末装置40には、例えばターミナルコントロー
ラ30のサブマスタファイル32を適当な時期にコピーした
2つのローカルファイル41a,41bが設けられる。端末装
置40にローカルファイルを2つ設けたのは、一方のロー
カルファイルの更新中は、他方のローカルファイルを使
用して検索作業を実施し、検索作業の中断を防止するた
めである。
On the other hand, the terminal device 40 is provided with two local files 41a and 41b obtained by copying the submaster file 32 of the terminal controller 30, for example, at an appropriate time. The reason why two local files are provided in the terminal device 40 is that, while one local file is being updated, a search operation is performed using the other local file, thereby preventing interruption of the search operation.

このようなシステムにおいて、端末装置40を操作して
所定の検索を行なう場合には、先ず、端末装置の一方の
ローカルファイル、例えばAローカルファイル41aを検
索し、同時にターミナルコントローラ30の更新履歴ファ
イル31を参照する。これにより、先に第1図に説明した
と同様に、センタ10における最新に更新されたマスタフ
ァイルを検索したと同等の検索結果が得られる。
In such a system, when performing a predetermined search by operating the terminal device 40, first, one local file of the terminal device, for example, the A local file 41a is searched, and at the same time, the update history file 31 of the terminal controller 30 is searched. See As a result, a search result equivalent to the search for the latest updated master file in the center 10 is obtained, as described above with reference to FIG.

尚、第3図に示したようなシステムを運用する場合、
ターミナルコントローラ30のサブマスタファイル32、更
新履歴ファイル31あるいは端末装置40の各ローカルファ
イル41a,41bの更新内容や更新時期が問題となる。
When operating a system as shown in FIG. 3,
The content and time of update of the submaster file 32 of the terminal controller 30, the update history file 31, or the local files 41a and 41b of the terminal device 40 become a problem.

第4図以下で、その具体的な説明を行なう。 A specific description thereof will be given below with reference to FIG.

第4図は、第3図に示したシステムのファイル更新の
システムフローチャートを示す。
FIG. 4 shows a system flowchart of file updating of the system shown in FIG.

第4図において、上位装置51,下位装置52と示したの
は、例えばターミナルコントローラ30のファイルを更新
する場合、上位装置はセンタ10、下位装置はターミナル
コントローラ30に相当し、端末装置40のローカルファイ
ルを更新する場合には、上位装置51はターミナルコント
ローラ30に相当し、下位装置52は端末装置40に相当する
からである。
In FIG. 4, the upper device 51 and the lower device 52 are indicated by, for example, when updating a file of the terminal controller 30, the upper device corresponds to the center 10, the lower device corresponds to the terminal controller 30, and the local device of the terminal device 40 is updated. This is because, when updating a file, the upper device 51 corresponds to the terminal controller 30 and the lower device 52 corresponds to the terminal device 40.

図において、上位装置51が自己のファイル更新を完了
すると(ステップ)、下位装置52に対しファイル更新
通知が行なわれる(ステップ)。このファイル更新通
知は、必ずしも上位装置51のファイル更新と同時でな
く、上位装置51が数回ファイル更新をした後であっても
よい。
In the figure, when the higher-level device 51 completes its own file update (step), a file update notification is sent to the lower-level device 52 (step). This file update notification is not necessarily performed at the same time as the file update of the higher-level device 51, and may be performed after the higher-level device 51 has updated the file several times.

ファイル更新通知が下位装置52に対してなされると、
下位装置52は、上位装置51のバージョンと下位装置52の
バージョンとを比較する。即ち、更新バージョンが一致
している場合には、下位装置52のファイルの更新は必要
としない。逆に、更新バージョンが不一致のときには、
更新データの要求を上位装置51に対して行なう(ステッ
プ)。上位装置51は、この要求に従って更新データを
下位装置52に向けて送信する(ステップ)。その後、
下位装置52はファイル更新を行なう(ステップ)。
When the file update notification is issued to the lower-level device 52,
The lower device 52 compares the version of the upper device 51 with the version of the lower device 52. That is, if the updated versions match, the file of the lower-level device 52 does not need to be updated. Conversely, if the updated versions do not match,
A request for update data is made to the host device 51 (step). The higher-level device 51 transmits update data to the lower-level device 52 according to this request (step). afterwards,
The lower-level device 52 updates the file (step).

第5図〜第7図は、第3図に示した端末装置40のロー
カルファイル更新手順の説明図である。
5 to 7 are explanatory diagrams of the local file update procedure of the terminal device 40 shown in FIG.

先ず、第5図において、ターミナルコントローラ30か
ら端末装置40に対しファイル更新通知が行なわれる。こ
れに対して、端末装置40はローカルファイルのバージョ
ンを確認し、ターミナルコントローラ30に対し更新デー
タ要求を行なう。即ち、この例では、更新履歴ファイル
31は更新1から更新4まで4回のバージョンアップが繰
返されている。これに対し、端末装置40のAローカルフ
ァイル41a及びBローカルファイル41bは、何れも更新1
から更新2までのバージョンアップしかされていない。
そこで、不足分の更新を行なうため更新データ要求がな
される。
First, in FIG. 5, a file update notification is sent from the terminal controller 30 to the terminal device 40. On the other hand, the terminal device 40 checks the version of the local file and requests the terminal controller 30 for update data. That is, in this example, the update history file
The version 31 is updated four times from update 1 to update 4. In contrast, both the A local file 41a and the B local file 41b of the terminal device 40 are updated 1
Only the version up to Update 2 has been updated.
Therefore, an update data request is made to update the shortage.

第6図において、ターミナルコントローラ30は、更新
データを端末装置40に向けて送信する。端末装置40は、
先ず、Aローカルファイル41aを更新する。このAロー
カルファイル41aの更新中は、検索要求に対し、Bロー
カルファイル41bが使用され、同時にターミナルコント
ローラ30の更新履歴ファイル31が参照される。
In FIG. 6, the terminal controller 30 transmits update data to the terminal device 40. The terminal device 40
First, the A local file 41a is updated. During the update of the A local file 41a, the B local file 41b is used for the search request, and at the same time, the update history file 31 of the terminal controller 30 is referred to.

次に、Aローカルファイル41aの更新が終了すると、
第7図に示すように、Bローカルファイルの更新が実行
される。この場合、検索要求があると、Aローカルファ
イル41aが参照される。
Next, when the update of the A local file 41a is completed,
As shown in FIG. 7, the B local file is updated. In this case, when there is a search request, the A local file 41a is referred to.

このような手順でファイルの更新を行なえば、検索作
業が中断することがない。
If the file is updated in such a procedure, the search operation is not interrupted.

ところで、ターミナルコントローラ30に接続された図
示しない複数の端末は、それぞれ常に同一のバージョン
でローカルファイルを使用しているとは限らない。各端
末装置が、別々のバージョンでローカルファイルを所有
している場合の動作を次に説明する。
By the way, a plurality of terminals (not shown) connected to the terminal controller 30 do not always use the same version of the local file. The operation when each terminal device owns a local file in a different version will be described below.

第8図は、端末別の検索方法を示す説明図である。 FIG. 8 is an explanatory diagram showing a search method for each terminal.

図において、端末装置40は、ローカルファイル41を所
有し、端末装置40′はローカルファイル41′を所有して
いる。ここで、ローカルファイル41は、更新1,2がなさ
れたもので、ローカルファイル41′は更新4までされた
バージョンのものである。
In the figure, a terminal device 40 owns a local file 41, and a terminal device 40 'owns a local file 41'. Here, the local file 41 is the one updated and updated, and the local file 41 'is the version up to the updated four.

ここで、端末装置40を使用した検索要求があると、ロ
ーカルファイル41が参照されると共に、ターミナルコン
トローラ30(第3図)の更新履歴ファイル31が参照され
る。この場合、更新履歴ファイル31の更新データのう
ち、更新3から更新5までの更新データが合わせて参照
されることになる。一方、端末装置40′を用いて検索要
求があった場合、ローカルファイル41′を参照すると共
に、更新履歴ファイル31の更新5の部分の更新データが
参照されることになる。
Here, when there is a search request using the terminal device 40, the local file 41 is referenced and the update history file 31 of the terminal controller 30 (FIG. 3) is referenced. In this case, among the update data in the update history file 31, the update data from update 3 to update 5 is also referred to. On the other hand, when a search request is made using the terminal device 40 ', the local file 41' is referred to and the update data of the update 5 portion of the update history file 31 is referred to.

このように、端末装置40のローカルファイル41,41′
のバージョンが個々に相違していたとしても、それに適
切に対応して検索を実行することができる。
Thus, the local files 41, 41 'of the terminal device 40 are
Even if the versions are different, the search can be executed appropriately.

尚、第3図のターミナルコントローラ30のサブマスタ
ファイル32の更新も、上記のような方法により実施でき
る。
The updating of the submaster file 32 of the terminal controller 30 in FIG. 3 can also be performed by the above-described method.

しかし、ターミナルコントローラ30のサブマスタファ
イル32は、しいて二重化する必要がない。これは、端末
装置40側のローカルファイルが二重化されており、ター
ミナルコントローラ30は、端末装置40のローカルファイ
ル更新用として使用されればよいからである。
However, the submaster file 32 of the terminal controller 30 does not need to be duplicated. This is because the local file on the terminal device 40 side is duplicated, and the terminal controller 30 only needs to be used for updating the local file of the terminal device 40.

尚、上記のようなシステムにおいては、一時的に通信
回線20やターミナルコントローラ30に障害が発生したと
しても、システムを縮退させて、端末装置において検索
を続行することが可能である。
In the above system, even if a failure occurs in the communication line 20 or the terminal controller 30 temporarily, it is possible to degenerate the system and continue the search in the terminal device.

また、ターミナルコントローラ30におけるサブマスタ
ファイル32や、端末装置40におけるローカルファイル41
a,41b等の更新は、比較的長い間隔で行なわれたとして
も全く障害を生じない。また、端末装置40に設けられた
ローカルファイル41a,41bの更新を、ターミナルコント
ローラ30に設けられたサブマスタファイル32や更新履歴
ファイル31のみによって行なうことができるため、セン
タ10から多量の更新データの転送を受け、バージョンア
ップを行なう場合に比べて、ローカルファイルの更新作
業が高速化される利点も有している。
In addition, the sub-master file 32 in the terminal controller 30 and the local file 41 in the terminal device 40
Updates of a, 41b, etc. do not cause any trouble even if they are performed at relatively long intervals. In addition, since the local files 41a and 41b provided in the terminal device 40 can be updated only by the submaster file 32 and the update history file 31 provided in the terminal controller 30, a large amount of update data can be transmitted from the center 10. It also has an advantage that the update operation of the local file is speeded up as compared with the case of receiving the transfer and upgrading the version.

また、端末装置40におけるローカルファイルの一方が
障害を発生した場合には、他方のファイルをそのままコ
ピーして使用すればよく、障害の復旧が容易である。そ
して、端末装置40の全てのローカルファイルに障害があ
る場合には、ターミナルコントローラ30のサブマスタフ
ァイル32や更新履歴ファイル31をコピーすればよく、タ
ーミナルコントローラ30に障害がある場合には、センタ
10のマスタファイルのコピーを行なえばよい。
Further, when one of the local files in the terminal device 40 has a failure, the other file may be copied and used as it is, and the failure can be easily recovered. If all local files of the terminal device 40 have a failure, the submaster file 32 and the update history file 31 of the terminal controller 30 may be copied.
All you need to do is copy 10 master files.

このように、本発明の方法によれば、データベースの
信頼性が増し、検索作業が長時間中断するといった点が
防止される。
As described above, according to the method of the present invention, the reliability of the database is increased and the search operation is not interrupted for a long time.

(発明の効果) 以上説明した本発明のデータベースの検索方法は、端
末装置にローカルファイルを設け、更にターミナルコン
トローラに更新履歴ファイルを設けることによって、端
末装置がセンタのマスタファイルを直接検索しなくて
も、同等の検索結果を得ることができる。これにより、
検索作業の高速化を図ることができる。また、通信回線
に障害が発生したような場合にも業務を継続でき、ファ
イルの障害に対しても迅速な対応を行なうことができ
る。
(Effect of the Invention) According to the database search method of the present invention described above, a local file is provided in a terminal device, and an update history file is provided in a terminal controller, so that the terminal device does not directly search the master file of the center. Can also obtain equivalent search results. This allows
The search operation can be sped up. Further, even when a failure occurs in the communication line, the business can be continued, and quick response to a file failure can be performed.

更に、更新履歴ファイルの活用により、頻繁に最新情
報を更新履歴ファイルに蓄積し、それを補助的に使用し
て、データベースの信頼性を増すことができる。
Further, by utilizing the update history file, the latest information can be frequently accumulated in the update history file, and the auxiliary information can be used to increase the reliability of the database.

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

第1図は本発明のデータベースの検索方法実施例を示す
説明図、第2図は従来のデータベースの検索方法説明
図、第3図は本発明の方法の他の実施例を示す説明図、
第4図は第3図のファイル更新のシステムフローチャー
ト、第5図〜第7図までは第3図の実施例のファイル更
新手順説明図、第8図は端末別の検索方法説明図であ
る。 10……センタ、11……マスタファイル、 12……更新データ、20……通信回線、 30……ターミナルコントローラ、 31……更新履歴ファイル、40……端末装置、 41……ローカルファイル。
FIG. 1 is an explanatory view showing an embodiment of a database search method of the present invention, FIG. 2 is an explanatory view of a conventional database search method, FIG. 3 is an explanatory view showing another embodiment of the method of the present invention,
FIG. 4 is a system flowchart of the file update of FIG. 3, FIGS. 5 to 7 are explanatory diagrams of a file updating procedure of the embodiment of FIG. 3, and FIG. 8 is an explanatory diagram of a search method for each terminal. 10: Center, 11: Master file, 12: Update data, 20: Communication line, 30: Terminal controller, 31: Update history file, 40: Terminal device, 41: Local file.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−176467(JP,A) 特開 平2−1056(JP,A) 特開 昭59−60662(JP,A) 特開 昭63−289657(JP,A) 特開 平1−228016(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 12/00 G06F 13/00 G06F 17/30 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-57-176467 (JP, A) JP-A-2-1056 (JP, A) JP-A-59-60662 (JP, A) JP-A 63-176467 289657 (JP, A) JP-A-1-228016 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 12/00 G06F 13/00 G06F 17/30

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】センタ側には、 検索対象となるデータベースを格納したマスタファイル
を設け、 前記センタと端末装置との間を中継するターミナルコン
トローラには、 前記マスタファイルの更新の都度、新たに更新されたデ
ータのみを抽出して格納した更新履歴ファイルを設け、 前記端末装置には、 前記マスタファイルを所定のタイミングでコピーしたロ
ーカルファイルを設け、 前記端末装置による前記データベースの検索は、 前記ローカルファイルを参照すると共に、前記更新履歴
ファイルの、当該ローカルファイルのコピー後に作成さ
れた更新データを参照して行なうことを特徴とするデー
タベースの検索方法。
1. A center file is provided with a master file storing a database to be searched, and a terminal controller for relaying between the center and a terminal device is newly updated every time the master file is updated. An update history file that extracts and stores only the extracted data is provided. The terminal device is provided with a local file obtained by copying the master file at a predetermined timing. The database search by the terminal device is performed by using the local file. A database search method, which refers to the update data created after the local file is copied in the update history file.
JP2025158A 1990-02-06 1990-02-06 How to search the database Expired - Fee Related JP2944123B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2025158A JP2944123B2 (en) 1990-02-06 1990-02-06 How to search the database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2025158A JP2944123B2 (en) 1990-02-06 1990-02-06 How to search the database

Publications (2)

Publication Number Publication Date
JPH03230234A JPH03230234A (en) 1991-10-14
JP2944123B2 true JP2944123B2 (en) 1999-08-30

Family

ID=12158220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2025158A Expired - Fee Related JP2944123B2 (en) 1990-02-06 1990-02-06 How to search the database

Country Status (1)

Country Link
JP (1) JP2944123B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3126225B2 (en) * 1991-07-12 2001-01-22 富士通株式会社 Database system
US5694546A (en) * 1994-05-31 1997-12-02 Reisman; Richard R. System for automatic unattended electronic information transport between a server and a client by a vendor provided transport software with a manifest list
JP3547180B2 (en) * 1994-11-17 2004-07-28 株式会社日立製作所 Examination work support system and examination work support method
US5905866A (en) * 1996-04-30 1999-05-18 A.I. Soft Corporation Data-update monitoring in communications network
JPH10116292A (en) * 1996-10-14 1998-05-06 Fuji Xerox Co Ltd Document retrieval device
AU1456597A (en) * 1997-01-23 1998-08-18 Athena Telecom Lab, Inc. Method of distributing and acquiring information, its apparatus and data structure
JP2000163344A (en) * 1998-11-27 2000-06-16 Nec Corp Data base recovery system for network management system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63289657A (en) * 1987-05-21 1988-11-28 Nec Corp Common file access system
JPH01228016A (en) * 1988-03-07 1989-09-12 Nec Corp High speed picture display system

Also Published As

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

Similar Documents

Publication Publication Date Title
EP3814931B1 (en) Fast migration of metadata
JP3222125B2 (en) Database sharing method between systems
US7290100B2 (en) Computer system for managing data transfer between storage sub-systems
JPH0585053B2 (en)
JP2002007129A (en) Method for updating software and system for the same
JP2944123B2 (en) How to search the database
CN113806309A (en) Metadata deleting method, system, terminal and storage medium based on distributed lock
EP0449660B1 (en) A method and apparatus of generating shadow process
JPH1091405A (en) Software maintenance method
JPH02292641A (en) Method for controlling data base
JP3330006B2 (en) Network system including information storage system, input system of the system, and
JP3718273B2 (en) Maintenance data management method
JPH096663A (en) How to maintain distributed link information
JPH04305751A (en) File transfer system
JP7365469B1 (en) System, cache server, method, and program for performing RDB-related processing
JP2870308B2 (en) Database management system
JPS63178358A (en) Down-load processing system
JP2960417B2 (en) Data recovery method
JPH0498546A (en) Duplicate data updating system
JP3478187B2 (en) Database management method and system
KR950010485B1 (en) Database Schema Management Method for Generation of Distributed Relations in Electronic Switching System
JP3674598B2 (en) Database management method and system
JPH01114936A (en) File system
JP2999024B2 (en) End process for child process
JP3298904B2 (en) Supplementary service execution program management method

Legal Events

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