JPH03202935A - Synchronization update system in distributed processing system - Google Patents

Synchronization update system in distributed processing system

Info

Publication number
JPH03202935A
JPH03202935A JP1344775A JP34477589A JPH03202935A JP H03202935 A JPH03202935 A JP H03202935A JP 1344775 A JP1344775 A JP 1344775A JP 34477589 A JP34477589 A JP 34477589A JP H03202935 A JPH03202935 A JP H03202935A
Authority
JP
Japan
Prior art keywords
update
center
information
subject
data
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
JP1344775A
Other languages
Japanese (ja)
Inventor
Susumu Ueda
進 上田
Koyo Shioda
塩田 公洋
Takuo Nishihara
琢夫 西原
Harumi Aoyama
青山 春己
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 Ltd
Nippon Telegraph and Telephone Corp
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone 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 Hitachi Ltd, Nippon Telegraph and Telephone Corp filed Critical Hitachi Ltd
Priority to JP1344775A priority Critical patent/JPH03202935A/en
Publication of JPH03202935A publication Critical patent/JPH03202935A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a response time for an update subject by asynchronously updating information for a node except for the node by means of information stored in a temporary storage means. CONSTITUTION:When the update subject 21 which belongs to a center A22 gives the update request of a data file 23 in the center A22, the center A22 updates the data file 23 by an update request content and stores an update data content in an update information storage file 24. Then, a response is immediately returned to the update subject 21. When the update content of the data file 23 is stored in the update information storage file 24, the center A 22 reads the update request content from the update information storage file 24, transmits it and a center B 25 updates a data file 26 by the received update request content. In such a case, the processing of the update subject completes when the update of data in the center where the update mainbody exists completes. Thus, the processing waiting time of the update subject can be shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野1 本発明は、1箇所の情報を更新した時、他の箇所の情報
も更新する必要がある分散処理システムにおける同期更
新方式に関し、特に更新主体への応答時間を短縮するの
に好適な分散処理システムにおける同期更新方式に関す
る。
[Detailed Description of the Invention] [Industrial Application Field 1] The present invention relates to a synchronous update method in a distributed processing system in which when information in one location is updated, information in other locations must also be updated, and in particular, The present invention relates to a synchronous update method in a distributed processing system suitable for shortening response time to.

[従来の技術] 従来、交通機関の座席予約や銀行の窓口業務等では、地
理的あるいは機能的に分散されたデータベースを利用す
ることにより、業務の合理化やサービスの向上を行って
きている。
[Prior Art] Conventionally, in transportation seat reservations, bank counter operations, etc., operations have been streamlined and services improved by using databases that are geographically or functionally distributed.

このような分散処理ステシムでは、多数の利用者が同時
にデータベースを利用するので、共用データの更新は同
期的に行う必要がある。従って、1箇所のセンタ(ある
いはノード)のデータを更新する場合、他のセンタのデ
ータも同期的に更新する。この場合、そのセンタに属す
る端末等の更新主体に対するレスポンス返却は、全ての
センタの情報更新が終了した後に行われていた。
In such a distributed processing system, since many users use the database at the same time, it is necessary to update shared data synchronously. Therefore, when data at one center (or node) is updated, data at other centers is also updated synchronously. In this case, a response is returned to the updater such as a terminal belonging to that center after the information update of all centers is completed.

なお、従来のデータベースアクセス要求処理方式につい
ては、例えば特開昭63−138439号において述べ
られている。
The conventional database access request processing method is described in, for example, Japanese Patent Laid-Open No. 138439/1983.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術では、同期更新の際、複数箇所に存在する
情報を全て更新するまで更新主体への応答を返却しない
ので、更新主体への応答時間が長いという問題があった
In the above-mentioned conventional technology, when a synchronous update is performed, a response to the update subject is not returned until all information existing in a plurality of locations is updated, so there is a problem in that the response time to the update subject is long.

本発明の目的は、このような問題点を改善し。The purpose of the present invention is to improve these problems.

更新主体への応答時間を短縮することが可能な分散処理
システムにおける同期更新方式を提供することにある。
An object of the present invention is to provide a synchronous update method in a distributed processing system that can shorten the response time to an update subject.

〔課題を解決するための手段J 上記目的を達成するため、本発明の分散処理システムに
おける同期更新方式は、複数のノードに情報を分散して
管理する分散処理システムにおいて、上記ノードには、
更新情報を一時蓄積する手段(更新情報蓄積ファイル)
を備え、そのノードに所属する端末(更新主体)から情
報更新要求があると、そのノードは自ノードの情報を更
新し、更新情報をその一時蓄積手段に格納して、端末へ
レスポンスを返却し、他ノードに対する情報更新は、そ
の一時蓄積手段に格納した情報により非同期に行うこと
に特徴がある。
[Means for Solving the Problems J] In order to achieve the above object, the synchronous update method in the distributed processing system of the present invention provides a distributed processing system that manages information by distributing it to a plurality of nodes.
Means to temporarily store update information (update information storage file)
When there is an information update request from a terminal (update subject) belonging to that node, that node updates its own information, stores the updated information in its temporary storage means, and returns a response to the terminal. , is characterized in that information updates to other nodes are performed asynchronously using information stored in the temporary storage means.

〔作用] 本発明においては、端末等の更新主体から更新要求を受
は付けた時、更新主体が属する分散処理ノードの情報を
更新し、ただちに更新主体へ応答を返却するとともに、
更新内容を一時蓄積する。
[Operation] In the present invention, when an update request is received from an update subject such as a terminal, the information of the distributed processing node to which the update subject belongs is updated, and a response is immediately returned to the update subject.
Temporarily store updated information.

さらに、その蓄積情報を読み出して、他の分散処理ノー
ドの情報も更新する。
Furthermore, the stored information is read out and the information of other distributed processing nodes is also updated.

これにより、更新主体への応答時間を短縮することが可
能である。
This makes it possible to shorten the response time to the updater.

〔実施例〕〔Example〕

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

第2図は1本発明の一実施例における分散処理シテムの
構成図である。
FIG. 2 is a block diagram of a distributed processing system according to an embodiment of the present invention.

第2図において、21はセンタA22に属する端末等の
更新主体、22はデータベース管理システム(図示せず
)等によって情報を分散管理し、センタB25と通信回
線等で結ばれているセンタA、23はセンタA22のデ
ータファイル、24はデータファイル23の更新情報を
一時的に蓄積する更新情報蓄積ファイル、25はセンタ
B、26はセンタB25のデータファイルである。
In FIG. 2, reference numeral 21 denotes an updater such as a terminal belonging to center A 22, and 22 denotes centers A and 23 that manage information in a distributed manner using a database management system (not shown), etc., and are connected to center B 25 by a communication line, etc. 2 is a data file of the center A 22, 24 is an update information storage file for temporarily storing update information of the data file 23, 25 is a data file of the center B, and 26 is a data file of the center B 25.

また、各データファイル23.26は同一の情報を共有
し、その一方を更新した場合には他方も更新する。
Further, each data file 23, 26 shares the same information, and when one of them is updated, the other is also updated.

次に1本実施例におけるデータ更新処理について述べる
Next, data update processing in this embodiment will be described.

第1図は、本発明の一実施例におけるセンタAの更新要
求受信時の処理を示すフローチャート。
FIG. 1 is a flowchart showing the processing performed by center A when receiving an update request in an embodiment of the present invention.

第3図は本発明の一実施例における更新情報蓄積ファイ
ルの読み出し処理を示すフローチャート、第4図は本発
明の一実施例におけるセンタBのデータ更新処理を示す
フローチャートである。
FIG. 3 is a flowchart showing the update information storage file read processing in one embodiment of the present invention, and FIG. 4 is a flowchart showing the data update processing at center B in one embodiment of the invention.

本実施例では、センタA22に属する更新主体21がセ
ンタA22のデータファイル23の更新依頼を行った場
合、センタA22では、第1図のように、更新依頼内容
によりデータファイル23を更新しく101,102)
、さらに、更新内容を更新情報蓄積ファイル24へ格納
する(103)。
In this embodiment, when the update subject 21 belonging to the center A22 makes a request to update the data file 23 of the center A22, the center A22 updates the data file 23 according to the content of the update request 101, as shown in FIG. 102)
, Furthermore, the update contents are stored in the update information storage file 24 (103).

その後、ただちに更新主体21へ応答を返却する(10
4)、これにより、更新依頼が完了するので、更新主体
21は速やかに次の処理に移ることができる。
After that, a response is immediately returned to the update subject 21 (10
4) As the update request is completed, the update subject 21 can quickly move on to the next process.

また、ステップ103において、データファイル23の
更新内容が更新情報蓄積ファイル24へ格納されると、
センタA22は、第3図のように、更新情報蓄積ファイ
ル24より更新依頼内容を読み出して(301)、セン
タB25へ送信する(302)。
Further, in step 103, when the updated contents of the data file 23 are stored in the updated information storage file 24,
As shown in FIG. 3, the center A 22 reads the update request content from the update information storage file 24 (301) and transmits it to the center B 25 (302).

これにより、センタB25では、第4図のように、受信
した更新依頼内容により、データファイル26を更新す
る(401,402)。
As a result, the center B 25 updates the data file 26 according to the content of the received update request, as shown in FIG. 4 (401, 402).

〔発明の効果J 本発明によれば、分散処理システムにおいて、複数のノ
ードに存在する情報を更新する際、更新主体が存在する
センタのデータ更新が完了した時点で、更新主体の処理
が完結するため、更新主体の処理待ち時間を短縮するこ
とが可能である。
[Effect of the invention J According to the present invention, when updating information existing in multiple nodes in a distributed processing system, the processing of the update subject is completed when the data update of the center where the update subject exists is completed. Therefore, it is possible to shorten the processing waiting time of the update subject.

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

第1図は本発明の一実施例におけるセンタAの更新要求
受信時の処理を示すフローチャート、第2図は本発明の
一実施例における分散処理シテムの構成図、第3図は本
発明の一実施例における更新情報蓄積ファイルの読み出
し処理を示すフローチャート、第4図は本発明の一実施
例におけるセンタBのデータ更新処理を示すフローチャ
ートである。 21:端末等の更新主体、22:センタA、 23:セ
ンタAのデータファイル、24:更新情報蓄積ファイル
、25:センタB、26:センタBのデータファイル。 ト?)”、′lI、l“
FIG. 1 is a flowchart showing processing when center A receives an update request in an embodiment of the present invention, FIG. 2 is a configuration diagram of a distributed processing system in an embodiment of the present invention, and FIG. Flowchart showing update information storage file read processing in the embodiment. FIG. 4 is a flowchart showing data update processing at center B in one embodiment of the present invention. 21: Update subject such as terminal, 22: Center A, 23: Center A data file, 24: Update information storage file, 25: Center B, 26: Center B data file. to? )",'lI,l"

Claims (1)

【特許請求の範囲】[Claims] 1、複数のノードに情報を分散して管理する分散処理シ
ステムにおいて、上記ノードには、更新情報を一時蓄積
する手段を備え、該ノードに所属する端末から情報更新
要求があると、該ノードは自ノードの情報を更新し、更
新情報を該一時蓄積手段に格納して、該端末へレスポン
スを返却し、該ノード以外のノードに対する情報更新は
、該一時蓄積手段に格納した情報により非同期に行うこ
とを特徴とする分散処理システムにおける同期更新方式
1. In a distributed processing system in which information is distributed and managed among multiple nodes, the nodes are equipped with means for temporarily storing updated information, and when an information update request is received from a terminal belonging to the node, the node Updates the information of its own node, stores the updated information in the temporary storage means, returns a response to the terminal, and updates information for nodes other than the node asynchronously using the information stored in the temporary storage means. A synchronous update method in a distributed processing system characterized by the following.
JP1344775A 1989-12-28 1989-12-28 Synchronization update system in distributed processing system Pending JPH03202935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1344775A JPH03202935A (en) 1989-12-28 1989-12-28 Synchronization update system in distributed processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1344775A JPH03202935A (en) 1989-12-28 1989-12-28 Synchronization update system in distributed processing system

Publications (1)

Publication Number Publication Date
JPH03202935A true JPH03202935A (en) 1991-09-04

Family

ID=18371883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1344775A Pending JPH03202935A (en) 1989-12-28 1989-12-28 Synchronization update system in distributed processing system

Country Status (1)

Country Link
JP (1) JPH03202935A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05257770A (en) * 1992-03-11 1993-10-08 Pfu Ltd Maintenance information presentation processing system
JPH07287694A (en) * 1994-04-19 1995-10-31 Nec Corp Multiplex processing system and memory synchronous control method
JPH0954718A (en) * 1995-08-15 1997-02-25 Nec Software Ltd Asynchronous update function processing system for distributed data base
JPH10161917A (en) * 1996-11-27 1998-06-19 Nippon Telegr & Teleph Corp <Ntt> File update device for data base
JPH11508071A (en) * 1995-06-09 1999-07-13 オクトパス テクノロジーズ インコーポレイテッド Real-time data protection system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05257770A (en) * 1992-03-11 1993-10-08 Pfu Ltd Maintenance information presentation processing system
JPH07287694A (en) * 1994-04-19 1995-10-31 Nec Corp Multiplex processing system and memory synchronous control method
JPH11508071A (en) * 1995-06-09 1999-07-13 オクトパス テクノロジーズ インコーポレイテッド Real-time data protection system and method
US7100072B2 (en) 1995-06-09 2006-08-29 Emc Corporation Backing up selected files of a computer system
JPH0954718A (en) * 1995-08-15 1997-02-25 Nec Software Ltd Asynchronous update function processing system for distributed data base
JPH10161917A (en) * 1996-11-27 1998-06-19 Nippon Telegr & Teleph Corp <Ntt> File update device for data base

Similar Documents

Publication Publication Date Title
US6845378B1 (en) Integrated data bank combining system
KR101069350B1 (en) Architecture for partition computation and propagation of changes in data replication
US20040059738A1 (en) Method and apparatus for data processing
JP2001508900A (en) Data distribution and duplication in distributed data processing systems.
JP2001513926A (en) Partially replicated distributed database with multiple levels of remote clients
JPH07319747A (en) Data updating system
KR20020090520A (en) Parallel logging method of transaction processing system
US5815556A (en) Method and apparatus for extracting a subset of data wanted by a customer from a group of subsets of data wanted by different customers
US6421741B1 (en) Switching between active-replication and active-standby for data synchronization in virtual synchrony
JPH03202935A (en) Synchronization update system in distributed processing system
JPH06274394A (en) Distributed data base control method
JPH11249943A (en) Method and system for synchronous management of distributed data base
Leung Update algorithm for replicated signaling databases in wireless and advanced intelligent networks
JPH04107654A (en) Decentralized data control system
JP3179077B2 (en) Centralized management of terms
JPH05242176A (en) Generation control system for drawing
JPH06175902A (en) Distributed file system, file managing device, centralized controller and distributed file managing method
JP2708012B2 (en) Update buffer management device
JPH04153844A (en) Data base update system
JPH0566985A (en) Updating system for data base
JPH0327439A (en) Shared module managing system for program
JPH0448348A (en) Decentralized updating processing system
KR950010485B1 (en) Db skima management method
JPH0962557A (en) Distributed database system
JPH05250335A (en) Data base update processing system of loosely coupled multiprocessor system