JPS62216060A - Buffer control system - Google Patents

Buffer control system

Info

Publication number
JPS62216060A
JPS62216060A JP61056601A JP5660186A JPS62216060A JP S62216060 A JPS62216060 A JP S62216060A JP 61056601 A JP61056601 A JP 61056601A JP 5660186 A JP5660186 A JP 5660186A JP S62216060 A JPS62216060 A JP S62216060A
Authority
JP
Japan
Prior art keywords
buffer
module
address
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.)
Granted
Application number
JP61056601A
Other languages
Japanese (ja)
Other versions
JPH0431422B2 (en
Inventor
Susumu Matsumoto
進 松本
Yoichi Hori
洋一 堀
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 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

Abstract

PURPOSE:To quickly eliminate faults related to a buffer by recording previously the module address that secured last the buffer and and the module address that released the buffer. CONSTITUTION:A buffer control module 3-1 of a communication control processor 3 allocates an idle buffer 1-1 to the module 3-1 when a buffer securing request is received and at the same time stores the address of the module that delivered the securing request in a requester address store area 2-1 of the buffer 1-1. When prescribed communication control processing is ended, the module 3-1 that received a release request to the buffer 1-1 releases this buffer 1-1 and at the same time stores the address of the module received the release request in a requester address storage area 2-2 of the buffer 1-1. In such a way, it is possible to detect quickly the factors of the faults related to buffers 1-1-1-n.

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 it in each buffer, thereby ensuring that the buffer is secured at the end. By making the module address and the released module address known, buffer-related failures 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]

従来3通信制御処理装置(CCP)では、記憶装置中で
プログラムおよびテーブルが占有する領域を除いた領域
をバッファプールとして確保し。
In conventional communication control processing units (CCPs), an area in a storage device excluding areas occupied by programs and tables is reserved as a buffer pool.

複数個のバッファに分割して使用可能にしている。It is made available 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]

ところで、バッファプールにある複数のバッファを複数
のプログラムが確保/解放を繰り返し実行する場合5何
等かの原因によってバッファが宙に浮いてしまったり、
あるいは他のプログラムの障害によって確保していたバ
ッファが解放されてしまったりするなどの障害が発生す
ることがある。
By the way, if multiple programs repeatedly allocate and release multiple buffers in the buffer pool, the buffers may become suspended for some reason.
Alternatively, a failure may occur, such as a reserved buffer being released due to a failure in another program.

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

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

本発明は、前記問題点を解決するために、バッファプー
ル中にある各バッファについて、それらを確保した要求
元情報および解放した解放元情報を当該各バッファに格
納するようにしている。
In order to solve the above-mentioned problem, the present invention stores, for each buffer in the buffer pool, request source information that secured the buffer and 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分割されたバッファ
l) 1−1ないしバッファ(n)1−nによって構成
されている。このバッファプール1中のバッファ(i)
l−iは1通信制御する際に必要となった時点で割り当
てられ(確保され)、不必要となった時点で解放される
In the figure, a buffer pool 1 is composed of buffers l) 1-1 to buffers (n) 1-n divided into one. Buffer (i) in this buffer pool 1
l-i is allocated (secured) when it becomes necessary to control one communication, and is released when it becomes unnecessary.

要求元アドレス格納域(確保)2−1および要求元アド
レス格納域(解放)2−2は、バッファ(1)l−1な
いしバッファ(n)l−n中に確保要求をした確保要求
元情報および解放要求をした解放要求元情報を夫々格納
する領域である。
The request source address storage area (secured) 2-1 and the request source address storage area (released) 2-2 contain information about the reservation requester who requested reservation in buffer (1) l-1 to buffer (n) l-n. This area stores information about the release request source and the release request source that made the release request.

バッファ管理モジュール3−1は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, performs management such as storing the module addresses for which reservation/release requests have been made.

〔作用〕[Effect]

図を用いて説明した構成を採用し、バッファ管理モジュ
ール3−1に対してバッファの確保要求があった場合、
バッファ管理モジュール3−1は、空き状態のバッファ
(i)1−iを割り当てる(確保)と共に、バッファ(
i)1−i中の要求元アドレス格納域(確保)2−1に
、その確保要求のあったモジエールアドレスを格納して
おく。
When the configuration explained using the diagram is adopted and a buffer reservation request is made to the buffer management module 3-1,
The buffer management module 3-1 allocates (reserves) the empty buffer (i) 1-i, and also allocates (reserves) the buffer (i) 1-i.
i) The module address requested to be secured is stored in the request source address storage area (reserved) 2-1 in 1-i.

次いで、所定の通信制御処理が終了し、このバッファ(
i)1−iに対して解放要求を受は取ったバッフ1管理
モジュール3−1は、バッファ(i)1−iを解放する
と共に当該バッファ(i)1−iの要求元アドレス格納
域(解放)2−2中に解放要求のあったモジュールアド
レスを格納しておく。
Next, the predetermined communication control process ends and this buffer (
i) The buffer 1 management module 3-1 that has received the release request for 1-i releases the buffer (i) 1-i and also stores the request source address storage area (i) of the buffer (i) 1-i. Release) The module address for which the release request was made is stored in 2-2.

以上のように、バッファ(i)l−iの確保時および解
放時に夫々要求元のモジュールアドレスを。
As described above, when buffer (i) l-i is reserved and released, the module address of the request source is specified respectively.

そのバッファ(i)1−i内の要求元アドレス格納域2
−1.2−2中に格納しておくことにより。
Request source address storage area 2 in that buffer (i) 1-i
By storing it in -1.2-2.

何等かの原因によってバッファ(1)1−1ないしバッ
ファ(n)1−nに関する障害が発生した場合に、迅速
に障害原因を追求することが可能となる。
When a failure occurs in buffer (1) 1-1 to buffer (n) 1-n due to some cause, it becomes possible to quickly investigate the cause of the failure.

〔実施例〕〔Example〕

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

図において、バッファプール1は、既述したように2通
信制御処理を行う場合に必要なバッファ(1)1−1な
いしバッファ(n)1−nから構成される装置 有する領域を除いた領域である。このバッファ(1)1
−1ないしバッファ(n)1−nには.図示のようにバ
ッファ相互をチェイン状に結ぶためのチェイン.確保要
求のあった要求元アドレス(確保)2−1,解放要求の
あった要求元アドレス(解放)2−2.データの格納域
を示すオフセット(アドレス)、およびデータの格納バ
イト数を示すカウントなどの各格納域が設けられている
In the figure, buffer pool 1 is an area excluding the area containing the device, which is composed of buffers (1) 1-1 to buffers (n) 1-n, which are necessary when performing 2 communication control processing as described above. be. This buffer (1) 1
-1 to buffer (n) 1-n. As shown in the figure, a chain is used to connect buffers together in a chain. Request source address for which a reservation request was made (reserve) 2-1, request source address for which a release request was made (release) 2-2. Each storage area is provided, such as an offset (address) indicating the storage area of data, and a count indicating the number of bytes of data storage.

要求元アドレス格納域(確保)2−1および要求元アド
レス格納域(解放)2−2は,当該バッファ(+)1−
iに対して確保要求および解放要求があった場合.夫々
これらの要求元のモジュールアドレスなどを格納する領
域である。
The request source address storage area (reserved) 2-1 and the request source address storage area (released) 2-2 are the buffer (+) 1-2.
When a reservation request and a release request are made to i. This area stores the module address of each request source.

バッファ管理モジュール3−1は,バッファ(1)1−
1ないしバッファ(n)1−nの確保/解放を行ったり
.および要求元アドレス格納域2−1。
The buffer management module 3-1 manages the buffer (1) 1-
1 or buffer (n) 1-n is secured/released. and request source address storage area 2-1.

2−2中に要求元のモジュールアドレスを書き込んだり
するものである。
The module address of the request source is written in 2-2.

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

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

BSC3−4およびHDLC3−5は,夫々回線制御部
3−3が端末装置5−1ないし5−nに対して通信する
場合の通信手順を実行して通信回線を確立したり,通信
を行うためのものである。
The BSC 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は。
In order to communicate between the channel 3-2 and the host 4 or between the line controller 3-3 and the terminal devices 5-1 to 5-n, a buffer i) When there is an establishment request of 1-i, the buffer management module 3-1.

未使用のバッファ(i)1−iを割り当てると共に。Along with allocating unused buffers (i) 1-i.

その確保要求のあったモジュールアドレスをバッファ(
i)1−i内の要求元アドレス格納域(確保)2−1中
に格納する.そして、バッファの確立要求を発したモジ
ュールは.バッファ(i)1−i中のオフセット格納域
にデータを格納する先頭アドレス.およびカウント格納
域にデータを格納するバイト数を格納するなどして.所
定の通信制御処理を実行する.次いで,通信制御処理が
終了し。
The module address for which the reservation request was made is stored in the buffer (
i) Store in the request source address storage area (reserved) in 2-1 in 1-i. The module that issued the buffer establishment request is. Buffer (i) 1-Start address for storing data in the offset storage area in i. and store the number of bytes to store data in the count storage area. Execute predetermined communication control processing. Next, the communication control process ends.

バッファ管理モジェール3−1に対してバッファ(i)
l−iの解放要求があった場合.バファ管理モジュール
3−1は.バッファ(+)1−iの解放を行うと共に,
当該解放要求のあったモジュールアドレスをバッファ(
+)1−i内の要求元アドレス格納域(解放)2−2中
に格納する。
Buffer (i) for buffer management module 3-1
When there is a request to release l-i. The buffer management module 3-1 is. While releasing buffer (+)1-i,
The module address for which the release request was made is stored in the buffer (
+) Store in request source address storage area (release) 2-2 in 1-i.

以上のようにして,バッファ(i)1−iに対して確保
要求があるたびに,確保要求を発したモジュールアドレ
スを当1亥バソファ(i)1−i内の要求元アドレス格
納域(lI1保)2−1中に格納すると共に.また所定
の通信制御処理を終了した後。
As described above, each time there is a reservation request for buffer (i) 1-i, the module address that issued the reservation request is transferred to the request source address storage area (lI1) in buffer (i) 1-i. Maintenance) 2-1 and store it. Also, after completing a predetermined communication control process.

バッファ(+)1−iの解放要求があるたびに,解放要
求を発したモジュールアドレスを当該バッファ(+)1
−i内の要求元アドレス格納域(解放)2−2中に格納
する。
Every time there is a release request for buffer (+) 1-i, the module address that issued the release request is stored in the buffer (+) 1.
Store in the request source address storage area (released) 2-2 in -i.

これにより、バッファ(1)1−1ないしバッファ(n
)l−nを最後に確保したモジュールアドレスおよび解
放したモジュールアドレスを知ることが直ちに可能とな
る。
As a result, buffer (1) 1-1 to buffer (n
) l-n, it is immediately possible to know the last reserved module address and the released module address.

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

以上説明したように.本発明によれば,バッファプール
中にある各バッファを確保した要求元情報および解放し
た解放元情報を,当該各バッファに格納するようにして
いるため.バッファを最後に確保したモジュールアドレ
スおよび解放したモジュールアドレスを容易に知ること
ができる.これにより、バッファに関する障害が発生し
た場合に.障害を早期に解決することが可能となる。
As explained above. According to the present invention, the request source information that secured each buffer in the buffer pool and the release source information that released it are stored in each buffer. You can easily know the module address where the buffer was last allocated and the module address where it was released. This will help you if a buffer-related problem occurs. This makes it possible to resolve problems 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 the bathofa pool. 1-1 to 1-n are bath sofas, 2-1 is a request source address storage area (reserved), 2-2
is the request source address storage area (released). 3-1 represents a buffer management module.

Claims (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)中に解放
要求元情報を書き込むよう制御を行うことを特徴とする
バッファ管理方式。
[Claims] A communication control system that secures a buffer from a buffer pool in response to a communication request and releases the secured buffer upon completion of communication, comprising: a plurality of buffers (1-1) provided in a buffer pool (1);
i), the reservation request source information that requested the reservation of the buffer (1-i) placed in this buffer (1-i), and the release request source information that requested the release of the buffer (1-i), respectively. A buffer management module (3) that secures and releases the buffer (1-i) based on the reservation/release request source information storage area (2) and the reservation request and release request for the buffer (1-i). -1), and the buffer management module (3-1) comprises a buffer (
Based on the reservation request for 1-i), the buffer pool (
1) Secure a predetermined buffer (1-i) from among them, and write the reservation request source information into the reservation/release request source information storage area (2) provided in this secured buffer (1-i), Based on the release request for the buffer (1-i), the buffer management module (3-1) releases the corresponding buffer (
1-i) and this freed buffer (1-i
) A buffer management method characterized by controlling to write release request source information into a reservation/release request source information storage area (2) provided in ).
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 true JPS62216060A (en) 1987-09-22
JPH0431422B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01118958A (en) * 1987-10-31 1989-05-11 Sharp Corp Data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01118958A (en) * 1987-10-31 1989-05-11 Sharp Corp Data processor

Also Published As

Publication number Publication date
JPH0431422B2 (en) 1992-05-26

Similar Documents

Publication Publication Date Title
US6067636A (en) Real time stream server using disk device data restoration scheme
JPS5834857B2 (en) Priority determination mechanism in memory hierarchy
JPS5917654A (en) Assigning method of magnetic tape device
JPS62216060A (en) Buffer control system
US6289403B1 (en) Method and arrangement for controlling a data transmission
KR100294314B1 (en) Data processing system and method and communication system with such system
JP3273191B2 (en) Data transfer device
JPS6016661B2 (en) Main memory allocation method
JPS62179035A (en) Sharing multiplexing volume system
JPS6043756A (en) Memory control system
KR100827168B1 (en) Buffer management method
JPS63234316A (en) Exclusive control system for table storage
JPS60201453A (en) Memory access controlling system
JPS60253083A (en) Storage device controlling system
JPS6266347A (en) Buffer control system
JPS58182737A (en) Information processor
JPH0240743A (en) Buffer optimum allocation control system
JPH026094B2 (en)
CN115599549A (en) Multi-process-based exception handling method
JP2789654B2 (en) Buffer control method
JPH03164827A (en) System for divisional storage in secondary storage device
JPH05143497A (en) Method and device for buffer management
JPH0443443A (en) Extension storage control system
JPS6151256A (en) Receiving data transfer control system
JPH0322067A (en) Information processor

Legal Events

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