JPS63187355A - Saving system for data of memory device - Google Patents

Saving system for data of memory device

Info

Publication number
JPS63187355A
JPS63187355A JP62018710A JP1871087A JPS63187355A JP S63187355 A JPS63187355 A JP S63187355A JP 62018710 A JP62018710 A JP 62018710A JP 1871087 A JP1871087 A JP 1871087A JP S63187355 A JPS63187355 A JP S63187355A
Authority
JP
Japan
Prior art keywords
data
indicator
control circuit
save
evacuation
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
JP62018710A
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 JP62018710A priority Critical patent/JPS63187355A/en
Publication of JPS63187355A publication Critical patent/JPS63187355A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a data saving time, by providing a data saving indicator, and saving blocks in which a data saved in a magnetic disk device is different from the data in a semiconductor memory by utilizing a vacant time when access from a host device is interrupted. CONSTITUTION:When the power source of a computer system is disconnected, a power source control circuit 44 sends a power source disconnection indicating signal to a data saving control circuit 42. The data saving control circuit 42 receiving the power source disconnection indicating signal refers to the data saving indicator of a saving indicator part 412, and when all of the data saving indicators are set at OFF states, it sends a power source disconnection permitting signal to the power source control circuit 44 immediately. When the data saving indicator set at an ON state remains, the block data of a data part 411 corresponding to the data saving indicator set at the ON state is saved in the magnetic disk device 43, and after that, the data saving indicator is set at the OFF state, and at a time when all of the data saving indicators are set at the OFF states, the power source disconnection permitting signal is sent to the power source control circuit 44. In such a way, it is possible to shorten the data saving time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は記憶装置内のメ士りに記憶されだテ“−タを磁
気ディスク装置に退避する方式に関し,15にメモリへ
の書込・読出処理と並1ーエシて行われるデータ退避方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for saving data stored in a memory device into a magnetic disk device, The present invention relates to a data saving method that is performed simultaneously with a read process.

〔従来の技術〕[Conventional technology]

近年、半導体記憶素子は性能面1価格面での進歩が著し
く、高性能の外部記憶装置として使われるようになった
。しかし、半導体記憶素子からなる記憶装置の欠点はメ
モリが揮発性であることである。そのために、記憶装置
に磁気ディスク装置を内蔵し、メモリのデータを磁気デ
ィスク装置に退避する方法が考えられている。
In recent years, semiconductor memory elements have made remarkable progress in terms of performance and price, and have come to be used as high-performance external storage devices. However, a drawback of memory devices made of semiconductor memory elements is that the memory is volatile. To this end, a method has been considered in which a magnetic disk device is built into the storage device and the data in the memory is saved to the magnetic disk device.

データを退避する契機の第1はソフトウェアからのセー
ブ命令の発行、第2は電源制御回路からの電源切断指示
信号である。この場合、メモリから磁気ディスク装置へ
のデータ退避に要する時間は小さい方が望ましいので、
従来の技術としては。
The first trigger for saving data is the issuance of a save command from software, and the second trigger is a power cut instruction signal from the power control circuit. In this case, it is desirable that the time required to save data from memory to the magnetic disk device is shorter.
As for conventional technology.

ソフトウェアからのセーブ命令によってデータを退避し
た後でメモリへの書込みが行われなかった場合は電源の
切断等にはデータを退避しないという方式などが提案さ
れている(例えば、特開昭61−226857号公報)
A method has been proposed in which if data is not written to memory after it is saved by a save command from software, the data is not saved when the power is turned off (for example, Japanese Patent Laid-Open No. 61-226857 Publication No.)
.

区”F糸β 〔発明が解決しようとする問題点〕 しかしながら、上述のデータ退避方式では、ソフトウェ
アによるセーブ命令実行後に書込みが行われた場合は時
間短縮にならないばかシでなく。
[Problem to be Solved by the Invention] However, in the above-described data saving method, if writing is performed after execution of a save command by software, the time will not be reduced.

ソフトウェアからのセーブ命令によるデータ退避時間の
短縮は行われないという欠点がある。
There is a drawback that data saving time cannot be shortened by a save command from software.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明によるデータ退避方式は、半導体記憶素子から構
成され、データを記憶するデータ部と該データを退避す
るときの単位であるブロックに対応するデータ退避イン
ジケータをブロック数分記憶する退避インジケータ部と
からなるメモリと。
The data saving method according to the present invention is comprised of a semiconductor memory element, and includes a data part for storing data and a saving indicator part for storing data saving indicators corresponding to blocks, which are units for saving the data, for the number of blocks. With memory.

メモリ内のデータを退避する磁気ディスク装置と。A magnetic disk device that saves data in memory.

電源の切断を制御する電源制御回路と、前記メモリのデ
ータを磁気ディスク装置に退避制御するデータ退避制御
回路から構成される装置 て,メモリにデータの書込みを行ったとき該当ブロック
に対応するデータ退避インジケータをオン状態にし,上
位装置からのアクセス要求のないアイドル状態において
前記退避インジケータ部をチェックして,オン状態のデ
ータ退避インジケータに対応するブロックのデータを前
記磁気ディスク装置に退避した後データ退避インジケー
タをオフ状態とし,上位装置からのセーブ命令を受信し
たとき,及び電源制御回路からの電源切断指示を受信し
たときは,退避インジケータ部のデータ退避インジケー
タのうちオン状態となっているデータ退避インジケータ
に対応するブロックについてのみデータを磁気ディスク
装置に退避した後,該データ退避インジケータをオフ状
態とし,データ退避インジケータが全てオフ状態のとき
はなにもせず直ちに,セーブ命令受信のときは上位装置
にセーブ完了信号を送信し,電源切断指示受信のときは
電源切断許可信号を電源制御回路に送信することを特徴
とする。
A device consisting of a power supply control circuit that controls power-off, and a data evacuation control circuit that controls evacuation of the data in the memory to a magnetic disk device. After turning on the indicator, checking the evacuation indicator section in an idle state with no access request from a host device, and evacuation of the data of the block corresponding to the data evacuation indicator in the on state to the magnetic disk device, the data evacuation indicator. When the save command is turned off and a save command is received from the host device, or when a power-off instruction is received from the power supply control circuit, the data save indicator that is in the on state among the data save indicators in the save indicator section is turned on. After saving data only for the corresponding block to the magnetic disk device, turn off the data save indicator, and if all the data save indicators are off, do nothing and save to the host device if a save command is received. The present invention is characterized in that a completion signal is transmitted, and when a power-off instruction is received, a power-off permission signal is transmitted to the power supply control circuit.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例によるデータ退避方式を示す
ブロノク図である。
FIG. 1 is a block diagram showing a data saving method according to an embodiment of the present invention.

記憶装置4はデータ部411と退避インジケータ部41
2とからなる半導体メモリ41と,データ退避制御回路
42と,磁気ディスク装置43と。
The storage device 4 has a data section 411 and a save indicator section 41.
2, a data save control circuit 42, and a magnetic disk device 43.

電源制御回路44とから構成され,上位装置2に接続さ
れている。
The power supply control circuit 44 is connected to the host device 2.

電源投入時の磁気ディスク装置43から半導体メモリ4
1へのデータのりストア実行時には,データ部411に
データを書込んだ後,データ退避制御回路42は書込み
ブロックに対応する退避インジケータ部412のデータ
退避インジケータをオフ状態にする。
From the magnetic disk device 43 to the semiconductor memory 4 when the power is turned on
When data is stored in block 1, after writing data to the data section 411, the data save control circuit 42 turns off the data save indicator of the save indicator section 412 corresponding to the write block.

従って,リストア動作完了時には退避インジケータ部4
12のデータ退避インジケータはすべてオフ状態となっ
ている。
Therefore, when the restore operation is completed, the evacuation indicator section 4
All 12 data evacuation indicators are in the off state.

リストア動作完了後,記憶装置4は上位装置2に対して
動作可能状態となシ,上位装置2がらの書込/読出命令
を受付けるが,上位装置2がらの書込み命令実行時には
データ部411にデータを書込んだ後,データ退避制御
回路42は書込みブロックに対応する退避インジケータ
412のデー夕退避インジケータをオン状態にセットす
る。
After the restore operation is completed, the storage device 4 becomes operable for the host device 2 and accepts write/read commands from the host device 2. However, when a write command from the host device 2 is executed, data is stored in the data section 411. After writing, the data save control circuit 42 sets the data save indicator of the save indicator 412 corresponding to the write block to the on state.

記憶装置4は上位装置2からの命令指示に従い指示動作
を実行するが、上位装置2からの命令指示が途切れる場
合があシ、これをアイドル状態と一般に呼称している。
The storage device 4 executes instruction operations in accordance with commands from the host device 2, but there are times when the commands from the host device 2 are interrupted, and this is generally referred to as an idle state.

データ退避制御回路42は、アイドル状態となったこと
を認識すると、退避インジケータ部412の内容を順に
チェックし、最初に検出されたオン状態のデータ退避イ
ンジケータに対応するデータ部411のブロックデータ
を用いて、磁気ディスク装置43に書込みを行った後、
該当データ退避インジケータをオフ状態にリセットする
When the data save control circuit 42 recognizes that the idle state has entered, it sequentially checks the contents of the save indicator section 412 and uses the block data of the data section 411 corresponding to the first detected on-state data save indicator. After writing to the magnetic disk device 43,
Reset the corresponding data evacuation indicator to off state.

データ退避制御回路42は、上記の一連の動作が完了す
ると、上位装置2からの命令の有無をチェックし、命令
がなければ再び前記処理を繰返す。
When the above-described series of operations is completed, the data save control circuit 42 checks whether there is a command from the host device 2, and if there is no command, repeats the process again.

もし、命令指示があれば、指示動作を実行する。If there is a command instruction, the instructed operation is executed.

従って、常に上位装置2からの命令処理が優先されるが
、一般的には上位装置2からのアクセス要求は、一定時
間内には平準化するので、任意の時点でのオン状態とな
っているデータ退避インジケータ数は一定量に限定され
る。
Therefore, priority is always given to processing commands from the host device 2, but access requests from the host device 2 are generally leveled out within a certain period of time, so they are in an on state at any given time. The number of data evacuation indicators is limited to a certain amount.

上位装置2からセーブ命令が発行されると、データ退避
制御回路42は退避インジケータ部412のオン状態と
なっているデータ退避インジケータに対応するデータ部
411のブロックデータを磁気ディスク装置43に退避
した後、データ退避インジケータをオフ状態にし、すべ
てのデータ退避インジケータがオフ状態となるまでこれ
を繰返す。
When a save command is issued from the host device 2, the data evacuation control circuit 42 saves the block data of the data section 411 corresponding to the data evacuation indicator that is in the ON state of the evacuation indicator section 412 to the magnetic disk device 43, and then saves the block data to the magnetic disk device 43. , turn off the data evacuation indicators, and repeat this until all data evacuation indicators are off.

その後、データ退避制御回路42は上位装置2に対して
セーブ完了信号を送出する。
Thereafter, the data save control circuit 42 sends a save completion signal to the host device 2.

コンピュータシステムの電源を切断するとき。When powering down a computer system.

電源制御回路44はデータ退避制御回路42に電源切断
指示信号を送出する。電源切断指示信号を受信したデー
タ退避制御回路42は退避インノヶータ部412のデー
タ退避インジケータを参照しすべてのデータ退避インジ
ケータがオフ状態ならば直ちに電源切断許可信号を電源
制御回路44に送出する。オン状態のデータ退避インジ
ケータが残っている場合は、オン状態となっているデー
タ退避イン・ジケータに対応するデータ部411のブロ
ックデータを磁気ディスク装置43に退避した後、デー
タ退避インジケータをオフ状態にし、すべてのデータ退
避インジケータがオフ状態になると電源切断許可信号を
電源制御回路44に送出する。
The power supply control circuit 44 sends a power-off instruction signal to the data save control circuit 42. The data save control circuit 42 that has received the power cut instruction signal refers to the data save indicators of the save indicator section 412, and immediately sends a power cut permission signal to the power control circuit 44 if all the data save indicators are off. If a data evacuation indicator that is in the on state remains, block data in the data section 411 corresponding to the data evacuation indicator that is in the on state is evacuated to the magnetic disk device 43, and then the data evacuation indicator is turned off. , when all data save indicators are turned off, a power cut permission signal is sent to the power control circuit 44.

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

以上説明したように本発明は、半導体メモリ内にデータ
のブロックに対応するデータ退避インジケータを設け、
磁気ディスク装置に退避されているデータと半導体メモ
リのデータが異なっているブロックについて、上位装置
からのアクセスが途切れた空き時間を利用して退避する
ことによシ。
As explained above, the present invention provides a data save indicator corresponding to a block of data in a semiconductor memory,
Blocks in which the data saved in the magnetic disk device and the data in the semiconductor memory are different can be saved by using free time when access from the host device is interrupted.

上位装置からのセーブ命令及び電源制御回路からの電源
切断指示信号受信時のデータ退避時間を小さくできる効
果がある。
This has the effect of reducing the data saving time when receiving a save command from a host device and a power cut instruction signal from a power supply control circuit.

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

第1図は本発明の一実施例を示すブロック図である。 2・・・上位装置、4・・・記憶装置、41・・・半導
体メモ1,1 、4.11・・・データ部、412・・
・退避インノヶータ部、42・・・データ退避制御回路
、43・・・磁気ディスク装置、44・・・電源制御回
路。
FIG. 1 is a block diagram showing one embodiment of the present invention. 2... Host device, 4... Storage device, 41... Semiconductor memory 1, 1, 4.11... Data section, 412...
- Evacuation converter section, 42... Data evacuation control circuit, 43... Magnetic disk device, 44... Power supply control circuit.

Claims (1)

【特許請求の範囲】[Claims] 1、半導体記憶素子から構成され、データを記憶するデ
ータ部と、該データを退避するときの単位であるブロッ
クに対応するデータ退避インジケータをブロック数分記
憶する退避インジケータ部とからなるメモリと、メモリ
内のデータを退避する磁気ディスク装置と、電源の切断
を制御する電源制御回路と、前記メモリのデータを磁気
ディスク装置に退避制御するデータ退避制御回路から構
成される記憶装置において、メモリにデータの書込みを
行ったとき該当ブロックに対応するデータ退避インジケ
ータをオン状態にし、上位装置からのアクセス要求のな
いアイドル状態において前記退避インジケータ部をチェ
ックして、オン状態のデータ退避インジケータに対応す
るブロックのデータを前記磁気ディスク装置に退避した
後、データ退避インジケータをオフ状態とし、上位装置
からのセーブ命令を受信したとき、及び電源制御回路か
らの電源切断指示を受信したときは、退避インジケータ
部のデータ退避インジケータのうちオン状態となってい
るデータ退避インジケータに対応するブロックについて
のみデータを磁気ディスク装置に退避した後、該データ
退避インジケータをオフ状態とし、データ退避インジケ
ータが全てオフ状態のときはなにもせず直ちに、セーブ
命令受信のときは上位装置にセーブ完了信号を送信し、
電源切断指示受信のときは電源切断許可信号を電源制御
回路に送信することを特徴とした記憶装置のデータ退避
方式。
1. A memory composed of a semiconductor memory element and consisting of a data section for storing data, and an evacuation indicator section for storing data evacuation indicators corresponding to blocks, which are units for evacuation of the data, for the number of blocks; A storage device consisting of a magnetic disk device that saves data in the memory, a power control circuit that controls turning off the power, and a data save control circuit that controls saving data in the memory to the magnetic disk device. When writing is performed, the data evacuation indicator corresponding to the corresponding block is turned on, and the evacuation indicator section is checked in an idle state with no access request from the host device, and the data of the block corresponding to the data evacuation indicator in the on state is saved. is saved to the magnetic disk device, the data save indicator is turned off, and when a save command is received from the host device and a power cut instruction is received from the power supply control circuit, the data save indicator section is turned off. After saving data to the magnetic disk device only for the block corresponding to the data evacuation indicator that is in the on state among the indicators, turn the data evacuation indicator off, and do nothing if all the data evacuation indicators are off. Immediately, when a save command is received, a save completion signal is sent to the host device,
A data saving method for a storage device, characterized in that when a power-off instruction is received, a power-off permission signal is sent to a power supply control circuit.
JP62018710A 1987-01-30 1987-01-30 Saving system for data of memory device Pending JPS63187355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62018710A JPS63187355A (en) 1987-01-30 1987-01-30 Saving system for data of memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62018710A JPS63187355A (en) 1987-01-30 1987-01-30 Saving system for data of memory device

Publications (1)

Publication Number Publication Date
JPS63187355A true JPS63187355A (en) 1988-08-02

Family

ID=11979209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62018710A Pending JPS63187355A (en) 1987-01-30 1987-01-30 Saving system for data of memory device

Country Status (1)

Country Link
JP (1) JPS63187355A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0410041A (en) * 1990-04-27 1992-01-14 Toshiba Corp Data saving system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0410041A (en) * 1990-04-27 1992-01-14 Toshiba Corp Data saving system

Similar Documents

Publication Publication Date Title
US5109505A (en) Semiconductor memory disk apparatus with backup device capable of being accessed immediately after power source is recovered
JPH0258649B2 (en)
US20040103242A1 (en) Solid state disk on module with high speed data transmission
US20030056141A1 (en) Control method used in and-gate type system to increase efficiency and lengthen lifetime of use
JPS63187355A (en) Saving system for data of memory device
JPH0793101A (en) Data backup device
JP2846760B2 (en) Programmable controller
JPS62269253A (en) Power failure processing system for semiconductor memory device
JP2701752B2 (en) Microprocessor clock supply control circuit
JPS6331806B2 (en)
JPS61127026A (en) Optical disk controller
JPS6146552A (en) Information processor
JP2501393B2 (en) Direct memory access device
JPS60193165A (en) Disc device
JPS62286143A (en) Semiconductor memory device
JP2522051B2 (en) Control device
JPS61226857A (en) Data saving system for storage device
JPS58127260A (en) Disk cache controller
JPS60222925A (en) Magnetic disk device
KR20000005448U (en) Processor redundancy system
JPH11212898A (en) Peripheral storage controller and its data transfer method
JPS59172186A (en) Cache memory control system
JPH0476138B2 (en)
JPS63245712A (en) Data transfer control system between external storage devices
JPH0451849B2 (en)