JP2594313B2 - Half-duplex session management processing method - Google Patents

Half-duplex session management processing method

Info

Publication number
JP2594313B2
JP2594313B2 JP63099006A JP9900688A JP2594313B2 JP 2594313 B2 JP2594313 B2 JP 2594313B2 JP 63099006 A JP63099006 A JP 63099006A JP 9900688 A JP9900688 A JP 9900688A JP 2594313 B2 JP2594313 B2 JP 2594313B2
Authority
JP
Japan
Prior art keywords
session
order
empty
duplex
session management
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.)
Expired - Fee Related
Application number
JP63099006A
Other languages
Japanese (ja)
Other versions
JPH01270158A (en
Inventor
剛 堀江
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 JP63099006A priority Critical patent/JP2594313B2/en
Publication of JPH01270158A publication Critical patent/JPH01270158A/en
Application granted granted Critical
Publication of JP2594313B2 publication Critical patent/JP2594313B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔概要〕 多重化された複数の半二重セションを使用してデータ
転送を行う処理システムにおいて,効率的なデータ転送
を可能とした半二重セション管理処理方式に関し, 半二重セションの属性(受信専用または送信専用)を
事前に定義させることなく,両システムで発生する呼量
に応じた転送処理を実現することを目的とし, 半二重セションの属性を入出力属性とし,これらの半
二重セションを,確立順序に従った順序性を持たせて管
理するセション管理処理手段と,空きセションの選択に
あたって,セション確立順序の昇順または降順のいずれ
かの順序に従って空きセションを探し,最初に検出した
空きセションを選択するセション選択制御手段とを備
え,送受信する一方のシステムではセション確立順序の
昇順に,他方のシステムではセション確立順序の降順に
空きセションを選択するように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] In a processing system that performs data transfer using a plurality of multiplexed half-duplex sessions, the present invention relates to a half-duplex session management processing method that enables efficient data transfer. The purpose of this method is to realize the transfer processing according to the traffic generated in both systems without predefining the attributes of the half-duplex session (reception-only or transmission-only). The session management processing means that manages these half-duplex sessions with the order according to the order of establishment as attributes, and when selecting an empty session, the empty A session selection control means for searching for a session and selecting an empty session detected first; The other system is configured to select an empty session in descending order of the session establishment order.

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

本発明は,多重化された複数の半二重セションを使用
してデータ転送を行う処理システムにおいて,効率的な
データ転送を可能とした半二重セション管理処理方式に
関する。
The present invention relates to a half-duplex session management processing method that enables efficient data transfer in a processing system that performs data transfer using a plurality of multiplexed half-duplex sessions.

〔従来の技術〕[Conventional technology]

ネットワークシステムにおいて通信を行う場合には,
その通信を行う論理ユニット間を論理的に結合する。こ
の論理的な結合がセションである。多重化された複数の
半二重セションを使用したデータ転送を,効率よく実行
するためのポイントは,セション上での送信要求の衝突
をできるだけ減らすことである。セション上で送信要求
が衝突した場合,非優先局側の要求をリジェクトし,後
で再送しなおさなければならないので,そのオーバヘッ
ドが増大する。
When communicating in a network system,
The logical units performing the communication are logically connected. This logical connection is a session. The point for efficiently performing data transfer using a plurality of multiplexed half-duplex sessions is to reduce the collision of transmission requests on the sessions as much as possible. If a transmission request collides on a session, the request on the non-priority station side must be rejected and retransmitted later, increasing the overhead.

従来,このような半二重セション上での送信要求の衝
突をできるだけ減らすために,セション毎に,送信専用
または受信専用の属性を,互いのシステムで対応づけて
管理し,送信専用セションを用いて送信要求を制御する
ようにしていた。
Conventionally, in order to reduce the collision of transmission requests on such half-duplex sessions as much as possible, attributes dedicated to transmission or reception only are managed in each system in association with each other for each session. To control the transmission request.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記従来の方式には,次のような問題があった。 The above conventional method has the following problems.

(a) セション毎にユーザによる属性定義が必要とな
る。両端のシステムに発生する呼量のバランスは,ユー
ザ毎に異なる。そのため,受信専用セションの送信専用
セションの本数を,それぞれ何本にするかをユーザが定
義する必要があるが,その本数の予測が困難であり,定
義が煩わしい。
(A) Attribute definition by the user is required for each session. The balance of the traffic generated in the systems at both ends differs for each user. For this reason, it is necessary for the user to define how many transmission-only sessions in the reception-only session are to be set, but it is difficult to predict the number, and the definition is cumbersome.

(b) 両端で発生する呼量のバランスが,時間帯で著
しく変化する場合,有効に使用されないセションが存在
し,効率のよいデータ転送ができない。例えば,相手シ
ステムで送信要求がなく,自システムには,大量の送信
要求が発生している場合,受信専用セションは使用され
ず、自システムの送信要求が滞留してしまう。
(B) If the balance of the call volume generated at both ends changes significantly in the time zone, there are sessions that are not used effectively, and efficient data transfer cannot be performed. For example, when there is no transmission request in the partner system and a large number of transmission requests are generated in the own system, the reception-only session is not used and the transmission request of the own system stays.

本発明は上記問題点の解決を図り,半二重セションの
属性(受信専用または送信専用)を事前に定義させるこ
となく,両システムで発生する呼量に応じた転送処理を
実現することを目的としている。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems and realize a transfer process according to the traffic generated in both systems without previously defining an attribute of a half-duplex session (reception only or transmission only). And

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

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

第1図において,10はCPUおよびメモリなどからなる処
理装置,11はセションの確立・解放を行うセション管理
処理部,12は確立された各セションの管理情報を順序性
を持たせて保持するセション管理キュー,13はメッセー
ジの送信要求に対し,その送信を行うための空きセショ
ンを選択するセション選択制御部,14は半二重セション
を使用してデータを送受信する送受信制御部を表す。
In FIG. 1, reference numeral 10 denotes a processing device including a CPU and a memory, 11 denotes a session management processing unit for establishing / releasing a session, and 12 denotes a session for holding the established management information of each session in order. The management queue 13 indicates a session selection control unit for selecting an empty session for transmitting a message in response to a message transmission request, and the transmission and reception control unit 14 transmits and receives data using a half-duplex session.

セション管理処理部11は,運用開始時に,あらかじめ
定められた数の半二重セションを,相手システムとの間
で確立する。このとき,確立する半二重セションの属性
をすべて入出力属性とする。すなわち,互いのシステム
が,セションを受信,送信のどちらにも使えるような属
性にする。そして,セション管理キュー12により,これ
らの半二重セションを,確立順序に従った順序性を持た
せて管理する。なお,第1図に示すセション管理キュー
12におけるB1,B2,…は,それぞれ各セションの管理情報
を持つセション管理ブロックである。
At the start of operation, the session management processing unit 11 establishes a predetermined number of half-duplex sessions with the partner system. At this time, all attributes of the half-duplex session to be established are input / output attributes. That is, the attributes are set so that both systems can use the session for both reception and transmission. Then, these half-duplex sessions are managed by the session management queue 12 with an order according to the order of establishment. The session management queue shown in FIG.
.. In B12 are session management blocks each having management information of each session.

セション選択制御部13は,送信処理に使用するセショ
ンの選択にあたって,セション確立順序の昇順または降
順のあらかじめ定められたいずれかの順序に従って空き
セションを探し,最初に検出した空きセションを選択す
る。すなわち,セション管理キュー12の順序に従って,
空きセションを探し,それを選択する。そして,選択し
たセションを送受信制御部14に通知し,そのセションを
使用してメッセージの送信を行う。
When selecting a session to be used for transmission processing, the session selection control unit 13 searches for an empty session in accordance with one of predetermined ascending or descending order of the session establishment order, and selects the first detected empty session. That is, according to the order of the session management queue 12,
Find a free session and select it. Then, the selected session is notified to the transmission / reception control unit 14, and a message is transmitted using the session.

送受信する一方のシステムで,セション管理キュー12
をセション確立順序の昇降に作成した場合,他方のシス
テムでは,セション管理キュー12をセション確立順序の
降順に作成し,それぞれキューの先頭から空きセション
を選択するようにしている。なお,両システムで,セシ
ョン管理キュー12をセション確立順序の昇順に作成し,
空きセションを選択するときに,一方のシステムでは,
キューの先頭から空きセションを探し,他方のシステム
ではキューの最後から逆向きに空きセションを探すよう
にしてもよい。
The session management queue 12
Are created in ascending and descending order of session establishment order, the other system creates session management queues 12 in descending order of session establishment order, and selects an empty session from the head of each queue. In both systems, session management queues 12 are created in ascending order of session establishment order.
When selecting an empty session, one system:
An empty session may be searched from the head of the queue, and an empty session may be searched backward from the end of the queue in the other system.

〔作用〕[Action]

本発明では,多重化された半二重セションの属性を,
すべて入出力属性とし,両システムでこれらのセション
の対応関係を把握しておく。送信要求が発生すると,一
方のシステムは,対応づけられたセションを昇順に選択
し,他方のシステムは,降順に選択して送信を行う。
In the present invention, the attribute of the multiplexed half-duplex session is
All attributes are input / output attributes, and the correspondence between these sessions in both systems is known. When a transmission request occurs, one system selects the associated session in ascending order, and the other system selects and transmits in descending order.

従って,両システムで発生する呼量が,一方では多
く,他方では少なくて,偏っている場合であっても,セ
ション上での送信要求の衝突が起きるのは,あらかじめ
確立されている他の全セションがビジーになったときだ
けである。すなわち,衝突が発生する確率は,呼量のバ
ランスに影響されることはなく,確立されているセショ
ンの総数と互いの送信要求の数にだけ影響される。従っ
て,ユーザは,あらかじめ確立しておくセションの総数
を定義するだけでよく,受信専用,送信専用の定義は不
要で,しかも全セションを有効に活用して効率のよいデ
ータ転送を行うことができるようになる。
Therefore, even if the call volume generated in both systems is large on one side and small on the other side, the collision of transmission requests on the session occurs only when all other established traffic is established. Only when the session is busy. That is, the probability of occurrence of a collision is not affected by the balance of the traffic, but is affected only by the total number of established sessions and the number of mutual transmission requests. Therefore, the user only needs to define the total number of sessions established in advance, and does not need to define reception only and transmission only, and can perform efficient data transfer by effectively utilizing all sessions. Become like

〔実施例〕〔Example〕

第2図は本発明の一実施例,第3図は本発明の一実施
例処理説明図を示す。
FIG. 2 shows an embodiment of the present invention, and FIG. 3 shows a processing explanatory diagram of an embodiment of the present invention.

第2図において,20A,20Bは各々通信を行うシステム,S
1〜Snはそれぞれデータ転送に用いられるセション,L1は
システム20Aにおけるセション管理キュー12Aのリンク,L
2はシステム20Bにおけるセション管理キュー12Bのリン
ク,MA1,MA2,MB1,MB2は送信要求のメッセージを表す。
In FIG. 2, reference numerals 20A and 20B denote communication systems, S
1 to Sn are the sessions used for data transfer, L1 is the link of the session management queue 12A in the system 20A, L
Reference numeral 2 denotes a link of the session management queue 12B in the system 20B, and MA1, MA2, MB1, and MB2 represent transmission request messages.

各セションS1〜Snは,両システムにおいて,送信・受
信可能な入出力属性を持つ。システム20A,20Bは,これ
らのセションS1〜Snの確立処理が完了した順序を,両シ
ステムで対応をとり,セション管理キュー12A,12Bによ
って管理する。
Each of the sessions S1 to Sn has an input / output attribute that allows transmission and reception in both systems. The systems 20A and 20B manage the order in which the establishment processing of these sessions S1 to Sn is completed by the session management queues 12A and 12B, taking correspondence between the two systems.

この例では,システム20A側は,セション確立順序の
昇順にセション管理キュー12AのリンクL1をはり,シス
テム20B側は,セション確立順序の降順にセション管理
キュー12BのリンクL2をはっている。
In this example, the system 20A has the link L1 of the session management queue 12A in the ascending order of the session establishment order, and the system 20B has the link L2 of the session management queue 12B in the descending order of the session establishment order.

昇順のキューを作るか,降順のキューを作るかは,ネ
ットワーク上のアドレスを比較して決定するとよい。こ
うすれば,ネットワーク上のアドレスはあらかじめ一意
に決定されているため,外部からわざわざ順序を指定し
なくても,どのシステム間も互いに逆の順序で,自動的
にキューを作成することができる。他の方法としては,
セションを確立するための指令が投入されたシステム
か,投入されなかったシステムかによって,昇順にする
か降順にするかを決定することもできる。
Whether to create an ascending queue or a descending queue may be determined by comparing addresses on the network. In this way, since the addresses on the network are uniquely determined in advance, queues can be automatically created in reverse order between any systems without having to specify the order from the outside. Alternatively,
It is also possible to determine whether the order is ascending or descending depending on whether the command for establishing the session has been input or not.

システム20Aにおいて,メッセージMA1,メッセージMA2
の送信要求が,この順番で発生すると,セション管理キ
ュー12Aの先頭から空きセションを探すので,それぞれ
セションS1,セションS2が割り当てられる。
In system 20A, message MA1, message MA2
Are transmitted in this order, an empty session is searched from the head of the session management queue 12A, so that the session S1 and the session S2 are allocated respectively.

一方,システム20Bにおいて,メッセージMB1,メッセ
ージMB2の送信要求が発生すると,セション管理キュー1
2Bの先頭から空きセションを探すので,セションSn側か
ら順番に,セションの割り当てが行われる。
On the other hand, in the system 20B, when a transmission request for the message MB1 and the message MB2 occurs, the session management queue 1
Since an empty session is searched from the beginning of 2B, session allocation is performed sequentially from the session Sn side.

第3図(イ)は,第1図に示すセション管理処理部11
の処理の例を示している。以下の説明における〜
は,第3図(イ)に示す処理〜に対応する。
FIG. 3 (a) shows the session management processing unit 11 shown in FIG.
3 shows an example of the processing. In the following description ~
Corresponds to the processing shown in FIG.

運用開始時に,相手システムとの通信により,セシ
ョン確立処理を行う。
At the start of operation, session establishment processing is performed by communication with the partner system.

セション確立に成功した場合,自システムと相手シ
ステムとのネットワーク上のアドレスの大小を比較す
る。
If the session is successfully established, the addresses of the local system and the remote system on the network are compared.

自システムのアドレスが相手システムのものより小
さい場合,処理を実行し,相手システムのアドレスの
ほうが小さい場合には,処理を実行する。
If the address of the own system is smaller than that of the partner system, the process is executed. If the address of the partner system is smaller, the process is executed.

セション管理キューを確立順序の昇順に作成する。
すなわち,新しく確立したセションの管理ブロックを,
キューの最後に接続する。
Create session management queues in ascending order of establishment order.
In other words, the newly established session management block
Connect at the end of the queue.

相手システムのアドレスが小さい場合,セション管
理キューを確立順序の降順に作成する。すなわち,新し
く確立したセションの管理ブロックを,キューの先頭に
挿入する。
If the address of the remote system is small, create a session management queue in descending order of the establishment order. That is, the management block of the newly established session is inserted at the head of the queue.

所定の数だけセションを確立したかどうかを判定し,
まだの場合には,処理へ制御を戻して,同様に次のセ
ションの確立処理を行う。全セションの確立処理が終了
したならば,処理を終了する。
Judge whether a predetermined number of sessions have been established,
If not, control is returned to the process, and the process for establishing the next session is similarly performed. When the processing for establishing all sessions is completed, the processing is terminated.

第3図(ロ)は,第1図に示すセション選択制御部13
の処理の例を示している。以下の説明における〜
は,第3図(ロ)に示す処理〜に対応する。
FIG. 3 (b) shows the session selection control unit 13 shown in FIG.
3 shows an example of the processing. In the following description ~
Corresponds to the processing shown in FIG.

送信要求があり,空きセションを選択する場合,ま
ず,セション管理キューの先頭のセション管理ブロック
をポイントする。
When there is a transmission request and an empty session is selected, first, a session management block at the top of the session management queue is pointed to.

セション管理ブロック中の使用中フラグのオン/オ
フを調べ,空きセションであるかどうかを判定する。使
用中フラグがオンで空きセションでないことがわかった
場合,処理へ制御を移す。
The on / off state of the busy flag in the session management block is checked to determine whether the session is empty. If it is determined that the busy flag is on and the session is not an empty session, control is transferred to the processing.

使用中フラグがオフの場合,その使用中フラグをオ
ンにする。
If the busy flag is off, turn on the busy flag.

そのセションを送信要求の処理に割り当てる。 The session is allocated for processing the transmission request.

現在,ポイントしているブロックが空きセションで
ない場合,キューが終了したかどうかを判定する。
If the currently pointed block is not an empty session, determine whether the queue has ended.

キューが終了していない場合,次のセション管理ブ
ロックへポイントを進め,処理へ制御を戻して,同様
に空きセションを探す。
If the queue has not ended, the point is advanced to the next session management block, control is returned to the processing, and an empty session is similarly searched.

キューが終了した場合,送信要求に対する処理を,
空きセションができるまで待たせる。
When the queue ends, the process for the transmission request is
Wait until an empty session is available.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,次の効果があ
る。
As described above, the present invention has the following effects.

(a) セションの属性を事前に定義する必要がないた
め,ユーザの負担を軽減することができる。また,チュ
ーニングも,セション数の増減だけを考えればよく,簡
単になる。
(A) Since it is not necessary to define session attributes in advance, the burden on the user can be reduced. Also, tuning can be simplified by considering only the increase / decrease of the number of sessions.

(b) 両システムの呼量に応じた柔軟な転送が可能に
なる。例えば,ある時間帯では,片方向にしかデータが
流れず,他のある時間帯では,逆方向にしかデータが流
れないシステムでも,セションを有効に利用し,効率よ
くデータ転送を行うことができる。また,両システムが
同等の呼量の場合にも,妥当なセション数(両システム
で単位時間当たりに発生する呼量の合計)を用意すれ
ば,ほとんど送信要求の衝突が発生しない転送が可能で
ある。
(B) Flexible transfer according to the traffic of both systems is possible. For example, even in a system in which data flows only in one direction in one time zone and data flows only in the other direction in another time zone, the session can be effectively used and data can be efficiently transferred. . In addition, even if both systems have the same traffic, if a reasonable number of sessions (total traffic generated per unit time in both systems) is prepared, transmission can be performed with almost no collision of transmission requests. is there.

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

第1図は本発明の構成例, 第2図は本発明の一実施例, 第3図は本発明の一実施例処理説明図を示す。 図中,10は処理装置,11はセション管理処理部,12はセシ
ョン管理キュー,13はセション選択制御部,14は送受信制
御部を表す。
FIG. 1 shows a configuration example of the present invention, FIG. 2 shows an embodiment of the present invention, and FIG. 3 shows a processing explanatory diagram of an embodiment of the present invention. In the figure, 10 is a processing device, 11 is a session management processing unit, 12 is a session management queue, 13 is a session selection control unit, and 14 is a transmission / reception control unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】多重化された複数の半二重セションを使用
してデータ転送を行う処理システムにおいて, あらかじめ確立する半二重セションの属性を入出力属性
とし,これらの半二重セションを,確立順序に従った順
序性を持たせて管理するセション管理処理手段(11)
と, 送信処理のための空きセションの選択にあたって,セシ
ョン確立順序の昇順または降順のあらかじめ定められた
いずれかの順序に従って空きセションを探し,最初に検
出した空きセションを選択するセション選択制御手段
(13)とを備え, 送受信する一方のシステムではセション確立順序の昇順
に,他方のシステムではセション確立順序の降順に空き
セションを選択するようにしたことを特徴とする半二重
セション管理処理方式。
In a processing system for transferring data using a plurality of multiplexed half-duplex sessions, an attribute of a half-duplex session established in advance is set as an input / output attribute, and these half-duplex sessions are Session management processing means (11) for managing with the order according to the establishment order
In selecting an empty session for transmission processing, a session selection control means (13) that searches for an empty session in accordance with one of a predetermined order of ascending or descending order of session establishment and selects an empty session detected first. A half-duplex session management processing method characterized in that one of the transmitting and receiving systems selects an empty session in ascending order of the session establishment order and the other system selects an empty session in descending order of the session establishment order.
JP63099006A 1988-04-21 1988-04-21 Half-duplex session management processing method Expired - Fee Related JP2594313B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63099006A JP2594313B2 (en) 1988-04-21 1988-04-21 Half-duplex session management processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63099006A JP2594313B2 (en) 1988-04-21 1988-04-21 Half-duplex session management processing method

Publications (2)

Publication Number Publication Date
JPH01270158A JPH01270158A (en) 1989-10-27
JP2594313B2 true JP2594313B2 (en) 1997-03-26

Family

ID=14234951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63099006A Expired - Fee Related JP2594313B2 (en) 1988-04-21 1988-04-21 Half-duplex session management processing method

Country Status (1)

Country Link
JP (1) JP2594313B2 (en)

Also Published As

Publication number Publication date
JPH01270158A (en) 1989-10-27

Similar Documents

Publication Publication Date Title
EP0380141B1 (en) Local area network for digital data processing system
US4823122A (en) Local area network for digital data processing system
US4941084A (en) System for locating resources resided in a distributing processing system by sequentially transmitting resource inquiries through a looped transmission line
US5526492A (en) System having arbitrary master computer for selecting server and switching server to another server when selected processor malfunctions based upon priority order in connection request
US6195682B1 (en) Concurrent server and method of operation having client-server affinity using exchanged client and server keys
EP0421779A2 (en) Communication device
JPS5992654A (en) Electronic document distributing system
JP2594313B2 (en) Half-duplex session management processing method
JP3345546B2 (en) Data delivery method and information communication device
JPH054040Y2 (en)
JPS6238054A (en) Communication system for reserving reception side
JPH04269051A (en) System for setting plural lines
JPH0588020B2 (en)
JPS60236561A (en) Conference communication system
JPH0381852A (en) Connection control system
JPH0730573A (en) Down-load system
JPS59161952A (en) Establishment of communication path
Yoshida et al. Banet—a local area network for distributed data processing
JPH04172032A (en) Polling control system
JPS62100048A (en) System for sending large amount data in parallel
JPS6074836A (en) Data transfer system
JPH0640319B2 (en) Message buffer management processing method
JPH0477146A (en) Multi cast communication method
JPH0310541A (en) Priority exchange service control system
JPH01136263A (en) System for managing communication control buffer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees