JPH06197151A - Association management method - Google Patents
Association management methodInfo
- Publication number
- JPH06197151A JPH06197151A JP4346309A JP34630992A JPH06197151A JP H06197151 A JPH06197151 A JP H06197151A JP 4346309 A JP4346309 A JP 4346309A JP 34630992 A JP34630992 A JP 34630992A JP H06197151 A JPH06197151 A JP H06197151A
- Authority
- JP
- Japan
- Prior art keywords
- association
- unused
- established
- communication
- associations
- 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.)
- Granted
Links
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、アソシエーションと呼
ばれる論理的通信路を用いて、エンド・エンドの通信を
実現する通信処理装置におけるアソシエーション管理方
法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an association management method in a communication processing device for realizing end-to-end communication by using a logical communication path called an association.
【0002】[0002]
【従来の技術】従来、アソシエーションと呼ばれる論理
的通信路を媒体にして、複数の応用プログラム(アプリ
ケーション・プログラム:AP)が相互に通信を行うこ
とによって、ある特定の業務を実行する通信処理装置に
おいて、このアソシエーションは次に挙げるような属性
を有する。 1)自システムの通信アドレス(以下単に、自アドレス
とする)。 2)相手システムの通信アドレス(以下単に、相手アド
レスとする)。 3)アソシエーションを使用する応用プログラム種別
(以下単に、AP種別とする)。 4)特定応用プログラム間の個別属性(以下単に、個別
属性とする)。 これらの属性は、個々のアソシエーションに対してそれ
ぞれ個別に割り当てられる。この割り当てについては、
それぞれの特定の応用プログラムが使用可能なアソシエ
ーションを確立する段階で決定される。2. Description of the Related Art Conventionally, in a communication processing device for executing a specific task by a plurality of application programs (application programs: APs) communicating with each other using a logical communication path called an association as a medium. , This association has the following attributes. 1) Communication address of own system (hereinafter, simply referred to as own address). 2) Communication address of the partner system (hereinafter simply referred to as partner address). 3) Application program type that uses association (hereinafter simply referred to as AP type). 4) Individual attributes between specific application programs (hereinafter simply referred to as individual attributes). These attributes are individually assigned to each association. For this assignment,
It is determined at the stage of establishing a usable association for each particular application program.
【0003】図8は、従来の通信処理装置をあらわす構
成図である。応用プログラム20は、オペレータ等の操
作によりある特定の業務を実行するアプリケーション・
プログラムである。通信処理装置21は、他のシステム
との通信を実行する通信手順部22と、他のシステムと
の間の通信で使用されるそれぞれのアソシエーションの
管理を行うアソシエーション管理部26からなってい
る。通信手順部22内のアソシエーション確立手段24
は、応用プログラム20からの要求を受けてアソシエー
ションの確立を行う。そして、確立されたアソシエーシ
ョンは、アソシエーション管理部26において該当する
応用プログラム20と結合される。このようにして、デ
ータ送受信手段23により、今結合したアソシエーショ
ンを使用して応用プログラム間のデータ通信を実行し、
応用プログラム20は業務を完了する。また、応用プロ
グラム20の実行が完了した段階で、アソシエーション
解放処理手段25が応用プログラムとアソシエーション
を切り放し、使用済みアソシエーションの解放を行う。
さらにアソシエーション管理部26は、前述したように
して解放された使用済みアソシエーションに対して、後
程詳細に説明する使用可能なアソシエーション管理エレ
メントを割り当てるアソシエーション割当手段27と、
確立済みの未使用アソシエーションを管理する未使用ア
ソシエーション管理手段28とから構成される。FIG. 8 is a block diagram showing a conventional communication processing device. The application program 20 is an application program that executes a specific task by an operator or the like.
It is a program. The communication processing device 21 includes a communication procedure unit 22 that executes communication with another system, and an association management unit 26 that manages each association used in communication with another system. Association establishing means 24 in the communication procedure unit 22
Receives the request from the application program 20 and establishes the association. Then, the established association is combined with the corresponding application program 20 in the association management unit 26. In this way, the data transmission / reception means 23 executes the data communication between the application programs by using the association just combined,
The application program 20 completes the work. Further, when the execution of the application program 20 is completed, the association release processing means 25 releases the association with the application program and releases the used association.
Furthermore, the association management unit 26 assigns an available association management element, which will be described in detail later, to the used association released as described above,
It comprises an unused association management means 28 for managing an established unused association.
【0004】また、アソシエーションの確立には、下位
通信コネクションの確立とアソシエーションに関するA
P種別や個別属性などいった相互に折衝する動作を伴
う。このため、応用プログラムが相互に通信を開始する
にあたって、アソシエーションを確立するオーバーヘッ
ド(作業量過多、それに伴う過負荷)が問題となってい
た。この問題を解決するために、応用プログラムの実行
が完了した段階で、使用済みのアソシエーションと切り
放された後も、このアソシエーションを解放せず、未使
用アソシエーションとして保持し、当該応用プログラム
が次にアソシエーションを必要とした段階で、この未使
用アソシエーションからアソシエーションを取り出し、
当該応用プログラムに割り当てる方法が考え出された。
この方法は、ISO(国際標準化機構)で標準化が行わ
れている、OSI(解放型システム相互接続用国際標準
ネットワーク・アーキテクチャ)プロコトルの一つであ
る分散トランザクション処理プロコトルの機能要素とし
て、検討が進められている。(INTAPジャーナルN
o.20参照)[0004] To establish the association, A regarding the establishment of the lower communication connection and the association is used.
It involves an operation of negotiating with each other such as P type and individual attribute. For this reason, when the application programs start communication with each other, the overhead of establishing an association (excessive work amount, overload accompanying it) has been a problem. To solve this problem, at the stage where the application program has completed execution, even after the association has been disconnected from the used association, this association is not released and is retained as an unused association. At the stage when the association is needed, take out the association from this unused association,
A method of assigning to the application program has been devised.
This method is being studied as a functional element of a distributed transaction processing protocol, which is one of OSI (International Standard Network Architecture for Open System Interconnection) protocol, which is standardized by ISO (International Organization for Standardization). Has been. (INTAP Journal N
(See o.20)
【0005】[0005]
【発明が解決しようとする課題】従来、コンピュータと
コンピュータが一対一に接続される場合や特定の応用プ
ログラム間で使用されるアソシエーションの本数が決定
可能なシステムにおいては、確立可能なアソシエーショ
ンの最大本数を知ることが可能なため、これを保持する
アソシエーション本数として未使用アソシエーションを
管理することが可能であった。(図9参照) しかしながら、システムの分散化が進むにしたがって、
自システムに接続される相手システムの個数や、各々で
動作する応用プログラムの個数を事前に決定することが
困難になりつつある。(図10参照) そして、クライアント・サーバシステムのサーバ上で動
作する応用プログラムは、同時に接続されるクライアン
ト上の応用プログラムの個数、各々の間で使用されるア
ソシエーションの最大数を把握することは非常に困難で
ある。また、仮にサーバ・クライアント間で使用される
アソシエーションの最大数が決定できた場合でも、この
数は非常に大きな値となり、これを全て管理するための
システム資源を確保することは、システムの資源効率を
著しく低下させることになる。また、このようなシステ
ムにおいて、単純に未使用アソシエーションを再利用の
ために保持していた場合、現在保持しているアソシエー
ションによって接続される相手システムとは別の相手シ
ステムからのアソシエーション確立要求が発生した時な
ど、システム資源の不足や管理可能なアソシエーション
数のオーバーなどの要因から、未使用のアソシエーショ
ンが存在するにも関わらず、アソシエーションの確立が
不可能な状態が発生し、応用プログラムとの接続も不可
能となり、業務が実行できないという事態が発生するこ
とになる。(図11参照)Conventionally, the maximum number of associations that can be established in a system in which computers are connected one-to-one and the number of associations used between specific application programs can be determined. Since it is possible to know, it is possible to manage unused associations as the number of associations holding this. (See Fig. 9) However, as the system becomes more decentralized,
It is becoming difficult to determine in advance the number of partner systems connected to the own system and the number of application programs operating in each system. (Refer to FIG. 10) Then, it is extremely difficult for the application program operating on the server of the client / server system to know the number of application programs on the client connected at the same time and the maximum number of associations used between the application programs. Difficult to do. Even if the maximum number of associations to be used between the server and the client could be determined, this number will be a very large value, and securing system resources to manage all of these will make the system resource efficient. Will be significantly reduced. Also, in such a system, if an unused association is simply retained for reuse, an association establishment request from a remote system other than the remote system connected by the currently stored association will occur. When there is an unused association, due to factors such as lack of system resources or an excessive number of manageable associations, it becomes impossible to establish an association, and connection with the application program occurs. Also becomes impossible, and the situation occurs that the business cannot be executed. (See Figure 11)
【0006】本発明は、上述した課題を解決するため
に、従来のアソシエーション管理方法によるアソシエー
ション確立処理時におけるオーバーヘッド削減機能を生
かしたまま、システム資源の不足などの問題から新たな
アソシエーション確立不可の状態が発生することをなく
し、効率の良い通信資源の使用を可能としたアソシエー
ション管理方法を提供することを目的とする。In order to solve the above-mentioned problems, the present invention makes it impossible to establish a new association due to a problem such as a shortage of system resources while utilizing the overhead reduction function at the time of association establishment processing by the conventional association management method. It is an object of the present invention to provide an association management method capable of efficiently using communication resources by eliminating the occurrence of the above.
【0007】[0007]
【課題を解決するための手段】本発明は、アソシエーシ
ョンと呼ばれる論理的通信路を使って、エンド・エンド
の通信を実現するとともに、確立済みでなおかつ未使用
状態のアソシエーションを保持し、アソシエーション再
利用の決定あるいは割り当てといったアソシエーション
管理機能を有する通信処理装置において、前記通信処理
装置内に設けたアソシエーション管理部の制御により、
アソシエーション管理資源の存在状況を監視し、前記通
信処理装置内に保持されている未使用アソシエーション
の中から解放可能な未使用アソシエーションを適宜選択
し、続いて、いま選択した未使用アソシエーションを解
放することで、アソシエーションの確立を可能とするこ
とを特徴とするアソシエーション管理方法である。The present invention realizes end-to-end communication by using a logical communication path called an association, holds an established yet unused association, and reuses an association. In a communication processing device having an association management function such as determination or allocation of, by the control of the association management unit provided in the communication processing device,
Monitoring the existence status of the association management resource, appropriately selecting a releasable unused association from among the unused associations held in the communication processing device, and subsequently releasing the selected unused association. Then, the association management method is characterized in that the association can be established.
【0008】[0008]
【作用】本発明のアソシエーション管理方法では、一旦
確立されて、その後、未使用状態となったアソシエーシ
ョンを解放せずに、再利用に備えて保持するとともに、
この保持しているアソシエーションをあらかじめそれぞ
れのシステムごとに設定したタイミングで適宜解放する
ようにする。その結果、新規のアソシエーション確立要
求発生時には、アソシエーション確立時のオーバーヘッ
ドを軽減するとともに、アソシエーション管理資源不足
の発生を防止することになる。そして、ランダムなアソ
シエーション確立要求に対しても、迅速かつ柔軟な対応
が実現される。According to the association management method of the present invention, an association that has been once established and then is in an unused state is not released but is retained for reuse, and
The held association is appropriately released at a timing set in advance for each system. As a result, when a new association establishment request is issued, the overhead at the time of association establishment is reduced and the shortage of association management resources is prevented. Then, even in the case of a random association establishment request, quick and flexible response is realized.
【0009】[0009]
【実施例】最初に、エンド・エンドの通信とは、一対一
に接続されているコンピュータ間や、特定の応用プログ
ラム間で行われる直接通信のことである。以下、図面を
参照しながら、本発明の実施例を詳細に説明する。図1
は、本発明のアソシエーション管理方法を用いた通信処
理装置をあらわす構成図である。応用プログラム11
は、オペレータ等の操作にによりある特定の業務を実行
するプログラムであり、通信処理装置1内の通信手順部
2と接続されている。この通信手順部2は、他のシステ
ムとの通信を実行するもので、アソシエーションの確立
・解放をそれぞれ行うアソシエーション確立手段4とア
ソシエーション解放手段5、そして確立されたアソシエ
ーションを使って応用プログラム間の通信を実行するデ
ータ送受信手段3とから構成されている。また、通信処
理装置1内には、アソシエーションの管理をするアソシ
エーション管理部6が備えられている。そして、このア
ソシエーション管理部6は、後程詳細に説明する使用可
能なアソシエーション管理エレメントを、実際のアソシ
エーションに割り当てるアソシエーション割当手段7
と、確立済みの未使用アソシエーションを管理する未使
用アソシエーション管理手段8と、使用可能なアソシエ
ーションが存在しない場合に、既に確立済みの未使用ア
ソシエーションの中から解放可能なアソシエーションを
選択する解放可能アソシエーション選択手段9と、選択
された解放可能アソシエーションを解放する未使用アソ
シエーション解放手段10とから構成される。DESCRIPTION OF THE PREFERRED EMBODIMENTS First, end-to-end communication is direct communication performed between computers connected one-to-one and between specific application programs. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Figure 1
FIG. 6 is a configuration diagram showing a communication processing device using the association management method of the present invention. Application program 11
Is a program that executes a specific task by an operation of an operator or the like, and is connected to the communication procedure unit 2 in the communication processing apparatus 1. The communication procedure unit 2 executes communication with another system, and uses an association establishing unit 4 and an association releasing unit 5 for respectively establishing and releasing an association, and communication between application programs using the established association. And a data transmission / reception means 3 for executing. In addition, the communication processing device 1 is provided with an association management unit 6 that manages associations. Then, the association management unit 6 associates usable association management elements, which will be described in detail later, with actual associations.
And an unused association management means 8 for managing an established unused association, and a releasable association selection for selecting a releasable association from the already established unused associations when there is no usable association. It comprises means 9 and unused association releasing means 10 for releasing the selected releasable association.
【0010】まず、通信処理装置1におけるアソシエー
ションの管理方法を説明する。図2は、アソシエーショ
ンと通信処理装置との関係をあらわす説明図である。ア
ソシエーションは、アソシエーション管理部6内にある
三種のアソシエーション管理エレメントを用いて管理さ
れる。これらのアソシエーション管理エレメントには、
それぞれのエレメントの状態を示す特定の情報を持たせ
ておく。ただし、ここでいう特定の情報とは、アソシエ
ーションが確立済みか未確立かを識別する情報と、応用
プログラム11によって当該アソシエーションが使用さ
れているか未使用であるかを識別する情報のことをあら
わしている。また、具体的に三種類のアソシエーション
とは、以下に示すものである。 1) 既に確立済みで、なおかつ応用プログラムが通信
路として使用中のアソシエーションを管理するエレメン
ト(応用プログラム結合済)。:確立済使用中アソシエ
ーション管理エレメント(AE1) 2) 確立はされているが、応用プログラムに使用され
ていないアソシエーションを管理するエレメント。:確
立済未使用アソシエーション管理エレメント(AE2) 3) 未確立であり、当然応用プログラムにも使用され
ていないアソシエーションを管理するエレメント(応用
プログラム未結合)。:未確立未使用アソシエーション
管理エレメント(AE3)First, a method of managing associations in the communication processing device 1 will be described. FIG. 2 is an explanatory diagram showing the relationship between the association and the communication processing device. The association is managed by using the three types of association management elements in the association management unit 6. These association management elements include
It has specific information indicating the state of each element. However, the specific information referred to here is information that identifies whether the association is established or not established, and information that identifies whether the association is used or not by the application program 11. There is. Further, specifically, the three types of associations are as follows. 1) An element that manages an association that has already been established and that the application program is using as a communication path (application program combined). : Established in-use association management element (AE1) 2) An element that manages an association that has been established but is not used by an application program. : Established unused association management element (AE2) 3) Element that manages an association that is not established and is naturally not used by the application program (application program unbound). : Unestablished unused association management element (AE3)
【0011】つぎに、実際のアソシエーション管理方法
を紹介する。応用プログラム11に結合されたアソシエ
ーションは、確立済使用中アソシエーション管理エレメ
ント(AE1)に結び付けられる。そして、応用プログ
ラム11が業務処理を終了し、アソシエーションとの結
合が不要となった場合、確立済使用中アソシエーション
管理エレメント(AE1)は、未使用アソシエーション
管理手段8においてエレメントの状態を未使用状態に変
更され、確立済未使用アソシエーション管理エレメント
(AE2)となる。このようにしてできた確立済未使用
アソシエーション管理エレメント(AE2)は、未使用
状態になった順に、未使用アソシエーション・キュー
(AQ)によりキューイングされ、管理される。ここで
いうキューイングとは、未使用状態になった確立済未使
用アソシエーション管理エレメント(AE2)を鎖状に
連結して管理することをいう。後で説明するアソシエー
ションの解放まで含めると、確立済未使用アソシエーシ
ョン管理エレメント(AE2)を先入れ先出しで管理す
るということになる。Next, an actual association management method will be introduced. The association bound to the application program 11 is bound to the established in-use association management element (AE1). Then, when the application program 11 finishes the business process and the association with the association becomes unnecessary, the established in-use association management element (AE1) changes the element state to the unused state in the unused association management means 8. Changed to become an established unused association management element (AE2). The established unused association management elements (AE2) thus created are queued and managed by the unused association queue (AQ) in the order in which they are in the unused state. The queuing here means to manage the established unused association management elements (AE2) that are in an unused state by connecting them in a chain. If the association release described later is included, the established unused association management element (AE2) is managed on a first-in first-out basis.
【0012】今度は、自システム内の応用プログラム1
1、あるいは相手システムからのアソシエーション確立
要求発生時における、通信処理装置1内の処理の流れに
ついて図1を用いて説明する。まず、通信処理装置1内
の通信手順部2では、外部からのアソシエーション確立
要求を受け取ると(A1)、アソシエーション確立手段
4に対してアソシエーション確立指示を発行する(A
2)。すると、この指示を受けたアソシエーション確立
手段4は、アソシエーション管理部6内のアソシエーシ
ョン割当手段7に対し、使用可能なアソシエーション管
理エレメントの割当要求を行う(A3)。これを受けた
アソシエーション割当手段7は、現在使用可能なアソシ
エーションを確保する。ただし、アソシエーション管理
部6におけるアソシエーション管理エレメントの割り当
て処理については、後述することにする。このとき、既
に確立済みで使用可能なアソシエーションが存在する場
合、未使用アソシエーション管理手段8は、アソシエー
ション割当手段7に対象のエレメントを引き渡す(A
4)。このようにして確保されたアソシエーション管理
エレメントは、アソシエーション確立手段4に送られる
(A5)。そして、アソシエーション確立手段4では、
送られてきたエレメントの状態(AE1〜AE3)を調
べ、未確立のアソシエーションであれば、アソシエーシ
ョン確立処理を実行する(A6)。Next, the application program 1 in the own system
1 or the flow of processing in the communication processing device 1 when an association establishment request is issued from the partner system will be described with reference to FIG. First, when the communication procedure unit 2 in the communication processing device 1 receives an association establishment request from the outside (A1), it issues an association establishment instruction to the association establishing means 4 (A
2). Then, the association establishing means 4 receiving this instruction requests the association assigning means 7 in the association managing section 6 to assign usable association management elements (A3). Upon receiving this, the association allocating means 7 secures the currently usable association. However, the association management element allocation processing in the association management unit 6 will be described later. At this time, if there is already established and usable association, the unused association management means 8 delivers the target element to the association allocation means 7 (A
4). The association management element thus secured is sent to the association establishing means 4 (A5). Then, in the association establishing means 4,
The state (AE1 to AE3) of the sent element is checked, and if it is an unestablished association, an association establishing process is executed (A6).
【0013】つぎは、アソシエーション管理部6におけ
るアソシエーション管理エレメントの割り当て処理の流
れについて説明する。図3は、アソシエーション割当処
理の流れをあらわすフローチャートである。まず最初
に、アソシエーション割当手段7において、割り当てる
べきアソシエーションに対応した確立済未使用アソシエ
ーション管理エレメント(AE2)が存在するかどうか
を調べる(ステップ1)。ここで、確立済未使用アソシ
エーション管理エレメント(AE2)が存在すれば、当
該エレメント(AE2)を使用中のエレメントである確
立済使用中アソシエーション管理エレメント(AE1)
に変更する(ステップ2)。逆に、当該確立済未使用ア
ソシエーション管理エレメント(AE2)が存在しない
場合には、同じくアソシエーション割当手段7にて未確
立未使用アソシエーション管理エレメント(AE3)が
存在するかどうかを調べる(ステップ3)。その結果、
未確立未使用アソシエーション管理エレメント(AE
3)が存在すれば、当該エレメント(AE3)を使用中
とする(ステップ4)。ステップ3の結果、当該エレメ
ント(AE3)が存在しなければ、アソシエーション割
当手段7の指示を受けた解放可能アソシエーション選択
手段9により、確立済未使用アソシエーション管理エレ
メント(AE2)の中から現在使われていない解放可能
なエレメントを選択し(ステップ5)、未然使用アソシ
エーション解放手段10により解放を行う(ステップ
6)。このようにステップ2、ステップ4において使用
中となったアソシエーション管理エレメントは、通信手
順部2へ返却され(ステップ7)、処理を終了する。Next, the flow of the association management element allocation processing in the association management unit 6 will be described. FIG. 3 is a flowchart showing the flow of the association allocation process. First, the association allocation means 7 checks whether or not there is an established unused association management element (AE2) corresponding to the association to be allocated (step 1). Here, if the established unused association management element (AE2) exists, the established in-use association management element (AE1) that is the element that is using the element (AE2).
To (step 2). On the contrary, when the established unused association management element (AE2) does not exist, the association allocating means 7 similarly checks whether or not the unestablished unused association management element (AE3) exists (step 3). as a result,
Unestablished Unused Association Management Element (AE
If 3) exists, the element (AE3) is determined to be in use (step 4). If the element (AE3) does not exist as a result of step 3, the releasable association selecting means 9 instructed by the association allocating means 7 is currently using the established unused association management element (AE2). A releasable element that does not exist is selected (step 5), and released by the previously used association releasing means 10 (step 6). In this way, the association management element that is in use in steps 2 and 4 is returned to the communication procedure unit 2 (step 7), and the process is ended.
【0014】また、このアソシエーション管理エレメン
ト割り当て処理の場合、未確立のアソシエーション管理
エレメントが存在しなくなった時点からは、アソシエー
ションの確立時に、必ず未使用アソシエーションを解放
することになる。しかしながらこれは、アソシエーショ
ンの確立時にアソシエーションの確立と解放を同時に実
行するというオーバーヘッドが掛かることを意味し、通
信効率の低下を招くことにつながる。そこで、本発明で
は、アソシエーション管理部6内に未使用アソシエーシ
ョン解放手段10を設け、未使用状態にあるアソシエー
ションを適宜解放する処理を行うようにした。Further, in the case of this association management element allocation processing, the unused association is always released when the association is established from the time when the unestablished association management element does not exist. However, this means that the overhead of executing the establishment and release of the association at the same time is required when the association is established, which leads to a decrease in communication efficiency. Therefore, in the present invention, the unused association releasing means 10 is provided in the association management unit 6 to appropriately release the unused associations.
【0015】つづいて、未使用状態にあるアソシエーシ
ョンを解放するときの処理方法の具体例を以下に説明す
る。 第一の処理方法:周期起動タイマによるアソシエーショ
ンの解放処理 これは、一定時間間隔で通知を行う周期起動タイマをア
ソシエーション管理部6に持たせ、おのおののシステム
であらかじめ設定した時間以上使用されていないアソシ
エーションを選択し、解放する方法である。図4は、周
期起動タイマを用いた場合のアソシエーション解放処理
の流れをあらわすフローチャートである。通信処理装置
1の運用が開始されると、同時に周期起動タイマが作動
する。この周期起動タイマは、あらかじめ設定した一定
時間t(周期起動タイマ値)毎にアソシエーション管理
部6に対して通知を行う。すると、通知を受けたアソシ
エーション管理部6では、未使用アソシエーション解放
手段10において未使用アソシエーションの解放処理を
開始する。未使用アソシエーション管理手段10は、周
期起動タイマからの通知を受けた時点で、一定時間以上
未使用であったアソシエーションが存在するかどうかを
判定し(ステップ11)、存在を確認したとき、当該未
使用アソシエーションの解放を行う(ステップ12)。
当然、通信処理装置1の運用中はこの動作を繰り返し行
う。Next, a specific example of a processing method for releasing an association in an unused state will be described below. First processing method: Association release processing by periodic activation timer This is because the association management unit 6 has a periodic activation timer that gives notifications at fixed time intervals, and associations that have not been used for more than the preset time in each system. Is a method of selecting and releasing. FIG. 4 is a flowchart showing the flow of the association release process when the periodic activation timer is used. When the operation of the communication processing device 1 is started, the periodic start timer is activated at the same time. The periodic activation timer notifies the association management unit 6 at every preset fixed time t (periodic activation timer value). Then, in the association management unit 6 that has received the notification, the unused association release unit 10 starts the release processing of the unused association. The unused association management means 10 determines whether or not there is an association that has been unused for a certain period of time at the time of receiving the notification from the periodic activation timer (step 11). The used association is released (step 12).
Naturally, this operation is repeated during the operation of the communication processing device 1.
【0016】図5は、周期起動タイマを用いた場合の時
刻とアソシエーションの関係をあらわす説明図である。
つぎは、この図5を用いて、アソシエーションの状態と
アソシエーション解放処理の関係を説明する。アソシエ
ーション#1〜#5は、通信処理装置1が運用開始時点
では未確立・未使用のアソシエーションである。ここで
は、アソシエーション#1,#2が時刻1で、アソシエ
ーション#3,#4が時刻3で、それぞれ確立済・使用
中状態となり、時刻4,5,6でアソシエーション#
2,#1,#3,#4が確立済・未使用状態となった場
合を考える。この場合、時刻7で周期起動タイマ通知を
受けると、前述した図4のステップ11の判定により、
アソシエーション#2が一定時間T(ここでは、周期起
動タイマの三倍:3t)だけ未使用状態にあることか
ら、当該アソシエーション#2が解放される。同様にし
て、時刻9においてはアソシエーション#3が解放され
る。また、解放されたアソシエーションに対応するアソ
シエーション管理エレメントは、別のアソシエーション
に割り当てることも可能となる。具体例としては、時刻
8において、アソシエーション#2は時刻1で確立され
たものとは別のアソシエーションとして確立されてい
る。FIG. 5 is an explanatory diagram showing the relationship between the time and the association when the periodic start timer is used.
Next, the relationship between the association state and the association release process will be described with reference to FIG. Associations # 1 to # 5 are associations that have not been established or used at the time when the communication processing device 1 starts operation. Here, the associations # 1 and # 2 are at time 1, the associations # 3 and # 4 are at time 3, and are in the established / in-use state.
Consider the case where 2, # 1, # 3, and # 4 are in the established / unused state. In this case, when the periodic start timer notification is received at time 7, by the determination in step 11 of FIG.
Since the association # 2 is in the unused state for a fixed time T (here, triple of the periodic activation timer: 3t), the association # 2 is released. Similarly, at time 9, association # 3 is released. Further, the association management element corresponding to the released association can be assigned to another association. As a specific example, at time 8, association # 2 is established as an association different from the one established at time 1.
【0017】第二の処理方法:限界値によるアソシエー
ションの解放処理 これは、確立済アソシエーションの本数に上限値(限界
値)を設け、確立済アソシエーションの本数がこの上限
値を越えた時点で、未使用アソシエーション解放処理が
実行され、未使用アソシエーションのうち未使用時間が
最も長いアソシエーションの一部、あるいは全てを解放
するものである。このとき、確立済アソシエーションの
本数に下限値を設けることにより、特定数以上のアソシ
エーションが解放されることがないようにガードをかけ
ておく。図6は、限界値を用いた場合のアソシエーショ
ン解放処理の流れをあらわすフローチャートである。こ
の第二の処理方法は、まず、アソシエーションの確立要
求に伴ってアソシエーション割当処理が行われる時点
で、アソシエーション割当手段7から未使用アソシエー
ション解放手段10に対してアソシエーション解放通知
が発行される。この通知を受けた未使用アソシエーショ
ン解放手段10は、現在確立済みのアソシエーション数
が、あらかじめ設定されアソシエーション管理部6にて
管理されている上限値を越えているかどうかの判定を行
う(ステップ21)。その判定の結果、上限値を越えて
いれば、前記確立済アソシエーションの中に未使用アソ
シエーションが存在するかどうかを調べる(ステップ2
2)。存在を確認した場合、それらの未使用アソシエー
ションのうち、未使用時間が最も長いアソシエーション
を選択の上、解放する(ステップ23)。そして、確立
済アソシエーションの数が、あらかじめ設定された下限
値に達するか(ステップ24)、あるいは、未使用アソ
シエーションが存在しなくなるまでステップ23の処理
を繰り返し行う。Second processing method: Release processing of association by limit value This is to set an upper limit value (limit value) for the number of established associations, and when the number of established associations exceeds this upper limit value, it is not The used association release process is executed to release some or all of the associations that have the longest unused time among the unused associations. At this time, by setting a lower limit value on the number of established associations, guards are provided so that a certain number or more of associations are not released. FIG. 6 is a flow chart showing the flow of the association release processing when the limit value is used. In the second processing method, first, when the association allocation process is performed in accordance with the association establishment request, the association allocation unit 7 issues an association release notification to the unused association release unit 10. The unused association releasing means 10 that has received this notification determines whether or not the number of currently established associations exceeds the upper limit value set in advance and managed by the association management unit 6 (step 21). As a result of the judgment, if the upper limit is exceeded, it is checked whether or not there is an unused association in the established associations (step 2).
2). When the existence is confirmed, the association with the longest unused time is selected from these unused associations and released (step 23). Then, the process of step 23 is repeated until the number of established associations reaches a preset lower limit value (step 24) or there are no unused associations.
【0018】図7は、限界値を用いた場合の時刻と確立
済アソシエーション数の関係をあらわす説明図である。
図7中のxは、同時に複数のアソシエーション確立要求
が到着している様子を表しており、yは、未使用アソシ
エーション数が確立済アソシエーション数を下限値に下
げるには十分でない様子を表している。言い換えると、
この図7は、通常の限界値による管理の様子と、あらか
じめ設定した上限値を越えた場合、すなわち同時に複数
(x)のアソシエーション確立要求が発生した場合(時
刻i)であっても、アソシエーションが確立不能となる
状態を回避することができるという様子を示している。
第二の処理方法における上限値は、アソシエーションの
確立を抑止するものではない。すなわち、未使用アソシ
エーションが存在しない場合には、通信処理装置1にお
いて定められた最大数のアソシエーションを確立するこ
とが可能なのである。FIG. 7 is an explanatory diagram showing the relationship between the time and the number of established associations when the limit value is used.
In FIG. 7, x represents that a plurality of association establishment requests have arrived at the same time, and y represents that the number of unused associations is not sufficient to reduce the number of established associations to the lower limit value. . In other words,
This FIG. 7 shows the state of management by the normal limit value, and when the preset upper limit value is exceeded, that is, even when a plurality (x) of association establishment requests occur simultaneously (time i), the association is It shows that it is possible to avoid the state where the establishment is impossible.
The upper limit in the second processing method does not prevent the establishment of association. That is, when there are no unused associations, the maximum number of associations defined in the communication processing device 1 can be established.
【0019】さらに、第三の処理方法として、前述した
第一の処理方法と第二の処理方法とを組み合わせること
も可能である。すなわち、周期起動タイマによるアソシ
エーション解放処理を、確立済みアソシエーション数が
第二の処理方法で示した上限値と下限値の間にある場合
に行うようにするのである。この第三の処理方法を取る
ことにより、第二の処理方法において確立済アソシエー
ション数が上限値に達した時点で、確立済アソシエーシ
ョン数を下限値まで下げるだけの未使用アソシエーショ
ンが存在しない場合であっても、下限値に達するまでア
ソシエーション解放処理が継続して実行されるようにな
る。また、確立済アソシエーション数が、下限値を下回
っているような場合には、不要な周期起動タイマによる
アソシエーション解放処理が実行されないようにするこ
とができる。Further, as the third processing method, it is possible to combine the above-mentioned first processing method and second processing method. That is, the association release process by the periodic activation timer is performed when the number of established associations is between the upper limit value and the lower limit value shown in the second processing method. By adopting this third processing method, when there are no unused associations enough to reduce the number of established associations to the lower limit when the number of established associations reaches the upper limit in the second processing method. However, the association release process will be continuously executed until the lower limit value is reached. In addition, when the number of established associations is below the lower limit value, it is possible to prevent the association release processing by the unnecessary periodic activation timer from being executed.
【0020】尚、ここまでに述べたアソシエーション解
放処理は、アソシエーション確立処理とは非同期に実行
されるものであり、アソシエーション確立処理時におけ
るオーバーヘッド削減機能を劣化させるものではない。The association release process described so far is executed asynchronously with the association establishment process, and does not deteriorate the overhead reduction function during the association establishment process.
【0021】[0021]
【発明の効果】以上詳細に説明したように、本発明のア
ソシエーション管理方法によれば、一旦確立されて、そ
の後に未使用状態となったアソシエーションを解放せず
に再利用に備えて保持するとともに、この保持している
アソシエーションをあらかじめ設定しておいたタイミン
グで適宜解放するようにしたことによって、新規のアソ
シエーション確立要求発生時に、アソシエーション管理
資源不足の発生を未然に防止し、アソシエーション確立
時のオーバーヘッドを軽減し、ランダムなアソシエーシ
ョン確立要求に対しても、迅速でかつ柔軟な対応をする
ことができるようになった。これによって、通信処理お
よび通信資源使用の効率を向上させることができるよう
になった。As described in detail above, according to the association management method of the present invention, an association that has been once established and is in an unused state thereafter is retained for reuse without being released. , By releasing the held association as needed at the preset timing, it is possible to prevent the shortage of association management resources when a new association establishment request is made and to prevent overhead at the time of association establishment. It is now possible to respond quickly and flexibly to random association establishment requests. As a result, the efficiency of communication processing and use of communication resources can be improved.
【図1】本発明のアソシエーション管理方法を行う通信
処理装置をあらわす構成図である。FIG. 1 is a configuration diagram showing a communication processing device that performs an association management method of the present invention.
【図2】アソシエーションと通信処理装置の関係をあら
わす説明図である。FIG. 2 is an explanatory diagram showing a relationship between an association and a communication processing device.
【図3】アソシエーション割当処理の流れをあらわすフ
ローチャートである。FIG. 3 is a flowchart showing a flow of association assignment processing.
【図4】第一の処理方法をあらわすフローチャートであ
る。FIG. 4 is a flowchart showing a first processing method.
【図5】第一の処理方法をあらわす説明図である。FIG. 5 is an explanatory diagram showing a first processing method.
【図6】第二の処理方法をあらわすフローチャートであ
る。FIG. 6 is a flowchart showing a second processing method.
【図7】第二の処理方法をあらわす説明図である。FIG. 7 is an explanatory diagram showing a second processing method.
【図8】従来の通信処理装置をあらわす構成図である。FIG. 8 is a configuration diagram showing a conventional communication processing device.
【図9】自システムに接続される相手システム個数
(N)が決定可能な場合をあらわす説明図である。FIG. 9 is an explanatory diagram showing a case where the number (N) of partner systems connected to the own system can be determined.
【図10】自システムに接続される相手システム個数
(N)が決定不可能な場合をあらわす説明図である。FIG. 10 is an explanatory diagram showing a case where the number (N) of partner systems connected to the own system cannot be determined.
【図11】アソシエーション確立不可となる状態をあら
わす説明図である。FIG. 11 is an explanatory diagram showing a state in which an association cannot be established.
1 通信処理装置 2 通信手順部 4 アソシエーション確立手段 6 アソシエーション管理部 7 アソシエーション割当手段 8 未使用アソシエーション管理手段 9 解放可能アソシエーション選択手段 10 未使用アソシエーション解放手段 11 応用プログラム DESCRIPTION OF SYMBOLS 1 communication processing unit 2 communication procedure unit 4 association establishing unit 6 association management unit 7 association allocating unit 8 unused association managing unit 9 releasable association selecting unit 10 unused association releasing unit 11 application program
Claims (1)
路を使って、エンド・エンドの通信を実現するととも
に、確立済みでなおかつ未使用状態のアソシエーション
を保持し、アソシエーション再利用の決定あるいは割り
当てといったアソシエーション管理機能を有する通信処
理装置において、 前記通信処理装置内に設けたアソシエーション管理部に
より、 アソシエーション管理資源の存在状況を監視し、 前記通信処理装置内に保持されている未使用アソシエー
ションの中から解放可能なアソシエーションを適宜選択
し、 いま選択した未使用アソシエーションを解放し、 アソシエーションの確立を可能とすることを特徴とする
アソシエーション管理方法。1. An association management function for realizing end-to-end communication by using a logical communication path called an association, holding an established and unused association, and determining or allocating an association for reuse. In the communication processing device having, an association management unit provided in the communication processing device monitors the existence status of association management resources, and an association that is releasable from unused associations held in the communication processing device. An association management method characterized by appropriately selecting, releasing the unused association that has just been selected, and enabling the establishment of the association.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34630992A JP3251077B2 (en) | 1992-12-25 | 1992-12-25 | Association management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34630992A JP3251077B2 (en) | 1992-12-25 | 1992-12-25 | Association management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06197151A true JPH06197151A (en) | 1994-07-15 |
| JP3251077B2 JP3251077B2 (en) | 2002-01-28 |
Family
ID=18382534
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34630992A Expired - Fee Related JP3251077B2 (en) | 1992-12-25 | 1992-12-25 | Association management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3251077B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009200689A (en) * | 2008-02-20 | 2009-09-03 | Fujitsu Ltd | Communication system, communication processing method, and node |
| JP2009199543A (en) * | 2008-02-25 | 2009-09-03 | Nec Corp | Operator station device, peripheral control device, and configuration information management system, method and program |
| JP5246271B2 (en) * | 2009-01-19 | 2013-07-24 | 日本電気株式会社 | SCTP communication method, SCTP communication system, and node |
-
1992
- 1992-12-25 JP JP34630992A patent/JP3251077B2/en not_active Expired - Fee Related
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009200689A (en) * | 2008-02-20 | 2009-09-03 | Fujitsu Ltd | Communication system, communication processing method, and node |
| JP2009199543A (en) * | 2008-02-25 | 2009-09-03 | Nec Corp | Operator station device, peripheral control device, and configuration information management system, method and program |
| JP5246271B2 (en) * | 2009-01-19 | 2013-07-24 | 日本電気株式会社 | SCTP communication method, SCTP communication system, and node |
| US8908519B2 (en) | 2009-01-19 | 2014-12-09 | Nec Corporation | SCTP communication method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3251077B2 (en) | 2002-01-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5553073A (en) | Token ring network | |
| JP2592213B2 (en) | Data processing system and information transmission method | |
| JP3382953B2 (en) | Client management flow control method and apparatus on finite memory computer system | |
| JP4054418B2 (en) | Resource management method, apparatus, computer system, and distributed resource allocation and deallocation method for distributed garbage collection | |
| EP0147574B1 (en) | Resource sharing method between workstations | |
| CN111414241B (en) | Batch data processing method, device, system, computer equipment and computer readable storage medium | |
| JP2009301581A (en) | Method of assigning task, data processing system, client data processing node, and machine-readable storage medium | |
| WO1998003912A1 (en) | Method and apparatus for coordination of a shared object in a distributed system | |
| US6075772A (en) | Methods, systems and computer program products for controlling data flow for guaranteed bandwidth connections on a per connection basis | |
| CN107688502A (en) | Inter-process communication methods and device | |
| JP2000151710A (en) | Monitoring system and network system | |
| JP3251077B2 (en) | Association management method | |
| JP3505412B2 (en) | Socket management device and socket management method | |
| JPH06243077A (en) | Distributed transaction processing method | |
| JP2006185229A (en) | Online synchronous processing method and apparatus | |
| JPH09247192A (en) | Real-time communication method | |
| WO2012155642A1 (en) | Method and device for scheduling batch operation using restricted resources | |
| JP2001344121A (en) | Information equipment, reception processing method and recording medium | |
| JP3251400B2 (en) | Task allocation method and distributed processing system in distributed processing system | |
| JP2000057075A (en) | Data communication device, data communication method, and program storage medium thereof | |
| JP2601513B2 (en) | Dynamic change processing method of communication path multiplicity | |
| CN119396606A (en) | A memory resource management method and device | |
| JPH1141291A (en) | Logical channel management control system | |
| Rossler et al. | Applying quality of service architectures to the field-bus domain | |
| JPH05224819A (en) | Allocation control system for magnetic tape device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20011030 |
|
| LAPS | Cancellation because of no payment of annual fees |