JPH02202654A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPH02202654A
JPH02202654A JP2296389A JP2296389A JPH02202654A JP H02202654 A JPH02202654 A JP H02202654A JP 2296389 A JP2296389 A JP 2296389A JP 2296389 A JP2296389 A JP 2296389A JP H02202654 A JPH02202654 A JP H02202654A
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
JP2296389A
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 JP2296389A priority Critical patent/JPH02202654A/en
Publication of JPH02202654A publication Critical patent/JPH02202654A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent the breakdown of data by executing comparison to check whether it is a write instruction within the area of write inhibition or not when the write instruction to data corresponding to a block number is received. CONSTITUTION:When a microprogram control circuit 130 receives a head and a final block numbers on a specified track to express the write inhibition area from a CPU through a line 202, it stores them in a storage circuit 120 through the line 204. When the circuit 130 receives the write instruction of data to the optional block of the optional track of a magnetic disk device from the CPU, it reads out the block number of the write inhibition area stored in the circuit 120, and executes the comparison to check whether this block number lies within the write inhibition area or not. In the case where the result of the comparison is outside the write inhibition area, the circuit 130 drives a data transfer circuit 110 through the line 203, and writes write-in data fetched from the CPU to the magnetic disk device through the line 201, and on the contrary, in the case of within the inhibition area, it sends a report purporting that the write instruction for the write inhibition area was sent from the CPU to the CPU through the line 202.

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. That is, in order to protect data written in a magnetic disk device, a write protection switch attached to the magnetic disk device must be turned on. For that reason,
Although it is possible to put any magnetic disk device into a write-protected state, it is not possible to write-protect just any block on any track within the magnetic disk device.

発明が解決しようとする課題 上述した従来の磁気ディスク装置に書込まれているデー
タを保護する方式は、磁気ディスク装置に付加されてい
る書込み保護のスイッチを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, if a write instruction is erroneously sent due to a failure of the central processing unit or the like, there is a drawback that it is impossible to prevent data written in the magnetic disk device that is to be protected 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 A storage circuit that stores the first block number and last block number on a specific track representing a write-protected area of the magnetic disk device sent from the processing unit, and data writing between the central processing unit and the magnetic disk device. /The read operation is performed by driving the data transfer circuit, and after storing the first block number and last block number on a specific track representing the write-protected area sent from the central processing unit in the storage circuit, the read operation is performed by driving the data transfer circuit. When an instruction to write data to an arbitrary block number of an arbitrary track is received, the area of the first block number and the last block number on a specific track represents a write-protected area where the block 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. and a microprogram control circuit that sends data to the device.

実施例 次に、本発明をその好ましい一実施例について図面を参
照して具体的に説明する。
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図において、本発明の磁気ディスク制御装置lOO
は、データ転送回路110 、記憶回路120及びマイ
クロプログラム制御回路130から構成されている。マ
イクロプログラム制御回路130は、中央処理装置(図
示せず)から線202を通して磁気ディスク装置(図示
せず)へのデータの書込み指示を受け取ると、線203
を通してデータ転送回路110を駆動し、中央処理装置
から線200を通して取り込んだ書込みデータを線20
1を通して磁気ディスク装置に書き込むことで行い、中
央処理装置から線202を通して磁気ディスク装置から
のデータの読出し指示を受け取ると、線203を通して
データ転送回路110を駆動し、磁気ディスク装置から
線201を通して読出したデータを線200を通して中
央処理装置に送出することで行う、マイクロプログラム
制御回路130は、中央処理装置から線202を通して
書込み禁止領域を表わす特定のトラック上の先頭のブロ
ック番号と最終のブロック番号を受け取ると、線204
を通して記憶回路120にブロック番号を格納する。マ
イクロプログラム制御回路130は、中央処理装置から
線202を通して磁気ディスク装置の任意のトラックの
任意のブロックに対するデータの書込み指示を受け取っ
たときには、線204を通して記憶回路120に格納さ
れている書込み禁止領域を表わすブロック番号を読出し
て、任意のトラックの任意のブロック番号が書込み禁止
領域内であるかの比較を行う。
In FIG. 1, a magnetic disk control device lOO of the present invention is shown.
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 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 read from the magnetic disk device through line 201. The microprogram control circuit 130 receives the first block number and the last block number on a particular track representing a write-protected area from the central processing unit through a line 202. When received, line 204
The block number is stored in the memory circuit 120 through the block number. When the microprogram control circuit 130 receives an instruction to write data to any block on any track of the magnetic disk device from the central processing unit through the line 202, the microprogram control circuit 130 writes the write-protected area stored in the storage circuit 120 through the line 204. The represented block number is read and a comparison is made to see if any block number of any track is within the write-protected area.

マイクロプログラム制御回路130は、叱較の枯果領域
外の場合には、線203を通してデータ転送回路110
を駆動し、中央処理装置から線200を通して取り込ん
だ書込みデータを線201を通して磁気ディスク装置に
書込むのに対し、領域内の場合には書込み禁止領域に対
する書込み指示が中央処理装置より送出されたという報
告を線202を通して中央処理装置に送出する。
The microprogram control circuit 130 connects the data transfer circuit 110 to the data transfer circuit 110 through the line 203 when the area is outside the scolding withering area.
The write data taken in from the central processing unit through line 200 is written to the magnetic disk device through line 201, whereas if it is within the area, a write instruction to a write-protected area is sent from the central processing unit. The report is sent over line 202 to the central processing unit.

発明の詳細 な説明したように、本発明によれば、中央処理装置から
送出された磁気ディスク装置の書込み禁止領域を表わす
特定のトラック上の先頭のブロック番号と最終のブロッ
ク番号を記憶回路に格納した後に、中央処理装置から任
意のトラックの任意のブロック番号に対するデータの書
込み指示を受け取ったとき、該ブロック番号が書込み禁
止の領域内であるかの比較をして、領域外の場合には正
常にデータの書込み動作を実行するが、領域内の場合に
は書込み禁止領域に対する書込み指示が中央処理装置よ
り送出されたという報告を中央処理装置に対して送出す
ることにより、データの書込み動作を行わせている磁気
ディスク装置内のデータを保護したい領域に対して、中
央処理装置等の故障により誤って書込み指示が送出され
たときでも磁気ディスク装置に書込まれている保護した
いデータの破壊を防止することができるという効果が得
られる。
As described in detail, according to the present invention, the first block number and the last block number on a specific track representing a write-protected area of a magnetic disk device sent from a central processing unit are stored in a storage circuit. After that, when an instruction to write data to any block number of any track is received from the central processing unit, it is compared whether the block number is within the write-protected area, and if it is outside the area, it is determined that it is normal. If it is inside the area, the data write operation is executed 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 sent by mistake due to a failure of the central processing unit, etc. to the area of the magnetic disk drive that you want to protect, the data written in the magnetic disk drive that you want to protect is prevented from being destroyed. The effect of being able to do this is obtained.

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

第1図は本発明の一実施例を示すブロック構成図である
。 100・・・磁気ディスク制御装置、110・・・デー
タ転送回路、120・・・記憶回路、130・・・マイ
クロプログラム制御回路 特許出願人  日本電気株式会社 代 理 人  弁理士 熊谷雄太部
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 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 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 data transfer, a storage circuit that stores the first block number and last block number on a specific track representing a write-protected area of the magnetic disk device sent from the central processing unit, and a data transfer circuit that stores data sent from the central processing unit. When a write/read instruction is received, data write/read operations to the magnetic disk device are performed by driving the data transfer circuit, and the first block on a specific track representing a write-protected area sent from the central processing unit is and the final block number are stored in the storage circuit, and when an instruction to write data to any block number of any track is received from the central processing unit, the block number is stored in the storage circuit.Writing is prohibited. It compares whether the first block number and the last block number on a specific track representing the area are within the area, and if it is outside the area, the data write operation is executed normally, but if it is inside the area, the data write operation is executed normally. A magnetic disk control device comprising: a microprogram control circuit that sends a report to a central processing unit that a write instruction to a write-protected area has been sent from the central processing unit.
JP2296389A 1989-01-31 1989-01-31 Magnetic disk controller Pending JPH02202654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2296389A JPH02202654A (en) 1989-01-31 1989-01-31 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2296389A JPH02202654A (en) 1989-01-31 1989-01-31 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPH02202654A true JPH02202654A (en) 1990-08-10

Family

ID=12097241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2296389A Pending JPH02202654A (en) 1989-01-31 1989-01-31 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPH02202654A (en)

Similar Documents

Publication Publication Date Title
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
JPH031220A (en) Magnetic disk controller
JPH02202654A (en) Magnetic disk controller
JPH01235075A (en) Disk memory controller
JPS60117340A (en) Electron system with trouble protecting function
JPH02201563A (en) Magnetic disk controller
JPH02201562A (en) Magnetic disk controller
JPH05100847A (en) Memory protection system for information processor
JPS6217299B2 (en)
JP4009401B2 (en) Disk control apparatus and recording medium recording program
JPS63131249A (en) Auxiliary storage system
JPS59167873A (en) Device for protecting data of magnetic disc device
JP2927069B2 (en) Floppy disk controller
JPS6332642A (en) Information processor
JPH0514353Y2 (en)
JPH0424823A (en) Magnetic disk device and its control system
JPH033159A (en) Magnetic storage device and computer
JPH0375952B2 (en)
JPH03164925A (en) Hard disk interface circuit
JPS5943455A (en) Magnetic disk controller
JPS60132256A (en) Data securing system of nonvolatile memory
JPS6151344B2 (en)
JPH04241615A (en) Magnetic disk controller
JPH03240122A (en) Magnetic disk device