[go: up one dir, main page]

JPS596410B2 - Buffer area control processing method - Google Patents

Buffer area control processing method

Info

Publication number
JPS596410B2
JPS596410B2 JP52145915A JP14591577A JPS596410B2 JP S596410 B2 JPS596410 B2 JP S596410B2 JP 52145915 A JP52145915 A JP 52145915A JP 14591577 A JP14591577 A JP 14591577A JP S596410 B2 JPS596410 B2 JP S596410B2
Authority
JP
Japan
Prior art keywords
buffer area
buffer
area
linked
terminal
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
JP52145915A
Other languages
Japanese (ja)
Other versions
JPS5478631A (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 JP52145915A priority Critical patent/JPS596410B2/en
Publication of JPS5478631A publication Critical patent/JPS5478631A/en
Publication of JPS596410B2 publication Critical patent/JPS596410B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】 本発明は、バッファ領域制御処理方法、特に例えは端末
装置との交信などにおいて主記憶装置上り のバッファ
領域を交信データ格納部として利用するデータ処理シス
テムにおいて、リンクされたバッファ領域を貸出す貸出
し処理に当つて少なくとも1個のバッファ領域を残して
貸出しを行なうよう制御せしめ、バッファ領域の返却処
理におけるノ5処理態様を統一的に行ない得るようにし
たバッファ領域制御処理方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a buffer area control processing method, particularly in a data processing system that uses a buffer area upstream of a main memory as a communication data storage unit in communication with a terminal device, etc. A buffer area control processing method that performs control so that at least one buffer area is left in the lending process of lending a buffer area, and performs the 5 processing aspects in the buffer area return process in a unified manner. It is related to.

従来から例えは端末装置との間のデータ転送に当つては
、主記憶装置上にバッファ領域を用意しておき、該バッ
ファ領域を交信データの一時的な10格納部として利用
するようにしている。
Conventionally, for example, when transferring data to and from a terminal device, a buffer area is prepared on the main memory and the buffer area is used as a temporary storage area for communication data. .

即ち、中央処理装置側から端末装置にデータを送信する
場合、上記バッファ領域を複数個分借用し、該複数個の
バッファ領域相互間にリンクをつけて上記送信データを
格納する。そしてチャネル装置は該バf5ツフア領域か
ら送信データを読出して端末装置に伝送する。これによ
つて先に借用された複数個のバッファ領域は返却される
。端末装置側からのデ、3−ータを受信する場合も上記
の逆であり、バツフア領域に格納されている受信データ
を中央処理装置が読取ることによつて、当該バツフア領
域は返却される。
That is, when transmitting data from the central processing unit side to a terminal device, a plurality of the buffer areas are borrowed, links are provided between the plurality of buffer areas, and the transmission data is stored. The channel device then reads the transmission data from the buffer area and transmits it to the terminal device. As a result, the previously borrowed buffer areas are returned. The case of receiving data from the terminal device side is also the reverse of the above, and when the central processing unit reads the received data stored in the buffer area, the buffer area is returned.

このようなバツフア領域の管理に当つては、般にキユ一
・ターミナルと呼ばれる領域が主記憶装置上に用意され
ており、該キユ一・ターミナルに対して上記空き状態に
あるバツフア領域のアドレス惰報をリンクするようにさ
れ、バツフア領域が貸出されると当該バツフア領域のア
ドレス情報を上記リンクから切出すようにし、バツフア
領域を管理するようにされる。
In managing such buffer areas, an area generally called a queue/terminal is prepared on the main memory, and the address address of the vacant buffer area is assigned to the queue/terminal. When the buffer area is rented out, the address information of the buffer area is extracted from the link and the buffer area is managed.

この場合、従来第1図を参照して後述するように、1つ
のキユーーターミナルにリンクされている複数個のバツ
フア領域のすべてを貸出しするようにされていた。この
ため当該キユ一・ターミナルに対してバツフア領域を返
却した場合の処理が、(1)該キ立一・ターミナルにリ
ンクされて残つているバツフア領域が全くない場合と、
(1;)幾つか残つている場合とで2通りに分かれ、統
一的な処理を行ない得ない難点があつた。本発明は上記
の点を解決することを目的としており、本発明のバツフ
ア領域制御処理方法は複数個のバツフア領域およびキユ
一・ターミナルをそなえ、上記バツフア領域をリンクし
て使用するに当つて上記キユ一・ターミナルのリンク先
頭バツフア領域アドレス格納域に上記リンクされている
先頭バツフア領域のアドレス情報を格納すると共に上記
リンクされている各バツフア領域のアドレス情報を順次
書込んでチェーンをつくりかつ上記キユ一・ターミナル
のリンク最終バツフア領域アドレス格納域に上記リンク
されている最終バツフア領域のアドレス情報を格納し、
上記バツフア領域の貸出しと返却とを管理するバツフア
領域制御機能を有するデータ処理システムにおいて、上
記キユ一・ターミナノレは、自己lこリンクされている
バツフア領域の個数情報を保持し、上記貸出し処理に当
つてバツフア領域貸出し要求個数と上記キユ一・ターミ
ナル上の上記個数情報とが比較されるよう構成され、上
記バツフア領域の貸出し処理に当つて、上記キユ一・タ
ーミナルにリンクされているバツフア領域の個数が少な
くとも1個残る範囲内において上記貸出しを許容すると
共に、当該範囲を超える貸出し要求を拒否するようにし
たことを特徴としている。
In this case, as will be described later with reference to FIG. 1, conventionally all of the buffer areas linked to one queue terminal are rented out. For this reason, the processing when the buffer area is returned to the relevant queue/terminal is as follows: (1) There is no remaining buffer area linked to the relevant queue/terminal;
(1;) There were two cases, depending on whether some remained, and it was difficult to perform unified processing. The present invention aims to solve the above-mentioned problems, and the buffer area control processing method of the present invention includes a plurality of buffer areas and queue terminals, and when the buffer areas are linked and used, The address information of the linked first buffer area is stored in the linked first buffer area address storage area of the queue terminal, and the address information of each linked buffer area is sequentially written to create a chain and the above buffer area is stored. 1. Store the address information of the linked final buffer area in the linked final buffer area address storage area of the terminal;
In the data processing system having a buffer area control function for managing the lending and return of buffer areas, the queue terminal/terminal manager maintains information on the number of buffer areas that are linked to each other, and performs the lending process. The requested number of buffer areas to be rented is compared with the number information on the queue terminal, and in the buffer area lending process, the number of buffer areas linked to the queue terminal is compared. The above lending is permitted within a range in which at least one remains, and lending requests exceeding the range are rejected.

以下図面を参照しつつ説明する。第1図AないしEは従
来の処理方法における問題点を説明する説明図、第2A
,Bは上記問題点を解決した本発明の一実施例処理方法
を説明する説明図、第3図は従来の方法の場合の処理態
様を表わすフローチヤート、第4図は本発明の方法の場
合の処理態様を表わすフローチヤート、第5図は本発明
の方法が実行される一実施例構成を示す。
This will be explained below with reference to the drawings. Figures 1A to 1E are explanatory diagrams illustrating problems in conventional processing methods;
, B is an explanatory diagram illustrating a processing method according to an embodiment of the present invention that solves the above-mentioned problems, FIG. 3 is a flowchart showing a processing mode in the case of the conventional method, and FIG. 4 is a diagram showing the processing mode in the case of the method of the present invention. FIG. 5 is a flowchart showing the processing mode of FIG. 5, which shows an example configuration in which the method of the present invention is executed.

従来例えばバツフア領域Ql,Q2,・・・,Qmが存
在しており、キユ一・ターミナル上に空き状態にあるバ
ツフア領域をリンクして登録せしめておき、貸出し返却
に対応して管理を行なう場合、第1図図示の如く行なわ
れている。
Conventionally, for example, when there are buffer areas Ql, Q2, ..., Qm, and the vacant buffer areas are linked and registered on the queue terminal, and management is performed in response to rentals and returns. , is carried out as shown in FIG.

なお第1図において、1はキユ一・ターミナル、2−1
ないし2−mは夫々バツフア領域、3はリンク個数情報
格納域であつて現に当該キユ一・ターミナル1にリンク
されているバツフア領域の個数を指示するもの、4はリ
ンク先頭バツフア領域アドレス格納域であつて第1図A
図示の例の場合バツフア領域2−1のアドレス情報BA
Dlが格納されるもの、5はネギスト・キユ一・ターミ
ナル・アドレス格納域であつてキユ一・ターミナル1に
連続する次のキユ一・ターミナルのアドレス情報が格納
されるもの、6はリンク最終バツフア領域アドレス格納
域であつて第1図A図示の例の場合バツフア領域2−m
のアドレス情報BADmが格納されるものを表わしてい
る。(1)今1つのキユ一・ターミナル1にリンクされ
ている空きバツフア領域が領域2−1,2−3,2−4
,2−6,2−mであるとするとき、第1図A図示の如
く、キユ一・ターミナル1の格納域3には個数「5」が
セツトされ、格納域4にはアドレス情報BADlがセツ
トされ、更に格納域6にはアドレス情報BADmがセツ
トされている。
In Figure 1, 1 is the terminal, 2-1
2-m to 2-m are respectively buffer areas, 3 is a link number information storage area which indicates the number of buffer areas currently linked to the relevant queue/terminal 1, and 4 is a link start buffer area address storage area. Figure 1 A
In the illustrated example, address information BA of buffer area 2-1
5 is the negist queue terminal address storage area where the address information of the next queue terminal following queue terminal 1 is stored, and 6 is the link final buffer. This is the area address storage area, and in the case of the example shown in FIG. 1A, the buffer area 2-m
The address information BADm is stored. (1) The free buffer areas currently linked to one queue/terminal 1 are areas 2-1, 2-3, 2-4.
, 2-6, 2-m, as shown in FIG. Further, address information BADm is set in the storage area 6.

なお、第1図において丸枠内に記入しているBAD3な
どはリンクされている次のバツフア領域のアドレス情報
を示している。(2)この状態で、キユ一・ターミナル
1に対して3個分のバツフア領域の借用力坤込まれると
、第1図A図示の状態からバツフア領域2−1,2−3
,2−4を貸出しを行ない、第1図Bの如くキユ一・タ
ーミナル1に対する書替えが行なわれる。即ち、キユ一
・ターミナル1の格納域3の内容を「2」とし、格納域
4の内容をBAD6にする。即ち格納域3と4との内容
を変更する。(3)第1図B図示の状態で、2つのバツ
フア領域2−2と2−1とが返却されると、第1図B図
示におけるリンク最終のバツフア領域2−mを抽出して
、該領域2−mにつづけてバツフア領域2−2と2−1
とをリンクすると共に、第1図C図示の如くキユ一・タ
ーミナル1の格納域3に「4」を書込みかつ格納域6に
アドレス情報BADlを書込む。
In addition, in FIG. 1, BAD3 etc. written in a circle frame indicate the address information of the next linked buffer area. (2) In this state, if three buffer areas are borrowed for the queue terminal 1, the buffer areas 2-1, 2-3 will change from the state shown in Figure 1A.
, 2-4 are lent, and the rewriting of the queue 1/terminal 1 is performed as shown in FIG. 1B. That is, the content of the storage area 3 of the terminal 1 is set to "2", and the content of the storage area 4 is set to BAD6. That is, the contents of storage areas 3 and 4 are changed. (3) When the two buffer areas 2-2 and 2-1 are returned in the state shown in FIG. 1B, extract the buffer area 2-m at the end of the link in the state shown in FIG. Following area 2-m, buffer areas 2-2 and 2-1
At the same time, as shown in FIG.

即ち格納域3と6との内容を変更する。(4)第1図C
図示の状態で、4個分のバツフア領域の貸出しが行なわ
れると、バツフア領域2−6,2−M,2−2,2−1
の貸出しを行なう。
That is, the contents of storage areas 3 and 6 are changed. (4) Figure 1C
In the illustrated state, when four buffer areas are lent, buffer areas 2-6, 2-M, 2-2, 2-1
We will rent out.

このとき、キユ一・ターミナル1においてはリンクされ
るものがなくなつており、第1図D図示の如く、格納域
3の内容を「O」とするのみで一般には格納域4や6の
内容をクリアすることはない。(5)第1図D図示の状
態で、次に例えば2個のバツフア領域2−3と2−mと
が返却されると、第1図E図示の如く、キユ一・ターミ
ナル1の格納域3の内容を「2」に、格納域4の内容を
BAD3に、格納域6の内容をBADmに変更する。
At this time, there is no longer anything to be linked in terminal 1, and as shown in Figure 1D, the contents of storage area 3 are only set to "O," and the contents of storage areas 4 and 6 are generally will never be cleared. (5) In the state shown in FIG. 1D, when the two buffer areas 2-3 and 2-m are returned, the storage area of the terminal 1 will be returned as shown in FIG. 1E. The content of storage area 3 is changed to "2", the content of storage area 4 is changed to BAD3, and the content of storage area 6 is changed to BADm.

即ち格納域3,4,6の内容を変更する。従来上記の如
き処理を行なつており、次の問題がある。即ち、第1図
B図示の如く少なくとも1つのバツフア領域がリンク上
に残つている状態のもとで第1図C図示の如く幾つかの
バツフア領域が返却されるとき、格納域3と6との内容
を変更する。これに対し、第1図D図示の如くリンクさ
れているバツフア領域が残つていない状態のもとで第1
図E図示の如く返却されるとき、格納域3,4,6の内
容を変更する必要がある。また前者の場合、第1図B図
示の状態のもとでの最終のバツフア領域2−mを抽出し
て第1図C図示の如くバツフア領域2−2を継ぎ足す必
要があるのに、後者の場合その必要がない。このため、
上述のバツフア領域返却処理に当つて、現にキユ一・タ
ーミナル1にリンクされているバツフア領域が存在する
か否かを調べその結果により2様の処理を行なうことが
必要となる。
That is, the contents of storage areas 3, 4, and 6 are changed. Conventionally, the above-mentioned processing has been performed, but there are the following problems. That is, when some buffer areas are returned as shown in FIG. 1C while at least one buffer area remains on the link as shown in FIG. Change the contents of On the other hand, in a state where no linked buffer area remains as shown in Figure 1D, the first
When returned as shown in Figure E, the contents of storage areas 3, 4, and 6 need to be changed. In the former case, it is necessary to extract the final buffer area 2-m under the state shown in FIG. 1B and add the buffer area 2-2 as shown in FIG. In this case, there is no need to do so. For this reason,
In the buffer area return processing described above, it is necessary to check whether or not there is a buffer area that is actually linked to the queue terminal 1, and to perform two types of processing depending on the result.

即ち、第3図に示すフローチヤートの如く処理Xを実行
し、次に処理YかZかのいずれかを実行することが必要
となる。これは、第1図D図示の如く、キユ一・ターミ
ナル1にリンクされていたバツフア領域のすべを貸出し
たことに起因している。そして、キユ一・ターミナル1
の個数が大になるにつれて上記2様の処理を行なうこと
がきわめて繁雑となる。本発明は、上記の点を解決して
おり、上述の如きバツフア領域の貸出しに当つて、少な
くとも1つのバツフア領域がリンク上に残るようにし、
上述の処理を統一的に行ない得るようにしている。
That is, it is necessary to execute process X as shown in the flowchart shown in FIG. 3, and then execute either process Y or Z. This is due to the fact that the entire buffer area linked to the queue terminal 1 has been rented out, as shown in FIG. 1D. And Kiyuichi Terminal 1
As the number of objects increases, it becomes extremely complicated to carry out the above two types of processing. The present invention solves the above-mentioned problems, and when lending buffer areas as described above, at least one buffer area remains on the link,
This allows the above-mentioned processing to be performed in a unified manner.

換言すると、第1図C図示の状態のもとで、4個分の貸
出し安求があつた場合、これを拒否し、3個以内の貸出
し要求があつた場合にのみ貸出しを行なうようにする。
第2図は、第1図Cの状態から3個以内の貸出しを行な
つた場合以降の処理を説明している。
In other words, under the situation shown in Figure 1C, if there is a request to lend four items, the request will be rejected, and the loan will only be made if there is a request to lend three or less items. .
FIG. 2 explains the process after lending out three or less items from the state shown in FIG. 1C.

即ち、6)第1図Cの状態のもとで、3個分の貸出しを
行なつたとすると、第2図A図示の如く格納域3と4と
を変更すれば足りる。
That is, 6) If three items are lent under the condition shown in FIG. 1C, it is sufficient to change the storage areas 3 and 4 as shown in FIG. 2A.

この状態は第1図A図示の状態から第1図B図示の状態
に移行した場合の変更と変わりはない。7)そして第2
図A図示の状態のもとで、バツフア領域2−3と2−m
との返却があつた場合、第2図B図示の如く、格納域3
と6との内容を変更し、バツフア領域2−1に対してバ
ツフア領域2−3を継ぎ足すようにする。
This state is the same as the change from the state shown in FIG. 1A to the state shown in FIG. 1B. 7) And the second
Under the condition shown in Figure A, buffer areas 2-3 and 2-m
When the return is made, storage area 3 is returned as shown in Figure 2B.
and 6 are changed, and buffer area 2-3 is added to buffer area 2-1.

この処理は第1図B図示の状態から第1図C図示の状態
に移行した場合と変わりはない。このため、本発明の処
理方法を採用する場合の返却処理は、第4図に示す如く
処理Yのみを用意すれば足りることになる。
This process is the same as when the state shown in FIG. 1B is changed to the state shown in FIG. 1C. Therefore, when the processing method of the present invention is adopted, it is sufficient to prepare only the processing Y as shown in FIG. 4 for the return processing.

第5図は本発明の方法が実行される一実施例構成を示す
FIG. 5 shows an exemplary configuration in which the method of the invention is carried out.

図中の符号1(1−1,1−2,・・・),2−1ない
し2−M,3,4,5,6は第1図、第2図に対応し、
MEMは主記憶装置、7一1ないし7一mは夫々次バツ
フア領域アドレス格納域、8はバツフア管理機能部、8
−1はバツフア貸出し処理部、8−2はバツフア返却処
理部、ADl,AD2,・・・,BADl,BAD2,
・・・は夫々アドレス情報を表わしている。なお、バツ
フア返却処理部8−2による処理機能は第4図に示すフ
ローチヤートにしたがう機能をもつているものと考えて
よい。そして、バツフア貸出し処理部8−1は次の如き
処理機能が用意される。
The symbols 1 (1-1, 1-2, ...), 2-1 to 2-M, 3, 4, 5, and 6 in the figures correspond to FIGS. 1 and 2,
MEM is a main memory, 7-1 to 71m are respective next buffer area address storage areas, 8 is a buffer management function unit, 8
-1 is a buffer lending processing unit, 8-2 is a buffer return processing unit, ADl, AD2, ..., BADl, BAD2,
... each represents address information. Note that the processing function of the buffer return processing section 8-2 may be considered to have a function according to the flowchart shown in FIG. The buffer lending processing section 8-1 is provided with the following processing functions.

即ち、今A個分のバツフア領域の貸出し要求があつた場
合、キユ一・ターミナル1−1(又は1−2・・・)I
こおける格納域3の内容Cが調べられ、A≧(0−1
・・・・・・・・・・・・・・・・・・・・・(
1)であるか否かがチエツクされる。
In other words, if there is a request to rent A buffer areas, the queue terminal 1-1 (or 1-2...) I
The content C of the storage area 3 in this storage area is checked, and A≧(0-1
・・・・・・・・・・・・・・・・・・・・・(
1) is checked.

そして第(1)式を満足している場合、当該貸出し要求
は拒否される。なお、第1図図示の従来の方法の場合、
A≧(0 ・・・・・・・・・・・・・・・
・・・・・・(2)であるか否かがチエツクされていた
ものであり、本発明の場合キユ一・ターミナル1の格納
域3の内容を実質上(C)−1であるものとして処理す
ることによつて、従来の方法にくらべて処理が繁雑にな
るものではない。なお、第5図図示の状態は第1図Aに
対応している。
If the equation (1) is satisfied, the lending request is rejected. In addition, in the case of the conventional method shown in FIG.
A≧(0 ・・・・・・・・・・・・・・・
・・・・・・(2) is checked, and in the case of the present invention, it is assumed that the contents of the storage area 3 of the queue terminal 1 are substantially (C)-1. The processing does not become more complicated than conventional methods. Note that the state shown in FIG. 5 corresponds to FIG. 1A.

即ち、キユ一・ターミナル1−2の格納域3上に個数「
5」がセツトされ、格納域4上にアドレス情報BADl
がセツトされ、格納域6上にアドレス情報BADmがセ
ツトされている。そして、この状態で3個分のバツフア
領域の貸出し要求があつた場合、バツフア貸出し処理部
8−1は、上記第(1)式にしたがつたチエツクを行な
う。次いでキユ一・ターミナル1−2の格納域4の内容
BADlを出発点としてバツフア領域2−1を調べ、該
バツフア領域2−1内の格納域7一1の内容にもとずい
てバツフア領域2−3を調べ、該バツフア領域2−3内
の格納域7一3の内容にもとずいてバツフア領域2−4
を調べる。
In other words, on storage area 3 of terminal 1-2, the number of
5" is set, and address information BADl is stored in storage area 4.
is set, and address information BADm is set in the storage area 6. If a request for lending three buffer areas is received in this state, the buffer lending processing section 8-1 performs a check according to the above equation (1). Next, the buffer area 2-1 is examined using the contents BADl of the storage area 4 of the queue terminal 1-2 as a starting point, and the buffer area 2 is determined based on the contents of the storage area 7-1 within the buffer area 2-1. -3, and based on the contents of the storage areas 7-3 in the buffer area 2-3,
Find out.

そして、該バツフア領域2−4内の格納域7一4の内容
をキユ一・ターミナル1−2の格納域4にセツトする。
あわせて格納域3の内容を「2」にする。また第2図A
図示の状態のもとで バツフア)領域2−3と2−mと
の返却があつた場合、バツフア返起処理部8−2は第4
図1こしたがつた処理を行なう。
Then, the contents of the storage area 7-4 in the buffer area 2-4 are set in the storage area 4 of the queue/terminal 1-2.
At the same time, the contents of storage area 3 are set to "2". Also, Figure 2A
When the buffer areas 2-3 and 2-m are returned under the illustrated state, the buffer return processing unit 8-2
Figure 1: Perform the following processing.

即ち、キユ一・ターミナル1−2における格納域3の内
容を「3」に変更する。
That is, the contents of the storage area 3 in the terminal 1-2 are changed to "3".

あわせて、キユ一・ターミナル1−2における格納域6
の内容(第2図Aの場合BADl)にもとずいてバツフ
ア領域2−1を調べ、該バツフア領域2−1内の格納域
7一1にアドレス惰報BAD3を書込み、またバツフア
領域2−3内の格納域7一3に情報BADmを書込む。
In addition, storage area 6 at Kyuichi Terminal 1-2
The buffer area 2-1 is checked based on the contents (BADl in the case of FIG. 2A), and the address information BAD3 is written in the storage area 7-1 in the buffer area 2-1. The information BADm is written to the storage area 7-3 in 3.

そしてキユ一・ターミナル1−2における格納域6にア
ドレス情報BADmを書込む。以上説明した如く、本発
明によれば、バツフア貸出し処理およびバツフア返却処
理の夫々が、キユ一・ターミナル上にリンクが全く存在
しない場合と幾つか残つている場合とに関係なく統一的
な処理を行なうことが可能になる。
Address information BADm is then written into the storage area 6 in the key terminal 1-2. As explained above, according to the present invention, the buffer lending process and the buffer return process are performed in a unified manner regardless of whether there are no links at all or a few links remain on the queue terminal. It becomes possible to do it.

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

第1図AないしEは従来の処理方法における問題点を説
明する説明図、第2図A,Bは上記問題点を解決した本
発明の一実施例処理方法を説明する説明図、第3図は従
来の方法の場合の処理態様を表わすフロー・チヤート、
第4図は本発明の方法の場合の処理態様を表わすフロー
・チヤート第5図は本発明の方法が実行される一実施例
構成を示す。 図中、1,1−1,1−2,・・・は夫々キユ一・ター
ミナル 2−1ないし2−mは夫々バツフア領域、3は
リンク個数情報格納域、4はリンク先頭バツフア領域ア
ドレス格納域、5はネギスト・キユ一・ターミナル・ア
ドレス格納域、6はリンク最終バツフア領域アドレス格
納域、7一1ないし7一mは次バツフア領域アドレス格
納域、8はバツフア管理機能部、8−1はバツフア貸出
し処理部、8−2はバツフア返却処理部、MEMは主記
憶装置を表わす。
1A to 1E are explanatory diagrams illustrating problems in the conventional processing method, FIGS. 2A and 2B are explanatory diagrams illustrating an embodiment of the processing method of the present invention that solves the above problems, and FIG. 3 is a flow chart representing the processing mode in the case of the conventional method,
FIG. 4 is a flow chart showing the processing mode of the method of the present invention, and FIG. 5 shows the configuration of an embodiment in which the method of the present invention is executed. In the figure, 1, 1-1, 1-2, . . . are queue terminals, 2-1 to 2-m are buffer areas, 3 is a link number information storage area, and 4 is a link start buffer area address storage. area, 5 is the negist queue terminal address storage area, 6 is the link final buffer area address storage area, 7-1 to 71m is the next buffer area address storage area, 8 is the buffer management function section, 8-1 8-2 represents a buffer lending processing section, 8-2 represents a buffer return processing section, and MEM represents a main storage device.

Claims (1)

【特許請求の範囲】 1 複数個のバッファ領域およびキュー・ターミナルを
そなえ、上記バッファ領域をリンクして使用するに当つ
て上記キュー・ターミナルのリンク先頭バッファ領域ア
ドレス格納域に上記リンクされている先頭バッファ領域
のアドレス情報を格納すると共に上記リンクされている
各バッファ領域のアドレス情報を順次書込んでチェイン
をつくりかつ上記キュー・ターミナルのリンク最終バッ
ファ領域アドレス格納域に上記リンクされている最終バ
ッファ領域のアドレス情報を格納し、上記バッファ領域
の貸出しと返却とを管理するバッファ領域制御機能を有
するデータ処理システムにおいて、上記キュー・ターミ
ナルは、自己にリンクされているバッファ領域の個数情
報を保持し、上記貸出し処理に当つてバッファ領域貸出
し要求個数と上記キュー・ターミナル上の上記個数情報
とが比較されるよう構成され、上記バッファ領域の貸出
し処理に当つて、上記キュー・ターミナルにリンクされ
ているバッファ領域の個数が少なくとも1個残る範囲内
において上記貸出しを許容すると共に、当該範囲を超え
る貸出し要求を拒否するようにしたことを特徴とするバ
ッファ領域制御処理方法。 2 上記バッファ領域制御機能は、許容された個数範囲
内の上記貸出し処理に当つて、該貸出し後の先頭バッフ
ァ領域のアドレス情報を上記キュー・ターミナルのリン
ク先頭バッファ領域アドレス格納域にセットすることを
特徴とする特許請求の範囲第1項記載のバッファ領域制
御処理方法。 3 上記バッファ領域制御機能は、バッファ領域返却処
理に当つて、該返却直前の最終バッファ領域に対して上
記返却されるバッファ領域をリンクすると共に、上記返
却後の最終バッファ領域のアドレス情報を上記キュー・
ターミナルのリンク最終バッファ領域アドレス格納域に
セットすることを特徴とする特許請求の範囲第1項また
は第2項記載のバッファ領域制御処理方法。
[Scope of Claims] 1. A plurality of buffer areas and queue terminals are provided, and when the buffer areas are linked and used, the link head buffer area address storage area of the queue terminal is linked to the head linked buffer area. The address information of the buffer area is stored, and the address information of each linked buffer area is sequentially written to create a chain, and the linked final buffer area is stored in the linked final buffer area address storage area of the queue terminal. In a data processing system having a buffer area control function that stores address information of and manages lending and returning of the buffer area, the queue terminal maintains information on the number of buffer areas linked to itself; In the lending process, the requested number of buffer areas is compared with the number information on the queue terminal, and in the lending process of the buffer area, the buffer area linked to the queue terminal is A buffer area control processing method, characterized in that the lending is allowed within a range in which at least one area remains, and requests for lending exceeding the range are rejected. 2. The buffer area control function sets the address information of the first buffer area after lending to the link first buffer area address storage area of the queue terminal in the above lending process within the allowed number range. A buffer area control processing method according to claim 1, characterized in that: 3 In the buffer area return process, the buffer area control function links the returned buffer area to the final buffer area immediately before the return, and also links the address information of the final buffer area after the return to the queue.・
3. The buffer area control processing method according to claim 1, wherein the buffer area control processing method is set in a link final buffer area address storage area of a terminal.
JP52145915A 1977-12-05 1977-12-05 Buffer area control processing method Expired JPS596410B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52145915A JPS596410B2 (en) 1977-12-05 1977-12-05 Buffer area control processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52145915A JPS596410B2 (en) 1977-12-05 1977-12-05 Buffer area control processing method

Publications (2)

Publication Number Publication Date
JPS5478631A JPS5478631A (en) 1979-06-22
JPS596410B2 true JPS596410B2 (en) 1984-02-10

Family

ID=15396008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52145915A Expired JPS596410B2 (en) 1977-12-05 1977-12-05 Buffer area control processing method

Country Status (1)

Country Link
JP (1) JPS596410B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60164809U (en) * 1984-04-09 1985-11-01 ヤンマー農機株式会社 Float device for direct seeding machine

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58171780A (en) * 1982-03-31 1983-10-08 Fujitsu Ltd Managing method of main storage
EP0365731B1 (en) * 1988-10-28 1994-07-27 International Business Machines Corporation Method and apparatus for transferring messages between source and destination users through a shared memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60164809U (en) * 1984-04-09 1985-11-01 ヤンマー農機株式会社 Float device for direct seeding machine

Also Published As

Publication number Publication date
JPS5478631A (en) 1979-06-22

Similar Documents

Publication Publication Date Title
US5129085A (en) Computer network with shared memory using bit maps including flags to indicate reserved memory areas and task status
DE69123334T2 (en) Queue manager procedure for an electronic messaging system
US5852747A (en) System for awarding token to client for accessing first data block specified in client request without interference due to contention from other client
US5893924A (en) System and method for overflow queue processing
CN105404592A (en) Managing message queues
JPH04157541A (en) Multiple data processing method of decentralized processing system
JPH05282260A (en) Computer network and its operation method
DE19733151A1 (en) System for virtual device access in computer system
JPS596410B2 (en) Buffer area control processing method
CN105812203B (en) A kind of request message processing method and equipment
JP2005507522A (en) Method and system for ensuring sequential consistency in distributed computing
JPS63160445A (en) Method and system for controlling transmission
JPH08329019A (en) Semaphore data management method
US4860250A (en) Data packet shortening method and device
JPH03202935A (en) Synchronization update system in distributed processing system
KR20020037399A (en) method for processing a transaction of the database management system
JPS60256859A (en) File transmission management method
JP2531103B2 (en) Inter-job data communication system
JP2776733B2 (en) Service status management method
JP2980610B2 (en) Transaction management device
JP2787107B2 (en) Buffer control system and device
JPH05173868A (en) Distributed database management method
JP2000003287A (en) Exclusive controller for shared resource, method therefor and recording medium for recording exclusive control program
JPH0895845A (en) Object-oriented database system and bidirectional link processing method between objects applied to the system
JPH03286351A (en) Function division control method in data communication terminal equipment