JPH09319472A - Information processor - Google Patents

Information processor

Info

Publication number
JPH09319472A
JPH09319472A JP8160672A JP16067296A JPH09319472A JP H09319472 A JPH09319472 A JP H09319472A JP 8160672 A JP8160672 A JP 8160672A JP 16067296 A JP16067296 A JP 16067296A JP H09319472 A JPH09319472 A JP H09319472A
Authority
JP
Japan
Prior art keywords
application program
work
power save
return address
key scan
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.)
Granted
Application number
JP8160672A
Other languages
Japanese (ja)
Other versions
JP3299117B2 (en
Inventor
Shigehiro Yoshimura
成弘 吉村
Hiroshi Masuno
博志 増野
Toshiharu Ikeda
敏治 池田
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.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
NEC Corp
Nippon Electric Co 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 NEC Home Electronics Ltd, NEC Corp, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP16067296A priority Critical patent/JP3299117B2/en
Publication of JPH09319472A publication Critical patent/JPH09319472A/en
Application granted granted Critical
Publication of JP3299117B2 publication Critical patent/JP3299117B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To unnecessitate the alteration of an application program(AP) by performing a power saving operation by judging whether key scanning is continuously performed or not according to whether the return address of the AP is the same or not. SOLUTION: When both the return addresss of a stack and the data of a work 1 in a RAM 5 are coincident with each other, the data of a work 2 are counted up. Namely, these data are counted as one time. At such a time, since the matching between both the return address of the stack and the value of the work 1 means calling from the same position in the AP, the data of the work 2 mean the number of times of continuous key scanning and correspond to the length of a key waiting state. Next, when the value of the work 2 does not exceed a set value N, the key scan is repeated and the number of times of continuous key scanning is counted. When the value of the work 2 exceeds the set value N, a power save signal is outputted to a power control circuit 3 and a processor is switched to a power save mode.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は情報処理装置に関
し、特に、省電力システムが要求されるバッテリ動作の
小型情報処理装置に適用して好適な情報処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, and more particularly to an information processing apparatus suitable for application to a battery-operated small-sized information processing apparatus that requires a power saving system.

【0002】[0002]

【従来の技術】従来、バッテリで動作する小型情報処理
装置に搭載するプログラムは、バッテリ動作を前提とし
てパワーセーブ(省電力)を考慮した設計を行ってい
る。すなわち、人の操作を待つような時にパワーセーブ
モードに切り替えるプログラムをアプリケープログラム
自体に組み込んでおり、待ち時間中の消費電力を抑えて
バッテリを長持ちさせるようにしている。一方、近年、
アプリケーションプログラムの規模は大きくなる傾向に
あるが、例えば日本語ワープロプログラムや表計算プロ
グラムのような大規模アプリケーションプログラムの多
くは、バッテリで動作する前提では設計されていない。
すなわち、アプリケーションプログラム自体にパワーセ
ーブ処理プログラムは組み込んではいない。
2. Description of the Related Art Conventionally, a program installed in a small-sized information processing device that operates on a battery is designed in consideration of power saving (power saving) on the assumption of battery operation. That is, a program for switching to the power save mode when waiting for a human operation is incorporated in the application program itself, so that power consumption during the waiting time is suppressed and the battery lasts longer. Meanwhile, in recent years,
Although the scale of application programs tends to be large, many large-scale application programs such as Japanese word processing programs and spreadsheet programs are not designed on the assumption that they operate on a battery.
That is, the power save processing program is not incorporated in the application program itself.

【0003】[0003]

【発明が解決しようとする課題】上述したバッテリ動作
を前提としていない大規模アプリケーションプログラム
をバッテリ動作の小型情報処理装置に搭載すると、パワ
ーセーブ動作が行われないので、バッテリ寿命が短くな
るという欠点があった。また、そのような大規模アプリ
ケーションプログラムを改造してバッテリ動作の小型情
報処理装置に対応させるのは、プログラムの規模が大き
いため容易ではない。そのため、大規模アプリケーショ
ンプログラムを小型情報処理装置に搭載する場合のパワ
ーセーブは、キー待ちを行う場合に限ってシステムプロ
グラムの部分でパワーセーブモードに切り替えるという
手法が採用されることになる。しかし、アプリケーショ
ンプログラムはキースキャンを行いながら動作する部分
が多いため、この方式はあまり適当でない。すなわち、
キースキャンにおけるパワーセーブでは、取り消し(中
止)キーをチェックしながら動作するプログラムが停止
してしまったり、プログラムの動作が遅くなったりする
という欠点がある。これを避けるためにはアプリケーシ
ョンプログラムでパワーセーブを許可したり禁止したり
する対応が必要になるが、前述のように大規模アプリケ
ーションプログラムでは困難である。
If a large-scale application program that is not based on the above-mentioned battery operation is installed in a battery-operated small-sized information processing apparatus, the power saving operation is not performed, and the battery life is shortened. there were. In addition, it is not easy to modify such a large-scale application program to accommodate a battery-operated small-sized information processing device because of the large scale of the program. Therefore, for power saving when a large-scale application program is installed in a small-sized information processing apparatus, a method of switching to the power save mode in the system program portion is adopted only when waiting for a key. However, this method is not suitable because many application programs operate while performing key scanning. That is,
Power saving in the key scan has a drawback that a program that operates while checking the cancel (stop) key is stopped or the operation of the program becomes slow. To avoid this, it is necessary for the application program to permit or prohibit power saving, but as described above, it is difficult for a large-scale application program.

【0004】本発明は上記従来の欠点を解消するために
なされたもので、アプリケーションプログラムの改造に
よらずに、かつアプリケーションプログラムの性能を損
なうことなく、パワーセーブ処理を自動的にかつ適切に
行うことができる情報処理装置を提供することにある。
The present invention has been made to solve the above-mentioned conventional drawbacks, and automatically and appropriately performs power saving processing without modifying the application program and without impairing the performance of the application program. An object of the present invention is to provide an information processing device capable of performing the above.

【0005】[0005]

【課題を解決するための手段】上記課題を解決する本発
明の情報処理装置は、アプリケーションプログラムがキ
ースキャンルーチンをコールした時の当該アプリケーシ
ョンプログラムの戻りアドレスを記憶装置に記憶し、そ
の後にアプリケーションプログラムがサブルーチンをコ
ールした時の当該アプリケーションプログラムの戻りア
ドレスと前記記憶装置のデータとを比較することによ
り、アプリケーションプログラムが連続してキースキャ
ンルーチンをコールしているか否かを判断する連続キー
スキャン判断手段と、前記連続キースキャン判断手段の
判断結果に基づいて連続したキースキャンルーチンコー
ルの回数をカウントし、そのカウント数が設定値を越え
た時に、パワーセーブ信号を出すパワーセーブ指示手段
と、前記パワーセーブ信号によりパワーセーブモードに
移行するとともに、外部ハードウエアからの割り込み信
号によりパワーセーブモードを解除する電力制御回路と
を備えたことを特徴とする。
According to an information processing apparatus of the present invention for solving the above problems, a return address of an application program when the application program calls a key scan routine is stored in a storage device, and then the application program is stored. Continuous key scan determining means for determining whether or not the application program continuously calls a key scan routine by comparing the return address of the application program when the subroutine calls the data of the storage device. And a power save instruction means for counting the number of consecutive key scan routine calls based on the judgment result of the continuous key scan judgment means and outputting a power save signal when the counted number exceeds a set value, and the power save instruction. As well as transition to the power saving mode by a signal, characterized by comprising a power control circuit to cancel the power-saving mode by an interrupt signal from the external hardware.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態を図1
〜図4に示す一実施例を参照して説明する。図1に本発
明の一実施例の小型情報処理装置のブロック図を示す。
この小型情報処理装置は、中央処理装置(CPU)1
と、周辺回路2と、電力制御回路3とを備えている。前
記CPU1および周辺回路2は、マイコンやパソコンで
使用される一般的なものである。周辺回路2は、ROM
4、RAM5を含み、システムプログラムおよびアプリ
ケーションプログラムはROM4あるいはRAM5に格
納される。前記電力制御回路3はパワーセーブおよびパ
ワーセーブモードの解除を行うものであり、CPU1か
らのパワーセーブ信号に基づいてCPU1へのクロック
を停止(すなわちパワーセーブに移行)し、また外部ハ
ードウエアからの割り込みがトリガとなって再起動(す
なわちパワーセーブを解除)する回路を備えている。前
記外部ハードウエア割り込みの要因には、例えば「キ
ー」、「タイマ」、「シリアルポート」等がある。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to FIG.
A description will be given with reference to an embodiment shown in FIG. FIG. 1 shows a block diagram of a small-sized information processing apparatus according to an embodiment of the present invention.
This small-sized information processing device includes a central processing unit (CPU) 1
And a peripheral circuit 2 and a power control circuit 3. The CPU 1 and the peripheral circuit 2 are general ones used in microcomputers and personal computers. The peripheral circuit 2 is a ROM
4 and RAM 5, the system program and the application program are stored in the ROM 4 or the RAM 5. The power control circuit 3 is for performing power save and cancellation of the power save mode, stops the clock to the CPU 1 based on the power save signal from the CPU 1 (that is, shifts to the power save), and also from the external hardware. A circuit for restarting (that is, canceling power save) triggered by an interrupt is provided. The factors of the external hardware interrupt include, for example, “key”, “timer”, “serial port” and the like.

【0007】本発明の情報処理装置は、アプリケーショ
ンプログラムがキースキャンルーチンをコールした時の
当該アプリケーションプログラムの戻りアドレスを記憶
装置に記憶し、その後にアプリケーションプログラムが
サブルーチンをコールした時の当該アプリケーションプ
ログラムの戻りアドレスと前記記憶装置のデータとを比
較することにより、アプリケーションプログラムが連続
してキースキャンルーチンをコールしているか否かを判
断する連続キースキャン判断手段と、前記連続キースキ
ャン判断手段の判断結果に基づいて連続したキースキャ
ンルーチンコールの回数をカウントし、そのカウント数
が設定値を越えた時に、パワーセーブ信号を出すパワー
セーブ指示手段と、前記パワーセーブ信号によりパワー
セーブモードに移行するとともに、外部ハードウエアか
らの割り込み信号によりパワーセーブモードを解除する
電力制御回路とを備えている。
The information processing apparatus of the present invention stores the return address of the application program when the application program calls the key scan routine in the storage device, and stores the return address of the application program when the application program subsequently calls the subroutine. A continuous key scan judging means for judging whether or not the application program continuously calls the key scan routine by comparing the return address with the data in the storage device, and the judgment result of the continuous key scan judging means. Based on the above, the number of consecutive key scan routine calls is counted, and when the counted number exceeds the set value, power save instruction means for issuing a power save signal and the power save mode are entered by the power save signal. As well as, and a power control circuit to cancel the power-saving mode by an interrupt signal from the external hardware.

【0008】上述の連続キースキャン判断手段において
必要な戻りアドレスの検出手段について説明する。アプ
リケーションプログラムがキースキャンを行う場合、サ
ブルーチンコールという手法を取るのが一般的である。
サブルーチンコールはスタックメモリに戻りアドレスを
セットしてキースキャンルーチンにジャンプする。この
実施例では、前記サブルーチンコールの手法を利用す
る。この実施例において戻りアドレスを検出する際のR
AM5にあるスタックメモリ(以下単にスタックとい
う)の状況を図2(イ)または(ロ)に示す。また、図
2(イ)または図2(ロ)のいずれも場合でもアプリケ
ーションプログラムの戻りアドレスを正しく検出するた
めの戻りアドレス検出処理のフローチャートを図3に示
す。
The return address detecting means required in the above continuous key scan determining means will be described. When an application program performs a key scan, it is common to use a method called a subroutine call.
The subroutine call sets the return address in the stack memory and jumps to the key scan routine. In this embodiment, the method of the subroutine call is used. R when detecting the return address in this embodiment
The status of the stack memory (hereinafter simply referred to as a stack) in the AM5 is shown in FIG. Further, FIG. 3 shows a flowchart of the return address detection processing for correctly detecting the return address of the application program in either case of FIG. 2 (a) or FIG. 2 (b).

【0009】図2(イ)は、アプリケーションプログラ
ムがキースキャンルーチンとしてキーBIOS(キー処
理における基本的な処理を受け持つプログラム)等の下
位ルーチンのみを使用する場合のスタックの状況を示す
ものである。この場合、戻りアドレスは必ずスタックの
先頭(5−A)にあるので発行元アドレスの検出は容易
である。図2(ロ)は、アプリケーションプログラムが
イベントマネージャ(イベント発生を管理するルーチ
ン)等の上位ルーチンを使用し、イベントマネージャが
キーBIOSを呼ぶ場合のスタックの状況を示すもので
ある。この場合、スタックの先頭(5−A)にあるアド
レスはイベントマネージャがキーBIOSを呼んでいる
アドレスになっているので常に同じアドレスとなってい
る。したがって、発行元アドレス(アプリケーションプ
ログラムの戻りアドレス)を検出するには、スタックの
奥(5−B)にある戻りアドレスを見なければならな
い。そして、種々のアプリケーションプログラムに対応
できるためには、上記の図2(イ)の状況および図2
(ロ)の状況のいずれにも対応できる必要がある。イベ
ントマネージャはシステムプログラムの一種であるの
で、そのアドレスはアプリケーションプログラムとは関
係なく、予め知ることができる。したがって、図2
(イ)の状況か図2(ロ)の状況かは、スタックの先頭
(5−A)にあるアドレスがイベントマネージャのアド
レスなのかどうかで判断することができる。したがっ
て、図3のようなフローチャートで戻りアドレスの検出
を行うとよい。すなわち、まず、スタックの先頭(5−
A)のデータをポインタ(スタックポインタ)に格納す
る(ステップS1)。次いで、このポインタの内容を判
断する(S2)。ポインタの内容(スタックの先頭(5
−A)にあるアドレス)がイベントマネージャのアドレ
スと異なる場合(「その他のアドレス」の場合)、当該
先頭(5−A)にあるアドレスを戻りアドレスと判断す
る。イベントマネージャのアドレスと同一の場合、スタ
ックの奥(5−B)のアドレスを戻りアドレスと判断す
る(そして、スタック(5−B)にあるアドレスをポイ
ンタに格納する(S3))。
FIG. 2A shows the status of the stack when the application program uses only a lower-level routine such as a key BIOS (a program that is in charge of basic processing in key processing) as a key scan routine. In this case, since the return address is always at the top (5-A) of the stack, it is easy to detect the issue source address. FIG. 2B shows the state of the stack when the application program uses a higher-level routine such as an event manager (a routine that manages event occurrence) and the event manager calls the key BIOS. In this case, the address at the top (5-A) of the stack is always the same address as the event manager is calling the key BIOS. Therefore, in order to detect the issuer address (the return address of the application program), it is necessary to look at the return address at the back (5-B) of the stack. In order to be able to deal with various application programs, the situation of FIG.
It is necessary to be able to deal with any of the situations in (b). Since the event manager is a kind of system program, its address can be known in advance regardless of the application program. Therefore, FIG.
Whether the situation of (a) or the situation of FIG. 2 (b) is determined by whether or not the address at the top (5-A) of the stack is the address of the event manager. Therefore, it is preferable to detect the return address according to the flowchart shown in FIG. That is, first, the top of the stack (5-
The data of A) is stored in the pointer (stack pointer) (step S1). Next, the contents of this pointer are judged (S2). Contents of pointer (top of stack (5
Address in (A)) is different from the address of the event manager (in the case of "other address"), the address at the beginning (5-A) is determined to be the return address. When it is the same as the address of the event manager, the address at the back (5-B) of the stack is determined as the return address (and the address at the stack (5-B) is stored in the pointer (S3)).

【0010】上述のパワーセーブ指示手段の一例を図4
のフローチャートに示す。この実施例ではRAM5の
「ワークエリア1」および「ワークエリア2」を利用し
ている。アプリケーションプログラムがキースキャンル
ーチンをコールすると、その時の当該アプリケーション
プログラムの戻りアドレス(図2(イ)のスタック(5
−A)または図2(ロ)のスタック(5−B)にある戻
りアドレス)と「ワークエリア(以下ワークという)
1」のデータとを比較する(ステップP1)。
FIG. 4 shows an example of the power saving instruction means described above.
It is shown in the flowchart. In this embodiment, "work area 1" and "work area 2" of RAM 5 are used. When the application program calls the key scan routine, the return address of the application program at that time (the stack (5
-A) or the return address on the stack (5-B) in FIG. 2B) and "work area (hereinafter called work)"
1 "data is compared (step P1).

【0011】前記ステップP1においてスタックの戻り
アドレスと「ワーク1」のデータの両者が一致した時
は、「ワーク2」のデータをカウントアップ(+1)す
る(P2)。すなわち、1回としてカウントする。な
お、「ワーク2」はカウンタとして用いている。スタッ
クの戻りアドレスと「ワーク1」の値の両者が一致した
ことは、アプリケーションプログラムにおける同じ位置
からの呼び出しであることを意味するので、「ワーク
2」のデータ(すなわちカウント数)は、連続するキー
スキャン回数を意味し、キー待ち状態の長さに相当す
る。次いで、当該「ワーク2」の値を適切に定めたある
設定値Nと比較する(P3)。「ワーク2」の値が設定
値Nを越えていなければ、キースキャンが繰り返され
て、前述の通り、連続のキースキャン回数がカウントさ
れる。「ワーク2」の値が設定値Nを越えた時、パワー
セーブ信号を電力制御回路3に出して、パワーセーブモ
ードに切り替える(P4)。
When both the return address of the stack and the data of "work 1" match in step P1, the data of "work 2" is incremented (+1) (P2). That is, it is counted as one time. Note that "work 2" is used as a counter. The fact that both the return address of the stack and the value of "work 1" match means that the call is from the same position in the application program, so the data of "work 2" (that is, the count number) is continuous. It means the number of key scans and corresponds to the length of the key waiting state. Next, the value of the "work 2" is compared with a certain set value N that is appropriately determined (P3). If the value of "work 2" does not exceed the set value N, the key scan is repeated and the number of continuous key scans is counted as described above. When the value of "work 2" exceeds the set value N, a power save signal is output to the power control circuit 3 to switch to the power save mode (P4).

【0012】そして、キー入力割り込み、タイマ入力割
り込み、シリアル入力割り込み等が発生すると、電力制
御回路3はその割り込み信号によりパワーセーブモード
を解除する。
When a key input interrupt, a timer input interrupt, a serial input interrupt, etc. occur, the power control circuit 3 releases the power save mode by the interrupt signal.

【0013】前記ステップP1において、スタックの戻
りアドレスと「ワーク1」のデータの両者が一致しない
時は、アプリケーションプログラムにおける異なる位置
からの呼び出しであることを意味するので、スタックの
戻りアドレスを「ワーク1」に格納し(P5)、「ワー
ク2」の値を0に初期化する(P6)。なお、先の説明
では、この初期化した状態から説明した。そして、その
後パワーセーブは行わない通常処理を行う。
In step P1, if the return address of the stack and the data of "work 1" do not match, it means that the call is made from a different position in the application program. 1 ”(P5), and the value of“ work 2 ”is initialized to 0 (P6). In the above description, the initialized state has been described. Then, after that, normal processing is performed without power saving.

【0014】なお、パワーセーブモードに切り替える設
定値Nは、適切なパワーセーブ動作を行うために重要で
あるが、この設定値Nは、取り消し(中止)キーをチェ
ックしながら動作するルーチンのキースキャン回数の最
大値を調べることで適切に設定できる。また、パワーセ
ーブモードに切り替える設定値Nがアプリケーションプ
ログラムが処理するデータに依存する場合、あるいは、
非常に大きい場合は、パワーセーブモードをオン・オフ
の2モードではなく、例えばCPUクロック周波数を1
0通りに変えられるようなハードウエアにしておき、上
記「ワーク2」の値に応じて、段階的にクロック周波数
を下げるという構成にしてもよい。
The set value N for switching to the power save mode is important for performing an appropriate power save operation, but this set value N is a key scan of a routine that operates while checking the cancel (stop) key. It can be set appropriately by checking the maximum number of times. When the set value N for switching to the power save mode depends on the data processed by the application program, or
If it is very large, set the power save mode to 2 instead of turning it on and off, but set the CPU clock frequency to 1
The hardware may be changed to 0, and the clock frequency may be reduced stepwise according to the value of the "work 2".

【0015】なお、アプリケーションプログラムがキー
スキャンルーチンをコールした時の当該アプリケーショ
ンプログラムの位置(戻りアドレス)を検出する連続キ
ースキャン判断手段は、上述の実施例の方法に限定され
ない。
The continuous key scan determining means for detecting the position (return address) of the application program when the application program calls the key scan routine is not limited to the method of the above embodiment.

【0016】[0016]

【発明の効果】以上説明したように、本発明によれば、
キースキャンを発行したアプリケーションプログラムの
戻りアドレスが同一かどうかで、連続してキースキャン
を行っているか否かを判断し、その連続のキースキャン
回数に基づいて、パワーセーブ動作をする構成であるの
で、アプリケーションプログラムの改造を必要とせず、
システムプログラム側でパワーセーブ処理を実現でき、
かつ、バッテリ動作を前提としない大規模アプリケーシ
ョンを小型情報処理装置に搭載した場合でも、バッテリ
を長持ちさせることができるといった効果がある。
As described above, according to the present invention,
Since the return address of the application program that issued the key scan is the same, it is determined whether the key scan is continuously performed, and the power saving operation is performed based on the number of consecutive key scans. , Does not require modification of the application program,
Power saving processing can be realized on the system program side,
In addition, even if a large-scale application that does not operate on a battery is installed in a small-sized information processing device, the battery can last longer.

【0017】また、戻りアドレスを利用する本発明の構
成は、極めて単純であり、小型情報処理装置に実際に適
用することが極めて容易であり、実用価値が高いという
効果がある。
Further, the configuration of the present invention using the return address is extremely simple, very easy to actually apply to a small-sized information processing apparatus, and has an advantage of high practical value.

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

【図1】本発明の一実施例を示す小型情報処理装置のブ
ロック構成図である。
FIG. 1 is a block configuration diagram of a small-sized information processing apparatus showing an embodiment of the present invention.

【図2】(イ)および(ロ)はいずれもアプリケーショ
ンプログラムのアドレスが格納されるスタックのイメー
ジを示す図であり、(イ)はアプリケーションプログラ
ムがキーボードBIOSなどの下位ルーチンのみを使用
する場合のもの、(ロ)はアプリケーションプログラム
がイベントマネージャ等の上位ルーチンを使用し、この
イベントマネージャがキーBIOSを呼ぶ場合のもので
ある。
2A and 2B are diagrams showing an image of a stack in which an address of an application program is stored, and FIG. 2A shows a case where the application program uses only a lower routine such as a keyboard BIOS. In the case of (b), the application program uses a higher-level routine such as an event manager, and the event manager calls the key BIOS.

【図3】本発明の実施例において、アプリケーションプ
ログラムがシステムプログラムのサブルーチンを呼び出
した時に、システムプログラムがアプリケーションプロ
グラムの戻りアドレスを検出する戻りアドレス検出処理
のフローチャートである。
FIG. 3 is a flowchart of a return address detection process in which the system program detects a return address of the application program when the application program calls a subroutine of the system program in the embodiment of the present invention.

【図4】上記実施例の小型情報処理装置のシステムプロ
グラムにおけるキースキャンルーチンに伴う処理を示す
フローチャートである。
FIG. 4 is a flowchart showing a process associated with a key scan routine in the system program of the small-sized information processing apparatus of the above embodiment.

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

1 中央処理装置(CPU) 2 周辺機器 3 電力制御回路 4 RAM 5 ROM 1 Central Processing Unit (CPU) 2 Peripheral Equipment 3 Power Control Circuit 4 RAM 5 ROM

───────────────────────────────────────────────────── フロントページの続き (72)発明者 増野 博志 東京都港区芝5丁目7番1号 日本電気株 式会社内 (72)発明者 池田 敏治 大阪府大阪市中央区城見1丁目4番24号 日本電気ホ−ムエレクトロニクス株式会社 内 ─────────────────────────────────────────────────── ─── Continued front page (72) Inventor Hiroshi Masuno 5-7-1 Shiba, Minato-ku, Tokyo Inside NEC Corporation (72) Toshiharu Ikeda 1-4-4 Jomi, Chuo-ku, Osaka-shi, Osaka No. 24 within NEC Home Electronics Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーションプログラムがキースキ
ャンルーチンをコールした時の当該アプリケーションプ
ログラムの戻りアドレスを記憶装置に記憶し、その後に
アプリケーションプログラムがサブルーチンをコールし
た時の当該アプリケーションプログラムの戻りアドレス
と前記記憶装置のデータとを比較することにより、アプ
リケーションプログラムが連続してキースキャンルーチ
ンをコールしているか否かを判断する連続キースキャン
判断手段と、 前記連続キースキャン判断手段の判断結果に基づいて連
続したキースキャンルーチンコールの回数をカウント
し、そのカウント数が設定値を越えた時に、パワーセー
ブ信号を出すパワーセーブ指示手段と、 前記パワーセーブ信号によりパワーセーブモードに移行
するとともに、外部ハードウエアからの割り込み信号に
よりパワーセーブモードを解除する電力制御回路とを備
えたことを特徴とする情報処理装置。
1. A storage device stores the return address of the application program when the application program calls a key scan routine, and the storage device stores the return address of the application program when the application program subsequently calls a subroutine. Continuous key scan determination means for determining whether or not the application program continuously calls the key scan routine by comparing the data of the above, and the continuous key scan based on the determination result of the continuous key scan determination means. The number of scan routine calls is counted, and when the counted number exceeds a set value, a power save instruction means for outputting a power save signal, and the power save signal is used to shift to a power save mode, and an external The information processing apparatus characterized by comprising a power control circuit to cancel the power-saving mode by an interrupt signal from Douea.
JP16067296A 1996-05-31 1996-05-31 Information processing device Expired - Fee Related JP3299117B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16067296A JP3299117B2 (en) 1996-05-31 1996-05-31 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16067296A JP3299117B2 (en) 1996-05-31 1996-05-31 Information processing device

Publications (2)

Publication Number Publication Date
JPH09319472A true JPH09319472A (en) 1997-12-12
JP3299117B2 JP3299117B2 (en) 2002-07-08

Family

ID=15719993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16067296A Expired - Fee Related JP3299117B2 (en) 1996-05-31 1996-05-31 Information processing device

Country Status (1)

Country Link
JP (1) JP3299117B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678834B1 (en) 1998-03-20 2004-01-13 International Business Machines Corporation Apparatus and method for a personal computer system providing non-distracting video power management

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678834B1 (en) 1998-03-20 2004-01-13 International Business Machines Corporation Apparatus and method for a personal computer system providing non-distracting video power management

Also Published As

Publication number Publication date
JP3299117B2 (en) 2002-07-08

Similar Documents

Publication Publication Date Title
US5560020A (en) Power saving processing system
JPH05282081A (en) Power-saving controller for computer system
US5515539A (en) Apparatus and method for reducing power consumption by peripheral devices after downloading a program therefrom
JP3805913B2 (en) Method for waking up computer system from standby mode and wakeup control circuit
US6571341B1 (en) Using a hardware-driven event to wake a computer from a sleeping state
US6687348B2 (en) Method and system for conserving power and improving usability for personal computers with remote startup features
JP3778246B2 (en) Interrupt controller, ASIC, and electronic device
JP3299117B2 (en) Information processing device
CN106774794A (en) The processing method and processing device of terminal traffic
JP3078194B2 (en) Key scan circuit
JP3542409B2 (en) Information processing equipment
JPH0476716A (en) Electronic apparatus
JPH0713671A (en) Key inputting method for key inputting device
JPH08328874A (en) Control system for cpu operating state
JP3047534B2 (en) Low power consumption system
KR19990019340A (en) Portable information terminal capable of receiving serial data even in sleep mode and serial data receiving method using the same
JP3302149B2 (en) Computer system
JPH03105384A (en) Display control system
JPS6265134A (en) Interruption processing system
JP2000075966A (en) Information processor
JPH06161624A (en) Interruption controlling method
JPH07219670A (en) Power saving system for cpu
KR940017365A (en) Cell phone reduced power consumption circuit and method
JP2002373035A (en) Method and device for generating reset signal
JPS6380335A (en) Starting system for background job

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080419

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100419

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110419

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120419

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120419

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130419

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130419

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130419

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140419

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees