JPH03201122A - Data updating system for auxiliary storage device - Google Patents

Data updating system for auxiliary storage device

Info

Publication number
JPH03201122A
JPH03201122A JP34420389A JP34420389A JPH03201122A JP H03201122 A JPH03201122 A JP H03201122A JP 34420389 A JP34420389 A JP 34420389A JP 34420389 A JP34420389 A JP 34420389A JP H03201122 A JPH03201122 A JP H03201122A
Authority
JP
Japan
Prior art keywords
buffer memory
channel program
storage device
data
input
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
Application number
JP34420389A
Other languages
Japanese (ja)
Inventor
Akihiro Suzuki
鈴木 明廣
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP34420389A priority Critical patent/JPH03201122A/en
Publication of JPH03201122A publication Critical patent/JPH03201122A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the overhead of I/O by executing partial writing in a block of an auxiliary storage device by a single data updating channel program without dividing the operation 2<= I/O operations. CONSTITUTION:An I/O executing means 5 inputs the data updating channel program formed by a channel program forming means 4, outputs buffer information, accesses an operating system 7, and executes the program to update data. After ending said processing, the system 7 starts a buffer memory releasing means 6, which inputs the buffer memory information outputted from the means 5, accesses the system 7 and sends an address and a size to be memory information. The system 7 releases a buffer memory 102 allocated to a main storage device 10. Consequently, the overhead of I/O can be removed and the increment of cost of hardware can be suppressed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、書込み、の単位が一定の大きさに固定してあ
って記憶領域が複数個の前記書込みの単位でなる補助記
憶装置に記憶されているデータの更新を行う補助記憶装
置のデータ更新方式に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention provides storage in an auxiliary storage device in which the unit of writing is fixed to a certain size and the storage area is made up of a plurality of units of writing. The present invention relates to a data update method for an auxiliary storage device that updates data that is currently being stored.

(従来の技術) 磁気ディスク装置等の直接アクセス可能な補助記憶装置
では、記憶領域がプログラムによってアドレス可能な複
数のブロックに分割されている。
(Prior Art) In a directly accessible auxiliary storage device such as a magnetic disk device, a storage area is divided into a plurality of blocks that can be addressed by a program.

このブロックは補助記憶装置が同一装置だけで構成され
るならば記憶密度をあげるために大きいほうが望ましく
、また制御装置の制御を容易にするためには一定の大き
さであることが望ましい、この場合、補助記憶装置への
データの書込みはブロック単位であり、ソフトウェアに
よりその記憶装置に記憶してあるデータの更新を行うと
きに補助記憶装置の記憶領域のブロックとデータの更新
を行う記憶領域とが一致しない場合が発生する。
If the auxiliary storage device is composed of only the same devices, it is desirable that this block be large in order to increase the storage density, and it is desirable that it be a certain size in order to facilitate the control of the control device. , data is written to the auxiliary storage device in block units, and when software updates data stored in the storage device, the block in the storage area of the auxiliary storage device and the storage area where the data is updated are A mismatch may occur.

そこで、従来の補助記憶装置のデータ更新方式は、デー
タの更新を行う領域の全てのブロックを一旦主記憶装置
に移し、該主記憶装置上でデータの更新を行ってから主
記憶装置に移した全てのブロックを補助記憶装置に戻し
ていた。
Therefore, the conventional data update method for auxiliary storage devices is to first move all blocks in the area where data is to be updated to the main storage device, update the data on the main storage device, and then transfer it to the main storage device. All blocks were returned to auxiliary storage.

C−発明が解決しようとする課H) ところが、上述した従来の補助記憶装置のデータ更新方
式では、−旦該当ブロックを全て読出して所要部分の更
新を行い、再度書戻すという処理が必要となり、これを
ソフトウェアで行うと入出力が2回になってオーバヘッ
ドが増し、ハードウェアで行うとハードウェアのコスト
が高くなるという欠点があった。
C-Problem to be Solved by the Invention H) However, in the conventional data update method of the auxiliary storage device described above, it is necessary to first read out the entire block, update the required part, and write it back again. If this was done in software, the input/output would be performed twice, increasing overhead, and if done in hardware, the hardware cost would increase.

(課題を解決するための手段) 本発明の補助記憶装置のデータ更新方式は、記憶領域が
一定の大きさの複数のブロックで構成される補助記憶装
置に記憶してあるデータの内容の更新を行う補助記憶装
置のデータ更新方式であって、 応用プログラムに含まれるチャネルプログラムを入力す
るチャネルプログラム入力手段と、該チャネルプログラ
ム入力手段が入力したチャネルプログラムを解析して記
憶領域におけるデータ更新位置と一部だけがデータ更新
されるブロックの更新されないデータを退避させるバッ
ファメモリの大きさを計算するチャネルプログラム解析
手段と、 該チャネルプログラム解析手段で計算した大きさのバッ
ファメモリを主記憶装置に割当てるバッファメモリ割当
て手段と、 前記チャネルプログラム解析手段で計算したデータ更新
位置情報と前記バッファメモリ割当て手段で主記憶装置
に割当てたバッファメモリのバッファメモリアドレスと
からデータ更新チャネルプログラムを生成するチャネル
プログラム生成手段と、 該チャネルプログラム生成手段で生成したデータ更新チ
ャネルプログラムに基づきデータ更新を実行する入出力
実行手段と、 前記バッファメモリ割当て手段で主記憶装置に割当てた
バッファメモリを解放するバッファメモリ解放手段と、 から構成される。
(Means for Solving the Problems) A data update method for an auxiliary storage device of the present invention updates the contents of data stored in an auxiliary storage device whose storage area is composed of a plurality of blocks of a certain size. A method for updating data in an auxiliary storage device comprising a channel program input means for inputting a channel program included in an application program, and analyzing the channel program input by the channel program input means to match the data update position in a storage area. channel program analysis means for calculating the size of a buffer memory for saving unupdated data of blocks whose data is only updated; and a buffer memory for allocating the buffer memory of the size calculated by the channel program analysis means to the main storage device. allocation means; channel program generation means for generating a data update channel program from the data update position information calculated by the channel program analysis means and the buffer memory address of the buffer memory allocated to the main storage device by the buffer memory allocation means; An input/output execution means for executing data update based on the data update channel program generated by the channel program generation means; and a buffer memory release means for releasing the buffer memory allocated to the main storage device by the buffer memory allocation means. be done.

(実施例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の補助記憶装置のデータ更新方式の一実
施例を示す概略ブロック図であり、本実施例は、応用プ
ログラム8に含まれるチャネルプログラム81を入力す
るチャネルプログラム入力子p1tと、チャネルプログ
ラム入力手段1が入力したチャネルプログラム81を解
析して磁気ディスク装置11の記憶領域におけるデータ
更新位置と一部だけがデータ更新されるブロックの更新
されないデータを′iAMさせるバッファメモリの大き
さを計算するチャネルプログラム解析手段2と、チャネ
ルプログラム解析手F12で計算した大きさのバッファ
メモリを主記憶装置10に割当てるバッファメモリ割当
て手段3と、チャネルプログラム解析手段2で計算した
データ更新位置情報とバッファメモリ割当て手段3で主
記憶装置10に割当てたバッファメモリのバッファメモ
リアドレスとからデータ更新チャネルプログラムを生成
するチャネルプログラム生成手段4と、チャネルプログ
ラム生成手Fi4で生成したデータ更新チャネル10・
:”ダラムを実行する入出力実行手段5とバッファメモ
リ割当て手段3で主記憶装置10に割当てたバッファメ
モリを解放するバッファメモリ解放゛r・段6とから構
成されている。第2図はチャネルプログラム入力手段1
の処理を示す流れ図であり、第3図はチャネルプログラ
ム解析手段2の処理を示す流れ図であり、第16はバッ
ファメモリ割当て手段3の処理を示す流れ図であり、第
5図はチャネルプログラム生成手段4の処理を示す流れ
図であり、第6図は入出力実行手段5の処理を示す流れ
図であり、第7図はバッファメモリ解放手段6の処理を
示す流れ図であり、第8図は応用プログラム1によるア
クセス領域を説明する図であり、第9図はデータ更新チ
ャネルプログラムを説明する図である。以下に、本実施
例の動作を説明する。
FIG. 1 is a schematic block diagram showing an embodiment of the data update method of the auxiliary storage device of the present invention, and this embodiment has a channel program input terminal p1t that inputs a channel program 81 included in the application program 8; Analyze the channel program 81 input by the channel program input means 1 to determine the data update position in the storage area of the magnetic disk device 11 and the size of the buffer memory that will cause the unupdated data of the block whose data is only partially updated to be 'iAM'. A channel program analysis means 2 for calculating, a buffer memory allocation means 3 for allocating a buffer memory of the size calculated by the channel program analysis means F12 to the main storage device 10, and a buffer and data update position information calculated by the channel program analysis means 2. A channel program generation means 4 generates a data update channel program from the buffer memory address of the buffer memory allocated to the main storage device 10 by the memory allocation means 3, and a data update channel 10 generated by the channel program generation means Fi4.
:" It is composed of an input/output execution means 5 for executing the duram and a buffer memory release stage 6 for releasing the buffer memory allocated to the main storage device 10 by the buffer memory allocation means 3. FIG. Program input means 1
3 is a flowchart showing the processing of the channel program analysis means 2, 16th is a flowchart showing the processing of the buffer memory allocation means 3, and FIG. 5 is a flowchart showing the processing of the channel program generation means 4. 6 is a flowchart showing the processing of the input/output execution means 5, FIG. 7 is a flowchart showing the processing of the buffer memory release means 6, and FIG. 8 is a flowchart showing the processing of the input/output execution means 5. FIG. 9 is a diagram illustrating an access area, and FIG. 9 is a diagram illustrating a data update channel program. The operation of this embodiment will be explained below.

第1図において応用プログラム8が補助記憶装置である
磁気ディスク装置11上のある領域111にデータを書
込む場合を例にして説明する。その領域111は、第8
図および第9図にアドレスSLから82までの領域とし
て示してある。磁気ディスク装置11の記憶領域は固定
長Pバイトのブロックに分割してあり、データの書込み
はこのブロック単位で行われる。応用プログラム8が書
、込もうとする領域111は、磁気ディスク装置ll内
のバイトアドレスS1からLバイトであり、領域111
に書込むデータはLバイトの更新データ101である。
In FIG. 1, an example will be explained in which the application program 8 writes data to a certain area 111 on the magnetic disk device 11, which is an auxiliary storage device. The area 111 is the eighth
This is shown as an area from address SL to 82 in the figure and FIG. The storage area of the magnetic disk device 11 is divided into blocks of fixed length P bytes, and data is written in blocks. The area 111 that the application program 8 attempts to write to is L bytes from byte address S1 in the magnetic disk device ll, and the area 111
The data written to is L byte update data 101.

まず、応用プログラム8がデータ入出力のためにオペレ
ーティングシステム7を呼出すとオペレーティングシス
テム7は、チャネルプログラム入力手段1を起動する。
First, when the application program 8 calls the operating system 7 for data input/output, the operating system 7 starts the channel program input means 1.

チャネルプログラム入力手段1は、応用プログラム8に
含まれるチャネルプログラム81を読出しくステップ1
1)、チャネルプログラム解析手段2を起動する(ステ
ップ12)。
The channel program input means 1 reads out the channel program 81 included in the application program 8.Step 1
1) Start up the channel program analysis means 2 (step 12).

チャネルプログラム解析手a2は、データ入出力が書込
みであるか否かを判定しくステップ21)、書込みでな
ければデータ更新によるブロックへの書込みはないので
応用プログラム8のチャネルプログラム81の実行をオ
ペレーティングシステム7に要求する(ステップ22)
、データ入出力が書込みであるときは、データ更新によ
るブロックへの部分書込みが発生する可能性があるので
、予め外部からあたえられている磁気ディスク装置11
の書込み単位すなわちブロックのバイト数Pの値を入力
する(ステップ23)。
The channel program analyzer a2 determines whether or not the data input/output is a write (step 21). If it is not a write, there is no writing to the block due to data update, so the channel program 81 of the application program 8 is executed by the operating system. 7 (step 22)
, When data input/output is writing, there is a possibility that partial writing to a block due to data update will occur, so the magnetic disk device 11 provided in advance from the outside.
The value of the write unit, that is, the number of bytes P of a block, is input (step 23).

次に、アクセスの開始位置SLがブロックの境界に一致
しているか否かを判定する(ステップ24)、この判定
は、次のように行われる。第9図を参照すると、アクセ
ス開始のバイトアドレスSLは S+ =PXN+Dt        ・” (1)た
だしNは、81 /Pの整数部 とあられせるから、もしり、=0ならS、は第Nブロッ
クの開始アドレスに一致するのでブロック境界に一致す
ることになり、DI =OでないならS、は第Nブロッ
ク内の第D1バイトから始まるので、ブロック境界に一
致しないことになる。アクセスの開始位置S、がブロッ
ク境界に一致していなければ第9図のDIの領域をアク
セスするためのアクセス開始位置情報を生成する(ステ
ップ25)、このアクセス開始位置情報は(1)式によ
り、 アクセス開始バイトアドレスS 1(1= P X N
・・・(2) バイト長 =  D、          ・・・(3
)としてえられる0次に、アクセスの終了位置S2がブ
ロックの境界に一致しているか否か判定する(ステップ
24)、この判定は、次のように行なわれる。第9図を
参照すると、アクセス終了のバイトアドレスS1は、 Ss = S r + L= (N十M ) X P 
 D2・・・ (4) 従って、 Dt = (N+M)xP−(S+1 )・・・(5)
ただし、 M= (DI 十L)/Pの整数部  ・−(6)とあ
られせるから、もしD2=0ならS2は第N十Mブロッ
クの開始アドレスに一致するのでブロック境界に一致す
ることになり、D2=OでないならSlは第N十Mブロ
ック内の第(PDz)バイトで終了するのでブロック境
界に一致しないことになる。アクセスの終了位置Stが
ブロック境界に一致していなければ第9図のDIの領域
をアクセスするためのアクセス終了位置情報を生成する
(ステップ27)、このアクセス終了位置情報は、(4
)式および(5)式により、アクセス終了バイトアドレ
スS 2= S I十L(7〉 バイト長 =Dt          ・・・(8)と
してえられる0次に、データ更新による部分書込みの有
無を判定する(ステップ28)、DI。
Next, it is determined whether the access start position SL coincides with a block boundary (step 24). This determination is performed as follows. Referring to FIG. 9, the access start byte address SL is S+ = PXN + Dt ・” (1) However, since N is the integer part of 81 /P, if = 0, then S is of the Nth block. Since it matches the start address, it matches a block boundary, and if DI = O, S starts from the D1 byte in the Nth block, so it does not match a block boundary.The access start position S, If it does not match the block boundary, the access start position information for accessing the DI area in FIG. 1 (1=P
...(2) Byte length = D, ...(3
) Next, it is determined whether the access end position S2 coincides with a block boundary (step 24). This determination is performed as follows. Referring to FIG. 9, the byte address S1 at which the access ends is Ss = S r + L = (N0M) X P
D2... (4) Therefore, Dt = (N+M)xP-(S+1)...(5)
However, since M = (DI 10L)/integer part of P - (6), if D2 = 0, S2 matches the start address of the N10M block, so it matches the block boundary. Therefore, if D2=O, Sl ends at the (PDz)th byte in the N10Mth block, so it does not match the block boundary. If the access end position St does not coincide with the block boundary, access end position information for accessing the DI area in FIG. 9 is generated (step 27), and this access end position information is (4
) and (5), the access end byte address S 2 = S I 0 L (7> Byte length = Dt ... 0 obtained as (8)) Next, determine whether there is a partial write due to data update. (Step 28), DI.

DIがともにゼロのときのみ部分書込みは生じないので
チャネルプログラム81の実行をオペレーティングシス
テム7に要求する(ステップ22〉。
Since partial writing does not occur only when both DIs are zero, the operating system 7 is requested to execute the channel program 81 (step 22).

DI、DtがともにゼロでなければS、、、DI82お
よびDIを部分書込み情報として出力しくステップ29
)、バッファメモリ割当て手段3は、チャネルプログラ
ム解析手段2から出力されるDr、Dxをバッファメモ
リサイズとして入力しくステップ31)、オペレーティ
ングシステム7を呼出してD t + D 2バイトの
バッファメモリ102を主記憶装ff1oに割当てる(
ステップ32〉0次に、主記憶装置10に割当てたバッ
ファメモリ102のアドレスXを出力しくステップ33
)、チャネルプログラム生成手段4を起動する(ステッ
プ34)。
If DI and Dt are both zero, output S..., DI82 and DI as partial write information.Step 29
), the buffer memory allocation means 3 inputs Dr and Dx outputted from the channel program analysis means 2 as the buffer memory size (step 31), calls the operating system 7, and assigns the buffer memory 102 of D t + D 2 bytes as the main buffer memory size. Assign to memory device ff1o (
Step 32〉0 Next, output the address X of the buffer memory 102 allocated to the main storage device 10.Step 33
), the channel program generation means 4 is activated (step 34).

チャネルプログラム生成手段4は最初にアクセス開始位
置が部分書込みとなるか否かを判定する(ステップ41
)、DIがゼロでないならばアクセス開始位置は部分書
込みとなるので第9図のDIをアクセスするチャネル制
御Bct 、C雪。
The channel program generation means 4 first determines whether the access start position is a partial write (step 41).
), if DI is not zero, the access start position will be a partial write, so channel control Bct, C snow accesses DI in FIG.

Cs、C・でなる開始ブロックチャネルプログラムを生
成する(ステップ42〉、第9図において、チャネル制
御BC1,C* 、CsおよびC6はアクセス開始ブロ
ックNのDIの領域をアクセスするチャネル制御語であ
り、シークアドレスはS、。、データ長はDI、主記憶
装置10のバッファメモリ102のバッファメモリアド
レスはXである。
Generate a starting block channel program consisting of Cs and C. , the seek address is S, ., the data length is DI, and the buffer memory address of the buffer memory 102 of the main storage device 10 is X.

チャネルI11#語CI、C*はり、の大きさのデータ
更新が行われない領域を主記憶装置10に割当てたバッ
ファメモリ102へ退避するために使われ、チャネル制
御語cs 、C6はバッファメモリから再び磁気ディス
ク上のD1領域へ書戻すために使われる0次に、応用プ
ログラム8により更新データ101が書込まれる領域1
11をアクセスするデータ制御語C7でなる中間ブロッ
クチャネルプログラムを生成する(ステップ43)、こ
のデータ制御語C7は領域り、に続いてアクセスされる
ので、第8図に示すチャネル10グラム81のチャネル
制御語2の命令をチエインに書換えることにより生成さ
れる0次に;アクセス終了位置が部分書込みとなるか否
かを判定する(ステップ44)、DIがゼロでないなら
アクセス終了位置は部分書込みとなるので第9図のDI
をアクセスするチャネル制御語Cs 、 C4とデータ
制御語Cmとでなる終了ブロックチャネルプログラムを
生成する(ステップ45)、第9図において、チャネル
制御語Cs、C4およびデータ制御語C。
Channel I11# word CI, C* is used to save an area in which data is not updated to the buffer memory 102 allocated to the main memory 10, and channel control words cs, C6 are saved from the buffer memory. Area 1 is used to write back to area D1 on the magnetic disk.Next, area 1 is used to write update data 101 by application program 8.
An intermediate block channel program consisting of a data control word C7 that accesses the area 11 is generated (step 43). Since this data control word C7 is accessed following the area 11, the channel program of the channel 10-gram 81 shown in FIG. 0 order generated by rewriting the command of control word 2 into a chain; Determine whether the access end position is a partial write (step 44); if DI is not zero, the access end position is a partial write. Therefore, the DI in Figure 9
A finished block channel program consisting of channel control words Cs, C4 and data control word Cm is generated (step 45), which accesses channel control words Cs, C4 and data control word C (step 45).

はアクセス開始ブロック境界MのDlの領域を! アクセスするチャネル制御語またはデータ制御語であり
、シークアドレスはS2、データ長はDI、バッファメ
モリー02のバッファアドレスはX十DIである。チャ
ネル制御語Cs 、 C4はDIの大きさのデータ更新
されない領域を主記憶装置10に割当てたバッファメモ
リー02へ退避するために使われ、データ制御語Csは
バッファメモリから再び磁気ディスク上のD1領域へ書
戻すために使われる0次に、入出力実行手段5を起動す
る(ステップ47)。
is the area Dl of the access start block boundary M! This is the channel control word or data control word to be accessed, the seek address is S2, the data length is DI, and the buffer address of buffer memory 02 is X0DI. The channel control words Cs and C4 are used to save an area of the size of DI in which data will not be updated to the buffer memory 02 allocated to the main storage device 10, and the data control word Cs is used to save the data in the area of the size of DI to the buffer memory 02 allocated to the main storage device 10, and the data control word Cs is transferred from the buffer memory back to the D1 area on the magnetic disk. Next, the input/output execution means 5 is activated (step 47).

入出力実行手段5は、チャネルプログラム生成子p14
の出力したデータ更新チャネルプログラムを入力しくス
テップ51)、使用中である主記憶装置10のバッファ
メモリー02のアドレスとサイズからなるバッファメモ
リ情報を出力しくステップ52)、オペレーティングシ
ステム7を呼出してデータ更新チャネルプログラムを実
行してデータの更新を行う(ステップ53)。
The input/output execution means 5 is a channel program generator p14.
Input the data update channel program outputted by Step 51), output the buffer memory information consisting of the address and size of the buffer memory 02 of the main storage device 10 that is in use in Step 52), call the operating system 7 and update the data. The channel program is executed to update data (step 53).

入出力実行手段5により起動されたデータ更新チャネル
プログラムが終了するとオペレーテイングシステム7は
、バッファメモリ解放手段6を起動する。
When the data update channel program activated by the input/output execution means 5 ends, the operating system 7 activates the buffer memory release means 6.

バッファメモリ解放手段6は、入出力実行手段5が出力
したバッファメモリ情報を入力しくステップ61)、オ
ペレーティングシステム7を呼出してバッファメモリ情
報であるアドレスXとサイズD++Dzをオペレーティ
ングシステム7に送る。
The buffer memory release means 6 inputs the buffer memory information outputted by the input/output execution means 5 (step 61), calls the operating system 7, and sends the address X and size D++Dz, which are buffer memory information, to the operating system 7.

すると、オペレーティングシステム7は主記憶装置、1
0に割当てたバッファメモリ102を解放する。
Then, the operating system 7 uses the main memory, 1
Free the buffer memory 102 allocated to 0.

(発明の効果) 以上に説明したように本発明によれば、記憶領域が書込
み単位が固定長の複数のブロックでなる軸動記憶装置の
ブロックの一部分への部分書込みを、2回以上の入出力
に分けることなく単一のデータ更新チャネルプログラム
で実現できるから入出力のオーバヘッドをなくすことが
でき、またハードウェアのコストの上昇を回避できる1
本発明には以上のような効果がある。
(Effects of the Invention) As explained above, according to the present invention, partial writing to a part of a block of an axial storage device in which the storage area is composed of a plurality of blocks with write units of fixed length can be performed twice or more. Since it can be achieved with a single data update channel program without dividing it into outputs, input/output overhead can be eliminated and increases in hardware costs can be avoided.
The present invention has the above effects.

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

第1図は本発明の一実施例を示す概略ブロック図、第2
図はチャネルプログラム入力子p11の処理を示す流れ
図、第3図はチャネルプログラム解析手段2の処理を示
す流れ図、第4図はバッファメモリ割当て手段3の処理
を示す流れ図、第5図はチャネルプログラム生成手段4
の処理を示す流れ図、第6図は入出力実行手段5の処理
の流れを示す図、第7図はバッファメモリ解放手段6の
処理を示す流れ図、第8図は応用プログラム1によるア
クセス領域を説明する図、第9図は部分書込みチャネル
プログラムを説明する図である。 1・・・チャネルプログラム入力手段、2・・・チャネ
ルプログラム解析手段、3・・・バッファメモリ割当て
手段、4・・・チャネルプログラム生成手段、5・・・
入出力実行手段、6・・・バッファメモリ解放手段、7
・・・オペレーティングシステム、8・・・応用プログ
ラム、9・−c p u、10・・・主記憶装置、11
・・・磁気ディスク、81・・・チャネルプログラム、
101・・・更新データ、102・・・バッファメモリ
、111・・・領域。
FIG. 1 is a schematic block diagram showing one embodiment of the present invention, and FIG.
FIG. 3 is a flowchart showing the processing of the channel program input child p11, FIG. 3 is a flowchart showing the processing of the channel program analysis means 2, FIG. 4 is a flowchart showing the processing of the buffer memory allocation means 3, and FIG. 5 is a flowchart showing the processing of the channel program analysis means 3. Means 4
6 is a flowchart showing the processing of the input/output execution means 5, FIG. 7 is a flowchart showing the processing of the buffer memory release means 6, and FIG. 8 explains the access area by the application program 1. FIG. 9 is a diagram illustrating a partial write channel program. DESCRIPTION OF SYMBOLS 1... Channel program input means, 2... Channel program analysis means, 3... Buffer memory allocation means, 4... Channel program generation means, 5...
Input/output execution means, 6...buffer memory release means, 7
. . . Operating system, 8. Application program, 9.-cpu, 10. Main storage device, 11.
...Magnetic disk, 81...Channel program,
101... Update data, 102... Buffer memory, 111... Area.

Claims (1)

【特許請求の範囲】 記憶領域が一定の大きさの複数のブロックで構成される
補助記憶装置に記憶してあるデータの内容の更新を行う
補助記憶装置のデータ更新方式において、 応用プログラムに含まれるチャネルプログラムを入力す
るチャネルプログラム入力手段と、該チャネルプログラ
ム入力手段が入力したチャネルプログラムを解析して記
憶領域におけるデータ更新位置と一部だけがデータ更新
されるブロックの更新されないデータを退避させるバッ
ファメモリの大きさを計算するチャネルプログラム解析
手段と、 該チャネルプログラム解析手段で計算した大きさのバッ
ファメモリを主記憶装置に割当てるバッファメモリ割当
て手段と、 前記チャネルプログラム解析手段で計算したデータ更新
位置情報と前記バッファメモリ割当て手段で主記憶装置
に割当てたバッファメモリのバッファメモリアドレスと
からデータ更新チャネルプログラムを生成するチャネル
プログラム生成手段と、 該チャネルプログラム生成手段で生成したデータ更新チ
ャネルプログラムに基づきデータ更新を実行する入出力
実行手段と、 前記バッファメモリ割当て手段で主記憶装置に割当てた
バッファメモリを解放するバッファメモリ解放手段と、 から構成されることを特徴とする補助記憶装置のデータ
更新方式。
[Scope of Claim] In a data update method for an auxiliary storage device that updates the contents of data stored in an auxiliary storage device whose storage area is composed of a plurality of blocks of a certain size, the method is included in an application program. A channel program input means for inputting a channel program, and a buffer memory for analyzing the channel program inputted by the channel program input means and saving the data update position in the storage area and the unupdated data of the block whose data is only partially updated. channel program analysis means for calculating the size of the channel program analysis means; buffer memory allocation means for allocating the buffer memory of the size calculated by the channel program analysis means to the main storage device; and data update position information calculated by the channel program analysis means. Channel program generation means for generating a data update channel program from the buffer memory address of the buffer memory allocated to the main storage device by the buffer memory allocation means; A data update method for an auxiliary storage device, comprising: an input/output execution unit for executing the input/output execution unit; and a buffer memory release unit for releasing the buffer memory allocated to the main storage device by the buffer memory allocation unit.
JP34420389A 1989-12-28 1989-12-28 Data updating system for auxiliary storage device Pending JPH03201122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34420389A JPH03201122A (en) 1989-12-28 1989-12-28 Data updating system for auxiliary storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34420389A JPH03201122A (en) 1989-12-28 1989-12-28 Data updating system for auxiliary storage device

Publications (1)

Publication Number Publication Date
JPH03201122A true JPH03201122A (en) 1991-09-03

Family

ID=18367431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34420389A Pending JPH03201122A (en) 1989-12-28 1989-12-28 Data updating system for auxiliary storage device

Country Status (1)

Country Link
JP (1) JPH03201122A (en)

Similar Documents

Publication Publication Date Title
US4587628A (en) Method and apparatus for dynamic invocation of utilities
US6223344B1 (en) Apparatus and method for versioning persistent objects
US20220237041A1 (en) Parallel processing system performing in-memory processing
CN106909441A (en) The method that a kind of direct I/O of disk based on JVM is accessed
JPH09212369A (en) Storage area allocation device
JPS62239226A (en) Partial alteration of data record for direct access memory
US5519860A (en) Central processor index sort followed by direct record sort and write by an intelligent control unit
JPH03201122A (en) Data updating system for auxiliary storage device
JPS6032220B2 (en) information processing equipment
JPS6234240A (en) Data allotting system
JPS5856277A (en) Method and device for information processing
JPH0337748A (en) External storage accessing system utilizing main storage
JPS59123936A (en) Movement control system
JP2932812B2 (en) Language processing program execution device
JP2759952B2 (en) Cache memory
JPH06110813A (en) Asynchronous data input/output system
JPS63106053A (en) Data base writing/reading system
JPS6155752A (en) Control of expanded memory device
JP2721377B2 (en) BASIC program compression method
JPH04260139A (en) File access rpocessor
JPS5953944A (en) Program control system
JPH0293966A (en) Configuration expanding system
JPS60200341A (en) Virtual head addressing system of character data
JP2002183079A (en) Input/output data transferring method
JPH0378043A (en) Data update system for direct-read-after-write draw) type medium