JPH0683720A - Data backup type computer system - Google Patents

Data backup type computer system

Info

Publication number
JPH0683720A
JPH0683720A JP4234786A JP23478692A JPH0683720A JP H0683720 A JPH0683720 A JP H0683720A JP 4234786 A JP4234786 A JP 4234786A JP 23478692 A JP23478692 A JP 23478692A JP H0683720 A JPH0683720 A JP H0683720A
Authority
JP
Japan
Prior art keywords
data
backup
unit
memory
memory 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.)
Withdrawn
Application number
JP4234786A
Other languages
Japanese (ja)
Inventor
Masahiro Ishizuka
正弘 石塚
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP4234786A priority Critical patent/JPH0683720A/en
Publication of JPH0683720A publication Critical patent/JPH0683720A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • Y02B60/1225

Abstract

PURPOSE:To reduce the load of a CPU by shortening the data backup operation time of the CPU at the occurance of service interruption and to use an inexpensive power supply using a capacitor with low capacity in respect to a data backup type computer system for transferring important data being processed immediately before the generation of service interruption to a memory so as to hold data even in a service-interrupted state. CONSTITUTION:A backup memory device 6A is constituted of a memory part 7 for storing data in a main memory device 3 for a prescribed time from the power OFF, a reference memory part 8 having the same writing address as that of the memory part 7a and a backup data comparing/checking part 10 for comparing data written in the memory part 8 with data written in the memory part 7 to check backup data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、停電直前に処理中の重
要データをメモリに転送し停電状態においてもデータを
保持するためのデータバックアップ式コンピュータシス
テムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data backup type computer system for transferring important data being processed to a memory immediately before a power failure and retaining the data even in a power failure state.

【0002】[0002]

【従来の技術】一般に、図5に示すように、CPU(中
央演算装置)1,I/O部2,主メモリ装置3の相互を
システムバス4を介して接続して構成されるとともに電
源部5から電力供給されて動作するコンピュータシステ
ムにおいては、停電直前に処理中の重要データを消失し
ないように、システムバス4にはバックアップメモリ装
置(例えばEEPROMからなるもの)6が接続されて
おり、このバックアップメモリ装置6のメモリ部に停電
直前の処理中データ,主メモリ装置3内のデータが転送
され、停電状態においてもデータが保持されるようにな
っている。
2. Description of the Related Art Generally, as shown in FIG. 5, a central processing unit (CPU) 1, an I / O unit 2 and a main memory unit 3 are connected to each other via a system bus 4 and a power supply unit is also provided. In a computer system which is powered by 5 and operates, a backup memory device (for example, an EEPROM) 6 is connected to the system bus 4 so as not to lose important data being processed immediately before a power failure. The data being processed immediately before the power failure and the data in the main memory device 3 are transferred to the memory section of the backup memory device 6, and the data is retained even in the power failure state.

【0003】ところで、電源部5は図6に示すように構
成されている。この図6において、5aは一次側入力
(AC入力またはDC入力)S1 を二次側出力(DC出
力)S 2 に変換して各部へ電力供給するAC/DC(ま
たはDC/DC)変換部、5bはこのAC/DC変換部
5aの二次側出力S2 の異状を検出する二次側出力異状
検出部、5cはAC/DC変換部5aの一次側入力S1
の異状を検出する一次側入力異状検出部、5dは二次側
出力異状検出部5bからの異状検出信号S4 および一次
側入力異状検出部5cからの異状検出信号S3 を受けて
停電警報信号S5をCPU1へ出力する停電警報出力部
である。
By the way, the power supply unit 5 is constructed as shown in FIG.
Is made. In FIG. 6, 5a is a primary side input
(AC input or DC input) S1Secondary side output (DC output
Power) S 2AC / DC (or
Or DC / DC) converter, 5b is this AC / DC converter
Secondary side output S of 5a2Secondary output abnormality that detects abnormalities in
The detector 5c is the primary side input S of the AC / DC converter 5a.1
Input abnormality detecting section for detecting abnormalities in
Anomaly detection signal S from the output anomaly detector 5bFourAnd primary
Abnormality detection signal S from the side input abnormality detection unit 5c3Received
Blackout warning signal SFivePower failure warning output section that outputs the data to CPU1
Is.

【0004】このような構成の電源部5により、図7に
示すように、一次側入力異状検出部5cにより一次側入
力S1 の異状(入力の立ち下がり)を検出すると、一次
側入力異状検出部5cからの異状検出信号S3 が立ち上
がり、この異状検出信号S3を受けた停電警報出力部5
dは、停電警報信号S5 を立ち上げCPU1へ出力す
る。そして、AC/DC変換部5aには、一次側入力S
1 が立ち下がってから所定時間T1 の間は二次側出力S
2 の出力状態を保持しうるコンデンサ(図示せず)がそ
なえられている。
As shown in FIG. 7, when the primary side input abnormality detecting section 5c detects an abnormality in the primary side input S 1 (falling of the input), the power source section 5 having such a configuration detects the primary side input abnormality. rise abnormality detection signal S 3 from the parts 5c, the power failure alarm output unit 5 which has received the abnormality detection signal S 3
d raises the power failure warning signal S 5 and outputs it to the CPU 1. Then, the AC / DC converter 5a receives the primary side input S
Secondary side output S for a predetermined time T 1 after 1 falls
A capacitor (not shown) capable of holding the output state of 2 is provided.

【0005】また、電源部5から停電警報信号S5 を受
けたCPU1は、電源部5の二次側出力S2 の出力状態
が保持される所定時間T1 以内に、停電直前の処理中デ
ータ,主メモリ装置3内のデータを全てバックアップメ
モリ装置6に転送し、停電状態においてもデータをバッ
クアップメモリ装置6のメモリ部内に保持する。
Further, CPU 1 from the power supply unit 5 has received the power failure alarm signal S 5 is the predetermined time T 1 within which the output state of the secondary side output S 2 of the power supply unit 5 is held, just before the power failure in the process data , All the data in the main memory device 3 is transferred to the backup memory device 6, and the data is held in the memory portion of the backup memory device 6 even in the power failure state.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、バック
アップメモリ装置6のメモリ部として一般的なEEPR
OMを用いた場合、そのEEPROMメモリの仕様上、
例えば、まずデータを170ns程度の書込時間t1
かけて書き込んでから、10ms程度の待ち時間t2
経た後に、書き込んだデータのチェックを行なうべく、
400ms程度の読出時間t3 をかけてCPU1まで書
込みデータを読み出すため、図8に示すように、8k/
byteのEEPROMを用いた場合、全アドレスへの
データ書込みには、およそ81.9sという時間がかか
ってしまう。
However, the general EEPR as the memory unit of the backup memory device 6 is used.
When OM is used, due to the specifications of the EEPROM memory,
For example, first, after writing the data for a writing time t 1 of about 170 ns and after waiting time t 2 of about 10 ms, check the written data.
Since the write data is read to the CPU 1 over the read time t 3 of about 400 ms, as shown in FIG.
When the byte EEPROM is used, it takes about 81.9 s to write data to all addresses.

【0007】従って、この81.9sという長い時間に
亘って、CPU1はデータのバックアップ動作に占有さ
れてしまい、CPU1に対する負荷が大きくなるほか、
図7に示した電源部5の二次側出力S2 の出力状態を保
持する所定時間T1 を81.9s以上にしなければなら
ず、極めて大容量のコンデンサを装備する必要があり、
装置に要するコスト増の要因となっている。
Therefore, the CPU 1 is occupied by the data backup operation for a long time of 81.9 s, which increases the load on the CPU 1 and
The predetermined time T 1 for holding the output state of the secondary side output S 2 of the power supply unit 5 shown in FIG. 7 must be set to 81.9 s or more, and it is necessary to equip an extremely large capacity capacitor,
This is a factor in increasing the cost required for the device.

【0008】本発明は、このような課題に鑑み創案され
たもので、停電発生時におけるCPUによるデータのバ
ックアップ動作時間を短縮できるようにして、CPUに
対する負荷の低減をはかるとともに、電源部の二次側出
力の保持時間を短縮することにより低容量のコンデンサ
を用いた安価な電源部を使用できるようにしたデータバ
ックアップ方式を提供することを目的とする。
The present invention was devised in view of the above problems, and can reduce the load on the CPU and reduce the load on the CPU by shortening the data backup operation time by the CPU when a power failure occurs. It is an object of the present invention to provide a data backup method in which an inexpensive power supply unit using a low-capacity capacitor can be used by shortening the holding time of the secondary output.

【0009】[0009]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図で、この図1において、1はCPU(中央演算装
置)、3は主メモリ装置、4はこれらのCPU1,主メ
モリ装置3,後述するバックアップメモリ装置6Aを接
続するシステムバスで、このシステムバス4を介してC
PU1,主メモリ装置3,バックアップメモリ装置6A
が接続されてコンピュータシステムが構成されている。
FIG. 1 is a block diagram of the principle of the present invention. In FIG. 1, 1 is a CPU (central processing unit), 3 is a main memory device, 4 is these CPU 1, main memory device 3 , A system bus for connecting a backup memory device 6A, which will be described later, through the system bus 4
PU1, main memory device 3, backup memory device 6A
Are connected to form a computer system.

【0010】そして、電源断時から所要時間以内に、主
メモリ装置3内のデータ(CPU1により処理中のデー
タ)をバックアップメモリ装置6Aのメモリ部7に保持
すべく、このバックアップメモリ装置6Aが、データバ
ックアップのためのメモリ部7のほかに、このメモリ部
7への書き込みアドレスと同じ書き込みアドレスの参照
用メモリ部8と、メモリ部7および参照用メモリ部8に
共通のアドレスを与えるアドレス発生部9とをそなえる
とともに、参照用メモリ部8に書き込まれたデータとメ
モリ部7に書き込まれたデータとを比較してバックアッ
プデータのチェックを行なうバックアップデータ比較・
チェック部10と、制御部11とをそなえて構成されて
いる。
Then, in order to hold the data in the main memory device 3 (data being processed by the CPU 1) in the memory portion 7 of the backup memory device 6A within a required time after power-off, the backup memory device 6A In addition to the memory section 7 for data backup, a reference memory section 8 having the same write address as the write address to the memory section 7, and an address generation section for giving a common address to the memory section 7 and the reference memory section 8 Backup data comparison and checking the backup data by comparing the data written in the reference memory unit 8 with the data written in the memory unit 7.
The check unit 10 and the control unit 11 are provided.

【0011】さらに、バックアップデータ比較・チェッ
ク部10は、参照用メモリ部8に書き込まれたデータと
メモリ部7に書き込まれたデータとを比較するデータ比
較部10aと、このデータ比較部10aでの比較結果か
らバックアップデータのチェックを行ないそのチェック
結果をCPU1へ送るバックアップデータチェック部1
0bとから構成されている。
The backup data comparing / checking unit 10 further includes a data comparing unit 10a for comparing the data written in the reference memory unit 8 with the data written in the memory unit 7, and the data comparing unit 10a. The backup data check unit 1 that checks the backup data from the comparison result and sends the check result to the CPU 1.
0b and 0b.

【0012】また、制御部11は、電源断時に主メモリ
装置3内のデータをメモリ部7および参照用メモリ部8
に同時に同じアドレスで書き込むとともに、参照用メモ
リ部8に書き込まれたデータとメモリ部7に書き込まれ
たデータとを逐次読み出して両データをバックアップデ
ータ比較・チェック部10で比較させてバックアップデ
ータのチェックを行なわせるものである。
Further, the control unit 11 stores the data in the main memory device 3 in the memory unit 7 and the reference memory unit 8 when the power is cut off.
To the reference memory unit 8 and the data written to the memory unit 7 sequentially, and both data are compared by the backup data comparison / check unit 10 to check the backup data. Is something that is done.

【0013】[0013]

【作用】上述の本発明のデータバックアップ式コンピュ
ータシステムでは、電源断時から所要時間以内に、主メ
モリ装置3内のデータは、制御部11により制御される
アドレス発生部9からのアドレスに応じて、バックアッ
プメモリ装置6Aにおけるメモリ部7および参照用メモ
リ部8に同時に同じアドレスで書き込まれる。
In the above-described data backup type computer system of the present invention, the data in the main memory device 3 is responsive to the address from the address generator 9 controlled by the controller 11 within a required time after the power is turned off. , Are simultaneously written to the memory unit 7 and the reference memory unit 8 in the backup memory device 6A at the same address.

【0014】そして、書込み終了後、制御部11の指令
に応じてアドレス発生部9からメモリ部7および参照用
メモリ部8に共通のアドレスが出力されて、参照用メモ
リ部8に書き込まれたデータとメモリ部7に書き込まれ
たデータとが逐次読み出され、両データがバックアップ
データ比較・チェック部10のデータ比較部10aで比
較される。
After the writing is completed, the address generator 9 outputs a common address to the memory unit 7 and the reference memory unit 8 in response to a command from the control unit 11, and the data written in the reference memory unit 8 is written. And the data written in the memory unit 7 are sequentially read, and both data are compared by the data comparison unit 10a of the backup data comparison / check unit 10.

【0015】この後、データ比較部10aでの比較結果
からバックアップデータのチェックが、バックアップデ
ータ比較・チェック部10のバックアップデータチェッ
ク部10bによりチェックされ、そのチェック結果がC
PU1へ送出される。
Thereafter, the backup data check unit 10b of the backup data comparison / check unit 10 checks the backup data from the comparison result of the data comparison unit 10a, and the check result is C
It is sent to PU1.

【0016】[0016]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図2は本発明の一実施例としてのデータバックア
ップ式コンピュータシステムの全体構成を示すブロック
図で、まず図2により本実施例のコンピュータシステム
の全体構成について簡単に説明すると、図2に示すよう
に、本実施例のコンピュータシステムも図5に示した従
来のものとほぼ同様に構成されている。
Embodiments of the present invention will be described below with reference to the drawings. 2 is a block diagram showing the overall configuration of a data backup type computer system as an embodiment of the present invention. First, the overall configuration of the computer system of the present embodiment will be briefly described with reference to FIG. 2 as shown in FIG. The computer system of this embodiment is also constructed in substantially the same way as the conventional system shown in FIG.

【0017】つまり、システムバス4を介してCPU
(中央演算装置)1,I/O部2,主メモリ装置3,本
実施例のバックアップメモリ装置6Aが接続されてコン
ピュータシステムが構成され、このコンピュータシステ
ムには、電源部5から電力供給が行なわれるようになっ
ている。ここで、電源部5は、図6に示したものと全く
同様に構成されており、電源部5において異状が発生し
た場合には、この電源部5から停電警報信号S5 がCP
U1へ出力されるようになっている。電源部5からの停
電警報信号S5 を受けたCPU1は、停電直前に重要デ
ータを消失しないように、バックアップメモリ装置6A
に対してバックアップ指令を出力し、電源断時から所要
時間以内に、主メモリ装置3内のデータをバックアップ
メモリ装置6Aのメモリ部6aに転送させて保持・記憶
させている。
That is, the CPU via the system bus 4
(Central processing unit) 1, I / O unit 2, main memory device 3, backup memory device 6A of this embodiment are connected to form a computer system, and power is supplied from a power supply unit 5 to this computer system. It is supposed to be. Here, the power supply unit 5 is configured in exactly the same manner as that shown in FIG. 6, and when an abnormality occurs in the power supply unit 5, the power failure warning signal S 5 is transmitted from the power supply unit 5 as CP.
It is designed to be output to U1. CPU1 which receives the power failure alarm signal S 5 from the power supply unit 5, so as not to lose important data just before the power failure, the backup memory device 6A
A backup command is output to the memory unit 6a and the data in the main memory device 3 is transferred to and held and stored in the memory unit 6a of the backup memory device 6A within a required time after the power is turned off.

【0018】次に、本実施例のバックアップメモリ装置
6Aの構成を図3により説明すると、この図3におい
て、7Aは電源断時から所要時間以内に主メモリ装置3
内のデータを保持・記憶してデータバックアップするた
めのEEPROM(電気的消去可能型メモリ;メモリ
部)、8AはEEPROM7Aに対して並列的に配置さ
れこのEEPROM7Aへの書き込みアドレスと同じ書
き込みアドレスで主メモリ装置3内のデータを記憶する
RAM(参照用メモリ部)、9はEEPROM7Aおよ
びRAM8Aにアドレスバス17を介して共通のアドレ
スを与えるアドレス発生部である。
Next, the configuration of the backup memory device 6A of this embodiment will be described with reference to FIG. 3. In FIG. 3, 7A is the main memory device 3 within a required time after the power is turned off.
An EEPROM (electrically erasable memory; memory unit) for holding / storing the data in the internal memory, and a memory unit, 8A are arranged in parallel with the EEPROM 7A and are mainly arranged at the same write address as the write address to the EEPROM 7A. A RAM (reference memory section) 9 for storing data in the memory device 3 is an address generating section for giving a common address to the EEPROM 7A and the RAM 8A via the address bus 17.

【0019】EEPROM7AおよびRAM8Aへのデ
ータは、システムバス4(図2参照)に接続されたデー
タバス13と、後述する制御部11により制御されるゲ
ート12と、データバス14とを通して、アドレス発生
部9により発生された共通のアドレスに書き込まれるよ
うになっている。また、10はRAM8Aに書き込まれ
たデータとEEPROM7Aに書き込まれたデータとを
比較してバックアップデータのチェックを行なうバック
アップデータ比較・チェック部で、このバックアップデ
ータ比較・チェック部10は、アドレス発生部9により
発生された共通のアドレスに応じてEEPROM7Aお
よびRAM8Aから読み出されたデータをそれぞれデー
タバス15,16を介して受けこれらのデータを比較す
るデータ比較部10aと、このデータ比較部10aでの
比較結果を応答線23を介して受けバックアップデータ
のチェックを行ないそのチェック結果S7 を信号線25
を通じてCPU1へ送るバックアップデータチェック部
10bとから構成されている。
Data to the EEPROM 7A and the RAM 8A is sent to an address generator through a data bus 13 connected to the system bus 4 (see FIG. 2), a gate 12 controlled by a controller 11 described later, and a data bus 14. It is adapted to be written to a common address generated by 9. Reference numeral 10 denotes a backup data comparison / check unit for checking the backup data by comparing the data written in the RAM 8A with the data written in the EEPROM 7A. The backup data comparison / check unit 10 includes the address generation unit 9 And a data comparison unit 10a for receiving the data read from the EEPROM 7A and the RAM 8A in accordance with the common address generated by the data bus 15 and 16 and comparing the data with each other. The result is received via the response line 23, the backup data is checked, and the check result S 7 is sent to the signal line 25.
The backup data check unit 10b is sent to the CPU 1 through the.

【0020】さらに、11は制御線18〜22を介して
それぞれアドレス発生部9,ゲート12,EEPROM
7A,RAM8A,バックアップデータ比較・チェック
部10を制御する制御部で、この制御部11は、電源断
時に、ゲート12およびアドレス発生部9を制御して主
メモリ装置3内のデータをEEPROM7AおよびRA
M8A同時に同じアドレスで書き込むとともに、信号線
24を介してCPU1からメモリチェック指令S6 を受
けると、アドレス発生部9およびバックアップデータ比
較・チェック部10を制御して、RAM8Aに書き込ま
れたデータとメモリ部7に書き込まれたデータとを逐次
読み出して両データをバックアップデータ比較・チェッ
ク部10で比較させてバックアップデータのチェックを
行なわせるものである。
Further, 11 is an address generator 9, a gate 12 and an EEPROM via control lines 18 to 22, respectively.
7A, RAM 8A, and a backup data comparison / check unit 10, which controls the gate 12 and the address generation unit 9 when the power is turned off so that the data in the main memory device 3 can be stored in the EEPROM 7A and RA.
M8A writes at the same address at the same time, and when it receives a memory check command S 6 from the CPU 1 via the signal line 24, it controls the address generation unit 9 and the backup data comparison / check unit 10 to write the data and the memory written in the RAM 8A. The data written in the unit 7 is sequentially read and both data are compared by the backup data comparing / checking unit 10 to check the backup data.

【0021】上述の構成により、電源部5において異状
が発生すると、図6,図7にて前述した手順と同様にし
て、電源部5からCPU1へ停電警報信号S5 が出力さ
れる。この停電警報信号S5 を受けたCPU1は、電源
部5の二次側出力S2 の出力状態が保持される所定時間
1 以内に、停電直前の処理中データ,主メモリ装置3
内のデータを全てバックアップメモリ装置6Aに転送
し、そのデータをバックアップメモリ装置6AのEEP
ROM7A内に保持するように、バックアップ指令を出
力する。
With the above configuration, when an abnormality occurs in the power supply unit 5, the power supply unit 5 outputs the power failure warning signal S 5 to the CPU 1 in the same manner as the procedure described above with reference to FIGS. The CPU 1, which receives the power failure warning signal S 5 , receives the processing data immediately before the power failure and the main memory device 3 within the predetermined time T 1 during which the output state of the secondary side output S 2 of the power supply unit 5 is maintained.
All data in the backup memory device 6A is transferred to the EEP of the backup memory device 6A.
A backup command is output so as to hold it in the ROM 7A.

【0022】このとき、本実施例のバックアップメモリ
装置6Aにおいては、主メモリ装置3内のデータは、電
源断時から所要時間T1 以内に、制御部11により制御
されるアドレス発生部9からの共通アドレスに応じて、
且つ、制御部11により制御されるゲート12を介し
て、EEPROM7AおよびRAM8Aに同時に同じア
ドレスで書き込まれる。
At this time, in the backup memory device 6A of this embodiment, the data in the main memory device 3 is transferred from the address generator 9 controlled by the controller 11 within the required time T 1 after the power is turned off. Depending on the common address,
Moreover, the data is simultaneously written in the EEPROM 7A and the RAM 8A at the same address via the gate 12 controlled by the control unit 11.

【0023】そして、書込み終了後、制御部11は、ア
ドレス発生部9からEEPROM7AおよびRAM8A
に共通のアドレスを自動的に変化・出力させ、RAM8
Aに書き込まれたデータとEEPROM7Aに書き込ま
れたデータとが逐次読み出し、両データをバックアップ
データ比較・チェック部10へ入力させて、これらのデ
ータをデータ比較部10aで比較させる。
Then, after the writing is completed, the control unit 11 controls the address generation unit 9 to read the EEPROM 7A and the RAM 8A.
The common address is automatically changed and output to RAM8
The data written in A and the data written in the EEPROM 7A are sequentially read, both data are input to the backup data comparison / check unit 10, and these data are compared by the data comparison unit 10a.

【0024】この後、データ比較部10aでの比較結果
が応答線23を介してバックアップデータチェック部1
0bへ出力され、その比較結果をバックアップデータチ
ェック部10bによりチェックして保持し、制御部11
が、CPU1からのメモリチェック指令S6 を受ける
と、そのチェック結果S7 を信号線25を介してCPU
1へ送出する。
After this, the comparison result of the data comparison unit 10a is transferred to the backup data check unit 1 via the response line 23.
0b, the comparison result is checked and held by the backup data check unit 10b, and the control unit 11b
However, when receiving the memory check command S 6 from the CPU 1, the check result S 7 is sent to the CPU via the signal line 25.
Send to 1.

【0025】このように、本実施例のデータバックアッ
プ式コンピュータシステムによれば、EEPROM7A
に保存されたデータのチェックが、CPU1まで読み出
すことなく、バックアップメモリ装置6A内において、
RAM8Aの同一アドレスに書き込まれたデータと比較
することで行なわれ、その読出データチェック処理動作
を、図4に示すように行なうことができる。
As described above, according to the data backup type computer system of this embodiment, the EEPROM 7A
Checking the data stored in the backup memory device 6A without reading to the CPU 1
This is performed by comparing with the data written in the same address of RAM 8A, and the read data check processing operation can be performed as shown in FIG.

【0026】つまり、図8に示した従来のごとく各アド
レス毎に書込/読出を行なってCPU1でデータチェッ
クを行なう必要がなくなり、本実施例では、図4に示す
ように、書込および読出をまとめて行なうことができ、
8k/byteのEEPROMを用いた場合、全アドレ
スへのデータ書込みに要する時間は、わずか14.6m
sとなり、従来の81.9sに比べて大幅に短縮され
る。
That is, there is no need to perform writing / reading for each address and checking data by the CPU 1 as in the conventional case shown in FIG. 8. In this embodiment, as shown in FIG. 4, writing and reading are performed. Can be done collectively,
When using 8k / byte EEPROM, the time required to write data to all addresses is only 14.6m.
s, which is significantly shorter than the conventional 81.9s.

【0027】また、従来のシステムでは、前述した8
1.9sという長い時間に亘って、CPU1がデータの
バックアップ動作に占有されていたが、本実施例のシス
テムでは、データチェックはバックアップメモリ装置6
A内で行なわれるため、データのバックアップ動作に占
有される時間は、バックアップメモリ装置6Aに対して
数μsのバックアップ指令と、図4に示す書込時間1.
4msと、バックアップ完了割込処理の数μsとの合計
2ms程度となる。
In the conventional system, the above-mentioned 8
Although the CPU 1 was occupied by the data backup operation for a long time of 1.9 s, in the system of this embodiment, the data check is performed by the backup memory device 6.
Since it is carried out in A, the time occupied by the data backup operation is a backup command of several μs to the backup memory device 6A and the write time 1.
The total time of 4 ms and the number of backup completion interrupt processing μs is about 2 ms.

【0028】従って、停電発生時におけるCPU1によ
るデータのバックアップ動作時間を大幅に短縮でき、C
PU1に対する負荷を大きく低減できるとともに、電源
部5の二次側出力の保持時間T1 を短縮でき低容量のコ
ンデンサを用いた安価な電源部を使用できるなどの利点
がある。
Therefore, the data backup operation time by the CPU 1 at the time of power failure can be greatly shortened, and C
The load on the PU 1 can be greatly reduced, the holding time T 1 of the secondary side output of the power supply unit 5 can be shortened, and an inexpensive power supply unit using a low-capacity capacitor can be used.

【0029】[0029]

【発明の効果】以上詳述したように、本発明のデータバ
ックアップ式コンピュータシステムによれば、電源断時
から所要時間以内に、主メモリ装置内のデータを、制御
部により制御されるアドレス発生部からのアドレスに応
じて、バックアップメモリ装置におけるメモリ部および
参照用メモリ部に同時に同じアドレスで書き込んだ後、
制御部の指令に応じてアドレス発生部からメモリ部およ
び参照用メモリ部に共通のアドレスを出力して、参照用
メモリ部に書き込まれたデータとメモリ部に書き込まれ
たデータとを逐次読み出し、両データをバックアップデ
ータ比較・チェック部で比較・チェックするように構成
したので、停電発生時におけるCPUによるデータのバ
ックアップ動作時間を短縮でき、CPUに対する負荷を
低減できるとともに、電源部の二次側出力の保持時間を
短縮することができ、低容量のコンデンサを用いた安価
な電源部を使用でき、装置に要するコストを大幅に低減
できる効果がある。
As described above in detail, according to the data backup type computer system of the present invention, the data in the main memory device is controlled by the address generation unit controlled by the control unit within the required time after the power is turned off. According to the address from, after writing at the same address to the memory section and the reference memory section in the backup memory device at the same time,
The address generation unit outputs a common address to the memory unit and the reference memory unit in response to a command from the control unit, and the data written in the reference memory unit and the data written in the memory unit are sequentially read out. Since the data is configured to be compared / checked by the backup data comparison / check unit, the data backup operation time by the CPU in the event of a power failure can be shortened, the load on the CPU can be reduced, and the secondary side output of the power supply unit can be reduced. The holding time can be shortened, an inexpensive power supply unit using a low-capacity capacitor can be used, and the cost required for the device can be significantly reduced.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の一実施例としてのデータバックアップ
式コンピュータシステムの全体構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing the overall configuration of a data backup type computer system as an embodiment of the present invention.

【図3】本実施例におけるバックアップメモリ装置の構
成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of a backup memory device in this embodiment.

【図4】本実施例のシステムにおけるバックアップデー
タのチェックに要する時間について説明するための図で
ある。
FIG. 4 is a diagram for explaining a time required for checking backup data in the system of the present embodiment.

【図5】従来のデータバックアップ式コンピュータシス
テムの全体構成を示すブロック図である。
FIG. 5 is a block diagram showing an overall configuration of a conventional data backup type computer system.

【図6】電源部の一般的な構成を示すブロック図であ
る。
FIG. 6 is a block diagram showing a general configuration of a power supply unit.

【図7】電源部の一般的な動作特性を説明するためのタ
イミングチャートである。
FIG. 7 is a timing chart for explaining general operation characteristics of a power supply unit.

【図8】従来システムにおけるバックアップデータのチ
ェックに要する時間について説明するための図である。
FIG. 8 is a diagram for explaining a time required to check backup data in a conventional system.

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

1 CPU(中央演算装置) 2 I/O部 3 主メモリ装置 4 システムバス 5 電源部 6A バックアップメモリ装置 7 メモリ部 7A EEPROM(電気的消去可能型メモリ,メモリ
部) 8 参照用メモリ部 8A RAM 9 アドレス発生部 10 バックアップデータ比較・チェック部 11 制御部 12 ゲート 13〜16 データバス 17 アドレスバス 18〜22 制御線 23 応答線 24,25 信号線
1 CPU (Central Processing Unit) 2 I / O Unit 3 Main Memory Device 4 System Bus 5 Power Supply Unit 6A Backup Memory Device 7 Memory Unit 7A EEPROM (Electrically Erasable Memory, Memory Unit) 8 Reference Memory Unit 8A RAM 9 Address generation unit 10 Backup data comparison / check unit 11 Control unit 12 Gate 13 to 16 data bus 17 Address bus 18 to 22 Control line 23 Response line 24, 25 Signal line

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 システムバス(4)を介して中央演算装
置(1),主メモリ装置(3),バックアップメモリ装
置(6A)が接続されてなるコンピュータシステムにお
いて、 電源断時から所要時間以内に、該主メモリ装置(3)内
のデータを該バックアップメモリ装置(6A)のメモリ
部(7)に保持すべく、 該バックアップメモリ装置(6A)が、データバックア
ップのための該メモリ部(7)のほかに、該メモリ部
(7)への書き込みアドレスと同じ書き込みアドレスの
参照用メモリ部(8)をそなえるとともに、該参照用メ
モリ部(8)に書き込まれたデータと該メモリ部(7)
に書き込まれたデータとを比較してバックアップデータ
のチェックを行なうバックアップデータ比較・チェック
部(10)をそなえて構成されたことを特徴とする、デ
ータバックアップ式コンピュータシステム。
1. A computer system in which a central processing unit (1), a main memory unit (3), and a backup memory unit (6A) are connected via a system bus (4) within a required time after power-off. In order to hold the data in the main memory device (3) in the memory part (7) of the backup memory device (6A), the backup memory device (6A) uses the memory part (7) for data backup. In addition to the above, a reference memory unit (8) having the same write address as the write address to the memory unit (7) is provided, and the data written in the reference memory unit (8) and the memory unit (7) are provided.
A data backup type computer system comprising a backup data comparing / checking unit (10) for checking backup data by comparing with the data written in.
【請求項2】 該バックアップメモリ装置(6A)が、
該メモリ部(7),該参照用メモリ部(8)およびバッ
クアップデータ比較・チェック部(10)のほかに、該
メモリ部(7)および該参照用メモリ部(8)に共通の
アドレスを与えるアドレス発生部(9)をそなえて構成
されたことを特徴とする請求項1記載のデータバックア
ップ式コンピュータシステム。
2. The backup memory device (6A) comprises:
In addition to the memory unit (7), the reference memory unit (8) and the backup data comparison / check unit (10), a common address is given to the memory unit (7) and the reference memory unit (8). The data backup type computer system according to claim 1, characterized in that the computer system comprises an address generator (9).
【請求項3】 該バックアップデータ比較・チェック部
(10)が、該参照用メモリ部(8)に書き込まれたデ
ータと該メモリ部(7)に書き込まれたデータとを比較
するデータ比較部(10a)と、該データ比較部(10
a)での比較結果からバックアップデータのチェックを
行なうバックアップデータチェック部(10b)とで構
成されたことを特徴とする請求項1記載のデータバック
アップ式コンピュータシステム。
3. A data comparison unit (10) in which the backup data comparison / check unit (10) compares the data written in the reference memory unit (8) with the data written in the memory unit (7). 10a) and the data comparison unit (10a)
2. The data backup computer system according to claim 1, further comprising a backup data check unit (10b) for checking the backup data based on the comparison result in a).
【請求項4】 該バックアップメモリ装置(6A)にお
ける該メモリ部(7)が電気的消去可能型メモリで構成
されるとともに、該バックアップメモリ装置(6A)に
おける該参照用メモリ部(8)がRAMで構成されたこ
とを特徴とする請求項1記載のデータバックアップ式コ
ンピュータシステム。
4. The memory unit (7) in the backup memory device (6A) is composed of an electrically erasable memory, and the reference memory unit (8) in the backup memory device (6A) is a RAM. The data backup computer system according to claim 1, wherein the data backup computer system comprises:
【請求項5】 電源断時に該主メモリ装置(3)内のデ
ータを該メモリ部(7)および該参照用メモリ部(8)
に同時に同じアドレスで書き込むとともに、該参照用メ
モリ部(8)に書き込まれたデータと該メモリ部(7)
に書き込まれたデータとを逐次読み出して両データを該
バックアップデータ比較・チェック部(10)で比較さ
せてバックアップデータのチェックを行なわせる制御部
(11)が該バックアップメモリ装置(6A)に設けら
れたことをた特徴とする請求項1記載のデータバックア
ップ式コンピュータシステム。
5. The data in the main memory device (3) when the power is turned off is stored in the memory part (7) and the reference memory part (8).
And the data written in the reference memory unit (8) and the memory unit (7) at the same time.
The backup memory device (6A) is provided with a control unit (11) for sequentially reading the data written in the backup data and comparing both data with the backup data comparison / check unit (10) to check the backup data. The data backup type computer system according to claim 1, wherein
JP4234786A 1992-09-02 1992-09-02 Data backup type computer system Withdrawn JPH0683720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4234786A JPH0683720A (en) 1992-09-02 1992-09-02 Data backup type computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4234786A JPH0683720A (en) 1992-09-02 1992-09-02 Data backup type computer system

Publications (1)

Publication Number Publication Date
JPH0683720A true JPH0683720A (en) 1994-03-25

Family

ID=16976361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4234786A Withdrawn JPH0683720A (en) 1992-09-02 1992-09-02 Data backup type computer system

Country Status (1)

Country Link
JP (1) JPH0683720A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010158157A (en) * 2008-12-30 2010-07-15 Internatl Business Mach Corp <Ibm> Apparatus, system, and method for accurate early detection of ac power loss

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010158157A (en) * 2008-12-30 2010-07-15 Internatl Business Mach Corp <Ibm> Apparatus, system, and method for accurate early detection of ac power loss

Similar Documents

Publication Publication Date Title
US4351023A (en) Process control system with improved system security features
US5007027A (en) Data protection system in a data processing system
US4603406A (en) Power backed-up dual memory system
JPH0683720A (en) Data backup type computer system
JPS6119061B2 (en)
JPH08220198A (en) Battery backup memory unit and backup function testing method
JP4474614B2 (en) Multiplexing system
US20030221058A1 (en) Mirrored computer memory on single bus
JPS62140153A (en) Duplicated data processor
JPS59116998A (en) Trouble detecting system of main memory
JP2002032239A (en) Multiplexing system
JPS63238655A (en) Information processor
JPH06110859A (en) Duplex system state confirming circuit
JPH05108493A (en) Memory control system
JPH05274223A (en) Cache memory
JP2003271463A (en) Doubling memory device
JPS61160106A (en) Sequence control device
JPH05189330A (en) Abnormality detection system for shared memory subsystem
JPS58141500A (en) Memory management protecting system
JPH06348604A (en) Memory copy system
JPH08305637A (en) Storage
JPH01161560A (en) I/o equipment controller
JPH0341538A (en) Main storage device
JPH0296855A (en) Trouble detecting system for memory control circuit
JPH10240677A (en) Dma device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991102