JP2000305671A - System for controlling power saving - Google Patents

System for controlling power saving

Info

Publication number
JP2000305671A
JP2000305671A JP11114338A JP11433899A JP2000305671A JP 2000305671 A JP2000305671 A JP 2000305671A JP 11114338 A JP11114338 A JP 11114338A JP 11433899 A JP11433899 A JP 11433899A JP 2000305671 A JP2000305671 A JP 2000305671A
Authority
JP
Japan
Prior art keywords
saving control
input
power saving
output device
access
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
JP11114338A
Other languages
Japanese (ja)
Inventor
Toshinori Watarai
俊典 渡会
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP11114338A priority Critical patent/JP2000305671A/en
Publication of JP2000305671A publication Critical patent/JP2000305671A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a power saving control system which realizes the power saving of an input device by bringing the input device into an operating state only when a task being an execution unit of an application program has to access the input device and bringing it into a waiting state except that. SOLUTION: The power saving of input devices 3 and 4 is realized by such a manner that a power saving control executing means started by an operating system 7 carries out power saving control when tasks 5 and 6 start or end accessing input-output devices 3 and 5 on the basis of the entry 8c of a power saving control routine that brings the devices 3 and 4 into an operating state when the tasks 5 and 6 constituting an input-output device management table 8 start to access the devices 3 and 4 and the entry 8d of a power saving control routine that brings the devices 3 and 4 into an waiting state when the tasks 5 and 6 finish accessing the devices 3 and 4.

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 system including a multitasking operating system capable of activating and switching between a plurality of tasks and executing a plurality of tasks, and a plurality of input / output devices. The present invention relates to a control method for performing power saving control of an input / output device to obtain power saving.

【0002】[0002]

【従来の技術】様々な入出力装置を備えたパーソナルコ
ンピュータや携帯機器をはじめとする情報処理システム
において、電池の寿命を長くし、システムのエネルギー
消費を減少させ、かつ発熱による室温上昇を抑える省電
力制御を行うことは、オペレーティングシステム(以
下、OSと記載する)やアプリケーションプログラムの
重要な機能の一つである。以下に、従来の省電力制御方
式について説明する。
2. Description of the Related Art In an information processing system such as a personal computer or a portable device provided with various input / output devices, the life of a battery is prolonged, the energy consumption of the system is reduced, and the rise in room temperature due to heat generation is reduced. Performing power control is one of the important functions of an operating system (hereinafter, referred to as an OS) or an application program. Hereinafter, a conventional power saving control method will be described.

【0003】図19は、例えば特開平4−257010
号公報に記載の「システムクロック切替機構」における
省電力制御方式の構成図である。図19において、51
はタスク処理を行うサービスマイクロ部、52は割込み
処理を行う割込みサービス部、53はタスクのスケジュ
ーリングを行うスケジューラ部、54はCPU動作周波
数のクロック切り替え部、55はレジスタの復帰等の処
理を行うレジスタ復帰SP(スタックポインタ)設定
部、56は各タスク毎にシステムクロック速度を登録・
記録する機構(TDB:TASK DEFINE BL
OCK)である。
FIG. 19 shows, for example, Japanese Patent Application Laid-Open No. 4-257010.
FIG. 1 is a configuration diagram of a power saving control method in a “system clock switching mechanism” described in Japanese Patent Application Laid-Open Publication No. HEI 10-125, 1988. In FIG. 19, 51
Is a service micro unit that performs task processing, 52 is an interrupt service unit that performs interrupt processing, 53 is a scheduler unit that performs task scheduling, 54 is a clock switching unit of the CPU operating frequency, and 55 is a register that performs processing such as register restoration. A return SP (stack pointer) setting unit 56 registers a system clock speed for each task.
Recording mechanism (TDB: TASK DEFINE BL)
OCK).

【0004】次に、動作について説明する。図20、図
21、図22は、システムクロック切替機構における省
電力制御方式の動作手順を示すフローチャートである。
以下、図20〜図22のフローチャートに従って動作の
説明をする。
Next, the operation will be described. FIGS. 20, 21, and 22 are flowcharts showing the operation procedure of the power saving control method in the system clock switching mechanism.
Hereinafter, the operation will be described with reference to the flowcharts of FIGS.

【0005】まず、サービスマイクロ部51または割込
みサービス部52が、タスクのスケジューリングを依頼
すると、スケジューラ部53に制御が移る。スケジュー
ラ部53は、図20のステップS101でREADYま
たはRUNタスクが存在するかどうかを判断する。ステ
ップS101で、READYまたはRUNタスクが存在
しなければ、ステップS104でクロック切替え部54
に低速クロック切替えを依頼して、当該処理を終了す
る。一方、ステップS101で、READYまたはRU
Nタスクが存在すれば、ステップS102で当該タスク
をRUN状態に遷移させる。
[0005] First, when the service micro unit 51 or the interrupt service unit 52 requests task scheduling, control is transferred to the scheduler unit 53. The scheduler unit 53 determines whether a READY or RUN task exists in step S101 of FIG. In step S101, if there is no READY or RUN task, in step S104 the clock switching unit 54
Is requested to switch the low-speed clock, and the process is terminated. On the other hand, in step S101, READY or RU
If there are N tasks, the task is shifted to the RUN state in step S102.

【0006】次にステップS103で、当該タスクのT
DBの設定が高速クロックであるかどうかを判断する。
ステップS103で、TDBの設定が高速クロックであ
れば、ステップS105でクロック切替え部に高速クロ
ック切替えを依頼して、当該処理を終了する。一方、ス
テップS103で、TDBの設定が高速クロックでなけ
れば、ステップS106でクロック切替え部に低速クロ
ック切替えを依頼して、当該処理を終了する。
Next, in step S103, the T
It is determined whether the setting of DB is a high-speed clock.
If the setting of the TDB is the high-speed clock in step S103, the high-speed clock switching is requested to the clock switching unit in step S105, and the process ends. On the other hand, if the setting of the TDB is not the high-speed clock in step S103, the clock switching unit is requested to switch the low-speed clock in step S106, and the process ends.

【0007】クロック切替え部54は、図20のステッ
プS101でREADYまたはRUNタスクが存在しな
い場合に、ステップS104でスケジューラ部103か
ら低速クロック切替えを依頼された場合に、図21のス
テップS107で、現在高速クロック実行中かどうかを
判断する。ステップS107で、現在高速クロック実行
中であれば、ステップS108で高速から低速へクロッ
ク切替えを行い、当該処理を終了する。一方、ステップ
S107で、現在高速クロック実行中でなければ、その
まま当該処理を終了する。
[0007] When there is no READY or RUN task in step S101 in FIG. 20 and the low-speed clock switching is requested by the scheduler unit 103 in step S104, the clock switching unit 54 determines in step S107 in FIG. Determine whether the high-speed clock is running. If the high-speed clock is currently being executed in step S107, the clock is switched from high-speed to low-speed in step S108, and the process ends. On the other hand, if the high-speed clock is not currently being executed in step S107, the process ends.

【0008】また、クロック切替え部54は、図20の
ステップS106でスケジューラ部53から低速クロッ
ク切替えを依頼された場合に、図22のステップS11
1で、現在高速クロック動作中かどうかを判断する。ス
テップS111で現在高速クロック動作中であれば、ス
テップS112で高速から低速へクロック切替えを行
い、ステップS113でレジスタ復帰SP設定部に復帰
処理を依頼して、当該処理を終了する。一方、ステップ
ステップS111で現在高速クロック動作中でなけれ
ば、ステップS113でレジスタ復帰SP設定部に復帰
処理を依頼して、当該処理を終了する。
[0008] When the low-speed clock switching is requested by the scheduler 53 in step S106 of FIG. 20, the clock switching unit 54 executes step S11 of FIG.
In step 1, it is determined whether or not the high-speed clock is currently operating. If the high-speed clock operation is currently being performed in step S111, the clock is switched from high-speed to low-speed in step S112. In step S113, a request is made to the register return SP setting unit for a return process, and the process ends. On the other hand, if the high-speed clock operation is not currently being performed in step S111, a return process is requested to the register return SP setting unit in step S113, and the process ends.

【0009】一方、クロック切替え部54は、図20の
ステップS105でスケジューラ部53から高速クロッ
ク切替えを依頼された場合に、図22のステップS10
9で、現在低速クロック動作中かどうかを判断する。ス
テップS109で現在低速クロック動作中であれば、ス
テップS110で低速から高速へクロック切替えを行
い、ステップS113でレジスタ復帰SP設定部に復帰
処理を依頼して、当該処理を終了する。一方、ステップ
S109で現在低速クロック動作中でなければ、ステッ
プS113でレジスタ復帰SP設定部に復帰処理を依頼
して、当該処理を終了する。
On the other hand, when the high-speed clock switching is requested by the scheduler 53 in step S105 of FIG. 20, the clock switching unit 54 executes step S10 of FIG.
At 9, it is determined whether or not the low-speed clock is currently operating. If the low-speed clock operation is currently being performed in step S109, the clock is switched from low-speed to high-speed in step S110, and in step S113, a return process is requested to the register return SP setting unit, and the process ends. On the other hand, if the low-speed clock operation is not currently being performed in step S109, a return process is requested to the register return SP setting unit in step S113, and the process ends.

【0010】この従来の省電力制御方式によれば、実行
中のタスクがいつも高速で動作させる必要は無く、シス
テムで許される範囲内で、できるだけ低速で動作させる
と省電力になるため、タスクの実行を指定されると、そ
のタスクに対応したクロック速度の登録状況を見て、シ
ステムのクロック速度を設定するようにしている。ま
た、実行対象のタスクがない場合には最低のクロック速
度が選ばれるようにして、省電力を実現している。
According to this conventional power saving control method, it is not necessary for a task being executed to always operate at a high speed, and power consumption is reduced by operating the task as low as possible within the range permitted by the system. When the execution is specified, the clock speed of the system is set by checking the registration status of the clock speed corresponding to the task. In addition, when there is no task to be executed, the lowest clock speed is selected to realize power saving.

【0011】また、近年、情報処理システムを構成する
CPUをはじめ、ハードディスク、CD−ROM、オー
ディオデバイス、モデム、ディスプレイ、入力デバイス
などの多くの入出力装置は、フル稼動の状態から電力消
費を抑えた待機状態へ移行できるように、ソフトウェア
によって省電力制御を出来るレジスタ設定などのインタ
フェースを備える省電力制御方式がある。
In recent years, many input / output devices such as a hard disk, a CD-ROM, an audio device, a modem, a display, and an input device, including a CPU constituting an information processing system, reduce power consumption from a full operation state. There is a power-saving control method including an interface such as a register setting that enables power-saving control by software so that the standby state can be entered.

【0012】例えば、「PowerPC603 ユーザズ・マニュ
アル」(日本モトローラ株式会社半導体事業部)の付録
B「パワー・マネージメント」に記載のPowerPC603マイ
クロプロセッサは、フル稼動の状態から待機状態(ドー
ズ(DOSE)、ナップ(NAP)、スリープ(SLE
EP)モードと呼ばれる)への移行がソフトウェアによ
って制御できる。
For example, an appendix of "PowerPC603 User's Manual" (Semiconductor Division, Motorola Japan)
B The PowerPC603 microprocessor described in “Power Management” switches from a full operation state to a standby state (doses (DOSE), nap (NAP), sleep (SLE)
The transition to EP) mode can be controlled by software.

【0013】図23は、このような省電力制御のソフト
ウェア・インタフェースを備えた入出力装置(ディス
ク)を利用する省電力制御方式の構成図である。図23
において、61は情報処理システム、62はアプリケー
ションプログラムの実行単位となるタスク、63はディ
スクの入出力装置、64は入出力装置63内の記憶媒体
であるディスク媒体、65は入出力装置63内のディス
ク媒体64の電力消費の状態(フル稼動状態や待機状
態)を設定により制御する省電力制御レジスタである。
FIG. 23 is a configuration diagram of a power saving control system using an input / output device (disk) having such a software interface for power saving control. FIG.
61, an information processing system; 62, a task serving as an execution unit of an application program; 63, a disk input / output device; 64, a disk medium serving as a storage medium in the input / output device 63; This is a power saving control register that controls the power consumption state (full operation state or standby state) of the disk medium 64 by setting.

【0014】この省電力制御方式においては、アプリケ
ーションプログラムのタスク62は、情報処理システム
61の処理としてディスク媒体64へのアクセスを開始
する前に、その省電力制御レジスタ65をフル稼働状態
の設定にし、ディスク媒体64へのアクセス終了後、そ
の省電力制御レジスタ65を待機状態の設定にすること
で、アプリケーションプログラムのタスク62は、情報
処理システム61の状況に応じて、入出力装置63の電
力消費の状態を制御して省電力を実現している。
In this power saving control method, the task 62 of the application program sets the power saving control register 65 to a full operation state before starting access to the disk medium 64 as a process of the information processing system 61. After the access to the disk medium 64 is completed, the power saving control register 65 is set to the standby state, so that the task 62 of the application program can reduce the power consumption of the input / output device 63 according to the status of the information processing system 61. By controlling the state, power saving is realized.

【0015】[0015]

【発明が解決しようとする課題】以上説明したように従
来の省電力制御方式では、タスクスイッチ毎のタイミン
グでのみシステムクロックを切り替えているので、木目
細かく省電力制御をすることができない問題点があっ
た。
As described above, in the conventional power saving control method, since the system clock is switched only at the timing of each task switch, the power saving control cannot be performed finely. there were.

【0016】また、アプリケーションプログラムがシス
テムの状況に応じて各入出力装置の省電力制御をしてい
たのでは、アプリケーションプログラム自体の処理が複
雑になるという問題点があった。
Further, if the application program controls the power saving of each input / output device in accordance with the state of the system, the processing of the application program itself becomes complicated.

【0017】この発明は、上記のような問題点を解消す
るためになされたもので、アプリケーションプログラム
が入出力装置へのアクセスに必要な時にだけ、OSが自
動的にその入出力装置に対する省電力制御を木目細かく
行い、情報処理システムの省電力を実現することを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and the OS automatically saves power to an input / output device only when the application program needs to access the input / output device. An object of the present invention is to perform control finely and realize power saving of an information processing system.

【課題を解決するための手段】第1の発明は、アプリケ
ーションプログラムの実行単位であるタスクと、上記タ
スクとアクセスしアプリケーションプログラムの実行を
行う入出力装置と、上記タスクの起動又は終了を管理
し、上記タスクの上記入出力装置へのアクセスの開始時
又は終了時に省電力制御をするための起動をし、省電力
制御の要求をするオペレーティングシステムと、上記タ
スクの上記入出力装置へのアクセス開始時に上記入出力
装置を稼動状態にする省電力制御ルーチンのエントリと
上記タスクの上記入出力装置へのアクセス終了時に上記
入出力装置を待機状態にする省電力制御ルーチンのエン
トリとにより構成される入出力装置管理テーブルと、上
記オペレーティングシステムにより起動され、上記オペ
レーティングシステムによる要求に対応した上記エント
リを上記入出力装置管理テーブルの中から検索し、この
検索されたエントリに基づいて、上記タスクの上記入出
力装置へのアクセス開始時又は終了時に省電力制御を実
行する省電力制御実行手段と、を備えたものである。
According to a first aspect of the present invention, a task which is an execution unit of an application program, an input / output device for accessing the task and executing the application program, and starting or ending the task are managed. An operating system that activates power saving control at the start or end of access to the input / output device of the task and requests power saving control, and starts access of the task to the input / output device. And a power saving control routine that puts the input / output device in a standby state when the task has completed access to the input / output device. An output device management table and the operating system activated by the operating system. Searching for the entry corresponding to the request from the input / output device management table, and executing the power saving control at the time of starting or ending the access of the task to the input / output device based on the searched entry. Power saving control execution means.

【0018】第2の発明は、上記タスクの上記入出力装
置へのアクセス開始時の省電力制御後に任意の時間を待
つためのアクセス開始時待ち時間情報のエントリを備え
る入出力装置管理テーブルと、上記アクセス開始時待ち
時間情報のエントリに基づいて、上記タスクの上記入出
力装置へのアクセス開始時の省電力制御後に任意の時間
を待ってから上記タスクの上記入出力装置へのアクセス
を開始する省電力制御実行手段と、を備えたものであ
る。
According to a second aspect of the present invention, there is provided an input / output device management table including an entry of access start time information for waiting for an arbitrary time after power saving control when the task starts accessing the input / output device; Based on the entry of the access start waiting time information, the task starts accessing the input / output device after waiting an arbitrary time after the power saving control at the start of accessing the input / output device of the task. Power saving control execution means.

【0019】第3の発明は、上記タスクの上記入出力装
置へのアクセス終了時の省電力制御前に任意の時間を待
つためのアクセス開始時待ち時間情報のエントリを備え
る入出力装置管理テーブルと、上記アクセス開始時待ち
時間情報のエントリに基づいて、上記タスクの上記入出
力装置へのアクセス終了時に任意の時間を待ってから省
電力制御を実行する省電力制御実行手段と、を備えたも
のである。
According to a third aspect of the present invention, there is provided an input / output device management table having an access start time information entry for waiting an arbitrary time before power saving control at the end of access of the task to the input / output device. Power-saving control execution means for executing power-saving control after waiting an arbitrary time at the end of access to the input / output device of the task, based on the entry of the access start waiting time information. It is.

【0020】第4の発明は、上記タスクのタスクスイッ
チ時に上記入出力装置の省電力制御を行うか否かを示す
タスクスイッチ時無効フラッグのエントリを備える入出
力装置管理テーブルと、上記タスクスイッチ時無効フラ
ッグのエントリに基づいて、上記タスクの上記入出力装
置へのスイッチ時の省電力制御を実行するか否かを決め
る省電力制御実行手段と、を備えたものである。
According to a fourth aspect of the present invention, there is provided an input / output device management table including a task switch invalid flag entry indicating whether or not to perform power saving control of the input / output device when the task is switched. Power saving control execution means for determining whether or not to execute power saving control at the time of switching the input / output device to the input / output device based on the entry of the invalid flag.

【0021】第5の発明は、上記タスクとアクセスし上
記入出力装置と連動してアプリケーションプログラムの
実行を行う複数の入出力装置を備え、上記入出力装置管
理テーブルは、上記タスクの上記入出力装置へのアクセ
ス開始時に上記入出力装置又は上記複数の入出力装置を
稼動状態にする省電力制御ルーチンのエントリと、上記
タスクの上記入出力装置へのアクセス終了時に上記入出
力装置又は上記複数の入出力装置を待機状態にする省電
力制御ルーチンのエントリとを備え、上記省電力制御実
行手段は、上記入出力装置又は上記複数の入出力装置を
稼動状態、又は待機状態にする省電力制御ルーチンのエ
ントに基づいて、上記タスクの上記入出力装置又は上記
複数の入出力装置へのアクセス開始時、又は終了時に省
電力制御を実行するものである。
The fifth invention comprises a plurality of input / output devices for accessing the task and executing an application program in conjunction with the input / output device. The input / output device management table stores the input / output of the task. An entry of a power saving control routine that activates the input / output device or the plurality of input / output devices at the start of access to the device, and the input / output device or the plurality of input / output devices at the end of the task access to the input / output device. An entry for a power saving control routine that puts the input / output device into a standby state, wherein the power saving control execution means includes a power saving control routine that puts the input / output device or the plurality of input / output devices into an operating state or a standby state. The power saving control is executed at the time of starting or ending access to the input / output device or the plurality of input / output devices of the task based on the entry of the task. It is intended.

【0022】第6の発明は、上記タスクの上記入出力装
置へのアクセス開始時に上記入出力装置又は上記複数の
入出力装置を稼動状態にする省電力制御ルーチンに優先
度を付加したエントリと、上記タスクの上記入出力装置
へのアクセス終了時に上記入出力装置又は上記複数の入
出力装置を待機状態にする省電力制御ルーチンに優先度
を付加したエントリとを備える入出力装置管理テーブル
と、上記入出力装置又は上記複数の入出力装置を稼動状
態、又は待機状態にする省電力制御ルーチンに優先度を
付加したエントリに基づいて、上記タスクの上記入出力
装置又は上記複数の入出力装置へのアクセス開始時、又
は終了時に省電力制御を実行する省電力制御実行手段
と、を備えたものである。
According to a sixth aspect of the present invention, there is provided an entry in which a priority is added to a power saving control routine for activating the input / output device or the plurality of input / output devices when the task starts accessing the input / output device, An input / output device management table comprising: a power saving control routine for setting the input / output device or the plurality of input / output devices to a standby state at the end of the access of the task to the input / output device; Based on the entry to which the priority is added to the power saving control routine for putting the input / output device or the plurality of input / output devices into the operating state or the standby state, the task is transmitted to the input / output device or the plurality of input / output devices. Power saving control execution means for executing power saving control at the start or end of access.

【0023】第7の発明は、上記入出力装置管理テーブ
ルの上記エントリの内容を変更する入出力装置管理テー
ブル変更手段を備え、上記省電力制御実行手段は、上記
入出力装置管理テーブル変更手段により変更された上記
エントリに基づいて、上記タスクの上記入出力装置への
アクセス開始時、又は終了時に省電力制御を実行するも
のである。
A seventh invention comprises an input / output device management table changing means for changing the contents of the entry of the input / output device management table, and the power saving control execution means is provided by the input / output device management table changing means. Based on the changed entry, power saving control is executed at the time of starting or ending access of the task to the input / output device.

【0024】第8の発明は、電源電圧を検出する電源電
圧検出手段を備え、上記入出力装置管理テーブルは、最
低の電力で入出力装置を稼動させるアクセス開始時の省
電力制御ルーチンのエントリと最低の電力で入出力装置
を待機させるアクセス終了時の省電力制御ルーチンのエ
ントリを備え、上記省電力制御実行手段は、上記電源電
圧検出手段により検出された電圧電源が予め定められた
正常の値でない時に、上記入出力装置管理テーブルの最
低の電力で入出力装置を稼動させるアクセス開始時の省
電力制御ルーチンのエントリと、最低の電力で入出力装
置を待機させるアクセス終了時の省電力制御ルーチンの
エントリとに基づいて、上記タスクの上記入出力装置へ
のアクセス開始時又は終了時に省電力制御を実行するも
のである。
According to an eighth aspect of the present invention, there is provided a power supply voltage detecting means for detecting a power supply voltage. The input / output device management table includes an entry of a power saving control routine at the start of access for operating the input / output device with the lowest power. An entry of a power saving control routine at the end of access for making the input / output device stand by at the lowest power is provided, and the power saving control execution means includes a power supply voltage detection means for detecting the power supply voltage detected by the power supply voltage detection means at a predetermined normal value When not, entry of the power saving control routine at the start of access to operate the input / output device with the lowest power in the input / output device management table and the power saving control routine at the end of access for waiting the input / output device with the lowest power The power saving control is executed at the time of starting or ending the access of the task to the input / output device, based on the entry of the task.

【0025】[0025]

【発明の実施の形態】実施の形態1.以下、この発明の
実施の形態1を図を参照して説明する。図1は、実施の
形態1の省電力制御方式の構成図である。図1におい
て、1は情報処理システム、2は中央演算処理装置(C
PU)である。3、4はCPU2に接続される入出力装
置である。5、6はアプリケーションプログラムの実行
単位となるタスクである。本実施の形態では、入出力装
置3、4の2つの入出力装置と、タスク5、6の2つの
タスクの場合について説明するが、これらの数はこれに
限るものではなく、タスク又は入出力装置ともそれぞれ
1つでも、2つ以上の複数でも良い。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a power saving control method according to the first embodiment. In FIG. 1, 1 is an information processing system, 2 is a central processing unit (C
PU). Reference numerals 3 and 4 are input / output devices connected to the CPU 2. Tasks 5 and 6 are the execution units of the application program. In the present embodiment, the case of two input / output devices of input / output devices 3 and 4 and two tasks of tasks 5 and 6 will be described. However, these numbers are not limited thereto, and the number of tasks or input / output Each of the devices may be one or two or more.

【0026】7は複数のタスクの起動と終了及びそのス
イッチを管理し、入出力装置3、4を制御アクセスする
デバイスドライバのシステムコール処理のプログラムを
含み、CPU2の制御を行うOSである。本実施例で
は、アプリケーションプログラムのタスク5、6から入
出力装置3、4へのアクセスは、OS7内のデバイスド
ライバのシステムコールを介して行い、OS7はデバイ
スドライバのシステムコール処理の開始と終了を検出で
き、かつデバイスドライバのプログラム領域の情報(開
始アドレスとサイズ)を把握しているものとする。
Reference numeral 7 denotes an OS that manages activation and termination of a plurality of tasks and switches thereof, includes a system call processing program of a device driver for controlling and accessing the input / output devices 3 and 4, and controls the CPU 2. In the present embodiment, access from the tasks 5 and 6 of the application program to the input / output devices 3 and 4 is performed via a system call of a device driver in the OS 7, and the OS 7 starts and ends the system call processing of the device driver. It is assumed that the information can be detected and the information (start address and size) of the program area of the device driver is grasped.

【0027】8は入出力装置管理テーブル、8aは入出
力装置管理テーブル8内のタスクを識別するエントリ、
8bは入出力装置管理テーブル8内の入出力装置3、4
を識別するエントリ、8cはタスクの入出力装置3、4
へのアクセス開始時に入出力装置3、4を稼動状態にす
る省電力制御ルーチンアドレスのエントリ、8dはタス
ク5、6の入出力装置3、4へのアクセス終了時に入出
力装置3、4を待機状態にする省電力制御ルーチンアド
レスのエントリである。
8 is an input / output device management table; 8a is an entry for identifying a task in the input / output device management table 8;
8b denotes the input / output devices 3, 4 in the input / output device management table 8.
8c is a task input / output device 3, 4
The entry of the power saving control routine address that puts the I / O devices 3 and 4 into operation at the start of access to the I / O device. 8d waits for the I / O devices 3 and 4 when the access of the tasks 5 and 6 to the I / O devices 3 and 4 is completed. This is the entry of the power saving control routine address to be set.

【0028】本実施の形態では、便宜上、タスク5、6
とアクセスする入出力装置3、4の組み合わせ毎に省電
力制御ルーチンアドレスはアクセス開始時とアクセス終
了時の1つずつにするが、タスク5、6が1つの入出力
装置に対して複数の処理(OPEN、READ、WIRTE、IOCTL
等)を持ち、それぞれに別個の省電力制御ルーチンアド
レスを持つように拡張することは可能である。また、省
電力制御ルーチンアドレスのエントリ8c、8dは、省
電力制御を行わない入出力装置については設定を行わな
い。
In this embodiment, for the sake of convenience, tasks 5 and 6
The power saving control routine address is set to one at the time of access start and one at the end of access for each combination of the I / O devices 3 and 4 to be accessed. (OPEN, READ, WIRTE, IOCTL
, Etc.) and each can be extended to have a separate power saving control routine address. The entries 8c and 8d of the power saving control routine address do not set the input / output device that does not perform the power saving control.

【0029】9は省電力制御実行手段であり、10は入
出力装置3用のアクセス開始時省電力制御ルーチン、1
1は入出力装置3用のアクセス終了時省電力制御ルーチ
ン、12は入出力装置4用のアクセス開始時省電力制御
ルーチン、13は入出力装置4用のアクセス終了時省電
力制御ルーチンである。
Reference numeral 9 denotes a power saving control execution unit. Reference numeral 10 denotes an access starting power saving control routine for the input / output device 3.
1 is a power saving control routine at the end of access for the input / output device 3, 12 is a power saving control routine at the start of access for the input / output device 4, and 13 is a power saving control routine at the end of access for the input / output device 4.

【0030】次に、動作について説明する。図2、図3
は、OS7の動作手順を示すフローチャートである。図
4は省電力制御実行手段9の動作手順を示すフローチャ
ートである。まず、アプリケーションプログラムのタス
ク5、6が、入出力装置3、4にアクセスするために、
その対応するデバイスドライバのシステムコールを発行
すると、OS7に制御が移る。OS7は、図2のステッ
プS1で入出力装置3、4へのアクセス開始のために省
電力制御実行手段9を起動し、ステップS2でデバイス
ドライバのシステムコール処理を実行した後、ステップ
S3で入出力装置3、4へのアクセス終了のために省電
力制御実行手段9を起動する。
Next, the operation will be described. FIG. 2, FIG.
5 is a flowchart showing an operation procedure of the OS 7; FIG. 4 is a flowchart showing the operation procedure of the power saving control execution means 9. First, in order for the tasks 5 and 6 of the application program to access the input / output devices 3 and 4,
When the system call of the corresponding device driver is issued, the control is transferred to the OS 7. The OS 7 activates the power saving control execution means 9 to start access to the input / output devices 3 and 4 in step S1 of FIG. 2, executes the system call processing of the device driver in step S2, and then enters in step S3. The power saving control execution means 9 is activated to end access to the output devices 3 and 4.

【0031】また、OS7は、時間待ち等で停止してい
たタスク5、6が起動するなどのタスクスイッチ(タス
ク切り替え)事象が発生すると、図3のステップS11
で現在実行中のタスク5、6のアプリケーションプログ
ラムのRUNタスクのコンテキスト(CPU2の全ての
レジスタ値の状態)を保存する。
When a task switch (task switching) event such as the activation of the tasks 5 and 6 that have been stopped due to waiting time or the like occurs, the OS 7 executes step S11 in FIG.
Saves the context of the RUN task (the state of all the register values of the CPU 2) of the application programs of the currently executing tasks 5 and 6.

【0032】次にステップS12でRUNタスクが入出
力装置3、4にアクセスするためのデバイスドライバの
システムコール処理中であったかを、保存したコンテキ
ストのCPU2のプログラムカウンタのレジスタ値がデ
バイスドライバのプログラム領域に含まれているかどう
かで判定し、システムコール処理中であれば、ステップ
S13で入出力装置3、4へのアクセス終了のために省
電力制御実行手段9を起動し、ステップS14へ進む。
Next, in step S12, it is determined whether the RUN task is in the process of processing the system call of the device driver for accessing the input / output devices 3 and 4 by checking the register value of the program counter of the CPU 2 of the saved context in the program area of the device driver. If the system call processing is being performed, the power saving control execution means 9 is activated in step S13 to end access to the input / output devices 3 and 4, and the process proceeds to step S14.

【0033】一方、システムコール処理中でなければ、
ステップS14で、次のRUNタスクを選択する。ここ
で、OS7が優先度スケジューリングを行っていれば、
OS7が管理する全タスクの情報を調べ一番高い優先度
でかつREADY状態のタスクを選ぶなどの手段を用い
る。そして、ステップS15で次のRUNタスクが、入
出力装置3、4にアクセスするためのデバイスドライバ
のシステムコール処理中であったかを保存したコンテキ
ストのCPU2のプログラムカウンタのレジスタ値がデ
バイスドライバのプログラム領域に含まれているかどう
かで判定し、システムコール処理中であれば、ステップ
S16で入出力装置3、4へのアクセス開始のために省
電力制御実行手段9を起動する。
On the other hand, if the system call is not being processed,
In step S14, the next RUN task is selected. Here, if the OS 7 performs priority scheduling,
A means of checking information of all tasks managed by the OS 7 and selecting a task having the highest priority and being in a READY state is used. Then, in step S15, the register value of the program counter of the CPU 2 of the context in which the next RUN task saves whether the system call processing of the device driver for accessing the input / output devices 3 and 4 is stored in the program area of the device driver. It is determined based on whether it is included or not. If the system call is being processed, the power saving control execution means 9 is started in step S16 to start access to the input / output devices 3 and 4.

【0034】また一方、システムコール処理中でなけれ
ば、ステップS17に進み、次のRUNタスクのコンテ
キストを復元し、ステップS18で次のRUNタスクに
スイッチし、該OS7の処理を終了する。
On the other hand, if the system call is not being processed, the process proceeds to step S17 to restore the context of the next RUN task, switch to the next RUN task in step S18, and terminate the processing of the OS 7.

【0035】次に、上記のように起動された省電力制御
実行手段9の動作手順を、図4のフローチャートに従っ
て説明する。まず、省電力制御実行手段9は、ステップ
S21で、入出力装置管理テーブル8(ここで、エント
リの内容は、OS7生成のコンパイル時やOS7起動の
コンフィグレーション時に設定されているもののとす
る)を参照して、OS7から要求されたタスク5、6を
識別するエントリ8a、入出力装置3、4を識別するエ
ントリ8bに対応するアクセス開始時の省電力制御ルー
チンアドレスのエントリ8c或いはアクセス終了時の省
電力制御ルーチンアドレスのエントリ8dを検索する。
Next, the operation procedure of the power saving control executing means 9 activated as described above will be described with reference to the flowchart of FIG. First, in step S21, the power saving control execution means 9 reads the input / output device management table 8 (here, the contents of the entry are set at the time of compiling the generation of the OS 7 or at the time of the configuration of starting the OS 7). With reference to the entry 8a for identifying the tasks 5 and 6 requested from the OS 7, the entry 8c of the power saving control routine address at the start of access corresponding to the entry 8b for identifying the input / output devices 3 and 4, or the entry at the end of access. The entry 8d of the power saving control routine address is searched.

【0036】次に、ステップS22でOS7からの要求
に対応したエントリが存在しないか否かを判断し、エン
トリが存在していない場合には、該省電力制御実行手段
9の処理を終了する。
Next, in step S22, it is determined whether or not an entry corresponding to the request from the OS 7 exists. If the entry does not exist, the processing of the power saving control executing means 9 is terminated.

【0037】一方、ステップS22でエントリが存在し
ている場合には、ステップS23で入出力装置へのアク
セス開始時の省電力制御を要求されたか否かを判断し、
アクセス開始時の省電力制御を要求された場合には、ス
テップS24で対応するアクセス開始時の省電力制御ル
ーチンアドレスを参照して、アクセス開始時の省電力制
御ルーチンを実行し、該省電力制御実行手段9の処理を
終了する。ここで、省電力制御ルーチンの処理は各入出
力装置毎に作成されるものであり、入出力装置3、4内
の省電力制御を司るハードウェアレジスタをライト、或
いはリードしてライトするなどの手段を用いる。
On the other hand, if the entry exists in step S22, it is determined in step S23 whether power saving control at the start of access to the input / output device has been requested.
When the power saving control at the start of the access is requested, the power saving control routine at the start of the access is executed by referring to the corresponding power saving control routine at the start of the access at step S24. The processing of the execution means 9 ends. Here, the processing of the power saving control routine is created for each input / output device, and the hardware registers for controlling power saving in the input / output devices 3 and 4 are written or read and written. Use means.

【0038】一方、ステップS23でアクセス開始時の
省電力制御を要求さていない場合には、ステップS25
で対応するアクセス終了時の省電力制御ルーチンアドレ
スを参照して、アクセス終了時の省電力制御ルーチンを
実行し、該省電力制御実行手段9の処理を終了する。
On the other hand, if the power saving control at the start of access is not requested in step S23, step S25
The power saving control routine at the end of the access is executed by referring to the corresponding power saving control routine address at the end of the access, and the processing of the power saving control executing means 9 is terminated.

【0039】以上のように本実施の形態によれば、アプ
リケーションプログラムのタスクが入出力装置へのアク
セスに必要な時にだけ、OS7が自動的にその入出力装
置に対する省電力制御を木目細かく行うことで、情報処
理システムの省電力を実現することができる。
As described above, according to the present embodiment, the OS 7 automatically and finely controls the power saving of the input / output device only when the task of the application program is necessary for accessing the input / output device. Thus, power saving of the information processing system can be realized.

【0040】実施の形態2.以下、実施の形態2を図を
参照して説明する。図5は、実施の形態2の省電力制御
方式の構成図である。本実施の形態では、実施の形態1
の入出力装置管理テーブルに、各タスクが入出力装置に
アクセスを開始した時の省電力制御後に一定時間を待つ
アクセス開始時待ち時間情報のエントリ8eを加えた入
出力装置管理テーブル8と、本実施の形態で特徴的な動
作を行う省電力制御実行手段20を備える。なお、図1
と同一符号は同一又は相当部分を示す。また、OS7の
動作手順は、図2、図3のフローチャートと同様であ
り、説明を省略する。
Embodiment 2 Hereinafter, the second embodiment will be described with reference to the drawings. FIG. 5 is a configuration diagram of a power saving control method according to the second embodiment. In the present embodiment, the first embodiment
The input / output device management table 8 in which an entry 8e of access start time information waiting for a certain time after power saving control when each task starts accessing the input / output device is added to the input / output device management table of FIG. A power saving control execution unit 20 that performs a characteristic operation in the embodiment is provided. FIG.
The same reference numerals indicate the same or corresponding parts. The operation procedure of the OS 7 is the same as that of the flowcharts of FIGS. 2 and 3, and the description is omitted.

【0041】図6は、省電力制御実行手段20の動作手
順を示すフローチャートである。図6において、図4の
フローチャートと同様の動作を行うステップについて
は、同一のステップ番号を付けて表わしている。
FIG. 6 is a flowchart showing the operation procedure of the power saving control execution means 20. In FIG. 6, steps performing the same operations as in the flowchart of FIG. 4 are denoted by the same step numbers.

【0042】次に、起動された省電力制御実行手段20
の動作手順を、図6のフローチャートに従って説明す
る。まず、省電力制御実行手段20は、ステップS21
で、入出力装置管理テーブル8(ここで、エントリの内
容は、OS7生成のコンパイル時やOS7起動のコンフ
ィグレーション時に設定されているもののとする)を参
照して、OS7から要求されたタスク5、6を識別する
エントリ8a、入出力装置3、4を識別するエントリ8b
に対応するアクセス開始時の省電力制御ルーチンアドレ
スのエントリ8c或いはアクセス終了時の省電力制御ル
ーチンアドレスのエントリ8dを検索する。
Next, the activated power saving control execution means 20
Will be described with reference to the flowchart of FIG. First, the power saving control execution unit 20 executes step S21.
Then, referring to the input / output device management table 8 (here, the contents of the entry are set at the time of compiling the generation of the OS 7 and at the time of the configuration of starting the OS 7), the task 5 requested from the OS 7 An entry 8a for identifying the I / O device 6 and an entry 8b for identifying the I / O devices 3 and 4
Is searched for the entry 8c of the power saving control routine address at the start of the access or the entry 8d of the power saving control routine address at the end of the access.

【0043】次に、ステップS22でOS7からの要求
に対応したエントリが存在しないか否かを判断し、エン
トリが存在していない場合には、省電力制御実行手段2
0の処理を終了する。
Next, in step S22, it is determined whether or not an entry corresponding to the request from the OS 7 exists. If the entry does not exist, the power saving control execution means 2
0 is terminated.

【0044】一方、ステップS22でエントリが存在し
ている場合には、ステップS23で入出力装置へのアク
セス開始時の省電力制御を要求されたか否かを判断し、
アクセス開始時の省電力制御を要求された場合には、ス
テップS24で対応するアクセス開始時の省電力制御ル
ーチンアドレスを参照して、アクセス開始時の省電力制
御ルーチンを実行する。
On the other hand, if the entry exists in step S22, it is determined in step S23 whether power saving control at the start of access to the input / output device has been requested.
When the power saving control at the start of access is requested, the power saving control routine at the start of access is executed by referring to the corresponding power saving control routine address at the start of access at step S24.

【0045】次に、ステップS31で入出力装置管理テ
ーブル8を参照して、選択されたアクセス開始時の省電
力制御ルーチンアドレスのエントリ8cに関連する有効
なアクセス開始時待ち時間情報のエントリ8eが設定さ
れているか否かを判断し、有効なアクセス開始時待ち時
間情報のエントリ8eが設定されている場合(ゼロ以上
の有意な時間情報の設定が存在)には、ステップS32
で、指定されたアクセス開始時待ち時間情報のエントリ
8eの時間分だけ待ちを実施し、該省電力制御実行手段
20の処理を終了する。
Next, referring to the input / output device management table 8 in step S31, the entry 8e of the effective access start waiting time information 8e associated with the selected access start power saving control routine address entry 8c is entered. It is determined whether or not the setting is made. If the entry 8e of the valid access start waiting time information is set (the setting of the significant time information of zero or more exists), step S32 is performed.
Then, waiting is performed for the time of the entry 8e of the specified access start waiting time information, and the processing of the power saving control executing means 20 is completed.

【0046】ここで、省電力制御実行手段20のステッ
プS32での待ちの処理内容については、単に時間分に
相当するビジーループの実行や、OS7が空きアイドル
時間に行うメモリのガーベージコレクションの実行や、
他のREADY状態のタスクを待ちの時間分だけRUN
状態にさせるなどの手段を用いる。
Here, the contents of the waiting processing in step S32 of the power saving control execution means 20 include the execution of a busy loop corresponding to only the time, the execution of memory garbage collection performed by the OS 7 during idle idle time, and the like.
RUN for the time of waiting for other READY state tasks
Means such as a state are used.

【0047】一方、ステップS31で有効なアクセス開
始時待ち時間情報のエントリ8eが設定されていない場
合には、該省電力制御実行手段20の処理を終了する。
ステップS23に戻り、アクセス開始時の省電力制御を
要求さていない場合には、ステップS25で対応するア
クセス終了時の省電力制御ルーチンアドレスを参照し
て、アクセス終了時の省電力制御ルーチンを実行し、該
省電力制御実行手段20の処理を終了する。
On the other hand, if the entry 8e of the valid access start waiting time information is not set in step S31, the processing of the power saving control executing means 20 is terminated.
Returning to step S23, if the power saving control at the start of access is not requested, the power saving control routine at the end of access is executed by referring to the corresponding power saving control routine address at the end of access at step S25. Then, the processing of the power saving control execution means 20 ends.

【0048】以上のように本実施の形態によれば、入出
力管理テーブル8は、入出力装置にアクセスを開始した
時の省電力制御後に一定時間を待つ時間情報を設け、省
電力制御実行手段20は省電力制御を行い、一定時間を
待ってからアプリケーションプログラムのタスクが入出
力装置へのアクセスを開始するようにしたので、例えば
ハードディスクがモーター停止の待機状態から稼動状態
に移る場合にモーターの回転が安定するまで待つ必要が
ある場合など、省電力制御を行ってから一定時間アクセ
スしてはならない入出力装置に対応することができる情
報処理システムの省電力を実現する。
As described above, according to the present embodiment, the input / output management table 8 is provided with time information for waiting a fixed time after the power saving control when the access to the input / output device is started. 20 performs power saving control and waits for a certain period of time so that the task of the application program starts accessing the input / output device. For example, when the hard disk shifts from the motor stop standby state to the operating state, the motor For example, when it is necessary to wait until the rotation is stabilized, power saving of an information processing system that can cope with an input / output device that must not be accessed for a certain period of time after performing power saving control is realized.

【0049】実施の形態3.以下、実施の形態3を図を
参照して説明する。図7は、実施の形態3の省電力制御
方式の構成図である。本実施の形態では、実施の形態1
の入出力装置管理テーブルに、各タスクが入出力装置に
アクセスを終了した時の省電力制御前に一定時間を待つ
アクセス終了時待ち時間情報のエントリ8fを加えた入
出力装置管理テーブル8と、本実施の形態で特徴的な動
作を行う省電力制御実行手段21を備える。なお、図1
と同一符号は同一又は相当部分を示す。また、OS7の
動作手順は、図2、図3のフローチャートと同様であ
り、説明を省略する。
Embodiment 3 Hereinafter, the third embodiment will be described with reference to the drawings. FIG. 7 is a configuration diagram of a power saving control method according to the third embodiment. In the present embodiment, the first embodiment
An input / output device management table 8 in which an entry 8f of access end time information waiting for a certain time before power saving control when each task ends access to the input / output device is added to the input / output device management table of A power saving control execution unit 21 that performs a characteristic operation in the present embodiment is provided. FIG.
The same reference numerals indicate the same or corresponding parts. The operation procedure of the OS 7 is the same as that of the flowcharts of FIGS. 2 and 3, and the description is omitted.

【0050】図8は、省電力制御実行手段21の動作手
順を示すフローチャートである。図8において、図4の
フローチャートと同様の動作を行うステップについて
は、同一のステップ番号を付けて表わしている。
FIG. 8 is a flowchart showing the operation procedure of the power saving control execution means 21. In FIG. 8, steps that perform the same operations as in the flowchart of FIG. 4 are denoted by the same step numbers.

【0051】次に、起動された省電力制御実行手段21
の動作手順を、図8のフローチャートに従って説明す
る。まず、省電力制御実行手段21は、ステップS21
で、入出力装置管理テーブル8(ここで、エントリの内
容は、OS7生成のコンパイル時やOS7起動のコンフ
ィグレーション時に設定されているもののとする)を参
照して、OS7から要求されたタスク5、6を識別する
エントリ8a、入出力装置3、4を識別するエントリ8b
に対応するアクセス開始時省電力制御ルーチンアドレス
のエントリ8c或いはアクセス終了時省電力制御ルーチ
ンアドレスのエントリ8dを検索する。
Next, the activated power saving control executing means 21
Will be described with reference to the flowchart of FIG. First, the power saving control execution unit 21 determines in step S21
Then, referring to the input / output device management table 8 (here, the contents of the entry are set at the time of compiling the generation of the OS 7 and at the time of the configuration of starting the OS 7), the task 5 requested from the OS 7 An entry 8a for identifying the I / O device 6 and an entry 8b for identifying the I / O devices 3 and 4
The entry 8c of the access start power saving control routine address or the entry 8d of the access end power saving control routine address corresponding to.

【0052】次に、ステップS22でOS7からの要求
に対応したエントリが存在しないか否かを判断し、エン
トリが存在していない場合には、省電力制御実行手段2
1の処理を終了する。
Next, in step S22, it is determined whether or not an entry corresponding to the request from the OS 7 exists. If the entry does not exist, the power saving control execution means 2
1 is terminated.

【0053】一方、ステップS22でエントリが存在し
ている場合には、ステップS23で入出力装置へのアク
セス開始時の省電力制御を要求されたか否かを判断し、
アクセス開始時の省電力制御を要求された場合には、ス
テップS24で対応するアクセス開始時の省電力制御ル
ーチンアドレスを参照して、アクセス開始時の省電力制
御ルーチンを実行し、該省電力制御実行手段21の処理
を終了する。
On the other hand, if an entry exists in step S22, it is determined in step S23 whether power saving control at the time of starting access to the input / output device has been requested.
When the power saving control at the start of the access is requested, the power saving control routine at the start of the access is executed by referring to the corresponding power saving control routine at the start of the access at step S24. The processing of the execution means 21 ends.

【0054】次に、ステップS23に戻り、アクセス開
始時の省電力制御を要求さていない場合には、ステップ
S33で入出力装置管理テーブル8を参照して、選択さ
れたアクセス終了時省電力制御ルーチンアドレスのエン
トリ8dに関連する有効なアクセス終了時待ち時間情報
8fが設定されているか否かを判断し、有効なアクセス
終了時待ち時間情報8fが設定されている場合(ゼロ以
上の有意な時間情報の設定が存在)には、ステップS3
4で、指定されたアクセス終了時待ち時間情報のエント
リ8fの時間分だけ待ちを実施する。
Next, returning to step S23, if the power saving control at the start of access has not been requested, the selected access end power saving control routine is referred to in step S33 by referring to the input / output device management table 8. It is determined whether or not the valid access end wait time information 8f related to the address entry 8d is set. If the valid access end wait time information 8f is set (significant time information of zero or more) Exists in step S3).
At 4, the waiting is performed for the time of the entry 8f of the specified access end waiting time information.

【0055】ここで、省電力制御実行手段21の待ちの
処理内容については、単に時間分に相当するビジールー
プの実行や、OS7が空きアイドル時間に行うメモリの
ガーベージコレクションの実行や、他のREADY状態
のタスクを待ちの時間分だけRUN状態にさせるなどの
手段を用いる。
Here, the contents of the waiting processing of the power saving control executing means 21 are simply executed by executing a busy loop corresponding to time, executing garbage collection of memory performed by the OS 7 during idle idle time, and executing other READY state. For example, such a method is used that the task is placed in the RUN state for the waiting time.

【0056】次に、ステップS25で対応するアクセス
終了時の省電力制御ルーチンアドレスを参照して、アク
セス終了時の省電力制御ルーチンを実行し、該省電力制
御実行手段21の処理を終了する。一方、ステップS3
3で有効なアクセス終了時待ち時間情報8fが設定され
ていない場合には、ステップS25で対応するアクセス
終了時の省電力制御ルーチンアドレスを参照して、アク
セス終了時の省電力制御ルーチンを実行し、該省電力制
御実行手段21の処理を終了する。
Next, the power saving control routine at the end of the access is executed with reference to the address of the corresponding power saving control routine at the end of the access at step S25, and the processing of the power saving control executing means 21 ends. On the other hand, step S3
If the valid access end waiting time information 8f is not set in step 3, the access end power saving control routine is executed by referring to the corresponding access end power saving control routine address in step S25. Then, the processing of the power saving control executing means 21 ends.

【0057】以上のように本実施の形態によれば、入出
力管理テーブル8は、入出力装置にアクセスを終了した
時の省電力制御前に一定時間を待つ時間情報を設け、ア
プリケーションプログラムのタスクがアクセスを終了し
ても、省電力制御実行手段21は一定時間を待ってから
省電力制御を行うようにしたので、例えば入出力装置に
非同期完了制御を行い入出力処理がしばらく継続して動
いている場合など、入出力装置へのアクセスを終了して
から一定時間は省電力制御をしてはならない入出力装置
に対応することができる情報処理システムの省電力を実
現する。
As described above, according to the present embodiment, the input / output management table 8 is provided with time information for waiting for a fixed time before power saving control when the access to the input / output device is completed. Even if the access ends, the power saving control execution unit 21 performs the power saving control after waiting for a certain period of time, so that, for example, asynchronous completion control is performed on the input / output device, and the input / output processing continues to operate for a while. For example, power saving of an information processing system capable of coping with an input / output device that should not be subjected to power saving control for a certain period of time after ending access to the input / output device is realized.

【0058】実施の形態4.以下、実施の形態4を図を
参照して説明する。図9は、実施の形態3の省電力制御
方式の構成図である。本実施の形態では、実施の形態1
の入出力装置管理テーブルに、タスクスイッチ時に入出
力装置の省電力制御を行わないことを示すタスクスイッ
チ時無効フラグのエントリ8gを加えた入出力装置管理
テーブル8と、本実施の形態で特徴的な動作を行う省電
力制御実行手段22を備える。なお、図1と同一符号は
同一又は相当部分を示す。また、OS7の動作手順は、
図2、図3のフローチャートと同様であり、説明を省略
する。
Embodiment 4 Hereinafter, Embodiment 4 will be described with reference to the drawings. FIG. 9 is a configuration diagram of a power saving control method according to the third embodiment. In the present embodiment, the first embodiment
The I / O device management table 8 in which an entry 8g of a task switch invalid flag indicating that power saving control of the I / O device is not performed at the time of task switching is added to the I / O device management table of FIG. Power saving control executing means 22 for performing various operations. The same reference numerals as those in FIG. 1 indicate the same or corresponding parts. The operating procedure of OS7 is as follows.
This is the same as the flowcharts of FIGS. 2 and 3, and the description is omitted.

【0059】図10は、省電力制御実行手段22の動作
手順を示すフローチャートである。図10において、図
4のフローチャートと同様の動作を行うステップについ
ては、同一のステップ番号を付けて表わしている。
FIG. 10 is a flowchart showing the operation procedure of the power saving control execution means 22. In FIG. 10, steps that perform the same operations as in the flowchart of FIG. 4 are denoted by the same step numbers.

【0060】次に、起動された省電力制御実行手段22
の動作手順を、図10のフローチャートに従って説明す
る。まず、省電力制御実行手段22は、ステップS21
で、入出力装置管理テーブル8(ここで、エントリの内
容は、OS7生成のコンパイル時やOS7起動のコンフ
ィグレーション時に設定されているもののとする)を参
照して、OS7から要求されたタスク5、6を識別する
エントリ8a、入出力装置3、4を識別するエントリ8b
に対応するアクセス開始時の省電力制御ルーチンアドレ
スのエントリ8c或いはアクセス終了時の省電力制御ル
ーチンアドレスのエントリ8dを検索する。
Next, the activated power saving control executing means 22
Will be described with reference to the flowchart of FIG. First, the power saving control execution unit 22 determines in step S21
Then, referring to the input / output device management table 8 (here, the contents of the entry are set at the time of compiling the generation of the OS 7 and at the time of the configuration of starting the OS 7), the task 5 requested from the OS 7 An entry 8a for identifying the I / O device 6 and an entry 8b for identifying the I / O devices 3 and 4
Is searched for the entry 8c of the power saving control routine address at the start of access or the entry 8d of the power saving control routine address at the end of access corresponding to.

【0061】次に、ステップS22でOS7からの要求
に対応したエントリが存在しないか否かを判断し、エン
トリが存在していない場合には、該省電力制御実行手段
22の処理を終了する。
Next, in step S22, it is determined whether or not an entry corresponding to the request from the OS 7 exists. If the entry does not exist, the processing of the power saving control execution means 22 is terminated.

【0062】一方、ステップS22でエントリが存在し
ている場合には、ステップS35で入出力装置管理テー
ブル8を参照して、OS7からタスクスイッチ時に呼び
出され、かつ選択された省電力制御ルーチンアドレスエ
ントリに関連するタスクスイッチ時無効フラグ8gが有
効に設定されているか否かをを判断し、有効に設定され
ている場合(YES時)には、該省電力制御実行手段22
の処理を終了する。
On the other hand, if the entry exists in step S22, the input / output device management table 8 is referred to in step S35, and the address entry called by the OS 7 at the time of the task switch and selected by the power saving control routine. It is determined whether the task switch invalid flag 8g related to the power saving control execution means 22 is set to be valid (if YES), the power saving control execution means 22 is set.
Is completed.

【0063】次に、ステップS35に戻り、タスクスイ
ッチ時無効フラグ8gが有効に設定されていない場合(N
O時)には、ステップS23でOS7からアクセス開始
時の省電力制御を要求されたか否かを判断し、アクセス
開始時の省電力制御を要求された場合には、ステップS
24で対応するアクセス開始時の省電力制御ルーチンア
ドレスを参照して、アクセス開始時の省電力制御ルーチ
ンを実行し、該省電力制御実行手段22の処理を終了す
る。
Next, returning to step S35, if the task switching invalid flag 8g is not set to be valid (N
At the time of O), it is determined whether or not the power saving control at the start of access is requested by the OS 7 at step S23.
The power saving control routine at the start of access is executed by referring to the corresponding power saving control routine address at the start of access at 24, and the processing of the power saving control execution means 22 is terminated.

【0064】一方、ステップS23に戻り、アクセス開
始時の省電力制御を要求さていない場合には、ステップ
S25で対応するアクセス終了時の省電力制御ルーチン
アドレスを参照して、アクセス終了時の省電力制御ルー
チンを実行し、該省電力制御実行手段22の処理を終了
する。
On the other hand, returning to step S23, if the power saving control at the start of the access is not requested, the power saving control routine at the end of the access is referred to at step S25 to refer to the corresponding power saving control routine address at the end of the access. The control routine is executed, and the processing of the power saving control executing means 22 ends.

【0065】以上のように本実施の形態によれば、入出
力管理テーブル8は、タスクスイッチ時の入出力装置の
省電力制御無効のフラグ8gを備え、省電力制御実行手
段22はタスクスイッチ時に省電力制御無効のフラグ8
gが有効であれば入出力装置の省電力制御を行わないよ
うにしたので、例えばタスクによるデバイスドライバの
システムコール処理中にタスクスイッチが発生しても入
出力装置の稼動状態をそのままにしておきたい場合な
ど、タスクスイッチが行われても入出力装置の省電力制
御をしてはならない入出力装置に対応することができる
情報処理システムの省電力を実現する。
As described above, according to the present embodiment, the input / output management table 8 includes the flag 8g of the power saving control invalidity of the input / output device at the time of the task switch. Power saving control invalid flag 8
If g is valid, the power saving control of the input / output device is not performed. For example, even if a task switch occurs during the system driver processing of the device driver by the task, the operation state of the input / output device is kept as it is. For example, the power saving of an information processing system that can cope with an input / output device that should not perform power saving control of the input / output device even when a task switch is performed is realized.

【0066】実施の形態5.以下、実施の形態5を図を
参照して説明する。図11は、実施の形態5の省電力制
御方式の構成図である。本実施の形態では、実施の形態
1の入出力装置管理テーブルに、アプリケーションプロ
グラムのタスクがアクセスする入出力装置以外にも他の
入出力装置用を含めた複数の省電力制御ルーチンアドレ
スを備える、入出力装置のアクセス開始時の省電力制御
ルーチンアドレスのエントリ8hと、アクセス終了時の
省電力制御ルーチンアドレスのエントリ8iを加えた入
出力装置管理テーブル8と、本実施の形態で特徴的な動
作を行う省電力制御実行手段23を備える。なお、図1
と同一符号は同一又は相当部分を示す。また、OS7の
動作手順は、図2、図3のフローチャートと同様であ
り、説明を省略する。
Embodiment 5 Hereinafter, a fifth embodiment will be described with reference to the drawings. FIG. 11 is a configuration diagram of a power saving control method according to the fifth embodiment. In the present embodiment, the input / output device management table of the first embodiment includes a plurality of power saving control routine addresses including those for other input / output devices in addition to the input / output devices accessed by the task of the application program. An input / output device management table 8 to which an entry 8h of the power saving control routine address at the start of access of the input / output device and an entry 8i of the power saving control routine address at the end of access, and a characteristic operation of the present embodiment. Power saving control execution means 23 for performing FIG.
The same reference numerals indicate the same or corresponding parts. The operation procedure of the OS 7 is the same as that of the flowcharts of FIGS. 2 and 3, and the description is omitted.

【0067】図12は、省電力制御実行手段23の動作
手順を示すフローチャートである。図12において、図
4のフローチャートと同様の動作を行うステップについ
ては、同一のステップ番号を付けて表わしている。次
に、起動された省電力制御実行手段20の動作手順を、
図6のフローチャートに従って説明する。
FIG. 12 is a flowchart showing the operation procedure of the power saving control execution means 23. In FIG. 12, steps that perform the same operations as those in the flowchart of FIG. 4 are denoted by the same step numbers. Next, the operation procedure of the activated power saving control execution means 20 is as follows.
This will be described with reference to the flowchart of FIG.

【0068】まず、省電力制御実行手段23は、ステッ
プS21で、入出力装置管理テーブル8(ここで、エン
トリの内容は、OS7生成のコンパイル時やOS7起動
のコンフィグレーション時に設定されているもののとす
る)を参照して、OS7から要求されたタスク5、6を
識別するエントリ8a、入出力装置3、4を識別するエ
ントリ8bに対応するアクセス開始時の省電力制御ルー
チンアドレスのエントリ8h或いはアクセス終了時の省
電力制御ルーチンアドレスのエントリ8iを検索する。
First, in step S21, the power saving control execution means 23 determines whether the contents of the entry are set at the time of compiling the OS7 generation or at the time of configuring the OS7 activation. ), The entry 8h of the power saving control routine address at the start of access corresponding to the entry 8a for identifying the tasks 5 and 6 and the entry 8b for identifying the input / output devices 3 and 4 requested by the OS 7, or the access. The entry 8i of the power saving control routine address at the end is searched.

【0069】次に、ステップS22でOS7からの要求
に対応したエントリが存在しないか否かを判断し、エン
トリが存在していない場合には、該省電力制御実行手段
23の処理を終了する。一方、ステップS22でエント
リが存在している場合には、ステップS36で検索して
選択された1つ以上の省電力制御ルーチンアドレスの中
から任意に1つを選び、ステップS23でOS7から入
出力装置へのアクセス開始時の省電力制御を要求された
か否かを判断し、アクセス開始時の省電力制御を要求さ
れた場合には、ステップS24で選択しているアクセス
開始時の省電力制御ルーチンアドレスを参照して、アク
セス開始時の省電力制御ルーチンを実行する。
Next, in step S22, it is determined whether or not an entry corresponding to the request from the OS 7 exists. If the entry does not exist, the process of the power saving control execution means 23 is terminated. On the other hand, if the entry exists in step S22, one is arbitrarily selected from the one or more power saving control routine addresses searched and selected in step S36, and input / output from the OS 7 is performed in step S23. It is determined whether power saving control at the start of access to the device has been requested. If power saving control at the start of access has been requested, the power saving control routine at the start of access selected in step S24. Referring to the address, the power saving control routine at the start of access is executed.

【0070】また、ステップS23でアクセス開始時の
省電力制御を要求されていない場合には、ステップS2
5で選択しているアクセス終了時の省電力制御ルーチン
アドレスを参照して、アクセス終了時の省電力制御ルー
チンを実行する。次にステップS37でその実行した省
電力制御ルーチンアドレスを選択している対象から外
す。ステップS38で、検索し選択した全ての省電力制
御ルーチンを実行したか否かを判断し、全ての省電力制
御ルーチンを実行していない場合には、ステップS36
に戻り、選択している対象の省電力制御ルーチンアドレ
スの中から任意に1つを選び出す。一方、ステップS3
8で、選択した全ての省電力制御ルーチンを実行してい
る場合は、該省電力制御実行手段23の処理を終了す
る。
If it is determined in step S23 that power saving control at the time of starting access has not been requested, step S2
The power saving control routine at the end of access is executed with reference to the address of the power saving control routine at the end of access selected in step 5. Next, in step S37, the executed power saving control routine address is excluded from the selected objects. In step S38, it is determined whether or not all the power saving control routines searched and selected have been executed. If not all the power saving control routines have been executed, step S36 is executed.
And arbitrarily selects one from the selected power saving control routine addresses. On the other hand, step S3
In step 8, if all the selected power saving control routines have been executed, the processing of the power saving control execution unit 23 ends.

【0071】以上のように本実施の形態によれば、入出
力装置管理テーブル8は、複数の入出力装置のアクセス
開始時とアクセス終了時の省電力制御ルーチンアドレス
8h、8iを備え、省電力制御実行手段23はタスクの
入出力装置へのアクセス時に複数の入出力装置の省電力
制御を行うようにしたので、例えば計算機でLANデバイ
スとDISKデバイス、及びディスプレイの複数の入出力装
置が互いに連動して動く場合など、効率良く連動して省
電力制御をしなくてはいけない複数の入出力装置に対応
することができる情報処理システムの省電力を実現す
る。
As described above, according to the present embodiment, the input / output device management table 8 includes the power saving control routine addresses 8h and 8i at the start and end of access of a plurality of input / output devices. Since the control execution means 23 performs power saving control of a plurality of input / output devices when the task accesses the input / output devices, for example, a LAN device and a DISK device, and a plurality of input / output devices of a display are linked to each other in a computer. For example, the present invention realizes power saving of an information processing system that can cope with a plurality of input / output devices that need to efficiently perform power saving control in conjunction with each other.

【0072】実施の形態6.以下、実施の形態6を図を
参照して説明する。図13は、実施の形態6の省電力制
御方式の構成図である。本実施の形態では、実施の形態
5の入出力装置管理テーブルの、複数の入出力装置の省
電力制御ルーチンアドレスがそれぞれ統一的な優先度情
報を持つ、入出力装置のアクセス開始時省電力制御ルー
チンアドレスのエントリ8jと、アクセス終了時省電力
制御ルーチンアドレスのエントリ8kを備える入出力装
置管理テーブル8と、本実施の形態で特徴的な動作を行
う省電力制御実行手段24を備える。なお、図1と同一
符号は同一又は相当部分を示す。また、OS7の動作手
順は、図2、図3のフローチャートと同様であり、説明
を省略する。
Embodiment 6 FIG. Hereinafter, the sixth embodiment will be described with reference to the drawings. FIG. 13 is a configuration diagram of a power saving control method according to the sixth embodiment. In the present embodiment, the power saving control at the time of access start of the input / output device, wherein the power saving control routine addresses of the plurality of input / output devices in the input / output device management table of the fifth embodiment each have unified priority information. The input / output device management table 8 includes a routine address entry 8j, an access end power saving control routine address entry 8k, and a power saving control execution unit 24 that performs a characteristic operation in the present embodiment. The same reference numerals as those in FIG. 1 indicate the same or corresponding parts. The operation procedure of the OS 7 is the same as that of the flowcharts of FIGS. 2 and 3, and the description is omitted.

【0073】図14は、省電力制御実行手段24の動作
手順を示すフローチャートである。図14において、図
12のフローチャートと同様の動作を行うステップにつ
いては、同一のステップ番号を付けて表わしている。
FIG. 14 is a flowchart showing the operation procedure of the power saving control execution means 24. In FIG. 14, steps that perform the same operations as in the flowchart of FIG. 12 are denoted by the same step numbers.

【0074】次に、起動された省電力制御実行手段24
の動作手順を、図14のフローチャートに従って説明す
る。まず、省電力制御実行手段24は、ステップS21
で、入出力装置管理テーブル8(ここで、エントリの内
容は、OS7生成のコンパイル時やOS7起動のコンフ
ィグレーション時に設定されているもののとする)を参
照して、OS7から要求されたタスク5、6を識別する
エントリ8a、入出力装置3、4を識別するエントリ8b
に対応する優先度情報付きアクセス開始時省電力制御ル
ーチンアドレスのエントリ8j或いは優先度情報付きア
クセス終了時省電力制御ルーチンアドレスのエントリ8
kを検索する。
Next, the activated power saving control execution means 24
Will be described with reference to the flowchart of FIG. First, the power-saving control execution unit 24 proceeds to step S21.
Then, referring to the input / output device management table 8 (here, the contents of the entry are set at the time of compiling the generation of the OS 7 and at the time of the configuration of starting the OS 7), the task 5 requested from the OS 7 An entry 8a for identifying the I / O device 6 and an entry 8b for identifying the I / O devices 3 and 4
8j of the access start power saving control routine address with priority information corresponding to or the entry 8 of the access end power saving control routine address with priority information with priority information
Search for k.

【0075】次に、ステップS22でOS7からの要求
に対応したエントリが存在しないか否かを判断し、エン
トリが存在していない場合には、該省電力制御実行手段
24の処理を終了する。
Next, in step S22, it is determined whether or not an entry corresponding to the request from the OS 7 exists. If the entry does not exist, the processing of the power saving control execution means 24 is terminated.

【0076】一方、ステップS22でエントリが存在し
ている場合には、ステップS39で検索して選択された
1つ以上の省電力制御ルーチンアドレスの中で最高優先
度(高優先度は値が大きいものとする)の値を作業用の
変数であるpriに格納し、ステップS40で選択して
いる省電力制御ルーチンアドレスの中にpriの値に等
しい優先度のものがあるか否か判断する。priに等し
いものがない場合には、ステップS41でpriの値を
1つ減じて次に低い優先度とし、ステップS40に戻っ
て、再び選択している省電力制御ルーチンアドレスの中
にpriの値に等しい優先度のものがあるか否かを判断
する。
On the other hand, if an entry exists in step S22, the highest priority (high priority has a larger value) in one or more power saving control routine addresses searched and selected in step S39. Is stored in pri, which is a working variable, and it is determined whether or not there is a power saving control routine address selected in step S40 with a priority equal to the value of pri. If there is no value equal to pri, the value of pri is decremented by one in step S41 to give the next lower priority, and the process returns to step S40, where the value of pri is included in the selected power saving control routine address again. It is determined whether or not there is one having a priority equal to.

【0077】一方、ステップS40で選択している省電
力制御ルーチンアドレスの中にpriの値に等しい優先
度のものがある場合には、ステップS42でそのうちの
1つの省電力制御ルーチンアドレスを選び、ステップS
23でOS7から入出力装置へのアクセス開始時の省電
力制御を要求されたか否かを判断し、アクセス開始時の
省電力制御を要求された場合には、ステップS24で選
択しているアクセス開始時の省電力制御ルーチンアドレ
スを参照して、アクセス開始時の省電力制御ルーチンを
実行する。また、ステップS23でアクセス開始時の省
電力制御を要求されていない場合には、ステップS25
で選択しているアクセス終了時の省電力制御ルーチンア
ドレスを参照して、アクセス終了時の省電力制御ルーチ
ンを実行する。
On the other hand, if there is a power saving control routine address having a priority equal to the value of pri among the power saving control routine addresses selected in step S40, one of the power saving control routine addresses is selected in step S42. Step S
It is determined at 23 whether or not the OS 7 has requested the power saving control at the start of access to the input / output device. If the power saving control at the start of access is requested, the access start selected at step S24 is determined. The power saving control routine at the start of access is executed with reference to the address of the power saving control routine at the time. If the power saving control at the start of access has not been requested in step S23, step S25
The power saving control routine at the end of the access is executed with reference to the address of the power saving control routine at the end of the access, which is selected in step (1).

【0078】次にステップS37でその実行した省電力
制御ルーチンアドレスを選択している対象から外す。ス
テップS38で、検索し選択した全ての省電力制御ルー
チンを実行したか否かを判断し、全ての省電力制御ルー
チンを実行していない場合には、ステップS40に戻
り、選択している省電力制御ルーチンアドレスの中にp
riの値に等しい優先度のものがあるか否かを判断す
る。一方、ステップS38で、全ての省電力制御ルーチ
ンを実行している場合には、該省電力制御実行手段24
の処理を終了する。
Next, in step S37, the executed power saving control routine address is excluded from the selected objects. In step S38, it is determined whether or not all the power saving control routines searched and selected have been executed. If all the power saving control routines have not been executed, the process returns to step S40, and the selected power saving control routine is executed. P in the control routine address
It is determined whether or not there is one having a priority equal to the value of ri. On the other hand, if all power saving control routines have been executed in step S38, the power saving control
Is completed.

【0079】以上のように本実施の形態によれば、入出
力装置管理テーブル8は、統一的な優先度情報を持つ複
数の入出力装置の省電力制御ルーチンアドレス8jと8
kを備え、省電力制御実行手段24がタスクの入出力装
置へのアクセス時に複数の入出力装置の省電力制御をそ
の優先度順番で行うようにしたので、例えばVOD(Vid
eo On Demand)装置でLANデバイスが受信したデータを次
にDISKデバイスに格納する場合など、順番に効率良く連
動して省電力制御をしなくてはいけない複数の入出力装
置に対応することができる情報処理システムの省電力を
実現する。
As described above, according to the present embodiment, the I / O device management table 8 stores the power saving control routine addresses 8j and 8j of a plurality of I / O devices having unified priority information.
k, the power saving control execution means 24 performs power saving control of a plurality of input / output devices in the order of priority when the task accesses the input / output device.
eo On Demand) It is possible to cope with multiple input / output devices that need to perform power saving control in an efficient and sequential manner, such as when the data received by the LAN device is stored next in the DISK device with the device Realize power saving of the information processing system.

【0080】実施の形態7.以下、実施の形態7を図を
参照して説明する。図15は、実施の形態7の省電力制
御方式の構成図である。本実施の形態では、実施の形態
2の入出力装置管理テーブルが持つ入出力装置にアクセ
スを開始した時の省電力制御後に一定時間を待つ時間情
報8eと、実施の形態3の入出力装置管理テーブルが持
つ入出力装置にアクセスを終了した時の省電力制御前に
一定時間を待つ時間情報8fと、実施の形態4の入出力
装置管理テーブルが持つタスクスイッチ時の省電力制御
無効のフラグ8gと、実施の形態5、6の入出力装置管
理テーブルが持つ複数の省電力制御ルーチンアドレスと
その優先度情報8j、8kを加えた入出力装置管理テー
ブル8と、省電力制御実行手段25と、入出力装置管理
テーブル変更手段26とを備える。なお、図1と同一符
号は同一又は相当部分を示す。また、OS7の動作手順
は、図2、図3のフローチャートと同様であり、説明を
省略する。
Embodiment 7 FIG. Hereinafter, Embodiment 7 will be described with reference to the drawings. FIG. 15 is a configuration diagram of a power saving control method according to the seventh embodiment. In the present embodiment, the time information 8e to wait for a certain time after the power saving control when the access to the input / output device in the input / output device management table of the second embodiment is started, and the input / output device management table of the third embodiment. Time information 8f to wait for a fixed time before power saving control when the access to the input / output device of the table is completed, and flag 8g of power saving control invalidity at the time of the task switch that the input / output device management table of the fourth embodiment has. An input / output device management table 8 to which a plurality of power saving control routine addresses of the input / output device management tables of the fifth and sixth embodiments and their priority information 8j and 8k are added; a power saving control execution unit 25; Input / output device management table changing means 26. The same reference numerals as those in FIG. 1 indicate the same or corresponding parts. The operation procedure of the OS 7 is the same as that of the flowcharts of FIGS. 2 and 3, and the description is omitted.

【0081】図16は、入出力装置管理テーブル変更手
段26の動作手順を示すフローチャートである。本実施
の形態では、実施の形態1、2、3、4、5、6の動作
に加え、入出力装置管理テーブル変更手段26が、図1
6のフローチャートに示す動作を行う。次に動作手順に
ついて説明する。
FIG. 16 is a flowchart showing the operation procedure of the input / output device management table changing means 26. In the present embodiment, in addition to the operations of the first, second, third, fourth, fifth and sixth embodiments, the input / output device
The operation shown in the flowchart of FIG. Next, the operation procedure will be described.

【0082】システム起動後に、入出力装置へのアクセ
スについての待ち時間や省電力制御の優先度が変わった
り、入出力装置が故障して取り外されたり、或いはデバ
ッグやチューニングを行う場合に、OS7は変更したい
エントリとその新しい値情報を指定して入出力装置管理
テーブル変更手段26を呼び出す。入出力装置管理テー
ブル変更手段26は、ステップS43で入出力装置管理
テーブル8を検索し、指定されたエントリを探す。そし
て、ステップS44でそのエントリ(8e、8f、8
g、8j、8k等の全部、またはいずれか)の内容を変
更する。省電力制御実行手段25は、実施の形態1、
2、3、4、5、6と同じ動作を行う。
After the system is started, when the waiting time for access to the input / output device or the priority of the power saving control is changed, the input / output device is removed due to a failure, or debugging or tuning is performed, the OS 7 is activated. The entry to be changed and its new value information are designated, and the input / output device management table changing means 26 is called. The input / output device management table changing means 26 searches the input / output device management table 8 in step S43 to find the specified entry. Then, in step S44, the entry (8e, 8f, 8
g, 8j, 8k, etc.). The power saving control execution unit 25 is the first embodiment,
The same operation as 2, 3, 4, 5, and 6 is performed.

【0083】以上のように本実施の形態によれば、入出
力装置管理テーブル8は、入出力装置にアクセスを開始
した時の省電力制御後に一定時間を待つ時間情報と、入
出力装置にアクセスを終了した時の省電力制御前に一定
時間を待つ時間情報と、タスクスイッチ時の省電力制御
無効のフラグと、複数の入出力装置の省電力制御ルーチ
ンアドレス情報とその優先度情報を備え、入出力装置管
理テーブル変更手段25が、アクセス開始及びアクセス
終了時に待つ時間情報、省電力制御無効のフラグ、複数
の省電力制御ルーチンアドレス情報とその優先度情報の
全部、またはいずれかをシステム実行中に変更できるよ
うにしたので、入出力装置へのアクセス開始やアクセス
終了時の待ち時間や省電力制御の優先度が変わったり、
入出力装置が故障して取り外されて省電力制御が不要に
なったり、或いはシステムのデバッグやチューニングを
行う場合に柔軟に対応することができる情報処理システ
ムの省電力を実現する。
As described above, according to the present embodiment, the input / output device management table 8 stores the time information for waiting a fixed time after the power saving control when the access to the input / output device is started, and the access information for the input / output device. Time information to wait for a certain time before power saving control when the power saving is completed, a flag for disabling power saving control at the time of task switching, power saving control routine address information of a plurality of input / output devices, and priority information thereof, The input / output device management table changing unit 25 is executing system information while waiting for access start and end of access, power saving control invalidation flag, a plurality of power saving control routine address information and / or its priority information. The waiting time at the start and end of access to the I / O device and the priority of power saving control change,
It is possible to realize power saving of an information processing system that can flexibly cope with a case where an input / output device breaks down and is removed due to a failure, or the system is debugged or tuned.

【0084】実施の形態8.以下、実施の形態8を図を
参照して説明する。図17は、実施の形態8の省電力制
御方式の構成図である。本実施の形態では、実施の形態
1の入出力装置管理テーブルに、最低の電力で入出力装
置を稼動させるアクセス開始時省電力制御ルーチンアド
レスのエントリ8lと、アクセス終了時省電力制御ルー
チンアドレスのエントリ8mを加えた入出力装置管理テ
ーブル8と、本実施の形態で特徴的な動作を行う省電力
制御実行手段27と、情報処理システムの電源電圧を検
出する電源電圧検出手段28とを備える。なお、図1と
同一符号は同一又は相当部分を示す。また、OS7の動
作手順は、図2、図3のフローチャートと同様であり、
説明を省略する。
Embodiment 8 FIG. Hereinafter, an eighth embodiment will be described with reference to the drawings. FIG. 17 is a configuration diagram of a power saving control method according to the eighth embodiment. In the present embodiment, the entry 8l of the access start power saving control routine address for operating the input / output device with the lowest power and the access end power saving control routine address in the input / output device management table of the first embodiment. An input / output device management table 8 to which an entry 8m is added, a power saving control execution unit 27 that performs a characteristic operation in the present embodiment, and a power supply voltage detection unit 28 that detects a power supply voltage of the information processing system. The same reference numerals as those in FIG. 1 indicate the same or corresponding parts. The operation procedure of the OS 7 is the same as the flowcharts of FIGS.
Description is omitted.

【0085】図18は、省電力制御実行手段27の動作
手順を示すフローチャートである。図18において、図
4のフローチャートと同様の動作を行うステップについ
ては、同一のステップ番号を付けて表わしている。
FIG. 18 is a flowchart showing the operation procedure of the power saving control executing means 27. In FIG. 18, steps that perform the same operations as in the flowchart of FIG. 4 are denoted by the same step numbers.

【0086】次に、起動された省電力制御実行手段27
の動作手順を、図18のフローチャートに従って説明す
る。まず、省電力制御実行手段27は、ステップS45
で電源電圧検出手段28を参照して、情報処理システム
の電源電圧を得る。ステップS112でその電源電圧が
システムで定められた正常の値であるか否かを判断し、
電源電圧が正常である場合には、ステップS47で入出
力装置管理テーブル8(ここで、エントリの内容は、O
S7生成のコンパイル時やOS7起動のコンフィグレー
ション時に設定されているもののとする)を参照して、
OS7から要求されたタスク5、6を識別するエントリ
8a、入出力装置3、4を識別するエントリ8bに対応す
る通常のアクセス開始時の省電力制御ルーチンアドレス
のエントリ8c或いはアクセス終了時の省電力制御ルー
チンアドレスのエントリ8dを検索する。
Next, the activated power saving control executing means 27
Will be described with reference to the flowchart of FIG. First, the power saving control execution unit 27 determines in step S45
The power supply voltage of the information processing system is obtained with reference to the power supply voltage detecting means 28. In step S112, it is determined whether the power supply voltage is a normal value determined by the system,
If the power supply voltage is normal, the input / output device management table 8 (here, the content of the entry is O
(It is assumed that it is set at the time of compiling S7 generation and at the time of configuring OS7 startup.)
An entry 8c for a normal access start power saving control routine address corresponding to the entry 8a for identifying the tasks 5 and 6 and the entry 8b for identifying the input / output devices 3 and 4 requested by the OS 7, or power saving at the end of the access. The control routine address entry 8d is searched.

【0087】一方、ステップS46で電源電圧が正常で
ない場合には、ステップS48で入出力装置管理テーブ
ル8を参照して、OS7から要求されたタスクエントリ
8a、入出力装置エントリ8bに対応する最低のアクセス
開始時省電力制御ルーチンアドレスエントリ8l或いは
アクセス終了時省電力制御ルーチンアドレスエントリ8
mを検索する。ステップS22でOS7からの要求に対
応したエントリが存在しないか否かを判断し、エントリ
が存在していない場合には、該省電力制御実行手段27
の処理を終了する。
On the other hand, if the power supply voltage is not normal in step S46, the input / output device management table 8 is referred to in step S48, and the lowest entry corresponding to the task entry 8a and the input / output device entry 8b requested by the OS 7 is executed. Access start power saving control routine address entry 8l or access end power saving control routine address entry 8l
Search for m. In step S22, it is determined whether an entry corresponding to the request from the OS 7 does not exist. If the entry does not exist, the power saving control execution unit 27 is determined.
Is completed.

【0088】また、ステップS22でエントリが存在し
ている場合には、ステップS23で入出力装置へのアク
セス開始時の省電力制御を要求されたか否かを判断し、
アクセス開始時の省電力制御を要求された場合には、ス
テップS24で対応するアクセス開始時の省電力制御ル
ーチンアドレスを参照して、アクセス開始時の省電力制
御ルーチンを実行し、該省電力制御実行手段27の処理
を終了する。
If an entry exists in step S22, it is determined in step S23 whether power saving control at the start of access to the input / output device has been requested.
When the power saving control at the start of the access is requested, the power saving control routine at the start of the access is executed by referring to the corresponding power saving control routine at the start of the access at step S24. The processing of the execution means 27 ends.

【0089】一方、ステップS23でアクセス開始時の
省電力制御を要求さていない場合には、ステップS25
で対応するアクセス終了時の省電力制御ルーチンアドレ
スを参照して、アクセス終了時の省電力制御ルーチンを
実行し、該省電力制御実行手段27の処理を終了する。
On the other hand, if the power saving control at the start of access is not requested in step S23, step S25
The power saving control routine at the end of access is executed by referring to the address of the corresponding power saving control routine at the end of access, and the processing of the power saving control executing means 27 is terminated.

【0090】以上のように本実施の形態によれば、入出
力装置管理テーブル8は通常の省電力制御ルーチンアド
レス情報8c、8dの他に最低の電力で入出力装置を稼
動させる省電力制御ルーチンアドレス情報8l、8mを
保持し、また情報処理システムの電源電圧検出手段28
を持ち、電源電圧が低下した場合に省電力制御実行手段
27は最低の省電力制御ルーチンを利用するようにした
ので、電源電圧が低下しても情報処理システムの稼働時
間を延ばすことができる。
As described above, according to the present embodiment, the I / O device management table 8 includes the power saving control routine for operating the I / O device with the lowest power in addition to the ordinary power saving control routine address information 8c and 8d. Address information 8l and 8m are held, and power supply voltage detecting means 28 of the information processing system is stored.
Since the power saving control execution means 27 uses the lowest power saving control routine when the power supply voltage decreases, the operation time of the information processing system can be extended even if the power supply voltage decreases.

【0091】[0091]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。
Since the present invention is configured as described above, it has the following effects.

【0092】第1の発明では、タスクの入出力装置への
アクセス開始時に入出力装置を稼動状態にする省電力制
御を実行し、またタスクの入出力装置へのアクセス終了
時に入出力装置を待機状態にする省電力制御を実行する
ことにより、タスクの入出力装置へのアクセスが必要な
時にだけ入出力装置に対する省電力制御を行うので、情
報処理システムの省電力を実現できる。
In the first invention, power saving control is performed to put the input / output device into operation when the task starts accessing the input / output device, and the input / output device waits when the task has completed accessing the input / output device. By executing the power saving control for setting the state, the power saving control for the input / output device is performed only when the task needs to access the input / output device, so that the power saving of the information processing system can be realized.

【0093】第2の発明では、タスクの入出力装置への
アクセス開始時の省電力制御後に任意の時間を待ってか
らタスクの入出力装置へのアクセスを開始することによ
り、省電力制御を行ってから一定時間アクセスしてはな
らない入出力装置に対応することのできる情報処理シス
テムの省電力を実現できる。
In the second invention, the power saving control is performed by waiting for an arbitrary time after the power saving control at the start of the task access to the input / output device and then starting the task access to the input / output device. Power saving of an information processing system that can support an input / output device that must not be accessed for a certain period of time afterwards.

【0094】第3の発明では、タスクの入出力装置への
アクセス終了時に任意の時間を待ってから省電力制御を
実行することにより、省電力制御を行ってから一定時間
アクセスしてはならない入出力装置に対応することので
きる情報処理システムの省電力を実現できる。
In the third invention, the power saving control is executed after waiting for an arbitrary time at the end of the access of the task to the input / output device. The power saving of the information processing system that can support the output device can be realized.

【0095】第4の発明では、タスクスイッチ時無効フ
ラッグのエントリに基づいて、タスクの入出力装置アク
セス中のタスクスイッチ時の省電力制御を実行するか否
かを決めることにより、タスクスイッチが行われても省
電力制御をしてはならない入出力装置に対応することが
できる情報処理システムの省電力を実現できる。
In the fourth invention, the task switch determines whether or not to execute the power saving control during the task switch during the access of the input / output device of the task based on the entry of the invalid flag at the time of the task switch. The power saving of the information processing system that can cope with an input / output device for which power saving control should not be performed can be realized.

【0096】第5の発明では、タスクの入出力装置への
アクセス開始時又は終了時に、入出力装置及び他の複数
の入出力装置の省電力制御を実行することにより、入出
力装置と連動して省電力制御をしなくてはいけない複数
の入出力装置に対応することができる情報処理システム
の省電力を実現できる。
According to the fifth aspect, when a task starts or ends access to an input / output device, power saving control of the input / output device and a plurality of other input / output devices is performed, thereby interlocking with the input / output device. Power saving of an information processing system capable of coping with a plurality of input / output devices for which power saving control must be performed.

【0097】第6の発明では、入出力装置とこの入出力
装置と連動する他の複数の入出力装置とを稼動状態又は
待機状態にする省電力制御ルーチンに優先度を付加した
エントリに基づいて、タスクの入出力装置とこの入出力
装置と連動する他の複数の入出力装置へのアクセス開始
時又は終了時に省電力制御を実行することにより、順番
に連動して省電力制御をしなくてはいけない複数の入出
力装置に対応することができる情報処理システムの省電
力を実現できる。
In the sixth invention, a priority is added to a power saving control routine for putting an input / output device and a plurality of other input / output devices interlocked with the input / output device into an operation state or a standby state, based on an entry added with a priority. By executing power saving control at the start or end of access to a task's input / output device and a plurality of other input / output devices linked to the input / output device, the power saving control is not performed in sequence. It is possible to realize power saving of an information processing system that can cope with a plurality of input / output devices that cannot be used.

【0098】第7の発明では、入出力装置管理テーブル
変更手段により変更された入出力装置管理テーブルのエ
ントリに基づいて、タスクの上記入出力装置へのアクセ
ス開始時又は終了時に省電力制御を実行することによ
り、入出力装置管理テーブルの正確なエントリに従って
情報処理システムの省電力を実現できる。
In the seventh invention, power saving control is executed at the time of starting or ending access of the task to the input / output device based on the entry of the input / output device management table changed by the input / output device management table changing means. By doing so, power saving of the information processing system can be realized according to accurate entries in the input / output device management table.

【0099】第8の発明では、上記電源電圧検出手段に
より検出された電圧電源が予め定められた正常の値でな
い時に、最低の電力で入出力装置を稼動させ、最低の電
力で入出力装置を待機させるように省電力制御をするこ
とにより、電源電圧が低下しても情報処理システムの稼
働時間を延ばすことができる。
In the eighth invention, when the voltage power supply detected by the power supply voltage detecting means is not a predetermined normal value, the input / output device is operated with the lowest power and the input / output device is operated with the lowest power. By performing the power saving control so as to make the system stand by, the operation time of the information processing system can be extended even if the power supply voltage decreases.

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

【図1】 実施の形態1の省電力制御方式の構成図。FIG. 1 is a configuration diagram of a power saving control method according to a first embodiment.

【図2】 実施の形態1におけるOS7の動作手順を示
すフローチャート。
FIG. 2 is a flowchart showing an operation procedure of an OS 7 in the first embodiment.

【図3】 実施の形態1におけるOS7の動作手順を示
すフローチャート。
FIG. 3 is a flowchart showing an operation procedure of an OS 7 according to the first embodiment.

【図4】 実施の形態1における省電力制御実行手段9
の動作手順を示すフローチャート。
FIG. 4 is a power saving control execution unit 9 according to the first embodiment.
5 is a flowchart showing the operation procedure of the embodiment.

【図5】 実施の形態2の省電力制御方式の構成図。FIG. 5 is a configuration diagram of a power saving control method according to the second embodiment.

【図6】 実施の形態2における省電力制御実行手段2
0の動作手順を示すフローチャート。
FIG. 6 shows a power saving control execution unit 2 according to the second embodiment.
7 is a flowchart showing an operation procedure of the operation mode 0;

【図7】 実施の形態3の省電力制御方式の構成図。FIG. 7 is a configuration diagram of a power saving control method according to a third embodiment.

【図8】 実施の形態3における省電力制御実行手段2
1の動作手順を示すフローチャート。
FIG. 8 shows power saving control executing means 2 according to the third embodiment.
6 is a flowchart showing an operation procedure of FIG.

【図9】 実施の形態3の省電力制御方式の構成図。FIG. 9 is a configuration diagram of a power saving control method according to a third embodiment.

【図10】 実施の形態3における省電力制御実行手段
22の動作手順を示すフローチャート。
FIG. 10 is a flowchart showing an operation procedure of a power saving control execution unit 22 according to the third embodiment.

【図11】 実施の形態5の省電力制御方式の構成図。FIG. 11 is a configuration diagram of a power saving control method according to a fifth embodiment.

【図12】 実施の形態5における省電力制御実行手段
23の動作手順を示すフローチャート。
FIG. 12 is a flowchart showing an operation procedure of a power saving control execution unit 23 according to the fifth embodiment.

【図13】 実施の形態6の省電力制御方式の構成図。FIG. 13 is a configuration diagram of a power saving control method according to the sixth embodiment.

【図14】 実施の形態6における省電力制御実行手段
24の動作手順を示すフローチャート。
FIG. 14 is a flowchart showing an operation procedure of a power saving control execution unit 24 according to the sixth embodiment.

【図15】 実施の形態7の省電力制御方式の構成図。FIG. 15 is a configuration diagram of a power saving control method according to a seventh embodiment.

【図16】 実施の形態7における入出力装置管理テー
ブル変更手段26の動作手順を示すフローチャート。
FIG. 16 is a flowchart showing an operation procedure of an input / output device management table changing unit 26 according to the seventh embodiment.

【図17】 実施の形態8の省電力制御方式の構成図。FIG. 17 is a configuration diagram of a power saving control method according to the eighth embodiment.

【図18】 実施の形態8における省電力制御実行手段
27の動作手順を示すフローチャート。
FIG. 18 is a flowchart showing an operation procedure of a power saving control execution unit 27 according to the eighth embodiment.

【図19】 従来の省電力制御方式の構成図。FIG. 19 is a configuration diagram of a conventional power saving control method.

【図20】 従来の省電力制御方式の動作手順を示すフ
ローチャート。
FIG. 20 is a flowchart showing an operation procedure of a conventional power saving control method.

【図21】 従来の省電力制御方式の動作手順を示すフ
ローチャート。
FIG. 21 is a flowchart showing an operation procedure of a conventional power saving control method.

【図22】 従来の省電力制御方式の動作手順を示すフ
ローチャート。
FIG. 22 is a flowchart showing an operation procedure of a conventional power saving control method.

【図23】 従来の省電力制御方式の構成図。FIG. 23 is a configuration diagram of a conventional power saving control method.

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

1 情報システム、2 CPU、3、4 入出力装置、
5、6 タスク、7OS(オペレーティングシステ
ム)、8 入出力装置管理テーブル、9 省電力制御実
行手段、10 入出力装置用のアクセス開始時省電力制
御ルーチン、11入出力装置用のアクセス終了時省電力
制御ルーチン、12 入出力装置用のアクセス開始時省
電力制御ルーチン、13 入出力装置用のアクセス終了
時省電力制御ルーチン。
1 information system, 2 CPU, 3, 4 input / output device,
5, 6 tasks, 7 OS (operating system), 8 input / output device management table, 9 power saving control execution means, 10 access start power saving control routine for input / output devices, 11 access end power saving for input / output devices Control Routine, 12 Access Start Power Saving Control Routine for I / O Devices, 13 Access End Power Saving Control Routine for I / O Devices

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーションプログラムの実行単位
であるタスクと、 上記タスクとアクセスしアプリケーションプログラムの
実行を行う入出力装置と、 上記タスクの起動又は終了を管理し、上記タスクの上記
入出力装置へのアクセスの開始時又は終了時に省電力制
御をするための起動をし、省電力制御の要求をするオペ
レーティングシステムと、 上記タスクの上記入出力装置へのアクセス開始時に上記
入出力装置を稼動状態にする省電力制御ルーチンのエン
トリと上記タスクの上記入出力装置へのアクセス終了時
に上記入出力装置を待機状態にする省電力制御ルーチン
のエントリとにより構成される入出力装置管理テーブル
と、 上記オペレーティングシステムにより起動され、上記オ
ペレーティングシステムによる要求に対応した上記エン
トリを上記入出力装置管理テーブルの中から検索し、こ
の検索されたエントリに基づいて、上記タスクの上記入
出力装置へのアクセス開始時又は終了時に省電力制御を
実行する省電力制御実行手段と、を備えたことを特徴と
する省電力制御方式。
A task that is an execution unit of the application program; an input / output device that accesses the task to execute the application program; and manages activation or termination of the task and transfers the task to the input / output device. An operating system that starts power saving control at the start or end of access and requests power saving control, and puts the input / output device into operation when the task starts accessing the input / output device. An input / output device management table including an entry of a power saving control routine and an entry of a power saving control routine that puts the input / output device in a standby state when the task has finished accessing the input / output device; Booted and responded to requests by the operating system A power saving control execution means for executing a power saving control when starting or ending access of the task to the input / output device based on the searched entry. And a power saving control method.
【請求項2】 上記入出力装置管理テーブルは、上記タ
スクの上記入出力装置へのアクセス開始時の省電力制御
後に任意の時間を待つためのアクセス開始時待ち時間情
報のエントリを備え、 上記省電力制御実行手段は、上記アクセス開始時待ち時
間情報のエントリに基づいて、上記タスクの上記入出力
装置へのアクセス開始時の省電力制御後に任意の時間を
待ってから上記タスクの上記入出力装置へのアクセスを
開始することを特徴とする請求項1記載の省電力制御方
式。
2. The input / output device management table includes an entry of access start waiting time information for waiting an arbitrary time after power saving control when the task starts accessing the input / output device. The power control execution means waits for an arbitrary time after the power saving control at the start of access to the input / output device of the task based on the entry of the access start wait time information, and then waits for the input / output device of the task. 2. The power-saving control method according to claim 1, wherein access to the device is started.
【請求項3】 上記入出力装置管理テーブルは、上記タ
スクの上記入出力装置へのアクセス終了時の省電力制御
前に任意の時間を待つためのアクセス開始時待ち時間情
報のエントリを備え、 上記省電力制御実行手段は、上記アクセス開始時待ち時
間情報のエントリに基づいて、上記タスクの上記入出力
装置へのアクセス終了時に任意の時間を待ってから省電
力制御を実行することを特徴とする請求項1記載の省電
力制御方式。
3. The I / O device management table includes an entry of access start time information for waiting an arbitrary time before power saving control at the end of access of the task to the I / O device, The power saving control execution means executes power saving control after waiting an arbitrary time at the end of the access of the task to the input / output device based on the entry of the access start waiting time information. The power saving control method according to claim 1.
【請求項4】 上記入出力装置管理テーブルは、上記タ
スクのタスクスイッチ時に上記入出力装置の省電力制御
を行うか否かを示すタスクスイッチ時無効フラッグのエ
ントリを備え、 上記省電力制御実行手段は、上記タスクスイッチ時無効
フラッグのエントリに基づいて、上記タスクの上記入出
力装置へのスイッチ時の省電力制御を実行するか否かを
決めることを特徴とする請求項1記載の省電力制御方
式。
4. The power saving control execution means, wherein the input / output device management table includes an entry of an invalid flag at the time of task switching indicating whether to perform power saving control of the input / output device at the time of task switching of the task. 2. The power saving control according to claim 1, wherein, based on the entry of the invalid flag at the time of switching the task, it is determined whether or not to execute the power saving control when the task is switched to the input / output device. method.
【請求項5】 上記タスクとアクセスし上記入出力装置
と連動してアプリケーションプログラムの実行を行う複
数の入出力装置を備え、 上記入出力装置管理テーブルは、上記タスクの上記入出
力装置へのアクセス開始時に上記入出力装置又は上記複
数の入出力装置を稼動状態にする省電力制御ルーチンの
エントリと、上記タスクの上記入出力装置へのアクセス
終了時に上記入出力装置又は上記複数の入出力装置を待
機状態にする省電力制御ルーチンのエントリとを備え、 上記省電力制御実行手段は、上記入出力装置又は上記複
数の入出力装置を稼動状態、又は待機状態にする省電力
制御ルーチンのエントに基づいて、上記タスクの上記入
出力装置又は上記複数の入出力装置へのアクセス開始
時、又は終了時に省電力制御を実行することを特徴とす
る請求項1記載の省電力制御方式。
5. An input / output device management table comprising: a plurality of input / output devices for accessing the task and executing an application program in conjunction with the input / output device; At the start, the entry of the power saving control routine for putting the I / O device or the plurality of I / O devices into the operating state, and the I / O device or the plurality of I / O devices at the end of the access of the task to the I / O device. An entry of a power saving control routine for setting the standby state to the standby state. The power saving control execution means includes: Power-saving control is executed when the task accesses the input / output device or the plurality of input / output devices or at the end of the task. Power-saving control method of claim 1 wherein the.
【請求項6】 上記入出力装置管理テーブルは、上記タ
スクの上記入出力装置へのアクセス開始時に上記入出力
装置又は上記複数の入出力装置を稼動状態にする省電力
制御ルーチンに優先度を付加したエントリと、上記タス
クの上記入出力装置へのアクセス終了時に上記入出力装
置又は上記複数の入出力装置を待機状態にする省電力制
御ルーチンに優先度を付加したエントリとを備え、 上記省電力制御実行手段は、上記入出力装置又は上記複
数の入出力装置を稼動状態、又は待機状態にする省電力
制御ルーチンに優先度を付加したエントリに基づいて、
上記タスクの上記入出力装置又は上記複数の入出力装置
へのアクセス開始時、又は終了時に省電力制御を実行す
ることを特徴とする請求項5記載の省電力制御方式。
6. The I / O device management table adds a priority to a power saving control routine that activates the I / O device or the plurality of I / O devices when the task starts accessing the I / O device. And a power-saving control routine that puts the input / output device or the plurality of input / output devices in a standby state at the end of the access of the task to the input / output device. The control execution means is based on an entry in which a priority is added to a power saving control routine that puts the input / output device or the plurality of input / output devices into an operating state or a standby state,
6. The power-saving control method according to claim 5, wherein power-saving control is executed when starting or ending access of the task to the input / output device or the plurality of input / output devices.
【請求項7】 上記入出力装置管理テーブルの上記エン
トリの内容を変更する入出力装置管理テーブル変更手段
を備え、 上記省電力制御実行手段は、上記入出力装置管理テーブ
ル変更手段により変更された上記エントリに基づいて、
上記タスクの上記入出力装置へのアクセス開始時、又は
終了時に省電力制御を実行することを特徴とする請求項
1乃至請求項6記載の省電力制御方式。
7. An input / output device management table changing means for changing the contents of the entry of the input / output device management table, wherein the power saving control executing means is changed by the input / output device management table changing means. Based on the entry,
7. The power saving control method according to claim 1, wherein the power saving control is executed when the access to the input / output device of the task starts or ends.
【請求項8】 電源電圧を検出する電源電圧検出手段を
備え、 上記入出力装置管理テーブルは、最低の電力で入出力装
置を稼動させるアクセス開始時の省電力制御ルーチンの
エントリと最低の電力で入出力装置を待機させるアクセ
ス終了時の省電力制御ルーチンのエントリを備え、 上記省電力制御実行手段は、上記電源電圧検出手段によ
り検出された電圧電源が予め定められた正常の値でない
時に、上記入出力装置管理テーブルの最低の電力で入出
力装置を稼動させるアクセス開始時の省電力制御ルーチ
ンのエントリと、最低の電力で入出力装置を待機させる
アクセス終了時の省電力制御ルーチンのエントリとに基
づいて、上記タスクの上記入出力装置へのアクセス開始
時又は終了時に省電力制御を実行することを特徴とする
請求項1記載の省電力制御方式。
8. An input / output device management table for detecting a power supply voltage, wherein the input / output device management table includes an entry of a power saving control routine at the start of access for operating the input / output device with the lowest power and a minimum power. An entry of a power saving control routine at the end of access for waiting the input / output device is provided, wherein the power saving control execution means is configured to execute the above operation when the voltage power supply detected by the power supply voltage detection means is not a predetermined normal value. The entry of the power saving control routine at the start of access for operating the input / output device with the lowest power in the entry / output device management table, and the entry of the power saving control routine at the end of access for waiting the input / output device with the lowest power. 2. The power-saving control according to claim 1, wherein the power-saving control is executed when the access of the task to the input / output device starts or ends. Power control scheme.
JP11114338A 1999-04-22 1999-04-22 System for controlling power saving Pending JP2000305671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11114338A JP2000305671A (en) 1999-04-22 1999-04-22 System for controlling power saving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11114338A JP2000305671A (en) 1999-04-22 1999-04-22 System for controlling power saving

Publications (1)

Publication Number Publication Date
JP2000305671A true JP2000305671A (en) 2000-11-02

Family

ID=14635292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11114338A Pending JP2000305671A (en) 1999-04-22 1999-04-22 System for controlling power saving

Country Status (1)

Country Link
JP (1) JP2000305671A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6834353B2 (en) 2001-10-22 2004-12-21 International Business Machines Corporation Method and apparatus for reducing power consumption of a processing integrated circuit
US7783401B2 (en) 2006-08-10 2010-08-24 Denso Corporation Method and device for managing tasks of in-vehicle electronic control unit
JP2012018515A (en) * 2010-07-07 2012-01-26 Fujitsu Ltd Information processor, control method, and control program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6834353B2 (en) 2001-10-22 2004-12-21 International Business Machines Corporation Method and apparatus for reducing power consumption of a processing integrated circuit
US7783401B2 (en) 2006-08-10 2010-08-24 Denso Corporation Method and device for managing tasks of in-vehicle electronic control unit
JP2012018515A (en) * 2010-07-07 2012-01-26 Fujitsu Ltd Information processor, control method, and control program
US8843923B2 (en) 2010-07-07 2014-09-23 Fujitsu Limited Information processor, control method, and computer-readable recording medium recording control program

Similar Documents

Publication Publication Date Title
US5913068A (en) Multi-processor power saving system which dynamically detects the necessity of a power saving operation to control the parallel degree of a plurality of processors
US10949249B2 (en) Task processor
US6014611A (en) Cooling mode switching system for CPU
JP3637181B2 (en) Computer system and cooling control method thereof
JP4704041B2 (en) Apparatus and method for controlling multithreaded processor performance
CA2149546C (en) Method of autonomously reducing power consumption in a computer system
US6990594B2 (en) Dynamic power management of devices in computer system by selecting clock generator output based on a current state and programmable policies
JPH05197664A (en) Method and apparatus for input/output control for transferring data between host processor and plurality of input/output devices
US20120096472A1 (en) Virtual queue processing circuit and task processor
JP2001318742A (en) Computer system and computer readable recording medium
WO2008023426A1 (en) Task processing device
RU2003123118A (en) NEW PROCESSOR MODE TO REDUCE THE FUNCTIONING OF THE GUEST SOFTWARE RUNNING ON THE VIRTUAL MACHINE SUPPORTED BY THE MONITOR OF THE VIRTUAL MACHINE
JPH04362717A (en) System restarting device
JPH04333119A (en) Information processor
JP2005527906A (en) Method and apparatus for providing a separate power management state
CN103279183A (en) Running state power saving via reduced instructions per clock operation
KR970011216B1 (en) Information processing system
CN111506351A (en) Deep sleep method, wake-up method and sleep and wake-up method for system on chip
JP2010262621A (en) Computer system with power supply control, and power supply control method
US6282667B1 (en) Method and apparatus for selectively powering circuitry within a sound device to perform selected sound functions
JP2000039937A (en) Computer system and its power-saving control method
JP2001043098A (en) Operating system and virtual computer system
JP4482275B2 (en) Hardware architecture of multi-mode power management system using a fixed time reference for operating system support
JP2000305671A (en) System for controlling power saving
JP2003085041A (en) Disc cache system