JPH0281217A - Processor for turning off of power source of information processor - Google Patents

Processor for turning off of power source of information processor

Info

Publication number
JPH0281217A
JPH0281217A JP63234366A JP23436688A JPH0281217A JP H0281217 A JPH0281217 A JP H0281217A JP 63234366 A JP63234366 A JP 63234366A JP 23436688 A JP23436688 A JP 23436688A JP H0281217 A JPH0281217 A JP H0281217A
Authority
JP
Japan
Prior art keywords
power
processing device
information processing
power source
signal
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
JP63234366A
Other languages
Japanese (ja)
Inventor
Kenzo Ina
伊奈 謙三
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63234366A priority Critical patent/JPH0281217A/en
Publication of JPH0281217A publication Critical patent/JPH0281217A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To guarantee data by saving the data of a main memory in an external storage device, when a service interruption is detected, and also, closing a program being on open and turning OFF a main power source so as to be programmable. CONSTITUTION:When a service interruption is generated and several seconds elapse, a P-OFF signal for showing a fact of being in a service interruption is sent to a register 4 through a gate 3 from a no-break power unit 9 and held. The register 4 issued a power source OFF interruption to a control part 1 through an OR gate 8, and when information is stored in a disk 17, the control part 1 executes a program until its store is ended, and thereafter, returns the program to a storage device such as a hard disk, etc., and sends a power source OFF command signal to a power source unit 2. In such a way, when a service interruption is generated, the title processor operates in the same way as the time when an operator ends a daily work and disconnects a power source, and data can be guaranteed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、磁気ディスク装置、光ディスク装こ、光磁気
ディスク装を等の外部記憶装置を具備した情報処理装置
の電源オフ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a power-off processing device for an information processing apparatus equipped with an external storage device such as a magnetic disk device, an optical disk device, a magneto-optical disk device, or the like.

[従来の技術] 従来の情報処理装置において、電源オフ装置としては、
情報処理装置を強制的にオン、オフする電源スィッチ(
メインパワースイッチ)と、主メモリの内容をディスク
装置等にセーブした後、パワーダウンさせる電源オフ指
令スイッチ(ソフトパワースイッチ)とがある。
[Prior art] In a conventional information processing device, a power off device is
A power switch that forcibly turns on and off information processing equipment (
(main power switch) and a power-off command switch (soft power switch) that powers down after saving the contents of the main memory to a disk device or the like.

[発明が解決しようとする課題] 従来の電源オフ装置では、情報処理装置のAC電源供給
源として無停電電源装置を使用しても、その無停電電源
装置の電源供給時間に制限があり、この電源供給時間を
経過するとデータを保証することができず、完全なデー
タ保証を行なうことができないという問題がある。
[Problems to be Solved by the Invention] In conventional power-off devices, even if an uninterruptible power supply is used as an AC power supply source for an information processing device, the power supply time of the uninterruptible power supply is limited; There is a problem in that data cannot be guaranteed after the power supply time has elapsed, and complete data guarantee cannot be performed.

本発明は、停電発生時にデータ保証を完全に行ない、無
停電電源装置の負荷を軽減し、情報処理装置の無人化運
転を可能にする電源オフ装置を提供することを目的とす
るものである。
An object of the present invention is to provide a power-off device that completely guarantees data when a power outage occurs, reduces the load on an uninterruptible power supply, and enables unmanned operation of an information processing device.

[!!題を解決する手段] 本発明は、停電が発生したときに交流電源を供給すると
ともに、上記停電が発生してから所定時間が経過したと
きに、停電発生中であることを示すP−OFF信号を発
生する無停電電源装置と、上記P−OFF信号を検出し
たときに、主メモリのデータを外部記憶装置にセーブす
るとともにオープン中のプログラムをクローズするシャ
ットダウン処理を行ない、主電源をプログラマブルにオ
フする制御部とを有するものである。
[! ! Means for Solving the Problem] The present invention supplies AC power when a power outage occurs, and when a predetermined time has elapsed since the power outage occurs, a P-OFF signal indicating that a power outage is occurring is provided. When the uninterruptible power supply generates the The control unit has a control unit that controls the

[作用] 本発明は、停電が発生したときに交流電源を供給すると
ともに、上記停電が発生してから所定時間が経過したと
きに、停電発生中であることを示すP−OFF信号を発
生する無停電電源装置と、上記P−OFF信号を検出し
たときに、主メモリのデータを外部記憶装置にセーブす
るとともにオープン中のプログラムをクローズするシャ
ットダウン処理を行ない、主電源をプログラマブルにオ
フする制御部とを有するので、停電が発生すると、オペ
レータが−1の業務を終了し情報処理装置の電源を切断
した場合と同一に動作し、データの保証が可能になる。
[Function] The present invention supplies AC power when a power outage occurs, and also generates a P-OFF signal indicating that a power outage is occurring when a predetermined time has elapsed since the power outage occurred. An uninterruptible power supply and a control unit that, when the P-OFF signal is detected, performs a shutdown process that saves data in the main memory to an external storage device and closes open programs, and programmably turns off the main power supply. Therefore, when a power outage occurs, the operation is the same as when the operator finishes the task of -1 and turns off the power to the information processing device, making it possible to guarantee data.

[実施例] 第1図は、本発明の一実施例を示すブロック図である。[Example] FIG. 1 is a block diagram showing one embodiment of the present invention.

情報処理装こ20は、プログラマブルに電源オフするこ
とが可能な情報処理装置の主な制御部であって、MPU
、ROM、RAM、l10IF等を含む制御部lと、情
報処理装ff120の電源ユニット2と、外部から電源
オフ指令を受ける受信部(波形整形用バッファゲート)
3と、受信部3の出力を保持するレジスタ4と、情報処
理装置20の電源オフを指令するソフトパワースイッチ
5とを有する。
The information processing device 20 is the main control unit of the information processing device that can be programmably powered off, and is an MPU.
, ROM, RAM, l10IF, etc., a power supply unit 2 of the information processing device ff120, and a receiving unit (waveform shaping buffer gate) that receives a power off command from the outside.
3, a register 4 that holds the output of the receiver 3, and a soft power switch 5 that instructs the information processing device 20 to be powered off.

ソフトパワースイッチ5は、それがオンすると電源が投
入され、それがオフするとオフされたことを制御部lに
割込みで知らせ、プログラムでスイッチ5のオフを認知
し、各種データのセーブを行ない、電源ユニット2に電
源オフ指令を発行するトリがとなるスイッチである。
When the soft power switch 5 is turned on, the power is turned on. When it is turned off, the soft power switch 5 notifies the control unit l of the fact that it has been turned off by an interrupt, recognizes that the switch 5 is turned off by a program, saves various data, and turns off the power. This is the switch that issues the power off command to the unit 2.

情報処理装置20は、また、ソフトパワースイッチ5の
プルアップ抵抗6と、ソフトパワースイッチ5の状態を
保持するレジスタ7と、レジスタ4の出力とレジスタ7
の出力とをORするORゲート8とを有する。
The information processing device 20 also includes a pull-up resistor 6 of the soft power switch 5, a register 7 that holds the state of the soft power switch 5, and an output of the register 4 and the register 7.
It has an OR gate 8 that ORs the output of.

無停電電源装置9は、交流電源の供給を受け、交流電源
が停電すると、内蔵バッテリによって交流電源を出力す
る無停電電温間とであって、停電が発生してから所定時
間(たとえば数秒)が経過したときに、停電発生中であ
ることを示すP−OFF信号を発生する装置である。
The uninterruptible power supply 9 is an uninterruptible power supply that receives alternating current power and outputs alternating current power from a built-in battery when the alternating current power fails, for a predetermined period of time (for example, several seconds) after the power failure occurs. This is a device that generates a P-OFF signal indicating that a power outage is occurring when a power outage has elapsed.

また電源ユニット2用のメインパワースイッチ13は、
通常使用状態では常にオンとし、ソフトスイッチ5の状
態が有効に動作するようにセットされるスイッチである
。この他に、ACコード12.14と、CRT等のデイ
スプレィ装こ15と、キーボード、ポインティングデイ
バイス16と、光ディスク等の外部記憶装置17と、イ
メージスキャナ18と、イメージプリンタ19とが設け
られている。
In addition, the main power switch 13 for the power supply unit 2 is
This switch is always on in normal use and is set so that the state of the soft switch 5 operates effectively. In addition, an AC cord 12, 14, a display device 15 such as a CRT, a keyboard, a pointing device 16, an external storage device 17 such as an optical disk, an image scanner 18, and an image printer 19 are provided. .

次に、上記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.

第2図は、上記実施例の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of the above embodiment.

まず、ソフトパワースイッチ5をオンすると、情報処理
装置20の電源がオンしくSl)、システム立上げ処理
が開始される(S2)、つまり、ハードディスク内のプ
ログラムをメインメモリにロードし、ハードウェアを初
期化し、システムの立上げを行なう、そして、オペレー
タがCRT15とキーボード16とを介して各種の処理
を行なう(S3.S4)、たとえば、イメージリーダ1
8から読込んだイメージをCRT15に表示し、キーボ
ード、ボインティングデイバイス16を操作し、任意の
情報に加工し、光ディスク17に保存する。
First, when the soft power switch 5 is turned on, the power of the information processing device 20 is turned on (Sl), and system startup processing is started (S2). That is, the program in the hard disk is loaded into the main memory, and the hardware is The system is initialized and started up, and the operator performs various processes via the CRT 15 and keyboard 16 (S3 and S4). For example, the image reader 1
The image read from 8 is displayed on the CRT 15, and the keyboard and pointing device 16 are operated to process it into arbitrary information and save it on the optical disk 17.

上記作業を行なっているときに、停電が発生したとする
(S6)。
Assume that a power outage occurs while the above work is being performed (S6).

この場合、従来の情報処理装置では、その状態のままシ
ステムダウンとなり、加工された情報は保証されず、消
滅する。また、従来の情報処理に単に無停電電源装置を
具備した場合では、停電時間が長時間に及ぶと、その内
蔵バッテリが消耗した後に、停電と同様にシステムダウ
ンする。
In this case, in the conventional information processing apparatus, the system goes down in that state, and the processed information is not guaranteed and disappears. Furthermore, in the case where a conventional information processing device is simply equipped with an uninterruptible power supply, if the power outage lasts for a long time, the built-in battery will be exhausted and the system will go down in the same way as a power outage.

上記実施例の場合、停電が発生し数秒経過すると、停電
中であることを示す信号P−OFF信号が、無停電電源
装置9からゲート3を介してレジスタ4に送られ(SS
)、保持される。そして、レジスタ4はORゲート8を
介して制御部lに電源オフ割込みを発行し、制御部lは
プログラマブルに電源シャットダウン処理を行ない(S
7)、電源をオフする(38)。
In the case of the above embodiment, when a power outage occurs and several seconds have passed, a signal P-OFF indicating that a power outage is occurring is sent from the uninterruptible power supply 9 to the register 4 via the gate 3 (SS
), retained. Then, the register 4 issues a power-off interrupt to the control unit l via the OR gate 8, and the control unit l performs a programmable power shutdown process (S
7), Turn off the power (38).

ここで、上記電源シャットダウン処理とは、制御部l内
のデータやプログラムを完全な形で保証する処理であり
、たとえば、ディスク17に情報格納中であればその格
納終了までプログラムを実行させ、その後、ハードディ
スク等の記憶デイバイスにプログラムを戻し、電源ユニ
ット2に電源オフ指令信号を送る処理である。
Here, the above-mentioned power shutdown process is a process that guarantees the integrity of the data and programs in the control unit 1. For example, if information is being stored on the disk 17, the program is executed until the storage is completed, and then , the program is returned to a storage device such as a hard disk, and a power-off command signal is sent to the power supply unit 2.

したがって、あらゆる種類のいかなる過程においても、
制御部lは、途中で処理が終了することなく、日常のソ
フトパワースイッチ5のオフ操作と同様に処理が可能に
なる。このために、もし、停電時間が長時間に及んでも
、そして無停電電源装置9が消耗したとしても、その前
にシステムダウンに対する処理が終了する。
Therefore, in any process of any kind,
The control unit 1 can perform processing in the same way as the everyday turning off operation of the soft power switch 5 without terminating the processing midway. Therefore, even if the power outage lasts for a long time and the uninterruptible power supply 9 is exhausted, the process for system down is completed before that happens.

第3図は、本発明の他の実施例を示す図である。FIG. 3 is a diagram showing another embodiment of the present invention.

この実施例では、情報処理袋ご21.22゜23.24
が互いに接続されており、情報処理装置21〜24は、
それぞれ、情報処理袋ff120と同様の装置である。
In this example, the information processing bag is 21.22°23.24°.
are connected to each other, and the information processing devices 21 to 24 are
Each is a device similar to the information processing bag ff120.

また、1つの情報処理装置から残りの情報処理装置に対
して、停電発生中であることを示すP−OFF信号を送
るP−OFF信号送信手段を、情報処理袋ご21〜24
のそれぞれが有している。
In addition, a P-OFF signal transmitting means for transmitting a P-OFF signal indicating that a power outage is occurring from one information processing device to the remaining information processing devices is installed in each information processing bag 21 to 24.
Each of them has.

ここで、情報処理装置21が管理者用装置であると想定
した場合、停電が発生すると、他の間近22.23.2
4に対し テP−OFF信号を発行する。この場合、情
報処理袋2t22.23.24のオペレータが電源オフ
を忘れても、正常に電源オフすることができ、したがっ
て、ネットワークを構築したときのネットワークシステ
ム全体の電源オフが可能になる。
Here, assuming that the information processing device 21 is an administrator device, if a power outage occurs, other nearby devices 22.23.2
4, issues a TEP-OFF signal. In this case, even if the operator of the information processing bag 2t22.23.24 forgets to turn off the power, the power can be turned off normally, and therefore, it becomes possible to turn off the power of the entire network system when the network is constructed.

また、タイマを内蔵した装置から、P−OFF信号を発
行すれば、電源オン、オフの自動化が可能になり、通信
機器等の用途へも利用M を七となる。
Furthermore, if a P-OFF signal is issued from a device with a built-in timer, it becomes possible to automate the power on and off, and it can also be used for communication equipment and the like, reducing M to seven.

[発明の効果] 本発明によれば、停電が発生すると、オペレータが一日
の業務を終了し情報処理装置の電源を切断した場合と同
一に動作し、データの保証が可使になるという効果を奏
する。
[Effects of the Invention] According to the present invention, when a power outage occurs, the operation is the same as when the operator finishes the day's work and turns off the power to the information processing device, and the data guarantee is valid. play.

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

第1図は、本発明の一実施例を示すブロック図である。 第2図は、上記実施例の動作を示すフローチャートであ
る。 第3図は、本発明の他の実施例を示すブロック図である
。 l・・・制御部、 2・・・電源ユニット、 5・・・ソフトパワースイッチ、 9・・・無停電電源装置。 13・・・メインパワースイッチ。 20.21.22.23.24・・・情報処理装置。 特許出願人  キャノン株式会社 同代理人 用久保 新
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a flowchart showing the operation of the above embodiment. FIG. 3 is a block diagram showing another embodiment of the invention. l...control unit, 2...power supply unit, 5...soft power switch, 9...uninterruptible power supply. 13...Main power switch. 20.21.22.23.24... Information processing device. Patent applicant Arata Kubo for Canon Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] (1)プログラマブルに電源をオフすることができる情
報処理装置の電源オフ処理装置において、 停電が発生したときに交流電源を供給するとともに、上
記停電が発生してから所定時間が経過したときに、停電
発生中であることを示すP−OFF信号を発生する無停
電電源装置と; 上記P−OFF信号を検出したときに、主メモリのデー
タを外部記憶装置にセーブするとともにオープン中のプ
ログラムをクローズするシャットダウン処理を行ない、
主電源をプログラマブルにオフする制御部と; を有することを特徴とする情報処理装置の電源オフ処理
装置。
(1) In a power-off processing device for an information processing device that can programmably turn off the power, it supplies AC power when a power outage occurs, and when a predetermined period of time has passed after the power outage occurs, An uninterruptible power supply that generates a P-OFF signal indicating that a power outage is occurring; When the above P-OFF signal is detected, it saves the data in the main memory to an external storage device and closes any open programs. Perform the shutdown process to
A power-off processing device for an information processing device, comprising: a control unit that programmably turns off a main power source;
(2)プログラマブルに電源をオフすることができる情
報処理装置の電源オフ処理装置において、 1つの情報処理装置から他の情報処理装置に、停電発生
中であることを示すP−OFF信号を送るP−OFF信
号送信手段と; 上記P−OFF信号を検出したときに、主メモリのデー
タを外部記憶装置にセーブするとともにオープン中のプ
ログラムをクローズするシャットダウン処理を行ない、
主電源をプログラマブルにオフする制御部と; を有することを特徴とする情報処理装置の電源オフ処理
装置。
(2) In a power-off processing device of an information processing device that can programmably turn off the power, a P-OFF signal is sent from one information processing device to another information processing device to indicate that a power outage is occurring. - OFF signal transmitting means; when detecting the P-OFF signal, performs a shutdown process of saving main memory data to an external storage device and closing open programs;
A power-off processing device for an information processing device, comprising: a control unit that programmably turns off a main power source;
JP63234366A 1988-09-19 1988-09-19 Processor for turning off of power source of information processor Pending JPH0281217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63234366A JPH0281217A (en) 1988-09-19 1988-09-19 Processor for turning off of power source of information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63234366A JPH0281217A (en) 1988-09-19 1988-09-19 Processor for turning off of power source of information processor

Publications (1)

Publication Number Publication Date
JPH0281217A true JPH0281217A (en) 1990-03-22

Family

ID=16969883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63234366A Pending JPH0281217A (en) 1988-09-19 1988-09-19 Processor for turning off of power source of information processor

Country Status (1)

Country Link
JP (1) JPH0281217A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019135149A (en) * 2014-06-26 2019-08-15 株式会社ユピテル Device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019135149A (en) * 2014-06-26 2019-08-15 株式会社ユピテル Device and program

Similar Documents

Publication Publication Date Title
US5870613A (en) Power mangement system for a computer
US5765001A (en) Computer system which is operative to change from a normal operating state to a suspend state when a power supply thereof detects that an external source is no longer providing power to said power supply at a predetermined level
US5748972A (en) Computer system which is operative to change from a normal operating state to a suspend state when a power supply thereof detects that an external source is no longer providing power to said power supply at a predetermined level
JP3805913B2 (en) Method for waking up computer system from standby mode and wakeup control circuit
JPH11155243A (en) Uninterruptible power equipment and computer system with the uninterruptible power equipment
JP2002258988A (en) Uninterruptible power system
JPH0281217A (en) Processor for turning off of power source of information processor
JP3483906B2 (en) Information processing apparatus, information processing apparatus system, and resume method therefor
JP2002041189A (en) Unintegruptible power supply device
US5749004A (en) Option setting device and method of operating same for use with a camera
JPH04133192A (en) Ic card
JP3466240B2 (en) Power control circuit
JP3697971B2 (en) Information processing device
JPH06337727A (en) Automatic operation controller
JPH0221773A (en) Facsimile equipment
JPH113150A (en) Information processor
JPH10143292A (en) Portable information equipment
JP3823931B2 (en) Information processing apparatus, information processing apparatus system, and resume method thereof
JPH0558004A (en) Printing device
JPS62230332A (en) Battery back-up apparatus
JPH0756658A (en) Power consumption reducing circuit
JPH06337728A (en) Electronic computer with suspending/resuming function
JP2000307779A (en) System device
JPH11308384A (en) Facsimile equipment
JPH08314581A (en) Power source controller