JPH02201562A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPH02201562A
JPH02201562A JP2195789A JP2195789A JPH02201562A JP H02201562 A JPH02201562 A JP H02201562A JP 2195789 A JP2195789 A JP 2195789A JP 2195789 A JP2195789 A JP 2195789A JP H02201562 A JPH02201562 A JP H02201562A
Authority
JP
Japan
Prior art keywords
write
magnetic disk
processing unit
central processing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2195789A
Other languages
Japanese (ja)
Inventor
Yoshiji Oka
岡 佳司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2195789A priority Critical patent/JPH02201562A/en
Publication of JPH02201562A publication Critical patent/JPH02201562A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent destruction of data which is written in a magnetic disk device and should be protected by inhibiting the write to only an arbitrary area of the magnetic disk device where normal data is written. CONSTITUTION:A magnetic disk controller consists of a data transfer circuit 110, a storage circuit 120, and a microprogram control circuit 130. When the indication of data write to an arbitrary head number is received from a central processing unit after a first head number and a last head number which indicate the write inhibit area of the magnetic disk device sent from the central processing unit are stored in the storage circuit 120, it is informed the central processing unit that the indication of write to the write inhibit area is sent from the central processing unit if the arbitrary head number is in the write inhibit area. Thus, destruction of data to be protected is prevented though the indication of write to a data protection area in the magnetic disk device is erroneously sent because of trouble.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、磁気ディスク制御装置に関し、特に、磁気デ
ィスク装置に書込まれているデータを保護する処理に関
する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a magnetic disk control device, and more particularly to processing for protecting data written in a magnetic disk device.

従来の技術 従来、この種の磁気ディスク装置に書込まれているデー
タを保護する方式は、磁気ディスク装置に付加されてい
る書込み保護のスイッチをON状態にすることであった
。その為に、任意の磁気ディスク装置を書込み保護状態
にすることはできるが、磁気ディスク装置内の任意のト
ラックのみを書込み保護状慧にすることはできなかっな
2. Description of the Related Art Conventionally, the method for protecting data written in this type of magnetic disk device was to turn on a write protection switch attached to the magnetic disk device. Therefore, although it is possible to write-protect any magnetic disk drive, it is not possible to write-protect only any track within the magnetic disk drive.

発明が解決しようとする課題 上述した従来の磁気ディスク装置に書込まれているデー
タを保護する方式は、磁気ディスク装置に付加されてい
る書込み保護のスイッチをON状態にすることのみであ
る。その為に、通常データの書込み動作を行わせている
磁気ディスク装置内の任意のwi域のみを書込み禁止と
することができないので、データの書込み動作を行わせ
ている磁気ディスク装置内のデータを保護したい領域に
対して中央処理装置等の故障により誤って書込み指示が
送出されたときに磁気ディスク装置に書込まれている保
護したいデータの破壊を防止できないという欠点がある
Problems to be Solved by the Invention The method for protecting the data written in the conventional magnetic disk drive described above is only to turn on the write protection switch attached to the magnetic disk drive. For this reason, it is not possible to write to only the arbitrary Wi area in the magnetic disk device that is performing the data writing operation, so the data in the magnetic disk device that is performing the data writing operation cannot be protected from writing. There is a drawback in that when a write instruction is sent to an area to be protected by mistake due to a failure of the central processing unit or the like, it is impossible to prevent the data written in the magnetic disk device from being destroyed.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能とした新規な磁気ディスク制御装
置を提供することにある。
The present invention has been made in view of the above-mentioned conventional circumstances,
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a novel magnetic disk control device that makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.

課題を解決するための手段 上記目的を達成する為に、本発明に係る磁気ディスク制
御装置は、中央処理装置と磁気ディスク装置との間で書
込み/読出しデータの転送を行うデータ転送回路と、中
央処理装置から送出される磁気ディスク装置の書込み禁
止領域を表わす先頭のヘッド番号と最終のヘッド番号を
格納する記憶回路と、中央処理装置と磁気ディスク装置
との間のデータの書込み/読出し動作はデータ転送回路
を駆動することで行い中央処理装置から送出された書込
み禁止領域を表わす先頭のヘッド番号と最終のヘッド番
号を記憶回路に格納した後に中央処理装置から任意のヘ
ッド番号に対するデータの書込み指示を受け取ったとき
に該ヘッド番号が記憶回路に格納されている書込み禁止
領域を表わす先頭のヘッド番号と最終のヘッド番号の領
域内であるかの比較をして領域外の場合には正常にデー
タの書込み動作を実行するが領域内の場合には書込み禁
止領域に対する書込み指示が中央処理装置より送出され
たという報告を中央処理装置に対して送出するマイクロ
プログラム制御回路とを備えて構成される。
Means for Solving the Problems In order to achieve the above object, a magnetic disk control device according to the present invention includes a data transfer circuit that transfers write/read data between a central processing unit and a magnetic disk device, and a central Data writing/reading operations between the central processing unit and the magnetic disk device are performed by a storage circuit that stores the first head number and the last head number representing the write-protected area of the magnetic disk device sent from the processing device. By driving the transfer circuit, the first head number and the last head number representing the write-protected area sent from the central processing unit are stored in the storage circuit, and then the central processing unit issues an instruction to write data to an arbitrary head number. When received, the head number is compared to see if it is within the area of the first head number and the last head number representing the write-protected area stored in the storage circuit, and if it is outside the area, the data is correctly read. A microprogram control circuit that sends a report to the central processing unit that a write instruction for a write-inhibited area has been sent from the central processing unit when a write operation is executed within the write-protected area.

実施例 次に、本発明をその好ましい一実施例について図面を参
照して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

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

第1図において、本発明の磁気ディスク制御装!100
Gi、データ転送回路110、記憶回路120及びマイ
クロプログラム制御回路130から構成されている。マ
イクロプログラム制御回路130は、中央処理装置(図
示せず)から線202を通して磁気ディスク装置(図示
せず)へのデータの書込み指示を受け取ると、線203
を通してデータ転送回路110を駆動し、中央処理装置
から線200を通して取り込んだ書込みデータを線20
1を通して磁気ディスク装置に書き込むことで行い、中
央処理装置から線202を通して磁気ディスク装置から
のデータの読出し指示を受け取ると、線203を通して
データ転送回路110を駆動し、磁気ディスク装宜から
線201を通して読出しなデータを線200を通して中
央処理装置に送出することで行う。
In FIG. 1, the magnetic disk control device of the present invention! 100
Gi, a data transfer circuit 110, a storage circuit 120, and a microprogram control circuit 130. When the microprogram control circuit 130 receives an instruction to write data to a magnetic disk device (not shown) through a line 202 from a central processing unit (not shown), the microprogram control circuit 130 sends an instruction to write data to a magnetic disk device (not shown) through a line 203.
The data transfer circuit 110 is driven through the line 20, and the write data taken in from the central processing unit through the line 200 is transferred to the line 20.
When an instruction to read data from the magnetic disk device is received from the central processing unit through line 202, the data transfer circuit 110 is driven through line 203, and data is written from the magnetic disk device through line 201. This is done by sending read data over line 200 to the central processing unit.

マイクロプログラム制御回路130は、中央処理装置か
ら線202を通して書込み禁止領域を表わす先頭のヘッ
ド番号と最終のヘッド番号を受け収ると、線204を通
して記憶回路120にヘッド番号を格納する。マイクロ
プログラム制御回路130は、中央処理装置から線20
2を通して磁気ディスク装置の任意のヘッド番号に対す
るデータの書込み指示を受け取ったときには、線204
を通して記憶回路120に格納されている書込み禁止領
域を表わすヘッド番号を読出して、任意のヘッド番号が
書込み禁止領域内であるかの比較を行う。マイクロプロ
グラム制御回路130は、比較の結果領域外の場合には
線203を通してデータ転送回路110を駆動し、中央
処理装置から線200を通して取り込んだ書込みデータ
を線201を通して磁気ディスク装置に書込むのに対し
、領域内の場合には書込み禁止領域に対する書込み指示
が中央処理装置により送出されたという報告を線202
を通して中央処理装置に送出する。
When the microprogram control circuit 130 receives the first head number and the last head number representing the write-protected area from the central processing unit through the line 202, the microprogram control circuit 130 stores the head numbers in the storage circuit 120 through the line 204. Microprogram control circuit 130 is connected to line 20 from the central processing unit.
When an instruction to write data to an arbitrary head number of the magnetic disk device is received through line 204,
The head number representing the write-protected area stored in the memory circuit 120 is read out through the memory circuit 120, and a comparison is made to see if any head number is within the write-protected area. The microprogram control circuit 130 drives the data transfer circuit 110 through a line 203 when the result of comparison is outside the area, and writes the write data taken in from the central processing unit through a line 200 to the magnetic disk device through a line 201. On the other hand, if it is within the area, a report indicating that a write instruction to the write-protected area has been sent by the central processing unit is sent via line 202.
to the central processing unit.

発明の効果 以上説明したように、本発明によれば、中央処理装置か
ら送出された磁気ディスク装置の書込み禁止領域を表わ
す先頭のヘッド番号と最終のヘッド番号を記憶回路に格
納した後に、中央処理装置から任意のヘッド番号に対す
るデータの書込み指示を受け取ったとき、該ヘッド番号
が書込み禁止領域内であるかの比較をして領域外の場合
には正常にデータの書込み動作を実行するが、領域内の
場合には書込み禁止領域に対する書込み指示が中央処理
装置より送出されたという報告・を中央処理装置に対し
て送出することにより、データの書込み動作を行わせて
いる磁気ディスク装置内のデータを保護したい領域に対
して中央処理装置等の故障により誤って書込み指示が送
出されたときでも磁気ディスク装置に書込味れている保
護したいデータの破壊を防止することができるという効
果が得られる。
Effects of the Invention As explained above, according to the present invention, after storing the first head number and the last head number representing the write-protected area of the magnetic disk device sent from the central processing unit in the storage circuit, the central processing When an instruction to write data to a given head number is received from the device, it is compared to see if the head number is within the write-protected area, and if it is outside the area, the data write operation is executed normally; In the case of , the data in the magnetic disk device that is performing the data write operation is deleted by sending a report to the central processing unit that a write instruction to the write-protected area has been sent from the central processing unit. Even if a write instruction is erroneously sent to the area to be protected due to a failure of the central processing unit or the like, it is possible to prevent the data written in the magnetic disk device from being destroyed.

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

第1図は本発明の一実施例を示すブロック構成図である
。 100・・・磁気ディスク制御装置、110・・・デー
タ転送回路、120・・・記憶回路、130・・・マイ
クロプログラム制御回路 特許出願人  日本電気株式会社 代 理 人  弁理士 熊谷雄太部
FIG. 1 is a block diagram showing an embodiment of the present invention. 100...Magnetic disk control device, 110...Data transfer circuit, 120...Storage circuit, 130...Microprogram control circuit Patent applicant NEC Corporation Representative Patent attorney Yutabe Kumagai

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置に接続され、該中央処理装置からの指示に
従って動作し複数台の磁気ディスク装置を制御する磁気
ディスク制御装置において、中央処理装置と磁気ディス
ク装置との間で書込み/読出しデータのデータ転送を行
うデータ転送回路と、中央処理装置から送出される磁気
ディスク装置の書込み禁止領域を表わす先頭のヘッド番
号と最終のヘッド番号を格納する記憶回路と、中央処理
装置からの書込み/読出し指示を受け取ったときの磁気
ディスク装置に対するデータの書込み/読出し動作は前
記データ転送回路を駆動することで行い中央処理装置か
ら送出された書込み禁止領域を示す先頭のヘッド番号と
最終のヘッド番号を前記記憶回路に格納した後に中央処
理装置から任意のヘッド番号に対するデータの書込み指
示を受け取ったときに該トラック番号が該記憶回路に格
納されている書込み禁止領域を表わす先頭のヘッド番号
と最終のヘッド番号の領域内であるかの比較をして領域
外の場合には正常にデータの書込み動作を実行するが領
域内の場合には書込み禁止領域に対する書込み指示が中
央処理装置より送出されたという報告を中央処理装置に
対して送出するマイクロプログラム制御回路とを有する
ことを特徴とした磁気ディスク制御装置。
In a magnetic disk control device that is connected to a central processing unit, operates according to instructions from the central processing unit, and controls multiple magnetic disk units, data transfer of write/read data between the central processing unit and the magnetic disk units. a data transfer circuit that performs this, a storage circuit that stores the first head number and last head number representing the write-protected area of the magnetic disk device sent from the central processing unit, and a storage circuit that receives write/read instructions from the central processing unit. At this time, data writing/reading operations for the magnetic disk device are performed by driving the data transfer circuit, and the first head number and the last head number indicating the write-protected area sent from the central processing unit are sent to the storage circuit. After the track number is stored, when receiving a data write instruction for a given head number from the central processing unit, the track number is stored in the storage circuit within the area of the first head number and the last head number representing a write-protected area. If it is outside the area, the data write operation is executed normally, but if it is inside the area, the central processing unit reports that a write instruction to a write-protected area has been sent from the central processing unit. What is claimed is: 1. A magnetic disk control device comprising: a microprogram control circuit that sends data to a microprogram control circuit;
JP2195789A 1989-01-30 1989-01-30 Magnetic disk controller Pending JPH02201562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2195789A JPH02201562A (en) 1989-01-30 1989-01-30 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2195789A JPH02201562A (en) 1989-01-30 1989-01-30 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPH02201562A true JPH02201562A (en) 1990-08-09

Family

ID=12069547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2195789A Pending JPH02201562A (en) 1989-01-30 1989-01-30 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPH02201562A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56121162A (en) * 1980-02-26 1981-09-22 Fujitsu Ltd Large memory device
JPS61228544A (en) * 1985-04-01 1986-10-11 Nec Corp Write protection system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56121162A (en) * 1980-02-26 1981-09-22 Fujitsu Ltd Large memory device
JPS61228544A (en) * 1985-04-01 1986-10-11 Nec Corp Write protection system

Similar Documents

Publication Publication Date Title
US5226157A (en) Backup control method and system in data processing system using identifiers for controlling block data transfer
KR20050003451A (en) Hard disk drive system, method of using such a system and apparatus
KR950024098A (en) Improved data storage and how to store data in it
JPS627572B2 (en)
US6571304B1 (en) Control system for using memory on cartridges to overcome tape drive problems
JPH02201562A (en) Magnetic disk controller
JPH031220A (en) Magnetic disk controller
JPS6217299B2 (en)
JPH02201563A (en) Magnetic disk controller
JPH0793101A (en) Data backup device
JPH02202654A (en) Magnetic disk controller
JPH02103778A (en) Data recording and reproducing system
JPH1040022A (en) Magnetic disk controller
JPS62154365A (en) Data memory reproducing device
JP4009401B2 (en) Disk control apparatus and recording medium recording program
JP2737495B2 (en) I / O control unit
JPS58211257A (en) Write controlling system of magnetic disk device
JPS6027935A (en) Information protecting circuit of information storage device
JPH06103119A (en) Trace information holding controller
JPH05198095A (en) Floppy disk controller
JPH03240122A (en) Magnetic disk device
JPS6252761A (en) Floppy disc device
JPS63106960A (en) Magnetic disk controller
JPS6269342A (en) Semiconductor disk device
JPH04135226A (en) Back-up system for magnetic disk device