JPH06289948A - System restarting device - Google Patents

System restarting device

Info

Publication number
JPH06289948A
JPH06289948A JP5075486A JP7548693A JPH06289948A JP H06289948 A JPH06289948 A JP H06289948A JP 5075486 A JP5075486 A JP 5075486A JP 7548693 A JP7548693 A JP 7548693A JP H06289948 A JPH06289948 A JP H06289948A
Authority
JP
Japan
Prior art keywords
state
contents
reproduction
memory
cpu
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
JP5075486A
Other languages
Japanese (ja)
Inventor
Akihiko Wada
明彦 和田
Mitsuaki Morita
光秋 森田
Nobuyuki Enoki
信行 榎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5075486A priority Critical patent/JPH06289948A/en
Publication of JPH06289948A publication Critical patent/JPH06289948A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To improve the reliability of a resuming operation for storing a state when a power source is turned off in a memory, reading it when the power source is turned on and reproducing the state. CONSTITUTION:When a power switch 112 is turned off, a system termination detection means 107 detects it and a system state saving processing means 108 is started. The system state saving processing means saves the state of CPU 101, the memory 102 and a control means 103 into a non-volatile memory 104. A state saving monitor means 114 monitors the state saving operation. When a prescribed state occurs, a saving recognition discrimination means is started and a user is caused to input whether the saving of the state is to be continued or not. When the user selects the stop of state saving, a state saving stop means is started, state saving is stopped and a system is restored to a state before the power switch is turned off.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はパーソナルコンピュータ
やワークステーションなどのコンピュータ装置のシステ
ム再起動装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system restarting device for computer devices such as personal computers and workstations.

【0002】[0002]

【従来の技術】近年、ブック型あるいはノート型と呼ば
れる持ち運び可能なパーソナルコンピュータではレジュ
ーム機能と呼ばれるシステム再起動装置が実現されてい
る。この機能は、例えば「DynaBookガイド」、
(株)東芝、に記載されているように、システムに内蔵
されたバッテリを使用して、作業の途中で電源を切って
も、次に電源を入れた時には以前と同じ状態が再現され
作業を続行できるというものである。
2. Description of the Related Art Recently, a portable personal computer called a book type or a notebook type has realized a system restarting device called a resume function. This function is, for example, “DynaBook Guide”,
As described in Toshiba Corporation, even if the power is turned off during the work using the battery built into the system, the same state as before is reproduced when the power is turned on next time. You can continue.

【0003】図23はコンピュータシステムを使って文
書を作成している時にその作業を中断して一度電源をO
FFし、その後電源をONして作業を再開する時使用者
が行なう処理の流れを、レジューム機能がある場合とな
い場合について示している。
In FIG. 23, when a document is created using a computer system, the work is interrupted and the power is turned on once.
The flow of the process performed by the user when the power is turned on and then the power is turned on and the work is restarted is shown with and without the resume function.

【0004】図23を見るとわかるように、レジューム
機能がある場合使用者は、電源OFF前に作成文書を保
存し、ワープロソフト(文書作成用プログラム)を終了
するという処理が不要になり、電源ON後には、オペレ
ーティングシステムを起動する、ワープロソフトを起動
する、保存した文章を呼び出すという処理が不要にな
る。
As can be seen from FIG. 23, when the resume function is provided, the user does not need to save the created document and turn off the word processing software (document creating program) before the power is turned off. After being turned on, the processes of activating the operating system, activating word processing software, and recalling the saved text are not necessary.

【0005】この機能は図22に示されているような構
成によって実現されている。以下図面を参照しながら、
上記した従来のシステム再起動装置の一例について説明
する。
This function is realized by the configuration shown in FIG. Referring to the drawings below,
An example of the conventional system restart device described above will be described.

【0006】図22は従来のシステム再起動装置を含む
コンピュータシステムのブロック図を示すものである。
図22において、2201はCPU101、メモリ10
2、表示制御装置2202、外部記憶制御装置220
4、入力制御装置2203を載せた制御ボード、105
は表示装置、106は入力装置、2205は外部記憶装
置、2206はバッテリ2208を内蔵する電源装置、
112は電源スイッチ、2207は外部電源装置であ
る。
FIG. 22 is a block diagram of a computer system including a conventional system restart device.
In FIG. 22, 2201 denotes a CPU 101 and a memory 10.
2, display control device 2202, external storage control device 220
4, a control board on which the input control device 2203 is mounted, 105
Is a display device, 106 is an input device, 2205 is an external storage device, 2206 is a power supply device incorporating a battery 2208,
Reference numeral 112 is a power switch, and 2207 is an external power supply device.

【0007】以上のように構成されたシステム再起動装
置を含むコンピュータシステムについて、以下その動作
について説明する。
The operation of the computer system including the system restart device configured as described above will be described below.

【0008】まず、電源装置2206は外部電源装置2
207から電源が供給されている時はその電源をコンピ
ュータシステムの各部に供給するとともにバッテリ22
08を充電し、外部電源装置2207から電源が供給さ
れていない時あるいは外部電源装置2207に接続され
ていない時はバッテリから電源を供給する。
First, the power supply 2206 is the external power supply 2
When the power is supplied from 207, the power is supplied to each part of the computer system and the battery 22
08 is charged, and power is supplied from the battery when power is not supplied from the external power supply device 2207 or when the power is not connected to the external power supply device 2207.

【0009】通常このコンピュータシステムを使用して
文書作成などの作業を行なっている時は電源装置220
6から制御ボード2201、表示装置105、入力装置
106、外部記憶装置2205のすべてに電源が供給さ
れている。
Normally, when a work such as document creation is performed using this computer system, the power supply device 220
Power is supplied from 6 to the control board 2201, the display device 105, the input device 106, and the external storage device 2205.

【0010】次に、電源スイッチ112をOFFにする
と、電源装置2206は外部電源2207から電源が供
給されているかどうかにかかわらず、バッテリ2208
から制御ボード2201のみに電源を供給する。この時
点で表示装置の画面が消え、外部電源2207との接続
も切ることが可能となり、見かけ上電源OFF状態とな
る。しかし、制御ボード2201にはバッテリ2208
から電源が供給し続けられているため、CPU101の
状態やメモリ102上のデータなど作業の再開に必要な
状態はそのまま保存されている。
Next, when the power switch 112 is turned off, the power supply device 2206 is powered by the battery 2208 regardless of whether power is supplied from the external power supply 2207.
Supplies power only to the control board 2201. At this point, the screen of the display device disappears, the connection with the external power supply 2207 can be cut off, and the power is apparently turned off. However, the control board 2201 has a battery 2208
Since the power is continuously supplied from, the state of the CPU 101, the state of the data on the memory 102 and the state necessary for resuming the work are stored as they are.

【0011】次に、再び電源スイッチ112をONにす
ると電源装置2206から表示装置105、入力装置1
06、外部記憶装置2205にも電源が供給される。そ
してまず、表示制御装置2202、外部記憶制御装置2
204、入力制御装置2203の初期化を行なった後、
メモリ102に保存されていた画面の状態データを表示
装置105に出力し、CPU101の状態を復元するこ
とにより電源スイッチ112をOFFする前に実行して
いた作業を再開することが可能となる。
Next, when the power switch 112 is turned on again, the power device 2206 causes the display device 105 and the input device 1 to operate.
06, power is also supplied to the external storage device 2205. Then, first, the display control device 2202 and the external storage control device 2
After initializing 204 and the input control device 2203,
By outputting the state data of the screen stored in the memory 102 to the display device 105 and restoring the state of the CPU 101, it is possible to restart the work being executed before turning off the power switch 112.

【0012】しかしながら上記のような構成では、バッ
テリが必要でありコストの増加や重量が増加する。ま
た、ワークステーション等の高速動作するコンピュータ
システムの場合は、システム全体の消費電力が大きい。
また、使用するLSIが前述のような消費電力モードを
持っていないものが多いが、このようなシステムの場
合、バッテリの消費を押えることで長時間電源OFF時
の状態を保持することができない。例えば、パーソナル
コンピュータレベルのシステムではバッテリによって1
週間程度状態を保持できるのにくらべて、ワークステー
ションレベルのシステムにおいては、同容量のバッテリ
で1時間程度しか状態が保持できない。また、基本的に
バッテリからの電源供給に頼っているため、状態を維持
できる時間がバッテリ容量によって制限されてしまうと
いう問題点を有していた。
However, in the above-mentioned structure, a battery is required, which increases cost and weight. In the case of a computer system such as a workstation that operates at high speed, the power consumption of the entire system is large.
Moreover, although many of the LSIs used do not have the power consumption mode as described above, in such a system, it is impossible to hold the power-off state for a long time by suppressing the consumption of the battery. For example, in a personal computer level system, one battery
Compared with being able to maintain the state for about a week, a workstation-level system can retain the state for only about one hour with a battery of the same capacity. Further, since it basically depends on the power supply from the battery, there is a problem that the time during which the state can be maintained is limited by the battery capacity.

【0013】そこで本願出願人は、特開平4ー1374
84号、同137485号、同137486号に、上記
問題点を解決するための手段を開示した。これについて
図24を用いて説明する。
Therefore, the applicant of the present application has filed Japanese Patent Application Laid-Open No. 4-1374.
Nos. 84, 137485, and 137486 disclose means for solving the above problems. This will be described with reference to FIG.

【0014】図24において、104は不揮発性メモ
リ、107はシステム終了検出手段、108はシステム
状態退避処理手段、110はシステム起動検出手段、1
11はシステム状態再現処理手段である。
In FIG. 24, 104 is a non-volatile memory, 107 is a system end detecting means, 108 is a system state saving processing means, 110 is a system start detecting means, 1
Reference numeral 11 is a system state reproduction processing means.

【0015】上記のように構成されたシステム再起動装
置において、まず電源スイッチ102がOFFされる
と、システム状態退避処理手段107でこれを検知し、
CPUにそのことを通知する割り込み信号出力する。す
るとCPUはシステム状態退避処理手段108を呼び出
す。
In the system restarting device constructed as described above, when the power switch 102 is turned off, the system state saving processing means 107 detects this,
An interrupt signal for notifying the CPU is output. Then, the CPU calls the system state saving processing means 108.

【0016】システム状態退避処理手段108は、CP
U101、制御装置103の情報の内、状態再現に必要
なものを不揮発性メモリ104に格納する。次に再起動
可能フラグをセットし、最後に電源装置113に電源O
FF信号を送る。この状態でシステムは電源OFF状態
となる。
The system state saving processing means 108 is a CP
Of the information of U101 and the control device 103, the information necessary for state reproduction is stored in the non-volatile memory 104. Next, the restartable flag is set, and finally the power supply 113 is turned on.
Send an FF signal. In this state, the system is turned off.

【0017】次に再び電源をONすると、電源装置11
3から電源が供給され、システム起動検出手段110は
パワーオンリセット信号をCPU101に入力し、シス
テム状態再現処理手段111が呼び出される。
Next, when the power is turned on again, the power supply device 11
3, the system activation detection means 110 inputs a power-on reset signal to the CPU 101, and the system state reproduction processing means 111 is called.

【0018】システム状態再現処理手段111は、ま図
不揮発性メモリ104に再起動フラグがセットされてい
るかどうか判別する。
The system state reproduction processing means 111 determines whether or not the restart flag is set in the non-volatile memory 104.

【0019】フラグがセットされていなかった場合は、
通常のシステム起動処理を行う。フラグがセットされて
いた場合、まず制御装置103を初期化する。次に不揮
発性メモリ104から電源OFF時の制御装置、CPU
の状態を読み出してセットする。最後に割り込み復帰処
理を行うことで、電源OFF時の状態に復帰することが
出来る。
If the flag is not set,
Perform normal system startup processing. When the flag is set, the control device 103 is initialized first. Next, from the non-volatile memory 104, the control device and the CPU when the power is turned off
Read and set the state of. Finally, by performing interrupt recovery processing, it is possible to recover the state when the power was turned off.

【0020】このように、不揮発性メモリに電源OFF
時の状態を退避しておき、電源ON時に不揮発性メモリ
の情報に基づいて電源OFF時の状態を再現すること
で、バッテリ容量に関係なく無期限に電源をOFFにす
ることが可能となる。
In this way, the power supply to the non-volatile memory is turned off.
By saving the time state and reproducing the power-off state based on the information in the non-volatile memory when the power is turned on, the power can be turned off indefinitely regardless of the battery capacity.

【0021】[0021]

【発明が解決しようとする課題】しかし、上記従来例の
構成では、状態退避中に不揮発性メモリの容量が不足し
た場合や、状態再現中に誤ったデータを読み取ってしま
った場合等のように状態の退避、再現に失敗した場合で
も、状態の退避、再現を継続するため、状態再現後にシ
ステムが暴走する等の問題が発生することがあった。
However, in the configuration of the above-mentioned conventional example, there are cases where the capacity of the non-volatile memory is insufficient during the state saving, or when erroneous data is read during the state reproduction. Even if the saving and reproducing of the state fails, the saving and reproducing of the state are continued, which may cause a problem such as a system runaway after the state is reproduced.

【0022】[0022]

【課題を解決するための手段】上記問題点を解決するた
めに、本発明のシステム再起動装置は、前記記憶手段へ
のシステム状態の退避を監視する状態退避監視手段と、
前記状態退避監視手段で得られた情報をもとにシステム
状態の退避を停止させる状態退避停止手段とを備える。
In order to solve the above-mentioned problems, the system restarting device of the present invention comprises a state saving monitor means for monitoring the saving of the system state in the storage means,
A state evacuation stop means for stopping evacuation of the system state based on the information obtained by the state evacuation monitor means.

【0023】また、状態退避監視手段で得られた情報を
表示装置に表示し、 これに対する使用者の入力によっ
て、状態退避停止手段を起動するか否かを選択する退避
確認判別手段を備える。
Further, there is provided a save confirmation judging means for displaying the information obtained by the status save monitoring means on a display device and selecting whether or not to activate the status save stopping means in response to a user input thereto.

【0024】[0024]

【作用】上記の構成により、システム状態の退避または
再現中に何らかの問題が生じた場合、状態の退避または
再現を中止することができる。また、使用者が状況に応
じてシステム状態の退避または再現を継続するか否かを
選択することができ、信頼性の高い状態の退避または再
現を行うことができる。
With the above configuration, if any problem occurs during saving or reproducing the system state, saving or reproducing the state can be stopped. Further, the user can select whether to continue saving or reproducing the system state according to the situation, and can save or reproduce the state with high reliability.

【0025】[0025]

【実施例】【Example】

(実施例1)以下本発明の第1の実施例を図面を参照し
ながら説明する。図1は本発明の第1の実施例における
システム再起動装置のブロック図を示す図である。図1
において、101はCPU、102はメモリ、103は
制御装置、104は不揮発性メモリ、105は表示装
置、106は入力装置、107はシステム終了検出手
段、108はシステム状態退避処理手段、110はシス
テム起動検出手段、111はシステム状態再現処理手
段、112は電源スイッチ、113は電源装置、114
は状態退避監視手段である。
(Embodiment 1) A first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a system restart device according to a first embodiment of the present invention. Figure 1
In 101, 101 is a CPU, 102 is a memory, 103 is a control device, 104 is a non-volatile memory, 105 is a display device, 106 is an input device, 107 is a system end detection means, 108 is a system state save processing means, and 110 is a system start-up. Detecting means, 111 is system state reproduction processing means, 112 is a power switch, 113 is a power supply device, 114
Is a state evacuation monitoring means.

【0026】図2はCPU101内部のレジスタ構成を
示す図である。図2において201はプログラムカウン
タ(以下PC)、202はCPU101の状態を示すプ
ロセッサステータスワード(以下PSW)、203〜2
09はそれぞれ16本のレジスタを含む汎用レジスタ群
である。
FIG. 2 is a diagram showing a register configuration inside the CPU 101. In FIG. 2, 201 is a program counter (hereinafter PC), 202 is a processor status word (hereinafter PSW) indicating the state of the CPU 101, and 203-2.
Reference numeral 09 is a general-purpose register group including 16 registers each.

【0027】図3はPSW202の内部構成を示す図で
ある。図3において301は現在203〜209のどの
汎用レジスタ群を使用しているかを示すカレントウィン
ドウポインタ(以下CWP)、302は現在のCPU1
01のモード状態を示すカレントステータス(以下C
S)、303は割り込みが発生した時のCPU101の
モード状態を示すプレビャスステータス(以下PS)で
ある。
FIG. 3 is a diagram showing the internal structure of the PSW 202. In FIG. 3, 301 is a current window pointer (hereinafter CWP) indicating which general register group of 203 to 209 is currently used, and 302 is the current CPU 1
The current status indicating the mode status of 01 (hereinafter C
S) and 303 are preview states (hereinafter PS) indicating the mode state of the CPU 101 when the interrupt occurs.

【0028】以上のように構成されたシステム再起動装
置について、以下図面を用いてその動作を説明する。
The operation of the system restart device configured as described above will be described below with reference to the drawings.

【0029】まず、CPU101に割り込みが発生した
時の動作について説明する。割り込みが発生するとCP
U101はまずCWP301の値を1増加させて汎用レ
ジスタ群を切替える。そして割り込みが発生した時点の
PC201の値をCWP301が示す汎用レジスタ群の
16番目のレジスタにコピーし、CS302の値をPS
303にコピーする。そしてPC201の値を書き換え
ることで予め指定された割り込み処理プログラムに分岐
する。
First, the operation when the CPU 101 is interrupted will be described. When interrupt occurs CP
U101 first increments the value of CWP301 by one and switches the general-purpose register group. Then, the value of PC201 at the time of the interrupt is copied to the 16th register of the general-purpose register group indicated by CWP301, and the value of CS302 is PS.
Copy to 303. Then, the value of the PC 201 is rewritten to branch to the interrupt processing program designated in advance.

【0030】割り込み処理プログラムはその処理の最後
に割り込み復帰命令を実行する。この命令が実行される
とCPU101は、まずPS303の値をCS302に
コピーし、CWPが示す汎用レジスタ群の第16番目の
レジスタに格納されたアドレスに分岐する(PC201
の値を書き変える)。そして最後にCWPの値を1減少
させる。この時点でCPU101の状態は割り込みが発
生した時点の状態に戻ることになる。
The interrupt processing program executes the interrupt return instruction at the end of its processing. When this instruction is executed, the CPU 101 first copies the value of PS303 to CS302, and branches to the address stored in the 16th register of the general-purpose register group indicated by CWP (PC201.
Rewrite the value of). Finally, the CWP value is decreased by 1. At this point, the state of the CPU 101 returns to the state at the time when the interrupt occurred.

【0031】次に全体の動作を説明する。図4はシステ
ム状態の退避処理を示す流れ図、図5はシステム状態の
再現処理を示す流れ図、図6は不揮発性メモリ104の
内部構造を示すデータ構造図である。
Next, the overall operation will be described. 4 is a flow chart showing the system state saving process, FIG. 5 is a flow diagram showing the system state reproducing process, and FIG. 6 is a data structure diagram showing the internal structure of the nonvolatile memory 104.

【0032】まず、システム終了検出手段107は電源
スイッチ112がOFFされたことを検出すると、CP
Uにそのことを通知する割り込み信号を出力する。する
とCPUは前述した割り込み発生時の動作を実行し、シ
ステム状態退避処理手段108が呼び出される。
First, when the system end detecting means 107 detects that the power switch 112 is turned off, the CP
An interrupt signal for notifying U is output. Then, the CPU executes the above-described operation when the interrupt occurs, and the system state saving processing means 108 is called.

【0033】システム状態退避処理手段108は、ま
ず、CPU101のPSW202の内容を不揮発性メモ
リ104のPSWフィールド602に格納する(ステッ
プS401)。
The system state save processing means 108 first stores the contents of the PSW 202 of the CPU 101 in the PSW field 602 of the non-volatile memory 104 (step S401).

【0034】次に状態退避監視手段114はCPU10
1のPSW202の内容と不揮発性メモリ104のPS
Wフィールド602の内容とを比較する。内容が同じな
らば”PSWの格納終了”と、内容が違うならば”PS
Wの格納に不成功”と表示装置に表示させる(ステップ
S402)。
Next, the state save monitoring means 114 is the CPU 10
1 PSW 202 contents and non-volatile memory 104 PS
The contents of the W field 602 are compared. If the contents are the same, "PSW storage completed", and if the contents are different, "PS"
"The storage of W was unsuccessful" is displayed on the display device (step S402).

【0035】次にシステム状態退避処理手段108は、
CPU101の汎用レジスタ群203〜209の内容を
不揮発性メモリ104のCPUレジスタフィールド60
3に格納する(ステップS403)。
Next, the system state saving processing means 108
The contents of the general-purpose register groups 203 to 209 of the CPU 101 are stored in the CPU register field 60 of the nonvolatile memory 104.
3 (step S403).

【0036】次に状態退避監視手段114はCPU10
1の汎用レジスタ群203〜209の内容と不揮発性メ
モリ104のCPUレジスタフィールド603の内容と
を比較する。内容が同じならば”汎用レジスタの格納終
了”と、内容が違うならば”汎用レジスタの格納に不成
功”と表示装置に表示させる(ステップS404)。
Next, the state save monitoring means 114 is the CPU 10
The contents of the general register groups 203 to 209 of No. 1 and the contents of the CPU register field 603 of the non-volatile memory 104 are compared. If the contents are the same, "storage of general purpose register completed" is displayed, and if the contents are different, "storage of general purpose register unsuccessful" is displayed on the display device (step S404).

【0037】次にシステム状態退避処理手段108はメ
モリ102の内容を不揮発性メモリ104のメモリフィ
ールド604に格納する(ステップS405)。
Next, the system state save processing means 108 stores the contents of the memory 102 in the memory field 604 of the non-volatile memory 104 (step S405).

【0038】次に状態退避監視手段114はメモリ10
2の内容のチェックサムと不揮発性メモリ104のメモ
リフィールド604の内容のチェックサムとを比較す
る。内容が同じならば”メモリの格納終了”と、内容が
違うならば”メモリの格納に不成功”と表示装置に表示
させる(ステップS406)。
Next, the state evacuation monitoring means 114 operates the memory 10
The checksum of the contents of 2 and the checksum of the contents of the memory field 604 of the non-volatile memory 104 are compared. If the contents are the same, "memory storage is completed" is displayed, and if the contents are different, "memory storage is unsuccessful" is displayed on the display device (step S406).

【0039】次にシステム状態退避処理手段108は制
御装置103の内部レジスタの内、例えば入力装置10
6との通信速度を設定するボーレートレジスタ、ハード
ディスクとの転送を同期モードで行なうかどうかを設定
するHD転送モードレジスタなどの状態再現に必要なレ
ジスタを不揮発性メモリ104の制御装置レジスタフィ
ールド605に格納する(ステップS407)。
Next, the system state saving processing means 108 is, for example, the input device 10 among the internal registers of the control device 103.
The registers necessary for reproducing the state such as the baud rate register for setting the communication speed with the V.6 and the HD transfer mode register for setting whether to transfer with the hard disk in the synchronous mode are stored in the control device register field 605 of the non-volatile memory 104. Yes (step S407).

【0040】次に状態退避監視手段114は制御装置1
03の内部レジスタの内、状態再現に必要なレジスタの
内容と不揮発性メモリ104の制御装置レジスタフィー
ルド605の内容とを比較する。内容が同じならば”制
御レジスタの格納終了”と、内容が違うならば”制御レ
ジスタの格納に不成功”と表示装置に表示させる(ステ
ップS408)。
Next, the state evacuation monitoring means 114 is the controller 1
Of the 03 internal registers, the contents of the registers necessary for state reproduction are compared with the contents of the controller register field 605 of the non-volatile memory 104. If the contents are the same, "control register storage completed" is displayed, and if the contents are different, "control register storage unsuccessful" is displayed on the display device (step S408).

【0041】次にシステム状態退避処理手段108は不
揮発性メモリ104の再起動可能フラグフィールド60
1に1をセットする(ステップS409)。
Next, the system state saving processing means 108 causes the restartable flag field 60 of the non-volatile memory 104.
1 is set to 1 (step S409).

【0042】最後にシステム状態退避処理手段108は
電源装置113に電源OFF信号を送る(ステップS4
10)。
Finally, the system state save processing means 108 sends a power OFF signal to the power supply device 113 (step S4).
10).

【0043】この状態でシステムは電源OFF状態とな
る。次に再び電源をONすると、電源装置113から電
源が供給され、システム起動検出手段110はパワーオ
ンリセット信号をCPU101に入力し、システム状態
再現処理手段111が呼び出される。
In this state, the system is turned off. Next, when the power is turned on again, power is supplied from the power supply device 113, the system activation detection means 110 inputs a power-on reset signal to the CPU 101, and the system state reproduction processing means 111 is called.

【0044】システム状態再現処理手段111は、ま
ず、不揮発性メモリ104の再起動フラグフィールド6
01に1がセットされているかどうかを判別する(ステ
ップS501)。
The system state reproduction processing means 111 firstly restarts the nonvolatile memory 104 in the restart flag field 6.
It is determined whether 1 is set to 01 (step S501).

【0045】1がセットされていなかった場合は従来の
コンピュータシステムと同様のシステム起動処理を行な
う(ステップS509)。
If 1 is not set, the system startup processing similar to that of the conventional computer system is performed (step S509).

【0046】1がセットされていた場合は、まず制御装
置103を初期化する(ステップS502)。
When 1 is set, the control device 103 is first initialized (step S502).

【0047】次に不揮発性メモリ104の制御装置レジ
スタフィールド605に格納されていた内容を読みだ
し、制御装置103の対応するレジスタにセットする
(ステップS503)。
Next, the contents stored in the controller register field 605 of the non-volatile memory 104 are read out and set in the corresponding register of the controller 103 (step S503).

【0048】次に不揮発性メモリ104のメモリフィー
ルド604に格納されていたデータを読みだしメモリ1
02に格納する(ステップS504)。次にメモリ10
2に格納されている表示装置105の画面表示データを
表示装置105に転送して画面状態を復元する(ステッ
プS505)。次に不揮発性メモリ104のCPUレジ
スタフィールド603に格納されているCPU101の
汎用レジスタ群203〜209のデータを読み出して対
応するレジスタにセットする(ステップS506)。次
に不揮発性メモリ104のPSWフィールド602に格
納されているCPU101のPSW202の内容を読み
出してセットする(ステップS507)。この時点で前
述の割り込み処理から戻る直前の状態と同じになる。そ
して最後に割り込み復帰命令を実行すると、割り込み処
理の時と同様にシステム終了検出手段107からCPU
101に割り込みが入力した時の状態にもどる(ステッ
プS508)。
Next, the data stored in the memory field 604 of the non-volatile memory 104 is read out and the memory 1 is read out.
No. 02 (step S504). Memory 10
The screen display data of the display device 105 stored in No. 2 is transferred to the display device 105 to restore the screen state (step S505). Next, the data of the general-purpose register groups 203 to 209 of the CPU 101 stored in the CPU register field 603 of the non-volatile memory 104 are read and set in the corresponding registers (step S506). Next, the contents of the PSW 202 of the CPU 101 stored in the PSW field 602 of the non-volatile memory 104 are read and set (step S507). At this point, the state is the same as it was just before returning from the interrupt processing described above. When the interrupt return instruction is finally executed, the system end detecting means 107 causes the CPU to perform the same processing as in the interrupt processing.
It returns to the state when the interrupt was input to 101 (step S508).

【0049】次に本実施例の使用方法の一例についてレ
ジューム機能を使用する場合と使用しない場合について
説明する。
Next, an example of how to use the present embodiment will be described with and without using the resume function.

【0050】図7はレジューム機能を使用せずにシステ
ムを起動し、以前作成して保存されている文章を参照し
ながら新しい文章を作成する時の処理を示す流れ図、図
8はその時の表示装置105の画面の様子を示すイメー
ジ図。図9はその時のメモリ上のデータの構造を示すデ
ータ構造図。図10はレジューム機能を使用せずに文書
作成を中断してシステムの電源をOFFする時の流れ図
である。
FIG. 7 is a flow chart showing the processing when the system is started without using the resume function and a new sentence is created while referring to the previously created and saved sentence, and FIG. 8 is the display device at that time. The image figure which shows the mode of the screen of 105. FIG. 9 is a data structure diagram showing the structure of data on the memory at that time. FIG. 10 is a flow chart when the document creation is interrupted and the system power is turned off without using the resume function.

【0051】まず電源がONされると(ステップS70
1)、オペレーティングシステムが不揮発性メモリ10
4からメモリ102のOS領域901に読み込まれる。
このOS領域901にはそれ以外にメモリの使用状態を
管理するメモリ管理テーブルやシステムの上で動作する
各プログラムの状態を管理するプロセス管理テーブルな
どのデータが含まれている。
First, when the power is turned on (step S70)
1), the operating system is a non-volatile memory 10
4 is read into the OS area 901 of the memory 102.
The OS area 901 also contains data such as a memory management table for managing the memory usage status and a process management table for managing the status of each program operating on the system.

【0052】次に使用者はウィンドウシステムを起動す
る(ステップS703)。すると、まずウィンドウシス
テムのプログラムが不揮発性メモリ104からメモリ1
02のウィンドウシステム領域902に読み込まれる。
このウィンドウシステム領域には表示装置105上に表
示されているウィンドウの数や、各ウィンドウの大きさ
や位置などのデータが格納されている。
Next, the user activates the window system (step S703). Then, the window system program is first transferred from the nonvolatile memory 104 to the memory 1
02 window system area 902.
The window system area stores data such as the number of windows displayed on the display device 105, the size and position of each window.

【0053】次に使用者はウィンドウ801を開く(ス
テップS704)。すると、そのウィンドウの位置や大
きさなどのデータがウィンドウシステム領域902に格
納されるとともに、ウィンドウ801に表示されている
データを保持するウィンドウデータ領域903が確保さ
れる。
Next, the user opens the window 801 (step S704). Then, data such as the position and size of the window is stored in the window system area 902, and the window data area 903 holding the data displayed in the window 801 is secured.

【0054】次に使用者はウィンドウ801内で文書表
示プログラムを起動する(ステップS705)。すると
メモリ102上にはアプリケーション領域905が確保
され、文書表示プログラムが不揮発性メモリ104から
読み込まれて実行され、以前作成した文書が表示され
る。
Next, the user activates the document display program in the window 801 (step S705). Then, the application area 905 is secured in the memory 102, the document display program is read from the non-volatile memory 104 and executed, and the previously created document is displayed.

【0055】次に使用者はもう一つのウィンドウ802
を開く(ステップS706)。そのウィンドウの位置や
大きさなどのデータがウィンドウシステム領域904に
格納されるとともに、ウィンドウ706に表示されてい
るデータを保持するウィンドウデータ領域906が確保
される。
Next, the user opens another window 802.
Is opened (step S706). Data such as the position and size of the window is stored in the window system area 904, and the window data area 906 for holding the data displayed in the window 706 is secured.

【0056】次に使用者はウィンドウ802内で文書作
成プログラムを起動する(ステップS707)。すると
メモリ102上にはアプリケーション領域906が確保
され、文書作成プログラムが不揮発性メモリ104から
読み込まれて実行される。そして使用者はウィンドウ8
01に表示された文書を参考にしながら、文書作成プロ
グラムを使用して文書を作成する。図8はその時表示装
置105の画面の様子を示しており、ウィンドウ802
内の803は次に入力装置106から入力された文字が
入力される位置を示すカーソルである。
Next, the user activates the document creation program in the window 802 (step S707). Then, the application area 906 is secured in the memory 102, and the document creation program is read from the non-volatile memory 104 and executed. And the user has window 8
While referring to the document displayed in 01, the document is created using the document creating program. FIG. 8 shows a state of the screen of the display device 105 at that time, and a window 802 is displayed.
Reference numeral 803 denotes a cursor indicating the position where the character input from the input device 106 is input next.

【0057】ここで、レジューム機能を使用せずに文書
の作成を中断してシステムの電源をOFFしようとする
と、図10に示すような処理が必要になる。
If the document creation is interrupted and the system power is turned off without using the resume function, the process shown in FIG. 10 is required.

【0058】すなわち、まず作成中の文書を不揮発性メ
モリ104に保存し(ステップS1001)、次に文書
作成プログラムを終了し(ステップS1002)、次に
ウィンドウ801と802を閉じ(ステップS100
3)、次にウィンドウシステムを終了し(ステップS1
004)、次にOSを終了し(ステップS1005)、
最後に電源をOFFする(ステップS1006)必要が
ある。
That is, first, the document being created is stored in the non-volatile memory 104 (step S1001), then the document creation program is terminated (step S1002), and then the windows 801 and 802 are closed (step S100).
3) Then, the window system is terminated (step S1).
004), then the OS is terminated (step S1005),
Finally, it is necessary to turn off the power (step S1006).

【0059】しかし、本実施例のレジューム機能を使用
すると電源OFF前に、CPU101のPSW202、
汎用レジスタ群203〜209のデータ、図9に示すよ
うなメモリ102のすべてのデータ、制御装置103の
ボーレートレジスタ、HD転送モードレジスタのデータ
などすべてのシステムの状態を不揮発性メモリ104に
退避し、電源ON時にはそれらのデータを不揮発性メモ
リ104から読み出して、CPU101やメモリ102
や制御装置103の状態を電源OFF前の状態にするこ
とができ、その時行なっていた作業を再開することがで
き、さらに状態退避監視手段114により不揮発性メモ
リへのシステムの状態の退避を監視し、その情報を表示
することにより、使用者はデータの退避が正しく行なわ
れたかどうかを知り、データの退避に失敗した時には適
切な処理を施すことが可能になる。
However, when the resume function of this embodiment is used, the PSW 202 of the CPU 101,
The data of the general-purpose register groups 203 to 209, all the data of the memory 102 as shown in FIG. 9, the baud rate register of the control device 103, the data of the HD transfer mode register, and all the system states such as data are saved in the non-volatile memory 104. When the power is turned on, the data is read from the non-volatile memory 104, and the CPU 101 and the memory 102 are read.
The state of the control device 103 and the state of the control device 103 can be set to the state before the power was turned off, the work being performed at that time can be restarted, and the state save monitor means 114 monitors the save of the system state to the nonvolatile memory. By displaying the information, the user can know whether or not the data has been saved correctly, and when the data saving fails, it is possible to perform appropriate processing.

【0060】(実施例2)次に本発明の第2の実施例に
ついて図面を参照しながら説明する。
(Embodiment 2) Next, a second embodiment of the present invention will be described with reference to the drawings.

【0061】図11は第2の実施例におけるシステム再
起動装置のブロック図を示すものである。図11におい
て、101はCPU、102はメモリ、103は制御装
置、104は不揮発性メモリ、105は表示装置、10
6は入力装置、107はシステム終了検出手段、108
はシステム状態退避処理手段、110はシステム起動検
出手段、111はシステム状態再現処理手段、112は
電源スイッチ、113は電源装置、115は状態再現監
視手段である。
FIG. 11 is a block diagram of a system restart device according to the second embodiment. In FIG. 11, 101 is a CPU, 102 is a memory, 103 is a control device, 104 is a non-volatile memory, 105 is a display device, and 10 is a display device.
6 is an input device, 107 is a system end detecting means, 108
Is a system state save processing means, 110 is a system activation detection means, 111 is a system state reproduction processing means, 112 is a power switch, 113 is a power supply device, and 115 is a state reproduction monitoring means.

【0062】図2はCPU101内部のレジスタ構成を
示す図である。図2において201はプログラムカウン
タ(PC)、202はCPU101の状態を示すプロセ
ッサステータスワード(PSW)、203〜209はそ
れぞれ16本のレジスタを含む汎用レジスタ群である。
FIG. 2 is a diagram showing a register configuration inside the CPU 101. In FIG. 2, 201 is a program counter (PC), 202 is a processor status word (PSW) indicating the state of the CPU 101, and 203 to 209 are general purpose register groups each including 16 registers.

【0063】図3はPSW202の内部構成を示す図で
ある。図3において301は現在203〜209のどの
汎用レジスタ群を使用しているかを示すカレントウィン
ドウポインタ(CWP)、302は現在のCPU101
のモード状態を示すカレントステータス(CS)、30
3は割り込みが発生した時のCPU101のモード状態
を示すプレビャスステータス(PS)である。
FIG. 3 is a diagram showing the internal structure of the PSW 202. In FIG. 3, 301 is a current window pointer (CWP) indicating which general register group of 203 to 209 is currently used, and 302 is the current CPU 101.
Current status (CS) indicating the mode state of
Reference numeral 3 is a preview status (PS) indicating the mode state of the CPU 101 when an interrupt occurs.

【0064】以上のように構成されたシステム再起動装
置について、以下図を用いてその動作を説明する。
The operation of the system restart device configured as described above will be described below with reference to the drawings.

【0065】まず、CPU101に割り込みが発生した
時の動作について説明する。割り込みが発生するとCP
U101はまずCWP301の値を1増加させて汎用レ
ジスタ群を切替える。そして割り込みが発生した時点の
PC201の値をCWP301が示す汎用レジスタ群の
16番目のレジスタにコピーし、CS302の値をPS
303にコピーする。そしてあらかじめ指定された割り
込み処理プログラムに分岐する(PC201の値を書き
変える)。割り込み処理プログラムはその処理の最後に
割り込み復帰命令を実行する。この命令が実行されると
CPU101は、まずPS303の値をCS302にコ
ピーし、CWPが示す汎用レジスタ群の第16番目のレ
ジスタに格納されたアドレスに分岐する(PC201の
値を書き変える)。そして最後にCWPの値を1減少さ
せる。この時点でCPU101の状態は割り込みが発生
した時点の状態に戻ることになる。
First, the operation when the CPU 101 is interrupted will be described. When interrupt occurs CP
U101 first increments the value of CWP301 by one and switches the general-purpose register group. Then, the value of PC201 at the time of the interrupt is copied to the 16th register of the general-purpose register group indicated by CWP301, and the value of CS302 is PS.
Copy to 303. Then, the process branches to the interrupt processing program designated in advance (the value of the PC 201 is rewritten). The interrupt processing program executes the interrupt return instruction at the end of the processing. When this instruction is executed, the CPU 101 first copies the value of PS303 to CS302 and branches to the address stored in the 16th register of the general-purpose register group indicated by CWP (rewrites the value of PC201). Finally, the CWP value is decreased by 1. At this point, the state of the CPU 101 returns to the state at the time when the interrupt occurred.

【0066】次に全体の動作を説明する。図12はシス
テム状態の退避処理を示す流れ図、図13はシステム状
態の再現処理を示す流れ図、図6は不揮発性メモリ10
4の内部構造を示すデータ構造図である。
Next, the overall operation will be described. 12 is a flow chart showing a system state saving process, FIG. 13 is a flow diagram showing a system state reproducing process, and FIG. 6 is a nonvolatile memory 10.
4 is a data structure diagram showing the internal structure of FIG.

【0067】まず、システム終了検出手段107は電源
スイッチ112がOFFされたことを検出すると、CP
Uにそのことを通知する割り込み信号を出力する。する
とCPUは前述した割り込み発生時の動作を実行し、シ
ステム状態退避処理手段108が呼び出される。
First, when the system end detecting means 107 detects that the power switch 112 is turned off, the CP
An interrupt signal for notifying U is output. Then, the CPU executes the above-described operation when the interrupt occurs, and the system state saving processing means 108 is called.

【0068】システム状態退避処理手段108は、まず
CPU101のPSW202の内容を不揮発性メモリ1
04のPSWフィールド602に格納する(ステップS
1201)。次にCPU101の汎用レジスタ群203
〜209の内容を不揮発性メモリ104のCPUレジス
タフィールド603に格納する(ステップS120
2)。次にメモリ102の内容を不揮発性メモリ104
のメモリフィールド604に格納する(ステップS12
03)。
The system state save processing means 108 first copies the contents of the PSW 202 of the CPU 101 to the nonvolatile memory 1
04 in the PSW field 602 (step S
1201). Next, the general-purpose register group 203 of the CPU 101
To 209 are stored in the CPU register field 603 of the nonvolatile memory 104 (step S120).
2). Next, the contents of the memory 102 are stored in the nonvolatile memory 104.
Stored in the memory field 604 (step S12)
03).

【0069】次に制御装置103の内部レジスタの内、
状態再現に必要なレジスタ(例えば入力装置106との
通信速度を設定するボーレートレジスタ、ハードディス
クとの転送を同期モードで行なうかどうかを設定するH
D転送モードレジスタなど)を不揮発性メモリ104の
制御装置レジスタフィールド605に格納する(ステッ
プS1204)。
Next, among the internal registers of the control device 103,
Registers required for status reproduction (for example, baud rate register for setting communication speed with input device 106, H for setting transfer with hard disk in synchronous mode)
The D transfer mode register) is stored in the controller register field 605 of the nonvolatile memory 104 (step S1204).

【0070】次に不揮発性メモリ104の再起動可能フ
ラグフィールド601に1をセットする(ステップS1
205)。
Next, 1 is set in the restartable flag field 601 of the nonvolatile memory 104 (step S1).
205).

【0071】最後に電源装置113に電源OFF信号を
送る(S1206)。この状態でシステムは電源OFF
状態となる。次に再び電源をONすると、電源装置11
3から電源が供給され、システム起動検出手段110は
パワーオンリセット信号をCPU101に入力し、シス
テム状態再現処理手段111が呼び出される。
Finally, a power OFF signal is sent to the power supply device 113 (S1206). In this state, the system power is off
It becomes a state. Next, when the power is turned on again, the power supply device 11
3, the system activation detection means 110 inputs a power-on reset signal to the CPU 101, and the system state reproduction processing means 111 is called.

【0072】システム状態再現処理手段111は、ま
ず、不揮発性メモリ104の再起動フラグフィールド6
01に1がセットされているかどうかを判別する(ステ
ップS501)。1がセットされていなかった場合は従
来のコンピュータシステムと同様のシステム起動処理を
行なう(ステップS509)。1がセットされていた場
合は、まず制御装置103を初期化する(ステップS5
02)。
The system state reproduction processing means 111 firstly restarts the restart flag field 6 of the nonvolatile memory 104.
It is determined whether 1 is set to 01 (step S501). If 1 has not been set, the system startup processing similar to that of the conventional computer system is performed (step S509). If 1 is set, the control device 103 is first initialized (step S5).
02).

【0073】次に不揮発性メモリ104の制御装置レジ
スタフィールド605に格納されていた内容を読みだ
し、制御装置103の対応するレジスタにセットする
(ステップS503)。次に状態再現監視手段115は
再び不揮発性メモリ104の制御装置レジスタフィール
ド605に格納されていた内容を読みだし、制御装置1
03の対応するレジスタの内容とを比較する。内容が同
じならば”制御レジスタの復元終了”と、内容が違うな
らば”制御レジスタの復元に不成功”と表示装置に表示
させる(ステップS1301)。
Next, the contents stored in the controller register field 605 of the non-volatile memory 104 are read out and set in the corresponding register of the controller 103 (step S503). Next, the state reproduction monitoring means 115 again reads the contents stored in the control device register field 605 of the non-volatile memory 104, and the control device 1
Compare with the contents of the corresponding register of 03. If the contents are the same, "control register restoration completed" is displayed, and if the contents are different, "control register restoration unsuccessful" is displayed on the display device (step S1301).

【0074】次にシステム状態再現処理手段111は不
揮発性メモリ104のメモリフィールド604に格納さ
れていたデータを読みだしメモリ102に格納する(ス
テップS504)。次に状態再現監視手段115は不揮
発性メモリ104のメモリフィールド604の内容のチ
ェックサムとメモリ102の内容のチェックサムとを比
較する。内容が同じならば”メモリの復元終了”と、内
容が違うならば”メモリの復元に不成功”と表示装置に
表示させる(ステップS1302)。
Next, the system state reproduction processing means 111 reads out the data stored in the memory field 604 of the non-volatile memory 104 and stores it in the memory 102 (step S504). Next, the state reproduction monitoring means 115 compares the checksum of the contents of the memory field 604 of the non-volatile memory 104 with the checksum of the contents of the memory 102. If the contents are the same, "memory restoration completed" is displayed, and if the contents are different, "memory restoration is unsuccessful" is displayed on the display device (step S1302).

【0075】次にシステム状態再現処理手段111はメ
モリ102に格納されている表示装置105の画面表示
データを表示装置105に転送して画面状態を復元する
(ステップS505)。
Next, the system state reproduction processing means 111 transfers the screen display data of the display device 105 stored in the memory 102 to the display device 105 to restore the screen state (step S505).

【0076】次にシステム状態再現処理手段111は不
揮発性メモリ104のCPUレジスタフィールド603
に格納されているCPU101の汎用レジスタ群203
〜209のデータを読み出して対応するレジスタにセッ
トする(ステップS506)。次に状態再現監視手段1
15は再び不揮発性メモリ104のCPUレジスタフィ
ールド603に格納されているCPU101の汎用レジ
スタ群203〜209のデータを読み出し、対応するレ
ジスタとの内容とを比較する。内容が同じならば”汎用
レジスタの復元終了”と、内容が違うならば”汎用レジ
スタの復元に不成功”と表示装置に表示させる(ステッ
プS1303)。
Next, the system state reproduction processing means 111 uses the CPU register field 603 of the non-volatile memory 104.
General-purpose register group 203 of the CPU 101 stored in
The data of ˜209 are read and set in the corresponding registers (step S506). Next, state reproduction monitoring means 1
Reference numeral 15 again reads the data of the general-purpose register groups 203 to 209 of the CPU 101, which is stored in the CPU register field 603 of the nonvolatile memory 104, and compares the contents with the corresponding registers. If the contents are the same, "general purpose register restoration completed" is displayed. If the contents are different, "general purpose register restoration unsuccessful" is displayed on the display device (step S1303).

【0077】次にシステム状態再現処理手段111は不
揮発性メモリ104のPSWフィールド602に格納さ
れているCPU101のPSW202の内容を読み出し
てセットする(ステップS507)。次に状態再現監視
手段115は再び不揮発性メモリ104のPSWフィー
ルド602に格納されているCPU101のPSW20
2の内容を読み出し、現在のCPU101のPSW20
2の内容と比較する。内容が同じならば”PSWの復元
終了”と、内容が違うならば”PSWの復元に不成功”
と表示装置に表示させる(ステップS1304)。
Next, the system state reproduction processing means 111 reads out and sets the contents of the PSW 202 of the CPU 101 stored in the PSW field 602 of the non-volatile memory 104 (step S507). Next, the state reproduction monitoring means 115 again uses the PSW 20 of the CPU 101 stored in the PSW field 602 of the nonvolatile memory 104 again.
The contents of 2 are read out, and the PSW 20 of the current CPU 101 is read.
Compare with the contents of 2. If the contents are the same, "PSW restoration is completed." If the contents are different, "PSW restoration is unsuccessful."
Is displayed on the display device (step S1304).

【0078】この時点で前述の割り込み処理から戻る直
前の状態と同じになる。そして最後に割り込み復帰命令
を実行すると、割り込み処理の時と同様にシステム終了
検出手段107からCPU101に割り込みが入力した
時の状態にもどる(ステップS508)。
At this point, the state is the same as the state immediately before returning from the above-mentioned interrupt processing. Then, when the interrupt return instruction is finally executed, the state returns to the state when the interrupt is input from the system end detecting means 107 to the CPU 101 as in the interrupt processing (step S508).

【0079】次に本実施例の使用方法の一例についてレ
ジューム機能を使用する場合と使用しない場合について
説明する。図7はレジューム機能を使用せずにシステム
を起動し、以前作成して保存されている文章を参照しな
がら新しい文章を作成する時の処理を示す流れ図、図8
はその時の表示装置105の画面の様子を示すイメージ
図。図9はその時のメモリ上のデータの構造を示すデー
タ構造図。図10はレジューム機能を使用せずに文書作
成を中断してシステムの電源をOFFする時の流れ図で
ある。
Next, an example of how to use the present embodiment will be described with and without using the resume function. FIG. 8 is a flow chart showing the processing when the system is started up without using the resume function and a new sentence is created while referring to the previously created and saved sentence.
Is an image diagram showing a state of the screen of the display device 105 at that time. FIG. 9 is a data structure diagram showing the structure of data on the memory at that time. FIG. 10 is a flow chart when the document creation is interrupted and the system power is turned off without using the resume function.

【0080】まず電源がONされると(ステップS70
1)、オペレーティングシステムが不揮発性メモリ10
4からメモリ102のOS領域901に読み込まれる。
このOS領域901にはそれ以外にメモリの使用状態を
管理するメモリ管理テーブルやシステムの上で動作する
各プログラムの状態を管理するプロセス管理テーブルな
どのデータが含まれている。
First, when the power is turned on (step S70)
1), the operating system is a non-volatile memory 10
4 is read into the OS area 901 of the memory 102.
The OS area 901 also contains data such as a memory management table for managing the memory usage status and a process management table for managing the status of each program operating on the system.

【0081】次に使用者はウィンドウシステムを起動す
る(ステップS703)。すると、まずウィンドウシス
テムのプログラムが不揮発性メモリ104からメモリ1
02のウィンドウシステム領域902に読み込まれる。
このウィンドウシステム領域には表示装置105上に表
示されているウィンドウの数や、各ウィンドウの大きさ
や位置などのデータが格納されている。
Next, the user activates the window system (step S703). Then, the window system program is first transferred from the nonvolatile memory 104 to the memory 1
02 window system area 902.
The window system area stores data such as the number of windows displayed on the display device 105, the size and position of each window.

【0082】次に使用者はウィンドウを801を開く
(ステップS704)。すると、そのウィンドウの位置
や大きさなどのデータがウィンドウシステム領域902
に格納されるとともに、ウィンドウ801に表示されて
いるデータを保持するウィンドウデータ領域903が確
保される。
Next, the user opens a window 801 (step S704). Then, data such as the position and size of the window is displayed in the window system area 902.
And a window data area 903 for holding the data displayed in the window 801 are secured.

【0083】次に使用者はウィンドウ801内で文書表
示プログラムを起動する(ステップS705)。すると
メモリ102上にはアプリケーション領域905が確保
され、文書表示プログラムが不揮発性メモリ104から
読み込まれて実行され、以前作成した文書が表示され
る。
Next, the user activates the document display program in the window 801 (step S705). Then, the application area 905 is secured in the memory 102, the document display program is read from the non-volatile memory 104 and executed, and the previously created document is displayed.

【0084】次に使用者はもう一つのウィンドウ802
を開く(ステップS706)。そのウィンドウの位置や
大きさなどのデータがウィンドウシステム領域904に
格納されるとともに、ウィンドウ706に表示されてい
るデータを保持するウィンドウデータ領域906が確保
される。
Next, the user opens another window 802.
Is opened (step S706). Data such as the position and size of the window is stored in the window system area 904, and the window data area 906 for holding the data displayed in the window 706 is secured.

【0085】次に使用者はウィンドウ802内で文書作
成プログラムを起動する(ステップS707)。すると
メモリ102上にはアプリケーション領域906が確保
され、文書作成プログラムが不揮発性メモリ104から
読み込まれて実行される。そして使用者はウィンドウ8
01に表示された文書を参考にしながら、文書作成プロ
グラムを使用して文書を作成する(ステップS70
8)。図8はその時表示装置105の画面の様子を示し
ており、ウィンドウ802内の803は次に入力装置1
06から入力された文字が入力される位置を示すカーソ
ルである。
Next, the user activates the document creation program in the window 802 (step S707). Then, the application area 906 is secured in the memory 102, and the document creation program is read from the non-volatile memory 104 and executed. And the user has window 8
While referring to the document displayed in 01, the document is created using the document creation program (step S70).
8). FIG. 8 shows the state of the screen of the display device 105 at that time, and 803 in the window 802 is the input device 1 next.
It is a cursor indicating a position where a character input from 06 is input.

【0086】ここで、レジューム機能を使用せずに文書
の作成を中断してシステムの電源をOFFしようとする
と、図10に示すような処理が必要になる。すなわち、
まず作成中の文書を不揮発性メモリ104に保存し(ス
テップS1001)、次に文書作成プログラムを終了し
(ステップS1002)、次にウィンドウ801と80
2を閉じ(ステップS1003)、次にウィンドウシス
テムを終了し(ステップS1004)、次にOSを終了
し(ステップS1005)、最後に電源をOFFする
(ステップS1006)必要がある。
If the document creation is interrupted and the system power is turned off without using the resume function, the process shown in FIG. 10 is required. That is,
First, the document being created is stored in the non-volatile memory 104 (step S1001), then the document creation program is terminated (step S1002), and then the windows 801 and 80
2 must be closed (step S1003), the window system must be closed (step S1004), the OS must be closed (step S1005), and the power must be turned off (step S1006).

【0087】しかし、本実施例のレジューム機能を使用
すると電源OFF前に、CPU101のPSW202、
汎用レジスタ群203〜209のデータ、図9に示すよ
うなメモリ102のすべてのデータ、制御装置103の
ボーレートレジスタ、HD転送モードレジスタのデータ
などすべてのシステムの状態を不揮発性メモリ104に
退避し、電源ON時にはそれらのデータを不揮発性メモ
リ104から読み出して、CPU101やメモリ102
や制御装置103の状態を電源OFF前の状態にするこ
とができ、その時行なっていた作業を再開することがで
き、さらに状態再開監視手段115により不揮発性メモ
リからのシステムの状態の復元を監視し、その情報を表
示することにより、使用者はデータの復元が正しく行な
われたかどうかを知り、データの退避に失敗した時には
適切な処理を施すことが可能になる。
However, when the resume function of this embodiment is used, the PSW 202 of the CPU 101,
The data of the general-purpose register groups 203 to 209, all the data of the memory 102 as shown in FIG. 9, the baud rate register of the control device 103, the data of the HD transfer mode register, and all the system states such as data are saved in the non-volatile memory 104. When the power is turned on, the data is read from the non-volatile memory 104, and the CPU 101 and the memory 102 are read.
The state of the control device 103 and the state of the control device 103 can be set to the state before the power is turned off, the work being performed at that time can be resumed, and the restoration of the system state from the nonvolatile memory is monitored by the state restart monitoring means 115. By displaying the information, the user can know whether or not the data has been restored correctly, and when the data saving fails, it is possible to perform an appropriate process.

【0088】(実施例3)次に本発明の第3の実施例に
ついて図面を参照しながら説明する。図14は請求項3
記載の発明の実施例におけるシステム再起動装置のブロ
ック図を示すものである。図14において1401は状
態退避停止手段であり、その他は図1と同様である。図
15は本実施例のシステム状態の退避処理の流れを示す
流れ図、図5はシステム状態の再現処理を示す流れ図で
ある。次に本実施例の動作について説明する。
(Embodiment 3) Next, a third embodiment of the present invention will be described with reference to the drawings. FIG. 14 shows claim 3.
FIG. 3 shows a block diagram of a system restart device in an embodiment of the described invention. In FIG. 14, 1401 is a state evacuation stop means, and the others are the same as in FIG. FIG. 15 is a flow chart showing the flow of the system state save processing of this embodiment, and FIG. 5 is a flow chart showing the system state reproduction processing. Next, the operation of this embodiment will be described.

【0089】電源スイッチ112がOFFされると第1
の実施例と同様にシステム状態退避処理手段108が呼
び出される。システム状態退避処理手段108は、ま
ず、CPU101のPSW202の内容を不揮発性メモ
リ104のPSWフィールド602に格納する(ステッ
プS401)。
When the power switch 112 is turned off, the first
The system state save processing means 108 is called in the same manner as in the above embodiment. The system state save processing unit 108 first stores the contents of the PSW 202 of the CPU 101 in the PSW field 602 of the non-volatile memory 104 (step S401).

【0090】次に状態退避監視手段114はCPU10
1のPSW202の内容と不揮発性メモリ104のPS
Wフィールド602の内容とを比較する。内容が同じな
らば”PSWの格納終了”と、内容が違うならば”PS
Wの格納に不成功”と表示装置に表示させる(ステップ
S402)。次に状態退避停止手段1401は前記テス
ト結果を判別し(ステップS1501)、内容が同じ場
合はステップS403に移行する。内容が違う場合は割
り込み処理から復帰し、電源スイッチ112が押される
前の状態に戻る(ステップS1505)。
Next, the state save monitoring means 114 is the CPU 10
1 PSW 202 contents and non-volatile memory 104 PS
The contents of the W field 602 are compared. If the contents are the same, "PSW storage completed", and if the contents are different, "PS"
"W was unsuccessfully stored" is displayed on the display device (step S402). Next, the state evacuation stop means 1401 determines the test result (step S1501), and if the contents are the same, the process proceeds to step S403. If not, the process returns from the interrupt process and returns to the state before the power switch 112 was pressed (step S1505).

【0091】次にステップS1501のテストで内容が
同じ場合、システム状態退避処理手段108はCPU1
01の汎用レジスタ群203〜209の内容を不揮発性
メモリ104のCPUレジスタフィールド603に格納
する(ステップS403)。次に状態退避監視手段11
4はCPU101の汎用レジスタ群203〜209の内
容と不揮発性メモリ104のCPUレジスタフィールド
603の内容とを比較する。内容が同じならば”汎用レ
ジスタの格納終了”と、内容が違うならば”汎用レジス
タの格納に不成功”と表示装置に表示させる(ステップ
S404)。
Next, when the contents of the test in step S1501 are the same, the system state saving processing means 108 determines that the CPU1
The contents of the general-purpose register groups 203 to 209 of 01 are stored in the CPU register field 603 of the non-volatile memory 104 (step S403). Next, the state evacuation monitoring means 11
4 compares the contents of the general-purpose register groups 203 to 209 of the CPU 101 with the contents of the CPU register field 603 of the non-volatile memory 104. If the contents are the same, "storage of general purpose register completed" is displayed, and if the contents are different, "storage of general purpose register unsuccessful" is displayed on the display device (step S404).

【0092】次に状態退避停止手段1401は前記テス
ト結果を判別し(ステップS1502)、内容が同じ場
合はステップS405に移行する。内容が違う場合は不
揮発性メモリ104のPSWフィールド602に格納さ
れているCPU101のPSW202の内容を読み出し
てセットする(ステップS1506)。
Next, the state evacuation stop means 1401 determines the test result (step S1502), and if the contents are the same, the process proceeds to step S405. If the contents are different, the contents of the PSW 202 of the CPU 101 stored in the PSW field 602 of the non-volatile memory 104 are read and set (step S1506).

【0093】次に割り込み処理から復帰し、電源スイッ
チ112が押される前の状態に戻る(ステップS150
5)。次にステップS1502のテストで内容が同じ場
合、システム状態退避処理手段108はメモリ102の
内容を不揮発性メモリ104のメモリフィールド604
に格納する(ステップS405)。
Next, the interrupt processing is resumed, and the state before the power switch 112 is pressed is returned (step S150).
5). Next, if the contents are the same in the test of step S1502, the system state save processing unit 108 changes the contents of the memory 102 to the memory field 604 of the nonvolatile memory 104.
(Step S405).

【0094】次に状態退避監視手段114はメモリ10
2の内容のチェックサムと不揮発性メモリ104のメモ
リフィールド604の内容のチェックサムとを比較す
る。内容が同じならば”メモリの格納終了”と、内容が
違うならば”メモリの格納に不成功”と表示装置に表示
させる(ステップS406)。
Next, the state save monitoring means 114 is used for the memory 10
The checksum of the contents of 2 and the checksum of the contents of the memory field 604 of the non-volatile memory 104 are compared. If the contents are the same, "memory storage is completed" is displayed, and if the contents are different, "memory storage is unsuccessful" is displayed on the display device (step S406).

【0095】次に状態退避停止手段1401は前記テス
ト結果を判別し(ステップS1503)、内容が同じ場
合はステップS407に移行する。内容が違う場合は不
揮発性メモリ104のCPUレジスタフィールド603
に格納されているCPU101の汎用レジスタ群203
〜209のデータを読み出して対応するレジスタにセッ
トする(ステップS1507)。続いて不揮発性メモリ
104のPSWフィールド602に格納されているCP
U101のPSW202の内容を読み出してセットする
(ステップS1506)。
Next, the state evacuation stop means 1401 determines the test result (step S1503), and if the contents are the same, the process proceeds to step S407. If the contents are different, the CPU register field 603 of the non-volatile memory 104
General-purpose register group 203 of the CPU 101 stored in
The data of ˜209 is read and set in the corresponding register (step S1507). Next, the CP stored in the PSW field 602 of the nonvolatile memory 104
The contents of the PSW 202 of U101 are read and set (step S1506).

【0096】次に割り込み処理から復帰し、電源スイッ
チ112が押される前の状態に戻る(ステップS150
5)。
Next, the interrupt processing is restored, and the state before the power switch 112 is pressed is returned (step S150).
5).

【0097】次にステップS1503のテストで内容が
同じ場合、システム状態退避処理手段108は制御装置
103の内部レジスタの内、状態再現に必要なレジスタ
(例えば入力装置106との通信速度を設定するボーレ
ートレジスタ、ハードディスクとの転送を同期モードで
行なうかどうかを設定するHD転送モードレジスタな
ど)を不揮発性メモリ104の制御装置レジスタフィー
ルド605に格納する(ステップS407)。
Next, if the contents of the test in step S1503 are the same, the system state save processing means 108 has the internal register of the control device 103 which is necessary to reproduce the state (for example, the baud rate for setting the communication speed with the input device 106). A register, an HD transfer mode register for setting whether or not the transfer with the hard disk is performed in the synchronous mode) is stored in the controller register field 605 of the nonvolatile memory 104 (step S407).

【0098】次に状態退避監視手段114は制御装置1
03の内部レジスタの内、状態再現に必要なレジスタの
内容と不揮発性メモリ104の制御装置レジスタフィー
ルド605の内容とを比較する。内容が同じならば”制
御レジスタの格納終了”と、内容が違うならば”制御レ
ジスタの格納に不成功”と表示装置に表示させる(ステ
ップS408)。
Next, the state evacuation monitoring means 114 is the controller 1
Of the 03 internal registers, the contents of the registers necessary for state reproduction are compared with the contents of the controller register field 605 of the non-volatile memory 104. If the contents are the same, "control register storage completed" is displayed, and if the contents are different, "control register storage unsuccessful" is displayed on the display device (step S408).

【0099】次に状態退避停止手段1401は前記テス
ト結果を判別し(ステップS1504)、内容が同じ場
合はステップS409に移行する。内容が違う場合は不
揮発性メモリ104のメモリフィールド604に格納さ
れていたデータを読みだしメモリ102に格納する(ス
テップS1508)。続いて不揮発性メモリ104のC
PUレジスタフィールド603に格納されているCPU
101の汎用レジスタ群203〜209のデータを読み
出して対応するレジスタにセットする(ステップS15
07)。続いて不揮発性メモリ104のPSWフィール
ド602に格納されているCPU101のPSW202
の内容を読み出してセットする(ステップS150
6)。次に割り込み処理から復帰し、電源スイッチ11
2が押される前の状態に戻る(ステップS1505)。
Next, the state evacuation stop means 1401 determines the test result (step S1504), and if the contents are the same, the process proceeds to step S409. If the contents are different, the data stored in the memory field 604 of the nonvolatile memory 104 is read out and stored in the memory 102 (step S1508). Next, C of the nonvolatile memory 104
CPU stored in PU register field 603
The data of the general-purpose register groups 203 to 209 of 101 are read and set in the corresponding registers (step S15).
07). Then, the PSW 202 of the CPU 101 stored in the PSW field 602 of the nonvolatile memory 104.
Is read and set (step S150).
6). Next, return from interrupt processing, and turn on the power switch 11
The state before pressing 2 is returned (step S1505).

【0100】次にステップS1504のテストで内容が
同じ場合、システム状態退避処理手段108は不揮発性
メモリ104の再起動可能フラグフィールド601に1
をセットする(ステップS409)。最後にシステム状
態退避処理手段108は電源装置113に電源OFF信
号を送る(S410)。この状態でシステムは電源OF
F状態となる。次に再び電源ONした時は第1の実施例
と同様の処理を行なう。
Next, when the contents are the same in the test of step S1504, the system state save processing means 108 sets 1 in the restartable flag field 601 of the nonvolatile memory 104.
Is set (step S409). Finally, the system state save processing means 108 sends a power OFF signal to the power supply device 113 (S410). In this state, the system is powered off
It becomes the F state. Next, when the power is turned on again, the same processing as in the first embodiment is performed.

【0101】以上説明したように本実施例によれば、不
揮発性メモリへのシステムの状態の退避を監視し、デー
タの退避が正しく行なわれなかったかどうかを使用者に
知らせ、またデータの退避が正しく行なわれなかった時
には、状態退避停止手段1401により電源スイッチが
押される前の状態に戻り、使用者は誤ったデータが退避
された場合でも、もう一度以前の状態に戻って適切な処
理を施すことが可能になる。
As described above, according to this embodiment, the saving of the system state to the non-volatile memory is monitored, the user is informed whether the saving of the data was not correctly performed, and the saving of the data is also performed. If the operation is not performed correctly, the state save stopping unit 1401 returns to the state before the power switch was pressed, and the user can return to the previous state again and perform appropriate processing even if erroneous data is saved. Will be possible.

【0102】(実施例4)次に本発明の第4の実施例に
ついて図面を参照しながら説明する。図16は請求項4
記載の発明の実施例におけるシステム再起動装置のブロ
ック図を示すものである。図16において1601は退
避確認判別手段あり、その他は図14と同様である。図
17は本実施例のシステム状態の退避処理の流れを示す
流れ図、図5はシステム状態の再現処理を示す流れ図で
ある。次に本実施例の動作について説明する。
(Embodiment 4) Next, a fourth embodiment of the present invention will be described with reference to the drawings. FIG. 16 shows claim 4.
FIG. 3 shows a block diagram of a system restart device in an embodiment of the described invention. In FIG. 16, reference numeral 1601 denotes the evacuation confirmation determining means, and the others are the same as in FIG. FIG. 17 is a flow chart showing the flow of the system state save processing of this embodiment, and FIG. 5 is a flow chart showing the system state reproduction processing. Next, the operation of this embodiment will be described.

【0103】電源スイッチ112がOFFされると第3
の実施例と同様にシステム状態退避処理手段108が呼
び出される。
When the power switch 112 is turned off, the third
The system state save processing means 108 is called in the same manner as in the above embodiment.

【0104】まず、第3の実施例と同様にシステム状態
退避処理手段108はステップS401を、状態退避監
視手段114はステップS402を行なう。次に状態退
避停止手段1401はステップS1501を行ない、そ
の中のテスト結果の判別により、内容が同じ場合はステ
ップS403に移行し、内容が違う場合は退避確認判別
手段1601は処理を継続するかどうかを問い合わせる
メッセージを表示装置105に出力し、使用者の入力を
待つ(ステップS1701)。使用者が入力装置106
からYESを入力した場合はステップS403の処理に
移行する。使用者がNOを入力した場合は、割り込み処
理から復帰し、電源スイッチ112が押される前の状態
に戻る(ステップS1505)。
First, as in the third embodiment, the system state save processing means 108 performs step S401, and the state save monitoring means 114 performs step S402. Next, the state evacuation stop means 1401 carries out step S1501. If the contents are the same according to the determination of the test result therein, the process proceeds to step S403, and if the contents are different, the evacuation confirmation determination means 1601 continues the process. Is output to the display device 105 to wait for the user's input (step S1701). The user inputs the input device 106.
If YES is input from, the process proceeds to step S403. If the user inputs NO, the process returns from the interrupt process and returns to the state before the power switch 112 was pressed (step S1505).

【0105】次にステップS1501のテストで内容が
同じ場合、あるいはステップS1701で使用者が入力
装置106からYESを入力して誤ったデータが退避さ
れたことを無視した場合は第3の実施例と同様にシステ
ム状態退避処理手段108はステップS403を、状態
退避監視手段114はステップS404を行なう。次に
状態退避停止手段1401はステップS1502を行な
い、その中のテスト結果の判別により、内容が同じ場合
はステップS405に移行し、内容が違う場合は退避確
認判別手段1601は処理を継続するかどうかを問い合
わせるメッセージを表示装置105に出力し、使用者の
入力を待つ(ステップS1702)。
Next, if the contents are the same in the test in step S1501, or if the user inputs YES from the input device 106 in step S1701 and ignores the erroneous data being saved, the third embodiment is executed. Similarly, the system state save processing means 108 performs step S403, and the state save monitoring means 114 performs step S404. Next, the state evacuation stop means 1401 carries out step S1502. If the contents are the same according to the determination of the test result therein, the process proceeds to step S405, and if the contents are different, the evacuation confirmation determination means 1601 continues the process. Is output to the display device 105 and waits for the user's input (step S1702).

【0106】使用者が入力装置106からYESを入力
した場合はステップS405の処理に移行する。使用者
がNOを入力した場合は、不揮発性メモリ104のPS
Wフィールド602に格納されているCPU101のP
SW202の内容を読み出してセットする(ステップS
1506)。次に割り込み処理から復帰し、電源スイッ
チ112が押される前の状態に戻る(ステップS150
5)。
If the user inputs YES from the input device 106, the process proceeds to step S405. If the user inputs NO, PS of the non-volatile memory 104
P of the CPU 101 stored in the W field 602
The contents of SW202 are read and set (step S
1506). Next, the process returns from the interrupt process and returns to the state before the power switch 112 is pressed (step S150).
5).

【0107】次にステップS1502のテストで内容が
同じ場合、あるいはステップS1702で使用者が入力
装置106からYESを入力して誤ったデータが退避さ
れたことを無視した場合は第3の実施例と同様にシステ
ム状態退避処理手段108はステップS405を、状態
退避監視手段114はステップS406を行なう。次に
状態退避停止手段1401はステップS1503を行な
い、その中のテスト結果の判別により、内容が同じ場合
はステップS407に移行し、内容が違う場合は退避確
認判別手段1601は処理を継続するかどうかを問い合
わせるメッセージを表示装置105に出力し、使用者の
入力を待つ(ステップS1703)。
Next, if the contents are the same in the test in step S1502, or if the user inputs YES from the input device 106 in step S1702 and ignores the erroneous data being saved, the third embodiment is performed. Similarly, the system state save processing means 108 performs step S405, and the state save monitoring means 114 performs step S406. Next, the state evacuation stop means 1401 carries out step S1503, and if the contents are the same according to the determination of the test result therein, the process proceeds to step S407, and if the contents are different, the evacuation confirmation determination means 1601 continues the process Is output to the display device 105 and the input by the user is awaited (step S1703).

【0108】使用者が入力装置106からYESを入力
した場合、ステップS407の処理に移行する。使用者
がNOを入力した場合、不揮発性メモリ104のCPU
レジスタフィールド603に格納されているCPU10
1の汎用レジスタ群203〜209のデータを読み出し
て対応するレジスタにセットする(ステップS150
7)。続いて不揮発性メモリ104のPSWフィールド
602に格納されているCPU101のPSW202の
内容を読み出してセットする(ステップS1506)。
次に割り込み処理から復帰し、電源スイッチ112が押
される前の状態に戻る(ステップS1505)。
When the user inputs YES from the input device 106, the process proceeds to step S407. If the user inputs NO, the CPU of the non-volatile memory 104
CPU 10 stored in register field 603
The data of one general-purpose register group 203 to 209 is read out and set in the corresponding register (step S150).
7). Then, the contents of the PSW 202 of the CPU 101 stored in the PSW field 602 of the non-volatile memory 104 are read and set (step S1506).
Next, the process returns from the interrupt process and returns to the state before the power switch 112 was pressed (step S1505).

【0109】次にステップS1503のテストで内容が
同じ場合、あるいはステップS1703で使用者が入力
装置106からYESを入力して誤ったデータが退避さ
れたことを無視した場合は第3の実施例と同様にシステ
ム状態退避処理手段108はステップS407を、状態
退避監視手段114はステップS408を行なう。次に
状態退避停止手段1401はステップS1504を行な
い、その中のテスト結果の判別により、内容が同じ場合
はステップS409に移行し、内容が違う場合は退避確
認判別手段1601は処理を継続するかどうかを問い合
わせるメッセージを表示装置105に出力し、使用者の
入力を待つ(ステップS1704)。
Next, if the contents are the same in the test in step S1503, or if the user inputs YES from the input device 106 in step S1703 and ignores that incorrect data has been saved, the third embodiment is performed. Similarly, the system state save processing means 108 performs step S407, and the state save monitoring means 114 performs step S408. Next, the state evacuation stop means 1401 carries out step S1504, and if the contents are the same according to the determination of the test result therein, the process proceeds to step S409, and if the contents are different, the evacuation confirmation decision means 1601 continues the process Is output to the display device 105 and the input by the user is awaited (step S1704).

【0110】使用者が入力装置106からYESを入力
した場合はステップS409の処理に移行する。使用者
がNOを入力した場合は、不揮発性メモリ104のメモ
リフィールド604に格納されていたデータを読みだし
メモリ102に格納する(ステップS1508)。続い
て不揮発性メモリ104のCPUレジスタフィールド6
03に格納されているCPU101の汎用レジスタ群2
03〜209のデータを読み出して対応するレジスタに
セットする(ステップS1507)。続いて不揮発性メ
モリ104のPSWフィールド602に格納されている
CPU101のPSW202の内容を読み出してセット
する(ステップS1506)。次に割り込み処理から復
帰し、電源スイッチ112が押される前の状態に戻る
(ステップS1505)。
If the user inputs YES from the input device 106, the process proceeds to step S409. If the user inputs NO, the data stored in the memory field 604 of the non-volatile memory 104 is read out and stored in the memory 102 (step S1508). Then, the CPU register field 6 of the nonvolatile memory 104.
General purpose register group 2 of the CPU 101 stored in 03
The data of 03 to 209 are read and set in the corresponding registers (step S1507). Then, the contents of the PSW 202 of the CPU 101 stored in the PSW field 602 of the non-volatile memory 104 are read and set (step S1506). Next, the process returns from the interrupt process and returns to the state before the power switch 112 was pressed (step S1505).

【0111】次にステップS1504のテストで内容が
同じ場合、あるいはステップS1704で使用者が入力
装置106からYESを入力して誤ったデータが退避さ
れたことを無視した場合はシステム状態退避処理手段1
08は不揮発性メモリ104の再起動可能フラグフィー
ルド601に1をセットする(ステップS409)。最
後ににシステム状態退避処理手段108は電源装置11
3に電源OFF信号を送る(S410)。この状態でシ
ステムは電源OFF状態となる。
Next, if the contents are the same in the test of step S1504, or if the user inputs YES from the input device 106 in step S1704 and ignores the erroneous data being saved, the system state save processing means 1
08 sets 1 in the restartable flag field 601 of the nonvolatile memory 104 (step S409). Finally, the system state save processing means 108 is the power supply device 11
A power OFF signal is sent to 3 (S410). In this state, the system is turned off.

【0112】次に再び電源ONした時は第3の実施例と
同様の処理を行なう。以上説明したように本実施例によ
れば、不揮発性メモリへのシステムの状態の退避を監視
し、データの退避が正しく行なわれなかった時、退避確
認判別手段1601により処理を継続するかどうかを使
用者に入力させることにより、誤ったデータが退避され
たことに対して適切な処理を施すか、それを無視してそ
のまま退避処理を継続するかを使用者が状況を見て自由
に選択することが可能になる。
Next, when the power is turned on again, the same processing as in the third embodiment is performed. As described above, according to the present embodiment, the saving of the state of the system to the non-volatile memory is monitored, and when the saving of the data is not correctly performed, the saving confirmation judging means 1601 determines whether or not the processing is continued. Depending on the user's input, the user can freely select whether to perform appropriate processing for saving the wrong data or ignore it and continue the saving processing as it is. It will be possible.

【0113】(実施例5)次に本発明の第5の実施例に
ついて図面を参照しながら説明する。図18は請求項5
記載の発明の実施例におけるシステム再起動装置のブロ
ック図を示すものである。図18において1801は状
態再現停止手段であり、その他は図11と同様である。
図12は本実施例のシステム状態の退避処理の流れを示
す流れ図、図19はシステム状態の再現処理を示す流れ
図である。次に本実施例の動作について説明する。
(Embodiment 5) Next, a fifth embodiment of the present invention will be described with reference to the drawings. FIG. 18 shows claim 5.
FIG. 3 shows a block diagram of a system restart device in an embodiment of the described invention. In FIG. 18, reference numeral 1801 is a state reproduction stopping means, and the others are the same as in FIG.
FIG. 12 is a flowchart showing the flow of the system state save processing of this embodiment, and FIG. 19 is a flowchart showing the system state reproduction processing. Next, the operation of this embodiment will be described.

【0114】まず、電源OFFした時は第2の実施例と
同様の処理を行なう。次に再び電源スイッチ112がO
Nされると第2の実施例と同様にシステム状態再現処理
手段111が呼び出される。システム状態再現処理手段
111は、まず、不揮発性メモリ104の再起動フラグ
フィールド601に1がセットされているかどうかを判
別する(ステップS501)。1がセットされていなか
った場合は従来のコンピュータシステムと同様のシステ
ム起動処理を行なう(ステップS509)。1がセット
されていた場合は、まず制御装置103を初期化する
(ステップS502)。
First, when the power is turned off, the same processing as in the second embodiment is performed. Next, the power switch 112 is turned off again.
When the answer is N, the system state reproduction processing means 111 is called as in the second embodiment. The system state reproduction processing unit 111 first determines whether 1 is set in the restart flag field 601 of the non-volatile memory 104 (step S501). If 1 has not been set, the system startup processing similar to that of the conventional computer system is performed (step S509). If 1 is set, the control device 103 is first initialized (step S502).

【0115】次に不揮発性メモリ104の制御装置レジ
スタフィールド605に格納されていた内容を読みだ
し、制御装置103の対応するレジスタにセットする
(ステップS503)。次に状態再現監視手段115は
再び不揮発性メモリ104の制御装置レジスタフィール
ド605に格納されていた内容を読みだし、制御装置1
03の対応するレジスタの内容とを比較する。内容が同
じならば”制御レジスタの復元終了”と、内容が違うな
らば”制御レジスタの復元に不成功”と表示装置に表示
させる(ステップS1301)。次に状態再現停止手段
1801は前記テスト結果を判別し(ステップS190
1)、内容が同じ場合はステップS504に移行し、内
容が違う場合は従来のコンピュータシステムと同様のシ
ステム起動処理を行なう(ステップS509)。
Next, the contents stored in the controller register field 605 of the non-volatile memory 104 are read out and set in the corresponding register of the controller 103 (step S503). Next, the state reproduction monitoring means 115 again reads the contents stored in the control device register field 605 of the non-volatile memory 104, and the control device 1
Compare with the contents of the corresponding register of 03. If the contents are the same, "control register restoration completed" is displayed, and if the contents are different, "control register restoration unsuccessful" is displayed on the display device (step S1301). Next, the state reproduction stopping means 1801 determines the test result (step S190).
1) If the contents are the same, the process proceeds to step S504, and if the contents are different, the system activation processing similar to that of the conventional computer system is performed (step S509).

【0116】次にステップS1301のテストで内容が
同じ場合、システム状態再現処理手段111は不揮発性
メモリ104のメモリフィールド604に格納されてい
たデータを読みだしメモリ102に格納する(ステップ
S504)。次に状態再現監視手段115は不揮発性メ
モリ104のメモリフィールド604の内容のチェック
サムとメモリ102の内容のチェックサムとを比較す
る。内容が同じならば”メモリの復元終了”と、内容が
違うならば”メモリの復元に不成功”と表示装置に表示
させる(ステップS1302)。次に状態再現停止手段
1801は前記テスト結果を判別し(ステップS190
2)、内容が同じ場合はステップS505に移行し、内
容が違う場合は従来のコンピュータシステムと同様のシ
ステム起動処理を行なう(ステップS509)。
Next, if the contents of the test in step S1301 are the same, the system state reproduction processing means 111 reads out the data stored in the memory field 604 of the non-volatile memory 104 and stores it in the memory 102 (step S504). Next, the state reproduction monitoring means 115 compares the checksum of the contents of the memory field 604 of the non-volatile memory 104 with the checksum of the contents of the memory 102. If the contents are the same, "memory restoration completed" is displayed, and if the contents are different, "memory restoration is unsuccessful" is displayed on the display device (step S1302). Next, the state reproduction stopping means 1801 determines the test result (step S190).
2) If the contents are the same, the process proceeds to step S505, and if the contents are different, the system activation processing similar to that of the conventional computer system is performed (step S509).

【0117】次にステップS1302のテストで内容が
同じ場合、システム状態再現処理手段111はメモリ1
02に格納されている表示装置105の画面表示データ
を表示装置105に転送して画面状態を復元する(ステ
ップS505)。
Next, if the contents of the test in step S1302 are the same, the system state reproduction processing means 111 determines that the memory 1
The screen display data of the display device 105 stored in 02 is transferred to the display device 105 to restore the screen state (step S505).

【0118】次にシステム状態再現処理手段111は不
揮発性メモリ104のCPUレジスタフィールド603
に格納されているCPU101の汎用レジスタ群203
〜209のデータを読み出して対応するレジスタにセッ
トする(ステップS506)。次に状態再現監視手段1
15は再び不揮発性メモリ104のCPUレジスタフィ
ールド603に格納されているCPU101の汎用レジ
スタ群203〜209のデータを読み出し、対応するレ
ジスタとの内容とを比較する。内容が同じならば”汎用
レジスタの復元終了”と、内容が違うならば”汎用レジ
スタの復元に不成功”と表示装置に表示させる(ステッ
プS1303)。次に状態再現停止手段1801は前記
テスト結果を判別し(ステップS1903)、内容が同
じ場合はステップS507に移行し、内容が違う場合は
従来のコンピュータシステムと同様のシステム起動処理
を行なう(ステップS509)。
Next, the system state reproduction processing means 111 causes the CPU register field 603 of the non-volatile memory 104.
General-purpose register group 203 of the CPU 101 stored in
The data of ˜209 are read and set in the corresponding registers (step S506). Next, state reproduction monitoring means 1
Reference numeral 15 again reads the data of the general-purpose register groups 203 to 209 of the CPU 101, which is stored in the CPU register field 603 of the nonvolatile memory 104, and compares the contents with the corresponding registers. If the contents are the same, "general purpose register restoration completed" is displayed. If the contents are different, "general purpose register restoration unsuccessful" is displayed on the display device (step S1303). Next, the state reproduction stopping means 1801 discriminates the test result (step S1903). If the contents are the same, the process proceeds to step S507. If the contents are different, the system activation process similar to the conventional computer system is performed (step S509). ).

【0119】次にステップS1303のテストで内容が
同じ場合、システム状態再現処理手段111は不揮発性
メモリ104のPSWフィールド602に格納されてい
るCPU101のPSW202の内容を読み出してセッ
トする(ステップS507)。次に状態再現監視手段1
15は再び不揮発性メモリ104のPSWフィールド6
02に格納されているCPU101のPSW202の内
容を読み出し、現在のCPU101のPSW202の内
容と比較する。内容が同じならば”PSWの復元終了”
と、内容が違うならば”PSWの復元に不成功”と表示
装置に表示させる(ステップS1304)。次に状態再
現停止手段1801は前記テスト結果を判別し(ステッ
プS1904)、内容が同じ場合はステップS508に
移行し、内容が違う場合は従来のコンピュータシステム
と同様のシステム起動処理を行なう(ステップS50
9)。
Next, if the contents are the same in the test of step S1303, the system state reproduction processing means 111 reads and sets the contents of the PSW 202 of the CPU 101 stored in the PSW field 602 of the non-volatile memory 104 (step S507). Next, state reproduction monitoring means 1
15 is again the PSW field 6 of the nonvolatile memory 104.
The content of the PSW 202 of the CPU 101 stored in 02 is read and compared with the current content of the PSW 202 of the CPU 101. If the contents are the same, "Restore PSW is complete"
If the contents are different, "unsuccessful PSW restoration" is displayed on the display device (step S1304). Next, the state reproduction stopping means 1801 determines the test result (step S1904). If the contents are the same, the process proceeds to step S508, and if the contents are different, the system start-up process similar to that of the conventional computer system is performed (step S50).
9).

【0120】ステップS1304のテストで内容が同じ
場合、この時点で前述の割り込み処理から戻る直前の状
態と同じになる。そして最後に割り込み復帰命令を実行
すると、割り込み処理の時と同様にシステム終了検出手
段107からCPU101に割り込みが入力した時の状
態にもどる(ステップS508)。
If the contents of the test in step S1304 are the same, the state is the same as the state just before returning from the above-mentioned interrupt processing at this point. Then, when the interrupt return instruction is finally executed, the state returns to the state when the interrupt is input from the system end detecting means 107 to the CPU 101 as in the interrupt processing (step S508).

【0121】以上説明したように本実施例によれば、不
揮発性メモリからのシステムの状態の復元を監視し、デ
ータの復元が正しく行なわれなかったかどうかを使用者
に知らせ、またデータの復元が正しく行なわれなかった
時には、状態再現停止手段1801により不揮発性メモ
リからのシステムの状態の復元を停止し、従来のコンピ
ュータシステムと同様のシステム起動処理を行ない、誤
ったデータによるシステム状態の再現を防ぐことが可能
になる。
As described above, according to the present embodiment, the restoration of the system state from the non-volatile memory is monitored, the user is informed whether the restoration of the data was not correctly performed, and the restoration of the data is not performed. When it is not performed correctly, the state reproduction stop means 1801 stops the restoration of the system state from the non-volatile memory, performs the same system start-up process as the conventional computer system, and prevents the reproduction of the system state due to erroneous data. It will be possible.

【0122】(実施例6)次に本発明の第6の実施例に
ついて図面を参照しながら説明する。図20は請求項6
記載の発明の実施例におけるシステム再起動装置のブロ
ック図を示すものである。図20において2001は再
現確認判別手段であり、その他は図18と同様である。
図12は本実施例のシステム状態の退避処理の流れを示
す流れ図、図21はシステム状態の再現処理を示す流れ
図である。次に本実施例の動作について説明する。
(Embodiment 6) Next, a sixth embodiment of the present invention will be described with reference to the drawings. FIG. 20 shows claim 6.
FIG. 3 shows a block diagram of a system restart device in an embodiment of the described invention. In FIG. 20, reference numeral 2001 is a reproduction confirmation determination means, and other parts are the same as in FIG.
FIG. 12 is a flow chart showing the flow of the system state save processing of this embodiment, and FIG. 21 is a flow chart showing the system state reproduction processing. Next, the operation of this embodiment will be described.

【0123】まず、電源OFFした時は第5の実施例と
同様の処理を行なう。次に再び電源スイッチ112がO
Nされると第5の実施例と同様にシステム状態再現処理
手段111が呼び出される。まず、第5の実施例と同様
にシステム状態再現処理手段111はステップS50
1、ステップS502、ステップS503を状態再現監
視手段115はステップS1301を行なう。次に状態
再現停止手段1801はステップS1901を行ない、
その中のテスト結果の判別により、内容が同じ場合はス
テップS504に移行し、内容が違う場合は再現確認判
別手段2001は処理を継続するかどうかを問い合わせ
るメッセージを表示装置105に出力し、使用者の入力
を待つ(ステップS2101)。使用者が入力装置10
6からYESを入力した場合はステップS504の処理
に移行する。使用者がNOを入力した場合は、従来のコ
ンピュータシステムと同様のシステム起動処理を行なう
(ステップS509)。
First, when the power is turned off, the same processing as in the fifth embodiment is performed. Next, the power switch 112 is turned off again.
When the answer is N, the system state reproduction processing means 111 is called as in the fifth embodiment. First, as in the case of the fifth embodiment, the system state reproduction processing means 111 causes the step S50.
1, step S502, step S503, the state reproduction monitoring means 115 performs step S1301. Next, the state reproduction stopping means 1801 performs step S1901,
If the contents are the same according to the determination of the test result, the process proceeds to step S504. If the contents are different, the reproduction confirmation determining unit 2001 outputs a message inquiring whether or not to continue the process to the display device 105, and the user Waits for input (step S2101). The user inputs the input device 10
If YES is input from 6, the process proceeds to step S504. If the user inputs NO, the system startup processing similar to that of the conventional computer system is performed (step S509).

【0124】次にステップS1301のテストで内容が
同じ場合、あるいはステップS2101で使用者が入力
装置106からYESを入力して誤ったデータが復元さ
れたことを無視した場合は第5の実施例と同様にシステ
ム状態再現処理手段111はステップS504を状態再
現監視手段115はステップS1302を行なう。次に
状態再現停止手段1801はステップS1902を行な
い、その中のテスト結果の判別により、内容が同じ場合
はステップS505に移行し、内容が違う場合は再現確
認判別手段2001は処理を継続するかどうかを問い合
わせるメッセージを表示装置105に出力し、使用者の
入力を待つ(ステップS2102)。使用者が入力装置
106からYESを入力した場合はステップS505の
処理に移行する。使用者がNOを入力した場合は、従来
のコンピュータシステムと同様のシステム起動処理を行
なう(ステップS509)。
If the contents of the test are the same in step S1301, or if the user inputs YES from the input device 106 in step S2101 and ignores the restoration of erroneous data, then the fifth embodiment is used. Similarly, the system state reproduction processing unit 111 performs step S504, and the state reproduction monitoring unit 115 performs step S1302. Next, the state reproduction stopping means 1801 carries out step S1902. If the contents are the same according to the judgment of the test result, the process proceeds to step S505, and if the contents are different, the reproduction confirmation judging means 2001 continues the processing. Is output to the display device 105 and the input by the user is awaited (step S2102). If the user inputs YES from the input device 106, the process proceeds to step S505. If the user inputs NO, the system startup processing similar to that of the conventional computer system is performed (step S509).

【0125】次にステップS1302のテストで内容が
同じ場合、あるいはステップS2102で使用者が入力
装置106からYESを入力して誤ったデータが復元さ
れたことを無視した場合は第5の実施例と同様にシステ
ム状態再現処理手段111はステップS505、ステッ
プS506を状態再現監視手段115はステップS13
03を行なう。次に状態再現停止手段1801はステッ
プS1903を行ない、その中のテスト結果の判別によ
り、内容が同じ場合はステップS507に移行し、内容
が違う場合は再現確認判別手段2001は処理を継続す
るかどうかを問い合わせるメッセージを表示装置105
に出力し、使用者の入力を待つ(ステップS210
3)。使用者が入力装置106からYESを入力した場
合はステップS507の処理に移行する。使用者がNO
を入力した場合は、従来のコンピュータシステムと同様
のシステム起動処理を行なう(ステップS509)。
Next, if the contents of the test are the same in the step S1302, or if the user inputs YES from the input device 106 in step S2102 and ignores the restoration of erroneous data, it is the same as the fifth embodiment. Similarly, the system state reproduction processing means 111 performs step S505 and step S506, and the state reproduction monitoring means 115 performs step S13.
Do 03. Next, the state reproduction stopping means 1801 carries out step S1903, and if the contents are the same according to the judgment of the test result therein, the process proceeds to step S507, and if the contents are different, the reproduction confirmation judging means 2001 continues the processing. A message for inquiring about the display device 105
And waits for user input (step S210).
3). If the user inputs YES from the input device 106, the process proceeds to step S507. User is NO
If is input, system startup processing similar to that of the conventional computer system is performed (step S509).

【0126】次にステップS1303のテストで内容が
同じ場合、あるいはステップS2103で使用者が入力
装置106からYESを入力して誤ったデータが復元さ
れたことを無視した場合は第5の実施例と同様にシステ
ム状態再現処理手段111はステップS507を状態再
現監視手段115はステップS1304を行なう。次に
状態再現停止手段1801はステップS1904を行な
い、その中のテスト結果の判別により、内容が同じ場合
はステップS508に移行し、内容が違う場合は再現確
認判別手段2001は処理を継続するかどうかを問い合
わせるメッセージを表示装置105に出力し、使用者の
入力を待つ(ステップS2104)。次に状態再現停止
手段1801は使用者が入力装置106からYESを入
力した場合はステップS508の処理に移行する。使用
者がNOを入力した場合は従来のコンピュータシステム
と同様のシステム起動処理を行なう(ステップS50
9)。
Next, in the case where the contents are the same in the test of step S1303, or when the user inputs YES from the input device 106 in step S2103 and ignores the restoration of erroneous data, it is the same as the fifth embodiment. Similarly, the system state reproduction processing means 111 performs step S507, and the state reproduction monitoring means 115 performs step S1304. Next, the state reproduction stopping means 1801 performs step S1904, and if the contents are the same according to the determination of the test result therein, the process proceeds to step S508, and if the contents are different, the reproduction confirmation judging means 2001 continues the process. Is output to the display device 105, and the input by the user is awaited (step S2104). Next, if the user inputs YES from the input device 106, the state reproduction stopping means 1801 moves to the processing of step S508. If the user inputs NO, the system startup process similar to that of the conventional computer system is performed (step S50).
9).

【0127】ステップS1304のテストで内容が同じ
場合、あるいはステップS2104で使用者が入力装置
106からYESを入力して誤ったデータが復元された
ことを無視した場合はこの時点で前述の割り込み処理か
ら戻る直前の状態と同じになる。そして最後に割り込み
復帰命令を実行すると、割り込み処理の時と同様にシス
テム終了検出手段107からCPU101に割り込みが
入力した時の状態にもどる(ステップS508)。
If the contents are the same in the test in step S1304, or if the user inputs YES from the input device 106 in step S2104 and ignores the restoration of the erroneous data, the interrupt processing described above is performed at this point. It will be the same as it was just before returning. Then, when the interrupt return instruction is finally executed, the state returns to the state when the interrupt is input from the system end detecting means 107 to the CPU 101 as in the interrupt processing (step S508).

【0128】以上説明したように本実施例によれば、不
揮発性メモリからのシステムの状態の復元を監視し、デ
ータの復元が正しく行なわれなかった時には、再現確認
判別手段2001により処理を継続するかどうかを使用
者に入力させることにより、誤ったデータが復元された
ことに対して、不揮発性メモリからのシステムの状態の
復元を停止し、従来のコンピュータシステムと同様のシ
ステム起動処理を行なうか、それを無視してそのまま再
現処理を継続するかを使用者が状況を見て自由に選択す
ることが可能になる。
As described above, according to the present embodiment, the restoration of the system state from the non-volatile memory is monitored, and when the restoration of the data is not performed correctly, the reproduction confirmation judging means 2001 continues the processing. Whether to restore incorrect system data by prompting the user to stop the restoration of the system state from the non-volatile memory and perform the same system boot process as the conventional computer system The user can freely select whether to ignore it and continue the reproduction process as it is.

【0129】[0129]

【発明の効果】以上のように本発明は、システム状態の
退避または再現に関する情報を使用者に表示する手段を
備えたことにより、システム状態の退避または再現を継
続するか否か等について使用者が状況に応じた適切な処
理を行うことができ、信頼性の高いレジューム動作を行
うことが可能になる。
As described above, according to the present invention, by providing the means for displaying the information on the saving or reproducing of the system state to the user, the user can determine whether or not to continue saving or reproducing the system state. Can perform an appropriate process according to the situation, and can perform a highly reliable resume operation.

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

【図1】本発明の第1の実施例におけるシステム再起動
装置のブロック図
FIG. 1 is a block diagram of a system restart device according to a first embodiment of the present invention.

【図2】同実施例のCPUの内部構成図FIG. 2 is an internal configuration diagram of a CPU of the same embodiment.

【図3】同実施例のCPUのPSWの内部構成図FIG. 3 is an internal configuration diagram of a PSW of the CPU of the embodiment.

【図4】同実施例のシステム状態の退避処理の動作を示
す流れ図
FIG. 4 is a flowchart showing the operation of a system state save process of the embodiment.

【図5】同実施例のシステム状態の再現処理の動作を示
す流れ図
FIG. 5 is a flowchart showing an operation of system state reproduction processing of the embodiment.

【図6】同実施例の不揮発性メモリのデータ構造図FIG. 6 is a data structure diagram of the nonvolatile memory of the same embodiment.

【図7】同実施例においてレジューム機能を使用せずに
システムを起動し、文書を作成する時の処理を示す流れ
FIG. 7 is a flowchart showing a process when the system is started and a document is created without using the resume function in the embodiment.

【図8】同実施例において文書を作成する時の表示装置
の画面のイメージ図
FIG. 8 is an image diagram of a screen of a display device when creating a document in the embodiment.

【図9】同実施例において文書を作成する時のメモリの
データ構造図
FIG. 9 is a data structure diagram of a memory when creating a document in the embodiment.

【図10】同実施例においてレジューム機能を使用せず
にシステムを終了する時の処理を示す流れ図
FIG. 10 is a flowchart showing the processing when the system is terminated without using the resume function in the embodiment.

【図11】本発明の第2の実施例におけるシステム再起
動装置のブロック図
FIG. 11 is a block diagram of a system restart device according to a second embodiment of the present invention.

【図12】同実施例のシステム状態の退避処理の動作を
示す流れ図
FIG. 12 is a flowchart showing the operation of a system state save process of the embodiment.

【図13】同実施例のシステム状態の再現処理の動作を
示す流れ図
FIG. 13 is a flowchart showing the operation of system state reproduction processing according to the embodiment.

【図14】本発明の第3の実施例におけるシステム再起
動装置のブロック図
FIG. 14 is a block diagram of a system restart device according to a third embodiment of the present invention.

【図15】同実施例のシステム状態の退避処理の動作を
示す流れ図
FIG. 15 is a flowchart showing the operation of the system state save processing of the embodiment.

【図16】本発明の第4の実施例におけるシステム再起
動装置のブロック図
FIG. 16 is a block diagram of a system restart device according to a fourth embodiment of the present invention.

【図17】同実施例のシステム状態の退避処理の動作を
示す流れ図
FIG. 17 is a flowchart showing the operation of the system state save processing of the embodiment.

【図18】本発明の第5の実施例におけるシステム再起
動装置のブロック図
FIG. 18 is a block diagram of a system restart device according to a fifth embodiment of the present invention.

【図19】同実施例のシステム状態の再現処理の動作を
示す流れ図
FIG. 19 is a flowchart showing the operation of the system state reproduction process of the embodiment.

【図20】本発明の第6の実施例におけるシステム再起
動装置のブロック図
FIG. 20 is a block diagram of a system restart device according to a sixth embodiment of the present invention.

【図21】同実施例のシステム状態の再現処理の動作を
示す流れ図
FIG. 21 is a flowchart showing the operation of system state reproduction processing of the embodiment.

【図22】従来のシステム再起動装置のブロック図FIG. 22 is a block diagram of a conventional system restart device.

【図23】同従来例の動作を示す流れ図FIG. 23 is a flowchart showing the operation of the conventional example.

【図24】従来のシステム再起動装置のブロック図FIG. 24 is a block diagram of a conventional system restart device.

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

101 CPU 102 メモリ 103 制御装置 104 不揮発性メモリ 105 表示装置 106 入力装置 107 システム終了検出手段 108 システム状態退避処理手段 110 システム起動検出手段 111 システム状態再現処理手段 112 電源スイッチ 113 電源装置 114 状態退避監視手段 1101 状態再現監視手段 1401 状態退避停止手段 1601 退避確認判別手段 1801 状態再現停止手段 2001 再現確認判別手段 101 CPU 102 Memory 103 Control Device 104 Nonvolatile Memory 105 Display Device 106 Input Device 107 System End Detection Unit 108 System State Saving Processing Unit 110 System Startup Detection Unit 111 System State Reproduction Processing Unit 112 Power Switch 113 Power Supply Device 114 State Saving Monitoring Unit 1101 state reproduction monitoring means 1401 state evacuation stop means 1601 evacuation confirmation determination means 1801 state reproduction stop means 2001 reproduction confirmation determination means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】システム終了時にCPU、メモリ、制御装
置等のシステム状態を記憶手段に退避しておき、次回起
動時には前記記憶手段の情報に基づいて前記システム終
了時の状態を再現するシステム再起動装置であって、前
記記憶手段へのシステム状態の退避を監視する状態退避
監視手段と、前記状態退避監視手段で得られた情報をも
とにシステム状態の退避を停止させる状態退避停止手段
とを備えたことを特徴とするシステム再起動装置。
1. A system restart in which the system state of a CPU, a memory, a control device, etc. is saved in a storage means at the time of system termination, and the state at the time of system termination is reproduced at the next startup based on the information in the storage means. A device, comprising state saving monitor means for monitoring the saving of the system state to the storage means, and state save stopping means for stopping the save of the system state based on the information obtained by the state save monitoring means. A system restart device characterized by being provided.
【請求項2】状態退避監視手段で得られた情報を表示装
置に表示し、 状態退避停止手段を起動するか否かを選
択させる退避確認判別手段を備えたことを特徴とする請
求項1記載のシステム再起動装置。
2. The evacuation confirmation determining means for displaying the information obtained by the state evacuation monitoring means on a display device and selecting whether or not to activate the state evacuation stopping means. System restart device.
【請求項3】システム終了時にCPU、メモリ、制御装
置等のシステム状態を記憶手段に退避しておき、次回起
動時には前記記憶手段の情報に基づいて前記システム終
了時の状態を再現するシステム再起動装置であって、前
記記憶手段からのシステム状態の再現を監視する状態再
現監視手段と、前記状態再現監視手段で得られた情報を
もとにシステム状態の再現を停止させる状態再現停止手
段とを備えたことを特徴とするシステム再起動装置。
3. A system restart in which the system state of a CPU, a memory, a control device, etc. is saved in a storage means at the time of system termination, and the state at the time of the system termination is reproduced based on information in the storage means at the next startup. An apparatus, comprising state reproduction monitoring means for monitoring the reproduction of the system state from the storage means, and state reproduction stopping means for stopping the reproduction of the system state based on the information obtained by the state reproduction monitoring means. A system restart device characterized by being provided.
【請求項4】記憶手段からのシステム状態の再現を監視
する状態再現監視手段と、前記状態再現監視手段で得ら
れた情報をもとにシステム状態の再現を停止させる状態
再現停止手段とを備えたことを特徴とする請求項1また
は請求項2記載のシステム再起動装置。
4. A state reproduction monitoring means for monitoring the reproduction of the system state from the storage means, and a state reproduction stopping means for stopping the reproduction of the system state based on the information obtained by the state reproduction monitoring means. The system restart device according to claim 1 or 2, characterized in that
【請求項5】状態再現監視手段で得られた情報を表示装
置に表示し、状態再現停止手段を起動するか否かを選択
させる再現確認判別手段を備えたことを特徴とする請求
項3または請求項4記載のシステム再起動装置。
5. A reproduction confirmation judging means for displaying the information obtained by the status reproduction monitoring means on a display device and for selecting whether or not to start the status reproduction stopping means. The system restart device according to claim 4.
JP5075486A 1993-04-01 1993-04-01 System restarting device Pending JPH06289948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5075486A JPH06289948A (en) 1993-04-01 1993-04-01 System restarting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5075486A JPH06289948A (en) 1993-04-01 1993-04-01 System restarting device

Publications (1)

Publication Number Publication Date
JPH06289948A true JPH06289948A (en) 1994-10-18

Family

ID=13577676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5075486A Pending JPH06289948A (en) 1993-04-01 1993-04-01 System restarting device

Country Status (1)

Country Link
JP (1) JPH06289948A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0738969A2 (en) 1995-04-18 1996-10-23 Fuji Xerox Co., Ltd. System starter unit and method
US20100118331A1 (en) * 2008-11-11 2010-05-13 Kyocera Mita Corporation Image forming apparatus, recording medium, and image forming method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0738969A2 (en) 1995-04-18 1996-10-23 Fuji Xerox Co., Ltd. System starter unit and method
US20100118331A1 (en) * 2008-11-11 2010-05-13 Kyocera Mita Corporation Image forming apparatus, recording medium, and image forming method
US8462375B2 (en) * 2008-11-11 2013-06-11 Kyocera Document Solutions Inc. Image forming apparatus, recording medium, and image forming method

Similar Documents

Publication Publication Date Title
KR950010826B1 (en) Apparatus and method for suspending and resuming software on a computer
KR950010829B1 (en) Apparatus and method for suspending and resuming software on a computer
US6108792A (en) Article for providing continuity of operation in a computer
CN100359434C (en) Information processor, starting method thereof
US7844812B2 (en) Apparatus, method and program product for initiating computer system operation
JP5340335B2 (en) Information processing device
US20030204708A1 (en) Portable computer having hierarchical operating systems
JPH077316B2 (en) System restart device
JP3047791B2 (en) computer
JPH11288334A (en) Method and device for power down for computer system
CN109634782B (en) Method and device for detecting system robustness, storage medium and terminal
JPH06289948A (en) System restarting device
JP2002324012A (en) Information processing system
JPH08339295A (en) Method and device for operating system activation
JPH11143567A (en) Information protection method for network system and information processor used for the protection method
CN115185359B (en) Crypto-coprocessor system and power-down protection method thereof
US20040133815A1 (en) Data processing method and device with state-restoring function
JP2002006978A (en) Personal computer and its operating method
JP2013254512A (en) Information processing device
JPH08123573A (en) Computer
JP2002323940A (en) Power supply managing device for portable terminal
JP2015092382A (en) Information processing device
JPH04360253A (en) Computer system
JPH0736576A (en) Computer system
JPH08101725A (en) Computer