[go: up one dir, main page]

JPH03168818A - Clock control system for computer - Google Patents

Clock control system for computer

Info

Publication number
JPH03168818A
JPH03168818A JP1311447A JP31144789A JPH03168818A JP H03168818 A JPH03168818 A JP H03168818A JP 1311447 A JP1311447 A JP 1311447A JP 31144789 A JP31144789 A JP 31144789A JP H03168818 A JPH03168818 A JP H03168818A
Authority
JP
Japan
Prior art keywords
clock
computer
speed
key entry
cpu
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
JP1311447A
Other languages
Japanese (ja)
Inventor
Kazuhiro Murakami
和弘 村上
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.)
Kyocera Corp
Original Assignee
Kyocera Corp
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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP1311447A priority Critical patent/JPH03168818A/en
Publication of JPH03168818A publication Critical patent/JPH03168818A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To reduce the power consumption of a computer in a key entry waiting state by supplying a constant-speed clock to the computer when the key entry waiting state is estimated, and at the time of confirming key entry, returning the clock speed to the original speed. CONSTITUTION:When the key entry waiting state of the computer is estimated, a selector 7 in a clock control circuit 2 selects the constant-speed clock of a constant-speed clock source 3 as a CPU clock and supplies the selected clock to a CPU 1. Since a key entry confirming function is called for a short period in a simple key entry waiting state, the CPU clock is fixed on the constant- speed clock during the period. When the key entry is confirmed and a keying code inputting function is called, the selector 7 restores the CPU clock to a rapid clock obtained from a rapid clock source 4. Consequently, the power consumption of the computer in the key entry waiting state can be reduced.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はコンピュータにおけるキー入力待ち状態での電
力消費を軽減するためのコンピュータのクロック制御方
式に関する. [発明の概要] コンピュータにおいて,キー入力待ちの状態が推定され
た時,その間だけクロックを定速化して消費電力の軽減
を図ったものである. [従来の技術] コンピュータにおけるキー入力待ちの状態は演算の行わ
れていない無駄な待ち状態であるので、その間の電力消
費を節約できるようにすることが望まれている。このた
め従来でもキー入力待ちの状態中の際にコンピュータの
クロック速度を低下させてキー人力後に復帰させる方法
が提案されている。この従来の方法は、そのキー入力待
ちのプログラムがコンピュータにあらかじめ搭載されて
いる基本入出力システム・ソフトウエア(BIOS)の
中に設けられていて、これを必要時に利用するものであ
った。従ってそれによる効果はそのコンピュータ上で稼
動するプログラムがこのBIOSのキー入力待ちプログ
ラムを使用する時のみ有効であった。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer clock control method for reducing power consumption when the computer is waiting for key input. [Summary of the Invention] When a computer is estimated to be waiting for a key input, the clock speed is kept constant during that time to reduce power consumption. [Prior Art] Since the state in which a computer waits for a key input is a useless state in which no calculations are performed, it is desired to save power consumption during this time. For this reason, a method has been proposed in the past in which the clock speed of the computer is reduced while the computer is in a state of waiting for a key input, and the computer returns to normal operation after a key input. In this conventional method, a program waiting for key input is provided in the basic input/output system software (BIOS) installed in the computer in advance, and is used when necessary. Therefore, this effect was effective only when a program running on the computer used the BIOS key input waiting program.

[発明が解決しようとする課題] 上述したように従来の方法では上記BIOSのキー入力
待ちプログラムを使用しないか、もしくはキー人力があ
るか否かを確認してから、そのキー入力待ちプログラム
を呼ぶようなソフトウエアプログラムがコンピュータ上
で稼動すると、キー人力のための待ち時間はそのソフト
ウエアプログラムの方にてほとんど過ごすために、その
間は無駄なCPU動作が行われることになり、クロック
速度を低下させる時間はほとんどなく,電力消費軽減の
効果はほとんど上がらない. 現在使用されているアプリケーションソフトウエアプロ
グラムはこのようなものがほとんどであり、所期の効果
は期待できない。
[Problem to be Solved by the Invention] As described above, in the conventional method, the key input waiting program of the BIOS is not used, or the key input waiting program is called after confirming whether or not there is a person who can press the key. When a software program such as this runs on a computer, most of the waiting time for key human power is spent in that software program, which results in unnecessary CPU operations and reduces the clock speed. There is almost no time for this to occur, and the effect of reducing power consumption is almost negligible. Most of the application software programs currently in use are of this type, and the desired effects cannot be expected.

[発明の目的] 従って本発明の目的はコンピュータにおけるキー入力待
ちの状態での電力消費軽減に実効のあるクロック制御方
式を提供するにある。
[Object of the Invention] Accordingly, an object of the present invention is to provide a clock control method that is effective in reducing power consumption in a computer while it is waiting for a key input.

[課題を解決するための手段] 本発明のクロック制御方式は上記目的を達或するため、
コンピュータのキー入力待ちの状態を推定する手段と、
キー入力待ちの状態が推定される時に上記コンピュータ
のクロックを定速化する手段と、キー入力待ちの推定時
間経過後に上記クロックの速度を復帰させる手段と、を
備えたことを要旨とする。
[Means for Solving the Problems] In order to achieve the above object, the clock control method of the present invention has the following features:
means for estimating the key input waiting state of the computer;
The gist of the present invention is to include means for making the clock speed of the computer constant when a state of waiting for a key input is estimated, and means for restoring the speed of the clock after the estimated time of waiting for a key input has elapsed.

[作用] キー入力待ちの状態が推定されると、コンピュータには
定速のクロックが供給される。キー人力が確認されると
、クロック速度は元に戻される。
[Operation] When the state of waiting for a key input is estimated, a constant speed clock is supplied to the computer. Once key power is confirmed, the clock speed is restored.

[実施例] 以下図面に示す実施例を参照して本発明を説明する。第
l図は本発明によるコンピュータのクロック制御方式の
一実施例を示す。同図において、工はコンピュータのC
PU.2はクロック制御回路、3は定速クロック源,4
は高速クロック源、5はキー人力等に対応する信号のた
めのバス.6はCPUのクロック入力ポートである。
[Examples] The present invention will be described below with reference to examples shown in the drawings. FIG. 1 shows an embodiment of a computer clock control system according to the present invention. In the same figure, engineering is the computer's C.
P.U. 2 is a clock control circuit, 3 is a constant speed clock source, 4
5 is a high-speed clock source, and 5 is a bus for signals corresponding to key inputs, etc. 6 is a clock input port of the CPU.

クロツク制御回路2は、例えば、クロック速度切換用ク
ロツクセレクタ7,時間経過をカウントするカウンタ8
、そのカウンタ8のカウント出力をラッチするラッチ回
路9、時間経過の上限値が設定されているレジスタ10
、及びラッチ回路9とレジスタ10との内容を比較する
比較回路工1から戒る。
The clock control circuit 2 includes, for example, a clock selector 7 for changing the clock speed, and a counter 8 for counting the passage of time.
, a latch circuit 9 that latches the count output of the counter 8, and a register 10 in which an upper limit value for elapsed time is set.
, and the comparator circuit engineer 1 who compares the contents of the latch circuit 9 and the register 10.

クロック制御回路2に対する命令は,例えば、第2図及
び第3図に示すフローチャートに従って発効する基本入
出力システムソフトウエア(BIOS)によって作られ
る. 第4図は汎用アプリケーションソフトウエアのほとんど
が使用しているキー入力待ちのアルゴリズムを示すフロ
ーチャートで、前述したように従来ではキー入力待ちル
ープがアプリケーションソフトウエア側にあり、その間
は無駄なCPU動作が行われてしまっていた。
Instructions for the clock control circuit 2 are generated, for example, by the basic input/output system software (BIOS), which takes effect according to the flowcharts shown in FIGS. 2 and 3. Figure 4 is a flowchart showing the key input waiting algorithm used by most general-purpose application software.As mentioned above, in the past, the key input waiting loop was on the application software side, and during that time unnecessary CPU operations were performed. It had already been done.

そこで本発明では上記アルゴリズム中のBIOSコール
によってコールされるソフトウエア(コンピュータ自体
のプログラム)に第2図に示す如くクロック制御回路2
に対する命令を発効する命令Mエを入れてある。
Therefore, in the present invention, the software (program of the computer itself) called by the BIOS call in the above algorithm includes a clock control circuit 2 as shown in FIG.
An instruction M is included to effectuate an order for the following.

第4図のような汎用のソフトウエアを動かしている際に
、上記命令M!によりクロック制御回路2を作動させ、
カウンタ8による前回発効された時からの時間に対応す
るカウント値をラッチ回路9でラッチさせて、そのカウ
ント値とレジスタ10に設定された時間経過の上限値と
を、比較回路1lで比較し、その結果上記カウント値が
上限値より小さい時は、そのカウント値の時間だけセレ
クタ7がCPUクロックとして定速クロック源3の定速
クロックを選択してCPUIに供給する。
When running general-purpose software as shown in Figure 4, the above command M! Activate the clock control circuit 2 by
A latch circuit 9 latches the count value corresponding to the time since the last activation by the counter 8, and a comparison circuit 1l compares the count value with the upper limit value of the elapsed time set in the register 10, As a result, when the count value is smaller than the upper limit value, the selector 7 selects the constant speed clock of the constant speed clock source 3 as the CPU clock and supplies it to the CPU I for the time of the count value.

単純なキー入力待ちでは短期間にキー人力確認ファンク
ションをコールするため,その間中CPUクロックが定
速クロックに固定され、その分電力消費が軽減される。
When waiting for a simple key input, the key manual confirmation function is called in a short period of time, so the CPU clock is fixed to a constant speed clock during that time, and power consumption is reduced accordingly.

キー人力が確認され、今度はキー人力コード取り込みの
ファンクションがコールされた時は,カウンタクリア命
令M2 が発効され、これによりクロック制御回路2の
セレクタ7はCPUクロックとして高速クロック源4か
らの高速クロックに復帰させる。
When the key input is confirmed and the key input code capture function is called, the counter clear command M2 is issued, and the selector 7 of the clock control circuit 2 receives the high-speed clock from the high-speed clock source 4 as the CPU clock. to be restored.

従ってキー人力後の本来のコンピュータ処理が通常の高
速クロックにより処理され,何の影響もなく本来のコン
ピュータ処理を行うことができる。
Therefore, the original computer processing after key manual input is processed by the normal high-speed clock, and the original computer processing can be performed without any influence.

またキー入力待ちで何らかの処理が挿入された場合でも
今までの施行及び上限設定値によって規定される普通の
キー入力待ちの時間カウントのみ,CPUクロツクが定
速になるだけであり、その処理でCPUクロックの速度
が低下することはない。
Furthermore, even if some processing is inserted while waiting for a key input, the CPU clock will only be kept at a constant speed during the normal key input waiting time count defined by the enforcement and upper limit settings, and that process will cause the CPU clock to run at a constant speed. The clock never slows down.

[発明の効果] 以上説明したように本発明によれば、下記のような優れ
た効果が得られる. (i)キー入力待ちの状態の確認のための最小期間(1
ループ期)を推定してCPUクロックの速度を低下せし
めているため、通常のCPUクロック速度を必要とする
処理は影響を受けなくて済む.(3i)汎用アプリケー
ションソフトウエアがこのような対応を自分でもってい
なくても、自動的に電力消費軽減を実現できる. (iii)キー入力待ちの想定時間を可変にできるため
、場合によっては最善の電力消費軽減を期待し得る.
[Effects of the Invention] As explained above, according to the present invention, the following excellent effects can be obtained. (i) Minimum period (1
Since the CPU clock speed is reduced by estimating the loop period), processes that require normal CPU clock speeds are not affected. (3i) Even if the general-purpose application software does not have this kind of support, it can automatically reduce power consumption. (iii) Since the expected time for waiting for key input can be made variable, the best reduction in power consumption can be expected in some cases.

【図面の簡単な説明】[Brief explanation of the drawing]

第l図は本発明の一実施例を示すブロック図、第2図乃
至第4図は本発明によるキー入力待ちのアルゴリズムを
示すフローチャートである。 1・・・・・・・・・CPU、2・・・・・・・・・ク
ロック制御回路、・・・・・・・・定速クロック源、 4・・・・・・・・・高速クロック
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 2 to 4 are flowcharts showing an algorithm for waiting for key input according to the present invention. 1........ CPU, 2........ Clock control circuit,.... Constant speed clock source, 4........ High speed clock

Claims (1)

【特許請求の範囲】[Claims] コンピュータのキー入力待ちの状態を推定する手段と、
キー入力待ちの状態が推定される時に上記コンピュータ
のクロックを定速化する手段と、キー入力待ちの推定時
間経過後に上記クロックの速度を復帰させる手段と、を
備えたことを特徴とするコンピュータのクロック制御方
式。
means for estimating the key input waiting state of the computer;
A computer comprising: means for making the clock of the computer constant when a state of waiting for a key input is estimated; and means for restoring the speed of the clock after the estimated time of waiting for a key input has elapsed. Clock control method.
JP1311447A 1989-11-29 1989-11-29 Clock control system for computer Pending JPH03168818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1311447A JPH03168818A (en) 1989-11-29 1989-11-29 Clock control system for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1311447A JPH03168818A (en) 1989-11-29 1989-11-29 Clock control system for computer

Publications (1)

Publication Number Publication Date
JPH03168818A true JPH03168818A (en) 1991-07-22

Family

ID=18017329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1311447A Pending JPH03168818A (en) 1989-11-29 1989-11-29 Clock control system for computer

Country Status (1)

Country Link
JP (1) JPH03168818A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512922U (en) * 1991-07-31 1993-02-19 ぺんてる株式会社 Handy Terminal
US5585750A (en) * 1994-06-07 1996-12-17 Hitachi, Ltd. Logic LSI
JP2009279459A (en) * 2009-09-02 2009-12-03 Sankyo Co Ltd Game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512922U (en) * 1991-07-31 1993-02-19 ぺんてる株式会社 Handy Terminal
US5585750A (en) * 1994-06-07 1996-12-17 Hitachi, Ltd. Logic LSI
JP2009279459A (en) * 2009-09-02 2009-12-03 Sankyo Co Ltd Game machine

Similar Documents

Publication Publication Date Title
EP0501655B1 (en) Reducing power consumption in a digital processor
JPS62184544A (en) Virtual computer system
JPH03168818A (en) Clock control system for computer
JP2649034B2 (en) Control device
JPS6240735B2 (en)
JPH05134960A (en) Local processing system
KR910005757Y1 (en) Handshaking Circuits in Multiprocessors
JP2597637B2 (en) Hardware state switching control method
JP2591211B2 (en) High-speed interrupt processing device
JPH03167633A (en) Control method for interruption program
JPS6236576B2 (en)
JPH0683637A (en) Interrupt processing method of microcomputer
JPH0594313A (en) Timer management method
JPH05313778A (en) Microcomputer
JPH03255512A (en) Interval timer control system
JPH0328951A (en) Input/output controller
JPH08212085A (en) Information processor and communication processor
JPH0319033A (en) System interruption/restart system
JPH08212088A (en) Information processor and communication processor
JPH03152635A (en) Maintenance diagnostic device
JPH0365746A (en) Input/output controller
JPH04305755A (en) Batch processing method for computer system
JPS6380335A (en) Starting system for background job
JPH02171842A (en) Swap control method
JPH06342376A (en) Information processing equipment