JPH04273553A - Computer system - Google Patents

Computer system

Info

Publication number
JPH04273553A
JPH04273553A JP3034629A JP3462991A JPH04273553A JP H04273553 A JPH04273553 A JP H04273553A JP 3034629 A JP3034629 A JP 3034629A JP 3462991 A JP3462991 A JP 3462991A JP H04273553 A JPH04273553 A JP H04273553A
Authority
JP
Japan
Prior art keywords
power supply
data
main
computer
power
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
JP3034629A
Other languages
Japanese (ja)
Inventor
Satoshi Mizuno
聡 水野
Hideaki Hirayama
平山 秀昭
Koichi Sekiguchi
幸一 関口
Takashi Omori
誉史 大森
Yoko Okuda
奥田 容子
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 JP3034629A priority Critical patent/JPH04273553A/en
Publication of JPH04273553A publication Critical patent/JPH04273553A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To omit the erasion of data by operating a power supply by a spare power source when the power supply from a main power source is stopped, and saving the data to a nonvolatile storage means. CONSTITUTION:When a fault occurs in a main power source device 3, and the power supply to the main body of a computer 1 is stopped, a spare power source device 16 starts the operation, operates the power supply to the main body of the computer 1 instead of the main power source device 1, and at the same time, operates an interruption to a CPU 11. At that time, the CPU 11 recognizes the occurrence of the fault of the power source by this interruption, and saves the data which are difficult to be restored and reactivated once erased among the data in a buffer for a secondary storage device 2 of a main storage part 13, to a nonvolatile memory 15. Then, the main body of the computer 1 stops the operation.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、電源障害などに対処可
能な機能を付加した計算機システムに関するものである
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system equipped with a function capable of dealing with power failures and the like.

【0002】0002

【従来の技術】一般に、計算機システムは、各種I/O
インターフェースのためのデータバッファを主記憶部上
に持っている。このため、例えば、計算機システムの外
部にある二次記憶装置に対してデータ変更の要求があっ
ても、まず、主記憶部上データバッファに反映され、そ
の後、二次記憶装置のデータ変更が実行されるようにな
っている。
[Prior Art] Generally, a computer system has various I/O
It has a data buffer for the interface on the main memory. Therefore, for example, even if there is a request to change data to a secondary storage device outside the computer system, it is first reflected in the data buffer in the main storage, and then the data change in the secondary storage device is executed. It is now possible to do so.

【0003】したがって、計算機システムを停止する場
合でも、主記憶部上バッファのデータを二次記憶装置に
書き戻すことで、二次記憶装置にデータ変更を反映し初
めてシステムを停止するようにしている。
[0003] Therefore, even when a computer system is to be stopped, the data in the buffer on the main memory is written back to the secondary storage device, and the system is stopped only after the data changes are reflected in the secondary storage device. .

【0004】このことから、仮に主記憶部内のI/Oバ
ッファ上の変更データが二次記憶装置に反映されないま
まシステムが停止することがあると、CPUにより二次
記憶装置でのデータ書き替えが行われたつもりが、実際
にはデータ書き替えが行われないことがある。この結果
、再度システムを立ち上げて、二次記憶装置の内容を参
照しようとすると、CPUは、二次記憶装置のデータ書
き替え前の正しくないデータを参照してしまうおそれが
ある。
[0004] From this, if the system were to stop without the changed data on the I/O buffer in the main memory being reflected in the secondary storage, the CPU would not be able to rewrite the data in the secondary storage. Data may not actually be rewritten even though it was intended to be rewritten. As a result, when the system is started up again and the contents of the secondary storage device are attempted to be referenced, the CPU may refer to incorrect data before the data in the secondary storage device has been rewritten.

【0005】このような理由から、例えば、計算機シス
テムの主電源が事故などで突然断たれ、計算機の動作が
停止するようなことがあると、変更済みデータの中でも
主記憶部バッファ上でのみしか反映されていないデータ
については、主電源の断とともに、主記憶部内で消滅し
てしまうことがある。
For these reasons, for example, if the main power of a computer system is suddenly cut off due to an accident and the computer stops operating, only the changed data will be stored in the main memory buffer. Data that has not been reflected may disappear in the main memory when the main power is turned off.

【0006】そこで、従来では、主電源断のような電源
障害に対処するため、計算機本体および二次記憶装置に
それぞれ予備電源装置を設け、電源障害が発生すると、
各予備電源より所定時間だけ計算機本体および二次記憶
装置に電力を供給し、主記憶部上のデータで二次記憶装
置に書き戻さなければならないものを二次記憶装置側に
書き戻し、その後に、システムを停止させるようにした
ものが考えられている。このような処理を実現すれば、
主記憶部上でのデータ変更が二次記憶装置側に正しく反
映されることになる。しかしながら、この方法では、上
述の動作を実行する間、それぞれの予備電源装置により
計算機本体と二次記憶装置に電力を供給しなければなら
ないため、必要とする予備電源装置の容量が大きくなり
経済的に不利になる欠点がある。
Conventionally, in order to cope with a power failure such as a main power outage, backup power supplies are provided in each of the computer main body and the secondary storage device, and when a power failure occurs,
Power is supplied from each backup power supply to the computer main body and secondary storage device for a predetermined period of time, data in the main memory that needs to be written back to the secondary storage device is written back to the secondary storage device, and then , a system that halts the system is being considered. If this kind of processing is realized,
Data changes on the main storage section will be correctly reflected on the secondary storage device side. However, with this method, while performing the above operations, power must be supplied to the computer main body and the secondary storage device from each backup power supply, which increases the capacity of the required backup power supply, making it less economical. There are drawbacks that are disadvantageous to

【0007】また、他の方法として別系統の電源装置で
動作するまったく同じ計算機システムを2組用意し、こ
れら2組の計算機システムにより、まったく同じ処理を
同時に実行させることで、いずれか一方の計算機システ
ムに障害が発生した場合にも、もう一方の計算機が処理
を引き継ぐようにした方法も考えられている。この方法
によれば、電源断など電源障害以外の計算機本体自身の
故障などに対しても対応できるという利点はあるが、コ
ストが2倍になる欠点がある。
[0007] Another method is to prepare two sets of identical computer systems that operate on different power supply systems, and have these two sets of computer systems execute the exact same processing at the same time. A method is being considered in which even if a system failure occurs, another computer can take over the processing. This method has the advantage of being able to deal with failures of the computer itself other than power failures such as power outages, but has the disadvantage of doubling the cost.

【0008】[0008]

【発明が解決しようとする課題】このように、従来の電
源障害に対処可能な機能を付加した計算機システムで、
二次記憶装置まで含めて計算機システム全体をバックア
ップできるような予備電源装置を設けるものでは、予備
電源装置に大容量のものが必要になって経済的にに不利
になり、また、2組の計算機システムを用意するもので
も、コストが2倍になる欠点があった。
[Problem to be Solved by the Invention] In this way, a computer system that is equipped with a function that can cope with a conventional power supply failure,
If a backup power supply is provided that can back up the entire computer system including the secondary storage device, the backup power supply would need to have a large capacity, which would be economically disadvantageous. Even if a system was prepared, it had the disadvantage of doubling the cost.

【0009】本発明は、上記事情に鑑みてなされたもの
で、電源障害に対して適切に対処できるとともに、コス
ト的にも低廉化を可能にした計算機システムを提供する
ことを目的とする。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a computer system that can appropriately deal with power supply failures and that also enables cost reduction.

【0010】0010

【課題を解決するための手段】本発明の計算機システム
は、主電源からの供給電力により計算機本体内部での処
理結果を主記憶部上のデータバッファに一時記憶させそ
の後外部記憶手段に書き込むようにしたものであって、
主電源の電力供給が断たれるとこれに代わって計算機本
体に電力供給を行う予備電源、予備電源からの供給電力
により主記憶部上データバッファでの少なくとも消失し
てならないデータを退避させる不揮発性の記憶手段によ
り構成されている。
[Means for Solving the Problems] The computer system of the present invention temporarily stores processing results inside the computer main body in a data buffer on the main storage section using power supplied from the main power supply, and then writes them to an external storage means. was made,
A backup power supply that supplies power to the computer when the main power supply is cut off, and a non-volatile power supply that uses the power supplied from the backup power supply to save at least the data that must not be lost in the data buffer on the main memory. It is composed of storage means.

【0011】[0011]

【作用】この結果、本発明によれば何等かの理由により
計算機本体に対する主電源からの電力供給が断たれると
、これに代わって予備電源より計算機本体に電力供給を
行うと同時に、主記憶部上データバッファでの少なくと
も消失してならないデータを不揮発性の記憶手段に退避
させることができるようになっている。
[Operation] As a result, according to the present invention, if the power supply from the main power source to the computer main body is cut off for some reason, power is supplied to the computer main body from the backup power source instead, and at the same time the main memory is At least the data in the local data buffer that must not be lost can be saved to a nonvolatile storage means.

【0012】0012

【実施例】以下、本発明の一実施例を図面にしたがい説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0013】図1は、同実施例の概略的構成を示してい
る。図において、1は計算機本体で、この計算機本体1
は、CPU11、システムバス12、主記憶部13、I
/Oインターフェース14、不揮発性メモリ15および
予備電源装置16を有している。そして、この計算機本
体1には、I/Oインターフェース14を介して二次記
憶装置(例えば、磁気ディスク装置、半導体ディスク装
置)2および主電源装置3を接続し、その他、図示しな
いがデータを入出力するための端末を接続している。
FIG. 1 shows a schematic configuration of the same embodiment. In the figure, 1 is the computer main body, and this computer main body 1
are the CPU 11, the system bus 12, the main memory section 13, and the I
It has an /O interface 14, a nonvolatile memory 15, and a backup power supply 16. A secondary storage device (for example, a magnetic disk device, a semiconductor disk device) 2 and a main power supply device 3 are connected to this computer main body 1 via an I/O interface 14, and other data (not shown) is input. A terminal for output is connected.

【0014】この場合、計算機本体1の不揮発性メモリ
15には、例えばEEPROMが用いられ、CPU11
により読み書き可能になっている。また、この不揮発性
メモリ15は、現在データを退避させているか否かを示
す変数Sを記憶するエリアを有し、データが退避されて
いない場合はS=0、データが退避されている場合はS
=1に設定されるようにしている。
In this case, the nonvolatile memory 15 of the computer main body 1 is, for example, an EEPROM, and the CPU 11
It is now readable and writable. The non-volatile memory 15 also has an area for storing a variable S indicating whether or not data is currently being saved; S=0 if the data is not being saved; S
= 1.

【0015】予備電源装置16には、例えば、蓄電池が
用いられる。この予備電源装置16は、常時、主電源装
置3により充電されるとともに、主電源装置3からの電
力供給が断たれると、計算機本体1に対して電力を供給
するようになっている。また、この予備電源装置16は
、計算機本体1に対して電力供給を行うと同時に、CP
U11に対して割り込みをかけるようにもなっている。 そして、この割り込みによりCPU11は主電源装置3
からの電力供給が停止したことを知るようにしている。
For example, a storage battery is used as the backup power supply device 16. The standby power supply device 16 is always charged by the main power supply device 3 and supplies power to the computer main body 1 when the power supply from the main power supply device 3 is cut off. In addition, this backup power supply device 16 supplies power to the computer main body 1 and at the same time supplies power to the computer main body 1.
It is also configured to issue an interrupt to U11. Then, due to this interrupt, the CPU 11 causes the main power supply unit 3 to
I am trying to know when the power supply has been cut off.

【0016】次に、以上のように構成した実施例の動作
を説明する。
Next, the operation of the embodiment configured as above will be explained.

【0017】いま、主電源装置3に障害が発生し、計算
機本体1に対する電力供給が停止したような場合、図2
に示すフローチャートが実行される。この場合、主電源
装置3の電力供給停止により予備電源装置16が作動を
開始し、主電源装置3に代わって計算機本体1に電力供
給を行うと同時に、CPU11に対して割り込みをかけ
る(ステップA1)。
Now, if a failure occurs in the main power supply device 3 and the power supply to the computer main body 1 is stopped, the power supply shown in FIG.
The flowchart shown in is executed. In this case, when the main power supply 3 stops supplying power, the standby power supply 16 starts operating, supplies power to the computer main body 1 instead of the main power supply 3, and at the same time interrupts the CPU 11 (step A1 ).

【0018】CPU11は、この割り込みで電源障害の
発生を知ると、主記憶部13の二次記憶装置2用のバッ
ファにあるデータのうち、消失すると復旧、再起動に支
障が来すものを不揮発性メモリ15に退避させる(ステ
ップA2)。この場合、不揮発性メモリ15は、あらか
じめ変数Sを「0」に初期化されていて、データ退避に
よりS=1に設定される(ステップA3)。そして、計
算機本体1は作動を停止する。
[0018] When the CPU 11 learns of the occurrence of a power failure through this interrupt, it non-volatilely stores data in the buffer for the secondary storage device 2 of the main storage unit 13 that, if lost, would impede recovery and restart. The data is saved in the data memory 15 (step A2). In this case, the nonvolatile memory 15 has the variable S initialized to "0" in advance, and is set to S=1 by data saving (step A3). Then, the computer main body 1 stops operating.

【0019】次に、主電源装置3の障害が回復し、シス
テムを立ち上げる場合は、図3に示すフローチャートが
実行される。この場合、初期化プログラムが起動され、
不揮発性メモリ15の変数Sを参照する(ステップB1
)。ここで、不揮発性メモリ15にデータが退避されて
おらず、S=0ならばNOと判定し、通常の手順でOS
を立ち上げる(ステップB2)。一方、不揮発性メモリ
15にデータが退避されていて、S=1ならばYESと
判断して、不揮発性メモリ15のデータを二次記憶装置
2に書き戻し(ステップB3)、次いで、不揮発性メモ
リ15内の変数Sを「0」とし(ステップB4)、その
後、OSを立ち上げるようになる(ステップB2)。
Next, when the failure of the main power supply unit 3 is recovered and the system is started up, the flowchart shown in FIG. 3 is executed. In this case, the initialization program is started and
Refer to variable S in non-volatile memory 15 (step B1
). Here, if the data has not been saved in the nonvolatile memory 15 and S=0, it is determined as NO, and the OS is
(Step B2). On the other hand, if the data has been saved in the non-volatile memory 15 and S=1, it is determined as YES, and the data in the non-volatile memory 15 is written back to the secondary storage device 2 (step B3). The variable S in 15 is set to "0" (step B4), and then the OS starts up (step B2).

【0020】したがって、このようにすれば、主記憶部
13上でのデータ変更が二次記憶装置2に正しく反映さ
れるようになり、二次記憶装置2のデータは正しく更新
され、電源障害によるデータ消失を回避できる。この場
合、予備電源装置16は、必要なデータを主記憶部13
から不揮発性メモリ15に退避する時間だけ計算機本体
1に電力を供給する程度なので、予備電源装置16の容
量も小さいものにできる。一例を挙げると、ワークステ
ーションレベルの計算機システムの場合、計算機本体1
での消費電力は800[W]および二次記憶装置2での
消費電力は400[W]程度であり、したがって、一定
時間で考えると、計算機本体1のみをバックアップする
場合は、二次記憶装置2を含めてバックアップする場合
と比べて、約2/3の容量の予備電源装置16で賄うこ
とができ、さらに、実際には、不揮発性メモリ15のア
クセスは、二次記憶装置2へのアクセスよりも高速で行
うことができるので、データ退避に要する時間を短くで
き、予備電源装置16の容量をさらに小さなものにする
ことができる。さらにまた、従来の2組の計算機システ
ムを用意するものに比べて、コストの大幅な低減を図る
こともできるようになる。
[0020] Therefore, by doing this, data changes on the main storage unit 13 will be correctly reflected in the secondary storage device 2, and the data in the secondary storage device 2 will be updated correctly, so that changes caused by power failure can be prevented. Data loss can be avoided. In this case, the backup power supply device 16 stores the necessary data in the main storage section 13.
Since power is only supplied to the computer main body 1 during the time it takes to save data from the data to the non-volatile memory 15, the capacity of the standby power supply device 16 can also be made small. For example, in the case of a workstation level computer system, the computer main body 1
The power consumption in the computer is about 800 [W], and the power consumption in the secondary storage device 2 is about 400 [W]. Therefore, considering a certain period of time, when backing up only the computer body 1, the power consumption in the secondary storage device 2 is about 400 [W]. 2, the capacity can be covered by the backup power supply device 16, which has about 2/3 of the capacity.Furthermore, in reality, access to the nonvolatile memory 15 is equivalent to access to the secondary storage device 2. Since the data saving can be performed at a higher speed, the time required for data saving can be shortened, and the capacity of the backup power supply device 16 can be further reduced. Furthermore, compared to the conventional system in which two sets of computer systems are provided, costs can be significantly reduced.

【0021】次に、図4は、本発明の他の実施例を示す
もので、ここでは、主電源装置3の障害が回復し、シス
テムを立ち上げる場合の他の例を示している。この場合
も、初めに初期化プログラムが起動され、不揮発性メモ
リ15の変数Sを参照する(ステップC1)。そして、
不揮発性メモリ15にデータが退避されておらず、S=
0ならばNOと判定し、通常の手順でOSを立ち上げる
(ステップC2)。一方、不揮発性メモリ15にデータ
が退避されていて、S=1ならばYESと判断して、不
揮発性メモリ15のデータを主記憶部13に書き戻し(
ステップC3)、次いで、不揮発性メモリ15内の変数
Sを「0」とし(ステップC4)、その後、OSを立ち
上げるようになる(ステップC2)。
Next, FIG. 4 shows another embodiment of the present invention, in which a failure in the main power supply 3 is recovered and the system is started up. In this case as well, the initialization program is started first and refers to the variable S in the nonvolatile memory 15 (step C1). and,
No data has been saved to the nonvolatile memory 15, and S=
If it is 0, the determination is NO, and the OS is started according to the normal procedure (step C2). On the other hand, if the data has been saved in the non-volatile memory 15 and S=1, it is determined as YES and the data in the non-volatile memory 15 is written back to the main storage section 13 (
Step C3), then the variable S in the nonvolatile memory 15 is set to "0" (step C4), and then the OS is started (step C2).

【0022】このようにすれば、電源障害が発生した時
点で、主記憶部13の二次記憶装置用のバッファにある
データは、不揮発性メモリ15に回避された後、再び主
記憶部13の二次記憶装置用のバッファに戻されるよう
になるので、不揮発性メモリ15のデータを二次記憶装
置2に書き戻すよりも迅速な処理が得られ、システム復
旧までの時間を短縮することができる。
[0022] In this way, when a power failure occurs, the data in the buffer for the secondary storage device of the main storage unit 13 is saved to the nonvolatile memory 15 and then transferred to the main storage unit 13 again. Since the data is returned to the buffer for the secondary storage device, faster processing can be obtained than writing back the data in the nonvolatile memory 15 to the secondary storage device 2, and the time required for system recovery can be shortened. .

【0023】次に、図5および図6は、本発明の異なる
他の実施例を示すもので、この場合、主電源装置3に障
害が発生し、計算機本体1に対する電力供給が停止する
と、図5に示すフローチャートが実行され、主電源装置
3の電力供給停止により予備電源装置16が作動を開始
し、主電源装置3に代わって計算機本体1に電力供給を
行うと同時に、CPU11に対して割り込みをかける(
ステップD1)。
Next, FIGS. 5 and 6 show another embodiment of the present invention. In this case, when a failure occurs in the main power supply unit 3 and the power supply to the computer body 1 is stopped, the 5 is executed, the backup power supply 16 starts operating as the main power supply 3 stops supplying power, supplies power to the computer main body 1 instead of the main power supply 3, and at the same time interrupts the CPU 11. multiply(
Step D1).

【0024】そして、CPU11は、この割り込みで電
源障害の発生を知ると、主記憶部13の二次記憶装置2
用のバッファにある全てのデータを不揮発性メモリ15
に退避させる(ステップD2)。この場合、不揮発性メ
モリ15は、あらかじめ変数Sを「0」に初期化されて
いて、データ退避によりS=1に設定される(ステップ
D3)。そして、計算機本体1は作動を停止する。
[0024] When the CPU 11 learns of the occurrence of a power failure through this interrupt, the CPU 11 stores the secondary storage device 2 of the main storage unit 13.
All data in the buffer for non-volatile memory 15
(Step D2). In this case, the nonvolatile memory 15 has the variable S initialized to "0" in advance, and is set to S=1 by data saving (step D3). Then, the computer main body 1 stops operating.

【0025】次に、主電源装置3の障害が回復し、シス
テムを立ち上げる場合には、図6に示すフローチャート
が実行される。この場合、初期化プログラムが起動され
、不揮発性メモリ15の変数Sを参照する(ステップE
1)。ここで、不揮発性メモリ15にデータが退避され
ておらず、S=0ならばNOと判定し、通常の手順でO
Sを立ち上げる(ステップE2)。一方、不揮発性メモ
リ15にデータが退避されていて、S=1ならばYES
と判断して、不揮発性メモリ15のデータを主記憶部1
3に書き戻し(ステップE3)、次いで、不揮発性メモ
リ15内の変数Sを「0」とし(ステップE4)、その
後、OSを立ち上げるようになる(ステップE2)。
Next, when the failure of the main power supply device 3 is recovered and the system is started up, the flowchart shown in FIG. 6 is executed. In this case, the initialization program is started and refers to the variable S in the nonvolatile memory 15 (step E
1). Here, if the data has not been saved in the nonvolatile memory 15 and S=0, it is determined as NO, and the normal procedure is performed.
Start up S (step E2). On the other hand, if the data is saved in the nonvolatile memory 15 and S=1, YES
It is determined that the data in the non-volatile memory 15 is transferred to the main storage unit 1.
3 (step E3), then the variable S in the nonvolatile memory 15 is set to "0" (step E4), and then the OS is started (step E2).

【0026】このようにすれば、電源障害が発生した時
点で、主記憶部13の二次記憶装置用のバッファにある
全てのデータが不揮発性メモリ15に回避され、その後
、再び主記憶部13の二次記憶装置用のバッファに戻さ
れるようになるので、主記憶部13の二次記憶装置用の
バッファの内容が保証されるだけでなく、障害発生時に
行っていたプロセスのコンテクスト(プログラムの実行
状態)まで復旧することができるので、障害発生の時点
で計算機が実行していた処理の途中から処理を再開する
ことができる。
In this way, when a power failure occurs, all the data in the buffer for the secondary storage device of the main storage section 13 is saved to the nonvolatile memory 15, and then the main storage section 13 is saved again. This not only guarantees the contents of the secondary storage buffer in the main memory unit 13, but also restores the context of the process (program) that was being executed at the time of the failure. Since the computer can be restored to the execution state), it is possible to restart the process from the middle of the process that the computer was executing at the time the failure occurred.

【0027】なお、上述した各実施例では、いずれも電
源障害が発生した場合を述べたが、故意に電源を切った
場合でも上述と同様に主記憶部13上の消失してならな
いデータが、再び計算機システムが立ち上がる際に保証
されるようになる。この場合、従来の計算機では、その
動作を停止する際に、主記憶部のバッファ内データをい
ちいち二次記憶装置に書き戻すようになっているが、こ
のような必要がないので、高速にしてシステムを停止す
ることができる。特に、図5および図6の実施例の場合
は、電源を切った時点の計算機内部の状態が完全に保存
され、計算機の電源を再び入れた際にも、電源を切った
時点の状態を再現することができ、しかも、この処理は
、二次記憶装置にアクセスすることなく行われるので、
高速処理が得られ、これによりシステムの停止、システ
ム起動が非常に高速な計算機システムが実現できること
になる。
In each of the above-described embodiments, a case has been described in which a power failure occurs, but even if the power is intentionally turned off, the data in the main memory section 13 that must not be lost will still be lost, as described above. This will be guaranteed when the computer system starts up again. In this case, in conventional computers, the data in the buffer in the main memory is written back to the secondary storage device each time the computer stops its operation, but since there is no need for this, it can be done at high speed. The system can be stopped. In particular, in the case of the embodiments shown in Figures 5 and 6, the internal state of the computer at the time the power is turned off is completely saved, and even when the computer is turned on again, the state at the time the power was turned off is reproduced. Moreover, this process is performed without accessing the secondary storage device.
High-speed processing can be obtained, and as a result, a computer system that can stop and start the system very quickly can be realized.

【0028】[0028]

【発明の効果】本発明の計算システムによれば、何等か
の理由により計算機本体に対する主電源からの電力供給
が断たれると、これに代わって予備電源より計算機本体
に電力供給を行うと同時に、主記憶部上データバッファ
での少なくとも消失してならないデータを不揮発性の記
憶手段に退避させるようにできるので、電源障害などに
原因する主電源断の際も、データ消失を回避できる。ま
た、予備電源は、必要なデータを主記憶部から不揮発性
の記憶手段に退避する時間だけ電力供給を行い、しかも
、この電力供給は、計算機本体をバックアップのみに使
用するので、予備電源を小さな容量のものにできる。 さらに、計算機システムを2組用意する必要もないので
、コストの大幅な低減を図ることもできる。
[Effects of the Invention] According to the calculation system of the present invention, when the power supply from the main power source to the computer body is cut off for some reason, power is supplied to the computer body from the standby power source instead. Since at least the data in the data buffer on the main memory that must not be lost can be saved to a nonvolatile storage means, data loss can be avoided even when the main power is cut off due to a power failure or the like. In addition, the backup power supply supplies power only during the time required to save the necessary data from the main memory to a non-volatile storage means, and since this power supply is only used for backing up the computer itself, the backup power supply can be used as a small It can be made into a large capacity. Furthermore, since there is no need to prepare two sets of computer systems, it is possible to significantly reduce costs.

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

【図1】本発明の一実施例の概略的構成を示す図。FIG. 1 is a diagram showing a schematic configuration of an embodiment of the present invention.

【図2】同実施例の動作を説明するためのフローチャー
ト。
FIG. 2 is a flowchart for explaining the operation of the embodiment.

【図3】同実施例の動作を説明するためのフローチャー
ト。
FIG. 3 is a flowchart for explaining the operation of the embodiment.

【図4】本発明の他の実施例の動作を説明するためのフ
ローチャート。
FIG. 4 is a flowchart for explaining the operation of another embodiment of the present invention.

【図5】本発明の異なる他の実施例の動作を説明するた
めのフローチャート。
FIG. 5 is a flowchart for explaining the operation of another embodiment of the present invention.

【図6】異なる他の実施例の動作を説明するためのフロ
ーチャート。
FIG. 6 is a flowchart for explaining the operation of another different embodiment.

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

1…計算機本体、11…CPU、12…システムバス、
13…主記憶部、14…I/Oインターフェース、15
…不揮発性メモリ、16…予備電源装置、2…二次記憶
装置、3…主電源装置。
1... Computer body, 11... CPU, 12... System bus,
13...Main storage unit, 14...I/O interface, 15
...Nonvolatile memory, 16.. Backup power supply device, 2.. Secondary storage device, 3.. Main power supply device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  主電源からの供給電力により計算機本
体内部での処理結果を主記憶部上のデータバッファに一
時記憶させその後外部記憶手段に書き込むようにした計
算機システムにおいて、上記主電源の電力供給が断たれ
るとこれに代わって上記計算機本体に電力供給を行う予
備電源と、上記予備電源からの供給電力により上記主記
憶部上データバッファでの少なくとも消失してならない
データを退避させる不揮発性の記憶手段とを具備したこ
とを特徴とする計算機システム。
Claim 1: In a computer system in which processing results within the computer main body are temporarily stored in a data buffer on a main memory section using power supplied from a main power source, and then written to an external storage means, the power supply from the main power source is provided. a backup power supply that supplies power to the computer main body in place of the power supply when the power supply is cut off, and a non-volatile power supply that uses the power supplied from the backup power supply to save at least the data that must not be lost in the data buffer on the main memory. A computer system characterized by comprising a storage means.
JP3034629A 1991-02-28 1991-02-28 Computer system Pending JPH04273553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3034629A JPH04273553A (en) 1991-02-28 1991-02-28 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3034629A JPH04273553A (en) 1991-02-28 1991-02-28 Computer system

Publications (1)

Publication Number Publication Date
JPH04273553A true JPH04273553A (en) 1992-09-29

Family

ID=12419695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3034629A Pending JPH04273553A (en) 1991-02-28 1991-02-28 Computer system

Country Status (1)

Country Link
JP (1) JPH04273553A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001178685A (en) * 1999-12-22 2001-07-03 Olympus Optical Co Ltd Medical electronic instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001178685A (en) * 1999-12-22 2001-07-03 Olympus Optical Co Ltd Medical electronic instrument

Similar Documents

Publication Publication Date Title
US5931954A (en) I/O control apparatus having check recovery function
US7840768B2 (en) Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support
US20060150010A1 (en) Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support
US6438708B1 (en) Information processing apparatus that can hold internal information
JPH07175728A (en) Disk cache data maintenance system
US20220291857A1 (en) Ssd supporting read-only mode after plp backup failure
US20040199757A1 (en) Information processing device, method of saving and loading data, and information recording medium
CN114756355B (en) Method and device for automatically and quickly recovering process of computer operating system
JPH04273553A (en) Computer system
KR101888781B1 (en) Persistent dynamic random access memory storage using non-volatile ram and operating method therefof
JP4358943B2 (en) Automatic backup system and recording medium recording automatic backup program
JP2003122644A (en) Computer and its storage device
JPH0728572A (en) Automatic data preserving device at power interruption
USRE45632E1 (en) Memory-controller-embedded apparatus and procedure for achieving system-directed checkpointing without operating-system kernel support
JP2000267936A (en) Disk sub-system
JPH03163617A (en) Warm-boot method of program in computer system
JP3234029B2 (en) Semiconductor storage device
JP3463696B2 (en) Online garbage collection processing method
JPH04218842A (en) Reexecution method for program
JPS6381537A (en) Computer system
KR100362572B1 (en) Duplication method and duplication processor apparatus for communication apparatus
JPS62286143A (en) Semiconductor memory device
JPS585856A (en) Error recovery system for logical device
JPH0830520A (en) Computer system
JPH0619808A (en) Information processor