JPH02121047A - Input/output control system - Google Patents

Input/output control system

Info

Publication number
JPH02121047A
JPH02121047A JP63275559A JP27555988A JPH02121047A JP H02121047 A JPH02121047 A JP H02121047A JP 63275559 A JP63275559 A JP 63275559A JP 27555988 A JP27555988 A JP 27555988A JP H02121047 A JPH02121047 A JP H02121047A
Authority
JP
Japan
Prior art keywords
input
time
output
output control
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63275559A
Other languages
Japanese (ja)
Other versions
JP2656325B2 (en
Inventor
Hitoshi Yoshihara
人志 吉原
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63275559A priority Critical patent/JP2656325B2/en
Publication of JPH02121047A publication Critical patent/JPH02121047A/en
Application granted granted Critical
Publication of JP2656325B2 publication Critical patent/JP2656325B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To execute time monitoring with high accuracy by adjusting monitoring time for a command to be executed according to the contents of the command. CONSTITUTION:An input/output controller 2 controls an input/output operation by an input/output device 3 according to the instruction of the command outputted from a CPU 1 and outputs completion notification to the CPU 1 when the processing completes. Here, while the generation of an attention interrupt signal is inhibited when input/output processing for one command by the input/output controller 2 completes by the time when the attention interrupt signal is generated, the monitoring time is extended by the attention interrupt signal when the input/output processing does not complete by the above- mentioned time. Consequently, the monitoring time can be adjusted according to the contents of the command. Thus, the time monitoring with high accuracy can be executed.

Description

【発明の詳細な説明】 [発明の目的] 出力処理時間の監視機能を有する入出力制御方式(従来
の技術) 一般に、コンピュータシステムにおける入出力制御は、
CPUの制御下で入出力(I 10)コントローラによ
って実行される。すなわち、I10コントローラは、C
PUから出力されるコマンドの指示に応じた入出力制御
処理を実行し、その処理が終了するとその処理の終了通
知をCPUに対して行なう。CPUは、その処理の終了
通知が110コントローラから送られるのを待ち、終了
通知を受取ると次のコマンドをI10コントローラに出
力する。
[Detailed Description of the Invention] [Object of the Invention] Input/output control method having output processing time monitoring function (prior art) In general, input/output control in a computer system is
It is executed by the input/output (I10) controller under the control of the CPU. That is, the I10 controller
It executes input/output control processing according to command instructions output from the PU, and when the processing is completed, notifies the CPU of the completion of the processing. The CPU waits for the completion notification of the process to be sent from the 110 controller, and upon receiving the completion notification, outputs the next command to the I10 controller.

しかしながら、このような入出力制御システムにおいて
は、I10コントローラになんらかの故障が発生すると
終了通知がCPUに送られなくなってしまうため、CP
Uは次のコマンドをI10コントローラに発行できなく
なってしまう。
However, in such an input/output control system, if some kind of failure occurs in the I10 controller, the termination notification will not be sent to the CPU.
U will no longer be able to issue the next command to the I10 controller.

そこで、通常は、CPUに入出力処理の時間監視機能を
持たせている。この時間監視機能は、I10コントロー
ラによる1つのコマンドに対する処理がその監視時間以
上経過しても終了しない時にそのI10コントローラの
処理を停止させてエラー処理を行なうものである。この
ようにすれば、I10コントローラに誤動作が生じても
、CPUがそのI10コントローラからの終了通知を長
時間待機することがなくなり、入出力処理の効率化が計
れる。
Therefore, the CPU is usually provided with a time monitoring function for input/output processing. This time monitoring function is for performing error handling by stopping the processing of the I10 controller when the processing of one command by the I10 controller does not end even after the monitoring time has elapsed. In this way, even if a malfunction occurs in the I10 controller, the CPU will not have to wait for a long time for a termination notification from the I10 controller, and the efficiency of input/output processing can be improved.

ところが、コマンドの種類によってそのコマンド処理に
要する時間はそれぞれ異なるので、コマンド処理の正常
動作時にその動作が停止されてしまうのを防止するため
に時間監視機能の監視時間は最も処理時間の長いコマン
ドに合せて設定されている。このため、短い処理時間の
コマンドの実行中にI10コントローラに誤動作が生じ
ても、所定の監視時間が経過するまでその処理を停止す
ることができない。
However, the time required to process a command differs depending on the type of command, so in order to prevent command processing from being stopped during normal operation, the time monitoring function's monitoring time is set to the command with the longest processing time. are set accordingly. Therefore, even if a malfunction occurs in the I10 controller during execution of a command with a short processing time, the processing cannot be stopped until the predetermined monitoring time has elapsed.

このように、従来のシステムでは時間監視機能の監視時
間が一定であり、その監視時間を最も処理時間の長いコ
マンドに合せる必要がある。したがって、精度の高い入
出力処理の監視が困難であった。
As described above, in conventional systems, the monitoring time of the time monitoring function is constant, and the monitoring time must be adjusted to the command that requires the longest processing time. Therefore, it has been difficult to monitor input/output processing with high precision.

(発明が解決しようとする課題) この発明は前述の事情に鑑みなされたもので、従来では
入出力処理時間監視機能の監視時間が一定であり精度の
高い監視を行なえなかった点を改善し、実行するコマン
ドの内容に応じてその監視時間を調整できるようにして
、精度の高い時間監視を実行できる入出力制御方式を提
供することを目的とする。
(Problems to be Solved by the Invention) This invention has been made in view of the above-mentioned circumstances, and improves the point that conventionally the monitoring time of the input/output processing time monitoring function was constant and highly accurate monitoring could not be performed. It is an object of the present invention to provide an input/output control method that can perform highly accurate time monitoring by adjusting the monitoring time according to the contents of a command to be executed.

[発明の構成] (課題を解決するための手段) この発明は、CPUと、このCPUから出力されるコマ
ンドの指示に応じた入出力制御を実行する入出力制御装
置とを有する入出力制御システムにおいて、前記CPU
は、前記入出力制御装置による入出力制御処理の時間監
視を行ない1つのコマンドに対する処理が所定の監視時
間以上経過しても終了しない時に前記入出力制御装置の
処理を停止させる入出力処理時間監視手段を有し、前記
入出力制御装置は、前記入出力処理時間監視手段の監視
時間よりも短い時間間隔でアテンション割込み信号を発
生して前記入出力処理時間監視手段の監視時間を延長さ
せるアテンション割込み信号発生手段と、前記入出力制
御装置による1つのコマンドに対する入出力処理が前記
アテンション割込み信号の発生時間までに終了した時に
そのアテンション割込み信号の発生を禁止するアテンシ
ョン割込み禁止手段とを具備し、前記CPUから出力さ
れるコマンドの内容に応じて前記入出力処理時間監視手
段の監視時間を変更できるようにしたことを特徴とする
[Structure of the Invention] (Means for Solving the Problems) The present invention provides an input/output control system having a CPU and an input/output control device that executes input/output control according to instructions of commands output from the CPU. In the CPU
is an input/output processing time monitor that monitors the time of input/output control processing by the input/output control device, and stops the processing of the input/output control device when processing for one command is not completed even after a predetermined monitoring time has elapsed. said input/output control device generates an attention interrupt signal at a time interval shorter than the monitoring time of said input/output processing time monitoring means to extend the monitoring time of said input/output processing time monitoring means; and an attention interrupt inhibiting means for inhibiting the generation of the attention interrupt signal when input/output processing for one command by the input/output control device is completed by the generation time of the attention interrupt signal, The present invention is characterized in that the monitoring time of the input/output processing time monitoring means can be changed depending on the content of the command output from the CPU.

(作 用) この入出力制御方式にあっては、入出力制御装置による
1つのコマンドに対する入出力処理がアテンション割込
み信号の発生時間までに終了した時にその発生が禁止さ
れ、入出力処理が終了しない場合にはアテンション割込
み信号によって監視時間が延長される。したがって、コ
マンドの内容に応じて監視時間を調整することができ、
精度の高い時間監視が可能になる。
(Function) In this input/output control method, when the input/output processing for one command by the input/output control device is completed by the generation time of the attention interrupt signal, its generation is prohibited, and the input/output processing does not end. In some cases, the monitoring time is extended by an attention interrupt signal. Therefore, the monitoring time can be adjusted according to the content of the command,
Highly accurate time monitoring becomes possible.

(実施例) 以下、図面を参照してこの発明の一実施例を説明する。(Example) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図にこの発明の一実施例に係る入出力制御方式のシ
ステム構成を示す。この図において、■はこのシステム
全体の制御を司るCPUであり、入出力制御装置2に対
して種々の入出力コマンドを出力する。入出力制御装置
2は、CPUIから出力されたコマンドの指示に従って
入出力装置3による入出力動作を制御し、その処理が終
了するとCPUに終了通知を出力する。
FIG. 1 shows a system configuration of an input/output control method according to an embodiment of the present invention. In this figure, ■ is a CPU that controls the entire system, and outputs various input/output commands to the input/output control device 2. The input/output control device 2 controls input/output operations by the input/output device 3 according to commands output from the CPUI, and outputs a completion notification to the CPU when the processing is completed.

またCPUIには、入出力処理時間監視部11が設けら
れている。この時間監視部Ifは、監視タイマーを有し
ておりそのタイマーによって入出力制御装置2の入出力
制御処理の時間監視を行なう。
Further, the CPUI is provided with an input/output processing time monitoring section 11. This time monitoring unit If has a monitoring timer, and uses the timer to monitor the time of input/output control processing of the input/output control device 2.

すなわち、監視部11は、所定の監視時間(例えばT秒
)以上経過しても入出力制御装置2から処理の終了通知
が送られない時にその入出力制御処理を停止させてCP
UIにエラー処理を実行させる。
That is, when the input/output control device 2 does not send a processing end notification even after a predetermined monitoring time (for example, T seconds) or more has elapsed, the monitoring unit 11 stops the input/output control processing and restarts the CP.
Make the UI perform error handling.

また、この監視部11は、入出力制御装置2からアテン
ション割込み信号を受信した時にその監視タイマーが再
起動され、これによって監視時間がさらにT秒延長され
るように構成されている。
Further, this monitoring unit 11 is configured so that when it receives an attention interrupt signal from the input/output control device 2, its monitoring timer is restarted, and thereby the monitoring time is further extended by T seconds.

入出力制御装置2は、制御部21とアテンション割込み
部22を含んでいる。制御部21は、入出力制御装置2
全体の処理を制御するためのものであり、CPUIから
のコマンドの指示に応じた入出力制御処理を実行する。
The input/output control device 2 includes a control section 21 and an attention interrupt section 22. The control unit 21 includes an input/output control device 2
It is used to control the overall processing, and executes input/output control processing in response to commands from the CPUI.

アテンション割込み部22は、アテンションタイマーを
有しており、このタイマーによって監視部■1の監視時
間(T秒)よりも短い時間(を秒)間隔でアテンション
割込み信号を発生する。このアテンション割込み部21
の動作は、制御部21によって制御される。
The attention interrupt section 22 has an attention timer, and this timer generates an attention interrupt signal at an interval (seconds) shorter than the monitoring time (T seconds) of the monitoring section (1). This attention interrupt section 21
The operation of is controlled by the control section 21.

次に、第2図および第3図のフローチャートを参照して
このシステムの入出力制御動作を説明する。第2図はC
PUIの動作を示すものであり、第3図は入出力制御装
置3の動作を示すものである。
Next, the input/output control operation of this system will be explained with reference to the flowcharts of FIGS. 2 and 3. Figure 2 is C
This shows the operation of the PUI, and FIG. 3 shows the operation of the input/output control device 3.

第2図(A)に示すように、CPUIはまず監視部11
の監視タイマーを起動させる(ステップAt)と共に、
入出力コマンドを入出力制御装置2に出力する。次に、
入出力制御装置2から処理の終了通知が送られて来たか
否かの判断がなされる(ステップA3)。終了通知が送
られて来た場合はその入出力コマンドに対するCPUI
Iの処理が終了され、新たな入出力コマンドの発行が可
能になる。終了通知が送られて来ない場合は、コマンド
を出力してから監視時間(T秒)以上経過したか否かの
判断がなされ(ステップA4)、時間オーバーの時はタ
イムアウトエラー処理が実行される(ステップA5)。
As shown in FIG. 2(A), the CPU first starts with the monitoring unit 11.
In addition to starting the monitoring timer (step At),
Outputs input/output commands to the input/output control device 2. next,
A determination is made as to whether or not a processing end notification has been sent from the input/output control device 2 (step A3). If a termination notification is sent, the CPUI for that input/output command
The processing of I is completed, and new input/output commands can be issued. If a termination notification is not sent, it is determined whether or not more than the monitoring time (T seconds) has elapsed since the command was output (step A4), and if the time has exceeded, timeout error processing is executed. (Step A5).

また、時間オーバーでない場合は、ステップA3および
ステップA4の処理が引続き行われる。
Furthermore, if the time has not exceeded, the processes of step A3 and step A4 are continued.

また、入出力制御装置2からCPUIにアテンション割
込み信号が出力された時は、第2図(B)に示すように
監視部11の監視タイマーが再起動される(ステップB
l)。このタイマーの再起動によって、監視部11の監
視時間はT秒延長される。
Furthermore, when an attention interrupt signal is output from the input/output control device 2 to the CPUI, the monitoring timer of the monitoring unit 11 is restarted as shown in FIG. 2(B) (step B
l). By restarting this timer, the monitoring time of the monitoring unit 11 is extended by T seconds.

入出力制御装置3は、第3図(A)に示すように、CP
UIから入出力コマンドを受取るとアテンション割込み
部22のアテンションタイマーを起動させる(ステップ
C1)と共に、そのコマンドの指示に応じた入出力制御
を実行する(ステップC2)。そして、そのコマンドに
対する処理が終了すると、アテンションタイマーの起動
を停止させる(ステップC3)と共に、CPUIに対し
て終了通知を発生する(ステップC4)。
As shown in FIG. 3(A), the input/output control device 3 has a CP
When receiving an input/output command from the UI, it starts the attention timer of the attention interruption unit 22 (step C1), and executes input/output control according to the instruction of the command (step C2). When the processing for that command is completed, the activation of the attention timer is stopped (step C3), and a completion notification is generated to the CPUI (step C4).

また、アテンションタイマーが起動されてからを秒以内
にそのコマンド処理が終了しない場合は、第3図(B)
に示すようにアテンション割込み部22からアテンショ
ン割込み信号が発生される(ステップD5)。これによ
って、監視部11の監視時間はそのアテンション割込み
信号が発生された時点からT秒延長される。
Also, if the command processing does not finish within seconds after the attention timer is activated, the command processing shown in Figure 3 (B)
As shown in FIG. 3, an attention interrupt signal is generated from the attention interrupt unit 22 (step D5). As a result, the monitoring time of the monitoring unit 11 is extended by T seconds from the time when the attention interrupt signal is generated.

このように、この入出力制御システムにおいては、入出
力コマンドの内容に応じて入出力制御装置2側から監視
時間を修正できる。
In this way, in this input/output control system, the monitoring time can be adjusted from the input/output control device 2 side according to the contents of the input/output command.

尚、この発明の入出力制御方式は全てのコンピュータシ
ステムに適用できるが、特に入出力装置としてディスク
ドライブ装置を使用するシステムにおいては非常に有効
である。なぜなら、ディスクドライブ装置においてはコ
マンド処理の時間がエラーの再試行処理等によって大幅
に超過する場合があるが、この発明ではアテンション割
込みにより監視時間を延長できるのでコマンドの処理時
間が超過しても、それに応じて監視時間を修正できるか
らである。
Although the input/output control method of the present invention can be applied to all computer systems, it is particularly effective in systems that use disk drives as input/output devices. This is because, in disk drive devices, the command processing time may be significantly exceeded due to error retry processing, etc., but with this invention, the monitoring time can be extended using attention interrupts, so even if the command processing time exceeds the This is because the monitoring time can be adjusted accordingly.

[発明の効果コ 以上のようにこの発明によれば、入出力処理の監視時間
が入出力制御装置側から調整できるため、容易に精度の
高い処理時間の監視が可能になる。
[Effects of the Invention] As described above, according to the present invention, since the monitoring time of input/output processing can be adjusted from the input/output control device side, it is possible to easily monitor the processing time with high accuracy.

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

第1図はこの発明の一実施例に係る入出力制御方式のシ
ステム構成を示すブロック図、第2図および第3図はそ
れぞれ第1図に示したシステムの入出力制御動作を説明
するフローチャートである。 l・・・CPU、2・・・人出力制御装置、3・・・入
出力装置、11・・・時間監視部、21・・・制御部、
22・・・アテンション割込み部。 出願人代理人 弁理士 鈴江武彦 (A) 第 (B) (B) (A) 第 図
FIG. 1 is a block diagram showing a system configuration of an input/output control method according to an embodiment of the present invention, and FIGS. 2 and 3 are flowcharts explaining input/output control operations of the system shown in FIG. 1, respectively. be. 1... CPU, 2... Human output control device, 3... Input/output device, 11... Time monitoring section, 21... Control section,
22...Attention interrupt section. Applicant's agent Patent attorney Takehiko Suzue (A) (B) (B) (A) Figure

Claims (1)

【特許請求の範囲】 CPUと、このCPUから出力されるコマンドの指示に
応じた入出力制御を実行する入出力制御装置とを有する
入出力制御システムにおいて、前記CPUは、前記入出
力制御装置による入出力制御処理の時間監視を行ない1
つのコマンドに対する処理が所定の監視時間以上経過し
ても終了しない時に前記入出力制御装置の処理を停止さ
せる入出力処理時間監視手段を有し、前記入出力制御装
置は、前記入出力処理時間監視手段の監視時間よりも短
い時間間隔でアテンション割込み信号を発生して前記入
出力処理時間監視手段の監視時間を延長させるアテンシ
ョン割込み信号発生手段と、前記入出力制御装置による
1つのコマンドに対する入出力処理が前記アテンション
割込み信号の発生時間までに終了した時にそのアテンシ
ョン割込み信号の発生を禁止するアテンション割込み禁
止手段とを具備し、 前記CPUから出力されるコマンドの内容に応じて前記
入出力処理時間監視手段の監視時間を変更できるように
したことを特徴とする入出力制御方式。
[Scope of Claims] In an input/output control system having a CPU and an input/output control device that executes input/output control according to instructions of commands output from the CPU, the CPU is configured to Monitor the time of input/output control processing 1
said input/output control device has an input/output processing time monitoring means for stopping processing of said input/output control device when processing for one command is not completed even after a predetermined monitoring time has elapsed; attention interrupt signal generating means for extending the monitoring time of the input/output processing time monitoring means by generating an attention interrupt signal at a time interval shorter than the monitoring time of the input/output processing means; and input/output processing for one command by the input/output control device. and attention interrupt disabling means for disabling the generation of the attention interrupt signal when the attention interrupt signal is completed by the generation time of the attention interrupt signal, and the input/output processing time monitoring means according to the content of the command output from the CPU. An input/output control method characterized by being able to change the monitoring time.
JP63275559A 1988-10-31 1988-10-31 I / O control method Expired - Fee Related JP2656325B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63275559A JP2656325B2 (en) 1988-10-31 1988-10-31 I / O control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63275559A JP2656325B2 (en) 1988-10-31 1988-10-31 I / O control method

Publications (2)

Publication Number Publication Date
JPH02121047A true JPH02121047A (en) 1990-05-08
JP2656325B2 JP2656325B2 (en) 1997-09-24

Family

ID=17557136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63275559A Expired - Fee Related JP2656325B2 (en) 1988-10-31 1988-10-31 I / O control method

Country Status (1)

Country Link
JP (1) JP2656325B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001147866A (en) * 1999-11-19 2001-05-29 Nec Corp System and method for monitoring input/output executing time
JP2007018177A (en) * 2005-07-06 2007-01-25 Seiko Epson Corp Processing state monitoring method, processing state monitoring program, recording medium and image display device
JP2015215689A (en) * 2014-05-08 2015-12-03 富士通株式会社 Information processing device and instruction execution control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001147866A (en) * 1999-11-19 2001-05-29 Nec Corp System and method for monitoring input/output executing time
JP2007018177A (en) * 2005-07-06 2007-01-25 Seiko Epson Corp Processing state monitoring method, processing state monitoring program, recording medium and image display device
JP2015215689A (en) * 2014-05-08 2015-12-03 富士通株式会社 Information processing device and instruction execution control method

Also Published As

Publication number Publication date
JP2656325B2 (en) 1997-09-24

Similar Documents

Publication Publication Date Title
JPH02121047A (en) Input/output control system
JPS5941027A (en) Computer system
JPS62145336A (en) Program loop detection system for computer system
JPH0356501B2 (en)
JP2002312076A (en) Power supply control device for computer system
JP2673048B2 (en) Timeout monitoring processor
JPS63191246A (en) Processing progress control system
JP2569694B2 (en) Disk controller
JPS60246438A (en) Information processor
JPH0236971B2 (en)
JPS6220584B2 (en)
JPH0149975B2 (en)
JPS63255742A (en) Data processor
JPH0317717A (en) Data processing system
JPH0588913A (en) System interrupt device
JPS6111867A (en) Processing method of abnormality in interface control
JPH0887421A (en) Method and system for process switching
JPS6388660A (en) Microprocessor system
JPH04137147A (en) Data file control system
JPH0635738A (en) Data processor
JPS63255752A (en) Initial program loading system
JPS61153741A (en) Programmable controller
JPH03257638A (en) Multiprocessor control system
JPS63237147A (en) Supervisory system for input/output actions in computer system
JPS62152056A (en) Information processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees