JPS63280357A - Data save/restore system - Google Patents

Data save/restore system

Info

Publication number
JPS63280357A
JPS63280357A JP62114434A JP11443487A JPS63280357A JP S63280357 A JPS63280357 A JP S63280357A JP 62114434 A JP62114434 A JP 62114434A JP 11443487 A JP11443487 A JP 11443487A JP S63280357 A JPS63280357 A JP S63280357A
Authority
JP
Japan
Prior art keywords
data
flag
save
magnetic disk
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.)
Pending
Application number
JP62114434A
Other languages
Japanese (ja)
Inventor
Osamu Omoto
大本 修
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP62114434A priority Critical patent/JPS63280357A/en
Publication of JPS63280357A publication Critical patent/JPS63280357A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent the occurrence of data corruption, by saving data after turning-off of a save flag at the time of starting data save and turning one the save flag only for normal termination and executing data restore only in case of turning-on the save flag at the time of power-on. CONSTITUTION:A magnetic disk device 43 of a storage device 4 is provided with a data save flag information area 431 and a data save area 432; and at the time of power-off, a control circuit 42 turns off the flag and executes the write to the area 431 and starts the save processing to successively save data in a semiconductor memory 41 to the area 432 of the device 43. If the save processing is abnormally terminated, the flag is turned off as it is and the circuit 42 sends a power-off permitting signal to a power control circuit 44; but if the save processing is normally terminated, the flag is turned on. At the time of power-on, the circuit 42 restores data in the area 432 to the memory 41 if the flag is turned on, but the device 4 informs a higher device 2 that it can be operated as a nonstandard volume if the flag is turned off.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は半導体記憶装置が備えるメモリとデータ退避用
の磁気ディスク装置間のデータの退ル噸旧方式に関し、
特に退避/復旧処理中に発生するエラー処理に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an old data evacuation method between a memory provided in a semiconductor storage device and a magnetic disk device for data evacuation.
In particular, it relates to error handling that occurs during backup/restoration processing.

〔従来の技術〕[Conventional technology]

一般に、高性能の外部記憶装置として使用される半導体
記憶装置ではデータの不揮発性を保障するため磁気ディ
スク装置を内蔵しており、メモリと磁気ディスク装置と
の間でデータの退避/復旧処理が行われる。
Generally, semiconductor storage devices used as high-performance external storage devices have a built-in magnetic disk device to ensure data non-volatility, and data backup/recovery processing is performed between the memory and the magnetic disk device. be exposed.

従来この種の半導体記憶装置においては、磁気ディスク
装置へのデータの退避はソフトウェアによるセーブ命令
実行時に行われ、メモリへのデータの復旧は半導体記憶
装置の電源投入時に行われている。ところで、従来デー
タ退避時に磁気ディスク装置に障害が発生すると、この
障害発生が半導体記憶装置より上位装置に報告され、そ
の結果ソフトウェアによって磁気テープ装置への代替セ
ーブ、あるいは障害磁気ディスク装置の修理後の再セー
ブなどの工2−処理を行っている。一方。
Conventionally, in this type of semiconductor storage device, data is saved to the magnetic disk device when a save command is executed by software, and data is restored to the memory when the semiconductor storage device is powered on. By the way, conventionally, when a failure occurs in a magnetic disk device during data backup, this failure occurrence is reported to the higher-level device from the semiconductor storage device, and as a result, the software saves data to a magnetic tape device as an alternative, or saves data after repairing the failed magnetic disk device. Performing process 2-processing such as re-save. on the other hand.

データ復旧時、磁気ディスク装置の障害が発生した場合
には、半導体記憶装置を未書込ボリュームとして立上げ
た後、ソフトウェアによるリカバリ処理を行っている。
During data recovery, if a failure occurs in the magnetic disk device, the semiconductor storage device is started up as an unwritten volume, and then software-based recovery processing is performed.

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

ところで上述の半導体記憶装置では、磁気ディスク装置
へのデータの退避をソフトウェアのセーブ命令に依って
いたが、メモリに記憶するデータがユーデデータからオ
ペレーティングシステム等まで拡張されるに従い、電源
切断時におけるデータ退避が必要となってきている。
By the way, in the above-mentioned semiconductor storage devices, saving data to the magnetic disk device relied on software save commands, but as the data stored in memory has expanded from user data to operating systems, etc., it has become necessary to save data when the power is turned off. has become necessary.

ところが、電源切断時におけるデータ退避中になんらか
の原因でセーブ処理が不完全のまま異常終了したときに
は、従来ソフトウェアによるエラー処理が行われないの
で、磁気ディスク装置のデータをメモリに復旧し、半導
体記憶装置の立上げを行った場合、不完全なデータのま
ま半導体記憶装置が待機状態(レディ状態)となってデ
ータ化けが発生するという問題点がある。
However, if for some reason the save process ends abnormally without being incomplete during data backup when the power is turned off, conventional software does not handle the error, so the data in the magnetic disk device is restored to memory and the data is restored to the semiconductor storage device. When the semiconductor memory device is started up, there is a problem that the semiconductor memory device enters a standby state (ready state) with incomplete data, resulting in data corruption.

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

本発明のデータ退避/復旧方式は、半導体記憶素子から
構成さnデータを記憶するメモリと、メモリのデータの
退避/復旧に使用され、データ退避フラグ情報記録エリ
アを所定位置に有する磁気ディスク装置と、電源の切断
を制御する電源制御回路と、メモリのデータを磁気ディ
スク装置とメモリとの間で退避/復旧制御する制御回路
とを有する半導体記憶装置において、制御回路は、電源
制御回路からの電源切断指示を受けると、磁気ディスク
装置の前記データ退避フラグ情報記録エリアのデータ退
避フラグをオフとしてからメモリデータの磁気ディスク
装置への退避処理を開始し。
The data evacuation/recovery method of the present invention includes a memory that is composed of a semiconductor storage element and stores n data, and a magnetic disk device that is used for evacuation/recovery of data in the memory and has a data evacuation flag information recording area at a predetermined position. , a semiconductor storage device having a power control circuit that controls power cutoff, and a control circuit that controls saving/recovery of data in the memory between a magnetic disk device and the memory, the control circuit is configured to control the power supply from the power control circuit. When receiving the disconnection instruction, it turns off the data evacuation flag in the data evacuation flag information recording area of the magnetic disk device and then starts the process of evacuation of memory data to the magnetic disk device.

何らかの原因で退避処理が正常に完了しなかった場合、
データ退避フラグをオフのままで、電源切断信号を電源
制御回路に送り、退避処理が正常に完了した場合にはデ
ータ退避フラグをオンとして。
If the evacuation process does not complete successfully for some reason,
Send a power cut signal to the power supply control circuit with the data save flag left off, and turn on the data save flag when the save process is completed normally.

電源投入時、制御回路はデータ退避フラグ情報記録エリ
アのデータ退避フラグを読出し、データ退避フラグがオ
ンであると磁気ディスク装置のデータをメモリに復元し
、−°方データ退避フラグがオフであると、直ちに、半
導体記憶装置を待機(レディ)状態として上位装置に報
告するようにしたことを特徴としている。
When the power is turned on, the control circuit reads the data evacuation flag in the data evacuation flag information recording area. If the data evacuation flag is on, the data in the magnetic disk device is restored to the memory, and if the data evacuation flag is off, the control circuit reads the data evacuation flag. , the semiconductor storage device is immediately reported to the host device as being in a standby (ready) state.

〔実施例〕〔Example〕

次に本発明について実施例によって説明する。 Next, the present invention will be explained with reference to examples.

第1図は本発明のデータ退避/復旧方式の一実施例を示
すシステムブロック図である。第1図を参照して、記憶
装置4は半導体メモリ41.制御回路42.磁気ディス
ク装置43及び電源制御回路44を備えておシ、この記
憶装置4は上位装置2に接続さnて、情報処理装置(情
報処理システム)が構成される。
FIG. 1 is a system block diagram showing an embodiment of the data saving/restoring method of the present invention. Referring to FIG. 1, storage device 4 includes semiconductor memory 41. Control circuit 42. The storage device 4 is equipped with a magnetic disk device 43 and a power supply control circuit 44, and is connected to the host device 2 to form an information processing device (information processing system).

情報処理システムの電源切断の際、電源制御回路44は
制御回路42に電源切断指示信号を送出する。制御回路
42は電源切断指示信号を受信すると、Hi気ディスク
装置43のデータ退避フラグ情報エリア431にデータ
退避フラグをオズ0FF)として書込みを実行した後、
半導体メモリ41のデータを順次磁気ディスク装置43
のデータ退避エリア432に退避する。データの退避処
理が磁気ディスク装置43の後発媒体不良あるいは半導
体メモリ41の故障などによp異常終了すると。
When powering off the information processing system, the power control circuit 44 sends a power-off instruction signal to the control circuit 42. When the control circuit 42 receives the power-off instruction signal, it writes the data save flag to the data save flag information area 431 of the high-speed disk device 43 with the data save flag set to 0FF.
The data in the semiconductor memory 41 is sequentially transferred to the magnetic disk device 43.
The data is saved to the data save area 432. When the data saving process ends abnormally due to a subsequent medium failure in the magnetic disk device 43 or a failure in the semiconductor memory 41.

制御回路42は直ちに、電源制御回路44に対して電源
切断許可信号を送信する。一方、データの退避処理が正
常に完了すると、制御回路42はデータ退避フラグ情報
エリア431にデータ退避フラグをオン(ON)として
書込みを実行する。このようにデータ退避が正常に終了
した時のみ、データ退避フラグ情報エリア431のデー
タ退避フラグはONとなっている。
The control circuit 42 immediately transmits a power cut permission signal to the power supply control circuit 44. On the other hand, when the data saving process is completed normally, the control circuit 42 turns on the data saving flag and executes writing in the data saving flag information area 431. The data save flag in the data save flag information area 431 is turned ON only when the data save ends normally in this way.

電源切断された情報処理システムが再度電源投入される
と、制御回路42はまず磁気ディスク装置43のデータ
退避フラグ情報エリア431の内容を読出し、データ退
避フラグがONの場合、データ退避エリア432のデー
タを順に半導体メモリ41にリストアし、データ退避エ
リア432の全データが正常に半導体メモリ41に復元
できた場合には上位装置2に対して記憶装置4は標準ボ
リー−ムとして動作可能であること報告する。
When the information processing system that has been powered off is powered on again, the control circuit 42 first reads the contents of the data evacuation flag information area 431 of the magnetic disk device 43, and if the data evacuation flag is ON, the data in the data evacuation area 432 is read out. are restored to the semiconductor memory 41 in order, and if all data in the data save area 432 is successfully restored to the semiconductor memory 41, a report is sent to the host device 2 that the storage device 4 can operate as a standard volume. do.

一方、データ退避フラグがOFFの時、あるいはデータ
退避エリア432の全データが正常に半導体メモリ41
に復元できなかった場合には、記憶装置4は上位装置2
に対して非標準がリュームとして動作可能であること報
告する。
On the other hand, when the data save flag is OFF, or all data in the data save area 432 is transferred to the semiconductor memory 432 normally.
If the storage device 4 cannot be restored to the host device 2, the storage device 4 is
report that non-standard systems can operate as a volume.

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

以上説明したように本発明では、データ退避開始時、磁
気ディスク装置の所定エリアに記録される退避フラグを
OFFとした後、退避処理を実行し。
As described above, in the present invention, when starting data evacuation, the evacuation flag recorded in a predetermined area of the magnetic disk device is turned OFF, and then the evacuation process is executed.

退避処理が正常に終了した場合のみ退避フラグをONに
書換えるようにして、記憶装置の電源投入によるデータ
復旧処理の際、磁気ディスク装置の退避フラグがONの
時のみデータのりストアを実行し。
The save flag is rewritten to ON only when the save process is normally completed, and data storage is executed only when the save flag of the magnetic disk device is ON when the data recovery process is performed by turning on the power of the storage device.

退避フラグがOFFの時は半導体メモリを初期状態のま
ま立上るようにすることにより、電源切断時のデータ退
避処理中にエラーが発生しても再立上げによるデータ化
けの発生を防止できるという効果がある。
By allowing the semiconductor memory to start up in its initial state when the save flag is OFF, even if an error occurs during data save processing when the power is turned off, it is possible to prevent data corruption due to restarting. There is.

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

第1図は本発明のデータ退避/復旧方式の一実施例のシ
ステムブロック図である。 2・・・上位装置、4・・・記憶装置、41・・・半導
体メモリ、42・・・制御回路、43・・・磁気ディス
ク装置。 44・・・電源制御回路、431・・・磁気ディスク装
置データ退避フラグ情報エリア、432・・・磁気ディ
スク装置データ退避エリア。
FIG. 1 is a system block diagram of an embodiment of the data saving/restoring method of the present invention. 2... Host device, 4... Storage device, 41... Semiconductor memory, 42... Control circuit, 43... Magnetic disk device. 44...Power supply control circuit, 431...Magnetic disk device data save flag information area, 432...Magnetic disk device data save area.

Claims (1)

【特許請求の範囲】[Claims] 1、半導体記憶素子から構成されデータを記憶するメモ
リと、該メモリのデータの退避/復旧に使用され、デー
タ退避フラグ情報記録エリアを有する磁気ディスク装置
と、電源の切断を制御する電源制御回路と、前記メモリ
のデータを前記磁気ディスク装置と前記メモリとの間で
退避/復旧制御する制御回路とを備える半導体記憶装置
において、前記制御回路は、電源制御回路からの電源切
断指示を受けると、前記磁気ディスク装置の前記データ
退避フラグ情報記録エリアのデータ退避フラグをオフと
して前記メモリデータの磁気ディスク装置への退避処理
を開始し、該退避処理が正常に完了しなかった場合、デ
ータ退避フラグをオフのままで、電源切断許可信号を電
源制御回路に送出し、退避処理が正常に完了すると、デ
ータ退避フラグをオンに書換え、電源投入時、前記制御
回路は前記データ退避フラグを読出し、該データ退避フ
ラグがオンの場合、前記磁気ディスク装置のデータをメ
モリに復元し、一方データ退避フラグがオフの際には、
直ちに、半導体記憶装置を待機状態として上位装置に報
告するようにしたことを特徴とするデータ退避/復旧方
式。
1. A memory composed of a semiconductor storage element and storing data, a magnetic disk device used for saving/restoring data in the memory and having a data saving flag information recording area, and a power supply control circuit controlling power cutoff. , a semiconductor storage device comprising: a control circuit for controlling saving/recovery of data in the memory between the magnetic disk device and the memory; The data evacuation flag of the data evacuation flag information recording area of the magnetic disk device is turned off to start evacuation processing of the memory data to the magnetic disk device, and if the evacuation processing is not completed normally, the data evacuation flag is turned off. When the save processing is completed normally, the data save flag is rewritten to ON, and when the power is turned on, the control circuit reads the data save flag and executes the data save operation. When the flag is on, the data in the magnetic disk device is restored to the memory, while when the data evacuation flag is off,
A data saving/recovery method characterized in that a semiconductor storage device is placed in a standby state and immediately reported to a host device.
JP62114434A 1987-05-13 1987-05-13 Data save/restore system Pending JPS63280357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62114434A JPS63280357A (en) 1987-05-13 1987-05-13 Data save/restore system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62114434A JPS63280357A (en) 1987-05-13 1987-05-13 Data save/restore system

Publications (1)

Publication Number Publication Date
JPS63280357A true JPS63280357A (en) 1988-11-17

Family

ID=14637625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62114434A Pending JPS63280357A (en) 1987-05-13 1987-05-13 Data save/restore system

Country Status (1)

Country Link
JP (1) JPS63280357A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02275555A (en) * 1989-04-18 1990-11-09 Nec Corp Data saving control system for semiconductor disk device
JPH1027097A (en) * 1996-07-11 1998-01-27 Anritsu Corp Method and device for rewriting data of flash rom
US5778167A (en) * 1994-06-14 1998-07-07 Emc Corporation System and method for reassigning a storage location for reconstructed data on a persistent medium storage system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02275555A (en) * 1989-04-18 1990-11-09 Nec Corp Data saving control system for semiconductor disk device
US5778167A (en) * 1994-06-14 1998-07-07 Emc Corporation System and method for reassigning a storage location for reconstructed data on a persistent medium storage system
JPH1027097A (en) * 1996-07-11 1998-01-27 Anritsu Corp Method and device for rewriting data of flash rom

Similar Documents

Publication Publication Date Title
JPH0291749A (en) Nonvolatile type semiconductor memory device
JPH07175728A (en) Disk cache data maintenance system
JPS63280357A (en) Data save/restore system
JPH11203057A (en) Disk array device and its control method
JPH0728572A (en) Automatic data preserving device at power interruption
JP4098400B2 (en) Semiconductor disk device
JPH10133926A (en) Mirror disk restoring method and restoring system
JPH0619767A (en) Magnetic disk device with file restoration function
JP3080005B2 (en) Data processing device
JPH04251317A (en) System for protecting and reproducing status of task
JPH06266598A (en) Information processor
JPS62140154A (en) Data holding system for memory device
JPH0628267A (en) Information processor
JPH06161590A (en) Resuming control system
JPS63155245A (en) Data backup system for semiconductor disk
JPH0415726A (en) Write back-up system for disk controller
JPH01271857A (en) Memory subsystem
JPS61210453A (en) Data memory device
JPH04256006A (en) File restoring system
JPH11222365A (en) Elevator control device
JPH05241674A (en) Portable electronic equipment
JPS61250720A (en) Magnetic disc controller
JPH10222312A (en) Storage system
JPH11265264A (en) Backup storage system and method therefor
JPH02239353A (en) Data storage sub system