JPH08263220A - Data input and output device - Google Patents

Data input and output device

Info

Publication number
JPH08263220A
JPH08263220A JP6233895A JP6233895A JPH08263220A JP H08263220 A JPH08263220 A JP H08263220A JP 6233895 A JP6233895 A JP 6233895A JP 6233895 A JP6233895 A JP 6233895A JP H08263220 A JPH08263220 A JP H08263220A
Authority
JP
Japan
Prior art keywords
data
magnetic disk
disk medium
control unit
storage means
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
JP6233895A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Watanabe
一良 渡辺
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 JP6233895A priority Critical patent/JPH08263220A/en
Publication of JPH08263220A publication Critical patent/JPH08263220A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To accelerate rate for inputting and outputting data by shortening the processing time of write and read to a disk medium by reducing the moving amount of a head on the disk medium. CONSTITUTION: A data reception control part 4 receives data from the outside and writes them in a data buffer part 2 having capacity enough for storing data for one track on a magnetic disk medium 1, and a data transmission control part 5 reads the data from a data buffer part 3 having capacity enough for storing data for one track on the magnetic disk medium 1 and transmits them to the outside. A magnetic disk control part 6 performs data write and data read between the data buffer parts 2 and 3 and the magnetic disk medium 1. The magnetic disk control part 6 once writes data into the magnetic disk medium 1 for the unit of a track length on the magnetic disk medium 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータ入出力装置に関
し、特にゲートウェイ装置等におけるデータの入出力制
御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data input / output device, and more particularly to a data input / output control system in a gateway device or the like.

【0002】[0002]

【従来の技術】従来、この種のデータ入出力制御方式と
しては、一般的に取扱うデータ量が比較的少量であるた
めに、一連のデータを磁気ディスク媒体のセクタ単位に
分割し、そのセクタ単位のデータを磁気ディスク媒体に
書込んだり、あるいは磁気ディスク媒体からセクタ単位
のデータを読出したりしている。
2. Description of the Related Art Conventionally, as a data input / output control system of this kind, a series of data is divided into sector units of a magnetic disk medium because the amount of data generally handled is comparatively small, and the sector unit is divided. Data is written on the magnetic disk medium, or sector data is read from the magnetic disk medium.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のデータ
入出力制御方式では、セクタ単位で磁気ディスク媒体に
データを書込んでいるので、複数セクタにまたがる可変
長のデータの書込みや消去を繰り返すうちに磁気ディス
ク媒体上で一連のデータがセクタ単位で物理的に散在し
てしまう。
In the above-mentioned conventional data input / output control system, since data is written in the magnetic disk medium in sector units, while writing or erasing variable-length data over a plurality of sectors is repeated. In addition, a series of data is physically scattered in units of sectors on the magnetic disk medium.

【0004】そのため、磁気ディスク媒体からデータを
セクタ単位で読出す場合、上記の一連の磁気ディスク媒
体に対する書込み処理でデータがセクタ単位で物理的に
散在してしまうと、磁気ディスク媒体上でのヘッドの移
動量が増加し、処理時間が伸張してしまう。
Therefore, when data is read from the magnetic disk medium in units of sectors, if the data is physically scattered in units of sectors by the above-described write processing on the magnetic disk medium, the heads on the magnetic disk medium are read. The amount of movement of the item increases and the processing time increases.

【0005】特に、高精細な画像データのような大容量
データを高速度に処理することを要求される装置におい
て、その性能に対して磁気ディスク媒体における書込み
読出しの処理時間の伸びは非常に大きな損失となる。
In particular, in an apparatus which is required to process a large amount of data such as high-definition image data at a high speed, the writing / reading processing time in the magnetic disk medium is greatly increased with respect to its performance. It will be a loss.

【0006】そこで、本発明の目的は上記の問題点を解
消し、ディスク媒体上でのヘッドの移動量を削減してデ
ィスク媒体に対する書込み読出しの処理時間を短縮する
ことができ、データの入出力の速度を向上させることが
できるデータ入出力装置を提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned problems, reduce the amount of movement of the head on the disk medium, and shorten the write / read processing time for the disk medium. An object of the present invention is to provide a data input / output device capable of improving the speed of the above.

【0007】[0007]

【課題を解決するための手段】本発明によるデータ入出
力装置は、外部から受信したデータをディスク媒体に書
込む受信機能と、前記受信機能により書込んだデータを
前記ディスク媒体から読出して外部へ送信する送信機能
とを時分割に並行処理するデータ入出力装置であって、
前記ディスク媒体への書込みデータ及び前記ディスク媒
体からの読出しデータを格納する格納手段と、外部から
データを受信しかつそのデータを前記格納手段に書込む
データ受信制御手段と、前記ディスク媒体から読出して
前記格納手段に格納されたデータを前記格納手段から読
出して外部へ送信するデータ送信制御手段と、前記デー
タ受信制御手段からの指示に応答して前記格納手段のデ
ータを前記ディスク媒体へ1トラック長を単位として書
込みかつ前記データ送信制御手段からの指示に応答して
前記ディスク媒体から1トラック長を単位としてデータ
を読出して前記格納手段へ書込むディスク制御手段とを
備えている。
A data input / output device according to the present invention has a receiving function of writing data received from the outside to a disk medium, and reading the data written by the receiving function from the disk medium to the outside. A data input / output device that processes a transmission function for transmitting in parallel in a time-sharing manner,
Storage means for storing write data to the disk medium and read data from the disk medium, data reception control means for receiving data from the outside and writing the data in the storage means, and reading from the disk medium. Data transmission control means for reading the data stored in the storage means from the storage means and transmitting the data to the outside, and one track length of the data in the storage means to the disk medium in response to an instruction from the data reception control means. And a disk control means for reading data from the disk medium in units of one track length and writing the data in the storage means in response to an instruction from the data transmission control means.

【0008】[0008]

【実施例】次に本発明の一実施例について図面を参照し
て説明する。
An embodiment of the present invention will be described with reference to the drawings.

【0009】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、本発明の一実施例によるデ
ータ入出力装置は磁気ディスク媒体1と、磁気ディスク
媒体1上の1トラック分のデータを格納するために充分
な容量を有するデータバッファ部2,3と、外部からデ
ータを受信してデータバッファ部2への書込み制御を行
うデータ受信制御部4と、データバッファ部3からデー
タを読出して外部へのデータ送信制御を行うデータ送信
制御部5と、データバッファ部2から磁気ディスク媒体
1へのデータ書込み及び磁気ディスク媒体1からデータ
バッファ部3へのデータ読出しを制御する磁気ディスク
制御部6とから構成される。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. 1, a data input / output device according to an embodiment of the present invention includes a magnetic disk medium 1, data buffer units 2 and 3 having a capacity sufficient to store one track of data on the magnetic disk medium 1. A data reception control unit 4 that receives data from the outside and controls writing to the data buffer unit 2, a data transmission control unit 5 that reads data from the data buffer unit 3 and controls data transmission to the outside, and a data buffer The magnetic disk controller 6 controls the writing of data from the unit 2 to the magnetic disk medium 1 and the reading of data from the magnetic disk medium 1 to the data buffer unit 3.

【0010】図2は図1の磁気ディスク媒体1上でのデ
ータ格納形式を示すための説明図である。図において、
磁気ディスク媒体1上の各トラック1〜nには夫々デー
タサイズ情報と次トラック番号情報とデータとが格納さ
れている。
FIG. 2 is an explanatory diagram showing a data storage format on the magnetic disk medium 1 of FIG. In the figure,
Data size information, next track number information, and data are stored in the tracks 1 to n on the magnetic disk medium 1, respectively.

【0011】これら図1及び図2を用いて本発明の一実
施例のデータ入出力装置による磁気ディスク媒体1への
データ書込み及び磁気ディスク媒体1からのデータ読出
し各々の動作について説明する。
The operations of writing data to the magnetic disk medium 1 and reading data from the magnetic disk medium 1 by the data input / output device of one embodiment of the present invention will be described with reference to FIGS. 1 and 2.

【0012】データ受信制御部4は一連のデータの受信
開始時に、磁気ディスク制御部6に対して受信用のデー
タバッファの獲得を要求する。磁気ディスク制御部6は
データ受信制御部4からのデータバッファ獲得要求に応
答して、磁気ディスク媒体1上の1トラック分の容量か
ら図2に示すデータサイズ情報および次トラック番号情
報の情報量を差し引いてバッファ限界サイズを算出す
る。
The data reception control unit 4 requests the magnetic disk control unit 6 to acquire a data buffer for reception at the start of reception of a series of data. In response to the data buffer acquisition request from the data reception control unit 4, the magnetic disk control unit 6 obtains the information amount of the data size information and the next track number information shown in FIG. 2 from the capacity of one track on the magnetic disk medium 1. Calculate the buffer limit size by subtracting.

【0013】磁気ディスク制御部6はデータバッファ部
2内の任意の領域をデータ受信用バッファとして割当
て、データ受信用バッファの先頭アドレスとバッファ限
界サイズとをデータ受信制御部4へ返送する。
The magnetic disk control unit 6 allocates an arbitrary area in the data buffer unit 2 as a data reception buffer, and returns the head address of the data reception buffer and the buffer limit size to the data reception control unit 4.

【0014】データ受信制御部4はデータを外部から受
信して順次データバッファ部2へ書込み、バッファ限界
サイズ分のデータ書込みを完了すると、磁気ディスク制
御部6に対してディスク書込み要求を出力する。
The data reception control unit 4 receives data from the outside and sequentially writes the data into the data buffer unit 2. When the data write for the buffer limit size is completed, the data reception control unit 4 outputs a disk write request to the magnetic disk control unit 6.

【0015】磁気ディスク制御部6はディスク書込み要
求を受けると、要求のあったデータにデータサイズ情報
および次トラック番号情報を付加し、1トラック分のデ
ータとして磁気ディスク媒体1へ書込む。その後に、磁
気ディスク制御部6はディスク書込み完了通知によって
データ受信制御部4へ応答する。
When the magnetic disk controller 6 receives a disk write request, the data size information and the next track number information are added to the requested data and the data for one track is written to the magnetic disk medium 1. After that, the magnetic disk control unit 6 responds to the data reception control unit 4 with a disk write completion notification.

【0016】データ受信制御部4はディスク書込み完了
通知を受けると、上述したデータバッファ部2へのデー
タ書込みを再開し、一連のデータ受信が完了するまで上
記の処理を繰り返し行う。
Upon receiving the disk write completion notification, the data reception control unit 4 restarts the above-described data writing to the data buffer unit 2 and repeats the above processing until a series of data reception is completed.

【0017】データ受信制御部4は一連のデータ受信が
完了すると、磁気ディスク制御部6に最終データである
旨の情報と最終データブロックのデータ量とを付加して
ディスク書込み要求を出力する。
When a series of data reception is completed, the data reception control unit 4 adds the information indicating the final data and the data amount of the final data block to the magnetic disk control unit 6 and outputs a disk write request.

【0018】磁気ディスク制御部6は最終データのディ
スク書込み要求を受けると、磁気ディスク媒体1への書
込みを上記の処理と同様にして行い、一連の処理で書込
んだ複数トラック分のデータを一つのファイルとして管
理する。
When the magnetic disk control unit 6 receives the disk write request for the final data, the magnetic disk control unit 6 writes the data on the magnetic disk medium 1 in the same manner as the above-mentioned processing, and the data for a plurality of tracks written by a series of processing is written. Manage as one file.

【0019】一方、データ送信制御部5はデータ送信開
始の条件を検出すると、磁気ディスク制御部6に対して
ディスク読出し要求を出力する。磁気ディスク制御部6
はデータ送信制御部5からディスク読出し要求を受ける
と、磁気ディスク媒体1から1トラック分のデータをデ
ータバッファ部3に読出し、図2に示すデータ部の先頭
アドレスとデータサイズ情報とを付加してディスク読出
し完了を返送する。
On the other hand, when the data transmission control section 5 detects the condition for starting the data transmission, it outputs a disk read request to the magnetic disk control section 6. Magnetic disk controller 6
When a disk read request is received from the data transmission control unit 5, one track of data is read from the magnetic disk medium 1 to the data buffer unit 3, and the start address and data size information of the data unit shown in FIG. 2 are added. Returns the disc read completion.

【0020】データ送信制御部5はディスク読出し完了
を受けると、磁気ディスク制御部6から通知されたデー
タサイズ分のデータの送信処理を行う。データ送信制御
部5はデータバッファ部3のデータの送信処理を終える
と、再度磁気ディスク制御部6に対してディスク読出し
要求を出力し、上述のデータ送信処理を繰り返す。
When the data transmission control unit 5 receives the disk read completion, the data transmission control unit 5 performs a data transmission process for the data size notified by the magnetic disk control unit 6. When the data transmission control unit 5 finishes the data transmission process of the data buffer unit 3, it again outputs a disk read request to the magnetic disk control unit 6, and repeats the above-described data transmission process.

【0021】磁気ディスク制御部6はディスク読出し要
求に対して、磁気ディスク媒体1から1トラック分のデ
ータをデータバッファ部3に読出した際に、ファイルの
最終ブロックであることを検出すると、データ送信制御
部5へ最終データである旨の情報とともにディスク読出
し完了を返送する。
In response to a disk read request, the magnetic disk control unit 6 reads the data for one track from the magnetic disk medium 1 into the data buffer unit 3, and when it detects that it is the last block of the file, transmits the data. The disc read completion is returned to the control unit 5 together with the information indicating that the data is the final data.

【0022】データ送信制御部5はデータバッファ部3
のデータの送信処理を終え、最終データである旨の情報
を検出すると、一連のデータ送信処理を終了する。ここ
で、データ送信制御部5はデータ受信制御部4の動作と
は非同期に外部へのデータ送信を制御する。
The data transmission control unit 5 includes a data buffer unit 3
When the information indicating that the data is the final data is detected after the data transmission processing of (1) is completed, the series of data transmission processing is ended. Here, the data transmission control unit 5 controls the data transmission to the outside asynchronously with the operation of the data reception control unit 4.

【0023】図3は図1のデータ受信制御部4の動作を
示すフローチャートであり、図4は図1のデータ送信制
御部5の動作を示すフローチャートであり、図5は図1
の磁気ディスク制御部6の動作を示すフローチャートで
あり、図6は本発明の一実施例の動作を示すタイミング
チャートである。これら図1〜図6を用いて本発明の一
実施例の動作について説明する。
FIG. 3 is a flow chart showing the operation of the data reception control unit 4 of FIG. 1, FIG. 4 is a flow chart showing the operation of the data transmission control unit 5 of FIG. 1, and FIG.
6 is a flowchart showing the operation of the magnetic disk control unit 6 of FIG. 6, and FIG. 6 is a timing chart showing the operation of the embodiment of the present invention. The operation of the embodiment of the present invention will be described with reference to FIGS.

【0024】データ受信制御部4は一連のデータの受信
開始時に(図3ステップS1)、磁気ディスク制御部6
に対して受信用のデータバッファの獲得を要求する(図
3ステップS2)。
The data reception control unit 4 starts the reception of a series of data (step S1 in FIG. 3), and the magnetic disk control unit 6
To request acquisition of a data buffer for reception (step S2 in FIG. 3).

【0025】磁気ディスク制御部6ではデータ受信制御
部4からのデータバッファ獲得要求の有無をチェックし
ており(図5ステップS21)、データ受信制御部4か
らデータバッファ獲得要求が入力されると、そのデータ
バッファ獲得要求に応答して磁気ディスク媒体1上の1
トラック分の容量から図2に示すデータサイズ情報およ
び次トラック番号情報の情報量を差し引いてバッファ限
界サイズを算出する(データ受信用バッファ獲得処理)
(図5ステップS22)。
The magnetic disk control unit 6 checks whether or not there is a data buffer acquisition request from the data reception control unit 4 (step S21 in FIG. 5). When the data reception control unit 4 inputs the data buffer acquisition request, 1 on the magnetic disk medium 1 in response to the data buffer acquisition request
The buffer limit size is calculated by subtracting the information size of the data size information and the next track number information shown in FIG. 2 from the capacity of the track (data reception buffer acquisition process).
(FIG. 5 step S22).

【0026】磁気ディスク制御部6はデータバッファ部
2内の任意の領域をデータ受信用バッファとして割当
て、データ受信用バッファの先頭アドレスとバッファ限
界サイズとをデータ受信制御部4へ返送する(データバ
ッファ獲得応答)(図5ステップS23)。
The magnetic disk control unit 6 allocates an arbitrary area in the data buffer unit 2 as a data reception buffer, and returns the start address of the data reception buffer and the buffer limit size to the data reception control unit 4 (data buffer). Acquisition response) (step S23 in FIG. 5).

【0027】データ受信制御部4は磁気ディスク制御部
6からデータバッファ獲得応答があれば(図3ステップ
S3)、データを外部から受信して順次データバッファ
部2へ書込む(データ受信処理)(図3ステップS
4)。
If there is a data buffer acquisition response from the magnetic disk control unit 6 (step S3 in FIG. 3), the data reception control unit 4 receives data from the outside and sequentially writes the data into the data buffer unit 2 (data reception process) ( Figure 3 Step S
4).

【0028】データ受信制御部4はバッファ限界サイズ
分のデータ書込みを完了すると、外部からのデータ受信
終了かをチェックし(図3ステップS5)、外部からの
データ受信終了でなければ、磁気ディスク制御部6に対
してディスク書込み要求を出力する(図3ステップS
6)。
When the data reception control unit 4 completes the data writing for the buffer limit size, it checks whether the external data reception is completed (step S5 in FIG. 3). If the external data reception is not completed, the magnetic disk control is performed. A disk write request is output to the unit 6 (step S in FIG. 3).
6).

【0029】磁気ディスク制御部6はディスク書込み要
求を受けると(図5ステップS24)、要求のあったデ
ータにデータサイズ情報および次トラック番号情報を付
加し、1トラック分のデータとして磁気ディスク媒体1
へ書込む(図5ステップS25)。その後に、磁気ディ
スク制御部6はディスク書込み完了通知によってデータ
受信制御部4へ応答する(図5ステップS26)。
When the magnetic disk controller 6 receives the disk write request (step S24 in FIG. 5), the data size information and the next track number information are added to the requested data, and the magnetic disk medium 1 is processed as one track of data.
Write to (step S25 in FIG. 5). After that, the magnetic disk control unit 6 responds to the data reception control unit 4 with a disk write completion notification (step S26 in FIG. 5).

【0030】データ受信制御部4はディスク書込み完了
通知を受けると(図3ステップS7)、上述したデータ
バッファ部2へのデータ書込みを再開し、一連のデータ
受信が完了するまで上記の処理(ステップS4〜S7の
処理)を繰り返し行う。
When the data reception control unit 4 receives the disk write completion notification (step S7 in FIG. 3), the data write control unit 4 restarts the above-described data write to the data buffer unit 2 and executes the above-described processing (step The processing of S4 to S7) is repeated.

【0031】データ受信制御部4は一連のデータ受信が
完了すると、つまり外部からのデータ受信終了であれ
ば、磁気ディスク制御部6に最終データである旨の情報
と最終データブロックのデータ量とを付加してディスク
書込み要求(最終データブロック)を出力する(図3ス
テップS8)。
When the series of data reception is completed, that is, when the data reception from the outside is completed, the data reception control unit 4 sends the information indicating the final data and the data amount of the final data block to the magnetic disk control unit 6. A disk write request (final data block) is added and output (step S8 in FIG. 3).

【0032】磁気ディスク制御部6は最終データのディ
スク書込み要求を受けると、磁気ディスク媒体1への書
込みを上記の処理(ステップS24,S25の処理)と
同様にして行い、一連の処理で書込んだ複数トラック分
のデータを一つのファイルとして管理する。その後に、
磁気ディスク制御部6はディスク書込み完了通知によっ
てデータ受信制御部4へ応答する(図5ステップS2
6)。
When the magnetic disk control unit 6 receives the disk write request for the final data, the magnetic disk control unit 6 writes the magnetic disk medium 1 in the same manner as the above-described processing (processing in steps S24 and S25), and writes in a series of processing. Data for multiple tracks is managed as one file. After that,
The magnetic disk controller 6 responds to the data reception controller 4 with a disk write completion notification (step S2 in FIG. 5).
6).

【0033】データ受信制御部4は最終データブロック
に対するディスク書込み完了通知を受けると(図3ステ
ップS9)、一連のデータ受信処理を終了し、ステップ
S1の処理に戻って外部からの一連のデータの受信開始
を待つ。
When the data reception control unit 4 receives the disk write completion notice for the final data block (step S9 in FIG. 3), it ends the series of data reception processing and returns to the processing of step S1 to transfer a series of data from the outside. Wait for the start of reception.

【0034】一方、データ送信制御部5はデータ送信開
始の条件を検出すると(図4ステップS11)、磁気デ
ィスク制御部6に対してディスク読出し要求を出力する
(図4ステップS12)。
On the other hand, when the data transmission controller 5 detects the condition for starting data transmission (step S11 in FIG. 4), it outputs a disk read request to the magnetic disk controller 6 (step S12 in FIG. 4).

【0035】磁気ディスク制御部6はデータ送信制御部
5からディスク読出し要求を受けると(図5ステップS
27)、磁気ディスク媒体1から1トラック分のデータ
をデータバッファ部3に読出し(図5ステップS2
8)、図2に示すデータ部の先頭アドレスとデータサイ
ズ情報とを付加してディスク読出し完了を返送する(図
5ステップS29)。
When the magnetic disk control unit 6 receives a disk read request from the data transmission control unit 5 (step S in FIG. 5).
27), data for one track is read from the magnetic disk medium 1 to the data buffer unit 3 (step S2 in FIG. 5).
8), the head address of the data section shown in FIG. 2 and the data size information are added and the disc read completion is returned (step S29 in FIG. 5).

【0036】データ送信制御部5はディスク読出し完了
を受けると(図4ステップS13)、そのディスク読出
しが最終データブロックの読出しかをチェックする(図
4ステップS14)。
Upon receiving the disk read completion (step S13 in FIG. 4), the data transmission control unit 5 checks whether the disk read is the final data block read (step S14 in FIG. 4).

【0037】データ送信制御部5は最終データブロック
の読出しでなければ、磁気ディスク制御部6から通知さ
れたデータサイズ分のデータの送信処理を行う(図4ス
テップS15)。データ送信制御部5はデータバッファ
部3のデータの送信処理を終えると、再度磁気ディスク
制御部6に対してディスク読出し要求を出力し、上述の
データ送信処理(ステップS12〜S15の処理)を繰
り返す。
If the final data block is not read, the data transmission control unit 5 performs a data transmission process for the data size notified by the magnetic disk control unit 6 (step S15 in FIG. 4). When the data transmission control unit 5 finishes the data transmission process of the data buffer unit 3, the data transmission control unit 5 outputs a disk read request to the magnetic disk control unit 6 again, and repeats the above-described data transmission process (steps S12 to S15). .

【0038】磁気ディスク制御部6はディスク読出し要
求に対して、磁気ディスク媒体1から1トラック分のデ
ータをデータバッファ部3に読出した際に、ファイルの
最終ブロックであることを検出すると、データ送信制御
部5へ最終データである旨の情報とともにディスク読出
し完了を返送する。
In response to a disk read request, the magnetic disk controller 6 reads data from the magnetic disk medium 1 into the data buffer unit 3, and when it detects that it is the last block of the file, transmits the data. The disc read completion is returned to the control unit 5 together with the information indicating that the data is the final data.

【0039】データ送信制御部5は最終データブロック
である旨の情報を検出すると、そのデータの送信処理を
終えてから(図4ステップS16)、一連のデータ送信
処理を終了し、ステップS11に戻ってデータ送信開始
の条件の成立を待つ。
When the data transmission control unit 5 detects the information indicating that the data block is the final data block, the data transmission process is terminated (step S16 in FIG. 4), the series of data transmission processes is terminated, and the process returns to step S11. Wait for the condition for starting data transmission to be met.

【0040】尚、図6に示すように、データ送信制御部
5はデータ受信制御部4の動作とは非同期に外部へのデ
ータ送信を制御している。つまり、データ送信制御部5
のディスク書込み要求はデータ受信制御部4のデータバ
ッファ獲得要求及びディスク書込み要求とは非同期に行
われる。
As shown in FIG. 6, the data transmission control unit 5 controls the data transmission to the outside asynchronously with the operation of the data reception control unit 4. That is, the data transmission control unit 5
The disk write request is performed asynchronously with the data buffer acquisition request and the disk write request of the data reception control unit 4.

【0041】また、データ受信制御部4及びデータ送信
制御部5各々の処理は磁気ディスク制御部6による磁気
ディスク媒体1に対する書込み処理及び読出し処理の間
は休止状態となり、その他はディスパッチ状態となる。
Further, the processing of each of the data reception control unit 4 and the data transmission control unit 5 is in a suspended state during the writing process and the reading process for the magnetic disk medium 1 by the magnetic disk control unit 6, and the others are in the dispatch state.

【0042】さらに、データ受信制御部4によるデータ
受信処理及びデータ送信制御部5のデータ送信処理が行
われている場合には磁気ディスク制御部6による磁気デ
ィスク媒体1に対する処理が行われる時にタイムスライ
スが発生する。
Further, when the data reception process by the data reception control unit 4 and the data transmission process by the data transmission control unit 5 are performed, the time slice is performed when the process for the magnetic disk medium 1 is performed by the magnetic disk control unit 6. Occurs.

【0043】さらにまた、上記の処理では磁気ディスク
媒体1に対する書込み及び読出しについて説明したが、
書込み及び読出しをセクタ単位及びトラック単位で行う
ことが可能であれば、光ディスク媒体等の他のディスク
媒体に対しても適用可能である。
Furthermore, in the above processing, writing and reading with respect to the magnetic disk medium 1 have been described.
If writing and reading can be performed in sector units and track units, the present invention can be applied to other disk media such as optical disk media.

【0044】このように、磁気ディスク制御部6でデー
タ受信制御部4及びデータ送信制御部5からのディスク
書込み要求及びディスク読出し要求に従って磁気ディス
ク媒体1を制御し、1トラック長を単位としてデータの
書込み及び読出しを時分割的に処理することによって、
従来技術に比して磁気ディスク媒体1上でのヘッド(図
示せず)の移動量を削減して磁気ディスク媒体1に対す
る書込み読出しの処理時間を短縮することができ、デー
タの入出力の速度を向上させることができる。
As described above, the magnetic disk control unit 6 controls the magnetic disk medium 1 in accordance with the disk write request and the disk read request from the data reception control unit 4 and the data transmission control unit 5, and the data of one track length is used as a unit. By processing writing and reading in a time-sharing manner,
Compared with the conventional technique, the movement amount of the head (not shown) on the magnetic disk medium 1 can be reduced to shorten the processing time of writing / reading to / from the magnetic disk medium 1, thereby increasing the data input / output speed. Can be improved.

【0045】[0045]

【発明の効果】以上説明したように本発明によれば、デ
ィスク媒体への1回の書き込み動作をディスク媒体のト
ラック長を単位として行うことによって、ディスク媒体
上でのヘッドの移動量を削減してディスク媒体に対する
書込み読出しの処理時間を短縮することができ、データ
の入出力の速度を向上させることができるという効果が
ある。
As described above, according to the present invention, the amount of movement of the head on the disk medium is reduced by performing one write operation on the disk medium in units of the track length of the disk medium. As a result, it is possible to shorten the processing time of writing and reading to and from the disk medium and to improve the speed of data input / output.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1の磁気ディスク媒体上でのデータ格納形式
を示すための説明図である。
2 is an explanatory diagram showing a data storage format on the magnetic disk medium of FIG. 1. FIG.

【図3】図1のデータ受信制御部の動作を示すフローチ
ャートである。
3 is a flowchart showing an operation of a data reception control unit of FIG.

【図4】図1のデータ送信制御部の動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing an operation of the data transmission control unit of FIG.

【図5】図1の磁気ディスク制御部の動作を示すフロー
チャートである。
5 is a flowchart showing the operation of the magnetic disk control unit of FIG.

【図6】本発明の一実施例の動作を示すタイミングチャ
ートである。
FIG. 6 is a timing chart showing the operation of the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 磁気ディスク媒体 2,3 データバッファ部 4 データ受信制御部 5 データ送信制御部 6 磁気ディスク制御部 1 magnetic disk medium 2, 3 data buffer section 4 data reception control section 5 data transmission control section 6 magnetic disk control section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外部から受信したデータをディスク媒体
に書込む受信機能と、前記受信機能により書込んだデー
タを前記ディスク媒体から読出して外部へ送信する送信
機能とを時分割に並行処理するデータ入出力装置であっ
て、前記ディスク媒体への書込みデータ及び前記ディス
ク媒体からの読出しデータを格納する格納手段と、外部
からデータを受信しかつそのデータを前記格納手段に書
込むデータ受信制御手段と、前記ディスク媒体から読出
して前記格納手段に格納されたデータを前記格納手段か
ら読出して外部へ送信するデータ送信制御手段と、前記
データ受信制御手段からの指示に応答して前記格納手段
のデータを前記ディスク媒体へ1トラック長を単位とし
て書込みかつ前記データ送信制御手段からの指示に応答
して前記ディスク媒体から1トラック長を単位としてデ
ータを読出して前記格納手段へ書込むディスク制御手段
とを有することを特徴とするデータ入出力装置。
1. Data for performing a time-division parallel processing of a reception function of writing data received from the outside to a disk medium and a transmission function of reading the data written by the reception function from the disk medium and transmitting the data to the outside. An input / output device, storage means for storing write data to the disk medium and read data from the disk medium, and data reception control means for receiving data from the outside and writing the data in the storage means. , Data transmission control means for reading the data stored in the storage means and transmitting the data stored in the storage means to the outside, and data stored in the storage means in response to an instruction from the data reception control means. Writing to the disk medium in units of one track length and responding to an instruction from the data transmission control means, the disk medium A data input / output device comprising: disk control means for reading data from the body in units of one track length and writing the data into the storage means.
【請求項2】 前記格納手段は、外部から受信したデー
タを格納する第1の格納手段と、前記ディスク媒体上か
ら読出したデータを格納する第2の格納手段とを含むこ
とを特徴とする請求項1記載のデータ入出力装置。
2. The storage means includes first storage means for storing data received from the outside and second storage means for storing data read from the disk medium. Item 1. The data input / output device according to item 1.
【請求項3】 前記第1及び第2の格納手段各々は、少
なくとも前記1トラック長のデータを格納するよう構成
されたことを特徴とする請求項2記載のデータ入出力装
置。
3. The data input / output device according to claim 2, wherein each of the first and second storage means is configured to store at least the data of one track length.
JP6233895A 1995-03-22 1995-03-22 Data input and output device Pending JPH08263220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6233895A JPH08263220A (en) 1995-03-22 1995-03-22 Data input and output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6233895A JPH08263220A (en) 1995-03-22 1995-03-22 Data input and output device

Publications (1)

Publication Number Publication Date
JPH08263220A true JPH08263220A (en) 1996-10-11

Family

ID=13197248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6233895A Pending JPH08263220A (en) 1995-03-22 1995-03-22 Data input and output device

Country Status (1)

Country Link
JP (1) JPH08263220A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7321721B2 (en) 2000-03-28 2008-01-22 Matsushita Electric Industrial Co., Ltd. Hard disk apparatus, medium, and collection of information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6381661A (en) * 1986-09-26 1988-04-12 Ricoh Co Ltd Optical disk input/output system
JPH05324529A (en) * 1992-05-25 1993-12-07 Matsushita Electric Ind Co Ltd Method and device for data transfer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6381661A (en) * 1986-09-26 1988-04-12 Ricoh Co Ltd Optical disk input/output system
JPH05324529A (en) * 1992-05-25 1993-12-07 Matsushita Electric Ind Co Ltd Method and device for data transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7321721B2 (en) 2000-03-28 2008-01-22 Matsushita Electric Industrial Co., Ltd. Hard disk apparatus, medium, and collection of information

Similar Documents

Publication Publication Date Title
JP2770901B2 (en) Disk control method
JPH08328747A (en) Magnetic disk device and buffer management method in magnetic disk device
JPH08263220A (en) Data input and output device
JPH0535415A (en) Information storage device
JPH01140326A (en) Magnetic disk device
JPS5938930A (en) Optical disk controller
JPH0793101A (en) Data backup device
JPH08297917A (en) Data copying system
JPS6095762A (en) Magnetic disc controller
JPH11120690A (en) Disk device and buffer control method
JPH04373054A (en) Filing device controller
JPH08286836A (en) Information recording and reproducing device
JPH04111015A (en) Information recorder
JPS6247735A (en) Controller for external memory device
JPH1173716A (en) Disk recording device
JPH03260956A (en) Magnetic disk re-formatting system
JPH04322341A (en) Disk cache controller
JPH05119931A (en) Information storage device
JP2001222381A (en) Disk controller to perform partial write processing, disk sub-system, control method for disk controller and recording medium in which program is recorded
JPH08179894A (en) Memory system, and memory system applied to disk recording and reproducing device
JPH1125590A (en) Information recording method and information recording and reproducing device using the same
JPH0511929A (en) Data transfer control method
JPS63228324A (en) Semiconductor filing device
JPH08179895A (en) Information processing system
JPH04113415A (en) Storage of redundant constitution and its retrieving method