JPS62254222A - Protecting device against service interruption - Google Patents

Protecting device against service interruption

Info

Publication number
JPS62254222A
JPS62254222A JP61099248A JP9924886A JPS62254222A JP S62254222 A JPS62254222 A JP S62254222A JP 61099248 A JP61099248 A JP 61099248A JP 9924886 A JP9924886 A JP 9924886A JP S62254222 A JPS62254222 A JP S62254222A
Authority
JP
Japan
Prior art keywords
service interruption
power
power supply
floppy disk
power outage
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
JP61099248A
Other languages
Japanese (ja)
Inventor
Kenji Iwagami
岩上 健二
Takeshi Tebe
手辺 毅
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP61099248A priority Critical patent/JPS62254222A/en
Publication of JPS62254222A publication Critical patent/JPS62254222A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Stand-By Power Supply Arrangements (AREA)

Abstract

PURPOSE:To reduce the battery capacity by saving the data needed for a nonovolatile memory into a floppy disk for protection when a main power supply has a service interruption and then cutting off the battery serving as a spare power supply. CONSTITUTION:A service interruption occurs and the supply of AC power of a main power supply 11 is stopped. A service interruption occurrence detecting means 14 detects the service interruption and at the same time the information on the service interruption is given to a CPU 1 via a service interruption information means. It is discriminated whether the flag of a service interruption processing selection means 9 is turned on or not to decide execution of the service interruption processing. That is, the service interruption processing is carried out when said flag is equal to '1' (ON) and the data needed for a nonvolatile memory 8 is saved to a floppy disk device 5. Then a cut control signal S2 is delivered and a spare power supply 12 is cut off.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、電子式キャッシュ・レジスタやPOSターミ
ナル等のような情報処理機、卯ちDRAM等の半導体メ
モリや遅延線メモリのような電源の遮断により記憶内容
を消失する揮発性メモリで構成された記憶部を有し、常
時外部の主電源から電力供給・されて作動する情報処理
機において、主電源が停電した時に記憶部の記憶内容を
保護するための停電時保護装置に関するものである。
[Detailed Description of the Invention] <Industrial Application Field> The present invention is applicable to information processing machines such as electronic cash registers and POS terminals, semiconductor memories such as DRAM, and power supplies such as delay line memories. In an information processing machine that has a storage section made up of volatile memory that loses its contents when the main power is cut off, and that operates while being constantly supplied with power from an external main power source, it is possible to erase the stored contents of the storage section in the event of a power outage to the main power source. This invention relates to a power outage protection device for protection.

〈従来の技術〉 従来の電子式キャッシュ・レジスタにおいては記憶部に
磁気コアを使用していたので、主電源が遮断されても永
久的に記憶内容を保持するものであったが、この磁気コ
アは非常に高価であると云う欠点をもっている。そこで
、近年では磁気コアに代わる半導体メモリが開発され、
電子式キャッシュ・レジスタ、POSターミナル、パー
ソナルコンピュータ等に使用されている。しかしながら
、半導体メモリのような揮発性メモリを使用する場合に
は、主電源の停電発生時点で蓄積されていた情報が消失
してしまい、例えば売上金との照合ができなくなる事態
が起こる。これを防止するために、予備電源としてバッ
テリを用意し、主電源の停電時にバフテリに切替えて給
電を続行する無停電電源方式が一般に採用されている。
<Conventional technology> Conventional electronic cash registers use a magnetic core in the storage section, which permanently retains memory contents even if the main power is cut off. has the disadvantage of being very expensive. Therefore, in recent years, semiconductor memory has been developed to replace the magnetic core.
It is used in electronic cash registers, POS terminals, personal computers, etc. However, when a volatile memory such as a semiconductor memory is used, the information stored at the time of a power outage of the main power supply is lost, resulting in a situation where it becomes impossible to compare the information with sales proceeds, for example. In order to prevent this, an uninterruptible power supply system is generally adopted in which a battery is prepared as a backup power supply, and when the main power supply fails, the system switches to the battery battery and continues power supply.

〈発明が解決しようとする問題点〉 しかしながら、主電源の長時間にわたる停電に対して予
備電源をもって駆動させるためには、相当大容量のバッ
テリを必要とし、コスト面での負担が大きくなり、また
、機器に内蔵できないために、設置スペースを別途必要
とする欠点がある。
<Problems to be solved by the invention> However, in order to operate with a backup power source in case of a long-term power outage of the main power source, a considerably large capacity battery is required, which increases the cost burden. , since it cannot be built into equipment, it has the disadvantage of requiring additional installation space.

さらに、主電源の停電が長時間に及ぶ場合もあるので、
ある程度の時間経過後にバッテリを遮断する必要がある
Furthermore, main power outages may last for a long time, so
It is necessary to shut off the battery after a certain amount of time has passed.

〈発明の目的〉 本発明は、このような問題点に鑑みなされたもので、予
備電源として機器に内蔵可能な小型で小容量のバッテリ
を使用しながらも、停電発生時において必要な情報を破
壊することなく保持することのできる停電時保護装置を
提供することを目的とするものである。
<Purpose of the Invention> The present invention was devised in view of the above-mentioned problems, and uses a small, low-capacity battery that can be built into equipment as a backup power source, while destroying necessary information in the event of a power outage. The object of the present invention is to provide a power outage protection device that can be maintained without causing damage.

〈問題点を解決するための手段〉 本発明の停電時保護装置は、前記目的を達成するために
、フロッピーディスク装置を有しこのフロッピーディス
クからアプリケーションプログラムを揮発性メモリにロ
ードして実行する情報処理機における停電時保護装置に
おいて、前記処理機を数分間程度駆動できる容量を有す
るバッテリ等の予備電源と、主電源の停電の発生を検出
する停電発生検出手段並びに停電通知手段とを備え、停
電処理を行なうか否かの停電処理選択手段と、前記揮発
性メモリの必要なデータを前記フロッピーディスクにセ
ーブする停電処理を実行した後に前記予備電源を遮断す
る手段とを、アプリケーションプログラムで設定した構
成を要旨とするものである。
<Means for Solving the Problems> In order to achieve the above object, the power outage protection device of the present invention has a floppy disk device and has information for loading and executing an application program from the floppy disk into a volatile memory. A power outage protection device for a processing machine includes a backup power source such as a battery having a capacity to drive the processing machine for several minutes, a power outage detection means and a power outage notification means for detecting the occurrence of a power outage in the main power supply, and A configuration in which an application program sets a power outage processing selection means for selecting whether or not to perform a process, and a means for cutting off the backup power supply after executing a power outage processing for saving necessary data in the volatile memory to the floppy disk. The main points are as follows.

く作用〉 本発明の停電時保護装置は、前記構成と゛したので、主
電源の停電の発生時、この停電の発生を検出してCPU
に通知されると、アプリケーションプログラムに設定さ
れたプログラムに従って停電処理すべきか否かの判別、
つまり揮発性メモリに記憶されているデータが必要か否
かの判別が行なわれ、停電処理実行と判別された時、予
備電源により駆動を継続して揮発性メモリの必要なデー
タがフロッピーディスクにセーブされ、その後に予備電
源が遮断される。従って、予備電源は、停電処理を行な
う数分間程度の間型源を供給すればよいので、小容量の
ものでよい。
Function> Since the power outage protection device of the present invention has the above configuration, when a main power outage occurs, it detects the occurrence of this outage and controls the CPU.
When notified, the system determines whether or not to process the power outage according to the program set in the application program.
In other words, it is determined whether the data stored in the volatile memory is necessary or not, and when it is determined that the power outage process is to be executed, the drive continues with the backup power supply and the necessary data in the volatile memory is saved to the floppy disk. and then the standby power supply is cut off. Therefore, the backup power source may be of small capacity since it is sufficient to supply the mold source for about several minutes while processing the power outage.

〈実施例〉 以下、本発明の実施例を図面に基づいて詳細に説明する
<Example> Hereinafter, an example of the present invention will be described in detail based on the drawings.

先ず、第1図により情報処理機の構成を説明すると、あ
らかじめ設定されたプログラムに従って信号処理するC
PU1、情報を視覚表示するためのCRT2、情報入力
用のキー3、記憶部に蓄積された情報をプリントするプ
リンタ部4、使用するプログラムを選択して機能を切換
えるためのフロッピーディスク装置5、各種デバイスま
たはインターフェイス6、フロッピーディスク装置5の
プログラムを揮発性メモリ8にロードするための初期プ
ログラムロード7、および停電処理を行なうか否かを判
別する停電処理選択手段9を備えている。また、CPU
Iには電源レギユレータ10から駆動用直流電源が供給
されており、この電源レギュレータ1oは主電源11で
ある商用交流電源により駆動する。一方、主電源11の
停電時の予備電源12としてバッテリを備えており、こ
の予備電源12は、主電源11による駆動時には電源レ
ギュレータ10により充電されており、処理機を数分間
駆動できる容量を有している。電源レギュレータ1oお
よび予備電源12は、それぞれCPUIからの断接コン
トロール信号s1及び切断コントロール信号s1により
駆動制御される。
First, the configuration of the information processing machine will be explained with reference to Fig. 1.
PU 1, CRT 2 for visually displaying information, keys 3 for inputting information, printer section 4 for printing information stored in the storage section, floppy disk device 5 for selecting the program to be used and switching functions, various types. It is provided with a device or interface 6, an initial program load 7 for loading the program of the floppy disk device 5 into the volatile memory 8, and a power failure processing selection means 9 for determining whether or not power failure processing is to be performed. Also, CPU
I is supplied with driving DC power from a power supply regulator 10, and this power supply regulator 1o is driven by a commercial AC power supply which is a main power supply 11. On the other hand, a battery is provided as a backup power source 12 in case of a power outage of the main power source 11, and this backup power source 12 is charged by the power regulator 10 when driven by the main power source 11, and has a capacity that can drive the processing machine for several minutes. are doing. The power supply regulator 1o and the backup power supply 12 are driven and controlled by a connection/disconnection control signal s1 and a disconnection control signal s1 from the CPUI, respectively.

主電源11の停電が発生すると、停電通知手段13によ
りCPUIに通知される。
When a power outage occurs in the main power supply 11, the power outage notification means 13 notifies the CPUI.

次に、電源部を示した第2図において、前述の電源レギ
ュレータ1oは、1次レギュレータ10aおよび2次レ
ギュレータ10bからなり、1次レギュレータ10aに
より主電源11の商用交流を直流に変換した後、電源ス
ィッチ(図示せず)による断接コントロール信号s1で
オン・オフされるリレーRL 1、逆流防止用ダイオー
ドD1及び2次レギュレータ10bを介してCPUI等
の各部に電源供給される。一方、予備電源12は、切断
コントロール信号S2によりオフされるリレーRL2、
逆流防止用ダイオードD2及び2次しギ゛ユレータ10
bを介してCPUI等に電源供給される。前記切断コン
トロール信号S2は通常時はオフされていて、予備電源
12は、リレーRL2およびダイオードD2を介して2
次レギュレータ10bに接続状態になっている。停電発
生検出手段14は、例えばシュミット回路のようなスイ
ッチング回路であり、1次レギュレータ10aの電圧つ
まり主電源11の電圧が所定値以下になった時に検出信
号を出力する。
Next, in FIG. 2 showing the power supply section, the aforementioned power supply regulator 1o consists of a primary regulator 10a and a secondary regulator 10b, and after converting the commercial AC of the main power supply 11 into DC by the primary regulator 10a, Power is supplied to various parts such as the CPU via a relay RL1 that is turned on and off by a control signal s1 that is turned on and off by a power switch (not shown), a backflow prevention diode D1, and a secondary regulator 10b. On the other hand, the backup power source 12 includes a relay RL2 that is turned off by a disconnection control signal S2;
Backflow prevention diode D2 and secondary generator 10
Power is supplied to the CPUI etc. via b. The disconnection control signal S2 is normally turned off, and the standby power supply 12 is connected to the disconnection control signal S2 via the relay RL2 and the diode D2.
It is connected to the next regulator 10b. The power outage detection means 14 is, for example, a switching circuit such as a Schmitt circuit, and outputs a detection signal when the voltage of the primary regulator 10a, that is, the voltage of the main power supply 11, falls below a predetermined value.

そして、停電処理動作を第3図に基づいて説明すると、
同(a)図に示すように機器のオペレーティングシステ
ムでサポートする。即ち、停電が発生して主電源11の
交流電源の供給が停止すると、停電発生検出手段14に
より停電を検出されると共に、停電通知手段13でCP
UIに停電を通知(A)され、次に、停電処理選択手段
9としてのフラッグ■がオンであるか否かが判別(B)
される。つまり、停電処理の実行を行なうか否かが判別
される。フラッグ■をオンする場合には、アプリケーシ
ョンプログラムへの停電発生通知手段としてのフラッグ
■をオンする。一方、フラッグ■をオンしない場合には
、CPUIからリレーRL2に切断コントロール信号S
2が供給されて予備電源12が遮断され、機器の動作が
停止する。
The power outage processing operation will be explained based on Fig. 3.
It is supported by the device's operating system as shown in figure (a). That is, when a power outage occurs and the supply of AC power from the main power source 11 is stopped, the power outage is detected by the power outage detection means 14 and the power outage notification means 13 detects the CP.
The power outage is notified to the UI (A), and then it is determined whether the flag ■ as the power outage processing selection means 9 is on or not (B)
be done. In other words, it is determined whether or not to execute the power outage process. When the flag ■ is turned on, the flag ■ is turned on as a means of notifying the application program of the occurrence of a power outage. On the other hand, if the flag ■ is not turned on, a disconnection control signal S is sent from the CPU to relay RL2.
2 is supplied, the backup power supply 12 is cut off, and the operation of the device is stopped.

第3図(bl、 (e)図はそれぞれこの情報処理機の
使用に先立って設定する二種のアプリケーションプログ
ラムを示し、停電処理を行いたい場合には、同(bl図
に示すようにフラッグ■をオンするように設定する。ま
た、同(C1図は停電処理プログラムを示し、このアプ
リケーションプログラムは同(b)図に示したアプリケ
−シロンプログラムと並行に処理され、フラッグ■がオ
ンされた場合にフラッグ■がオンされ、揮発性メモリ8
の必要なデータがフロッピーディスク装置にセーブされ
て停電処理され、しかる後に切断コントロール信号が出
力されて予備電源12が遮断される。
Figures 3(bl and 3e) respectively show two types of application programs that are set up before using this information processing machine. In addition, if the same (Figure C1 shows the power outage processing program, this application program is processed in parallel with the application program shown in Figure C1, and the flag ■ is turned on) flag is turned on and volatile memory 8 is turned on.
The necessary data is saved in the floppy disk device and power outage processing is performed, and then a disconnection control signal is output and the standby power source 12 is shut off.

〈発明の効果〉 以上詳述したように本発明の停電時保護装置によると、
主電源の停電発生時に揮発性メモリの必要なデータをフ
ロッピーディスクにセーブしてデータの保護を行なった
後に予備電源としてのバッテリを遮断するようにしたの
で、予備電源として小容量のバッテリを使用することが
でき、バッテリ並びに機器の小型化を達成することがで
き、また、コストダウンを図ることができる。しかも、
停電発生と同時に揮発性メモリの必要なデータをフロッ
ピーディスクにセーブするので、停電時間の長短等に無
関係にいかなる状態時にも必要なデータを確実に保護す
ることができる。さらに、この停電処理を行なうか否か
の選択をアプリケーションプログラムで行な得る利点が
ある。
<Effects of the Invention> As detailed above, according to the power outage protection device of the present invention,
In the event of a main power outage, the necessary data in volatile memory is saved to a floppy disk to protect the data, and then the battery as a backup power source is shut off, so a small capacity battery can be used as a backup power source. Therefore, it is possible to achieve miniaturization of batteries and equipment, and it is also possible to reduce costs. Moreover,
Since the necessary data in the volatile memory is saved to the floppy disk at the same time as a power outage occurs, the necessary data can be reliably protected in any state, regardless of the length of the power outage. Furthermore, there is an advantage that the application program can select whether or not to perform this power outage process.

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

図面は本発明の停電時保護装置の一実施例を示し、第1
図はブロック構成図、第2図は電源部のツタ構成図、第
3図(81図は停電処理のフローチャート、同(b)、
 (C)図はそれぞれ異なるアプリケーションプログラ
ムのフローチャートである。 1−CP U 5−フロッピーディスク装置 8−揮発性メモリ 9・・・信号処理選択装置 12−予備電源 13−・停電検知手段 14・・−停電検出装置 特許出願人    シャープ株式会社 代 理 人    弁理士 西1)新  −第1図 第2図
The drawing shows one embodiment of the power outage protection device of the present invention, and shows the first embodiment of the power outage protection device of the present invention.
The figure is a block configuration diagram, Figure 2 is a block diagram of the power supply section, Figure 3 (Figure 81 is a flowchart of power outage processing,
(C) is a flowchart of different application programs. 1-CPU 5-Floppy disk device 8-Volatile memory 9... Signal processing selection device 12-Backup power source 13--Power failure detection means 14...-Power failure detection device Patent applicant Sharp Corporation Agent Patent attorney West 1) New - Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] フロッピーディスク装置を有しこのフロッピーディスク
からアプリケーションプログラムを揮発性メモリにロー
ドして実行する情報処理機における停電時保護装置にお
いて、前記処理機を数分間程度駆動できる容量を有する
バッテリ等の予備電源と、主電源の停電の発生を検出す
る停電発生検出手段並びに停電通知手段とを備え、停電
処理を行なうか否かの停電処理選択手段と、前記揮発性
メモリの必要なデータを前記フロッピーディスクにセー
ブする停電処理を実行した後に前記予備電源を遮断する
手段とを、アプリケーションプログラムで設定したこと
を特徴とする停電時保護装置。
A power outage protection device for an information processing machine that has a floppy disk device and loads and executes an application program from the floppy disk into a volatile memory, includes a backup power source such as a battery having a capacity that can drive the processing machine for about several minutes. , comprising power failure occurrence detection means and power failure notification means for detecting the occurrence of a main power power failure, power failure processing selection means for determining whether to perform power failure processing, and saving necessary data in the volatile memory to the floppy disk. A power outage protection device characterized in that an application program is used to set means for shutting off the backup power supply after executing power outage processing.
JP61099248A 1986-04-28 1986-04-28 Protecting device against service interruption Pending JPS62254222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61099248A JPS62254222A (en) 1986-04-28 1986-04-28 Protecting device against service interruption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61099248A JPS62254222A (en) 1986-04-28 1986-04-28 Protecting device against service interruption

Publications (1)

Publication Number Publication Date
JPS62254222A true JPS62254222A (en) 1987-11-06

Family

ID=14242400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61099248A Pending JPS62254222A (en) 1986-04-28 1986-04-28 Protecting device against service interruption

Country Status (1)

Country Link
JP (1) JPS62254222A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0269812A (en) * 1988-09-06 1990-03-08 Seiko Epson Corp Computer
WO2024109026A1 (en) * 2022-11-24 2024-05-30 苏州元脑智能科技有限公司 Server interrupt operation execution method and apparatus, device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58205994A (en) * 1982-05-25 1983-12-01 Mitsubishi Electric Corp Non-volatile memory system
JPS60138657A (en) * 1983-12-27 1985-07-23 Nec Home Electronics Ltd Data holding device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58205994A (en) * 1982-05-25 1983-12-01 Mitsubishi Electric Corp Non-volatile memory system
JPS60138657A (en) * 1983-12-27 1985-07-23 Nec Home Electronics Ltd Data holding device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0269812A (en) * 1988-09-06 1990-03-08 Seiko Epson Corp Computer
US5848280A (en) * 1988-09-06 1998-12-08 Seiko Epson Corporation Apparatus for providing continuity of operation in a computer
US6108792A (en) * 1988-09-06 2000-08-22 Seiko Epson Corporation Article for providing continuity of operation in a computer
WO2024109026A1 (en) * 2022-11-24 2024-05-30 苏州元脑智能科技有限公司 Server interrupt operation execution method and apparatus, device, and storage medium

Similar Documents

Publication Publication Date Title
US4611289A (en) Computer power management system
US4763333A (en) Work-saving system for preventing loss in a computer due to power interruption
US20040078655A1 (en) Apparatus and method for power integrated control
US20040103343A1 (en) Method and related computer for processing suspend to ram during power failure
KR950013264B1 (en) Automatic back-up and recovery device and method in computer systems
JPS62254222A (en) Protecting device against service interruption
JP3688474B2 (en) Backup power supply circuit and electronic circuit device
JPH0728572A (en) Automatic data preserving device at power interruption
CN101364194A (en) Electronic device and management method thereof
JPH10225009A (en) Device for processing data with function protecting secondary cell and program for the device
JPS63217455A (en) Ram back-up system
JPH06250939A (en) Data processor
JPH04352259A (en) Memory protection device for small-sized electronic equipment equipped with external power terminal
JP2687520B2 (en) Battery maintenance device for auxiliary battery
JP3087451B2 (en) Backup power control method
KR20050112171A (en) Method for storing data using battery in computer and apparatus thereof
JPS626315A (en) Memory back-up device for microcomputer
JPH02264317A (en) Data processor
JPH03163617A (en) Warm-boot method of program in computer system
JP2754106B2 (en) Portable electronic devices
JPS61285559A (en) Battery back-up device
JPH06259338A (en) Saving and restoring system for storage contents
JPH01222633A (en) Method of operating electronic equipment
JPH05108503A (en) Power failure processing system
JPH0467219A (en) Data protection system for semiconductor storage device in power failure