JPH04251317A - System for protecting and reproducing status of task - Google Patents
System for protecting and reproducing status of taskInfo
- Publication number
- JPH04251317A JPH04251317A JP3000839A JP83991A JPH04251317A JP H04251317 A JPH04251317 A JP H04251317A JP 3000839 A JP3000839 A JP 3000839A JP 83991 A JP83991 A JP 83991A JP H04251317 A JPH04251317 A JP H04251317A
- Authority
- JP
- Japan
- Prior art keywords
- task
- power supply
- power
- memory
- interrupted
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 7
- 230000010365 information processing Effects 0.000 abstract description 8
- 238000011069 regeneration method Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000011017 operating method Methods 0.000 description 1
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はタスク状態保護再生方式
に関し、特にスタンドアロンとして動作するコンピュー
タでタスク状態を再現できるタスク状態保護再生方式に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a task state protection and regeneration method, and more particularly to a task state protection and regeneration method that allows a computer operating as a standalone computer to reproduce a task state.
【0002】0002
【従来の技術】従来のコンピュータ装置では、実行中の
タスクを終了させるとき、セーブの必要なデータは磁気
ディスク等に格納し、終了処理を行ってから電源を切断
するのが正常な操作手順であり、タスクの実行中にコン
ピュータ装置の電源が事故で遮断されたり、終了処理の
前に誤って電源を切ったりすると、それまでのデータは
保存されずに消滅してしまうようになっていた。[Prior Art] In conventional computer equipment, when terminating a task that is currently being executed, the normal operating procedure is to store data that needs to be saved on a magnetic disk, etc., and then turn off the power after completing the terminating process. If the computer device's power was accidentally cut off while a task was being executed, or if the power was accidentally turned off before the termination process, the data up to that point would be lost without being saved.
【0003】0003
【発明が解決しようとする課題】上述した従来のコンピ
ュータ装置では、タスク実行中に停電したり、終了処理
を忘れて電源を切断した場合、その状態を再現できない
ため、そのタスクを最初から再実行しなければならない
という欠点があった。[Problems to be Solved by the Invention] In the above-mentioned conventional computer devices, if there is a power outage while executing a task, or if the power is turned off forgetting the termination process, the situation cannot be reproduced, so the task is re-executed from the beginning. The drawback was that it had to be done.
【0004】本発明の目的は、電源切断前の状態を再現
することが可能で、上述の欠点を除去できるタスク状態
保護再生方式を提供することである。SUMMARY OF THE INVENTION An object of the present invention is to provide a task state protection and regeneration method that can reproduce the state before power-off and eliminate the above-mentioned drawbacks.
【0005】[0005]
【課題を解決するための手段】本発明のタスク状態保護
再生方式は、コンピュータ装置の電源が切断されたこと
を検出する電源断検出手段と、タスクが実行中か否かを
判断するタスク状態管理手段と、タスクの実行中に電源
が切断されたときタスクの状態をバックアップメモリに
退避させるタスク状態退避手段と、このタスク状態退避
手段の作動中必要な電源を供給する電源供給手段と、コ
ンピュータ装置の電源が投入されたとき前記バックアッ
プメモリに格納されているタスクの状態を読み出すタス
ク状態再現手段とを備えて構成されている。[Means for Solving the Problems] The task state protection and regeneration method of the present invention includes a power-off detection means for detecting that the power of a computer device is cut off, and task state management for determining whether a task is being executed. means, task state saving means for saving the state of the task in a backup memory when the power is cut off during execution of the task, power supply means for supplying necessary power while the task state saving means is in operation, and a computer device. and task state reproduction means for reading out the state of the task stored in the backup memory when the power is turned on.
【0006】[0006]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Embodiments Next, embodiments of the present invention will be described with reference to the drawings.
【0007】図1は本発明の一実施例の構成を示すブロ
ック図である。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
【0008】本実施例のタスク状態保護再生方式は、図
1に示すように、情報処理部1の電源を監視し電源断を
検出する電源断検出手段2と、タスクが実行中か否かを
判断するタスク状態管理手段3と、電源断検出手段2及
びタスク状態管理手段3によりタスクの実行中に電源が
切断されたことを検出したときタスクの状態をメモリ(
レジスタを含む)8からバックアップメモリ7に退避さ
せるタスク状態退避手段5と、タスク状態退避手段5の
作動中必要な電源を供給するための電源供給手段4と、
電源が投入されたときバックアップメモリ7に格納され
ているタスクの状態を読み出してメモリ8に展開するタ
スク状態再現手段6とを備えている。As shown in FIG. 1, the task state protection and regeneration method of this embodiment includes a power failure detection means 2 that monitors the power supply of the information processing unit 1 and detects a power failure, and a power failure detection means 2 that monitors the power supply of the information processing unit 1 and detects a power failure. When the power-off detection means 2 and the task state management means 3 detect that the power has been turned off during execution of a task, the task state management means 3 stores the state of the task in the memory (
(including registers) 8 to the backup memory 7; a power supply means 4 for supplying necessary power while the task state saving means 5 is in operation;
The task state reproducing means 6 reads out the state of the task stored in the backup memory 7 and expands it to the memory 8 when the power is turned on.
【0009】図2は本実施例の動作を説明するフローチ
ャートである。FIG. 2 is a flowchart explaining the operation of this embodiment.
【0010】情報処理部1の処理実行中(ステップ14
)に、コンピュータ装置の電源が切断されたことを電源
断検出手段2が検出すると(ステップ15)、タスク状
態管理手段3を参照する(ステップ16)。参照の結果
、タスク実行中でなければそのまま終了してコンピュー
タ装置は停止状態となるが、タスク実行中の場合は電源
供給手段4を起動して電圧を継続供給し(ステップ17
)、タスク状態保存手段5がメモリ8の内容(レジスタ
等の情報を含む)をハードディスクなどの不揮発性のバ
ックアップメモリ7に格納する(ステップ18)。格納
後に電源供給手段4の動作を停止させ(ステップ19)
ることにより、コンピュータ装置は停止状態となる。During execution of processing by the information processing unit 1 (step 14)
), when the power-off detection means 2 detects that the computer device is powered off (step 15), it refers to the task state management means 3 (step 16). As a result of the reference, if the task is not being executed, the process ends and the computer device is brought to a halt state; however, if the task is being executed, the power supply means 4 is activated to continue supplying voltage (step 17).
), the task state storage means 5 stores the contents of the memory 8 (including information on registers, etc.) in a non-volatile backup memory 7 such as a hard disk (step 18). After storage, the operation of the power supply means 4 is stopped (step 19).
As a result, the computer device becomes stopped.
【0011】一方、コンピュータ装置の電源を投入した
場合は、最初の初期画面でタスクを再生するか通常の開
始処理を行うかを聞いてくる(ステップ11)。そこで
、タスクの再生を指示すると、タスク状態再現手段6が
バックアップメモリ7に格納されている電源切断前のタ
スク状態をメモリ8に展開し(ステップ12)、情報処
理部1が動作を開始する。タスク再生を必要としない場
合は、通常の開始処理を行い(ステップ13)、情報処
理部1が動作状態となる。On the other hand, when the power of the computer device is turned on, the first initial screen asks whether to reproduce the task or perform normal start processing (step 11). Therefore, when an instruction is given to reproduce the task, the task state reproducing means 6 loads the task state stored in the backup memory 7 before the power is turned off in the memory 8 (step 12), and the information processing section 1 starts operating. If task reproduction is not required, normal start processing is performed (step 13), and the information processing section 1 becomes operational.
【0012】0012
【発明の効果】以上説明したように、本発明のタスク状
態保護再生方式によれば、タスク実行中に停電したり、
誤って電源を切った場合、電源再投入による再立ち上げ
後、電源切断前のタスクの実行状態を復元できるので、
最初からやり直す必要がなくなる効果がある。[Effects of the Invention] As explained above, according to the task state protection and regeneration method of the present invention, power outage occurs during task execution.
If you accidentally turn off the power, you can restore the task execution state before the power was turned off after restarting by turning the power off and on again.
This has the effect of eliminating the need to start over from the beginning.
【図1】本発明の一実施例の構成を示すブロック図であ
る。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
【図2】図1の実施例の動作を示すフローチャートであ
る。FIG. 2 is a flowchart showing the operation of the embodiment of FIG. 1;
1 情報処理部 2 電源断検出手段 3 タスク状態管理手段 4 電源供給手段 5 タスク状態保存手段 6 タスク状態再現手段 7 バックアップメモリ 8 メモリ 1 Information processing department 2 Power interruption detection means 3. Task status management means 4 Power supply means 5. Task state storage means 6 Task state reproduction means 7 Backup memory 8. Memory
Claims (1)
ことを検出する電源断検出手段と、タスクが実行中か否
かを判断するタスク状態管理手段と、タスクの実行中に
電源が切断されたときタスクの状態をバックアップメモ
リに退避させるタスク状態退避手段と、このタスク状態
退避手段の作動中必要な電源を継続供給する電源供給手
段と、コンピュータ装置に電源が供給されたとき前記バ
ックアップメモリに格納されているタスクの状態を読み
出すタスク状態再現手段とを備えたことを特徴とするタ
スク状態保護再生方式。[Claim 1] A power-off detection means for detecting that the power of a computer device is turned off; a task state management means for determining whether a task is being executed; task state saving means for saving a task state to a backup memory; power supply means for continuously supplying necessary power while the task state saving means is in operation; and task state reproduction means for reading out the state of the task being stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3000839A JPH04251317A (en) | 1991-01-09 | 1991-01-09 | System for protecting and reproducing status of task |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3000839A JPH04251317A (en) | 1991-01-09 | 1991-01-09 | System for protecting and reproducing status of task |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04251317A true JPH04251317A (en) | 1992-09-07 |
Family
ID=11484788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3000839A Pending JPH04251317A (en) | 1991-01-09 | 1991-01-09 | System for protecting and reproducing status of task |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04251317A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004057472A1 (en) * | 2002-12-19 | 2004-07-08 | Fujitsu Limited | Processor |
JP2007066232A (en) * | 2005-09-02 | 2007-03-15 | Seiko Epson Corp | Data processor |
-
1991
- 1991-01-09 JP JP3000839A patent/JPH04251317A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004057472A1 (en) * | 2002-12-19 | 2004-07-08 | Fujitsu Limited | Processor |
JP2007066232A (en) * | 2005-09-02 | 2007-03-15 | Seiko Epson Corp | Data processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2003317387A (en) | Information recording apparatus and method for recording information onto recording medium | |
JPH02297770A (en) | Optical disk device | |
JPH04251317A (en) | System for protecting and reproducing status of task | |
JPS6378211A (en) | Power failure handling device for disk recording and reproducing device in microcomputer | |
JP4358943B2 (en) | Automatic backup system and recording medium recording automatic backup program | |
JPH0728572A (en) | Automatic data preserving device at power interruption | |
JPS63280357A (en) | Data save/restore system | |
JP4098400B2 (en) | Semiconductor disk device | |
JPH0415726A (en) | Write back-up system for disk controller | |
JPH02100118A (en) | Information processor | |
JPH01102658A (en) | File write back-up system | |
JPS6254347A (en) | Processing system for fault of file | |
JPS59133620A (en) | Automatic operating system for power restoration | |
JPH06161590A (en) | Resuming control system | |
JPS61210453A (en) | Data memory device | |
JPH0581147A (en) | Automatic saving and recovery method for volatile storage device | |
JPH0512092A (en) | Device and system for reproducing information record and information recording media | |
JPH0619808A (en) | Information processor | |
JPH05233474A (en) | Storage contents protection system | |
JPH04256006A (en) | File restoring system | |
JPH06266598A (en) | Information processor | |
JPH0820933B2 (en) | Data writing method and device | |
JP2624106B2 (en) | Automatic verification method of backup file in exchange system | |
JPH0619767A (en) | Magnetic disk device with file restoration function | |
JPS62229322A (en) | Magnetic disk device |