Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH06100943B2 - Power supply stop control method for processing apparatus and apparatus therefor - Google Patents
[go: Go Back, main page]

JPH06100943B2 - Power supply stop control method for processing apparatus and apparatus therefor - Google Patents

Power supply stop control method for processing apparatus and apparatus therefor

Info

Publication number
JPH06100943B2
JPH06100943B2 JP63128492A JP12849288A JPH06100943B2 JP H06100943 B2 JPH06100943 B2 JP H06100943B2 JP 63128492 A JP63128492 A JP 63128492A JP 12849288 A JP12849288 A JP 12849288A JP H06100943 B2 JPH06100943 B2 JP H06100943B2
Authority
JP
Japan
Prior art keywords
power
timer
power supply
request
cutoff
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.)
Expired - Fee Related
Application number
JP63128492A
Other languages
Japanese (ja)
Other versions
JPH01298422A (en
Inventor
雅行 丹治
義弘 宮崎
義明 高橋
隆行 森岡
渡辺  弘
隆夫 野内
治通 小野
智明 中村
和也 宮本
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63128492A priority Critical patent/JPH06100943B2/en
Publication of JPH01298422A publication Critical patent/JPH01298422A/en
Publication of JPH06100943B2 publication Critical patent/JPH06100943B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、処理装置の電源停止制御方法及びその装置に
係わり、特にシステムプログラムの処理との協調を可能
にする電源停止制御方法及びその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power stop control method for a processing apparatus and its apparatus, and more particularly, a power stop control method and apparatus for enabling cooperation with processing of a system program. Regarding

〔従来の技術〕[Conventional technology]

様々なオペレーティングシステムまたはシステムプログ
ラムの中には、電源遮断を行う前に特定の処理を行う必
要があるものがある。例えば、AT&T社におけるUNIXオ
ペレーティングシステムでは、「UNIX Systen Vシステ
ムアドミニストレーション リファレンスマニュアル」
に示されている様に、電源遮断の前に、手動で「Shutdo
wn」コマンドを投入し、プロセスの終了等を行わせてフ
ァイルを閉じておき、それから電源を遮断する必要があ
る。
Some operating systems or system programs require specific processing before powering down. For example, in the UNIX operating system at AT & T, "UNIX Systen V System Administration Reference Manual"
Before shutting down the power, manually select "Shutdo
It is necessary to input the "wn" command, terminate the process, close the file, and then turn off the power.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記した従来技術では、処理装置の電源を誤って遮断し
たり、「Shutdown」コマンドの投入を忘れて電源を遮断
したりしたとき、ファイル管理情報が破壊されて重大な
障害に至る可能性があった。
In the above-mentioned conventional technology, when the power of the processing device is accidentally cut off or the power is cut off by forgetting to input the "Shutdown" command, the file management information may be destroyed and a serious failure may occur. It was

本発明の目的は、処理装置に付随するスイッチの誤操作
等によって、誤って電源の遮断が行われても、障害発生
に至らない電源停止制御方法及びその装置を提供するこ
とにある。
It is an object of the present invention to provide a power stop control method and its device that do not cause a failure even if the power is accidentally cut off due to an erroneous operation of a switch attached to a processing device.

〔課題を解決するための手段〕[Means for Solving the Problems]

上記の目的は、電源遮断前の特殊処理を必要とするオペ
レーティングシステムに、スイッチ操作により電源遮断
要求が行われたときに、電源制御装置に対して電源遮断
を抑止するための抑止信号を出力する機能を持たせ、一
方電源制御装置に、電源遮断要求が行われてから上記抑
止信号がそれを必要とするオペレーティングシステムよ
り出力されるのに十分な時間を設定した第1のタイマ
と、電源遮断要求が行われてから上記特殊処理を完了す
るのに十分な時間を設定した第2のタイマとを設けると
ともに、上記第1及び第2のタイマを電源遮断要求発生
時に始動させ、上記抑止信号がオフとなったとき、ある
いは抑止信号が入力されずに上記第1のタイマがタイム
アップしたとき、あるいは抑止信号に関係なく上記第2
のタイマがタイムアップしたときには電源制御装置に電
源遮断を行わせる遮断制御を実行することにより達成さ
れ、また、この遮断制御を実行するための制御回路を設
けることにより達成される。
The above object is to output a suppression signal for suppressing power cutoff to the power supply control device when a power cutoff request is made by a switch operation to an operating system that requires special processing before power cutoff. A first timer having a function and having a time sufficient for the power supply control device to output the above-mentioned inhibition signal from the operating system that requires it after the power supply shutdown request is made; A second timer that sets a time sufficient to complete the special processing after the request is made is provided, and the first and second timers are started when a power-off request is generated, and the inhibition signal is When it is turned off, when the first timer times out without input of the inhibition signal, or when the second signal is generated regardless of the inhibition signal.
This is achieved by executing a cutoff control that causes the power supply control device to cut off the power when the timer has timed out, and by providing a control circuit for executing this cutoff control.

〔作 用〕[Work]

電源遮断の要求が行われたのち、第1のタイマがタイム
アップする前にオペレーティングシステムからの遮断抑
止信号が入力されると、この要求が継続している間電源
の遮断は行われない。これによってオペレーティングシ
ステムは、電源遮断に必要な特殊処理を完了する迄の
間、電源遮断の抑止を行うことができ、ファイルの破壊
を生ずることがない。また電源遮断要求後の特殊処理に
要する時間がすぎても抑止信号がオフにならないときに
は、第2のタイマがタイムアップして電源遮断の抑止要
求の有無にかかわらず電源を遮断する。このことによっ
てオペレーティングシステムが誤動作した場合にも必ず
電源の手段が行われることが保証される。さらに、電源
遮断に伴う特殊処理を必要としないオペレーティングシ
ステムが稼働している場合には、電源遮断抑止要求が発
生しない。この場合第1のタイマのタイムアップによっ
て電源が遮断され、オペレータの無駄な待ち時間が発生
しない。
After the power cutoff request is made, if the cutoff suppression signal from the operating system is input before the first timer times out, the power cutoff is not performed while this request continues. As a result, the operating system can suppress the power shutdown until the special processing required for power shutdown is completed, and the file is not destroyed. If the inhibition signal does not turn off even after the time required for the special processing after the power shutdown request has passed, the second timer times out and shuts off the power regardless of whether there is a power shutdown inhibition request. This ensures that the means of powering is always carried out even if the operating system malfunctions. Further, when the operating system that does not require the special processing associated with the power shutdown is running, the power shutdown suppression request does not occur. In this case, the power supply is cut off due to the time-up of the first timer, and an unnecessary waiting time for the operator does not occur.

〔実施例〕〔Example〕

第2図は、本発明になる電源制御装置を用いた処理シス
テムを示すブロック図で、処理装置10の電源11は電源制
御装置12により制御される。電源制御装置12には電源ス
イッチ13が取り付けられている。
FIG. 2 is a block diagram showing a processing system using the power supply control device according to the present invention. The power supply 11 of the processing device 10 is controlled by the power supply control device 12. A power switch 13 is attached to the power control device 12.

第1図は本発明の一実施例を示すブロック図で、電源制
御装置12の内部を示している。同図において、タイマ1
は、電源遮断要求があったときにオペレーティングシス
テムが遮断抑止信号を出力するのに十分な時間を設定さ
れており、タイマ2は特殊処理を完了するのに十分な時
間を設定されている。継電器3は処理装置電源11の電流
開閉を行い、これは制御回路4により制御される。制御
回路5は、電源制御装置12のパネル上のスイッチ13の操
作により電源遮断を指示された場合は遮断要求信号6を
オンとし、電源投入を指示された場合は投入要求信号7
をオンとする。信号線8は処理装置10からの電源遮断抑
止要求線である。制御回路4は、信号線7による投入要
求があった場合には直ちに、継電器3が電源の一次回線
9を閉じるように制御する。また信号線6により遮断の
要求があった場合には、タイマ1とタイマ2の計時状態
及び処理装置からの電源遮断抑止要求信号8の状態によ
って継電器3の制御を以下のように行う。
FIG. 1 is a block diagram showing an embodiment of the present invention, showing the inside of the power supply control device 12. In the figure, timer 1
Is set to a time sufficient for the operating system to output a shutdown inhibition signal when there is a power shutdown request, and the timer 2 is set to a time sufficient to complete the special processing. The relay 3 opens and closes the current of the processor power supply 11, which is controlled by the control circuit 4. The control circuit 5 turns on the shutoff request signal 6 when instructed to shut off the power by operating the switch 13 on the panel of the power control device 12, and turns on the shutoff request signal 7 when instructed to turn on the power.
To turn on. The signal line 8 is a power shutoff suppression request line from the processing device 10. The control circuit 4 controls so that the relay 3 closes the primary line 9 of the power supply immediately when there is a request for closing through the signal line 7. Further, when there is a request for interruption through the signal line 6, the relay 3 is controlled as follows according to the timing states of the timers 1 and 2 and the state of the power interruption inhibition request signal 8 from the processing device.

第3図は特殊処理(シャットダウン処理)が必要なシス
テムプログラムが正常に稼働したときの動作を示すフロ
ーチャートである。まずスイッチ13により電源の遮断が
指示されると(ステップ301)、電源制御装置12は処理
装置10に対して遮断要求信号6を出力すると共に、タイ
マ1,2の計時を開始する(ステップ302)。遮断要求信号
6を受けた処理装置10のシステムプログラムは、電源遮
断抑止要求信号8をオンとして(ステップ311)シャッ
トダウン処理を開始し(ステップ312)、この処理が完
了すると電源抑止要求信号をオフとする(ステップ31
3)。電源制御装置12では、電源遮断抑止要求信号8の
立ち上がりを検出してタイマ1の計時を解除する(ステ
ップ303)とともに、同信号8の立ち下がりを検出して
タイマ2の解除と電源の遮断を行う(ステップ304)。
以上の動作により、スイッチ操作による遮断指示後、シ
ャットダウン処理が完了すると、直ちに電源の遮断が行
われる。
FIG. 3 is a flowchart showing an operation when a system program requiring special processing (shutdown processing) normally operates. First, when the switch 13 instructs the power supply to be shut off (step 301), the power supply control device 12 outputs the shutoff request signal 6 to the processing device 10 and starts the timing of the timers 1 and 2 (step 302). . The system program of the processing device 10 which has received the shutoff request signal 6 turns on the power shutoff inhibition request signal 8 (step 311) and starts the shutdown processing (step 312). Yes (Step 31
3). The power supply control device 12 detects the rising of the power cutoff suppression request signal 8 to cancel the time measurement of the timer 1 (step 303), and detects the falling of the signal 8 to cancel the timer 2 and cut off the power. Perform (step 304).
As a result of the above operation, when the shutdown process is completed after the shutdown instruction by the switch operation, the power is immediately shut off.

第4図は、第3図のシャットダウン処理312において異
常が発生し、電源遮断抑止要求信号8がオフしなかった
場合の動作を示すフローチャートで、ステップ401,402,
411,403までは第3図のステップ301,302,311,303と同じ
である。しかしながらシャットダウン処理中に異常412
が発生して電源遮断抑止要求信号8がオフしないため
に、タイマ2がタイムアップし、電源が遮断される(ス
テップ404)。これにより、シャットダウン処理に異常
があっても、確実にシステム電源はオフされる。
FIG. 4 is a flow chart showing the operation when an abnormality occurs in the shutdown processing 312 of FIG. 3 and the power shutdown inhibition request signal 8 is not turned off.
The steps up to 411 and 403 are the same as steps 301, 302, 311 and 303 in FIG. However, an error occurred during shutdown processing 412
Occurs, the power supply cutoff suppression request signal 8 is not turned off, so the timer 2 times up and the power supply is cut off (step 404). As a result, the system power is surely turned off even if the shutdown process is abnormal.

第4図は特殊処理(シャットダウン処理)が不要なシス
テムプログラムの場合の動作を示すフローチャートであ
り、ステップ501,502は第3図のステップ301,302と同じ
である。しかし、この場合は、シャットダウン処理が不
要であるから遮断要求信号6に対して電源遮断抑止要求
8が送り返されていない。このためにタイマ1がタイム
アップし、タイマ2の解除と電源の遮断を行う(ステッ
プ503)。以上の動作では、タイマ1(短時間計時)の
計時後に電源の遮断が行われるので、オペレータの無駄
な待時間を防止している。
FIG. 4 is a flowchart showing the operation in the case of a system program that does not require special processing (shutdown processing), and steps 501 and 502 are the same as steps 301 and 302 in FIG. However, in this case, the shutdown processing is unnecessary, so that the power shutdown inhibition request 8 is not sent back to the shutdown request signal 6. For this reason, the timer 1 times out, and the timer 2 is released and the power is cut off (step 503). In the above operation, the power is cut off after the timer 1 (short time counting) is timed, so that the operator is prevented from waiting for a long time.

〔発明の効果〕〔The invention's effect〕

以上の説明で明らかなように、本発明よれば、不意のス
イッチ操作によって電源遮断が要求されても必ずシステ
ムプログラムによるシャットダウン処理が実行でき、か
つシャットダウン処理の不要なシステムプログラムが稼
働中の場合にもオペレータが長い時間待たされることな
く電源の遮断が行われるという効果があり、またシャッ
トダウン処理異常となったときも一定時間後には確実に
電源遮断を行えるという効果がある。
As is apparent from the above description, according to the present invention, even if the power-off is requested by an unexpected switch operation, the shutdown process can be executed by the system program without fail, and the system program that does not require the shutdown process is running. Also, there is an effect that the power is cut off without the operator having to wait for a long time, and when the shutdown process is abnormal, the power can be surely cut off after a certain time.

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

第1図は本発明になる電源制御装置のブロック図、第2
図は処理装置システムの全体図、第3図〜第5図は電源
遮断動作を示すフローチャートである。 1,2……タイマ、4……制御回路、10……処理装置、12
……電源制御装置。
FIG. 1 is a block diagram of a power supply control device according to the present invention, and FIG.
The figure is an overall view of the processing apparatus system, and FIGS. 3 to 5 are flowcharts showing the power shutoff operation. 1,2 ... Timer, 4 ... Control circuit, 10 ... Processor, 12
...... Power control device.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 宮崎 義弘 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 高橋 義明 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 森岡 隆行 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 渡辺 弘 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 野内 隆夫 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 小野 治通 茨城県日立市大みか町5丁目2番1号 株 式会社日立コントロールシステムズ内 (72)発明者 中村 智明 茨城県日立市大みか町5丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 宮本 和也 茨城県日立市会瀬町2丁目9番1号 日立 サービスエンジニアリング株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yoshihiro Miyazaki 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Ltd. Omika factory (72) Inventor Yoshiaki Takahashi 5-chome, Omika-cho, Hitachi-shi, Ibaraki No. 1 Incorporated company Hitachi Ltd. Omika factory (72) Inventor Takayuki Morioka 5-21 Omika-cho, Hitachi City, Ibaraki Prefecture Incorporated company Hitachi Ltd. Omika factory (72) Inventor Hiroshi Watanabe Omika, Hitachi City, Ibaraki Prefecture 5-2-1, Machi, Hitachi Ltd., Omika Plant (72) Inventor, Takao Nouchi 5-2-1, Omika-cho, Hitachi City, Ibaraki Prefecture, Ltd., Omika Plant, Hitachi, Ltd. (72) Inventor, Otsuka Otsuka 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture, Hitachi Control Systems Co., Ltd. (72) Inventor Tomoaki Nakamura Ibaraki Japan 5-2-1 Omika-cho, Tate-shi Incorporated company Hitachi, Ltd. Omika-factory (72) Inventor Kazuya Miyamoto 2--9-1, Aize-cho, Hitachi, Ibaraki Hitachi Service Engineering Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】処理装置の電源遮断時に特殊処理を必要と
するオペレーティングシステムに、電源遮断要求が入力
されたときに上記特殊処理を起動してそれが完了するま
で電源の遮断抑止信号をオンとする機能をもたせ、かつ
電源制御装置に、電源遮断要求により起動されて予め設
定された時間を計時する第1のタイマを設けるととも
に、電源遮断要求が発生しかつそのときオペレーティン
グシステムにより上記遮断抑止信号がオンとされたとき
には、上記第1のタイマをリセットし、上記電源抑止信
号がオフした時点に処理装置電源を遮断するように制御
し、電源遮断要求が発生しかつそのときオペレーティン
グシステムにより上記遮断抑止信号がオンされなかった
ときには、上記第1のタイマがタイムアップした時点に
処理装置電源を遮断するように制御することを特徴とす
る処理装置の電源停止制御方法。
1. An operating system, which requires special processing when powering off a processing device, starts the special processing when a power-off request is input and turns on a power-off inhibition signal until the special processing is completed. The power supply control device is provided with a first timer which is activated by a power cutoff request and measures a preset time, and when the power cutoff request is generated and the operating system at that time issues the cutoff suppression signal. When the power is turned on, the first timer is reset, and the processor power is controlled to be shut off when the power supply inhibition signal is turned off. When a power shutdown request is generated, the operating system shuts off the power. When the inhibition signal is not turned on, the processing device power is shut off when the first timer times out. Power down control method of the processing unit and to control the so that.
【請求項2】電源制御装置に、電源遮断要求により起動
されて前記第1のタイマの設定時間より長い設定時間を
計時する第2のタイマを設けるとともに、該タイマがタ
イムアップしたときには、前記遮断抑止信号のオン,オ
フに関係なしに処理装置電源を遮断するように制御する
ことを特徴とする請求項1記載の処理装置の電源停止制
御方法。
2. A power supply control device is provided with a second timer which is activated by a power cutoff request and measures a set time longer than the set time of the first timer, and when the timer times out, the cutoff is performed. 2. The power supply stop control method for a processing apparatus according to claim 1, wherein the processing apparatus power is controlled to be cut off regardless of whether the inhibition signal is on or off.
【請求項3】処理装置電源の投入及び遮断要求を発生す
るスイッチ手段と、電源の電流路を開閉する手段と、電
源遮断要求により起動されて予め設定された時間を計時
する第1のタイマと、処理装置が発する電源の遮断抑止
信号がオンのときは該信号がオフしたときに処理装置電
源を遮断し、上記遮断抑止信号がオフのときは上記第1
のタイマがタイムアップした時点に処理装置電源を遮断
するよう制御する制御回路とを備えたことを特徴とする
処理装置の電源制御装置。
3. A switch means for generating a power-on / off request for the processing device, a means for opening / closing a current path of the power supply, and a first timer activated by the power-off request to measure a preset time. When the power supply cutoff inhibition signal generated by the processing device is on, the processing device power supply is cut off when the signal is turned off, and when the cutoff suppression signal is off, the first
And a control circuit for controlling to shut off the power source of the processing device when the timer of (1) expires.
【請求項4】電源遮断要求により起動されて前記第1の
タイマの設定時間より長い設定時間を計時する第2のタ
イマを設けるとともに、該第2のタイマがタイムアップ
したときには前記遮断抑止信号のオン,オフに関係なし
に処理装置電源を遮断するよう制御する機能を付加した
ことを特徴とする請求項第3項記載の処理装置の電源制
御装置。
4. A second timer is provided which is activated by a power shutoff request and counts a set time longer than the set time of the first timer, and when the second timer times out, the shutoff inhibit signal 4. The power supply control device for a processing device according to claim 3, further comprising a function for controlling the power supply of the processing device to be cut off regardless of whether it is on or off.
JP63128492A 1988-05-27 1988-05-27 Power supply stop control method for processing apparatus and apparatus therefor Expired - Fee Related JPH06100943B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63128492A JPH06100943B2 (en) 1988-05-27 1988-05-27 Power supply stop control method for processing apparatus and apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63128492A JPH06100943B2 (en) 1988-05-27 1988-05-27 Power supply stop control method for processing apparatus and apparatus therefor

Publications (2)

Publication Number Publication Date
JPH01298422A JPH01298422A (en) 1989-12-01
JPH06100943B2 true JPH06100943B2 (en) 1994-12-12

Family

ID=14986092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63128492A Expired - Fee Related JPH06100943B2 (en) 1988-05-27 1988-05-27 Power supply stop control method for processing apparatus and apparatus therefor

Country Status (1)

Country Link
JP (1) JPH06100943B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2994519B2 (en) * 1992-07-31 1999-12-27 富士通株式会社 Power control device
US6101576A (en) * 1992-07-31 2000-08-08 Fujitsu Limited Method for saving generated character image in a cache system including a backup cache
DE602006009510D1 (en) * 2005-05-25 2009-11-12 Nxp Bv METHOD FOR RUNNING A END UNIT, MEMORY AND END UNIT THEREFOR
JP5460167B2 (en) * 2009-07-31 2014-04-02 キヤノン株式会社 Information processing apparatus, control method for information processing apparatus, and control program
JP5655323B2 (en) * 2010-02-22 2015-01-21 株式会社リコー Image processing device

Also Published As

Publication number Publication date
JPH01298422A (en) 1989-12-01

Similar Documents

Publication Publication Date Title
US5925132A (en) Method and apparatus for implementing power saving mode
JPH06100943B2 (en) Power supply stop control method for processing apparatus and apparatus therefor
JPH0782449B2 (en) Microcomputer malfunction prevention circuit
JP2656325B2 (en) Input/Output Control Method
JPH03127215A (en) Information processor
JPH0799504B2 (en) Power control device
JP2004054560A (en) Power source managing device
JPH11338586A (en) Computer system power off method
JPS62209604A (en) Power supply cut-off system for information processing system
JP2625549B2 (en) Controller control mechanism
KR900001483B1 (en) Driving method of power control circuit with built-in system controller
JPH06342325A (en) Automatic power-on/off system for image reproducing device
JPH0553629A (en) Hit dealing system for cnc device
JPS63299784A (en) Inverter circuit
JPH01109417A (en) Power source feeding device
KR970005697Y1 (en) Power control system of unix system
JPS6129924A (en) Power supply interruption supervisory system of electronic computer system
JPH0250716A (en) Clock fault processing system
JPS6211170Y2 (en)
JPH04205014A (en) Power unit controller
JPS62296216A (en) Electric power source control system
JPH0362111A (en) Power-off control system
JPS6395514A (en) Power supply switch controller
JPH0386029A (en) Automatic power supply controller
JPH07311635A (en) Method and device for controlling power source for computer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees