JPH0370057A - Inter-computer communication system - Google Patents
Inter-computer communication systemInfo
- Publication number
- JPH0370057A JPH0370057A JP1206215A JP20621589A JPH0370057A JP H0370057 A JPH0370057 A JP H0370057A JP 1206215 A JP1206215 A JP 1206215A JP 20621589 A JP20621589 A JP 20621589A JP H0370057 A JPH0370057 A JP H0370057A
- Authority
- JP
- Japan
- Prior art keywords
- logical connection
- lrm
- connection identifier
- computer
- order numbers
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 14
- 238000012546 transfer Methods 0.000 claims abstract description 9
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 6
- 238000000034 method Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 238000011084 recovery Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、コンピュータ間通信方式に関し、特に論理コ
ネクションの識別子の付与および状態管理資源の割当て
方法にサイクリック条件を含ませたコンピュータ間通信
方式に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an inter-computer communication system, and in particular to an inter-computer communication system in which a cyclic condition is included in the method of assigning identifiers to logical connections and allocating state management resources. Regarding.
従来のコンピュータ間通信方式の論理コネクション識別
子(以下LRと記す)の付与および論理コネクション識
別子状態管理資源(以下LRMと記す)の割当て方法は
、第5図の関連図に示すように論理コネクションを確立
する双方のコンピュータが独自にLRを定義し、LRと
LRMとを1:1に対応させている。そして、論理コネ
クションの確立要求が発生した場合、複数個の現在使用
可能なLRの中から1個のLRを選択し、論理コネクシ
ョンとLRとLRMとを対応させる方法となっていた。The conventional method for assigning logical connection identifiers (hereinafter referred to as LR) and allocating logical connection identifier state management resources (hereinafter referred to as LRM) in the intercomputer communication method is to establish a logical connection as shown in the related diagram in Figure 5. Both computers independently define LR, and have a 1:1 correspondence between LR and LRM. When a request to establish a logical connection occurs, one LR is selected from among a plurality of currently available LRs, and the logical connection, LR, and LRM are associated with each other.
また−度あるLRを論理コネクションに割当て、この論
理コネクションの使用する通信が終了し、新たな論理コ
ネクションに、直前まで使用していたLRを割当て可能
とするためには、前回LRを割当てた論理コネクション
の解放不完了が、新たにLRを割当てた論理コネクショ
ンに影響を与えることを防ぐため、論理コネクション使
用終了後、一定のタイミング(以下これをコネクション
解放保証タイミングと呼ぶ)の経過後、再び同一のLR
を使用できる方法となっていた。In addition, in order to allocate a certain LR to a logical connection, and when the communication used by this logical connection ends, it is possible to allocate the LR that was used until the previous time to a new logical connection, it is necessary to In order to prevent incomplete release of a connection from affecting the logical connection to which a new LR has been assigned, after a certain timing (hereinafter referred to as connection release guaranteed timing) has passed after the logical connection is used, the same connection is released again. LR of
It was a method that could be used.
上述した従来のLR付与およびLRMの割当て方法では
、
一度あるLRの論理コネクションの割当てを終了し、新
たな論理コネクションに同一のLRを割当てるためには
、コネクション解放保証タイミングを取らなければなら
ない。そのため、LRの利用効率が低い。また、使用可
能LR数が少なく、論理コネクション確立要求が多い場
合は、LRの割当て不可による論理コネクション確立拒
否の発生確立が高いという問題点がある。In the conventional LR assignment and LRM assignment method described above, once the assignment of a logical connection to a certain LR is finished, and in order to assign the same LR to a new logical connection, a connection release guarantee timing must be taken. Therefore, the utilization efficiency of LR is low. Furthermore, when the number of usable LRs is small and the number of logical connection establishment requests is large, there is a problem that there is a high probability that logical connection establishment will be refused due to the inability to allocate an LR.
又、コネクション解放保証タイミングが不十分な長さの
場合には、新たに確立した論理コネクションが前回同一
のLRを割当てた論理コネクションの影響を受け、論理
コネクションの異常解放現象が発生するという問題点も
ある。Additionally, if the connection release guarantee timing is insufficiently long, a newly established logical connection will be affected by the logical connection to which the same LR was previously assigned, resulting in an abnormal logical connection release phenomenon. There is also.
さらに、論理コネクションを使用したデータ通信中に一
方のコンピュータにてシステムダウンが発生し、システ
ムダウン状態から回復する場合、自システムで保有する
全LRの中から、現在使用中LRを探し出し、通信して
いたコンピュータと自システムのLR状態とを比較し、
論理コネクションの状態にダ矛盾が生じれば、これを解
消しなければならない。そのため、使用中LR数が多い
場合は、システムダウンからの回復に時間がかかるとい
う問題点もある。Furthermore, if one computer experiences a system down during data communication using a logical connection and recovers from the system down state, it searches for the LR currently in use from among all the LRs owned by its own system, and communicates with it. Compare the LR status of the computer you were using and your own system,
If a contradiction occurs in the state of a logical connection, it must be resolved. Therefore, when there are many LRs in use, there is a problem that it takes time to recover from a system failure.
本発明のコンピュータ間通信方式は、従来のLRに、L
Rに対応するLRMで独自に管理するサイクリックな順
序番号を包含させたものを新たにLRと定義し、LRと
LRMとの対応をn:1(n>1)とする手段と、論理
コネクションを解放する場合解放する論理コネクション
に対応するLRM内の順序番号を更新する手段と、論理
コネクションを使用してデータ単位を受信した場合この
使用した論理コネクションに対応するLRM内の順序番
号と受信したデータ単位の転送先LR内の順序番号とを
比較し、等しい場合は正常なデータ単位受信処理を実行
し、等しくない場合は使用された論理コテクションは、
自システムでは使用していないことを必要に応じてデー
タ単位送信元して通知する手段と、論理コネクションを
使用しタテータ通信中に、一方のコンピュータにシステ
ムダウンが発生し、システムダウン状態から回復する場
合、自から論理コネクションを強制的に無条件にて解放
する手段とを有する構成である。The computer-to-computer communication system of the present invention adds L to the conventional LR.
An LRM corresponding to R that includes a uniquely managed cyclic sequence number is newly defined as LR, and means for making the correspondence between LR and LRM n:1 (n>1), and a logical connection. means for updating the sequence number in the LRM corresponding to the logical connection to be released, and when a data unit is received using the logical connection, the sequence number in the LRM corresponding to the used logical connection and the received data unit. The data unit is compared with the sequence number in the transfer destination LR, and if they are equal, normal data unit reception processing is executed, and if they are not equal, the used logical protection is
A means to send a data unit to notify that the local system is not using it as necessary, and a method for recovering from a system down state when one computer experiences a system down during data communication using a logical connection. In this case, the configuration has a means for forcibly and unconditionally releasing the logical connection from itself.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、論理コネクションとLRとLRMとの対応関
係とLR−LRMの順序番号の関係を示した関連図であ
る。FIG. 1 is a diagram showing the correspondence between logical connections, LRs and LRMs, and the relationship between LR-LRM order numbers.
コンピュータ#Aとコンピュータ#3間には2本の論理
コネクションが確立していることを示している。又、論
理コネクション#1に対し、コンピュータ#Aでは、L
Rにa l r コンピュータ#BではLRにX、を割
当てていることを示している。This shows that two logical connections have been established between computer #A and computer #3. Also, for logical connection #1, on computer #A, L
This shows that a l r is assigned to R. In computer #B, X is assigned to LR.
第2図は、LRのデータフォーマット図である。FIG. 2 is a data format diagram of LR.
LRは、LR,RFNとLR,SQNというサブフィー
ルドから構成され、LR,RFNはLRMと1:1に対
応し、LRMにてLRの状態を管理している。また、L
R,SQNは論理コネクション確立時にLR,RFNと
対応するLRMで持つ順序番号SQN値が割当てられる
。The LR is composed of subfields called LR, RFN and LR, SQN, and the LR and RFN correspond to the LRM on a 1:1 basis, and the state of the LR is managed by the LRM. Also, L
R and SQN are assigned the sequence number SQN value held by the LRM corresponding to LR and RFN when the logical connection is established.
第3図は、LRM#aを2回使用した場合の順序番号の
変化を示す状態図である。FIG. 3 is a state diagram showing changes in sequence numbers when LRM#a is used twice.
第3図(a)は、コンピュータ#Aにおいて、LRM#
aのSQN;6Siの時、論理コネクタ 7確立要求が
生じ、この論理コネクション#mにLRM#aを割当て
、その結果LRにaiが割当てられた状態を示している
。第3図(b)は、第3図(a)の論理コネクション#
mを解放し、解放処理においてLRM#aのSQNを1
だけ加算し、5QN=i+1とした。この状態において
、新たに論理コネクション確立要求が生じ、この論理コ
ネクション#nにLRM#aを再び割当て、LRに&+
+1を割当てた状態を示している。FIG. 3(a) shows that on computer #A, LRM#
When the SQN of a is 6Si, a request to establish logical connector 7 is generated, LRM #a is assigned to this logical connection #m, and as a result, ai is assigned to LR. FIG. 3(b) shows the logical connection # of FIG. 3(a).
m, and in the release process, set the SQN of LRM#a to 1.
5QN=i+1. In this state, a new logical connection establishment request is generated, LRM#a is reassigned to this logical connection #n, and LR is &+
A state in which +1 is assigned is shown.
第4図は、論理コネクションの確立とデータ転送と解放
とを説明するためのシーケンス図である。FIG. 4 is a sequence diagram for explaining establishment, data transfer, and release of a logical connection.
第4図(a)は、論理コネクションを確立し、データ転
送を行った後、論理コネクションを解放する正常なシー
ケンス例であり、コンピュータ#A、#Bそれぞれが使
用したLRMの順序番号SQNが、論理コネクションを
解放することにより、更新されることを示している。FIG. 4(a) is an example of a normal sequence in which a logical connection is established, data is transferred, and then the logical connection is released, and the sequence number SQN of the LRM used by computers #A and #B is This indicates that it will be updated by releasing the logical connection.
第4図(b)は、論理コネクションの解放異常が発生し
た例であり、フンピユータ#BでLRM#Xを低論理コ
ネクションに再び割当てた後に、前回LRM#xを割当
てた論理コネクションあてのRLSDLツセージを受信
している。受信したRLSDLツセージの転送先LRの
順序番号LR,5QN=pとLRM#xのRLSDL信
時の順序番号LRM、5QN=p+1とが異なるため、
RLSDLツセージ受信に対しては、RLSD内の転送
元LRへRLCLツセージを送出し、前回L RM #
xを割当てた論理コネクションを解放させている。ま
た、LRM#xを現在割当てている論理コネクションは
、前回L RM # xを割当てた論理コネクションか
らRLSDを受信しても、何も影響を受けていないこを
示している。Figure 4(b) is an example in which a logical connection release error has occurred, and after the computer #B reassigns LRM#X to a low logical connection, an RLSDL message is sent to the logical connection to which LRM#x was previously assigned. is being received. Since the sequence number LR,5QN=p of the forwarding destination LR of the received RLSDL message is different from the sequence number LRM,5QN=p+1 at the time of RLSDL transmission of LRM#x,
When receiving an RLSDL message, the RLCL message is sent to the transfer source LR in the RLSD, and the previous L RM #
The logical connection to which x was allocated is released. Further, it is shown that the logical connection to which LRM #x is currently assigned is not affected by receiving the RLSD from the logical connection to which LRM #x was previously assigned.
第4図(c)は、論理コネクションを確立し、通信中に
コンピュータ#Bにおいて、システムダウンが発生し、
システムダウン状態から回復する場合ニ、論理コネクシ
ョンを強制的にコンピュータ#Bのみで解放した例であ
る。論理コネクションの強制解放処理では、LRM#x
の順序番号SQNを1だけ加算し、5QN=p+1とし
ている。FIG. 4(c) shows that a system down occurs on computer #B during communication after establishing a logical connection.
This is an example in which the logical connection is forcibly released only on computer #B when recovering from a system down state. In the logical connection forced release process, LRM#x
The sequence number SQN of is added by 1, and 5QN=p+1.
さらにその後、新たに論理コネクション確立要求が生じ
、LRM#xを再び論理コネクションに割当てている状
態を示している。この状態で、前回LRM#xを割当て
ていた論理コネクションあてにRLSDLツセージを受
信すると、RLSDLツセージの転送先LR内の順序番
号LR,5QN=pと現在のLRM#xの順序番号LR
M、5QN=p+1とが異なるため、RLSDLツセー
ジに対しては、第4図(b)の場合と同様に、RLCL
ツセージを送出し、論理コネクションを開放している。Furthermore, after that, a new logical connection establishment request is generated, and LRM #x is again allocated to the logical connection. In this state, when an RLSDL message is received for the logical connection to which LRM#x was previously assigned, the sequence number LR,5QN=p in the destination LR of the RLSDL message and the sequence number LR of the current LRM#x
Since M, 5QN=p+1 are different, for RLSDL tsage, as in the case of FIG. 4(b), RLCL
message is sent and the logical connection is released.
なお、第1図、第2図、第3図、第4図の何れも、CC
ITT血7信号方式5CCP機能を使用したコンピュー
タ間のデータ通信を想定している。In addition, all of Fig. 1, Fig. 2, Fig. 3, and Fig. 4 are CC
Data communication between computers is assumed using the ITT Blood 7 Signal System 5CCP function.
以上説明したように、本発明は、従来のLR内にサイク
リックな順序番号を含ませたものを、新たにLRと定義
し、LRとI、RMの対応をn:1(n>1)にするこ
とにより、LRMの解放に要す6時間の短縮を計ること
が出来、LRMの利用効率を向上する効果がある。また
、−度あるLRMを使用し、その後新たな論理コネクシ
ョンに同一のLRMを割当てた場合、前回にLRMを割
当てた論理コネクションの解放異常による新たな論理コ
ネクションへの影響を完全に防ぐことができる効果があ
り、更にデータ通信中のシステムダウン時1通信してい
た相互システム間で同一の論理コネクションの管理状態
不一致が避けられない場合でも、本発明を適用し、シス
テムダウンからの回復手順を簡単化し、システムの回復
手順に要する時間を短縮することができるのでシステム
ダウンタイムを減少させることができる効果もある。As explained above, in the present invention, a conventional LR including a cyclic sequence number is newly defined as an LR, and the correspondence between LR, I, and RM is n:1 (n>1). By doing so, the time required to release the LRM can be shortened by 6 hours, which has the effect of improving the utilization efficiency of the LRM. Additionally, if a certain LRM is used and the same LRM is subsequently assigned to a new logical connection, it is possible to completely prevent the new logical connection from being affected by a release error in the logical connection to which the LRM was previously assigned. This invention is effective, and even when a system goes down during data communication, even if discrepancies in the management status of the same logical connection are unavoidable between communicating systems, the present invention can be applied to simplify the recovery procedure from a system down. This also has the effect of reducing system downtime because the time required for system recovery procedures can be shortened.
す状態図、第4図は本発明を適用した論理コネクション
の確立とデータ転送と解放とを説明するためのシーケン
ス図、第5図は従来のLR付与とLRM割当てを示す論
理コネクションとLRとLRMとの関連図である。4 is a sequence diagram for explaining the establishment, data transfer, and release of a logical connection to which the present invention is applied. FIG. 5 is a logical connection, LR, and LRM showing conventional LR assignment and LRM assignment. FIG.
Claims (1)
クションを確立するため、該当する双方のコンピュータ
がそれぞれ独立に論理コネクション識別子と論理コネク
ション識別子状態管理資源とを割当て、前記論理コネク
ション識別子を前記双方のコンピュータ間で通知するこ
とにより確立した前記論理コネクションを使用して転送
されるデータ単位内に少なくとも転送先論理コネクショ
ン識別子あるいは転送元論理コネクション識別子を設定
しておくコンピュータ間通信方式において、前記論理コ
ネクションの前記論理コネクション識別子内部に前記論
理コネクション識別子に対応する前記論理コネクション
識別子状態管理資源で独自に管理するサイクリックな順
序番号を含ませる第一の制御手段と、コンピュータ間通
信が終了し前記論理コネクションを開放する場合は、前
記論理コネクション識別子と前記論理コネクション識別
子状態管理資源との対応を解消し、前記論理コネクショ
ン識別子状態管理資源内の前記順序番号を更新し、新た
に確立する論理コネクションで前記論理コネクション識
別子状態管理資源が管理する順序番号を持つ前記論理コ
ネクション識別子を割当て可能とする第二の制御手段と
、相手となるコンピュータから前記論理コネクションを
使用して転送されてきたデータ単位に含まれる前記順序
番号と前記転送先論理コネクション識別子に対応する前
記論理コネクション識別子状態管理資源で持つ順序番号
とが等しくない場合に前記論理コネクションが自システ
ムでは開放済みであることを検出し前記相手となるコン
ピュータに通知する通知手段と、前記コンピュータ間で
前記論理コネクションを使用してデータ転送中に一方の
コンピュータがシステムダウンを発生し前記システムダ
ウンから回復するため前記システムダウンを発生したコ
ンピュータに前記論理コネクションを強制的に無条件で
開放させるための第三の制御手段とを有することを特徴
とするコンピュータ間通信方式。In order to establish a logical connection between multiple computers that can operate in conjunction with each other, both relevant computers independently allocate a logical connection identifier and a logical connection identifier state management resource, and the logical connection identifier is shared between the two computers. In an intercomputer communication method, at least a transfer destination logical connection identifier or a transfer source logical connection identifier is set in a data unit to be transferred using the logical connection established by notifying the logical connection of the logical connection. a first control means for including in a connection identifier a cyclic sequence number uniquely managed by the logical connection identifier state management resource corresponding to the logical connection identifier; If so, the correspondence between the logical connection identifier and the logical connection identifier state management resource is canceled, the sequence number in the logical connection identifier state management resource is updated, and the logical connection identifier state is changed in the newly established logical connection. a second control means capable of allocating the logical connection identifier having a sequence number managed by a management resource; and the sequence number included in a data unit transferred from a partner computer using the logical connection. a notification that detects that the logical connection has been released in its own system and notifies the other party computer when the order numbers held in the logical connection identifier state management resource corresponding to the transfer destination logical connection identifier are not equal; means, one of the computers experiences a system down during data transfer using the logical connection between the computers, and in order to recover from the system down, the computer that caused the system down is forced to disable the logical connection. A computer-to-computer communication system characterized by having a third control means for opening the system under certain conditions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1206215A JPH0370057A (en) | 1989-08-08 | 1989-08-08 | Inter-computer communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1206215A JPH0370057A (en) | 1989-08-08 | 1989-08-08 | Inter-computer communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0370057A true JPH0370057A (en) | 1991-03-26 |
Family
ID=16519672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1206215A Pending JPH0370057A (en) | 1989-08-08 | 1989-08-08 | Inter-computer communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0370057A (en) |
-
1989
- 1989-08-08 JP JP1206215A patent/JPH0370057A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0643521B1 (en) | Method for building a sub-network in a distributed voice messaging system | |
US6542934B1 (en) | Non-disruptively rerouting network communications from a secondary network path to a primary path | |
EP2347563B1 (en) | Distributed master election | |
EP2911341B1 (en) | Method and device for dynamically switching gateway of distributed resilient network interconnect | |
JPH06202969A (en) | Computer in network and its operating method | |
CN103051470B (en) | The control method of a kind of cluster and magnetic disk heartbeat thereof | |
JP2001306349A (en) | Backup device and backup method | |
WO1994015418A1 (en) | Communication between tasks within repeaters of a communication system | |
CN112003716A (en) | Data center dual-activity implementation method | |
JPH0720162B2 (en) | Logical grouping of layer entities in layer communication architecture | |
CN115152192B (en) | PCE controlled network reliability | |
JPH1185644A (en) | System switching control method for redundant configuration system | |
US7240088B2 (en) | Node self-start in a decentralized cluster | |
CN112995027B (en) | Route publishing method and VTEP node | |
US20050198370A1 (en) | Method for creating, deleting, and maintaining logical networks | |
CN116095145B (en) | Data control method and system of VPC cluster | |
JPH0370057A (en) | Inter-computer communication system | |
US8588107B2 (en) | Returning domain identifications without reconfiguration | |
CN106130783B (en) | Port fault processing method and device | |
JP2000215076A (en) | Cluster system and fail-over processing method for cluster system | |
CN114301763A (en) | Distributed cluster fault processing method and system, electronic device and storage medium | |
CN107153594B (en) | HA component main selection method and system of distributed database system | |
CN110435722A (en) | A kind of implementation of load balancing of the trans-regional data exchange of track traffic synthetic monitoring system | |
CN115643237B (en) | Data processing system for conference | |
CN114745393B (en) | Session synchronization system and method thereof, cloud computing center and cloud computing device |