JPS59220856A - Disc cache memory back-up system - Google Patents

Disc cache memory back-up system

Info

Publication number
JPS59220856A
JPS59220856A JP58095234A JP9523483A JPS59220856A JP S59220856 A JPS59220856 A JP S59220856A JP 58095234 A JP58095234 A JP 58095234A JP 9523483 A JP9523483 A JP 9523483A JP S59220856 A JPS59220856 A JP S59220856A
Authority
JP
Japan
Prior art keywords
disk
data
memory
information
cache memory
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.)
Granted
Application number
JP58095234A
Other languages
Japanese (ja)
Other versions
JPH0518143B2 (en
Inventor
Susumu Matsuda
進 松田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP58095234A priority Critical patent/JPS59220856A/en
Publication of JPS59220856A publication Critical patent/JPS59220856A/en
Publication of JPH0518143B2 publication Critical patent/JPH0518143B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To back up efficiently a disc cache memory at a power-off time by storing the disc address of data, which is not written yet on a disc, and corresponding unwritten data in a nonvolatile memory. CONSTITUTION:When all of a series of data which should be written on a disc device 30 are written in a disc cache memory 103, pointer information is loaded to a pointer register PREG107 in a control part 106. If power is turned off in this state, the control part 106 writes directory information, which is indicated by pointer information, in an area of a back-up memory 105 while an effective voltage is held. This operation is executed with respect to a series of linked directory information ending with the last directory information indicated by pointer information. At a power restoration time, the control part 106 accesses the back-up memory 105 to read out its contents from the start address and writes them in an area indicated by a disc address in the disc device 30.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、ストアスル一方式を採用するディスクキャ
ッジ−システムに係シ、特に電源断時におけるディスク
キャッシュメモリのバックアップを行なうディスクキャ
ッシュメモリ・バックアップ方式に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a disk cache system that employs a one-store storage system, and in particular to a disk cache memory backup system that backs up the disk cache memory when the power is turned off. Regarding.

〔発明の技術的背景〕[Technical background of the invention]

ストアスル一方式全採用するディスクキャッシュシステ
ムでは、ディスクへの書き込み要求に対し、まずディス
クキャッジ−メモリにディスクへの書き込みデータが書
き込まれる。しかして、ディスクコントローラからCP
U (上位装置)に書き込み動作完了が通知され、しか
る後、ディスクコントローラの空き時間を利用してディ
スクキャッシュメモリのデータ’ffイスクヘ書き込む
動作が行なわ几る。
In a disk cache system that completely adopts the store-through type, data to be written to the disk is first written to the disk cache memory in response to a write request to the disk. However, the CP from the disk controller
The completion of the write operation is notified to U (upper device), and then the write operation to the data 'ff disk of the disk cache memory is performed using the free time of the disk controller.

〔背景技術の問題点〕[Problems with background technology]

このようにストアスル一方式を採用する従来のディスク
キャッシュシステムでは、ディスクへの書き込みが有効
に行なわれ当該システムの特長が生かされるものの、プ
ログラムの論理的な完了単位でゾログラム動作とデ仁ス
クの内容との同期が取れないため、CPUに上記書き込
み動作完了が通知されてからディスクへの実際の書き込
み動作が完了するまでの間にシステムの電源が遮断され
た場合、不都合が生じる欠点があった。勿論、この不都
合を解消するためには、ディスクキャッシュメモリをバ
ッテリ・バックアップすればよいが、この方式では装置
の小型/軽量化が図れない。
In the conventional disk cache system that adopts the store-through method, writing to the disk is performed effectively and the features of the system are utilized, but the zologram operation and the contents of the disk are processed in units of logical program completion. Since the system cannot be synchronized with the CPU, there is a drawback that an inconvenience may occur if the power of the system is cut off between the time when the CPU is notified of the completion of the write operation and the time when the actual write operation to the disk is completed. Of course, in order to eliminate this inconvenience, the disk cache memory may be backed up by a battery, but this method does not allow for a reduction in the size and weight of the device.

〔発明の目的〕[Purpose of the invention]

この発明は上記事情に錆みてなされたものでその目的は
、ストアスル一方式を採用するディスクキャッシュシス
テムにおいて、ディスクキャッシュメモリの電源断時の
パックアップカ効率よく行なえるディスクキャッシュメ
モリ・バックアップ方式を提供することにある。
This invention was made in response to the above circumstances, and its purpose is to provide a disk cache memory backup method that can efficiently back up the disk cache memory when the power is cut off in a disk cache system that adopts a store-through type. It's about doing.

〔発明の概幾〕[Outline of the invention]

この発明では、ディレクトリメモリに格納されるディレ
クトリ情報に次のディレクトリ情報へのポインタ情報を
付加し、このポインタ情報を用いることにより、ディス
クキャッジ−メモリに格納されている一連のデータのデ
ィスクへの書き込み順が管理できる構成とし、との溝底
においてディレクトリメモリ並びにディスクキャッシュ
メモリに対するバックアップメモリとしての書き換え可
能な不揮発性メモリヲ設け、電源断検出時にディスクへ
の未書き込みデータに関するディレクトリ情報の少なく
ともディスクアドレスと、対応する未書き込みデータと
を不揮発性メモリに格納するようにしている。また、こ
の発明では、電源復帰後に不揮発性メモリの内容に基づ
いて未書き込みデータをディスクに書き込むようにして
いる。
In this invention, pointer information to the next directory information is added to the directory information stored in the directory memory, and by using this pointer information, a series of data stored in the disk cache memory is transferred to the disk. The configuration is such that the writing order can be managed, and a rewritable nonvolatile memory is provided at the bottom of the groove as a backup memory for the directory memory and disk cache memory, and at least the disk address and the directory information regarding unwritten data to the disk are provided when a power outage is detected. , and corresponding unwritten data are stored in nonvolatile memory. Further, in the present invention, unwritten data is written to the disk based on the contents of the nonvolatile memory after the power is restored.

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

第1図はこの発明の一実施例に係るディスクキャッシュ
システムの構成を示すブロック図である。同図において
符号10で示されるディスクコントローラは、例えば上
位装置であるCPU20からの要求によシディスク装置
30’ff制御する。ディスクコントローラ10は、C
PU20とのインタフェースを成すCPUインタフェー
ス101、およびディスク装置30とのインタフェース
を成すデバイスインタフェース102とを有している。
FIG. 1 is a block diagram showing the configuration of a disk cache system according to an embodiment of the present invention. A disk controller designated by the reference numeral 10 in the figure controls the disk device 30'ff in response to a request from, for example, a CPU 20, which is a host device. The disk controller 10 is C
It has a CPU interface 101 that interfaces with the PU 20 and a device interface 102 that interfaces with the disk device 30.

また、ディスクコントローラ10は、ディスク装置30
に対する書き込み/読み出しデータを格納するディスク
キャッシュメモリ103、および当該ディスクキャッシ
ュメモリ103のディレクトリ情報が登録されるディレ
クトリメモリ104’fr:も有している。ディスクキ
ャッシュメモリ103お工びディレクトリメモリ104
は例えばRAMである。
The disk controller 10 also includes a disk device 30.
It also has a disk cache memory 103 that stores write/read data for the disk cache memory 103, and a directory memory 104'fr: in which directory information of the disk cache memory 103 is registered. Disk cache memory 103 Storage directory memory 104
is, for example, a RAM.

第2図はディレクトリ情報のフォーマットを示す。ディ
レクトリ情報はディスクアドレスDISK ADH1書
き込みフラグF、ポインタ情報Pi。
FIG. 2 shows the format of directory information. Directory information includes disk address DISK ADH1 write flag F, and pointer information Pi.

ディスクキャッシュメモリアドレスMEM ADR。Disk cache memory address MEM ADR.

およびサイズ情報5IZEから成っている。ディスクア
ドレスDISK ADHは書き込みデータのディスク装
置30への書き込み先を示す。書き込みフラグFはディ
スク装置30へのデータ男き込みの終了(“°0”)/
未終了(”1’) ’に示す。ポインタ情報Plは次の
ブイレフ) IJ情報のディレクトリメモリ104にお
ける格納先を示す。ディスクキャッシュメモリアドレス
MEM ADRはディスク装置30に書き込むべきデー
タのディスクキャッシュメモリ103における格納先を
示す。サイズ情報5IZEVi書き込みデータのサイズ
を示す。
and size information 5IZE. The disk address DISK ADH indicates where write data is written to the disk device 30. The write flag F indicates the end of data import to the disk device 30 (“°0”)/
Unfinished ("1") ' Pointer information Pl indicates the storage location of the IJ information in the directory memory 104. The disk cache memory address MEM ADR is the disk cache memory 103 of the data to be written to the disk device 30. Indicates the storage location in.Size information 5IZEVi Indicates the size of the write data.

再び第1図を参照すると、ディスクコントロ−ラ10は
書き換え可能な不揮発性メモリで構成されるノぐツクア
ップメモリ105、およびディスクコントローラ10の
中心となる制御部106を更に有している。制御部10
6は例えばマイクロプロセッサで構成されている。制御
部106には、次にアクセスすべきディスクキャッシュ
メモリ103のアト1/スに関するディレクトリ情報へ
のポインタ情報Piを保持するポインタレジスタ(以下
、PREGと称する)107が設けられている。CPU
インタフェース10ハデバイスインタフエース102、
ディスクキャッシュメモリ103、ディレクトメモリ1
04、パラファツジメモリ105、および制韻1部10
6ハマイクロプロセツサパスなどのバス108に接続さ
れている。
Referring again to FIG. 1, the disk controller 10 further includes a backup memory 105 composed of a rewritable non-volatile memory, and a control section 106 which is the core of the disk controller 10. Control unit 10
6 is composed of, for example, a microprocessor. The control unit 106 is provided with a pointer register (hereinafter referred to as PREG) 107 that holds pointer information Pi to directory information regarding the address of the disk cache memory 103 to be accessed next. CPU
interface 10 device interface 102;
Disk cache memory 103, directory memory 1
04, paraphrase memory 105, and rhyme 1 part 10
It is connected to a bus 108, such as a 6-channel microprocessor path.

次に・この発明の一実施例の動作を説明する。Next, the operation of one embodiment of the present invention will be explained.

今、CPU 20からのディスク書き込み要求に対し、
ディスク装Hg3oに書き込むべき一連のデータがディ
スクコントローラ10内のディスクキャッシュメモリ1
03に全て書き込まれたものとする。このとき、ディス
クキャッシュメモリ103に書き込1れた一連のデータ
に対応した(ディ゛レクトリメモリ104内の)各ディ
レクトリ情報中の■き込みフラグFld論理111”と
なっている。また、制御部106内のPREGL07に
け、書き込みフラでFが論理”1”であるディレクトリ
情報群中の先頭ポインタ) l)情報のディレクトリメ
モリ1θ4内格納先アドレス(エンドリアPレス)ヲ示
すポインタ情報Pi(1=k)カロードされている。制
御部106は、上記一連ノデータのディスクキャッシュ
メモリ103への書き込みが終了すると、CPU 20
に対して@き込み動作完了を通知する。その後、制御部
106は、上記一連のデータを含む(ディスク装置30
への)未書き込みデータをディスクキャッシュメモリ1
03からディスク装置30へ転送するだめの動作を、空
き時間を利用して実行する。
Now, in response to a disk write request from CPU 20,
A series of data to be written to the disk unit Hg3o is stored in the disk cache memory 1 in the disk controller 10.
It is assumed that all the information is written in 03. At this time, the write flag Fld logic 111'' in each directory information (in the directory memory 104) corresponds to a series of data written to the disk cache memory 103. In PREGL07 in 106, the first pointer in the directory information group where F is logic "1" in the write flag) l) Pointer information Pi (1 = k) The control unit 106 controls the CPU 20 when writing of the series of data to the disk cache memory 103 is completed.
Notify the user that @writing operation is completed. Thereafter, the control unit 106 includes the above series of data (disk device 30
) unwritten data to disk cache memory 1
03 to the disk device 30 is executed using free time.

制御部106は、まずPREGJ 07にロードされて
いるポインタ情報Pi(1=k) k用いてディレクト
リメモリ104fアクセスし、対応するディレクトリ情
報を読み出す。次に制御部106は、このディレクトリ
情報中のディスクキャッシュメモリ了ドレスMEM A
DR並びにサイズ情報5IZEに基づいてディスクキャ
ッシュメモリ103をら対応するデータを読み出す。制
御部106は当該データをデバイスインタフェース10
2経由でディスク装置3θに転送し、上記ディレクトリ
情報中のディスクアドレスDISKADHテ示される領
域に響き込ませる。なお、デバイスインタフェース10
2に入出力制碩1機能を持たせ、制al+FtB J 
o 6から当該デバイスインタフェース102にディレ
クトリ情報(の中のディスクアドレスp工3KADR,
ディスクキャッシュメモリアドレスMEM ADR、お
よびサイズ情報)を与えてデバイスインタフェース10
2f起動させることも可能である。制御部106は、デ
ィスク装置30へのデータ書き込みが終了すると、ディ
レクトリメモリ104における対応するディレクトリ情
報中の書き込みフラグFを論理nunにすると共に、当
該ディレクトリ情報中の醪インタ情報P I(1=に−
1−1)をPRF、G107にロードする。次に制御部
106ば、PREGJ 07にポインタ情報Pi(i=
]<)がローPされていた前回と同様にして、新たなポ
インタ情報PI(i=に刊)で示されているディl/り
) IJ情報に基づいて対応するデータをディスクキャ
ッシュメモリ103から階■み出す。
The control unit 106 first accesses the directory memory 104f using the pointer information Pi(1=k) k loaded in the PREGJ 07 and reads the corresponding directory information. Next, the control unit 106 determines the disk cache memory end address MEM A in this directory information.
The corresponding data is read from the disk cache memory 103 based on the DR and the size information 5IZE. The control unit 106 sends the data to the device interface 10.
2 to the disk device 3θ, and makes it echo in the area indicated by the disk address DISKADH in the directory information. Note that the device interface 10
2 has input/output control 1 function, control + FtB J
o From 6 to the device interface 102, the directory information (disk address p3KADR,
the device interface 10 by giving the disk cache memory address (MEM ADR, and size information)
It is also possible to start 2f. When the data writing to the disk device 30 is completed, the control unit 106 sets the write flag F in the corresponding directory information in the directory memory 104 to logical nun, and sets the moromi inter information P I (1= to −
1-1) into PRF and G107. Next, the control unit 106 sends pointer information Pi (i=
]<) is low P, similarly to the previous time, the corresponding data is retrieved from the disk cache memory 103 based on the new pointer information PI (published in i=) IJ information. The floor ■ protrudes.

しかして当該データは前回と同様にディスク装置灯30
に転送される。制御部106は、ディスク装置30への
データ書き込みが終了すると、ディレクトリ104にお
ける対応するf4レクトリ情報中の書き込みフラグF’
に論理゛′0”にすると共に、当該ディレクトリ情報中
のポインタ情報Pl (1=に+2)をPREGJ 0
7にロードする。以下、同様にして、Iインク情報Pi
でリンクされたガイレフトリ情報に対応するデータTh
fイスクキャッシーメモリ103から読み出してディス
ク装置30に書き込む動作が繰シ返される。
However, the data is displayed at the disk device light 30 as before.
will be forwarded to. When the data writing to the disk device 30 is completed, the control unit 106 sets the write flag F' in the corresponding f4 directory information in the directory 104.
At the same time, set the pointer information Pl (+2 to 1) in the directory information to PREGJ 0.
Load into 7. Hereinafter, in the same manner, I ink information Pi
Data Th corresponding to the guy left information linked with
The operation of reading from the f-isk cache memory 103 and writing to the disk device 30 is repeated.

今、制御部106内のPREG 107に、第3図のシ
ステム状態図に示すようにポインタ情報PI(1=/)
がロードされている状態でシステムの電源が遮断したも
のとする。制御部106は電源断を検出すると、電源電
圧がシステムの動作を保証できなくなる電圧値まで低下
するまでの間に、以下の動作を行なう6オず制御部10
6はPREG 107にロードさiLでいるポインタ情
報Pi(1=/)で示される(ディレクトリメモリ10
4内の)ディレクトリ情報の例えばディスクアドレスD
ISK ADRおよびサイズイ青報5IZEと、当該デ
ィレクトリ情報のディスクキャッシュメモリアドレスM
EM ADR並びにサイズ情報5IZEで示される(デ
ィスクキャッシュメモリ103内の)データとを、第3
図のシステム状態図において矢印& ”−eで示すよう
にバックアップメモリ105の例えば先頭アドレスから
始まる連続する領域に書き込む。次に制御部106はポ
インタ情報Pi(1=/’)で示されたディレクトリ情
報中のポインタ情報P 1 (1=/+1 )をPRE
G107にロードした後、上述した動作を行なう。制御
部106は、これらの動作ヲ、?インタ情報PlがPI
(i=/)であるディレクトリ情報から始まり、醪イン
タ情報Piが最終ディレクトリ情報を示すディレクトリ
情報に到る、7I?インタ情報Piでリンクされた一連
のブイレフ) IJ情報(すなわち書き込みフラグFが
論理″1”である書き込みキュー情報)について実行す
る。制御部106は最終データ全バックアップメモリ1
05に書き込むとき、尚該データに最終データである旨
を示す情報を付加する。
Now, the pointer information PI (1=/) is stored in the PREG 107 in the control unit 106 as shown in the system state diagram of FIG.
Assume that the power to the system is cut off while . When the control unit 106 detects a power outage, the control unit 106 performs the following operations until the power supply voltage drops to a voltage value that no longer guarantees system operation.
6 is loaded into PREG 107 and is indicated by pointer information Pi (1=/) in iL (directory memory 10
4) Directory information such as disk address D
ISK ADR and size information 5 IZE and the disk cache memory address M of the relevant directory information
EM ADR and the data (in the disk cache memory 103) indicated by the size information 5IZE,
In the system state diagram shown in the figure, the data is written to a continuous area of the backup memory 105 starting from the start address, for example, as indicated by the arrow &''-e.Next, the control unit 106 writes to the directory indicated by the pointer information Pi (1=/'). PRE the pointer information P 1 (1=/+1) in the information
After loading into G107, the above-mentioned operation is performed. The control unit 106 performs these operations. Inter information Pl is PI
Starting from the directory information where (i=/), the moromi inter information Pi reaches the directory information indicating the final directory information, 7I? A series of B-REFs linked by interface information Pi) Execute on IJ information (that is, write queue information whose write flag F is logic "1"). The control unit 106 stores the final data all backup memory 1.
05, information indicating that the data is the final data is added to the data.

次に電源復帰時の動作を説明する。制御部106は電源
が復帰すると、バックアップメモリ105をアクセスし
、その先頭アドレスから順にその格納内容を読み出す。
Next, the operation when the power is restored will be explained. When the power is restored, the control unit 106 accesses the backup memory 105 and sequentially reads out the stored contents starting from the first address.

すなわち制御部106はディスクアドレスDISK A
DR,次にサイズ情報5IZEを8冗み出し、続いて当
該サイズ情報5IZEに従って(ディスク装置30へ書
き込むべき)データを読み出す。しかして制御部106
はバックアップメモリ105から読み出したデータをデ
ィスク装置30内のディスクアドレスDISK ADH
で示される領域に書き込ませる。制御部106は上述の
動作を最終データまで繰シ返し実行する。この結果、C
PU 20から転送された曹き込みデータは、電源断が
発生したにもがかわらず電源復帰時にはディスク装置3
oに正しく格納される。
That is, the control unit 106 selects the disk address DISK A.
DR, then outputs eight pieces of size information 5IZE, and then reads data (to be written to the disk device 30) according to the size information 5IZE. However, the control unit 106
is the data read from the backup memory 105 at the disk address DISK ADH in the disk device 30.
Write to the area indicated by . The control unit 106 repeatedly executes the above-described operation until the final data is reached. As a result, C
The scraped data transferred from the PU 20 is stored in the disk device 3 when the power is restored even though the power has been cut off.
o is stored correctly.

なお、前記実施例ではパンクアップメモリ105のデー
タ(ディスク装置3oへの書き込みデータ)を直接ディ
スク装置3oに転送するものとして説明したが、いった
んディスクキャッシュメモリ103に書き込み、当該デ
ィスクキャッシュメモリ103からデータkKみ出して
ディスク装@aoに転送するようにするととも可能であ
る。これは、デバイスインタフェース1′02が入出力
制f111機能を有し、制御部106からの起動によシ
データ人出方を行なうものである場合に有効である。捷
た、バックアップメモリ105のデータ(ディスク装置
3oへの書き込みデータ)をディスクキャッシュメモリ
103に書き込む際に、当該データに付加されていたデ
ィスクアドレスDISK ADR,サイズ情報5IZE
を用いてディレクトリ情報を作成しディレクトリメモリ
104に登録するようにしてもより0この場合、ディス
クキャッシュメモリ103に格納された(ディスク装5
 s oIc 古き込むべき)データのディスク装置3
oへの書き込み動作は、通常時の書き込みと同柾となる
。1だ、ディレクトリメモリ104に登録されたディレ
クトリ情報により、CPUJ2(j刀1らの訂dみ出し
要求に対しデ、イスクキャッシュメ七り103がらのデ
ータti:#:み出しが可能となる。
In the above embodiment, the data in the punctured memory 105 (data written to the disk device 3o) was explained as being transferred directly to the disk device 3o, but once it is written to the disk cache memory 103, the data is This is also possible by extracting the KB data and transferring it to the disk device @ao. This is effective when the device interface 1'02 has an input/output control function f111 and is configured to control the data entry by activation from the control unit 106. When writing the shredded data in the backup memory 105 (data written to the disk device 3o) to the disk cache memory 103, the disk address DISK ADR and size information 5IZE added to the data are
In this case, it is easier to create directory information using
s oIc (to be old) data disk device 3
The write operation to o is the same as the normal write operation. 1, the directory information registered in the directory memory 104 makes it possible to extract data from the CPU cache 103 in response to a request from the CPU 2 to extract the data.

ところで前記実施例では、ディレクトリ情報にサイズ情
報5IZEが含まれてし)るものとして説明したが、省
、き込みデータのライズが16」定である場合には当該
サイズ情報5IZEit必ずしも必要でない。
By the way, in the above embodiment, the size information 5IZE is included in the directory information, but if the size of the write data is 16", the size information 5IZE is not necessarily necessary.

〔発明の効果〕〔Effect of the invention〕

以上詳述したようにこの発明によれば、IE源断時に、
ディスクへの未書き込みデータ並び忙対応するディレク
トリ情報の少なくともディスクアドレスだけをバックア
ップメモリ(書き込み可能な不揮発性メモリ)に保存で
きるので、電源復帰時に・ぐツクアップメモリの内容を
用いて来店、き込みデータを正しくディスクに書き込む
ことができる。したがって、バッテリ・バックアップ方
式に比べ装置の小型、縦骨化が図力、る。
As detailed above, according to the present invention, when the IE power is turned off,
At least the disk address of the directory information corresponding to the unwritten data on the disk can be saved in backup memory (writable non-volatile memory), so when the power is restored, the contents of the backup memory can be used to access the store and log in. Data can be written to disk correctly. Therefore, compared to the battery backup method, it is necessary to make the device smaller and more vertical.

また、バックアップの対象となるデータが、ディスクギ
ャツシーメモリの全データ並びにこれら全データに対し
6するディレクトリ情報でなく、ディスクへの未書き込
みデータ並びにこれら未書き込みデータに対応するディ
レクトリ情報であるためバックアップメモリの容量も少
なくて済む。
In addition, the data to be backed up is not all data in the disk storage memory and directory information for all of this data, but data that has not been written to the disk and directory information that corresponds to this unwritten data. It also requires less memory capacity.

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

第1図はこの発明の一実施例に係るディスク3図は電源
断時のバック゛rッグ動作全説明するだめのシステム状
態図である。 10・・・ディスクコントローラ、2o・・・CPU 
。 30・・・ディスク装置、1OS・・・ディスクキャッ
シュメモリ、104・・・ディレクトリメモリ、105
・・・パンクアップメモリ(書@換え可能な不揮発性メ
モリ〕、106・・・ft711価1部、107・・・
ポインタレジスタ(PREG )。 出願人代理人  弁Jllli、士 鈴 江 武 9第
1図 DISKADRF   Pi    MEMADR5I
ZE第3図
FIG. 1 is a system state diagram for explaining the entire backup operation when the power is turned off. 10...Disk controller, 2o...CPU
. 30...Disk device, 1OS...Disk cache memory, 104...Directory memory, 105
... Puncture-up memory (rewritable non-volatile memory), 106...ft711 valence 1 copy, 107...
Pointer register (PREG). Applicant's agent Ben Jlli, Suzue Takeshi 9 Figure 1 DISKADRF Pi MEMADR5I
ZE Figure 3

Claims (1)

【特許請求の範囲】[Claims] ストアスル一方式を採用するディスクィヤッシュシステ
ムにおいて、ディスクに書き込むべきデータを格納する
ディスクキャッシュメモリと、このディスクキャッジ−
メモリにおける上記データの格納先を示すディスクキャ
ッシュメモリアドレス、並ヒに当該データの上記ディス
クへの格納先を示すディスクアドレスヲ含ムディレクト
リ情報であって、次のディレクトリ情報に対するポイン
タ情報を更に含むディレクトリ情報を格納するディレク
トリメモリと、書き換え可能な不揮発性メモリと、次に
アクセスすべき上記ディスクキャッシュメモリのアドレ
スに関する上記ディレクトリ情報へのポインタ情報を保
持するポインタレジスタと、電源断検出時にとのIイン
クレジスタで指定される上記ディレクトリメモリ内の上
記ディレクトリ情報の少なくともディスクアPレスと当
該ディレクトリ情報中のディスクキャッシュメモリアド
レスで指定される上記ディスクキャッシュメモリ内のデ
ータとを先頭データとする上記ディスクへの未書き込み
データに関する繰り返しデータ列を上記不揮発生メモリ
に書き込む手段と、電源復帰後に上記不揮発性メモリの
内容に基づいて上記未書き込みデータを上記ディスクに
書き込む手段とを具備することを特徴とする7’(スフ
キャッシュメモリ・バックアップ方式。
In a disk cache system that adopts a store-through type, there is a disk cache memory that stores data to be written to the disk, and a disk cache memory that stores data to be written to the disk.
Directory information that includes a disk cache memory address that indicates where the data is stored in memory, a disk address that indicates where the data is stored on the disk, and further includes pointer information to the next directory information. , a rewritable nonvolatile memory, a pointer register that holds pointer information to the directory information regarding the address of the disk cache memory to be accessed next, and an I ink register that is used when a power outage is detected. An unloaded file to the disk whose head data is at least the disk address of the directory information in the directory memory specified by and the data in the disk cache memory specified by the disk cache memory address in the directory information. 7', characterized in that it comprises means for writing a repeated data string regarding write data into the non-volatile generation memory, and means for writing the unwritten data to the disk based on the contents of the non-volatile memory after power is restored. Sfcache memory backup method.
JP58095234A 1983-05-30 1983-05-30 Disc cache memory back-up system Granted JPS59220856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58095234A JPS59220856A (en) 1983-05-30 1983-05-30 Disc cache memory back-up system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58095234A JPS59220856A (en) 1983-05-30 1983-05-30 Disc cache memory back-up system

Publications (2)

Publication Number Publication Date
JPS59220856A true JPS59220856A (en) 1984-12-12
JPH0518143B2 JPH0518143B2 (en) 1993-03-11

Family

ID=14132067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58095234A Granted JPS59220856A (en) 1983-05-30 1983-05-30 Disc cache memory back-up system

Country Status (1)

Country Link
JP (1) JPS59220856A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6113328A (en) * 1984-06-28 1986-01-21 Fujitsu Ltd Accessing system of data file
JPS61210453A (en) * 1985-03-15 1986-09-18 Canon Inc data storage device
JPS6466727A (en) * 1987-09-08 1989-03-13 Fujitsu Ltd Disk access control system
JPS6476345A (en) * 1987-09-18 1989-03-22 Fujitsu Ltd Disk cache control system
JPH02236747A (en) * 1989-03-10 1990-09-19 Fujitsu Ltd Duplexed dasd equivalent information saving system
JPH07271518A (en) * 1994-03-29 1995-10-20 Hokkaido Nippon Denki Software Kk Magnetic disk device
US5907859A (en) * 1994-05-09 1999-05-25 Fukitsu Limited Storage device in which read/write operation is controlled in response to source voltage
JP2016139354A (en) * 2015-01-29 2016-08-04 株式会社メガチップス Information processing system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6113328A (en) * 1984-06-28 1986-01-21 Fujitsu Ltd Accessing system of data file
JPS61210453A (en) * 1985-03-15 1986-09-18 Canon Inc data storage device
JPS6466727A (en) * 1987-09-08 1989-03-13 Fujitsu Ltd Disk access control system
JPS6476345A (en) * 1987-09-18 1989-03-22 Fujitsu Ltd Disk cache control system
JPH02236747A (en) * 1989-03-10 1990-09-19 Fujitsu Ltd Duplexed dasd equivalent information saving system
JPH07271518A (en) * 1994-03-29 1995-10-20 Hokkaido Nippon Denki Software Kk Magnetic disk device
US5907859A (en) * 1994-05-09 1999-05-25 Fukitsu Limited Storage device in which read/write operation is controlled in response to source voltage
JP2016139354A (en) * 2015-01-29 2016-08-04 株式会社メガチップス Information processing system

Also Published As

Publication number Publication date
JPH0518143B2 (en) 1993-03-11

Similar Documents

Publication Publication Date Title
CN100394391C (en) System and method for storing data on a computer system
CN100498796C (en) Logic log generation method, database backup/ restoration method and system
CN100474260C (en) Information processing apparatus, storage medium, and data rescue method
TWI509513B (en) Load boot data
JPH0744437A (en) Information processing system
CN103593216A (en) Method for making system files of ubi format into factory burn image files
JP2688164B2 (en) Information processing system
CN101872306B (en) Embedded system for realizing software updating and software backup and implementation method thereof
CN105786544A (en) Method for booting computer system rapidly and booting system of computer
CN117931091B (en) Abnormal power failure processing method, device, equipment, medium and product
JPS59220856A (en) Disc cache memory back-up system
JP2008217799A (en) Processing system and method for reading and restoring information in a RAM structure
JPH0784848A (en) Information processing system
CN114510375B (en) A dynamic data area sharing system and method for Flash chips
WO2023226107A1 (en) Storage apparatus data backup method, system, electronic device, and medium
CN119759286B (en) Data storage system and method for simulating EEPROM using FLASH
CN102760063B (en) A kind of file loading method and device
CN110825421B (en) Firmware upgrading method, system and readable storage medium
US10496303B2 (en) Method for reducing power consumption memory, and computer device
CN110308861B (en) Storage data preservation method, device, electronic device and readable storage medium
US20070271311A1 (en) Disk array device and data management method for managing master data and replication data replicated from master data
CN115904787B (en) Method, device and medium for determining reason of disc loss
US20140122854A1 (en) Information processing apparatus and activation method therefor
CN112650519B (en) Firmware repair method, solid state hard disk controller and solid state hard disk
TWI522924B (en) Electronic device and method thereof for switching operating system