JPH10149232A - System processing request system for power-off time - Google Patents

System processing request system for power-off time

Info

Publication number
JPH10149232A
JPH10149232A JP8320871A JP32087196A JPH10149232A JP H10149232 A JPH10149232 A JP H10149232A JP 8320871 A JP8320871 A JP 8320871A JP 32087196 A JP32087196 A JP 32087196A JP H10149232 A JPH10149232 A JP H10149232A
Authority
JP
Japan
Prior art keywords
power
turned
software
processing
processing request
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
JP8320871A
Other languages
Japanese (ja)
Inventor
Toru Ono
徹 小野
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
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 filed Critical NEC Corp
Priority to JP8320871A priority Critical patent/JPH10149232A/en
Publication of JPH10149232A publication Critical patent/JPH10149232A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To call a specific process routine at a user's request when a power- OFF process is performed, and executing a system process right before the power source is turned off by actuating software when a specific process request is made in response to a power-switch-OFF report, and turning off the power source after a process is completed. SOLUTION: A power source par t 3 is switched to a mode wherein the power source is turned off by software executed by a CPU 1. A ROM 4 stores the software which operates when the power source is turned OFF with a power switch 2 pressed. When the power switch 2 is pressed, an interruption to the CPU 1 is initiated through a power source part 3 and the CPU 1 accepts the interruption and performs the system process stored in the ROM 4 at a user's request for system process execution. Then a process for power-OFF time stored in the ROM 4 is started.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電源の制御に関
し、特に情報処理装置の電源断時の制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to power supply control, and more particularly to a control method when an information processing apparatus is turned off.

【0002】[0002]

【従来の技術】従来の情報処理装置の電源の制御方式と
して、例えば特開平2−236708号公報には、電源
のオフ時に中央演算装置に割込みをかけ、実行中の処理
を中断してそのアドレスを記憶し、電源のオン時に記憶
したアドレスを読み出してその部分から処理を実行させ
ることにより、アプリケーション側で処理再開のための
操作を考慮しなくても自動的に各オン時の処理の連続性
を確保可能とした電子計算処理システムが提案されてい
る。また、上記公報には、電源オフの前に次の処理を行
いたい箇所にフラグの設定を行なうなど、電源断前に情
報処理装置の状態を保存する等の定まった処理を行う方
式が従来の技術として紹介されている。
2. Description of the Related Art As a conventional power supply control method of an information processing apparatus, for example, Japanese Patent Application Laid-Open No. Hei 2-236708 discloses that an interrupt is issued to a central processing unit when a power supply is turned off, a process being executed is interrupted, and the By reading the stored address when the power is turned on and executing the processing from that part, the continuity of the processing at each power-on is automatically performed without considering the operation to restart the processing on the application side. There has been proposed an electronic calculation processing system capable of ensuring the above. In addition, the above publication discloses a method of performing a predetermined process such as saving a state of an information processing apparatus before power-off, such as setting a flag at a place where the next process is to be performed before power-off. Introduced as technology.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の制御方式においては、電源オフ時に、その時点での
情報処理装置の状態のみを保存するものであり、電源オ
ン時には常に記憶したアドレスから自動的に処理が再開
されるものであり、このため、電源断時に、ユーザの選
択により所望のシステム処理の実行することができな
い、という問題点を有している。
However, in the above conventional control method, when the power is turned off, only the state of the information processing apparatus at that time is stored, and when the power is turned on, the stored address is automatically obtained from the stored address. Therefore, there is a problem that when the power is turned off, a desired system process cannot be executed by the user's selection.

【0004】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、電源断処理時
に、ユーザの要求により所定の処理ルーチンを呼び出
し、電源断直前にシステム処理の実行を実現可能とす
る、制御方式を提供することにある。
SUMMARY OF THE INVENTION Accordingly, the present invention has been made in view of the above-mentioned problems, and has as its object to call a predetermined processing routine at the request of a user at the time of power-off processing, and execute system processing immediately before power-off. It is to provide a control method which makes it possible to realize the above.

【0005】[0005]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、電源スイッチのオフの通知を受けた際
に、所定の処理要求が上がっていることを検出した場
合、CPUは該処理要求を受けて該処理のソフトウェア
を起動し該処理の実行が終了した後に、ソフトウェア制
御にて電源をオフする、ことを特徴とする。
In order to achieve the above object, according to the present invention, when it is detected that a predetermined processing request has been issued when a power switch is turned off, the CPU executes the processing. In response to the request, the software of the process is activated, and after the execution of the process is completed, the power is turned off by software control.

【0006】本発明においては、キーボード装置の所定
の処理要求キーが押下されたことを検出した際に前記C
PUは前記処理を実行する、ことを特徴とする。
According to the present invention, when it is detected that a predetermined processing request key of the keyboard device is pressed, the C key is detected.
The PU executes the above processing.

【0007】また、本発明は、各種演算処理を行うCP
Uと、ソフトウェア制御される電源部と、電源スイッチ
と、電源断時の処理を行うソフトウェアを格納した記憶
手段と、を備え、前記電源スイッチがオフされた時にこ
れを前記CPUに通知し、前記電源スイッチのオフと同
時に、所定のシステム処理要求がなされた状態であるこ
とを検出した際に、前記記憶手段に格納されている電源
断時の処理を行うソフトウェアを起動して実行する、こ
とを特徴とする。
Further, the present invention provides a CP for performing various arithmetic processing.
U, a power supply unit controlled by software, a power switch, and storage means for storing software for performing processing when power is turned off, and when the power switch is turned off, this is notified to the CPU. At the same time when the power switch is turned off, when it is detected that a predetermined system processing request has been made, the software for performing a power-off process stored in the storage unit is started and executed. Features.

【0008】[0008]

【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明は、その好ましい実施の形態におい
て、各種演算処理を行うCPU(図1の1)と、ソフト
ウェア制御される電源部(図1の3)と、電源スイッチ
(図1の2)と、電源断時の処理を行うソフトウェアを
格納した記憶手段(図1の4)と、を備え、電源スイッ
チがオフされた際に、これをCPUに割り込み等で通知
し、電源スイッチのオフと同時に、キーボードのシステ
ム処理要求キーが押下された状態であることを検出した
際に、記憶手段(図1の4)に格納されている電源断時
の処理を行うソフトウェアを起動して実行する。
Embodiments of the present invention will be described below. According to a preferred embodiment of the present invention, a CPU (1 in FIG. 1) for performing various arithmetic processing, a power supply unit (3 in FIG. 1) controlled by software, a power switch (2 in FIG. 1), Storage means (4 in FIG. 1) for storing software for performing a process at the time of disconnection. When the power switch is turned off, this is notified to the CPU by an interrupt or the like. When the system processing request key is detected as being pressed, the software for processing when the power is turned off stored in the storage means (4 in FIG. 1) is activated and executed.

【0009】このように、本発明の実施の形態において
は、情報処理装置の電源断処理を行う場合に、ROM等
の記憶手段(図1の4)に格納されているシステム処理
ソフトウェアを、電源スイッチとキーボードが同時に押
下された時に、起動する機構を備えたことにより、電源
断時にユーザの要求によりシステム処理の実行が容易に
行える。
As described above, in the embodiment of the present invention, when the power-off process of the information processing apparatus is performed, the system processing software stored in the storage means (4 in FIG. 1) such as a ROM is stored in the power supply. By providing a mechanism for activating when the switch and the keyboard are simultaneously pressed, system processing can be easily performed at the time of power-off in response to a user request.

【0010】[0010]

【実施例】本発明の実施例について図面を参照して以下
に詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0011】図1は、本発明の一実施例の構成を示す図
である。図1を参照すると、本発明の一実施例に係る情
報処理装置は、CPU(中央演算処理装置)1と、電源
スイッチ2と、電源部3と、ROM(読み出し専用メモ
リ)4と、RAM(ランダムアクセスメモリ)5と、キ
ーボード装置6と、CPUバス7と、各デバイスへの電
源供給用ライン(給電線)8と、を備えて構成されてい
る。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. Referring to FIG. 1, an information processing apparatus according to an embodiment of the present invention includes a CPU (Central Processing Unit) 1, a power switch 2, a power supply unit 3, a ROM (Read Only Memory) 4, and a RAM (Read Only Memory). A random access memory 5, a keyboard device 6, a CPU bus 7, and a power supply line (power supply line) 8 to each device are provided.

【0012】電源部3は、電源スイッチ2により電源オ
ン状態となり、装置全体に給電線8を介して各デバイス
の電源をオンとする。
The power supply unit 3 is turned on by the power switch 2, and turns on the power of each device via the power supply line 8 for the entire apparatus.

【0013】電源オン後は、ROM4に格納されている
ソフトウェア(プログラム)により動作する。
After the power is turned on, it operates by software (program) stored in the ROM 4.

【0014】本発明の一実施例において、電源部3は、
CPU1で実行されるソフトウェアによって電源オフと
なるモードに切り替えられ、またROM4は、電源スイ
ッチ2が押下され電源オフとなった時に動作するソフト
ウェア(プログラム)を格納している。
In one embodiment of the present invention, the power supply unit 3
The mode is switched to a power-off mode by software executed by the CPU 1, and the ROM 4 stores software (program) that operates when the power switch 2 is pressed and the power is turned off.

【0015】電源スイッチ2が押下されると、電源部3
を介してCPU1に割り込み(NMI(マスク不能な割
り込み)又はSMI(ソフトウェアマスク可能な割り込
み))が上がり、CPU1は割り込みを受け付け、RO
M4に格納されている電源断時の処理を起動させること
となる。
When the power switch 2 is depressed, the power supply 3
(NMI (non-maskable interrupt) or SMI (software maskable interrupt)) is raised to CPU 1 via CPU, and CPU 1 accepts the interrupt and returns to RO.
The power-off process stored in M4 is started.

【0016】次に本発明の一実施例の動作について、図
2のフローチャートを参照して詳細に説明する。
Next, the operation of the embodiment of the present invention will be described in detail with reference to the flowchart of FIG.

【0017】図2は、電源スイッチ2を押下した時に、
ソフトウェア(ROM4に格納されているシステム処理
ソフトウェア)で電源をプログラム制御する処理フロー
を示す流れ図である。
FIG. 2 shows that when the power switch 2 is depressed,
6 is a flowchart showing a processing flow for controlling power supply by software (system processing software stored in ROM 4).

【0018】電源スイッチ2が押下された時に、キーボ
ード装置のキーについて、電源スイッチ2の押下と同時
に押下されているキーの取得を行い(ステップ12)、
押下されていたキーがシステム処理の要求キーの押下で
ある場合(ステップ13のYES)には、ユーザからの
システム処理実行の要求があったものとして、ROM4
に格納されてたシステム処理を実行し(ステップ1
5)、その後、電源断処理を実行する(ステップ1
6)。これにより、ROM4内のプログラムによりシス
テムの電源をオフすることになる。
When the power switch 2 is pressed, the pressed key is obtained for the keys of the keyboard device at the same time as the power switch 2 is pressed (step 12).
If the pressed key is a key for requesting the system processing (YES in step 13), it is determined that the user has requested the execution of the system processing.
Executes the system processing stored in (1)
5) Then, a power-off process is executed (step 1).
6). As a result, the power of the system is turned off by the program in the ROM 4.

【0019】一方、システム処理の要求キーの押下の判
定ステップ13において、システム処理要求キーが押下
されていない場合には、オペレーティングシステム(O
S)シャットダウン処理の実行か否かを判定し(ステッ
プ14)、OSのシャットダウンが不要の場合には、電
源断処理によりシステムの電源をオフとする(ステップ
16)。
On the other hand, if it is determined in step 13 that the request key of the system processing has been pressed, the operating system (O
S) It is determined whether or not to execute a shutdown process (step 14). If it is not necessary to shut down the OS, the system is turned off by a power-off process (step 16).

【0020】またOSのシャットダウンが必要な場合に
は、ROM4内のプログラムからOSのシャットダウン
18のシャットダウン処理を呼び出し、シャットダウン
を実行し(ステップ18)、その後、OSの持つ電源断
処理により、システムの電源をオフする(ステップ1
9)。
If the OS needs to be shut down, the program in the ROM 4 calls the shutdown processing of the OS shutdown 18 and executes the shutdown (step 18). Turn off the power (Step 1
9).

【0021】[0021]

【発明の効果】以上説明したように、本発明によれば、
電源スイッチ押下時に、ユーザの要求によりシステム処
理を実行する、ことができる、という効果を奏する。
As described above, according to the present invention,
When the power switch is pressed, the system processing can be executed in response to a user request.

【0022】その理由は、本発明においては、電源スイ
ッチとキーボードとを組み合わせることにより、ユーザ
の要求がCPUに上がり、ROM等に記憶手段に格納さ
れたシステム処理プログラムを実行する、ように構成し
たことによる。
The reason is that, in the present invention, by combining the power switch and the keyboard, the user's request is raised to the CPU, and the system processing program stored in the storage means in the ROM or the like is executed. It depends.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の一実施例の処理フローを説明するため
のフローチャート図である。
FIG. 2 is a flowchart illustrating a processing flow according to an embodiment of the present invention.

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

1 CPU 2 電源スイッチ 3 電源部 4 ROM 5 RAM 6 キーボード装置 7 CPUバス 8 電源供給 DESCRIPTION OF SYMBOLS 1 CPU 2 Power switch 3 Power supply part 4 ROM 5 RAM 6 Keyboard device 7 CPU bus 8 Power supply

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】電源スイッチのオフの通知を受けた際に、
所定の処理要求が上がっていることを検出した場合、C
PUは該処理要求を受けて該処理のソフトウェアを起動
し該処理の実行が終了した後に、ソフトウェア制御にて
電源をオフする、ことを特徴とする電源断時におけるシ
ステム処理要求方式。
1. Upon receiving a notification that a power switch is turned off,
When it is detected that a predetermined processing request has been issued, C
A system processing request method at power-off, wherein the PU activates software for the processing in response to the processing request, and turns off the power under software control after the execution of the processing is completed.
【請求項2】前記電源スイッチのオフの通知を受けた際
に、キーボード装置の所定の処理要求キーが押下された
ことを検出した場合に、前記CPUは前記処理を実行す
る、ことを特徴とする請求項1記載の電源断時における
システム処理要求方式。
2. The method according to claim 1, wherein the CPU executes the processing when it is detected that a predetermined processing request key of a keyboard device is pressed upon receiving a notification that the power switch is turned off. 2. The system processing request method according to claim 1, wherein the power supply is turned off.
【請求項3】各種演算処理を行うCPUと、 ソフトウェア制御される電源部と、 電源スイッチと、 電源断時の処理を行うソフトウェアを格納した記憶手段
と、 を備え、 前記電源スイッチがオフされた時にこれを前記CPUに
通知し、前記電源スイッチのオフと同時に、所定のシス
テム処理要求がなされた状態であることを検出した際
に、前記記憶手段に格納されている電源断時の処理を行
うソフトウェアを起動して実行する、ことを特徴とする
電源断時におけるシステム処理要求方式。
3. A power supply unit controlled by software, a power supply unit controlled by software, a power switch, and storage means for storing software for performing processing when power is turned off, wherein the power switch is turned off. At this time, the CPU notifies the CPU that the power switch is turned off, and when it is detected that a predetermined system processing request has been made, performs the power-off processing stored in the storage unit. A system processing request method at the time of power interruption, wherein software is started and executed.
【請求項4】キーボードの押下キーの情報を取得し、該
押下されたキーがユーザからのシステム処理要求を指示
する所定のキーである場合に、前記記憶手段に格納され
ている電源断時の処理を行うソフトウェアを起動して実
行する、ことを特徴とする請求項3記載の電源断時にお
けるシステム処理要求方式。
4. When information of a pressed key of a keyboard is obtained, and the pressed key is a predetermined key for instructing a system processing request from a user, the information stored in the storage means when power is turned off is stored. 4. The system processing request method at the time of power interruption according to claim 3, wherein software for performing the processing is started and executed.
JP8320871A 1996-11-15 1996-11-15 System processing request system for power-off time Pending JPH10149232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8320871A JPH10149232A (en) 1996-11-15 1996-11-15 System processing request system for power-off time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8320871A JPH10149232A (en) 1996-11-15 1996-11-15 System processing request system for power-off time

Publications (1)

Publication Number Publication Date
JPH10149232A true JPH10149232A (en) 1998-06-02

Family

ID=18126198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8320871A Pending JPH10149232A (en) 1996-11-15 1996-11-15 System processing request system for power-off time

Country Status (1)

Country Link
JP (1) JPH10149232A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253504A (en) * 2010-06-04 2011-12-15 Brother Ind Ltd Portable electronic appliance
US9013528B2 (en) 2010-06-04 2015-04-21 Brother Kogyo Kabushiki Kaisha Handheld printer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253504A (en) * 2010-06-04 2011-12-15 Brother Ind Ltd Portable electronic appliance
US9013528B2 (en) 2010-06-04 2015-04-21 Brother Kogyo Kabushiki Kaisha Handheld printer
US9242483B2 (en) 2010-06-04 2016-01-26 Brother Kogyo Kabushiki Kaisha Handheld printer
US9403385B2 (en) 2010-06-04 2016-08-02 Brother Kogyo Kabushiki Kaisha Handheld printer

Similar Documents

Publication Publication Date Title
JP3799130B2 (en) Method for switching power saving mode of computer having power saving function while using network
US5303171A (en) System suspend on lid close and system resume on lid open
JP3855172B2 (en) Method of operating a system including a processor, storage device and peripheral device
JPH11143594A (en) Computer system and power saving method for computer system
JPH11259189A (en) Power supply control device for peripheral equipment
JPH0458047B2 (en)
JPH04172535A (en) Popup control system for personal computer
JPH10149232A (en) System processing request system for power-off time
JPH08272755A (en) Process switching device
JPH0689121A (en) Information processor facilitating change of using environment
JPH10333790A (en) Information processor equipped with power-saving function and power saving releasing method for the information processor
JPH06208525A (en) Method for switching operation mode of processor
JPH0728544A (en) Computer system
US6282664B1 (en) Method and apparatus for switching an electronic system between an operating mode and stand-by mode
JP2000112576A (en) Reset device and information processor
JP2517563B2 (en) Data processing device
JPH06337739A (en) Computer system
KR20010085133A (en) Method Of Menory Power Control
JPH1049351A (en) Information processor
JPH08328874A (en) Control system for cpu operating state
JPH05265602A (en) Power management control device
JPH08137765A (en) Power cut processing system and freezing processing system
JPH04260908A (en) Computer system starting system
JP3302149B2 (en) Computer system
JPH03225515A (en) System starting method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981208