JPH0420033A - System for managing activity identifier - Google Patents
System for managing activity identifierInfo
- Publication number
- JPH0420033A JPH0420033A JP2123951A JP12395190A JPH0420033A JP H0420033 A JPH0420033 A JP H0420033A JP 2123951 A JP2123951 A JP 2123951A JP 12395190 A JP12395190 A JP 12395190A JP H0420033 A JPH0420033 A JP H0420033A
- Authority
- JP
- Japan
- Prior art keywords
- activity identifier
- error recovery
- value
- activity
- file
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Communication Control (AREA)
- Retry When Errors Occur (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、O3IFTAMに基づく 誤り回復を実装し
たシステムにおける、アクティビティ識別子の管理方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for managing activity identifiers in a system implementing error recovery based on O3IFTAM.
〔従来の技術]
O3IFTAMに基づく ファイル転送に関しては、I
So 857] FTAM PART3,13.1
.1節に、通常のファイル転送の他に、誤り回復処理に
よるファイル転送が規定されている。[Prior art] Regarding file transfer based on O3IFTAM, I
So 857] FTAM PART3, 13.1
.. In addition to normal file transfer, Section 1 specifies file transfer using error recovery processing.
誤り回復処理によるファイル転送とは、通常のファイル
転送中に何等がの失敗により破壊されたオープンレジー
ム(ファイル単位に確立される)をシステム内で自動リ
トライすることにより再生成して、ファイル転送を完了
させるものであり、回復機能単位が折衝(Negoti
ati○n)されている場合にのみ有効となる。この場
合、上述の何等かの失敗を、予め誤りの種類として決め
ておく必要がある。また、誤りの種類の内容によって、
各誤りクラスが定められており、通常、回復機能単位が
折衝された場合には、
クラス■
オーブンレジームまたは選択レジームの損害およびクラ
スm
アソシエーションの喪失
誤りが実装される。更に、誤り回復処理を行うためには
、転送に関する情報を保持したおく必要があり、その情
報の一つとして前述のアクティビティ識別子がある。File transfer using error recovery processing means that the open regime (established for each file) that was destroyed due to some failure during normal file transfer is regenerated by automatic retry within the system, and file transfer is then performed. It is completed by the recovery functional unit.
It is valid only if the In this case, it is necessary to determine in advance any of the above-mentioned failures as the type of error. Also, depending on the type of error,
Each error class is defined and typically if a recovery functional unit is negotiated, Class ■ Open regime or Selection regime damage and Class M Loss of association errors are implemented. Furthermore, in order to perform error recovery processing, it is necessary to hold information regarding transfer, and one of such information is the above-mentioned activity identifier.
アクティビティ識別子は、前記I So 8571 F
TAM PART 3,13.11節では、オーブン
レジームで行うファイルアクティビティについての明確
な識別子を指定し、各起動側、応答側エンティティの組
のアクティビティに対して、それぞれ別のアクティビテ
ィ識別子の値を割当てる
と規定されており、誤り発生後のデータ転送レシームの
再確立に使用するものである。すなわち、アクティビテ
ィ識別子は、応答側が誤り回復待ち状態のファイルを特
定するときのキーとなる。これは、通常のファイル転送
では仮想ファイル名がキーになるが、誤り回復処理では
、仮想ファイル名は起動側から送られて来ないため、ア
クティビティ識別子がキーとなるということである。The activity identifier is the I So 8571 F
TAM PART 3, Section 13.11 specifies a clear identifier for the file activity that takes place in the open regime, and assigns a different activity identifier value to each activity of the initiator and responder entity pair. It is used to re-establish a data transfer receipt after an error occurs. In other words, the activity identifier is a key for the responding side to identify the file waiting for error recovery. This means that in normal file transfer, the virtual file name is the key, but in error recovery processing, the virtual file name is not sent from the initiator, so the activity identifier is the key.
しかし、I S、O8571FTAMでは、アクティビ
ティ識別子の更新条件および更新契機については規定が
なく実装にまかされており、また、その削除の契機につ
いても、一部は実装にまかされている。すなわち、ファ
イルの選択/オープンレジームの解放処理で削除すると
規定されているが、前述のクラスm誤りが発生し、なお
、かつ、障害原因が除去されず誤り回復処理がリトライ
アウトしたときは、アクティビティ識別子の削除処理を
行わないため、アクティビティ識別子を削除する契機が
なかったものである。However, in IS and O8571FTAM, there are no regulations regarding update conditions and update triggers for activity identifiers, which are left to the implementation, and the trigger for deletion is also partially left up to the implementation. In other words, it is specified that the file is to be deleted in the file selection/open regime release processing, but if the class m error mentioned above occurs and the error recovery processing retries out without removing the cause of the error, the activity Since no identifier deletion processing is performed, there was no opportunity to delete the activity identifier.
結局、上記従来技術においては5回復処理時に起動側で
使用するアクティビティ識別子の更新条件およびその契
機、または、クラスm誤りが発生し、なお、かつ、誤り
回復処理がリトライアウトした際の応答側におけるアク
ティビティ識別子削除の契機についての配慮がなされて
いないため、処理方式によっては、誤り回復リトライア
ウト後のアクティビティ識別子の二重使用、起動側と応
答側のアクティビティ識別子の記憶状態不一致、または
、オペレータによるアクティビティ識別子のリセットお
よび削除操作が必要となる等の問題があった。In the end, in the above-mentioned conventional technology, the conditions for updating the activity identifier used on the initiating side during the 5 recovery process and its trigger, or the update conditions on the responding side when a class m error occurs and the error recovery process retries out. Since no consideration has been given to the trigger for deletion of an activity identifier, depending on the processing method, there may be duplicate use of the activity identifier after an error recovery retryout, mismatch in the memory state of the activity identifier on the initiator and responder, or activity caused by the operator. There were problems such as the need to reset and delete the identifier.
本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の技術における上述の如き問題を解
消し、起動側のデータ処理部が、誤り回復リトライアウ
ト後に、応答側が保持しているアクティビティ識別子を
送信する二重使用を防止可能とするアクティビティ識別
子の管理方式を提供することにある。The present invention has been made in view of the above-mentioned circumstances, and its purpose is to solve the above-mentioned problems in the conventional technology, so that the data processing unit on the initiating side can retain data held by the responding side after error recovery retryout. An object of the present invention is to provide a management method for activity identifiers that can prevent duplicate use of transmitting activity identifiers.
〔課題を解決するための手段]
本発明の上述の目的は、それぞれが、アクティビティ識
別子の値を記憶するアクティビティ識別子記憶部と、ア
クティビティ識別子の値の割当てを制御するアクティビ
ティ識別子制御部と、前記アクティビティ識別子記憶部
とアクティビティ識別子制御部とのインタフェースを司
るインタフニス部を含むO3I FTA〜1に基づく
誤り回復を実装した起動側データ処理部と応答側データ
処理部との間でファイル転送を行うシステムにおいて、
少なくとも、前記起動側データ処理部のアクティビティ
識別子制御部か、正常終了・異常終了を問わずファイル
転送終了時にアクティビティ識別子の値を更新せず、同
じ値(カレント値)を再使用し、また、誤り回復処理が
リトライアウトしたときはアクティビティ識別子の値を
更新して、次の値(カレント値本増分値)を使用するこ
とを特徴とするアクティビティ識別子の管理方式によっ
て達成される。[Means for Solving the Problems] The above-mentioned object of the present invention is to provide an activity identifier storage section that stores the value of an activity identifier, an activity identifier control section that controls assignment of the value of the activity identifier, and an activity identifier storage section that stores the value of the activity identifier. In a system that performs file transfer between an initiating data processing unit and a responding data processing unit that implement error recovery based on O3I FTA~1, including an interface unit that controls an interface between an identifier storage unit and an activity identifier control unit,
At least, the activity identifier control unit of the data processing unit on the initiating side does not update the value of the activity identifier when the file transfer ends, regardless of whether it ends normally or abnormally, and reuses the same value (current value). This is achieved by an activity identifier management method characterized in that when the recovery process is retried, the value of the activity identifier is updated and the next value (current value main increment value) is used.
[作用]
本発明に係るアクティビティ識別子の管理方式において
は、起動側のアクティビティ識別子制御部が、アクティ
ビティ識別子の値としてファイル転送時(正常終了・異
常終了を問わず)にはカレント値を再使用し、誤り回復
処理がリトライアウトしたときにはカレント値を(カレ
ン、ト値+増分値)に更新するため、起動側が、誤り回
復処理のりトライアウト後に応答側で保持しているアク
ティビティ識別子の値を送信することによる二重使用の
発生を防止することができる。[Operation] In the activity identifier management method according to the present invention, the activity identifier control unit on the initiating side reuses the current value as the value of the activity identifier during file transfer (regardless of normal termination or abnormal termination). In order to update the current value to (current, current value + increment value) when the error recovery process retries out, the initiating side must send the value of the activity identifier held on the responding side after the error recovery process tries out. It is possible to prevent the occurrence of double usage due to
また、これに加えて、起動側のアクティビティ識別子制
御部が、アクティビティ識別子のカレント値の更新時に
、予め与えられた上限値nを越えた場合に、再び初期値
を使用するようにした場合には、オペレータ介入等のリ
セット(削除)処理手段によらず、自動的にアクティビ
ティ識別子の値をリセットすることができる。他方、応
答側のアクティビティ識別子制御部が、応答側が誤り回
復中で、起動側からの要求待ち状態であるとき、起動側
から同一の新たなアクティビティ識別子を受信した場合
、以前のアクティビティ識別子の情報を削除して誤り回
復状態を解消するようにしだ場合には、起動側と応答側
とでアクティビティ識別子の記憶状態(値および個数)
が不一致となるのを防止することができる。In addition to this, if the activity identifier control unit on the initiating side uses the initial value again if the current value of the activity identifier exceeds a pre-given upper limit n when updating the current value of the activity identifier, , the value of the activity identifier can be automatically reset without using a reset (deletion) processing means such as operator intervention. On the other hand, if the activity identifier control unit on the responding side receives the same new activity identifier from the invoking side while the responding side is recovering from an error and is waiting for a request from the invoking side, the activity identifier control unit on the responding side updates the information on the previous activity identifier. If the error recovery state is resolved by deletion, the storage status (value and number) of activity identifiers will be deleted on both the initiator and the responder.
This can prevent mismatches.
以下、本発明の実施例を図面に基づいて詳細に説明する
。Embodiments of the present invention will be described in detail below with reference to the drawings.
第1図は、本発明の一実施例を示す○SI FTAM
−に基づく誤り回復を実装したファイル転送システムの
ブロック構成図である。図において、1は起動側データ
処理部、2はF T A Mのファイルサービス利用者
実装部、3はFTAMの誤り回復プロトコルマシン実装
部、4はFTAMの基本ファイルプロトコルマシン実装
部、5は第7層のAC3Eを含む6層以下の下位層サー
ビス提供実装部、6は誤り回復に必要な情報としてのア
クティビティ識別子を記憶するアクティビティ識別子記
憶部を示している。また、上記F T A Mの誤り回
復プロトコルマシン実装部3は、アクティビティ識別子
の初期化、更新を行うアクティビティ識別子制御部3a
と、該アクティビティ識別子制御部3aと上記アクティ
ビティ識別子記憶部6とのインタフェース処理を行うア
クティビティ識別子記憶部インタフェース部3bとを具
備している。Figure 1 shows an embodiment of the present invention.
1 is a block configuration diagram of a file transfer system implementing error recovery based on -. In the figure, 1 is the initiating side data processing unit, 2 is the FTAM file service user implementation unit, 3 is the FTAM error recovery protocol machine implementation unit, 4 is the FTAM basic file protocol machine implementation unit, and 5 is the FTAM basic file protocol machine implementation unit. A lower layer service providing implementation unit of the 6th layer and below including the 7th layer AC3E, and 6 denotes an activity identifier storage unit that stores an activity identifier as information necessary for error recovery. Furthermore, the error recovery protocol machine implementation unit 3 of the FTAM has an activity identifier control unit 3a that initializes and updates the activity identifier.
and an activity identifier storage interface unit 3b that performs an interface process between the activity identifier control unit 3a and the activity identifier storage unit 6.
更に、7〜12は、上述の起動側データ処理部と対にな
る形で存在する応答側データ処理部、FTAMのファイ
ルサービス利用者実装部8.FTAMの誤り回復プロト
コルマシン実装部9.FTAMの基本ファイルプロトコ
ルマシン実装部10.第7層のAC3Eを含む6層以下
の下位層サービス提供実装部11.誤り回復に必要な情
報としてのアクティビティ識別子を記憶するアクティビ
ティ識別子記憶部12を、それぞれ、示している。また
、上記FTAMの誤り回復プロトコルマシン実装部9も
、アクティビティ識別子の初期化、更新を行うアクティ
ビティ識別子制御部9aと、該アクティビティ識別子制
御部9aと上記アクティビティ識別子記憶部12とのイ
ンタフェース処理を行うアクティビティ識別子記憶部イ
ンタフェース部9bとを具備している。Further, reference numerals 7 to 12 refer to a response side data processing unit existing in a pair with the above-mentioned initiating side data processing unit, and an FTAM file service user implementation unit 8. FTAM error recovery protocol machine implementation part9. FTAM basic file protocol machine implementation part 10. Lower layer service provision implementation unit 11 for layers 6 and below including AC3E in the 7th layer. Each shows an activity identifier storage unit 12 that stores an activity identifier as information necessary for error recovery. The error recovery protocol machine implementation unit 9 of the FTAM also includes an activity identifier control unit 9a that initializes and updates an activity identifier, and an activity that performs interface processing between the activity identifier control unit 9a and the activity identifier storage unit 12. An identifier storage unit interface unit 9b is provided.
なお、第1図においては、起動側データ処理部lのFT
AMの誤り回復プロトコルマシン実装部3を、FTAM
のファイルサービス利用者実装部2とF T A Ni
の基本ファイルプロトコルマンシ実装部4の間に位置付
けているが、これは−例であり、F T A NIの誤
り回復プロトコルマシン実装部3は、FTA〜1のファ
イルサービス利用者実装部2内またはF T A Mの
基本ファイルプロトコルマシン実装部4内に位置付ける
実装形態も可能であり、また、アクチンピティ識別子記
憶部6も、ファイルでなく、例えば、メモリ上の内部テ
ーブルであっても良い。もちろん、応答側データ処理部
7の内部構成についても同様である。In addition, in FIG. 1, the FT of the starting side data processing unit l
FTAM error recovery protocol machine implementation unit 3 of AM
File service user implementation section 2 and FTA Ni
However, this is just an example, and the error recovery protocol machine implementation unit 3 of FTA NI is positioned between the basic file service user implementation unit 2 of FTA~1 or It is also possible to implement an implementation in the basic file protocol machine implementation section 4 of FTAM, and the actinity identifier storage section 6 may also be an internal table in memory instead of a file. Of course, the same applies to the internal configuration of the response side data processing section 7.
次に、第2図、第3図を用いて、通常のファイル転送時
、および、誤り発生回復時の基本的シケンスについて説
明する。Next, the basic sequence during normal file transfer and during error recovery will be explained using FIGS. 2 and 3.
第2図は、FTA〜1のファイル転送シーケンスの説明
図である。なお、通常転送時のシーケンスは、誤り回復
を実装しているが否かにかかわらず第2図のようになる
。誤り回復を実装しているファイル転送システムにおい
ては、起動側は、アソシエーション確立(21a)後の
ファイル選択/オープンレジームの確立処理(22a
)で、応答側に対してアクティビティ識別子を送信し、
その後のデータ転送において誤り回復処理の対象となる
障害が発生しなかった場合は、ファイル選択/オープン
レシーム解放処理(23a )で、前記送信したアクテ
ィビティ識別子の削除を通知する。FIG. 2 is an explanatory diagram of the file transfer sequence of FTA-1. Note that the sequence during normal transfer is as shown in FIG. 2, regardless of whether error recovery is implemented or not. In a file transfer system that implements error recovery, the initiator performs file selection/open regime establishment processing (22a) after establishing an association (21a).
) sends the activity identifier to the responder,
If no failure that is subject to error recovery processing occurs in the subsequent data transfer, deletion of the transmitted activity identifier is notified in file selection/open receipt release processing (23a).
これに対して、応答側は、アソシエーション確立(21
b)後、起動側から受信したアクティビティ識別子を記
憶(22b )L、その後のデータ転送において誤り回
復処理の対象となる障害が発生しなかった場合は、ファ
イル選択/オープンレシーム解放処理(23b )で、
起動側の指示により、記憶したアクティビティ識別子を
削除する。On the other hand, the responding side performs the association establishment (21
After b), store the activity identifier received from the invoking side (22b)L, and if no failure that is subject to error recovery processing occurs in the subsequent data transfer, file selection/open receipt release processing (23b) in,
The stored activity identifier is deleted according to instructions from the initiator.
第3図は、転送中に誤り回復処理の対象となる障害が発
生した場合のFTAMのファイル転送シーケンスの説明
図である。起動側は、データ転送中に誤り回復処理の対
象となる障害(この場合は、031 FTAMの誤り
回復で規定するクラスm誤り障害を想定するものとする
)が発生(33a )すると、アソシエーションは解放
されるため、応答側に対して、アソシエーションの再確
立を行う(34a)。次に、レジーム回復処理において
、以前のファイル選択/オープンレジームの確立(32
a )で送信したアクティビティ識別子と同一の値を、
応答側に送信する(35 a )。なお、レジーム回復
処理後、データ転送中に再び誤り回復処理の対象となる
障害(クラスm誤り障害)が発生した場合には、前述の
34a、35aの処理を一定回数だけリトライする。こ
のリトライ回数は、固定値であっても、ユーザ指定の任
意値であっても構わない。一定回数のりトライ処理が失
敗した場合、起動側は、誤り回復状態を解消し、障害除
去の後に、通常のアソシエーション確立(36a)、フ
ァイル選択/オープンレジームの確立(37a)を行う
。FIG. 3 is an explanatory diagram of the FTAM file transfer sequence when a failure that is subject to error recovery processing occurs during transfer. The initiating side releases the association when a failure that is subject to error recovery processing occurs during data transfer (in this case, it is assumed that it is a class m error failure specified in 031 FTAM error recovery) (33a). Therefore, the association is re-established on the responding side (34a). Next, in the regime recovery process, the previous file selection/open regime establishment (32
The same value as the activity identifier sent in a),
It is sent to the responder (35a). Note that, after the regime recovery process, if a failure (class m error failure) that is the target of the error recovery process occurs again during data transfer, the above-mentioned processes 34a and 35a are retried a fixed number of times. The number of retries may be a fixed value or an arbitrary value specified by the user. If the retry process fails for a certain number of times, the initiating side resolves the error recovery state, removes the failure, and then establishes a normal association (36a) and file selection/open regime (37a).
これに対して、応答側は、データ転送中の誤り回復対象
となる障害(クラスm誤り障害)が発生した場合には、
アソシエーションは解放されるため、起動側からの誤り
回復要求待ちとなり、アソシエーション再確立(34b
)、レジーム回復処理(34b )待ちとなる。ここで
、応答側は、起動側が何回リトライしたかを必ずしも把
握できないため、リトライ回数を意識せず、いつでも起
動側からの誤り回復要求を受は入れてきなければならな
い。その反面で、回線障害等の場合には、起動側のりト
ライアウトのタイミングも検知できないため、謔り回復
要求待ち状態のファイル(オープンしシーム)に対して
、通常転送要求を受信できる必要もある(36b、37
b)。On the other hand, if a failure that is subject to error recovery (class M error failure) occurs during data transfer, the responding side
Since the association is released, an error recovery request from the initiator is awaited, and the association is re-established (34b
), the system waits for regime recovery processing (34b). Here, since the responder cannot necessarily grasp how many times the initiator has retried, the responder must accept error recovery requests from the initiator at any time without being aware of the number of retries. On the other hand, in the case of a line failure, etc., the timing of the initiator's glue tryout cannot be detected, so it is necessary to be able to receive normal transfer requests for files (open seams) that are waiting for a recovery request ( 36b, 37
b).
このとき、レジーム回復処理で受信したアクティビティ
識別子をキーにして、誤り回復要求待ち状態のファイル
(オーブンレジーム)を特定する。At this time, the activity identifier received in the regime recovery process is used as a key to identify the file (open regime) that is waiting for an error recovery request.
第4図は、前述のアクティビティ識別子制御部3aまた
は9aにおける誤り回復処理に必要な、アクティビティ
識別子の初期値や増分値等の情報を管理している誤り回
復処理情報テーブルの構成例を示すものである。なお、
本誤り回復処理情報テーブル内の誤り回復処理ユーザ指
定回数および誤り回復処理リトライ実行回数は、誤り回
復処理がリトライアウトしたか否かのチエツクを行うと
きに使用するものである。FIG. 4 shows an example of the configuration of an error recovery processing information table that manages information such as initial values and increment values of activity identifiers necessary for error recovery processing in the activity identifier control unit 3a or 9a. be. In addition,
The error recovery processing user specified number of times and the error recovery processing retry execution number of times in this error recovery processing information table are used when checking whether or not the error recovery processing has been retried.
以下、先に第1図に示したアクティビティ識別子制御部
3aおよび同9aの具体的動作例を、第5図および第6
図に基づいて説明する。なお、第5図および第6図に示
した動作フローチャートにおいては、エラーチエツク処
理を省略しである。Hereinafter, specific operation examples of the activity identifier control unit 3a and 9a shown in FIG. 1 will be explained as shown in FIGS.
This will be explained based on the diagram. Note that error check processing is omitted in the operational flowcharts shown in FIGS. 5 and 6.
まず、第5図に基ついて、起動側のアクティビティ識別
子制御部3aの動作について説明する。First, the operation of the activity identifier control section 3a on the activation side will be described with reference to FIG.
起動側のFTAMの誤り回復プロトコルマシン実装部3
は、上位層のFTAMのファイルサービス利用者実装@
2から受理した応答側に対する要求を判別(ステップ+
00およびステップ103) L、アソシエーション確
立要求またはアソシエーション解放要求であれば、アク
ティビティ識別子記憶部6からアクティビティ識別子記
憶部インタフェース部3bを介してアクティビティ識別
子を読み出す(ステップ+01およびステップ104)
。要求がアソシエーション確立要求である場合は、読み
出したアクティビティ識別子の値をファイル選択/オー
プンレジーム確立処理用パラメータにセットする(ステ
ップ102)。このとき、アクティビティ識別子の値は
、システムの初期設定処理で既に初期値がセット済みで
あるものとする。Error recovery protocol machine implementation unit 3 of FTAM on the initiating side
is the upper layer FTAM file service user implementation @
Determine the request to the responder received from 2 (step +
00 and step 103) L. If it is an association establishment request or an association release request, the activity identifier is read from the activity identifier storage unit 6 via the activity identifier storage unit interface unit 3b (step +01 and step 104).
. If the request is an association establishment request, the value of the read activity identifier is set in the file selection/open regime establishment process parameter (step 102). At this time, it is assumed that the value of the activity identifier has already been set to an initial value in the initial setting process of the system.
なお、○5IPTA)viに基づく誤り回復では、アク
ティビティ識別子は[オーブンレジームで行うファイル
アクティビティについて明確な識別子を指定する」とあ
り、ファイルすなわちオープンレジーム単位にユニーク
であるため、アクティビティ識別子の値の更新処理もフ
ァイル単位に行う必要があるように記述されているが、
本実施例においては、アクティビティ識別子の値の更新
処理をアソシエーション単位に行っている。この理由は
、1アソシエーシヨンで1フアイル転送のみを行う場合
は言うまでもなく、1アソシエーシヨンで複数ファイル
転送を行う場合でも、個々のファイル転送において誤り
回復対象の障害が発生しなければ、ファイル選択/オー
プンレジーム解放処理においてアクティビティ識別子の
削除処理を行うたぬ・複数ファイルで同一の値のアクテ
ィビティ識別子を保持することはなく、結果的に、アク
ティビティ識別子の値のユニーク性が保証されるからで
ある。また、一方、誤り回復対象の障害が発生した場合
には、同一の値のアクティビティ識別子を使用して誤り
回復処理を行う必要があるため、問題はない。In addition, in error recovery based on ○5 IPTA)vi, the activity identifier specifies [a clear identifier for file activity performed in the open regime], and is unique for each file, that is, the open regime, so the value of the activity identifier cannot be updated. Although it is written that the processing needs to be done on a file-by-file basis,
In this embodiment, the process of updating the value of the activity identifier is performed on an association basis. The reason for this is that, not only when one association performs only one file transfer, but also when one association performs multiple file transfers, if no error recovery target failure occurs in each file transfer, file selection/ This is because activity identifiers with the same value are not held in multiple files, and as a result, the uniqueness of the activity identifier value is guaranteed. On the other hand, if a failure occurs that is the target of error recovery, there is no problem because it is necessary to perform error recovery processing using activity identifiers with the same value.
また、要求がアソシエーション解放要求である場合は、
アクティビティ識別子記憶部6からアクティビティ識別
子を読み出した(ステップ104)後に、誤り回復対象
障害の発生によるアソシエーション解放か否かをチエツ
クしくステップ105)、前者の場合は誤り回復処理が
リトライアウトしたか否かをチエツクする(ステップ1
06)。ここで、誤り回復処理がリトライアウトであれ
ば、以下の如くアクティビティ識別子の更新を行い、ま
た、ステップ+05および同106の判定処理の結果か
NOであれば、更新処理を行わない。Also, if the request is an association release request,
After reading the activity identifier from the activity identifier storage unit 6 (step 104), it is checked whether the association has been released due to the occurrence of a failure targeted for error recovery (step 105); in the former case, whether the error recovery process has retried or not. (Step 1)
06). Here, if the error recovery process is a retryout, the activity identifier is updated as follows, and if the results of the determination processes in steps +05 and 106 are NO, the update process is not performed.
更新処理を行う場合は、まず、読み出した値が予めシス
テムで設定された任意の上限値nであるか否かをチエツ
クしくステップ107)、上限値nである場合には、次
の値として初期値Qをセットすル(ステップ108)。When performing the update process, first check whether the read value is an arbitrary upper limit value n preset in the system (step 107), and if it is the upper limit value n, it is initialized as the next value. A value Q is set (step 108).
ナオ、O12FTAM実装規約には、アクティビティ識
別子の値の上限値は特に規定されておらず、正整数また
はOとたけ規定されているため、自システムが起動側の
ときは任意の上限値をシステムで設定できるようにして
おく。これにより、例えば、アクティビティ識別子の値
が最大127までしか受信できないシステム(つまり、
格納エリアが最低の1バイト)とのファイル転送が可能
となる。Nao, O12FTAM implementation regulations do not specifically specify the upper limit of the activity identifier value, but only specify a positive integer or O, so when the local system is the initiator, the system can set an arbitrary upper limit. Make it configurable. This allows, for example, systems that can only receive activity identifier values up to a maximum of 127 (i.e.
File transfer is possible with the storage area (minimum 1 byte).
また、アクティビティ識別子の値が任意の上限値より小
さい場合は、アクティビティ識別子の値を単純に+m(
mは増分値で、1以上の正の整数)更新する処理を行う
(ステップ109)。Also, if the value of the activity identifier is smaller than an arbitrary upper limit value, simply increase the value of the activity identifier to +m(
(m is an increment value, which is a positive integer of 1 or more) Update processing is performed (step 109).
上述の如き動作により、アクティビティ識別子の更新条
件および契機を、誤り回復処理がリトライアウトしたと
きと規定したことにより、起動側が、誤り回復処理のり
トライアウト後に応答側で保持しているアクティビティ
識別子の値を送信することによって発生する二重使用の
発生を防止することができるという効果が得られる。ま
た、アクティビティ識別子に任意の上限値を与え、サイ
クリックに割当てるようにしたことにより、起動側にお
いてオペレータ介入等によるアクティビティ識別子のリ
セット(削除)手段を不要とする効果が得られる。By the operation described above, by specifying the update condition and trigger of the activity identifier as when the error recovery process retries out, the initiating side can update the value of the activity identifier held on the responding side after the error recovery process has tried out. The effect is that it is possible to prevent double usage caused by transmission. Further, by giving an arbitrary upper limit value to the activity identifier and cyclically allocating it, it is possible to obtain the effect that a means for resetting (deleting) the activity identifier by operator intervention or the like is not required on the starting side.
次に、第6図に基づいて、応答側のアクティビティ識別
子制御部9aの動作について説明する2応答側のFTA
〜1の誤り回復プロトコルマンシ実装部9は、起動側か
ら受理した応答側への要求内容を判別(ステップ200
.同205.同207)する。起動側からの要求が、通
常転送要求、すなわち、アソシエーション確立要求受信
後、ファイル選択/オープンレジーム確立要求を受信し
た場合であれば、自システムの該当するファイルが誤り
回復要求待ちであるか否かをチエツク(ステップ201
.1する。そして、自システムの該当するファイルが誤
り回復要求待ちである場合には、アクティビティ識別子
記憶部12で保持しているアクティビティ識別子を削除
した(ステップ202)後、誤り回復要求待ち状態を解
消しくステップ203)、新たに受信したアクティビテ
ィ識別子を、アクティビティ識別子記憶部12に書き込
む(ステップ204)。Next, based on FIG. 6, the operation of the activity identifier control unit 9a on the responding side will be explained.
The error recovery protocol implementation unit 9 of ~1 determines the content of the request to the response side received from the initiating side (step 200).
.. 205. 207). If the request from the initiating side is a normal transfer request, that is, a file selection/open regime establishment request is received after receiving an association establishment request, check whether the corresponding file in the local system is waiting for an error recovery request. Check (step 201
.. Do 1. If the corresponding file in the own system is waiting for an error recovery request, the activity identifier held in the activity identifier storage unit 12 is deleted (step 202), and then the error recovery request waiting state is resolved in step 203. ), writes the newly received activity identifier into the activity identifier storage unit 12 (step 204).
また、起動側からの要求が誤り回復処理要求、すなわち
、アソシエーション確立要求受信後、レジーム回復確立
要求を受信した場合であれば、受信したアクティビティ
識別子から誤り回復待ち状態であるファイル(オープン
レジーム)を特定して誤り回復処理を行う(ステップ2
05.同206)。起動側からの要求がファイル選択/
オープンレジーム解放要求である場合は、アクティビテ
ィ識別子記憶部12で保持しているアクティビティ識別
子を削除する(ステップ207.同208)。In addition, if the request from the initiating side is an error recovery processing request, that is, a regime recovery establishment request is received after receiving an association establishment request, the file (open regime) that is waiting for error recovery is retrieved from the received activity identifier. Identify and perform error recovery processing (Step 2)
05. 206). The request from the startup side is file selection/
If it is an open regime release request, the activity identifier held in the activity identifier storage unit 12 is deleted (steps 207 and 208).
上述の如き動作により、応答側は、クラスm誤りが発生
し、なお、かつ、誤り回復処理がリトライアウトした後
、すなわち、ファイル選択/オープンレジーム解放要求
を受信していない場合も、アクティビティ識別子を削除
し得る契機を持つことになり、起動側と応答側でアクテ
ィビティ識別子の記憶状態(値および個数)が不一致に
なることを防止することができるという効果が得られる
。Through the above-mentioned operation, the responding side receives the activity identifier even if a class m error occurs and the error recovery process has retried, that is, even if it has not received a file selection/open regime release request. Since there is an opportunity to delete the activity identifier, it is possible to prevent the storage states (values and numbers) of activity identifiers from becoming inconsistent between the initiating side and the responding side.
上記実施例は本発明の一例として示したものであり、本
発明はこれに限定されるべきものではないことは、言う
までもない。It goes without saying that the above embodiment is shown as an example of the present invention, and that the present invention is not limited thereto.
[発明の効果]
以上、詳細に説明した如く、本発明によれば、自システ
ムが起動側のときのアクティビティ識別子の更新処理を
、ファイル巣位てなくアソシエーション単位に行い、か
つ、更新する条件を、誤り回復処理のりトライアウト時
のみと最小範囲に限定したことにより、アクティビティ
識別子の更新処理によるオーバヘッドを極力小さくする
ことができるとともに、起動側が、誤り回復処理のりト
ライアウト後に応答側で保持しているアクティビティ識
別子の値を送信することによる二重使用の発生を防止す
ることができるという顕著な効果を奏するものである。[Effects of the Invention] As described above in detail, according to the present invention, when the local system is the initiator, the activity identifier update process is performed on an association basis, not on a file nesting basis, and the update conditions are set. By limiting the error recovery process to the minimum range only during the tryout, it is possible to minimize the overhead due to activity identifier update processing, and the initiator can update the activity held on the responder after the error recovery process tryout. This has the remarkable effect of being able to prevent the occurrence of duplicate use due to the transmission of identifier values.
また、自システムが応答側のとき、クラスm誤り障害発
生時におけるアクティビティ識別子の削除契機を規定し
たことにより、起動側と応答側の間で、アクティビティ
識別子の記憶状態が不一致になるのを回避することがで
きると同時に、アクティビティ識別子記憶部に不要なア
クティビティ識別子情報が残存することを防止すること
ができる二とから、オペレータ介入等による不要アクテ
ィビティ識別子のリセット(削除)手段が不要になると
ともに、アクティビティ識別子記憶部の有効利用を図る
ことができるという顕著な効果を奏するものである。In addition, when the local system is the responding side, by specifying the trigger for deletion of the activity identifier when a class m error failure occurs, it is possible to avoid discrepancies in the storage state of the activity identifier between the initiating side and the responding side. At the same time, it is possible to prevent unnecessary activity identifier information from remaining in the activity identifier storage unit, which eliminates the need for resetting (deleting) unnecessary activity identifiers by operator intervention, etc. This has the remarkable effect of making it possible to effectively utilize the identifier storage section.
第1図は本発明の一実施例を示すO8I FTAMに
基づく誤り回復を実装したファイル転送システムのブロ
ック構成図、第2図はFTAMのファイル転送シーケン
スの説明図、第3図は転送中に誤り回復処理の対象とな
る障害が発生した場合のFTAMのファイル転送シーケ
ンスの説明図、第4図は誤り回復処理情報テーブルの構
成例を示す図、第5図は起動側のアクティビティ識別子
制御部の動作フローチャート、第6図は応答側のアクテ
ィビティ識別子制御部の動作フローチャートである。
l:起動側データ処理部、2:起動側のFTAN4ファ
イルサービス利用者実装部、3 起動側のFTA〜1誤
り回復プロトコルマシン実装部、3aアクティビティ識
別子制御部、3b アクティビティ識別子記憶部インタ
フェース部、4.起動側のF T A Mの基本ファイ
ルプロトコルマシン実公部、5 起動側の下位層サービ
ス提供実装部、6 起動側のアクティビティ識別子記憶
部、7゜応答側データ処理部、8:応答側のFTA\1
ファイルサービスII #J者実芸部、9I7:、各側
のFTAN1誤り回復プロトコルマシン実芸部、9a・
アクティビティ識別子制御部、9b・アクティビティ識
別子記憶部インタフェース部、10°応答側のFTAM
基本ファイルプロトコルマシン実装部、ll応答側の下
位層サービス提供実装部、12.アクティビティ識別子
記憶部。
第
図
〈通常転送時の7
ケンス〉
ファイル利用者(起動側)
フチイル提供者(応答側)
第
図
〈誤り発生時のシーケンス〉
ファイル利用者(起動側)
ファイル提供者(応答側)Fig. 1 is a block configuration diagram of a file transfer system implementing error recovery based on O8I FTAM, which shows an embodiment of the present invention, Fig. 2 is an explanatory diagram of the FTAM file transfer sequence, and Fig. 3 shows errors during transfer. An explanatory diagram of the FTAM file transfer sequence when a failure that is subject to recovery processing occurs. Figure 4 is a diagram showing a configuration example of an error recovery processing information table. Figure 5 is the operation of the activity identifier control unit on the initiating side. Flowchart FIG. 6 is an operation flowchart of the activity identifier control unit on the response side. l: Invoking side data processing unit, 2: Invoking side FTAN4 file service user implementation unit, 3 Initiating side FTA~1 error recovery protocol machine implementation unit, 3a Activity identifier control unit, 3b Activity identifier storage interface unit, 4 .. FTAM basic file protocol machine implementation section on the initiator side, 5 Lower layer service provision implementation section on the initiator side, 6 Activity identifier storage section on the initiator side, 7゜Response side data processing section, 8: FTA on the response side \1
File Service II #J Practical Department, 9I7:, FTAN1 Error Recovery Protocol Machine Practical Department on Each Side, 9a.
Activity identifier control unit, 9b/activity identifier storage interface unit, 10° response side FTAM
Basic file protocol machine implementation unit, ll response side lower layer service provision implementation unit, 12. Activity identifier storage. Figure <7 steps during normal transfer> File user (initiator) File provider (responder) Figure <Sequence when an error occurs> File user (initiator) File provider (responder)
Claims (1)
アクティビティ識別子記憶部と、アクティビティ識別子
の値の割当てを制御するアクティビティ識別子制御部と
、前記アクティビティ識別子記憶部とアクティビティ識
別子制御部とのインタフェースを司るインタフェース部
を含むOSIFTAMに基づく誤り回復を実装した起動
側データ処理部と応答側データ処理部との間でファイル
転送を行うシステムにおいて、少なくとも、前記起動側
データ処理部のアクティビティ識別子制御部が、正常終
了・異常終了を問わずファイル転送終了時にアクティビ
ティ識別子の値を更新せず、同じ値(カレント値)を再
使用し、また、誤り回復処理がリトライアウトしたとき
はアクティビティ識別子の値を更新して、次の値(カレ
ント値+増分値)を使用することを特徴とするアクティ
ビティ識別子の管理方式。1. An activity identifier storage unit that stores the value of an activity identifier, an activity identifier control unit that controls assignment of the activity identifier value, and an interface unit that controls the interface between the activity identifier storage unit and the activity identifier control unit. In a system that performs file transfer between an initiating data processing unit and a responding data processing unit that implement error recovery based on OSIFTAM, at least the activity identifier control unit of the initiating data processing unit Regardless of whether the file transfer ends abnormally, the activity identifier value is not updated and the same value (current value) is reused, and when error recovery processing retries out, the activity identifier value is updated and the next An activity identifier management method characterized by using a value (current value + increment value).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2123951A JPH0420033A (en) | 1990-05-14 | 1990-05-14 | System for managing activity identifier |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2123951A JPH0420033A (en) | 1990-05-14 | 1990-05-14 | System for managing activity identifier |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0420033A true JPH0420033A (en) | 1992-01-23 |
Family
ID=14873387
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2123951A Pending JPH0420033A (en) | 1990-05-14 | 1990-05-14 | System for managing activity identifier |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0420033A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009009934A1 (en) * | 2007-07-17 | 2009-01-22 | Zte Corporation | A method for matching initial request message in the ip multimedia subsystem service triggering process |
-
1990
- 1990-05-14 JP JP2123951A patent/JPH0420033A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101267431B (en) | 2007-03-12 | 2012-09-26 | 中兴通讯股份有限公司 | Matching method of initialization request message in IP multimedia sub-system service trigger |
| WO2009009934A1 (en) * | 2007-07-17 | 2009-01-22 | Zte Corporation | A method for matching initial request message in the ip multimedia subsystem service triggering process |
| US8213425B2 (en) | 2007-07-17 | 2012-07-03 | Zte Corporation | Method for matching initial request message in the IP multimedia subsystem service triggering process |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112035062B (en) | Migration method of local storage of cloud computing, computer equipment and storage medium | |
| CN103514173B (en) | The method and node device of data processing | |
| JP2006500693A (en) | Dynamic RDF group | |
| CN104486319A (en) | Real-time synchronization method and real-time synchronization system for configuration file applied to high-availability system | |
| JP2001520777A (en) | Interface for interfacing a client program to a network device in a telecommunications network | |
| CN109101196A (en) | Host node switching method, device, electronic equipment and computer storage medium | |
| JPH0414375B2 (en) | ||
| CN115277727B (en) | Data disaster recovery method, system, device and storage medium | |
| CN102012944B (en) | Distributed NOSQL (not only structured query language) database capable of providing replication property | |
| JP2009217484A (en) | Remote copy system and check method | |
| CN112104576A (en) | Resident flow table storage and calibration method and system of SDN switch | |
| JP2001022627A (en) | Database synchronization method and method between multiple devices | |
| CN118555287B (en) | Method, device, equipment and medium for continuous transmission of database streaming backup breakpoint | |
| CN100488129C (en) | Method for processing the batch configuration and network management device and network system | |
| US6363498B1 (en) | Method and apparatus to automatically back up switching system files | |
| CN111324632B (en) | Transparent database session restoration with client-side caching | |
| CN108377670A (en) | A method for processing services, a service node, a control node and a distributed system | |
| JP2776442B2 (en) | Compound computer system | |
| CN115129383A (en) | Information management system configuration information management method and device and computer equipment | |
| CN118820008B (en) | Method, device and electronic equipment for monitoring controller status | |
| CN106168919A (en) | A kind of database backup method, Apparatus and system | |
| KR100279559B1 (en) | How to transfer switch software using LAN | |
| KR100407706B1 (en) | Processor status recovery method after standby loading in ATM switch | |
| CN114780305B (en) | Single node starting method, device, equipment and medium | |
| JP3551552B2 (en) | Information processing method for distributed information processing system |