JPH03219353A - Method for processing specification of operation continuation disabled logical connection - Google Patents

Method for processing specification of operation continuation disabled logical connection

Info

Publication number
JPH03219353A
JPH03219353A JP2015743A JP1574390A JPH03219353A JP H03219353 A JPH03219353 A JP H03219353A JP 2015743 A JP2015743 A JP 2015743A JP 1574390 A JP1574390 A JP 1574390A JP H03219353 A JPH03219353 A JP H03219353A
Authority
JP
Japan
Prior art keywords
data
counter
communication control
control program
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.)
Ceased
Application number
JP2015743A
Other languages
Japanese (ja)
Inventor
Masayuki Kasukawa
粕川 雅之
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2015743A priority Critical patent/JPH03219353A/en
Publication of JPH03219353A publication Critical patent/JPH03219353A/en
Ceased legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Retry When Errors Occur (AREA)
  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To make it possible to specify logical connection which can not be continued by a stand-by process when a communication control program is disabled from operating by judging whether operation can be continued or not, and at the time of deciding the invalidity of operation continuation, disconnecting the logical connection. CONSTITUTION:When the communication control program 12 confirms the sending of data, when the processing of received data are completed in the program 12, or when a protocol event independent of the data is ended in the program 12, a counter 17 executes count-down operation. When the operation is continued by the stand-by process 14 by operating the counter 17 in each case, the contents of the counter 17 is checked after constructing the operation environment of logical connection to specify the logical connection whose operation can not be continued. Consequently, a connection which can not be continued by the stand-by process can be expressed by the simple method and the connection to be disconnected can quickly be specified.

Description

【発明の詳細な説明】 [概要] 現用プロセスと待機プロセスとにより9通信制御プログ
ラムの連続運転を保証する計算機システムにおいて、処
理中であるため切断しなければならない論理結合を特定
する業務継続不可能な論理結合特定処理方法に関し 通信制御プログラムが動作不能になったときに待機プロ
セスで引き継ぎできない論理結合を特定する手段を提供
することを目的とし 共有メモリ上の論理結合を示す動作環境内にカウンタを
用意し、現用プロセスは、その現用プロセスが動作不能
になったときに待機プロセスで通信を継続すると悪影響
がある事象の発生に対して。
[Detailed Description of the Invention] [Summary] In a computer system that guarantees the continuous operation of nine communication control programs using active processes and standby processes, business continuity is impossible by identifying logical connections that must be cut because they are being processed. The purpose of this method is to provide a means for identifying logical connections that cannot be taken over by a standby process when a communication control program becomes inoperable. Prepare for the occurrence of an event in which the active process has an adverse effect on continuing communication with the standby process when that active process becomes inoperable.

カウンタを操作する処理過程と、その事象が終了したな
らば上記カウンタを逆操作する処理過程とを備え、待機
プロセスは、現用プロセスの業務を引き継ぐ場合に2カ
ウンタの値により、業務継続可能かどうかの判断を行い
、不可能と判断したときに、その論理結合を解放する処
理過程とを備えるように構成する。
It is equipped with a processing process that operates a counter, and a processing process that reversely operates the counter when the event ends, and when the standby process takes over the work of the active process, it determines whether the work can be continued based on the value of the two counters. and, when it is determined that it is impossible, to release the logical connection.

〔産業上の利用分野〕[Industrial application field]

本発明は、現用プロセスと待機プロセスとにより2通信
制御プログラムの連続運転を保証する計算機システムに
おいて、処理中であるため切断しなければならない論理
結合を特定する業務継続不可能な論理結合特定処理方法
に関する。
The present invention is a computer system that guarantees continuous operation of two communication control programs using an active process and a standby process. Regarding.

〔従来の技術〕[Conventional technology]

従来2通信制御プログラムの連続運転を可能とするため
に2次のようなシステムが考えられている。
Conventionally, the following two systems have been considered to enable continuous operation of two communication control programs.

運用中の通信制御プログラムを実行するプロセス(これ
を現用プロセスという)の動作不能に影響を受けず、現
用プロセスが動作不能となった場合に、その運用を引き
継ぐプロセス(これを待機プロセスという)を構築でき
るハードウェアを持っている。また、このシステムは、
現用プロセスの動作不能に影、響を受けず、現用プロセ
スと待機プロセスの双方から参照可能な共有メモリを持
っている。
A process that is not affected by the inoperability of the process that executes the communication control program that is currently in operation (this is called the active process), and that takes over the operation of the active process when it becomes inoperable (this is called the standby process). They have the hardware to build it. Also, this system
It is not affected by the inability of the active process and has shared memory that can be referenced by both the active process and the standby process.

現用プロセスは、動作環境を共有メモリに退避する手段
を持ち、待機プロセスは、その動作環境を読み込んで、
動作環境を再構築する手段を持つ。
The active process has a means to save its operating environment to shared memory, and the standby process reads the operating environment and saves it to shared memory.
Have the means to rebuild the operating environment.

現用プロセスにおいて、その現用プロセスが動作不能に
なったときに待機プロセスで通信を継続しても悪影響が
ある事象が発生した場合、処理中の旨を記憶し、その事
象が終了したなら、処理中の旨の記憶を消去する。
If an event occurs in the active process that would have an adverse effect on continuing communication in the standby process when the current process becomes inoperable, it will be remembered that it is currently being processed, and once the event has ended, the process will continue to be processed. Erase the memory of that effect.

そして、待機プロセスに現用プロセスの業務を引き継く
場合、動作環境内に処理中を記憶している応用プログラ
ムと通信相手に対して1通信に異常があったことを通知
する。
When the standby process takes over the work of the active process, it notifies the application program that is stored in the operating environment and the communication partner that there is an abnormality in one communication.

こうすることにより1通信制御プログラム利用者に、連
続運転を保証する。ここで2通信制御プログラム利用者
とは2通信制御プログラムを直接使用する応用プログラ
ムおよび通信相手システム(端末利用者を含む)を意味
する。
By doing this, continuous operation is guaranteed for users of the 1 communication control program. Here, the term 2 communication control program user means an application program and a communication partner system (including a terminal user) that directly uses the 2 communication control program.

現用プロセスにおいて、動作不能になったなら。If the current process becomes inoperable.

待機プロセスで通信を継続しても悪影響がある事象には
2次のものがある。
There are two types of events that have an adverse effect even if communication continues in the standby process.

(a)  通信制御プログラム利用者が送信したデータ
を9通信制御プログラムが処理中である事象。
(a) An event in which the 9 communication control program is processing data sent by the communication control program user.

(b)  通信制御プログラムが2通信相手の通信制御
プログラムと一連の通信プロトコル処理を行っていると
きの事象。
(b) An event that occurs when the communication control program is performing a series of communication protocol processing with the communication control programs of two communication partners.

第5図(イ)〜(ハ)は、これらの事象の処理中の旨を
記録する従来技術による方法の例を示しでいる。
FIGS. 5A to 5C show examples of prior art methods for recording the fact that these events are being processed.

第5図(イ)に示す方法では、利用者からのデータを通
信制御プログラムが受信したときに、受信データの一部
を共有メモリ15に記録しく■)データ処理を終了した
なら、その記録を消去する(■)。
In the method shown in FIG. 5(a), when the communication control program receives data from a user, a part of the received data is recorded in the shared memory 15. Delete (■).

第5図(ロ)に示す方法では、利用者からのデータを通
信制御プログラムが受信したときに、その論理結合(コ
ネクションともいう)を示す共有メモリ15上の動作環
境にフラグを立てる(■)。
In the method shown in FIG. 5 (b), when the communication control program receives data from a user, it sets a flag (■) in the operating environment on the shared memory 15 that indicates the logical connection (also called connection). .

終了後、フラグを消去する(■)。After finishing, clear the flag (■).

第5図(ハ)に示す方法は、データ受信に伴いプロトコ
ル事象が発生し、その事象を通信相手に通知し2通信相
手からの応答を待ってそのプロトコルアトミシティを保
証する場合に適用され、ここでは、利用者とのコネクシ
ョンを示す動作環境に プロトコル処理中であることを
示すフラグを立てる。応答を受信したときに、そのフラ
グを消去する。すなわち、■のデータ受信のときには前
述した第5図(イ)または(ロ)に示す技法と同し技法
により、データ処理中を共有メモリ15に記す。そして
■の完了受信により、データ処理中を消去する。また、
第5図(ハ)の■に示すように2通信相手に転送するプ
ロトコル事象(相手からの応答を受信してアトミシティ
が保証される事象)が発生した場合、コネクシラン動作
環境上のプロトコル事象を示すフラグを立てる。■の応
答を受信したとき、プロトコル事象を示すフラグを消去
する。
The method shown in FIG. 5(c) is applied when a protocol event occurs with data reception, the event is notified to the communication partner, and the protocol atomicity is guaranteed by waiting for a response from the two communication partners. Here, a flag is set in the operating environment that indicates the connection with the user to indicate that protocol processing is in progress. Clear that flag when a response is received. That is, when receiving data in (2), the same technique as shown in FIG. Then, upon receipt of the completion of (■), the data processing in progress is cleared. Also,
As shown in ■ in Figure 5 (c), when a protocol event that transfers to two communication partners (an event in which atomicity is guaranteed by receiving a response from the other party) occurs, it indicates a protocol event in the Conexilan operating environment. flag. When the response of (2) is received, clear the flag indicating the protocol event.

[発明が解決しようとする課lWl] 第5図(イ)または(ロ)に示す方法は1次のような問
題がある。
[Issues to be Solved by the Invention] The method shown in FIG. 5 (a) or (b) has the following problem.

通信制御プログラムが実装する通信プロトコルが、第6
図に示すように、複数のプロトコル層により構成されて
おり、ある層が使用者データの分割機能単位を持ち、そ
の下位層が、上位層からのデータ送信要求を受信順序通
り受信できない場合(転送するネットワーク綱が異なる
場合など)。
The communication protocol implemented by the communication control program is
As shown in the figure, it is composed of multiple protocol layers, and if one layer has a functional unit for dividing user data, and the lower layer cannot receive data transmission requests from the upper layer in the order in which they are received (transfer (e.g. when the network lines used are different).

受信データの記録を消す契機がつかめない。I can't find an opportunity to delete the record of received data.

すなわち、第6図に示す(n+1)層で受信データの分
割が発生したと仮定する。
That is, it is assumed that the received data is divided at the (n+1) layer shown in FIG.

データ記憶またはフラグによるデータ処理中の表示は1
通信制御プログラム12がデータlを受信したときに行
う。(n)層の分割データは、順序通り、■、■、■の
順でネットワークに転送する。このとき、第6図(イ)
に示すように、そのデータ転送の完了が送出順通りにく
ることが保証されれば1分割の最終データを受信したと
きに。
Display during data storage or data processing by flag is 1
This is performed when the communication control program 12 receives data l. The divided data of the (n) layer is transferred to the network in the order of ■, ■, ■. At this time, Fig. 6 (a)
As shown in , if it is guaranteed that the data transfer will be completed in the order in which it was sent, then when the final data of one division is received.

データ処理中の表示を消去すればよい。しかし第6図(
ロ)に示すように、その完了順序が保証されていない場
合には、データ処理中表示を消去する時点が事前にわか
らない。
All you have to do is clear the display that data is being processed. However, Fig. 6 (
As shown in b), if the order of completion is not guaranteed, it is not known in advance when to erase the data processing display.

データ処理中を消す契機をつかむために、各層独立に送
信記録を採取し、処理すればできるがこの場合、性能低
下が著しいことになる。
In order to seize the opportunity to erase the data processing status, it is possible to collect and process transmission records independently for each layer, but in this case, the performance will be significantly degraded.

第5図(ハ)に示すようなプロトコル事象は通信相手と
の送信方向/受信方向で並行に?!数事象発生する。し
たがって、2つ以上の技法の組合せになる。
Are the protocol events shown in Figure 5 (c) occurring in parallel in the transmission and reception directions with the communication partner? ! Several events occur. Therefore, it is a combination of two or more techniques.

本発明は上記問題点の解決を図り、データを分割して転
送したときに、その完了順序が保証されないような場合
であっても9通信制御プログラムが動作不能になったと
きに、待機プロセスで引き継ぎできない論理結合を特定
する手段を提供することを目的としている。
The present invention aims to solve the above-mentioned problems, and even if the completion order is not guaranteed when data is divided and transferred, when the communication control program becomes inoperable, the standby process The purpose is to provide a means to identify logical connections that cannot be inherited.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の構成例を示す。 FIG. 1 shows an example of the configuration of the present invention.

図中、10は1台または複数台のプロセッサ(CPU)
を備えた計算機システム、11はデータ通信を行って利
用者に要求された処理を実行する応用プログラム、12
は通信アクセス法を実現する通信制御プログラム、13
は現用プロセス。
In the figure, 10 is one or more processors (CPU)
11 is an application program that performs data communication to execute processes requested by the user; 12 is a computer system equipped with a computer system;
is a communication control program that realizes the communication access method, 13
is the current process.

14は待機プロセス、15は現用プロセス13および待
機プロセス14の両方からアクセス可能な共有メモリ、
16は論理結合に関する動作環境であって、現用プロセ
ス13から待機プロセス14へ引き継く情報、17はデ
ータ処理中であることを示すためのカウンタを表す。
14 is a standby process; 15 is a shared memory accessible from both the active process 13 and the standby process 14;
Reference numeral 16 represents an operating environment related to logical combination, which is information handed over from the active process 13 to the standby process 14. Reference numeral 17 represents a counter for indicating that data processing is in progress.

計算機システム10において2通信制御プログラム12
を実行するプロセスが、現用プロセス13と待機プロセ
ス14とにより多重化されている。
2 communication control program 12 in the computer system 10
The processes that execute the process are multiplexed into an active process 13 and a standby process 14.

現用プロセス13は2通常運用のために動作するプロセ
スであり、待機プロセス14は、現用プロセス13が動
作不能になったときに、業務を継続して運用するため待
機しているプロセスである。
The active process 13 is a process that operates for normal operation, and the standby process 14 is a process that stands by in order to continue operating the business when the active process 13 becomes inoperable.

共有メモリ15は、現用プロセス13の動作不能に影響
を受けず、現用プロセス13と待機プロセス14とから
アクセスできるようになっている記憶装置である。この
共有メモリ15内に、業務の引き継ぎに必要な論理結合
(コネクション)に関する動作環境16が退避されるよ
うになっている。さらに7本発明では、データ処理中を
示すカウンタ17が各動作環境16内に設けられる。
The shared memory 15 is a storage device that is not affected by the inoperability of the active process 13 and can be accessed by the active process 13 and the standby process 14. In this shared memory 15, an operating environment 16 related to logical connections (connections) necessary for taking over the business is saved. Furthermore, in the present invention, a counter 17 is provided in each operating environment 16 to indicate that data is being processed.

現用プロセス13は5次の処理過程P1〜P3を実行す
る。
The current process 13 executes the fifth-order processing steps P1 to P3.

処理過程PIでは1通信を行う応用プログラム11とそ
の通信相手との論理結合に関する動作環境16を作成し
、それを共有メモリ15に設定する。
In the processing step PI, an operating environment 16 regarding the logical connection between the application program 11 that performs one communication and its communication partner is created and set in the shared memory 15.

処理過程P2では5現用プロセス13の動作不能時に待
機プロセス14で通信を継続すると悪影響があるような
種類の事象が発生した場合に、共有メモリ15における
その動作環境16に対応するカウンタ17の値に1を加
算する。
In processing step P2, if an event occurs that would have an adverse effect if the standby process 14 continues communication when the active process 13 is unable to operate, the value of the counter 17 corresponding to the operating environment 16 in the shared memory 15 is changed. Add 1.

処理過程P3では、その事象が終了した場合に。In processing step P3, when the event ends.

カウンタ17の値から1を減算する。Subtract 1 from the value of counter 17.

待機プロセス14は1次の処理過程P4〜P6を実行す
る。
The standby process 14 executes primary processing steps P4 to P6.

処理過程P4では、共有メモリ15を参照し。In the processing step P4, the shared memory 15 is referred to.

論理結合単位の動作環境16を、事前にまたは現用プロ
セス13の動作不能通知時に、現用プロセス13から引
き継ぐ。
The operating environment 16 of the logical connection unit is taken over from the current process 13 in advance or when the current process 13 is notified of inoperability.

処理過程P5では、現用プロセス13の業務を引き継く
場合に、動作環境16中のカウンタ17の値が0かどう
かを調べ、業務継続が可能であるか不可能であるかを判
断する。0の場合には、業務継続が可能である。
In processing step P5, when taking over the business of the current process 13, it is checked whether the value of the counter 17 in the operating environment 16 is 0, and it is determined whether or not the business can continue. If it is 0, business can continue.

カウンタ17の値が0でない場合、データ処理中で、そ
のまま業務を継続したときには、何らかの悪影響が生じ
る。そこで、処理過程P6によりその業務不可能な論理
結合を一旦解放する。
If the value of the counter 17 is not 0, some kind of adverse effect will occur if the business is continued while data is being processed. Therefore, in process P6, the logical connection that cannot be used is temporarily released.

〔作用〕[Effect]

一般に、計算機システム10における通信処理には2次
のような特徴がある。
Generally, communication processing in the computer system 10 has the following secondary characteristics.

(a)  通常の場合、データ送信要求/データ受信要
求のいずれにおいても、要求はCPUステップのみで瞬
時に処理される。すなわち1通信制御プログラム12に
要求が保留されることは少ない。
(a) Normally, both data transmission requests and data reception requests are instantaneously processed using only CPU steps. In other words, requests are rarely put on hold in one communication control program 12.

(b)  通信制御プログラム12の処理は、処理開始
から終了まで一連の制御の流れで終了する。
(b) The processing of the communication control program 12 is completed through a series of control flows from the start to the end of the process.

このような特徴を考慮すると1通信制御プログラム12
が動作不能になったときに、その通信制御プログラム1
2で実際に通信の送受信データを処理していることは少
ない。したがって2通信制御プログラム12の動作不能
に影響を受ける業務は少ないことになる。
Considering these characteristics, 1 communication control program 12
When the communication control program 1 becomes inoperable,
2 is rarely used to actually process communication data sent and received. Therefore, fewer jobs are affected by the inoperability of the second communication control program 12.

本発明は、この点に着目して1通信制御プログラム12
の動作不能により影響を受ける応用プログラム11と通
信相手の論理結合関係を特定し影響のあった応用プログ
ラム11と通信相手だけに4通信について異常があった
ことを通知し、影響がないものについては、何も通知し
ないで、連続運転を保証するようにしている。
The present invention focuses on this point and provides 1 communication control program 12.
Identify the logical connection relationship between the application program 11 affected by the inoperability and the communication partner, notify only the affected application program 11 and the communication partner that there was an abnormality regarding 4 communications, and notify those that are not affected. , to ensure continuous operation without any notification.

本発明では、特にデータ処理中の表示にカウンタ17を
使用しているので、従来技術の問題点として挙げた第6
図(ロ)に示すようなケースでも。
In the present invention, since the counter 17 is used especially for displaying data during data processing, the sixth problem raised as a problem of the prior art is
Even in the case shown in Figure (b).

業務継続の可能/不可能を高速に特定することができる
。
It is possible to quickly identify whether business continuity is possible or not.

第1図に示すカウンタ17をカウントアツプ操作するの
は、以下のような事象の場合である。
The counter 17 shown in FIG. 1 is operated to count up in the following cases.

(a)  通信制御プログラム12が、利用者からデー
タを受信し、そのデータ処理を開始するとき。
(a) When the communication control program 12 receives data from the user and starts processing the data.

し)通信制御プログラム12が、利用者がらのデータを
分割し、新たなデータ単位を発生した場合。
(b) When the communication control program 12 divides the user's data and generates a new data unit.

(C)  通信制御プログラム12において、上記事象
の完了と同期しない新たなプロトコル事象が発生した場
合。
(C) In the communication control program 12, a new protocol event occurs that is not synchronized with the completion of the above event.

そして、カウンタ】7をカウントダウン操作するのは、
以下の事象の場合である。
And, to count down the counter]7,
This is the case for the following events.

(a)  通信制御プログラム12が、データを送出し
たことを確認したとき。
(a) When the communication control program 12 confirms that data has been sent.

(b)  通信制御プログラム12内で受信したデータ
の処理が終了した場合。
(b) When processing of data received within the communication control program 12 is completed.

(C)  通信制御プログラム12内でデータに依存し
ないプロトコル事象が終了した場合。
(C) When a protocol event that does not depend on data ends within the communication control program 12.

このようにケースでカウンタ17を操作し、待機プロセ
ス14で業務を引き継く場合、論理結合の動作環境を構
築後、カウンタ17を調べて、業務継続不可能な論理結
合を特定する。
In this case, when the counter 17 is operated and the standby process 14 takes over the business, the counter 17 is checked after constructing the operating environment for the logical combination to identify the logical combination that makes it impossible to continue the business.

(実施例〕 第2図は本発明の実施例に係る現用プロセスの処理の例
、第3図は本発明の実施例に係る待機プロセスの処理の
例、第4図は本発明の実施例によるカウンタ制御の例を
示す。
(Example) Fig. 2 is an example of the processing of the active process according to the embodiment of the present invention, Fig. 3 is an example of the processing of the standby process according to the embodiment of the present invention, and Fig. 4 is according to the embodiment of the present invention. An example of counter control is shown.

第2図および第3図において、01〜C3はコネクンジ
ン(論理結合)、T1〜T3は通信相手を表している。
In FIGS. 2 and 3, 01 to C3 represent connections (logical connections), and T1 to T3 represent communication partners.

第2図に示す現用プロセス13の動作は、以下のとおり
である。
The operation of the current process 13 shown in FIG. 2 is as follows.

■ 現用プロセス13は、各コネクション01〜C3に
関する動作環境を、逐次、共有メモリ15に記憶する。
(2) The current process 13 sequentially stores the operating environment regarding each connection 01 to C3 in the shared memory 15.

■ 応用プログラム11と通信相手T1〜T3との間で
、事象が発生した場合、その動作環境における論理結合
関係のカウンタを操作し、それを共有メモリ15に反映
する。第2図では、このカウンタの情報を・で示してい
る。
(2) When an event occurs between the application program 11 and the communication partners T1 to T3, the counters related to the logical connection in the operating environment are operated and reflected in the shared memory 15. In FIG. 2, this counter information is indicated by .

このカウンタの操作は、以下の場合に行う。This counter is operated in the following cases.

fa)  応用プログラム11からデータを受信したと
きに、1加算する。
fa) Add 1 when data is received from the application program 11.

(b)  応用プログラム11からの受信データを分割
した場合に1分割データ単位に1加算する。
(b) When the received data from the application program 11 is divided, add 1 to each divided data unit.

FC)  通信相手工1などからデータを受信したとき
に、1加算する。
FC) Add 1 when data is received from communication partner 1, etc.

(d)  上記処理の終了と同期しないプロトコルデー
タ送信処理が発生した場合、1加算する。
(d) If protocol data transmission processing occurs that is not synchronized with the end of the above processing, add 1.

(e)  上位層からカウンタを1減算する指示を受信
し、かつ受信データの転送が終了したときに、1減算す
る。
(e) When an instruction to subtract 1 from the counter is received from the upper layer and the transfer of the received data is completed, the counter is subtracted by 1.

(f)  応用プログラム11および通信相手T1〜T
3にデータ転送を伴わないプロトコル処理が終了したと
きに、1減算する。
(f) Application program 11 and communication partners T1 to T
3 is subtracted by 1 when protocol processing that does not involve data transfer is completed.

第3図に示す待機プロセス14の動作は、以下のとおり
である。
The operation of the standby process 14 shown in FIG. 3 is as follows.

■ 共有メモリ15から読み出した情報により現用プロ
セス13の動作環境を、待機プロセス14内に構築する
。
(2) The operating environment of the active process 13 is constructed in the standby process 14 using the information read from the shared memory 15.

■ 構築した論理結合関係を検索し、カウンタを調べる
。カウンタの値がOならば、処理中でないので、コネク
ションを切断することなく、業務を継続する。
■ Find the logical join relationships you have built and examine the counters. If the counter value is O, the process is not in progress, so the service continues without disconnecting.

■ 調べた結果、カウンタの値がOならば、処理中のた
め、応用プログラム11および通信相手に異常があった
ことを通知する。
(2) As a result of checking, if the counter value is O, processing is in progress, and the application program 11 and the communication partner are notified that there is an abnormality.

第3図に示す例では、コネクションC2,C3は、処理
中でないため、そのまま継続して用いられる。コ不りン
ヨンC1は、カウンタの値がOでなく、処理中であるた
め、業務を継続すると論理的な動作異常が発生する可能
性があると判断され。
In the example shown in FIG. 3, connections C2 and C3 are not being processed, so they continue to be used. Since the counter value of C1 is not O and processing is in progress, it is determined that there is a possibility that a logical abnormality will occur if the business continues.

その動作異常を抑止するため切断される。強制切断によ
るデータの回復処理などは2例えば応用プログラムが独
自に行う。
It is disconnected to prevent abnormal operation. For example, the application program independently performs data recovery processing due to forced disconnection.

第4図は9本発明の適用システムにおけるカウンタ制御
の例を示している。
FIG. 4 shows an example of counter control in a system to which the present invention is applied.

図中、40はホスト計軍機、41は通信制御装置、42
はネットワークを表す。
In the figure, 40 is a host military aircraft, 41 is a communication control device, 42
represents a network.

データ転送の場合には、以下のようにカウンタを操作す
る。
In the case of data transfer, the counter is operated as follows.

(a)  応用プログラム11からのデータ受信時、コ
ネクションを特定し、共有メモリ15内の該当するカウ
ンタ17をカウントアツプする。
(a) When receiving data from the application program 11, the connection is identified and the corresponding counter 17 in the shared memory 15 is counted up.

(b)  通信制御装置41からのデータ受信確認通知
を受信すると、共有メモリ15内のカウンタ17をカウ
ントダウンする。
(b) Upon receiving the data reception confirmation notification from the communication control device 41, the counter 17 in the shared memory 15 is counted down.

データ受信の場合には、以下のようにカウンタを操作す
る。
In the case of data reception, the counter is operated as follows.

(C)  ネットワーク42を介して1通信相手からの
データを受信し、コネクションを特定して、共有メモリ
15内のカウンタ17をカウントアツプする。
(C) Receive data from one communication partner via the network 42, identify the connection, and count up the counter 17 in the shared memory 15.

(d)  応用プログラム11にデータを転送したなら
ば、共有メモリ15内のカウンタ17をカウントダウン
する。
(d) After transferring the data to the application program 11, count down the counter 17 in the shared memory 15.

〔発明の効果〕〔Effect of the invention〕

以上説明したように9本発明によれば、コネクション上
に発生する個々の事象を意識せず、単純な方法により、
待機プロセスで引き継ぐことのできないコネクションを
表現することができる。また、待機プロセスで現用プロ
セスの業務を引き継く場合に、切断すべきコネクション
を高速に特定できる。
As explained above, according to the present invention, by a simple method without being aware of individual events that occur on a connection,
Connections that cannot be taken over by a standby process can be expressed. Furthermore, when a standby process takes over the work of an active process, connections to be disconnected can be quickly identified.

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

第1図は本発明の構成例 第2図は本発明の実施例に係る現用プロセスの処理の例 第3図は本発明の実施例に係る待機プロセスの処理の例 第4図は本発明の実施例によるカウンタ制御の例。 第5図は従来技術の例。 第6図は従来技術の問題点説明図を示す。 図中、10は計算機システム、11は応用プログラム、
12は通信制御プログラム、13は現用プロセス、14
は待機プロセス、15は共有メモリ、16は動作環境、
17はカウンタを表す。
FIG. 1 is a configuration example of the present invention. FIG. 2 is an example of processing of an active process according to an embodiment of the present invention. FIG. 3 is an example of processing of a standby process according to an embodiment of the present invention. An example of counter control according to an embodiment. Figure 5 is an example of the prior art. FIG. 6 shows a diagram illustrating problems in the prior art. In the figure, 10 is a computer system, 11 is an application program,
12 is a communication control program, 13 is a current process, 14
is a standby process, 15 is a shared memory, 16 is an operating environment,
17 represents a counter.

Claims (1)

【特許請求の範囲】 通信制御プログラム(12)を実行するプロセスが、現
用プロセス(13)と待機プロセス(14)とにより多
重化されており、現用プロセスと待機プロセスとがアク
セス可能な共有メモリ(15)を備えた計算機システム
における業務継続不可能な論理結合特定処理方法であっ
て、 上記共有メモリ上の論理結合を示す動作環境(16)内
にカウンタ(17)を用意し、 上記現用プロセスは、 その現用プロセスが動作不能になったときに待機プロセ
スで通信を継続すると悪影響がある事象の発生に対して
、上記カウンタを操作する処理過程(P2)と、 その事象が終了したならば上記カウンタを逆操作する処
理過程(P3)とを備え、 上記待機プロセスは、 上記現用プロセスの業務を引き継ぐ場合に、上記カウン
タの値により、業務継続可能かどうかの判断を行い、不
可能と判断したときに、その論理結合を解放する処理過
程(P5、P6)とを備えたことを特徴とする業務継続
不可能な論理結合特定処理方法。
[Claims] A process that executes a communication control program (12) is multiplexed with an active process (13) and a standby process (14), and a shared memory ( 15) A method for identifying logical connections in which business continuation is impossible in a computer system having , a processing step (P2) that operates the above counter in response to the occurrence of an event that would have an adverse effect if continued communication in the standby process when the active process becomes inoperable, and a process (P2) that operates the above counter when the event ends. When the standby process takes over the work of the active process, it judges whether or not it is possible to continue the work based on the value of the counter, and when it is determined that it is impossible, , and processing steps (P5, P6) for releasing the logical connections.
JP2015743A 1990-01-25 1990-01-25 Method for processing specification of operation continuation disabled logical connection Ceased JPH03219353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015743A JPH03219353A (en) 1990-01-25 1990-01-25 Method for processing specification of operation continuation disabled logical connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015743A JPH03219353A (en) 1990-01-25 1990-01-25 Method for processing specification of operation continuation disabled logical connection

Publications (1)

Publication Number Publication Date
JPH03219353A true JPH03219353A (en) 1991-09-26

Family

ID=11897245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015743A Ceased JPH03219353A (en) 1990-01-25 1990-01-25 Method for processing specification of operation continuation disabled logical connection

Country Status (1)

Country Link
JP (1) JPH03219353A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203641A (en) * 2011-03-25 2012-10-22 Sanyo Electric Co Ltd Data communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203641A (en) * 2011-03-25 2012-10-22 Sanyo Electric Co Ltd Data communication system

Similar Documents

Publication Publication Date Title
US5784617A (en) Resource-capability-based method and system for handling service processor requests
US5845061A (en) Redundant client server system
US8850141B2 (en) System and method for mirroring data
US20080288812A1 (en) Cluster system and an error recovery method thereof
CN109165106A (en) Method for processing business, device, equipment, storage medium and process flow operation system
CN106325768B (en) A dual-machine storage system and method
CN100438362C (en) A Method for Realizing Hot Backup of Primary and Secondary Computers on Software
CN110781157A (en) A NAS-based backup and recovery method and device
US7401256B2 (en) System and method for highly available data processing in cluster system
JP2000194678A (en) Highly available asynchronous I / O in a cluster computer system
US5600808A (en) Processing method by which continuous operation of communication control program is obtained
US7954104B2 (en) Remote copy storage device system and a remote copy method to prevent overload of communication lines in system using a plurality of remote storage sites
EP1001344A2 (en) Apparatus, method and system for file synchronization for a fault tolerant network
JP5154843B2 (en) Cluster system, computer, and failure recovery method
CN102185717A (en) Service processing equipment, method and system
WO1997049034A1 (en) Job taking-over system
JP3447347B2 (en) Failure detection method
CN111309515A (en) Disaster recovery control method, device and system
CN117891783A (en) Method and system for deleting and synchronizing files of master server and backup server
JP3008887B2 (en) Computer system having active / standby switching function for each application program and machine-readable recording medium recording the program
JPH11345139A (en) Non-stop type duplex system
JP2004086543A (en) Queue control method and system at the time of failure
JPH1040123A (en) Job management methods and methods
JP2856150B2 (en) Transaction history recording system
JP2959467B2 (en) Fault recovery system, fault recovery method, and medium for storing fault recovery program in loosely coupled multi-computer system