JPH0934578A - Information processor - Google Patents

Information processor

Info

Publication number
JPH0934578A
JPH0934578A JP7206774A JP20677495A JPH0934578A JP H0934578 A JPH0934578 A JP H0934578A JP 7206774 A JP7206774 A JP 7206774A JP 20677495 A JP20677495 A JP 20677495A JP H0934578 A JPH0934578 A JP H0934578A
Authority
JP
Japan
Prior art keywords
resume
system information
time
suspend
memory
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
JP7206774A
Other languages
Japanese (ja)
Inventor
Hisaya Tabata
久弥 田端
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 JP7206774A priority Critical patent/JPH0934578A/en
Publication of JPH0934578A publication Critical patent/JPH0934578A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an information processor which can change its constitution even in a suspension mode. SOLUTION: A CPU 4 of a personal computer records the system information on a fixed disk 5 in a suspension mode and then compares in a resumption mode the system information recorded in the suspension mode with the system information on the resumption mode. If the difference is confirmed between both system information, the resumption processing is carried out if possible by the relocation of a memory, etc. If the resumption processing is impossible, a system is started again.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、パーソナルコンピュー
タ等の情報処理装置に係り、メモリ等でそれまで使用し
ていた情報を保持したまま本体の電源を一部切るいわゆ
るサスペンド/レジューム機能を持つ情報処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device such as a personal computer, and information having a so-called suspend / resume function in which a part of the power supply of the main body is turned off while holding the information used up to that point in a memory or the like. Regarding a processing device.

【0002】[0002]

【従来の技術】従来より種々のパーソナルコンピュータ
が普及しているが、最近では、サスペンド時に、保存情
報をハードディスクドライブ等の不揮発性記憶装置に記
憶し、本体の電源を完全に落とす機能を有するパーソナ
ルコンピュータが開発されている。
2. Description of the Related Art Conventionally, various personal computers have been in widespread use, but recently, a personal computer having a function of storing stored information in a non-volatile storage device such as a hard disk drive at the time of suspension and completely turning off the power of the main body. Computers are being developed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た従来技術においては下記のような問題があった。即
ち、パーソナルコンピュータのサスペンド状態で、ユー
ザがメモリやハードディスク等を交換あるいは追加した
場合にそのままレジュームすると、パーソナルコンピュ
ータシステムの実際の機器構成とサスペンド時に記憶し
た保存情報との整合が取れなくなり、その結果、問題を
引き起こす可能性があり、エラー終了するようになって
いた。従って、パーソナルコンピュータシステムの機器
構成を変更する場合には、電源を切断してから行う必要
があった。
However, the above-mentioned prior art has the following problems. That is, when the user replaces or adds a memory or hard disk in the suspended state of the personal computer and resumes the operation as it is, the actual device configuration of the personal computer system and the saved information stored at the time of suspension cannot be matched. It could cause problems, and was supposed to terminate in error. Therefore, when changing the device configuration of the personal computer system, it was necessary to turn off the power supply.

【0004】本発明は、上記課題を解決するもので、サ
スペンド中でも機器構成を変更することを可能とした情
報処理装置を提供することを目的とする。
An object of the present invention is to solve the above problems, and an object thereof is to provide an information processing apparatus capable of changing the device configuration even during suspension.

【0005】[0005]

【課題を解決するための手段】本発明は、上記目的を達
成するため、メモリ等のシステム情報を固定ディスク等
の不揮発性記憶手段に記録し本体の電源を完全に切断す
るサスペンド機能及びレジューム機能を有する制御手段
を具備した情報処理装置において、前記制御手段が、サ
スペンド時に当該サスペンド時点でのシステム情報を前
記不揮発性記憶手段に記録する機能と、レジューム時に
当該レジューム時のシステム情報と前記サスペンド時に
記録しておいたシステム情報とを比較する機能と、前記
サスペンド時に記録しておいたシステム情報が前記レジ
ューム時のシステム情報と異なっていた場合に、レジュ
ーム可能なときはレジューム処理を行いレジューム不可
能なときはシステムの再起動処理を行う機能とを備える
構成としている。
In order to achieve the above object, the present invention records the system information such as a memory in a non-volatile storage means such as a fixed disk and completely cuts off the power supply of the main body, and a suspend function and a resume function. In the information processing apparatus including the control means having, the control means records the system information at the time of the suspension in the nonvolatile storage means at the time of suspend, and the system information at the time of resume and the system information at the time of suspend. If the system information recorded at the time of the suspend and the system information recorded at the time of the suspend differ from the system information recorded at the time of the suspend, the resume processing is performed when the resume is possible and the resume is impossible. In this case, the system is configured to have a function of performing a system restart process.

【0006】[0006]

【作用】本発明によれば、情報処理装置の制御手段は、
サスペンド状態となった場合には、その時点でのシステ
ム情報を不揮発性記憶手段に記録しておく。また、制御
手段は、レジューム状態となった場合には、サスペンド
時に不揮発性記憶手段に記録しておいたシステム情報と
レジューム時のシステム情報とを比較する。そして、制
御手段は、不揮発性記憶手段に記録しておいたサスペン
ド時のシステム情報がレジューム時のシステム情報と異
なっていた場合は、以下の処理を行う。即ち、レジュー
ムが可能な場合はそのままレジューム処理を行い、レジ
ューム不可能な場合はシステムの再起動処理を行う。こ
れにより、システムの機器構成の変更を行う場合には、
従来のように電源を切断しなくとも、サスペンド中でも
機器構成を変更することが可能となる。
According to the present invention, the control means of the information processing device is
In the case of the suspend state, the system information at that time is recorded in the nonvolatile storage means. Further, when the resume state is reached, the control means compares the system information recorded in the nonvolatile storage means at the time of suspension with the system information at the time of resume. Then, if the system information at the time of suspend recorded in the non-volatile storage means is different from the system information at the time of resume, the control means performs the following processing. That is, if the resume is possible, the resume process is performed as it is, and if the resume is not possible, the system restart process is performed. With this, when changing the device configuration of the system,
It is possible to change the device configuration even during suspend, without turning off the power supply as in the conventional case.

【0007】[0007]

【実施例】以下、本発明に係る実施例を図面に基づいて
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は本実施例のパーソナルコンピュータ
システムの構成を示すブロック図であり、電池1、電源
スイッチ2、サスペンド/レジュームスイッチ3、CP
U(中央処理装置)4、メモリ5、固定ディスク(ハー
ドディスク)6、キーボード7、ディスプレイ8、FD
D(フロッピーディスクドライブ)9を備えた構成とな
っている。
FIG. 1 is a block diagram showing the configuration of the personal computer system of this embodiment, which is a battery 1, a power switch 2, a suspend / resume switch 3, and a CP.
U (central processing unit) 4, memory 5, fixed disk (hard disk) 6, keyboard 7, display 8, FD
It has a configuration including a D (floppy disk drive) 9.

【0009】電池1からは、電源スイッチ2及びサスペ
ンド/レジュームスイッチ3を介してCPU4、メモリ
5、固定ディスク6、キーボード7、ディスプレイ8、
FDD9へ電力が各々供給される。サスペンド/レジュ
ームスイッチ3は、システムをサスペンド状態/レジュ
ーム状態とする際に押下するスイッチである。CPU4
は、メモリ5にあらかじめ格納されている処理手順に基
づき通常の処理の外に後述する図2に示す処理を行う。
メモリ5には、種々のデータが記録される。固定ディス
ク6には、後述するシステム情報やメモリサイズ等が記
録される。キーボード7、ディスプレイ8、FDD9に
ついては公知であるため説明は省略する。
From the battery 1, a CPU 4, a memory 5, a fixed disk 6, a keyboard 7, a display 8, a power switch 2 and a suspend / resume switch 3,
Electric power is supplied to the FDD 9. The suspend / resume switch 3 is a switch pressed when the system is brought into the suspend state / resume state. CPU4
Performs processing shown in FIG. 2 to be described later in addition to normal processing based on the processing procedure stored in the memory 5 in advance.
Various data is recorded in the memory 5. On the fixed disk 6, system information, memory size, etc., which will be described later, are recorded. The keyboard 7, the display 8 and the FDD 9 are well known and will not be described.

【0010】次に、本実施例の作用を、メモリ5あるい
は固定ディスク6が変更された場合を例に挙げて説明す
る。
Next, the operation of this embodiment will be described by taking the case where the memory 5 or the fixed disk 6 is changed as an example.

【0011】(1)サスペンド時の動作 ユーザによりサスペンド/レジュームスイッチ3が押下
された場合は、CPU4は、サスペンド/レジュームス
イッチ3が押下された状態でのメモリサイズを調べる。
そして、CPU4は、メモリ5の内容等、通常サスペン
ドするために必要なシステム情報を固定ディスク6に記
録すると共に、サスペンド/レジュームスイッチ3の押
下時に調べた上記メモリサイズを固定ディスク6に記録
する。
(1) Operation at Suspend When the user presses the suspend / resume switch 3, the CPU 4 checks the memory size when the suspend / resume switch 3 is pressed.
Then, the CPU 4 records the system information necessary for normal suspending, such as the contents of the memory 5, on the fixed disk 6, and also records the memory size, which is checked when the suspend / resume switch 3 is pressed, on the fixed disk 6.

【0012】(2)レジューム時の動作 レジューム時には図2に示す処理が行われる。即ち、C
PU4は、固定ディスク6から当該固定ディスク6に記
録してあったメモリサイズを読み出し(ステップS
1)、サスペンド時に記録したメモリサイズの情報が有
るか否かを調べる(ステップS2)。CPU4は、固定
ディスク6にメモリサイズが記録されていない場合に
は、サスペンド情報を記録していない固定ディスクに変
更されるか、あるいは、従来の方法でサスペンド情報が
記録された固定ディスクに変更されたものと判断し(ス
テップS3)、システムの再起動処理を行う(ステップ
S4)。
(2) Operation at Resume When resuming, the processing shown in FIG. 2 is performed. That is, C
The PU 4 reads the memory size recorded on the fixed disk 6 from the fixed disk 6 (step S
1) It is checked whether or not there is information on the memory size recorded during suspending (step S2). When the memory size is not recorded in the fixed disk 6, the CPU 4 is changed to a fixed disk in which the suspend information is not recorded, or is changed to a fixed disk in which the suspend information is recorded by the conventional method. It is determined that it has failed (step S3), and system restart processing is performed (step S4).

【0013】CPU4は、固定ディスク6にメモリサイ
ズが記録されていた場合には、現状でのメモリサイズを
調べ(ステップS5)、固定ディスク6に記録されてい
たメモリサイズと現状でのメモリサイズとの比較を行う
(ステップS6)。CPU4は、固定ディスク6に記録
されていたメモリサイズと現状でのメモリサイズとが同
じ場合には、メモリ5及び固定ディスク6とも変更され
ていないと判断し、従来通りのレジューム処理を行う
(ステップS8)。
When the memory size is recorded on the fixed disk 6, the CPU 4 checks the current memory size (step S5) and determines the memory size recorded on the fixed disk 6 and the current memory size. Are compared (step S6). When the memory size recorded in the fixed disk 6 and the current memory size are the same, the CPU 4 determines that neither the memory 5 nor the fixed disk 6 has been changed, and performs the resume processing as in the conventional case (step S8).

【0014】一方、CPU4は、固定ディスク6に記録
されていたメモリサイズが現状でのメモリサイズに比べ
減少していた場合には、メモリが削減されたか、あるい
は、よりメモリサイズが多いシステムでサスペンドされ
た固定ディスクに交換されたと判断し、記録されたメモ
リ情報を現メモリに戻すことは不可能であるため、シス
テム自体の再起動処理を行う(ステップS7)。
On the other hand, if the memory size recorded on the fixed disk 6 is smaller than the current memory size, the CPU 4 suspends the memory in a system having a reduced memory size or a larger memory size. Since it is impossible to return the recorded memory information to the present memory by judging that the fixed disk has been replaced, the system itself is restarted (step S7).

【0015】他方、CPU4は、固定ディスク6に記録
されていたメモリサイズが現状でのメモリサイズに比べ
増加している場合には、メモリが増設されたか、あるい
は、よりメモリサイズの少ないシステムでサスペンドさ
れた固定ディスクに交換されたと判断し、レジューム可
能と判定してメモリ内容の復帰を行う(ステップS
9)。この後、CPU4は、拡張メモリマネージャに対
してメモリサイズの変更を通知し(ステップS10)、
その他のレジューム情報を復帰し、レジュームする(ス
テップS11)。
On the other hand, if the memory size recorded on the fixed disk 6 is larger than the current memory size, the CPU 4 suspends the system by adding more memory or by a system with a smaller memory size. It is judged that the fixed disk has been replaced, and it is judged that resuming is possible, and the memory contents are restored (step S
9). After that, the CPU 4 notifies the extended memory manager of the memory size change (step S10),
Other resume information is restored and resumed (step S11).

【0016】[0016]

【発明の効果】以上説明したように、本発明によれば、
サスペンド時にその時点でのシステム情報を不揮発性記
憶手段に記録し、レジューム時にその時のシステム情報
とサスペンド時のシステム情報とを比較し、サスペンド
時のシステム情報がレジューム時のシステム情報と異な
っていた場合に、レジューム可能なときはレジューム処
理を行いレジューム不可能なときはシステムの再起動処
理を行うため、従来のように電源を切断しなくとも、サ
スペンド中でも機器構成を変更することが可能となる、
という効果を奏する。また、サスペンド中でも機器構成
の変更が可能となるため、固定ディスク等の不揮発性記
憶手段にサスペンド情報を記録できることとなり、従っ
て、異なった動作環境を容易に保存することができる、
という効果を奏する。
As described above, according to the present invention,
When the system information at that time is recorded in the non-volatile storage means at the time of suspend, the system information at that time is compared with the system information at the time of suspend, and the system information at the time of suspend is different from the system information at the time of resume. In addition, since the resume process is performed when the resume is possible, and the system restart process is performed when the resume is not possible, it is possible to change the device configuration even during the suspension without turning off the power as in the conventional case.
This has the effect. In addition, since the device configuration can be changed even during suspension, suspend information can be recorded in a non-volatile storage means such as a fixed disk, so that different operating environments can be easily saved.
This has the effect.

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

【図1】本発明に係る本実施例のパーソナルコンピュー
タシステムの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a personal computer system according to an embodiment of the present invention.

【図2】本実施例のレジューム処理を示すフローチャー
トである。
FIG. 2 is a flowchart showing a resume process of this embodiment.

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

1 電池(電源) 2 電源スイッチ 3 サスペンド/レジュームスイッチ 4 CPU(制御手段) 5 メモリ 6 固定ディスク(不揮発性記憶手段) 1 Battery (Power) 2 Power Switch 3 Suspend / Resume Switch 4 CPU (Control Means) 5 Memory 6 Fixed Disk (Nonvolatile Storage Means)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 メモリ等のシステム情報を固定ディスク
等の不揮発性記憶手段に記録し本体の電源を完全に切断
するサスペンド機能及びレジューム機能を有する制御手
段を具備した情報処理装置において、 前記制御手段が、サスペンド時に当該サスペンド時点で
のシステム情報を前記不揮発性記憶手段に記録する機能
と、レジューム時に当該レジューム時のシステム情報と
前記サスペンド時に記録しておいたシステム情報とを比
較する機能と、前記サスペンド時に記録しておいたシス
テム情報が前記レジューム時のシステム情報と異なって
いた場合に、レジューム可能なときはレジューム処理を
行いレジューム不可能なときはシステムの再起動処理を
行う機能とを備えたことを特徴とする情報処理装置。
1. An information processing apparatus comprising a control means having a suspend function and a resume function for recording system information such as a memory in a non-volatile storage means such as a fixed disk and completely cutting off the power supply of the main body. A function of recording the system information at the time of the suspension at the time of the suspension in the nonvolatile storage means, a function of comparing the system information at the time of the resume at the time of the resume with the system information recorded at the time of the suspension, and When the system information recorded during suspend is different from the system information at the time of resume, it has a function to perform a resume process if it can be resumed and a system restart process if it cannot be resumed. An information processing device characterized by the above.
JP7206774A 1995-07-21 1995-07-21 Information processor Pending JPH0934578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7206774A JPH0934578A (en) 1995-07-21 1995-07-21 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7206774A JPH0934578A (en) 1995-07-21 1995-07-21 Information processor

Publications (1)

Publication Number Publication Date
JPH0934578A true JPH0934578A (en) 1997-02-07

Family

ID=16528873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7206774A Pending JPH0934578A (en) 1995-07-21 1995-07-21 Information processor

Country Status (1)

Country Link
JP (1) JPH0934578A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2653953A2 (en) 2012-04-18 2013-10-23 Canon Kabushiki Kaisha Information processing apparatus, control method thereof, and program
EP2725773A1 (en) 2012-10-25 2014-04-30 Canon Kabushiki Kaisha Image forming apparatus, method and program capable shutting down a print engine such that the time required for subsequent start-up is shortened
JP2014113786A (en) * 2012-12-11 2014-06-26 Canon Inc Image formation device, control method, and program
US8976380B2 (en) 2012-10-16 2015-03-10 Canon Kabushiki Kaisha Image forming apparatus that shifts to different power state, method of controlling the same, and storage medium
US9411401B2 (en) 2012-08-06 2016-08-09 Canon Kabushiki Kaisha Information processing apparatus, control method for information processing apparatus, and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2653953A2 (en) 2012-04-18 2013-10-23 Canon Kabushiki Kaisha Information processing apparatus, control method thereof, and program
US9898064B2 (en) 2012-04-18 2018-02-20 Canon Kabushiki Kaisha Information processing apparatus, power control method thereof, and storage medium, with fast start up and automatic screen updating
US11307633B2 (en) 2012-04-18 2022-04-19 Canon Kabushiki Kaisha Information processing apparatus, control method thereof, and storage medium
US9411401B2 (en) 2012-08-06 2016-08-09 Canon Kabushiki Kaisha Information processing apparatus, control method for information processing apparatus, and storage medium
US8976380B2 (en) 2012-10-16 2015-03-10 Canon Kabushiki Kaisha Image forming apparatus that shifts to different power state, method of controlling the same, and storage medium
EP2725773A1 (en) 2012-10-25 2014-04-30 Canon Kabushiki Kaisha Image forming apparatus, method and program capable shutting down a print engine such that the time required for subsequent start-up is shortened
US9910378B2 (en) 2012-10-25 2018-03-06 Canon Kabushiki Kaisha Image forming apparatus capable of shortening time required for start-up, control method therefor, and storage medium
JP2014113786A (en) * 2012-12-11 2014-06-26 Canon Inc Image formation device, control method, and program
US9060089B2 (en) 2012-12-11 2015-06-16 Canon Kabushiki Kaisha Power control for an image forming apparatus

Similar Documents

Publication Publication Date Title
JP4839841B2 (en) How to restart snapshot
US6438668B1 (en) Method and apparatus for reducing power consumption in a digital processing system
JP2998737B2 (en) Power supply control device for peripheral equipment
US5848280A (en) Apparatus for providing continuity of operation in a computer
JPH077317B2 (en) System restart device
JP2002163045A (en) Computer system, and method of controlling stand-by mode thereof
US8250406B2 (en) Operational state preservation in the absence of AC power
JPH0934578A (en) Information processor
JP2002318731A (en) Automatic preparing device for backup copy of computer file
JPH0651858A (en) Program interrupting/restarting system
JPH10240391A (en) Portable document display/processor and power management control method to be applied to the same
JP3274780B2 (en) Power supply method
JPH1091296A (en) Information processing device and method
JPH0728544A (en) Computer system
JPH0628267A (en) Information processor
JPH10149236A (en) Method for recovering hibernation
JP2000081921A (en) Computer system
JPH06119087A (en) Power supply off system
JPH06337728A (en) Electronic computer with suspending/resuming function
JP2000047763A (en) Information processor and cd-rom device control method
JPH06161590A (en) Resuming control system
JP2004252769A (en) Program execution status saving/restoring information processor, method, and program
JPH1196083A (en) Semiconductor disk device
JP2005346420A (en) Terminal apparatus
JPH06289948A (en) System restarting device