JPS5990295A - Backup system of main storage device - Google Patents

Backup system of main storage device

Info

Publication number
JPS5990295A
JPS5990295A JP57198482A JP19848282A JPS5990295A JP S5990295 A JPS5990295 A JP S5990295A JP 57198482 A JP57198482 A JP 57198482A JP 19848282 A JP19848282 A JP 19848282A JP S5990295 A JPS5990295 A JP S5990295A
Authority
JP
Japan
Prior art keywords
storage device
contents
backup
memory
main storage
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
JP57198482A
Other languages
Japanese (ja)
Inventor
Yoshiichi Tanabe
田辺 宣一
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
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57198482A priority Critical patent/JPS5990295A/en
Publication of JPS5990295A publication Critical patent/JPS5990295A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To eliminate the need for an external backup, to restart operation speedily after the disconnection of a power supply, and to shorten a processing interruption time by providing a main storage device with a backup device which consists of an EPROM. CONSTITUTION:A CPU1 after erasing the contents of a backup storage device 4 consisting of the EPROM through a memory bus 2 accesses the main storage device 3, and reads the contents of an address (n) in a register 11 through a bus 2 and sends them to an ROM5, thereby writing them in the EPROM of the device 4 by an ROM writer 5. This operation is repeated for all corresponding addresses to save the contents of the device 3 in the device 4. If the contents of the device 3 are erased owing to the disconnection of a power supply, etc., the CPU1 accesses the device 4 through the bus 2 and the contents O of the address (n) in the memory are stored in the register 11 temporarily and written in the device 3. Then, the device 3 is used to perform data processing.

Description

【発明の詳細な説明】 本発明は蓄積プログラム制御システムにおいて使用され
、揮発性集積回路メモリを具備した主記憶装置のメモリ
内容のバックアップ方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for backing up the memory contents of a main memory device used in a stored program control system and comprising a volatile integrated circuit memory.

従来の蓄積プログラム制御方式のシステムに使用され、
プログラムやデータなどを格納している主記憶装置は、
主として高速な読み/書き動作が可能なRAM(ランダ
ムアクセスメモリ)集積回路によシ構成されている。し
かし、RAMは電源を切断した時には内容がすべて消滅
してし甘う性質、すなわち、揮発性をもっているため、
プログラムやデータなどをいったん磁気ドラム、磁気デ
ィスク、磁気テープなどの不揮発性の外部記憶装置にセ
ーブしておき、電源を投入した後で再び読込むというバ
ックアップ方式をとっている。したがって、このために
外部装置が必要であるため、システムの占めるスペース
が大きくなり、コストも高くなるという欠点があった。
Used in conventional storage program control system,
The main memory that stores programs, data, etc.
It is mainly composed of a RAM (random access memory) integrated circuit capable of high-speed read/write operations. However, RAM is volatile, meaning that all its contents disappear when the power is turned off.
A backup method is used in which programs and data are temporarily saved in a nonvolatile external storage device such as a magnetic drum, magnetic disk, or magnetic tape, and then read again after the power is turned on. Therefore, since an external device is required for this purpose, the system occupies a large space and costs are also high.

一方、バックアップするための記憶装置は、バグなどが
あって主記憶装置の内容が破壊されてしまった場合に使
用され、主記憶装置へのデータ読込みによって一連の処
理が再開(リスタート)するわけである。しかし、外部
の記憶装置から再ロードするには時間がかかるため、処
理中断時間が長くなるという欠点もあった。
On the other hand, a backup storage device is used in the event that the contents of the main storage device are destroyed due to a bug, etc., and the series of processes will be restarted by reading data to the main storage device. It is. However, since it takes time to reload from an external storage device, there is also a drawback that processing interruption time becomes longer.

本発明の目的は、主記憶装置の内部に消去とブログラミ
ングとが可能なEPROM(イレーザブル・アンド・プ
ログラマブル・リードオンリーメモリ)により構成した
バックアップ用記憶装置を具備することにより外部記憶
装置に対するバックアップ方式の上記欠点を解決し、高
価で大きなスペースを必要とする磁気ドラム、磁気ディ
スク。
An object of the present invention is to provide a backup method for an external storage device by providing a backup storage device configured with an erasable and programmable read-only memory (EPROM) inside a main storage device that can be erased and programmed. This solves the above drawbacks of magnetic drums and magnetic disks, which are expensive and require a large amount of space.

磁気テープなどのバックアップ用記憶装置を除去し、高
速な再開処理が可能な主記憶装置のバックアップ方式を
提供することにある。
The object of the present invention is to provide a main storage backup method that eliminates a backup storage device such as a magnetic tape and enables high-speed restart processing.

本発明による主記憶装置のバックアップ方式は中央処理
装置、あるいUDMA手段と、メモリバスと、 、RA
 Mにより構成された主記憶装置と。
The main memory backup method according to the present invention includes a central processing unit or UDMA means, a memory bus, RA
A main storage device configured by M.

EPROMにより構成されたバックアップ用記憶装置と
、ROMライタとを具備して実現したものである。
This is realized by including a backup storage device composed of an EPROM and a ROM writer.

RAMI′i高速であって読み/書き動作が可能である
が、揮発性がある。EPROMは読出しのほかに書込み
や消去も可能であって不揮発性であるが、書込みには時
間を要する。これらを使用し、定期的にRAMの内容を
EPROMヘセーブしておき、電源を切断したことなど
によってRAMの内容が揮発した後、一連の処理を再開
するときにはバックアップしているEPROMの内容を
RAMヘロードする。EPROMにデータを書込むには
時間を要するが、読取シ速度はRAMと同程度に高速で
あり、はぼRAMと同程度の大きさのメモリ集積回路で
あるため、磁気ドラム、磁気ディスク、磁気テープなど
の外部のバックアップメモリよりもコンパクトに構成さ
れる。
RAMI'i is fast and capable of read/write operations, but is volatile. EPROM can be written and erased in addition to reading, and is nonvolatile, but writing takes time. By using these, the contents of RAM are periodically saved to EPROM, and after the contents of RAM have been volatile due to turning off the power, etc., when restarting a series of processes, the contents of the backed-up EPROM are loaded to RAM. do. It takes time to write data to EPROM, but the read speed is as fast as RAM, and since it is a memory integrated circuit about the same size as RAM, it can be used with magnetic drums, magnetic disks, It is more compact than external backup memory such as tape.

次に図面を参照して本発明について詳細に説明する。Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明による主記憶装置のバックアップ方式を
実現するための構成を示すブロック図である。第1図に
おいて、1は中央処理装置、11は中央処理装置の内部
に置かれているレジスタ、2はメモリバス、3HRAM
より成る主記憶装置、4il″j:E P ROMより
成るバックアップ用記憶装置、5I″iROMライタで
ある。中央処理装置1の内部に置かれているレジスタ1
1は主記憶装置3から転送されてきたデータを保持する
ためのものである。ROMライタ5はEPROMの内容
を消去したり、EPROMにデータを書込むためのもの
である。第1図においてa、l+はセーブ時のデータの
流路を示し、主記憶装置3のn番地に保持されているデ
ータAHメモリバス2の上の流路aを通ってレジスタ1
1にいったん保持され、レジスタ11からメモリバス2
上の流路すを通ってROMライタ5に至り、ROMライ
タ5からバックアップ用記憶装置4のn番地にデータ0
として書込まれる。
FIG. 1 is a block diagram showing a configuration for realizing a main storage device backup method according to the present invention. In FIG. 1, 1 is a central processing unit, 11 is a register located inside the central processing unit, 2 is a memory bus, and 3 is a HRAM.
4il''j: a backup storage device consisting of EP ROM, and 5I''iROM writer. Register 1 located inside central processing unit 1
1 is for holding data transferred from the main storage device 3. The ROM writer 5 is for erasing the contents of the EPROM and writing data to the EPROM. In FIG. 1, a, l+ indicate the flow path of data at the time of saving, and the data held at address n of the main storage device 3 passes through the flow path a on the AH memory bus 2 and enters the register 1.
1 and then transferred from register 11 to memory bus 2.
It passes through the upper flow path to the ROM writer 5, and data 0 is transferred from the ROM writer 5 to address n of the backup storage device 4.
written as .

本発明によるメモリ内容のバックアップ方式をさらに詳
細に説明する。すなわち、バックアップが必要になった
ときには中央処理装置1はメモリバス2を通してROM
ライタ5に対して指令を送出し、バックアップ用記憶装
置4の内容を消去させる。その後、主記憶装置3をアク
セスし、n番地の内容をメモリバス2を通してレジスタ
11に読込み、その内容をROMライタ5に送p、RO
Mライタ5によりバックアップ用記憶装置4の内部のE
FROMに書込む。以上の作業をすべての該当する番地
について繰返すと、主記憶装置3の内容はバックアップ
用記憶装置ヘセーブされる。
The memory content backup method according to the present invention will be explained in more detail. That is, when backup is required, the central processing unit 1 transfers data to the ROM via the memory bus 2.
A command is sent to the writer 5 to erase the contents of the backup storage device 4. After that, the main memory 3 is accessed, the contents of address n are read into the register 11 through the memory bus 2, and the contents are sent to the ROM writer 5, p, RO.
E inside the backup storage device 4 by the M writer 5
Write to FROM. When the above operations are repeated for all applicable addresses, the contents of the main storage device 3 are saved to the backup storage device.

電源が切断された等の理由により主記憶装置3の内容が
消滅17た場合には、以下の手順によシ処理を再開する
。すなわち、中央処理装置1によりメモリバス2を通し
てバックアップ用記憶装置4がアクセスされ、このメモ
リのn番地の内容Oをレジスタ111Cいったん収容し
、その内容を主記憶装置3に書込む。以上の作業をすべ
ての番地について繰返す。その後、主記憶装置3を使用
してデータ処理を実行する。
If the contents of the main storage device 3 are erased 17 due to reasons such as power being cut off, the process is restarted according to the following procedure. That is, the backup storage device 4 is accessed by the central processing unit 1 through the memory bus 2, the contents O of address n of this memory are temporarily stored in the register 111C, and the contents are written into the main storage device 3. Repeat the above steps for all addresses. Thereafter, data processing is executed using the main storage device 3.

本実施例においては主記憶装置とバックアップ用記憶装
置とを分割して図示しているが、RAMとEPROMと
は同順のメモリ集積回路であり、物理的に同一ユニット
の内部へ構成することは容易に推察される。さらに、同
一のICチップ上でこれらの素子を構成することも発展
的に考えることができる。また、本実施例においては中
央処理装置によってバックアップ作業を実施しているが
DMA(ダイレクト・メモリ・アクセス)方式による回
路等の別なハードウェアにより中央処理装置の代行をさ
せることも可能である。
In this embodiment, the main storage device and the backup storage device are shown separated, but the RAM and EPROM are memory integrated circuits in the same order and cannot be physically configured inside the same unit. It is easily inferred. Furthermore, it is also possible to consider configuring these elements on the same IC chip. Further, in this embodiment, the backup work is performed by the central processing unit, but it is also possible to use other hardware such as a circuit using a DMA (direct memory access) system to perform the backup work in place of the central processing unit.

本発明は以上説明したように、高速であって読取り/書
込み動作が可能なRAMにより構成される主記憶装置に
、高速な読取り動作ができ、消去可能で不揮発性を有す
るEPROMによ多構成されるバックアップメモリを共
同することによシ、高価で大きなスペースを占める磁気
記憶装置による外部バックアップを除去し、電源切断後
のシステム再開を高速に行うことができ、処理中断時開
が短縮されるという効果がある。
As explained above, the present invention has a main storage device composed of a RAM that is capable of high-speed read/write operations, and a main memory that is composed of an EPROM that is capable of high-speed read operations, is erasable, and is nonvolatile. By sharing backup memory, the system can eliminate expensive and space-consuming external backups using magnetic storage devices, speed up system restart after power-off, and reduce startup times during processing interruptions. effective.

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

第1図は本発明による主記憶装置のバックアップ方式を
実現するための構成の一実施例を示す図である。 1・・・中央処理装置 2・・・メモリバス 3・・・主記憶装置 4・・・バックアンプ用記憶装置 5・・−ROMライタ 11・・・レジスタ A、O・・・データ n・・・・メモリ番地 特許出願人 日本電気株式会社 代理人 弁理士 井 ノ ロ   壽
FIG. 1 is a diagram showing an embodiment of a configuration for realizing a main storage device backup method according to the present invention. 1...Central processing unit 2...Memory bus 3...Main storage device 4...Back amplifier storage device 5...-ROM writer 11...Registers A, O...Data n... ...Memory Address Patent Applicant NEC Corporation Representative Patent Attorney Hisashi Inoro

Claims (1)

【特許請求の範囲】 読取シ/@込み動作とセーブ動作とを含む処理の一部、
あるいはすべてを制御するための中央処理装置、あるい
はD M A手段と、データを転送するためのメモリバ
スと、RAMよシ成る主記憶装置と、前記主記憶装置の
内容をセーブするためのEFROMよシ成るバックアッ
プ用記憶装置と。 前記バックアップ用記憶装置のデータ消去/書込み動作
を制御するためのROMライタとを具備して構成するこ
とを特徴とする主記憶装置のバックアップ方式。
[Claims] A part of processing including a read/write operation and a save operation,
Alternatively, there may be a central processing unit for controlling everything, or a DMA means, a memory bus for transferring data, a main memory such as RAM, and an EFROM for saving the contents of the main memory. and a backup storage device. 1. A main storage device backup method, comprising: a ROM writer for controlling data erasing/writing operations of the backup storage device.
JP57198482A 1982-11-12 1982-11-12 Backup system of main storage device Pending JPS5990295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57198482A JPS5990295A (en) 1982-11-12 1982-11-12 Backup system of main storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57198482A JPS5990295A (en) 1982-11-12 1982-11-12 Backup system of main storage device

Publications (1)

Publication Number Publication Date
JPS5990295A true JPS5990295A (en) 1984-05-24

Family

ID=16391841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57198482A Pending JPS5990295A (en) 1982-11-12 1982-11-12 Backup system of main storage device

Country Status (1)

Country Link
JP (1) JPS5990295A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0256815A2 (en) * 1986-08-08 1988-02-24 Universal Vectors Corporation Preventing data loss in computers
EP0910016A2 (en) * 1991-06-10 1999-04-21 Matsushita Electric Industrial Co., Ltd Apparatus and method for suspending and resuming software applications on a computer
EP1643506A1 (en) * 2004-10-04 2006-04-05 Research In Motion Limited System and method for automatically saving memory contents of a data processing device on power failure

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0256815A2 (en) * 1986-08-08 1988-02-24 Universal Vectors Corporation Preventing data loss in computers
EP0910016A2 (en) * 1991-06-10 1999-04-21 Matsushita Electric Industrial Co., Ltd Apparatus and method for suspending and resuming software applications on a computer
EP0910016A3 (en) * 1991-06-10 2002-11-13 Matsushita Electric Industrial Co., Ltd Apparatus and method for suspending and resuming software applications on a computer
EP1643506A1 (en) * 2004-10-04 2006-04-05 Research In Motion Limited System and method for automatically saving memory contents of a data processing device on power failure

Similar Documents

Publication Publication Date Title
EP0524719B1 (en) Computer system with alterable bootstrapping software and method therefor
JP3292864B2 (en) Data processing device
JP4971943B2 (en) Nonvolatile memory device
EP0442651B1 (en) Apparatus and method for background memory test during system start up
JPH0291749A (en) Nonvolatile type semiconductor memory device
JP4146006B2 (en) Electronic device having flash memory
JPS5990295A (en) Backup system of main storage device
EP0287600B1 (en) Method and device to execute two instruction sequences in an order determined in advance
JPH11265283A (en) Correction method for firmware in storage device, and storage device
JPH09146774A (en) Personal computer system
JPH09146767A (en) Method for reloading program
CN109147847B (en) Semiconductor device and flash memory control method
JP2003122644A (en) Computer and its storage device
JP3186758B2 (en) Mobile terminal device
JPH0496122A (en) Information processor
JPWO2004092962A1 (en) Semiconductor device, reset control system, and memory reset method
JPH0833838B2 (en) Computer system
JP3669625B2 (en) Data processing system and method of operating data processing system
JPS63117396A (en) Non-volatile semiconductor memory device
JPS58141491A (en) Data protection system for bubble memory
JP3070524B2 (en) Storage device
JP2023150271A (en) Semiconductor apparatus, firmware writing method, and firmware writing system
JP3788602B2 (en) Computer installation system and installation method
JPH10171659A (en) Method and device for down-loading
JPH04291644A (en) Semiconductor storage device