JPH0452817A - Device for restarting program interruption - Google Patents
Device for restarting program interruptionInfo
- Publication number
- JPH0452817A JPH0452817A JP2155163A JP15516390A JPH0452817A JP H0452817 A JPH0452817 A JP H0452817A JP 2155163 A JP2155163 A JP 2155163A JP 15516390 A JP15516390 A JP 15516390A JP H0452817 A JPH0452817 A JP H0452817A
- Authority
- JP
- Japan
- Prior art keywords
- program
- power
- user
- turned
- identification information
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理機器におけるプログラム中断再開装置
に係り、特に、複数の使用者が情報処理機器を共用する
場合、電源オン時に、蚊使用者に対応するプログラムを
再開するのに好適なプログラム中断再開装置に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a program interruption/resuming device for information processing equipment, and in particular, when the information processing equipment is shared by multiple users, when the power is turned on, the mosquito user The present invention relates to a program interruption/resumption device suitable for restarting a program corresponding to a program.
パーソナル・コンピュータに代表される情報処理機器に
は、電源オン時に、電源オフ時に中断されたのと厳密に
岡じプログラム実行状態から、プログラム実行を再開さ
せる機能が必要とされつつある。このようなプログラム
中断再開機能により、使用者は電源オン時にプログラム
を最初から起動しIす必要はなくなり、即座に続きを再
開することができる。その結果、情報処理機器を用いた
情報処理作業の効幕が同上する。Information processing devices such as personal computers are increasingly required to have a function of restarting program execution from exactly the same program execution state that was interrupted when the power was turned off, when the power is turned on. With such a program interrupt/resume function, the user does not need to start the program from the beginning when the power is turned on, and can immediately resume the program where it left off. As a result, the effectiveness of information processing operations using information processing equipment is increased.
上記のようなプログラム中断再開機能に隨する従来技術
の一つとして、例えば、特開昭62−169218号公
報に記載の装置がある。これは、電源オフWFにプログ
ラム実行状態を記憶装置に退避・保管し、電源オン時に
それを元に戻すものである。具体的には、電源オフスイ
ッチが芥されたとき、電源を遮断する前に、才ず、割込
み信号をMPIJに出力する。MPIJは割込み処理ル
ーチンを実行し、MPtlの全レジスタを主記憶装置の
予め確保された領域に退避する。さらに、全周辺装置の
I10レジスタや状態もこの領域に退避する。As one of the conventional techniques related to the program interruption/resumption function as described above, there is, for example, a device described in Japanese Patent Laid-Open No. 169218/1983. This saves and stores the program execution state in a storage device when the WF is powered off, and restores it when the power is turned on. Specifically, when the power off switch is removed, an interrupt signal is output to MPIJ before the power is cut off. MPIJ executes an interrupt processing routine and saves all registers of MPtl to a pre-secured area of the main memory. Furthermore, the I10 registers and states of all peripheral devices are also saved in this area.
つまり、主記憶装置には実行中のプログラムやデータの
他に、MPLIや風送装置の状態も保管される。以上の
動作が完了した後で、電源を遮断する。That is, in addition to the programs and data being executed, the main memory also stores the status of the MPLI and the air blower. After the above operations are completed, turn off the power.
主記憶装置及び表示メモリは、t#遮断佐もバッテリ等
の予備電源によってバックアップし、これによりプログ
ラム実行状態を保持する。電源オン時には、主記憶装置
に保管されているMPLIや風送装置の状態を元に瞥き
戻し、完了後にプログラムの実行を再開する。以上のプ
ログラム中1f弄開鉄鷺により、電源オフ時に中断した
のと、isに同じプログラム実行状態77)ら、tS、
オン時にプログラム実行を再開させることができる。The main storage device and display memory are backed up by a backup power source such as a battery even when the t# is interrupted, thereby maintaining the program execution state. When the power is turned on, the state of the MPLI and air blower stored in the main memory is checked back, and after completion, execution of the program is resumed. In the above program, 1f was interrupted when the power was turned off, and the same program execution state77) et al.
Program execution can be resumed when turned on.
上記従来技術は、***も埋機器を築定のイ固人が占有
している場合lこ遍したものである。すなわち、使用者
が情報逃埋憬器を電源オンした時−こ再開されるプログ
ラムは、a実多こその1更用者が実行を中断していたプ
ログラムである。L71)L、複数の使用者が情報処理
機器(例えば、デスクトップ・パーソナル・コンピュー
タ)を共用する場合、従来技術をそのまま通用すると、
以下の(1ン〜(3)の問題が生じる。The above-mentioned prior art is commonly used in cases where buried equipment is occupied by the person who built it. That is, when the user turns on the power to the information burying device, the program that is restarted is the program whose execution was interrupted by the most frequent user. L71) L. If multiple users share information processing equipment (for example, a desktop personal computer), if the conventional technology is used as is,
The following problems (1-3) arise.
(1)使用者AがプログラムAの実行を中断(電源オフ
)した後、他の使用者Bが他のプログラムBを最初から
起動しようとしてtI!Aオンした場合を考える。この
時、明らかに使用者Aが中断したプログラムAの実行が
再開されてしまう。もし、プログラムAが機密上重要な
処理を実行中であったなら、それが使用者Bに知られる
ことになる。(1) After user A interrupts the execution of program A (turns off the power), another user B tries to start another program B from the beginning, and tI! Consider the case where A is turned on. At this time, the execution of program A that was interrupted by user A will obviously be resumed. If program A is executing a process of confidential importance, this will be known to user B.
最悪の場合、使用者Bの不注意、あるいは、故意によっ
て不正操作されることもあり得る。In the worst case, there is a possibility that user B may be inadvertently or intentionally manipulated.
(2)上記のように他人のプログラムAが再開された場
合、使用者Bはプログラムムの実行を強制終了あるいは
通常終了させた後、プログラムBの起動を行うことにな
る。つまり、プログラムBを主記憶族f心ロードする。(2) When someone else's program A is restarted as described above, user B will start program B after forcibly or normally ending the execution of the program. That is, program B is loaded into the main memory group F.
従って、それまで主記憶装置に保管されていたプログラ
ムムの実行状態は破譲され、失われてしまう。Therefore, the execution state of the program that was previously stored in the main memory is lost.
(3)上記Jこ引き続き、使用者BがプログラムBの実
行を中断(電源オフ)した後、使用者ムが電源オンした
場合、実行が再開されるのは明らかlこプログラムBで
あり、使用者Aが期待しているプログラムAではない。(3) Continuing from the above, if user B interrupts the execution of program B (powers off) and then turns on the power, it is clear that program B will be restarted, and Program A is not what person A expected.
以上では使用者が二基の場合を想定したが、三基以上の
場合も明らかに同様の問題が生じる。Although the above description assumes a case where there are two users, the same problem obviously occurs when there are three or more users.
本発明の目的は、複数の使用者が情報処理機器を共用す
る場合、電源17時に、使用者に対応するプログラムの
実行を再開する装置を提供することにある。An object of the present invention is to provide an apparatus that resumes execution of a program corresponding to a user when a plurality of users share an information processing device at 17 o'clock when the power is turned on.
本発明の他の目的は、保管されたプログラム実行状態が
、他のプログラムの実行によって失われないようにする
装置を提供することにある。Another object of the present invention is to provide a device that prevents the saved program execution state from being lost due to the execution of other programs.
本発明のさらに他の目的は、各使用者に対応するプログ
ラム実行状層のFIk密を保護する製置を提供すること
にある。Still another object of the present invention is to provide an arrangement that protects the FIk integrity of a program execution layer corresponding to each user.
上記目的を連設するために、本発明は、豪放のプログラ
ム実行状1を保持する・丁なわち1最も最近中断したプ
ログラムの実行状顧は主記憶装置及び表示メモリに、そ
の他のプログラム実行状態は不揮発性の補助記憶装置に
それぞれ、保持するようにする。In order to achieve the above objects, the present invention maintains an extensive program execution status 1, that is, the execution status of the most recently interrupted program is stored in the main memory and display memory, and other program execution statuses are stored in the main memory and display memory. are stored in a non-volatile auxiliary storage device.
また、本発明では、電源オフ時にプログラム実行状11
(MPU及び周辺装置のレジスタ)を主記憶装置に退避
・保管する際、プログラム使用者の識別情報も付加して
退避・保管する手段を設ける。Further, in the present invention, when the power is turned off, the program execution status 11
When saving and storing (registers of the MPU and peripheral devices) to the main memory, a means is provided for saving and storing the program user's identification information as well.
さらに、本発明では、電源オン時に電源オンした使用者
の識別情報を入力する手段を設ける。Furthermore, in the present invention, means is provided for inputting identification information of the user who turned on the power when the power was turned on.
また、さらに本発明では、電源オン時に入力された識別
情報と、主記憶装置及び補助記憶装置にプログラム実行
状層と共に保管されたプログラム使用者の識別情報を、
:il#4次、比較し、一致するものがあれば対応する
プログラム実行状態を復元する手R8投ける。この復元
手Rは、補助記憶装置に保管されていたプログラム実行
状1を復元する場合、主記憶I&!及び表示メモリIこ
保管されているグログラム実行状1を前もって補助記憶
r&童に退避・保管する。Furthermore, in the present invention, the identification information input when the power is turned on and the identification information of the program user stored in the main storage device and the auxiliary storage device together with the program execution status layer,
:il#4 Next, compare, and if there is a match, move R8 to restore the corresponding program execution state. This restoration method R restores the program execution state 1 stored in the auxiliary storage device, when the main storage I&! And the program execution state 1 stored in the display memory I is saved and stored in the auxiliary memory R&D in advance.
本発明によれば、電源オン時に使用者は識別情報を入力
する。そして、その識別情報に対応するプログラム実行
状層が主記憶装置及び表示メモリ、または補助記憶装置
より呼び出され、実行が再開される。従って、電源オン
した使用者に対応するプログラムの実行を再開すること
ができる。According to the present invention, the user inputs identification information when the power is turned on. Then, the program execution state layer corresponding to the identification information is called from the main memory and display memory, or the auxiliary memory, and execution is resumed. Therefore, execution of the program corresponding to the user who turned on the power can be resumed.
また、本発明によれば、補助記憶装置に保管していたグ
ログラム実行状1を呼び出すとき、つまり、主記憶装置
及び表示メモリにロードするとき、それまで主記憶装置
及び表示メモリに保管していた他のプログラム実行状態
は、補助記憶装置に退避・保管する。従ってプログラム
実行状層が他のプログラムの実行によって失われること
はない。Further, according to the present invention, when calling up the program execution state 1 stored in the auxiliary storage device, that is, when loading it into the main storage device and display memory, the program execution state 1 stored in the main storage device and display memory Other program execution states are saved and saved in the auxiliary storage device. Therefore, the program execution layer is not lost due to execution of other programs.
さらlこ本発fIAIこよれば、正しい識別情報が入力
されない限り、該当するプログラムの実行が再開される
ことはない、従って、プログラム実行状層の機密を保護
することができる。Furthermore, according to the fIAI of this invention, execution of the corresponding program will not be resumed unless correct identification information is input, and therefore, the confidentiality of the program execution layer can be protected.
以下、本発明の一実施例を第1図から第4図により説明
する。第1図は本実施例の全体構設を示している。開園
において、ROM12、主記憶装置2、補助記憶装’I
t4(70ッピー−ディスク、ハード・ディスク等)、
実時間クロック15、周辺装置13(プリンタ、マウス
、通信装置等)、キーボード14、及び、表示メモリ3
はシステムバス20を介してMPT、111よりアクセ
スされる。An embodiment of the present invention will be described below with reference to FIGS. 1 to 4. FIG. 1 shows the overall structure of this embodiment. At the opening of the park, ROM12, main memory 2, auxiliary memory 'I
t4 (70p disk, hard disk, etc.),
Real time clock 15, peripheral devices 13 (printer, mouse, communication device, etc.), keyboard 14, and display memory 3
is accessed by the MPT 111 via the system bus 20.
パスワード・バッファ1はキーボード14より入力され
るパスワードを保持するためのものであり、これもシス
テムバス20を介してMPtJllよりアクセスされる
。デイスプレィ16は表示メモリ3の内容を表示する。Password buffer 1 is for holding passwords input from keyboard 14, and is also accessed by MPtJll via system bus 20. The display 16 displays the contents of the display memory 3.
スイッチ回路7は電源スィッチであり、主tagの電源
ライン17への電力供給をオン/オフする。具体的1こ
は、スイッチ回路7がオン状態のとき、主電源8の電力
を、電源ライン17を介してMPU11、R012、禰
助記憶長蓋41周辺装蓋13、キーボード14、パスワ
ード・バッファ1、及びデイスプレィ16に供給する。The switch circuit 7 is a power switch, and turns on/off the power supply to the power line 17 of the main tag. Specifically, when the switch circuit 7 is in the on state, power from the main power source 8 is supplied to the MPU 11, R012, Nesuke storage head 41, peripheral cover 13, keyboard 14, and password buffer 1 via the power line 17. , and the display 16.
同時に、副電源9(バッテリ等)の充電も行ない、さら
に、電源ライン18を介して、主記憶fi&2、実時間
クロック15、及び、表示メモリ3にも主IE源8の電
力を供給する。−万、スイッチ回路7がオフ状1のとき
、電源ライン17Jこは主電源8の電力を供給しない、
しかし、電源ライン11Hこは剥電源9によって電力供
給が行なわれる。従って、電源オフ時にも、主記憶装置
2及び表示メモリ5には電力が供給され、プログラム実
行状1をバックアップする・なお、同時に実時間クロッ
ク15もバックアップするが、これは、時計機能を保持
するためである。At the same time, the sub power source 9 (such as a battery) is charged, and power from the main IE source 8 is also supplied to the main memory fi&2, real time clock 15, and display memory 3 via the power line 18. - 10,000, when the switch circuit 7 is in the off state 1, the power supply line 17J does not supply power from the main power supply 8;
However, power is supplied to the power supply line 11H by the stripping power supply 9. Therefore, even when the power is off, power is supplied to the main storage device 2 and display memory 5 to back up the program execution state 1.At the same time, the real time clock 15 is also backed up, but this retains the clock function. It's for a reason.
第2図に、第1図におけるスイッチ回路7の構成例を示
す。これは、電源スィッチがオフされてもプログラム実
行状層の退避が完了するまで、主電源8による電力供給
を持続させるためのものである。同図に示すように、ス
イッチ回路7はスイッチ25、スイッチ26、スイッチ
27.及び。FIG. 2 shows an example of the configuration of the switch circuit 7 in FIG. 1. This is to allow the main power supply 8 to continue supplying power even when the power switch is turned off until the saving of the program execution state layer is completed. As shown in the figure, the switch circuit 7 includes a switch 25, a switch 26, a switch 27 . as well as.
フルアップ抵抗28からなる。スイッチ25土スイツチ
26は連動スイッチであり、使用者がスイッチ25をオ
ン/オフすることlこより同時にスイッチ26もオン/
オフされる。スイッチ27は、例えば、リレースイッチ
であり、電源オフ信号24(第1図1こおけるMPt)
11が出力する)がローレベルノトキオフ、ハイレベル
のときオンされるり
以下、スイッチ回路7の動作を説明する。便用者がスイ
ッチ25をオンしたとき、スイッチ26もオンされ、直
ちに、主電源8の電力が電源ライン17番こ供給される
。このとき、電源オフ信号24はハイレベルになり、ス
イッチ27もオンされる。一方、使用者がスイッチ25
をオフしたときスイッチ26もオフされるが、スイッチ
27はすぐにはオフされず電源ライン17への電力供給
を持続する。そして、割込み信号23の電圧レベルは、
プルアップ抵抗25によってローレベルからハイレベル
になる。第1図のMPt)11はこれを受ケ1次;こ説
明する割込み処理を行ない、プログラム実行状1の退避
を完了した後でIE源オフ信号24(例えば、割込み終
了信号)をローレベル;こする、その結果、スイッチ2
7は万フされ、電源ライン17への電力供給は遮断され
る。It consists of a full-up resistor 28. The switch 25 and the switch 26 are interlocking switches, and when the user turns on/off the switch 25, the switch 26 is also turned on/off at the same time.
It will be turned off. The switch 27 is, for example, a relay switch, and the power off signal 24 (MPt in FIG. 1)
The operation of the switch circuit 7 will be described below. When the user turns on the switch 25, the switch 26 is also turned on, and power from the main power source 8 is immediately supplied to the power line 17. At this time, the power off signal 24 becomes high level, and the switch 27 is also turned on. On the other hand, the user
When the switch 26 is turned off, the switch 26 is also turned off, but the switch 27 is not turned off immediately and continues to supply power to the power supply line 17. The voltage level of the interrupt signal 23 is
The pull-up resistor 25 changes the level from low to high. The MPt) 11 in FIG. 1 receives this as the primary; performs the interrupt processing described below, and after completing the saving of the program execution state 1, sets the IE source off signal 24 (for example, interrupt end signal) to a low level; Rub, resulting in switch 2
7 is turned off, and the power supply to the power line 17 is cut off.
第3図に割込み処理の70−チャートを示す。FIG. 3 shows a 70-chart of interrupt processing.
これは第1図−こおけるROM12Jこ格納されており
、実行中のプログラムを中断し、プログラム再開に必要
な情報を生記憶装j12内に予め確保された退避領域2
2に退避する7
以下、同70−チャートと第1図を用いて処理内容を説
明する。This is stored in the ROM 12J shown in FIG.
7. The processing contents will be explained below using the same 70-chart and FIG.
パスワード番バッファ1の内容を調べ、ハスワードが保
持されているかどうか、つまり、以前にパスワードが入
力されていたか否かを確認する。The contents of the password number buffer 1 are checked to check whether the password is held, that is, whether a password has been previously input.
入力されていた場合はステップ33へ、否の場合はステ
ップ32へ進む(ステップ31)。If the information has been input, the process proceeds to step 33; if not, the process proceeds to step 32 (step 31).
パスワードが入力されていなかったので、デイスプレィ
16にメツセージを出力して、使用者にパスワードの入
力を要求する(ステップ32)、パスワード・バンファ
1に保持されているパスワードを、主記憶装置2の退避
領域221こ退避する(ステップ33)。Since the password has not been entered, a message is output on the display 16 to request the user to enter the password (step 32), and the password held in the password buffer 1 is saved in the main storage device 2. The area 221 is saved (step 33).
MPtJ11内の全レジスタを、主起d1装蓋2のi!
領域22に退避する(ステップ34)。All registers in MPtJ11 are stored in i!
It is evacuated to area 22 (step 34).
周辺装置13の全レジスタと、実時間クロック1Sのレ
ジスタのうちプログラム再開に必要なレジスタを、主記
憶装置2の退避領域22に退避する(ステップ35)。All the registers of the peripheral device 13 and the registers of the real-time clock 1S necessary for restarting the program are saved to the save area 22 of the main storage device 2 (step 35).
電源オフ信号24をスイッチ回路7に出力し、主電源8
による電力供給を遮断する(ステップ36)。The power off signal 24 is output to the switch circuit 7, and the main power supply 8
The power supply is cut off (step 36).
電源遮断中は副電源9によって主記憶装置2に電力供給
を行ない、退避領域22、及び、中断したプログラムや
データが格納されたユーザ領域21をバックアップする
。さらに、表示メモリ3も制電s9によってバックアッ
プする。以上番こより、中断したプログラムの実行状態
を、プログラム使用者のパスワードを付加して退避・保
管することができる。While the power is cut off, power is supplied to the main storage device 2 by the sub power supply 9, and the save area 22 and the user area 21 in which interrupted programs and data are stored are backed up. Furthermore, the display memory 3 is also backed up by the power reduction s9. From the above, the execution state of the interrupted program can be saved and stored with the password of the program user added.
第4図(a)及び(b)Iこ、を源スイッチオン時にお
いてMPL)11が実行する地理のフローチャートを示
す。これも第1図JこおけるROMI 2に格納されて
おり、を源オンした使用者jこ対応するプログラムの実
行再開のための処理を行う。FIGS. 4(a) and 4(b) show flowcharts of the geography executed by the MPL 11 when the source is switched on. This is also stored in the ROMI 2 in FIG. 1, and performs processing for restarting the execution of the program corresponding to the user who turned on the power.
以下、同フローチャートと第1図を用いて処理内容を説
明する。The details of the process will be explained below using the same flowchart and FIG.
変数tに初期値Oを設定する0本実施例では、使用者が
パスワード入力を誤った場合を想定し、所定回数(三回
)までパスワード入力ができるようにする。そこで、変
数tをパスワード入力同数を示すカウンタとして用いる
(ステップ41)。The variable t is set to the initial value O. In this embodiment, it is assumed that the user enters the password incorrectly, and the user is allowed to enter the password up to a predetermined number of times (three times). Therefore, the variable t is used as a counter indicating the same number of password inputs (step 41).
変数tの値を1増やす(ステップ42)。The value of variable t is increased by 1 (step 42).
変数tの値、つまりパスワード入力回数が三回目以内な
らばステップ45へ、否ならばステップ44へ進む(ス
テップ43)。If the value of the variable t, that is, the number of password inputs is within the third time, the process advances to step 45; otherwise, the process advances to step 44 (step 43).
プログラムの実行再開は行なわない、このため、主記憶
装置2(退避領域22及びユーザ領域21)と表示メモ
リ3に保管されているプログラム実行状態を補助記憶装
置4に退避する。そして、退避完了後1こ、通常の7ス
テム起動(ハードウェア・チエツク、システム・プログ
ラムのロート等)ヲ行なう(ステップ44)。The execution of the program is not restarted, so the program execution state stored in the main storage device 2 (saved area 22 and user area 21) and display memory 3 is saved to the auxiliary storage device 4. After the evacuation is completed, normal 7-system startup (hardware check, system program loading, etc.) is performed (step 44).
デイスプレィ16にメツセージを出力して、使用者にパ
スワードの入力を要求する。この時点で、使用者はキー
ボード14によりパスワードを入力する。入力されたパ
スワードはパスワード・バッファ1に保持される(ステ
ップ45)。A message is output on the display 16 to request the user to input a password. At this point, the user enters the password using the keyboard 14. The entered password is held in password buffer 1 (step 45).
パスワード・バッファ1の内容を調べ、パスワードが入
力されたか否かを確認する。入力された場合は、ステッ
プ47へ、入力されなかった場合(例えば、復改キーだ
けが入力された場合)はステップ44へ進む、ここで、
実時間クロック15を利用して時間を計り、所定時間内
にパスワードが入力されなかった場合は、ステップ44
へ進むようにすることも可能である(ステップ46)。The contents of password buffer 1 are checked to see if a password has been entered. If it has been input, the process goes to step 47; if it has not been input (for example, if only the return key has been input), the process goes to step 44, where:
The time is measured using the real time clock 15, and if the password is not entered within the predetermined time, step 44
It is also possible to proceed to (step 46).
主記憶装置2の退避領域22に保管されているパスワー
ドを抽出する(ステップ47)。The password stored in the save area 22 of the main storage device 2 is extracted (step 47).
抽出したパスワードとパスワード・バッファ11こ保持
されているパスワードを比較し、一致する場合はステッ
プ49へ、一致しない場合はステ7プ5oへ運び(ステ
ップ4a)。The extracted password is compared with the password held in the password buffer 11, and if they match, the process goes to step 49, and if they do not match, the process goes to step 5o (step 4a).
パスワードが一致したので、主起11i!12と表示メ
モリ5に保管されているプログラム実行状1は、t*オ
ンした便用者Jこ対応するプログラム実行状1である。The passwords matched, so I started 11i! 12 and the program execution form 1 stored in the display memory 5 are the program execution forms 1 corresponding to the user J who turned on t*.
そこで、退避領域22に保管されているMPt)11の
全レジスタ、周辺製蓋13の全レジスタ、及び実時間ク
ロック15のレジスタを元iこ戻し、プログラム実行状
1を復元する。そして、中断していたグログラムの実行
を再開する(ステップ49)。Therefore, all the registers of the MPt) 11, all the registers of the peripheral cover 13, and the register of the real-time clock 15 stored in the save area 22 are returned to their original state, and the program execution state 1 is restored. Then, execution of the interrupted program is resumed (step 49).
補助記憶装置4に保管されているパスワードを、順次、
検索するが、未検索のものがあるか否かを確認する。あ
る場合はステップ51へ進むが、ない場合、つまり入力
されたパスワードと一致するものが見つからなかった場
合はステップ42へ戻る(ステップ50)。The passwords stored in the auxiliary storage device 4 are sequentially
Search, but check to see if there are any unsearched items. If there is a password, the process advances to step 51, but if there is no password, that is, if no password matching the entered password is found, the process returns to step 42 (step 50).
補助記憶装置4に保管されているパスワードの中で、未
検索のものを一つ抽出する(ステップ51)。Among the passwords stored in the auxiliary storage device 4, one unsearched password is extracted (step 51).
抽出したパスワードとパスワード・バッファ1に保持さ
れているパスワードを比較し、一致する場合はステップ
53へ進み、一致しない場合はステップ50へ戻る(ス
テップ53)ク
パスワードが一致したので、パスワードと共iこ補助記
憶装置4に保管されているプログラム実行状1は、電源
オンした使用者に対応するプログラム実行状層である。Compare the extracted password with the password held in password buffer 1, and if they match, proceed to step 53; if they do not match, return to step 50 (step 53). The program execution status 1 stored in the auxiliary storage device 4 is a program execution status layer corresponding to the user who turned on the power.
これを復元する前に、主記憶装置2と表示メモリ5に保
管されているプログラム実行状態を襠助記憶装置4に退
避する(ステップ53)。Before restoring this, the program execution state stored in the main storage device 2 and display memory 5 is saved to the auxiliary storage device 4 (step 53).
上記パスワードに対応するプログラム実行状1を主記憶
装置2と表示メモリ3に戻す、そして、ステップ49と
同様にプログラム実行状層を復元し、プログラムの実行
を再開する(ステップ54)。The program execution status 1 corresponding to the password is returned to the main storage device 2 and display memory 3, and the program execution status layer is restored in the same manner as step 49, and program execution is resumed (step 54).
以上で説明したように、本実施例は、使用者の識別情報
としてパスワードを利用したものであり、容易に実施で
きる。また、使用者が誤ったパスワードを入力しても、
所定回数以内ならば再入力可能である。ところで、本実
施例における使用者の鐵別責Ill iこ代えて、グロ
グラムの識別情報(例えば、プログラム名)を同様に利
用することも可能である。この場合、−名の使用者が複
数のプログラム実行状層の中から希望するものを選んで
実行を再開することができるようになる。As explained above, this embodiment uses a password as user identification information, and can be easily implemented. Also, even if the user enters an incorrect password,
It is possible to re-enter within a predetermined number of times. By the way, instead of the user's responsibility in this embodiment, it is also possible to use the identification information of the program (for example, the program name) in the same way. In this case, the user named - can select a desired program execution layer from among a plurality of program execution layers and resume execution.
以下、本発明の他の実施例を85図から第7図により説
明する。第5図は本実施例の全体構成を示している。こ
れは、第1図ンこおけるパスワードバッファ1を取り除
き、主記憶装置2と表示メモリ3への電力供給をt*ラ
イン17を介して行なうようにしたものである。また、
新たにメモリ・カー ド5とカード・インタフェース6
を設ける。Other embodiments of the present invention will be described below with reference to FIGS. 85 to 7. FIG. 5 shows the overall configuration of this embodiment. In this system, the password buffer 1 in FIG. 1 is removed, and power is supplied to the main storage device 2 and display memory 3 via the t* line 17. Also,
New memory card 5 and card interface 6
will be established.
メモリ嗜カード5(DRAM、SRAM等からなる)は
カード・インク7エース6に着脱可能であり、装着時は
電源ライン17を介して、主電源8の電力供給を行なう
、−万、取り外した時は、内蔵のバッテリ等により、記
憶8容を保持する。カード・インタフェース6は電源ラ
イン17を介して電力供給を行なう。主記憶装置2iこ
は第1図のような、ia!領域22は設けない、スイッ
チ回絡7は第1図と第21で説明した動作と全く同じ動
作を行なう。The memory card 5 (consisting of DRAM, SRAM, etc.) can be attached to and detached from the card/ink 7ace 6, and when attached, it supplies power to the main power source 8 via the power line 17. The device maintains 8 volumes of memory using a built-in battery or the like. Card interface 6 provides power via power line 17. The main storage device 2i is like the one shown in FIG. Region 22 is not provided, and switch circuit 7 performs exactly the same operation as described in FIGS. 1 and 21.
本実施例では、電源スイツチオフ時にMPOllが実行
する割込み処理によって、プログラム実行状1をすべて
メモリ・カード5に退避・保管する。また、電源スイツ
チオン時;こは、装着したメモリ・カード5に保管され
ているプログラム実行状1を復元し、プログラムの実行
を再開する。In this embodiment, the entire program execution status 1 is saved and stored in the memory card 5 by the interrupt processing executed by MPOll when the power switch is turned off. Also, when the power switch is turned on, the program execution status 1 stored in the attached memory card 5 is restored and program execution is resumed.
第6因に割込み処理の70−チャートを示す。A 70-chart of interrupt processing is shown as the sixth factor.
以下、同フローチャートと第5図を用いて処理内容を説
明する。The details of the processing will be explained below using the same flowchart and FIG.
カードΦインタフェース6をアクセスして、メモリ・カ
ード5が装着されているか否かを調べる。The card Φ interface 6 is accessed to check whether the memory card 5 is installed.
刀−ド・インタフェース6はメモリ・カードSの装着状
況を常に監視している。装着されている場合はステップ
65へ、否の場合はステップ62へ進む(ステップ61
)・
メモリ・カード5が装着されていないので、デイスプレ
ィ16にメツ竜−ジを出力して、使用者にメモリ・カー
ド5の装着を要求する(ステップ62)。The card interface 6 constantly monitors the installation status of the memory card S. If it is attached, proceed to step 65; otherwise, proceed to step 62 (step 61
) Since the memory card 5 is not installed, a message is output on the display 16 to request the user to install the memory card 5 (step 62).
主記憶j&t2の内容(実行中のプログラムやデータ)
ラメモリ・カード5に退避する(ステップ63)。Contents of main memory j&t2 (programs and data being executed)
The data is saved to the RAM memory card 5 (step 63).
表示メモリ3の内容をメモリ・カード5に退避する(ス
テップ64)。The contents of display memory 3 are saved to memory card 5 (step 64).
MPt)11内の全レジスタをメモリ・カーと5に退避
する(ステップ65)。MPt) All registers in 11 are saved to memory card 5 (step 65).
周辺装置13の全レジスタと、実時間クロック15のレ
ジスタのうちプログラム再開に必要なレジスタを、メモ
リ脅カード5に退避する(ステップ66)。All the registers of the peripheral device 13 and the registers of the real-time clock 15 necessary for restarting the program are saved in the memory threat card 5 (step 66).
電源オフ信号24をスイッチ回wr7に出力し、主電源
8による電力供給を遮断する(ステップ67)。The power off signal 24 is output to the switch circuit wr7 to cut off the power supply from the main power source 8 (step 67).
以上により、プログラム実行状態をすべてメモリ・カー
ド5に退避する。電源遮断中またはメモリ・カード5を
取り外したときは、8麓のバッテリ等により、プログラ
ム実行状態を保持する。Through the above steps, all program execution states are saved to the memory card 5. When the power is turned off or the memory card 5 is removed, the program execution state is maintained by a battery or the like.
第7図に、電源スイツチオン時にMPt)11が実行す
るも埋の7コーチヤートを示す、以下、同フローチャー
トと第5図を用いて処理内容を説明する。FIG. 7 shows the last seven coaches executed by the MPt) 11 when the power is switched on.The contents of the process will be explained below using the same flowchart and FIG. 5.
カード・インタフェース6をアクセスして、メモリ・カ
ード5が装着されているか否かを調べる。The card interface 6 is accessed to check whether the memory card 5 is installed.
装着されている場合はステップ72へ進む。否の場合は
、プログラムの実行再開は行なわず、通常のシステム起
動を行なう(ステップ71)。If it is attached, the process advances to step 72. If not, the program is not restarted and the system is started normally (step 71).
メモリーカード5に保管されているプログラム実行状1
をすべて元に戻し、プログラムの実行を再開する(ステ
ップ72)。Program execution report 1 stored in memory card 5
, and restarts program execution (step 72).
本実施例によれば、プログラム実行状1が保管されてい
るメモリ・カード5を、使用者が個人で管埋できる。ま
た、電源オン時に、パスワードを入力する必要はない、
メモリ・カード5を装着すること自体が、使用者の識別
情報の入力に対応する。According to this embodiment, the user can personally manage the memory card 5 in which the program execution letter 1 is stored. Also, there is no need to enter a password when turning on the power.
Inserting the memory card 5 itself corresponds to inputting the user's identification information.
本発明によれば、電源オン時に入力された使用者の識別
情報に対応するプログラム実行状態を復元することがで
きる。従って、複数の使用者が情報逃場機器を共用下る
場合、電源オン時に、使用者に対応するプログラムの実
行を再開することができる。According to the present invention, it is possible to restore the program execution state corresponding to the user identification information input when the power is turned on. Therefore, when a plurality of users share the information escape device, execution of the program corresponding to the user can be resumed when the power is turned on.
第1図は本発明の一実1例をブロック図、第2図は第1
因;こおけるスイッチ回i&図、第3叉は第1図の実施
例iこ2ける割込み処理を示すフローチャート、第4図
は第1図の実施例における電源オン時の処理を示すフロ
ーチャート、lN5図は本発明の他の実施例を示すブロ
ック図、1Ii6図は35図の実施例における割込み処
理を示すフローチャート、lN7図は第5図の実施例1
こ2ける電源オン時の処理を示すフローチャートである
。
1・・・パスワード・バッファ、 2・・・主記憶装
R13・・・表示メモリ、 4・・・補助記憶装置、
5・・・メモリ・カード。Figure 1 is a block diagram of one example of the present invention, and Figure 2 is a block diagram of one example of the present invention.
Figure 3 is a flowchart showing the interrupt processing in the embodiment shown in Fig. 1; Fig. 4 is a flowchart showing the processing when the power is turned on in the embodiment shown in Fig. 1; The figure is a block diagram showing another embodiment of the present invention, Figure 1Ii6 is a flowchart showing interrupt processing in the embodiment of Figure 35, and Figure lN7 is the embodiment 1 of Figure 5.
2 is a flowchart showing the processing when the power is turned on. 1... Password buffer, 2... Main memory R13... Display memory, 4... Auxiliary storage,
5...Memory card.
Claims (1)
に退避・保管し、電源オン時に前記プログラムの実行状
態を復元する情報処理機器のプログラム中断再開装置に
おいて、 電源オフ時に前記プログラムの使用者の識別情報を前記
プログラムの実行状態に付加して前記記憶装置に退避・
保管する手段と、電源オン時に電源オンした使用者の識
別情報を入力する手段と、入力された前記識別情報を、
前記記憶装置に保管された前記プログラム使用者の前記
識別情報と、順次、比較し、一致するものがあれば対応
する前記プログラムの実行状態を復元する手段を設けた
ことを特徴とするプログラム中断再開装置。 2、請求項1において、入力された前記識別情報を、前
記記憶装置に保管された前記プログラムの使用者の前記
識別情報と、順次、比較し、一致するものがなければ前
記使用者に前記識別情報の入力を要求する手段と、前記
識別情報が所定回数以上入力された場合にシステム起動
を行う手段を設けたプログラム中断再開装置。 3、請求項1において、前記使用者の前記識別情報が所
定時間以内に入力されない場合にシステム起動を行う手
段を設けたプログラム中断再開装置。 4、請求項1において、前記使用者の前記識別情報に代
えて前記プログラムの前記識別情報を用いるプログラム
中断再開装置。 5、情報処理機器のプログラムの中断再開装置において
、着脱可能な記憶媒体を設け、電源オフ時に前記プログ
ラムの実行状態を前記記憶媒体に退避・保管する手段と
、電源オン時に前記記憶媒体に保管された前記プログラ
ムの実行状態を復元する手段を設けたことを特徴とする
プログラム中断再開装置。[Scope of Claims] 1. In a program interruption/resuming device for information processing equipment, which saves and stores the state of a program being executed in a storage device when the power is turned off, and restores the execution state of the program when the power is turned on, comprising: Adding the identification information of the user of the program to the execution state of the program and saving it in the storage device.
a means for storing, a means for inputting identification information of a user who turned on the power when the power is turned on, and a means for inputting the input identification information;
Program interruption/resumption characterized by comprising means for sequentially comparing the identification information of the program user stored in the storage device and restoring the execution state of the corresponding program if there is a match. Device. 2. In claim 1, the inputted identification information is sequentially compared with the identification information of the user of the program stored in the storage device, and if there is no match, the identification information is sent to the user. A program suspending/resuming device comprising: means for requesting input of information; and means for activating the system when the identification information is input a predetermined number of times or more. 3. The program suspending and resuming device according to claim 1, further comprising means for starting the system if the identification information of the user is not input within a predetermined time. 4. The program interruption/resumption device according to claim 1, wherein the identification information of the program is used in place of the identification information of the user. 5. An apparatus for interrupting and resuming a program of an information processing device, provided with a removable storage medium, and means for saving and storing the execution state of the program in the storage medium when the power is turned off, and a means for saving and storing the execution state of the program in the storage medium when the power is turned on. An apparatus for suspending and resuming a program, comprising means for restoring the execution state of the program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2155163A JPH0452817A (en) | 1990-06-15 | 1990-06-15 | Device for restarting program interruption |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2155163A JPH0452817A (en) | 1990-06-15 | 1990-06-15 | Device for restarting program interruption |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0452817A true JPH0452817A (en) | 1992-02-20 |
Family
ID=15599894
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2155163A Pending JPH0452817A (en) | 1990-06-15 | 1990-06-15 | Device for restarting program interruption |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0452817A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07114426A (en) * | 1993-10-19 | 1995-05-02 | Nec Corp | Program restart automating system |
| JPH07119206A (en) * | 1993-10-27 | 1995-05-09 | Kaoru Taneichi | Method for constructing building |
| JPH09120321A (en) * | 1995-10-26 | 1997-05-06 | Hitachi Ltd | Information processing apparatus having suspend / resume function |
-
1990
- 1990-06-15 JP JP2155163A patent/JPH0452817A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07114426A (en) * | 1993-10-19 | 1995-05-02 | Nec Corp | Program restart automating system |
| JPH07119206A (en) * | 1993-10-27 | 1995-05-09 | Kaoru Taneichi | Method for constructing building |
| JPH09120321A (en) * | 1995-10-26 | 1997-05-06 | Hitachi Ltd | Information processing apparatus having suspend / resume function |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7844812B2 (en) | Apparatus, method and program product for initiating computer system operation | |
| US8327171B2 (en) | Method and apparatus for facilitating device hibernation | |
| US6647498B1 (en) | Method and apparatus for preventing personal computer from being illegally used | |
| US6438668B1 (en) | Method and apparatus for reducing power consumption in a digital processing system | |
| US5485623A (en) | Information processor having high speed and safety resume system | |
| US20090164771A1 (en) | Method and apparatus for quickly reanimating devices from hibernation | |
| US20040039960A1 (en) | Method and apparatus for automatic hibernation after a power failure | |
| JPH0934577A (en) | Information processor and its control method | |
| US7222143B2 (en) | Safely restoring previously un-backed up data during system restore of a failing system | |
| JPH09282056A (en) | Network hibernation system and control method thereof | |
| JP3597558B2 (en) | Information processing equipment | |
| KR0182632B1 (en) | Client server system performing automatic reconnection and control method thereof | |
| JPH0452817A (en) | Device for restarting program interruption | |
| US6948075B2 (en) | Computer controlling method, information apparatus, computer, and storage medium | |
| JPH0437916A (en) | Information processor | |
| JPH0728572A (en) | Automatic data storage device at power failure | |
| JPS58175198A (en) | Data processing device | |
| JPH0728544A (en) | Computer system | |
| JP2001134338A (en) | User management method for hibernation function and information processor | |
| JP2002006978A (en) | Personal computer and its operating method | |
| US20030105783A1 (en) | Method and system of file protection | |
| JPH0566951A (en) | Computer equipment | |
| JPH10149236A (en) | Method for recovering hibernation | |
| JPS59168994A (en) | Data secrecy protection method in systems equipped with memory | |
| JPS63138412A (en) | Uninterruptive power unit |