JPH06337728A - Electronic computer with suspending/resuming function - Google Patents

Electronic computer with suspending/resuming function

Info

Publication number
JPH06337728A
JPH06337728A JP5129530A JP12953093A JPH06337728A JP H06337728 A JPH06337728 A JP H06337728A JP 5129530 A JP5129530 A JP 5129530A JP 12953093 A JP12953093 A JP 12953093A JP H06337728 A JPH06337728 A JP H06337728A
Authority
JP
Japan
Prior art keywords
resume
suspend
processing
electronic computer
power
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
JP5129530A
Other languages
Japanese (ja)
Inventor
Yasushi Kamisaka
靖 上坂
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 JP5129530A priority Critical patent/JPH06337728A/en
Publication of JPH06337728A publication Critical patent/JPH06337728A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To suppress the execution of the suspending and resuming processes of the electronic computer equipped with the suspending/resuming function by informing the electronic computer of the computer can not be restored to the state at the time of power-OFF operation when the suspending and resuming processes are performed. CONSTITUTION:The electronic computer is equipped with a CPU 101, a memory 102, a resuming device 104 which holds data in the memory 102 by receiving a power-OFF request and restores the held data by receiving a request to turn ON the power source again, a resuming possible/impossibe decision device 106 which decides whether or not a current state corresponds to a prescribed resuming process disabled state, and a resuming preventing device 105 which disables the suspending process when it is decided that the current state is the resuming process disabled state.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、サスペンド/レジュー
ム機能を有する電子計算機に関し、特にサスペンド処理
実行の可否判断が可能な電子計算機の構成に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic computer having a suspend / resume function, and more particularly to the configuration of an electronic computer capable of determining whether or not suspend processing can be executed.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータやワーク
ステーションなどの電子計算機においては、電源をオフ
した時に、その時点で実行中であったプログラムを継続
して実行するために必要な全ての状態を保持し、電源を
再度オンとした時にプログラム処理を継続実行すること
が可能なサスペンド/レジューム機能回路を備えたもの
が増加している。そして、このサスペンド/レジューム
機能は、従来繁雑であった電子計算機の立ち上げ/立ち
下げの手順を不必要もしくは大幅に簡素化し、使用者の
操作性を向上している。
2. Description of the Related Art In recent years, in electronic computers such as personal computers and workstations, when the power is turned off, all the states necessary for continuously executing the program being executed at that time are retained. The number of devices having a suspend / resume function circuit capable of continuously executing program processing when the power is turned on again is increasing. The suspend / resume function unnecessarily or greatly simplifies the conventionally complicated procedure of starting / stopping the electronic computer, and improves the operability for the user.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
サスペンド/リジューム処理においては、処理を中断さ
せることができない機器を使用している時や、電子計算
機を複数の使用者が使用している時など、サスペンド/
レジューム処理により電子計算機の電源をオフにする
と、次に電源をオンにした時に処理を継続できない状態
であっても、自動的にサスペンド/レジューム処理が実
行されてしまうという問題点を有していた。
However, in the conventional suspend / resume processing, when a device that cannot interrupt the processing is used, or when a plurality of users use the electronic computer, etc. ,suspend/
When the power of the electronic computer is turned off by the resume process, the suspend / resume process is automatically executed even if the process cannot be continued when the power is turned on next time. .

【0004】例えば、電子計算機に接続された磁気テー
プ記憶装置は、ある所定のデータ長単位で書き込み動作
が行われる。したがって、電源OFF時にその単位デー
タ長の途中で処理が中断するような場合には、電源再投
入時に、書き込み途中のデータ位置から書き込み動作を
再起動することができない。また、複数の使用者がこの
電子計算機を使用中に、一人の使用者が他の使用者に無
断で電源をOFFした様な場合、他の使用者が使用を継
続したいにも関わらずサスペンド処理が行われ、電子計
算機が電源OFFされてしまう。
For example, in a magnetic tape storage device connected to an electronic computer, a writing operation is performed in a unit of a predetermined data length. Therefore, when the processing is interrupted during the unit data length when the power is turned off, the writing operation cannot be restarted from the data position during the writing when the power is turned on again. In addition, when multiple users are using this computer, if one user turns off the power without the permission of other users, the suspend process is performed even if the other users want to continue using the computer. Then, the electronic computer is turned off.

【0005】従って、本発明は上記問題点に鑑みてなさ
れたもので、サスペンド/レジューム処理により電子計
算機の電源をオフにすると、次に電源をオンにした時に
処理を継続できない状態を検知し、サスペンド/レジュ
ーム処理の実行を抑制することができる電子計算機を提
供することを目的とする。
Therefore, the present invention has been made in view of the above problems, and when the power of the computer is turned off by the suspend / resume processing, it is detected that the processing cannot be continued when the power is turned on next time. An object of the present invention is to provide an electronic computer capable of suppressing the execution of suspend / resume processing.

【0006】[0006]

【課題を解決するための手段】請求項1の発明に係る電
子計算機は、種々の命令を実行する中央処理装置と、中
央処理装置の実行に必要なデータを記憶する主記憶装置
と、電源断要求を受けて、主記憶装置に記憶されたデー
タを保持するとともに、電源再投入要求を受けて、保持
されたデータを主記憶装置に復元させるサスペンド/レ
ジューム手段と、電源断要求時に、現在の状態が予め規
定したレジューム処理不可状態に該当するか否かを判定
するレジューム可否判定手段と、レジューム可否判定手
段により現在の状態がレジューム処理不可状態と判定さ
れた場合に、サスペンド/レジューム手段によるサスペ
ンド処理を行わなくするレジューム防止手段とを備えて
いる。
According to a first aspect of the present invention, there is provided an electronic computer comprising: a central processing unit for executing various instructions; a main storage unit for storing data necessary for execution of the central processing unit; In response to the request, the data stored in the main memory device is held, and in response to the power-on request, the suspend / resume means for restoring the held data to the main memory device and the current power-off request Resume availability determination means for determining whether or not the state corresponds to a pre-specified resume processing disabled state, and suspend / resume by the suspend / resume means when the current state is determined to be the resume processing disabled state by the resume availability determination means. Resume prevention means for eliminating processing is provided.

【0007】請求項2の発明に係る電子計算機は、請求
項1の発明に対し、さらに、レジューム可否判定手段に
より現在の状態がレジューム処理不可状態と判定された
場合に、使用者に対しレジューム処理不可を知らせるレ
ジューム警告手段を備えている。請求項3の発明に係る
電子計算機は、請求項1の発明に対し、さらに、レジュ
ーム可否判定手段の判定結果に関わらず、強制的にサス
ペンド/レジューム手段によるサスペンド/レジューム
処理を行わせるサスペンド/レジューム処理強制実行手
段と、使用者がサスペンド/レジューム手段によるサス
ペンド/レジューム処理を強制的に行わせるための指示
を入力するための入力手段とを備えている。
The electronic computer according to the invention of claim 2 is different from the invention of claim 1 in that when the resume possibility determination means determines that the present state is the resume processing impossible state, the resume processing is performed for the user. Equipped with a resume warning means for notifying. The electronic computer according to the invention of claim 3 is different from the invention of claim 1 in that the suspend / resume is forced to perform the suspend / resume processing by the suspend / resume means regardless of the determination result of the resume possibility determination means. The processing forced execution means and the input means for the user to input an instruction for forcibly performing the suspend / resume processing by the suspend / resume means.

【0008】請求項4の発明に係る電子計算機は、請求
項1の発明に対し、レジューム可否判定手段は、電源断
要求時に、起動中のプログラムが電子計算機に接続され
たテープ記憶装置に対してアクセス中の状態をレジュー
ム処理不可状態と判定する。請求項5の発明に係る電子
計算機は、請求項1の発明に対し、レジューム可否判定
手段が、電源断要求時に、電子計算機を複数の使用者が
異なる処理を実行中の場合をレジューム処理不可状態と
判定する。
The computer according to a fourth aspect of the present invention is the computer according to the first aspect, wherein the resume possibility determination means is for the tape storage device in which the program being started is connected to the computer when the power-off request is made. The state during access is determined to be the resume process disabled state. In the electronic computer according to the invention of claim 5, in addition to the invention of claim 1, the resume possibility determination means is in a resume-disabled state when a plurality of users of the electronic computer are performing different processes at the time of power-off request. To determine.

【0009】[0009]

【作用】請求項1の発明に係る電子計算機は、電源断要
求が入力されると、レジューム可否判定手段が、電子計
算機の現在の処理状態を検査し、その状態が予め規定し
たレジューム不可状態に該当するか否かを判定する。こ
のレジューム不可状態は、請求項4の発明においては、
起動中のプログラムが電子計算機に接続されたテープ記
憶装置に対してアクセス中の状態として規定される。ま
た、請求項5の発明においては、電子計算機を複数の使
用者が異なる処理を実行中の状態をレジューム不可状態
として規定する。そして、レジューム可否判定手段が、
レジューム処理不可と判定した場合、レジューム防止手
段は、サスペンド/レジューム手段に対し、サスペンド
処理の実行を防止する。
In the electronic computer according to the first aspect of the present invention, when the power-off request is input, the resume possible / impossible judging means inspects the current processing state of the electronic computer, and the state becomes the pre-specified resume impossible state. It is determined whether or not it corresponds. This non-resume state is
The running program is defined as the state in which the tape storage device connected to the electronic computer is being accessed. Further, in the invention of claim 5, a state in which a plurality of users are performing different processes is defined as a non-resume state. Then, the resume possibility determination means,
When it is determined that the resume process is not possible, the resume prevention unit prevents the suspend / resume unit from executing the suspend process.

【0010】また、請求項2の発明に係る電子計算機に
おいて、レジューム警告手段は、レジューム可否判定手
段により現在の状態がレジューム処理不可状態と判定さ
れた場合に、使用者に対しレジューム処理不可を知らせ
る警告を出力する。さらに、請求項3の発明に係る電子
計算機において、さらに、使用者が入力手段からサスペ
ンド/レジューム処理の強制実行を指示すると、サスペ
ンド/レジューム処理強制実行手段が、レジューム可否
判定手段の判定結果に関わらず、強制的にサスペンド/
レジューム手段によるサスペンド/レジューム処理を行
わせる。
In the electronic computer according to the second aspect of the present invention, the resume warning means informs the user that the resume processing is impossible when the current state is the resume processing impossible state by the resume possibility determining means. Output a warning. Further, in the electronic computer according to the invention of claim 3, when the user further instructs the forced execution of the suspend / resume processing from the input means, the suspend / resume processing forced execution means is irrelevant to the determination result of the resume possibility determination means. No, forcibly suspend /
The suspend / resume processing is performed by the resume means.

【0011】[0011]

【実施例】以下、本発明の実施例について図を用いて詳
細に説明する。 (第1実施例)図1は、本発明の第1実施例による電子
計算機の構成を概念的に示すブロック図である。図1を
参照して、電子計算機は、CPU101と、メモリ10
2と、周辺I/O装置103と、レジューム装置104
と、レジューム防止装置105およびレジューム可否判
定装置106とを備える。
Embodiments of the present invention will be described in detail below with reference to the drawings. (First Embodiment) FIG. 1 is a block diagram conceptually showing the structure of an electronic computer according to the first embodiment of the present invention. Referring to FIG. 1, the electronic computer includes a CPU 101 and a memory 10.
2, peripheral I / O device 103, and resume device 104
And a resume prevention device 105 and a resume possibility determination device 106.

【0012】CPU101は、種々の演算や制御動作を
行う。メモリ102は、CPU101の演算処理や制御
処理に必要な命令やデータを記憶するもので、バッテリ
で電源供給されたメモリ、あるいは不揮発性のメモリが
用いられる。図2は、メモリ102の記憶内容を模式的
に示したもので、メモリ102には、オペレーティング
システム(OS)や、実行中のユーザアプリケーション
210、220等が記憶されている。
The CPU 101 performs various calculations and control operations. The memory 102 stores instructions and data necessary for the arithmetic processing and control processing of the CPU 101, and a memory powered by a battery or a non-volatile memory is used. FIG. 2 schematically shows the stored contents of the memory 102. The memory 102 stores an operating system (OS), user applications 210, 220 and the like being executed.

【0013】OS201は、OSプログラム202とO
Sデータ203とから構成されている。さらに、OSデ
ータ203は、プロセス管理テーブル204とデバイス
管理テーブル205とを備えている。プロセス管理テー
ブル204は、実行中のアプリケーション毎に、プログ
ラムの起動者、プログラムの処理進捗時間、使用デバイ
スの種別情報等を格納している。
The OS 201 and the OS program 202 and O
It is composed of S data 203. Further, the OS data 203 includes a process management table 204 and a device management table 205. The process management table 204 stores, for each running application, a program starter, a program processing progress time, type information of a device used, and the like.

【0014】また、デバイス管理テーブル205は、接
続されたデバイス毎に、デバイスの使用/未使用状態、
デバイスを使用しているアプリケーション等の情報が格
納されている。I/O装置103は、電子計算機に接続
される種々の入出力装置とメモリ間のデータ転送を制御
する。
Further, the device management table 205 shows, for each connected device, whether the device is in use or not,
Information such as applications using the device is stored. The I / O device 103 controls data transfer between various input / output devices connected to the electronic computer and the memory.

【0015】レジューム装置104は、電源断要求時
に、サスペンド処理を行い、電源再投入時にレジューム
処理を行う。サスペンド処理は、電源断要求があった場
合に、実行中のアプリケーションの処理を停止し、その
状態のデータをメモリ102上に保持する。また、レジ
ューム処理は、電源再投入時に、メモリ102に保持さ
れたアプリケーションを再起動し、電源断要求時の状態
を復元する。
The resume device 104 performs a suspend process when a power-off request is made and a resume process when the power is turned on again. In the suspend process, when a power-off request is made, the process of the application being executed is stopped and the data in that state is held in the memory 102. Further, in the resume process, when the power is turned on again, the application held in the memory 102 is restarted, and the state at the time of the power-off request is restored.

【0016】レジューム可否判定装置106は、電源断
要求を受け取ると、OSデータ203のプロセス管理テ
ーブル204及びデバイス管理テーブル205を検索
し、現在の処理状態が所定のレジューム禁止状態に該当
するか否かを判定する。例えば、レジューム禁止状態と
して、 (1)アプリケーションがテープ記憶装置を使用中であ
る。
Upon receipt of the power-off request, the resume permission / inhibition decision device 106 searches the process management table 204 and the device management table 205 of the OS data 203 to determine whether or not the current processing state corresponds to a predetermined resume inhibition state. To judge. For example, as the resume prohibition state, (1) the application is using the tape storage device.

【0017】(2)同一入力デバイスを複数使用者が使
用中である。 が予め規定されている。そして、(1)については、レ
ジューム可否判定装置106は、プロセス管理テーブル
204から使用デバイスの種別データを読み出し、使用
中のデバイスがテープ記憶装置か否かを判定する。ま
た、(2)については、プロセス管理テーブル204か
ら使用者のデータを、デバイス管理テーブル205から
デバイスを使用しているアプリケーションのデータを読
み出し、同一デバイスを複数の使用者が使用中か否かを
判定する。
(2) A plurality of users are using the same input device. Is prescribed in advance. Then, regarding (1), the resume possibility determination device 106 reads the type data of the used device from the process management table 204 and determines whether the device in use is a tape storage device. As for (2), the data of the user is read from the process management table 204 and the data of the application using the device is read from the device management table 205 to determine whether or not the same device is being used by a plurality of users. judge.

【0018】レジューム防止装置105は、レジューム
可否判定装置106がレジューム不可と判定した場合、
レジューム装置104に対してレジューム処理を禁止す
る制御信号を出力する。以上のように構成された電子計
算機について、以下図1と図2を参照し、図3のフロー
チャートに従ってその動作を説明する。
When the resume possibility determining device 106 determines that the resume is impossible, the resume preventing device 105
A control signal for prohibiting the resume process is output to the resume device 104. The operation of the electronic computer configured as described above will be described below with reference to FIGS. 1 and 2 and the flowchart of FIG.

【0019】使用者が電源スイッチをOFFすると、レ
ジューム装置104は、電源OFF要求が行われたこと
を検知し(ステップ301)、その情報をレジューム防
止装置105に通知する(ステップ302)。レジュー
ム防止装置105は、現在の電子計算機の状態がサスペ
ンド/レジューム処理禁止状態に該当するかどうかをレ
ジューム可否判定装置106に問い合わせる(ステップ
303)。
When the user turns off the power switch, the resume device 104 detects that a power off request has been made (step 301) and notifies the resume prevention device 105 of the information (step 302). The resume prevention device 105 inquires of the resume possibility determination device 106 whether or not the current state of the computer corresponds to the suspend / resume processing prohibited state (step 303).

【0020】レジューム可否判定装置106は、メモリ
102上のOSデータ203のプロセス管理テーブル2
04とデバイス管理テーブル205を検査し、上記した
処理を行って、サスペンド/レジューム処理禁止状態か
どうかを判定する(ステップ304)。判定の結果、サ
スペンド/レジューム処理禁止状態に該当すると判断す
ると、レジューム可否判定装置106は、レジューム防
止装置105にその判定結果を通知する(ステップ30
5)。
The resume permission / inhibition decision device 106 uses the process management table 2 of the OS data 203 on the memory 102.
04 and the device management table 205 are checked, and the above-described processing is performed to determine whether or not the suspend / resume processing is prohibited (step 304). When it is determined that the suspend / resume processing prohibition state is applicable, the resume possibility determination device 106 notifies the resume prevention device 105 of the determination result (step 30).
5).

【0021】レジューム防止装置105は、サスペンド
/レジューム処理禁止の情報を受け取り、レジューム装
置104に対しサスペンド/レジューム処理を抑制する
信号を出力する(ステップ306)。この結果、サスペ
ンド/レジューム処理は実行されない。そして、電子計
算機は、使用者が電源スイッチをOFFしたにも関わら
ず、何等変化しない。
The resume prevention device 105 receives the suspend / resume process prohibition information and outputs a signal for suppressing the suspend / resume process to the resume device 104 (step 306). As a result, the suspend / resume processing is not executed. Then, the electronic computer does not change even though the user turns off the power switch.

【0022】また、レジューム可否判定装置106が、
ステップ304での判定の結果、サスペンド/レジュー
ム処理を実行することが可能と判断すると、レジューム
防止装置105にその判定情報を出力する(ステップ3
07)。この場合、レジューム防止装置105は何も動
作しないため、レジューム装置104は、サスペンド/
レジューム処理を実行する(ステップ308)。
Further, the resume propriety determination device 106 is
If it is determined that the suspend / resume processing can be executed as a result of the determination in step 304, the determination information is output to the resume prevention device 105 (step 3).
07). In this case, since the resume prevention device 105 does not operate, the resume device 104 is suspended / suspended.
Resume processing is executed (step 308).

【0023】次に、本発明の第2実施例による電子計算
機について説明する。図4は、第2実施例における電子
計算機の構成を示すブロック図である。図4において、
401はCPU、402はバッテリで電源供給されてい
るメモリ、403は周辺I/O装置、404はレジュー
ム装置、405はレジューム防止装置、406はレジュ
ーム可否判定装置、407はレジューム警告装置であ
る。
Next explained is an electronic computer according to the second embodiment of the invention. FIG. 4 is a block diagram showing the configuration of the electronic computer according to the second embodiment. In FIG.
Reference numeral 401 is a CPU, 402 is a battery-powered memory, 403 is a peripheral I / O device, 404 is a resume device, 405 is a resume prevention device, 406 is a resume possibility determination device, and 407 is a resume warning device.

【0024】この第2実施例の電子計算機は、第1実施
例に比べて、レジューム警告装置407が新たに設けら
れている。レジューム警告装置407は、現在の電子計
算機の状態がレジューム処理禁止状態にあることを使用
者に警告するものである。この第2実施例の電子計算機
について、図4及び図5のフローチャートを用いてその
動作を説明する。
The computer according to the second embodiment is additionally provided with a resume warning device 407 as compared with the first embodiment. The resume warning device 407 warns the user that the current state of the computer is in the resume process prohibited state. The operation of the electronic computer of the second embodiment will be described with reference to the flowcharts of FIGS.

【0025】使用者が電源スイッチをOFFすると、レ
ジューム装置404は、電源OFF要求が行われたこと
を検知し(ステップ501)、その情報をレジューム防
止装置405に通知する(ステップ502)。レジュー
ム防止装置405は、現在の電子計算機の状態がサスペ
ンド/レジューム処理禁止状態に該当するかどうかをレ
ジューム可否判定装置406に問い合わせる(ステップ
503)。
When the user turns off the power switch, the resume device 404 detects that a power-off request is made (step 501) and notifies the resume prevention device 405 of the information (step 502). The resume prevention device 405 inquires of the resume possibility determination device 406 whether or not the current state of the electronic computer corresponds to the suspend / resume processing prohibited state (step 503).

【0026】レジューム可否判定装置406は、メモリ
402上のOSデータのプロセス管理テーブルとデバイ
ス管理テーブルを検査し、上記第1実施例の場合と同様
の処理を行って、サスペンド/レジューム処理禁止状態
かどうかを判定する(ステップ504)。判定の結果、
サスペンド/レジューム処理禁止状態に該当すると判断
すると、レジューム可否判定装置406は、レジューム
防止装置405とレジューム警告装置407にその判定
結果を出力する(ステップ505)。
The resume permission / inhibition decision device 406 inspects the process management table and the device management table of the OS data on the memory 402 and performs the same processing as in the first embodiment to determine whether the suspend / resume processing is prohibited. It is judged (step 504). Judgment result,
When it is determined that the suspend / resume processing is prohibited, the resume possibility determination device 406 outputs the determination result to the resume prevention device 405 and the resume warning device 407 (step 505).

【0027】レジューム警告装置407は、使用者に対
し、現在の電子計算機の状態がサスペンド/レジューム
処理を実行することが不可能であることを通知する(ス
テップ506)。警告方法として、例えば、表示部にメ
ッセージを表示したり、あるいは警告音を発信するなど
の方法が可能である。レジューム防止装置405は、サ
スペンド/レジューム処理禁止の情報を受け取り、レジ
ューム装置404に対しサスペンド/レジューム処理を
抑制する信号を出力する(ステップ507)。
The resume warning device 407 notifies the user that the current state of the computer is incapable of executing suspend / resume processing (step 506). As the warning method, for example, a method of displaying a message on the display unit or transmitting a warning sound is possible. The resume prevention device 405 receives the suspend / resume processing prohibition information and outputs a signal for suppressing the suspend / resume processing to the resume device 404 (step 507).

【0028】この結果、サスペンド/レジューム処理は
実行されない。そして、電子計算機は、使用者が電源ス
イッチをOFFしたにも関わらず、何等変化しない。ま
た、レジューム可否判定装置406が、ステップ504
での判定の結果、サスペンド/レジューム処理を実行す
ることが可能と判断すると、レジューム防止装置405
にその判定情報を出力する(ステップ508)。
As a result, the suspend / resume processing is not executed. Then, the electronic computer does not change even though the user turns off the power switch. In addition, the resume permission / inhibition decision device 406 makes the step 504
If it is determined that the suspend / resume process can be executed, the resume prevention device 405
The determination information is output to (step 508).

【0029】この場合はレジューム防止装置405は何
も動作しないため、レジューム装置404は、サスペン
ド/レジューム処理を実行する(ステップ509)。こ
のように、第2実施例によれば、サスペンド/レジュー
ム処理により電子計算機の電源をオフにすると、次に電
源をオンにした時に処理を継続できない状態では、使用
者からの電源OFF要求は受け付けられたが、サスペン
ド/レジューム機能回路を動作させないということを使
用者に知らせることができる。
In this case, since the resume prevention device 405 does not operate at all, the resume device 404 executes suspend / resume processing (step 509). As described above, according to the second embodiment, when the power of the computer is turned off by the suspend / resume process, the power off request from the user is accepted when the process cannot be continued when the power is turned on next time. However, the user can be notified that the suspend / resume function circuit is not operated.

【0030】さらに、本発明の第3実施例による電子計
算機について説明する。図6は、第3実施例による電子
計算機の構成を示すブロック図である。図6において、
601はCPU、602はバッテリで電源供給されてい
るメモリ、603は周辺I/O装置、604はレジュー
ム装置、605はレジューム防止装置、606はレジュ
ーム可否判定装置、607はレジューム警告装置、60
8はサスペンド/レジューム処理強制実行装置、609
は入力キーである。
Further, an electronic computer according to the third embodiment of the present invention will be described. FIG. 6 is a block diagram showing the configuration of the electronic computer according to the third embodiment. In FIG.
601 is a CPU, 602 is a battery-powered memory, 603 is a peripheral I / O device, 604 is a resume device, 605 is a resume prevention device, 606 is a resume possibility determination device, 607 is a resume warning device, 60
8 is a suspend / resume processing forced execution device, 609
Is an input key.

【0031】この第3実施例の電子計算機は、第2実施
例の電子計算機に比べて、新たにレジューム処理強制実
行装置608及び入力キー609が設けられている。こ
のレジューム処理強制実行装置608は、レジューム可
否判定装置606がレジューム不可状態と判定した場合
でも、使用者からの指示を受けて、レジューム防止装置
605の動作を抑制する。
The electronic computer of the third embodiment is newly provided with a resume processing forced execution device 608 and an input key 609, as compared with the electronic computer of the second embodiment. The resume process forced execution device 608 suppresses the operation of the resume prevention device 605 in response to an instruction from the user even when the resume permission / inhibition determination device 606 determines that the resume is not permitted.

【0032】この第3実施例の電子計算機について、図
6及び図7のフローチャートを用いてその動作を説明す
る。使用者が電源スイッチをOFFすると、レジューム
装置604は、電源OFF要求が行われたことを検知し
(ステップ701)、その情報をレジューム防止装置6
05に通知する(ステップ702)。
The operation of the electronic computer of the third embodiment will be described with reference to the flow charts of FIGS. 6 and 7. When the user turns off the power switch, the resume device 604 detects that a power-off request is made (step 701), and outputs the information to the resume prevention device 6.
05 is notified (step 702).

【0033】レジューム防止装置605は、現在の電子
計算機の状態がサスペンド/レジューム処理禁止状態に
該当するかどうかをレジューム可否判定装置606に問
い合わせる(ステップ703)。レジューム可否判定装
置606は、メモリ602上のOSデータのプロセス管
理テーブルとデバイス管理テーブルを検査し、上記第1
実施例の場合と同様の処理を行って、サスペンド/レジ
ューム処理禁止状態かどうかを判定する(ステップ70
4)。
The resume prevention device 605 inquires of the resume possibility determination device 606 whether the current state of the computer corresponds to the suspend / resume processing prohibited state (step 703). The resume propriety determination apparatus 606 inspects the process management table and the device management table of the OS data on the memory 602,
The same processing as in the embodiment is performed to determine whether the suspend / resume processing is prohibited (step 70).
4).

【0034】判定の結果、サスペンド/レジューム処理
禁止状態に該当すると判断すると、レジューム可否判定
装置606は、レジューム防止装置605とレジューム
警告装置607にその判定結果を出力する(ステップ7
05)。レジューム警告装置607は、使用者に対し、
現在の電子計算機の状態がサスペンド/レジューム処理
を実行することが不可能であることを通知する(ステッ
プ706)。
When it is determined that the suspend / resume processing is prohibited, the resume possibility determination device 606 outputs the determination result to the resume prevention device 605 and the resume warning device 607 (step 7).
05). The resume warning device 607 notifies the user of
The current state of the computer is informed that the suspend / resume processing cannot be executed (step 706).

【0035】使用者は、警告通知を確認し、強制的にサ
スペンド/レジューム処理を実行すべきか否かを判断す
る。そして、使用者がレジューム処理強制実行装置に付
随する入力キー609を操作して、強制実行の指示ある
いはレジューム処理の禁止を指示する(ステップ70
7)。強制実行の指示が与えられると、レジューム処理
強制実行装置608は、レジューム防止装置605から
レジューム装置604に出力されるサスペンド/レジュ
ーム処理を抑制する信号をブロックする(ステップ70
8)。
The user confirms the warning notification and determines whether or not the suspend / resume processing should be forcibly executed. Then, the user operates the input key 609 attached to the resume process forced execution device to instruct the forced execution or the prohibition of the resume process (step 70).
7). When the forced execution instruction is given, the resume process forced execution device 608 blocks the signal output from the resume prevention device 605 to the resume device 604 to suppress the suspend / resume process (step 70).
8).

【0036】この結果、レジューム装置604は、サス
ペンド/レジューム処理を実行する(ステップ70
9)。また、ステップ707において、使用者が強制実
行処理を指示しなかった場合、レジューム防止装置60
5は、サスペンド/レジューム処理禁止の情報を受け取
り、レジューム装置604に対しサスペンド/レジュー
ム処理を抑制する信号を出力する(ステップ710)。
As a result, the resume device 604 executes suspend / resume processing (step 70).
9). If the user does not instruct the forced execution process in step 707, the resume prevention device 60
5 receives the information indicating that suspend / resume processing is prohibited, and outputs a signal for suppressing suspend / resume processing to the resume device 604 (step 710).

【0037】さらに、ステップ704において、レジュ
ーム可否判定装置606がレジューム可能と判断した場
合、レジューム装置604にレジューム処理の信号が出
力される(ステップ711)。そして、レジューム装置
604は、所定のサスペンド/レジューム処理を行う
(ステップ712)。
Further, when the resume possibility determining device 606 determines that the resume is possible in step 704, a resume processing signal is output to the resume device 604 (step 711). Then, the resume device 604 performs a predetermined suspend / resume process (step 712).

【0038】このように、第3実施例によれば、サスペ
ンド/レジューム処理により電子計算機の電源をオフに
すると、次に電源をオンにした時に処理を継続できない
状態で、サスペンド/レジューム機能が動作しない時で
あっても、使用者からの指示によってサスペンド/レジ
ューム機能を強制的に実行させることができる。
As described above, according to the third embodiment, when the power of the computer is turned off by the suspend / resume processing, the suspend / resume function operates in the state where the processing cannot be continued when the power is turned on next time. Even when not performing, the suspend / resume function can be forcibly executed according to the instruction from the user.

【0039】[0039]

【発明の効果】以上のように、請求項1の発明は、サス
ペンド/レジューム機能回路を備えた電子計算機に、レ
ジューム可否判定手段と、レジューム防止手段を備える
ことにより、サスペンド/レジューム処理により電子計
算機の電源をオフにすると、次に電源をオンにした時に
処理を継続できない状態では、サスペンド/レジューム
機能回路を動作させなくすることができる。
As described above, according to the first aspect of the present invention, the computer having the suspend / resume function circuit is provided with the resume possibility determining means and the resume preventing means. When the power is turned off, the suspend / resume function circuit can be disabled in the state where the process cannot be continued when the power is turned on next time.

【0040】また、請求項2の発明は、請求項1の発明
に加えて、レジューム警告手段を備えることにより、サ
スペンド/レジューム処理により電子計算機の電源をオ
フにすると、次に電源をオンにした時に処理を継続でき
ない状態では、使用者からの電源OFF要求は受け付け
られたが、サスペンド/レジューム機能回路を動作させ
ないということを使用者に通知することができる。
According to a second aspect of the present invention, in addition to the first aspect of the invention, by providing a resume warning means, when the power of the electronic computer is turned off by suspend / resume processing, the power is turned on next. At times, when the processing cannot be continued, the power-off request from the user is accepted, but it is possible to notify the user that the suspend / resume function circuit is not operated.

【0041】さらに、請求項3の発明は、請求項1の発
明に加えて、サスペンド/レジューム処理強制実行手段
を備えることにより、サスペンド/レジューム処理によ
り電子計算機の電源をオフにすると、次に電源をオンに
した時に処理を継続できない状態で、サスペンド/レジ
ューム機能回路が動作しない時に、使用者からの動作で
サスペンド/レジューム機能を強制的に実行させること
ができる。
Further, in addition to the invention of claim 1, the invention of claim 3 is provided with a suspend / resume processing forced execution means, so that when the power of the computer is turned off by the suspend / resume processing, the When the suspend / resume function circuit does not operate in a state where the process cannot be continued when is turned on, the suspend / resume function can be forcibly executed by the operation of the user.

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

【図1】本発明の第1実施例による電子計算機の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an electronic computer according to a first embodiment of the present invention.

【図2】図1に示す電子計算機のメモリ内容の概念的に
示す構成図である。
FIG. 2 is a block diagram conceptually showing memory contents of the electronic computer shown in FIG.

【図3】第1実施例の電子計算機の動作説明のためのフ
ローチャートである。
FIG. 3 is a flowchart for explaining the operation of the electronic computer of the first embodiment.

【図4】本発明の第2実施例による電子計算機の構成を
示すブロック図である。
FIG. 4 is a block diagram showing a configuration of an electronic computer according to a second embodiment of the present invention.

【図5】第2実施例の電子計算機の動作説明のためのフ
ローチャートである。
FIG. 5 is a flowchart for explaining the operation of the electronic computer of the second embodiment.

【図6】本発明の第3実施例による電子計算機の構成を
示すブロック図である。
FIG. 6 is a block diagram showing a configuration of an electronic computer according to a third embodiment of the present invention.

【図7】第3実施例の電子計算機の動作説明のためのフ
ローチャートである。
FIG. 7 is a flowchart for explaining the operation of the electronic computer of the third embodiment.

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

101、401、601 CPU 102、402、602 メモリ 103、403、603 I/O装置 104、404、604 レジューム装置 105、405、605 レジューム防止装置 106、406、606 レジューム可否判定装置 201 オペレーティングシステム(OS) 202 OSプログラム 203 OSデータ 204 プロセス管理テーブル 205 デバイス管理テーブル 407、607 レジューム警告装置 608 サスペンド/レジューム処理強制実行装置 609 入力キー 101, 401, 601 CPU 102, 402, 602 Memory 103, 403, 603 I / O device 104, 404, 604 Resume device 105, 405, 605 Resume prevention device 106, 406, 606 Resume propriety determination device 201 Operating system (OS ) 202 OS program 203 OS data 204 Process management table 205 Device management table 407, 607 Resume warning device 608 Suspend / resume processing forced execution device 609 Input key

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 電源断要求があった場合に、処理を実行
中のプログラムの処理を中断してその処理状態を保持す
るサスペンド処理を行い、電源再投入時に、中断された
プログラムの処理を継続実行するレジューム処理を行う
ためのサスペンド/レジューム機能を備えた電子計算機
であって、 種々の命令を実行する中央処理装置と、 前記中央処理装置の実行に必要なデータを記憶する主記
憶装置と、 前記電源断要求を受けて、前記主記憶装置に記憶された
データを保持するとともに、前記電源再投入要求を受け
て、保持されたデータを前記主記憶装置に復元させるサ
スペンド/レジューム手段と、 前記電源断要求時に、現在の状態が予め規定したレジュ
ーム処理不可状態に該当するか否かを判定するレジュー
ム可否判定手段と、 前記レジューム可否判定手段により現在の状態がレジュ
ーム処理不可状態と判定された場合に、前記サスペンド
/レジューム手段によるサスペンド処理を行わなくする
レジューム防止手段とを備えたことを特徴とする、電子
計算機。
1. When a power-off request is made, the process of the program being executed is suspended and a suspend process for holding the processing state is performed, and the process of the interrupted program is continued when the power is turned on again. An electronic computer having a suspend / resume function for performing resume processing to be executed, comprising: a central processing unit for executing various instructions; and a main storage unit for storing data necessary for execution of the central processing unit, Suspend / resume means for holding the data stored in the main storage device in response to the power-off request, and for restoring the held data in the main storage device in response to the power-on request. Resume availability determination means for determining whether or not the current state corresponds to a pre-specified resume processing disabled state when a power-off request is made, and the resume When it is determined that the current state and resume processing-disabled state by determination means, characterized in that a resume preventing means for not performing the suspend processing by the suspend / resume means, electronic computer.
【請求項2】 該電子計算機は、さらに、 前記レジューム可否判定手段により現在の状態がレジュ
ーム処理不可状態と判定された場合に、使用者に対しレ
ジューム処理不可を知らせるレジューム警告手段を備え
たことを特徴とする、請求項1記載の電子計算機。
2. The electronic computer further comprises resume warning means for notifying the user that the resume processing is impossible when the current state is judged to be the resume processing impossible state by the resume possibility determining means. The electronic computer according to claim 1, which is characterized in that.
【請求項3】 該電子計算機は、さらに、 前記レジューム可否判定手段の判定結果に関わらず、強
制的に前記サスペンド/レジューム手段によるサスペン
ド/レジューム処理を行わせるサスペンド/レジューム
処理強制実行手段と、 使用者が前記サスペンド/レジューム手段によるサスペ
ンド/レジューム処理を強制的に行わせるための指示を
入力するための入力手段とを備えたことを特徴とする、
請求項1記載の電子計算機。
3. The computer further comprises a suspend / resume processing forced execution means for forcibly performing the suspend / resume processing by the suspend / resume means, irrespective of the determination result of the resume availability determination means. An input means for inputting an instruction for forcibly performing the suspend / resume processing by the suspend / resume means.
The electronic computer according to claim 1.
【請求項4】 前記レジューム可否判定手段は、電源断
要求時に、起動中のプログラムが該電子計算機に接続さ
れたテープ記憶装置に対してアクセス中の状態をレジュ
ーム処理不可状態と判定する、請求項1記載の電子計算
機。
4. The resume permission / inhibition determination means determines, when a power-off request is made, a state in which a running program is accessing a tape storage device connected to the computer as a resume processing disabled state. The electronic calculator described in 1.
【請求項5】 前記レジューム可否判定手段は、電源断
要求時に、該電子計算機を複数の使用者が異なる処理を
実行中の場合をレジューム処理不可状態と判定する、請
求項1記載の電子計算機。
5. The electronic computer according to claim 1, wherein the resume possibility determining unit determines that the resume processing is not possible when a plurality of users are performing different processes on the electronic computer when a power-off request is made.
JP5129530A 1993-05-31 1993-05-31 Electronic computer with suspending/resuming function Pending JPH06337728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5129530A JPH06337728A (en) 1993-05-31 1993-05-31 Electronic computer with suspending/resuming function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5129530A JPH06337728A (en) 1993-05-31 1993-05-31 Electronic computer with suspending/resuming function

Publications (1)

Publication Number Publication Date
JPH06337728A true JPH06337728A (en) 1994-12-06

Family

ID=15011800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5129530A Pending JPH06337728A (en) 1993-05-31 1993-05-31 Electronic computer with suspending/resuming function

Country Status (1)

Country Link
JP (1) JPH06337728A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8042117B2 (en) 2006-07-25 2011-10-18 Ntt Docomo, Inc. Operating system switching control device and computer system
JP2013250610A (en) * 2012-05-30 2013-12-12 Canon Inc Information processing device, control method of information processing device, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8042117B2 (en) 2006-07-25 2011-10-18 Ntt Docomo, Inc. Operating system switching control device and computer system
JP2013250610A (en) * 2012-05-30 2013-12-12 Canon Inc Information processing device, control method of information processing device, and program

Similar Documents

Publication Publication Date Title
JP3855172B2 (en) Method of operating a system including a processor, storage device and peripheral device
US6438668B1 (en) Method and apparatus for reducing power consumption in a digital processing system
US5903765A (en) Power management system for a computer
US5809223A (en) Network hibernation system and a control method thereof
JPH0458047B2 (en)
JPH077317B2 (en) System restart device
JPH0934577A (en) Information processor and its control method
JPH07101376B2 (en) System restart device
JP2004046324A (en) Information processor with standby mode, and standby mode starting method and standby mode canceling method for the same
JPH10198469A (en) Computer system and hibernation controlling method for the system
JPH06337728A (en) Electronic computer with suspending/resuming function
JP2006044228A (en) Image forming device
KR19980074058A (en) Computer with power cutoff function and power cutoff method
JP2000172386A (en) Computer system and method for managing memory power supply
JPH0728544A (en) Computer system
JP2007503055A (en) Power button and device activation event processing method without AC power
JP3542409B2 (en) Information processing equipment
JP4503003B2 (en) Power supply backup system and electronic device having the same
JPH0934578A (en) Information processor
JPH0454661A (en) Password controller
JP2923111B2 (en) Data processing method and apparatus
JPH06149403A (en) Information processor
JPH06124148A (en) Computer having suspend/resume function
JPH06314134A (en) Computer with suspending/resuming function
JP2003345474A (en) Computer system and data transfer control method