JPH10198524A - Hard disk controller - Google Patents

Hard disk controller

Info

Publication number
JPH10198524A
JPH10198524A JP336897A JP336897A JPH10198524A JP H10198524 A JPH10198524 A JP H10198524A JP 336897 A JP336897 A JP 336897A JP 336897 A JP336897 A JP 336897A JP H10198524 A JPH10198524 A JP H10198524A
Authority
JP
Japan
Prior art keywords
hard disk
data
hdd
control
control device
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.)
Withdrawn
Application number
JP336897A
Other languages
Japanese (ja)
Inventor
茂夫 ▲舘▼野
Shigeo Tateno
Hiroshi Nozawa
宏 野澤
Yuji Ogawa
祐司 小川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP336897A priority Critical patent/JPH10198524A/en
Priority to TW086113916A priority patent/TW357297B/en
Publication of JPH10198524A publication Critical patent/JPH10198524A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a hard disk controller in which plural hard disk devices can be simultaneously operated, and the data of an original hard disk device can be copied to plural copy destination hard disk devices in a short time and verified in a short time. SOLUTION: This device is composed of a main board part 29 which controls the whole device, an extended board part 30 having a main board direction data buffer and a hard disk direction data buffer provided so as to be made correspond to each of plural hard disk devices and a buffer control part, and plural hard disk devices 31-36 connected with the extended board part. Thus, data supplied from the main board part are supplied to the plural had disk devices connected with the extended board part, and they can be simultaneously operated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はハードディスク制御
装置に関し、複数のハードディスク装置を制御する装置
に関する。昨今、パーソナルコンピュータの出荷実績は
増加してきている。その一つの要因として、従来一般ユ
ーザが苦手としていた、基本ソフトウェアや主要なアプ
リケーションソフトウェアの導入作業が、メーカの工場
内で行われるようになってきたため、一般ユーザが、特
に専門知識を必要とせずに高機能なソフトウェアの恩恵
を受ける機会が多くなってきていることがあげられる。
[0001] 1. Field of the Invention [0002] The present invention relates to a hard disk control device, and more particularly to a device for controlling a plurality of hard disk devices. In recent years, the shipment results of personal computers have been increasing. One of the factors is that the installation work of basic software and main application software, which ordinary users were not good at, is now performed in the factory of the manufacturer, so the general user does not need special expertise More and more opportunities to benefit from sophisticated software.

【0002】もう一つは、高性能化と低価格化である。
プロセッサを始めとするハードウェアの急速な高性能化
と低価格化が同時進行したことによるコストパフォーマ
ンスの大幅な向上があげられる。従って、製造メーカに
とって、以上の2点を考慮した製品の提供が好ましい。
ハードウェアは、ソフトウェア互換性の見地から、主要
なメーカ間で同一又は、類似のアーキテクチャを採用し
ているケースが多く、ハードウェア価格だけで優位性を
確保することは困難な構造になってきている。従って、
製造工程の効率化によるローコスト化を図ることが製品
価格の優位性に大きく係わる。
[0002] Another is higher performance and lower cost.
Significant improvement in cost performance due to the simultaneous progress of high performance and low price of hardware including processors. Therefore, it is preferable for a manufacturer to provide a product in consideration of the above two points.
From the viewpoint of software compatibility, hardware often adopts the same or similar architecture among major manufacturers, and it has become difficult to secure an advantage based on hardware prices alone. I have. Therefore,
Reducing costs by improving the efficiency of the manufacturing process greatly affects the superiority of product prices.

【0003】パーソナルコンピュータ工場における、基
本ソフトウェアやアプリケーションソフトウェアの導入
作業は、その中で効率化が要求される部分の一つであ
り、高能率な設備を導入していることが優位に作用す
る。一方、企業利益を確保するためには、設備投資を抑
える必要がある。従って、ハイコストパフォーマンスな
設備の提供が要望されている。
[0003] Introducing basic software and application software in a personal computer factory is one of the areas where efficiency is required, and the introduction of highly efficient equipment has an advantage. On the other hand, in order to secure corporate profits, it is necessary to curb capital investment. Therefore, provision of high cost performance equipment is demanded.

【0004】[0004]

【従来の技術】図9は従来のハードディスク装置の制御
装置の一例のブロック図を示す。同図中、メインボード
1と、それに接続して使用するハードディスク装置(H
DD)制御ボード2,3,4,5,6,7と、HDD制
御ボードに対して、1対1に接続して使用する原本HD
D8、及び複写先HDD9,10,11,12,13か
ら構成される。なお、HDD制御ボード及びHDD数
は、便宜上のものであり、現実の従来技術装置では増減
することがある。
2. Description of the Related Art FIG. 9 is a block diagram showing an example of a conventional control device for a hard disk drive. In the figure, a main board 1 and a hard disk drive (H
DD) Original HD used by connecting one to one to control boards 2, 3, 4, 5, 6, 7 and HDD control board
D8 and copy destination HDDs 9, 10, 11, 12, and 13. Note that the number of HDD control boards and HDDs is for convenience, and may increase or decrease in actual prior art devices.

【0005】装置に、電源が投入されると、メインボー
ド1と、HDD制御ボード2,3,4,5,6,7と、
HDD8,9,10,11,12,13は、動作を開始
する。メインボード1のCPU14は、メインボードC
PUバス26を介して、ROM16のファームウェアを
フェッチし、DISKインタフェース回路18を制御
し、内蔵HDD19又は、フロッピィディスク装置20
から装置全体を機能させるためのソフトウェアをRAM
15にロードし、RAM15のソフトウェアをフェッチ
し、ソフトウェアの実行を開始する。CPU14は、本
ソフトウェアの機能により、メインボードCPUバス2
6、CPUバスto高速バスインタフェース回路17、
高速バス27を介して、HDD制御ボード2,3,4,
5,6,7の動作を規定するデータの転送、複写先HD
D9,10,11,12,13に書き込むためのデータ
転送、原本HDDや複写先HDD9,10,11,1
2,13からのデータの受信、受信したデータのRAM
15への記憶などを行う。
When power is applied to the device, the main board 1, the HDD control boards 2, 3, 4, 5, 6, 7 and
The HDDs 8, 9, 10, 11, 12, and 13 start operating. The CPU 14 of the main board 1
The firmware of the ROM 16 is fetched via the PU bus 26, the DISK interface circuit 18 is controlled, and the internal HDD 19 or the floppy disk device 20 is fetched.
From RAM to software to make the entire device function
15 to fetch the software in the RAM 15 and start executing the software. The CPU 14 operates the main board CPU bus 2 by the function of this software.
6, CPU bus to high-speed bus interface circuit 17,
Via the high-speed bus 27, the HDD control boards 2, 3, 4,
Transfer of data that specifies the operations of 5, 6, 7 and the copy destination HD
D9, 10, 11, 12, 13 for data transfer, original HDD and copy destination HDD 9, 10, 11, 1
Receiving data from 2, 13 and RAM of received data
15 is stored.

【0006】HDD制御ボード2,3,4,5,6,7
のCPU22は、ROM24のファームウェアをフェッ
チし、命令を実行する。CPU22は、本ファームウェ
アの機能により、HDD制御ボードCPUバス28、高
速バスtoCPUバスインタフェース回路21、高速バ
スを介して、HDD制御ボードの動作を規定するデータ
を受信し、RAM23に記憶する。以降、適宜RAMに
記憶したデータを解析し、その結果に応じて、HDD制
御ボードCPUバス28を介して、HDDインタフェー
ス回路25を制御し、RAM23にデータをHDDに書
き込んだり、HDDから読み込んだRAM23のデータ
をHDD制御ボードCPUバス28、高速バスtoCP
Uバスインタフェース回路21、高速バス27を介して
メインボード1に転送したりする。その後、HDD制御
ボード2,3,4,5,6,7は夫々のHDD動作ステ
ータスデータをメインボード1に転送する。
HDD control boards 2, 3, 4, 5, 6, 7
CPU 22 fetches the firmware in the ROM 24 and executes the instruction. The CPU 22 receives data defining the operation of the HDD control board via the HDD control board CPU bus 28, the high-speed bus-to-CPU bus interface circuit 21, and the high-speed bus by the function of the firmware, and stores the data in the RAM 23. Thereafter, the data stored in the RAM is appropriately analyzed, and in accordance with the result, the HDD interface circuit 25 is controlled via the HDD control board CPU bus 28 to write the data to the RAM 23 or read the RAM 23 from the HDD. Data of the HDD control board CPU bus 28 and the high-speed bus toCP
The data is transferred to the main board 1 via the U bus interface circuit 21 and the high-speed bus 27. After that, the HDD control boards 2, 3, 4, 5, 6, and 7 transfer the respective HDD operation status data to the main board 1.

【0007】このように、本従来技術による装置では、
メインボード1と、HDD制御ボード2,3,4,5,
6,7間で相互にデータ転送を行い、全体の動作をメイ
ンボード1のソフトウェアにより管理することで、HD
Dデータ複写装置として機能するように考慮されてい
る。
As described above, in the device according to the prior art,
Main board 1 and HDD control boards 2, 3, 4, 5,
By transferring data between each other and managing the entire operation by the software of the main board 1, the HD
It is considered to function as a D data copying device.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来装
置は、3つの問題点を持っている。第1に、この装置
は、マルチCPUシステムとなることと、高速バスとC
PUバスのインタフェースを各ボードに設ける必要があ
ることにより、コスト高となる傾向が強い。
However, the conventional device has three problems. First, this device is to be a multi-CPU system, and has a high-speed bus and C
The need to provide a PU bus interface on each board tends to increase the cost.

【0009】第2に、メインボード1とHDD制御ボー
ド2,3,4,5,6,7間のデータ転送は高速バス2
7で行うが、ある局面で、メインボード1との間でデー
タ転送可能なのは、HDD制御ボード2,3,4,5,
6,7のうちのただ1枚のボードのみである。従って、
装置全体として、効率よく動作するためには、見かけ上
各HDDが同時に動作しているように見えるように、H
DDの動作スピードに対して十分に高速なバスを使用し
てデータ転送する必要がある。しかし、現在のHDD制
御ボード数で、十分な性能のバスであっても、HDD制
御ボード、及びHDD数を増設することにより、バスの
転送スピードがネックになり、HDD制御ボードのデー
タ持ち時間が発生するようになり、規模拡大に見合った
性能向上が望めなくなる。このことから、装置規模拡大
に対するポテンシャルが小さいという問題がある。
Second, data transfer between the main board 1 and the HDD control boards 2, 3, 4, 5, 6, 7 is performed by a high-speed bus 2
7, the data that can be transferred to and from the main board 1 in certain situations are the HDD control boards 2, 3, 4, 5,
There is only one board out of 6,7. Therefore,
In order to operate efficiently as a whole device, it is necessary to set the HDD so that each HDD appears to be operating at the same time.
It is necessary to transfer data using a bus that is sufficiently fast with respect to the operation speed of the DD. However, even with a bus having sufficient performance with the current number of HDD control boards, by increasing the number of HDD control boards and HDDs, the transfer speed of the bus becomes a bottleneck, and the data holding time of the HDD control board becomes longer. And the performance cannot be improved in proportion to the scale expansion. For this reason, there is a problem that the potential for increasing the scale of the device is small.

【0010】第3に、複写先HDD9〜13に書き込ま
れたデータが原本HDDの内容と一致しているかどうか
検証する工程において、まず、原本HDD8のデータを
RAM15のある領域に記憶し、各々の複写先HDD9
〜13のデータをRAM15のそれぞれ独立した領域に
記憶し、CPU14により原本HDDのデータと、各複
写先HDDのデータが一致しているかを検証するソフト
ウェアが実行される。ここでは、複写先HDD数+1台
のHDDからの、順次的なデータ転送が発生することに
加え、ソフトウェアの動作時間も加り時間がかかるとい
う問題がある。
Third, in the step of verifying whether the data written in the copy destination HDDs 9 to 13 matches the contents of the original HDD, first, the data of the original HDD 8 is stored in a certain area of the RAM 15 and Copy destination HDD 9
To 13 are stored in independent areas of the RAM 15, and the CPU 14 executes software for verifying whether the data of the original HDD matches the data of each copy destination HDD. Here, there is a problem that, in addition to the sequential transfer of data from the number of HDDs of the copy destination + 1 HDD, the operation time of the software and the additional time are required.

【0011】本発明は上記の点に鑑みなされたもので、
複数のハードディスク装置を同時に動作させることがで
き、原本ハードディスク装置のデータを複数の複写先ハ
ードディスク装置に短時間で複写でき、かつ短時間で検
証できるハードディスク制御装置を提供することを目的
とする。
[0011] The present invention has been made in view of the above points,
It is an object of the present invention to provide a hard disk control device capable of simultaneously operating a plurality of hard disk devices, copying data of an original hard disk device to a plurality of copy destination hard disk devices in a short time, and verifying the data in a short time.

【0012】[0012]

【課題を解決するための手段】請求項1に記載の発明
は、制御データを入出力する制御用インタフェースと、
ハードディスクデータを入出力するハードディスクイン
タフェースとを有し、装置全体を制御するメインボード
部と、複数のハードディスク装置夫々に対応して設けら
れ、ハードディスク装置から供給されるデータを上記ハ
ードディスクインタフェースに供給するメインボード方
向データバッファ、及び上記ハードディスクインタフェ
ースから供給されるデータをハードディスク装置に供給
するハードディスク方向データバッファと、上記制御用
インタフェースから供給される制御データに応じて複数
のメインボード方向データバッファのいずれか1つを選
択して動作させ、かつ、複数のハードディスク方向デー
タバッファの1つ又は複数を選択して動作させるバッフ
ァ制御部とを有する拡張ボード部と、上記拡張ボード部
に接続される複数のハードディスク装置とよりなる。
According to a first aspect of the present invention, there is provided a control interface for inputting / outputting control data,
A main board unit having a hard disk interface for inputting and outputting hard disk data and controlling the entire device; and a main board unit provided for each of the plurality of hard disk devices and supplying data supplied from the hard disk device to the hard disk interface. One of a board direction data buffer, a hard disk direction data buffer for supplying data supplied from the hard disk interface to the hard disk device, and a plurality of main board direction data buffers in accordance with control data supplied from the control interface An extension board unit having a buffer control unit for selecting and operating one of the plurality of hard disk direction data buffers and operating one of the plurality of hard disk direction data buffers; The hard disk drive to become more.

【0013】このため、メインボード部から供給される
データを拡張ボード部に接続された複数のハードディス
ク装置に供給して、これらを同時に動作させることが可
能となる。請求項2に記載の発明は、請求項1記載のハ
ードディスク制御装置において、前記メインボード部は
前記拡張ボード部に接続された複数のハードディスク装
置を同時動作させる。
Therefore, it is possible to supply data supplied from the main board to a plurality of hard disk drives connected to the extension board and operate them simultaneously. According to a second aspect of the present invention, in the hard disk control device according to the first aspect, the main board unit simultaneously operates a plurality of hard disk devices connected to the expansion board unit.

【0014】このため、複数のハードディスク装置で同
時に読み出し、又は書き込みを行うことが可能となる。
請求項3に記載の発明は、請求項2記載のハードディス
ク装置において、 前記メインボード部は前記拡張ボー
ド部に接続された原本のハードディスク装置から読み出
したデータを上記拡張ボードに接続された複数の複写先
のハードディスク装置に同時に複写する。
For this reason, it becomes possible to read or write simultaneously with a plurality of hard disk devices.
According to a third aspect of the present invention, in the hard disk drive according to the second aspect, the main board unit reads data read from an original hard disk device connected to the extension board unit to a plurality of copies connected to the extension board. Copy to the hard disk drive at the same time.

【0015】このため、複数のハードディスク装置に対
するデータの複写を短時間で行うことができる。請求項
4に記載の発明は、請求項3記載のハードディスク制御
装置において、前記拡張ボード部は、前記原本のハード
ディスク装置から読み出されたデータと、これと同時に
前記複数の複写先のハードディスク装置から読み出され
たデータ夫々とを比較して異なる場合にエラーとするデ
ータ比較手段を有する。
[0015] Therefore, data can be copied to a plurality of hard disk devices in a short time. According to a fourth aspect of the present invention, in the hard disk control device according to the third aspect, the expansion board unit receives the data read from the original hard disk device and the data read from the plurality of copy destination hard disk devices at the same time. There is a data comparing means for comparing each read data with each other to determine an error when the read data is different.

【0016】このため、複数の複写先ハードディスク装
置のデータが原本ハードディスク装置のデータと同一か
否かを短時間に検証することができる。請求項5に記載
の発明は、請求項1乃至4のいずれか記載のハードディ
スク制御装置において、前記拡張ボード部は、接続され
る複数のハードディスク装置から供給されるステータス
データ及び制御信号夫々の論理演算を行って前記メイン
ボード部に供給する単一のステータスデータ及び制御信
号を生成するタイミングアジャスト手段を有する。
Therefore, it is possible to verify in a short time whether or not the data of the plurality of copy destination hard disk devices is the same as the data of the original hard disk device. According to a fifth aspect of the present invention, in the hard disk control device according to any one of the first to fourth aspects, the expansion board unit performs a logical operation on each of status data and control signals supplied from a plurality of connected hard disk devices. And a timing adjuster for generating a single status data and control signal to be supplied to the main board unit.

【0017】このため、複数のハードディスク装置を同
時に動作させてもメインボード部では単一のハードディ
スク装置が動作しているのと等価となり、複数のハード
ディスク装置の同時制御が可能となる。請求項6に記載
の発明は、請求項5記載のハードディスク制御装置にお
いて、前記タイミングアジャスト手段は、前記バッファ
制御部により未選択のハードディスク方向データバッフ
ァに接続されるハードディスク装置に対応するステータ
スデータ及び制御信号夫々のデフォルト値を発生する。
Therefore, even when a plurality of hard disk drives are operated at the same time, it is equivalent to operating a single hard disk drive in the main board section, and simultaneous control of a plurality of hard disk drives becomes possible. According to a sixth aspect of the present invention, in the hard disk control device according to the fifth aspect, the timing adjustment means controls status data and control corresponding to a hard disk device connected to an unselected hard disk direction data buffer by the buffer control unit. Generate a default value for each signal.

【0018】これにより、未選択のハードディスク装置
によって誤ったステータスデータ及び制御信号がメイン
ボード部に供給されることがなく、選択された複数のハ
ードディスク装置の同時制御が可能となる。請求項7に
記載の発明は、請求項5又は6記載のハードディスク制
御装置において、前記タイミングアジャスト手段は、前
記拡張ボード部に未接続のハードディスク装置に対応す
るステータスデータ及び制御信号夫々のデフォルト値を
発生する。
Thus, erroneous status data and control signals are not supplied to the main board unit by an unselected hard disk device, and simultaneous control of a plurality of selected hard disk devices becomes possible. According to a seventh aspect of the present invention, in the hard disk control device according to the fifth or sixth aspect, the timing adjustment means sets default values of status data and control signals corresponding to a hard disk device not connected to the extension board unit. Occur.

【0019】これにより、拡張ボード部に接続されてな
いハードディスク装置があっても誤ったステータスデー
タ及び制御信号がメインボード部に供給されることがな
く、接続された複数のハードディスク装置の同時制御が
可能となる。請求項8に記載の発明は、請求項1記載の
ハードディスク制御装置において、前記メインボード部
の制御用インタフェースは、低速データの通信を行うシ
リアルインタフェースと、高速データ通信を行うパラレ
ルインタフェースとを有する。
Thus, even if there is a hard disk drive that is not connected to the expansion board unit, erroneous status data and control signals are not supplied to the main board unit, and simultaneous control of a plurality of connected hard disk units is achieved. It becomes possible. According to an eighth aspect of the present invention, in the hard disk control device according to the first aspect, the control interface of the main board unit has a serial interface for performing low-speed data communication and a parallel interface for performing high-speed data communication.

【0020】このため、低速の通信で時間的余裕のある
命令等をシリアルインタフェースを用いて通信するため
にソフトウェアが簡単となり、かつ、原本ハードディス
ク装置からのデータ読み出しと、複写先ハードディスク
装置へのデータ書き込みとの切り換えをパラレルインタ
フェースを用いて通信するために高速に行うことができ
る。
[0020] Therefore, the software is simplified because low-speed communication is performed by using a serial interface to transmit commands and the like that have extra time, and data reading from the original hard disk device and data transfer to the copy destination hard disk device are performed. Switching between writing and writing can be performed at high speed because communication is performed using the parallel interface.

【0021】請求項9に記載の発明は、請求項1記載の
ハードディスク制御装置において、前記拡張ボードに接
続される複数のハードディスク装置の代りに、ハードデ
ィスク装置を搭載し、前記メインボード部に対して疑似
的にハードディスク装置として認識されるコンピュータ
である疑似ハードディスク装置を複数接続する。
According to a ninth aspect of the present invention, in the hard disk control device according to the first aspect, a hard disk device is mounted instead of the plurality of hard disk devices connected to the expansion board, and A plurality of pseudo hard disk devices, which are computers that are virtually recognized as hard disk devices, are connected.

【0022】このため、ハードディスク装置を内蔵した
複数のコンピュータを疑似ハードディスク装置として拡
張ボード部に接続して、原本ハードディスク装置からの
データを複数のコンピュータに内蔵されたハードディス
ク装置に複写し、かつ、検証でき、複写及び検証の作業
性を向上できる。
For this reason, a plurality of computers having a built-in hard disk drive are connected to the extension board section as a pseudo hard disk drive, and data from the original hard disk drive is copied to the hard disk drive built in the plurality of computers and verified. And the workability of copying and verification can be improved.

【0023】請求項10に記載の発明は、請求項1記載
のハードディスク制御装置において、前記メインボード
部をコンピュータに接続し、上記コンピュータから前記
拡張ボード部に接続される複数のハードディスク装置を
アクセスさせる。
According to a tenth aspect of the present invention, in the hard disk control device according to the first aspect, the main board unit is connected to a computer, and the computer accesses a plurality of hard disk devices connected to the expansion board unit. .

【0024】このため、コンピュータから複数のハード
ディスク装置を1台のハードディスク装置として認識さ
せることができ、コンピュータに接続されるハードディ
スク装置の容量を大きくすることができる。請求項11
に記載の発明は、請求項10記載のハードディスク制御
装置において、前記複数のハードディスク装置に同一デ
ータを書き込み、任意のハードディスク装置から読み出
したデータにエラーが発生したとき、他のハードディス
ク装置からデータの読み出しを行わせる。
Therefore, the plurality of hard disk devices can be recognized as one hard disk device by the computer, and the capacity of the hard disk device connected to the computer can be increased. Claim 11
In the hard disk control device according to claim 10, the same data is written to the plurality of hard disk devices, and when an error occurs in data read from any hard disk device, data is read from another hard disk device. Is performed.

【0025】このため、ハードディスク装置の2重化、
又はそれ以上の多重化を簡単かつローコストで実現でき
る。
For this reason, the hard disk drive is duplicated,
Or more multiplexing can be realized simply and at low cost.

【0026】[0026]

【発明の実施の形態】図1は本発明装置の第1実施例の
ブロック図を示す。同図中、本発明装置はメインボード
部としてのメインボード29と、拡張ボード部としての
HDD拡張ボード30と、原本HDD31と、複写先H
DD32,33,34,35,36から構成される。但
し、この複写先HDD数は、便宜上の数であり、現実に
は、もっと多くの複写先HDDが接続可能なように、H
DD拡張ボード内は構成されている。
FIG. 1 is a block diagram showing a first embodiment of the apparatus according to the present invention. In the figure, the apparatus of the present invention includes a main board 29 as a main board, an HDD extension board 30 as an extension board, an original HDD 31, a copy destination H
DD32,33,34,35,36. However, the number of copy destination HDDs is a number for convenience, and in reality, H is set so that more copy destination HDDs can be connected.
The inside of the DD extension board is configured.

【0027】同図中、装置に電源が投入されると、メイ
ンボード29のCPU37はROM39に格納されてい
るファームウェアのフェッチを開始し、ファームウェア
を実行し、メインボードCPUバス43を介してハード
ディスクインタフェースとしてのDISKインタフェー
ス回路41を制御し、フロッピィディスク装置42から
装置全体をHDD複写装置として機能させるためのソフ
トウェアを読み込み、このソフトウェアの実行を開始す
る。まず、CPU37は、メインボードCPU43を介
して制御用インタフェースとしてのシリアル/パラレル
インタフェース回路40を制御し、シリアルインタフェ
ース44からHDD拡張ボード30に対して、これから
行う動作に適合した状態にハードウェアを設定するため
の情報を送信する。この間、HDD拡張ボード30のC
PU49は、ROM47のファームウェアをフェッチ及
び実行し、シリアルインタフェース回路(シリアルI
F)51からの情報入力を監視している。
In the figure, when the power is turned on to the apparatus, the CPU 37 of the main board 29 starts fetching the firmware stored in the ROM 39, executes the firmware, and executes the hard disk interface via the main board CPU bus 43. And reads software for causing the entire device to function as an HDD copying device from the floppy disk device 42, and starts executing the software. First, the CPU 37 controls the serial / parallel interface circuit 40 as a control interface via the main board CPU 43, and sets the hardware from the serial interface 44 to the HDD extension board 30 in a state suitable for the operation to be performed. To send information. During this time, the C of the HDD extension board 30
The PU 49 fetches and executes the firmware in the ROM 47, and executes the serial interface circuit (serial I / O).
F) The information input from 51 is monitored.

【0028】CPU49は、シリアルIF51からの情
報入力を認識すると、情報の内容を解析し、その結果に
応じて、HDDセレクトレジスタ53、動作モードレジ
スタ54、バスセレクトレジスタ55のいずれかを設定
することで、HDD拡張ボード30のハードウェアを以
降の動作に対応できるように設定する。HDDセレクト
レジスタ53は、制御対象のHDDを決定するための情
報をシリアルインタフェース44から供給されて設定す
る。動作モードレジスタは、原本HDDから複写先HD
Dへのデータ複写(以下複写モード)を行うのか、原本
HDDと各複写先HDDの内容の照合(以下照合モー
ド)を行うのか、及び原本HDD書き込み防止回路を有
効にするか、の情報を入力した際に設定される。
When recognizing the information input from the serial IF 51, the CPU 49 analyzes the content of the information and sets any one of the HDD select register 53, the operation mode register 54, and the bus select register 55 according to the result. Then, the hardware of the HDD extension board 30 is set so as to be able to cope with subsequent operations. The HDD select register 53 sets information supplied from the serial interface 44 for determining an HDD to be controlled. The operation mode register stores the data from the original HDD to the copy destination HD.
Input information as to whether to copy data to D (hereinafter referred to as copy mode), to compare the contents of the original HDD with each copy destination HDD (hereinafter referred to as the comparison mode), and to enable the original HDD write protection circuit. It is set when you do.

【0029】バスセレクトレジスタ55は、制御対象の
HDDを決定するための情報を入力した際に、バス信号
の衝突を防止するために、HDD31〜36夫々のメイ
ンボード方向データバッファ66a〜66fを制御する
ための情報がセットされる。バッファEN信号発生回路
58は、HDDセレクトレジスタ53、動作モードレジ
スタ54、バスセレクトレジスタ55、原本/複写先選
択回路56、ステータスレジスタアクセス検出回路60
から信号を供給されてデータバッファ64a〜64f,
66a〜66fのイネーブル信号を生成し、これらに供
給する。
The bus select register 55 controls the main board direction data buffers 66a to 66f of the HDDs 31 to 36 in order to prevent collision of bus signals when information for determining an HDD to be controlled is input. Is set. The buffer EN signal generation circuit 58 includes an HDD select register 53, an operation mode register 54, a bus select register 55, an original / copy destination selection circuit 56, and a status register access detection circuit 60.
From the data buffers 64a to 64f,
Generate enable signals 66a-66f and supply them.

【0030】バッファEN信号発生回路58はステータ
スレジスタ又はオルタネイトステータスレジスタ(これ
らのレジスタは、HDD31〜36夫々の内部にあり、
メインボードから適宜読み出される)をメインホード2
9が読み出した際に、真の信号を出力するステータスレ
ジスタアクセス検出回路60から信号を供給され、ステ
ータスレジスタアクセス検出回路60からの信号が偽で
ある場合に、他の入力信号により、メインボード方向デ
ータバッファ66a〜66f及びHDD方向データバッ
ファ64a〜64fの内の必要なバッファのみにイネー
ブル信号を供給する。
The buffer EN signal generating circuit 58 has a status register or an alternate status register (these registers are provided in the HDDs 31 to 36, respectively).
Main board 2 (read from main board as appropriate)
9 is read, a signal is supplied from the status register access detection circuit 60 which outputs a true signal, and when the signal from the status register access detection circuit 60 is false, another input signal causes The enable signal is supplied to only necessary ones of the data buffers 66a to 66f and the HDD direction data buffers 64a to 64f.

【0031】イネーブル信号を与えられたバッファは入
力された信号を出力可能になり、与えられなかったバッ
ファの出力は入力されている信号に無関係に、値が1で
も0でもないハイインピーダンス状態になり、そのバッ
ファより前段の回路は事実上存在しないのと同じ状態に
なる。このことにより、メインボード29は、命令の伝
達及びデータを送受信すべきHDDを選択可能になる。
上記のレジスタ52〜55及びバッファEN信号発生回
路58がバッファ制御部に対応する。
The buffer supplied with the enable signal can output the input signal, and the output of the buffer not supplied becomes a high impedance state in which the value is neither 1 nor 0 regardless of the input signal. , The circuit preceding the buffer is in the same state as virtually nonexistent. This allows the main board 29 to transmit the command and select the HDD to which data is to be transmitted and received.
The registers 52 to 55 and the buffer EN signal generation circuit 58 correspond to a buffer control unit.

【0032】複数のHDDの同時制御をうまく実行する
ためには、全ての対象HDDを制御しうるタイミングを
作ることと、特定のHDDのみが固有の状態になった場
合の状態伝達を実現する必要がある。これを実現してい
るのが、ステータスデータタイミングアジャスト回路6
1、及び制御信号タイミングアジャスト回路62からな
るタイミングアジャスト手段である。
In order to execute the simultaneous control of a plurality of HDDs successfully, it is necessary to create a timing capable of controlling all the target HDDs and to realize a state transmission when only a specific HDD is in a unique state. There is. This is realized by the status data timing adjust circuit 6
1 and a timing adjustment means comprising a control signal timing adjustment circuit 62.

【0033】ステータスデータタイミングアジャスト回
路61は、CPU37からステータスレジスタかオルタ
ネイトデータレジスタが読み込まれた場合にステータス
レジスタアクセス検出回路60により、ステータスバッ
ファ65が有効とされ、メインボード29に対して出力
可能になる。ステータスデータは、ビット毎に意味を持
つ8ビットデータであり、制御,データ転送タイミング
及び、動作中に発生したエラーに関する状態を示す。ス
テータスデータタイミングアジャスト回路61には、原
本HDD31を含む全HDD31〜36から信号入力さ
れ、制御,データ転送タイミングを示すビットについて
は、全HDDが真になった時真を出力する。また、接続
HDD数が少ないことにより、HDDからの信号が未入
力となる場合は、その入力が真となるように回路を構成
してある。動作中に発生したエラーに関する状態を示す
ビットについては、1台でも真になっていれば、真を出
力するようにしている。接続HDD数が少ないことによ
り、HDDからの信号が未入力となる場合は、その入力
が偽になるように回路を構成している。
The status data timing adjust circuit 61 enables the status buffer 65 by the status register access detection circuit 60 when the status register or the alternate data register is read from the CPU 37, and enables output to the main board 29. Become. The status data is 8-bit data having meaning for each bit, and indicates control, data transfer timing, and a state related to an error that has occurred during operation. The status data timing adjust circuit 61 receives signals from all the HDDs 31 to 36 including the original HDD 31, and outputs true when the control and data transfer timings become true for all the HDDs. Further, the circuit is configured such that, when a signal from the HDD is not input due to a small number of connected HDDs, the input is true. As for a bit indicating a state related to an error that has occurred during operation, true is output if at least one of them is true. When a signal from the HDD is not input due to a small number of connected HDDs, the circuit is configured so that the input becomes false.

【0034】制御信号タイミングアジャスト回路62か
ら出力される信号種は、動作終了タイミングを示す割り
込み信号(以下割り込み信号)と、16ビットデータ転
送の実行中を示す信号(以下データ転送中)と、CPU
37に対してウェイトを要求する信号(以下WAIT信
号)がある。割り込み信号とデータ転送中については、
全てのHDD31〜36からの入力が真の場合に、真と
なるようにしている。接続HDD数が少ないことによ
り、HDDからの信号が未入力となる場合は、その入力
が真になるように回路を構成している。
The signal types output from the control signal timing adjustment circuit 62 include an interrupt signal (hereinafter referred to as an interrupt signal) indicating an operation end timing, a signal indicating that 16-bit data transfer is being executed (hereinafter referred to as data transfer), and a CPU.
There is a signal (hereinafter referred to as a WAIT signal) for requesting a wait for 37. During interrupt signal and data transfer,
It is set to be true when the inputs from all HDDs 31 to 36 are true. When a signal from the HDD is not input due to a small number of connected HDDs, the circuit is configured so that the input is true.

【0035】WAIT信号については、基本的に、1台
でも信号を真にするHDDがあれば、真を出力するよう
にしている。WAIT信号は、HDDがCPU37に対
して適切に応答できない場合に、HDDが出力するため
の信号であり、CPU37のHDDへのアクセスを示す
信号からある一定の時間以内に真にしない場合、CPU
37はWAIT信号を受け付けない。この状況になる
と、CPU37とHDD間のデータ転送タイミングにず
れが生じ、CPU37が誤ったデータを受け取ったり、
HDDに誤ったデータを書き込んだりする状態になる。
しかも、本実施例のHDD拡張ボード30では、信号安
定と、HDDセレクト機能の実現などの目的で使用して
いるバッファ66a〜66fの信号遅延により、WAI
T信号が受付られないばかりか、HDDがWAIT信号
を出力しない場合にも適切なデータ転送タイミングを確
保できない。そこで、図2,図3に示すようにCPU3
7に対して伝えるWAIT信号をHDD拡張ボード内で
作成するようにしている。
As for the WAIT signal, basically, if at least one HDD has a signal that makes the signal true, the signal is output true. The WAIT signal is a signal to be output from the HDD when the HDD cannot appropriately respond to the CPU 37. If the WAIT signal does not become true within a certain time from the signal indicating the CPU 37 accessing the HDD, the WAIT signal is output.
37 does not accept the WAIT signal. In this situation, the data transfer timing between the CPU 37 and the HDD is shifted, and the CPU 37 receives incorrect data,
It becomes a state where wrong data is written to the HDD.
Moreover, in the HDD extension board 30 of the present embodiment, the WAI is reduced due to the signal stabilization and the signal delay of the buffers 66a to 66f used for the purpose of realizing the HDD select function.
Not only is the T signal not accepted, but also when the HDD does not output the WAIT signal, it is not possible to secure an appropriate data transfer timing. Therefore, as shown in FIGS.
7 is generated in the HDD expansion board.

【0036】図2は、HDDがWAIT信号を出力した
時のCPU37に伝えるWAIT信号の作成方法を示す
タイミングチャートである。図2(A)に示すCPUの
HDDアクセス信号の立ち下がりから、同図(B)に示
すWAITの規格上のタイミングを示すWAIT規格タ
イミングの立ち下がりまでの最大時間aに対して、同図
(C)に示す現実のHDDの出力のWAITがCPU3
7に伝わるのに、時間bだけ超過してしまう場合、HD
D拡張ボード30内で、同図(D)に示すWAIT信号
を発生させ、時間bに対してマージンのある時間cだけ
保持し、同図(C),(D)を合成して、同図(E)に
示すCPUに伝えるWAIT信号を作る。
FIG. 2 is a timing chart showing a method of creating a WAIT signal to be transmitted to the CPU 37 when the HDD outputs the WAIT signal. With respect to the maximum time a from the fall of the HDD access signal of the CPU shown in FIG. 2A to the fall of the WAIT standard timing shown in FIG. The WAIT of the output of the actual HDD shown in FIG.
If the time b is exceeded when it reaches the 7th, HD
In the D extension board 30, the WAIT signal shown in FIG. 3D is generated and held for a time c having a margin with respect to the time b, and the signals shown in FIGS. A WAIT signal to be transmitted to the CPU shown in FIG.

【0037】図3は、HDDがWAIT信号を出力しな
い時のCPU37に伝えるWAIT信号の作成方法を示
すタイミングチャートである。ここでは、図3(A)に
示すCPUのHDDアクセス信号の立上りから同図
(B)に示すWAIT規格タイミングの立ち下がりまで
の最大時間aに対して同図(C)に示す時間a+cだけ
値0の信号を作り、CPU37に対して出力する。
FIG. 3 is a timing chart showing a method of creating a WAIT signal to be transmitted to the CPU 37 when the HDD does not output the WAIT signal. Here, the maximum time a from the rise of the HDD access signal of the CPU shown in FIG. 3 (A) to the fall of the WAIT standard timing shown in FIG. 3 (B) corresponds to the time a + c shown in FIG. 3 (C). A signal of 0 is generated and output to the CPU 37.

【0038】図4はステータスデータタイミングアジャ
スト回路61の一実施例のブロック図を示す。ステータ
スデータタイミングアジャスト回路61は処理する信号
の内容により2タイプの処理を行っている。第1のタイ
プは動作中のHDDのうち1台でも信号をアサートした
HDDがあれば、メインボード29に対してアサートす
る必要のある信号に対する処理であり、かつ、HDDが
未選択又は未接続のディスクインタフェースポート(H
DD拡張ボード30のHDD31〜36の接続端子)に
よってメインボード29への信号のアサート条件が不当
に整うことを防止する構成である。
FIG. 4 is a block diagram showing one embodiment of the status data timing adjustment circuit 61. The status data timing adjustment circuit 61 performs two types of processing depending on the content of the signal to be processed. The first type is a process for a signal that needs to be asserted to the main board 29 if at least one of the operating HDDs has asserted a signal, and the HDD is unselected or unconnected. Disk interface port (H
This configuration prevents the condition for asserting a signal to the main board 29 from being improperly set by the connection terminals of the DD extension board 30 for the HDDs 31 to 36).

【0039】この第1のタイプの処理を受ける信号はH
DDがコマンド受け付け不能であることを示すビジー信
号と、HDDにエラーが発生したことを示すエラー通知
信号であり、HDD31〜36夫々の出力する上記信号
はバッファ回路100〜105夫々に供給される。バッ
ファ回路100〜105は同一構成であり、入力端子が
抵抗を介して接地され、出力端子が抵抗を介して正の電
源(+5V)に接続され、制御端子にバッファEN信号
発生回路58からのHDD対応のイネーブル信号を供給
されたインバータで構成されている。
The signal subjected to this first type of processing is H
These are a busy signal indicating that the DD cannot accept a command and an error notification signal indicating that an error has occurred in the HDD. The above signals output from the HDDs 31 to 36 are supplied to the buffer circuits 100 to 105, respectively. The buffer circuits 100 to 105 have the same configuration, the input terminal is grounded via a resistor, the output terminal is connected to a positive power supply (+5 V) via a resistor, and the control terminal is connected to the HDD EN from the buffer EN signal generation circuit 58. It is composed of an inverter supplied with a corresponding enable signal.

【0040】バッファ回路100〜105は対応するH
DDのイネーブル信号がアサート(HDD選択)されて
いれば、供給される信号を反転して次段のインバータ1
07〜112に供給し、イネーブル信号がデアサート
(HDD未選択)ならば、出力端子が電源に接続されて
いるので次段のインバータ107〜112に固定的に値
1を供給する。HDD31〜36の未接続時にはバッフ
ァ回路100〜105の入力端子が接地されているので
値0が供給される。
Each of the buffer circuits 100 to 105 has a corresponding H
If the DD enable signal is asserted (HDD selection), the supplied signal is inverted and the next inverter 1
07 to 112, and if the enable signal is deasserted (HDD not selected), the value 1 is fixedly supplied to the next-stage inverters 107 to 112 because the output terminal is connected to the power supply. When the HDDs 31 to 36 are not connected, the value 0 is supplied because the input terminals of the buffer circuits 100 to 105 are grounded.

【0041】このため、未選択又は未接続のHDDに対
応するインバータ107〜112は必ず値0を出力し、
このインバータ107〜112出力はオア回路114に
供給される。オア回路114は供給される信号が全て値
0のときにのみ値0を出力し、その他の場合に値1を出
力する。このため、選択されたHDDのうち1台でもビ
ジー,エラー通知信号をアサートした場合に、メインボ
ード29に対してビジー,エラー信号がアサートされ
る。またHDD未接続時にビジー信号が値0となる構成
のため、HDD起動時には、HDDはしばらくの間ビジ
ー信号を値1とすることを利用して、HDD電源投入直
後にチェックを行って瞬時にしてHDD接続の有無を判
定できる。
For this reason, the inverters 107 to 112 corresponding to the unselected or unconnected HDD always output the value 0,
The outputs of the inverters 107 to 112 are supplied to an OR circuit 114. The OR circuit 114 outputs the value 0 only when all the supplied signals have the value 0, and outputs the value 1 in other cases. Therefore, when at least one of the selected HDDs asserts the busy / error notification signal, the busy / error signal is asserted to the main board 29. Also, since the busy signal has a value of 0 when the HDD is not connected, the HDD uses a busy signal of 1 for a while at the time of starting up the HDD, making a check immediately after turning on the HDD power, and instantaneously. The presence or absence of the HDD connection can be determined.

【0042】第2のタイプは、全ての動作中のHDDが
信号をアサートした場合にのみメインボード29に対し
てアサートすべき信号に対する処理であり、かつHDD
が未選択又は未接続のディスクインタフェースポートに
よってメインボードへの信号のアサート条件が整うこと
を阻害しない構成である。この第2のタイプの処理を受
ける信号は制御タイミング信号であり、HDD31〜3
6夫々の出力する制御タイミング信号はバッファ回路1
15〜120夫々に供給される。バッファ回路115〜
120は同一構成であり、出力端子が抵抗を介して正の
電源(+5V)に接続され、制御端子にバッファEN信
号発生回路58からのHDD対応のイネーブル信号を供
給されたバッファで構成されている。
The second type is a process for a signal to be asserted to the main board 29 only when all active HDDs have asserted a signal.
Does not prevent the condition of asserting the signal to the main board from being set by the unselected or unconnected disk interface port. The signal subjected to the second type of processing is a control timing signal,
The control timing signals output from each of the six
It is supplied to each of 15 to 120. Buffer circuits 115-
Reference numeral 120 denotes the same configuration, which is configured by a buffer whose output terminal is connected to a positive power supply (+5 V) via a resistor and whose control terminal is supplied with an enable signal corresponding to the HDD from the buffer EN signal generation circuit 58. .

【0043】バッファ回路115〜120は対応するH
DDのイネーブル信号がアサート(HDD選択)されて
いれば、供給される信号を出力し、イネーブル信号がデ
アサート(HDD未選択)ならば、出力端子が電源に接
続されているのでバッファ回路115〜120は固定的
に値1を出力する。また、未接続のHDDに対応するバ
ッファ回路115〜120は必ず値1を出力し、このバ
ッファ回路115〜120出力はアンド回路123に供
給される。アンド回路123は供給される信号が全て値
1のときにのみ値1を出力し、その他の場合に値0を出
力する。このため、接続され、選択されている全てのH
DDが制御タイミング信号をアサートした場合に、メイ
ンボード29に対して制御タイミング信号がアサートさ
れる。
The buffer circuits 115 to 120 have corresponding H
If the DD enable signal is asserted (HDD is selected), the supplied signal is output. If the enable signal is deasserted (HDD is not selected), the output terminals are connected to the power supply, so that the buffer circuits 115 to 120 are connected. Outputs a fixed value of 1. Further, the buffer circuits 115 to 120 corresponding to the unconnected HDDs always output the value 1, and the outputs of the buffer circuits 115 to 120 are supplied to the AND circuit 123. The AND circuit 123 outputs the value 1 only when all the supplied signals have the value 1, and outputs the value 0 in other cases. Therefore, all the connected and selected H
When the DD asserts the control timing signal, the control timing signal is asserted to the main board 29.

【0044】図5は制御信号タイミングアジャスト回路
62の一実施例のブロック図を示す。制御信号タイミン
グアジャスト回路はWAIT信号,データ転送中,割り
込み要求信号を処理し、全てのHDD31〜36からの
入力が値1の場合、メインボードに対して値1を供給す
る。但し、図中、バーを付加したWAIT信号とデータ
転送中は負論理の信号であるため負論理入力のオア論理
として考える。即ち1台以上のHDDが信号を値0(ア
サート)した場合、メインボード29に対して信号をア
サートするように動作する。またWAIT信号は本回路
の生成信号と合成された後に出力される。
FIG. 5 is a block diagram showing one embodiment of the control signal timing adjust circuit 62. The control signal timing adjust circuit processes the WAIT signal and the interrupt request signal during data transfer, and supplies the value 1 to the main board when the inputs from all the HDDs 31 to 36 are the value 1. However, in the drawing, since the signal is a negative logic signal during the data transfer and the WAIT signal to which the bar is added, it is considered as a negative logic input OR logic. That is, when one or more HDDs assert a signal of value 0 (assert), the operation is performed so as to assert the signal to the main board 29. The WAIT signal is output after being synthesized with the generated signal of this circuit.

【0045】HDD31〜36が出力するWAIT信
号,データ転送中,割り込み要求信号は、バッファ回路
132〜137夫々に供給される。バッファ回路132
〜137は同一構成であり、出力端子が抵抗を介して正
の電源(+5V)に接続され、、制御端子にバッファE
N信号発生回路58からのHDD対応のイネーブル信号
を供給されたバッファで構成されている。バッファ回路
132〜137は対応するHDDのイネーブル信号がア
サート(HDD選択)されていれば、供給される信号を
出力し、イネーブル信号がデアサート(HDD未選択)
ならば、出力端子が電源に接続されているのでバッファ
132〜137は固定的に値1を出力する。また、未接
続のHDDに対応するバッファ回路132〜137は必
ず値1を出力し、このバッファ回路132〜137出力
はアンド回路139に供給される。アンド回路139は
供給される信号が全て値1のときにのみ値1を出力し、
その他の場合に値0を出力する。
The WAIT signal output from the HDDs 31 to 36 and the interrupt request signal during data transfer are supplied to the buffer circuits 132 to 137, respectively. Buffer circuit 132
137 have the same configuration, the output terminal is connected to a positive power supply (+5 V) via a resistor, and the buffer E is connected to the control terminal.
It is composed of a buffer supplied with an enable signal for the HDD from the N signal generation circuit 58. When the enable signal of the corresponding HDD is asserted (HDD selection), the buffer circuits 132 to 137 output the supplied signal, and the enable signal is deasserted (HDD not selected).
Then, since the output terminal is connected to the power supply, the buffers 132 to 137 fixedly output the value 1. Further, the buffer circuits 132 to 137 corresponding to the unconnected HDD always output the value 1, and the outputs of the buffer circuits 132 to 137 are supplied to the AND circuit 139. The AND circuit 139 outputs the value 1 only when all the supplied signals have the value 1,
Otherwise, it outputs the value 0.

【0046】フリップフロップ141はDISKインタ
フェース回路41から負論理のHDDアクセス信号をク
ロック入力端子に供給され、データ入力端子に値1を供
給され、HDDアクセス信号をディレイ回路142で遅
延した信号をクリア入力端子に供給されている。これに
よってフリップフロップ141はHDDアクセス信号を
供給されると負論理のWAIT信号を生成し、このWA
IT信号はアンド回路140に供給されてアンド回路1
39から供給されるWAIT信号と負論理の論理和をと
られ、図1の制御信号出力バッファ63に供給される。
The flip-flop 141 is supplied with a negative logic HDD access signal from the DISK interface circuit 41 to the clock input terminal, is supplied with the value 1 to the data input terminal, and clear-inputs a signal obtained by delaying the HDD access signal by the delay circuit 142. It is supplied to the terminal. Thus, when the flip-flop 141 is supplied with the HDD access signal, it generates a negative logic WAIT signal,
The IT signal is supplied to the AND circuit 140 and the AND circuit 1
The logical OR of the WAIT signal supplied from 39 and negative logic is obtained and supplied to the control signal output buffer 63 of FIG.

【0047】次に図1に示す装置の動作について説明す
る。本装置は、接続されているHDDの認識工程(以下
認識工程)と、原本HDDの内容を複写先HDDに複写
する複写工程(以下複写工程)と、複写された内容が原
本HDDの内容と一致しているかの検証工程(以下検証
工程)からなる。
Next, the operation of the apparatus shown in FIG. 1 will be described. This apparatus performs a recognition step of a connected HDD (hereinafter, a recognition step), a copying step of copying the contents of an original HDD to a copy destination HDD (hereinafter, a copying step), and a step of copying the copied contents to the contents of the original HDD. It consists of a verification step (hereinafter referred to as a verification step).

【0048】認識工程では、まず、CPU37は、シリ
アルインタフェース44により、原本/複写先選択回路
56が、原本HDD31を制御及びデータの送受信対象
とする信号を出力するためのデータを出力し、動作モー
ドレジスタ54に複写モード及び原本HDD書き込み防
止回路59を有効と設定するようにデータを送信し、H
DDセレクトレジスタ53が、原本HDD31のみが選
択された状態になるように、データ送信することによ
り、ステータスレジスタアクセス回路40の出力が偽の
ときに原本HDD31のHDD方向バッファ64aとメ
インボード方向データバッファ66aのみが有効にな
り、原本HDD31の制御やデータの送受信が可能にな
る。この状態で、HDDのモデルナンバー,容量,ブロ
ック長,ブロック数などのHDDパラメータを取得する
ためのコマンドを与える。このコマンドが正常に終了す
れば、原本HDD31が存在し、正常動作可能と判断
し、複写先HDDの認識作業に移行する。
In the recognition step, first, the CPU 37 causes the serial interface 44 to cause the original / copy destination selection circuit 56 to output data for controlling the original HDD 31 and outputting a signal for data transmission / reception. Data is transmitted to the register 54 so as to set the copy mode and the original HDD write protection circuit 59 as valid,
The DD select register 53 transmits data so that only the original HDD 31 is selected, so that when the output of the status register access circuit 40 is false, the HDD direction buffer 64a of the original HDD 31 and the main board direction data buffer are output. Only 66a becomes effective, and control of the original HDD 31 and transmission and reception of data become possible. In this state, a command for acquiring HDD parameters such as the model number, capacity, block length, and number of blocks of the HDD is given. If this command ends normally, it is determined that the original HDD 31 is present and that normal operation is possible, and the operation shifts to the work of recognizing the copy destination HDD.

【0049】次に、CPCU37は原本/複写先選択回
路56が、複写先HDDのうちの1台を制御及びデータ
の送受信対象とする信号を出力するように、シリアルイ
ンタフェース44からデータを送出し、HDDセレクト
レジスタ53に、制御及びデータ送受信の対象としたい
任意の複写先HDDのみが設定されるようにデータを送
信する。HDDセレクトレジスタ53に1台の複写先H
DDが設定されるのと同時に、HDD拡張ボード30の
ファームウェア機能によりHDDセレクトレジスタ53
で指定された複写先HDDのメインボード方向データバ
ッファと、HDD方向データバッファが有効になるよう
にバスセレクトレジスタ55が設定される。
Next, the CPCU 37 sends data from the serial interface 44 so that the original / copy destination selection circuit 56 outputs a signal for controlling one of the copy destination HDDs and transmitting and receiving data. Data is transmitted to the HDD select register 53 so that only an arbitrary copy destination HDD to be controlled and transmitted / received is set. One copy destination H is stored in the HDD select register 53.
At the same time as setting of the DD, the firmware function of the HDD extension board 30 uses the HDD select register 53.
The bus select register 55 is set so that the data buffer in the main board direction of the copy destination HDD and the data buffer in the HDD direction specified by (1) become valid.

【0050】なお、本来バスセレクトレジスタ55は、
複数のHDDのみが選択されている場合に、複数のメイ
ンボード方向データバッファが有効になってバスが衝突
するのを避けるために、選択されているうちの1台のH
DDに対するメインボード方向データバッファのみを有
効にするように用いられる。この状態で、ステータスレ
ジスタアクセス検出回路60の出力が偽のときに指定H
DD方向データバッファとメインボード方向データバッ
ファのみが有効になり、原本HDD31の制御やデータ
の送受信が可能になる。ここで、HDDパラメータを取
得するためのコマンドを発行し、コマンドが正常に終了
し、シリアルナンバーのような固有値を除いて、原本H
DDのパラメータと一致していれば、その複写先HDD
を有効とする。以下、同様に他の複写先HDDについて
も、認識作業を行うことで、認識工程は終了する。
The bus select register 55 is originally
When only a plurality of HDDs are selected, to prevent a plurality of mainboard direction data buffers from becoming effective and causing a bus collision, one of the selected H
Used to enable only the mainboard direction data buffer for DD. In this state, when the output of the status register access detection circuit 60 is false, the designated H
Only the DD direction data buffer and the main board direction data buffer are enabled, and control of the original HDD 31 and transmission / reception of data become possible. Here, a command for acquiring HDD parameters is issued, the command ends normally, and the original H is deleted except for a unique value such as a serial number.
If the parameters match the DD parameters, the copy destination HDD
Is valid. Hereinafter, similarly, the recognition process is completed for other copy destination HDDs by performing the recognition work.

【0051】認識工程で、注意すべきことは、HDD拡
張ボード30に常に最大数の複写先HDDが接続されて
いるとは限らないことであり、単純にHDDの応答を期
待した方法であると、HDDが未接続の場合、比較的長
いタイムアウト時間を経過した後でないと未接続である
ことを認識できないからである。なぜならば、HDDは
電源投入時などに30秒もコマンドを受け付けないこと
があるからである。そこで、本発明装置では、HDDパ
ラメータを取得する以前に次の方法で未接続箇所を予め
制御対象から外す方法を取っている。
It should be noted in the recognition process that the maximum number of copy destination HDDs is not always connected to the HDD expansion board 30, and it is a method that simply expects a response from the HDDs. This is because when the HDD is not connected, it cannot be recognized that the HDD is not connected until after a relatively long time-out time has elapsed. This is because the HDD may not accept a command for 30 seconds when the power is turned on. Therefore, in the apparatus of the present invention, a method of removing unconnected portions from control targets in advance by the following method before acquiring HDD parameters is adopted.

【0052】HDD31〜36は、パワーオンシーケン
スにおいて約30秒以内の間ステータスレジスタのビジ
ービットを真にする。従って、HDD拡張ボード30の
回路を、HDDが未接続な状態で、ステータスレジスタ
を読み込まれた場合に、ビジーが偽で、コマンド発行可
能を示す信号が真になるように構成することで、ビジー
が真であるならば、HDDが接続されていると判断でき
る。ビジーが偽の場合は、そのドライブへのコマンド発
行を試みて、正常な応答が得られた場合HDDを有りと
し、そうでなければ未接続と判断する。ビジーが偽で、
HDDが通電及び接続されているならば、コマンドへの
応答はただちに発生するので、未接続による応答なし
を、短いタイムオーバ時間の経過で判断することができ
る。
The HDDs 31 to 36 set the busy bit of the status register to true for about 30 seconds or less in the power-on sequence. Therefore, by configuring the circuit of the HDD expansion board 30 such that when the status register is read in a state where the HDD is not connected, the busy is false and the signal indicating that the command can be issued becomes true, so that the busy is increased. Is true, it can be determined that the HDD is connected. If the busy is false, an attempt is made to issue a command to the drive, and if a normal response is obtained, it is determined that the HDD is present, and if not, it is determined that the HDD is not connected. Busy is fake,
If the HDD is energized and connected, a response to the command occurs immediately, and it is possible to determine that there is no response due to no connection after a short time-out period.

【0053】複写工程では、動作モードレジスタ54を
複写モード,及び、原本HDD書き込み防止回路59を
有効にするように設定し、回路の誤動作や制御上のミス
が発生しても原本HDD31の内容の破壊を防止するよ
うにする。複写モードの場合、バッファEN信号発生回
路58内で、原本/複写選択回路56からの入力が有効
になる。HDDセレクトレジスタ53には、原本HDD
31と、複写を実行する複写先HDD(例えば32〜3
6)が指定され、原本/複写先選択回路56からのバッ
ファEN信号発生回路58へ供給される信号が原本HD
D選択となることで、バッファEN信号発生回路58
は、原本HDDのHDD方向データバッファ64aを有
効にする信号を出力する。
In the copying process, the operation mode register 54 is set so as to enable the copy mode and the original HDD write protection circuit 59 so that the contents of the original HDD 31 can be read even if a circuit malfunction or control error occurs. Try to prevent destruction. In the copy mode, the input from the original / copy selection circuit 56 becomes valid in the buffer EN signal generation circuit 58. The HDD select register 53 contains the original HDD
31 and a copy destination HDD (for example, 32-3
6) is specified, and the signal supplied from the original / copy destination selection circuit 56 to the buffer EN signal generation circuit 58 is the original HD
By selecting D, the buffer EN signal generation circuit 58
Outputs a signal for enabling the HDD direction data buffer 64a of the original HDD.

【0054】バスセレクトレジスタ55には、原本HD
Dのメインボード方向データバッファ66aが、複写先
HDDの中の1台だけのメインボード方向バッファ(例
えば66b)が有効になるように設定され、原本//複
写先選択回路56が原本選択になっているので、バッフ
ァEN信号発生回路58は、原本HDDのメインボード
方向バッファ66aを有効にする信号を出力する。従っ
て、原本HDDの双方向バスが有効になり、メインボー
ド29からの制御を受けて原本HDDからのデータ読み
込みが実行される。
In the bus select register 55, the original HD
The mainboard direction data buffer 66a of D is set so that only one mainboard direction buffer (for example, 66b) in the copy destination HDD is enabled, and the original // copy destination selection circuit 56 selects the original. Therefore, the buffer EN signal generation circuit 58 outputs a signal for enabling the main board direction buffer 66a of the original HDD. Accordingly, the bidirectional bus of the original HDD is enabled, and data is read from the original HDD under the control of the main board 29.

【0055】次に、原本/複写先選択回路56を複写先
選択に制御されると、HDDセレクトレジスタ53によ
り指定された全ての複写先HDDのHDD方向データバ
ッファ64b〜64fが有効になり、バスセレクトレジ
スタ55で指定された1台の複写先HDDのメインボー
ド方向データバッファ66bが有効になる。この状態
で、読み込んだデータを指定した複写先HDDに書き込
む準備が出来たことになるが、複数のHDDの同時制御
をうまく実行するためには、全ての対象HDを制御しう
るタイミングを作ることと、特定のHDDのみが固有の
状態になった場合の状態伝達を実現する必要がある。こ
れを実現しているのが、ステータスデータタイミングア
ジャスト回路61、及び、制御信号タイミングアジャス
ト回路62である。
Next, when the original / copy destination selection circuit 56 is controlled to select the copy destination, the HDD direction data buffers 64b to 64f of all the copy destination HDDs specified by the HDD select register 53 become valid, and the bus The main board direction data buffer 66b of one copy destination HDD specified by the select register 55 becomes valid. In this state, the read data is ready to be written to the designated copy destination HDD. However, in order to perform simultaneous control of a plurality of HDDs successfully, it is necessary to create a timing that can control all target HDs. It is necessary to realize a state transmission when only a specific HDD is in a unique state. This is realized by the status data timing adjust circuit 61 and the control signal timing adjust circuit 62.

【0056】ステータスデータは、ステータスレジスタ
が、CPU37から読み込まれた際に、ステータスレジ
スタアクセス検出回路60により、ステータスバッファ
65が有効になりメインボード29に対して転送され
る。制御信号は、HDDの状態により、CPU37に対
して非同期に発生する。ステータスデータは、ビット毎
に意味を持つ8ビットデータであり、制御,データ転送
タイミング及び、動作中に発生したエラーに関する状態
を示す。制御信号は、独立した信号線を使用しており、
動作終了タイミングを示す割り込み信号と、データ転送
中、CPUに対するWAIT信号がある。このうち制
御,データ転送,動作終了タイミングについては、全対
象HDDの該当信号が真の場合にメインボードに対し
て、信号を真にし、その他については、1台でも真なら
ば真にするようにしている。エラー発生時は、1台毎に
リトライさせ、エラー発生HDDを特定することができ
る。
The status data is transferred to the main board 29 by the status register access detection circuit 60 when the status register is read from the CPU 37 and the status buffer 65 is enabled. The control signal is generated asynchronously to the CPU 37 depending on the state of the HDD. The status data is 8-bit data having meaning for each bit, and indicates control, data transfer timing, and a state related to an error that has occurred during operation. The control signal uses an independent signal line,
There are an interrupt signal indicating the operation end timing and a WAIT signal to the CPU during data transfer. Of the control, data transfer, and operation end timings, the signal is made true for the main board when the corresponding signal is true for all the target HDDs, and true for at least one of the other HDDs if true. ing. When an error occurs, a retry is performed for each unit, and the HDD in which the error has occurred can be specified.

【0057】このようにして、複数のHDDを単一制御
で同時動作させることを可能とし、書き込み制御と、書
き込みデータを転送することで、全複写先HDD32〜
36に対してデータの複写を同時に行う。また、HDD
全体のデータを複写するためには、原本HDD31から
のデータリードと、複写先HDD32〜36への複写を
繰り返す必要があるために、原本/複写先選択回路56
のパラレルインタフェース45を用いた設定により、直
接回路的にバス切り替えを行うことで、データリードと
複写の切り替え時間の短縮を実現している。
In this way, it is possible to simultaneously operate a plurality of HDDs with a single control, and by controlling the writing and transferring the writing data, all the copy destination HDDs 32 to
The data is copied to the memory 36 at the same time. In addition, HDD
In order to copy the entire data, it is necessary to repeat the data read from the original HDD 31 and the copy to the copy destination HDDs 32 to 36.
With the setting using the parallel interface 45, the bus switching is performed directly in a circuit, thereby shortening the switching time between data reading and copying.

【0058】検証工程は、HDD拡張ボードの動作モー
ドレジスタに検証モードを設定することにより実行可能
になる。原本HDD31と、指定された全ての複写先H
DD(例えば32〜36)のHDD方向データバッファ
64a〜64fと、原本HDDのメインボード方向デー
タバッファ66aが有効になる。ステータスデータタイ
ミングアジャスト回路61及び、制御信号タイミングア
ジャスト回路62は、複写工程と同様に機能し、CPU
37の読み出し制御により、原本HDD31と、指定さ
れた全ての複写先HDDが読み出しを実行し、読み出さ
れたデータは、データ比較手段であるデータ比較回路5
7に供給され各複写先HDDのデータが、原本HDDの
データと一致しているかをチェックされる。エラーがあ
れば、エラーレジスタ52のエラー発生複写先HDDに
対応するビットがセットされ、CPU49により、シリ
アルインタフェースを介して、メインボードに通知され
る。しかるべき後に、CPU37から、シリアルインタ
フェース44を介して、原本HDDと内容が不一致だっ
た複写先HDDを検証対象から外すように指示される。
The verification step can be executed by setting the verification mode in the operation mode register of the HDD extension board. Original HDD 31 and all designated copy destinations H
The DD (for example, 32-36) HDD direction data buffer 64a-64f and the original HDD main board direction data buffer 66a become effective. The status data timing adjustment circuit 61 and the control signal timing adjustment circuit 62 function in the same manner as in the copying process.
Under the read control of 37, the original HDD 31 and all the designated copy destination HDDs execute reading, and the read data is transmitted to the data comparing circuit 5 as data comparing means.
7, it is checked whether the data of each copy destination HDD matches the data of the original HDD. If there is an error, the bit corresponding to the error occurrence copy destination HDD of the error register 52 is set, and the CPU 49 notifies the main board via the serial interface. After an appropriate time, the CPU 37 instructs, via the serial interface 44, that the copy destination HDD whose content does not match the original HDD is excluded from the verification target.

【0059】図6は本発明装置の第2実施例のブロック
図を示す。この実施例は、第1実施例に対して、更に作
業性を向上させるため、HDD32〜36の代りに疑似
HDD80,81,82,83,84を接続する。メイ
ンボード29、HDD拡張ボード30、及び原本HDD
31は第1実施例と同様なので説明を省略し、疑似HD
D80〜84について説明する。通常疑似HDDはパー
ソナルコンピュータなどのコンピュータ機器そのもの
に、外部HDDの接続を可能とする拡張DISKインタ
フェースを搭載して構成される。
FIG. 6 is a block diagram showing a second embodiment of the apparatus of the present invention. In this embodiment, pseudo HDDs 80, 81, 82, 83 and 84 are connected in place of the HDDs 32 to 36 in order to further improve the workability with respect to the first embodiment. Main board 29, HDD expansion board 30, and original HDD
31 is the same as that of the first embodiment, and the description is omitted.
D80 to D84 will be described. Usually, the pseudo HDD is configured by mounting an extended DISK interface that enables connection of an external HDD to a computer device itself such as a personal computer.

【0060】図7は疑似HDDの一実施例のブロック図
を示す。同図中、CPU86は、CPUバス94、バス
コントロール回路87、ローカルバス95を介して、R
OM89のプログラムをチェックし、全体を疑似HDD
として機能させるためのソフトウェアを、CPUバス9
4、バスコントロール回路87、ローカルバス95、デ
ィスクインタフェース回路90を介して、フロッピィデ
ィスク装置93からRAM88にロードする。次に、R
AM88にロードしたソフトウェアをフェッチし、ソフ
トウェアを実行する。ソフトウェアは、拡張DISKイ
ンタフェース回路91を接続し、HDDインタフェース
93に接続する制御装置(メインボード29及びHDD
拡張ボード30)にとってHDDが接続されているよう
に認識されるよう機能する。
FIG. 7 is a block diagram showing one embodiment of the pseudo HDD. In the figure, a CPU 86 transmits an R signal via a CPU bus 94, a bus control circuit 87, and a local bus 95.
Check the program of OM89, the whole is pseudo HDD
Software to function as a CPU bus 9
4. The data is loaded from the floppy disk drive 93 to the RAM 88 via the bus control circuit 87, the local bus 95, and the disk interface circuit 90. Next, R
The software loaded on the AM 88 is fetched and the software is executed. The software connects the extended DISK interface circuit 91 and the control device (the main board 29 and the HDD) connected to the HDD interface 93.
The extension board 30) functions to recognize that the HDD is connected.

【0061】以下、これを実現するためのソフトウェア
の機能について説明する。疑似HDDの目的は、疑似H
DDがつながれた制御装置にとってあたかも、HDD9
2を直接制御しているかのように認識させつつ、HDD
92に対して制御装置が期待している制御を実行して、
HDD92を搭載したまま、HDD92のアクセスを可
能にすることにある。そのために、疑似HDDのソフト
ウェアはまず、HDD92のHDDパラメータを取得
し、しかるべき後に制御装置が同種の制御を疑似HDD
に対して実行してくるのに備える。
Hereinafter, functions of software for realizing this will be described. The purpose of pseudo HDD is pseudo H
For the control device to which the DD is connected, the HDD 9
HDD 2 while recognizing it as if
Performing the control expected by the control device on 92,
An object of the present invention is to enable access to the HDD 92 while the HDD 92 is mounted. For this purpose, the pseudo HDD software first obtains the HDD parameters of the HDD 92 and, after an appropriate time, the control device executes the same type of control as the pseudo HDD.
Prepare to run against.

【0062】また、ソフトウェアは、HDDパラメータ
を取得する以前には、制御装置に対して応答不能な状態
であることを通知するように拡張DISKインタフェー
ス回路91を制御する。HDDパラメータ取得後には制
御装置からの制御に対して応答可能であることを示すよ
うに制御する。以降、制御装置からの制御内容に対応し
た制御をHDD92に対して行い、HDD92の動作状
態を制御装置に与えながら動作する。なお、原本HDD
31についても疑似HDDに代えても良いことは勿論で
ある。
Also, before acquiring the HDD parameters, the software controls the extended DISK interface circuit 91 so as to notify the control device that it cannot respond. After acquiring the HDD parameters, control is performed so as to indicate that response to the control from the control device is possible. Thereafter, control corresponding to the control content from the control device is performed on the HDD 92, and the HDD 92 operates while giving the operation state of the HDD 92 to the control device. The original HDD
Needless to say, the pseudo HDD 31 may be replaced.

【0063】図8は、本発明装置の第3実施例のブロッ
ク図を示す。同図中、コンピュータ本体143内にメイ
ンボード29を設けると共に、HDDを接続可能な接続
カード145を搭載する。そして、コンピュータ本体1
43の外部にディスク拡張装置146を設け、メインボ
ード29とディスク拡張装置146内のHDDボード3
0とをパラレルインタフェース44及びシリアルインタ
フェース45で接続すると共に、接続カード145とH
DD拡張ボード30とをHDDインタフェース46で接
続する。
FIG. 8 is a block diagram showing a third preferred embodiment of the device according to the present invention. In the figure, a main board 29 is provided in a computer main body 143, and a connection card 145 to which an HDD can be connected is mounted. And the computer body 1
43, a disk expansion device 146 is provided outside the main board 29 and the HDD board 3 in the disk expansion device 146.
0 through the parallel interface 44 and the serial interface 45, and the connection card 145 is connected to the H
The DD extension board 30 is connected by the HDD interface 46.

【0064】ディスク拡張装置146はHDD拡張ボー
ド147と、HDD148〜153から構成されている
コンピュータ本体143の基本ソフト上で接続されてい
るソフトウェアであるデバイスドライバによりHDD拡
張ボードが制御され、HDD148〜153のアクセス
が行われる。コンピュータ本体143の基本ソフトウェ
アから見た場合、HDDは常に1台と認識されるが,、
デバイスドライバにより、事実上複数のHDD148〜
153が認識されて個々に使用可能としたり、又は、H
DD148〜153の容量の和を持つ1台のHDDとし
て使用可能とすることができる。
The disk expansion device 146 is controlled by an HDD expansion board 147 and a device driver which is software connected on the basic software of the computer main body 143 composed of the HDDs 148 to 153. Is accessed. From the viewpoint of the basic software of the computer body 143, the HDD is always recognized as one,
Depending on the device driver, multiple HDDs 148-
153 are recognized and made available individually, or
It can be used as one HDD having the sum of the capacities of the DDs 148 to 153.

【0065】また、本発明によるHDD拡張ボード30
の、複数のHDDへの同時書き込み機能と、個別のHD
Dからのデータ読み出し機能により、次のような利用方
法を考えることができる。保安上データの多重化が必要
なコンピュータシステムにおいて、複数のHDDに同時
にデータを書き込み、そのうち1台のHDDからデータ
を読み出すように動作させる。もしデータを読み出す時
にエラーになれば、他の1台のHDDからデータを読み
出すように読み出しを行うHDDを切り換えることが可
能で、かつ、3重以上の多重化の必要があってもローコ
ストに対応可能なデータ多重システムを構成することが
可能である。
The HDD extension board 30 according to the present invention
Simultaneous writing function to multiple HDDs and individual HD
With the function of reading data from D, the following usage method can be considered. In a computer system that requires multiplexing of data for security, data is simultaneously written to a plurality of HDDs, and data is read from one of the HDDs. If an error occurs when reading data, it is possible to switch the HDD to be read so as to read data from another HDD, and it is low cost even if triple or more multiplexing is necessary. It is possible to construct a possible data multiplexing system.

【0066】[0066]

【発明の効果】上述の如く、請求項1に記載の発明は、
制御データを入出力する制御用インタフェースと、ハー
ドディスクデータを入出力するハードディスクインタフ
ェースとを有し、装置全体を制御するメインボード部
と、複数のハードディスク装置夫々に対応して設けら
れ、ハードディスク装置から供給されるデータを上記ハ
ードディスクインタフェースに供給するメインボード方
向データバッファ、及び上記ハードディスクインタフェ
ースから供給されるデータをハードディスク装置に供給
するハードディスク方向データバッファと、上記制御用
インタフェースから供給される制御データに応じて複数
のメインボード方向データバッファのいずれか1つを選
択して動作させ、かつ、複数のハードディスク方向デー
タバッファの1つ又は複数を選択して動作させるバッフ
ァ制御部とを有する拡張ボード部と、上記拡張ボード部
に接続される複数のハードディスク装置とよりなる。
As described above, the first aspect of the present invention provides
It has a control interface for inputting and outputting control data and a hard disk interface for inputting and outputting hard disk data.The main board section controls the entire device. A main board direction data buffer for supplying data to the hard disk interface, a hard disk direction data buffer for supplying data supplied from the hard disk interface to the hard disk device, and a control data supplied from the control interface. A buffer control unit that selects and operates any one of the plurality of mainboard direction data buffers and selects and operates one or more of the plurality of hard disk direction data buffers. And board portion, the more the plurality of hard disk devices connected to the expansion board unit.

【0067】このため、メインボード部から供給される
データを拡張ボード部に接続された複数のハードディス
ク装置に供給して、これらを同時に動作させることが可
能となる。また、請求項2に記載の発明は、請求項1記
載のハードディスク制御装置において、前記メインボー
ド部は前記拡張ボード部に接続された複数のハードディ
スク装置を同時動作させる。
Therefore, it is possible to supply data supplied from the main board unit to a plurality of hard disk devices connected to the extension board unit, and to operate them simultaneously. According to a second aspect of the present invention, in the hard disk control device according to the first aspect, the main board unit simultaneously operates a plurality of hard disk devices connected to the extension board unit.

【0068】このため、複数のハードディスク装置で同
時に読み出し、又は書き込みを行うことが可能となる。
また、請求項3に記載の発明は、請求項2記載のハード
ディスク装置において、前記メインボード部は前記拡張
ボード部に接続された原本のハードディスク装置から読
み出したデータを上記拡張ボードに接続された複数の複
写先のハードディスク装置に同時に複写する。
For this reason, it is possible to simultaneously read or write in a plurality of hard disk devices.
According to a third aspect of the present invention, in the hard disk device according to the second aspect, the main board unit reads data read from an original hard disk device connected to the extension board unit to a plurality of data connected to the extension board. Is simultaneously copied to the destination hard disk drive.

【0069】このため、複数のハードディスク装置に対
するデータの複写を短時間で行うことができる。また、
請求項4に記載の発明は、請求項3記載のハードディス
ク制御装置において、前記拡張ボード部は、前記原本の
ハードディスク装置から読み出されたデータと、これと
同時に前記複数の複写先のハードディスク装置から読み
出されたデータ夫々とを比較して異なる場合にエラーと
するデータ比較手段を有する。
Therefore, data can be copied to a plurality of hard disk drives in a short time. Also,
According to a fourth aspect of the present invention, in the hard disk control device according to the third aspect, the expansion board unit receives the data read from the original hard disk device and the data read from the plurality of copy destination hard disk devices at the same time. There is a data comparing means for comparing each read data with each other to determine an error when the read data is different.

【0070】このため、複数の複写先ハードディスク装
置のデータが原本ハードディスク装置のデータと同一か
否かを短時間に検証することができる。また、請求項5
に記載の発明は、請求項1乃至4のいずれか記載のハー
ドディスク制御装置において、前記拡張ボード部は、接
続される複数のハードディスク装置から供給されるステ
ータスデータ及び制御信号夫々の論理演算を行って前記
メインボード部に供給する単一のステータスデータ及び
制御信号を生成するタイミングアジャスト手段を有す
る。
Therefore, it can be verified in a short time whether or not the data of the plurality of copy destination hard disk devices is the same as the data of the original hard disk device. Claim 5
In the hard disk control device according to any one of claims 1 to 4, the expansion board unit performs a logical operation on each of status data and control signals supplied from a plurality of connected hard disk devices. A timing adjuster for generating a single status data and control signal to be supplied to the main board unit;

【0071】このため、複数のハードディスク装置を同
時に動作させてもメインボード部では単一のハードディ
スク装置が動作しているのと等価となり、複数のハード
ディスク装置の同時制御が可能となる。また、請求項6
に記載の発明は、請求項5記載のハードディスク制御装
置において、前記タイミングアジャスト手段は、前記バ
ッファ制御部により未選択のハードディスク方向データ
バッファに接続されるハードディスク装置に対応するス
テータスデータ及び制御信号夫々のデフォルト値を発生
する。
Therefore, even if a plurality of hard disk drives are operated at the same time, it is equivalent to operating a single hard disk drive in the main board section, and simultaneous control of a plurality of hard disk drives becomes possible. Claim 6
In the hard disk control device according to the fifth aspect, in the hard disk control device according to the fifth aspect, the timing adjustment means includes a status data and a control signal corresponding to a hard disk device connected to an unselected hard disk direction data buffer by the buffer control unit. Generate a default value.

【0072】これにより、未選択のハードディスク装置
によって誤ったステータスデータ及び制御信号がメイン
ボード部に供給されることがなく、選択された複数のハ
ードディスク装置の同時制御が可能となる。また、請求
項7に記載の発明は、請求項5又は6記載のハードディ
スク制御装置において、前記タイミングアジャスト手段
は、前記拡張ボード部に未接続のハードディスク装置に
対応するステータスデータ及び制御信号夫々のデフォル
ト値を発生する。
As a result, erroneous status data and control signals are not supplied to the main board unit by an unselected hard disk device, and simultaneous control of a plurality of selected hard disk devices becomes possible. According to a seventh aspect of the present invention, in the hard disk control device according to the fifth or sixth aspect, the timing adjustment means includes a status data and a control signal corresponding to a hard disk device not connected to the expansion board unit. Generate a value.

【0073】これにより、拡張ボード部に接続されてな
いハードディスク装置があっても誤ったステータスデー
タ及び制御信号がメインボード部に供給されることがな
く、接続された複数のハードディスク装置の同時制御が
可能となる。また、請求項8に記載の発明は、請求項1
記載のハードディスク制御装置において、 前記メイン
ボード部の制御用インタフェースは、低速データの通信
を行うシリアルインタフェースと、高速データ通信を行
うパラレルインタフェースとを有する。
As a result, even if there is a hard disk drive not connected to the expansion board unit, erroneous status data and control signals are not supplied to the main board unit, and simultaneous control of a plurality of connected hard disk units can be performed. It becomes possible. The invention described in claim 8 is the first invention.
In the hard disk control device described above, the control interface of the main board unit has a serial interface for performing low-speed data communication and a parallel interface for performing high-speed data communication.

【0074】このため、低速の通信で時間的余裕のある
命令等をシリアルインタフェースを用いて通信するため
にソフトウェアが簡単となり、かつ、原本ハードディス
ク装置からのデータ読み出しと、複写先ハードディスク
装置へのデータ書き込みとの切り換えをパラレルインタ
フェースを用いて通信するために高速に行うことができ
る。
For this reason, the software is simplified because low-speed communication is used to communicate a command or the like having a sufficient time in the serial interface using the serial interface. In addition, data can be read from the original hard disk drive and data can be transferred to the copy destination hard disk drive. Switching between writing and writing can be performed at high speed because communication is performed using the parallel interface.

【0075】また、請求項9に記載の発明は、請求項1
記載のハードディスク制御装置において、前記拡張ボー
ドに接続される複数のハードディスク装置の代りに、ハ
ードディスク装置を搭載し、前記メインボード部に対し
て疑似的にハードディスク装置として認識されるコンピ
ュータである疑似ハードディスク装置を複数接続する。
The invention according to claim 9 is the first invention.
The hard disk control device according to claim 1, wherein a hard disk device is mounted in place of the plurality of hard disk devices connected to the extension board, and the pseudo hard disk device is a computer that is pseudo-recognized as a hard disk device with respect to the main board unit. Are connected.

【0076】このため、ハードディスク装置を内蔵した
複数のコンピュータを疑似ハードディスク装置として拡
張ボード部に接続して、原本ハードディスク装置からの
データを複数のコンピュータに内蔵されたハードディス
ク装置に複写し、かつ、検証でき、複写及び検証の作業
性を向上できる。
For this reason, a plurality of computers having a built-in hard disk drive are connected to the extension board as pseudo hard disk drives, and data from the original hard disk drive is copied to the hard disk drive built in the plurality of computers and verified. And the workability of copying and verification can be improved.

【0077】また、請求項10に記載の発明は、請求項
1記載のハードディスク制御装置において、前記メイン
ボード部をコンピュータに接続し、上記コンピュータか
ら前記拡張ボード部に接続される複数のハードディスク
装置をアクセスさせる。
According to a tenth aspect of the present invention, in the hard disk control device according to the first aspect, the main board unit is connected to a computer, and a plurality of hard disk devices connected from the computer to the expansion board unit. Have access.

【0078】このため、コンピュータから複数のハード
ディスク装置を1台のハードディスク装置として認識さ
せることができ、コンピュータに接続されるハードディ
スク装置の容量を大きくすることができる。また、請求
項11に記載の発明は、請求項10記載のハードディス
ク制御装置において、前記複数のハードディスク装置に
同一データを書き込み、任意のハードディスク装置から
読み出したデータにエラーが発生したとき、他のハード
ディスク装置からデータの読み出しを行わせる。
Thus, a plurality of hard disk devices can be recognized as one hard disk device by the computer, and the capacity of the hard disk device connected to the computer can be increased. According to an eleventh aspect of the present invention, in the hard disk control device according to the tenth aspect, when the same data is written to the plurality of hard disk devices and an error occurs in data read from any of the hard disk devices, another hard disk control device is used. Read data from the device.

【0079】このため、ハードディスク装置の2重化、
又はそれ以上の多重化を簡単かつローコストで実現でき
る。
For this reason, the hard disk drive is duplicated,
Or more multiplexing can be realized simply and at low cost.

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

【図1】本発明装置のブロック図である。FIG. 1 is a block diagram of the device of the present invention.

【図2】WAIT信号発生を説明するためのタイミング
チャートである。
FIG. 2 is a timing chart for explaining generation of a WAIT signal.

【図3】WAIT信号発生を説明するためのタイミング
チャートである。
FIG. 3 is a timing chart for explaining generation of a WAIT signal.

【図4】ステータスデータタイミングアジャスト回路の
ブロック図である。
FIG. 4 is a block diagram of a status data timing adjustment circuit.

【図5】制御信号タイミングアジャスト回路のブロック
図である。
FIG. 5 is a block diagram of a control signal timing adjustment circuit.

【図6】本発明装置のブロック図である。FIG. 6 is a block diagram of the device of the present invention.

【図7】疑似HDDのブロック図である。FIG. 7 is a block diagram of a pseudo HDD.

【図8】本発明装置のブロック図である。FIG. 8 is a block diagram of the device of the present invention.

【図9】従来装置のブロック図である。FIG. 9 is a block diagram of a conventional device.

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

29 メインボード 30 HDD拡張ボード 31 原本HDD 32〜36 複写先HDD 37,49 CPU 38,48 RAM 39,47 ROM 40 シリアル/パラレルインタフェース回路 41 DISKインタフェース回路 42 フロッピィディスク 43,50 CPUバス 44 シリアルインタフェース 45 パラレルインタフェース 46 HDDインタフェース 51 シリアルIF 52 エラーレジスタ 53 HDDセレクトレジスタ 54 動作モードレジスタ 55 バスセレクト 56 原本/複写先選択回路 57 データ比較回路 58 バッファEN信号発生回路 60 ステータスレジスタアクセス検出回路 61 ステータスデータタイミングアジャスト回路 62 制御信号タイミングアジャスト回路 64a〜64f HDD方向データバッファ 66a〜66f メインボード方向データバッファ 29 Main board 30 HDD expansion board 31 Original HDD 32 to 36 Copy destination HDD 37,49 CPU 38,48 RAM 39,47 ROM 40 Serial / parallel interface circuit 41 DISK interface circuit 42 Floppy disk 43,50 CPU bus 44 Serial interface 45 Parallel interface 46 HDD interface 51 Serial IF 52 Error register 53 HDD select register 54 Operation mode register 55 Bus select 56 Original / copy destination selection circuit 57 Data comparison circuit 58 Buffer EN signal generation circuit 60 Status register access detection circuit 61 Status data timing adjustment Circuit 62 Control signal timing adjust circuit 64a to 64f HDD direction data buffer 66a-66f Main board direction data buffer

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 制御データを入出力する制御用インタフ
ェースと、ハードディスクデータを入出力するハードデ
ィスクインタフェースとを有し、装置全体を制御するメ
インボード部と、 複数のハードディスク装置夫々に対応して設けられ、ハ
ードディスク装置から供給されるデータを上記ハードデ
ィスクインタフェースに供給するメインボード方向デー
タバッファ、及び上記ハードディスクインタフェースか
ら供給されるデータをハードディスク装置に供給するハ
ードディスク方向データバッファと、上記制御用インタ
フェースから供給される制御データに応じて複数のメイ
ンボード方向データバッファのいずれか1つを選択して
動作させ、かつ、複数のハードディスク方向データバッ
ファの1つ又は複数を選択して動作させるバッファ制御
部とを有する拡張ボード部と、 上記拡張ボード部に接続される複数のハードディスク装
置とよりなることを特徴とするハードディスク制御装
置。
1. A main board unit having a control interface for inputting / outputting control data, a hard disk interface for inputting / outputting hard disk data, and controlling the entire apparatus, and being provided corresponding to each of the plurality of hard disk apparatuses. A mainboard direction data buffer for supplying data supplied from the hard disk device to the hard disk interface, a hard disk direction data buffer for supplying data supplied from the hard disk interface to the hard disk device, and a data buffer supplied from the control interface. Buffer control for selecting and operating one of a plurality of main board direction data buffers according to control data and selecting and operating one or more of a plurality of hard disk direction data buffers Hard disk control device comprising an expansion board section, to become more and more hard disk devices connected to the expansion board portion having and.
【請求項2】 請求項1記載のハードディスク制御装置
において、 前記メインボード部は前記拡張ボード部に接続された複
数のハードディスク装置を同時動作させることを特徴と
するハードディスク制御装置。
2. The hard disk control device according to claim 1, wherein the main board unit simultaneously operates a plurality of hard disk devices connected to the extension board unit.
【請求項3】 請求項2記載のハードディスク装置にお
いて、 前記メインボード部は前記拡張ボード部に接続された原
本のハードディスク装置から読み出したデータを上記拡
張ボードに接続された複数の複写先のハードディスク装
置に同時に複写することを特徴とするハードディスク制
御装置。
3. The hard disk device according to claim 2, wherein the main board unit reads data read from an original hard disk device connected to the expansion board unit and a plurality of copy destination hard disk devices connected to the expansion board. A hard disk control device characterized by simultaneous copying to a hard disk.
【請求項4】 請求項3記載のハードディスク制御装置
において、 前記拡張ボード部は、前記原本のハードディスク装置か
ら読み出されたデータと、これと同時に前記複数の複写
先のハードディスク装置から読み出されたデータ夫々と
を比較して異なる場合にエラーとするデータ比較手段を
有することを特徴とするハードディスク制御装置。
4. The hard disk control device according to claim 3, wherein the extension board unit reads the data read from the original hard disk device and simultaneously reads the data from the plurality of copy destination hard disk devices. A hard disk control device comprising: a data comparison unit that compares data with each other and makes an error when the data is different.
【請求項5】 請求項1乃至4のいずれか記載のハード
ディスク制御装置において、 前記拡張ボード部は、接続される複数のハードディスク
装置から供給されるステータスデータ及び制御信号夫々
の論理演算を行って前記メインボード部に供給する単一
のステータスデータ及び制御信号を生成するタイミング
アジャスト手段を有することを特徴とするハードディス
ク制御装置。
5. The hard disk control device according to claim 1, wherein the expansion board unit performs a logical operation on each of status data and control signals supplied from a plurality of connected hard disk devices to perform the logical operation. A hard disk control device comprising timing adjustment means for generating a single status data and control signal to be supplied to a main board unit.
【請求項6】 請求項5記載のハードディスク制御装置
において、 前記タイミングアジャスト手段は、前記バッファ制御部
により未選択のハードディスク方向データバッファに接
続されるハードディスク装置に対応するステータスデー
タ及び制御信号夫々のデフォルト値を発生することを特
徴とするハードディスク制御装置。
6. The hard disk control device according to claim 5, wherein the timing adjustment means sets defaults of status data and control signals corresponding to a hard disk device connected to a non-selected hard disk direction data buffer by the buffer control unit. A hard disk control device for generating a value.
【請求項7】 請求項5又は6記載のハードディスク制
御装置において、 前記タイミングアジャスト手段は、前記拡張ボード部に
未接続のハードディスク装置に対応するステータスデー
タ及び制御信号夫々のデフォルト値を発生することを特
徴とするハードディスク制御装置。
7. The hard disk control device according to claim 5, wherein the timing adjustment means generates default values of status data and control signals corresponding to a hard disk device not connected to the extension board unit. Characteristic hard disk controller.
【請求項8】 請求項1記載のハードディスク制御装置
において、 前記メインボード部の制御用インタフェースは、低速デ
ータの通信を行うシリアルインタフェースと、高速デー
タ通信を行うパラレルインタフェースとを有することを
特徴とするハードディスク制御装置。
8. The hard disk control device according to claim 1, wherein the control interface of the main board unit has a serial interface for performing low-speed data communication and a parallel interface for performing high-speed data communication. Hard disk controller.
【請求項9】 請求項1記載のハードディスク制御装置
において、 前記拡張ボードに接続される複数のハードディスク装置
の代りに、ハードディスク装置を搭載し、前記メインボ
ード部に対して疑似的にハードディスク装置として認識
されるコンピュータである疑似ハードディスク装置を複
数接続することを特徴とするハードディスク制御装置。
9. The hard disk control device according to claim 1, wherein a hard disk device is mounted instead of the plurality of hard disk devices connected to the expansion board, and the hard disk device is pseudo-recognized as the hard disk device with respect to the main board unit. A hard disk control device comprising a plurality of pseudo hard disk devices which are computers to be connected.
【請求項10】 請求項1記載のハードディスク制御装
置において、 前記メインボード部をコンピュータに接続し、上記コン
ピュータから前記拡張ボード部に接続される複数のハー
ドディスク装置をアクセスさせることを特徴とするハー
ドディスク制御装置。
10. The hard disk control device according to claim 1, wherein the main board unit is connected to a computer, and the computer accesses a plurality of hard disk devices connected to the expansion board unit. apparatus.
【請求項11】 請求項10記載のハードディスク制御
装置において、 前記複数のハードディスク装置に同一データを書き込
み、任意のハードディスク装置から読み出したデータに
エラーが発生したとき、他のハードディスク装置からデ
ータの読み出しを行わせることを特徴とするハードディ
スク制御装置。
11. The hard disk control device according to claim 10, wherein the same data is written to the plurality of hard disk devices, and when an error occurs in data read from an arbitrary hard disk device, data is read from another hard disk device. A hard disk control device characterized by being performed.
JP336897A 1997-01-10 1997-01-10 Hard disk controller Withdrawn JPH10198524A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP336897A JPH10198524A (en) 1997-01-10 1997-01-10 Hard disk controller
TW086113916A TW357297B (en) 1997-01-10 1997-09-24 Hard-disk controlling device for simultaneously controlling a plurality of hard discs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP336897A JPH10198524A (en) 1997-01-10 1997-01-10 Hard disk controller

Publications (1)

Publication Number Publication Date
JPH10198524A true JPH10198524A (en) 1998-07-31

Family

ID=11555415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP336897A Withdrawn JPH10198524A (en) 1997-01-10 1997-01-10 Hard disk controller

Country Status (2)

Country Link
JP (1) JPH10198524A (en)
TW (1) TW357297B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330872A (en) * 2002-03-04 2003-11-21 Yec:Kk Hard disc connecting device
JP2007133922A (en) * 2005-11-08 2007-05-31 Adotekku System Science:Kk Comparison method for copied content for information storage medium and comparison device therefor
DE102010000519A1 (en) 2009-02-27 2010-09-16 Teac Corp. Data recorder

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330872A (en) * 2002-03-04 2003-11-21 Yec:Kk Hard disc connecting device
JP2007133922A (en) * 2005-11-08 2007-05-31 Adotekku System Science:Kk Comparison method for copied content for information storage medium and comparison device therefor
DE102010000519A1 (en) 2009-02-27 2010-09-16 Teac Corp. Data recorder

Also Published As

Publication number Publication date
TW357297B (en) 1999-05-01

Similar Documents

Publication Publication Date Title
JPS6035696B2 (en) Bus control device in data processing equipment
US7725621B2 (en) Semiconductor device and data transfer method
GB2351820A (en) Fault resilient booting in a multiprocessor environment
JP3609051B2 (en) USB-HUB device and control method thereof
JP2963426B2 (en) Bus bridge device and transaction forward method
JP3673015B2 (en) Peripheral device identification method in semiconductor device
JP3514651B2 (en) Reboot control device
JPH10198524A (en) Hard disk controller
JP5010065B2 (en) Microcomputer
JP4257358B2 (en) Bus control method and apparatus
JP4793798B2 (en) Microcomputer
JP2938049B1 (en) Hot-swap controller for extended I / O device to computer
JPH11167548A (en) Data transmission system
US6629262B1 (en) Multiplexed storage controlling device
JPH0973429A (en) Computer system and inter-bus control circuit
JPH06332796A (en) Circuit board controller
JP4860811B2 (en) Microcomputer
JPH0512185A (en) Address predicting and verifying circuit for reading burst cycle data
JPH05334234A (en) High speed dma transferring device
JPH0962562A (en) Processing circuit for memory
JPH09297637A (en) Plural-power supply processor
JP2001125867A (en) Peripheral equipment and computer system
JPH1021182A (en) Interrupt processing system and controller
JP2000172554A (en) Image formation device using sdram
JP2003316717A (en) Information processing apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040406