JPH04149657A - Confirming system for 2-phase commitment - Google Patents
Confirming system for 2-phase commitmentInfo
- Publication number
- JPH04149657A JPH04149657A JP2269363A JP26936390A JPH04149657A JP H04149657 A JPH04149657 A JP H04149657A JP 2269363 A JP2269363 A JP 2269363A JP 26936390 A JP26936390 A JP 26936390A JP H04149657 A JPH04149657 A JP H04149657A
- Authority
- JP
- Japan
- Prior art keywords
- node
- commit
- information
- commitment
- request
- 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
Links
- 238000000034 method Methods 0.000 claims description 6
- 238000002360 preparation method Methods 0.000 abstract description 12
- 230000005540 biological transmission Effects 0.000 description 3
- 238000000889 atomisation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 208000030507 AIDS Diseases 0.000 description 1
- 238000005591 Swarts synthesis reaction Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、複数システムにまたがる資源の同期制御ケ実
現する2フェイズコミットメントにおけろ間圧方式に関
する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to an interstitial pressure method in two-phase commitment that realizes synchronous control of resources across a plurality of systems.
従来、2フエイズコミツトを実行する場合の認証は、隣
接するノード間でのみ行われていた。Conventionally, when performing two-phase commit, authentication was performed only between adjacent nodes.
このようf2従来の方式では、2フエイズコミツトを実
行する場合の認1ハ隘接するノード間でのみ行われてい
たので、2フエイズフミツトを実行するトリーが多段疋
なっており、中間ノードが存在する場合には、コミット
を要求する最下位ノードは、最下位ノードの認証を行う
ことがで尊ないとい5問題があった。In this way, in the conventional f2 method, when executing a 2-phase commit, recognition was performed only between adjacent nodes, so the tree for executing the 2-phase commit is multi-stage, and if there are intermediate nodes, There were five problems in that the lowest node requesting a commit was unable to authenticate the lowest node.
本発明はこのような従来の欠点を敗者した慕うので、そ
の目的は、中間ノードが存在する場合にも、コミットを
要求する最上位ノードが最下位ノードの間部を行うこと
の可能な2フエイズコミットメント圧おけるV1方式を
提供することKある。The present invention overcomes these conventional shortcomings and aims to create a two-step system in which the top node requesting a commit can do the work in between the bottom node, even if there are intermediate nodes. It is possible to provide a V1 method for reducing AIDS commitment pressure.
本発明の2フェイズコミットメントにおける認紐=方式
は、最上位ノードと、中間ノードと、#′下位ノードと
を有し、最下位ノードにおいてi4.コミット準備完了
を隣接する上位ノードに通知する除洗、そのノード名と
・!スワード情報を通知するよってなっており、中間ノ
ードにおいてに%隣接する上位ノードrコミット準儂児
了を通知する際に、自、ノード名と・ンスワート°情報
に加えて、下位ノードから通知された下位ノード2と・
ぐスワート・情報を′も上位ノードに111!l知する
ようになっており、最上(ffノードにおいてに、コミ
ットを実際に実行するMliに、2フエイス゛コミツト
メントを構成する全てのT:慌ノードから通・肚さrた
ノード名とパスワード情報をチエツタする手段を備えて
いることを特徴としている。The recognized linkage method in the two-phase commitment of the present invention has a top node, an intermediate node, and a #' lower node, and i4. Deletion that notifies the adjacent higher-level node that it is ready to commit, its node name and... When an intermediate node notifies an adjacent upper node r commit quasi-sword information, in addition to self, node name, and password information, it is notified from a lower node. Lower node 2 and...
Swart and information '111 to the upper node! At the top (ff node), the Mli that actually executes the commit is given the node names and information communicated from all the T: panic nodes that make up the two-faced commitment. It is characterized by having a means to check password information.
〔作用〕
本発明では、最上位ノードはコミント実行要求な冑−ヤ
ーテするThTに、2フェイズコミットメントを構成す
る全てのノードの認証を行う。[Operation] In the present invention, the topmost node authenticates all the nodes that make up the two-phase commitment to the ThT that requests execution.
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例のブロック図である1、第1
図では、複数システムとして、最上位ノード1と、中間
ノード2と、最下位ノード3とが設けられている。FIG. 1 is a block diagram of one embodiment of the present invention.
In the figure, a top node 1, an intermediate node 2, and a bottom node 3 are provided as multiple systems.
最上位ノード1は、下位ノードにアトミツ・クアクシヲ
ンの開始を通知するアトミックアクション開始通知手段
11と、下位ノードとの間でデータの送受信を行うデー
タ送受信手段12と、下位ノードか1コミット準備完了
通知、下位ノードタ。The top node 1 has an atomic action start notification means 11 that notifies lower nodes of the start of atomic action, a data transmission/reception means 12 that transmits and receives data to and from lower nodes, and a lower node 1 commit preparation completion notification. , lower node data.
・ゼスワード情報を取得する情報取得手段13と。- Information acquisition means 13 for acquiring Zesword information.
正しいノード名、パスワード情報が認証情報として予め
fi−録されている認E情報格納エリア141と、情報
収得手段13で取得した下位ノード名。Authentication information storage area 141 in which correct node name and password information are recorded in advance as authentication information, and lower node name acquired by information acquisition means 13.
・ンスワード情#?:認証情報格W1エリア141を参
照してチェックす2)チェック手段14と、チェックの
結果が正しいととに下位ノードに対してコミット完了を
発行するコミット要求通知手段15と、下位ノードから
のコミット完了通知を受信するコミ・ト完で受信手段1
6とを備、えている!:た、中間ノード2は、上位ノー
ト“からのアトミッタアクション開始通知を受信するア
トミツ、クア・フジラン開始通知受信手段21と、上位
ノート。・Second word #? :Check by referring to the authentication information case W1 area 141 2) Checking means 14, commit request notification means 15 which issues commit completion to the lower node when the check result is correct, and commit from the lower node. Receive completion notification method 1
It is equipped with 6! In addition, the intermediate node 2 includes an atomizer, Kur Fujiran start notification receiving means 21, which receives an atomitter action start notification from an upper-level node, and an upper-level node.
からアトミックアタシlン開始通知を受信したときて、
これ4′下位ノードに1!!i知するアトミックアクシ
ョン開始通知手段22と、上fiノードとの間でず一夕
送受信を行うデータ送受信手段23と。When receiving an atomic assignment start notification from
This is 1 on the 4′ lower node! ! an atomic action start notifying means 22 that notifies the user of the data; and a data transmitting/receiving means 23 that transmits and receives data to and from the upper fi node overnight.
下位、ノードどの間でデータ送受信をイテうデータ送受
18手段2・1と、下Qノードからコミット準備完了通
知、下位ノード名、・2スワード情報を取得する情報収
得手段25と、下位ノードから取得したコミット準備完
了通知、下位ノード名、・Pスワードf’r’[を・上
イク・:ノードヘ〜通知する情報通知手段26と、上位
ノードからのコミット要求を受信するコミット要求通知
手段27と、下位ノードへコミット要求を通知するコミ
ット要求通知手段28と、下イff 、/−ドからのコ
ミット完了を受信するコミット児r受信手段29と、上
位ノードへコミット完了を通知するコミット完了通知手
段30とを備えている。A data transmitting/receiving means 2.1 for transmitting and receiving data between lower nodes and an information acquisition means 25 for acquiring commit preparation completion notification, lower node name, and password information from the lower Q node, and acquiring from the lower node. an information notification means 26 for notifying the commit preparation completion notification, the lower node name, and the P password f'r'[to the node; a commit request notification means 27 for receiving a commit request from the upper node; Commit request notifying means 28 for notifying a commit request to a lower node, commit child r receiving means 29 for receiving a commit completion from a lower node, and commit completion notifying means 30 for notifying a higher node of a commit completion. It is equipped with
また、最下位ノード3は、上位ノードからのアトミツ、
7アクシヨン開始通知を受信するアトミツ、クアクン3
ン開始通知受信手段31と、上位ノードとの間でデータ
送受信を行うデータ送受信手段32と、L位ノード−\
コミット準備完了通知、ノド名、・Pスワード情報を通
知する情報通知手段33と5上位ノードからコミット要
求を受信するコミット要求愛↑ぎ手段34と、上位ノー
ドヘコミット完了を通・鞠するコミット完了通知手段3
5とを備λでいる。In addition, the lowest node 3 receives atoms from the upper node,
7 Atomitsu and Kuakun 3 receive action start notification
a data transmitting/receiving means 32 for transmitting and receiving data between the upper node and the L-rank node -\
An information notifying means 33 for notifying commit preparation completion notification, node name, and P password information; a commit request sending means 34 for receiving a commit request from a fifth upper node; and a commit completion means for transmitting commit completion to an upper node. Notification means 3
5 and λ are provided.
ζ入・にのような構成におiする紹証処堆について説明
する。An explanation will be given of an introduction system that has a configuration such as ζ-in and 2-in.
最上?5ノード1は、先づ、アトミックアクション開布
圃知千設置lを用いて隣接する下位ノード。Mogami? 5 Node 1 first uses an atomic action to create an adjacent lower node.
すなυら’T’ l”[l’1ノード2に、アトミック
アクシ)ン開始を通さする。In other words, 'T'l''[l'1 passes the atomic action start to node 2.
中1i4jノード2(は5最上位ノー1’ 1からのア
トミノターでクシシン開始をアトミックアクシ1ン開始
通知受信手段211Cよって知り、さらy、隣接する下
位ノード、すなわち最下位ノード3に対して。The middle 1i4j node 2 (5) learns the start of the atomic action from the topmost node 1' by the atomic axis start notification receiving means 211C, and then sends it to the adjacent lower node, that is, the lowest node 3.
アトミツグアクシ1ン開始通知手段22を用いて。using the atomization axis start notification means 22.
アトミックアクシランの開始を通知する。Notifies the start of atomic axilan.
最下位ノード3では、アトミックアクション開始通知受
信手段31により、中間ノード2からアトミックアクシ
ゴン開始を知る。The lowest node 3 learns of the start of the atomic axigon from the intermediate node 2 through the atomic action start notification receiving means 31 .
その後、最上位ノード1と中間ノード2(!:の間。Then between top node 1 and intermediate node 2 (!:
中間ノード2と最下位ノード3との間で、それぞれデー
タ送受信手段12123,24.32を用いてデータの
送受信を行う。Data is transmitted and received between the intermediate node 2 and the lowest node 3 using data transmitting and receiving means 12123 and 24.32, respectively.
データの送受信が終了したならば、最上位ノードii’
t、下位ノードからコミツク準備完了通知を取得する。When data transmission and reception are completed, the top node ii'
t. Obtain comic preparation completion notification from the lower node.
すなわち、最下位ノード3は、コミット準備が完了した
なら(f、情報通知手段33を用いて隣接すシ)上位ノ
ード、すなわち中間ノード2に、コミット準備完了、ノ
ード3の名前、・セスワード情報を通知する。That is, when the lowest node 3 completes the commit preparation (f, the adjacent node using the information notification means 33), the lowest node 3 informs the upper node, that is, the intermediate node 2, that the commit preparation is complete, the name of the node 3, and the access word information. Notice.
中間、ノード2では、最下位ノード3からのコミット準
備完了通知、ノード3の名前、・セスワード情報を情報
取得手段25によって受信し、かつ、ノード2自見のコ
ミット準備が完了したならば。In the intermediate node 2, the information acquisition means 25 receives the commit preparation completion notification from the lowest node 3, the name of the node 3, and the password information, and the node 2 completes its own commit preparation.
情報通知手段26を用いて、最上位ノード1に、コミッ
ト準備完了、ノード2の名前と・セスワード情報、ノー
ド3の名前と・2スワード情報を通知する。The information notification means 26 is used to notify the highest level node 1 of the completion of commit preparation, the name and password information of node 2, and the name and password information of node 3.
最上位ノード1では、f報収得手段13により下位ノー
ドのコミット準備完了通知。/−)’2の名前とパスワ
ード情報、ノード3の名前トノセスワード情報を受信す
ると、チェック手段14において、認証情報格納エリア
141を謬照して、受信した認証情報(ノード名と・ン
スワード情報)が正しいか否かをチェックする。At the top node 1, the f information acquisition means 13 notifies the lower nodes of completion of commit preparation. /-) When the name and password information of node 2 and the name password information of node 3 are received, the checking means 14 checks the authentication information storage area 141 and checks the received authentication information (node name and password information). Check whether it is correct or not.
この結果、認証情報のチェックが正しければ。As a result of this, if the credentials check is correct.
最上位ノード1は下位ノードに対してコミット要求を発
行する。すなわち、最上位ノード1は、コミット要求通
知手段15により、中間ノード2に対してコミット要求
を通知する。The top node 1 issues a commit request to the lower nodes. That is, the top node 1 notifies the intermediate node 2 of a commit request using the commit request notification means 15.
中間ノード2では、コミット要求受信手段27にまり最
上位ノード1からのコミット要求を受信し、中間ノード
2が持つ資源を更」する。さらにコミット要求通知手段
28により、最下位ノード3シτ2↑してコミット要求
を通知する。In the intermediate node 2, the commit request receiving means 27 receives the commit request from the highest node 1, and updates the resources held by the intermediate node 2. Further, the commit request notifying means 28 notifies the lowest node 3 of the commit request by τ2↑.
最下位ノード3では、コミブト要求受信手段34により
コミット要求を受信後、自分の持つ資源を更かし、コミ
ット完了通知手段35によりコミット完了通知を中間ノ
ード2に通知する。After receiving the commit request by the commit request receiving means 34, the lowest node 3 updates its own resources and notifies the intermediate node 2 of a commit completion notification by the commit completion notifying means 35.
中間ノード2は、コミット完了受信手段29により耐下
位ノード3からのコミット完了通知を受信した後、最上
位ノード1に対してコミット完了通知手段30を用いて
コミット、1了を通知する。After the intermediate node 2 receives the commit completion notification from the lower-level node 3 through the commit completion receiving means 29, it notifies the highest node 1 of the completion of the commit using the commit completion notification means 30.
これてより、最上位ノード1は、コミット兄了受イS手
段16によりコミット完了を受信する。以上で、1つの
アトミツグアクシ1ンが終了する。As a result, the highest node 1 receives the commit completion by the commit older acknowledgment means 16. With this, one atomization axis is completed.
なお、最上位ノード1のチェック手段14において認証
情報?チェックした結果が正しくなく認証エラーが発生
した場合には、最上位ノードlは。In addition, in the checking means 14 of the top node 1, the authentication information? If the checked result is incorrect and an authentication error occurs, the top node l.
下位ノードに対してコミット要求のかわりにロールバッ
ク要求を行う。Make a rollback request to lower nodes instead of a commit request.
す+のように本実施例では、最上位ノードに。In this example, the top node is S+.
アトミックアクシラントリーを構成する各ノードの、ノ
ード名とパスワードを、コミット要求する前にチェック
できろため、もし、認証エラーが発生Iたと午はロール
バックが可亜となり、認証チェックが成功した場合は、
下位ノードrコミットを要求で辣る。You can check the node name and password of each node that makes up the atomic accelerator before requesting a commit, so if an authentication error occurs, you can rollback and the authentication check is successful. teeth,
Lower node r is overwhelmed with requests to commit.
濾らに、認証f報を最と位ノードが保持せず、別なノー
ドで全ての認証情報を一括!埋し、最上位ノードがそこ
にアタセスするよってすれば、認証情報の管理も各員と
なる。Unfortunately, the highest node does not hold the authentication information, and all the authentication information is stored in another node! If the top-level node accesses the authentication information, each member will be responsible for managing the authentication information.
以上説明したように本発明てよれば、最上位ノードは、
コミブト実行要求を発行する前に、2フエイズコミ、・
トメブトを構成する全てのノードを認証するようKiっ
ているので、中間ノードが存在する場合にもに一上位ノ
ードは最下位ノードの認証を行うことができろという効
果がある・As explained above, according to the present invention, the top node is
Before issuing a commission execution request, two phase commissions,
Since it is set to authenticate all the nodes that make up the tomebuto, it has the effect that even if there are intermediate nodes, the top-level node can authenticate the lowest-level node.
第1図は本発明の一実施例のブロック図である。
第1図において、
1・・最上位ノード、2・・・中間ノード、3・・・最
下位ノード、11・・・アトミックアクション開始通知
手段、12・・・データ送受信手段、13・・・情報収
得手段、14・・・チェック手段% 15・・・コミッ
トg求通知手段、16・・・コミット完了受信手段、2
1・・・アトミックアクション開始通知受信手段%22
・・・アトミックアクション開始通知手段、23・・・
データ送受信手段、24・・・データ送受信手段、25
・・・情報取得手段、26・情報通知手段、27・・・
コミット要求受信手段、28・・・コミット要求通知手
段。
29・・・コミット完了受信手段、3o・・・コミット
5E丁通知手段、31・・・アトミックアクション開始
通知手段、32・データ送受信手段、33・・・情報通
知手段、34・・・コミット要求手段%35・・・コミ
ット完了通知手段、141・・・認証情報格納工l)ア
。
代理人 弁理士 山 下 穣 平FIG. 1 is a block diagram of one embodiment of the present invention. In FIG. 1, 1...Top node, 2...Intermediate node, 3...Lowest node, 11...Atomic action start notification means, 12...Data transmission/reception means, 13...Information. Obtaining means, 14... Checking means % 15... Commit g request notification means, 16... Commit completion receiving means, 2
1...Atomic action start notification receiving means%22
...Atomic action start notification means, 23...
Data transmitting and receiving means, 24...Data transmitting and receiving means, 25
...Information acquisition means, 26-Information notification means, 27...
Commit request receiving means, 28... Commit request notifying means. 29...Commit completion receiving means, 3o...Commit 5E notifying means, 31...Atomic action start notifying means, 32.Data transmitting/receiving means, 33...Information notifying means, 34...Commit requesting means %35... Commit completion notification means, 141... Authentication information storage l) A. Agent Patent Attorney Johei Yamashita
Claims (1)
、最下位ノードにおいては、コミット準備完了を隣接す
る上位ノードに通知する際に、そのノード名とパスワー
ド情報を通知するようになっており、中間ノードにおい
ては、隣接する上位ノードにコミット準備完了を通知す
る際に、自ノード名とパスワード情報に加えて、下位ノ
ードから通知された下位ノード名とパスワード情報をも
上位ノードに通知するようになっており、最上位ノード
においては、コミットを実際に実行する前に、2フェイ
ズコミットメントを構成する全ての下位ノードから通知
されたノード名とパスワード情報をチェックする手段を
備えていることを特徴とする2フェイズコミットメント
における認証方式。It has a top node, an intermediate node, and a bottom node, and when the bottom node notifies an adjacent top node that it is ready to commit, it notifies its node name and password information. Therefore, when an intermediate node notifies an adjacent upper node that it is ready to commit, it also notifies the upper node of the lower node name and password information notified from the lower node in addition to its own node name and password information. This means that the top node has a means to check the node name and password information notified from all the lower nodes that make up the two-phase commitment before actually executing the commit. Authentication method for two-phase commitment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2269363A JPH04149657A (en) | 1990-10-09 | 1990-10-09 | Confirming system for 2-phase commitment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2269363A JPH04149657A (en) | 1990-10-09 | 1990-10-09 | Confirming system for 2-phase commitment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04149657A true JPH04149657A (en) | 1992-05-22 |
Family
ID=17471344
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2269363A Pending JPH04149657A (en) | 1990-10-09 | 1990-10-09 | Confirming system for 2-phase commitment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04149657A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08314835A (en) * | 1995-05-19 | 1996-11-29 | Fujitsu Ltd | Service target device, center device, service device, and remote control system |
| JP2002084326A (en) * | 2001-06-11 | 2002-03-22 | Fujitsu Ltd | Service-receiving device, center device, and service device |
-
1990
- 1990-10-09 JP JP2269363A patent/JPH04149657A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08314835A (en) * | 1995-05-19 | 1996-11-29 | Fujitsu Ltd | Service target device, center device, service device, and remote control system |
| US6374298B2 (en) | 1995-05-19 | 2002-04-16 | Fujitsu Limited | System for performing remote operation between firewall-equipped networks or devices |
| JP2002084326A (en) * | 2001-06-11 | 2002-03-22 | Fujitsu Ltd | Service-receiving device, center device, and service device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8433676B2 (en) | Solution method of in-doubt state in two-phase commit protocol of distributed transaction | |
| US7478400B1 (en) | Efficient distributed transaction protocol for a distributed file sharing system | |
| EP0567999B1 (en) | Method and apparatus for executing a distributed transaction in a distributed database | |
| KR100625595B1 (en) | Parallel Logging Method and Transaction Log Processing System of Transaction Processing System | |
| JP2015514247A (en) | System and method for supporting inline delegation of middle tier transaction logs to a database | |
| US6266698B1 (en) | Logging of transaction branch information for implementing presumed nothing and other protocols | |
| JP4842279B2 (en) | Infrastructure for performing file operations by database server | |
| US20180173745A1 (en) | Systems and methods to achieve sequential consistency in replicated states without compromising performance in geo-distributed, replicated services | |
| US20110320420A1 (en) | Decentralized, distributed internet data management | |
| CN106844014B (en) | Implementation method and device for distributed transaction anti-suspension | |
| US5729733A (en) | Method of operating a distributed databse based on object ownership and transaction classification utilizing an aggressive reverse one phase commit protocol | |
| CN112527759B (en) | Log execution method and device, computer equipment and storage medium | |
| JPH0415840A (en) | Distributed data base control device | |
| US6202079B1 (en) | Synchronization procedure in a routing node | |
| US6247038B1 (en) | Optimized synchronization procedure | |
| US6574750B1 (en) | Preserving consistency of passively-replicated non-deterministic objects | |
| KR20140047230A (en) | Method for optimizing distributed transaction in distributed system and distributed system with optimized distributed transaction | |
| JPH04149657A (en) | Confirming system for 2-phase commitment | |
| Pankowski | Consistency and availability of Data in replicated NoSQL databases | |
| Abuya et al. | An Improved Failure Recovery Algorithm In Two-Phase Commit Protocol For Transaction Atomicity | |
| JP4476011B2 (en) | Database system, database inconsistency avoidance method and program | |
| JPS638845A (en) | Update processing system | |
| HK40041363B (en) | Log execution method, device, computer equipment and storage medium | |
| HK40041363A (en) | Log execution method, device, computer equipment and storage medium | |
| JP2000305832A (en) | Device and method for sharing memory in cluster system constituted of plural hosts |