[go: up one dir, main page]

JPH113152A - Computer device with network-based power saving function - Google Patents

Computer device with network-based power saving function

Info

Publication number
JPH113152A
JPH113152A JP9153330A JP15333097A JPH113152A JP H113152 A JPH113152 A JP H113152A JP 9153330 A JP9153330 A JP 9153330A JP 15333097 A JP15333097 A JP 15333097A JP H113152 A JPH113152 A JP H113152A
Authority
JP
Japan
Prior art keywords
computer
internal state
storage device
communication means
suspend
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
JP9153330A
Other languages
Japanese (ja)
Inventor
Mutsumi Shimoda
睦 下田
Masayuki Tosaka
雅之 登坂
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 JP9153330A priority Critical patent/JPH113152A/en
Publication of JPH113152A publication Critical patent/JPH113152A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Abstract

(57)【要約】 【課題】内蔵クロック以外の機能を完全に停止し、内蔵
クロック・電力バックアップの必要な不揮発性メモリ以
外、電力を消費しない省電力機能を有する電子計算機
に、外部記憶装置を保有する必要がなくなる。また、外
部記憶装置に内部状態を保存した場合より、高速に再起
動出来る。 【解決手段】稼働中の電子計算機に、最優先割り込みを
使用して、割り込み先の電子計算機の内部状態を、同計
算機の内部状態収集手段により収集する。収集した内部
状態を通信手段を介し、他の電子計算機の記憶装置に保
存した後、割り込み先の電子計算機の機能を停止する。
再起動時には、他の電子計算機の記憶装置に保存した内
部状態を、内部状態復元手段により通信手段を介して復
元し、電子計算機を再起動させる。また、高速な通信手
段を使用し、内部状態を保存する他の電子計算機の記憶
装置に半導体メモリを使用する。
(57) [Problem] To externally store an external storage device in a computer having a power saving function that consumes no power except for a non-volatile memory that requires a built-in clock and power backup by completely stopping functions other than a built-in clock. There is no need to hold it. In addition, the system can be restarted faster than when the internal state is stored in the external storage device. An internal state of an interrupted computer is collected by an internal state collecting unit of the interrupted computer by using a highest priority interrupt in a running computer. After saving the collected internal state in the storage device of another computer via the communication means, the function of the interrupted computer is stopped.
At the time of restart, the internal state stored in the storage device of another computer is restored via the communication means by the internal state restoring means, and the computer is restarted. In addition, a semiconductor memory is used as a storage device of another computer for storing an internal state using a high-speed communication means.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、通信手段を介して
接続された複数の電子計算機の、省電力機能付き電子計
算機システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system having a power saving function of a plurality of computers connected via communication means.

【0002】特に、外部記憶装置や、高速な計算処理能
力を持たずに、通信手段を介した他の電子計算機の外部
記憶装置を用いたり、通信手段を介した他の電子計算機
と分散処理を行うことで、経済性・保守性・携帯性を向
上させた携帯端末やネットワークコンピュータ、クライ
アント・サーバシステムのクライアント端末の省電力機
能に関する。
In particular, an external storage device or an external storage device of another computer via a communication means without having a high-speed calculation processing capability can be used for distributed processing with another computer via a communication means. The present invention relates to a portable terminal, a network computer, and a power saving function of a client terminal of a client / server system, which have improved economy, maintainability, and portability.

【0003】[0003]

【従来の技術】携帯可能な従来のノートPC・情報携帯
端末などの電子計算機は、外出時の使用のためにバッテ
リーを有し、バッテリーからの電力供給だけで長く使用
出来るようにするための省電力機能を有している。この
省電力機能は、必要時以外にHDDのモータ駆動やディ
スプレイ表示などの機能を部分的に停止して、消費電力
を低減するスタンバイモード、さらに多くの周辺機器の
機能を停止して消費電力を大幅に低減するサスペンドモ
ードなどがある。また、内蔵クロック以外の機能を完全
に停止し、内蔵クロック・電力バックアップの必要な不
揮発性メモリ以外、電力を消費しない0Vサスペンドモ
ードを有するものもある。
2. Description of the Related Art Conventional portable computers, such as notebook PCs and personal digital assistants, have batteries for use when going out, and save energy so that they can be used for a long time only by supplying power from the batteries. It has a power function. This power-saving function partially stops functions such as HDD motor drive and display display when not necessary, and reduces power consumption by a standby mode, and stops more peripheral devices to reduce power consumption. There is a suspend mode that greatly reduces. Other than the non-volatile memory that completely stops functions other than the built-in clock and requires a built-in clock and power backup, there is also a type that has a 0 V suspend mode that consumes no power.

【0004】また、省エネルギーのために、オフィスや
家庭で使用される端末・パーソナルコンピュータにも、
上記の省電力機能を標準で有するものも多くなってい
る。
In order to save energy, terminals and personal computers used in offices and homes are also required.
Many of those having the above-mentioned power saving function as a standard are increasing.

【0005】0Vサスペンドへの移行には、移行直前の
電子計算機の内部状態を保存し、再起動時に保存した内
部状態を復帰させなくてはならない。内部状態の保存に
は、電力の供給を停止しても記憶内容が失われることの
ない、ハードディスクなどの外部記憶装置が使用され
る。
To shift to 0V suspend, the internal state of the computer immediately before the shift must be saved, and the saved internal state must be restored when the computer is restarted. For storing the internal state, an external storage device such as a hard disk, which does not lose stored contents even when the supply of power is stopped, is used.

【0006】近年では、外部記憶装置や、高速な計算処
理能力を持たずに、通信手段を介した他の電子計算機の
外部記憶装置を用いたり、通信手段を介した他の電子計
算機と分散処理を行うことで、経済性・保守性・携帯性
を向上させた電子計算機システムが実用化されつつあ
る。
In recent years, an external storage device or an external storage device of another computer via communication means without having high-speed calculation processing capability, or a distributed processing with another computer via communication means has been used. By doing so, computer systems with improved economy, maintainability, and portability are being put to practical use.

【0007】また、近年では、内部メモリとして使用さ
れる半導体メモリ素子のビット単価が低下している。将
来、外部記憶装置として使用されるハードディスクなど
のビット単価を下回ることが予想される。半導体メモリ
はハードディスクなどの外部記憶装置に比べ、複雑な機
械的機構を必要としないため、保守が容易であり、書き
込み・読み出し速度が速い。また、0Vサスペンドモー
ドからの復帰の際には、外部記憶装置の初期化に要する
時間、例えば、ハードディスクの磁気ディスクの回転を
し始め、安定させるまでの時間が必須である。
In recent years, the cost per bit of a semiconductor memory device used as an internal memory has been decreasing. In the future, it is expected that the bit unit price of a hard disk used as an external storage device will be lower. A semiconductor memory does not require a complicated mechanical mechanism as compared with an external storage device such as a hard disk, so that maintenance is easy and writing / reading speed is high. When returning from the 0 V suspend mode, a time required for initializing the external storage device, for example, a time until the magnetic disk of the hard disk starts rotating and becomes stable is essential.

【0008】さらに、イーサネットなどの通信手段も年
々高速化している。
Further, the speed of communication means such as Ethernet is increasing year by year.

【0009】[0009]

【発明が解決しようとする課題】上記のような外部記憶
装置を持たない電子計算機では、内部状態を保存するた
めの外部記憶装置がないために、0Vサスペンドは実現
できない。
In an electronic computer having no external storage device as described above, since there is no external storage device for storing the internal state, 0 V suspend cannot be realized.

【0010】また、外部記憶装置を持っていても、0V
サスペンドモードからの復帰の際には、外部記憶装置の
初期化に要する時間のために、復帰にかかる時間を高速
化するには限界がある。
[0010] Even if an external storage device is provided, 0V
When returning from the suspend mode, there is a limit to shortening the time required for the return because of the time required for initializing the external storage device.

【0011】本発明の第一の目的は、外部記憶装置や、
高速な計算処理能力を持たずに、通信手段を介した他の
電子計算機の外部記憶装置を用いたり、通信手段を介し
た他の電子計算機と分散処理を行うことで、経済性・保
守性・携帯性を向上させた電子計算機システムでも、内
蔵クロック以外の機能を完全に停止し、内蔵クロック・
電力バックアップの必要な不揮発性メモリ以外、電力を
消費しない省電力モードを実現する手段を提供すること
を目的とする。
A first object of the present invention is to provide an external storage device,
Rather than having high-speed calculation processing capability, by using an external storage device of another computer via communication means or performing distributed processing with other computers via communication means, economical efficiency, maintainability, Even in computer systems with improved portability, functions other than the built-in clock are completely stopped, and the built-in clock
An object of the present invention is to provide means for realizing a power saving mode that does not consume power, except for a nonvolatile memory that requires power backup.

【0012】本発明の第二の目的は、外部記憶装置を用
いた場合よりも、内蔵クロック以外の機能を完全に停止
し、内蔵クロック・電力バックアップの必要な不揮発性
メモリ以外、電力を消費しない省電力モードから、高速
に復帰する手段を提供することを目的とする。
A second object of the present invention is to completely stop functions other than the built-in clock as compared with the case where an external storage device is used, and to consume no power except for a non-volatile memory which requires a built-in clock and power backup. An object is to provide means for returning from a power saving mode at high speed.

【0013】[0013]

【課題を解決するための手段】本発明の目的は、最優先
割り込みを有する複数の電子計算機と、電子計算機の内
部状態を収集する内部状態収集手段、収集した内部状態
を他の電子計算機に転送する通信手段、内部状態を保存
する他の電子計算機の記憶装置、通信手段を介して、元
の電子計算機に転送しなおされた内部状態を復元する内
部状態復元手段、とを設けることにより達成される。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a plurality of computers having the highest priority interrupt, an internal state collecting means for collecting the internal state of the computer, and transferring the collected internal state to another computer. Communication means for storing the internal state, a storage device of another computer for storing the internal state, and internal state restoring means for restoring the internal state transferred back to the original computer via the communication means. You.

【0014】稼働中の電子計算機に、最優先割り込みを
使用して、割り込み先の電子計算機の内部状態を、同計
算機の内部状態収集手段により収集する。収集した内部
状態を通信手段を介し、他の電子計算機の記憶装置に保
存した後、割り込み先の電子計算機の機能を停止する。
再起動時には、他の電子計算機の記憶装置に保存した内
部状態を、内部状態復元手段により通信手段を介して復
元し、電子計算機を再起動させる。
Using the highest priority interrupt, the internal state of the interrupted computer is collected by the internal state collecting means of the computer in use. After saving the collected internal state in the storage device of another computer via the communication means, the function of the interrupted computer is stopped.
At the time of restart, the internal state stored in the storage device of another computer is restored via the communication means by the internal state restoring means, and the computer is restarted.

【0015】これにより、停止する電子計算機に外部記
憶装置を保有する必要がなくなる。
This eliminates the necessity of having an external storage device in the computer to be stopped.

【0016】また、高速な通信手段を使用し、内部状態
を保存する他の電子計算機の記憶装置に半導体メモリを
使用することによって、外部記憶装置に内部状態を保存
した場合より、高速に再起動出来る。
Also, by using a high-speed communication means and using a semiconductor memory for the storage device of another computer for storing the internal state, the computer can be restarted faster than when the internal state is stored in the external storage device. I can do it.

【0017】[0017]

【発明の実施の形態】以下に発明の具体的な例を図を参
照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A specific example of the present invention will be described below with reference to the drawings.

【0018】(電子計算機システムの構成)第1図を用
いて、本発明の前提となるハードウェアの機能構成を説
明する。複数の電子計算機100・110・120が通
信手段150を介して接続されている。それぞれの電子
計算機は、通信手段150を介した他の電子計算機の外
部記憶装置を用いたり、通信手段150を介した他の電
子計算機と分散処理を行なえる。
(Configuration of Electronic Computer System) A functional configuration of hardware which is a premise of the present invention will be described with reference to FIG. A plurality of computers 100, 110, 120 are connected via a communication means 150. Each computer can use an external storage device of another computer via the communication unit 150 or perform distributed processing with another computer via the communication unit 150.

【0019】また、外部記憶装置を持たない電子計算機
100は、通信手段を介した他の電子計算機の外部記憶
装置を用いることが可能である。携帯端末やネットワー
クコンピュータ、クライアント・サーバシステムのクラ
イアント端末などは、このようなシステム形態をとるこ
とで経済性・保守性・携帯性を向上させている。
The computer 100 having no external storage device can use an external storage device of another computer via communication means. Mobile terminals, network computers, client terminals of client-server systems, and the like have improved economy, maintainability, and portability by adopting such a system form.

【0020】さらに本システムは、個々のまたは、一部
の電子計算機に内部状態収集手段101・111・12
1と、内部状態復元手段102・112・122を持
つ。内部状態収集手段101・111・121は、最優
先割り込みをきっかけとして、各電子計算機の内部状態
を収集し、通信手段150を介して接続している稼働中
の他の電子計算機の記憶装置に保存し、内部状態収集済
みの電子計算機の機能の一部または全部を停止出来る。
また、内部状態を収集する電子計算機が、他の停止中の
電子計算機の内部状態を保存している場合、この内部状
態も同様に稼働中の他の電子計算機の記憶装置に保存出
来る。
Further, the present system is capable of storing internal state collecting means 101, 111, and 12 in individual computers or some computers.
1 and internal state restoring means 102, 112, 122. The internal state collection units 101, 111, and 121 collect the internal state of each computer, triggered by the highest priority interrupt, and store the internal state in the storage device of another operating computer connected via the communication unit 150. Then, some or all of the functions of the computer whose internal state has been collected can be stopped.
Further, when the computer that collects the internal state stores the internal state of another stopped computer, this internal state can be stored in the storage device of the other running computer in the same manner.

【0021】内部状態復元手段102・112・122
は、他の電子計算機に内部状態を保存して機能を停止し
た電子計算機が再起動する際、同電子計算機の内部状態
を保存している他の電子計算機を通信手段150を介し
て特定し、内部状態を電子計算機に復元してから起動す
ることが出来る。
Internal state restoring means 102, 112, 122
When the computer that has saved the internal state in another computer and stopped functioning is restarted, the other computer that stores the internal state of the same computer is specified via the communication unit 150, It can be started after restoring the internal state to the computer.

【0022】(個々の電子計算機ハードウエアの前提、
ブロック図)省電力機能を備えた電子計算機では通常ハ
ードウエアでサポートされる最優先割り込みを用いた省
電力機能を有している。この省電力機能を実現する手段
としてSMI(System Management Interrupt)等の最
優先割り込みが利用され、その割り込みで動作する割り
込みハンドラはSMIハンドラと呼ばれ、このハンドラ
(ソフトウエアルーチン)で具体的な省電力動作が実行
される。省電力機能としては、使用されていないIOデ
バイス類の電源をダイナミックに切断していくローカル
スタンバイ機能、メモリの内容を保持したままIOデバ
イス類の電源を切りかつCPUのクロックを停止するサ
スペンド機能、すべてのIOデバイス類の情報・CPU
の状態・メモリの内容をハードディスク等の外部デバイ
スに保存し電子計算機の電源をすべてオフにする0Vサ
スペンド機能がある。このような省電力機能を有した電
子計算機のブロック図の一例を第2図に示す。
(Premise of individual computer hardware,
Block diagram) An electronic computer having a power saving function usually has a power saving function using the highest priority interrupt supported by hardware. As a means for realizing this power saving function, the highest priority interrupt such as SMI (System Management Interrupt) is used, and an interrupt handler that operates by the interrupt is called an SMI handler. A power operation is performed. As power saving functions, a local standby function for dynamically turning off the power of unused IO devices, a suspend function for turning off the IO devices and stopping the clock of the CPU while retaining the contents of the memory, Information and CPU of all IO devices
There is a 0V suspend function that saves the status and contents of the memory in an external device such as a hard disk and turns off all the power of the computer. FIG. 2 shows an example of a block diagram of a computer having such a power saving function.

【0023】(一般的な省電力機能の動作概要)Intel
社の86系CPUではこの省電力機能を実現する具体的
な手段として前記のSMI(System Management Inte
rrupt)と呼ばれる最優先割り込みをサポートしている。
SMIはCPUが実行する最優先割り込みであり、CP
Uがいかなる動作をしている間でも最優先処理として実
行される。SMIの実行されるモードはSMM(System
Management Mode)と呼ばれる通常のCPUが実行す
るモードとは異なるモードでの動作となる。SMI及び
SMMの動作について第3図を基に説明する。SMMは
通常の86系CPUの動作するリアルモード、プロテク
テッドモード、仮想86モードといった動作とは根本的
に異なるモードである。SMMはSMIで起動されるモ
ードであり、前記通常モードに対する割り込みモードと
して動作する。このSMMでは例えば16のメモリアド
レスの30000h番地代の64KBが17のSM R
AMと呼ばれるSMIハンドラを格納する特殊なRAM
にハード的にマッピングされ、CPUの制御はこのSM
RAM上のエントリポイントに移される。その後の動
作はSMI処理が終了するまですべて18のSMIハン
ドラが制御する。19で示すようにSMIハンドラは電
子計算機の起動時に15のBIOS ROMからこのS
M RAM上にコピーされ、SMI発生ごとに制御が渡
されるようにしてある。このSMIハンドラ内ではSM
Iの発生した要因を19のSMI要因レジスタ等から確
認し、その要因に応じた省電力動作を行う。例えば、一
定時間ハードディスクへのアクセスがなく、ハードディ
スクアクセスを監視するタイマがエクスパイアした場合
はハードディスクの回転を停止し、余分な電力を消費し
ないようにしたり、一定時間キーボードやマウスの動作
がなかった場合は表示デバイスの電源を切る、といった
処理が行われる。また、オペレータがしばらく電子計算
機の使用を停止したい場合はサスペンド/レジュームス
イッチを押すこともあり得る。この場合の動作は通常サ
スペンドであるが、設定により0Vサスペンドとするこ
とも通常可能である。
(Outline of Operation of General Power Saving Function)
As a specific means for realizing this power saving function, the 86 series CPU of the company has the above-mentioned SMI (System Management Infrastructure).
(rrupt) is supported.
SMI is the highest priority interrupt executed by the CPU, and CP
This is executed as the highest priority processing while U is performing any operation. The mode in which the SMI is executed is SMM (System
The operation is performed in a mode called a management mode, which is different from a mode executed by a normal CPU. The operation of the SMI and SMM will be described with reference to FIG. The SMM is a mode fundamentally different from an operation such as a real mode, a protected mode, and a virtual 86 mode in which a normal 86 CPU operates. The SMM is a mode activated by the SMI, and operates as an interrupt mode for the normal mode. In this SMM, for example, 64 KB at 30,000h address of 16 memory addresses is converted into 17 SM Rs.
Special RAM to store SMI handler called AM
The CPU is controlled by this SM
It is moved to the entry point on the RAM. All subsequent operations are controlled by the 18 SMI handlers until the SMI processing ends. As shown at 19, the SMI handler reads this S ROM from the 15 BIOS ROM when the computer starts up.
The data is copied onto the MRAM, and control is passed every time an SMI occurs. In this SMI handler, SM
The cause of the occurrence of I is checked from the 19 SMI cause registers and the like, and power saving operation is performed according to the cause. For example, if there is no access to the hard disk for a certain period of time and the timer that monitors the hard disk access expires, the rotation of the hard disk stops, so that extra power is not consumed, or if there is no keyboard or mouse operation for a certain period of time. Is performed to turn off the power of the display device. If the operator wants to stop using the computer for a while, the operator may press the suspend / resume switch. The operation in this case is normally suspended, but it is usually possible to set it to 0 V suspend by setting.

【0024】以下にこのような節電機能の具体的な動き
について第2図を用いて説明する。第2図は最優先ハー
ドウエア割り込みとデータ退避用のメモリとIOデバイ
ス監視論理を備えた電子計算機のハードウエアの構成の
一例である。これは本発明の前提となるハードウエアの
ブロック図を示したものである。1はCPUであり、4
のホストバスを介して2のメモリコントローラ及び3の
メインメモリに接続されている。また、4のCPUバス
は6のホスト−PCIブリッジを介して7のPCIバス
に接続されており、このPCIバス上の9,10の各I
Oコントローラは1のCPUからアクセス可能な構造と
なっている。さらに7のPCI−ISAブリッジは13
のPCIバスと14のISAバスを接続する機能を持っ
ており、ISAバス上の11,12といったIOコント
ローラはこのブリッジ経由でCPUからアクセス可能と
なっている。ここで6の周辺論理にはIOアクセス監視
ロジックが含まれ、CPUのIOコントローラへのアク
セスを監視する機能を持っている。ここでメモリコント
ローラ、ブリッジ、IOアクセス監視ロジック等の電子
計算機の基本的な機能を実現するハードウエアは16で
示すチップセットと呼ばれる一式の半導体チップという
形で提供されるケースが多い。IOアクセス監視ロジッ
クは、その内部に20で示す1つ以上のタイマを持ち、
一定時間の間そのタイマに対応付けられた特定のIOコ
ントローラに対してCPUのアクセスが無かった場合、
CPUに対して最優先割り込みを発生する機能を持つ。
このタイマは各々省電力動作を行うデバイスごとに1個
づつ割り当てる。また、スタンバイ、サスペンド用にも
それぞれタイマを割り当てる。このタイマの値及びIO
アクセス監視の対象となるIOコントローラはソフトウ
エアからのプログラムが可能であり、電子計算機システ
ムに最適な条件のIOアクセス監視条件の設定が可能の
構造となっている。これらの設定は通常15のROMに
格納されるBIOS(Basic Input Output System)
が行う。タイマによる最優先割り込みの他にオペレータ
が意図的に最優先割り込みを発生する為にオペレータが
操作可能なスイッチをもうけることも可能である。これ
は一般にサスペンド/レジュームスイッチと呼ばれユー
ザが意図的に電子計算機をサスペンドまたは0Vサスペ
ンドに移行することができるものである。
The specific operation of the power saving function will be described below with reference to FIG. FIG. 2 shows an example of a hardware configuration of a computer provided with a top priority hardware interrupt, a memory for saving data, and an IO device monitoring logic. This is a block diagram of hardware which is a premise of the present invention. 1 is a CPU, 4
Are connected to the memory controller 2 and the main memory 3 via the host bus. Further, the CPU bus 4 is connected to the PCI bus 7 via the host-PCI bridge 6, and each of the 9 and 10 I buses on the PCI bus is connected.
The O controller has a structure accessible from one CPU. Furthermore, 7 PCI-ISA bridges have 13
Of the ISA bus, and IO controllers such as 11 and 12 on the ISA bus can be accessed from the CPU via this bridge. Here, the peripheral logic 6 includes IO access monitoring logic, and has a function of monitoring access of the CPU to the IO controller. Here, hardware that realizes basic functions of a computer such as a memory controller, a bridge, and IO access monitoring logic is often provided in the form of a set of semiconductor chips called a chip set indicated by 16. The IO access monitoring logic has one or more timers therein, designated 20;
If the CPU has not accessed a specific IO controller associated with the timer for a certain period of time,
It has a function to generate the highest priority interrupt to the CPU.
One timer is assigned to each device that performs a power saving operation. In addition, timers are assigned to each of standby and suspend. This timer value and IO
The IO controller to be monitored for access can be programmed from software, and has a structure that allows setting of IO access monitoring conditions optimal for the computer system. These settings are usually stored in 15 ROMs (BIOS (Basic Input Output System)).
Do. In addition to the highest priority interrupt by the timer, it is also possible to provide a switch operable by the operator so that the operator intentionally generates the highest priority interrupt. This is generally called a suspend / resume switch, and allows the user to intentionally shift the computer to suspend or 0V suspend.

【0025】(0Vサスペンドの動作)本発明ではハー
ドウエアの保存情報を障害解析に使用するが、その保存
情報として0Vサスペンド時に生成する保存情報を利用
する動作を一例として以下に示す。一般的には保存情報
はハードディスク等の外部記憶装置に記憶されるので、
以下に示す例では22のハードディスクを使用した場合
の動作を本発明の例として第4図、第5図を参照しなが
ら説明する。0Vサスペンドは前記の通りサスペンドタ
イマがエクスパイアした場合、又はサスペンド/レジュ
ームスイッチを押下した場合に動作する。サスペンド/
レジュームスイッチはハードウエア的に電子計算機の基
本的な機能を提供するチップセットの信号線に接続され
る。この信号線は例えば21のSRBTN−Nといった
信号名を持ちサスペンド/レジュームをオペレータが操
作する為の信号線として用意されているケースが多い。
SRBTN−N等の信号はサスペンド/レジュームスイ
ッチを押下るとアサートされそれを受けたチップセット
は内部の論理でサスペンド/レジュームスイッチが押さ
れたという要因を19のSMI要因レジスタ等のソフト
ウエアが認識できる部分に出力し、かつCPUに最優先
割り込みであるSMIを発行する。SMIを受けたCP
UはSMM(System Management Mode)に入り、SM
RAM上のSMIハンドラを実行する。SMIハンド
ラはまず最初にどの要因でSMIが発生したかを検出す
る為に、要因判定レジスタを読みとる。この場合はサス
ペンド/レジュームスイッチが押されたという要因をこ
こで見つけるため、サスペンド動作を開始する。具体的
な内容はSMI発生時のハードウエアの動きによりSM
−RAMにPushされている24のCPUコンテキスト
のハードディスクへの保存、27,29,31,33,
34で示す各種IOレジスタのその時点でのステータス
のハードディスクへの保存、25のメインメモリの内容
のハードディスクへの保存、30のVRAM(ビデオメ
モリ)の内容のハードディスクへの保存、等である。こ
れらの情報はすべて22のハードディスクの特定のエリ
ア、例えば23で示すような特定のパーティションある
いは特定のファイルに格納される。必要なすべての情報
をハードディスクに保存した後にリアルタイムクロック
等に内蔵される不揮発性メモリの中の0Vサスペンド処
理実行フラグをオンにして、ソフトウエアから電源オフ
制御レジスタに命令を発行し、装置の電源をオフする処
理を行う。これで電子計算機の状態を完全にハードディ
スクに格納した状態で装置の電源がオフされたことにな
る。
(Operation of 0V Suspend) In the present invention, the stored information of the hardware is used for failure analysis, and an operation using the stored information generated at the time of 0V suspend as the stored information will be described below as an example. Generally, the stored information is stored in an external storage device such as a hard disk.
In the following example, the operation when 22 hard disks are used will be described as an example of the present invention with reference to FIG. 4 and FIG. The 0V suspend operates as described above when the suspend timer expires or when the suspend / resume switch is pressed. suspend/
The resume switch is connected in hardware to a signal line of a chipset that provides basic functions of an electronic computer. In many cases, this signal line has a signal name such as 21 SRBTN-N and is prepared as a signal line for an operator to operate suspend / resume.
Signals such as SRBTN-N are asserted when the suspend / resume switch is depressed, and the chipset receiving the signal recognizes the cause of the depression of the suspend / resume switch by software such as the SMI factor register of 19 based on internal logic. It outputs to the possible part and issues SMI which is the highest priority interrupt to CPU. CP who received SMI
U enters SMM (System Management Mode) and SM
Execute the SMI handler on the RAM. The SMI handler first reads the cause determination register to detect the cause of the SMI. In this case, the suspend operation is started in order to find out here the cause of the depression of the suspend / resume switch. The specific content depends on the operation of hardware when SMI occurs.
-Saving the 24 CPU contexts pushed to the RAM to the hard disk, 27, 29, 31, 33,
The current status of various IO registers indicated by 34 is stored on the hard disk, the content of the main memory 25 is stored on the hard disk, the content of VRAM (video memory) 30 is stored on the hard disk, and the like. All of this information is stored in a specific area of the 22 hard disks, for example, a specific partition or a specific file as shown at 23. After saving all necessary information on the hard disk, turn on the 0V suspend processing execution flag in the non-volatile memory incorporated in the real-time clock, etc., issue an instruction from software to the power-off control register, Is turned off. This means that the power of the computer is turned off with the state of the computer completely stored in the hard disk.

【0026】(0Vサスペンドからのレジューム)次に
0Vサスペンドからのレジューム処理について第6図の
フローチャートを基に説明する。0Vサスペンドは完全
に装置の電源を切ってしまうため、レジューム処理の最
初は通常の電源オンと全く同じ処理で始まる。つまり、
電子計算機の電源が投入された時点で、CPUはROM
の内容を実行する。CPUは電源投入でリセットがかか
ると、特定のアドレスから実行を開始するようになって
いる。このCPUが最初に実行するアドレスを15のR
OMにハードウエア的に割り当てておき、このROMの
中にROM自身のプログラムの内容を検証するプログラ
ムやメインメモリやIOコントローラのテストを実行す
るプログラムをあらかじめ書き込んでおくことにより、
電源投入時に電子計算機を構成するハードウエアの自己
診断を一括して行っている。これらのハードウエアの初
期化及び診断がある程度終了し、ハードウエアの動作が
保証された時点で、初期診断プログラムは、不揮発性メ
モリ内に前回電源を切ったときの処理が0Vサスペンド
であったかどうかのフラグをチェックする。もし、チェ
ック結果が0Vサスペンドを示していなければそのまま
通常のOSブート処理を継続するが、チェック結果が0
Vサスペンドを指している場合には、自らソフトウエア
的にSMIを発行し、ハードディスクに保存しているす
べてのIOデバイス類の情報・CPUの状態・メモリの
内容をそれぞれのIOデバイス、メモリに書き戻す処理
を実行する。最後にCPUのResume命令によりCPU
のコンテキストにかかれていた0Vサスペンドのトリガ
となったSMIが発生する直前の実行アドレスに制御を
戻し、SMI発生以前の状態で動作を再開することがで
きる。ここでResume命令はSM RAM上にスタック
されたCPUのコンテキストをすべてCPUに書き戻す
Intel86系CPUの命令である。
(Resume from 0V Suspend) Next, resume processing from 0V suspend will be described with reference to the flowchart of FIG. Since the 0V suspend completely turns off the power of the apparatus, the resuming process starts with exactly the same process as the normal power-on. That is,
When the power of the computer is turned on, the CPU
Execute the contents of When the CPU is reset upon power-on, the CPU starts executing from a specific address. The address that this CPU executes first is 15 R
By assigning a hardware to the OM in advance and writing a program for verifying the contents of the program of the ROM itself and a program for executing a test of the main memory and the IO controller in advance in the ROM,
At power-on, self-diagnosis of the hardware that makes up the computer is performed at once. When the initialization and diagnosis of the hardware have been completed to some extent and the operation of the hardware has been guaranteed, the initial diagnosis program determines whether or not the process when the power was last turned off was 0 V suspend in the nonvolatile memory. Check the flags. If the check result does not indicate 0V suspend, the normal OS boot process is continued as it is,
In the case of V suspend, the SMI itself issues an SMI by software, and writes information on all IO devices and the like stored in the hard disk, the state of the CPU, and the contents of the memory to the respective IO devices and memories. Perform the return process. Finally, CPU resume instruction by CPU
The control can be returned to the execution address immediately before the occurrence of the SMI that triggered the 0V suspend in the context of, and the operation can be resumed in a state before the occurrence of the SMI. Here, the Resume instruction is an instruction of the Intel 86 CPU that writes back all the contexts of the CPU stacked on the SM RAM to the CPU.

【0027】(外部記憶装置を持たない電子計算機の0
Vサスペンドとレジューム)第1図を用いて通信手段を
介して接続している電子計算機の0Vサスペンドとレジ
ュームの処理を説明する。
(0 of an electronic computer having no external storage device)
(V Suspend and Resume) With reference to FIG. 1, the process of 0V suspend and resume of the computer connected via the communication means will be described.

【0028】稼働中の電子計算機100に、最優先割り
込みを使用して、割り込み先の電子計算機100の内部
状態を、同計算機の内部状態収集手段101により収集
する。収集した内部状態を通信手段を介し、稼働中の他
の電子計算機110の外部記憶装置114に保存した
後、割り込み先の電子計算機100の機能を停止する。
再起動時には、他の電子計算機110の外部記憶装置1
14に保存した内部状態を、内部状態復元手段102に
より通信手段を介して復元し、電子計算機100を再起
動させる。
Using the highest priority interrupt, the internal state of the interrupted computer 100 is collected by the internal state collection means 101 of the computer 100 in operation. After saving the collected internal state in the external storage device 114 of the other operating computer 110 via the communication means, the function of the interrupted computer 100 is stopped.
At the time of restart, the external storage device 1 of another computer 110
The internal state stored in 14 is restored by the internal state restoring means 102 via the communication means, and the computer 100 is restarted.

【0029】これにより、電子計算機100に外部記憶
装置がなくても0Vサスペンドすることが可能となる。
As a result, it is possible to suspend 0 V even if the computer 100 does not have an external storage device.

【0030】(他の電子計算機の主記憶メモリを用いた
0Vサスペンドとレジューム)上記での内部状態の保存
を、他の電子計算機の主記憶メモリー113に保存する
事もできる。このようにすれば、他の電子計算機110
の外部記憶装置114に保存した場合よりも、0Vサス
ペンドからのレジュームを高速に行うことが可能とな
る。
(0V Suspend and Resume Using Main Memory of Another Computer) The above internal state can be stored in the main memory 113 of another computer. By doing so, the other computers 110
The resume from the 0V suspend can be performed faster than the case where the data is stored in the external storage device 114.

【0031】(その他:内部状態を保存した先の電子計
算機の0Vサスペンドとレジューム)上記の処理手順で
0Vサスペンド状態になった電子計算機100の内部状
態を保存している他の電子計算機110が、さらに0V
サスペンドしても、最初に0Vサスペンドした電子計算
機100がレジューム出来るようにすることが出来る。
(Others: 0V Suspend and Resume of Computer at Preservation of Internal State) Another computer 110 storing the internal state of the computer 100 which has been brought to the 0V suspend state in the above-described processing procedure, Further 0V
Even when the computer 100 is suspended, the computer 100 that has initially suspended 0 V can be resumed.

【0032】電子計算機100の内部状態を保存してい
る他の電子計算機110が、さらに0Vサスペンドする
処理を以下に述べる。
A process in which another computer 110 storing the internal state of the computer 100 further suspends the voltage by 0 V will be described below.

【0033】稼働中の電子計算機110に、最優先割り
込みを使用して、割り込み先の電子計算機110の内部
状態を、同計算機の内部状態収集手段111により収集
する。収集した内部状態を通信手段を介し、稼働中の他
の電子計算機120の外部記憶装置124または主記憶
メモリ123に保存する。また、内部状態収集手段11
1が電子計算機110に保存した電子計算機100の内
部状態も収集し、同様に稼働中の他の電子計算機120
に保存する。その後、割り込み先の電子計算機110の
機能を停止する。
Using the highest priority interrupt, the internal state of the computer 110 at the interrupt destination is collected by the internal state collection means 111 of the computer 110 in operation. The collected internal state is stored in the external storage device 124 or the main storage memory 123 of another operating computer 120 via the communication unit. Also, the internal state collecting means 11
1 also collects the internal state of the computer 100 stored in the computer 110, and similarly collects other operating computers 120
To save. After that, the function of the interrupted computer 110 is stopped.

【0034】最初に0Vサスペンドした電子計算機10
0がレジュームする処理を以下に述べる。
First, the computer 10 suspended at 0V
The process of resuming 0 is described below.

【0035】最初に0Vサスペンドした電子計算機10
0の再起動時には、内部状態復元手段102が、ブロー
ドキャストやポーリングなどの手法で、内部状態収集手
段に問い合わせ、内部状態保存先の電子計算機120の
内部状態収集手段121を特定する。特定された内部状
態復元手段102により稼働中の電子計算機120の外
部記憶装置124に保存した内部状態を、通信手段を介
して復元し、電子計算機100を再起動させる。
First, the computer 10 suspended at 0V
At the time of the restart of “0”, the internal state restoring unit 102 inquires of the internal state collecting unit by a method such as broadcast or polling, and specifies the internal state collecting unit 121 of the computer 120 of the internal state saving destination. The specified internal state restoring unit 102 restores the internal state stored in the external storage device 124 of the computer 120 in operation via the communication unit, and restarts the computer 100.

【0036】以上の処理により、他の電子計算機の0V
サスペンドからのレジュームに必要な内部状態を保存し
ている稼働中の電子計算機が0Vサスペンドを行って
も、最初に0Vサスペンド状態になった電子計算機10
0のレジュームを可能にすることが出来る。
By the above processing, 0 V of another computer is
Even if the operating computer that stores the internal state necessary for resuming from the suspend performs the 0V suspend, the computer 10 that first enters the 0V suspend state is started.
Resume of 0 can be enabled.

【0037】[0037]

【発明の効果】本発明では、外部記憶装置や、高速な計
算処理能力を持たずに、通信手段を介した他の電子計算
機の外部記憶装置を用いたり、通信手段を介した他の電
子計算機と分散処理を行うことで、経済性・保守性・携
帯性を向上させた電子計算機システムでも、内蔵クロッ
ク以外の機能を完全に停止し、内蔵クロック・電力バッ
クアップの必要な不揮発性メモリ以外、電力を消費しな
い省電力モードを実現する手段を提供することが出来
る。
According to the present invention, an external storage device, an external storage device of another computer via communication means without high-speed calculation processing capability, or another computer via communication means can be used. Even in a computer system with improved economics, maintainability, and portability by performing distributed processing, functions other than the built-in clock are completely stopped, and power is saved except for the non-volatile memory that requires a built-in clock and power backup. Means for realizing a power saving mode that does not consume power.

【0038】また、外部記憶装置を用いた場合よりも、
内蔵クロック以外の機能を完全に停止し、内蔵クロック
・電力バックアップの必要な不揮発性メモリ以外、電力
を消費しない省電力モードから、高速に復帰する手段を
提供することが出来る。
Further, as compared with the case where an external storage device is used,
It is possible to provide a means for completely stopping functions other than the built-in clock and returning quickly from a power saving mode in which power is not consumed, except for a nonvolatile memory requiring a built-in clock and power backup.

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

【図1】本発明の通信手段で接続された電子計算機シス
テムを説明する図。
FIG. 1 is a view for explaining an electronic computer system connected by communication means of the present invention.

【図2】省電力機能を有した電子計算機を説明するブロ
ック図。
FIG. 2 is a block diagram illustrating a computer having a power saving function.

【図3】SMI及びSMMの動作について説明する図。FIG. 3 is a diagram illustrating operations of an SMI and an SMM.

【図4】ハードディスクを使用した場合の0Vサスペン
ドの動作を説明する図。
FIG. 4 is a view for explaining an operation of 0V suspend when a hard disk is used.

【図5】ハードディスクを使用した場合の0Vサスペン
ドの保存情報を説明する図。
FIG. 5 is a view for explaining storage information of 0V suspend when a hard disk is used.

【図6】0Vサスペンドからのレジューム処理について
説明する図。
FIG. 6 is a view for explaining resume processing from 0V suspend.

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

100…外部記憶装置を持たない電子計算機、101…
内部状態収集手段、102…内部状態復元手段、
103…主記憶メモリ、110…外部記憶装
置を持つ電子計算機、 111…内部状態収集手段、
112…内部状態復元手段、113…主記憶メモリ、1
14…外部記憶装置、120…外部記憶装置を持つ電子
計算機、 121…内部状態収集手段、122…内部
状態復元手段、123…主記憶メモリ、124…外部記
憶装置、150…通信手段。
100 ... Electronic computer without external storage device, 101 ...
Internal state collecting means, 102 ... internal state restoring means,
103: main storage memory, 110: a computer having an external storage device, 111: internal state collecting means,
112: internal state restoring means, 113: main memory, 1
14 external storage device, 120 computer having an external storage device, 121 internal state collecting means, 122 internal state restoring means, 123 main memory, 124 external storage device, 150 communication means.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数の電子計算機が通信手段を介して接続
されている電子計算機システムにおいて、一部または全
部の電子計算機が最優先割り込み機能と、最優先割り込
みをきっかけに、最優先割り込み先の電子計算機の一部
または全部の内部状態を収集する内部状態収集手段と、
収集した内部状態を保存する、通信手段を介して接続さ
れる他の電子計算機の記憶装置と、最優先割り込み先の
電子計算機の一部または全部の機能を停止する機能と、
保存した内部状態を通信手段を介して転送しなおし、復
元する内部状態復元手段と、内部状態を保存する直前の
状態から再起動する機能とを有することを特徴とする、
電子計算機システム
In an electronic computer system in which a plurality of electronic computers are connected via communication means, some or all of the electronic computers have a highest priority interrupt function and a highest priority interrupt destination. Internal state collecting means for collecting a part or all of the internal state of the computer;
Saving the collected internal state, a storage device of another computer connected via communication means, and a function to stop some or all functions of the computer of the highest priority interrupt destination,
Transferring the saved internal state via the communication means, and restoring the internal state restoring means, and having a function of restarting from the state immediately before saving the internal state,
Electronic computer system
【請求項2】請求項1の内部状態収集手段において、そ
の内部状態収集手段の存在する電子計算機の記憶装置に
他の内部状態が保存されていた場合、これも収集し、通
信手段を介して接続されるさらに他の電子計算機の記憶
装置に保存することを特徴とする、電子計算機システ
ム。
2. The internal state collecting means according to claim 1, wherein if another internal state is stored in a storage device of the computer in which said internal state collecting means exists, this is also collected and communicated via communication means. An electronic computer system characterized in that it is stored in a storage device of another electronic computer to be connected.
JP9153330A 1997-06-11 1997-06-11 Computer device with network-based power saving function Pending JPH113152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9153330A JPH113152A (en) 1997-06-11 1997-06-11 Computer device with network-based power saving function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9153330A JPH113152A (en) 1997-06-11 1997-06-11 Computer device with network-based power saving function

Publications (1)

Publication Number Publication Date
JPH113152A true JPH113152A (en) 1999-01-06

Family

ID=15560141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9153330A Pending JPH113152A (en) 1997-06-11 1997-06-11 Computer device with network-based power saving function

Country Status (1)

Country Link
JP (1) JPH113152A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002354886A (en) * 2001-05-28 2002-12-06 Matsushita Electric Works Ltd Electric tool carried by hand

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002354886A (en) * 2001-05-28 2002-12-06 Matsushita Electric Works Ltd Electric tool carried by hand

Similar Documents

Publication Publication Date Title
US6243831B1 (en) Computer system with power loss protection mechanism
US6336161B1 (en) Computer configuration system and method with state and restoration from non-volatile semiconductor memory
US5931951A (en) Computer system for preventing cache malfunction by invalidating the cache during a period of switching to normal operation mode from power saving mode
US5784628A (en) Method and system for controlling power consumption in a computer system
CN104850435B (en) Power management controller and method
US6832311B2 (en) Information processing system and resume processing method used in the system
KR100352045B1 (en) Methods and apparatus for reducing power consumption in computer systems
EP2367091B1 (en) Operating system independent network event handling
CN101634884B (en) Power management controller and method
JP3106401B2 (en) Information processing system
JP2838375B2 (en) SCSI disk drive power down device
US6453423B1 (en) Computer remote power on
JP3869049B2 (en) Method for preventing loss of device configuration during standby in computer system and controller circuit for capturing device configuration
EP1351146A1 (en) Power management system and method with recovery after power failure
JPH04362717A (en) System restarting device
JP3253881B2 (en) Computer system and hibernation control method in the system
US20030188115A1 (en) System and method for backing up data from a quiesced storage device
US20190004818A1 (en) Method of UEFI Shell for Supporting Power Saving Mode and Computer System thereof
JP3102455B2 (en) Information processing system
JPH0944418A (en) Information-processing system and its control method
JPH07287682A (en) Computer system
CN102736928A (en) Quickly wake up computer system method and computer system
US6567931B1 (en) Preventing false remote system wake events following AC power loss
JP3961669B2 (en) Computer system and data transfer control method
JPH113152A (en) Computer device with network-based power saving function