JPH0431422B2 - - Google Patents

Info

Publication number
JPH0431422B2
JPH0431422B2 JP61056601A JP5660186A JPH0431422B2 JP H0431422 B2 JPH0431422 B2 JP H0431422B2 JP 61056601 A JP61056601 A JP 61056601A JP 5660186 A JP5660186 A JP 5660186A JP H0431422 B2 JPH0431422 B2 JP H0431422B2
Authority
JP
Japan
Prior art keywords
buffer
release
reservation
request
request source
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
Application number
JP61056601A
Other languages
Japanese (ja)
Other versions
JPS62216060A (en
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 filed Critical
Priority to JP61056601A priority Critical patent/JPS62216060A/en
Publication of JPS62216060A publication Critical patent/JPS62216060A/en
Publication of JPH0431422B2 publication Critical patent/JPH0431422B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 〔概要〕 この発明は、バツフアプール中にある各バツフ
アを確保した要求元情報および解放した解放元情
報を当該各バツフアに格納することにより、バツ
フアを最後に確保したモジユールアドレおよび解
放したモジユールアドレスを知り得るようにし
て、バツフアに関連する障害を迅速に解決するも
のである。
[Detailed Description of the Invention] [Summary] This invention stores the request source information that secured each buffer in the buffer pool and the release source information that released the buffer in each buffer pool, thereby storing the module address and the module address that last secured the buffer. By making it possible to know the released module address, problems related to buffers can be quickly resolved.

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

本発明は、バツフアプールをもつ通信制御シス
テムのバツフア管理方式に関する。
The present invention relates to a buffer management method for a communication control system having a buffer pool.

〔従来の技術〕[Conventional technology]

従来、通信制御処理装置(CCP)では、記憶
装置中でプログラムおよびテーブルが占有する領
域を除いた領域をバツフアプールとして確保し、
複数個のバツフアに分割して使用可能にしてい
る。この装置で通信制御処理を行う場合、必要と
なつた時点で当該分割したバツフアを確保し、不
必要となつた時点で解放することにより、限られ
た記憶容量で効率的にバツフアを使用できるよう
にしている。
Conventionally, in a communication control processing unit (CCP), an area of the storage device excluding areas occupied by programs and tables is reserved as a buffer pool.
It can be used by dividing it into multiple buffers. When performing communication control processing with this device, by securing the divided buffers when they are needed and releasing them when they are no longer needed, the buffers can be used efficiently with limited storage capacity. I have to.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところで、バツフアプールにある複数のバツフ
アを複数のプログラムが確保/解放を繰り返し実
行する場合、何等かの原因によつてバツフアが宙
に浮いてしまつたり、あるいは他のプログラムの
障害によつて確保していたバツフアが解放されて
しまつたりするなどの障害が発生することがあ
る。
By the way, when multiple programs repeatedly secure/release multiple buffers in a buffer pool, buffers may become floating in the air for some reason, or may be secured due to a failure in another program. Failures may occur, such as buffers that were previously being used being released.

このような障害を解決するためには、いずれの
プログラムによつて障害が発生したのかを順次調
査する必要があり、従来は、このために多大の時
間を要するという問題があつた。
In order to solve such a problem, it is necessary to sequentially investigate which program caused the problem, and conventionally there has been a problem in that it takes a lot of time to do this.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、前記問題点を解決するために、バツ
フアプール中にある各バツフアについて、それら
を確保した要求元情報および解放した解放元情報
を当該各バツフアに格納するようにしている。
In order to solve the above-mentioned problem, the present invention stores, for each buffer in the buffer pool, the requester information that secured the buffer and the release source information that released the buffer.

図に示す本発明の1実施例構成を用いて問題点
を解決するための手段を説明する。
Means for solving the problems will be explained using the configuration of one embodiment of the present invention shown in the figure.

図において、バツフアプール1は、分割された
バツフア(1)1−1ないしバツフア(n)1−nに
よつて構成されている。このバツフアプール1中
のバツフア(i)1−iは、通信制御する際に必要と
なつた時点で割り当てられ(確保され)、不必要
となつた時点で解放される。
In the figure, buffer pool 1 is composed of divided buffers (1) 1-1 to buffers (n) 1-n. Buffer (i) 1-i in this buffer pool 1 is allocated (secured) when it becomes necessary for communication control, and is released when it becomes unnecessary.

要求元アドレス格納域(確保)2−1および要
求元アドレス格納域(解放)2−2は、バツフア
(1)1−1ないしバツフア(n)1−n中に確保要
求をした確保要求元情報および解放要求をした解
放要求元情報を夫々格納する領域である。
The request source address storage area (reserved) 2-1 and the request source address storage area (released) 2-2 are buffer
(1) 1-1 to Buffer (n) This is an area for storing the reservation request source information that made the reservation request and the release request source information that made the release request during 1-n, respectively.

バツフア管理モジユール3−1は、分割された
バツフア(1)1−1ないしバツフア(n)1−nの
確保/解放、および要求元アドレス格納域(確
保)2−1および要求元アドレス格納域(解放)
2−2に対して、確保/解放要求のあつたモジユ
ールアドレスを夫々格納するなどの管理を行うも
のである。
The buffer management module 3-1 secures/releases the divided buffer (1) 1-1 to buffer (n) 1-n, and the request source address storage area (secured) 2-1 and the request source address storage area ( release)
2-2, it performs management such as storing each module address for which a reservation/release request has been made.

〔作用〕[Effect]

図を用いて説明した構成を採用し、バツフア管
理モジユール3−1に対してバツフアの確保要求
があつた場合、バツフア管理モジユール3−1
は、空き状態のバツフア(i)1−iを割り当てる
(確保)と共に、バツフア(i)1−iの要求元アド
レス格納域(確保)2−1に、その確保要求のあ
つたモジユールアドレスを格納しておく。次い
で、所定の通信制御処理が終了し、このバツフア
(i)1−iに対して解放要求を受け取つたバツフア
管理モジユール3−1は、バツフア(i)1−iを解
放すると共に当該バツフア(i)1−iの要求元アド
レス格納域(解放)2−2中に解放要求のあつた
モジユールアドレスを格納しておく。
When the configuration explained using the diagram is adopted and a request to secure a buffer is made to the buffer management module 3-1, the buffer management module 3-1
allocates (reserves) the vacant buffer (i) 1-i, and also assigns the requested module address to the request source address storage area (reserves) 2-1 of buffer (i) 1-i. Store it. Next, the predetermined communication control process is completed and this buffer is
(i) Upon receiving the release request for 1-i, the buffer management module 3-1 releases the buffer (i) 1-i and also releases the request source address storage area (release) of the buffer (i) 1-i. The module address for which the release request was made is stored in 2-2.

以上のように、バツフア(i)1−iの確保時およ
び解放時に夫々要求元のモジユールアドレスを、
そのバツフア(i)1−i内の要求元アドレス格納域
2−1、2−2中に格納しておくことにより、何
等かの原因によつてバツフア(1)1−1ないしバツ
フア(n)1−nに関する障害が発生した場合
に、迅速に障害原因を追求することが可能とな
る。
As mentioned above, when securing and releasing buffer (i)1-i, the module address of the request source is
By storing the request source address in the buffer (i) 1-i storage areas 2-1 and 2-2, if the buffer (1) 1-1 or buffer (n) is When a failure regarding 1-n occurs, it becomes possible to quickly investigate the cause of the failure.

〔実施例〕〔Example〕

次に、図を用いて本発明の1実施例構成および
動作を説明する。
Next, the configuration and operation of one embodiment of the present invention will be explained using the drawings.

図において、バツフアプール1、既述したよう
に、通信制御処理を行う場合に必要なバツフア(1)
1−1ないしバツフア(n)1−nから構成さ
れ、記憶装置中のプログラムおよびデーブルが占
有する領域を除いた領域である。このバツフア(1)
1−1ないしバツフア(n)1−nには、図示の
ようにバツフア相互をチエイン状に結ぶためのチ
エイン、確保要求のあつた要求元アドレス(確
保)2−1、解放要求のあつた要求元アドレス
(解放)2−2、データの格納域を示すオフセツ
ト(アドレス)、およびデータの格納バイト数を
示すカウントなどの各格納域が設けられている。
In the figure, buffer pool 1 is a buffer pool (1) required for communication control processing, as described above.
1-1 to buffer (n) 1-n, and is an area excluding the area occupied by programs and tables in the storage device. This battle(1)
1-1 to buffer (n) 1-n includes a chain for connecting the buffers in a chain as shown in the figure, a request source address (reservation) 2-1 for which a reservation request has been made, and a request for which a release request has been made. Each storage area is provided, such as an original address (release) 2-2, an offset (address) indicating a data storage area, and a count indicating the number of data storage bytes.

要求元アドレス格納域(確保)2−1および要
求元アドレス格納域(解放)2−2は、当該バツ
フア(i)1−iに対して確保要求および解放要求が
あつた場合、夫々これらの要求元のモジユールア
ドレスなどを格納する領域である。
The request source address storage area (reserved) 2-1 and the request source address storage area (release) 2-2 handle these requests, respectively, when a reservation request and a release request are made for the buffer (i) 1-i. This area stores the original module address, etc.

バツフア管理モジユール3−1は、バツフア(1)
1−1ないしバツフア(n)1−nの確保/解放
を行つたり、および要求元アドレス格納域2−
1,2−2中に要求元のモジユールアドレスを書
き込んだりするものである。
The buffer management module 3-1 is the buffer (1)
1-1 or buffer (n) 1-n, and request source address storage area 2-
The module address of the request source is written in 1 and 2-2.

チヤネル3−2は、ホスト4と通信制御処理装
置3との間の通信制御を行うものである。
The channel 3-2 controls communication between the host 4 and the communication control processing device 3.

回線制御部3−3は、端末装置5−1ないし5
−nと通信制御処理装置3との間の通信制御を行
うものである。
The line control unit 3-3 includes terminal devices 5-1 to 5.
-n and the communication control processing device 3.

BCS3−4およびHDLC3−5は、夫々回線
制御部3−3が端末装置5−1ないし5−nに対
して通信する場合の通信手順を実行して通信回線
を確立したり、通信を行うためのものである。
The BCS 3-4 and the HDLC 3-5 execute communication procedures when the line control unit 3-3 communicates with the terminal devices 5-1 to 5-n, respectively, to establish a communication line and perform communication. belongs to.

次に、動作を詳細に説明する。 Next, the operation will be explained in detail.

チヤネル3−2とホスト4との間、あるいは回
線制御部3−3と端末装置5−1ないし5−nと
の間で通信を行うために、バツフア管理モジユー
ル3−1に対してバツフア(i)1−iの確立要求が
あつた場合、バツフア管理モジユール3−1は、
未使用のバツフア(i)1−iを割り当てると共に、
その確保要求のあつたモジユールアドレスをバツ
フア(i)1−i内の要求元アドレス格納域(確保)
2−1中に格納する。そして、バツフアの確立要
求を発したモジユールは、バツフア(i)1−i中に
オフセツト格納域にデータを格納する先頭アドレ
ス、およびカウント格納域にデータを格納するバ
イト数を格納するなどして、所定の通信制御処理
を実行する。次いで、通信制御処理が終了し、バ
ツフア管理モジユール3−1に対してバツフア(i)
1−iの解放要求があつた場合、バツフア管理モ
ジユール3−1は、バツフア(i)1−iの解放を行
うと共に、当該解放要求のあつたモジユールアド
レスをバツフア(i)1−i内の要求元アドレス格納
域(解放)2−2中に格納する。
In order to communicate between the channel 3-2 and the host 4 or between the line control unit 3-3 and the terminal devices 5-1 to 5-n, the buffer management module 3-1 is )1-i, the buffer management module 3-1:
As well as allocating unused buffer (i)1-i,
The requested module address is stored in the request source address storage area (secured) in buffer (i) 1-i.
Store in 2-1. Then, the module that issued the buffer establishment request stores the start address for storing data in the offset storage area and the number of bytes for storing data in the count storage area in the buffer (i)1-i. Executes predetermined communication control processing. Next, the communication control process is completed, and the buffer (i) is sent to the buffer management module 3-1.
When there is a request to release buffer (i) 1-i, the buffer management module 3-1 releases buffer (i) 1-i and stores the module address for which the release request was made within buffer (i) 1-i. The request source address is stored in the request source address storage area (released) 2-2.

以上のようにして、バツフア(i)1−iに対して
確保要求があるたびに、確保要求を発したモジユ
ールアドレスを当該バツフア(i)1−i内の要求元
アドレス格納域(確保)2−1中に格納すると共
に、また所定の通信制御処理を終了した後、バツ
フア(i)1−iの解放要求があるたびに、解放要求
を発したモジユールアドレスを当該バツフア(i)1
−i内の要求元アドレス格納域(解放)2−2中
に格納する。
As described above, each time a reservation request is made to buffer (i) 1-i, the module address that issued the reservation request is transferred to the request source address storage area (reserved) in buffer (i) 1-i. 2-1, and after completing the predetermined communication control processing, each time there is a release request for buffer (i) 1-i, the module address that issued the release request is stored in buffer (i) 1.
Store in the request source address storage area (released) 2-2 in -i.

これにより、バツフア(1)1−1ないしバツフア
(n)1−nを最後に確保したモジユールアドレ
スおよび解放したモジユールアドレスを知ること
が直ちに可能となる。
This makes it possible to immediately know the module address that last secured and released the buffer (1) 1-1 to buffer (n) 1-n.

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

以上説明したように、本発明によれば、バツフ
アプール中にある各バツフアを解放した要求元情
報および解放した解放元情報を、当該各バツフア
に格納するようにしているため、バツフアを最後
に確保したモジユールアドレスおよび解放したモ
ジユールアドレスを容易に知ることができる。こ
れにより、バツフアに関する障害が発生した場合
に、障害を早期に解決することが可能となる。
As explained above, according to the present invention, the request source information that released each buffer in the buffer pool and the release source information that released the buffer are stored in each buffer. You can easily know the module address and the released module address. Thereby, when a buffer-related failure occurs, it becomes possible to resolve the failure early.

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

図は本発明の1実施例構成図を示す。図中、1
はバツフアプール、1−1ないし1−nはバツフ
ア、2−1は要求元アドレス格納域(確保)、2
−2は要求元アドレス格納域(解放)、3−1は
バツフア管理モジユールを表す。
The figure shows a configuration diagram of one embodiment of the present invention. In the figure, 1
is a buffer pool, 1-1 to 1-n are buffers, 2-1 is a request source address storage area (reserved), 2
-2 represents a request source address storage area (released), and 3-1 represents a buffer management module.

Claims (1)

【特許請求の範囲】 1 通信要求に応じてバツフアプールからバツフ
アを確保し、通信終了により確保したバツフアを
解放する通信制御システムにおいて、 バツフアプール1中に設けた複数のバツフア1
−iと、 このバツフア1−i中に夫々配置した当該バツ
フア1−iの確保要求をした確保要求元情報およ
び当該バツフア1−iの解放要求をした解放要求
元情報を夫々格納する確保/解放要求元情報格納
域2と、 バツフア1−iに対する確保要求および解放要
求に基づいて、当該バツフア1−iの確保および
解放を行うバツフア管理モジユール3−1とを備
え、 上記バツフア管理モジユール3−1は、バツフ
ア1−iに対する確保要求に基づき、バツフアプ
ール1中から所定のバツフア1−iを確保し、か
つこの確保したバツフア1−iに設けた確保/解
放要求元情報格納域2中に確保要求元情報を書き
込むと共に、バツフア1−iに対する解放要求に
基づき、バツフア管理モジユール3−1が該当す
るバツフア1−iを解放し、かつこの解放したバ
ツフア1−iに設けた確保/解放要求元情報格納
域2中に解放要求元情報を書き込むよう制御を行
うことを特徴とするバツフア管理方式。
[Scope of Claims] 1. A communication control system that secures buffers from a buffer pool in response to a communication request and releases the secured buffers upon termination of communication, including a plurality of buffers 1 provided in a buffer pool 1.
-i, and the reservation/release that stores the reservation request source information that requested the reservation of the buffer 1-i and the release request source information that requested the release of the buffer 1-i, respectively placed in this buffer 1-i. The buffer management module 3-1 includes a request source information storage area 2, and a buffer management module 3-1 that secures and releases the buffer 1-i based on reservation requests and release requests for the buffer 1-i. Based on the reservation request for buffer 1-i, the specified buffer 1-i is secured from buffer pool 1, and the reservation request is placed in the reservation/release request source information storage area 2 provided in the secured buffer 1-i. At the same time as writing the source information, the buffer management module 3-1 releases the corresponding buffer 1-i based on the release request for the buffer 1-i, and writes the reservation/release request source information provided in the released buffer 1-i. A buffer management method characterized by controlling to write release request source information into storage area 2.
JP61056601A 1986-03-14 1986-03-14 Buffer control system Granted JPS62216060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61056601A JPS62216060A (en) 1986-03-14 1986-03-14 Buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61056601A JPS62216060A (en) 1986-03-14 1986-03-14 Buffer control system

Publications (2)

Publication Number Publication Date
JPS62216060A JPS62216060A (en) 1987-09-22
JPH0431422B2 true JPH0431422B2 (en) 1992-05-26

Family

ID=13031735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61056601A Granted JPS62216060A (en) 1986-03-14 1986-03-14 Buffer control system

Country Status (1)

Country Link
JP (1) JPS62216060A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0740281B2 (en) * 1987-10-31 1995-05-01 シャープ株式会社 Sales management device

Also Published As

Publication number Publication date
JPS62216060A (en) 1987-09-22

Similar Documents

Publication Publication Date Title
JPH0431422B2 (en)
US6289403B1 (en) Method and arrangement for controlling a data transmission
KR100294314B1 (en) Data processing system and method and communication system with such system
JPS63234316A (en) Exclusive control system for table storage
JPS6016661B2 (en) Main memory allocation method
JP2535584B2 (en) Real memory fixed processing computer
JP3273191B2 (en) Data transfer device
US4809218A (en) Apparatus and method for increased system bus utilization in a data processing system
JPS60253083A (en) Storage device controlling system
JP2826780B2 (en) Data transfer method
JPS58182737A (en) Information processor
JPS61206064A (en) Common input output device for controlling multi-computer system
JPH1040194A (en) Communication controller and receiving buffer control system
JPH0390949A (en) File transfer system
JPS60136853A (en) Data transfer system
JPH03245234A (en) Memory area allocating method
JPH05143497A (en) Method and device for buffer management
JPS6383854A (en) Data transfer circuit
JPH0443443A (en) Extension storage control system
JPS62247430A (en) Selecting system for transaction processing task
JPH05334012A (en) Large capacity disk controller
JPH0426744B2 (en)
JPS6337450A (en) Card identification number allocation system
JPS63285651A (en) Temporary memory management system
JPS63223940A (en) Port designating system for memory access interface

Legal Events

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