JP3707844B2 - Computer system and its resume processing method - Google Patents

Computer system and its resume processing method Download PDF

Info

Publication number
JP3707844B2
JP3707844B2 JP33041895A JP33041895A JP3707844B2 JP 3707844 B2 JP3707844 B2 JP 3707844B2 JP 33041895 A JP33041895 A JP 33041895A JP 33041895 A JP33041895 A JP 33041895A JP 3707844 B2 JP3707844 B2 JP 3707844B2
Authority
JP
Japan
Prior art keywords
resume
power
state
executed
turned
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 - Lifetime
Application number
JP33041895A
Other languages
Japanese (ja)
Other versions
JPH09167029A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP33041895A priority Critical patent/JP3707844B2/en
Publication of JPH09167029A publication Critical patent/JPH09167029A/en
Application granted granted Critical
Publication of JP3707844B2 publication Critical patent/JP3707844B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、サスペンド・リジューム機能を備えたパーソナルコンピュータ等のコンピュータシステムに関する。
【0002】
【従来の技術】
従来、特にバッテリにより駆動する携帯型のパーソナルコンピュータには、電源消費の節約を図るために、サスペンド・リジューム(resume)機能を有するシステムがある。サスペンド・リジューム機能(以下単にリジューム機能と称する)は、システム電源のオフ時に、システムの動作状態に関係する情報を、バックアップ電源によりバックアップされたメモリ(通常ではメインメモリであるRAM)に保存し、システム電源のオン時にその保存した情報を復元してオフ前の状態からシステムを再開する機能である。
【0003】
ここで、保存すべき情報(リジューム情報)とは、例えば作成処理中の文書情報、表示画面上に表示した情報、またはCPUの内部レジスタにセットされているステータス情報等である。
【0004】
このリジューム機能により、システムの非動作時にシステム電源をオフし、しかもシステム電源をオンしたときに、オフ直前のシステムの動作状態に関係するリジューム情報を復元するため、オフ直前の状態からシステムを再開することができる。
【0005】
バックアップ電源としては、充電式のバッテリや補助電池が使用されている。
このため、リジューム機能を有するシステムには、バックアップ電源を設けるためのコストが必要となる。さらに、補助電池の交換忘れや充電式のバッテリに充電されていない状態があると、バックアップ電源が機能せずに、リジューム機能が働かず、システムの再開に必要なリジューム情報が消去される事態が発生する。
【0006】
このような問題を解消するために、リジューム情報をバックアップされたメモリに保存せずに、ハードディスク装置(HDD)等の外部記憶装置に保存する方式が開発されている。HDDは、バックアップ電源を必要とせずに、リジューム情報を保存するができるため、確実にリジューム機能を実行させることが可能である。
【0007】
一方、いわゆるノート型と称する携帯型のパーソナルコンピュータには、リジューム機能と合わせて、表示装置の画面を構成する表示パネル部の開閉状態に応じて、システム電源のオン/オフ動作を行なう方式がある。
【0008】
この方式では、通常では液晶ディスプレイ(LCD)の画面を有する表示パネル部の開閉動作に連動する電源用スイッチが設けられている。ノート型のパーソナルコンピュータは通常では、システムの起動時に表示パネル部を開いた状態にして操作し、システムを停止させるときには表示パネル部を閉じた状態で携帯するような構造になっている。
【0009】
したがって、表示パネル部を開けたときに、電源用スイッチがオン状態となり、システムの電源コントローラ(電源マイコン)がシステム電源をオンさせる。
また、表示パネル部を閉じたときに、電源用スイッチがオフ状態となり、電源コントローラがシステム電源をオフさせる。このシステム電源のオン/オフ時に、前述のリジューム機能が動作することになる。
【0010】
【発明が解決しようとする課題】
前述のように、HDD等を利用したリジューム機能および表示パネル部の開閉状態に応じてシステム電源のオン/オフ動作を行なう方式を採用したパーソナルコンピュータでは、表示パネル部の開閉操作によりシステム電源をオン/オフさせて、システムの起動と停止を簡単に行なうことが可能となる。また、システム電源のオン/オフ時に、リジューム情報をHDDに保存するため、バックアップ電源を必要とせずに、リジューム機能を確実に実行することができる。
【0011】
しかしながら、電源スイッチを操作する場合と比較して、表示パネル部の開閉操作では、短時間に表示パネル部を開状態から閉状態に操作したり、またはその逆操作をする場合がある。この場合、表示パネル部の開閉操作に応じて、リジューム情報をHDDに保存したり、または逆にHDDからリジューム情報を読出すリジューム機能が実行されるが、HDDはICメモリのRAMからなるメインメモリと比較して、アクセス速度が低速である。したがって、表示パネル部の開閉操作に従った状態遷移(開状態と閉状態間の変化)が短時間の場合には、以前のリジューム機能が終了する前に、その後のリジューム機能が開始されるような事態となる。
【0012】
本発明の目的は、例えば表示パネル部の開閉操作により、システム電源のオン状態とオフ状態間の状態遷移が短時間の場合でも、リジューム機能を確実に実現することにある。
【0013】
【課題を解決するための手段】
本発明の観点は、電源のオフ時にシステムの動作状態に関係する情報を外部記憶装置に保存する第1のリジューム処理、及び前記電源のオン時に前記外部記憶装置に保存された情報を復元して前記電源のオフ前の動作状態からシステムを再開する第2のリジューム処理のそれぞれを実行する手段と、前記電源のオン又はオフを制御するための電源用スイッチのオン動作またはオフ動作を指示する手段と、前記電源用スイッチのオフ動作の指示から一定時間が経過したか否かを判定する手段と、前記一定時間の経過後に、前記第2のリジューム処理が実行中であるか否かを判定する手段と、前記第2のリジューム処理が実行中でない場合に前記第1のリジューム処理を実行し、あるいは前記第2のリジューム処理が実行中の場合には前記第2のリジューム処理を中断して前記第1のリジューム処理を実行する手段とを具備したコンピュータシステムである。
【0015】
【発明の実施の形態】
以下図面を参照して本発明の実施の形態を説明する。
図1は第1の実施形態に関係するコンピュータシステムの要部を示すブロック図であり、図2と図3は本実施形態の動作を説明するためのフローチャートであり、図4は第2の実施形態の動作を説明するためのフローチャートである。
(システム構成)
本実施形態のシステムは、HDDを利用したリジューム機能を有し、かつ表示装置の表示パネル部の開閉操作に連動して電源用スイッチをオン/オフ動作するように構成されたノート型等の携帯型パーソナルコンピュータを想定している。
【0016】
本システムは、図1に示すように、マイクロプロセッサ(CPU)1と、メインメモリ2と、表示装置4と、電源コントローラ7と、HDD8とを有する。CPU1は、システムの中央処理装置であり、予め用意されたBIOS(基本入出力システム)等のソフトウエアにより、本実施形態のリジューム機能を実行する。
【0017】
メインメモリ2は、CPU1の各種データ処理に使用されるデータを保存したり、リジューム情報を保存するためのバックアップメモリ領域2aを有する。リジューム情報は、リジューム機能の実行により、CPU1の内部レジスタのステータス情報、表示画面上の表示情報、その他のシステムの再開に必要な情報からなる。メインメモリ2は、ICメモリであるRAMからなり、充電式バッテリまたは補助電池からなるサブバッテリ3によりバックアップされている。
【0018】
表示装置4は、CPU1により処理された各種データを表示する表示画面を有する。表示画面はLCDパネルである表示パネル部5からなる。さらに、表示装置4は、表示パネル部5の開閉動作に連動してオン/オフ動作する電源用スイッチ(以下パネルSWと称する)6を有する。
【0019】
パネルSW6は、表示パネル部5の開状態(システムの起動時)に応じてオン動作し、システム電源のオン動作を電源コントローラ7に指示する。また、表示パネル部5の閉状態(システムの停止時)に応じてオフ動作し、システム電源のオフ動作を電源コントローラ7に指示する。
【0020】
電源コントローラ7は、パネルSW6やシステムの電源スイッチ(図示せず)のオン/オフ動作に基づいて、システム電源やサブバッテリ3からの電源供給を制御する。電源コントローラ7は、電源供給制御に関する制御信号をCPU1に通知する。
【0021】
HDD8はシステムの外部記憶装置であり、本実施形態ではリジューム機能により、リジューム情報を保存し、またリジューム情報を復元するためのアクセス動作を実行する。
(第1の実施形態の動作)
以下図2と図3のフローチャートを参照して、本実施形態の動作を説明する。
本実施形態では、表示パネル部5の開操作に応じたリジューム制御処理(SWオン処理)およびその閉操作に応じたリジューム制御処理(SWオフ処理)が実行される。
【0022】
まず、表示パネル部5が閉状態になっており、システムが停止またはサスペンド(動作中断)状態であると想定する。このとき、表示パネル部5が開操作されると、パネルSW6はオン状態になる(ステップS1のYES)。なお、パネルSW6のオフ状態では、図3に示すSWオフ処理が実行される(ステップS1のNO,S8)。
【0023】
電源コントローラ7は、パネルSW6のオン動作を検知し、パネルSW6のオフ状態からオン状態までの状態遷移(表示パネル部5の開閉状態の遷移)の経過時間を判定する(ステップS2,S3)。即ち、電源コントローラ7は、パネルSW6のオフ状態からオン状態までの経過時間が、予め設定された基準時間未満であるか否かを判定する。
【0024】
ここで、基準時間は、電源オフ時に起動するリジューム機能により、リジューム情報をHDD8に保存するための処理時間の例えば平均値とする。即ち、基準時間は、通常ではリジューム情報がHDD8に保存される程度の経過時間に相当する。
【0025】
この経過時間が基準時間未満であれば、電源コントローラ7はパネルSW6のオン状態を認知せず、システム電源を供給しない(ステップS3のNO)。したがって、CPU1は、表示パネル部5が開操作されて、パネルSW6がオン状態になっても、電源オン動作に伴うリジューム機能は実行しない。即ち、システムの起動または再開は保留状態である。
【0026】
基準時間を越えた場合(一定時間の経過後)、電源コントローラ7は、CPU1によるリジューム機能が実行中であるか否かを判定する(ステップS4)。ここでは、パネルSW6がオンする前に、表示パネル部5の閉操作に伴って、電源オフ時のリジューム処理、即ちリジューム情報がHDD8に保存される処理が実行中であるか否かを判定する。
【0027】
このリジューム処理が実行されていない状態または終了した時点で、電源コントローラ7はパネルSW6のオン状態を認知する(ステップS4のNO,S5のYES,S6)。したがって、システム電源をオンさせて、システムに電源を供給してシステムを起動させる(ステップS7)。
【0028】
このとき、CPU1は、電源オン動作に伴うリジューム処理、即ちHDD8に保存されたリジューム情報を読出して、電源オフ直前の状態に復帰してシステムを再開させる。
【0029】
一方、表示パネル部5が開状態になっており、システムは動作中であると想定する。このとき、表示パネル部5が閉操作されると、パネルSW6はオフ状態になる(ステップS10のYES)。このとき、パネルSW6がオフしてから基準時間経過未満であれば、電源コントローラ7はパネルSW6のオフ状態を認知せず、SWオン処理中であると判定する(ステップS10のNO)。
【0030】
基準時間を越えた場合(一定時間の経過後)、電源コントローラ7は、CPU1によるリジューム機能が実行中であるか否かを判定する(ステップS11)。
このリジューム機能とは、電源オン動作に伴うリジューム処理、即ちHDD8に保存されたリジューム情報を読出して、電源オフ直前の状態に復帰してシステムを再開させる処理である。
【0031】
CPU1は、電源コントローラ7から電源オフ状態の指示を受けると、リジューム処理を中断して、電源オフ動作に伴うリジューム処理を開始する(ステップS12,S13)。即ち、リジューム情報をHDD8に保存する処理を実行する。
【0032】
次に、表示パネル部5の開操作によりパネルSW6がオンするまで、システム電源の供給は停止されて、システムはサスペンド状態(中断状態)となる(ステップS15)。なお、表示パネル部5の開操作によりパネルSW6がオンすると、前述の図2に示すSWオン処理が実行される(ステップS16)。
【0033】
以上のように本実施形態によれば、表示パネル部5の開閉操作がなされたときに、閉状態(パネルSW6がオフ)から開状態(パネルSW6がオン)に変化する状態遷移の経過時間が、基準時間未満のように非常に短時間の場合には、パネルSW6のオン状態を認知しない。したがって、システム電源のオフ状態は維持されており、システム電源のオン動作に伴うリジューム機能は保留状態となる。
【0034】
さらに、前記の状態遷移の経過時間が基準時間を越えている場合でも、それ以前に表示パネル部5が閉状態、即ち電源オフ時に実行したリジューム機能が実行中の場合には、そのリジューム処理が終了するまで、システム電源のオン動作は保留状態となる。これにより、一度システム電源をオフした直後に、表示パネル部5を開ける操作をしても、実行中のリジューム処理が中断されることはなく、リジューム情報を確実に保存することができる。
【0035】
一方、表示パネル部5の開状態から閉状態に操作されたときに、その状態遷移の経過時間が、基準時間未満のように非常に短時間の場合には、パネルSW6のオフ状態を認知しない。したがって、システム電源のオン状態は維持されており、システム電源のオフ動作に伴うリジューム機能は保留状態である。
【0036】
また、状態遷移の経過時間が基準時間を越えている場合であって、電源オン時に実行したリジューム機能が実行中の場合には、そのリジューム処理を中断して電源オフ動作に伴うリジューム処理を開始する。この場合、電源オン時のリジューム処理は、HDD8から保存したリジューム情報を読出して、システムを再開する処理であるため、中断してもリジューム情報が消去されるようなことはない。
(第2の実施形態)
次に、図4のフローチャートを参照して、第2の実施形態の動作を説明する。
第2の実施形態の場合でも、システム構成は、前述の図1に示すパーソナルコンピュータを想定している。
【0037】
まず、表示パネル部5が開状態で、パネルSW6がオン状態の場合を想定する(ステップS20のYES)。このとき、表示パネル部5が閉操作されると、パネルSW6がオフ状態になる(ステップS21のYES)。当然ながら、表示パネル部5の開状態が維持されている場合には、システムは動作状態であり、各種のデータ処理を実行する(ステップS21のNO,S24)。
【0038】
パネルSW6がオフしてから基準時間経過未満であれば、電源コントローラ7はパネルSW6のオフ状態を認知せず、システム電源がオン状態であると判定する(ステップS22のNO)。
【0039】
基準時間を越えた場合(一定時間の経過後)、電源コントローラ7は、パネルSW6のオフ状態を認知し、システム電源のオフ動作に移行する。CPU1は、電源コントローラ7から電源オフ状態の指示を受けると、電源オフ動作に伴うリジューム処理を実行する(ステップS23)。即ち、システムの再開に必要なリジューム情報をHDD8に保存する処理を実行する。
【0040】
一方、表示パネル部5が閉状態で、パネルSW6がオフ状態の場合を想定する(ステップS20のNO)。このとき、表示パネル部5が開操作されると、パネルSW6がオン状態になる(ステップS25のYES)。当然ながら、表示パネル部5の閉状態が維持されている場合には、システムはシステム電源の供給が停止されて、サスペンド状態である(ステップS25のNO,S28)。
【0041】
パネルSW6がオンしてから基準時間経過未満であれば、電源コントローラ7はパネルSW6のオン状態を認知せず、システム電源がオフ状態であると判定する(ステップS26のNO)。
【0042】
基準時間を越えた場合(一定時間の経過後)、電源コントローラ7は、パネルSW6のオン状態を認知し、システム電源のオン動作に移行する。CPU1は、電源コントローラ7から電源オン状態の指示を受けると、電源オン動作に伴うリジューム処理を実行する(ステップS27)。即ち、リジューム情報をHDD8から読出し、システムを再開する処理に移行する。
【0043】
以上のように第2の実施形態によれば、表示パネル部5の開閉操作に伴って、パネルSW6がオフ状態からオン状態、またはオン状態からオフ状態に状態遷移した場合に、その状態遷移の経過時間が、基準時間未満のように非常に短時間の場合には、システム電源のオン状態またはオフ状態の状態遷移を認知しない。したがって、表示パネル部5の開閉操作の前の状態を維持し、変化した状態に伴うリジューム機能は保留状態となる。
【0044】
これにより、表示パネル部5の開閉操作の前の状態に伴うリジューム機能の実行状態とは無関係に、表示パネル部5の開閉操作の経過時間が非常に短時間の場合には、それ以前の状態を常に維持する。
【0045】
【発明の効果】
以上詳述したように本発明によれば、例えば表示パネル部の開閉操作に伴ってシステム電源のオン・オフ状態を制御する方式のシステムにおいて、オン・オフ状態の状態遷移が非常に短時間の場合には、その状態遷移の前の状態を維持し、変化後の状態に伴うリジューム機能を保留にする。したがって、ICメモリに比較したアクセス速度が低速のHDD等を利用したリジューム機能において、短時間にシステム電源のオン・オフ状態が変化した場合でも、リジューム情報をHDDに保存するリジューム処理を確実に実行することができる。これにより、結果的にバックアップ電源を必要としないリジューム機能を確実に動作させて、このリジューム機能を有するパーソナルコンピュータ等のシステムの信頼性を向上することが可能となる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態に関係するコンピュータシステムの要部を示すブロック図。
【図2】第1の実施形態の動作を説明するためのフローチャート。
【図3】第1の実施形態の動作を説明するためのフローチャート。
【図4】第2の実施形態の動作を説明するためのフローチャート。
【符号の説明】
1…マイクロプロセッサ(CPU)
2…メインメモリ(RAM)
3…サブバッテリ
4…表示装置
5…表示パネル部(LCDパネル)
6…電源用スイッチ
7…電源コントローラ
8…ハードディスク装置(HDD)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a computer system such as a personal computer having a suspend / resume function.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a portable personal computer driven by a battery has a system having a suspend / resume function in order to save power consumption. The suspend / resume function (hereinafter simply referred to as the resume function) stores information related to the operating state of the system in a memory backed up by a backup power source (usually a RAM which is a main memory) when the system power is turned off. This function restores the saved information when the system power is turned on and resumes the system from the state before the power was turned off.
[0003]
Here, the information to be saved (resume information) is, for example, document information being created, information displayed on the display screen, status information set in an internal register of the CPU, or the like.
[0004]
With this resume function, the system power is turned off when the system is not operating, and when the system power is turned on, the resume information related to the system operating status immediately before turning off is restored. can do.
[0005]
A rechargeable battery or an auxiliary battery is used as the backup power source.
For this reason, a system having a resume function requires a cost for providing a backup power source. In addition, if you forget to replace the auxiliary battery or the rechargeable battery is not charged, the backup power supply will not function, the resume function will not work, and the resume information required to restart the system may be erased. appear.
[0006]
In order to solve such a problem, a method of saving resume information in an external storage device such as a hard disk drive (HDD) without saving it in a backed up memory has been developed. Since the HDD can store resume information without requiring a backup power source, the resume function can be surely executed.
[0007]
On the other hand, portable personal computers called so-called notebook computers have a system power on / off operation in accordance with the open / closed state of the display panel section constituting the screen of the display device, together with the resume function. .
[0008]
In this system, a power supply switch that is linked to the opening / closing operation of a display panel section having a liquid crystal display (LCD) screen is usually provided. A notebook personal computer is normally configured to be operated with the display panel portion open when the system is started, and carried with the display panel portion closed when the system is stopped.
[0009]
Therefore, when the display panel unit is opened, the power switch is turned on, and the system power controller (power microcomputer) turns on the system power.
When the display panel unit is closed, the power switch is turned off, and the power controller turns off the system power. When the system power is turned on / off, the resume function described above operates.
[0010]
[Problems to be solved by the invention]
As described above, in a personal computer that employs a resume function using an HDD or the like and a system power on / off operation according to the open / close state of the display panel, the system power is turned on by opening / closing the display panel. It is possible to easily start and stop the system. Further, since the resume information is stored in the HDD when the system power is turned on / off, the resume function can be reliably executed without requiring a backup power source.
[0011]
However, compared with the case where the power switch is operated, in the opening / closing operation of the display panel unit, the display panel unit may be operated from the open state to the closed state in a short time, or vice versa. In this case, the resume function is executed to save the resume information in the HDD or read the resume information from the HDD according to the opening / closing operation of the display panel unit. The HDD is a main memory composed of the RAM of the IC memory. Compared with, the access speed is low. Therefore, when the state transition (change between the open state and the closed state) according to the opening / closing operation of the display panel is short, the subsequent resume function is started before the previous resume function is finished. Will happen.
[0012]
An object of the present invention is to reliably realize a resume function even when a state transition between an on state and an off state of a system power supply is short, for example, by an opening / closing operation of a display panel unit.
[0013]
[Means for Solving the Problems]
An aspect of the present invention provides a first resume process for storing information related to a system operating state in an external storage device when the power is turned off, and restoring the information stored in the external storage device when the power is turned on. Means for executing each of the second resume processing for restarting the system from the operating state before the power is turned off; and means for instructing an on operation or an off operation of the power switch for controlling the power on or off. And a means for determining whether or not a predetermined time has elapsed from an instruction to turn off the power switch, and determining whether or not the second resume process is being executed after the predetermined time has elapsed. And means for executing the first resume process when the second resume process is not being executed, or the second resume process when the second resume process is being executed. Interrupt the resuming processing is a computer system provided with the means for executing the first resume process.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a main part of a computer system related to the first embodiment, FIGS. 2 and 3 are flowcharts for explaining the operation of this embodiment, and FIG. 4 is a second embodiment. It is a flowchart for demonstrating operation | movement of a form.
(System configuration)
The system according to the present embodiment has a resume function using an HDD, and is a portable type such as a notebook type configured to turn on / off a power switch in conjunction with an opening / closing operation of a display panel unit of a display device. A personal computer is assumed.
[0016]
As shown in FIG. 1, this system includes a microprocessor (CPU) 1, a main memory 2, a display device 4, a power supply controller 7, and an HDD 8. The CPU 1 is a central processing unit of the system, and executes the resume function of this embodiment by software such as BIOS (basic input / output system) prepared in advance.
[0017]
The main memory 2 has a backup memory area 2a for storing data used for various data processing of the CPU 1 and storing resume information. The resume information includes status information of the internal register of the CPU 1, display information on the display screen, and other information necessary for restarting the system by executing the resume function. The main memory 2 is composed of a RAM which is an IC memory, and is backed up by a sub battery 3 composed of a rechargeable battery or an auxiliary battery.
[0018]
The display device 4 has a display screen that displays various data processed by the CPU 1. The display screen includes a display panel unit 5 which is an LCD panel. Further, the display device 4 includes a power switch (hereinafter referred to as a panel SW) 6 that is turned on / off in conjunction with the opening / closing operation of the display panel unit 5.
[0019]
The panel SW6 is turned on according to the open state of the display panel unit 5 (when the system is started), and instructs the power supply controller 7 to turn on the system power. Further, the power supply controller 7 is instructed to turn off the system power by turning off according to the closed state of the display panel unit 5 (when the system is stopped).
[0020]
The power supply controller 7 controls power supply from the system power supply and the sub-battery 3 based on the on / off operation of the panel SW 6 and a system power switch (not shown). The power controller 7 notifies the CPU 1 of a control signal related to power supply control.
[0021]
The HDD 8 is an external storage device of the system. In this embodiment, the resume function stores the resume information and executes an access operation for restoring the resume information by the resume function.
(Operation of the first embodiment)
The operation of this embodiment will be described below with reference to the flowcharts of FIGS.
In the present embodiment, a resume control process (SW on process) according to the opening operation of the display panel unit 5 and a resume control process (SW off process) according to the closing operation are executed.
[0022]
First, it is assumed that the display panel unit 5 is in a closed state and the system is in a stopped or suspended (operation suspended) state. At this time, when the display panel unit 5 is opened, the panel SW6 is turned on (YES in step S1). Note that, in the off state of the panel SW6, the SW off process shown in FIG. 3 is executed (NO in step S1, S8).
[0023]
The power supply controller 7 detects the ON operation of the panel SW6, and determines the elapsed time of the state transition from the OFF state of the panel SW6 to the ON state (transition of the open / close state of the display panel unit 5) (steps S2 and S3). That is, the power supply controller 7 determines whether or not the elapsed time from the off state to the on state of the panel SW 6 is less than a preset reference time.
[0024]
Here, the reference time is, for example, an average value of the processing time for saving the resume information in the HDD 8 by the resume function activated when the power is turned off. In other words, the reference time corresponds to an elapsed time that normally resume data is stored in the HDD 8.
[0025]
If this elapsed time is less than the reference time, the power supply controller 7 does not recognize the ON state of the panel SW6 and does not supply system power (NO in step S3). Therefore, even when the display panel unit 5 is opened and the panel SW 6 is turned on, the CPU 1 does not execute the resume function associated with the power-on operation. That is, activation or resumption of the system is in a suspended state.
[0026]
When the reference time is exceeded (after a fixed time has elapsed), the power supply controller 7 determines whether or not the resume function by the CPU 1 is being executed (step S4). Here, before the panel SW 6 is turned on, it is determined whether or not a resume process when the power is turned off, that is, a process for saving the resume information in the HDD 8 is being executed in accordance with the closing operation of the display panel unit 5. .
[0027]
When the resume process is not executed or when it is finished, the power supply controller 7 recognizes the ON state of the panel SW6 (NO in step S4, YES in S5, S6). Therefore, the system power is turned on, the power is supplied to the system, and the system is activated (step S7).
[0028]
At this time, the CPU 1 reads out the resume processing accompanying the power-on operation, that is, resume information stored in the HDD 8, returns to the state immediately before the power-off, and restarts the system.
[0029]
On the other hand, it is assumed that the display panel unit 5 is open and the system is operating. At this time, when the display panel unit 5 is closed, the panel SW6 is turned off (YES in step S10). At this time, if the reference time has not elapsed since the panel SW6 was turned off, the power supply controller 7 does not recognize the off state of the panel SW6 and determines that the SW on process is being performed (NO in step S10).
[0030]
When the reference time is exceeded (after a certain time has elapsed), the power supply controller 7 determines whether or not the resume function by the CPU 1 is being executed (step S11).
The resume function is a resume process associated with a power-on operation, that is, a process of reading resume information stored in the HDD 8, returning to a state immediately before the power is turned off, and restarting the system.
[0031]
When the CPU 1 receives an instruction for the power-off state from the power controller 7, the CPU 1 interrupts the resume process and starts the resume process associated with the power-off operation (steps S12 and S13). That is, a process for saving the resume information in the HDD 8 is executed.
[0032]
Next, the supply of system power is stopped until the panel SW6 is turned on by the opening operation of the display panel unit 5, and the system is suspended (suspended) (step S15). When the panel SW6 is turned on by the opening operation of the display panel unit 5, the above-described SW on process shown in FIG. 2 is executed (step S16).
[0033]
As described above, according to the present embodiment, when the display panel unit 5 is opened or closed, the elapsed time of the state transition that changes from the closed state (panel SW6 is off) to the open state (panel SW6 is on). In the case of a very short time such as less than the reference time, the ON state of the panel SW6 is not recognized. Therefore, the off state of the system power supply is maintained, and the resume function associated with the on operation of the system power supply is in a suspended state.
[0034]
Further, even when the elapsed time of the state transition exceeds the reference time, if the display panel unit 5 is closed before that, that is, if the resume function executed when the power is turned off is being executed, the resume process is performed. Until the operation is completed, the system power-on operation is suspended. As a result, even if an operation for opening the display panel unit 5 is performed immediately after the system power is turned off, the resume process being executed is not interrupted, and the resume information can be reliably stored.
[0035]
On the other hand, when the display panel unit 5 is operated from the open state to the closed state, if the elapsed time of the state transition is very short such as less than the reference time, the off state of the panel SW6 is not recognized. . Therefore, the on state of the system power supply is maintained, and the resume function associated with the operation of turning off the system power supply is on hold.
[0036]
If the elapsed time of the state transition exceeds the reference time and the resume function that was executed when the power was turned on is being executed, the resume process is interrupted and the resume process associated with the power-off operation is started. To do. In this case, the resume process when the power is turned on is a process for reading the resume information stored from the HDD 8 and restarting the system. Therefore, even if the resume process is interrupted, the resume information is not erased.
(Second Embodiment)
Next, the operation of the second embodiment will be described with reference to the flowchart of FIG.
Even in the case of the second embodiment, the system configuration assumes the personal computer shown in FIG.
[0037]
First, it is assumed that the display panel unit 5 is in an open state and the panel SW6 is in an on state (YES in step S20). At this time, when the display panel unit 5 is closed, the panel SW6 is turned off (YES in step S21). Naturally, when the open state of the display panel unit 5 is maintained, the system is in an operating state and executes various data processing (NO in step S21, S24).
[0038]
If the reference time has not elapsed since the panel SW6 was turned off, the power supply controller 7 does not recognize the off state of the panel SW6 and determines that the system power supply is on (NO in step S22).
[0039]
When the reference time is exceeded (after a certain time has elapsed), the power supply controller 7 recognizes the off state of the panel SW6 and shifts to a system power off operation. When the CPU 1 receives an instruction for the power-off state from the power controller 7, the CPU 1 executes a resume process associated with the power-off operation (step S23). That is, a process for saving resume information necessary for restarting the system in the HDD 8 is executed.
[0040]
On the other hand, it is assumed that the display panel unit 5 is in the closed state and the panel SW6 is in the off state (NO in step S20). At this time, when the display panel unit 5 is opened, the panel SW6 is turned on (YES in step S25). Naturally, when the closed state of the display panel unit 5 is maintained, the supply of the system power is stopped and the system is in the suspended state (NO in step S25, S28).
[0041]
If the reference time has not elapsed since the panel SW6 was turned on, the power supply controller 7 does not recognize the on state of the panel SW6 and determines that the system power is off (NO in step S26).
[0042]
When the reference time is exceeded (after a certain time has elapsed), the power supply controller 7 recognizes the ON state of the panel SW6 and shifts to the system power ON operation. When the CPU 1 receives a power-on instruction from the power controller 7, the CPU 1 executes a resume process associated with the power-on operation (step S27). In other words, the resume information is read from the HDD 8, and the process proceeds to restarting the system.
[0043]
As described above, according to the second embodiment, when the panel SW 6 changes state from the off state to the on state or from the on state to the off state in accordance with the opening / closing operation of the display panel unit 5, When the elapsed time is very short such as less than the reference time, the system power supply does not recognize the state transition of the on state or the off state. Therefore, the state before the opening / closing operation of the display panel unit 5 is maintained, and the resume function according to the changed state is put on hold.
[0044]
As a result, regardless of the execution state of the resume function associated with the state before the opening / closing operation of the display panel unit 5, if the elapsed time of the opening / closing operation of the display panel unit 5 is very short, the previous state Always maintain.
[0045]
【The invention's effect】
As described above in detail, according to the present invention, for example, in a system that controls the on / off state of the system power supply in accordance with the opening / closing operation of the display panel unit, the state transition of the on / off state is very short. In some cases, the state before the state transition is maintained, and the resume function according to the state after the change is put on hold. Therefore, in the resume function using HDD etc. whose access speed is low compared with IC memory, even if the system power on / off state changes in a short time, the resume processing to save the resume information in HDD reliably can do. As a result, it is possible to reliably operate a resume function that does not require a backup power source, and to improve the reliability of a system such as a personal computer having the resume function.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a main part of a computer system related to a first embodiment of the present invention.
FIG. 2 is a flowchart for explaining the operation of the first embodiment;
FIG. 3 is a flowchart for explaining the operation of the first embodiment;
FIG. 4 is a flowchart for explaining the operation of the second embodiment;
[Explanation of symbols]
1 ... Microprocessor (CPU)
2 ... Main memory (RAM)
3 ... Sub-battery 4 ... Display device 5 ... Display panel section (LCD panel)
6 ... Power switch 7 ... Power controller 8 ... Hard disk drive (HDD)

Claims (3)

電源のオフ時にシステムの動作状態に関係する情報を外部記憶装置に保存する第1のリジューム処理、及び前記電源のオン時に前記外部記憶装置に保存された情報を復元して前記電源のオフ前の動作状態からシステムを再開する第2のリジューム処理のそれぞれを実行する手段と、
前記電源のオン又はオフを制御するための電源用スイッチのオン動作またはオフ動作を指示する手段と、
前記電源用スイッチのオフ動作の指示から一定時間が経過したか否かを判定する手段と、
前記一定時間の経過後に、前記第2のリジューム処理が実行中であるか否かを判定する手段と、
前記第2のリジューム処理が実行中でない場合に前記第1のリジューム処理を実行し、あるいは前記第2のリジューム処理が実行中の場合には前記第2のリジューム処理を中断して前記第1のリジューム処理を実行する手段と
を具備したことを特徴とするコンピュータシステム。
A first resume process for storing information related to the operation state of the system in an external storage device when the power is turned off; and information stored in the external storage device when the power is turned on to restore the information before the power is turned off. Means for executing each of the second resume processes for restarting the system from the operating state;
Means for instructing an on or off operation of a power switch for controlling on or off of the power;
Means for determining whether or not a predetermined time has elapsed from an instruction to turn off the power switch;
Means for determining whether or not the second resume processing is being executed after the lapse of the predetermined time;
When the second resume process is not being executed, the first resume process is executed, or when the second resume process is being executed, the second resume process is interrupted to stop the first resume process. A computer system comprising: means for executing a resume process .
システムの処理結果を画面上に表示する表示パネル部を有し、前記表示パネル部の開閉状態に連動して、前記電源用スイッチのオン動作またはオフ動作が実行される機構を有する表示装置をさらに具備したことを特徴とする請求項1に記載のコンピュータシステム。 A display device further comprising: a display panel unit that displays a processing result of the system on a screen, and a mechanism for executing an ON operation or an OFF operation of the power switch in conjunction with an open / close state of the display panel unit The computer system according to claim 1, further comprising: 電源のオフ時にシステムの動作状態に関係する情報を外部記憶装置に保存する第1のリジューム処理、及び前記電源のオン時に前記外部記憶装置に保存された情報を復元して前記電源のオフ前の動作状態からシステムを再開する第2のリジューム処理のそれぞれを実行する手段を備えたコンピュータシステムに適用するリジューム処理方法であって、A first resume process for storing information related to an operation state of the system in an external storage device when the power is turned off; and restoring information stored in the external storage device when the power is turned on to A resume processing method applied to a computer system comprising means for executing each of the second resume processing for restarting the system from an operating state,
前記電源をオフするための電源用スイッチのオフ動作から一定時間が経過したか否かを判定するステップと、Determining whether or not a certain time has elapsed since the operation of turning off the power switch for turning off the power; and
前記一定時間の経過後に、前記第2のリジューム処理が実行中であるか否かを判定するステップと、Determining whether the second resume process is being executed after the predetermined time has elapsed;
前記第2のリジューム処理が実行中でない場合に前記第1のリジューム処理を実行し、あるいは前記第2のリジューム処理が実行中の場合には前記第2のリジューム処理を中断して前記第1のリジューム処理を実行するステップとWhen the second resume process is not being executed, the first resume process is executed, or when the second resume process is being executed, the second resume process is interrupted and the first resume process is executed. Performing the resume process and
を有する手順を実行することを特徴とするリジューム処理方法。A resume processing method comprising: executing a procedure having:
JP33041895A 1995-12-19 1995-12-19 Computer system and its resume processing method Expired - Lifetime JP3707844B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33041895A JP3707844B2 (en) 1995-12-19 1995-12-19 Computer system and its resume processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33041895A JP3707844B2 (en) 1995-12-19 1995-12-19 Computer system and its resume processing method

Publications (2)

Publication Number Publication Date
JPH09167029A JPH09167029A (en) 1997-06-24
JP3707844B2 true JP3707844B2 (en) 2005-10-19

Family

ID=18232388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33041895A Expired - Lifetime JP3707844B2 (en) 1995-12-19 1995-12-19 Computer system and its resume processing method

Country Status (1)

Country Link
JP (1) JP3707844B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000020182A (en) 1998-06-29 2000-01-21 Nec Corp Power management method

Also Published As

Publication number Publication date
JPH09167029A (en) 1997-06-24

Similar Documents

Publication Publication Date Title
JP2988866B2 (en) Computer system
JPH1097353A (en) Computer system and resume processing method applied to the same system
US20080082845A1 (en) Information processing apparatus and system state control method
US7386746B2 (en) Information processing apparatus, method of starting up the same, and startup program of the same
JP4175838B2 (en) Information processing apparatus with standby mode, standby mode start method and standby mode cancel method
US20030204708A1 (en) Portable computer having hierarchical operating systems
JPH03202912A (en) Portable electronic device
US20030070065A1 (en) Suspending to nonvolatile storage
US5339444A (en) Portable computer resetting resume error caused from HDD loaded condition being changed and starting OS
JPH0744437A (en) Information processing system
JP2008090435A (en) Information processor and control method therefor
JPH113151A (en) Hibernation control method for information processor and battery driven electronic equipment
JP2004185051A (en) Electronic device and operation mode setting method for the same
JP2007148633A (en) Information processor and system control method
JPH0920047A (en) Image forming device
JP3707844B2 (en) Computer system and its resume processing method
US20030231171A1 (en) Electronic apparatus and suspend/resume method
JP3427010B2 (en) Computer system
JPH0651858A (en) Program interrupting/restarting system
JPH10268981A (en) Device and method for cutting power supply to computer system
JPH06160805A (en) Liquid crystal display control system
JP2008027354A (en) Information processing apparatus and information processing apparatus boot method
JPH10149236A (en) Method for recovering hibernation
JP2777233B2 (en) Portable computer and suspend / resume processing method thereof
JPH0566860A (en) Power source controller

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041102

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041221

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050726

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050802

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100812

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100812

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110812

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110812

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120812

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120812

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130812

Year of fee payment: 8

EXPY Cancellation because of completion of term