JPH01199257A - Data transfer controller - Google Patents
Data transfer controllerInfo
- Publication number
- JPH01199257A JPH01199257A JP2313688A JP2313688A JPH01199257A JP H01199257 A JPH01199257 A JP H01199257A JP 2313688 A JP2313688 A JP 2313688A JP 2313688 A JP2313688 A JP 2313688A JP H01199257 A JPH01199257 A JP H01199257A
- Authority
- JP
- Japan
- Prior art keywords
- data transfer
- data
- external storage
- cpu
- magnetic tape
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明はマイクロコンピュータに接続される複数の外
部記憶装置のデータ転送を制御するデータ転送制御装置
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer control device that controls data transfer of a plurality of external storage devices connected to a microcomputer.
第2図は従来のデータ転送制御装置の構成図で、図にお
いて、1はマイクロコンピュータ、2は外部記憶装置と
しての磁気ディスク装置、3は外部記憶装置としての磁
気テープ装置、11は中央処理装置(CPU) 、12
は主記憶装置、13はCPUIIと磁気ディスク装置2
との間のインク ・フェースをとる磁気ディスク用イン
タフェース、14はCPUI 1と磁気テープ装置3と
の間のインタフェースを取る磁気テープ用インタフェー
ス、15は外部に信号を出力するための汎用のインタフ
ェースであるポートである。FIG. 2 is a configuration diagram of a conventional data transfer control device. In the figure, 1 is a microcomputer, 2 is a magnetic disk device as an external storage device, 3 is a magnetic tape device as an external storage device, and 11 is a central processing unit. (CPU), 12
is the main storage device, 13 is the CPU II and magnetic disk device 2
14 is a magnetic tape interface that provides an interface between the CPU 1 and the magnetic tape device 3; 15 is a general-purpose interface for outputting signals to the outside; It is a port.
ここでCPUI 1は内部にレジスタIIAを存し、主
記憶装置12は読出し専用のROM12Aと自在に読書
きが行えるRAM12Bとで構成されている。Here, the CPU 1 has a register IIA inside, and the main memory 12 is composed of a read-only ROM 12A and a RAM 12B that can be freely read and written.
次に動作について説明する。Next, the operation will be explained.
ROM12A及びRAM12Bから成る主記憶装置12
に格納されたプログラムに従ってCPU11が磁気テー
プ装置3内のデータを磁気ディスク装置2に転送する場
合、CPUI 1は磁気テープインタフェース14を介
して磁気テープ装置3からデータを読み出し、レジスタ
IIAに格納する。Main storage device 12 consisting of ROM 12A and RAM 12B
When the CPU 11 transfers data in the magnetic tape device 3 to the magnetic disk device 2 according to a program stored in the magnetic tape device 3, the CPU 1 reads the data from the magnetic tape device 3 via the magnetic tape interface 14 and stores it in the register IIA.
更に、このレジスタIIAに格納したデータをRAM1
2Bに出力し、RAM12B内にこのデータを格納する
。Furthermore, the data stored in this register IIA is transferred to RAM1.
2B and stores this data in the RAM 12B.
を介してRAM12Bに格納されて、全ての転送データ
がRAM12Bに格納されると、CPU11はRAM1
2Bから転送データを読み出し、13を介して磁気ディ
スク装置2に出力する。When all the transfer data is stored in the RAM 12B, the CPU 11 transfers the data to the RAM 12B.
The transfer data is read from 2B and output to the magnetic disk device 2 via 13.
このようなRAM12Bからの読出し、レジスタIIA
内の格納、磁気ディスク装置2への書込みという一連の
動作が順次行われてRAM12Bに格納された全ての転
送データが磁気ディスク装置2に格納される。Reading from RAM12B like this, register IIA
A series of operations such as storage in the RAM 12B and writing to the magnetic disk device 2 are sequentially performed, and all the transfer data stored in the RAM 12B is stored in the magnetic disk device 2.
磁気ディスク装置2から磁気テープ装置3にデータが転
送される場合も上記と逆の順でデータが転送される。When data is transferred from the magnetic disk device 2 to the magnetic tape device 3, the data is also transferred in the reverse order to the above.
〔発明が解決しようとする課題〕
従来のデータ転送制御装置は以上のように構成されてい
るので、データのバッファツブや復元時のデータ転送に
際しても、常に高価なCPUやメモリを利用しなければ
ならず、また大部分の計算機システムにおいてはその間
の計算機サービスは停止しなければならず、これによる
計算機システムの利用効率の低下などの問題点があった
。[Problem to be Solved by the Invention] Since the conventional data transfer control device is configured as described above, it is not necessary to always use an expensive CPU and memory even when transferring data during data buffering or restoration. Furthermore, in most computer systems, computer services must be stopped during that time, which poses problems such as a reduction in the utilization efficiency of the computer system.
この発明は上記のような問題点を解消するためになされ
たもので、CPUやメモリを介さずデータを転送できる
ようにして利用効率の高い計算機システムを構築できる
データ転送装置を得ることを目的とする。This invention was made in order to solve the above-mentioned problems, and its purpose is to provide a data transfer device that can transfer data without using a CPU or memory to construct a highly efficient computer system. do.
この発明に係るデータ転送制御装置は、外部記憶装置間
2.3のデータを直接転送し合うデータ転送装置4を外
部記憶装置2.3間に介在させるとともに上記データ転
送装置4がデータ転送を行っている間、中央処理装置1
1が外部記憶装置2゜3に対して行うアクセスを禁止す
るアゲセス禁止手段43を設けたことを特徴とするもの
である。The data transfer control device according to the present invention includes a data transfer device 4 that directly transfers data between the external storage devices 2 and 3, and interposes the data transfer device 4 between the external storage devices 2 and 3, and the data transfer device 4 transfers data. While the central processing unit 1
1 is characterized in that it is provided with access prohibition means 43 for prohibiting access to the external storage device 2.3.
この発明において、データ転送装置4は外部記憶装置2
.3間のデータ転送を中央処理装置11と関係なく行う
。In this invention, the data transfer device 4 is the external storage device 2.
.. Data transfer between the three is performed independently of the central processing unit 11.
データ転送装置4がデータ転送を行っている間は、アク
セス禁止手段43がデータが転送されている外部記憶装
置2.3に中央処理装置11がアクセスするのを禁止す
る。While the data transfer device 4 is transferring data, the access prohibiting means 43 prohibits the central processing unit 11 from accessing the external storage device 2.3 to which data is being transferred.
以下、この発明の一実施例を図について説明する。なお
、従来技術と同一の構成要素については同一番号を付し
てその説明を省略する。An embodiment of the present invention will be described below with reference to the drawings. Note that the same components as those in the prior art are given the same numbers and their explanations are omitted.
第1図はこの発明の一実施例を示すデータ転送制御装置
の構成図である。図において、4は磁気タフエース14
を介して介在するデータ転送装置である。FIG. 1 is a block diagram of a data transfer control device showing an embodiment of the present invention. In the figure, 4 is the magnetic tough ace 14
It is a data transfer device that intervenes via.
このデータ転送装置4はポート15と接続されている。This data transfer device 4 is connected to a port 15.
また、データ転送装置4内にはデータ転送装置4がデー
タ転送を行っている間、フラグを立てるフラグ生成手段
41を有し、RAMにはCPU11が磁気ディスク装置
2及び磁気テープ装置3をアクセスする場合、上記フラ
グに基づいてアクセスを禁止するか否か制御するアクセ
ス制御手段42を有している。このフラグ生成手段41
とアクセス制御手段42とでアクセス禁止手段43が構
成される。Further, the data transfer device 4 includes a flag generating means 41 that sets a flag while the data transfer device 4 is transferring data, and the CPU 11 accesses the magnetic disk device 2 and the magnetic tape device 3 in the RAM. In this case, the access control means 42 is provided to control whether or not to prohibit access based on the flag. This flag generating means 41
and access control means 42 constitute access prohibition means 43.
次に動作について説明する。Next, the operation will be explained.
CPUIIがポート15を介してデータ転送装置4に所
定の信号を出力した場合あるいはデータ転送装置4に取
付けられている転送開始スイッチが押下げられると、デ
ータ転送装置4は磁気ディスク装置2から磁気テープ装
置3へ、又は磁気テープ装置3から磁気ディスク装置2
へとデータの転送を開始する。When the CPU II outputs a predetermined signal to the data transfer device 4 via the port 15 or when the transfer start switch attached to the data transfer device 4 is pressed down, the data transfer device 4 transfers data from the magnetic disk device 2 to the magnetic tape. to the device 3 or from the magnetic tape device 3 to the magnetic disk device 2
Start transferring data to.
この際、アクセス禁止手段43はCPUI 1が磁気テ
ープ装置3及び磁気ディスク装置2に対して行うアクセ
スを禁止する。At this time, the access prohibiting means 43 prohibits the CPU 1 from accessing the magnetic tape device 3 and the magnetic disk device 2.
このアクセスの禁止は例えば次のようにして行う。This access is prohibited, for example, as follows.
まずデータの転送に先立ってデータ転送装置4内のフラ
グ生成手段41はフラグを立てる。First, prior to data transfer, the flag generating means 41 in the data transfer device 4 sets a flag.
CPUI 1が磁気ディスク装置2又は磁気テープ装置
3にアクセスする場合には、まずボート15を介してフ
ラグ生成手段41のフラグを参照し、アクセスできるか
否か判断する。When the CPU 1 accesses the magnetic disk device 2 or the magnetic tape device 3, it first refers to the flag of the flag generating means 41 via the port 15 and determines whether access is possible.
このCPUI 1の動作はRAM12B内のアクセス制
御手段4んによって制御される。データ転送装置4のデ
ータ転送が終了すると、フラグ生成手段41は立てたフ
ラグをリセットする。The operation of the CPUI 1 is controlled by the access control means 4 in the RAM 12B. When the data transfer by the data transfer device 4 is completed, the flag generating means 41 resets the set flag.
この場合、データ転送装置4がデータ転送の開始と終了
の時にボート15を介してCPUI 1にその旨の信号
を出力し、CPUI 1がこの信号に基づいてCPUI
l内のレジスタあるいはRAM12B内の所定の番地
にフラグを立てるようにしてもよい。In this case, the data transfer device 4 outputs a signal to that effect to the CPUI 1 via the port 15 at the start and end of data transfer, and the CPU 1
A flag may be set in a register in 1 or at a predetermined address in RAM 12B.
また、データ転送中に磁気テープ装置3のテープ終了が
検知された場合は、その旨をCPUIIに伝えるととも
に、データ転送装置4の表示部にメンセージコードが表
示される。また、磁気ディスク装置2や磁気テープ装置
3の読み込みや、書き込み時にエラーが発生した場合も
、その旨をCPU11に伝え、データ転送装置4にメー
セージコードが表示される。Further, if the end of the tape in the magnetic tape device 3 is detected during data transfer, this is notified to the CPU II and a message code is displayed on the display section of the data transfer device 4. Furthermore, if an error occurs during reading or writing to the magnetic disk device 2 or magnetic tape device 3, the error is notified to the CPU 11 and a message code is displayed on the data transfer device 4.
なお、上記実施例ではデータ転送の対象として磁気ディ
スク装置と磁気テープ装置について説明上記実施例と同
様の効果を奏する。In the above embodiment, a magnetic disk device and a magnetic tape device are described as objects of data transfer, and the same effects as in the above embodiment are achieved.
以上のようにこの発明によれば単純なデータ転送を、中
央処理装置を直接利用しないように構成したので、デー
タのバックアップや復元が高速にかつ複数の磁気ディス
ク装置等の外部記憶装置を持つものであればそれらが同
時に実施でき、利用効率の高い計算機システムが得られ
る効果がある。As described above, according to the present invention, simple data transfer is configured so that the central processing unit is not directly used, so data can be backed up and restored at high speed, and the system has external storage devices such as multiple magnetic disk devices. If so, they can be performed simultaneously, resulting in a highly efficient computer system.
第1図はこの発明の一実施例を示すデータ転送制御装置
の構成図、第2図は従来のデータ転送制御装置の構成図
である。
1・・・マイクロコンピュータ、2・・・磁気ディスク
装置、3・・・磁気テープ装置、4・・・データ転送装
置、11・・・中央処理装置(CPU)、12・・・主
記憶装置、41・・・フラグ生成手段、42・・・アク
セス制御手段、43、・・・アクセス禁止手段。
なお、図中、同一符号は同一、又は相当する部分を示す
。
代理人 大 岩 増 雄(ほか2名)第1図FIG. 1 is a block diagram of a data transfer control device showing an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional data transfer control device. DESCRIPTION OF SYMBOLS 1... Microcomputer, 2... Magnetic disk device, 3... Magnetic tape device, 4... Data transfer device, 11... Central processing unit (CPU), 12... Main storage device, 41... Flag generation means, 42... Access control means, 43... Access prohibition means. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Agent Masuo Oiwa (and 2 others) Figure 1
Claims (1)
ュータに複数の外部記憶装置を接続して成るデータ転送
制御装置において、 上記外部記憶装置間のデータを直接転送し合うデータ転
送装置を上記外部記憶装置間に介在させるとともに、上
記データ転送装置がデータ転送を行っている間、上記中
央処理装置が外部記憶装置に対して行うアクセスを禁止
するアクセス禁止手段を設けたことを特徴とするデータ
転送制御装置。[Scope of Claims] A data transfer control device comprising a microcomputer having a central processing unit and a main memory device connected to a plurality of external storage devices, wherein the data transfer device directly transfers data between the external storage devices. An access prohibiting means is provided between the external storage devices and prohibits access by the central processing unit to the external storage device while the data transfer device is transferring data. Data transfer control device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2313688A JPH01199257A (en) | 1988-02-03 | 1988-02-03 | Data transfer controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2313688A JPH01199257A (en) | 1988-02-03 | 1988-02-03 | Data transfer controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01199257A true JPH01199257A (en) | 1989-08-10 |
Family
ID=12102128
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2313688A Pending JPH01199257A (en) | 1988-02-03 | 1988-02-03 | Data transfer controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01199257A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04125850A (en) * | 1990-09-18 | 1992-04-27 | Nec Corp | Disk controller |
| JPH0689503A (en) * | 1992-09-09 | 1994-03-29 | Nippon Telegr & Teleph Corp <Ntt> | Transfer management method for floppy disk transfer device |
-
1988
- 1988-02-03 JP JP2313688A patent/JPH01199257A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04125850A (en) * | 1990-09-18 | 1992-04-27 | Nec Corp | Disk controller |
| JPH0689503A (en) * | 1992-09-09 | 1994-03-29 | Nippon Telegr & Teleph Corp <Ntt> | Transfer management method for floppy disk transfer device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2968636B2 (en) | Microcomputer | |
| JP2876488B2 (en) | Semiconductor file memory device | |
| JP2821176B2 (en) | Information processing device | |
| JP2591785B2 (en) | Computer equipment | |
| JPH023853A (en) | Interface method for cpu | |
| JP2888062B2 (en) | Information processing device | |
| JPS61147358A (en) | Initial program loading circuit | |
| JPH02189627A (en) | Access circuit for data memory | |
| JPH04288637A (en) | Electronic computer system | |
| JPS63204343A (en) | memory access control device | |
| JPH02302855A (en) | Memory control system | |
| JPH04177452A (en) | Information processor | |
| JPH0865497A (en) | Image processing system | |
| JPS59206959A (en) | Storage device | |
| JPS61161558A (en) | Electronic computer | |
| JPS62217346A (en) | Program unauthorized use prevention method | |
| JPS603048A (en) | data transfer control device | |
| JPH02146641A (en) | Memory device | |
| JPS61133465A (en) | How to switch CPU | |
| JPS61107593A (en) | Magnetic bubble memory device | |
| JPS63155343A (en) | External storage device using semiconductor memory | |
| JPH07311705A (en) | Memory system | |
| JPS63165951A (en) | Common memory protecting system | |
| JPS6134650A (en) | Storage device | |
| JPH05334222A (en) | Data collecting and distributing device |