JP2001142839A - Information processing device - Google Patents
Information processing deviceInfo
- Publication number
- JP2001142839A JP2001142839A JP32775699A JP32775699A JP2001142839A JP 2001142839 A JP2001142839 A JP 2001142839A JP 32775699 A JP32775699 A JP 32775699A JP 32775699 A JP32775699 A JP 32775699A JP 2001142839 A JP2001142839 A JP 2001142839A
- Authority
- JP
- Japan
- Prior art keywords
- state
- removal
- monitoring device
- application
- power
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Power Sources (AREA)
Abstract
(57)【要約】
【課題】本発明の目的は、電源切断時における交換可能
なデバイスを全て監視し、起動時間を短縮する情報処理
装置を提供することである。
【解決手段】本発明の情報処理装置は、基板上にある交
換可能な各デバイスのコネクタやスロットに各々検出ス
イッチ30を持ち、それらの検出スイッチ30からの信
号を監視する検出監視デバイス18を持つ。また、検出
監視デバイス18には主電源以外に補助電源として検出
監視デバイス用バッテリ19を接続する。検出監視デバ
イス18は内部に検出スイッチ30の状態を示すレジス
タ40を持ち、起動時や終了時にこのレジスタ40の値
を参照して処理を行う。
(57) Abstract: An object of the present invention is to provide an information processing apparatus that monitors all replaceable devices at the time of power-off and shortens the startup time. An information processing apparatus according to the present invention has a detection switch (30) in a connector or a slot of each replaceable device on a board, and has a detection monitoring device (18) for monitoring a signal from the detection switch (30). . In addition, a battery 19 for the detection and monitoring device is connected to the detection and monitoring device 18 as an auxiliary power supply in addition to the main power supply. The detection / monitoring device 18 has a register 40 indicating the state of the detection switch 30 therein, and performs processing with reference to the value of the register 40 at the time of startup or termination.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、サスペンド機能を
有する情報処理装置に関する。[0001] 1. Field of the Invention [0002] The present invention relates to an information processing apparatus having a suspend function.
【0002】[0002]
【従来の技術】従来の情報処理装置においては、起動時
の処理としてメモリのコンフィグレーション、周辺デバ
イスのコンフィグレーションが行われ、その後OSが起
動している。また、終了時には全てのデバイスを解放し
て電源を切断する。サスペンドディスク機能を備える情
報処理装置においては、動作中にサスペンド処理になる
と装置に備えてある補助記憶装置などの不揮発性メモリ
にその時のメモリ内容やデバイスの稼動状況等の動作状
態を保存し、電源を切断している。また、レジューム時
にはサスペンド時に保存したデータを基に状態を復元す
るのでメモリやデバイスなどのコンフィグレーションを
全て行う必要がなく、起動時間が短縮されている。2. Description of the Related Art In a conventional information processing apparatus, configuration of a memory and configuration of peripheral devices are performed as processing at the time of startup, and then an OS is started. Upon termination, all devices are released and the power is turned off. In an information processing apparatus having a suspend disk function, when a suspend process is performed during operation, an operating state such as memory contents at the time and an operating state of a device is stored in a non-volatile memory such as an auxiliary storage device provided in the apparatus, and a power supply Is disconnected. Further, at the time of resuming, since the state is restored based on the data saved at the time of suspending, it is not necessary to perform all the configuration of the memory and the device, and the startup time is shortened.
【0003】[0003]
【発明が解決しようとする課題】情報処理システムには
挿抜可能なデバイスが複数備えられている。通常これら
のデバイスは電源切断時に交換するようになっている。
これは、電源投入時の起動処理の中で全てのデバイスの
コンフィグレーションが行われるからである。一方、サ
スペンド状態においては、サスペンド移行前に使用環境
を全て補助記憶装置に保存するのでデバイスの交換はで
きない。The information processing system includes a plurality of devices that can be inserted and removed. Normally, these devices are replaced when the power is turned off.
This is because all devices are configured during the power-on startup process. On the other hand, in the suspend state, the entire use environment is stored in the auxiliary storage device before the transition to the suspend state, so that the device cannot be replaced.
【0004】サスペンド状態においては動作中の状態を
不揮発性の記憶装置に保存してあるので全てのデバイス
に対して電源が供給されない。つまり外部から見たら、
電源切断状態もサスペンド状態も同じで各デバイスには
電源が供給されない。実際にはサスペンド状態を知らせ
るような目印を持つものもあるが、装置本体が動作して
いないので、サスペンド中にデバイスを挿抜することが
考えられる。この場合、特にあるデバイスを使用中のア
プリケーションがサスペンド状態になる時にその状態を
記憶している時、サスペンド中に該当デバイスが取り外
された場合、レジューム時にデバイスがないために復帰
できなくなることがある。また、このようなエラーが起
こった場合やサスペンド時にデバイスの挿入があった場
合、システムは全てのデバイスを再コンフィグレーショ
ンしなければならず、レジュームするために時間がかか
る。In the suspend state, the operating state is stored in a nonvolatile storage device, so that power is not supplied to all devices. In other words, from the outside,
The power-off state and the suspend state are the same, and no power is supplied to each device. Actually, some devices have a mark for notifying the suspend state. However, since the apparatus main body is not operating, it is conceivable to insert or remove the device during suspend. In this case, especially when an application that is using a certain device enters the suspend state and the state is stored, when the device is removed during suspend, it may not be possible to return because there is no device at the time of resume . In addition, when such an error occurs or when a device is inserted during suspend, the system must reconfigure all devices, and it takes time to resume.
【0005】本発明の目的は、電源切断時のデバイスの
状態を監視しデバイスの挿抜がない場合に、自動的に起
動時間を短縮する情報処理装置を提供することである。An object of the present invention is to provide an information processing apparatus that monitors the state of a device at the time of power-off and automatically shortens the start-up time when no device is inserted or removed.
【0006】[0006]
【課題を解決するための手段】本発明の情報処理装置
は、基板上にある交換可能な各デバイスのコネクタやス
ロットに各々スイッチを持ち、それらのスイッチからの
信号を監視する監視用デバイスを持つ。また、監視用デ
バイスには主電源以外に補助電源を接続し常時監視す
る。監視デバイスは内部に検出スイッチの状態を示すレ
ジスタを持ち、起動時や終了時にこのレジスタの値を参
照して処理を行う。An information processing apparatus according to the present invention has switches in connectors and slots of replaceable devices on a board, and has a monitoring device for monitoring signals from the switches. . In addition, an auxiliary power supply other than the main power supply is connected to the monitoring device to constantly monitor. The monitoring device internally has a register indicating the state of the detection switch, and performs processing by referring to the value of this register at the time of startup or termination.
【0007】[0007]
【発明の実施の形態】以下、本発明の一実施例について
説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below.
【0008】図1は本発明における全体構成図の一実施
例を表している。情報処理装置1は、筐体2、複数のコ
ネクタや拡張スロットを装備した基板3、電源ユニット
4、取り外し可能な複数の補助記憶装置5、入出力装置
6からなっている。基板3にはCPUユニット10、メ
モリスロット11、ビデオカード用コネクタ12、CP
Uとメモリやビデオ、I/O系統との通信をするホスト
ブリッジコントローラ13、周辺機器を接続するための
バス制御用I/Oコントローラ14、外部記憶装置を接
続する拡張コネクタ15、各種拡張カードを組み込むた
めの拡張スロット16、各デバイスや制御コントローラ
に電源を供給するための電源コネクタ17、各デバイス
の挿抜状態を監視する検出監視デバイス18がある。ホ
ストブリッジコントローラ13が制御するものとして、
CPU、メモリ、表示、I/Oがあり、それらは各々、
CPUユニット10がシステムバス20で、メモリスロ
ット11がメモリバス21で、ビデオカード用コネクタ
12がビデオバス22で、バス制御用I/Oコントロー
ラ14がI/Oバス23で接続している。また、バス制
御用I/Oコントローラ14が制御するものとして、外
部入出力デバイス、拡張カード、検出監視デバイス18
があり、それらは各々、外部デバイスがコネクタ15と
バス24で、拡張カードがコネクタ16とバス25で検
出監視デバイス18は直接接続している。基板上の各コ
ントローラの電源は、電源ユニット4から電源コネクタ
17を通して供給する。更に検出監視デバイス18に対
してはバッテリ19も接続している。バッテリ19は電
源ユニット4からの電源供給がない場合でも動作できる
ようにするものであり、電源ユニット4から電源供給が
なされる場合にはバッテリ19からの電源供給は遮断さ
れる。使用者は、これらのコネクタや拡張スロットに様
々なデバイスを取り付け、または取り外しすることがで
きる。FIG. 1 shows an embodiment of the overall configuration of the present invention. The information processing apparatus 1 includes a housing 2, a board 3 provided with a plurality of connectors and expansion slots, a power supply unit 4, a plurality of removable auxiliary storage devices 5, and an input / output device 6. The board 3 includes a CPU unit 10, a memory slot 11, a video card connector 12, and a CP.
A host bridge controller 13 for communication between the U and the memory, video, and I / O system, an I / O controller 14 for bus control for connecting peripheral devices, an expansion connector 15 for connecting an external storage device, and various expansion cards There are an expansion slot 16 for assembling, a power connector 17 for supplying power to each device and the controller, and a detection / monitoring device 18 for monitoring the insertion / removal state of each device. As what the host bridge controller 13 controls,
There are CPU, memory, display, I / O, each of which
The CPU unit 10 is connected to the system bus 20, the memory slot 11 is connected to the memory bus 21, the video card connector 12 is connected to the video bus 22, and the bus control I / O controller 14 is connected to the I / O bus 23. The bus control I / O controller 14 controls an external input / output device, an expansion card, and a detection / monitoring device 18.
Each of them has an external device connected directly to the connector 15 and the bus 24, and an expansion card connected directly to the detection monitoring device 18 via the connector 16 and the bus 25. Power for each controller on the board is supplied from the power supply unit 4 through a power connector 17. Further, a battery 19 is also connected to the detection monitoring device 18. The battery 19 enables operation even when power is not supplied from the power supply unit 4. When power is supplied from the power supply unit 4, the power supply from the battery 19 is cut off. A user can attach or remove various devices to these connectors and expansion slots.
【0009】図2はコネクタや拡張スロットに装備され
た挿抜検出用スイッチ30を表している。例えばデスク
トップ型パソコンを考える。この場合、ユーザが交換可
能なデバイスコネクタ、普段は交換しないようなカード
スロット、メモリスロットなど内部スロットにも、全て
挿抜検出用スイッチ30を取り付ける。また、筐体のカ
バー部分にも挿抜検出用スイッチ30を取り付ける。つ
まり、挿抜可能な部分すべてに挿抜検出用スイッチ30
を取り付ける。挿抜検出用スイッチ30はボタン31と
接点32からなる。ボタン31はスプリング33で接点
32と切り離されており、ボタン31に力を加えると接
点32と接触し、力を加えるのを止めると接点32と自
動的に切り離される。ボタン31は先端が斜めに加工さ
れており横からの力でも簡単に押せるようになってい
る。通常図2(a)に示すように挿抜検出用スイッチ30
は開いた状態になっている。これに対して、コネクタや
スロットに対する拡張デバイス挿抜時には、図2(b)に
示すように一時的に挿抜検出用スイッチ30が閉じる。
つまり、この挿抜検出用スイッチ30はコネクタやスロ
ットに対する拡張デバイス挿抜時に電流が流れ、挿抜後
には電流が遮断される。FIG. 2 shows an insertion / removal detection switch 30 provided in a connector or an expansion slot. For example, consider a desktop personal computer. In this case, all of the insertion / removal detection switches 30 are attached to internal slots such as a device connector that can be replaced by a user, a card slot and a memory slot that are not usually replaced. Also, the insertion / extraction detection switch 30 is attached to the cover of the housing. That is, the switch 30 for insertion / removal detection is
Attach. The insertion / extraction detection switch 30 includes a button 31 and a contact 32. The button 31 is separated from the contact 32 by a spring 33. When a force is applied to the button 31, the button 31 comes into contact with the contact 32. When the force is stopped, the button 31 is automatically separated from the contact 32. The tip of the button 31 is slanted so that it can be easily pressed by a lateral force. Normally, as shown in FIG.
Is open. On the other hand, when the extension device is inserted into or removed from the connector or the slot, the insertion / removal detection switch 30 is temporarily closed as shown in FIG.
That is, a current flows through the insertion / removal detection switch 30 when the extension device is inserted / removed from the connector or the slot, and the current is interrupted after the insertion / removal.
【0010】図3は挿抜検出スイッチ30をコネクタ3
5に装備したことを表している。挿抜検出スイッチ30
はコネクタ35の一部(この例ではコネクタ35の端の
部分)に取り付けてある。拡張デバイス36には一部に
切れ込み37があり、挿入時には最初に拡張デバイス3
6の一部で挿抜検出スイッチ30を押し、挿入完了後に
は挿抜検出スイッチ30が切れ込み37の部分に位置す
るようになり挿抜検出スイッチ30が解除される。FIG. 3 shows the insertion / removal detection switch 30 connected to the connector 3.
5 is equipped. Insertion detection switch 30
Is attached to a part of the connector 35 (an end portion of the connector 35 in this example). The extension device 36 has a cut 37 in a part, and when the
6, the insertion / extraction detection switch 30 is pressed, and after the insertion is completed, the insertion / extraction detection switch 30 is positioned at the notch 37 and the insertion / extraction detection switch 30 is released.
【0011】図4は各デバイスに配置された挿抜検出ス
イッチ30と検出監視デバイス18を表している。検出
監視デバイス18には各デバイスに配置された挿抜検出
スイッチ30からの出力信号が入力される。この例では
どのデバイスが挿抜されたかが区別できるように各デバ
イスからの出力と検出監視デバイス18の入力とが1対
1に対応付けされている。検出監視デバイス18の内部
には状態フラグ40がありオン状態とオフ状態をとるこ
とができる。また、検出監視デバイス18にはリセット
端子41がある。更にこれら挿抜検出スイッチ30と検
出監視デバイス18の電源は情報処理装置1の主電源が
切断された場合でも記憶できるようにバッテリ電池19
を接続する。状態フラグ40のオン状態とは各デバイス
が認識できている状態を表している。状態フラグ40の
オフ状態とは該当するデバイスが挿抜されたことを示す
状態である。オン状態では状態フラグがHIGH(電圧
がかかっている)になる。オフ状態では状態フラグがL
OW(電圧がない)になる。FIG. 4 shows the insertion / removal detection switch 30 and the detection / monitoring device 18 arranged in each device. An output signal from an insertion / removal detection switch 30 arranged in each device is input to the detection monitoring device 18. In this example, the output from each device and the input of the detection monitoring device 18 are associated one-to-one so that it is possible to distinguish which device has been inserted or removed. Inside the detection monitoring device 18, there is a status flag 40, which can take on and off states. The detection monitoring device 18 has a reset terminal 41. Further, the power of the insertion / removal detection switch 30 and the power of the detection / monitoring device 18 can be stored even when the main power of the information processing apparatus 1 is cut off.
Connect. The ON state of the state flag 40 indicates a state in which each device can recognize. The OFF state of the state flag 40 is a state indicating that the corresponding device has been inserted or removed. In the ON state, the state flag becomes HIGH (voltage is applied). In the off state, the state flag is L
OW (no voltage).
【0012】オン状態で挿抜検出スイッチ30が押され
ると、信号ラインがグランドに接続しオフ状態になる。
状態フラグは一度オフ状態になると挿抜検出スイッチ3
0の状態に関わらずオフ状態を維持する。オン状態に戻
すには検出監視デバイス18にあるリセット端子41を
使用する。リセット端子41に信号が送られると状態フ
ラグ40の全てのフラグがオン状態に設定される。つま
り、オン状態からオフ状態へは挿抜検出スイッチ30に
よって移行し、オフ状態からオン状態へはリセット端子
41への信号によって移行する。When the insertion / extraction detection switch 30 is pressed in the ON state, the signal line is connected to the ground and turned OFF.
Once the status flag is turned off, the insertion / removal detection switch 3
The off state is maintained regardless of the state of 0. To return to the ON state, the reset terminal 41 of the detection monitoring device 18 is used. When a signal is sent to the reset terminal 41, all the flags of the status flag 40 are set to the ON state. That is, the state changes from the ON state to the OFF state by the insertion / removal detection switch 30, and the state changes from the OFF state to the ON state by a signal to the reset terminal 41.
【0013】図5は図4の別の例を表している。図5で
は検出監視デバイス18の挿抜検出スイッチ30を数珠
つなぎに一列に接続し、状態フラグ40に接続してい
る。状態フラグ40はデバイスのうちどれか一つでも挿
抜された場合に状態が変化する。FIG. 5 shows another example of FIG. In FIG. 5, the insertion / removal detection switches 30 of the detection / monitoring device 18 are connected in a row in a daisy chain, and are connected to the status flag 40. The status flag 40 changes its status when any one of the devices is inserted or removed.
【0014】また、挿抜検出スイッチ30は通常閉じた
状態のものを使用し、スイッチが押されると開くタイプ
のものを使用する。オン状態で挿抜検出スイッチ30が
押されると、信号ラインが断ち切られオフ状態になる。
状態フラグ40の動作は図4と同じであり、オン状態か
らオフ状態へは挿抜検出スイッチ30によって移行し、
オフ状態からオン状態へはリセット端子41への信号に
よって移行する。The insertion / removal detection switch 30 normally uses a closed state, and uses a type that opens when the switch is pressed. When the insertion / extraction detection switch 30 is pressed in the ON state, the signal line is cut off and the state is turned OFF.
The operation of the status flag 40 is the same as that of FIG.
The transition from the off state to the on state is made by a signal to the reset terminal 41.
【0015】図6は使用しているアプリケーションと使
用デバイスの関係を記憶したテーブルを表している。情
報処理装置1が動作中には、メモリ領域50の一部にア
プリケーション状態保存領域51を配置する。アプリケ
ーション状態保存領域51には、アプリケーション名領
域52、デバイス名領域53、アプリケーション起動総
数記憶領域54がある。アプリケーション名領域52に
は使用中のアプリケーション名を記憶し、デバイス名領
域53にはそのアプリケーションが使用しているデバイ
ス名を記憶する。また使用中のアプリケーションの総数
がカウントされ、その数がアプリケーション起動総数記
憶領域54に記憶される。アプリケーション一つに対し
て使用デバイスは複数になることもあるので、その場合
にはデバイス名53の部分が複数になる。アプリケーシ
ョン使用終了時にはアプリケーション状態保存領域51
から該当するデータを削除する。FIG. 6 shows a table storing the relationship between the application used and the device used. While the information processing apparatus 1 is operating, the application state storage area 51 is arranged in a part of the memory area 50. The application state storage area 51 includes an application name area 52, a device name area 53, and an application activation total storage area 54. The application name area 52 stores the name of the application being used, and the device name area 53 stores the device name used by the application. Also, the total number of applications in use is counted, and the number is stored in the total application activation storage area 54. A plurality of devices may be used for one application. In this case, a plurality of device names 53 are used. At the end of use of the application, the application state storage area 51
Delete the corresponding data from.
【0016】図7は起動時における処理の流れを表して
いる。処理100はこの処理の開始を表している。情報
処理装置1に装備されている起動スイッチを投入するこ
とにより起動処理ルーチンの処理が開始する。電源を投
入後は、処理101で状態フラグ40を監視し、状態フ
ラグ40の状態で起動時の処理を変える。状態フラグ4
0に一つでもオフ状態がある場合、起動後に初期化動作
として、処理102でメモリの初期化、処理103で各
デバイスの確認及び初期化、処理104でOS起動を行
う。状態フラグ40が全てオン状態の場合、既にデバイ
スの初期化が行われた状態で起動し、システム停止中に
装置に変更が加えられていないので、これら一連の初期
化動作は省略され、OS起動状態まで復帰する。その後
前回アプリケーションを使用したままの状態で電源をオ
フにしたかどうか判定する。処理105でアプリケーシ
ョン起動総数記憶領域54の値を参照し、0の場合、ア
プリケーションを何も使用していない状態で終了したと
いうことになるので、処理106で起動処理は終了し待
機状態になる。アプリケーション起動総数記憶領域54
の値を参照し、0以外の場合、アプリケーションを使用
していた状態で終了したということになるので、まず、
処理107で起動用カウンタをアプリケーション起動総
数記憶領域54の値にセットする。次に、アプリケーシ
ョン状態保存領域51の値を参照する。処理108でア
プリケーション名52に対応するデバイス名53から状
態フラグ40のデバイスの状態確認を行う。デバイスが
終了時から変更されていなければ、処理109でアプリ
ケーション、デバイス共に動作させる。デバイスが終了
時以降に挿抜された場合、つまり状態フラグ40のアプ
リケーションが使用していたデバイスがオフ状態の場
合、処理112でデバイスが変更されたことを使用者に
伝え、該当のアプリケーションの起動は中止する。これ
らの処理の後、処理110でカウンタの値を1減らし、
処理114で起動用カウンタが0になるまで繰り返す。
起動用カウンタが0になった場合、処理106の起動終
了に移行する。FIG. 7 shows the flow of processing at the time of startup. Process 100 represents the start of this process. When the start switch provided in the information processing apparatus 1 is turned on, the processing of the start processing routine starts. After the power is turned on, the status flag 40 is monitored in process 101, and the startup process is changed according to the status of the status flag 40. Status flag 4
If any one of the 0s is in the off state, the initialization is performed after startup, such as initialization of the memory in process 102, confirmation and initialization of each device in process 103, and OS startup in process 104. If the status flags 40 are all on, the device starts up with the device already initialized, and since no changes have been made to the device while the system is stopped, a series of these initialization operations is omitted, and the OS is started. Returns to the state. Thereafter, it is determined whether or not the power was turned off last time while using the application. In the process 105, the value of the application activation total storage area 54 is referred to. If the value is 0, the application is terminated in a state where no application is used, and the activation process is terminated in the process 106 to enter a standby state. Application activation total storage area 54
Refer to the value of, and if it is other than 0, it means that the application was terminated while using the application.
In step 107, the activation counter is set to the value of the application activation total storage area 54. Next, the value of the application state storage area 51 is referred to. In process 108, the device status of the status flag 40 is confirmed from the device name 53 corresponding to the application name 52. If the device has not been changed since the end, both the application and the device are operated in process 109. If the device is inserted or removed after the termination, that is, if the device used by the application of the status flag 40 is in the OFF state, the user is notified that the device has been changed in process 112, and the application is activated. Abort. After these processes, the value of the counter is reduced by 1 in process 110,
The processing is repeated until the activation counter becomes 0 in step 114.
When the activation counter becomes 0, the process proceeds to the termination of the activation of the process 106.
【0017】図8はアプリケーション起動処理の流れを
表している。動作中に処理120のアプリケーション起
動コマンドが発行されると、まず処理121でアプリケ
ーションが使用するデバイスを初期化する。次に処理1
22でデバイス初期化の判定を行い、初期化に失敗した
場合、処理126で初期化失敗のエラー通告を出し、処
理125で起動処理を終了する。初期化に成功した場
合、処理123でアプリケーション状態保存領域51の
アプリケーション名領域52に該当アプリケーション名
をデバイス名領域53に該当デバイス名を記憶する。そ
して処理124でアプリケーション起動総数記憶領域5
4の値を一つ増やし、処理125で起動処理を終了す
る。FIG. 8 shows the flow of the application starting process. When the application start command of process 120 is issued during operation, first, in process 121, a device used by the application is initialized. Next, processing 1
At 22, the device initialization is determined. If the initialization fails, an initialization failure error notification is issued at 126, and the startup process ends at 125. If the initialization is successful, the corresponding application name is stored in the application name area 52 of the application state storage area 51 and the corresponding device name is stored in the device name area 53 in a process 123. Then, in the processing 124, the application activation total storage area 5
The value of “4” is incremented by one, and the start-up process ends in process 125.
【0018】図9はアプリケーション終了処理の流れを
表している。動作中に処理130のアプリケーション終
了コマンドが発行されると、まず処理131でアプリケ
ーションが使用しているデバイスを解放する。次に処理
132でデバイス解放の判定を行い、解放に失敗した場
合のみ、処理136で解放失敗のエラー通告を出す。デ
バイス解放後、処理133でアプリケーション状態保存
領域51の該当するアプリケーション名領域52とデバ
イス名領域53の値を削除する。その後処理134でア
プリケーション起動総数記憶領域54の値を一つ減ら
し、処理135で終了処理を終了する。FIG. 9 shows the flow of the application termination processing. When the application end command of the process 130 is issued during the operation, first, in a process 131, the device used by the application is released. Next, a device release determination is made in process 132, and only when the release fails, an error notification of the release failure is issued in process 136. After the device is released, the values of the corresponding application name area 52 and device name area 53 of the application state storage area 51 are deleted in process 133. Thereafter, the value of the application activation total number storage area 54 is reduced by one in a process 134, and the termination process is ended in a process 135.
【0019】図10は終了時における処理の流れを表し
ている。電源を切断する時は処理140の終了コマンド
を発行し、アプリケーションの動作状態を確認する。処
理141でアプリケーション起動総数記憶領域54の値
が0の場合、動作中のアプリケーションがないので、ア
プリケーション中断処理を省略し、処理142以降のシ
ステム終了処理に移行する。アプリケーション起動総数
記憶領域54の値が0でない場合、動作中のアプリケー
ションが存在するので、処理146でアプリケーション
状態保存領域51の情報を基にしてアプリケーション情
報とデバイスの情報を保存する。その後、処理142で
メモリ領域50の全メモリ内容を保存し、処理143で
各デバイスの状態を保存し、処理144で状態フラグ4
0を保存する。最後に処理145で電源を切断する。FIG. 10 shows a processing flow at the time of termination. When the power is turned off, an end command of the process 140 is issued, and the operation state of the application is confirmed. If the value of the application activation total number storage area 54 is 0 in the process 141, there is no running application, so the application interruption process is omitted, and the process proceeds to the system termination process after the process 142. If the value of the application activation total number storage area 54 is not 0, there is an application in operation, so the application information and the device information are stored in process 146 based on the information in the application state storage area 51. After that, the whole memory contents of the memory area 50 are stored in the processing 142, the state of each device is stored in the processing 143, and the state flag 4 is stored in the processing 144.
Save 0. Finally, in step 145, the power is turned off.
【0020】図11は電源切断時の検出監視デバイス1
8による処理を表している。検出監視デバイス18には
常に電源が供給されるので、処理150で挿抜検出用ス
イッチ30の監視を常時行う。処理151でデバイスの
挿抜が行われない場合、処理150に移行し、挿抜検出
用スイッチ30の監視を引き続き行う。デバイスの挿抜
が行われた場合、処理152で該当デバイスの状態フラ
グ40をオフ状態にする。その後、処理150に移行す
る。FIG. 11 shows the detection / monitoring device 1 when the power is turned off.
8 represents the processing by the control unit 8. Since power is always supplied to the detection / monitoring device 18, monitoring of the insertion / removal detection switch 30 is always performed in process 150. If the device is not inserted or removed in the process 151, the process proceeds to the process 150, and the monitoring of the insertion / removal detection switch 30 is continued. If a device is inserted or removed, the state flag 40 of the device is set to the off state in step 152. After that, the processing shifts to processing 150.
【0021】[0021]
【発明の効果】以上述べたように、本発明では常時動作
している監視デバイスと検出スイッチが備え付けてある
ので、電源切断時にデバイスの挿抜がない場合、すなわ
ちシステム構成が変化していない場合、自動的に起動時
のデバイス初期化処理を省略することができる。通常は
サスペンド状態で装置の電源を切断するので、起動処理
時間を短縮することが可能である。As described above, according to the present invention, since the monitoring device and the detection switch which are always operating are provided, if the device is not inserted or removed when the power is turned off, that is, if the system configuration is not changed, The device initialization processing at the time of startup can be automatically omitted. Normally, the power of the apparatus is turned off in the suspended state, so that the startup processing time can be reduced.
【図1】情報処理装置の内部ブロック図である。FIG. 1 is an internal block diagram of an information processing apparatus.
【図2】検出用スイッチの詳細図である。FIG. 2 is a detailed view of a detection switch.
【図3】デバイスの挿抜を表した図である。FIG. 3 is a diagram showing insertion and removal of a device.
【図4】監視デバイスの構成図である。FIG. 4 is a configuration diagram of a monitoring device.
【図5】監視デバイスの別の構成図である。FIG. 5 is another configuration diagram of the monitoring device.
【図6】メモリ内の保存領域を示した図である。FIG. 6 is a diagram showing a storage area in a memory.
【図7】システム起動処理を示した図である。FIG. 7 is a diagram illustrating a system activation process.
【図8】アプリケーション起動処理を示した図である。FIG. 8 is a diagram showing an application activation process.
【図9】アプリケーション終了処理を示した図である。FIG. 9 illustrates an application termination process.
【図10】システム終了処理を示した図である。FIG. 10 illustrates a system termination process.
【図11】電源切断時のデバイス監視を示した図であ
る。FIG. 11 is a diagram showing device monitoring when power is turned off.
1…情報処理装置、2…筐体、3…メイン基板、4…電
源ユニット、5…補助記憶装置、6…入出力機器、10
…CPU、11…メモリスロット、12…表示用スロッ
ト、13…ホストブリッジコントローラ、14…I/O
コントローラ、15…拡張デバイスコネクタ、16…拡
張スロット、17…電源コネクタ、18…検出監視デバ
イス、19…検出監視デバイス用バッテリ、30…挿抜
検出スイッチ、40…検出監視デバイス内状態フラグレ
ジスタ、41…検出監視デバイスリセット信号。DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus, 2 ... Case, 3 ... Main board, 4 ... Power supply unit, 5 ... Auxiliary storage device, 6 ... I / O device, 10
... CPU, 11 ... Memory slot, 12 ... Display slot, 13 ... Host bridge controller, 14 ... I / O
Controller, 15: expansion device connector, 16: expansion slot, 17: power supply connector, 18: detection / monitoring device, 19: battery for detection / monitoring device, 30: insertion / extraction detection switch, 40: status flag register in the detection / monitoring device, 41 ... Detection monitoring device reset signal.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 晋弘 神奈川県海老名市下今泉810番地 株式会 社日立製作所PC事業部内 Fターム(参考) 5B011 DA02 FF01 JA04 MB07 MB11 5B014 EA04 EB03 GD05 GD07 GD18 GE06 HC05 HC07 HC13 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Nobuhiro Kato 810 Shimoimaizumi, Ebina-shi, Kanagawa F-term in PC Division, Hitachi, Ltd. F-term (reference) 5B011 DA02 FF01 JA04 MB07 MB11 5B014 EA04 EB03 GD05 GD07 GD18 GE06 HC05 HC07 HC13
Claims (5)
揮発性記憶媒体に記憶するサスペンド処理機能と、電源
投入時に記憶されたシステム状態を読み出し電源遮断時
の環境を再構築させるレジューム処理機能を備える情報
処理装置であって、サスペンド時に各デバイスの挿抜を
機械的に判断する手段と、挿抜の有無を記憶しておく状
態フラグと、レジューム後に状態フラグをリセットする
手段と、電源投入時に状態フラグによって、デバイス初
期化ルーチンを処理せず起動する手段とを備えることを
特徴とする情報処理装置。1. A suspend processing function for storing a system state during operation in a non-volatile storage medium when a power supply is cut off, and a resume processing function for reading out a system state stored when the power supply is turned on and reconstructing an environment when the power supply is cut off. An information processing apparatus, comprising: means for mechanically determining the insertion / removal of each device at the time of suspending; a state flag for storing the presence / absence of insertion / removal; means for resetting the state flag after resuming; and a state flag at power-on. Means for activating without processing the device initialization routine.
手段としてメイン基板上に複数のレジスタを内蔵し、レ
ジスタの値を読み出しあるいはリセットする制御信号線
を持つ挿抜監視デバイスを有する装置。2. An apparatus according to claim 1, further comprising a plurality of registers built-in on the main board as means for controlling the state of insertion / removal, and an insertion / removal monitoring device having a control signal line for reading or resetting the values of the registers.
者が挿抜監視デバイスを有効または無効に選択できるこ
とを特徴とする装置。3. The apparatus according to claim 1, wherein a user can select whether to enable or disable the insertion / removal monitoring device.
状態を制御する手段が常時動作するために挿抜監視デバ
イスに対する電源を複数系統持つ装置。4. An apparatus according to claim 1, wherein said means for controlling the state of insertion / removal always operates so that a plurality of power supplies are provided to the insertion / removal monitoring device.
対する電源として1次電池や2次電池などの独立した電
源を持つ装置。5. The device according to claim 4, wherein the device has an independent power source such as a primary battery or a secondary battery as a power source for the insertion / removal monitoring device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32775699A JP2001142839A (en) | 1999-11-18 | 1999-11-18 | Information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32775699A JP2001142839A (en) | 1999-11-18 | 1999-11-18 | Information processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001142839A true JP2001142839A (en) | 2001-05-25 |
Family
ID=18202647
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32775699A Pending JP2001142839A (en) | 1999-11-18 | 1999-11-18 | Information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001142839A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008083996A (en) * | 2006-09-27 | 2008-04-10 | Fujitsu Ltd | Information processing apparatus, control apparatus thereof, control method thereof, and control program |
| JP2012226605A (en) * | 2011-04-20 | 2012-11-15 | Canon Inc | Information processor, control method therefor, and program |
| JP2013080283A (en) * | 2011-09-30 | 2013-05-02 | Casio Electronics Co Ltd | Printing device |
| JP2013250609A (en) * | 2012-05-30 | 2013-12-12 | Canon Inc | Information processing device, control method for information processing device, and program |
| JP2014120127A (en) * | 2012-12-19 | 2014-06-30 | Nec Corp | Apparatus configuration change determination device, information processor using the same, apparatus configuration change determination method, and apparatus configuration change determination program |
| JP2017142686A (en) * | 2016-02-10 | 2017-08-17 | キヤノン株式会社 | Electronic device, control method thereof, and program |
| US9958929B2 (en) | 2012-06-27 | 2018-05-01 | Canon Kabushiki Kaisha | Information processing apparatus, control method therefor, and storage medium |
-
1999
- 1999-11-18 JP JP32775699A patent/JP2001142839A/en active Pending
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008083996A (en) * | 2006-09-27 | 2008-04-10 | Fujitsu Ltd | Information processing apparatus, control apparatus thereof, control method thereof, and control program |
| CN100545814C (en) * | 2006-09-27 | 2009-09-30 | 富士通株式会社 | Information processing device, control device and control method thereof |
| US7716526B2 (en) | 2006-09-27 | 2010-05-11 | Fujitsu Limited | Information processing apparatus, control apparatus therefor, and control method therefor |
| JP2012226605A (en) * | 2011-04-20 | 2012-11-15 | Canon Inc | Information processor, control method therefor, and program |
| CN102841839A (en) * | 2011-04-20 | 2012-12-26 | 佳能株式会社 | Information processing apparatus and control method therefor |
| US9285850B2 (en) | 2011-04-20 | 2016-03-15 | Canon Kabushiki Kaisha | Information processing apparatus that validates added hardware, control method therefor and storage medium |
| JP2013080283A (en) * | 2011-09-30 | 2013-05-02 | Casio Electronics Co Ltd | Printing device |
| JP2013250609A (en) * | 2012-05-30 | 2013-12-12 | Canon Inc | Information processing device, control method for information processing device, and program |
| US9958929B2 (en) | 2012-06-27 | 2018-05-01 | Canon Kabushiki Kaisha | Information processing apparatus, control method therefor, and storage medium |
| JP2014120127A (en) * | 2012-12-19 | 2014-06-30 | Nec Corp | Apparatus configuration change determination device, information processor using the same, apparatus configuration change determination method, and apparatus configuration change determination program |
| JP2017142686A (en) * | 2016-02-10 | 2017-08-17 | キヤノン株式会社 | Electronic device, control method thereof, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2998737B2 (en) | Power supply control device for peripheral equipment | |
| EP0552873B1 (en) | Modifying system configuration in a computer system | |
| CA2070955C (en) | Apparatus and method for suspending and resuming software applications on a computer | |
| EP0483865A2 (en) | Personal computer capable of changing boot priority | |
| US6883055B2 (en) | Hot swap method | |
| CN100549959C (en) | Bootloader online upgrade method | |
| TWI360077B (en) | Update method of basic input output system and upd | |
| JP2001142839A (en) | Information processing device | |
| JP3963470B2 (en) | Mobile terminal and control method of the terminal | |
| CN105049936B (en) | Method and device for switching on and off | |
| CN101515236B (en) | Basic input and output system recovery method and update module and computer system | |
| JPH03171310A (en) | Personal computer | |
| JP2568261B2 (en) | Cartridge connection circuit | |
| TW200947204A (en) | A power recovery server device and method thereof | |
| WO2001020541A1 (en) | Entertainment device, data processing device and portable storage device | |
| CN113946530A (en) | Control method and device of expansion card and nonvolatile storage medium | |
| CN118550766A (en) | System snapshot-based system recovery method, device, equipment and medium | |
| JP3231561B2 (en) | Backup memory control method | |
| JP4265104B2 (en) | Information terminal device, system off processing method thereof, and program thereof | |
| JPH06230845A (en) | Resuming system | |
| JP2002358276A (en) | Computer and system reconfiguration device therefor, and method | |
| JPH113292A (en) | Data backup method and system | |
| JP5759774B2 (en) | Electronic apparatus and image forming apparatus | |
| JP4364232B2 (en) | Mobile device | |
| JPH0498473A (en) | Portable terminal equipment |