JPH06259339A - Semiconductor memory and control method - Google Patents

Semiconductor memory and control method

Info

Publication number
JPH06259339A
JPH06259339A JP5045490A JP4549093A JPH06259339A JP H06259339 A JPH06259339 A JP H06259339A JP 5045490 A JP5045490 A JP 5045490A JP 4549093 A JP4549093 A JP 4549093A JP H06259339 A JPH06259339 A JP H06259339A
Authority
JP
Japan
Prior art keywords
semiconductor memory
data
update
backup
backup device
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
JP5045490A
Other languages
Japanese (ja)
Other versions
JP3234029B2 (en
Inventor
Eiji Ikeda
英二 池田
Tadahide Komatsu
唯英 小松
Hitomi Monzen
ひとみ 門前
Yoshiro Hirai
義郎 平井
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.)
Fujitsu Ltd
PFU Ltd
Original Assignee
Fujitsu Ltd
PFU 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 Fujitsu Ltd, PFU Ltd filed Critical Fujitsu Ltd
Priority to JP04549093A priority Critical patent/JP3234029B2/en
Publication of JPH06259339A publication Critical patent/JPH06259339A/en
Application granted granted Critical
Publication of JP3234029B2 publication Critical patent/JP3234029B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the amount of data to be saved from a semiconductor memory to a backup device in case of a power source disconnection or power failure. CONSTITUTION:When the power source is turned ON, data on the backup device are loaded to the semiconductor memory. An update table has update flags corresponding to the respective blocks of the semiconductor memory. An ON update flag indicates that data need to be save and an OFF update flag indicate that the data need not to be saved. When a write access request is sent, a host interface system processing means saves update data so that the number of update blocks whose update is not reflected on the backup device in the semiconductor memory is less than a prescribed value (n) on condition that the sum of the number of ON update flags and the number of blocks of write data exceeds the prescribed value (n). A sequential backup system processing means saves the update blocks of the semiconductor memory unless an access request is processed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、半導体メモリとバック
アップ装置とを有する半導体記憶装置において、電源切
断時や停電発生時に半導体メモリからバックアップ装置
に退避すべきデータの量を小さく出来るようになった半
導体記憶装置及び制御方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention In a semiconductor memory device having a semiconductor memory and a backup device, the amount of data to be saved from the semiconductor memory to the backup device can be reduced when the power is cut off or a power failure occurs. The present invention relates to a semiconductor memory device and a control method.

【0002】[0002]

【従来の技術】図9は従来の半導体記憶装置を説明する
図である。同図において、1はコントローラ、9はバッ
クアップ装置、10は半導体メモリ、11は半導体記憶
装置、12はホストをそれぞれ示している。また、,
,,′はデータの流れをそれぞれ示している。
2. Description of the Related Art FIG. 9 is a diagram for explaining a conventional semiconductor memory device. In the figure, 1 is a controller, 9 is a backup device, 10 is a semiconductor memory, 11 is a semiconductor memory device, and 12 is a host. Also,,
, And ′ indicate the data flow, respectively.

【0003】半導体記憶装置11は、コントローラ1,
バックアップ装置9,半導体メモリ10などから構成さ
れている。コントローラ1は、例えばプロセッサから構
成されており、半導体記憶装置全体を制御するものであ
る。バックアップ装置9は、例えば磁気ディスク装置で
ある。半導体メモリ10は、複数のブロックに分割され
て管理されている。半導体メモリ10の大きさは例えば
128MBであり、1ブロックの大きさは例えば256
バイトである。なお、ブロックとは、半導体記憶装置1
1とホスト12との間のデータ転送の単位でもある。
The semiconductor memory device 11 includes a controller 1,
The backup device 9 and the semiconductor memory 10 are included. The controller 1 is composed of a processor, for example, and controls the entire semiconductor memory device. The backup device 9 is, for example, a magnetic disk device. The semiconductor memory 10 is divided into a plurality of blocks and managed. The size of the semiconductor memory 10 is 128 MB, for example, and the size of one block is 256, for example.
It is a byte. The block means the semiconductor memory device 1
It is also a unit of data transfer between 1 and the host 12.

【0004】図9(a) は第1の従来例を説明する図であ
る。半導体記憶装置の電源が投入されると、バックアッ
プ装置9のデータがのパスを通って半導体メモリ11
にローディングされる。ローディング完了後、ホスト1
2と半導体メモリ10の間でのパスを介してデータの
遣り取りが行われる。電源切断時や停電発生時には、半
導体メモリ10に格納されている全てのデータがのパ
スを介してバックアップ装置9に退避させられる。停電
発生時においては、この退避動作やシステム・クローズ
処理に必要な電力は二次電源装置(二次電池)から供給
される。
FIG. 9A is a diagram for explaining the first conventional example. When the power of the semiconductor memory device is turned on, the data of the backup device 9 passes through the path of the semiconductor memory 11
Loaded on. Host 1 after loading
Data is exchanged through a path between the semiconductor memory 10 and the semiconductor memory 10. When the power is turned off or a power failure occurs, all the data stored in the semiconductor memory 10 is saved in the backup device 9 via the path. When a power failure occurs, the power required for this evacuation operation and system close processing is supplied from the secondary power supply device (secondary battery).

【0005】図9(a) の第1の従来例においては、電源
切断時に半導体メモリ10に格納されている全てのデー
タをバックアップ装置9に退避しているので、退避時間
が長くなり、大容量の二次電源装置を用意しておくを必
要がある言う欠点を有している。
In the first conventional example shown in FIG. 9 (a), all the data stored in the semiconductor memory 10 is saved in the backup device 9 when the power is turned off. It has a drawback that it is necessary to prepare a secondary power supply device.

【0006】図9(b) の第2の従来例は第1の従来例の
欠点を除去するために考案されたものである。斜線が付
された矩形は更新データ(更新ブロック)を示す。第2
の従来例では、ホストからのアクセス要求を処理してい
ない期間に、半導体メモリ10に格納されている更新デ
ータを′のパスを介して順々にバックアップ装置9に
退避する。そして、電源切断時には、半導体メモリに格
納されている更新データの内でバックアップ装置に反映
されていない更新データをバックアップ装置に退避す
る。第2の従来例によれば、電源切断時や停電発生時に
おいて半導体メモリ10に格納されている更新データ中
の大部分のものが既にバックアップ装置9に反映されて
いるので、電源切断時や停電発生時に半導体メモリ10
からバックアップ装置9に退避すべきデータの量を小さ
くすることが出来る。
The second conventional example shown in FIG. 9 (b) is designed to eliminate the drawbacks of the first conventional example. The rectangle with diagonal lines indicates update data (update block). Second
In the conventional example, the update data stored in the semiconductor memory 10 is sequentially saved to the backup device 9 via the path of 'while the access request from the host is not processed. Then, when the power is turned off, the update data that is not reflected in the backup device among the update data stored in the semiconductor memory is saved in the backup device. According to the second conventional example, most of the update data stored in the semiconductor memory 10 is already reflected in the backup device 9 when the power is cut off or a power failure occurs. Semiconductor memory 10 at the time of occurrence
Therefore, the amount of data to be saved in the backup device 9 can be reduced.

【0007】第2の従来例は、システム・クローズ時間
の短時間化や二次電源装置の小容量化に貢献する。しか
しながら、ホスト12からのライト・アクセスが頻繁に
行われると、バックアップ装置9に反映されない更新デ
ータが半導体メモリ10の中に数多くたまり、電源切断
時や停電発生時に大量のデータをバックアップ装置9に
退避しなくてはならなくなる。
The second conventional example contributes to shortening the system closing time and reducing the capacity of the secondary power supply device. However, if write access from the host 12 is frequently performed, a large amount of updated data that is not reflected in the backup device 9 will accumulate in the semiconductor memory 10, and a large amount of data will be saved in the backup device 9 when the power is turned off or a power failure occurs. I have to do it.

【0008】また、従来の半導体記憶装置では、常にバ
ックアップ装置の同一の記憶領域へデータをバックアッ
プしているので、半導体メモリからバックアップ装置へ
のバックアップ時に正常にバックアップ出来なかった場
合、データが消失してしまうと言う欠点がある。
Further, in the conventional semiconductor memory device, data is always backed up to the same storage area of the backup device, so if the data cannot be properly backed up from the semiconductor memory to the backup device, the data will be lost. There is a drawback that it will end up.

【0009】[0009]

【発明が解決しようとする課題】本発明は、この点に鑑
みて創作されたものであって、ホストからのライト・ア
クセスが頻繁に行われるような場合においても、電源切
断時や停電発生時に半導体メモリからバックアップ装置
に退避すべきデータの量を小さくできるようになった半
導体記憶装置を提供することを目的としている。また、
本発明は、データの消失を最小限に抑えることが出来る
半導体記憶装置の制御方法を提供することをも目的とし
ている。
SUMMARY OF THE INVENTION The present invention was created in view of this point, and even in the case where write access from the host is frequently performed, when the power is turned off or a power failure occurs. It is an object of the present invention to provide a semiconductor memory device capable of reducing the amount of data to be saved from a semiconductor memory to a backup device. Also,
Another object of the present invention is to provide a method of controlling a semiconductor memory device that can minimize the loss of data.

【0010】[0010]

【課題を解決するための手段】図1は本発明の原理説明
図である。請求項1の半導体記憶装置は、複数のブロッ
クに分割されて管理される半導体メモリと、バックアッ
プ装置と、電源投入時処理手段,ホスト・インタフェー
ス系処理手段,逐次バックアップ系処理手段,電源切断
時処理手段,更新テーブルおよび更新テーブル制御手段
を有するコントローラとを具備する半導体記憶装置であ
って、更新テーブルは、更新フラグを半導体メモリの各
ブロック対応に有し、更新テーブル制御手段は、半導体
メモリのブロックにホストから送られてきたライト・デ
ータが書き込まれた時に対応する更新フラグをオンし、
半導体メモリのブロックのデータと同一のデータがバッ
クアップ装置に書き込まれた時に対応する更新フラグを
オフするように構成され、電源投入時処理手段は、電源
投入時に起動され、バックアップ装置のデータを半導体
メモリにローディングする処理を行うよう構成され、ホ
スト・インタフェース系処理手段は、ホストからアクセ
ス要求が送られて来た時に動作し、アクセス要求がライ
ト・アクセス要求の場合には、当該ライト・データが送
られて来る前におけるオンの更新フラグの数Xと当該ラ
イト・データのブロック数Nとを加算し、加算結果が規
定値nを越える場合には、半導体メモリ中の更新ブロッ
クのうちバックアップ装置に反映されていない更新ブロ
ックの数が規定値n以下になるように、更新ブロックの
データをバックアップ装置に書き込む処理を行うように
構成され、逐次バックアップ系処理手段は、ホスト・イ
ンタフェース系処理手段が処理を行っていないことを条
件に処理を行い、更新テーブル中のオンの更新フラグに
対応する半導体メモリのブロックのデータをバックアッ
プ装置に書き込む処理を行うように構成され、電源切断
時処理手段は、電源切断時に起動され、更新テーブル中
のオンの更新フラグに対応する半導体メモリのブロック
のデータをバックアップ装置に書き込む処理を行うよう
に構成されていることを特徴とするものである。
FIG. 1 is a diagram for explaining the principle of the present invention. According to another aspect of the semiconductor memory device of the present invention, a semiconductor memory divided into a plurality of blocks for management, a backup device, a power-on processing means, a host interface processing means, a sequential backup system processing means, a power-off processing. And an update table and a controller having an update table control means, wherein the update table has an update flag for each block of the semiconductor memory, and the update table control means is a block of the semiconductor memory. When the write data sent from the host is written to, the corresponding update flag is turned on,
When the same data as the data in the block of the semiconductor memory is written in the backup device, the corresponding update flag is turned off, and the power-on processing means is started at the time of power-on to transfer the data of the backup device to the semiconductor memory. The host interface processing means is operated when an access request is sent from the host, and when the access request is a write access request, the write data is sent. The number X of update flags that have been turned on before being read and the number N of blocks of the write data are added, and if the addition result exceeds the specified value n, it is reflected in the backup device of the update blocks in the semiconductor memory. Back up the update block data so that the number of unupdated update blocks is less than or equal to the specified value n. And the sequential backup system processing unit performs processing on condition that the host interface system processing unit is not processing, and corresponds to the ON update flag in the update table. The semiconductor memory block data is written to the backup device, and the power-off processing unit is activated when the power is turned off, and writes the data of the semiconductor memory block corresponding to the ON update flag in the update table. It is characterized in that it is configured to perform a writing process to a backup device.

【0011】請求項2の半導体記憶装置の制御方法は、
電源投入時にバックアップ装置から半導体メモリにデー
タをローディングし、電源切断時においては半導体メモ
リの内容と同一の内容がバックアップ装置に格納されて
いるようになった半導体記憶装置において、バックアッ
プ装置の記憶領域を分割して、半導体メモリの容量と等
しい分割領域の複数個(A1,A2, …) を生成し、電源投入
時には最新データを記憶するバックアップ装置の分割領
域(Ai ) から半導体メモリにデータをローディングし、
半導体メモリに対する更新データをバックアップ装置の
次の分割領域(Ai+1)にバックアップすることを特徴とす
るものである。
A method of controlling a semiconductor memory device according to claim 2 is
In a semiconductor memory device in which data is loaded from the backup device to the semiconductor memory when the power is turned on, and the same contents as the contents of the semiconductor memory are stored in the backup device when the power is turned off. divided and a plurality of equal division area and capacity of the semiconductor memory (a 1, a 2, ... ) to generate the data in the semiconductor memory from the divided areas of the backup device that stores latest data (a i) at the time of power-on Loading,
The update data for the semiconductor memory is backed up to the next divided area (A i + 1 ) of the backup device.

【0012】[0012]

【作用】請求項1の半導体記憶装置の作用について説明
する。半導体記憶装置の電源が投入されると、電源投入
時処理手段が動作し、バックアップ装置から半導体メモ
リにデータをローディングする。半導体メモリは複数の
ブロックに分割されて管理されている。更新テーブル
は、更新フラグを半導体メモリの各ブロックに対応して
有している。更新テーブル制御手段は、ホストからのラ
イト・データが半導体メモリの或るブロックに書き込ま
れた時に対応する更新フラグをオンし、半導体メモリの
或るブロックのデータがバックアップ装置に書き込まれ
た時に対応する更新フラグをオフする。
The operation of the semiconductor memory device according to claim 1 will be described. When the semiconductor memory device is powered on, the power-on processing means operates to load data from the backup device into the semiconductor memory. The semiconductor memory is divided into a plurality of blocks and managed. The update table has an update flag corresponding to each block of the semiconductor memory. The update table control means turns on an update flag corresponding to when write data from the host is written to a certain block of the semiconductor memory, and corresponds to when data of a certain block of the semiconductor memory is written to the backup device. Turn off the update flag.

【0013】ローディングが完了した後に、ホストから
アクセス要求が送られて来ると、ホスト・インタフェー
ス系処理手段が動作し、アクセス要求がリードかライト
かを調べる。ライトの場合には、当該ライト・データが
送られて来る前のオンの更新フラグの数Xと当該ライト
・データのブロック数Nとを加算し、加算結果が規定値
nより大であるか否かを調べる。大の場合には、半導体
メモリの更新ブロックの内でバッアップ装置に反映され
ていない更新ブロックの数が規定値n以下になるよう
に、更新データをバックアップ装置に書き込む処理を行
う。ホストからのライト・データが半導体メモリに書き
込まれることは、当然である。
When an access request is sent from the host after the loading is completed, the host interface processing means operates to check whether the access request is read or write. In the case of writing, the number X of update flags that are ON before the write data is sent and the block number N of the write data are added, and whether the addition result is larger than the specified value n or not. To find out. In the case of a large value, the update data is written to the backup device so that the number of update blocks in the update blocks of the semiconductor memory that are not reflected in the backup device is equal to or less than the specified value n. Naturally, the write data from the host is written in the semiconductor memory.

【0014】逐次バックアップ処理手段は、ホスト・イ
ンタフェース処理手段が動作していないときに動作す
る。逐次バックアップ系処理手段は、更新テーブル中の
オンの更新フラグに対応する半導体メモリのブロックの
データをバックアップ装置に書き込む処理を行う。電源
切断時処理手段は、電源切断時に動作を開始し、オンの
更新フラグに対応する半導体メモリのブロックのデータ
をバックアップ装置に書き込む処理を行う。
The sequential backup processing means operates when the host interface processing means is not operating. The sequential backup system processing means performs a process of writing the data of the block of the semiconductor memory corresponding to the ON update flag in the update table to the backup device. The power-off time processing means starts an operation at the time of power-off and writes the data of the block of the semiconductor memory corresponding to the ON update flag into the backup device.

【0015】請求項2の半導体記憶装置の制御方法の作
用について説明する。最新データ格納領域が領域A1
あると仮定する。半導体記憶装置の電源が投入される
と、領域A1 から半導体メモリにデータがローディング
される。領域A1 からローディングした場合には、次の
領域A2 がバックアップ対象領域とされ、更新データの
バックアップは領域A2 に対して行われる。電源切断時
や停電発生時には、半導体メモリの内容と領域A2 の内
容は等しくなる。図示の例では、次の電源投入時には、
領域A2 から半導体メモリにデータがローディングさ
れ、領域A1 がバックアップ対象領域とされる。
The operation of the semiconductor memory control method according to the second aspect will be described. It is assumed that the latest data storage area is the area A 1 . When the power of the semiconductor memory device is turned on, data is loaded from the area A 1 into the semiconductor memory. When loading from the area A 1 , the next area A 2 is set as the backup target area, and the backup of the updated data is performed on the area A 2 . When the power is turned off or a power failure occurs, the contents of the semiconductor memory are the same as the contents of the area A 2 . In the example shown, the next time the power is turned on,
Data is loaded from the area A 2 into the semiconductor memory, and the area A 1 is set as the backup target area.

【0016】[0016]

【実施例】図2は本発明の半導体記憶装置の1実施例の
ブロック図である。同図において、1はコントローラ、
2は本体I/F制御用LSI、3はマイクロプログラム
記憶域、4はワーク領域、5はディスク制御用LSI、
6はプロセッサ、7はDMA、8はバッファ、9はバッ
クアップ装置、10は半導体メモリをそれぞれ示してい
る。
2 is a block diagram of an embodiment of a semiconductor memory device of the present invention. In the figure, 1 is a controller,
2 is a main body I / F control LSI, 3 is a microprogram storage area, 4 is a work area, 5 is a disk control LSI,
6 is a processor, 7 is a DMA, 8 is a buffer, 9 is a backup device, and 10 is a semiconductor memory.

【0017】コントローラ1は、本体I/F制御用LS
I2,マイクロプログラム記憶域3,ワーク領域4,デ
ィスク制御用LSI5,プロセッサ6,DMA7,バッ
ファ8などを有している。本体I/F制御用LSI2
は、コントローラ1とホストの間のデータのやり取りを
制御するものである。マイクロプログラム記憶域3に
は、マイクロプログラムが格納される。ワーク領域4に
は、ローディングすべきディスク領域を指示する情報,
更新ブロック数X,規定値n,更新テーブル,更新テー
ブルに対するポインタ,更新履歴テーブル等が格納され
る。なお、更新ブロック数とは、半導体メモリ中の更新
されたブロックの中で当該更新がバックアップ装置に反
映されていないブロックの数を意味している。
The controller 1 is an LS for controlling the main body I / F.
I2, microprogram storage area 3, work area 4, disk control LSI 5, processor 6, DMA 7, buffer 8 and the like. Main body I / F control LSI2
Controls the exchange of data between the controller 1 and the host. A microprogram is stored in the microprogram storage area 3. The work area 4 has information indicating a disk area to be loaded,
The number X of update blocks, a prescribed value n, an update table, a pointer to the update table, an update history table, etc. are stored. The number of updated blocks means the number of updated blocks in the semiconductor memory that have not been updated by the backup device.

【0018】ディスク制御用LSI5は、コントローラ
1とバックアップ装置9の間のデータのやり取りを制御
するものである。プロセッサ6は、マイクロプログラム
記憶域3のマイクロプログラムを実行する。本体I/F
制御用LSI2,ディスク制御用LSI5,DMA7な
どはプロセッサ6によって制御される。
The disk control LSI 5 controls data exchange between the controller 1 and the backup device 9. The processor 6 executes the microprogram in the microprogram storage area 3. Body I / F
The control LSI 2, the disk control LSI 5, the DMA 7, etc. are controlled by the processor 6.

【0019】DMA7は、本体I/F制御用LSI2と
半導体メモリ10の間のデータ転送,ディスク制御用L
SI5と半導体メモリ10の間のデータ転送を制御する
ものである。また、DMA7は、本体I/F制御用LS
I2とバッファ8の間のデータ転送,ディスク制御用L
SI5とバッファ8の間のデータ転送も制御する。バッ
ファ8は、例えば64KBの大きさを持つ。バッファ8
は、ホストからのデータを半導体メモリ10を介するこ
となくバックアップ装置9に書き込んだり、バックアッ
プ装置9のデータを半導体メモリ10を介することなく
ホストに送ったりするときに、使用される。
The DMA 7 is an L for data transfer between the main body I / F control LSI 2 and the semiconductor memory 10 and a disk control.
It controls data transfer between the SI 5 and the semiconductor memory 10. The DMA 7 is an LS for controlling the main body I / F.
L for data transfer and disk control between I2 and buffer 8
It also controls the data transfer between SI5 and buffer 8. The buffer 8 has a size of 64 KB, for example. Buffer 8
Is used when writing data from the host to the backup device 9 without passing through the semiconductor memory 10 or when sending data from the backup device 9 to the host without passing through the semiconductor memory 10.

【0020】バックアップ装置9は、例えば磁気ディス
ク装置である。図示の例では、バックアップ装置9の領
域は領域Aと領域Bに2分割されている。領域Aは半導
体メモリ10と同じ大きさを有しており、領域Bも半導
体メモリ10と同じ大きさを有している。半導体メモリ
10は、複数のブロックに分割され管理されている。半
導体メモリ10の大きさは例えば128MBであり、1
ブロックの大きさは例えば256バイトである。なお、
ブロックとは、ホストと半導体記憶装置との間のデータ
転送の単位である。半導体メモリ10とバックアップ装
置9との間のデータ転送もブロック単位で行われる。
The backup device 9 is, for example, a magnetic disk device. In the illustrated example, the area of the backup device 9 is divided into an area A and an area B. The area A has the same size as the semiconductor memory 10, and the area B also has the same size as the semiconductor memory 10. The semiconductor memory 10 is divided into a plurality of blocks and managed. The size of the semiconductor memory 10 is 128 MB, for example.
The block size is 256 bytes, for example. In addition,
A block is a unit of data transfer between a host and a semiconductor memory device. Data transfer between the semiconductor memory 10 and the backup device 9 is also performed in block units.

【0021】図3は更新テーブルを説明する図である。
更新テーブルは、各ブロック対応の更新フラグを有して
いる。0の更新フラグは対応するブロックのデータをバ
ックアップ装置に退避することが不要であることを示
し、1の更新フラグは対応するブロックのデータをバッ
クアップ装置に退避することが必要であることを示す。
更新フラグは、対応するブロックにデータが書き込まれ
た時に1とされ、対応するブロックのデータがバックア
ップ装置に書き込まれた時に0とされる。更新テーブル
に対しては、ポインタが設けられている。
FIG. 3 is a diagram for explaining the update table.
The update table has an update flag corresponding to each block. The update flag of 0 indicates that it is not necessary to save the data of the corresponding block to the backup device, and the update flag of 1 indicates that it is necessary to save the data of the corresponding block to the backup device.
The update flag is set to 1 when data is written to the corresponding block, and is set to 0 when data of the corresponding block is written to the backup device. A pointer is provided for the update table.

【0022】図4は半導体記憶装置立ち上げ時の処理を
説明する図である。電源が投入されると、ホストはシス
テム・クローズ時間と,二次電源装置の容量とをコント
ローラ1に通知する。この通知を受け取ると、コントロ
ーラ1は、規定値nを計算し、記憶する。本発明では、
後述するように、半導体メモリ10に格納されている更
新ブロックのうちバックアップ装置9に反映されないブ
ロックの数が常に規定値n以下とされる。規定値nを記
憶した後、コントローラ1は最新データ保存領域が領域
Aか領域Bかを判断し、その領域のデータを半導体メモ
リ10にローディングする。ローディングが完了する
と、半導体記憶装置は通常稼働状態になる。
FIG. 4 is a diagram for explaining the processing when the semiconductor memory device is started up. When the power is turned on, the host notifies the controller 1 of the system close time and the capacity of the secondary power supply device. Upon receiving this notification, the controller 1 calculates and stores the specified value n. In the present invention,
As will be described later, the number of updated blocks stored in the semiconductor memory 10 that are not reflected in the backup device 9 is always set to a specified value n or less. After storing the specified value n, the controller 1 determines whether the latest data storage area is the area A or the area B, and loads the data in the area into the semiconductor memory 10. When the loading is completed, the semiconductor memory device goes into a normal operating state.

【0023】規定値nの計算例について説明する。ホス
トから通知されたシステム・クローズ時間=5分間、二
次電源容量=8分間であると仮定する。このような通知
を受け取ると、コントローラ1は、8−5=3分間でバ
ックアップを済ます必要ありと判断する。1ブロックの
退避時間を0.5秒とすると、3分間でバックアップで
きるブロック数は3×60÷0.5=360ブロックと
なる。コントローラは、規定値nを自動設定する。この
場合、nは360以下ならば如何なる値でも良いが、n
が大きいほど,ホストを待たせる確率が低くなるため、
最大値を設定する。
A calculation example of the specified value n will be described. It is assumed that the system close time notified from the host = 5 minutes and the secondary power supply capacity = 8 minutes. Upon receiving such a notification, the controller 1 determines that the backup needs to be completed within 8-5 = 3 minutes. If the evacuation time for one block is 0.5 seconds, the number of blocks that can be backed up within 3 minutes is 3 × 60 ÷ 0.5 = 360 blocks. The controller automatically sets the specified value n. In this case, n may be any value as long as it is 360 or less,
The larger is, the lower the probability that the host will wait,
Set the maximum value.

【0024】図5はホスト・インタフェース系の処理を
説明する図である。ホストからアクセス要求が送られて
くると、コントローラのプロセッサは、マイクロプログ
ラム記憶域に格納されているホスト・インタフェース系
用マイクロプログラムを実行する。このマイクロプログ
ラムの実行によって、下記のような処理が行われる。な
お、説明を簡単にするため、バックアップ装置には領域
Aしか存在しないものと仮定する。ステップS1では、
アクセス要求がリードか,ライトかを判断する。リード
の場合にはステップS5に進み、ライトの場合にはステ
ップS2に進む。ステップS2では、old X+Nを計算
し、その結果をnew Xとする。但し、Xは半導体メモリ
中の更新ブロックの内で更新がバックアップ装置に反映
されていないブロックの数、即ち1の更新フラグの総数
である。また、Nは今回の更新ブロック数を示す。
FIG. 5 is a diagram for explaining the processing of the host interface system. When an access request is sent from the host, the processor of the controller executes the host interface system microprogram stored in the microprogram storage area. By executing this microprogram, the following processing is performed. Note that, for simplicity of explanation, it is assumed that only the area A exists in the backup device. In step S1,
Determine whether the access request is read or write. In the case of reading, the process proceeds to step S5, and in the case of writing, the process proceeds to step S2. In step S2, old X + N is calculated and the result is set to new X. However, X is the number of blocks among the updated blocks in the semiconductor memory whose update is not reflected in the backup device, that is, the total number of update flags of 1. N indicates the number of updated blocks this time.

【0025】ステップS3では、new X>nであるか否
かを調べる。Yesの場合はステップS4に進み、No
の場合にはステップS6に進む。ステップS4では、
(new X−n)もしくはnew Xの全てを,スルーモード
でバックアップ装置9にライトし、終了とする。終了し
た時には、ホストに終了を通知する。ホストから送られ
て来たNブロックのライト・データをそのままバックア
ップ装置9に書き込むことも出来る。ホストから送られ
て来たライト・データを半導体メモリに書き込むこと
は、当然である。ステップS5では、半導体メモリ10
からデータをリードし、このデータをホストに送り、終
了とする。ステップS6では、半導体メモリにホストか
ら送られて来たデータをライトし、終了とする。
In step S3, it is checked whether new X> n. If Yes, go to step S4, No
In the case of, it progresses to step S6. In step S4,
All of (new X-n) or new X is written to the backup device 9 in the through mode, and the process is completed. When finished, notify the host of the end. The write data of N blocks sent from the host can be written in the backup device 9 as it is. It is natural to write the write data sent from the host into the semiconductor memory. In step S5, the semiconductor memory 10
To read the data, send this data to the host, and end. In step S6, the data sent from the host is written in the semiconductor memory, and the process is ended.

【0026】図6は逐次バックアップ系の処理を説明す
る図である。逐次バックアップ系は、トリガ条件が成立
した時に起動される。トリガ条件として、Xの値を使用
しても良く、時間を使用しても良い。Xの値を使用する
場合、X≠0と言う条件でも良いし、或る設定値m(0
≦m<n)を予め定めておき、Xがmを越えた場合とし
ても良い。また、Xの値に関係なく時間をトリガとして
も良い。例えば、3分に一回サーチのロジックを走るよ
うにしても良い。更に、Xの値と時間の両方をトリガと
することも可能である。
FIG. 6 is a diagram for explaining the processing of the sequential backup system. The sequential backup system is activated when the trigger condition is satisfied. The value of X or time may be used as the trigger condition. When using the value of X, the condition of X ≠ 0 may be used, or a certain set value m (0
≦ m <n) may be determined in advance and X may exceed m. Further, time may be used as a trigger regardless of the value of X. For example, the search logic may be run once every three minutes. Furthermore, it is possible to trigger both the value of X and the time.

【0027】ホスト・インタフェース系の処理の方が逐
次バックアップ系の処理よりも優先順位が高い。すなわ
ち、逐次バックアップ系の処理を行っているときに、ホ
ストからアクセス要求が送られて来ると、コントローラ
は逐次バックアップ系の処理を中断し、ホスト・インタ
フェース系の処理を開始し、ホスト・インタフェース系
の処理が終了した後に、逐次バックアップ系の処理を再
開する。ホスト・インタフェース系の処理途中において
逐次バックアップ系の処理を開始させるためのトリガ条
件が成立しても、逐次バックアップ系の処理の開始はホ
スト・インタフェース系の処理が終了するまで待たされ
る。
The host interface processing has a higher priority than the sequential backup processing. That is, when an access request is sent from the host during the processing of the sequential backup system, the controller interrupts the processing of the sequential backup system, starts the processing of the host interface system, and After the processing of (1) is completed, the processing of the backup system is restarted sequentially. Even if the trigger condition for starting the processing of the sequential backup system is satisfied during the processing of the host interface system, the start of the processing of the sequential backup system is delayed until the processing of the host interface system is completed.

【0028】トリガ条件が成立すると、コントローラは
逐次バックアップ系の処理を開始する。逐次バックアッ
プ系の処理は、マイクロプログラム記憶域の逐次バック
アップ系用マイクロプログラムを実行することにより行
われる。先ず更新テーブルのポインタが指示している更
新フラグが0か1かを調べ、その更新フラグが1である
場合には、対応するブロックのデータをバックアップ装
置にバックアップして終了とする。その更新フラグが0
の場合には、ポインタを+1し、更新されたポインタで
指示している更新フラグが0か1かを調べる。
When the trigger condition is satisfied, the controller sequentially starts the processing of the backup system. The processing of the sequential backup system is performed by executing the microprogram for the sequential backup system in the microprogram storage area. First, it is checked whether the update flag designated by the pointer of the update table is 0 or 1, and if the update flag is 1, the data of the corresponding block is backed up in the backup device and the processing is terminated. The update flag is 0
In this case, the pointer is incremented by 1, and it is checked whether the update flag designated by the updated pointer is 0 or 1.

【0029】電源切断時や停電発生時には、更新テーブ
ルの1の更新フラグ(退避必要を示す)に対応する半導
体メモリ10のブロックのデータを全てバックアップ装
置9に退避する。電源切断には大まかに分けて以下の2
種類の方法が存在する。 システム・クローズ オペレータのコマンドにより全業務終了指示が発行さ
れ、それを受けたソフトウェアがシステムをクローズ
し、電源制御ハードウェアに切断を依頼する。 環境異常 停電や温度異常等の環境異常をハードウェアが検出し、
ソフトウェアに通知した後、数分後に電源切断を行う。
When the power is turned off or a power failure occurs, all the data in the block of the semiconductor memory 10 corresponding to the update flag 1 of the update table (indicating the need to save) is saved in the backup device 9. There are roughly two ways to turn off the power:
There are different types of methods. System Close The operator's command issues a command to end all operations, and the software that receives it closes the system and requests the power control hardware to disconnect it. Environmental abnormalities Hardware detects environmental abnormalities such as power outages and temperature abnormalities,
Turn off the power a few minutes after notifying the software.

【0030】半導体記憶装置側の見地に立った場合、
,ともソフトウェア(OS)が半導体記憶装置に対
してコマンドを送出することになっている。この場合の
コマンドとは、「存在する更新ブロックを全てバックア
ップ装置に退避せよ」と言った意味のコマンドである。
From the standpoint of the semiconductor memory device,
Both, software (OS) is supposed to send a command to the semiconductor memory device. The command in this case is a command having the meaning of "save all existing update blocks to the backup device".

【0031】一方、半導体記憶装置(制御用MPU)は
常に更新ブロックの有り/無しを管理しており、更新ブ
ロックがあれば、ハードの信号をオンしている。このハ
ードの信号は電源制御ハードウェアにて検出できるもの
であり、電源制御ハードウェアは最終的にこの信号の有
無により、本当に電源オフしてよいか,どうかを判断し
ている。
On the other hand, the semiconductor memory device (control MPU) always manages the presence / absence of an update block, and if there is an update block, the hardware signal is turned on. This hardware signal can be detected by the power supply control hardware, and the power supply control hardware finally determines whether or not the power supply may be turned off based on the presence or absence of this signal.

【0032】例えば、システム・クローズ時や,環境異
常のソフトウェア処理中に、ソフトウェア・ダウンやソ
フトウェアのハングアップがないとは言い切れない。こ
のような状態になった時には半導体記憶装置に、前述の
コマンドが発行されずに電源切断されることになり、デ
ータが消失してしまう。このような状態に陥っている
か,どうかは前述のハード信号を電源制御ハードウェア
が見ることにより判別可能であり、この場合、電源制御
ハードウェアが別のハード信号を操作し、半導体記憶装
置に直接的に「存在する更新ブロックを全てバックアッ
プ装置に退避せよ」のコマンド相当の通知を行う。
For example, it cannot be said that there is no software down or software hang-up when the system is closed or during software processing of an abnormal environment. In such a state, the semiconductor memory device is powered off without the above command being issued, and data is lost. The power control hardware can determine whether or not such a state has occurred by looking at the above-mentioned hardware signal. In this case, the power control hardware operates another hardware signal and directly outputs the signal to the semiconductor memory device. Specifically, a notification equivalent to the command "save all existing update blocks to the backup device" is issued.

【0033】図7および図8はバックアップ用ディスク
の領域分割による高信頼性化を説明する図である。バッ
クアップ用ディスクの領域は、半導体メモリの容量によ
り分割される。例えば、半導体メモリの容量が100M
B,ディスク容量300MBの場合には、バックアップ
用ディスクの領域を3分割し、分割して得られた領域を
A,B,Cとする。以降、簡単のため2分割(A,Bの
2領域)として説明する。
FIG. 7 and FIG. 8 are diagrams for explaining high reliability by dividing the area of the backup disk. The area of the backup disk is divided according to the capacity of the semiconductor memory. For example, the capacity of the semiconductor memory is 100M
In the case of B and the disk capacity is 300 MB, the area of the backup disk is divided into three, and the areas obtained by the division are referred to as A, B and C. For the sake of simplicity, the following description will be made with two divisions (two areas A and B).

【0034】半導体記憶装置の使い始めはディスク等の
バックアップ装置の内容は空白の状態であり、全てNu
llデータが格納されている。これは取りも直さず領域
A,領域Bに同一データが格納されている状態と等価で
ある。この状態の下において半導体記憶装置に電源を投
入すると、先ず領域Aからデータをローディングする。
この状態は図7(a) に示される。
At the beginning of using the semiconductor memory device, the contents of the backup device such as a disk are blank and all are Nu.
ll data is stored. This is equivalent to a state where the same data is stored in the areas A and B without repairing. When the semiconductor memory device is powered on in this state, data is first loaded from the area A.
This state is shown in FIG. 7 (a).

【0035】ローディング完了後、領域Aのデータが半
導体メモリに展開されており、ホストがリード・アクセ
ス要求を発行すると、半導体メモリのデータがホストに
送られ、ホストがライト・アクセス要求を発行すると、
ホストからのライト・データは半導体メモリに書き込ま
れる。ライト時に更新されたブロックが1番目のブロッ
クであると仮定すると、A−1(Aはディスクの領域番
号)を更新履歴として記憶する。同様、その後のライト
・アクセスで更新された箇所もA−x2 ,A−x3 ,…
として記憶する。一方、逐次バックアップ系およびスル
ーモード・バックアップ(図5のステップS4の処理)
は、バックアップ対象領域を領域Bとしてバックアップ
する。同様に、半導体記憶装置の電源切断時のバックア
ップも領域Bをバックアップ対象とする。このように動
作した後、半導体記憶装置の電源は切断される。この状
態は図7(b) に示される。
After the loading is completed, the data in the area A is expanded in the semiconductor memory, and when the host issues a read access request, the data in the semiconductor memory is sent to the host, and when the host issues a write access request,
Write data from the host is written in the semiconductor memory. Assuming that the block updated at the time of writing is the first block, A-1 (A is the disk area number) is stored as the update history. Similarly, the subsequent write access points that have been updated in the even A-x 2, A-x 3, ...
Memorize as. On the other hand, sequential backup system and through mode backup (process of step S4 in FIG. 5)
Backups the backup target area as area B. Similarly, when the semiconductor memory device is powered off, the area B is also targeted for backup. After this operation, the semiconductor memory device is powered off. This state is shown in FIG. 7 (b).

【0036】次回の電源投入時は、領域Bからローディ
ングを開始する。そして、通常稼働に入る前に、1回前
の更新履歴(この場合は上記のA−1,A−x2 ,…)
の内容を逐次バックアップの対象としておく。このとき
逐次バックアップ対象にし終えたら1回前の更新履歴を
クリアしておく。この状態は図8(c) に示される。
When the power is turned on next time, loading is started from the area B. Then, before starting the normal operation, the update history of one time before (in this case, the above A-1, A-x 2 , ...)
The contents of are sequentially backed up. At this time, the update history of the previous time is cleared once the backup is completed. This state is shown in FIG. 8 (c).

【0037】その後に通常稼働に入り、ライト・アクセ
ス要求が送られてきたら、前回と同様に、B−x1 B−
2 ,… と言うように更新履歴データを作成してい
く。逐次バックアップ系およびスルーモード・バックア
ップは、バックアップ対象領域を領域Aとしてバックア
ップし、半導体記憶装置の電源切断時のバックアップも
領域Aをバックアップ対象とする。このように動作した
後、半導体記憶装置の電源は切断される。この状態は図
8(e) に示される。
After that, when the normal operation is started and a write access request is sent, B-x 1 B-
x 2, continue to create the update history data to say ... and. In the sequential backup system and the through mode backup, the backup target area is backed up as the area A, and the backup when the power of the semiconductor memory device is turned off is also backed up in the area A. After this operation, the semiconductor memory device is powered off. This state is shown in FIG. 8 (e).

【0038】次回の電源投入時には、領域Aからローデ
ィングし、常に一回前の更新履歴を参照して、逐次バッ
クアップ,スルーモード・バックアップ,電源切断時の
バックアップを行うことにより、ディスクの領域分割を
しながら、電源切断時や停電発生時のバックアップ時間
の短縮が実現できる。なお、2分割されている場合に
は、通常稼働に入る前に1回前の更新履歴の内容を逐次
バックアップの対象としているが、3分割されている場
合には、1回前の更新履歴の内容と、2回前の更新履歴
の内容とを逐次バックアップの対象としておく。
When the power is turned on next time, the disk is divided into areas by loading from the area A and always referring to the previous update history to perform sequential backup, through mode backup, and backup at power off. However, the backup time can be shortened when the power is cut off or a power failure occurs. Note that in the case of being divided into two, the contents of the update history of the previous one is targeted for sequential backup before entering the normal operation, but in the case of being divided into three, the contents of the update history of the previous one are recorded. The contents and the contents of the update history two times before are sequentially backed up.

【0039】[0039]

【発明の効果】以上の説明から明らかなように、本発明
によれば、半導体メモリ中の更新ブロックの内で更新が
バックアップ装置に反映されていない更新ブロックの数
を常に規定値n以下とすることが出来るので、電源切断
時や停電発生時にバックアップすべき更新ブロックの数
を減少させることができ、延いては二次電源装置の容量
を小さくすることが出来る。
As is apparent from the above description, according to the present invention, the number of update blocks among the update blocks in the semiconductor memory whose updates are not reflected in the backup device is always set to the specified value n or less. Therefore, it is possible to reduce the number of update blocks to be backed up when the power is cut off or a power failure occurs, and it is possible to reduce the capacity of the secondary power supply device.

【0040】また、本発明によれば、 ディスク内を平均的に使用するため、媒体寿命を延
ばすことが出来る。 何らかの原因で装置やシステムがダウンしても、常
に完全な状態の1回前のデータが保存されているため、
復旧が容易である。1回前の完全なデータが存在しない
場合には、逐次バックアップ等で中途半端に更新された
データしか残らないため、復旧は困難である。 設定により1回前のデータが破壊することが許され
ている場合には、分割領域にバックアップしているとき
に媒体エラーが検出されたときには、1回前の他分割領
域を最新領域に変更することにより、正常に退避処理を
行うことが可能になる。 などの効果を奏することが出来る。
Further, according to the present invention, since the inside of the disk is used evenly, the life of the medium can be extended. Even if the device or system goes down for some reason, the data before the complete state is always saved,
Easy to recover. If the complete data of the previous time does not exist, only the data halfway updated by sequential backup or the like remains, so that recovery is difficult. If the setting allows the previous data to be destroyed, when a medium error is detected while backing up to the divided area, the previous divided area is changed to the latest area. As a result, the evacuation process can be performed normally. It is possible to achieve such effects.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の半導体記憶装置の1実施例のブロック
図である。
FIG. 2 is a block diagram of an embodiment of a semiconductor memory device of the present invention.

【図3】更新テーブルを説明する図である。FIG. 3 is a diagram illustrating an update table.

【図4】半導体記憶装置立ち上げ時の処理を示す図であ
る。
FIG. 4 is a diagram showing a process when the semiconductor memory device is started up.

【図5】ホスト・インタフェース系の処理を示す図であ
る。
FIG. 5 is a diagram showing processing of a host interface system.

【図6】逐次バックアップ系の処理を示す図である。FIG. 6 is a diagram showing processing of a sequential backup system.

【図7】バックアップ用ディスクの領域分割による高信
頼性化を説明する図である。
FIG. 7 is a diagram for explaining how to improve reliability by dividing an area of a backup disk.

【図8】バックアップ用ディスクの領域分割による高信
頼性化(続き)を説明する図である。
FIG. 8 is a diagram for explaining high reliability (continuation) due to area division of a backup disk.

【図9】従来の半導体記憶装置を説明する図である。FIG. 9 is a diagram illustrating a conventional semiconductor memory device.

【符号の説明】[Explanation of symbols]

1 コントローラ 2 本体I/F制御用LSI 3 マイクロプログラム記憶域 4 ワーク領域 5 ディスク制御用LSI 6 プロセッサ 7 DMA 8 バッファ 9 バックアップ装置 10 半導体メモリ 1 Controller 2 Main Body I / F Control LSI 3 Micro Program Storage Area 4 Work Area 5 Disk Control LSI 6 Processor 7 DMA 8 Buffer 9 Backup Device 10 Semiconductor Memory

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小松 唯英 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 門前 ひとみ 石川県河北郡宇ノ気町字宇野気ヌ98番地の 2 株式会社ピーエフユー内 (72)発明者 平井 義郎 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Yuihide Komatsu 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Hitomi Monzen, 98, Unokenu, Unoku-cho, Kawakita-gun, Ishikawa Prefecture In PFU Co., Ltd. (72) Inventor Yoshiro Hirai 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Fujitsu Limited

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のブロックに分割されて管理される
半導体メモリと、 バックアップ装置と、 電源投入時処理手段,ホスト・インタフェース系処理手
段,逐次バックアップ系処理手段,電源切断時処理手
段,更新テーブルおよび更新テーブル制御手段を有する
コントローラとを具備する半導体記憶装置であって、 更新テーブルは、更新フラグを半導体メモリの各ブロッ
ク対応に有し、 更新テーブル制御手段は、半導体メモリのブロックにホ
ストから送られてきたライト・データが書き込まれた時
に対応する更新フラグをオンし、半導体メモリのブロッ
クのデータと同一のデータがバックアップ装置に書き込
まれた時に対応する更新フラグをオフするように構成さ
れ、 電源投入時処理手段は、電源投入時に起動され、バック
アップ装置のデータを半導体メモリにローディングする
処理を行うよう構成され、 ホスト・インタフェース系処理手段は、ホストからアク
セス要求が送られて来た時に動作し、アクセス要求がラ
イト・アクセス要求の場合には、当該ライト・データが
送られて来る前におけるオンの更新フラグの数Xと当該
ライト・データのブロック数Nとを加算し、加算結果が
規定値nを越える場合には、半導体メモリ中の更新ブロ
ックのうちバックアップ装置に反映されていない更新ブ
ロックの数が規定値n以下になるように、更新ブロック
のデータをバックアップ装置に書き込む処理を行うよう
に構成され、 逐次バックアップ系処理手段は、ホスト・インタフェー
ス系処理手段が処理を行っていないことを条件に処理を
行い、更新テーブル中のオンの更新フラグに対応する半
導体メモリのブロックのデータをバックアップ装置に書
き込む処理を行うように構成され、 電源切断時処理手段は、電源切断時に起動され、更新テ
ーブル中のオンの更新フラグに対応する半導体メモリの
ブロックのデータをバックアップ装置に書き込む処理を
行うように構成されていることを特徴とする半導体記憶
装置。
1. A semiconductor memory managed by being divided into a plurality of blocks, a backup device, a power-on processing means, a host interface processing means, a sequential backup system processing means, a power-off processing means, and an update table. And a controller having update table control means, wherein the update table has an update flag corresponding to each block of the semiconductor memory, and the update table control means sends the block to the semiconductor memory from the host. When the write data is written, the corresponding update flag is turned on, and when the same data as the block of the semiconductor memory is written to the backup device, the corresponding update flag is turned off. The power-on processing means is started when the power is turned on, and the backup device The host interface processing means is operated when an access request is sent from the host, and when the access request is a write access request, the write operation is performed. When the number X of ON update flags before the data is sent and the block number N of the write data are added, and the addition result exceeds the specified value n, among the update blocks in the semiconductor memory, The processing for writing the data of the update block to the backup device is performed so that the number of update blocks not reflected in the backup device becomes equal to or less than the specified value n. The sequential backup system processing means is a host interface system process. Processing is performed on condition that the means is not processing, and it corresponds to the ON update flag in the update table Is configured to perform the process of writing the data of the block of the semiconductor memory to the backup device, and the power-off processing means is activated at the time of the power-off, and the data of the block of the semiconductor memory corresponding to the ON update flag in the update table. A semiconductor memory device, which is configured to perform a process of writing data to a backup device.
【請求項2】 電源投入時にバックアップ装置から半導
体メモリにデータをローディングし、電源切断時におい
ては半導体メモリの内容と同一の内容がバックアップ装
置に格納されているようになった半導体記憶装置におい
て、 バックアップ装置の記憶領域を分割して、半導体メモリ
の容量と等しい分割領域の複数個(A1,A2, …) を生成
し、 電源投入時には最新データを記憶するバックアップ装置
の分割領域(Ai ) から半導体メモリにデータをローディ
ングし、 半導体メモリに対する更新データをバックアップ装置の
次の分割領域(Ai+1)にバックアップすることを特徴とす
る半導体記憶装置の制御方法。
2. A semiconductor memory device in which data is loaded from a backup device into a semiconductor memory when the power is turned on, and the same contents as the contents of the semiconductor memory are stored in the backup device when the power is turned off. by dividing the storage area of the device, the divided region of the plurality of equal division area and capacity of the semiconductor memory (a 1, a 2, ... ) to generate a backup device for storing latest data on power-up (a i) A method for controlling a semiconductor memory device, comprising: loading data from a memory to a semiconductor memory and backing up updated data for the semiconductor memory to a next divided area (A i + 1 ) of the backup device.
JP04549093A 1993-03-05 1993-03-05 Semiconductor storage device Expired - Fee Related JP3234029B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04549093A JP3234029B2 (en) 1993-03-05 1993-03-05 Semiconductor storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04549093A JP3234029B2 (en) 1993-03-05 1993-03-05 Semiconductor storage device

Publications (2)

Publication Number Publication Date
JPH06259339A true JPH06259339A (en) 1994-09-16
JP3234029B2 JP3234029B2 (en) 2001-12-04

Family

ID=12720848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04549093A Expired - Fee Related JP3234029B2 (en) 1993-03-05 1993-03-05 Semiconductor storage device

Country Status (1)

Country Link
JP (1) JP3234029B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006133955A (en) * 2004-11-04 2006-05-25 Nec Corp Backup system and method for data inside mobile communication terminal, and mobile communication terminal and backup device used therefor
US9032235B2 (en) 2012-07-31 2015-05-12 Kabushiki Kaisha Toshiba Semiconductor storage device and method for controlling the semiconductor storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006133955A (en) * 2004-11-04 2006-05-25 Nec Corp Backup system and method for data inside mobile communication terminal, and mobile communication terminal and backup device used therefor
US9032235B2 (en) 2012-07-31 2015-05-12 Kabushiki Kaisha Toshiba Semiconductor storage device and method for controlling the semiconductor storage device

Also Published As

Publication number Publication date
JP3234029B2 (en) 2001-12-04

Similar Documents

Publication Publication Date Title
US7523350B2 (en) Timer-based apparatus and method for fault-tolerant booting of a storage controller
KR100204027B1 (en) Database recovery apparatus and method using nonvolatile memory
US7684073B2 (en) Copy controller and method thereof
US7840768B2 (en) Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support
US7085886B2 (en) Autonomic power loss recovery for a multi-cluster storage sub-system
US20060150010A1 (en) Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support
JP4939180B2 (en) Run initialization code to configure connected devices
US6654880B1 (en) Method and apparatus for reducing system down time by restarting system using a primary memory before dumping contents of a standby memory to external storage
JP2003345528A (en) Storage system
JP3136258B2 (en) Disk update log recording method
JPH07175728A (en) Disk cache data maintenance system
JP2010122761A (en) Data storage device and replication method in casing
JPH07210439A (en) Storage device
JP3234029B2 (en) Semiconductor storage device
JP2000293391A (en) Method and device for large-scale memory system management
KR100365891B1 (en) Backup/recovery Apparatus and method for non-log processing of real-time main memory database system
JPH10133926A (en) Mirror disk restoring method and restoring system
JPH09212424A (en) Disk cache and disk caching method
USRE45632E1 (en) Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support
JPH07281933A (en) Computer system
JP2000267936A (en) Disk sub-system
JPH07319637A (en) Controller and control method for disk device
JPH05216854A (en) Host computer device
JP2002202908A (en) Input/output demand interruption system, input/output demand interruption method and recording medium having input/output demand interruption program recoded thereon
JPH05158625A (en) Trouble countermeasure system for array type storage device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010911

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees