JP2545790B2 - Magnetic disk controller with automatic journal function - Google Patents

Magnetic disk controller with automatic journal function

Info

Publication number
JP2545790B2
JP2545790B2 JP61094284A JP9428486A JP2545790B2 JP 2545790 B2 JP2545790 B2 JP 2545790B2 JP 61094284 A JP61094284 A JP 61094284A JP 9428486 A JP9428486 A JP 9428486A JP 2545790 B2 JP2545790 B2 JP 2545790B2
Authority
JP
Japan
Prior art keywords
magnetic disk
data
journal function
disk controller
magnetic
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.)
Expired - Lifetime
Application number
JP61094284A
Other languages
Japanese (ja)
Other versions
JPS62250574A (en
Inventor
康久 渡邉
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP61094284A priority Critical patent/JP2545790B2/en
Publication of JPS62250574A publication Critical patent/JPS62250574A/en
Application granted granted Critical
Publication of JP2545790B2 publication Critical patent/JP2545790B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は自動ジャーナル機能付磁気ディスク制御装置
に関し、特に磁気ディスク装置への書込みデータを自動
的に磁気テープ装置にジャーナルする磁気ディスク制御
装置に関する。
The present invention relates to a magnetic disk controller with an automatic journal function, and more particularly to a magnetic disk controller for automatically journaling write data to a magnetic disk device to a magnetic tape device. .

〔従来の技術〕[Conventional technology]

従来、磁気ディスク装置に対するアップデートデータ
の保全は、定期的に、例えば毎日処理後に磁気ディスク
装置の内容を磁気テープ装置にセーブすることによって
行われていた。
Conventionally, maintenance of update data for a magnetic disk device has been performed periodically, for example, by saving the contents of the magnetic disk device in a magnetic tape device after processing every day.

また、磁気ディスク装置に対するアップデートデータ
のジャーナル機能は、ソフトウェアが磁気ディスク装置
にデータを書き込んだ後に同一のデータを磁気テープ装
置に書き込むことによって実現されていた。
Further, the update data journal function for the magnetic disk device is realized by the software writing the same data in the magnetic tape device after writing the data in the magnetic disk device.

〔発明が解決しようとする問題点〕 上述した従来の磁気ディスク装置に対するアップデー
トデータの保全方法では、データの保全性が悪く、信頼
性が十分でないという欠点がある。
[Problems to be Solved by the Invention] The above-described conventional update data maintenance method for a magnetic disk device has drawbacks in that the data integrity is poor and the reliability is not sufficient.

また、従来の磁気ディスク装置に対するアップデート
データのジャーナル機能では、ソフトウェアが磁気テー
プ装置への書込みを行っていたので、ソフトウェアの負
荷が非常に重いという欠点がある。
Further, in the conventional update data journal function for the magnetic disk device, the software writes to the magnetic tape device, so that there is a drawback that the load of the software is very heavy.

本発明の目的は、上述の点に鑑み、ソフトウェアの負
荷を大幅に減らすとともにデータの保全性を高めること
により、信頼性を大幅に向上させた自動ジャーナル機能
付磁気ディスク制御装置を提供することにある。
In view of the above points, an object of the present invention is to provide a magnetic disk controller with an automatic journal function, which greatly improves the reliability by significantly reducing the load of software and improving the data integrity. is there.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の自動ジャーナル機能付磁気ディスク制御装置
は、指定域の書込み完了を示すフルビットを備える複数
の記憶手段と、磁気ディスク装置を制御するディスク制
御手段と、チャネルとのデータ転送を制御し前記ディス
ク制御手段にデータ転送を行うと同時に前記記憶手段の
1つを選択してデータ書込みを行うチャネル制御手段
と、磁気テープ装置を制御し前記記憶手段のフルビット
の検出時に前記記憶手段からデータを読み出して前記磁
気ディスク装置のトラック番号順に並び換えて前記磁気
テープ装置に書き込むテープ制御手段と、前記各手段が
接続された内部バスとを有する。
The magnetic disk controller with automatic journaling function of the present invention controls the data transfer between a plurality of storage means having a full bit indicating the completion of writing of a designated area, a disk control means for controlling the magnetic disk device, and a channel. Channel control means for transferring data to the disk control means and at the same time selecting one of the storage means for writing data, and for controlling a magnetic tape device to detect data from the storage means when a full bit of the storage means is detected. It has tape control means for reading out, rearranging in the order of track numbers of the magnetic disk device and writing in the magnetic tape device, and an internal bus to which the respective means are connected.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。
本実施例の自動ジャーナル機能付磁気ディスク制御装置
1は、データ線101を介してチャネル(図示せず)に接
続されるとともに内部バス104に接続されたチャネル制
御部11と、内部バス104に接続されるとともに磁気ディ
スク装置2にデータ線102を介して接続されたディスク
制御部12と、内部バス104にそれぞれ接続された2つの
記憶部13aおよび13bと、内部バス104に接続されるとと
もに磁気テープ装置3にデータ線103を介して接続され
たテープ制御部14とを含んで構成されている。
FIG. 1 is a block diagram showing an embodiment of the present invention.
The magnetic disk control device 1 with an automatic journal function of this embodiment is connected to a channel (not shown) via a data line 101 and a channel control unit 11 connected to an internal bus 104 and an internal bus 104. A disk control unit 12 connected to the magnetic disk device 2 via a data line 102, two storage units 13a and 13b respectively connected to an internal bus 104, and a magnetic tape connected to the internal bus 104. The tape controller 14 is connected to the device 3 via the data line 103.

なお、符号15aおよび15bは記憶部13aおよび13b内に設
けられ指定域の書込み完了を示すフルビットを、16はテ
ープ制御部14内に設けられたデータ配列変換回路をそれ
ぞれ示す。
Reference numerals 15a and 15b denote full bits provided in the storage units 13a and 13b, indicating the completion of writing of the designated area, and 16 denotes a data array conversion circuit provided in the tape control unit 14.

次に、このように構成された本実施例の自動ジャーナ
ル機能付磁気ディスク制御装置の動作について説明す
る。
Next, the operation of the magnetic disk controller with the automatic journal function of the present embodiment configured as described above will be described.

チャネル制御部11は、チャネルからデータ線101を介
して送られてきた磁気ディスク装置2への書込みデータ
を内部バス104を介してディスク制御部12に送付し、デ
ィスク制御部12は送られてきた書込みデータをデータ線
102を介して磁気ディスク装置2に書き込む。またこれ
と同時に、チャネル制御部11は、記憶部13aおよび13b内
のフルビット15aおよび15bのリセット状態を調べ、例え
ば記憶部13aのフルビット15aがリセットされている場合
には、この記憶部13aを選択して磁気ディスク装置2へ
の書込みデータを記憶部13aにも書き込む。1回ないし
は複数回の書込み処理中に記憶部13aへの書込みが全面
完了すると、記憶部13a内のフルビット15aがセットさ
れ、チャネル制御部11はフルビット15aのセット状態を
見て続く書込みを記憶部13bを選んで続行する。
The channel control unit 11 sends the write data to the magnetic disk device 2 sent from the channel via the data line 101 to the disk control unit 12 via the internal bus 104, and the disk control unit 12 is sent. Write data to data line
Writing to the magnetic disk device 2 via 102. At the same time, the channel control unit 11 checks the reset state of the full bits 15a and 15b in the storage units 13a and 13b. For example, when the full bit 15a of the storage unit 13a is reset, this storage unit 13a Is selected to write the write data to the magnetic disk device 2 also to the storage unit 13a. When the entire writing to the storage unit 13a is completed during the write processing of one time or a plurality of times, the full bit 15a in the storage unit 13a is set, and the channel control unit 11 checks the set state of the full bit 15a and performs the subsequent writing. Select the storage unit 13b to continue.

一方、テープ制御部14は、記憶部13aおよび13b内のフ
ルビット15aおよび15bを監視し、例えば記憶部13aのフ
ルビット15aのセット状態を検出すると、記憶部13aから
データを読み出し、データ配列変換回路16によって磁気
ディスク装置2のトラック順に整理してデータ線103を
介して磁気テープ装置3に書き込む。記憶部13aから全
てのデータを読み出し終えると、テープ制御部14の指示
により記憶部13aは内部のフルビット15aをリセットす
る。テープ制御部14は、同様な処理を記憶部13bについ
ても行い、再び記憶部13aについてというように交互に
繰り返す。
On the other hand, the tape control unit 14 monitors the full bits 15a and 15b in the storage units 13a and 13b, and when detecting the set state of the full bit 15a of the storage unit 13a, for example, reads the data from the storage unit 13a and converts the data array. The circuit 16 arranges the tracks in the track order of the magnetic disk device 2 and writes them in the magnetic tape device 3 through the data lines 103. When all the data has been read from the storage unit 13a, the storage unit 13a resets the internal full bit 15a according to an instruction from the tape control unit 14. The tape control unit 14 performs the same processing on the storage unit 13b, and repeats the storage unit 13a again in an alternating manner.

なお、記憶部13aと記憶部13bとの記憶容量は、1回の
最大書込みデータ量、データ転送性能、磁気テープ装置
3への書込み性能等に基づいて決定される。
The storage capacities of the storage unit 13a and the storage unit 13b are determined based on the maximum write data amount per time, data transfer performance, write performance to the magnetic tape device 3, and the like.

第2図は、本発明の他の実施例を示すブロック図であ
る。本実施例の自動ジャーナル機能付磁気ディスク制御
装置1Aは、第1図に示した実施例の自動ジャーナル機能
付磁気ディスク制御装置1がデータセーブ装置として磁
気テープ装置3を使用していたのに対して、カートリッ
ジテープ装置3Aを使用するようにしたものである。
FIG. 2 is a block diagram showing another embodiment of the present invention. In the magnetic disk controller with automatic journal function 1A of this embodiment, the magnetic disk controller with automatic journal function 1 of the embodiment shown in FIG. 1 uses the magnetic tape device 3 as a data save device. Then, the cartridge tape device 3A is used.

本実施例の自動ジャーナル機能付磁気ディスク制御装
置1Aにおいても、テープ制御部14がカートリッジテープ
装置3Aの制御を行う点を除いて、第1図に示した実施例
の自動ジャーナル機能付磁気ディスク制御装置1と全く
同様の動作が行われることはいうまでもない。
Also in the magnetic disk controller with automatic journal function 1A according to the present embodiment, the magnetic disk controller with automatic journal function according to the embodiment shown in FIG. 1 is used except that the tape controller 14 controls the cartridge tape device 3A. It goes without saying that the same operation as that of the device 1 is performed.

第3図は、本発明のさらに他の実施例を示すブロック
図である。本実施例の自動ジャーナル機能付磁気ディス
ク制御装置1Bは、第1図に示した実施例の自動ジャーナ
ル機能付磁気ディスク制御装置1がデータセーブ装置と
して磁気テープ装置3を使用していたのに対して、カセ
ットテープ装置3Bを使用するようにしたものである。
FIG. 3 is a block diagram showing still another embodiment of the present invention. In the magnetic disk controller 1B with an automatic journal function of this embodiment, the magnetic disk controller 1 with an automatic journal function of the embodiment shown in FIG. 1 uses the magnetic tape device 3 as a data save device. Then, the cassette tape device 3B is used.

本実施例の自動ジャーナル機能付磁気ディスク制御装
置1Bにおいても、テープ制御部14がカセットテープ装置
3Bの制御を行う点を除いて、第1図に示した実施例の自
動ジャーナル機能付磁気ディスク制御装置1と全く同様
の動作が行われることはいうまでもない。
In the magnetic disk control device 1B with the automatic journal function of this embodiment, the tape control unit 14 is also a cassette tape device.
Needless to say, the same operation as that of the magnetic disk controller 1 with the automatic journal function of the embodiment shown in FIG. 1 is performed except that the control of 3B is performed.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、磁気ディスク制御装置
の内部に自動ジャーナル機能を持たせることにより、ソ
フトウェアの負荷を大幅に減らすとともに、データの保
全性を高めて信頼性を大幅に向上できる効果がある。
As described above, according to the present invention, by providing an automatic journal function inside the magnetic disk controller, it is possible to significantly reduce the load of software and to improve data integrity and greatly improve reliability. is there.

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

第1図は本発明の一実施例を示すブロック図、 第2図は本発明の他の実施例を示すブロック図、 第2図は本発明のさらに他の実施例を示すブロック図で
ある。 図において、 1,1A,1B……自動ジャーナル機能付磁気ディスク制御装
置、2……磁気ディスク装置、3……磁気テープ装置、
3A……カートリッジテープ装置、3B……カセットテープ
装置、11……チャネル制御部、12……ディスク制御部、
13a,13b……記憶部、14……テープ制御部、15a,15b……
フルビット、16……データ配列変換回路、101,102,103
……データ線、104……内部バスである。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing another embodiment of the present invention, and FIG. 2 is a block diagram showing still another embodiment of the present invention. In the figure, 1,1A, 1B ... Magnetic disk controller with automatic journal function, 2 ... Magnetic disk device, 3 ... Magnetic tape device,
3A ... Cartridge tape device, 3B ... Cassette tape device, 11 ... Channel control unit, 12 ... Disk control unit,
13a, 13b ... storage section, 14 ... tape control section, 15a, 15b ...
Full bit, 16 ... Data array conversion circuit, 101, 102, 103
…… Data line, 104 …… Internal bus.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】指定域の書込み完了を示すフルビットを備
える複数の記憶手段と、 磁気ディスク装置を制御するディスク制御手段と、 チャネルとのデータ転送を制御し前記ディスク制御手段
にデータ転送を行うと同時に前記記憶手段の1つを選択
してデータ書込みを行うチャネル制御手段と、 磁気テープ装置を制御し前記記憶手段のフルビットの検
出時に前記記憶手段からデータを読み出して前記磁気デ
ィスク装置のトラック番号順に並び換えて前記磁気テー
プ装置に書き込むテープ制御手段と、 前記各手段が接続された内部バスと、 を有することを特徴とする自動ジャーナル機能付磁気デ
ィスク制御装置。
1. A plurality of storage means having a full bit indicating the completion of writing of a designated area, a disk control means for controlling a magnetic disk device, and a data transfer to and from a channel to control the data transfer to the disk control means. At the same time, a channel control means for selecting one of the storage means to write data, and a track of the magnetic disk device by controlling the magnetic tape device and reading data from the storage means when a full bit of the storage means is detected. A magnetic disk controller with an automatic journal function, comprising: a tape control unit that rearranges data in numerical order and writes the data to the magnetic tape device; and an internal bus to which each unit is connected.
JP61094284A 1986-04-22 1986-04-22 Magnetic disk controller with automatic journal function Expired - Lifetime JP2545790B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61094284A JP2545790B2 (en) 1986-04-22 1986-04-22 Magnetic disk controller with automatic journal function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61094284A JP2545790B2 (en) 1986-04-22 1986-04-22 Magnetic disk controller with automatic journal function

Publications (2)

Publication Number Publication Date
JPS62250574A JPS62250574A (en) 1987-10-31
JP2545790B2 true JP2545790B2 (en) 1996-10-23

Family

ID=14105958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61094284A Expired - Lifetime JP2545790B2 (en) 1986-04-22 1986-04-22 Magnetic disk controller with automatic journal function

Country Status (1)

Country Link
JP (1) JP2545790B2 (en)

Also Published As

Publication number Publication date
JPS62250574A (en) 1987-10-31

Similar Documents

Publication Publication Date Title
JP2545790B2 (en) Magnetic disk controller with automatic journal function
JPH02148245A (en) Buffer memory structure
JP2510662B2 (en) Data recording control method
US6745300B1 (en) Magnetic disk device and disk access method therefor
JPS62250573A (en) Magnetic disk controller with automatic journal function
US4647991A (en) Disk channel controller
JPS6331806B2 (en)
JP2897470B2 (en) How to optimize buffer ratio
JPS6325876A (en) Optical disk controller
JP2789772B2 (en) Magnetic disk reformatting method
JPS60235260A (en) Storage device
JPH0664519B2 (en) Interchangeable recording medium access method
JP3578285B2 (en) Data transfer device
JPS6226482B2 (en)
JPH0656691B2 (en) Disk device by multi-channel parallel transfer method
JPS6293727A (en) Magnetic disk control device
JP2828484B2 (en) Data recording / reproducing device
JPH10177764A (en) Optical disk recording device
JP2001125753A (en) Disk array device
JPH04341977A (en) Data reproducing control system
JPS63136360A (en) Magnetic tape controller
JPH01184671A (en) Magnetic tape control system
JPS6139126A (en) Magnetic tape recording device
JPH0736625A (en) Signal processor
JPS62127933A (en) Magnetic tape controller

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term