JPH069042B2 - Sequential access control device for shared storage medium - Google Patents

Sequential access control device for shared storage medium

Info

Publication number
JPH069042B2
JPH069042B2 JP61214435A JP21443586A JPH069042B2 JP H069042 B2 JPH069042 B2 JP H069042B2 JP 61214435 A JP61214435 A JP 61214435A JP 21443586 A JP21443586 A JP 21443586A JP H069042 B2 JPH069042 B2 JP H069042B2
Authority
JP
Japan
Prior art keywords
file
storage medium
data
block
secondary storage
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 - Lifetime
Application number
JP61214435A
Other languages
Japanese (ja)
Other versions
JPS6368960A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP61214435A priority Critical patent/JPH069042B2/en
Publication of JPS6368960A publication Critical patent/JPS6368960A/en
Publication of JPH069042B2 publication Critical patent/JPH069042B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数ホスト計算機で共用可能な二次記憶媒体の
制御装置の共用記憶媒体の順次アクセス制御装置に関す
る。
Description: TECHNICAL FIELD The present invention relates to a sequential access control device for a shared storage medium of a control device for a secondary storage medium that can be shared by a plurality of host computers.

〔従来の技術〕[Conventional technology]

従来、この種の複数ホスト計算機で共用可能な二次記憶
媒体の制御装置は、二次記憶媒体上に存在するファイル
の物理アドレスを指定してアクセスする必要があり、順
次にアクセスする場合、順次にアクセスすべきファイル
のカレントアドレスをホスト計算機で管理し、ホスト計
算機間通信によって、カレントアドレスを入手する必要
があった。
Conventionally, a control device for a secondary storage medium that can be shared by multiple host computers of this type needs to specify the physical address of a file existing on the secondary storage medium for access. It was necessary to manage the current address of the file to be accessed by the host computer and obtain the current address through communication between the host computers.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上述した従来のホスト計算機で共用可能な二次記憶媒体
の制御装置は、二次記憶媒体上に存在するファイルを複
数ホスト計算機全体で順次にアクセスする場合、ホスト
計算機間で順次にアクセスすべきカレントアドレスを通
信手段によって入手し、しかもその通信,入手および入
出力の動作の同期を取らなければならず、二次記憶媒体
にアクセスし、入出力動作を行うまでに多くの処理時間
を費すという欠点があった。
The above-described control device for a secondary storage medium that can be shared by conventional host computers, when files existing on the secondary storage medium are sequentially accessed by multiple host computers as a whole, the current that should be sequentially accessed between the host computers. It is said that an address must be obtained by a communication means, and the communication, acquisition, and input / output operations must be synchronized, and it takes a lot of processing time to access the secondary storage medium and perform the input / output operation. There was a flaw.

また、ホスト計算機の入出力単位であるブロック内に複
数ホスト計算機からのデータをまとめてブロック化する
ことができなかったため、二次記憶媒体の容量の有効利
用ができないという欠点があった。
Further, since it is not possible to collectively block data from a plurality of host computers in a block which is an input / output unit of the host computer, there is a drawback that the capacity of the secondary storage medium cannot be effectively used.

本発明の目的は、上記欠点をなくし順次アクセスを高速
に行い、かつ二次記憶媒体の容量の有効利用を図ること
のできる共用記憶媒体の順次アクセス制御装置を提供す
ることにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a sequential access control device for a shared storage medium which can eliminate the above-mentioned drawbacks and can perform sequential access at high speed and can effectively utilize the capacity of the secondary storage medium.

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

本発明の共用記憶媒体の順次アクセス制御装置の構成
は、複数のホスト計算機で共用可能な二次記憶媒体上の
ファイルに対するアクセスを制御する順次アクセス制御
装置において、前記複数のホスト計算機それぞれから発
行される処理要求を受付け解析する処理要求解析手段
と、前記処理要求に対する応答を要求元のホスト計算機
に返す処理要求応答手段と、前記複数のホスト計算機そ
れぞれから発行される順次アクセス制御要求に備え前記
二次記憶媒体上のファイルに順次書込みあるいは順次読
出しを行っているカレントアドレス,ファイル識別子,
ブロック番号およびブロック内の相対位置を保持するフ
ァイルアドレス記憶域と、前記処理要求解析手段からの
要求によって前記ファイルアドレス記憶域中のカレント
アドレスによる読出書込制御および更新の制御を行うフ
ァイルアドレス制御手段と、前記二次記憶媒体との入出
力を行う入出力手段と、前記ファイル内のデータの出力
に備え一時的にそのデータをブロック単位に記憶するデ
ータバッファ域と、このデータバッファ域あるいは前記
二次記憶媒体に対しデータあるいはデータブロックの入
出力の制御を行うデータバッファ制御手段と、を具備す
る。
The configuration of the sequential access control device for the shared storage medium of the present invention is issued from each of the plurality of host computers in a sequential access control device for controlling access to a file on a secondary storage medium that can be shared by a plurality of host computers. Processing request analyzing means for receiving and analyzing a processing request, processing request response means for returning a response to the processing request to the requesting host computer, and provision for a sequential access control request issued from each of the plurality of host computers. Current address, file identifier, which is sequentially writing or reading to the file on the next storage medium,
A file address storage area for holding a block number and a relative position in the block, and a file address control means for controlling read / write control and update by a current address in the file address storage area in response to a request from the processing request analysis means. An input / output unit for performing input / output with the secondary storage medium; a data buffer area for temporarily storing the data in the file in block units in preparation for output of the data in the file; Data buffer control means for controlling input / output of data or data blocks to / from the next storage medium.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の共用媒体順次アクセス制御
装置を含むシステムのブロック図である。
FIG. 1 is a block diagram of a system including a shared medium sequential access control device according to an embodiment of the present invention.

第1図で2は二次記憶媒体制御装置、11,12はホス
ト計算機、31,32は二次記憶媒体である。この実施
例のホスト計算機は2台であるが、1台でも、3台以上
でも二次記憶媒体制御装置2に接続可能である。また、
1つのホスト計算機は複数台の二次記憶媒体制御装置2
が接続可能である。また、1つのホスト計算機は複数台
の二次記憶媒体制御装置2が接続可能である。この実施
例の二次記憶媒体2は2台であるが、1つの二次記憶媒
体制御装置2に複数台の二次記憶媒体の接続が可能であ
る。また、二次記憶媒体制御装置2は、その内部に、処
理要求解析手段4,処理要求応答手段5,ファイルアド
レス制御手段6,ファイルアドレス記憶域7,データバ
ッファ制御手段8,データバッファ域9,入出力手段1
0を含んでいる。
In FIG. 1, 2 is a secondary storage medium control device, 11 and 12 are host computers, and 31 and 32 are secondary storage media. The number of host computers in this embodiment is two, but it is possible to connect one, three or more host computers to the secondary storage medium control device 2. Also,
One host computer is a plurality of secondary storage medium control devices 2
Can be connected. Further, one host computer can be connected to a plurality of secondary storage medium control devices 2. Although there are two secondary storage media 2 in this embodiment, a plurality of secondary storage media can be connected to one secondary storage media control device 2. Further, the secondary storage medium control device 2 has therein a processing request analysis means 4, a processing request response means 5, a file address control means 6, a file address storage area 7, a data buffer control means 8, a data buffer area 9, Input / output means 1
Contains 0.

処理要求解析手段4は、複数のホスト計算機からのそれ
ぞれの処理要求を受けつけ、処理要求内容の解析を行
い、同一二次記憶媒体へのアクセスを可能とする手段
で、その動作は第2図の流れ図に示されている。
The processing request analysis means 4 is a means for receiving respective processing requests from a plurality of host computers, analyzing the processing request contents, and making it possible to access the same secondary storage medium, the operation of which is shown in FIG. Is shown in the flow chart of FIG.

処理要求応答手段5は、ホスト計算機11,12かの処
理要求に対し、要求処理不可あるいは要求処理完了に基
づく処理結果をホスト計算機11,12に応答する手段
である。
The processing request response unit 5 is a unit that responds to the processing requests from the host computers 11 and 12 to the host computers 11 and 12 with a processing result based on the request processing failure or the completion of the request processing.

ファイルアドレス制御手段6は、ファイルアドレス記憶
域7にファイルごとにその二次記憶媒体上のアドレスお
よび順次アクセスのために必要なカレントアドレスを格
納したり読出したり更新したりする手段で、その動作は
第3図の流れ図に示されている。
The file address control means 6 is a means for storing, reading and updating the address on the secondary storage medium and the current address required for sequential access for each file in the file address storage area 7, and its operation is This is shown in the flow chart of FIG.

データバッファ制御手段8は、処理要求解析手段5から
のデータの入出力要求に従って、データバッファ域9中
に要求されたデータを探し、データがあればそのデータ
を要求元に返すが、データバッファ域9にデータがない
場合、新たなバッファ域を確保し、二次記憶媒体にアク
セスするため、入出力手段10に制御を渡す手段であ
る。また、データバッファ域9の中に持つ更新済フラグ
を管理し、バッファ域が足りない場合に、更新済フラグ
の立っているブロックをファイルに書き戻し、そのバッ
ファ内のブロックを解放する。その動作は第4図の流れ
図に示されている。
The data buffer control means 8 searches for the requested data in the data buffer area 9 in accordance with the data input / output request from the processing request analysis means 5 and returns the data to the request source if there is data. When there is no data in 9, a new buffer area is secured and the control is passed to the input / output means 10 to access the secondary storage medium. Further, the updated flag held in the data buffer area 9 is managed, and when the buffer area is insufficient, the block in which the updated flag is set is written back to the file and the block in the buffer is released. The operation is shown in the flow chart of FIG.

入出力手段10は、データバッファ制御手段9あるいは
ファイルアドレス制御手段6からの要求により、二次記
憶媒体31,32との間でデータ等の入出力を行う手段
である。
The input / output means 10 is means for inputting / outputting data or the like to / from the secondary storage media 31, 32 in response to a request from the data buffer control means 9 or the file address control means 6.

次に、本発明の実施例の動作について図面を参照して詳
細に説明する。
Next, the operation of the embodiment of the present invention will be described in detail with reference to the drawings.

第1図において、ホスト計算機11,12から二次記憶
媒体制御装置2に出力される処理要求には、データまた
はブロック単位の順次書込要求,データまたはブロック
単位の順次読込要求,ブロック単位のアドレス指定書込
要求,ブロック単位のアドレス指定読込要求,ファイル
の登録要求,ファイルの削除要求,ファイル指定強制書
込要求がある。それらの要求に対して、第1図の各手段
の動作を詳細に説明する。
In FIG. 1, the processing requests output from the host computers 11 and 12 to the secondary storage medium control unit 2 include a data or block unit sequential write request, a data or block unit sequential read request, and a block unit address. There is a specified write request, a block unit address specified read request, a file registration request, a file deletion request, and a file specified forced write request. The operation of each means in FIG. 1 in response to these requests will be described in detail.

ファイルの登録削除要求がホスト計算機から出力される
と、処理要求解析手段4は処理要求の解析を実行し、該
当媒体の決定を行い(第2図ステップ21)、該当媒体
がアクセス可能な判断を行う(第2図ステップ22)。
該当媒体に対し、他のホスト計算機から占有,あるいは
プロテクト,または障害によってアクセス不可ならば、
処理要求の受付けが不可という通知をホスト計算機に返
す(第2図ステップ29)。該当媒体がアクセス可能な
らば、ファイルアドレス制御手段に処理要求を通知する
(第2図ステップ24)。ファイルアドレス制御手段6
はファイルの登録削除要求のチェックを行い(第3図ス
テップ31)、ファイルの登録削除要求であれば、ファ
イルアドレス記憶域7の更新を行い(第3図ステップ3
2)、入出力手段10に通知し、二次記憶媒体の更新を
行う。処理の応答は、入出力手段10から、ファイルア
ドレス制御手段6を経由し、処理要求応答手段5によっ
て、ホスト計算機に返される。
When the file registration / deletion request is output from the host computer, the processing request analysis unit 4 analyzes the processing request, determines the corresponding medium (step 21 in FIG. 2), and determines whether the corresponding medium is accessible. (Step 22 in FIG. 2).
If the medium cannot be accessed by another host computer due to occupation, protection, or failure,
A notification that the processing request cannot be accepted is returned to the host computer (step 29 in FIG. 2). If the medium is accessible, the file address control means is notified of the processing request (step 24 in FIG. 2). File address control means 6
Checks the file registration deletion request (step 31 in FIG. 3), and if the file registration deletion request, updates the file address storage area 7 (step 3 in FIG. 3).
2) Notify the input / output unit 10 to update the secondary storage medium. The processing response is returned from the input / output unit 10 to the host computer via the file address control unit 6 and the processing request response unit 5.

順次書込要求がホスト計算機から出された場合、処理要
求解析手段4は要求の解析を行い(第2図ステップ2
1)、アクセスする媒体がアクセス可能か否かのチェッ
クを行い(第2図ステップ22)、アクセス可能なら
ば、第2図のステップ23,ステップ25の処理を行っ
た後、ステップ24で、ファイルアドレス制御手段6に
制御を渡す。ファイルアドレス制御手段6は、第3図の
ステップ31,ステップ34と処理を行い、ステップ3
5でファイルアドレス記憶域7から書込用アドレスを得
る。
When a sequential write request is issued from the host computer, the processing request analysis means 4 analyzes the request (step 2 in FIG. 2).
1) Then, it is checked whether the medium to be accessed is accessible (step 22 in FIG. 2), and if it is accessible, the processes in steps 23 and 25 in FIG. Control is passed to the address control means 6. The file address control means 6 carries out the processing with step 31 and step 34 in FIG.
At 5, the write address is obtained from the file address storage area 7.

ファイルアドレス記憶域7は、第1表に示すテーブルを
記憶しており、ファイル識別子Fに従い、順次書込み
用アドレスW(w)および順次読込み用アドレスR
(r)を得ることができる。ここで、Wはブロッ
ク番号を示しwはブロック内相対位置を示している。
,rも同様に、ブロック番号とブロック内相対位
置を示す。
File address storage 7 stores a table shown in Table 1, in accordance with the file identifier F n, for sequentially write address W n (w n) and sequentially read address R
1 (r 1 ) can be obtained. Here, W n indicates the block number and w n indicates the relative position within the block.
Similarly, R 1 and r 1 also indicate the block number and the relative position within the block.

従って、順次アクセス要求において、媒体識別子,ファ
イル識別子および書込データをパラメータとして受取る
ことにより、ファイルアドレス制御手段6は書込むべき
アドレスをファイルアドレス記憶域7から得て(第3図
ステップ35)、データバッファ制御手段8に通知する
(第3図ステップ36)。
Therefore, by receiving the medium identifier, the file identifier and the write data as parameters in the sequential access request, the file address control means 6 obtains the address to be written from the file address storage area 7 (step 35 in FIG. 3), The data buffer control means 8 is notified (step 36 in FIG. 3).

データバッファ制御手段8はデータバッファ域9内をサ
ーチし要求ブロックがその中に存在するか否かをチェッ
クし(第4図ステップ43)、存在しなければデータバ
ッファ域9にバッファ領域を確保して(第4図ステップ
44)、入出力手段10に通知してデータブロックをフ
ァイルからバッファに読込み(第4図ステップ45)、
次に、書込み処理か否かをチェックし(第4図ステップ
46)、書込処理ならばブロック単位か否かをチェック
する(第4図ステップ48)。ブロック単位ならば、ブ
ロック単位の転送をデータバッファ域9に行う(ステッ
プ52)。ブロック単位の要求でなければ、該当ブロッ
ク内に書込みのためのスペースがあるか否かをチェック
を行い(第4図ステップ49)、なければ次のブロック
を獲得し(第4図ステップ50)、ホスト計算機からデ
ータバッファ域9内のブロックへデータの転送を行い、
データをブロック化し(第4図ステップ51)、更新し
たブロックに更新済フラグを立て(第4図ステップ5
2)、ファイルアドレス制御手段にアドレスを通知する
(第4図ステップ55)。
The data buffer control means 8 searches the data buffer area 9 to check whether or not the requested block exists therein (step 43 in FIG. 4). If it does not exist, the buffer area is secured in the data buffer area 9. (Step 44 in FIG. 4), notifies the input / output means 10 to read the data block from the file into the buffer (step 45 in FIG. 4),
Next, it is checked whether it is a writing process (step 46 in FIG. 4), and if it is a writing process, it is checked whether it is a block unit (step 48 in FIG. 4). If it is a block unit, the block unit is transferred to the data buffer area 9 (step 52). If it is not a block unit request, it is checked whether or not there is a space for writing in the corresponding block (step 49 in FIG. 4), and if not, the next block is acquired (step 50 in FIG. 4). Data is transferred from the host computer to the block in the data buffer area 9,
The data is divided into blocks (step 51 in FIG. 4), and an updated flag is set in the updated block (step 5 in FIG. 4).
2) Notify the address to the file address control means (step 55 in FIG. 4).

その後、処理要求応答手段5を介してホスト計算機1
1,12に処理の完了を通知する。
Then, via the processing request response means 5, the host computer 1
1 and 12 are notified of the completion of processing.

順次読込要求の場合の動作は、順次書込要求の場合の動
作と読込処理およびファイルアドレス記憶域の順次読込
用アドレスを参照するところが異なる。
The operation in the case of the sequential read request is different from the operation in the case of the sequential write request by referring to the read processing and the sequential read address in the file address storage area.

ホスト計算機から順次あるいはアドレス指定の書込また
は読込要求があった場合、処理要求解析手段4は処理要
求の解析および媒体の決定を行い(第2図ステップ2
1)、該当媒体がアクセス可能ならば、ステップ23,
25,26の処理を行ないステップ28でデータバッフ
ァ制御手段8に通知する。データバッファ制御手段8は
データバッファ域9に要求ブロックが存在するか否かを
チェックし(第4図ステップ43)、要求ブロックが存
在しなければ、データバッファ域9に領域を確保し(第
4図ステップ44)、入出力手段10に通知しデータブ
ロックを読込み(第4図ステップ45)、書込処理か否
かの判断を行い(第4図ステップ46)、読込処理なら
ば、ステップ47でデータバッファ域9のブロックのデ
ータあるいはブロック内のデータをホスト計算機へデー
タ転送を行い、処理要求応答手段5を介してホスト計算
機に処理の完了を通知する。順次アクセスの場合はファ
イルアドレス制御手段6にカレントアドレスを通知する
(第4図ステップ54,55)。書込処理の場合(ステ
ップ46)、ブロック単位か否かのチェックを行う(第
4図ステップ48)が、順次アクセス処理以外のアドレ
ス指定の場合はブロック単位の処理となるので、ブロッ
クの転送を行い(第4図ステップ52)、そのブロック
のデータバッファ域の中に持つ更新済フラグを立てて
(第4図ステップ53)、処理要求応答手段5を介して
ホスト計算機に処理の完了を通知する。
When there is a writing or reading request from the host computer sequentially or with address designation, the processing request analysis means 4 analyzes the processing request and determines the medium (step 2 in FIG. 2).
1) If the medium is accessible, step 23,
The processes 25 and 26 are performed, and the data buffer control means 8 is notified in step 28. The data buffer control means 8 checks whether or not the requested block exists in the data buffer area 9 (step 43 in FIG. 4), and if the requested block does not exist, secures the area in the data buffer area 9 (fourth step). (Step 44 in FIG. 4), notifies the input / output means 10 to read the data block (step 45 in FIG. 4), and determines whether or not it is a writing process (step 46 in FIG. 4). The data in the block of the data buffer area 9 or the data in the block is transferred to the host computer, and the completion of the process is notified to the host computer via the process request response means 5. In the case of sequential access, the file address control means 6 is notified of the current address (steps 54 and 55 in FIG. 4). In the case of write processing (step 46), it is checked whether it is in block units (step 48 in FIG. 4). However, in the case of address designation other than sequential access processing, processing is in block units, so transfer of blocks is performed. (Step 52 in FIG. 4), the updated flag held in the data buffer area of the block is set (Step 53 in FIG. 4), and the completion of processing is notified to the host computer via the processing request response unit 5. .

ホスト計算機からファイル指定強制書込要求は、媒体識
別子およびファイル識別子を指定して要求して来る。そ
の要求を処理要求解析手段5が受付けると、要求の解析
を行い(第2図ステップ21)、ステップ22のチェッ
クをした後、ステップ23,25,26,27の処理を
行ないステップ28でデータバッファ制御手段8に通知
され、データバッファ制御手段8は、指定された媒体識
別子およびファイル識別子に該当するブロックをデータ
バッファ域9中にサーチし、更新済フラグの立っている
ブロックを入出力手段10に通知して書込処理を第4図
のステップ42で行う。その完了は、処理要求応答手段
を介してホスト計算機に通知される。更新済フラグの立
っているブロックの書込は、強制書込要求のあった場合
だけではない。データバッファ制御手段8は、データバ
ッファ域中のバッファ領域を確保する場合、その中のス
ペースが不足すると、更新済フラグの立っているブロッ
クをファイルに書き戻して、スペースを確保することが
ある。
A file specification compulsory write request is issued from the host computer by specifying a medium identifier and a file identifier. When the processing request analysis means 5 accepts the request, the request is analyzed (step 21 in FIG. 2), the step 22 is checked, the steps 23, 25, 26 and 27 are processed, and the data buffer is processed in the step 28. The control means 8 is notified, and the data buffer control means 8 searches the data buffer area 9 for a block corresponding to the specified medium identifier and file identifier, and outputs the block with the updated flag to the input / output means 10. Notifying and writing processing is performed in step 42 of FIG. The completion is notified to the host computer via the processing request response means. The writing of the block in which the updated flag is set is not limited to the case where the forced writing request is made. When the buffer area in the data buffer area is secured, the data buffer control means 8 may secure the space by writing back the block in which the updated flag is set to the file when the space in the buffer area is insufficient.

また、強制書込要求を媒体識別子,ファイル識別子に加
えてホスト識別子およびホスト内タスク識別子で行うこ
とも可能であるが、その場合には、更新済フラグを立て
るとき、ホスト識別子およびホスト内タスク識別子も記
録しておく必要がある。また、第4図のステップ43で
データバッファ域内でデータブロックを見つけた場合、
更新済フラグを立てたホスト識別子およびホスト内タス
ク識別子と処理要求のそれとが異なっていたら、書戻し
を行なった後、処理を行う。
It is also possible to make a compulsory write request by using the host identifier and in-host task identifier in addition to the medium identifier and file identifier. In that case, when the updated flag is set, the host identifier and in-host task identifier are set. Also needs to be recorded. If a data block is found in the data buffer area in step 43 of FIG. 4,
If the host identifier for which the updated flag is set and the task identifier in the host are different from those of the processing request, write-back is performed and then processing is performed.

〔発明の効果〕 以上説明したように本発明によれば、複数のホスト計算
機で共用可能な二次記憶媒体制御装置に、順次アクセス
を備え、ファイルアドレス記憶域をもち、その中にファ
イルに対応したカレントなブロック番号とブロック内相
対位置アドレスを記憶しておくことと、データバッファ
域を持ちその中に一時的にデータブロックを保有してお
くことにより、二次記憶媒体上に存在するファイルを複
数ホスト間で通信することなしに順次にアクセスするこ
とができるという効果がある。
[Effects of the Invention] As described above, according to the present invention, a secondary storage medium control device that can be shared by a plurality of host computers is provided with sequential access, has a file address storage area, and handles files therein. By storing the current block number and relative address within the block, and by temporarily holding a data block in the data buffer area, the file existing on the secondary storage medium can be saved. There is an effect that it is possible to sequentially access without communicating between a plurality of hosts.

また、以上のことにより、ホスト計算機の入出力単位で
あるブロック内に複数のホスト計算機からのデータを混
在させることができ、二次記憶媒体の容量の有効利用が
できるという効果がある。
Further, as described above, data from a plurality of host computers can be mixed in a block that is an input / output unit of the host computer, and the capacity of the secondary storage medium can be effectively used.

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

第1図は本発明の一実施例の共用記憶媒体の順次アクセ
ス制御装置を含むシステムのブロック図、第2図は本発
明の処理要求解析手段4の処理例の流れ図、第3図は本
発明のファイルアドレス制御手段6の処理例の流れ図、
第4図は本発明のデータバッファ制御手段8の処理例の
流れ図である。 2…二次記憶媒体制御装置、3…二次記憶媒体、4…処
理要求解析手段、5…処理要求応答手段、6…ファイル
アドレス制御手段、7…ファイルアドエス記憶域、8…
データバッファ制御手段、9…データバッファ域、10
…入出力手段、11,12…ホスト計算機。
FIG. 1 is a block diagram of a system including a sequential access control device for a shared storage medium according to an embodiment of the present invention, FIG. 2 is a flow chart of a processing example of a processing request analysis unit 4 of the present invention, and FIG. Of the processing example of the file address control means 6 of
FIG. 4 is a flow chart of a processing example of the data buffer control means 8 of the present invention. 2 ... Secondary storage medium control device, 3 ... Secondary storage medium, 4 ... Processing request analysis means, 5 ... Processing request response means, 6 ... File address control means, 7 ... File address storage area, 8 ...
Data buffer control means, 9 ... Data buffer area, 10
... I / O means, 11, 12 ... Host computer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のホスト計算機で共用可能な二次記憶
媒体上のファイルに対するアクセスを制御する順次アク
セス制御装置において、前記複数のホスト計算機それぞ
れから発行される処理要求を受付け解析する処理要求解
析手段と、前記処理要求に対する応答を要求元のホスト
計算機に返す処理要求応答手段と、前記複数のホスト計
算機それぞれから発行される順次アクセス制御要求に備
え前記二次記憶媒体上のファイルに順次書込みあるいは
順次読出しを行っているカレントアドレス,ファイル識
別子,ブロック番号およびブロック内の相対位置を保持
するファイルアドレス記憶域と、前記処理要求解析手段
からの要求によって前記ファイルアドレス記憶域中のカ
レントアドレスによる読出書込制御および更新の制御を
行うファイルアドレス制御手段と、前記二次記憶媒体と
の入出力を行う入出力手段と、前記ファイル内のデータ
の出力に備え一時的にそのデータをブロック単位に記憶
するデータバッファ域と、このデータバッファ域あるい
は前記二次記憶媒体に対しデータあるいはデータブロッ
クの入出力の制御を行うデータバッファ制御手段と、を
具備したことを特徴とする共用記憶媒体の順次アクセス
制御装置。
1. A processing request analysis for accepting and analyzing a processing request issued from each of the plurality of host computers in a sequential access control device for controlling access to a file on a secondary storage medium that can be shared by the plurality of host computers. Means, processing request response means for returning a response to the processing request to the requesting host computer, and sequential writing to a file on the secondary storage medium in preparation for a sequential access control request issued from each of the plurality of host computers, or A file address storage area that holds a current address, a file identifier, a block number, and a relative position within the block that are sequentially read out, and a read-out document by a current address in the file address storage area according to a request from the processing request analysis unit. File add that controls embedded and update Control means, an input / output means for performing input / output with the secondary storage medium, a data buffer area for temporarily storing the data in the file in block units in preparation for the output of the data in the file, and this data buffer area Or a sequential access control device for a shared storage medium, comprising: a data buffer control means for controlling input / output of data or data blocks to / from the secondary storage medium.
JP61214435A 1986-09-10 1986-09-10 Sequential access control device for shared storage medium Expired - Lifetime JPH069042B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61214435A JPH069042B2 (en) 1986-09-10 1986-09-10 Sequential access control device for shared storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61214435A JPH069042B2 (en) 1986-09-10 1986-09-10 Sequential access control device for shared storage medium

Publications (2)

Publication Number Publication Date
JPS6368960A JPS6368960A (en) 1988-03-28
JPH069042B2 true JPH069042B2 (en) 1994-02-02

Family

ID=16655733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61214435A Expired - Lifetime JPH069042B2 (en) 1986-09-10 1986-09-10 Sequential access control device for shared storage medium

Country Status (1)

Country Link
JP (1) JPH069042B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0671414A1 (en) * 1993-09-30 1995-09-13 Seikagaku Kogyo Kabushiki Kaisha Antithrombotic

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3098802B2 (en) * 1991-07-02 2000-10-16 松下電送システム株式会社 Electronic file device data transfer method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5981748A (en) * 1982-11-02 1984-05-11 Nec Corp File control processor
JPS61103745U (en) * 1984-12-14 1986-07-02

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0671414A1 (en) * 1993-09-30 1995-09-13 Seikagaku Kogyo Kabushiki Kaisha Antithrombotic
EP0671414B1 (en) * 1993-09-30 2002-01-02 Seikagaku Kogyo Kabushiki Kaisha Dermatan sulfate composition as antithrombotic

Also Published As

Publication number Publication date
JPS6368960A (en) 1988-03-28

Similar Documents

Publication Publication Date Title
JP2868141B2 (en) Disk array device
JP2008004120A (en) Direct access storage system
JP2002268933A (en) Cluster system
JP2004295465A (en) Computer system
JP2781092B2 (en) Exclusive control method between systems
JP2006172067A (en) Database management method, system and program
JPH069042B2 (en) Sequential access control device for shared storage medium
JP2005309648A (en) File arrangement system
JP2924786B2 (en) Exclusive control system, exclusive control method, and medium for storing exclusive control program for shared file in loosely coupled multiple computer system
JP5031538B2 (en) Data distribution method, data distribution program, and parallel database system
JPS63311450A (en) Exclusive control system for file access
JP2866376B2 (en) Disk array device
JP2994917B2 (en) Storage system
JP2641399B2 (en) File management device
JP3013993B2 (en) Vector processing method
JPS61276040A (en) File access system
JPH0744444A (en) Parallel file generating method and access method
JPS63291145A (en) Method for managing file
JPH0447346A (en) Decentraiized file processing system
JPH05334012A (en) Large capacity disk controller
JPH06337808A (en) Memory management system
JPH03268146A (en) Fast file access system
JPS61286920A (en) File control system for local area network
JPH0564824B2 (en)
JPH0320844A (en) Transaction processing system for electronic computer