JPH02201563A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPH02201563A
JPH02201563A JP2195889A JP2195889A JPH02201563A JP H02201563 A JPH02201563 A JP H02201563A JP 2195889 A JP2195889 A JP 2195889A JP 2195889 A JP2195889 A JP 2195889A JP H02201563 A JPH02201563 A JP H02201563A
Authority
JP
Japan
Prior art keywords
write
magnetic disk
data
processing unit
central processing
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
JP2195889A
Other languages
Japanese (ja)
Inventor
Hiroshi Tomita
弘 富田
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 JP2195889A priority Critical patent/JPH02201563A/en
Publication of JPH02201563A publication Critical patent/JPH02201563A/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 cylinder number is received from a central processing unit after a first cylinder number and a last cylinder 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 cylinder 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状態にすることであった、その為に、
任意の磁気ディスク装置を書込み保護状態にすることは
できるが、磁気ディスク装置内の任意のシリンダのみを
書込み保護状態にすることはできなかった。
Prior Art Conventionally, the following processing methods have been used to protect data written in this type of magnetic disk device. In other words, in order to protect the data written on the magnetic disk device, it was necessary to turn on the write protection switch attached to the magnetic disk device.
Although it is possible to put any magnetic disk device into a write-protected state, it is not possible to put only an arbitrary cylinder in the magnetic disk device into a write-protected state.

発明が解決しようとする課題 上述した従来の磁気ディスク装置に書込まれているデー
タを保護する方式は、磁気ディスク装置に付加されてい
る書込み保護のスイッチをON状態にすることのみであ
る為に、通常データの書込み動作を行わせている磁気デ
ィスク装置内の任意の領域のみを書込み禁止とすること
ができないので、データの書込み動作を行わせている磁
気ディスク装置内のデータを保護したい領域に対して中
央処理装置等の故障により誤って書込み指示が送出され
たとき磁気ディスク装置に書込まれている保護したいデ
ータの破壊を防止できないという欠点がある。
Problems to be Solved by the Invention The only way to protect the data written in the conventional magnetic disk drive described above is to turn on the write protection switch attached to the magnetic disk drive. Normally, it is not possible to write-protect only an arbitrary area in the magnetic disk drive where data is being written, so it is not possible to write to the area in the magnetic disk drive where data is being written. On the other hand, there is a drawback in that when a write instruction is erroneously sent 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 situation,
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 A storage circuit that stores the first cylinder number and the last cylinder number representing the write-protected area of the magnetic disk device sent from the processing unit, and data writing/reading operations between the central processing unit and the magnetic disk device are data By driving the transfer circuit, the first cylinder number and the last cylinder 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 cylinder number. When received, it is compared whether the cylinder number is within the area of the first cylinder number and the last cylinder number that represent the write-protected area stored in the memory circuit, and if it is outside the area, the data is processed normally. and a microprogram control circuit that sends a report to the central processing unit that a write instruction to a write-inhibited area has been sent from the central processing unit if the writing operation is within the write-inhibited 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 one embodiment of the present invention.

第1図において、本発明の磁気ディスク制御装置100
は、データ転送回路110、記憶回路120及びマイク
ロプログラム制御回路130から構成されている。マイ
クロプログラム制御回路130は、中央処理装置(図示
せず)から線202を通して磁気ディスク装置(図示せ
ず)へのデータの書込み指示を受け取ると、線203を
通してデータ転送回路110を駆動し、中央処理装置か
ら線200を通して取り込んだ書込みデータを線201
を通して磁気ディスク装置に書き込むことで行い、中央
処理装置から線202を通して磁気ディスク装置からの
データの読出し指示を受け取ると、線203を通してデ
ータ転送回路110を駆動し、磁気ディスク装置から線
201を通して読出したデータを線200を通して中央
処理装置に送出することで行う、マイクロプログラム制
御回路130は、中央処理装置から線202を通して書
込み禁止領域を表わす先頭のシリンダ番号と最終のシリ
ンダ番号を受け取ると、線204を通して記憶回路12
0にシリンダ番号を格納する。
In FIG. 1, a magnetic disk control device 100 of the present invention
is composed of 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 drives the data transfer circuit 110 through a line 203. Write data taken in from the device through line 200 is transferred to line 201.
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 read from the magnetic disk device through line 201. The microprogram control circuit 130 performs this by sending data to the central processing unit through line 200. When the microprogram control circuit 130 receives the first cylinder number and the last cylinder number representing a write-protected area from the central processing unit through line 202, it sends the data through line 204. Memory circuit 12
Store the cylinder number in 0.

マイクロプログラム制御回路130は、中央処理装置か
ら線202を通して磁気ディスク装置の任意のシリンダ
番号に対するデータの書込み指示を受け取ったときには
、線204を通して記憶回路120に格納されている書
込み禁止領域を表わすシリンダ番号を読出して、任意の
シリンダ番号が書込み禁止領域内であるかの比較を行う
、マイクロプログラム制御回路130は、比較の結果、
領域外の場合には、線203を通してデータ転送回路1
1Oを駆動し、中央処理装置から線200を通して取り
込んだ書込みデータを線201を通して磁気ディスク装
置に書込むのに対し、領域内の場合には、書込み禁止領
域に対する書込み指示が中央処理装置により送出された
という報告を線202を通して中央処理装置に送出する
When the microprogram control circuit 130 receives an instruction to write data to an arbitrary cylinder number of the magnetic disk device through the line 202 from the central processing unit, the microprogram control circuit 130 receives the cylinder number representing the write-protected area stored in the storage circuit 120 through the line 204. As a result of the comparison, the microprogram control circuit 130 reads out and compares whether an arbitrary cylinder number is within the write-protected area.
If it is outside the area, the data transfer circuit 1 is transferred through the line 203.
1O, and the write data taken in from the central processing unit through the line 200 is written to the magnetic disk device through the line 201, whereas in the case of inside the area, a write instruction to the write-protected area is sent by the central processing unit. It sends a report through line 202 to the central processing unit.

発明の詳細 な説明したように、本発明によれば、中央処理装置から
送出された磁気ディスク装置の書込み禁止領域を表わす
先頭のシリンダ番号と最終のシリンダ番号を記憶回路に
格納した後に、中央処理装置から任意のシリンダ番号に
対するデータの書込み指示を受け取ったとき、該シリン
ダ番号が書込み禁止領域内であるかの比較をして、領域
外の場合には正常にデータの書込み動作を実行するが、
領域内の場合には書込み禁止領域に対する書込み指示が
中央処理装置より送出されたという報告を中央処理装置
に対して送出することにより、データの書込み動作を行
わせている磁気ディスク装置内のデータを保護したい領
域に対して中央処理装置等の故障により誤って書込み指
示が送出されたときでも磁気ディスク装置に書込まれて
いる@護したいデータの破壊を防止することができると
いう効果が得られる。
As described in detail, according to the present invention, after storing the first cylinder number and the last cylinder number representing the write-protected area of the magnetic disk device sent from the central processing unit in the storage circuit, the central processing unit When receiving a data write instruction for a given cylinder number from the device, it is compared to see if the cylinder number is within the write-protected area, and if it is outside the area, the data write operation is executed normally.
If the area is within the write-protected area, the central processing unit sends a report 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・・・マイ
クロプログラムIIIJtM回路 特許出願人  日本電気株式会社 代 理 人  弁理士 熊谷雄太部
FIG. 1 is a block diagram showing one embodiment of the present invention. 100...Magnetic disk control device, 110...Data transfer circuit, 120...Storage circuit, 130...Microprogram III JtM 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 a plurality of magnetic disk devices, write/read data is exchanged between the central processing unit and the magnetic disk devices. A data transfer circuit that performs the transfer, a storage circuit that stores the first cylinder number and the last cylinder 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. When data is received, data is written/read from the magnetic disk device by driving the data transfer circuit. When an instruction to write data to an arbitrary cylinder number is received from the central processing unit after data is stored in the memory circuit, the area of the first cylinder number and the last cylinder number indicates a write-protected area where the cylinder number is stored in the storage circuit. If it is outside the area, the data write operation is executed normally, but if it is inside the area, the central processing unit sends a report that a write instruction to a write-protected area has been sent from the central processing unit. A magnetic disk control device comprising: a microprogram control circuit that sends data to the device.
JP2195889A 1989-01-30 1989-01-30 Magnetic disk controller Pending JPH02201563A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=12069578

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH02201563A (en)

Similar Documents

Publication Publication Date Title
US20030126359A1 (en) Virtual worm method and system
KR950024098A (en) Improved data storage and how to store data in it
JPH02201563A (en) Magnetic disk controller
JPH031220A (en) Magnetic disk controller
JPH02201562A (en) Magnetic disk controller
JPH02202654A (en) Magnetic disk controller
DE69223104D1 (en) Device for preventing the destruction of computer data read from the storage unit
JPS60117340A (en) Electron system with trouble protecting function
JPH05100847A (en) Memory protection system for information processor
US5592650A (en) Computer apparatus and method for replacing programs between memories by employing protection mechanism with write enable generation scheme
JPS6217299B2 (en)
JP2927069B2 (en) Floppy disk controller
JP4009401B2 (en) Disk control apparatus and recording medium recording program
JPS63131249A (en) Auxiliary storage system
JPS61127052A (en) Writing protecting system of memory device
JPS62144260A (en) Data restoring system for semiconductor disk device
JPS60132256A (en) Data securing system of nonvolatile memory
JPS6332642A (en) Information processor
JPH02112086A (en) Read/write device for memory card
JPH0216656A (en) Electronic disk device
JPS63234500A (en) Data protection system
JPS6252761A (en) Floppy disc device
JPS6413654A (en) Storage data protecting system for data storage device
JPH03240122A (en) Magnetic disk device
JPH06103119A (en) Trace information holding controller