JPH0498309A - Power interruption restoration system for information processor - Google Patents

Power interruption restoration system for information processor

Info

Publication number
JPH0498309A
JPH0498309A JP2210358A JP21035890A JPH0498309A JP H0498309 A JPH0498309 A JP H0498309A JP 2210358 A JP2210358 A JP 2210358A JP 21035890 A JP21035890 A JP 21035890A JP H0498309 A JPH0498309 A JP H0498309A
Authority
JP
Japan
Prior art keywords
power
mode setting
data
restoration
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2210358A
Other languages
Japanese (ja)
Inventor
Yoshiaki Kitatsume
吉明 北爪
Kenichi Saito
賢一 斎藤
Masahito Hiroi
広井 雅人
Takashi Abe
隆 阿部
Kunihiro Katou
加藤 晋弘
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2210358A priority Critical patent/JPH0498309A/en
Publication of JPH0498309A publication Critical patent/JPH0498309A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To eliminate the operation of mode setting and to avoid restoration impossible conditions owing to the forgetfulness of mode setting by setting prescribed data corresponding to a free area and realizing automatic restoration mode setting. CONSTITUTION:A microprocessor 1 supervises a storage part free area detection part 111 provided in a control part, judges whether a saving area required for keeping data which is immediately before exists or not when power is interrupted and sets prescribed data in a restoration mode setting part 112 which is provided separately in the control part. When power is interrupted, the microprocessor 1 detects that a power switch comes to an off-state, judges the state of the restoration mode setting part 112. When the mode is set, the microprocessor 1 transfers necessary data in an information processor display memory data, the state of CPU and the like, for example, to a storage part RAM 30, maintains feed only in the storage part RAM 30 and holds data by interrupting feed for other parts. Thus, the mode setting operation is eliminated and the restoration impossible conditions owing to the forgetfulness of mode setting can be avoided.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パソコンなどの情報処理装置における電源断
復帰方式における復帰モード自動設定方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic recovery mode setting method in a power-off recovery method for an information processing apparatus such as a personal computer.

〔従来の技術〕[Conventional technology]

従来の装置は、特開平1−279312公報に記載のよ
うに、電源再投入時にシステムの状態を以前の電源断時
の直前の状態に復帰させることかできる、いわゆるレシ
ュームモード(復帰モード)を持っており、バッテリ駆
動のパソコンなどでは。
As described in Japanese Unexamined Patent Publication No. 1-279312, conventional devices have a so-called resume mode that allows the state of the system to be restored to the state immediately before the power was turned off when the power is turned on again. If you have a battery-powered computer, etc.

その使い勝手を大幅に向上させている。この機能がある
ことによって、電源断・投入毎にフロッピなどの補助記
憶からオペレーティングシステムあるいはアプリケーシ
ョンプログラムを逐一格納する必要がなくなり、高速な
システム起動ができる。
Its usability has been greatly improved. With this function, there is no need to store the operating system or application programs one by one from auxiliary storage such as a floppy every time the power is turned off and on, and the system can be started up quickly.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、前述のレジュームモード(復帰モード
)の設定について、システムの状態に応じて自動的に、
所定のモードに設定されるようには配慮されておらず、
利用者がキーボードを用いて、設定する必要かあり、操
作がわずられしい点と、もしモード設定を忘れてしまっ
た場合、電源再投入時に電源断直前の状態に復帰するこ
とができないという問題があった。
The above-mentioned conventional technology automatically sets the resume mode (recovery mode) according to the system status.
It is not designed to be set to a predetermined mode,
The user has to use the keyboard to set the mode, which is cumbersome to operate, and if the user forgets to set the mode, the problem is that when the power is turned on again, it is not possible to return to the state before the power was turned off. was there.

本発明の目的は、上記問題点を解決するため、常にシス
テムの利用状態を監視し、記憶部空き容量などに応じて
、レジュームモード(復帰モード)を自動的に設定し、
モード設定の操作を除くと共に、モード設定忘れによる
復帰不能状況を回避することにある。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, an object of the present invention is to constantly monitor the usage status of the system and automatically set a resume mode (recovery mode) depending on the free space of the storage section, etc.
The purpose is to eliminate the mode setting operation and to avoid a situation where recovery is impossible due to forgetting the mode setting.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために1本発明は情報処理装置の制
御部に記憶部空き容量検出部を設け、制御部のマイクロ
プロセッサによって、常に前記検出部を監視することに
よって、電源断時に直前のデータの保管可能な退避メモ
リエリアかあるかどうかを判定し、退避に必要な分の空
き容量を前記検出部か検出したときに自動的に復帰モー
ドを設定するようにしたものである。
In order to achieve the above object, the present invention provides a storage free space detection section in the control section of an information processing device, and by constantly monitoring the detection section by the microprocessor of the control section, the data stored immediately before the power is turned off is stored. It is determined whether or not there is an evacuation memory area in which the data can be saved, and when the detecting section detects that there is free space necessary for evacuation, the return mode is automatically set.

また、同一の目的を達成するために、本発明は、情報処
理装置の制御部に拡張メモリ部着脱検出部を設け、制御
部のマイクロプロセッサによって、常に前記着脱検出部
を監視することによって、電源断時に直前のデータを保
管する退避メモリエリアとしての拡張メモリがあるかど
うかを判定し、拡張メモリ部が装着されていることを前
記着脱検出部で検出したときに自動的に復帰モードを設
定するようにしたものである。
Furthermore, in order to achieve the same object, the present invention provides an extended memory unit attachment/detachment detection unit in the control unit of an information processing device, and a microprocessor of the control unit constantly monitors the attachment/detachment detection unit. Determine whether or not there is an extended memory as a backup memory area for storing immediately preceding data in the event of power outage, and automatically set a recovery mode when the attachment/removal detection section detects that the extended memory section is installed. This is how it was done.

さらに、同一の目的を達成するために、本発明は情報処
理装置の制御部に、記憶部空き容量検出部、拡張メモリ
着脱検出部の双方を設け、前記制御部内のマイクロプロ
セッサが常に前記雨検出部を監視し、拡張メモリが装備
されておらず記憶部空き容量が退避に必要な分ある場合
には、復帰モードを自動的に設定すると共に、電源断時
の直前のデータを記憶部に退避するようにし、拡張メモ
リが装備されている場合には、同様に復帰モードを自動
的に設定するとともに電源断時の直前のデータを拡張メ
モリに退避するようにする。もちろん、拡張メモリ部か
装備されている状態においても、記憶部空容量が必要な
データを記憶できれば、記憶部へのデータ退避を行うよ
うにする。
Furthermore, in order to achieve the same object, the present invention provides a control unit of an information processing device with both a storage free space detection unit and an expansion memory attachment/removal detection unit, and a microprocessor in the control unit constantly detects the rain. If extended memory is not installed and there is enough storage free space for backup, the system automatically sets the recovery mode and saves the data immediately before the power is turned off to the storage. If an extended memory is installed, the recovery mode is similarly set automatically, and the data immediately before the power is turned off is saved to the extended memory. Of course, even when an extended memory section is installed, data is saved to the storage section if the necessary data can be stored in the free space of the storage section.

なお、これらの状態で電源断時においても記憶部あるい
は拡張メモリ部には給電を続ける。
Note that even when the power is turned off in these conditions, power continues to be supplied to the storage section or extended memory section.

〔作用〕[Effect]

本発明では、制御部のマイクロプロセッサが、制御部内
に設けた記憶部空き容量検出部、拡張メモリ部着脱検出
部を監視し、電源断時に直前のデータを保管するために
必要な退避エリアが存在するかどうかを判定して、その
結果に応じて別途、制御部内に設けた復帰モード設定部
に所定のデータを設定するので誤動作することがない。
In the present invention, the microprocessor of the control unit monitors the storage free space detection unit and expansion memory attachment/removal detection unit provided in the control unit, and there is a necessary evacuation area to store the immediately preceding data when the power is turned off. Since a determination is made as to whether or not the operation is to be performed, and predetermined data is set in a return mode setting section separately provided in the control section according to the result, there is no possibility of malfunction.

実際に、電源断時においては、制御部のマイクロプロセ
ッサは、電源スィッチがオフ状態になった事を検出し、
さらに復帰モード設定部の状態を判定して、モード設定
されていれば、情報処理装置内の必要データたとえば表
示メモリデータ、CPUの状態能を記憶部RAMに転送
した後に、記憶部RAMのみに給電を維持し、他部への
給電を断つことによってデータを保管する。
In fact, when the power is turned off, the microprocessor in the control section detects that the power switch is turned off, and
Furthermore, the state of the recovery mode setting unit is determined, and if the mode is set, necessary data in the information processing device, such as display memory data and CPU status information, is transferred to the storage RAM, and then power is supplied only to the storage RAM. data is maintained by cutting off the power supply to other parts.

〔実施例〕〔Example〕

以下、本発明の実施例を記述する。まずはしめに不発明
か適用される情報処理装置の構成を第2図に示す。第2
図で、1はM P U(Micr。
Examples of the present invention will be described below. First of all, FIG. 2 shows the configuration of an information processing apparatus to which the present invention is applied. Second
In the figure, 1 is MPU (Micr.

ProCessing Unitニマイクロプロセノシ
ングユニノト)、2はメモリコントローラで、30のR
AM (Random Access Memory)
 、 4のROM (ReadOnly MeoIor
y)を制御する。5はFDC/HDC(Floppy 
Disk Controller/Hard Disk
 Controller)6はF D D / HD 
D (Floppy Disk Driver/Har
d Disk Controller)、7はCRT 
C(Cathodel(ay Tube Contro
ller) 、 8はV RA M (Vide。
ProCessing Unit 2 is the memory controller, 30 R
AM (Random Access Memory)
, 4 ROM (ReadOnly MeoIor
y). 5 is FDC/HDC (Floppy
Disk Controller/Hard Disk
Controller) 6 is FDD/HD
D (Floppy Disk Driver/Har
d Disk Controller), 7 is CRT
C (Cathode)
8 is V RAM (Vide.

Random Access Memory) 、 9
はCRT(CathodeRay tube) 、 l
 OはP RC(Printer Controlle
r)11はP RT (Printer) 、  l 
2は描画コントローラ、100はMPUIのアドレス/
データバスである。
Random Access Memory), 9
is a CRT (Cathode Ray tube), l
O is PRC (Printer Control
r) 11 is P RT (Printer), l
2 is the drawing controller, 100 is the MPUI address/
It is a data bus.

第2図で31は拡張メモリ部である。以下第2図で、電
源断復帰方式を説明すると、利用者が、第2図の装置を
用いであるアプリケーションプログラムを実行中、帰宅
時間が迫ってきたときに、電源をオフしたと仮定する。
In FIG. 2, 31 is an extended memory section. The power-off recovery method will be described below with reference to FIG. 2. It is assumed that a user turns off the power when it is almost time to go home while running an application program using the apparatus shown in FIG.

このとき、図示しない電源スィッチがオフされた事をM
PUIが検出し、復帰モード時では、表示用のVRAM
8の内容及びMPU1の内部状態、描画コントローラ1
2、PRCIOの内部レジスタの値を、MPU1の制御
のもとにRAM30あるいは拡張メモリ31に転送する
。この転送が完了層に、MPUIは、4〜12までの全
ての部分への電源給電を断つ。
At this time, M indicates that the power switch (not shown) has been turned off.
The PUI detects it, and in the recovery mode, the VRAM for display
8 contents and internal state of MPU 1, drawing controller 1
2. Transfer the value of the PRCIO internal register to the RAM 30 or extended memory 31 under the control of the MPU 1. When this transfer is completed, the MPUI cuts off the power supply to all parts 4 to 12.

したがってこの退避時にはメモリコントローラ2とRA
M30、拡張メモリ31に電源給電が行われて記憶部内
のデータを保存することができる。
Therefore, during this evacuation, memory controller 2 and RA
Power is supplied to M30 and the extended memory 31 so that data in the storage section can be saved.

電源再投入時は、電源断時と逆方向にRAM30゜拡張
メモリ31からMPU1、P RC’10、描画コント
ローラ12、VRAM8に保存データを復帰させる。
When the power is turned on again, the saved data is restored from the RAM 30° expansion memory 31 to the MPU 1, PRC' 10, drawing controller 12, and VRAM 8 in the opposite direction to when the power was turned off.

第1図に本発明の第一の実施例を示す。なお第2図と同
じ部分は同一の符号を付けた。
FIG. 1 shows a first embodiment of the present invention. Note that the same parts as in FIG. 2 are given the same reference numerals.

第1図では電源断復帰方式における自動復帰モード設定
方法を説明するために必要な部分を強調して記述してお
り、1のMPU内に示した記憶部空容量検出部111.
復帰モード設定部112、電源給電制御部113は、各
々M P U 1のソフトウェア処理によって実現され
るもので実際には、ROM4に格納されているプログラ
ムによる。
In FIG. 1, necessary parts are emphasized to explain the automatic recovery mode setting method in the power-off recovery method.
The return mode setting section 112 and the power supply control section 113 are each realized by software processing of the MPU 1, and are actually based on a program stored in the ROM 4.

電源スイツチ出力200がオン状態で、電源出力300
か電源回路13に供給されていて、情報処理装置の動作
中であると仮定する。
When power switch output 200 is on, power output 300
It is assumed that the information processing apparatus is being operated.

本実施例では、MP−Ulのソフトウェア処理によって
、RAM30の記憶部空容量検出を行い、電源断復帰に
必要なデータとして表示用データを記憶するVRAM8
のデータと描画コントローラ12の内部レジスタ12−
1.12−1などのデータを、RAM30の空エリアに
退避する方法を示す。
In this embodiment, the storage free space of the RAM 30 is detected by software processing of the MP-Ul, and the VRAM 8 is used to store display data as data necessary for recovery from power failure.
data and the internal register 12- of the drawing controller 12
1. A method of saving data such as 12-1 to an empty area of the RAM 30 is shown.

第3図に本発明の第一の実施例における記憶部空容量検
出の一方式を示す。
FIG. 3 shows one method for detecting free space in the storage section in the first embodiment of the present invention.

まずSlで、システム電源オン時の診断ルーチンで、シ
ステムに実装されているメモリ容量を読むこの方法とし
ては、MPUIが、たとえば0番地からパターンとして
16進数でAAAAあるいは5555などを書き、その
都度同一番地からの読出しを行って照合チエツクを実施
して、書込みデータと一致しているところまでのアドレ
スをチエツクすればよい。すなわちメモリが実装されて
いない場合は、当該アドレスに達すると、読出しても、
全ビット“1″レベルデータとなり照合不一致となる。
First, in the SL, in the diagnostic routine when the system power is turned on, this method of reading the memory capacity installed in the system is that the MPUI writes AAAA or 5555 in hexadecimal as a pattern starting from address 0, and the same value is used each time. It is sufficient to perform a verification check by reading from the address and check the addresses up to the point where the data matches the written data. In other words, if the memory is not installed, when the relevant address is reached, even if read,
All bits become "1" level data, resulting in mismatch.

次に82で、Slで把握したメモリ実装容量を、MPU
1の内部レジスタR1に記憶させる。S3では、利用者
が実行したいプログラムを、システム電源オン時にキー
人力したのを検出し、FAT(File A11oca
tion Table)をサーチして、FATに記憶さ
れている実行したいプログラムのファイルネームに対応
するプログラム容量を読出し、S4でこれをMPo、1
の内部レジスタR2に記憶させる。S5ではMPUIに
よりR1、−R2→R2の演算を行い、R2に実装容量
からプログラム容量を滅じた空容量を格納する。この様
にして記憶部空容量を検出して、MPU1はさらに、以
下の処理を行う。
Next, in 82, the memory mounting capacity grasped by Sl is transferred to the MPU
1 internal register R1. S3 detects that the user presses a key when the system power is turned on to execute the program that the user wants to execute, and stores it in FAT (File A11oca).
tion Table), reads out the program capacity corresponding to the file name of the program to be executed stored in the FAT, and sets this to MPo, 1 in S4.
is stored in internal register R2. In S5, the MPUI calculates R1, -R2→R2, and the empty capacity obtained by subtracting the program capacity from the installed capacity is stored in R2. After detecting the storage free space in this manner, the MPU 1 further performs the following processing.

すなわち記憶部空容量−保存したいデータ容量20をチ
エツクし、成立すれば、第1図に示した自動復帰モード
設定部にその旨セントする。
That is, the free space in the storage section - the data capacity to be saved 20 is checked, and if it is found, that fact is entered in the automatic return mode setting section shown in FIG.

具体的には、RAM30の特定番地に設定することにな
る。
Specifically, it is set at a specific address in the RAM 30.

なお保存したいデータ容量は、表示用VRAM8の容量
+描画コントローラ12内の内部レジスタ12−1.1
2−2などの容量であり、設計時に把握できるので定数
として、ROM4内のブロクラムの一部に記憶させてお
けばよい。
The data capacity to be saved is the capacity of the display VRAM 8 + the internal register 12-1.1 in the drawing controller 12.
2-2, which can be grasped at the time of design, may be stored as a constant in a part of the block diagram in the ROM 4.

ここで、VRAM8他を記憶部RAM30に退避したい
理由は、電源断復帰方式を実現するためであり、電源再
投入時に必要な諸データの保存が目的である。VRAM
8を電池バックアップしないのはVRAM8が通常のパ
ソコンではグラフィックデータを記憶しており100〜
200KBと大容量のため、DRAMを利用しているこ
とがはとんとであり、リフレッシュが必要なことから第
2図のCRT7、描画コントローラなどの電源を供給し
続ける必要があり、電源断から再投入までの期間の消費
電力容量が大きく1〜2時間位のデータの保存ができる
程度になってしまうからである。
Here, the reason why it is desired to save the VRAM 8 and the like to the storage RAM 30 is to realize a power-off recovery method, and the purpose is to save various data necessary when the power is turned on again. VRAM
The reason why 8 is not backed up by battery is that VRAM 8 stores graphic data on a normal computer, and it has a capacity of 100~
Due to its large capacity of 200KB, DRAM is often used, and refresh is required, so it is necessary to continue supplying power to the CRT 7, drawing controller, etc. shown in Figure 2, and the power must be turned on again after being turned off. This is because the power consumption capacity during the period up to this point is so large that data can only be stored for about 1 to 2 hours.

以下に簡単に、電源オフ時の、諸データのRAM30へ
の退避について説明する。MPUIは、電源スイツチ出
力200を常に監視しており、これがオフとなると、1
12によってRAM30の特定番地に設定された復帰モ
ードをチエツクして、モードが設定されていると、MP
UIはVRAM8の全番地、描画コントローラ12の内
部レジスタ12−1.12−2、PRCIOの内部レジ
スタなどを読み出してRAM30の空エリアに格納する
。その後、MPUIは電源給電制御部113によってパ
ワー制御部14を制御し、電源回路13のスイッチ1つ
まり13−1を開として、■CC−2を切ってVRAM
8をはじめとして、MPUI自身の電源を切断し、既に
退避したデータを保存するために、メモリコントローラ
2、RAM30に対してのみスイッチ2.13−2を開
とし続けてVCC−1を供給する。これによりメモリコ
ントローラ2によるリフレッシュを継続して、RAM3
0のデータを維持する。
The saving of various data to the RAM 30 when the power is turned off will be briefly explained below. The MPUI constantly monitors the power switch output 200, and when it is turned off, the 1
12, the return mode set at a specific address in RAM 30 is checked, and if the mode is set, the MP
The UI reads all addresses of the VRAM 8, internal registers 12-1, 12-2 of the drawing controller 12, internal registers of PRCIO, etc., and stores them in an empty area of the RAM 30. After that, the MPUI controls the power control unit 14 by the power supply control unit 113, opens switch 1 of the power supply circuit 13, that is, 13-1, turns off CC-2, and connects the VRAM.
8, the MPUI itself is powered off, and in order to save the data that has already been saved, the switch 2.13-2 is kept open and VCC-1 is supplied only to the memory controller 2 and RAM 30. This allows the memory controller 2 to continue refreshing the RAM3.
Maintain 0 data.

電源再投入時には電源スイツチ出力200かオンとなり
、電源回路13をトリ力し、スイッチ1を閉とするので
再びM P U lに電源が入り、前述のデータ転送と
逆方向にデータを転送して復帰する。
When the power is turned on again, the power switch output 200 is turned on, the power supply circuit 13 is tripped, and the switch 1 is closed, so the power is turned on to the MPU again and the data is transferred in the opposite direction to the data transfer described above. Return.

本発明の第2の実施例を第4図にもとづいて説明する。A second embodiment of the present invention will be described based on FIG.

第4図で114は拡張メモリ部着脱検出部。In FIG. 4, reference numeral 114 denotes an expansion memory section attachment/detachment detection section.

31は拡張メモリ部であり、その他は第1図と同様であ
る。以下簡単にその動作を説明する。電源スイツチ出力
200かオンで電源出力300が電源回路13に供給さ
れてシステム動作中であると仮定する。
31 is an extended memory section, and the other parts are the same as in FIG. 1. The operation will be briefly explained below. Assume that the power switch output 200 is on, the power output 300 is supplied to the power supply circuit 13, and the system is operating.

本実施例では、MPUIのソフトウェア処理によって、
拡張メモリ部31の着脱検出を行い、電源断復帰に必要
なデータとして表示用データを格納するV RA M 
8のデータと描画コントローラ12の内部レジスタ12
−1.12−2などのデータを、拡張メモリ部31に退
避する方法を示す。
In this embodiment, by software processing of MPUI,
V RAM that detects attachment/detachment of the extended memory section 31 and stores display data as data necessary for power-off recovery.
8 data and the internal register 12 of the drawing controller 12
A method of saving data such as -1.12-2 to the extended memory unit 31 will be described.

図示しない拡張メモリ部31用コネクタに拡張メモリ部
31を挿入すると、拡張メモリ部31側の特定ピンをグ
ラウンド端子に接続しであるので。
When the expansion memory section 31 is inserted into the expansion memory section 31 connector (not shown), a specific pin on the expansion memory section 31 side is connected to the ground terminal.

挿入しないときにコネクタ側で5■にプルアップしであ
る特定端子がグラウンドにおちることによりMPUIは
、ソフトウェア処理による114で31の装備を確認で
きる。
When not inserted, the specific terminal is pulled up to 5 on the connector side and falls to ground, allowing the MPUI to confirm the equipment of 31 at 114 through software processing.

その結果、MPUIは112によって、31の特定番地
に復帰モードである旨登セットする。
As a result, the MPUI registers the return mode at a specific address 31 through step 112.

以降、電源断による各データの退避、復帰は第一の実施
例と同様に、表示用VRAM8、描画コントローラ12
などとの間で行われる。
From then on, each data is saved and restored due to a power cut, as in the first embodiment, using the display VRAM 8 and the drawing controller 12.
etc. will be held between.

第5図に本発明の第3の実施例を示す。FIG. 5 shows a third embodiment of the present invention.

本実施例は、MPUIのソフトウェア処理として、記憶
部空容量検出処理部と拡張メモリ部着脱検出処理部を双
方備え、第6図の処理フローに示すように、Slで着脱
検出処理を行いS2で拡張メモリ部31か装備されてい
るかどうかを判定し。
This embodiment includes both a memory section free space detection processing section and an extended memory section attachment/detachment detection processing section as MPUI software processing, and as shown in the processing flow in Fig. 6, the attachment/disconnection detection process is performed in Sl and the process in S2. It is determined whether the extended memory unit 31 is installed.

もし拡張メモリ部31か装備されていない場合には、S
7で記憶部空容量検出処理を行い、さらにS8でその空
容量で表示用のV RAM 8などの退避がaI能かを
判断し、Noの場合には、S10で復帰モード利用不能
メツセージを出力する。利用者はこれによって、電源断
復帰を用いることができない事を知る。
If the extended memory unit 31 is not installed,
In step 7, the storage free space is detected, and in step S8, it is determined whether it is possible to save the display VRAM 8, etc., based on the free space, and if the answer is No, a message indicating that the return mode cannot be used is output in step S10. do. The user thereby knows that recovery from power off cannot be used.

また、同様な手順で88で退避aJと判断した場合には
、S9で復帰モード設定処理(1)を行う。
Further, in the same procedure, if it is determined in step 88 that the evacuation is aJ, the return mode setting process (1) is performed in step S9.

つまり記憶部空容量を利用した退避を指示する。In other words, it instructs evacuation using free space in the storage section.

前述の内容はS2で拡張メモリ部31の装備がなかった
場合の処理を説明した。以下には装備有の場合について
記述する。
The above description describes the processing when the extended memory unit 31 is not installed in S2. The following describes the case with equipment.

S2で装備有と判断すると、次に83で57と同様に記
憶部空容量検出処理を行い続<54で退避可か判定する
。ここで退避不可の場合に限り、Sllで復帰モード設
定処理(2)、つまり拡張メモリ部31への退避を指示
する。
If it is determined in S2 that the device is equipped, then in step 83, the memory space free space detection process is performed in the same manner as in step 57, and if continuation<54, it is determined whether evacuation is possible. Only if saving is not possible here, the Sll instructs return mode setting processing (2), that is, saving to the extended memory unit 31.

またS4で退避可と判断したい場合にはS5で復帰モー
ド設定(1)を行い、拡張メモリ部31が装備された状
態であっても記憶部空容量への退避を指示する。次に8
6では、拡張メモリ部全エリアを本来の目的すなわち何
種かのアプリケーションプログラムやデータを格納する
ために利用可能であるというメツセージを出力する。こ
れを見て、利用者は適切に拡張メモリ部31を活用する
6本発明の3実施例の効果は下記の通りである。
If it is determined in S4 that evacuation is possible, the return mode is set (1) in S5, and evacuation to the free space of the storage unit is instructed even if the extended memory unit 31 is installed. Next 8
At step 6, a message is output that the entire area of the extended memory section can be used for its original purpose, that is, for storing some application programs and data. Seeing this, the user can appropriately utilize the extended memory section 31.6 The effects of the three embodiments of the present invention are as follows.

(1)電源断復帰方式において、情報処理装置自身が常
にシステムを監視して、記憶部空容量や拡張メモリ部着
脱状況をチエツクして、それらの状況に応じて自動的に
復帰モード設定を行い、利用者によるモード設定操作を
除くと共に、モード設定忘れによる復帰不能状況を回避
することかできる。
(1) In the power-off recovery method, the information processing device itself constantly monitors the system, checks the free space in the storage section and the status of expansion memory attachment/removal, and automatically sets the recovery mode according to these conditions. In addition to eliminating the mode setting operation by the user, it is possible to avoid a situation where recovery is not possible due to forgetting the mode setting.

(2)(1)に付随した効果として、システム状況が電
源断復帰方式の適用不可の場合には、その旨のメツセー
ジが出力されるので、利用者はたとえば、拡張メモリメ
を装備することなどで対応できる。
(2) As an additional effect to (1), if the system status is such that the power-off recovery method cannot be applied, a message to that effect will be output, so the user can, for example, install an expanded memory device, etc. I can handle it.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、本来内蔵している記憶部の空容量を用
いて、利用者の介入なしで電源断直前の各データを退避
できる。
According to the present invention, each data immediately before the power is turned off can be saved without user intervention by using the free capacity of the originally built-in storage section.

また、拡張メモリ部を装備することによって、利用者の
介入なしで、電源断直前の各データを退避できる。
Furthermore, by providing an extended memory section, each data can be saved immediately before the power is turned off without user intervention.

さらに1本来内蔵している記憶部の空容量と拡張メモリ
部のどちらかを退避用に、状況に応じて用いる事が可能
となる。
Furthermore, it becomes possible to use either the free space of the originally built-in storage section or the extended memory section for evacuation, depending on the situation.

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

第1図は、本発明の第一の実施例のシステム構成図、第
2図は本発明が適用される情報処理装置の構成を示す図
、第3図は本発明の記憶部空容量検出処理フローを示す
図、第4図は本発明の第2の実施例のシステム構成図、
第5図は、本発明の第3の実施例のシステム構成図、第
6図は、第3の実施例の処理フローを示す図であ。。 1 −M P U (Micro Processin
g Unit : フィクロプロセッシングユニット)
 、 3 ORA M (RandomAccess 
Melory)、 4− ROM (Read 0nl
y Memory)5− F DC/ HDC(Flo
ppy Disk Controller/)lard
 Disk’ControLLer) 、 6− F 
D D / )(D D(Floppy Disk D
river/Hard Disk Driver) 、
  7・CRT C(Cathode Ray t u
 b e Controller)、8− V R、A
 M (Video RAM)、9  ・CRT (C
athodeRay Tube)、  L O−P R
C(Printer Controller)11−P
RT (Printer) 、  10o・・データ/
アドレスバス、200・・・電源スイツチ出力。 300 ・電源出力。
FIG. 1 is a system configuration diagram of a first embodiment of the present invention, FIG. 2 is a diagram showing the configuration of an information processing device to which the present invention is applied, and FIG. 3 is a storage free space detection process of the present invention. A diagram showing the flow, FIG. 4 is a system configuration diagram of the second embodiment of the present invention,
FIG. 5 is a system configuration diagram of a third embodiment of the present invention, and FIG. 6 is a diagram showing a processing flow of the third embodiment. . 1-MPU (Micro Processin)
g Unit: Ficroprocessing unit)
, 3 ORA M (RandomAccess
4-ROM (Read 0nl)
y Memory) 5-F DC/ HDC (Flo
ppy Disk Controller/)lard
Disk'Controller), 6-F
D D / ) (D D (Floppy Disk D
river/Hard Disk Driver),
7.CRT C (Cathode Ray t u
b e Controller), 8-VR, A
M (Video RAM), 9 ・CRT (C
athodeRay Tube), L O-P R
C (Printer Controller) 11-P
RT (Printer), 10o...Data/
Address bus, 200...Power switch output. 300 ・Power output.

Claims (1)

【特許請求の範囲】 1、マイクロプロセッサなとからなる制御部、記憶部、
補助記憶などからなる入出力部などから構成される情報
処理装置において、前記制御部に、前記記憶部のあき容
量検出手段を設け、該検出手段出力を前記制御部が判定
し、前記制御部内に設けた電源断復帰モード設定手段に
対して、前記判定結果にもとづき、あき容量に応じ所定
のデータを設定し、自動的な復帰モード設定を可能とす
る情報処理装置の電源断復帰方式。 2、前記制御部内に拡張メモリ部着脱検出手段を設け、
前記検出手段出力を前記制御部内が判定し、前記電源断
復帰モード設定手段に対して、前記判定結果にもとづき
、拡張メモリの着脱に応じ所定のデータを設定し、自動
的な復帰モード設定を可能とする請求項1記載の情報処
理装置の電源断復帰方式。
[Claims] 1. A control unit including a microprocessor, a storage unit,
In an information processing device including an input/output unit including an auxiliary memory, the control unit is provided with a free capacity detection means of the storage unit, the control unit determines the output of the detection unit, and the control unit determines the output of the storage unit. A power-off recovery method for an information processing device that enables automatic recovery mode setting by setting predetermined data according to free capacity in a power-off recovery mode setting means provided based on the determination result. 2. Providing an expansion memory unit attachment/detachment detection means in the control unit,
The controller determines the output of the detection means, and sets predetermined data in the power-off recovery mode setting means based on the determination result according to the attachment/detachment of the extended memory, thereby enabling automatic recovery mode setting. 2. A power-off recovery method for an information processing device according to claim 1.
JP2210358A 1990-08-10 1990-08-10 Power interruption restoration system for information processor Pending JPH0498309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2210358A JPH0498309A (en) 1990-08-10 1990-08-10 Power interruption restoration system for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2210358A JPH0498309A (en) 1990-08-10 1990-08-10 Power interruption restoration system for information processor

Publications (1)

Publication Number Publication Date
JPH0498309A true JPH0498309A (en) 1992-03-31

Family

ID=16588055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2210358A Pending JPH0498309A (en) 1990-08-10 1990-08-10 Power interruption restoration system for information processor

Country Status (1)

Country Link
JP (1) JPH0498309A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165400A (en) * 2006-12-27 2008-07-17 Fujitsu Ltd Information access device, information processor, information access program, information access method, and information processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165400A (en) * 2006-12-27 2008-07-17 Fujitsu Ltd Information access device, information processor, information access program, information access method, and information processing method

Similar Documents

Publication Publication Date Title
US7661029B2 (en) Information processing apparatus with resume function and information processing system
US5721934A (en) Retrofit external power saving system and method for use
JP3224153B2 (en) Improved data protection system and data protection method
US5809223A (en) Network hibernation system and a control method thereof
US6523133B2 (en) Information processing apparatus that can hold internal information
CA2070958C (en) Apparatus and method for suspending and resuming software applications on a computer
US5978924A (en) Computer system with an advanced power saving function and an operating method therefor
JPH0612153A (en) Programmable controller
KR0182632B1 (en) Client server system performing automatic reconnection and control method thereof
JPH0498309A (en) Power interruption restoration system for information processor
JPH08314588A (en) Information processor
JP2997584B2 (en) Power control device
JPH10105296A (en) Power source controller
JP4503003B2 (en) Power supply backup system and electronic device having the same
JPH0793061A (en) Information processor
JPH06230845A (en) Resuming system
JP3697971B2 (en) Information processing device
JPH0720967A (en) Information processor
JP4415415B2 (en) Computer system
JP3216253B2 (en) Backup control device
JP3823931B2 (en) Information processing apparatus, information processing apparatus system, and resume method thereof
JPH05143469A (en) Memory backup device
JPH08305469A (en) Information processor and suspend method for the same
JPH0442314A (en) Computer system capable of quick start
JPH10201132A (en) Data processor