JPS5837576B2 - Dynamic buffer memory control method - Google Patents
Dynamic buffer memory control methodInfo
- Publication number
- JPS5837576B2 JPS5837576B2 JP52124798A JP12479877A JPS5837576B2 JP S5837576 B2 JPS5837576 B2 JP S5837576B2 JP 52124798 A JP52124798 A JP 52124798A JP 12479877 A JP12479877 A JP 12479877A JP S5837576 B2 JPS5837576 B2 JP S5837576B2
- Authority
- JP
- Japan
- Prior art keywords
- buffer memory
- input
- data
- buffer
- memory
- 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
Links
Description
【発明の詳細な説明】
本発明は、動的バツファ・メモリ制御方式、特に入出力
装置とデータ処理装置との間のデータ転送処理に当って
複数のバツファ・メモリを例えば交代バツファ方式で利
用するデータ処理システムにおいて、入出力データ転送
システムをもうけ、該入出力データ転送システムが、他
から指示された個数のバツファ・メモリを確保できなか
った場合にも現に確保した個数のバツファ・メモリによ
ってデータ転送処理を制御するようにした動的バツファ
・メモリ制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention utilizes a dynamic buffer memory control method, in particular, a plurality of buffer memories in a rotating buffer method for data transfer processing between an input/output device and a data processing device. In a data processing system, an input/output data transfer system is provided, and even if the input/output data transfer system is unable to secure the number of buffer memories instructed by others, data is transferred using the number of buffer memories actually secured. This invention relates to a dynamic buffer memory control method for controlling processing.
従来から入出力装置とデータ処理装置との間のデータ転
送処理に当って、入出力データ転送システムが動的にバ
ツファ・メモリを確保して上記データ転送を制御するこ
とが行なわれている。Conventionally, in data transfer processing between an input/output device and a data processing device, an input/output data transfer system dynamically allocates a buffer memory to control the data transfer.
この場合、一般にはいわゆる交代バッファ方式が採用さ
れる。In this case, a so-called alternate buffer method is generally adopted.
即ち、1つの入出力装置からの例えばデータ読摩り時に
2つのバツファ・メモリを確保し、一方のバツファ・メ
モリにバツファリングしているデータをデータ処理装置
が現に読取っている間に、他方のバツファ・メモリに入
出力装置からのデータをバツファリングするようにし、
2つのバツファ・メモリを交互に利用することが行なわ
れている。That is, for example, when reading data from one input/output device, two buffer memories are secured, and while the data processing device is actually reading the data buffered in one buffer memory, the other buffer memory is read.・Buffer data from input/output devices to memory,
Two buffer memories are used alternately.
しかし、上記バツファ・メモリの存在領域またはバツフ
ァ・メモリは、他の多くの入出力装置との間のデータ転
送などに当っても共通に利用される。However, the area where the buffer memory exists or the buffer memory is commonly used for data transfer with many other input/output devices.
このため、常時空き状態にあるとは限らず、現にデータ
転送を行なう際に上記入出力データ転送システムが動的
に確保しに行くようにされる。For this reason, it is not always in a vacant state, and the input/output data transfer system dynamically attempts to secure a free space when actually transferring data.
したがって、上記バツファ・メモリの存在領域またはバ
ツファ・メモリ自体に余裕が少ない場合に、あくまで交
体バツファ方式をとるべく複数のバッファ・メモリを確
保しようとすると上記データ転送が非所望に待たされる
。Therefore, when there is little room in the area where the buffer memory exists or in the buffer memory itself, if an attempt is made to secure a plurality of buffer memories in order to use the mixed buffer method, the data transfer is undesirably made to wait.
また一旦該バツファ・メモリが確保されたとすると、逆
に他の入出力装置からのデータ転送が待たされることに
なる。Furthermore, once the buffer memory is secured, data transfer from other input/output devices will have to wait.
本発明は、上記の点を考慮して、上記バツファ・メモリ
確保時の混み具合によって例えば交代バッファ方式にも
あるいは単一のバッファ・メモリしか確保できない場合
にも対処できるようにすることを目的としている。The present invention has been made in consideration of the above-mentioned points, and has an object of making it possible to deal with the case where, for example, the alternating buffer method or only a single buffer memory can be secured depending on the congestion level at the time of securing the buffer memory. There is.
そしてそのため、本発明の動的バツファ・メモリ制御方
式は入出力装置とデータ処理装置とをそなえ、上記入出
力装置からのデータ読取りまたは上記入出力装置へのデ
ータ書込み処理において上記データを一時バツファ・メ
モリ上にバツファリングするデータ処理システムにおい
て、メモリ管理ルーチンをそなえかつ上記バツファ・メ
モリの存在領域についての空き状態を管理する管理テー
ブルをそなえ上記バツファ・メモリの存在領域を個別に
動的に確保しまた解放する入出力処理システムをもうけ
、該入出力データ転送システムは、上記入出力装置と上
記データ処理装置との間のデータ転送時に、予め定めら
れた個数のバツファ・メモリが確保した上でリターンす
る第1の命令とバツファ・メモリが確保できなくてもリ
ターンする第2の命令とを夫々用いてN個の上記バツフ
ァ・メモリを確保する機能をもつと共に、上記N個分の
バツファ・メモリ確保要求に対してN個未満のバツファ
・メモリのみが確保された場合に該確保されたバツファ
・メモリを用いて上記データ転送を実行するよう制御す
ることを特徴としている。Therefore, the dynamic buffer memory control method of the present invention includes an input/output device and a data processing device, and stores the data in a temporary buffer when reading data from the input/output device or writing data to the input/output device. In a data processing system that performs buffering on memory, a memory management routine is provided and a management table is provided to manage the free status of the area where the buffer memory exists, and the area where the buffer memory exists is dynamically reserved individually. The input/output data transfer system secures a predetermined number of buffer memories when transferring data between the input/output device and the data processing device, and then returns the data. It has a function of securing N buffer memories by using a first instruction to return to the buffer memory and a second command to return even if the buffer memory cannot be secured. The present invention is characterized in that when only less than N buffer memories are secured in response to a request, the data transfer is controlled to be performed using the secured buffer memories.
以下図面を参照しつつ説明する。This will be explained below with reference to the drawings.
第1図は本発明をプログラム処理のレベルで表わしたー
実施例構或、第2図は本発明に用い入出力データ転送シ
ステムの制御動作をバツファ・メモリ管理に注目して表
わしたー実施例フロー・チャートを示している。FIG. 1 shows the present invention at the level of program processing - an embodiment; FIG. 2 shows the control operation of the input/output data transfer system used in the invention, focusing on buffer memory management - an embodiment Flow chart is shown.
第1図において、1は中央処理装置をあわせて代表せし
めた主記憶装置、2は主記憶装置上のスーパバイザ・プ
ログラム(またはその格納領域)、3−1ないし3−4
は同じくユーザ・パーティションであってユーザによる
アプリケーション・プログラム(またはその格納領域)
、4は入出力データ転送システム(またはその格納領域
)、5は入出力データ転送システムの核(ニュークlJ
7ス)部分、6は該核部分に含まれるメモリ管理ルーチ
ン、7は入出力データ転送システムに含まれるリーダ・
タスク、8は同じく実行リーダ・タスク、9は同じく実
行ライタ・タスク、10は同じくライタ・タスク、11
は共通メモリ切出し領域であって図示の場合上記メモリ
管理ルーチンが本発明にいうバツファ・メモリを該領域
に確保するもの、12ないし15は夫々バツファ・メモ
リであってメモリ管理ルーチン6によって或るタイミン
グ時点で上記領域11内の空き領域に形威されるもの、
16は入出力装置例えばカード・リーダ、17は入出力
装置例えばプリンタ、18はファイル装置、19は共通
メモリ切出し領域11内の領域を管理する管理テーブル
を表わしている。In FIG. 1, 1 is a main memory which also represents the central processing unit, 2 is a supervisor program (or its storage area) on the main memory, 3-1 to 3-4
is also a user partition and is the user's application program (or its storage area)
, 4 is the input/output data transfer system (or its storage area), and 5 is the core of the input/output data transfer system (new
7) part, 6 is a memory management routine included in the core part, and 7 is a reader included in the input/output data transfer system.
Task, 8 is also an execution leader task, 9 is also an execution writer task, 10 is also a writer task, 11
12 is a common memory extraction area, and in the case shown in the figure, the memory management routine secures the buffer memory according to the present invention in this area, and 12 to 15 are buffer memories, which are allocated at a certain timing by the memory management routine 6. What is reflected in the free space within the above area 11 at the time,
Reference numeral 16 represents an input/output device such as a card reader, 17 represents an input/output device such as a printer, 18 represents a file device, and 19 represents a management table for managing areas within the common memory extraction area 11.
今ユーザ・パーティション3−4がカード・リーダ16
からデータを読取る場合、次のように制御される。Now user partition 3-4 is card reader 16
When reading data from , it is controlled as follows.
(1)カード・リーダ16がオンライン状態に置かれる
と、入出力データ転送システム4が動作する。(1) When the card reader 16 is placed online, the input/output data transfer system 4 operates.
リーダ・タスク7や実行リーダ・タスク8は実際に動作
する時までは最小限のテーブルしかもたないが、実際に
動作する際に、処理に必要な制御テーブルや入出力バツ
ファ・メモリ12を、メモリ管理ルーチン6に対して例
えばGET MAINの如きマクロ命令の形で要求す
る。The leader task 7 and the execution leader task 8 only have a minimum number of tables until they actually operate, but when they actually operate, the control tables and input/output buffer memory 12 necessary for processing are stored in memory. A request is made to the management routine 6 in the form of a macro command such as GET MAIN.
(2)メモリ管理ルーチン6は、例えば管理テーブル1
9により共通メモリ切出し領域11内の領域の空き状態
などを把握しており、上記マクロ命令に応じてバツファ
・メモリ12を確保し、その旨をリーダ・タスク7に通
知する。(2) The memory management routine 6 includes, for example, the management table 1
9, it grasps the free status of the area in the common memory extraction area 11, secures the buffer memory 12 in accordance with the macro instruction, and notifies the leader task 7 of this fact.
即ち従来公知の如く、例えば空き状態にあるバツファ・
メモリをキューイングによって管理しておきGET
MAIN命令に対応してFIll’O制御にもとづいて
バツファ・メモリを切出してゆく。That is, as is conventionally known, for example, if a buffer is in an empty state,
Manage memory by queuing and GET
In response to the MAIN command, the buffer memory is carved out based on FIll'O control.
勿論使用済みになったバツファ・メモリは、解放され、
上記キューに連結され、再使用にそなえるようにされる
。Of course, once used buffer memory is released,
It is connected to the above queue and made ready for reuse.
(3)リーダ・タスク7は、上記バツファ・メモリ12
が確保されたら、カード・リーダ16からのデータを該
バツファ・メモリ12を経由してファイル装置18に書
込むようにする。(3) The leader task 7 uses the buffer memory 12
Once secured, the data from the card reader 16 is written to the file device 18 via the buffer memory 12.
(4)そして該書込みが終了したら、リーダ・タスク7
からの指示により、メモリ管理ルーチン6は上記バツフ
ァ・メモリ12などを解放
(FREE MAIN)する。(4) When the writing is completed, the reader task 7
The memory management routine 6 releases the buffer memory 12 and the like (FREE MAIN) according to instructions from the memory management routine 6.
(5)この状態で上述の如く、ユーザ・パーティション
3−4からのカード・リーダ16に対してアクセスに対
応して、実行リーダ・タスクが上述の如くメモリ管理ル
ーチン6に対してGETMAIN命令を発してバツファ
・メモリ13などを確保する依頼を出す。(5) In this state, in response to the access to the card reader 16 from the user partition 3-4, the execution reader task issues a GETMAIN command to the memory management routine 6 as described above. A request is made to secure the buffer memory 13, etc.
(6)バツファ・メモリ13などが確保されたら、実行
リーダ・タスク8は先にファイル装置18上に書込まれ
ているカード・リーダ16の内容をバツファ・メモリ1
3経出でユーザ・ハーティション3−4に渡す。(6) Once the buffer memory 13 etc. are secured, the execution leader task 8 first transfers the contents of the card reader 16 written on the file device 18 to the buffer memory 1.
Pass it to user Heartition 3-4 at the end of the 3rd passage.
即ちあたかも、カード・リーダ16から直接読出された
かの如くユーザ・パーティション3−4に渡すようにし
て処理の高速度化を計っている。In other words, the data is passed to the user partition 3-4 as if it were directly read from the card reader 16, thereby speeding up the processing.
ユーザ・パーティションの1つ例えば3−4がプリンタ
17にデータを書込む場合には、上記の逆の動作と考え
てよく、ユーザ・パーティション3−4はデータをバツ
ファ・メモリ14を介してファイル装置18に書込む。When one of the user partitions, for example 3-4, writes data to the printer 17, the operation can be considered to be the reverse of the above, and the user partition 3-4 writes data to the file device via the buffer memory 14. Write to 18.
そしてファイル装置18からは空きタイミングを利用し
てデータをバツファ・メモリ15を介してプリンタ17
に渡すようにする。Data is then transferred from the file device 18 to the printer 17 via the buffer memory 15 using free timing.
Please pass it to .
ただし、この場合、前者の処理時に実行ライタ・タスク
9が実行し、後者の処理時にライタ・タスク10が実行
することは言うまでもない。However, in this case, it goes without saying that the execution writer task 9 executes the former process, and the writer task 10 executes the latter process.
入出力データ転送システム4は上述の如く動作するが、
上記バツファ・メモリ12あるいは13あるいは14あ
るいは15を利用する場合、いわゆる交代バツファ方式
が採用される。The input/output data transfer system 4 operates as described above.
When using the buffer memory 12, 13, 14, or 15, a so-called alternating buffer system is adopted.
例えばカード・リーダ16からデータをファイル装置1
8に転送する場合、バツファ・メモリ12として2つの
バツファ・メモリ12−1と12−2とを確保する。For example, data is transferred from the card reader 16 to the file device 1.
8, two buffer memories 12-1 and 12-2 are secured as buffer memories 12.
そして、1つのバツファ・メモリ12−1からデータが
ファイル装置18に書込まれる間に、他のバツファ・メ
モリ12−2によってカード・リーダ16の内容を受取
るようにされる。Then, while data is written to the file device 18 from one buffer memory 12-1, the contents of the card reader 16 are received by the other buffer memory 12-2.
このとき、本願明細書冒頭に述べた如く共通メモリ切出
し領域11は他の入出力装置との間のデータ転送にも共
通に利用されるために、混み合っている場合必らずしも
2つのバツファ・メモリ12−1と12−2とを一緒に
確保できるとは限らない。At this time, as mentioned at the beginning of this specification, the common memory extraction area 11 is also commonly used for data transfer with other input/output devices, so if it is crowded, it is not necessarily necessary for two It is not always possible to secure buffer memories 12-1 and 12-2 together.
このために、カード・リーダ16からファイル装置18
へのデータ転送は2つのバツファ・メモリ12−1と1
2−2とが確保できるまで待たされる。For this purpose, the card reader 16 to the file device 18
Data is transferred to two buffer memories 12-1 and 12-1.
2-2 can be secured.
また仮に2つのバツファ・メモリ12−1と12−2と
が確保できたとしても、他の入出力装置との間によるデ
ータ転送が待たされることになる。Furthermore, even if two buffer memories 12-1 and 12-2 could be secured, data transfer with other input/output devices would have to wait.
このため、本発明の場合、例えば上記GETMAINマ
クロ命令として、2つのタイプ即ちWAIT型のGET
MAINとRBTURN型のGET MAINとを用
意する。Therefore, in the case of the present invention, for example, as the above-mentioned GETMAIN macro instruction, there are two types of GET, ie, WAIT type.
Prepare MAIN and RBTURN type GET MAIN.
前者のタイプは、バツファ・メモリが確保できるまで待
って確保できたらタスク側にリターンする型のGET
MAINマクロ命令である。The former type is a GET that waits until buffer memory is secured and then returns to the task side.
This is the MAIN macro instruction.
そして後者のタイプは、バツファ・メモリが確保できて
もできなくてもその旨をリターンする型のGET MI
Nマクロ命令である。The latter type is a GET MI type that returns whether or not buffer memory can be secured.
This is an N macro instruction.
なお、2つのバツファ・メモリ12−1と12−2とを
確保する場合、上記GET MAINマクロ命令は前後
2回発せられるものと考えてよい。In addition, when securing two buffer memories 12-1 and 12-2, it may be considered that the above-mentioned GET MAIN macro command is issued twice before and after.
そして、交代バツファ方式をとるべく、例えばリード・
タスク12がメモリ管理ルーチン6に対してバツファ・
メモリ12−1と12−2とを確保する依頼を発する場
合、タスク12は最初WAIT型のGET MAINマ
クロ命令を発する。Then, in order to adopt a replacement buffer system, for example, the lead
Task 12 sends a buffer to memory management routine 6.
When issuing a request to secure the memories 12-1 and 12-2, the task 12 first issues a WAIT type GET MAIN macro instruction.
この状態でメモリ管理ルーチン6からリターンがあった
場合、タスク12は1つのバツファ・メモリ例えば12
−1が確保されたことを知り、タスク12は次にRET
URN型のGET MAINマクロ命令を発する。If there is a return from the memory management routine 6 in this state, the task 12 will store one buffer memory, for example 12
Knowing that −1 has been secured, task 12 then performs the RET
Issue a URN-type GET MAIN macro command.
そしてもしも更に1つのバツファ・メモリ例えば12−
2が確保できたら、タスク12は交代バツファ方式で2
つのバツファ・メモリを利用する。And if there is one more buffer memory, for example 12-
If 2 is secured, task 12 will be 2 by alternate buffer method.
Utilizes two buffer memory.
しかし、1つのバツファ・メモリしか確保できなかった
ら、確保できたバツファ・メモlJ12−1のみを利用
してデータ転送を行なうようにする。However, if only one buffer memory can be secured, data transfer is performed using only the buffer memory IJ12-1 that could be secured.
第2図は本発明に用いる入出力データ転送システム4の
制御動作をバツファ・メモリ管理に注目して表わしたー
実施例フロー・チャートを示している。FIG. 2 shows a flow chart of an embodiment of the control operation of the input/output data transfer system 4 used in the present invention, focusing on buffer memory management.
なお図はあるユーザ・パーティション例えば3−4がガ
ード・リーダ16(仮に機番をXO12とする)に対し
てリード命令を発し、これに対応してカード・リーダ1
6からバツファ・メモlJ12−1と12−2とを介し
てデータをディスク・ファイル装置18に書込む場合を
表わしている。In the figure, a certain user partition, for example 3-4, issues a read command to the guard reader 16 (assuming the machine number is XO12), and in response, the card reader 1
6 to the disk file device 18 via the buffer memories IJ12-1 and 12-2.
今ユーザ・パーティションがリードのためにrsTAR
T READER X”0 1 2“{2F」を発した
とする。Now user partition is rsTAR for read
Suppose that T READER X”0 1 2”{2F” is issued.
このとき{2}はバツファ・メモリ2個を利用して交代
バツファ方式をとることを指示している。At this time, {2} instructs to use two buffer memories to use the alternating buffer method.
以下次のように制御動作が行なわれる。Control operations are performed as follows.
即ち(7)リーダ・タスク7はrATTACH REA
DER・TASKJを発する。That is, (7) reader task 7 rATTACH REA
Send DER・TASKJ.
なおA’l’TACHはタスクの発生を指示するマクロ
命令である。Note that A'l'TACH is a macro instruction that instructs generation of a task.
(8)これによって、制御動作は、スタート点から初期
設定処理を行ない、カード・リーダ入力要求待ちとなる
。(8) As a result, the control operation performs initial setting processing from the starting point and waits for a card reader input request.
(9)そしてリーダ・タスク7は最初の1つのバツファ
例えば12−1を確保すべくメモリ共通管理ルーチン6
に対してWAIT型のGETMAINマクロ命令を発す
る。(9) Then, the leader task 7 uses the memory common management routine 6 to secure the first buffer, for example, 12-1.
A WAIT type GETMAIN macro instruction is issued to the target.
α0)該GET MAINマクロ命令に対応してリター
ンがあった場合、少なくとも1つのバツファ・メモリ例
えば12−1が確保できたことを知り、リータ・タスク
7は2つのバツファ・メモリを指示されているか否かを
調べ、指示されていれば、2つ目のバツファ・メモlJ
12−2を確保すべく次にRETURN型のGET M
AINマクロ命令を発する。α0) If there is a return in response to the GET MAIN macro instruction, does it know that at least one buffer memory, for example 12-1, has been secured, and is the leaver task 7 instructed to use two buffer memories? Check if it is not, and if instructed, send the second Batsfa Memo lJ
Next, to secure 12-2, RETURN type GET M
Issue the AIN macro instruction.
ell) 1つのバツファ・メモリの確保のみを指示
されている場合、およびRETURN型のGETMAI
Nマクロ命令によって確保できなかった旨のリターンが
あった場合、リーダ・タスク7は先に確保できた1つの
バツファ・メモリ12−1を用いてデータ転送処理を行
なう。ell) When only one buffer memory is instructed to be reserved, and when RETURN type GETMAI
If there is a return indicating that the memory could not be secured by the N macro instruction, the leader task 7 performs data transfer processing using the one buffer memory 12-1 that was secured earlier.
(121 そしてデータ転送が終了すると、リーダ・
タスク7はバツファ・メモIJ12−1を解放すべくメ
モリ管理ルーチン6に対してFREEMAINマクロ命
令を発する。(121 And when the data transfer is completed, the reader
Task 7 issues a FREEMAIN macro instruction to memory management routine 6 to free buffer memo IJ12-1.
(13) 上記制御動作(10)の結果、2つ目のバ
ツファ・メモlJ13−2が確保できた場合、リーダ・
タスク7は2つのバツファ・メモリ12−1と12−2
とを用いてデータ転送を行なう。(13) As a result of the above control operation (10), if the second buffer memory lJ13-2 is secured, the reader
Task 7 has two buffer memories 12-1 and 12-2.
Data transfer is performed using
(14)そしてデータ転送が終了すると、リーダ・タス
ク7はバツファ・メモlJ13−2を解放すべ<FRE
E MAINマクロ命令を発する。(14) When the data transfer is completed, the leader task 7 should release the buffer memory lJ13-2.
Issue the E MAIN macro instruction.
そして次いで再び上記制御動作α力と同様にバツファ・
メモリ13−1を解放すべ<FREE MAINマクロ
命令を発する。Then again, the buffer is
To free the memory 13-1, issue the FREE MAIN macro instruction.
(15) 上記制御動作α2またはα4)lこつづい
て、オペレータからストップ要求が出されるまで、上述
の制御動作が繰返される。(15) The above control operation α2 or α4)lThe above control operation is then repeated until a stop request is issued by the operator.
ストップ要求が出されると、リーダ・タスクはr DE
T.,匁CHREADER−TASKJマクロ命令を発
して動作を終了する。When a stop request is issued, the leader task r DE
T. , the CHREADER-TASKJ macro command is issued to complete the operation.
なおDBTACHはタスク消滅を指示するマクロ命令で
ある。Note that DBTACH is a macro instruction that instructs task disappearance.
本発明は上述の如く、例え交代バツファ方式で処理を行
なうことか指示されたとしても、必要個数のバツファ・
メモリが確保できない場合に非所望に待機することなく
、少なくとも1つのバツファ・メモリが確保できればそ
れによってデータ転送を行なうことができる。As described above, even if instructions are given to perform processing using the alternating buffer method, the present invention can provide the necessary number of buffers.
If at least one buffer memory can be secured, data can be transferred without waiting undesirably when no memory is available.
このため、バツファ・メモリの存在領域またはバツファ
・メモリに対する利用要求が混み合っている場合でも、
それに応じた制御動作を行なうことが可能となる。Therefore, even if the buffer memory area or buffer memory usage requests are crowded,
It becomes possible to perform control operations accordingly.
第1図は本発明をプログラム処理のレベルで表わしたー
実施例構或、第2図は本発明に用いる入出力データ転送
システムの制御動作をバツファ・メモリ管理に注目して
表わしたー実施例フロー・チャートを示す。
図中、1は中央処理装置をあわせて代表せしめた主記憶
装置、2はスーパ・バイザ・プログラム、3−1ないし
3−4は夫々ユーザ・パーティション、4は入出力デー
タ転送システム、5は入出力データ転送システムの核部
分、6はメモリ管理ルーチン、7はリーダ・タスク、8
は実行リーダ・タスク、9は実行ライタ・タスク、10
はライタ・タスク、11は共通メモリ切出し領域、12
ないし15は夫々バッファ・メモリ、16はカード・リ
ーダ、17はプリンタ、18はファイル装置、19は管
理テーブルを表わしている。FIG. 1 shows the present invention at the level of program processing - Example structure, and FIG. 2 shows the control operation of the input/output data transfer system used in the present invention, focusing on buffer memory management - Example Showing a flow chart. In the figure, 1 is the main memory which also represents the central processing unit, 2 is the supervisor program, 3-1 to 3-4 are user partitions, 4 is the input/output data transfer system, and 5 is the input/output data transfer system. The core part of the output data transfer system, 6 is the memory management routine, 7 is the reader task, 8
is the execution leader task, 9 is the execution writer task, 10
is the writer task, 11 is the common memory extraction area, 12
15 to 15 represent buffer memories, 16 a card reader, 17 a printer, 18 a file device, and 19 a management table.
Claims (1)
力装置からのデータ読取りまたは上記入出力装置へのデ
ータ書込み処理において上記データを一時バツファ・メ
モリ上にバツファリングするデータ処理システムにおい
て、メモリ管理ルーチンをそなえかつ上記バツファ・メ
モリの存在領域についての空き状態を管理する管理テー
ブルをそなえ上記バツファ・メモリの存在領域を個別に
動的に確保しまた解放する入出力処理システムをもうけ
、該入出力データ転送システムは、上記入出力装置と上
記データ処理装置との間のデータ転送時に、予め定めら
れた個数のバツファ・メモリが確保した上でリターンす
る第1の命令とバッファ・メモリが確保できなくてもリ
ターンする第2の命令とを夫々用いてN個の上記バツフ
ァ・メモリを確保する機能をもつと共に、上記N個分の
バツファ・メモリ確保要求に対してN個未満のバツファ
・メモリのみが確保された場合に該確保されたバツファ
・メモリを用いて上記データ転送を実行するよう制御す
ることを特徴とする動的バッファ・メモリ制御方九 2 上記入出力データ転送システムは、上記データ転送
終了後に上記先に確保したバツファ・メモリを解放する
よう制御することを特徴とする特許請求の範囲第1項記
載の動的バツファ・メモリ制御方式。 3 上記入出力データ転送システムは、上記入出力装置
からのデータ読取制御において、該入出力装置からのデ
ータを上記確保したバッファ・メモリを介してファイル
・メモリ上に書込んでおきユーザ・パーティションに転
送するよう制御し、また上記入出力装置へのデータ書込
み制御において、上記ユーザ・パーティションからのデ
ータをファイル・メモリ上に書込んでおき上記確保した
バツファ・メモリを介して上記入出力装置に転送するよ
う制御することを特徴とする特許請求の範囲第2項記載
の動的バツファ・メモリ制御方式。[Scope of Claims] 1. Data that includes a human output device and a data processing device, and buffers the data on a temporary buffer memory during data reading from the input/output device or data writing to the input/output device. In the processing system, an input/output processing system includes a memory management routine and a management table for managing the free status of the buffer memory area, and dynamically allocates and releases the buffer memory area individually. The input/output data transfer system includes a first instruction and a buffer that return after securing a predetermined number of buffer memories when transferring data between the input/output device and the data processing device.・It has a function to secure the N buffer memories by using the second command that returns even if the memory cannot be secured, and also has a function to secure the N buffer memories for the buffer memory reservation request for the N buffer memories. Dynamic buffer memory control method 92, characterized in that when only the buffer memory of is secured, the data transfer is performed using the secured buffer memory. 2. The input/output data transfer system 2. The dynamic buffer memory control system according to claim 1, wherein the buffer memory previously secured is controlled to be released after the data transfer is completed. 3 The input/output data transfer system, in controlling data reading from the input/output device, writes the data from the input/output device onto the file memory via the secured buffer memory and stores it in the user partition. In addition, in controlling data writing to the input/output device, the data from the user partition is written on the file memory and transferred to the input/output device via the buffer memory secured above. 3. The dynamic buffer memory control method according to claim 2, wherein the dynamic buffer memory control method is controlled to
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52124798A JPS5837576B2 (en) | 1977-10-18 | 1977-10-18 | Dynamic buffer memory control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52124798A JPS5837576B2 (en) | 1977-10-18 | 1977-10-18 | Dynamic buffer memory control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5457926A JPS5457926A (en) | 1979-05-10 |
| JPS5837576B2 true JPS5837576B2 (en) | 1983-08-17 |
Family
ID=14894377
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52124798A Expired JPS5837576B2 (en) | 1977-10-18 | 1977-10-18 | Dynamic buffer memory control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5837576B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62135929A (en) * | 1985-12-09 | 1987-06-18 | Nec Corp | File input and output system |
| JPH0759452B2 (en) * | 1992-10-19 | 1995-06-28 | デンカエンジニアリング株式会社 | Method for removing adhered powder in the transport pipe |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5513056B2 (en) * | 1974-02-08 | 1980-04-05 | ||
| JPS51101432A (en) * | 1975-03-04 | 1976-09-07 | Hitachi Ltd | DEETABATSU FUASEIGYO HOSHIKI |
| JPS51112143A (en) * | 1975-03-27 | 1976-10-04 | Nec Corp | Information transfer control system |
| JPS5212539A (en) * | 1975-07-18 | 1977-01-31 | Matsushita Electric Ind Co Ltd | Card information memory device |
-
1977
- 1977-10-18 JP JP52124798A patent/JPS5837576B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5457926A (en) | 1979-05-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3563541B2 (en) | Data storage device and data storage method | |
| US6292856B1 (en) | System and method for application influence of I/O service order post I/O request | |
| EP0150705B1 (en) | Data storage hierarchy and its method of operation | |
| JPS58225432A (en) | Request buffer device | |
| JP2003208412A (en) | Circuit group control system | |
| US4470115A (en) | Input/output method | |
| JPH0340868B2 (en) | ||
| JPS6367685B2 (en) | ||
| US5530871A (en) | Asynchronous input and output control system | |
| JPS5837576B2 (en) | Dynamic buffer memory control method | |
| US5440712A (en) | Database input/output control system having nonvolatile storing unit for maintaining the database | |
| JPH04314147A (en) | Memory managing system | |
| JP3259095B2 (en) | Data transfer method | |
| SU1095181A1 (en) | Device for distributing tasks to processors | |
| JP2823624B2 (en) | I/O interface control method | |
| JP2826780B2 (en) | Data transfer method | |
| JP2541447B2 (en) | Data processing device | |
| JPH0528421B2 (en) | ||
| JP2735400B2 (en) | Asynchronous I/O control method | |
| KR100243322B1 (en) | Data processing method for real time processing device | |
| JPH026094B2 (en) | ||
| JPS6016655B2 (en) | I/O device access control method | |
| JPH0520243A (en) | Data processing system | |
| JPS5958552A (en) | Slowdown control system | |
| JPH05334012A (en) | Large capacity disk controller |