JPH0430061B2 - - Google Patents

Info

Publication number
JPH0430061B2
JPH0430061B2 JP57227251A JP22725182A JPH0430061B2 JP H0430061 B2 JPH0430061 B2 JP H0430061B2 JP 57227251 A JP57227251 A JP 57227251A JP 22725182 A JP22725182 A JP 22725182A JP H0430061 B2 JPH0430061 B2 JP H0430061B2
Authority
JP
Japan
Prior art keywords
data
bulk
devices
fdc
data transfer
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
JP57227251A
Other languages
Japanese (ja)
Other versions
JPS59121421A (en
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 filed Critical
Priority to JP22725182A priority Critical patent/JPS59121421A/en
Publication of JPS59121421A publication Critical patent/JPS59121421A/en
Publication of JPH0430061B2 publication Critical patent/JPH0430061B2/ja
Granted 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/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、複数の装置が同一バスを用いてデ
ータ転送を行うデータ処理システムに採用されて
好適なバルク制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a bulk control method suitable for use in a data processing system in which a plurality of devices transfer data using the same bus.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

データ処理システムの一般的構成例を第1図に
示す。図では、バス9にCPU1、メインメモリ
8、DMAコントローラ10、フロツピーデイス
クコントローラ(以下FDCと称す)3、ハード
デイスクコントローラ(以下HDCと称す)6、
が共通に接続され、更に、FDC3に信号線4を
介してフロツピーデイスク装置2が接続され、
HDC6に信号線7を介してデイスク装置5が接
続される。
FIG. 1 shows an example of a general configuration of a data processing system. In the figure, a bus 9 includes a CPU 1, a main memory 8, a DMA controller 10, a floppy disk controller (hereinafter referred to as FDC) 3, a hard disk controller (hereinafter referred to as HDC) 6,
are commonly connected, and furthermore, a floppy disk device 2 is connected to the FDC 3 via a signal line 4,
A disk device 5 is connected to the HDC 6 via a signal line 7.

このようなシステムにおいて、例えば、FDC
3がデータ転送中に、HDC6に起動をかけよう
とする場合、従来は次の2の手法があつた。
In such systems, e.g.
When trying to start up the HDC 6 while the HDC 3 is transferring data, the following two methods have conventionally been used.

データ転送中のFDC3のデータ転送を強制
的に中断され、CPU1がバス9を介してHDC
6に起動をかける。
Data transfer of FDC3 during data transfer is forcibly interrupted, and CPU1 transfers data to HDC via bus 9.
Start on 6.

バス9とは別に、CPU1とFDC3、HDC6
との間をコマンド・ステイタス情報バスで接続
し、一方がデータ転送中であつても、他方へ独
立して起動をかけ得るようにしておく。
Apart from bus 9, CPU1, FDC3, HDC6
A command/status information bus is used to connect the two devices so that even if one device is transferring data, the other device can be activated independently.

ところが、の手法では中断させたFDC3の
データバツフアリングするメモリが必要となりハ
ードウエア量を増大するという欠点がある。これ
は、HDC6を中断させる場合も同様である。ま
た、の手法によると、配線が複雑となり、やは
りハードウエア量が増大してしまうという欠点が
あつた。これは、バルク装置が増加する程著しく
なる欠点である。
However, this method has the disadvantage that it requires a memory for data buffering of the interrupted FDC3, which increases the amount of hardware. This also applies when HDC 6 is interrupted. Further, according to the method (2), the wiring becomes complicated and the amount of hardware increases. This is a drawback that becomes more significant as the number of bulk devices increases.

〔発明の目的〕[Purpose of the invention]

本発明は、以上説明した従来の方式の欠点に鑑
みなされたもので、その目的は、ある装置がデー
タ転送中に、他の装置に起動をかけることがで
き、複数の装置のデータ転送を同時進行(全く同
一時間にという意味でない)させ得るバルク制御
方式を提供することである。
The present invention was made in view of the drawbacks of the conventional methods described above, and its purpose is to enable one device to activate another device while data is being transferred, and to enable simultaneous data transfer of multiple devices. The objective is to provide a bulk control scheme that allows for progress (not necessarily at the same time).

〔発明の概要〕[Summary of the invention]

そこで、本発明では、CPUを含む複数のバル
ク装置がバスに共通接続され、装置の起動からデ
ータ転送の終了に至る一連の動作が上記同一バス
上で行なわれるデータ処理装置の、上記複数のバ
ルク装置のうち、少くとも1個は上記バスを使用
する際所定間隔でデータ転送を中断し、これを検
出通知する手段を有し、該手段により上記CPU
へ割込むことにより他のバルク装置を起動するよ
うにした。
Therefore, in the present invention, a plurality of bulk devices including a CPU are commonly connected to a bus, and a series of operations from starting the device to completing data transfer is performed on the same bus. At least one of the devices has means for interrupting data transfer at predetermined intervals when using the bus and detecting and notifying this, and the means causes the CPU to
Other bulk devices can now be started by interrupting.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を参照して本発明の実施例を説明す
る。この実施例では、フロツピーデイスク装置と
デイスク装置とのバルクを例とするが、少なくと
も1つの、データ転送を必然的に中断しなければ
ならぬ装置(例えば、磁気テープ等)と他の装置
(複数であつても良い場合もある)との組のデー
タ転送を同時進行させる場合に有効である。
Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, a bulk floppy disk device and a disk device are taken as an example, but there is at least one device (such as a magnetic tape) that necessarily interrupts data transfer and another device (such as a magnetic tape). This is effective when simultaneously proceeding with data transfer for a set of data (in some cases, there may be a plurality of data transfers).

第2図は、本発明の方式を採用したシステムで
あり、第1図と同一構成要素には同一符号を付し
てある。同図において、14はバイトカウンタで
あり、フロツピーデイスク装置2が中断している
ことを検出する機能を有する。つまり、具体的に
は、バイトカウンタ14は、DMAコントローラ
10がFDC3に1バイトのデータ転送要求の受
付信号を出力する回数をカウントし、フロツピー
デイスク装置2のデイスク上の1セクタ中に存在
するデータ量(所定バイト)分受付信号が検出さ
れたときに、割込み信号15をCPU1へ出力す
る。CPU1は、この割込みによつて、デイスク
装置5に対する作業要求が上位装置から送られて
きているか否か調べ、もし、送られてきていると
きには、バス9を介してHDC6を起動する。
FIG. 2 shows a system adopting the method of the present invention, and the same components as in FIG. 1 are given the same reference numerals. In the figure, 14 is a byte counter, which has a function of detecting that the floppy disk device 2 is interrupted. Specifically, the byte counter 14 counts the number of times the DMA controller 10 outputs a 1-byte data transfer request acceptance signal to the FDC 3, and counts the number of times the DMA controller 10 outputs a 1-byte data transfer request acceptance signal to the FDC 3. When an acceptance signal corresponding to the amount of data (predetermined bytes) is detected, an interrupt signal 15 is output to the CPU 1. The CPU 1 uses this interrupt to check whether or not a work request to the disk device 5 has been sent from the host device, and if so, starts the HDC 6 via the bus 9.

次に、第2図、第3図を参照して、システムの
動作を説明する。第3図に示すフロツピーデイス
クフオーマツトは、1セクトのデータ間に所定長
のデータ非格納領域(Gap)が設けられている。
このフオーマツトの詳細は、例えば、昭和54年11
月7日発行の『μPD765 FDCユーザーズ・マニ
ユアル』(NEC日本電気株式会社)に開示されて
いる。今時刻T1において、フロツピーデイスク
装置2からメインメモリ8に対するライト命令が
出ていたとする。すると、CPU1はバス9を介
してFDC3に対し、リードコマンド・アドレス
を出力する。FDC3はフロツピーデイスク装置
2に対してシーク動作させ、前記アドレス位置に
ヘツドを移動させる。リード動作により読み出さ
れたデータは信号線4からFDC3に取り込まれ
る。FDC3は、DMAコントローラ10にデータ
転送要求を出力する。すると、DMAコントロー
ラ10は、他の位置からデータ転送要求が出力さ
れていないかを調べる。この場合、出力されてい
ないから、DMAコントローラ10は、受付信号
をFDC3へ出力し、メインメモリ8に対しアド
レス情報・ライト信号を出力する。これにより、
バス9上のデータはメインメモリ8内に格納され
る。
Next, the operation of the system will be explained with reference to FIGS. 2 and 3. In the floppy disk format shown in FIG. 3, a data non-storage area (Gap) of a predetermined length is provided between one sector of data.
For details of this format, for example,
This information is disclosed in the "μPD765 FDC User's Manual" (NEC NEC Corporation) published on May 7th. Assume that at current time T1 , a write command to the main memory 8 is issued from the floppy disk device 2. Then, the CPU 1 outputs a read command address to the FDC 3 via the bus 9. The FDC 3 performs a seek operation on the floppy disk device 2 to move the head to the address position. Data read by the read operation is taken into the FDC 3 from the signal line 4. The FDC 3 outputs a data transfer request to the DMA controller 10. Then, the DMA controller 10 checks whether a data transfer request has been output from another location. In this case, since it is not output, the DMA controller 10 outputs the acceptance signal to the FDC 3 and outputs the address information/write signal to the main memory 8. This results in
Data on bus 9 is stored in main memory 8.

この動作が、1バイト転送毎に繰り返され、1
セクト分のバイト数のデータ転送が終了したと
き、バイトカウンタ14には1セクタ分のバイト
数分の受付信号が与えられているからバイトカウ
ンタ14は割込信号15を出力する。このとき、
CPU1にデイスク装置5に対する作業指示が出
されていた(図の▽印)とすると、CPU1はバ
ス9からHDC6に対してリードコマンド・アド
レス情報を出力する。このとき、FDC3は、フ
ロツピーデイスク装置2がセクタとセクタとの間
のギヤツプに相当して動作しているから、バス9
を使用していない。
This operation is repeated every 1 byte transfer, and 1
When the data transfer of the number of bytes for one sector is completed, the byte counter 14 outputs an interrupt signal 15 because the acceptance signal for the number of bytes of one sector has been given to the byte counter 14. At this time,
Assuming that a work instruction for the disk device 5 has been issued to the CPU 1 (indicated by ▽ in the figure), the CPU 1 outputs read command and address information from the bus 9 to the HDC 6. At this time, since the floppy disk device 2 is operating corresponding to the gap between sectors, the FDC 3 is connected to the bus 9.
is not used.

このようにしてデイスク装置5が起動され、
HDC6に取り込まれたデータがDMAコントロー
ラ10の制御下で、メインメモリ8に格納され
る。一方、ギヤツプを通過するとフロツピーデイ
スク装置2もデータリード動作を開始し、FDC
3にデータが取り込まれるようになる。すると、
FDC3、HDC6の夫々にデータが存在するよう
になり、DMAコントローラ10は、これらFDC
3、HDC6のデータ転送要求を受け付けながら
順次、データをメインメモリ8に格納する動作を
続ける。例えばDMAコントローラ10は、FDC
3から1バイト転送中にHDC6からデータ転送
要求を受けると、FDC3からメインメモリ8へ
の1バイト転送後、HDC6からメインメモリ8
へ1バイトのデータを転送する。従つて、フロツ
ピーデイスク装置2またはデイスク装置5からそ
れぞれFDC3またはHDC6に取り込まれたデー
タは、データ転送要求後、他の装置からメインメ
モリ8への1バイト転送時間内にメインメモリ2
に転送されることになる。第3図のFDC3から
のデータ転送とHDC6からのデータ転送とは、
パルス内の縦線が示すタイミングで交互に行なわ
れ、結果として、データ転送は同時進行する。
尚、この実施例では、バイトカウンタ14は、常
に所定の(1セクタ分のバイト数の)受付信号を
入力されると割込信号を出力するように、第3図
に図示したが、これは必須の要件でなく、1度割
込信号を出力した後、例えば、CPU1によりリ
セツトされるまで、動作せぬようにしても良い。
In this way, the disk device 5 is started,
The data taken into the HDC 6 is stored in the main memory 8 under the control of the DMA controller 10. On the other hand, when the gap is passed, the floppy disk device 2 also starts data read operation, and the FDC
Data will be imported into 3. Then,
Data now exists in each of FDC3 and HDC6, and the DMA controller 10
3. Continue the operation of sequentially storing data in the main memory 8 while accepting data transfer requests from the HDC 6. For example, the DMA controller 10
When a data transfer request is received from HDC 6 during 1 byte transfer from FDC 3 to main memory 8, the 1 byte is transferred from FDC 3 to main memory 8, and then from HDC 6 to main memory 8.
Transfer 1 byte of data to. Therefore, data taken into the FDC 3 or HDC 6 from the floppy disk device 2 or the disk device 5, respectively, is transferred to the main memory 2 within 1 byte transfer time from another device to the main memory 8 after a data transfer request.
will be transferred to. The data transfer from FDC3 and the data transfer from HDC6 in Figure 3 are as follows:
The data transfers are performed alternately at the timing indicated by the vertical lines within the pulses, and as a result, data transfers proceed simultaneously.
In this embodiment, the byte counter 14 is shown in FIG. 3 to always output an interrupt signal when a predetermined acceptance signal (the number of bytes for one sector) is input. This is not an essential requirement, and after outputting an interrupt signal once, it may be configured such that it does not operate until it is reset by the CPU 1, for example.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、ある装
置がデータ転送中に他の装置に起動をかけ、複数
装置のデータ転送を同時進行させ得るので、シス
テムのスループツトが著しく低下する。しかも、
起動のために特別に複雑な装置を必要とせず、バ
イトカウンタだけで簡単に構成できる。更に、装
置を強制的に中断させたり、配線を複合化して、
他装置の起動を行う訳でないから、バツフアメモ
リや複数配線を必要とするといつたハードウエア
増大の原因がなく、極めて効率が良い。
As described above, according to the present invention, one device can activate another device during data transfer and data transfers of a plurality of devices can proceed simultaneously, so that the throughput of the system is significantly reduced. Moreover,
It does not require any particularly complicated equipment to start up, and can be easily configured with just a byte counter. Furthermore, by forcibly interrupting the equipment or complicating the wiring,
Since it does not start up other devices, there is no need for increased hardware such as the need for buffer memory or multiple wiring lines, making it extremely efficient.

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

第1図は従来方式を採用したシステムのブロツ
ク図、第2図は本発明の方式を採用したシステム
の一例を示すブロツク図、第3図は第2図の動作
を説明をするためのタイミングチヤートである。 1……CPU、2……フロツピーデイスク装置、
3……FDC、5……デイスク装置、6……HDC、
8……メインメモリ、10……DMAコントロー
ラ、14……バイトカウンタ。
Fig. 1 is a block diagram of a system using the conventional method, Fig. 2 is a block diagram showing an example of a system using the method of the present invention, and Fig. 3 is a timing chart for explaining the operation of Fig. 2. It is. 1... CPU, 2... floppy disk device,
3...FDC, 5...Disk device, 6...HDC,
8... Main memory, 10... DMA controller, 14... Byte counter.

Claims (1)

【特許請求の範囲】[Claims] 1 データを複数のブロツクに分けて記憶し、各
ブロツク間に所定の非格納領域を有するようにフ
オーマツトされたバルク装置を複数個同一バス上
に接続するデータ処理装置において、前記バルク
装置を起動する手段と、前記起動手段により起動
されたバルク装置のデータ転送を行う手段と、前
記転送手段により1ブロツクのデータ転送が完了
したことを認識し、前記起動手段に通知する手段
とを有し、前記起動手段は前記通知を受け、前記
起動されているバルク装置以外の他のバルク装置
の起動要求に応じて、前記他のバルク装置を起動
し、前記転送手段は、前記起動された他のバルク
装置のデータ転送を行い、その後、夫々起動され
ているバルク装置のデータ転送を切替えながら並
行して実行することを特徴とするバルク制御方
式。
1. In a data processing device in which a plurality of bulk devices are connected on the same bus and are formatted to store data divided into a plurality of blocks and have a predetermined non-storage area between each block, start the bulk device. means for transferring data of the bulk device started by the starting means; and means for recognizing that one block of data transfer has been completed by the transferring means and notifying the starting means; The activation means receives the notification and activates the other bulk device in response to a request for activation of another bulk device other than the activated bulk device, and the transfer means activates the other bulk device other than the activated bulk device. 1. A bulk control method characterized in that the data transfers of the bulk devices are performed in parallel, and the data transfers of the activated bulk devices are then switched and executed in parallel.
JP22725182A 1982-12-28 1982-12-28 Bulk control system Granted JPS59121421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22725182A JPS59121421A (en) 1982-12-28 1982-12-28 Bulk control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22725182A JPS59121421A (en) 1982-12-28 1982-12-28 Bulk control system

Publications (2)

Publication Number Publication Date
JPS59121421A JPS59121421A (en) 1984-07-13
JPH0430061B2 true JPH0430061B2 (en) 1992-05-20

Family

ID=16857882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22725182A Granted JPS59121421A (en) 1982-12-28 1982-12-28 Bulk control system

Country Status (1)

Country Link
JP (1) JPS59121421A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533279A (en) * 1978-08-31 1980-03-08 Fujitsu Ltd Magnetic tape control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533279A (en) * 1978-08-31 1980-03-08 Fujitsu Ltd Magnetic tape control system

Also Published As

Publication number Publication date
JPS59121421A (en) 1984-07-13

Similar Documents

Publication Publication Date Title
US4442485A (en) Dynamically buffered data transfer system for large capacity data source
US4047157A (en) Secondary storage facility for data processing
JPS6138507B2 (en)
JPH077327B2 (en) Data transfer method
US5519499A (en) Image processing apparatus for storing and reading out image data
JPH0430061B2 (en)
WO1989000313A1 (en) Fast-tag transfer improvement
JP3184406B2 (en) Disk array device
JP3442099B2 (en) Data transfer storage device
JPS63223822A (en) Control system for disk device
JP2551184B2 (en) Disk controller
JPH0578859B2 (en)
JPH0528858B2 (en)
JPS6223342B2 (en)
JPH0820934B2 (en) Disk cache control method
JPS61127025A (en) Optical disk controller
JPS6132710B2 (en)
JPS6255167B2 (en)
JPS62140135A (en) Access controller for disk memory device
JPH05151137A (en) Electronic computer device
JPS6225337A (en) Retrial control method
JPS61285566A (en) Input and output controller
JPH05127833A (en) Tape mark writing system for magnetic tape storage device
JPH02285556A (en) Multiseek controlling method
JPS61196348A (en) Input output control device