JPH04268654A - Buffer management system - Google Patents
Buffer management systemInfo
- Publication number
- JPH04268654A JPH04268654A JP3050483A JP5048391A JPH04268654A JP H04268654 A JPH04268654 A JP H04268654A JP 3050483 A JP3050483 A JP 3050483A JP 5048391 A JP5048391 A JP 5048391A JP H04268654 A JPH04268654 A JP H04268654A
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- communication
- usable
- communication path
- number storage
- 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
- 239000000872 buffer Substances 0.000 title claims abstract description 207
- 238000007726 management method Methods 0.000 claims description 42
- 230000007423 decrease Effects 0.000 claims description 25
- 230000003247 decreasing effect Effects 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000010365 information processing Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Information Transfer Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は情報処理システム間を接
続する中継システムに於けるバッファ管理機構に関し、
特に、通信路の開設時には中継システムに直ちに受信動
作を行なわせることができるバッファ管理方式に関する
。[Field of Industrial Application] The present invention relates to a buffer management mechanism in a relay system that connects information processing systems.
In particular, the present invention relates to a buffer management method that allows a relay system to immediately perform a receiving operation when a communication path is established.
【0002】0002
【従来の技術】情報処理システム間を接続する中継シス
テムに於いては、或る情報処理システムから通信路を介
して送られてきた情報をバッファに一旦格納し、上記バ
ッファに格納した情報を通信路を介して中継相手の情報
処理システムに送出するようにしている。一般に中継シ
ステムによって接続される2本の通信路は通信速度や通
信サイズ等が異なっており、バッファが使用完了となっ
てバッファ管理機構に戻される時期と、情報を送出して
きた情報処理システムが次の情報を送信したい時期とは
同期しないので、上記バッファのみを使用して受信動作
を行なおうとすると、バッファが溢れ、受信動作を継続
することができなくなってしまう場合がある。そこで、
従来のバッファ管理機構は開設されている通信路上で現
在使用しているバッファが溢れ、新たなバッファが必要
になると、蓄えている使用可能なバッファがある限り、
それを使用した情報の受信動作を許可するようにしてい
る。2. Description of the Related Art In a relay system that connects information processing systems, information sent from a certain information processing system via a communication path is temporarily stored in a buffer, and the information stored in the buffer is then communicated. The data is sent to the information processing system of the relay partner via the route. In general, the two communication paths connected by a relay system differ in communication speed, communication size, etc., and the timing at which the buffer is returned to the buffer management mechanism when it is finished being used, and when the information processing system that sent the information is Since this information is not synchronized with the timing at which information is desired to be transmitted, if an attempt is made to perform a reception operation using only the above-mentioned buffer, the buffer may overflow and the reception operation may not be able to be continued. Therefore,
In the conventional buffer management mechanism, when the currently used buffer overflows on the established communication path and a new buffer is needed, as long as there are available buffers stored,
The system allows the user to receive information using it.
【0003】0003
【発明が解決しようとする課題】上述したように、従来
は、開設されている通信路上でバッファが必要になると
、バッファ管理機構が蓄えている使用可能なバッファが
なくなるまで、それを使用した情報の受信動作を許可し
ているので、使用可能なバッファがなくなっている時点
で、新たな通信路が開設されても、その通信路上での受
信動作が直ぐには行なえない場合があるという問題点が
ある。一般に、送信したい情報があるために新たな通信
路を開設する場合が多く、それにもかかわらず中継シス
テム側でその新たな通信路上で受信動作を行なえないの
は、既に情報の送受信が行なわれていて、その後は通信
路が閉鎖される可能性がある通信路上で受信動作を行な
えないことに比べれば大きな問題点といえる。尚、この
ような問題点は使用可能なバッファを動的に増加させる
機能を有しているバッファ管理機能に於いても、増加で
きるバッファ数に制限があるため、解消されない。[Problems to be Solved by the Invention] As mentioned above, conventionally, when a buffer is needed on an established communication path, the buffer management mechanism stores information using the buffer until there are no more usable buffers. Therefore, even if a new communication path is opened when there are no available buffers, there is a problem that reception operations on that communication path may not be possible immediately. be. Generally, a new communication path is often opened because there is information to be sent, but the reason why the relay system is unable to perform reception operations on that new communication path is because information has already been sent and received. This is a major problem compared to the fact that no reception operation can be performed on the communication path, which may then be closed. Incidentally, even in a buffer management function that has a function of dynamically increasing the number of usable buffers, there is a limit to the number of buffers that can be increased, so this problem cannot be solved.
【0004】本発明の目的は新たな通信路の開設時には
直ちに受信動作を行なわせることができるバッファ管理
方式を提供することにある。An object of the present invention is to provide a buffer management system that allows a reception operation to be performed immediately when a new communication path is established.
【0005】[0005]
【課題を解決するための手段】本発明は上記目的を達成
するため、図1の構成図に示すように、複数の通信路の
開設,閉鎖及び情報の送受信を司る通信制御機構が使用
するバッファの管理を司るバッファ管理機構に於いて、
使用可能なバッファの数が格納される使用可能バッファ
数記憶部1と、前記バッファ管理機構が蓄えているバッ
ファの数と開設される可能性がある通信路の数との差を
初期値として前記使用可能バッファ数記憶部1に設定す
る使用可能バッファ数初期設定処理部2と、通信路が開
設されたことを認識する通信路開設認識部3と、通信路
が閉鎖されたことを認識する通信路閉鎖認識部4と、前
記通信路開設認識部3が通信路の開設を認識する毎に前
記使用可能バッファ数記憶部1の内容を増加させ、前記
通信路閉鎖認識部4が通信路の閉鎖を認識する毎に前記
使用可能バッファ数記憶部1の内容を減少させ、前記バ
ッファ管理機構に蓄えられているバッファが使用される
毎に前記使用可能バッファ数記憶部1の内容を減少させ
、バッファが前記バッファ管理機構に返却される毎に前
記使用可能バッファ数記憶部1の内容を増加させる使用
可能バッファ数増減処理部5とを備え、前記バッファ管
理機構は前記通信制御機構からのバッファ使用要求に応
答して前記使用可能バッファ数記憶部1を参照し、前記
使用可能バッファ数記憶部1の内容が使用できるバッフ
ァが存在することを示していることを条件にしてバッフ
ァの使用を許可する。[Means for Solving the Problems] In order to achieve the above object, the present invention provides a buffer used by a communication control mechanism that controls the opening and closing of a plurality of communication channels and the transmission and reception of information, as shown in the block diagram of FIG. In the buffer management mechanism that manages the
The number of usable buffers storage unit 1 stores the number of usable buffers, and the difference between the number of buffers stored by the buffer management mechanism and the number of communication paths that may be opened is set as an initial value. A number-of-usable-buffers initialization processing unit 2 that sets the number of available buffers in the number-of-available-buffers storage unit 1, a communication path opening recognition unit 3 that recognizes that a communication path has been opened, and a communication unit that recognizes that a communication path has been closed. Each time the path closure recognition unit 4 and the communication path establishment recognition unit 3 recognize the opening of a communication path, the contents of the usable buffer number storage unit 1 are increased, and the communication path closure recognition unit 4 increases the contents of the usable buffer number storage unit 1. The contents of the usable buffer number storage unit 1 are decreased each time a buffer is recognized, and the contents of the usable buffer number storage unit 1 are decreased each time a buffer stored in the buffer management mechanism is used. a number-of-usable-buffers increase/decrease processing section 5 that increases the contents of the number-of-usable-buffers storage section 1 each time a buffer is returned to the buffer management mechanism; In response to this, the available buffer number storage section 1 is referred to, and use of the buffer is permitted on the condition that the contents of the available buffer number storage section 1 indicate that there are usable buffers.
【0006】[0006]
【作用】使用可能バッファ数記憶部1には使用可能バッ
ファ数初期設定処理部2により初期値としてバッファ管
理機構が蓄えているバッファの数と開設される可能性の
ある通信路の数との差が設定される。即ち、使用可能バ
ッファ数記憶部1には初期値として開設される可能性の
ある通信路に1個ずつバッファを割り当てた時の残りの
バッファ数が設定される。[Operation] The usable buffer number storage unit 1 stores the difference between the number of buffers stored by the buffer management mechanism as an initial value by the usable buffer number initialization processing unit 2 and the number of communication paths that may be opened. is set. That is, the number of available buffers storage unit 1 is set as an initial value of the remaining number of buffers when one buffer is allocated to each communication path that may be opened.
【0007】使用可能バッファ数増減処理部5は通信路
開設認識部3が通信路の開設を認識する毎に使用可能バ
ッファ数記憶部1の内容を増加させ、バッファ管理機構
に蓄えられているバッファが使用される毎に使用可能バ
ッファ数記憶部の内容を減少させる。即ち、使用可能バ
ッファ数増減処理部5は開設済みの通信路が2個以上の
バッファを使用する場合のみ、使用するバッファの数が
増える毎に使用可能バッファ数記憶部1の内容を減少さ
せる。従って、使用可能バッファ数記憶部1の内容が「
0」になっても、バッファ管理機構には未開設の通信路
の数と同数の使用可能なバッファが残っている。The usable buffer number increase/decrease processing unit 5 increases the contents of the usable buffer number storage unit 1 every time the communication path establishment recognition unit 3 recognizes the establishment of a communication path, and increases the contents of the usable buffer number storage unit 1, and updates the buffers stored in the buffer management mechanism. The contents of the available buffer number storage section are decremented each time the buffer is used. That is, the usable buffer number increase/decrease processing section 5 decreases the contents of the usable buffer number storage section 1 each time the number of buffers to be used increases only when an established communication path uses two or more buffers. Therefore, the contents of the usable buffer number storage unit 1 are “
0'', the buffer management mechanism still has the same number of usable buffers as the number of unopened communication paths.
【0008】新たな通信路の開設が通信路開設認識部3
によって認識された時に、使用可能バッファ数記憶部1
の内容が「0」であっても、バッファ管理機構には未開
設の通信路の数と同数の使用可能なバッファが残ってお
り、また、使用可能バッファ数増減処理部5は通信路開
設認識部3が通信路の開設を認識すると、使用可能バッ
ファ数記憶部1の内容を加算するものであるので、バッ
ファ管理機構は新たに開設された通信路については直ち
にバッファの使用を許可する。[0008] The communication channel establishment recognition unit 3 establishes a new communication channel.
When the number of available buffers is recognized by
Even if the content of is "0", the same number of usable buffers as the number of unopened communication channels remains in the buffer management mechanism, and the available buffer number increase/decrease processing unit 5 recognizes the establishment of communication channels. When the unit 3 recognizes the establishment of a communication channel, it adds the contents of the usable buffer number storage unit 1, so that the buffer management mechanism immediately permits the use of the buffer for the newly established communication channel.
【0009】[0009]
【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。Embodiments Next, embodiments of the present invention will be described in detail with reference to the drawings.
【0010】図2は本発明の実施例のブロック図であり
、開設される可能性のある複数の通信路21の開設,閉
鎖及び情報の送受信を司る通信制御機構22と、通信制
御機構が使用するバッファの管理を司るバッファ管理機
構23と、リミッタ24とから構成されている。FIG. 2 is a block diagram of an embodiment of the present invention, which includes a communication control mechanism 22 that controls the opening and closing of a plurality of communication paths 21 that may be opened and the transmission and reception of information, and It is composed of a buffer management mechanism 23 that manages the buffers to be stored, and a limiter 24.
【0011】リミッタ24は使用可能バッファ数記憶部
1と、使用可能バッファ数初期設定処理部2と、通信路
開設認識部3と、通信路閉鎖認識部4と、使用可能バッ
ファ数増減処理部5とから構成されている。The limiter 24 includes a usable buffer number storage section 1, an usable buffer number initialization processing section 2, a communication path opening recognition section 3, a communication path closure recognition section 4, and an usable buffer number increase/decrease processing section 5. It is composed of.
【0012】使用可能バッファ数記憶部1にはバッファ
管理機構23に蓄えられているバッファの内、通信路の
開設時以外に使用できるバッファの数が格納される。使
用可能バッファ数初期設定処理部2は中継システム立上
げ後の1本も通信路の開設されていない時点での通信路
の開設時以外に使用可能なバッファの数を使用可能バッ
ファ数記憶部1に設定する。通信路開設認識部3は通信
路が開設された時点でそのことを認識し、使用可能バッ
ファ数増減処理部5に増加要求を出力する。通信路閉鎖
認識部4は通信路が閉鎖された時点でそのことを認識し
、使用可能バッファ数増減処理部5に減少要求を出力す
る。使用可能バッファ数増減処理部5は通信路開設認識
部3,通信路閉鎖認識部4からの増加要求,減少要求に
応答して使用可能バッファ数記憶部1の内容を+1,−
1すると共に、バッファ管理機構23からの増加指示,
減少指示に応答して使用可能バッファ数記憶部1の内容
を+1,−1する。[0012] The usable buffer number storage unit 1 stores the number of buffers that can be used at times other than when establishing a communication path, out of the buffers stored in the buffer management mechanism 23. The number of usable buffers initial setting processing unit 2 stores the number of usable buffers at a time other than when a communication path is established at a time when no communication path has been established after the relay system is started up. Set to . The communication channel establishment recognition section 3 recognizes the fact that the communication channel has been established, and outputs an increase request to the usable buffer number increase/decrease processing section 5. The communication channel closure recognition section 4 recognizes the fact that the communication channel is closed, and outputs a reduction request to the usable buffer number increase/decrease processing section 5. The available buffer number increase/decrease processing section 5 changes the contents of the available buffer number storage section 1 by +1 or - in response to an increase request or a decrease request from the communication path opening recognition section 3 or the communication path closure recognition section 4.
1 and an increase instruction from the buffer management mechanism 23,
In response to the decrease instruction, the contents of the usable buffer number storage section 1 are incremented by +1 and -1.
【0013】次に本実施例の動作を説明する。Next, the operation of this embodiment will be explained.
【0014】中継システムの立上げ時、バッファ管理機
構23はリミッタ24に対して初期設定処理を指示する
。リミッタ24ではこの指示を受けると、使用可能バッ
ファ数初期設定処理部2を使用して、バッファ管理機構
23に蓄えられているバッファ数から設定される可能性
のある通信路21の数を引き算し、演算結果を使用可能
バッファ数記憶部1に設定する。今、例えば、バッファ
管理機構23に蓄えられているバッファ数を「150」
,設定される可能性のある通信路21の数を「100」
とすると、使用可能バッファ数記憶部1には「50」が
格納されることになる。When starting up the relay system, the buffer management mechanism 23 instructs the limiter 24 to perform initial setting processing. When the limiter 24 receives this instruction, it uses the usable buffer number initialization processing section 2 to subtract the number of communication paths 21 that may be set from the number of buffers stored in the buffer management mechanism 23. , the calculation result is set in the usable buffer number storage unit 1. Now, for example, set the number of buffers stored in the buffer management mechanism 23 to "150".
, the number of communication paths 21 that may be set is "100"
Then, "50" will be stored in the usable buffer number storage unit 1.
【0015】中継システムが立ち上がった後、通信路2
1の内の1本の通信路が着信によって開設されると、通
信制御機構22はリミッタ24に対して通信路開設通知
を送出する。リミッタ24内の通信路開設認識部3は通
信路開設通知を受けると、使用可能バッファ数増減処理
部5に対して増加要求を加える。この増加要求に応答し
使用可能バッファ数増減処理部5は使用可能バッファ数
記憶部1の内容を+1して「51」にする。After the relay system is started up, communication path 2
When one of the communication channels is opened by an incoming call, the communication control mechanism 22 sends a communication channel establishment notification to the limiter 24. When the communication channel establishment recognition unit 3 in the limiter 24 receives the communication channel establishment notification, it issues an increase request to the usable buffer number increase/decrease processing unit 5. In response to this increase request, the available buffer number increase/decrease processing section 5 increments the contents of the available buffer number storage section 1 by 1 to "51".
【0016】これに続き、通信制御機構22はバッファ
管理機構23に対してバッファの使用要求を行なう。使
用要求を受けると、バッファ管理機構23はリミッタ2
4内の使用可能バッファ数記憶部1を参照し、その内容
が「0」でない限り、通信制御機構22に対してバッフ
ァの使用を許可する。この場合、使用可能バッファ数記
憶部1の内容は「51」になっているので、バッファ管
理機構23は通信制御機構22に対してバッファ(発信
元からの情報を受信するためのバッファ)の使用を許可
することになる。通信制御機構22に対してバッファの
使用を許可すると、バッファ管理機構23はリミッタ2
4内の使用可能バッファ数増減処理部5に対して減少指
示を送出する。この減少指示を受けると、使用可能バッ
ファ数増減処理部5は使用可能バッファ数記憶部1の内
容を−1して「50」とする。Subsequently, the communication control mechanism 22 requests the buffer management mechanism 23 to use the buffer. Upon receiving the usage request, the buffer management mechanism 23 sends the limiter 2
4, and unless the content is "0", the communication control mechanism 22 is permitted to use the buffer. In this case, since the content of the available buffer number storage unit 1 is "51", the buffer management mechanism 23 requests the communication control mechanism 22 to use the buffer (a buffer for receiving information from the source). will be allowed. When the communication control mechanism 22 is permitted to use the buffer, the buffer management mechanism 23 controls the limiter 2.
A decrease instruction is sent to the available buffer number increase/decrease processing unit 5 in 4. Upon receiving this reduction instruction, the available buffer number increase/decrease processing section 5 subtracts the contents of the available buffer number storage section 1 by 1 to "50".
【0017】その後、通信制御機構22では、着信によ
って開設された通信路に対応する中継相手との通信路を
発信によって開設することになるが、発信による通信路
の開設に於いても上述したと同様の動作が行なわれる。
その結果、使用可能バッファ数記憶部1の内容は「51
」→「50」と変化し、通信制御機構22にはバッファ
(中継相手からの情報を受信するためのバッファ)の使
用が許可される。Thereafter, the communication control mechanism 22 opens a communication path with the relay partner corresponding to the communication path opened by the incoming call, by making a call. A similar operation is performed. As a result, the contents of the available buffer number storage unit 1 are “51
” → “50”, and the communication control mechanism 22 is permitted to use the buffer (buffer for receiving information from the relay partner).
【0018】その後、上記開設済みの2本の通信路上で
次のバッファが必要になると、通信制御機構22はバッ
ファ管理機構23に対してバッファ使用要求を送出する
。Thereafter, when the next buffer is needed on the two communication paths already established, the communication control mechanism 22 sends a buffer use request to the buffer management mechanism 23.
【0019】このバッファ使用要求を受けると、バッフ
ァ管理機構23はリミッタ24内の使用可能バッファ数
記憶部1を参照し、その内容が「0」でない限り、通信
制御機構22に対してバッファの使用を許可する。この
場合、使用可能バッファ数記憶部1の内容は「50」に
なっているので、バッファ管理機構23は通信制御機構
22に対してバッファの使用を許可することになる。バ
ッファの使用を許可すると、バッファ管理機構23はリ
ミッタ24内の使用可能バッファ数増減処理部5に対し
て減少指示を送出する。この減少指示を受けることによ
り、使用可能バッファ数増減処理部5は使用可能バッフ
ァ数記憶部1の内容を−1して「49」にする。Upon receiving this buffer usage request, the buffer management mechanism 23 refers to the usable buffer number storage unit 1 in the limiter 24, and unless the content is "0", the buffer management mechanism 23 requests the communication control mechanism 22 to use the buffer. Allow. In this case, since the content of the usable buffer number storage unit 1 is "50", the buffer management mechanism 23 allows the communication control mechanism 22 to use the buffer. After permitting the use of the buffer, the buffer management mechanism 23 sends a reduction instruction to the usable buffer number increase/decrease processing section 5 in the limiter 24. Upon receiving this decrease instruction, the available buffer number increase/decrease processing section 5 subtracts the contents of the available buffer number storage section 1 by 1 to "49".
【0020】その後、開設されている通信路上で使用さ
れていたバッファが使用完了となると、通信制御機構2
2はバッファ管理機構23に対してバッファ返却要求を
送出する。バッファ管理機構23はバッファ返却要求を
受けると、返却されたバッファを使用可能なバッファと
して再び蓄えると同時に、リミッタ24内の使用可能バ
ッファ数増減処理部5に対して増加指示を加える。この
増加指示に応答して使用可能バッファ数増減処理部5は
使用可能バッファ数記憶部1の内容を+1して「50」
にする。この例の場合、使用されているバッファは3個
であるので、上述したと同様の動作が更に2回行なわれ
、使用可能バッファ数記憶部1の内容は「52」にされ
る。[0020] Thereafter, when the buffer used on the opened communication path is used, the communication control mechanism 2
2 sends a buffer return request to the buffer management mechanism 23. Upon receiving the buffer return request, the buffer management mechanism 23 stores the returned buffer again as a usable buffer, and at the same time issues an increase instruction to the usable buffer number increase/decrease processing section 5 in the limiter 24. In response to this increase instruction, the available buffer number increase/decrease processing unit 5 increases the contents of the available buffer number storage unit 1 by 1 to “50”.
Make it. In this example, since there are three buffers in use, the same operation as described above is performed two more times, and the contents of the usable buffer number storage unit 1 are set to "52".
【0021】その後、開設されていた通信路が閉鎖され
ると、通信制御機構22はリミッタ24内の通信路閉鎖
認識部4に対して通信路閉鎖通知を送出する。この通信
路閉鎖通知を受けることにより、通信路閉鎖認識部4は
通信路の閉鎖を認識し、使用可能バッファ数増減処理部
5に対して減少要求を送出する。この減少要求に応答し
て使用可能バッファ数増減処理部5では使用可能バッフ
ァ数記憶部1の内容を−1して「51」にする。この例
の場合、開設された通信路の数は「2」であるので、前
述したと同様の動作が更に1回行なわれ、使用可能バッ
ファ数記憶部1の内容は「50」に戻る。Thereafter, when the opened communication channel is closed, the communication control mechanism 22 sends a communication channel closure notification to the communication channel closure recognition unit 4 in the limiter 24. Upon receiving this communication channel closure notification, the communication channel closure recognition section 4 recognizes the closure of the communication channel, and sends a reduction request to the available buffer number increase/decrease processing section 5. In response to this reduction request, the available buffer number increase/decrease processing section 5 subtracts the contents of the available buffer number storage section 1 by 1 to "51". In this example, since the number of opened communication paths is "2", the same operation as described above is performed one more time, and the contents of the usable buffer number storage section 1 return to "50".
【0022】ここでは、2本の通信路が開設された場合
を例にとって動作を説明したが、開設される通信路の数
に関係なく、上述したと同様の動作が行なわれる。[0022] Here, the operation has been explained taking as an example the case where two communication paths are established, but the same operation as described above is performed regardless of the number of communication paths that are established.
【0023】このように、本実施例では使用可能バッフ
ァ数記憶部1に初期値としてバッファ管理機構23が蓄
えている使用可能なバッファの数と開設される可能性の
ある通信路の数との差を設定しておき、1本の通信路が
使用するバッファの数が複数になった場合、通信路が使
用するバッファの数が増える毎に使用可能バッファ数記
憶部1の内容を−1するものであるので、使用可能バッ
ファ数記憶部1の内容が「0」になって既に開設済みの
通信路に対するバッファの使用が許可されなくなった状
態でも、バッファ管理機構23には未開設の通信路の数
と同数の使用可能なバッファが残されていることになる
。従って、本実施例によれば、新たな通信路が開設され
た場合は、直ちにバッファを使用した受信動作を開始さ
せることが可能になる。As described above, in this embodiment, the number of usable buffers stored as an initial value in the usable buffer number storage unit 1 by the buffer management mechanism 23 and the number of communication paths that may be opened are determined. If the difference is set and the number of buffers used by one communication path becomes multiple, the contents of the usable buffer number storage unit 1 are decremented by 1 each time the number of buffers used by the communication path increases. Therefore, even if the content of the usable buffer number storage unit 1 becomes "0" and the use of buffers for communication channels that have already been established is no longer permitted, the buffer management mechanism 23 stores information about communication channels that have not yet been established. There are as many usable buffers left as there are. Therefore, according to this embodiment, when a new communication channel is opened, it is possible to immediately start a reception operation using a buffer.
【0024】[0024]
【発明の効果】以上説明したように、本発明は、使用可
能バッファ数記憶部の内容が「0」になっても、未開設
の通信路の数と同じ数だけ使用可能なバッファが常に存
在するので、開設済みの通信路がバッファ不足により受
信動作を行なえなくなるのをある程度防ぎながら、新た
な通信路が開設された場合、直ちにバッファを使用した
受信動作を行なわせることが可能になる効果がある。[Effects of the Invention] As explained above, in the present invention, even if the contents of the usable buffer number storage section become "0", there are always as many usable buffers as the number of unopened communication channels. This has the effect of preventing the communication channel that has already been opened from being unable to perform reception operations due to buffer shortage to some extent, while also allowing the reception operation using the buffer to be performed immediately when a new communication channel is opened. be.
【図1】本発明の構成図である。FIG. 1 is a configuration diagram of the present invention.
【図2】本発明の実施例のブロック図である。FIG. 2 is a block diagram of an embodiment of the invention.
1…使用可能バッファ数記憶部
2…使用可能バッファ数初期設定処理部3…通信路開設
認識部
4…通信路閉鎖認識部
5…使用可能バッファ数増減処理部
21…通信路
22…通信制御機構
23…バッファ管理機構
24…リミッタ1... Usable buffer number storage unit 2... Usable buffer number initial setting processing unit 3... Communication path opening recognition unit 4... Communication path closure recognition unit 5... Usable buffer number increase/decrease processing unit 21... Communication path 22... Communication control mechanism 23...Buffer management mechanism 24...Limiter
Claims (2)
送受信を司る通信制御機構が使用するバッファの管理を
司るバッファ管理機構に於いて、使用可能なバッファの
数が格納される使用可能バッファ数記憶部と、前記バッ
ファ管理機構が蓄えているバッファの数と開設される可
能性がある通信路の数との差を初期値として前記使用可
能バッファ数記憶部に設定する使用可能バッファ数初期
設定処理部と、通信路が開設されたことを認識する通信
路開設認識部と、通信路が閉鎖されたことを認識する通
信路閉鎖認識部と、前記通信路開設認識部が通信路の開
設を認識する毎に前記使用可能バッファ数記憶部の内容
を増加させ、前記通信路閉鎖認識部が通信路の閉鎖を認
識する毎に前記使用可能バッファ数記憶部の内容を減少
させ、前記バッファ管理機構に蓄えられているバッファ
が使用される毎に前記使用可能バッファ数記憶部の内容
を減少させ、バッファが前記バッファ管理機構に返却さ
れる毎に前記使用可能バッファ数記憶部の内容を増加さ
せる使用可能バッファ数増減処理部とを備え、前記バッ
ファ管理機構は前記通信制御機構からのバッファ使用要
求に応答して前記使用可能バッファ数記憶部を参照し、
前記使用可能バッファ数記憶部の内容が使用できるバッ
ファが存在することを示していることを条件にしてバッ
ファの使用を許可することを特徴とするバッファ管理方
式。Claim 1: An available buffer in which the number of usable buffers is stored in a buffer management mechanism that manages buffers used by a communication control mechanism that manages the opening and closing of multiple communication channels and the transmission and reception of information. an initial number of usable buffers that is set in the usable buffer number memory section using the difference between the number of buffers stored by the buffer management mechanism and the number of communication paths that may be opened as an initial value; a setting processing section, a communication channel opening recognition section that recognizes that a communication channel has been opened, a communication channel closure recognition section that recognizes that the communication channel is closed, and a communication channel opening recognition section that recognizes that the communication channel is opened. Each time the communication path closure recognition unit recognizes the closure of a communication path, the content of the usable buffer number storage unit is increased, and each time the communication path closure recognition unit recognizes the closure of a communication path, the content of the usable buffer number storage unit is decreased. Each time a buffer stored in the mechanism is used, the contents of the usable buffer number storage section are decreased, and each time a buffer is returned to the buffer management mechanism, the contents of the usable buffer number storage section are increased. an available buffer number increase/decrease processing unit, the buffer management mechanism refers to the available buffer number storage unit in response to a buffer use request from the communication control mechanism;
A buffer management method characterized in that the use of a buffer is permitted on the condition that the contents of the usable buffer number storage section indicate that there are usable buffers.
機構からの通信路開設通知に基づいて通信路の開設を認
識し、前記通信路閉鎖認識部は前記通信制御機構からの
通信路閉鎖通知に基づいて通信路の閉鎖を認識すること
を特徴とする請求項1記載のバッファ管理方式。2. The communication path establishment recognition unit recognizes the establishment of a communication path based on the communication path establishment notification from the communication control mechanism, and the communication path closure recognition unit recognizes the establishment of the communication path based on the communication path closure notification from the communication control mechanism. 2. The buffer management method according to claim 1, wherein closure of a communication path is recognized based on .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3050483A JPH04268654A (en) | 1991-02-22 | 1991-02-22 | Buffer management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3050483A JPH04268654A (en) | 1991-02-22 | 1991-02-22 | Buffer management system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04268654A true JPH04268654A (en) | 1992-09-24 |
Family
ID=12860163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3050483A Pending JPH04268654A (en) | 1991-02-22 | 1991-02-22 | Buffer management system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04268654A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014007462A (en) * | 2012-06-21 | 2014-01-16 | Fujitsu Telecom Networks Ltd | Emergency notification system |
-
1991
- 1991-02-22 JP JP3050483A patent/JPH04268654A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014007462A (en) * | 2012-06-21 | 2014-01-16 | Fujitsu Telecom Networks Ltd | Emergency notification system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1127770A (en) | Method and device for speech signal reconstruction in packet switched telecommunication networks | |
US7120577B2 (en) | Virtual presence | |
US6782429B1 (en) | Dynamic communication path selection for data transmission between computers | |
US20030065820A1 (en) | Transmission method and network gateway device for real-time communication between packet-oriented communication networks | |
US5737535A (en) | Flow control circuit for networked communications system including arrangement for reducing overhead at the beginning of a communications session by enabling message transmission before receiving flow control information | |
US6961331B2 (en) | IP gateway apparatus | |
CA2454274A1 (en) | Method and arrangement for transmission of data from a first data network to a second data network | |
US5193089A (en) | Key telephone system | |
JPS61140253A (en) | Packet transfer system | |
JPH04268654A (en) | Buffer management system | |
US7000018B1 (en) | Voice data streaming control in a network | |
JP2615630B2 (en) | Communication quality setting method | |
JPH03101440A (en) | Band assignment system | |
JP3075650B2 (en) | Packet transmission equipment for packet switching equipment | |
KR100331395B1 (en) | Mux capable of dispersion transmission and priority transmission in imt-2000 base-station controller and control method thereof | |
US6862290B1 (en) | Line switching system and line switching unit of dynamic band variation unit | |
JP2573692B2 (en) | Task processing control method | |
JP3638129B2 (en) | Additional service provision method | |
JPS5888993A (en) | Information transmission system in composite communication network | |
JPH0325978B2 (en) | ||
WO2006130952A1 (en) | Method and apparatus for dynamically establishing links between communication channels | |
JPH01213048A (en) | System for housing synchronous continuous communication in slot ring communication system | |
JPS6148267A (en) | Common system for instant/reserved connection line | |
JPS61105938A (en) | Synchronous/asynchronous clock switching system | |
JPS6156543A (en) | Picture communication system |