JPS6379151A - Disk cache device - Google Patents

Disk cache device

Info

Publication number
JPS6379151A
JPS6379151A JP61224382A JP22438286A JPS6379151A JP S6379151 A JPS6379151 A JP S6379151A JP 61224382 A JP61224382 A JP 61224382A JP 22438286 A JP22438286 A JP 22438286A JP S6379151 A JPS6379151 A JP S6379151A
Authority
JP
Japan
Prior art keywords
information
read
host device
disk
storage means
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
JP61224382A
Other languages
Japanese (ja)
Inventor
Kunio Takahari
高張 邦夫
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61224382A priority Critical patent/JPS6379151A/en
Publication of JPS6379151A publication Critical patent/JPS6379151A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To improve reliability of information by using an information comparing means to have comparison between the information read out of a disk device and the information read out of an information storing means. CONSTITUTION:When a writing action and then a reading action are carried out, the information are read out simultaneously out of a disk device 2 and an information storing means 3. Then an information comparing means 5 compares the contents of the read-out information b2 with those of the read-out information b3. The information b2 is sent to a host device and at the same time the contents of the information b3 on the means 3 are checked. When no coincidence is obtained between both information b2 and b3, a signal showing discordance is outputted to the host device. Thus the host device generally carries out a retrial action.

Description

【発明の詳細な説明】 [産業上の利用分野〕 この発明は、ディスク・キャッシュ装置から上位装置に
転送される情報の信頼性を向上するためになされたディ
スク・キャッシュ装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a disk cache device designed to improve the reliability of information transferred from a disk cache device to a host device.

〔従来の技術〕[Conventional technology]

第2図は従来のディスク・キャッシュ装置を示すブロッ
ク図であり、図において、1は上位装置との間で書込み
情報al、 または読出し情報b1の転送を行う情報転
送手段、2は書込み情報a2の書込み、または読出し情
報b2の読出しを行うディスク装置、3は書込み情報a
3の書込み、または読出し情報情報b3の読出しを行う
情報記tα手段、4は書込み情% ill + 1 a
 Q + a 3と読出し情報b+ + b2. b3
を転送するバスの接続、切離しをトラック情報Cに凸づ
いて11.す御する情報バス切替え手段である。
FIG. 2 is a block diagram showing a conventional disk cache device. In the figure, 1 is an information transfer means for transferring write information a1 or read information b1 to and from a host device, and 2 is a block diagram for transferring write information a2. A disk device that writes or reads the read information b2, 3 is the write information a
3 is the information writing tα means for writing or reading the read information information b3, 4 is the writing information % ill + 1 a
Q + a 3 and read information b + + b2. b3
11. The connection and disconnection of the bus that transfers the data is based on the track information C. This is an information bus switching means to control the information bus.

次に、ディスク・キャッシュ装置として有効な動作、す
なわち情報記憶手段3に対し、読出し。
Next, an operation effective as a disk cache device, that is, reading from the information storage means 3 is performed.

または書込み動作が行われる場合について説明する。ト
ラック情報Cが上位装置から与えられ、対応するトラッ
クに記憶されている情報の読出しを指示された場合、情
報バス切替え手段4は読出し指示されたトラックが情報
記′憶手段3に記憶されているかをチェックする。記憶
されていた場合、トラック情報Cに対応する読出し情報
b3が読出し情報b1として上位装置に読み出される。
Or, a case where a write operation is performed will be explained. When track information C is given from a host device and an instruction is given to read information stored in the corresponding track, the information bus switching means 4 determines whether the track for which reading is instructed is stored in the information storage means 3. Check. If the track information C is stored, the read information b3 corresponding to the track information C is read out to the host device as the read information b1.

記憶されていなかった場合、ディスク装置2がトラック
情報Cにより指定されたトラックに位置決めし、読出し
情報b2が読出し情報b1として上位装置に読み出され
ると同時に、読出し情報b2は書込み情報a5として情
報記憶手段3に書き込まれる。この場合、次からはトラ
ック情報Cに対応する読出し情報は情報記憶手段3から
読み出すことができる。
If it is not stored, the disk device 2 is positioned on the track specified by the track information C, and the read information b2 is read out to the host device as the read information b1, and at the same time, the read information b2 is stored as the write information a5 in the information storage means. Written in 3. In this case, the read information corresponding to the track information C can be read from the information storage means 3 from now on.

トラック情報Cが与えられ、情報の書込みを指定された
場合、ディスク装置2はトラック情報Cにより指定され
たトラックに位置決めし、上位装置から与えられた書込
み情報a1を書込み情報a2としてディスク装置2に書
き込み、同時に書込み情報atを書込み情報a3として
情報He憶平手段に書き込む。書込み動作から引き続き
読出し動作を行う場合、情報記憶手段3から読出しは行
われず、ディスク装置2から読出しが行われる。これは
書込み動作が行われることによっ゛て、ディスク装置2
のヘッドとディスク媒体の位置関係が保障されるためで
ある。
When track information C is given and writing of information is specified, the disk device 2 positions the track specified by the track information C, and writes the write information a1 given from the host device as write information a2 to the disk device 2. At the same time, write information at is written into the information He storage means as write information a3. When a read operation is performed subsequent to a write operation, reading is not performed from the information storage means 3, but read from the disk device 2. This is due to the write operation being performed on the disk device 2.
This is because the positional relationship between the head and the disk medium is guaranteed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のディスク・キャッシュ装置は以上のように構成さ
れているので、書込み動作から引き続いて読出し動作が
行われる場合、ディスク装置2から情報の読出しが行わ
れるため、上位装置に出力される読出し情報b1の内容
は保障される。しかしながら情報記憶手段3から情報を
読み出さないため、書込み動作に続く情報の内容が情報
記憶手段3に正しく記憶されているかをチェックするこ
とができなかった。
Since the conventional disk cache device is configured as described above, when a read operation is performed following a write operation, information is read from the disk device 2, so the read information b1 output to the host device is The contents are guaranteed. However, since information is not read from the information storage means 3, it has not been possible to check whether the information following the write operation is correctly stored in the information storage means 3.

この発明は上記のような問題点を解消するためになされ
たもので、書込み動作から引き続いて読出し動作が行わ
れる場合でも、情報記憶手段3に関し、書込み動作に続
く情報の正当性をチェックすることができるようにした
ものである。
This invention has been made to solve the above-mentioned problems, and even when a read operation is performed subsequent to a write operation, the validity of the information following the write operation is checked regarding the information storage means 3. It was made so that it could be done.

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

この発明は、ディスク装置2から読み出された情報と情
報記jQ手段3から読″み出された情報を比較する読出
し情報比較手段5を追加したものである。
This invention adds a read information comparing means 5 for comparing the information read from the disk device 2 and the information read from the information recording means 3.

〔作用〕[Effect]

この発明における読出し情報化触手段5は書込み動作に
引き続いて読出し動作が行われる場合、ディスク装置2
から読み出された情報と、情報記憶手段3から読み出さ
れた情報を比較し、比較不一致の場合、上位装置に比較
不一致を報告する。
In the present invention, the read information converting means 5 is used in the disk device 2 when a read operation is performed following a write operation.
The information read from the information storage means 3 is compared with the information read from the information storage means 3, and if the comparison does not match, the comparison mismatch is reported to the host device.

ここで比較不一致を報告された上位装置は所定の動作例
えば再試行の動作を行う。
Here, the higher-level device that is notified of the comparison mismatch performs a predetermined operation, such as a retry operation.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図において、1〜4は第2図と同等の名称ならびに機能
を有する。5はディスク装置2の読出し情報b2と情報
記憶手段3の読出し情報b3の内容を比較する読出し情
報記憶手段、dは比較結果を出力する比較信号である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, 1 to 4 have the same names and functions as in FIG. 2. Reference numeral 5 denotes read information storage means for comparing the contents of read information b2 of the disk device 2 and read information b3 of the information storage means 3, and d represents a comparison signal for outputting the comparison result.

書込み動作のみ、または読出し動作のみの動作について
は従来と同様であり、読出し情報記憶手段5はまった(
動作しない。しかしながら書込み動作から引き続いて読
出し動作が行われる場合、ディスク装置2と情報記憶手
段3から同時に読出しが行われ、この時読出し情報比較
手段5は読出し情報b2とb3の内容を比較する。上位
装置には読出し情報b2を送りながら、情報記憶手段3
の読出し情報b3の内容がチェックされることになる。
The write operation only or the read operation only is the same as the conventional one, and the read information storage means 5 is stuck (
Do not work. However, when a read operation is performed following a write operation, reading is performed simultaneously from the disk device 2 and the information storage means 3, and at this time the read information comparison means 5 compares the contents of the read information b2 and b3. While sending the read information b2 to the host device, the information storage means 3
The contents of the read information b3 will be checked.

そして比較不一致の場合、比較不一致を示す比較信号が
上位装置に出力される。比較不一致を報告された上位装
置は一般には再試行動作を行うことになる。
If the comparison does not match, a comparison signal indicating the comparison does not match is output to the host device. Generally, the host device that is notified of the comparison mismatch will perform a retry operation.

〔発明の効果〕 以上のように、この発明によれば書込み動作から引き続
いて読出し動作が行われる場合、ディスク装置から読み
出された読出し情報b2と情報記憶手段から読み出され
た読出し情報biが比較されるので、読出し部分につい
て情報記“憶手段に記憶されている情報が保障され、情
報の信頼性を向上させる効果がある。
[Effects of the Invention] As described above, according to the present invention, when a read operation is performed following a write operation, the read information b2 read from the disk device and the read information bi read from the information storage means are Since the information is compared, the information stored in the information storage means is guaranteed for the read portion, which has the effect of improving the reliability of the information.

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

第1図はこの発明の一実施例によるディスク・キャッシ
ュ装置を示すブロック図、第2図は従来のディスク・キ
ャッシュ装置を示すブロック図である。図において1は
情報転送手段、2はディスク装置、3は情報記憶手段、
5は読出し情報比較手段である。なお、図中、同一符号
は同一、または相当部分を示す。
FIG. 1 is a block diagram showing a disk cache device according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional disk cache device. In the figure, 1 is an information transfer means, 2 is a disk device, 3 is an information storage means,
5 is read information comparison means. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 上位装置と情報転送を行う情報転送手段と、前記情報転
送手段を介して上位装置と情報転送を行うディスク装置
と、前記上位装置またはディスク装置からの情報を選択
して記憶し、上位装置から要求された情報が記憶されて
いる場合、この記憶されている情報を前記情報転送手段
を介して上位装置に転送する情報記憶手段からなるディ
スク・キャッシュ装置において、書込み動作に引き続い
て読出し動作が行われる場合、ディスク装置から読み出
された情報と情報記憶手段から読み出された情報を比較
し、比較不一致の場合、上位装置に比較不一致を報告す
る読出し情報比較手段を備えたことを特徴とするディス
ク・キャッシュ装置。
an information transfer means that transfers information to a host device; a disk device that transfers information to the host device via the information transfer means; information from the host device or disk device is selected and stored, and information is requested from the host device. When the stored information is stored, a read operation is performed following the write operation in a disk cache device comprising an information storage means that transfers the stored information to the host device via the information transfer means. A disk characterized in that it comprises read information comparison means for comparing information read from the disk device and information read from the information storage means, and reporting the comparison mismatch to a host device if the comparison does not match.・Cache device.
JP61224382A 1986-09-22 1986-09-22 Disk cache device Pending JPS6379151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61224382A JPS6379151A (en) 1986-09-22 1986-09-22 Disk cache device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61224382A JPS6379151A (en) 1986-09-22 1986-09-22 Disk cache device

Publications (1)

Publication Number Publication Date
JPS6379151A true JPS6379151A (en) 1988-04-09

Family

ID=16812873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61224382A Pending JPS6379151A (en) 1986-09-22 1986-09-22 Disk cache device

Country Status (1)

Country Link
JP (1) JPS6379151A (en)

Similar Documents

Publication Publication Date Title
JPH06250906A (en) Backup/recovery system for data developed in main storage device
JPS627572B2 (en)
JPS6379151A (en) Disk cache device
JPH0793101A (en) Data backup device
JPH0410096B2 (en)
JPS6347937Y2 (en)
JPS60176136A (en) Data recording method in magnetic recording and reproducing device
JPS63239546A (en) Semiconductor memory circuit
JPH0158580B2 (en)
JP2822660B2 (en) Magnetic disk subsystem
JPH0129636Y2 (en)
JP2544327B2 (en) Magnetic disk controller
JPH0375952B2 (en)
JPS63195877A (en) Data recording and reproducing system
JPS6148186B2 (en)
JPH0212346A (en) Data assurance system
JPS60174957U (en) Memory device function confirmation circuit
JPH0431129B2 (en)
JPS61283074A (en) Optical system information device
JPS6117028B2 (en)
JPH05189346A (en) Disk controller
JPS58220209A (en) Controlling system of data storing device
JPS5815824B2 (en) Jiki Card No Yomika Souchi
JPH01260674A (en) Magnetic disk device
JPS60239970A (en) Data buffer system