JPH11175385A - Method for data inquiry and update in distributed data base environment - Google Patents

Method for data inquiry and update in distributed data base environment

Info

Publication number
JPH11175385A
JPH11175385A JP9339639A JP33963997A JPH11175385A JP H11175385 A JPH11175385 A JP H11175385A JP 9339639 A JP9339639 A JP 9339639A JP 33963997 A JP33963997 A JP 33963997A JP H11175385 A JPH11175385 A JP H11175385A
Authority
JP
Japan
Prior art keywords
information
update
data base
database
processing
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
JP9339639A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Noguchi
善之 野口
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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi 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 Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP9339639A priority Critical patent/JPH11175385A/en
Publication of JPH11175385A publication Critical patent/JPH11175385A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To immediately inquire information of a host data base from a distributed processing computer and to performs an update process in a short time by copying information of the host data base and generating a local data base, and reflecting update information from the distributed process computer on the local data base. SOLUTION: An authentication inquiry process 4 performs retrieval from an inquiry information data base 8 as the local data base. A contract changing process 5 registers update information in an update process registration queue 9 according to information for a contract change. A local data base update process 10 reads in the update process registration queue 9 at constant intervals of time and updates the inquiry information data base 8 according to the update information in an unprocessed registration queue. An on-line user program 11 also performs a process similarly to the local data base update process 10 to update an inquiry information data base 14 as a host data base.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、分散処理コンピュ
ータ上での音声応答処理のためのホストデータベースの
照会及び更新処理に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to querying and updating a host database for voice response processing on a distributed processing computer.

【0002】[0002]

【従来の技術】従来、ホストデータベースを分散処理コ
ンピュータ上から照会または更新処理を行う技術として
は、ホストコンピュータと分散コンピュータの間でファ
イル転送により実現する方法、データベースマネージメ
ントシステムがサポートする分散データベース機能によ
り実現する方法、ホストコンピュータと分散コンピュー
タの間を共通のネットワークプロトコルを介して通信機
能により実現する方法などがある。
2. Description of the Related Art Conventionally, as a technique for inquiring or updating a host database from a distributed processing computer, a method realized by file transfer between the host computer and the distributed computer and a distributed database function supported by a database management system are used. There is a method of realizing the method, a method of realizing a communication function between a host computer and a distributed computer via a common network protocol, and the like.

【0003】ファイル転送による方法は、照会に必要な
情報をホストデータベースから抽出し、分散コンピュー
タに転送する。分散処理コンピュータ側では受信したフ
ァイルを基にしてローカルデータベースを更新すること
により、ホストデータベースの内容を照会可能とする。
また、ローカルデータベースで更新された情報はホスト
コンピュータへファイル転送し、受信したホストコンピ
ュータでは受信した情報を基にホストデータベースの更
新を行う。
In the file transfer method, information required for an inquiry is extracted from a host database and transferred to a distributed computer. On the distributed processing computer side, the contents of the host database can be queried by updating the local database based on the received file.
The information updated in the local database is transferred to a host computer as a file, and the host computer receives the information and updates the host database based on the received information.

【0004】データベースマネージメントシステムがサ
ポートする分散データベース機能は、通常ホストコンピ
ュータ上のデータベースマネージメントシステムと分散
処理コンピュータ上のデータベースマネージメントシス
テムが異なるため、分散処理を行うための共通のインタ
ーフェースを持ったものの間でのみ実現できる。
[0004] The distributed database function supported by the database management system usually differs between the database management system on the host computer and the database management system on the distributed processing computer. Only can be realized.

【0005】ホストコンピュータと分散コンピュータの
間を共通のネットワークプロトコルを介して通信機能に
より実現する方法は、ホストコンピュータ側のプログラ
ムと分散処理コンピュータ上のプログラムで、例えばT
CP/IPにより通信を行い、それぞれのプログラムで
それぞれのデータベースの照会及び更新を行う。
A method for realizing a communication function between a host computer and a distributed computer via a common network protocol is a program on the host computer and a program on a distributed processing computer.
Communication is performed by CP / IP, and queries and updates of the respective databases are performed by the respective programs.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、ファイ
ル転送による方法は、ホストデータベースを参照するた
めには、参照に必要になるデータ以外もすべてローカル
データベースへ転送し、更新を行う必要があるため処理
が重くなる。また分散処理コンピュータ上から更新を行
う場合はローカルデータベースとホストデータベースの
更新の時間差が大きくなってしまう。
However, in the method using file transfer, in order to refer to the host database, it is necessary to transfer all data other than the data necessary for reference to the local database and update the data. Heavier. Also, when updating from a distributed processing computer, the time difference between updating the local database and the host database becomes large.

【0007】また、データベースマネージメントシステ
ムがサポートする分散データベース機能は、ホストコン
ピュータ上のデータベースマネージメントシステムと分
散処理コンピュータ上のデータベースマネージメントシ
ステムで分散処理を行うための共通のインターフェース
を持っていないと実現できない。
Further, the distributed database function supported by the database management system cannot be realized unless the database management system on the host computer and the database management system on the distributed processing computer have a common interface for performing distributed processing.

【0008】また、ホストコンピュータと分散コンピュ
ータの間を共通のネットワークプロトコルを介して通信
機能により実現する方法は、通信処理及びデータベース
の参照及び更新を利用者プログラムで作成する為容易に
実現できないという問題がある。
Further, a method of realizing a communication function between a host computer and a distributed computer via a common network protocol cannot be easily realized because communication processing and referencing and updating of a database are created by a user program. There is.

【0009】本発明の目的は、分散処理コンピュータ上
からのホストデータベースの情報の照会を即座に行い、
更新処理を短時間で行うことを容易に実現できる方法を
提供することにある。
[0009] An object of the present invention is to immediately query information of a host database from a distributed processing computer,
An object of the present invention is to provide a method capable of easily realizing an update process in a short time.

【0010】[0010]

【課題を解決するための手段】上記目的を達成する為
に、本発明は、ホストコンピュータに存在するホストデ
ータベースの情報を複写してローカルデータベースを作
成し、分散処理コンピュータ上からの更新情報をローカ
ルデータベースに反映することにより問合せに対応した
情報を保持し、ローカルデータベースの照会を行うこと
により、ホストデータベースの情報の照会を行った場合
とほぼ同等の結果を得られることを特徴とする。
In order to achieve the above object, the present invention provides a local database created by copying information of a host database existing in a host computer and updating information from a distributed processing computer locally. By reflecting the information in the database, the information corresponding to the query is held, and by inquiring the local database, a result almost equal to that in the case of querying the information in the host database can be obtained.

【0011】更に、本発明は、問合せに関わる更新情報
は更新処理登録キューに登録し、非同期に更新処理登録
キューの情報をもとに、ローカルデータベースの更新
と、ホストコンピュータ上のオンライン利用者プログラ
ムを用いてホストコンピュータのホストデータベースを
更新することを特徴とする。
Further, according to the present invention, update information relating to an inquiry is registered in an update processing registration queue, and based on information in the update processing registration queue, a local database is updated and an online user program on a host computer is updated. Is used to update the host database of the host computer.

【0012】[0012]

【発明の実施の形態】以下、本発明を実施する場合の一
形態を図面を参照して具体的に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to the drawings.

【0013】図1は、本発明の実施の一形態を示すシス
テム構成図である。
FIG. 1 is a system configuration diagram showing an embodiment of the present invention.

【0014】本システムは音声応答装置1と、分散処理
コンピュータ2と、ホストコンピュータ12と、ローカ
ルデータベースとして位置づけられる問合せ情報データ
ベース8と、更新処理登録キュー9と、ホストデータベ
ースとして位置づけられる問合せデータベース14から
なっている。
This system comprises a voice response device 1, a distributed processing computer 2, a host computer 12, an inquiry information database 8 positioned as a local database, an update processing registration queue 9, and an inquiry database 14 positioned as a host database. Has become.

【0015】分散処理コンピュータ2は、通信処理3
と、認証問合せ処理4と、契約変更処理5と、メインフ
レームGateWay処理6と、ファイル転送/データ
ベース更新処理7とローカルデータベース更新処理10
とオンライン利用者プログラム11を有している。
The distributed processing computer 2 performs communication processing 3
Authentication inquiry processing 4, contract change processing 5, mainframe GateWay processing 6, file transfer / database update processing 7, and local database update processing 10.
And an online user program 11.

【0016】ホストコンピュータ12はオンライン更新
プログラム13を有している。
The host computer 12 has an online update program 13.

【0017】通信処理3は、音声応答処理装置1と情報
の交換を行う為の通信機能をもったものであり、問合せ
情報や契約変更のための情報の受取りと、処理結果の返
答を音声応答装置との間でやりとりし、問合せ情報は認
証問合せ処理4へ、契約変更のための情報は契約変更処
理5へ渡す。認証問合せ処理4は、音声応答処理装置1
から受取った問合せ情報をもとに、ローカルデータベー
スである問合せ情報データベース8を検索し、処理結果
を通信処理3を経由して音声応答処理装置1へ渡す。契
約変更処理5は、音声応答処理装置1から受取った契約
変更の為の情報をもとに、更新処理登録キュー9へ更新
情報の登録を行う。
The communication processing 3 has a communication function for exchanging information with the voice response processing device 1. The communication processing 3 receives inquiry information and information for changing a contract, and transmits a response of the processing result to a voice response. The information is exchanged with the apparatus, and the inquiry information is passed to the authentication inquiry processing 4 and the information for contract change is passed to the contract change processing 5. The authentication inquiry processing 4 includes the voice response processing device 1
Based on the inquiry information received from, the inquiry information database 8 which is a local database is searched, and the processing result is passed to the voice response processing device 1 via the communication process 3. The contract change processing 5 registers update information in the update processing registration queue 9 based on the information for contract change received from the voice response processing device 1.

【0018】更新処理登録キュー9は、図2のようにな
っており、音声応答処理装置からの要求を識別する為の
音声応答管理情報と、更新内容を識別する為の機能コー
ドと、認証問合せ処理4で受付けた内容を格納する認証
情報と、変更する契約情報1〜nと、ローカルデータベ
ースとホストデータベースの更新結果を格納する処理ス
テータスと、更新時に発生したエラーの内容を格納する
エラー情報からなる。
The update process registration queue 9 is as shown in FIG. 2, and includes voice response management information for identifying a request from the voice response processing device, a function code for identifying the update content, and an authentication inquiry. From the authentication information for storing the contents received in the processing 4, the contract information 1 to n to be changed, the processing status for storing the update results of the local database and the host database, and the error information for storing the contents of the error that occurred during the update. Become.

【0019】メインフレームGateWay処理6は、
一般的にメインフレームコンピュータで使用されるオン
ライン利用者プログラムを分散環境で実現するものであ
り、サーバーマシン上におかれるものである。オンライ
ン利用者プログラム11は、メインフレームGateW
ay処理6を介して参照及び更新の指示を出し、実際に
はホストコンピュータ12の中のオンライン更新プログ
ラム13により、ホストデータベース14の更新を行
う。
The main frame GateWay processing 6 is as follows.
An online user program generally used in a mainframe computer is realized in a distributed environment, and is provided on a server machine. The online user program 11 is a mainframe GateW
An instruction for reference and update is issued via the ay process 6, and the host database 14 is actually updated by the online update program 13 in the host computer 12.

【0020】ローカルデータベース更新処理10とオン
ライン利用者プログラム11は、認証問合せ処理4や契
約変更処理5とは、非同期に動作し、音声応答処理装置
1とのやりとりの応答時間に影響が出ないように工夫さ
れている。ローカルデータベース更新処理10は更新処
理登録キュー9を一定時間間隔で読み、未処理の登録キ
ューの更新情報をもとにローカルデータベースである問
合せ情報データベース8を更新する。オンライン利用者
プログラム11もローカルデータベース更新処理10と
同様に、更新処理登録キュー9を一定時間間隔で読み、
未処理の登録キューの更新情報をもとにホストデータベ
ースである問合せ情報データベース14を更新する。
The local database update processing 10 and the online user program 11 operate asynchronously with the authentication inquiry processing 4 and the contract change processing 5 so that the response time of the exchange with the voice response processing device 1 is not affected. It is devised. The local database update process 10 reads the update process registration queue 9 at regular time intervals, and updates the query information database 8 as a local database based on the update information of the unprocessed registration queue. Similarly to the local database update process 10, the online user program 11 reads the update process registration queue 9 at regular time intervals,
The query information database 14, which is a host database, is updated based on the update information of the unprocessed registration queue.

【0021】ファイル転送/データベース更新処理7
は、ホストデータベースである問合せ情報データベース
14から、ホストコンピュータで更新した内容を抽出
し、ファイル転送機能により分散処理コンピュータ2へ
転送し、ローカルデータベースである問合せ情報データ
ベース8に更新情報を反映する。
File transfer / database update processing 7
Extracts the content updated by the host computer from the query information database 14 as the host database, transfers the updated content to the distributed processing computer 2 by the file transfer function, and reflects the updated information in the query information database 8 as the local database.

【0022】次に、音声応答装置からの問合せの受取り
から、更新処理の登録を行うまでの処理手順の概要を説
明する。図3は音声応答装置からの問合せの受取りか
ら、更新処理の登録を行うまでの処理手順の概要を示す
フローチャートである。
Next, an outline of a processing procedure from receipt of an inquiry from the voice response apparatus to registration of update processing will be described. FIG. 3 is a flowchart showing an outline of a processing procedure from reception of an inquiry from the voice response apparatus to registration of update processing.

【0023】図3において、まず、音声応答装置からの
認証情報の受取りを行い(ステップ21)、認証情報を
ローカルデータベースで照会し、契約変更処理を行って
良いかどうかチェックし(ステップ22)、チェックし
た結果を音声応答装置へ送信する(ステップ23)。そ
の後で、契約変更を行って良い場合は、契約変更情報を
更新処理登録キュー9へ登録し(ステップ24、2
5)、契約変更を行ってはいけない場合は何もせず終了
する(ステップ24)。
In FIG. 3, first, authentication information is received from the voice response device (step 21), the authentication information is queried in a local database, and it is checked whether the contract change processing can be performed (step 22). The result of the check is transmitted to the voice response device (step 23). Thereafter, if the contract change can be performed, the contract change information is registered in the update processing registration queue 9 (steps 24 and 2).
5) If the contract must not be changed, nothing is done and the process ends (step 24).

【0024】次に、更新処理登録キュー9に登録された
情報をローカルデータベースとホストデータベースに更
新する手順の概要について説明する。図4は、更新処理
登録キュー9に登録された情報をローカルデータベース
とホストデータベースに更新する手順の概要を示すフロ
ーチャートである。
Next, an outline of a procedure for updating the information registered in the update processing registration queue 9 to the local database and the host database will be described. FIG. 4 is a flowchart showing an outline of a procedure for updating the information registered in the update processing registration queue 9 to the local database and the host database.

【0025】図4において、まず、更新処理登録キュー
9から契約変更情報の取り出しを行い(ステップ3
1)、ローカルデータベース上の契約内容の変更を行い
(ステップ10)、オンライン利用者プログラムの起動
を行って(ステップ32)、ホストデータベース上の契
約内容の変更も行い(ステップ33)、ローカルデータ
ベースの変更またはホストデータベースの変更でエラー
が発生した場合は(ステップ34)、エラー情報を出力
する(ステップ35)。契約内容の変更を分散コンピュ
ータとホストコンピュータの両方で行っている場合は、
更新タイミングの差により、エラーが発生する場合があ
るため、このエラー情報にリカバリーのための情報を出
力する。
In FIG. 4, first, contract change information is extracted from the update processing registration queue 9 (step 3).
1) The contract contents on the local database are changed (step 10), the online user program is started (step 32), the contract contents on the host database are also changed (step 33), and the local database is changed. If an error occurs due to the change or the change of the host database (step 34), error information is output (step 35). If you are changing your contract on both the distributed and host computers,
Since an error may occur due to a difference in update timing, information for recovery is output to this error information.

【0026】[0026]

【発明の効果】本発明によれば、音声応答処理の様に、
応答に即時性が要求されるシステムでは、ホストデータ
ベースに対する更新を伴う要求処理に対しても、ローカ
ルデータベースの照会処理のみで、応答を行うことが出
来る。
According to the present invention, like the voice response processing,
In a system in which an immediate response is required, a response can be made only to a local database inquiry process even for a request process involving an update to the host database.

【0027】また、メインフレームのオンラインプログ
ラムを実行できる環境があれば、分散データベースマネ
ージメントシステムがなくても、容易に、ホストデータ
ベースの情報をアクセスできるシステムを構築できる。
Further, if there is an environment capable of executing a mainframe online program, a system that can easily access information in the host database can be constructed without a distributed database management system.

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

【図1】本発明の一実施例の形態の、音声応答処理を行
う為のシステム構成図。
FIG. 1 is a system configuration diagram for performing voice response processing according to an embodiment of the present invention.

【図2】更新処理登録キューの概要構成を説明するため
の説明図。
FIG. 2 is an explanatory diagram for explaining a schematic configuration of an update processing registration queue.

【図3】音声応答装置からの問合せの受取りから、更新
処理の登録を行うまでの処理手順の概要を示すフローチ
ャート。
FIG. 3 is a flowchart showing an outline of a processing procedure from reception of an inquiry from the voice response device to registration of an update process.

【図4】更新処理登録キューに登録された情報を、ロー
カルデータベースとホストデータベースに更新する手順
の概要を示すフローチャートである。
FIG. 4 is a flowchart showing an outline of a procedure for updating information registered in an update processing registration queue into a local database and a host database.

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

1…音声応答処理装置、 2…分散処理コンピュー
タ、3…通信処理、 4…認証問合せ処
理、5…契約変更処理、 6…メインフレーム
GateWay処理、7…ファイル転送/データベース
更新処理、8…問合せ情報データベース(ローカルデー
タベース)、9…更新処理登録キュー、 10…ロー
カルデータベース更新処理、11…オンライン利用者プ
ログラム、 12…ホストコンピュータ、13…オ
ンライン更新プログラム、14…問合せ情報データベー
ス(ホストデータベース)。
DESCRIPTION OF SYMBOLS 1 ... Voice response processing apparatus, 2 ... Distributed processing computer, 3 ... Communication processing, 4 ... Authentication inquiry processing, 5 ... Contract change processing, 6 ... Mainframe GateWay processing, 7 ... File transfer / database update processing, 8 ... Inquiry information Database (local database), 9: update processing registration queue, 10: local database update processing, 11: online user program, 12: host computer, 13: online update program, 14: inquiry information database (host database).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ホストコンピュータに存在するホストデー
タベースの情報を複写して作成した、分散処理コンピュ
ータに格納されたローカルデータベースの情報を照会し
て、分散処理コンピュータに対する問合せに応答し、問
合せに関する更新情報は更新処理登録キューに登録し、
非同期に更新処理登録キューの情報をもとに、ローカル
データベースの更新と、ホストコンピュータ上のオンラ
イン利用者プログラムを用いてホストコンピュータのホ
ストデータベースを更新することを特徴とする分散デー
タベース環境でのデータ更新方法。
An inquiry is made to information of a local database stored in a distributed processing computer which is created by copying information of a host database existing in a host computer, responding to an inquiry to the distributed processing computer, and updating information relating to the inquiry. Is registered in the update registration queue,
Updating the local database based on the information in the update registration queue asynchronously and updating the host database of the host computer using an online user program on the host computer in a distributed database environment Method.
JP9339639A 1997-12-10 1997-12-10 Method for data inquiry and update in distributed data base environment Pending JPH11175385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9339639A JPH11175385A (en) 1997-12-10 1997-12-10 Method for data inquiry and update in distributed data base environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9339639A JPH11175385A (en) 1997-12-10 1997-12-10 Method for data inquiry and update in distributed data base environment

Publications (1)

Publication Number Publication Date
JPH11175385A true JPH11175385A (en) 1999-07-02

Family

ID=18329410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9339639A Pending JPH11175385A (en) 1997-12-10 1997-12-10 Method for data inquiry and update in distributed data base environment

Country Status (1)

Country Link
JP (1) JPH11175385A (en)

Similar Documents

Publication Publication Date Title
US7949702B2 (en) Method and apparatus for synchronizing cookies across multiple client machines
US8090693B2 (en) System, method, and article of manufacture for maintaining and accessing a whois database
US6226644B1 (en) Method, storage medium and system for distributing data between computers connected to a network
JP3622313B2 (en) Document management system
JP4729172B2 (en) Method and apparatus for performing transactions in a stateless web environment that supports a declarative paradigm
US20020059329A1 (en) Replication method
JPS6170654A (en) Resource control system of decentralized processing system
EP0956687A1 (en) Web request broker controlling multiple processes
JPH10312350A (en) Method and mechanism for naming resource
EP1577776B1 (en) Method and apparatus for data synchronization in a distributed data base system
JP2002091851A (en) Information providing method and repeating server device
JP4129353B2 (en) Distributed data management system, distributed data management method, and distributed data management program
JPH11175385A (en) Method for data inquiry and update in distributed data base environment
JPH10254890A (en) Access system to various kinds of services using network
JPH103418A (en) Data coincidence system between electronic computer systems
JPH11312111A (en) Method for restoring data base and data base management system thereof
JP2000148563A (en) System having plurality of server computers
JP3698021B2 (en) Wide area distributed asset version management system, wide area distributed asset version management method, recording medium
JP3828290B2 (en) Document management device and computer-readable recording medium recording program for causing computer to function as document management device
JP3330006B2 (en) Network system including information storage system, input system of the system, and
JP2000194613A (en) Data transfer optimization system and method for client- server system
KR20040088969A (en) Shop managing system and its method using data consistency in distributed database configuration
JPH0954718A (en) Asynchronous update function processing system for distributed data base
JPH11134238A (en) Software update management system in software distributed development environment
US8321523B1 (en) Method and apparatus for dynamically and incrementally modifying NIS maps