JP2006302321A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2006302321A
JP2006302321A JP2006217665A JP2006217665A JP2006302321A JP 2006302321 A JP2006302321 A JP 2006302321A JP 2006217665 A JP2006217665 A JP 2006217665A JP 2006217665 A JP2006217665 A JP 2006217665A JP 2006302321 A JP2006302321 A JP 2006302321A
Authority
JP
Japan
Prior art keywords
state
storage device
information processing
processing apparatus
hibernation
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
JP2006217665A
Other languages
Japanese (ja)
Inventor
Shinichi Sawamura
伸一 澤村
Nobuhiko Hara
信彦 原
Jun Kitahara
潤 北原
Masaya Umemura
雅也 梅村
Masahito Ishii
雅人 石井
Kenichi Saito
賢一 斎藤
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 JP2006217665A priority Critical patent/JP2006302321A/en
Publication of JP2006302321A publication Critical patent/JP2006302321A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shorten processing time for booting an information processor. <P>SOLUTION: Relating to the information processor 50 comprising a storage device control part 51, a volatile storage device for recording information of operation, an operation interrupting switch 53, a non-volatile storage device 55 and a power switch 57 and having an operation state, a nap state, a hibernation state and a hibernation preparing state, the non-volatile storage device 55 is provided with a start flag storage area 551 and an area 552 for storing information stored in the volatile storage device and the power supply part 57 is provided with an external power supply operation switch 574 and a power supply interruption part 571, when the operation of the information processor 50 is interrupted, the information stored in the volatile storage device 52 is saved to the area 552 of the non-volatile storage device 55, the state of the information processor 50 is shifted to the nap state or the hibernation state, and when power supply is restarted in the state, the information stored in the non-volatile storage device 55 during the interruption of operation is automatically restored to the device 52 and the state of the information processor 50 is returned to the same state as the execution of operation for interrupting work during the operation of the information processor 50. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、情報処理装置の起動時における処理時間の低減方法に関する。   The present invention relates to a method for reducing processing time when an information processing apparatus is activated.

動作中の情報処理装置で、現在の作業を中断し、そのときの情報処理装置の内部情報を不揮発性の記憶媒体に格納し、情報処理装置の電源を落とすことが可能で、再起動時には前回の中断時の内部情報を不揮発性の記憶媒体から復元し、中断した作業の再開を可能にする機能を持つ情報処理装置はあった。   It is possible to interrupt the current work on the operating information processing device, store the internal information of the information processing device at that time in a non-volatile storage medium, and turn off the information processing device. There has been an information processing apparatus having a function of restoring internal information at the time of interruption from a non-volatile storage medium so that the suspended work can be resumed.

情報処理装置で、情報処理装置の内部情報を保持するために必要な部分にのみ電力を供給し、情報処理装置の内部情報を保持に必要のない部分の電力を削減する機能を持つものはあった。   There are some information processing devices that have the function of supplying power only to the part necessary to hold the internal information of the information processing apparatus and reducing the power of the part not necessary to hold the internal information of the information processing apparatus. It was.

情報処理装置の起動において、起動スイッチを操作してから、実際に使用可能になるまでに時間がかかるという問題がある。   When starting up the information processing apparatus, there is a problem that it takes time from when the start switch is operated until it is actually usable.

情報処理装置の内部情報を外部記憶装置等の不揮発性の記憶媒体に格納し、情報処理装置の電源を落とす冬眠状態からの復帰においても、外部記憶装置等の不揮発性の記憶媒体からの読み出しに時間がかかるという問題がある。   The internal information of the information processing device is stored in a non-volatile storage medium such as an external storage device, and the information processing device can be read from the non-volatile storage medium such as an external storage device even when returning from the hibernation state when the information processing device is turned off There is a problem that it takes time.

外部からの電力供給が常時可能でない場合は、仮眠状態で情報処理装置の内部情報を保持ことができなくなるという問題がある。   If external power supply is not always possible, there is a problem that internal information of the information processing apparatus cannot be held in a nap state.

仮眠状態でも電力消費は存在するため、電力蓄積手段の電力での仮眠状態の維持は、電力蓄積手段の使用時間を短くする問題がある。   Since power consumption exists even in the nap state, maintaining the nap state with the power of the power storage means has a problem of shortening the usage time of the power storage means.

仮眠状態でも電力消費は存在するため、外部からの電力供給が可能でも長時間の仮眠状態の維持は、無駄な電力消費になるという問題がある。   Since power consumption exists even in a nap state, there is a problem that maintaining a nap state for a long time becomes wasteful power consumption even if external power supply is possible.

さらに、前記従来の技術では、情報処理装置の起動において、電源スイッチを操作してからオペレーティングシステムや、あるいはアプリケーションプログラムなどを毎回逐一ロードする必要が無くなり、実際に情報処理装置が使用可能になるまでの時間を短縮することができる。しかし、動作中の状態を記憶する記憶装置が揮発性であるか、不揮発性であるかによって、その短縮時間には大きな違いがある。   Further, in the conventional technology, when the information processing apparatus is started, it is not necessary to load the operating system or application program every time after operating the power switch, until the information processing apparatus can actually be used. Can be shortened. However, there is a great difference in the shortening time depending on whether the storage device for storing the operating state is volatile or non-volatile.

磁気ディスクのような不揮発性記憶装置に情報を保存していた場合は、電源投入時に以前の状態へ復帰するため、揮発性記憶装置に情報を読み出すのに分単位の時間がかかるという問題がある。   If information is stored in a non-volatile storage device such as a magnetic disk, it returns to the previous state when the power is turned on, and it takes time in minutes to read the information to the volatile storage device. .

また、不揮発性記憶装置に情報を保存する処理においても同様に時間がかかり、その間は何もすることができないという問題がある。   Similarly, the process of storing information in the nonvolatile storage device also takes time, and there is a problem that nothing can be done during that time.

DRAMで構成された主記憶のような揮発性記憶装置に情報を保存しておく場合は、不揮発性記憶装置から情報を読み出す手順が無いため、以前の状態への復帰する時間は短縮されるが、動作中断状態中にDRAMへ電力を供給し続けねばならないため、電力を消費し、長期間の状態保存に不向きであるという問題がある。   When information is stored in a volatile storage device such as a main memory composed of DRAM, there is no procedure for reading information from the nonvolatile storage device, so the time to return to the previous state is shortened. However, since power must be continuously supplied to the DRAM during the operation interruption state, there is a problem that power is consumed and it is not suitable for long-term state storage.

また、不揮発性記憶装置に情報を保存する場合は、動作中断時点での情報が何らかの原因で破損した場合、その情報処理装置を再起動するしかないという問題、動作中断以前の状態への復元はできないという問題がある。   In addition, when storing information in a non-volatile storage device, if the information at the time of operation interruption is damaged for some reason, there is only a problem that the information processing device must be restarted, restoration to the state before the operation interruption is There is a problem that you can not.

動作時の内部状態の情報を記録する揮発性記憶装置と不揮発性記憶装置とを有する情報処理装置において、情報処理装置を起動し、一度OS等の情報処理装置制御ソフトが立ち上がり、情報処理装置が使用可能になったら、使用者が停止手段を操作しても情報処理装置の内部情報をそのまま保持し続ける。   In an information processing apparatus having a volatile storage device and a non-volatile storage device for recording internal state information during operation, the information processing device is started, information processing device control software such as an OS is started up once, and the information processing device is When the information becomes usable, the internal information of the information processing apparatus is kept as it is even if the user operates the stop means.

外部からの電力供給検出手段と、内部状態の遷移録記憶手段を設け、使用者が行う起動/停止手段の操作と、外部からの電力供給状態と、前回の状態遷移を考慮し、遷移すべき状態を認識する。   Provide external power supply detection means and internal state transition record storage means, and take into account the operation of the start / stop means performed by the user, the external power supply state, and the previous state transition. Recognize the state.

内部情報を保持し続ける状態として、仮眠状態と冬眠状態を設ける。   As a state in which the internal information is kept, a nap state and a hibernation state are provided.

ACアダプタ等が接続され、外部から長時間電力供給可能な場合に、冬眠状態から仮眠状態に移行する。   When an AC adapter or the like is connected and power can be supplied from outside for a long time, the hibernation state shifts to the nap state.

バッテリ等の電力蓄積手段を内蔵し、ACアダプタ等の外部からの電力供給が突然なくなった場合には、電力蓄積手段の電力を使用し冬眠状態に移行する。   When power storage means such as a battery is built in and power supply from the outside such as an AC adapter suddenly stops, the power of the power storage means is used to shift to a hibernation state.

仮眠状態でも動作可能な時間計測手段を設ける。   Time measuring means capable of operating even in a nap state is provided.

情報処理装置が起動された後、ある時点での情報処理装置内部の揮発性記憶装置内の情報を不揮発性記憶装置に退避する。これをハイバネーションファイル1とする。   After the information processing device is activated, information in the volatile storage device inside the information processing device at a certain point in time is saved in the nonvolatile storage device. This is designated as hibernation file 1.

情報処理装置動作中に使用者が作業を中断する操作を行った場合、その時点での揮発性記憶装置内の情報を不揮発性記憶装置に退避する。その際、情報処理装置へ使用者が作業を再開する操作を行った場合、即座に退避処理を中止し、動作状態へと戻る。入力がない場合はそのまま退避処理を続行し、これをハイバネーションファイル2とする。   When the user performs an operation to interrupt the operation during the operation of the information processing apparatus, information in the volatile storage device at that time is saved in the nonvolatile storage device. At that time, if the user performs an operation to resume the work on the information processing apparatus, the saving process is immediately stopped and the operation state is returned. If there is no input, the evacuation process is continued as it is, and this is designated as the hibernation file 2.

動作中断時の情報を不揮発性記憶装置に退避後、情報処理装置に外部から電力が供給され続けている場合には揮発性記憶装置への電力供給を停止せず、動作中断時の状態に復帰する機能と無関係の部分への電力を切断する。以後これを仮眠状態と呼ぶ。   After saving the information at the time of operation interruption to the non-volatile storage device, if power is continuously supplied to the information processing device, the power supply to the volatile storage device is not stopped, and the state at the time of operation interruption is restored. Disconnect power to parts unrelated to the function. This is hereinafter referred to as a nap state.

情報処理装置への電力供給が遮断される以前に使用者が作業を再開する操作を行った場合、情報処理装置への全ての電力供給を再開し、中断前の状態に復帰する。   If the user performs an operation of resuming work before the power supply to the information processing apparatus is interrupted, all power supply to the information processing apparatus is resumed, and the state before the interruption is restored.

ブレーカーが落とされる等、仮眠状態時に情報処理装置への電力供給が遮断された場合、情報処理装置は揮発性記憶装置内の動作中の情報を失い、中断時に退避した不揮発性記憶装置内のみ動作中断時の情報を記憶している状態になる。以後これを冬眠状態と呼ぶ。   If the power supply to the information processing device is interrupted during a nap such as when a breaker is dropped, the information processing device loses operating information in the volatile storage device and operates only in the non-volatile storage device that was saved during the interruption. The information at the time of interruption is stored. This is hereinafter referred to as hibernation.

この状態中に外部からの電力供給が再開されると、情報処理装置は自動的に不揮発性記憶装置内の動作中断時の情報(ハイバネーションファイル2)を揮発性記憶装置へ復元し、仮眠状態となる。復元に失敗した場合、あるいは使用者の意志により動作中断以前の状態を復元したい場合は、ハイバネーションファイル1を揮発性記憶装置へ復元し、仮眠状態となる。   When power supply from the outside is resumed during this state, the information processing apparatus automatically restores information (hibernation file 2) at the time of operation interruption in the nonvolatile storage device to the volatile storage device, Become. If the restoration fails or if it is desired to restore the state before the operation is interrupted by the user's will, the hibernation file 1 is restored to the volatile storage device, and the nap state is entered.

本発明によれば、情報処理装置において、起動指示を出した後の情報処理装置内の起動作業が短時間で済むので、使用者は前回の作業を即再開でき、情報処理装置の使い勝手がよくなる。また、本発明によれば、終了指示を出した後の情報処理装置内の終了作業が短時間で済み、使用者は終了指示後に情報処理装置に拘束される時間を短くすることができる。さらに、本発明によれば、外部からの電力供給が突然停止しても、ハイバネーションファイルを作成してから冬眠状態S4に移行するので、停電等の事故に対してもデータの破壊等の被害を最小限度に抑えることができる。加えて、本発明によれば、長期にわたり、情報処理装置を使用しない場合には、冬眠状態S4に移行するので、電力消費を抑えることができる。   According to the present invention, in the information processing apparatus, the activation work in the information processing apparatus after issuing the activation instruction can be completed in a short time, so that the user can immediately resume the previous work and the usability of the information processing apparatus is improved. . Further, according to the present invention, the end work in the information processing apparatus after issuing the end instruction can be completed in a short time, and the user can shorten the time restrained by the information processing apparatus after the end instruction. Furthermore, according to the present invention, even if power supply from the outside suddenly stops, the hibernation file is created and then the hibernation state S4 is entered. It can be minimized. In addition, according to the present invention, when the information processing apparatus is not used for a long period of time, the process shifts to the hibernation state S4, so that power consumption can be suppressed.

本発明によれば、情報処理装置の終了時にハイバネーションファイルを作成しているので、作業者が情報処理装置の動作を再開する操作を行う際の起動処理時間を短縮することができ、作業を即再開することができるとともに、使い勝手がよくなる。また、本発明によれば、情報処理装置への外部からの電力供給が遮断された場合も、ハイバネーションファイルを作成する処理の後冬眠状態S4に移行するので、前回の動作中断時の情報を失わず、長期間の状態保存もできる。本発明によれば、揮発性記憶装置内の情報を不揮発性記憶装置へ退避する作業中、使用者が何か情報入力操作を行った場合、即座に動作状態へと復帰し、応答性が良くなる。さらに、本発明によれば、動作中断時点での情報が何らかの原因で破損した場合、情報処理装置を再起動せずとも、動作中断以前の状態へ復帰することができる。   According to the present invention, since the hibernation file is created when the information processing apparatus is terminated, it is possible to reduce the startup processing time when the operator performs an operation for resuming the operation of the information processing apparatus. It can be resumed and is easy to use. Further, according to the present invention, even when the power supply from the outside to the information processing apparatus is interrupted, the process shifts to the hibernation state S4 after the process of creating the hibernation file, so the information at the time of the previous operation interruption is lost. In addition, long-term state storage is possible. According to the present invention, when the user performs any information input operation during the operation of saving the information in the volatile storage device to the non-volatile storage device, the user immediately returns to the operation state and the responsiveness is good. Become. Furthermore, according to the present invention, when the information at the time of the operation interruption is damaged for some reason, it is possible to return to the state before the operation interruption without restarting the information processing apparatus.

本発明にかかる情報処理装置の第1の実施の形態を、図1〜図4を用いて説明する。   A first embodiment of an information processing apparatus according to the present invention will be described with reference to FIGS.

図1は、情報処理装置本体の電子回路、電力供給制御部、不揮発性の外部記憶装置と、取り扱う情報、供給電力の制御部の構成を模式的に示した機能ブロック図である。   FIG. 1 is a functional block diagram schematically showing a configuration of an electronic circuit, a power supply control unit, a nonvolatile external storage device, information to be handled, and a control unit for supplied power of the information processing apparatus main body.

本発明の情報処理装置は、少なくとも、情報処理装置本体電子回路1と、不揮発性の外部記憶装置2と、電力供給制御部3を備えている。   The information processing apparatus of the present invention includes at least an information processing apparatus main body electronic circuit 1, a nonvolatile external storage device 2, and a power supply control unit 3.

情報処理装置本体電子回路1は、揮発性の情報として内部記憶装置のデータ10と、LSI内部情報11と、表示メモリのデータ101を持っている。また、情報処理装置本体電子回路1は、情報処理装置の状態の遷移を記憶しておく書き換え可能な不揮発性の記憶素子12を備える。この記憶素子12は、バッテリバックアップメモリやフラッシュメモリで構成しても良い。この記憶素子12には、情報処理装置の現在の内部状態と、現在の状態に遷移する以前の内部状態の識別情報を記憶する。   The information processing apparatus main body electronic circuit 1 has internal storage device data 10, LSI internal information 11, and display memory data 101 as volatile information. Further, the information processing apparatus main body electronic circuit 1 includes a rewritable nonvolatile storage element 12 that stores state transitions of the information processing apparatus. The storage element 12 may be constituted by a battery backup memory or a flash memory. The storage element 12 stores identification information of the current internal state of the information processing apparatus and the internal state before the transition to the current state.

外部記憶装置2には、情報処理装置本体電子回路1本体の揮発性の情報を格納する領域として、内部記憶装置のデータ格納領域21と、LSI内部情報のデータ格納領域22と、表示メモリのデータ格納領域211を備える。   The external storage device 2 has a data storage area 21 for the internal storage device, a data storage area 22 for the LSI internal information, and display memory data as areas for storing volatile information of the information processing apparatus main body electronic circuit 1 main body. A storage area 211 is provided.

電力供給制御部3は、電源回路部31と、バッテリ等の電力蓄積手段32から構成され、外部電力供給手段に接続するケーブル45、情報処理装置本体電子回路1への電力供給線42を備える。また、電源回路部31は、外部電力検出手段311と、起動/停止スイッチ313と、起動/停止制御部312と、電力切替手段314を備え、外部電力検出手段311と起動/停止制御部312の状態は、電源回路状態出力線43、44により、情報処理装置本体に伝えられる。   The power supply control unit 3 includes a power supply circuit unit 31 and a power storage unit 32 such as a battery, and includes a cable 45 connected to the external power supply unit and a power supply line 42 to the information processing apparatus main body electronic circuit 1. The power supply circuit unit 31 includes an external power detection unit 311, a start / stop switch 313, a start / stop control unit 312, and a power switching unit 314, and includes the external power detection unit 311 and the start / stop control unit 312. The state is transmitted to the information processing apparatus main body through power supply circuit state output lines 43 and 44.

図2は、本発明にかかる第1の実施の形態の情報処理装置が持つ内部状態とその遷移条件を示した図である。本発明の情報処理装置は、通常の使用状況下では、動作状態S2、仮眠状態S3、冬眠状態S4の3状態を遷移する。この3状態を遷移している間は、OS等の情報処理装置の制御ソフトの再構築、交換等の処理はできない。OS等の情報処理装置の制御ソフトの再構築、交換等の処理は、情報処理装置の内部状態を初期状態S1に遷移させ、そこから動作状態S2に遷移する間に行う。   FIG. 2 is a diagram showing internal states and transition conditions of the information processing apparatus according to the first embodiment of the present invention. The information processing apparatus of the present invention transitions between the three states of the operation state S2, the nap state S3, and the hibernation state S4 under normal use conditions. While these three states are transiting, processing such as reconstruction and replacement of control software of an information processing apparatus such as an OS cannot be performed. Processing such as reconstruction and replacement of control software for an information processing apparatus such as an OS is performed while the internal state of the information processing apparatus is changed to the initial state S1 and then is changed to the operation state S2.

初期状態S1とは、情報処理装置の製造直後やOS等の情報処理装置の制御ソフトを情報処理装置上に再構築する場合の状態である。   The initial state S1 is a state immediately after the information processing apparatus is manufactured or when control software for the information processing apparatus such as an OS is reconstructed on the information processing apparatus.

動作状態S2とは、情報処理装置が情報処理を行える状態であり、電力は情報処理装置の全ての電子回路に供給されている状態を指す。   The operation state S2 is a state in which the information processing apparatus can perform information processing, and refers to a state in which power is supplied to all electronic circuits of the information processing apparatus.

仮眠状態S3とは、内部記憶装置や表示メモリ等の揮発性記憶素子とその記憶維持に必要な制御回路にのみ電力を供給し、内部情報の記憶に関係しない電子回路への電力供給を停止している状態を指す。図3にこの状態を示す。図3では模式的に、電力供給を停止している部分にハッチングを付して示しており、内部記憶装置のデータ10と、LSI内部情報11と、表示メモリのデータ101と、電力供給制御部3が有効なことを示している。電力供給制御部3は、情報処理装置本体電子回路1に供給する電力の大きさが異なる以外は、動作状態S2と同じである。   The nap state S3 refers to supplying power only to volatile storage elements such as internal storage devices and display memories and control circuits necessary for maintaining the storage, and stopping power supply to electronic circuits not related to storage of internal information. Refers to the state. FIG. 3 shows this state. 3 schematically shows hatched portions where power supply is stopped, internal storage device data 10, LSI internal information 11, display memory data 101, and power supply control unit. 3 shows that it is effective. The power supply control unit 3 is the same as the operation state S2 except that the amount of power supplied to the information processing apparatus main body electronic circuit 1 is different.

冬眠状態S4とは、内部記憶装置のデータ10と、LSI内部情報11と、表示メモリのデータ101といった揮発性の情報を、不揮発性の外部記憶装置2のそれぞれの格納領域21,22,211に格納し、電力は電力供給制御部3の外部電力検出部手段311と、起動/停止制御部312にのみ供給されている状態である。この状態を図4に示す。図4では模式的に電力供給を停止している部分にハッチングを付しており、冬眠状態S4では外部記憶装置2への電力も切断されているが、不揮発性の記憶装置であるため、格納してある各情報が有効であることを示している。   The hibernation state S4 means that volatile information such as internal storage device data 10, LSI internal information 11, and display memory data 101 is stored in the storage areas 21, 22, 211 of the nonvolatile external storage device 2, respectively. The stored power is supplied only to the external power detection unit 311 and the start / stop control unit 312 of the power supply control unit 3. This state is shown in FIG. In FIG. 4, the portion where the power supply is stopped is schematically hatched, and in the hibernation state S4, the power to the external storage device 2 is also cut off, but since it is a nonvolatile storage device, it is stored. Each piece of information is valid.

情報処理装置は、製造直後は初期状態S1にあり、使用者が操作した起動/停止スイッチ313により、電力が供給され、動作状態S2へ遷移する(T7)。   The information processing apparatus is in the initial state S1 immediately after manufacture, and is supplied with power by the start / stop switch 313 operated by the user, and transits to the operation state S2 (T7).

初期状態S1と他の3状態は、OS等の情報処理装置の制御ソフトが起動したか否かにより分けられる。この初期状態S1では、情報処理装置の状態を記憶する不揮発性の記憶素子12に情報が書き込まれていない。通常な情報処理装置の電源を投入し、使用者が使用できるようになるまでの立ち上げ期間が、初期状態S1から動作状態S2への遷移時間である。動作状態S2に遷移すると、情報処理装置の状態を記憶する不揮発性の記憶素子12に、現在の状態が動作状態S2であることと、以前の状態が初期状態S1であったことを示す識別情報を書き込む。   The initial state S1 and the other three states are divided depending on whether or not the control software of the information processing apparatus such as the OS has started. In the initial state S1, information is not written in the nonvolatile storage element 12 that stores the state of the information processing apparatus. The startup period from when the normal information processing apparatus is turned on until it can be used by the user is the transition time from the initial state S1 to the operating state S2. When the state transitions to the operation state S2, the identification information indicating that the current state is the operation state S2 and that the previous state was the initial state S1 is stored in the nonvolatile storage element 12 that stores the state of the information processing apparatus. Write.

動作状態S2から、仮眠状態S3への遷移は、外部からの電力供給がある場合の、使用者の操作する起動/停止スイッチで起きる(T1)。   The transition from the operation state S2 to the nap state S3 occurs at the start / stop switch operated by the user when there is an external power supply (T1).

動作状態S2から、冬眠状態S4への遷移は、内部の電力蓄積手段32の電力を使い、外部からの電力供給が無い場合の、使用者の操作する起動/停止スイッチ313と、内部の電力蓄積手段32の蓄積していた電力が減少し、動作状態S2の維持が不可能と判断したときに起きる(T2)。   The transition from the operation state S2 to the hibernation state S4 uses the power of the internal power storage means 32, and when there is no external power supply, the start / stop switch 313 operated by the user and the internal power storage This occurs when the power stored in the means 32 decreases and it is determined that the operation state S2 cannot be maintained (T2).

つまり、動作状態S2に遷移すると、使用者の操作する起動/停止スイッチ313では、仮眠状態S3もしくは、冬眠状態S4にしか遷移しなくなる。外部から電力が供給されている場合は、動作状態S2から仮眠状態S3に遷移する(T1)。このとき、情報処理装置の状態を記憶する不揮発性の記憶素子12に、現在の状態が仮眠状態S3であることと、以前の状態が動作状態S2であったことを示す識別情報を書き込む。   That is, when the transition is made to the operation state S2, the start / stop switch 313 operated by the user can transit only to the nap state S3 or the hibernation state S4. When power is supplied from the outside, the operation state S2 is changed to the nap state S3 (T1). At this time, identification information indicating that the current state is the nap state S3 and the previous state is the operation state S2 is written in the nonvolatile storage element 12 that stores the state of the information processing apparatus.

また、動作状態S2から仮眠状態S4へ遷移する際に、内部記憶装置のデータ10、LSI内部情報11、表示メモリのデータ101といった揮発性の情報を、不揮発性の外部記憶装置2のそれぞれの格納領域21,22,211に格納する処理を行なっておいても良い。   Further, when the operation state S2 transits to the nap state S4, volatile information such as the internal storage device data 10, the LSI internal information 11, and the display memory data 101 is stored in the nonvolatile external storage device 2 respectively. Processing to store in the areas 21, 22, 211 may be performed.

内部バッテリ等の電力蓄積手段32の電力で動作し、外部から電力が供給されてない場合は、仮眠状態S3での電力消費をさけるため、動作状態S2から冬眠状態S4へ遷移する(T2)。このとき、情報処理装置の状態を記憶する不揮発性の記憶素子12に、現在の状態が冬眠状態S4であることと、以前の状態が動作状態S2であったことを示す識別情報を書き込む。   When operating with the power of the power storage means 32 such as an internal battery and no power is supplied from the outside, the state transitions from the operation state S2 to the hibernation state S4 in order to avoid power consumption in the nap state S3 (T2). At this time, identification information indicating that the current state is the hibernation state S4 and the previous state is the operation state S2 is written into the nonvolatile storage element 12 that stores the state of the information processing apparatus.

OS等の情報処理装置の制御ソフトの入れ替えや更新等で、情報処理装置を初期状態S1へ移行する場合は、動作状態S2から初期状態S1へ遷移する(T8)。この遷移は、情報処理装置の状態を記憶する不揮発性の記憶素子12の情報を無効にしてしまう処理により実現できる。   When the information processing apparatus is shifted to the initial state S1 due to replacement or update of control software of the information processing apparatus such as the OS, the operation state S2 is shifted to the initial state S1 (T8). This transition can be realized by a process of invalidating information in the nonvolatile storage element 12 that stores the state of the information processing apparatus.

仮眠状態S3にある情報処理装置が、使用者の操作する起動/停止スイッチ313の変化を検出すると、動作状態S2に遷移する(T6)。このとき、情報処理装置の状態を記憶する不揮発性の記憶素子12に、現在の状態が動作状態S2であることと、以前の状態が仮眠状態S3であったことを示す識別情報を書き込む。   When the information processing apparatus in the nap state S3 detects a change in the start / stop switch 313 operated by the user, the information processing apparatus transitions to the operation state S2 (T6). At this time, identification information indicating that the current state is the operation state S2 and the previous state is the nap state S3 is written in the nonvolatile storage element 12 that stores the state of the information processing apparatus.

仮眠状態S3にある情報処理装置において、外部からの電力供給が断たれると、内部バッテリ等の電力蓄積手段32の電力を使用し、冬眠状態に遷移する(T3)。このとき、情報処理装置の状態を記憶する不揮発性の記憶素子12に、現在の状態が冬眠状態S4であることと、以前の状態が仮眠状態S3であったことを示す識別情報を書き込む。このときの電力蓄積手段32の電力の使用は、揮発性の情報を外部記憶装置2に格納する処理と、状態遷移情報を不揮発性の記憶素子12に書き込む処理が終了するまでである。   In the information processing apparatus in the nap state S3, when the power supply from the outside is cut off, the power of the power storage means 32 such as an internal battery is used to transition to the hibernation state (T3). At this time, identification information indicating that the current state is the hibernation state S4 and the previous state is the nap state S3 is written in the nonvolatile storage element 12 that stores the state of the information processing apparatus. The power of the power storage means 32 at this time is used until the process of storing volatile information in the external storage device 2 and the process of writing state transition information in the nonvolatile storage element 12 are completed.

また、仮眠状態S3が、ある定められた時間を越えて、変化しなかったら、冬眠状態S4へ遷移する(T9)。このとき、情報処理装置の状態を記憶する不揮発性の記憶素子12に、現在の状態が冬眠状態S4であることと、以前の状態が仮眠状態S3であったことを示す識別情報を書き込む。これにより、長時間使用しない情報処理装置の消費電力を削減できる。   If the nap state S3 does not change after a predetermined time, the state transitions to the hibernation state S4 (T9). At this time, identification information indicating that the current state is the hibernation state S4 and the previous state is the nap state S3 is written in the nonvolatile storage element 12 that stores the state of the information processing apparatus. Thereby, the power consumption of the information processing apparatus which is not used for a long time can be reduced.

冬眠状態S4にある情報処理装置が、外部からの電力供給を検出すると、仮眠状態S3に遷移する(T5)。このとき、情報処理装置の状態を記憶する不揮発性の記憶素子12に、現在の状態が仮眠状態S3であることと、以前の状態が冬眠状態S4であったことを示す識別情報を書き込む。   When the information processing apparatus in the hibernation state S4 detects an external power supply, the information processing device transitions to the nap state S3 (T5). At this time, identification information indicating that the current state is the nap state S3 and the previous state is the hibernation state S4 is written in the nonvolatile storage element 12 that stores the state of the information processing apparatus.

冬眠状態S4にある情報処理装置が、使用者の操作する起動/停止スイッチ313の変化を検出すると、外部からの電力供給があれば外部電力を、外部からの電力供給が無ければ、内部の電力蓄積手段32の電力を用い、動作状態S2へ遷移する(T4)。このとき、情報処理装置の状態を記憶する不揮発性の記憶素子12に、現在の状態が動作状態S2であることと、以前の状態が冬眠状態S4であったことを示す識別情報を書き込む。   When the information processing apparatus in the hibernation state S4 detects a change in the start / stop switch 313 operated by the user, the external power is supplied if there is an external power supply, and the internal power if there is no external power supply. The power of the storage means 32 is used to make a transition to the operating state S2 (T4). At this time, identification information indicating that the current state is the operation state S2 and the previous state is the hibernation state S4 is written in the nonvolatile storage element 12 that stores the state of the information processing apparatus.

冬眠状態S4から仮眠状態S3に遷移した後に、外部からの電力供給が断たれて冬眠状態S4に遷移する場合に、内部記憶装置のデータ10、LSI内部情報11、表示メモリのデータ101は更新されていないため、これら揮発性の情報を外部記憶装置2に格納する処理は行わずに冬眠状態S4に遷移する(T3)。これは、仮眠状態S3に遷移した後に、動作状態S2に遷移した情報が、情報処理装置の状態を記憶する不揮発性の記憶素子12に記録されてないことで識別する。   After the transition from the hibernation state S4 to the nap state S3, when the external power supply is cut and the transition is made to the hibernation state S4, the internal storage device data 10, the LSI internal information 11, and the display memory data 101 are updated. Therefore, the process of storing these volatile information in the external storage device 2 is not performed, and the state transits to the hibernation state S4 (T3). This is identified by the fact that the information transitioned to the operation state S2 after the transition to the nap state S3 is not recorded in the nonvolatile storage element 12 that stores the state of the information processing apparatus.

例外的な遷移として、仮眠状態S3での記憶素子のソフトエラーや、冬眠状態S4で外部記憶装置でのデータ破損等の発生により、正常に状態遷移を行えない場合は、強制的に初期状態に遷移させる(T10)。   As an exceptional transition, if the state transition cannot be performed normally due to a soft error of the storage element in the nap state S3 or data corruption in the external storage device in the hibernation state S4, the state is forcibly set to the initial state. Transition (T10).

電源回路31は、起動/停止制御部312が起動/停止スイッチ313の変化を検出した場合と、外部電力検出手段311が外部からの電力供給の変化を検出した場合に、電力供給線42を用いて、情報処理装置本体電子回路1に電力を供給する。この時の使用電力は、外部からの供給電力または内部の電力蓄積手段32の電力を電力切替手段314で選択して使用する。   The power supply circuit 31 uses the power supply line 42 when the start / stop control unit 312 detects a change in the start / stop switch 313 and when the external power detection unit 311 detects a change in power supply from the outside. Thus, power is supplied to the information processing apparatus main body electronic circuit 1. The power used at this time is selected from the power supplied from the outside or the power stored in the internal power storage means 32 by the power switching means 314.

外部電力検出手段311と起動/停止制御部312は、内部の電力蓄積手段32の電力または、外部からの供給電力のどちらか一方が供給されていれば動作可能な構成にする。   The external power detection unit 311 and the start / stop control unit 312 are configured to be operable as long as either the power of the internal power storage unit 32 or the externally supplied power is supplied.

電力供給を受けた情報処理装置本体電子回路1は、情報処理装置の状態を記憶する不揮発性の記憶素子12の情報と、電源回路状態出力線43,44の状態を調べ、遷移すべき内部状態を決定し、必要な処理を行う。   The information processing apparatus main body electronic circuit 1 to which the power is supplied checks the information of the nonvolatile storage element 12 that stores the state of the information processing apparatus and the states of the power supply circuit state output lines 43 and 44, and the internal state to be transited. And perform the necessary processing.

このときの処理とは、動作状態S2から仮眠状態S3への遷移では、内部記憶装置や表示メモリ等の揮発性記憶素子とその記憶維持に必要な制御回路にのみ電力を供給し、内部情報の記憶に関係しない電子回路への電力供給を停止する処理である。   In this process, in the transition from the operation state S2 to the nap state S3, power is supplied only to the volatile storage elements such as the internal storage device and the display memory and the control circuit necessary for maintaining the storage, and the internal information This is a process of stopping power supply to an electronic circuit not related to storage.

動作状態S2または仮眠状態S3から冬眠状態S4への遷移では、内部記憶装置のデータ10、LSI内部情報11、表示メモリのデータ101といった揮発性の情報を、不揮発性の外部記憶装置2のそれぞれの格納領域21,22,211に格納し、電力切断信号44を用いて、情報処理装置本体電子回路1に対する電力供給を停止する処理である。   In the transition from the operation state S2 or the nap state S3 to the hibernation state S4, volatile information such as the internal storage device data 10, the LSI internal information 11, and the display memory data 101 is transferred to each of the nonvolatile external storage devices 2. This is processing for stopping the power supply to the information processing apparatus main body electronic circuit 1 using the power cut signal 44, which is stored in the storage areas 21, 22, 211.

仮眠状態S3から動作状態S2への遷移では、情報処理装置本体電子回路1全てに電力を供給し、使用者が利用可能な状態にする処理である。   The transition from the nap state S3 to the operation state S2 is a process of supplying power to all the information processing apparatus main body electronic circuits 1 and making the state usable by the user.

冬眠状態S4から仮眠状態S3への遷移では、不揮発性の外部記憶装置2のそれぞれの格納領域21,22,211に格納していた、情報を内部記憶装置や表示メモリ等に復元する処理である。   The transition from the hibernation state S4 to the nap state S3 is a process of restoring the information stored in the respective storage areas 21, 22, 211 of the nonvolatile external storage device 2 to the internal storage device, the display memory, or the like. .

冬眠状態S4から動作状態S2への遷移では、不揮発性の外部記憶装置2のそれぞれの格納領域21,22,211に格納していた、情報を内部記憶装置や表示メモリ等に復元し、情報処理装置本体電子回路1全てに電力を供給し、使用者が利用可能な状態にする処理である。   In the transition from the hibernation state S4 to the operation state S2, the information stored in the respective storage areas 21, 22, 211 of the nonvolatile external storage device 2 is restored to the internal storage device, the display memory, etc. This is a process for supplying power to all the electronic circuit 1 of the apparatus main body and making it available to the user.

これにより、外部からの電力供給が受けられる場合は、基本的に情報処理装置は仮眠状態S3にあるため、使用者が操作する起動/停止スイッチ313よる起動から使用可能となるまでの待ち時間が短縮され、使い勝手の良い情報処理装置を実現できる。   As a result, when the external power supply can be received, the information processing apparatus is basically in the nap state S3, and therefore, there is a waiting time from the start by the start / stop switch 313 operated by the user until it can be used. An information processing apparatus that is shortened and easy to use can be realized.

以下、本発明の第2の実施の形態を図5〜図15を用いて説明する。   Hereinafter, a second embodiment of the present invention will be described with reference to FIGS.

図5は、本発明の第2の実施の形態にかかる情報処理装置の外観を模式的に示した外観斜視図である。   FIG. 5 is an external perspective view schematically showing the external appearance of the information processing apparatus according to the second embodiment of the present invention.

情報処理装置5は、CPU、記憶装置などを含む本体部50と、情報入力手段531と、画面表示部58とから構成される。本体部50には、動作中断スイッチ533と、外部電力供給操作部574とが設けられ、電力供給線45を介して外部から電力が供給される。外部電力供給操作部574は、外部からの電力を供給するか、遮断するかを決定する機械的なスイッチで、情報処理装置使用者は通常このスイッチをオンにしたままにしておく。情報処理装置5の動作を中断して仮眠状態S3へと移行するための作業中断スイッチ533は、作業中断操作部にあり、これは本体部50への割込み信号を発生する。仮眠状態S3から動作状態S2へは、動作中断スイッチ533または情報入力手段531からの入力により移行する。   The information processing apparatus 5 includes a main body unit 50 including a CPU and a storage device, an information input unit 531, and a screen display unit 58. The main body 50 is provided with an operation interruption switch 533 and an external power supply operation unit 574, and is supplied with power from the outside through the power supply line 45. The external power supply operation unit 574 is a mechanical switch that determines whether to supply or shut off external power, and the information processing apparatus user normally keeps this switch on. A work interruption switch 533 for interrupting the operation of the information processing apparatus 5 and shifting to the nap state S3 is provided in the work interruption operation unit, which generates an interrupt signal to the main body unit 50. The transition from the nap state S3 to the operation state S2 is made by an input from the operation interruption switch 533 or the information input means 531.

図6は、情報処理装置5の構造を模式的に示した機能ブロック図である。この実施の形態は、動作中断時の状態に復帰する機能と、何らかの原因により、動作中断時の状態に復帰することに失敗した場合か、あるいは使用者の指示により起動時の状態へ復帰する機能とを備えている。   FIG. 6 is a functional block diagram schematically showing the structure of the information processing apparatus 5. This embodiment has a function to return to the state at the time of operation interruption and a function to return to the state at the time of start-up in case of failure to return to the state at the time of operation interruption for some reason And.

本発明の第2の実施の形態にかかる情報処理装置5は、少なくとも情報処理装置本体電子回路50と、不揮発性記憶装置55と、電源部57を備えている。情報処理装置本体電子回路50は、記憶装置制御部51と、揮発性記憶装置52と、動作中断スイッチ/情報入力手段53とを備えている。揮発性記憶装置52は、主記憶装置521と、表示用メモリ522とを備え、主記憶装置521にはデバイス内部情報5211が格納されている。   The information processing apparatus 5 according to the second embodiment of the present invention includes at least an information processing apparatus body electronic circuit 50, a nonvolatile storage device 55, and a power supply unit 57. The information processing apparatus main body electronic circuit 50 includes a storage device control unit 51, a volatile storage device 52, and an operation interruption switch / information input unit 53. The volatile storage device 52 includes a main storage device 521 and a display memory 522, and device internal information 5211 is stored in the main storage device 521.

不揮発性記憶装置55は、内部に揮発性記憶装置内のデータを格納する領域552と、起動処理時に参照するフラグを格納する起動フラグ記憶領域551を備えている。   The nonvolatile storage device 55 includes an area 552 for storing data in the volatile storage device and a start flag storage area 551 for storing a flag to be referred to during start processing.

また、不揮発性記憶装置55の揮発性記憶装置内のデータを格納する領域552は、動作中断時の情報を格納するための領域、すなわち、作業終了時のハイバネーションファイル領域5521と、情報処理装置のOSが起動した時点での情報を格納するための領域、すなわちOS起動時のハイバネーションファイル領域5522が用意されている。この明細書では、不揮発性記憶装置内へ退避した情報を記録した部分をハイバネーションファイルと呼ぶ。   An area 552 for storing data in the volatile storage device of the nonvolatile storage device 55 is an area for storing information at the time of operation interruption, that is, a hibernation file region 5521 at the end of work, and an information processing device. An area for storing information at the time when the OS is activated, that is, a hibernation file area 5522 at the time of OS activation is prepared. In this specification, a portion in which information saved in the nonvolatile storage device is recorded is called a hibernation file.

電源部57は、少なくとも揮発性記憶装置およびその内容を保持するための部分への電力供給線421と、その他の部分への電力供給線422の2系統を備えている。揮発性記憶装置52およびその内容を保持するための部分以外への電力供給線422には、情報処理装置本体電子回路50より制御が可能な電力供給遮断部571を備えている。   The power supply unit 57 includes at least two systems of a power supply line 421 to a part for holding a volatile storage device and its contents, and a power supply line 422 to the other part. The power supply line 422 to a portion other than the volatile storage device 52 and the portion for holding the contents thereof includes a power supply cutoff unit 571 that can be controlled by the information processing apparatus main body electronic circuit 50.

図7を用いて情報処理装置5のより詳細な機能ブロック構成を説明する。情報処理装置5は、情報処理装置本体電子回路50と、不揮発性記憶装置55と、電源部57と、画面表示部58とから構成される。情報処理装置本体電子回路50は、記憶装置制御部51と、揮発性記憶装置52と、動作中断スイッチ/情報入力手段53とから構成される。   A more detailed functional block configuration of the information processing apparatus 5 will be described with reference to FIG. The information processing apparatus 5 includes an information processing apparatus main body electronic circuit 50, a nonvolatile storage device 55, a power supply unit 57, and a screen display unit 58. The information processing apparatus main body electronic circuit 50 includes a storage device controller 51, a volatile storage device 52, and an operation interruption switch / information input means 53.

情報処理装置本体電子回路50内の記憶装置制御部51は、CPU511と、BIOS ROM512と、メモリコントローラ,バスコントローラの機能を持つチップセット513と、Super I/O,キーボードコントローラ,割込みコントローラの機能を持つチップセット514と、VGAコントローラ515とで構成されている。   The storage device control unit 51 in the information processing apparatus main body electronic circuit 50 has functions of a CPU 511, a BIOS ROM 512, a chip set 513 having functions of a memory controller and a bus controller, a super I / O, a keyboard controller, and an interrupt controller. The chip set 514 has a VGA controller 515.

揮発性記憶装置部52は、主記憶として働くDRAM521と、表示用メモリとして働くVRAM522で構成されており、主記憶521には、デバイス内部情報が格納されるデバイス内部情報格納領域5211が設けられている。   The volatile storage unit 52 includes a DRAM 521 serving as a main memory and a VRAM 522 serving as a display memory. The main memory 521 is provided with a device internal information storage area 5211 in which device internal information is stored. Yes.

動作中断スイッチ/情報入力手段53は、キーボード531と、チャタリング防止回路532と、通常ハイに設定されている電圧をGNDレベルへ落とす動作中断スイッチ533とからなっている。   The operation interruption switch / information input means 53 includes a keyboard 531, a chattering prevention circuit 532, and an operation interruption switch 533 that drops a voltage normally set to high to the GND level.

不揮発性記憶装置55は、ハードディスク553およびRTC/CMOSメモリ554で構成される。動作中断時のハイバネーションファイル領域およびOS起動時のハイバネーションファイル領域5521をハードディスク553に設ける。起動フラグ記憶領域551をRTC/CMOSメモリ554に設ける。   The nonvolatile storage device 55 includes a hard disk 553 and an RTC / CMOS memory 554. The hard disk 553 is provided with a hibernation file area when the operation is interrupted and a hibernation file area 5521 when the OS is started. An activation flag storage area 551 is provided in the RTC / CMOS memory 554.

電源部57は、FETからなる電力供給遮断部571と、電圧変換部として働くDC/DCコンバータ572と、整流部として働くAC/DCコンバータ573と、外部電力供給操作スイッチとして働くメカニカルスイッチ574とを備える。電力供給線421,422のうち、揮発性記憶装置52およびその内容を保持するため以外の電力供給線422は、DC/DCコンバータ572から電力供給遮断部(FET)571を介して記憶装置制御部51、不揮発性記憶装置55のハードディスク553、画面表示装置58の各部へ接続される。   The power supply unit 57 includes a power supply cutoff unit 571 made of FET, a DC / DC converter 572 that works as a voltage conversion unit, an AC / DC converter 573 that works as a rectification unit, and a mechanical switch 574 that works as an external power supply operation switch. Prepare. Among the power supply lines 421 and 422, the volatile storage device 52 and the power supply line 422 other than for holding the contents are connected from the DC / DC converter 572 to the storage device control unit via the power supply cutoff unit (FET) 571. 51, the hard disk 553 of the non-volatile storage device 55, and each part of the screen display device 58.

図8を用いて、この実施の形態がとりうる状態とその遷移条件を説明する。この実施の形態では、停止状態S11と、動作状態S2と、仮眠状態S3と、冬眠状態S4と、ハイバネーションファイル作成状態S5とを有している。   The states that can be taken by this embodiment and the transition conditions thereof will be described with reference to FIG. In this embodiment, there are a stop state S11, an operation state S2, a nap state S3, a hibernation state S4, and a hibernation file creation state S5.

停止状態S11とは、情報処理装置5に外部電源が供給されておらず、また外部電力供給操作スイッチ574がオフにある状態である。これは情報処理装置5に初めて電源を投入するときの状態で、外部電力を供給し、スイッチ574をオンにすることにより、起動処理を開始する。起動処理後、OS起動時のハイバネーションファイルを作成し、動作状態S2へと遷移する(T11)。   The stop state S11 is a state where no external power is supplied to the information processing apparatus 5 and the external power supply operation switch 574 is off. This is the state when the information processing apparatus 5 is first turned on, and external power is supplied and the switch 574 is turned on to start the startup process. After the boot process, a hibernation file at the time of booting the OS is created, and a transition is made to the operating state S2 (T11).

動作状態S2とは、情報処理装置5を使用して作業を行える状態である。使用者が作業を終了、あるいは中断する場合、動作中断スイッチ53をオンにする。これにより、情報処理装置5の状態は、ハイバネーションファイル作成状態S5へと遷移する(T12)。   The operation state S2 is a state in which the information processing apparatus 5 can be used for work. When the user finishes or interrupts the work, the operation interruption switch 53 is turned on. Thereby, the state of the information processing apparatus 5 transits to the hibernation file creation state S5 (T12).

ハイバネーションファイル作成状態(S5)とは、動作中断時の揮発性記憶装置52内の情報を不揮発性記憶装置55へ退避している状態である。退避中にキー入力など何か外部からの操作があった場合、退避作業を中断し、動作状態S2へと遷移する(T13)。揮発性記憶装置52内のすべての情報を退避し、ハイバネーションファイルの作成が完了すると、不揮発性記憶装置55の起動フラグ記憶領域551へハイバネーション情報を保存した後、仮眠状態S3へと遷移する(T15)。使用者の指示により、OS起動ハイバネーションが優先されている場合には退避処理を行わず、起動フラグ記憶領域551へハイバネーション情報を保存した後、仮眠状態S3へと遷移する。   The hibernation file creation state (S5) is a state in which the information in the volatile storage device 52 when the operation is interrupted is saved to the nonvolatile storage device 55. If there is any external operation such as a key input during evacuation, the evacuation operation is interrupted and the operation state S2 is changed (T13). When all information in the volatile storage device 52 is saved and the creation of the hibernation file is completed, the hibernation information is stored in the activation flag storage area 551 of the nonvolatile storage device 55, and then the state transits to the nap state S3 (T15). ). If the OS activation hibernation is given priority according to the user's instruction, the save process is not performed and the hibernation information is stored in the activation flag storage area 551, and then the state transitions to the nap state S3.

仮眠状態S3とは、揮発性記憶装置52関連の部分への電力供給を停止せず、画面表示部58など動作中断時の状態に復帰する機能とは無関係の部分への電力を切断している状態である。   The nap state S3 does not stop the power supply to the parts related to the volatile storage device 52, but cuts off the power to the part unrelated to the function of returning to the state at the time of the operation interruption such as the screen display unit 58. State.

使用者はこの状態を通常の電源オフの状態として扱う。揮発性記憶装置52内には、動作中断スイッチ533をオンにした時点の情報がそのまま維持されており、キーボード531入力等外部からの操作があれば、直ちに切断していた部分への電力の供給を再開し、動作状態S2へと遷移し、作業を再開することができる(T14)。   The user treats this state as a normal power-off state. In the volatile storage device 52, the information at the time when the operation interruption switch 533 is turned on is maintained as it is, and if there is an external operation such as keyboard 531 input, power is immediately supplied to the part that was disconnected. Can be resumed, transition to the operation state S2, and work can be resumed (T14).

仮眠状態S3中に情報処理装置5への外部電力供給が停止した場合、情報処理装置5は冬眠状態S4へと遷移する(T16)。冬眠状態S4は、停止状態S11とは異なり、外部電力供給操作スイッチ574はオンの状態のままであり、不揮発性記憶装置55内にはハイバネーションファイルが存在している。また、起動フラグも停止状態のときとは異なった値になっている。   When the external power supply to the information processing device 5 is stopped during the nap state S3, the information processing device 5 transitions to the hibernation state S4 (T16). In the hibernation state S4, unlike the stop state S11, the external power supply operation switch 574 remains on, and a hibernation file exists in the nonvolatile storage device 55. Also, the start flag has a value different from that in the stop state.

冬眠状態S4中に外部からの電力供給が再開された場合、情報処理装置5は直ちに起動処理を開始し、仮眠状態S3へと遷移する(T17)。この起動処理は、通常、ハイバネーション作成状態S5で退避された不揮発性記憶装置55内の動作中断時の情報を、揮発性記憶装置52へと復帰させるが、これに失敗した場合、もしくはOS起動時の再現が優先されている場合は停止状態S11から動作状態S2への遷移(T11)で作成されたハイバネーションファイルを復帰する。   When power supply from the outside is resumed during the hibernation state S4, the information processing apparatus 5 immediately starts the activation process and transitions to the nap state S3 (T17). This startup process normally restores the information at the time of the operation interruption in the nonvolatile storage device 55 saved in the hibernation creation state S5 to the volatile storage device 52. If this fails, or when the OS is started In the case where the reproduction is prioritized, the hibernation file created in the transition (T11) from the stop state S11 to the operation state S2 is restored.

図9のフローチャートを用いて、停止状態S11/冬眠状態S5からの遷移(T11),(T17)を実現する起動処理を説明する。なお、この起動処理を行うプログラムはBIOS ROM512内に存在する。   The start-up process for realizing the transitions (T11) and (T17) from the stop state S11 / hibernation state S5 will be described using the flowchart of FIG. It should be noted that a program for performing the activation process exists in the BIOS ROM 512.

まず、停止状態S11からの起動の流れ(遷移(T11))を説明する。起動処理が開始されると、CPU511はBIOS ROM512に割り当てられたアドレスをアクセスし、ここに書かれているプログラムに従ってまず情報処理装置5内の主記憶の容量の認識やハードディスクのチェックなど各デバイスのチェックと初期化処理を行う(ST1)。   First, the flow of activation from the stop state S11 (transition (T11)) will be described. When the startup process is started, the CPU 511 accesses the address assigned to the BIOS ROM 512, and first recognizes the capacity of the main memory in the information processing apparatus 5 and checks the hard disk in accordance with the program written here. Checking and initialization processing are performed (ST1).

次に、RTC/CMOSメモリ551に記録されている起動フラグFを参照し、停止状態S11からの起動であるか、冬眠状態S4からの起動であるか、あるいはリブートであるかを判断する(ST2)。停止状態S11からの起動時は、起動フラグFは初期値“0”となっており、起動フラグのチェック(ST2)では、起動フラグFが“0”または“2”のときはステップST3へ、起動フラグFが“0”および“2”以外のときはステップST5へと分岐する。   Next, with reference to the activation flag F recorded in the RTC / CMOS memory 551, it is determined whether the activation is from the stop state S11, the activation from the hibernation state S4, or the reboot (ST2). ). When starting from the stop state S11, the start flag F has an initial value “0”. In the start flag check (ST2), when the start flag F is “0” or “2”, the process proceeds to step ST3. When the activation flag F is other than “0” and “2”, the process branches to step ST5.

図10に起動フラグFの取りうる値とその機能を示す。F=0は、初期値または停止の状態である。F=1は、通常のハイバネーション状態を示し、ハイバネーションファイルがハードディスクに格納されて正常に終了した状態を示している。F=2は、OS起動ハイバネーションであり、OS起動時のハイバネーションファイルを用いてOSを起動する状態を示している。F=3は、ハイバネーションファイル作成開始状態を示し、図8の遷移(T12)状態であり、正常終了時にはF=1とされる。F=4は、ハイバネーションファイル復帰状態を示し、図8の遷移(T14)状態である。   FIG. 10 shows possible values of the activation flag F and their functions. F = 0 is an initial value or a stopped state. F = 1 indicates a normal hibernation state, and indicates a state in which the hibernation file is stored on the hard disk and is normally terminated. F = 2 is OS boot hibernation, and indicates a state in which the OS is booted using the hibernation file at the time of booting the OS. F = 3 indicates a hibernation file creation start state, which is the transition (T12) state in FIG. 8, and is set to F = 1 at the normal end. F = 4 indicates a hibernation file return state, which is the transition (T14) state of FIG.

ステップST2において、起動フラグFが“0”または“2”ときは、起動フラグFが“0”であるか“2”であるかを判定し(ST3)、起動フラグFが“0”のときは、前回作業終了時のハイバネーションファイル領域の初期化を行い(ST4)、続いてOS起動時のハイバネーションファイル領域の初期化(ST10)を行った後、OSの起動処理にはいる(ST11)。OSが起動した時点で、OS起動時の揮発性記憶装置52内の情報を不揮発性記憶装置55内のステップST4で初期化しておいた領域へと退避し、OS起動時のハイバネーションファイルを作成する(ST12)。このとき、OSが起動した時点で処理はOS側へ移るが、起動時点でシステムBIOSプログラムのコールができないOSの場合は、ある特定のハードウエア割込みで処理をシステムBIOS側へ移行してもよい。ハイバネーションファイル完成後、エラーフラグをチェックする(ST13)が、ここまでの処理でフラグが立つことはなく、動作状態S2へと移行する(ST14)。   In step ST2, when the activation flag F is “0” or “2”, it is determined whether the activation flag F is “0” or “2” (ST3). When the activation flag F is “0” Initialize the hibernation file area at the end of the previous work (ST4), and then initialize the hibernation file area at the time of OS activation (ST10), and then enter the OS activation process (ST11). At the time when the OS is started, the information in the volatile storage device 52 at the time of OS startup is saved to the area initialized in step ST4 in the nonvolatile storage device 55, and a hibernation file at the time of OS startup is created. (ST12). At this time, the process shifts to the OS side when the OS is started. However, if the OS cannot call the system BIOS program at the start point, the process may be shifted to the system BIOS side by a specific hardware interrupt. . After completion of the hibernation file, the error flag is checked (ST13). However, the flag is not set in the processing so far, and the process shifts to the operation state S2 (ST14).

ステップST3において、起動フラグFが“2”のときは、OS起動時のハイバネーションファイルをチェックし(ST8)、ファイルに異常があるときは、エラーフラグをセットし(ST9)、OS起動時のハイバネーションファイル領域を初期化する(ST10)。以下、起動フラグFが“0”のときと同様な処理を行なう。   In step ST3, when the startup flag F is “2”, the hibernation file at the time of OS startup is checked (ST8), and when there is an abnormality in the file, an error flag is set (ST9), and the hibernation at the time of OS startup is performed. The file area is initialized (ST10). Thereafter, the same processing as when the activation flag F is “0” is performed.

次に、冬眠状態S4からの起動の場合(遷移(T17))を説明する。各デバイスをチェックした(ST1)後、通常のハイバネーションへと分岐する場合と、ユーザーがOS起動時のハイバネーションファイルを優先する選択をしていればOS起動ハイバネーションを行う場合とに別れる。ステップST2において起動フラグFをチェックした結果、起動フラグFが“0”または“2”以外の場合には、起動フラグFが“1”であるかどうかをチェックする(ST5)。ステップST5のチェックの結果、起動フラグFが“1”以外であるときには、エラーフラグをセットし(ST6)、前回作業終了時のハイバーネーションファイル領域を初期化した(ST7)後、前述のステップST8へ移行する。   Next, the case of activation from hibernation state S4 (transition (T17)) will be described. After checking each device (ST1), there are two cases: branching to normal hibernation, and performing OS boot hibernation if the user has selected to prioritize the hibernation file at the time of booting the OS. As a result of checking the activation flag F in step ST2, if the activation flag F is other than “0” or “2”, it is checked whether the activation flag F is “1” (ST5). As a result of the check in step ST5, when the activation flag F is other than “1”, an error flag is set (ST6), and the hibernation file area at the end of the previous work is initialized (ST7), and then the above-described step ST8 is performed. Migrate to

通常のハイバネーションを行う場合は、起動フラグFは“1”となっており、最初の起動フラグをチェックして(ST2)、起動フラグFが“0”または“2”以外へと分岐し、さらに(ST5)の起動フラグチェックでハイバネーションファイルの保存状況をチェックする。F=1の場合は正常に前回作業終了時のハイバネーションファイルが作成されているので、ステップST15にてファイルチェックを行う。正常の場合は、起動フラグF=4をセット(ST16)し、ハイバネーションファイルを復帰するという情報を保存する。ステップST17でハイバネーションファイルを揮発性記憶装置52へと復帰し、その後エラーフラグも立っていないので仮眠状態S3へと遷移する(ST20)。   When performing normal hibernation, the activation flag F is “1”, the first activation flag is checked (ST2), the activation flag F branches to other than “0” or “2”, and The save state of the hibernation file is checked by the activation flag check in (ST5). If F = 1, the hibernation file at the end of the previous work has been normally created, so a file check is performed in step ST15. If it is normal, the activation flag F = 4 is set (ST16), and information that the hibernation file is restored is stored. In step ST17, the hibernation file is restored to the volatile storage device 52. After that, since the error flag is not raised, the state transits to the nap state S3 (ST20).

ファイルが破損した場合や、メモリの増設等、情報処理装置のハードウエア構成が変更されているなど、何らかの理由によりステップST15でファイルが異常であると判断された場合、もしくはステップST5の起動フラグチェックでF=1以外の値が検出された場合にはエラーフラグをセットし(ST6)、改めて前回作業終了時のハイバネーションファイル領域を初期化する(ST7)。なお、エラーフラグはエラー無しで0、有りで1の値を取り、起動フラグ記憶領域のような不揮発性記憶装置ではなく、揮発性メモリの主記憶上に設定される起動処理プログラムの変数の一つである。その後、OS起動時のハイバネーションファイルチェック(ST8)を行う。正常の場合はハイバネーションファイルを揮発性記憶装置へと復帰し、エラーメッセージを表示(ST19)、その後仮眠状態S3へと遷移する。   When it is determined that the file is abnormal in step ST15 for some reason, such as when the file is damaged or the hardware configuration of the information processing apparatus has been changed, such as adding memory, or when the activation flag is checked in step ST5 If a value other than F = 1 is detected, an error flag is set (ST6), and the hibernation file area at the end of the previous work is initialized again (ST7). The error flag takes a value of 0 without error and 1 with error, and is one of the variables of the startup processing program set on the main memory of the volatile memory, not the nonvolatile storage device such as the startup flag storage area. One. Thereafter, a hibernation file check (ST8) at the time of OS startup is performed. If normal, the hibernation file is restored to the volatile storage device, an error message is displayed (ST19), and then the state transitions to the nap state S3.

ステップST8の判定でも異常であると判断された場合は、エラーフラグをセット(ST9)(ただしこの時はステップST6ですでにエラーフラグが立っているので実際には値は変わらない)し、改めてOS起動時のハイバネーションファイル領域を初期化(ST10)した後、停止状態S11からの起動と同様にOSの起動処理を行う(ST11)。OSが起動した時点で揮発性記憶装置内の情報を不揮発性記憶装置内の初期化しておいた領域へと退避、OS起動時のハイバネーションファイルを作成する(ST12)。   If it is determined in step ST8 that it is abnormal, an error flag is set (ST9) (however, since the error flag is already set in step ST6, the value does not actually change) After initializing the hibernation file area at the time of OS startup (ST10), OS startup processing is performed in the same manner as the startup from the stopped state S11 (ST11). When the OS is activated, information in the volatile storage device is saved to an initialized area in the nonvolatile storage device, and a hibernation file at the time of OS activation is created (ST12).

ここでも停止状態S11からの起動と同様に、OSが起動した時点でシステムBIOSプログラムのコールができないOSの場合は、ある特定のハードウエア割込みで処理をシステムBIOS側へ移行してもよい。このとき、OSが起動した時点で処理はOS側へ移るが、起動時点でシステムBIOSプログラムのコールができないOSの場合は、ある特定のハードウエア割込みで処理をシステムBIOS側へ移行してもよい。   Here, similarly to the activation from the stop state S11, when the OS cannot call the system BIOS program when the OS is activated, the processing may be shifted to the system BIOS by a specific hardware interrupt. At this time, the process shifts to the OS side when the OS is started. However, if the OS cannot call the system BIOS program at the start point, the process may be shifted to the system BIOS side by a specific hardware interrupt. .

その後、エラーフラグチェック(ST13)を行い、ステップST6、ステップST9でエラーフラグが立っているため、エラーメッセージを表示し(ST19)、仮眠状態へと遷移する(ST20)。   After that, an error flag check (ST13) is performed, and since an error flag is set in steps ST6 and ST9, an error message is displayed (ST19), and a transition to a nap state is made (ST20).

ユーザーがOS起動時のハイバネーションファイルを優先していた場合は、最初の起動フラグチェック(ST2)でF=2へと分岐、次の起動フラグチェック(ST3)でもF=2へと分岐する。その結果、前回作業終了時のハイバネーションに関する処理をとばしてすぐにOS起動時のハイバネーションファイルチェック(ST8)まで進む。その後は同様の処理を行う。OS起動時のハイバネーションファイルを揮発性記憶装置へ復帰した場合は、起動フラグの値は変更しない。   If the user gives priority to the hibernation file at the time of OS startup, the process branches to F = 2 in the first startup flag check (ST2), and also branches to F = 2 in the next startup flag check (ST3). As a result, the process related to hibernation at the end of the previous work is skipped, and the process immediately proceeds to the hibernation file check (ST8) when the OS is started. Thereafter, the same processing is performed. When the hibernation file at the time of OS startup is restored to the volatile storage device, the value of the startup flag is not changed.

情報処理装置を再起動する場合は、不揮発性記憶装置の起動フラグFを初期値0にセットし、停止状態S11からの起動処理を再現することで実現する。   Rebooting the information processing apparatus is realized by setting the activation flag F of the nonvolatile storage device to an initial value 0 and reproducing the activation process from the stop state S11.

ハイバネーションファイル作成状態S5中のフローは図11の様になる。この処理を行うプログラムは、起動処理を行うプログラムと同様にBIOS ROM512内に存在する。動作状態S2中に動作中断ボタン533を押すと、この処理を開始する(遷移(T12))。   The flow in the hibernation file creation state S5 is as shown in FIG. The program that performs this process exists in the BIOS ROM 512, as does the program that performs the startup process. When the operation interruption button 533 is pressed during the operation state S2, this process is started (transition (T12)).

まず、現在、不揮発性記憶装置55へアクセスを行っている全てのプログラムについて、その処理を終了させる(ST31)。次に、キーボード割込みと、動作中断スイッチ割り込みのベクタテーブルにあるアドレスをハイバネーションファイル作成を中断し、動作状態へ戻るプログラムが配置されているアドレスに書き換える(ST32)。次にOS起動時のハイバネーションファイルを優先するかどうかを判定する(ST33)。起動フラグFが“2”であれば、現在の動作中断時のハイバネーションファイルを作成せず、すぐに仮眠状態S3へ移行する(遷移(T15))。ステップST33の判定で起動フラグFが“2”以外であれば、起動フラグF=3をセットし(ST34)、ハイバネーションファイル作成開始の情報を起動フラグ領域へ保存する。その後、現在の揮発性記憶装置の内容を不揮発性記憶装置へ退避し、動作中断時のハイバネーションファイルを作成する(ST35)。   First, the processing is terminated for all programs that are currently accessing the nonvolatile storage device 55 (ST31). Next, the address in the vector table of the keyboard interrupt and the operation interruption switch interrupt is rewritten to the address where the program for suspending the hibernation file creation and returning to the operation state is arranged (ST32). Next, it is determined whether or not priority is given to the hibernation file at the time of OS startup (ST33). If the activation flag F is “2”, the hibernation file at the time of the current operation interruption is not created, and the state immediately shifts to the nap state S3 (transition (T15)). If it is determined in step ST33 that the activation flag F is other than “2”, the activation flag F = 3 is set (ST34), and information on the start of hibernation file creation is stored in the activation flag area. Thereafter, the current contents of the volatile storage device are saved in the nonvolatile storage device, and a hibernation file at the time of operation interruption is created (ST35).

キーボード割込み、動作中断スイッチ割込みが発生せず、ハイバネーションファイルの作成が完了すると、起動フラグF=1をセットして起動フラグ記憶領域へその情報を記録し(ST36)、仮眠状態S3へと移行する(ST37)(遷移(T15))。   When the keyboard interruption and the operation interruption switch interruption do not occur and the creation of the hibernation file is completed, the activation flag F = 1 is set and the information is recorded in the activation flag storage area (ST36), and the process shifts to the nap state S3. (ST37) (Transition (T15)).

もし、ステップST32以降の処理中にキーボード割込み信号あるいは動作中断スイッチからの割込み信号を検出した場合は、書き換えたベクタアドレスに従ってステップST38へと分岐する。ここで書き換えたベクタアドレスをもとのアドレスに直し(ST38)、ハイバネーションファイルの作成を中断して動作状態S2へと移行する(遷移(T13))(ST39)。   If a keyboard interrupt signal or an interrupt signal from the operation interruption switch is detected during the processing after step ST32, the process branches to step ST38 according to the rewritten vector address. The rewritten vector address is changed to the original address (ST38), the hibernation file creation is interrupted, and the operation state S2 is entered (transition (T13)) (ST39).

メモリマップを模式的に表した図12を用いて、この実施の形態におけるメモリマップを説明する。動作中断ボタンが押されると、割込みベクタテーブル(メモリの先頭アドレス近くにある各割込みベクタアドレスがかかれている部分)に記述されている動作中断ボタン割込みアドレスADDR2に従って、ROM領域内のハイバネーションファイル作成状態プログラムの処理が開始される。   The memory map in this embodiment will be described with reference to FIG. 12 schematically showing the memory map. When the operation interrupt button is pressed, the hibernation file creation state in the ROM area is determined according to the operation interrupt button interrupt address ADDR2 described in the interrupt vector table (the part where each interrupt vector address near the top address of the memory is written). Program processing begins.

ステップST32によって書き換えられる割込みベクタテーブルのアドレスは、この動作中断ボタン割込みアドレスADDR2と、キーボード割込みアドレスADDR1である。キーボード割込みアドレスADDR1は、ROM領域内のキーコード取得プログラムの先頭アドレスを示している。アドレスADDR1,ADDR2は、両方ともハイバネーションファイル作成状態中断処理プログラムの先頭アドレスADDR3に書き換えられる。これにより、ハイバネーションファイル作成状態中にキーボードあるいは動作中断スイッチが押され、割り込みが発生した場合は処理はADDR3へとぶ。そこからの処理でステップST38の処理によって書き換えた割込みベクタアドレスを元のADDR1、ADDR2へと戻した後、ハイバネーションファイル作成状態プログラムへの割込みがかかった時点の以前の処理へと戻り、動作状態S2へと移行する。   The addresses of the interrupt vector table rewritten in step ST32 are the operation interrupt button interrupt address ADDR2 and the keyboard interrupt address ADDR1. The keyboard interrupt address ADDR1 indicates the head address of the key code acquisition program in the ROM area. Both the addresses ADDR1 and ADDR2 are rewritten to the head address ADDR3 of the hibernation file creation state interruption processing program. As a result, when the keyboard or the operation interruption switch is pressed during the state of creating the hibernation file and an interruption occurs, the process goes to ADDR3. After the interrupt vector address rewritten by the process of step ST38 is returned to the original ADDR1 and ADDR2 in the process from there, the process returns to the previous process at the time when the interruption to the hibernation file creation state program is applied, and the operation state S2 Migrate to

仮眠状態S3中の処理を図13を用いて説明する。この処理を行うプログラムは、BIOS ROM512内に存在する。仮眠状態S3に遷移後は、情報処理装置は動作中断スイッチ割込みあるいはキーボード割込みの発生待ち状態となる(ST41)。割込みが発生しない限りはステップST41から先へ処理が進むことはない。割込みが発生すると、起動フラグFをチェックしてOS起動ハイバネーションを優先しているかどうかを判定する(ST42)。起動フラグFが“2”すなわちOS起動ハイバネーションであれば、すぐに動作状態S2へと移行する(ST44)(遷移T14)。起動フラグFが“2”でなかった場合は、起動フラグFに“4”すなわちハイバネーションファイル復帰をセットし(ST43)、動作状態S2へと移行する(ST44)。   Processing in the nap state S3 will be described with reference to FIG. A program for performing this process exists in the BIOS ROM 512. After the transition to the nap state S3, the information processing apparatus waits for an operation interruption switch interrupt or a keyboard interrupt (ST41). As long as no interrupt occurs, the process does not proceed from step ST41. When an interrupt occurs, the activation flag F is checked to determine whether or not OS activation hibernation is prioritized (ST42). If the activation flag F is “2”, that is, if the OS activation hibernation, the operation state S2 is immediately shifted to (ST44) (transition T14). If the activation flag F is not “2”, the activation flag F is set to “4”, that is, return to the hibernation file (ST43), and the process proceeds to the operation state S2 (ST44).

図14に各状態の遷移と起動フラグFの変化の関係をまとめて模式的に示した。停止状態S11では、起動フラグFの初期値は“0”とされ、起動処理後、動作状態S2へと移行する。このとき、起動フラグFの値は“0”のままである。   FIG. 14 schematically shows the relationship between the transition of each state and the change of the activation flag F. In the stop state S11, the initial value of the start flag F is set to “0”, and after the start process, the process proceeds to the operation state S2. At this time, the value of the activation flag F remains “0”.

動作状態S2では、起動フラグFは使用者の指示によって、OS起動ハイバネーションを優先する場合はF=2へ、再起動する場合はF=0へ書き換えることができる(再起動の場合はそのまま起動処理へ移行する)。動作状態S2では、F=0、2に加え、ハイバネーションファイル復帰後のF=4と、ハイバネーションファイル作成を中断して動作状態S2へ復帰した場合のF=3の4つの値を取りうる。   In the operation state S2, the activation flag F can be rewritten to F = 2 when priority is given to OS activation hibernation, and to F = 0 when it is reactivated (in the case of reactivation, the activation process is performed as it is). ). In the operation state S2, in addition to F = 0 and 2, four values of F = 4 after restoration of the hibernation file and F = 3 when the hibernation file creation is interrupted and the operation state S2 is restored can be taken.

動作状態S2では、いずれの起動フラグの状態でも、動作中断スイッチ533を押すことでハイバネーションファイル作成状態S5の処理へ移行する。   In the operation state S2, regardless of the state of any activation flag, pressing the operation interruption switch 533 causes the process to proceed to the hibernation file creation state S5.

動作中断スイッチ533が押されると、図11の処理に従って、起動フラグFが“2”の場合はそのまま仮眠状態S3へ、それ以外の場合はまずハイバネーションファイル作成開始時に起動フラグFは“3”となり、ハイバネーションファイル作成状態S5とされ、ハイバネーションファイル作成完了後起動フラグFが“1”とされて、仮眠状態S3へ移行する。   When the operation interruption switch 533 is pressed, according to the processing of FIG. 11, if the activation flag F is “2”, it goes to the nap state S3 as it is, otherwise the activation flag F becomes “3” at the start of hibernation file creation first. The hibernation file creation state S5 is set, and after the hibernation file creation is completed, the activation flag F is set to “1”, and the process shifts to the nap state S3.

仮眠状態S3では、動作状態S2へと移行する際、起動フラグFが“1”の場合は、起動フラグFを“4”として動作状態S2へ復帰する。起動フラグFが“2”の場合はその値のまま動作状態S2へ復帰する。   In the nap state S3, when the transition to the operation state S2 is performed, if the activation flag F is “1”, the activation flag F is set to “4” and the operation state S2 is restored. When the activation flag F is “2”, the operation state S2 is returned as it is.

冬眠状態S4へ移行する場合は、起動フラグFが“1”または“2”の値はそのまま持ち越される。冬眠状態S4で外部からの電力供給が再開されると、起動フラグFが“1”の通常のハイバネーションの場合は、起動処理がなされ、起動処理後起動フラグFを“4”に設定して仮眠状態S3へ移行し、起動フラグFが“2”のOS起動ハイバネーションの場合は、起動処理がなされ仮眠状態S3へ移行し、起動フラグFが“2”のまま動作状態S2となる。   When shifting to the hibernation state S4, the value of the activation flag F of “1” or “2” is carried over as it is. When power supply from the outside is resumed in the hibernation state S4, in the case of normal hibernation where the activation flag F is “1”, activation processing is performed, and the activation flag F after activation processing is set to “4” to make a nap When the OS shifts to the state S3 and the OS startup hibernation with the startup flag F being “2”, the startup process is performed and the transition to the nap state S3 is performed, and the startup flag F remains “2” and the operation state S2 is entered.

図15を用いて、消費電力と情報処理装置の各状態の遷移の関係を説明する。この図は、縦軸に消費電力をとり、横軸に時間をとって消費電力と情報処理装置の各状態の遷移の関係をあらわした図である。停止状態S11の時点で消費電力は0である。ここから外部電力の供給を開始し、外部電力供給操作スイッチを入れて起動処理に入った時点で動作状態S2中と同じ消費電力は最大まであがる。動作中断スイッチをオンにし、ハイバネーションファイル作成状態S5時も消費電力は最大のままである。ハイバネーションファイル作成処理後仮眠状態S3になった時点で電力供給を遮断した部分の分消費電力は少なくなる。外部電力の供給が停止すると、当然消費電力は0になり、情報処理装置は冬眠状態S4になる。外部電力の供給が再開すると情報処理装置はただちに冬眠状態S4からの起動処理に入り、この時点で消費電力は最大となる。その後、起動処理の最後に仮眠状態S3へと移行するので消費電力は抑えられ、情報処理装置の状態は動作中断時と同じ状態に戻る。   The relationship between the power consumption and the transition of each state of the information processing apparatus will be described with reference to FIG. In this figure, the power consumption is plotted on the vertical axis and the time is plotted on the horizontal axis, and the relationship between the power consumption and each state transition of the information processing apparatus is shown. The power consumption is 0 at the time of the stop state S11. From this point, when the external power supply is started and the external power supply operation switch is turned on to start the startup process, the same power consumption as in the operation state S2 is maximized. The power consumption remains at the maximum even when the operation interruption switch is turned on and in the hibernation file creation state S5. After the hibernation file creation process, the power consumption is reduced by the portion where the power supply is cut off when the nap state S3 is entered. When the supply of external power stops, the power consumption naturally becomes 0, and the information processing apparatus enters the hibernation state S4. When the supply of external power resumes, the information processing apparatus immediately enters the start-up process from hibernation state S4, and power consumption is maximized at this point. Thereafter, since the transition to the nap state S3 is made at the end of the activation process, the power consumption is suppressed, and the state of the information processing apparatus returns to the same state as when the operation is interrupted.

図16を用いて、本発明の第3の実施の形態を説明する。この実施の形態は、情報処理装置をノート型情報処理装置5´とした場合の実施の形態である。ノート型情報処理装置5´は、本体部50´と、画面表示部58´とから構成される。ノート型情報処理装置5´は、本体部50´と画面表示部58´とをつなぐ可動部の根元付近に動作中断スイッチ533´が配置されており、画面表示部58´を閉じるとこのスイッチが押される。これにより、使用者は作業を中断、終了するさいは画面表示部58´を閉じることでその手順を簡明化でき、また画面表示部58´を開けることで作業再開の動作を完了でき、使い勝手を良くすることができる。   A third embodiment of the present invention will be described with reference to FIG. In this embodiment, the information processing apparatus is a notebook information processing apparatus 5 '. The notebook information processing apparatus 5 ′ includes a main body unit 50 ′ and a screen display unit 58 ′. In the notebook type information processing apparatus 5 ′, an operation interruption switch 533 ′ is arranged near the base of the movable part connecting the main body 50 ′ and the screen display unit 58 ′. When the screen display unit 58 ′ is closed, the switch is turned on. Pressed. As a result, when the user interrupts or finishes the operation, the user can simplify the procedure by closing the screen display unit 58 ′, and can complete the operation of resuming the operation by opening the screen display unit 58 ′. Can be better.

本発明の第1の実施の形態にかかる情報処理装置(動作状態)の構成を示す機能ブロック図。The functional block diagram which shows the structure of the information processing apparatus (operation state) concerning the 1st Embodiment of this invention. 本発明の第1の実施の形態にかかる情報処理装置の状態遷移を説明する流れ図。The flowchart explaining the state transition of the information processing apparatus concerning the 1st Embodiment of this invention. 本発明の第1の実施の形態にかかる情報処理装置(仮眠状態)の構成を示す機能ブロック図。The functional block diagram which shows the structure of the information processing apparatus (nap state) concerning the 1st Embodiment of this invention. 本発明の第1の実施の形態にかかる情報処理装置(冬眠状態)の構成を示す機能ブロック図。The functional block diagram which shows the structure of the information processing apparatus (hibernation state) concerning the 1st Embodiment of this invention. 本発明の情報処理装置の外観を模式的に示した斜視図。The perspective view which showed typically the external appearance of the information processing apparatus of this invention. 本発明の第2の実施の形態にかかる情報処理装置の主要部の機能構成を示す機能ブロック図。The functional block diagram which shows the function structure of the principal part of the information processing apparatus concerning the 2nd Embodiment of this invention. 本発明の第2の実施の形態にかかる情報処理装置の機能構成を示すより詳細な機能ブロック図。The functional block diagram in more detail which shows the function structure of the information processing apparatus concerning the 2nd Embodiment of this invention. 本発明の第2の実施の形態にかかる情報処理装置がとりうる状態とその遷移条件を説明する図。The figure explaining the state which the information processing apparatus concerning the 2nd Embodiment of this invention can take, and its transition conditions. 第2の実施の形態における停止状態/冬眠状態からの起動処理のフローチャート。The flowchart of the starting process from the stop state / hibernation state in 2nd Embodiment. 起動フラグの値とその機能を説明する図。The figure explaining the value of a starting flag, and its function. 第2の実施の形態におけるハイバネーションファイル作成状態中のフローチャート。The flowchart in the hibernation file creation state in 2nd Embodiment. 第2の実施の形態におけるメモリマップの構成を模式的に表す説明図。Explanatory drawing which represents typically the structure of the memory map in 2nd Embodiment. 第2の実施の形態における仮眠状態中のフローチャート。The flowchart in the nap state in 2nd Embodiment. 第2の実施の形態の各状態の遷移と起動フラグの変化の関係を模式的に示した説明図。Explanatory drawing which showed typically the relationship between the transition of each state of 2nd Embodiment, and the change of a starting flag. 消費電力と情報処理装置の各状態の遷移の関係を説明する図。The figure explaining the relationship between power consumption and the transition of each state of information processing apparatus. 本発明の第3の実施の形態にかかるノート型情報処理装置の外観図。The external view of the notebook type information processing apparatus concerning the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

1 情報処理装置本体電子回路
10 内部記憶装置のデータ
101 表示メモリのデータ
11 LSI内部情報
12 情報処理装置内部状態記憶部
2 外部記憶装置
21 内部記憶装置のデータ格納領域
211 表示メモリのデータ格納領域
22 LSI内部情報格納領域
3 電力供給制御部
31 電源回路
311 外部電力検出手段
312 起動/停止制御部
313 起動/停止スイッチ
314 電力切替手段
32 電力蓄積手段
41 電力切断信号
42 電力供給線
421 電力供給線
422 電力供給線
43 電源回路状態出力線
44 電源回路状態出力線
45 外部電力供給線
5 情報処理装置
50 除法処理装置本体電子回路
51 記憶装置制御部
511 CPU
512 BIOS ROM
513 チップセット(メモリコントローラ、バスコントローラ)
514 チップセット(スーパーI/Oその他)
515 VGAコントローラ
52 揮発性記憶装置
521 メインメモリ
522 ビデオメモリ
53 動作中断スイッチ/情報入力手段
531 キーボード
533 動作中断スイッチ
55 不揮発性記憶装置
551 不揮発性記憶装置内の起動フラグ記憶領域
552 不揮発性記憶装置内の揮発性記憶装置内情報を格納する領域
5521 不揮発性記憶装置内の揮発性記憶装置内情報を格納する領域における作業終了時のハイバネーションファイル作成領域
5522 不揮発性記憶装置内の揮発性記憶装置内情報を格納する領域におけるOS起動時のハイバネーションファイル作成領域
553 ハードディスク
554 RTC/CMOSメモリ
57 電源部
571 電力供給遮断部
574 外部電力供給操作スイッチ
571 電力遮断部(FET)
572 DC/DCコンバータ
574 外部電力供給操作スイッチ
573 AC/DCコンバータ
S1 初期状態
S2 動作状態
S5 ハイバネーションファイル作成状態
S3 仮眠状態
S4 冬眠状態
S11 停止状態
T1 動作状態から仮眠状態への遷移
T2 動作状態から冬眠状態への遷移
T3 仮眠状態から冬眠状態への遷移
T4 冬眠状態から動作状態への遷移
T5 冬眠状態から仮眠状態への遷移
T6 冬眠状態から動作状態への遷移
T7 初期状態から動作状態への遷移
T8 動作状態から初期状態への遷移
T9 仮眠状態から冬眠状態への遷移
T10 冬眠状態/仮眠状態から初期状態への遷移
T11 停止状態から動作状態への遷移
T12 動作状態からハイバネーションファイル作成状態への遷移
T13 ハイバネーションファイル作成状態から動作状態への遷移
T14 仮眠状態から動作状態への遷移
T15 ハイバネーションファイル作成状態から仮眠状態への遷移
T16 仮眠状態から冬眠状態への遷移
T17 冬眠状態から仮眠状態への遷移
ADDR1 キーコード取得プログラムの先頭アドレス
ADDR2 ハイバネーションファイル作成状態プログラムの先頭アドレス
ADDR3 ハイバネーションファイル作成状態中断処理プログラムの先頭アドレス
DESCRIPTION OF SYMBOLS 1 Information processing apparatus main body electronic circuit 10 Internal storage device data 101 Display memory data 11 LSI internal information 12 Information processing device internal state storage unit 2 External storage device 21 Internal storage device data storage area 211 Display memory data storage area 22 LSI internal information storage area 3 Power supply control unit 31 Power supply circuit 311 External power detection unit 312 Start / stop control unit 313 Start / stop switch 314 Power switching unit 32 Power storage unit 41 Power disconnection signal 42 Power supply line 421 Power supply line 422 Power supply line 43 Power supply circuit state output line 44 Power supply circuit state output line 45 External power supply line 5 Information processing device 50 Division processor main body electronic circuit 51 Storage device control unit 511 CPU
512 BIOS ROM
513 Chipset (memory controller, bus controller)
514 Chipset (Super I / O and others)
515 VGA controller 52 Volatile storage device 521 Main memory 522 Video memory 53 Operation interruption switch / information input means 531 Keyboard 533 Operation interruption switch 55 Non-volatile storage device 551 Startup flag storage area 552 in the non-volatile storage device In the non-volatile storage device The area 5521 for storing information in the volatile storage device in the storage area 5521 in the area for storing information in the volatile storage device in the nonvolatile storage device at the end of the work 5522 Information in the volatile storage device in the nonvolatile storage device Hibernation file creation area 553 at the time of OS startup in the area for storing the hard disk 554 RTC / CMOS memory 57 power supply unit 571 power supply cutoff unit 574 external power supply operation switch 571 power cutoff unit (FET)
572 DC / DC converter 574 External power supply operation switch 573 AC / DC converter S1 initial state S2 operation state S5 hibernation file creation state S3 hibernation state S4 hibernation state S11 stop state T1 transition from operation state to nap state T2 operation state to hibernation Transition from state to state T3 Transition from hibernation state to hibernation state T4 Transition from hibernation state to operation state T5 Transition from hibernation state to nap state T6 Transition from hibernation state to operation state T7 Transition from initial state to operation state T8 Transition from operation state to initial state T9 Transition from nap state to hibernation state T10 Transition from hibernation state / nap state to initial state T11 Transition from stop state to operation state T12 Transition from operation state to hibernation file creation state T13 Operation status from hibernation file creation status Transition to state T14 Transition from nap state to operation state T15 Transition from hibernation file creation state to nap state T16 Transition from nap state to hibernation state T17 Transition from hibernation state to nap state ADDR1 Start address of key code acquisition program ADDR2 Start address of hibernation file creation status program ADDR3 Start address of hibernation file creation status interruption processing program

Claims (3)

動作時の内部状態の情報を記録する揮発性記憶装置と不揮発性記憶装置とを有する情報処理装置において、外部からの条件の変化により、情報処理装置の内部状態が、動作状態と仮眠状態と冬眠状態または動作状態と仮眠状態と冬眠状態とハイバネーションファイル作成状態に変化するようにしたことを特徴とする情報処理装置。   In an information processing apparatus having a volatile storage device and a non-volatile storage device that records information on an internal state during operation, the internal state of the information processing device changes between an operation state, a nap state, and a hibernation due to a change in external conditions. An information processing apparatus characterized by changing to a state or an operating state, a nap state, a hibernation state, and a hibernation file creation state. 仮眠状態にある情報処理装置が、定められた時間を経過しても仮眠状態が継続すると、冬眠状態に遷移することを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the information processing apparatus in the nap state transitions to a hibernation state if the nap state continues even after a predetermined time has elapsed. 動作時に情報を揮発性記憶装置に記録し、動作中断時に揮発性記憶装置に記憶されている動作中の情報を不揮発性記憶装置に退避し、動作再開時には不揮発性記憶装置に退避した情報を揮発性記憶装置に復元することを特徴とする請求項1または請求項2記載の情報処理装置。
Information is recorded in the volatile storage device during operation, information during operation stored in the volatile storage device is saved to the nonvolatile storage device when the operation is interrupted, and the saved information is saved in the nonvolatile storage device when the operation is resumed. The information processing apparatus according to claim 1, wherein the information processing apparatus is restored to a volatile storage device.
JP2006217665A 1996-11-21 2006-08-10 Information processor Pending JP2006302321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006217665A JP2006302321A (en) 1996-11-21 2006-08-10 Information processor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP31037596 1996-11-21
JP2006217665A JP2006302321A (en) 1996-11-21 2006-08-10 Information processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP30519897A Division JP3853941B2 (en) 1996-11-21 1997-11-07 Information processing device

Publications (1)

Publication Number Publication Date
JP2006302321A true JP2006302321A (en) 2006-11-02

Family

ID=37470453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006217665A Pending JP2006302321A (en) 1996-11-21 2006-08-10 Information processor

Country Status (1)

Country Link
JP (1) JP2006302321A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223866A (en) * 2008-02-19 2009-10-01 Canon Inc Information processing apparatus and information processing method
JP2013134606A (en) * 2011-12-26 2013-07-08 Ricoh Co Ltd Control device and electronic apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223866A (en) * 2008-02-19 2009-10-01 Canon Inc Information processing apparatus and information processing method
JP2013134606A (en) * 2011-12-26 2013-07-08 Ricoh Co Ltd Control device and electronic apparatus

Similar Documents

Publication Publication Date Title
JP3853941B2 (en) Information processing device
JP2988866B2 (en) Computer system
JPH1097353A (en) Computer system and resume processing method applied to the same system
US9459690B2 (en) Information processing apparatus and power supply control method
TWI528162B (en) Computer system and operating system switching method thereof
US6807630B2 (en) Method for fast reinitialization wherein a saved system image of an operating system is transferred into a primary memory from a secondary memory
JP4164073B2 (en) Computer with multi-function power button and related method
US6438668B1 (en) Method and apparatus for reducing power consumption in a digital processing system
JP3777136B2 (en) Computer device, data dead copy method, program, and computer device operating method
JPH1091519A (en) Hard disk cache control method
US6438708B1 (en) Information processing apparatus that can hold internal information
WO2002095556A1 (en) Apparatus having stand-by mode, program, and control method for apparatus having stand-by mode
JPH077317B2 (en) System restart device
JP2009501365A (en) Fast boot system and method for second operating system
JP2006252754A (en) Portable digital audio/video reproducing device
US6851012B2 (en) Information processing system, information processing method and readable-by-computer recording medium
JP2007304914A (en) Information-processing device
JP2003085041A (en) Disc cache system
JP2006302321A (en) Information processor
US20060212729A1 (en) Information processing device, operating system switchover method and recording medium
JP3427010B2 (en) Computer system
US20100030989A1 (en) Storage management method and storage control apparatus
JP3407021B2 (en) Microcomputer
JPS62242257A (en) Backup system for system
JP4098400B2 (en) Semiconductor disk device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081118

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090317