JP2918297B2 - Interrupt control method - Google Patents

Interrupt control method

Info

Publication number
JP2918297B2
JP2918297B2 JP15932190A JP15932190A JP2918297B2 JP 2918297 B2 JP2918297 B2 JP 2918297B2 JP 15932190 A JP15932190 A JP 15932190A JP 15932190 A JP15932190 A JP 15932190A JP 2918297 B2 JP2918297 B2 JP 2918297B2
Authority
JP
Japan
Prior art keywords
processing
interrupt
interrupt level
task
request
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.)
Expired - Fee Related
Application number
JP15932190A
Other languages
Japanese (ja)
Other versions
JPH0448336A (en
Inventor
博 奈須
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.)
Fujitsu Ltd
Fujitsu Nagoya Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Nagoya Communication Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Fujitsu Nagoya Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP15932190A priority Critical patent/JP2918297B2/en
Publication of JPH0448336A publication Critical patent/JPH0448336A/en
Application granted granted Critical
Publication of JP2918297B2 publication Critical patent/JP2918297B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】 〔概要〕 割込レベルの処理が要求された場合に、非割込レベル
の処理を一時中断して割込レベルの処理を実行する情報
処理システムにおける割込規制方式に関し、 当該情報処理システムがロックアップ状態となること
無く、且つ処理能力を充分に活用し得る割込規制方式を
実現することを目的とし、 非割込レベル処理部が実行する各非割込レベルの処理
の総処理時間を監視する処理時間監視手段と、処理時間
監視手段が監視する総処理時間が予め定められた時間に
達した場合に、割込レベル処理部に対する割込レベルの
処理要求を規制する割込レベル処理要求規制手段とを設
ける様に構成し、また割込レベル処理要求規制手段は、
割込レベルの処理要求を規制中に非割込レベル処理部に
よる非割込レベルの処理が総て実行完了した場合に、割
込レベルの処理要求の規制を解除する様に構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to an interrupt control method in an information processing system for temporarily interrupting non-interrupt level processing and executing interrupt level processing when interrupt level processing is requested. The purpose of the present invention is to realize an interrupt control method in which the information processing system does not enter a lock-up state and can make full use of processing capacity. A processing time monitoring means for monitoring the total processing time of the processing, and a restriction on an interrupt level processing request to the interrupt level processing unit when the total processing time monitored by the processing time monitoring means reaches a predetermined time. Interrupt level processing request restricting means, and the interrupt level processing request restricting means,
When all the non-interrupt level processing by the non-interrupt level processing unit is completed while the interrupt level processing request is being restricted, the restriction on the interrupt level processing request is released.

〔産業上の利用分野〕[Industrial applications]

本発明は、割込レベルの処理が要求された場合に、非
割込レベルの処理を一時中断して割込レベルの処理を実
行する情報処理システムにおける割込規制方式に関す
る。
The present invention relates to an interrupt regulation method in an information processing system that temporarily interrupts non-interrupt level processing and executes interrupt level processing when interrupt level processing is requested.

例えば通信回線から到着する情報を受信処理するパケ
ット通信用回線制御装置の如く、実時間性を要求される
処理を実行する情報処理システムにおいては、実時間性
を要求される処理(以後割込レベルの処理と称する)
と、割込レベルの処理を実行した結果、情報処理システ
ム内に発生する処理(以後非割込レベルの処理と称す
る)とが存在し、割込レベルの処理要求が発生すると、
実行中の非割込レベルの処理を一時中断し、割込レベル
の処理を優先して実行する。
For example, in an information processing system that performs a process requiring real-time performance, such as a packet communication line controller that receives and processes information arriving from a communication line, a process requiring real-time performance (hereinafter referred to as an interrupt level) Process)
And a process (hereinafter referred to as a non-interrupt level process) that occurs in the information processing system as a result of executing the interrupt level process, and when an interrupt level process request occurs,
The non-interrupt level process being executed is temporarily suspended, and the interrupt level process is executed with priority.

〔従来の技術〕[Conventional technology]

第4図は従来あるパケット通信用回線制御装置の一例
を示す図である。
FIG. 4 is a diagram showing an example of a conventional line controller for packet communication.

第4図において、実時間性を要求される情報処理シス
テムの一つであるパケット通信用回線制御装置は、割込
レベルの処理および非割込レベルの処理を実行する処理
装置1、処理装置1が実行する各種プログラムおよび各
種データを記憶するメモリ2、図示されぬ通信回線に対
してデータを送受信する回線制御装置3、並びに処理装
置1の制御の下に割込レベルの処理要求を制御する割込
制御装置4から構成され、また処理装置1内には、割込
要求処理部11、タスク制御部12、プロトコル制御部13お
よび割込回数計数部14が設けられている。
In FIG. 4, a packet communication line controller, which is one of information processing systems that require real-time processing, includes a processing device 1 for executing an interrupt level process and a non-interrupt level process. , A memory 2 for storing various programs and various data to be executed, a line control device 3 for transmitting and receiving data to and from a communication line (not shown), and an interrupt for controlling an interrupt level processing request under the control of the processing device 1. The processing device 1 includes an interrupt request processing unit 11, a task control unit 12, a protocol control unit 13, and an interrupt frequency counting unit 14.

割込要求処理部11は、回線制御装置3が図示されぬ通
信回線から到着するデータを受信し、或いは通信回線に
障害が発生したことを検出すると、データ転送割込受付
部111、或いは回線障害割込受付部112により割込制御装
置4を制御して割込レベルの処理要求を受付け、割込レ
ベルの処理を実行した結果、所要の非割込レベルの処理
を実行させる為のタスクを生成し、タスク制御部12に伝
達する。
When the line controller 3 receives data arriving from a communication line (not shown) or detects that a failure has occurred in the communication line, the interrupt request processing unit 11 The interrupt receiving unit 112 controls the interrupt control device 4 to receive an interrupt level processing request, and after executing the interrupt level processing, generates a task for executing the required non-interrupt level processing. Then, the information is transmitted to the task control unit 12.

タスク制御部12は、割込要求処理部11により生成され
たタスクを生成順にプロトコル制御部13に伝達し、所要
の非割込レベルの処理を実行させると共に、割込要求処
理部11が割込レベルの処理を実行する場合に、プロトコ
ル制御部13が実行中の非割込レベルの処理を一時中断さ
せ、割込要求処理部11による割込レベルの処理を実行可
能とする。
The task control unit 12 transmits the tasks generated by the interrupt request processing unit 11 to the protocol control unit 13 in the order in which they are generated, and executes the required non-interrupt level processing. When executing the processing of the level, the protocol control unit 13 temporarily suspends the processing of the non-interrupt level being executed, and the interrupt request processing unit 11 can execute the processing of the interrupt level.

割込要求処理部11による割込レベルの処理の実行回数
が増大し、プロトコル制御部13による非割込レベルの処
理の中断が頻発すると、割込要求処理部11により生成さ
れるタスクの実行待ち時間が大幅に増大し、非割込レベ
ルの処理が中々実行完了しなくなる。
When the number of executions of the interrupt level processing by the interrupt request processing unit 11 increases and the interruption of the non-interrupt level processing by the protocol control unit 13 frequently occurs, the task generated by the interrupt request processing unit 11 waits for execution. The time is greatly increased, and the non-interrupt level processing is not completely completed.

かかる問題を解決する為に、割込回数計数部14は、割
込要求処理部11が割込レベルの処理を実行可能とする為
に、プロトコル制御部13が実行中の非割込レベルの処理
を中断させた回数を計数し、単位時間毎の中断回数が予
め定め定められた基準値に達すると、割込要求処理部11
にその旨を通知する。
In order to solve such a problem, the interrupt frequency counting unit 14 performs a non-interrupt level process being executed by the protocol control unit 13 so that the interrupt request processing unit 11 can execute the interrupt level process. Is counted, and when the number of interruptions per unit time reaches a predetermined reference value, the interrupt request processing unit 11
To that effect.

割込回数計数部14から、前記通知を受信した割込要求
処理部11は、割込規制部113を起動し、以後回線制御装
置3からの割込レベルの処理要求の受付を所要時間規制
する。
The interrupt request processing unit 11 that has received the notification from the interrupt count unit 14 activates the interrupt control unit 113, and thereafter controls the reception of the processing request of the interrupt level from the line control device 3 for a required time. .

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

以上の説明から明らかな如く、従来あるパケット通信
用回線制御装置においては、単位時間毎に発生する非割
込レベルの処理の中断回数を計数し、中断回数が予め定
められた基準値に達すると、割込レベルの処理要求の受
付を規制していた。
As is apparent from the above description, in the conventional packet communication line controller, the number of interruptions of the non-interrupt level processing that occurs per unit time is counted, and when the number of interruptions reaches a predetermined reference value. , The reception of the interrupt level processing request was regulated.

なお、割込要求処理部11が割込レベルの処理を実行す
る為に必要とする資源、例えば処理装置1の占有時間等
は、割込レベルの処理の種類に応じて異なる。
The resources required for the interrupt request processing unit 11 to execute the processing at the interrupt level, for example, the occupation time of the processing device 1 and the like, differ depending on the type of the processing at the interrupt level.

従って、例えば各割込レベルの処理の所要資源量の平
均値に基づき、単位時間毎の中断回数の基準値を設定す
ると、所要資源量の大きい割込レベルの処理が多発した
場合に、非割込レベルの処理が中断された侭(所謂シス
テムハング状態、或いはロックアップ状態)となり、実
行不能となる恐れがある。
Therefore, for example, if the reference value of the number of interruptions per unit time is set based on the average value of the required resource amount of the processing of each interrupt level, the non-interrupted There is a possibility that the processing at the embedded level is interrupted (so-called system hang state or lock-up state) and execution becomes impossible.

かかる事態の発生を防止する為に、所要資源の最も高
い割込レベルの処理に基づき基準地を設定すると、実際
に割込要求処理部11が実行する割込レベルの処理が資源
を余り占有せず、非割込レベルの処理が充分実行される
状態で割込レベルの処理要求が規制されることとなり、
当該パケット通信用回線制御装置の処理能力が充分に活
用されぬ問題が発生する。
In order to prevent such a situation from occurring, when the reference location is set based on the processing of the highest interrupt level of the required resource, the processing of the interrupt level actually executed by the interrupt request processing unit 11 occupies too much resources. Instead, the processing request at the interrupt level is regulated in a state where the processing at the non-interrupt level is sufficiently executed,
A problem arises in that the processing capability of the packet communication line controller is not fully utilized.

本発明は、当該情報処理システムがロックアップ状態
となること無く、且つ処理能力を充分に活用し得る割込
規制方式を実現することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to realize an interrupt control method in which the information processing system does not enter a lock-up state and can fully utilize processing capacity.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図において、100は本発明の対象となる情報処理
システム、200は非割込レベル処理部、300は割込レベル
処理部である。
In FIG. 1, reference numeral 100 denotes an information processing system to which the present invention is applied, 200 denotes a non-interrupt level processing unit, and 300 denotes an interrupt level processing unit.

400は、本発明により情報処理システム100に設けられ
た処理時間監視手段である。
400 is a processing time monitoring means provided in the information processing system 100 according to the present invention.

500は、本発明により情報処理システム100に設けられ
た割込レベル処理要求規制手段である。
Reference numeral 500 denotes interrupt level processing request restricting means provided in the information processing system 100 according to the present invention.

〔作用〕[Action]

非割込レベル処理部200は、非割込レベルの処理を実
行し、割込レベル処理部300は、割込レベルの処理が要
求された場合に、非割込レベル処理部200が実行中の非
割込レベルの処理を中断させて所要の割込レベルの処理
を実行する。
The non-interrupt level processing unit 200 executes the processing of the non-interrupt level, and the interrupt level processing unit 300 executes the processing of the non-interrupt level processing unit 200 when the processing of the interrupt level is requested. The process at the non-interrupt level is interrupted and the process at the required interrupt level is executed.

処理時間監視手段400は、割込レベル処理部300による
割込レベルの処理結果に基づき発生し、非割込レベル処
理部200が実行する各非割込レベルの処理の総処理時間
を監視する。
The processing time monitoring means 400 monitors the total processing time of each non-interrupt level process which is generated based on the processing result of the interrupt level by the interrupt level processing unit 300 and executed by the non-interrupt level processing unit 200.

割込レベル処理要求規制手段500は、処理時間監視手
段400が監視する総処理時間が予め定められた時間に達
した場合に、割込レベル処理部300に対する割込レベル
の処理要求を規制する。
The interrupt level processing request regulating means 500 regulates an interrupt level processing request to the interrupt level processing section 300 when the total processing time monitored by the processing time monitoring means 400 reaches a predetermined time.

なお割込レベル処理要求規制手段500は、割込レベル
の処理要求を規制中に、非割込レベル処理部200による
非割込レベルの処理が総て実行完了した場合に、割込レ
ベルの処理要求の規制を解除することが考慮される。
Note that the interrupt level processing request restricting means 500 performs the processing of the interrupt level when all the processing of the non-interrupt level by the non-interrupt level processing unit 200 is completed while the processing request of the interrupt level is being restricted. Deregulation of the request may be considered.

従って、非割込レベルの処理の総処理時間の増大状況
に即して割込レベルの処理が規制されることとなり、当
該情報処理システムにロックアップ状態が発生する恐れ
も無くなり、且つ処理能力が充分に活用可能となり、当
該情報処理システムのサービス性および経済性が向上す
る。
Therefore, the processing at the interrupt level is regulated in accordance with the increase in the total processing time of the processing at the non-interrupt level, and there is no possibility that a lock-up state occurs in the information processing system, and the processing capacity is reduced. The information processing system can be fully utilized, and the serviceability and economy of the information processing system are improved.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。第2
図は本発明の一実施例によるパケット通信用回線制御装
置を示す図であり、第3図は第2図における割込規制過
程の一例を示す図である。なお、全図を通じて同一符号
は同一対象物を示す。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Second
FIG. 3 is a diagram showing a line controller for packet communication according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of an interrupt control process in FIG. The same reference numerals indicate the same objects throughout the drawings.

第2図においては、第1図における情報処理システム
100の一例としてパケット通信用回線制御装置が示さ
れ、また第1図における処理時間監視手段400としてタ
イミング制御装置5およびタイミング制御部15が設けら
れ、また第1図における割込レベル処理要求規制手段50
0としてタスク制御部16および割込規制部114が設けられ
ている。
In FIG. 2, the information processing system shown in FIG.
A line controller for packet communication is shown as an example of 100, a timing controller 5 and a timing controller 15 are provided as processing time monitoring means 400 in FIG. 1, and an interrupt level processing request restricting means in FIG. 50
As 0, the task control unit 16 and the interrupt control unit 114 are provided.

第2図および第3図において、回線制御装置3が図示
されぬ通信回線から到着するデータを受信し、或いは通
信回線に障害が発生したことを検出すると、割込要求処
理部11に対する処理要求RQ1を発生する。
2 and 3, when the line controller 3 receives data arriving from a communication line (not shown) or detects that a failure has occurred in the communication line, the processing request RQ to the interrupt request processing unit 11 is received. Generate 1

割込要求処理部11は、回線制御装置3が発生する処理
要求RQ1を検出すると、データ転送割込受付部111、或い
は回線障害割込受付部112により割込制御装置4を制御
して処理要求RQ1を受付け、割込レベルの処理IP1を実行
した結果、所要の非割込レベルの処理を実行させる為の
タスクTK1を生成し、タスク制御部16に伝達する。
Upon detecting the processing request RQ 1 generated by the line controller 3, the interrupt request processor 11 controls the interrupt controller 4 by the data transfer interrupt receiver 111 or the line failure interrupt receiver 112 to perform processing. As a result of receiving the request RQ 1 and executing the interrupt level process IP 1 , the task TK 1 for executing the required non-interrupt level process is generated and transmitted to the task control unit 16.

タスク制御部16は、割込要求処理部11により生成され
たタスクTK1をプロトコル制御部13に伝達し、所要の非
割込レベルの処理を実行させる(以後単にタスクTK1
実行させると称する)と共に、タイミング制御部15を起
動する。
Task control unit 16 is referred to as transmit task TK 1 generated by the interrupt request processing section 11 to the protocol control unit 13 to execute the order (hereinafter simply task TK 1 executes the processing of the required non-interrupt level ), The timing control unit 15 is started.

起動されたタイミング制御部15は、タイミング制御装
置5を制御してプロトコル制御部13によるタスクTK1
実行開始時点t10からタスクTK1に関するタスク走行時間
t1の計時を開始する。
Start timing control unit 15, a task running time about the task TK 1 from the start time point t 10 of the task TK 1 by the protocol control unit 13 controls the timing controller 5
to start the counting of the t 1.

プロトコル制御部13がタスクTK1を実行中の時点t
11に、回線制御装置3が次の処理要求RQ2を発生する
と、タスク制御部16はプロトコル制御部13にタスクTK1
の実行を中断させ、割込要求処理部11を起動可能とす
る。
Point protocol control unit 13 is executing the task TK 1 t
When the line controller 3 generates the next processing request RQ 2 at 11 , the task controller 16 sends the task TK 1 to the protocol controller 13.
Is interrupted, and the interrupt request processing unit 11 can be activated.

起動した割込要求処理部11は、前述と同様に割込レベ
ルの処理IP2を実行してタスクTK2を生成し、タスク制御
部16に伝達する。
The activated interrupt request processing unit 11 executes the processing IP 2 at the interrupt level in the same manner as described above, generates the task TK 2 , and transmits it to the task control unit 16.

タスク制御部16は、割込要求処理部11が割込レベルの
処理IP2を実行完了した時点t12で、中断させたタスクTK
1の実行を再開させ、タスクTK2はタスクTK1が実行終了
する迄、待行列QUEに待機させる。
Task control section 16, at the time t 12 to the interrupt request processing section 11 has completed executing the processing IP 2 interrupt level tasks TK which is interrupted
1 of the execution is resumed, the task TK 2 until the task TK 1 is finished executing, to wait in queue QUE.

更にプロトコル制御部13がタスクTK1を実行中の時点t
13に、回線制御装置3が次の処理要求RQ3を発生する
と、タスク制御部16はプロトコル制御部13にタスクTK1
の実行を再び中断させ、割込要求処理部11に割込レベル
の処理IP3を実行させてタスクTK3を生成させ、割込レベ
ルの処理IP3が完了した時点t14で、中断させたタスクTK
1の実行を再開させ、タスクTK3はタスクTK2に続いて待
行列QUEに待機させる。
Further when the protocol control unit 13 is executing the task TK 1 t
When the line control device 3 generates the next processing request RQ 3 at 13, the task control unit 16 sends the task TK 1 to the protocol control unit 13.
Was interrupted again, and the interrupt request processing unit 11 was caused to execute the processing IP 3 at the interrupt level to generate the task TK 3 , and was interrupted at time t 14 when the processing IP 3 at the interrupt level was completed. Task TK
1 of the execution is resumed, the task TK 3 is to wait in queue QUE Following task TK 2.

一方タイミング制御部15は、計時中のタスク走行時間
t1が、時点t15に予め定められた時間Tに達したことを
検出すると、タスク制御部16にその旨を通知する。
On the other hand, the timing control unit 15 calculates the task running time during
t 1 has detected that you have reached the predetermined time T to time t 15, and notifies the task control section 16.

タスク走行時間t1が所定時間Tに達した通知を受信し
たタスク制御部16は、プロトコル制御部13によるタスク
TK1の実行を中断させた後、割込要求処理部11に規制開
始信号RSを伝達する。
Upon receiving the notification that the task running time t 1 has reached the predetermined time T, the task control unit 16
After interrupting the execution of TK 1, it transmits the restriction start signal RS to the interrupt request processing unit 11.

規制開始信号RSを受信した割込要求処理部11は、割込
規制部114を起動し、以後回線制御装置3からの割込レ
ベルの処理要求の受付を規制する。
Upon receiving the regulation start signal RS, the interrupt request processing unit 11 activates the interrupt regulation unit 114, and regulates the reception of the processing request of the interruption level from the line control device 3 thereafter.

タスク制御部16は、割込要求処理部11が割込規制処理
を完了した時点t16に、プロトコル制御部13に再びタス
クTK1の実行を再開させる。
Task control section 16, the time t 16 to the interrupt request processing section 11 has completed the interrupt control process, resuming again execution of tasks TK 1 to the protocol controller 13.

以後、回線制御装置3に発生する処理要求RQは、割込
要求処理部11により受付けられることは無い為、プロト
コル制御部13は中断されること無くタスクTK1を実行
し、時点t17に実行完了すると、タスク制御部16はタイ
ミング制御部15にタスク走行時間t1の計時を解消させた
後、待行列QUEから先頭に待機中のタスクTK2を抽出して
プロトコル制御部13に伝達し、時点t20からタスクTK2
実行させると共に、タイミング制御部15を起動し、タス
クTK2に関するタスク走行時間t2の計時を開始させる。
Thereafter, the processing request RQ occurring line controller 3, since it will not be accepted by the interrupt request processing unit 11, the protocol control unit 13 executes the task TK 1 without being interrupted, execution time point t 17 Upon completion, the task control section 16 after eliminating the timing of the task running time t 1 to timing control unit 15, and transmitted to the protocol control unit 13 extracts the task TK 2 waiting at the head of queue QUE, from the time t 20 with executing the task TK 2, it activates the timing control unit 15 to start the counting of the task running time t 2 about the task TK 2.

プロトコル制御部13が、タスクTK2を中断されること
無く実行し、時点t21に実行完了すると、タスク制御部1
6は前述と同様に、タイミング制御部15にタスク走行時
間t2の計時を解消させた後、待行列QUEから先頭に待機
中のタスクTK3を抽出してプロトコル制御部13に伝達
し、時点t30からタスクTK3を実行させると共に、タイミ
ング制御部15を起動し、タスクTK3に関するタスク走行
時間t3の計時を開始させ、プロトコル制御部13が時点t
31にタスクTK3を実行完了すると、タスク制御部16は前
述と同様に、タイミング制御部15にタスク走行時間t3
計時を解消させた後、最早待行列QUEには待機中のタス
クが存在しないことを確認すると、割込要求処理部11に
規制解除信号REを伝達する。
The protocol control unit 13 executes without being interrupted task TK 2, when completed execution time t 21, the task controller 1
6 in the same manner as described above, after eliminating the timing of the task running time t 2 to the timing control unit 15, and transmitted to the protocol control unit 13 extracts the task TK 3 waiting at the head of queue QUE, point together to perform a task TK 3 from t 30, activates the timing controller 15, to start counting the tasks running time t 3 about the task TK 3, the protocol control unit 13 at time t
When the execution of the task TK 3 is completed at 31 , the task control unit 16 causes the timing control unit 15 to cancel the timing of the task running time t 3 as described above, and then the waiting task exists in the queue QUE as soon as possible. When it is confirmed that the restriction is not made, the restriction release signal RE is transmitted to the interrupt request processing unit 11.

規制解除信号REを受信した割込要求処理部11は、割込
規制部114を起動し、時点t15以来規制していた割込レベ
ルの処理要求RQの受付を規制解除する。
Interrupt request processing unit 11 which has received the restriction release signal RE activates the interrupt regulating unit 114, the time t 15 to release regulating the admission of a process request RQ interrupt level had been regulated since.

規制解除後、回線制御装置3が処理要求RQ4を発生す
ると、割込要求処理部11は前述と同様に割込レベルの処
理IP4を実行し、タスクTK4を生成してタスク制御部16に
伝達し、タスク制御部16は、割込要求処理部11により生
成されたタスクTK4をプロトコル制御部13に伝達し、タ
スクTK4を実行させると共に、タイミング制御部15にタ
スクTK4に関するタスク走行時間t4の計時を開始させ、
またタスクTK4の実行中の時点t41およびt43に回線制御
装置3が処理要求RQ5およびRQ6を発生させると、タスク
制御部16はその都度プロトコル制御部13にタスクTK4
実行を中断させ、割込要求処理部11を起動させ、割込要
求処理部11に割込レベルの処理IP5およびIP6を実行させ
てタスクTK5およびTK6を生成させ、時点t42およびt44
中断させたタスクTK4の実行を再開させ、タスクTK5およ
びTK6は待行列QUEに順次待機させ、タイミング制御部15
が計時中のタスク走行時間t4が所定時間Tに達する以前
の時点t45にタスクTK4の実行が終了すると、タスク制御
部12は待行列QUEから先頭に待機中のタスクTK5を抽出
し、前述と同様の過程で実行させる。
After the restriction is released, when the line control device 3 generates the processing request RQ 4 , the interrupt request processing unit 11 executes the processing IP 4 of the interrupt level in the same manner as described above, generates the task TK 4, and generates the task TK 4. The task control unit 16 transmits the task TK 4 generated by the interrupt request processing unit 11 to the protocol control unit 13 to execute the task TK 4 , and causes the timing control unit 15 to execute a task related to the task TK 4. the timing of the running time t 4 is started,
Further, when the time t 41 and t 43 line controller 3 to the running task TK 4 generates the processing request RQ 5 and RQ 6, the task control section 16 each time the protocol control unit 13 that the execution of the task TK 4 Interruption, the interrupt request processing unit 11 is started, and the interrupt request processing unit 11 is caused to execute the processings IP 5 and IP 6 at the interrupt level to generate the tasks TK 5 and TK 6 , and the time points t 42 and t 44 Resumes the execution of task TK 4 which was interrupted, and causes tasks TK 5 and TK 6 to wait in the queue QUE sequentially.
There the task running time t 4 during time measurement task execution TK 4 is terminated earlier time t 45 reaches a predetermined time T, the task control section 12 extracts the task TK 5 waiting at the head of queue QUE In the same manner as described above.

以上の説明から明らかな如く、本実施例によれば、プ
ロトコル制御部13が実行中のタスクTKのタスク走行時間
tをタイミング制御部15により計時し、タスク走行時間
tが所定時間Tに達すると、実行中、並びに待機中のタ
スクTK1乃至TK3を総て実行終了とする迄、割込規制部11
4により新たな処理要求RQを規制させる為、処理装置1
の資源の使用状態に即した規制が可能となる。
As is apparent from the above description, according to the present embodiment, the task running time t of the task TK being executed by the protocol control unit 13 is measured by the timing control unit 15, and when the task running time t reaches the predetermined time T. , Executing and waiting tasks TK 1 to TK 3 until all the tasks are completed.
In order to regulate the new processing request RQ by 4, the processing device 1
Regulations can be made in accordance with the state of resource use.

なお、第2図および第3図はあく迄本発明の一実施例
に過ぎず、例えば本発明の対象となる情報処理システム
は図示されるパケット通信用回線制御装置に限定される
ことは無く、他に幾多の変形が考慮されるが、何れの場
合にも本発明の効果は変わらない。
2 and 3 are merely examples of the present invention. For example, the information processing system to which the present invention is applied is not limited to the illustrated packet communication line controller. Many other variations are considered, but the effect of the invention remains the same in any case.

〔発明の効果〕〔The invention's effect〕

以上、本発明によれば、前記情報処理システムにおい
て、非割込レベルの処理の総処理時間の増大状況に即し
て割込レベルの処理が規制されることとなり、当該情報
処理システムにロックアップ状態が発生する恐れも無く
なり、且つ処理能力が充分に活用可能となり、当該情報
処理システムのサービス性および経済性が向上する。
As described above, according to the present invention, in the information processing system, the processing at the interrupt level is regulated in accordance with the increase in the total processing time of the processing at the non-interrupt level. There is no danger of occurrence of a state, and the processing capacity can be fully utilized, so that the serviceability and economic efficiency of the information processing system are improved.

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

第1図は本発明の原理を示す図、第2図は本発明の一実
施例によるパケット通信用回線制御装置を示す図、第3
図は第2図における割込規制過程の一例を示す図、第4
図は従来あるパケット通信用回線制御装置の一例を示す
図である。 図において、1は処理装置、2はメモリ、3は回線制御
装置、4は割込制御装置、5はタイミング制御装置、11
は割込要求処理部、12および16はタスク制御部、13はプ
ロトコル制御部、14は割込回数計数部、15はタイミング
制御部、100は情報処理システム、111はデータ転送割込
受付部、112は回線障害割込受付部、113および114は割
込規制部、200は非割込レベル処理部、300は割込レベル
処理部、400は処理時間監視手段、500は割込レベル処理
要求規制手段、を示す。
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing a line controller for packet communication according to an embodiment of the present invention, FIG.
FIG. 4 is a diagram showing an example of an interrupt control process in FIG.
FIG. 1 is a diagram showing an example of a conventional line controller for packet communication. In the figure, 1 is a processing device, 2 is a memory, 3 is a line controller, 4 is an interrupt controller, 5 is a timing controller, 11
Is an interrupt request processing unit, 12 and 16 are task control units, 13 is a protocol control unit, 14 is an interrupt frequency counting unit, 15 is a timing control unit, 100 is an information processing system, 111 is a data transfer interrupt reception unit, 112 is a line fault interrupt accepting unit, 113 and 114 are interrupt regulating units, 200 is a non-interrupt level processing unit, 300 is an interrupt level processing unit, 400 is a processing time monitoring unit, and 500 is an interrupt level processing request regulation. Means.

フロントページの続き (56)参考文献 特開 昭56−137423(JP,A) 特開 昭53−19736(JP,A) 特開 昭61−90253(JP,A) 特開 平2−90753(JP,A) 特開 平2−95050(JP,A) 特開 昭59−161738(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 9/46,11/30,13/00,15/00 H04L 12/56 H04Q 3/545 Continuation of the front page (56) References JP-A-56-137423 (JP, A) JP-A-53-19736 (JP, A) JP-A-61-90253 (JP, A) JP-A-2-90753 (JP, A) JP-A-2-95050 (JP, A) JP-A-59-161738 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 9/46, 11/30, 13 / 00,15 / 00 H04L 12/56 H04Q 3/545

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】非割込レベルの処理を実行する非割込レベ
ル処理部(200)と、割込レベルの処理が要求された場
合に、前記非割込レベル処理部(200)が実行中の非割
込レベルの処理を中断させて所要の割込レベルの処理を
実行する割込レベル処理部(300)とを具備する情報処
理システム(100)において、 前記割込レベル処理部(300)による割込レベルの処理
結果に基づき発生し、前記非割込レベル処理部(200)
が実行する各非割込レベルの処理の総処理時間を監視す
る処理時間監視手段(400)と、 前記処理時間監視手段(400)が監視する前記総処理時
間が予め定められた時間に達した場合に、前記割込レベ
ル処理部(300)に対する割込レベルの処理要求を規制
する割込レベル処理要求規制手段(500)とを設けるこ
とを特徴とする割込規制方式。
1. A non-interrupt level processing unit (200) for executing a non-interrupt level process, and the non-interrupt level processing unit (200) being executed when an interrupt level process is requested. An interrupt level processing unit (300) for interrupting non-interrupt level processing and executing a required interrupt level process, wherein the interrupt level processing unit (300) The non-interrupt level processing unit (200) generated based on the processing result of the interrupt level by the non-interrupt level
A processing time monitoring means (400) for monitoring the total processing time of each non-interrupt level processing executed by the CPU; and the total processing time monitored by the processing time monitoring means (400) has reached a predetermined time. In this case, an interruption level processing request regulating means (500) for regulating an interruption level processing request to the interruption level processing section (300) is provided.
【請求項2】前記割込レベル処理要求規制手段(500)
は、前記割込レベルの処理要求を規制中に前記非割込レ
ベル処理部(200)による非割込レベルの処理が総て実
行完了した場合に、前記割込レベルの処理要求の規制を
解除することを特徴とする請求項1記載の割込規制方
式。
2. The interrupt level processing request restricting means (500).
Releasing the restriction on the processing request of the interrupt level when all the processing of the non-interrupt level by the non-interrupt level processing unit (200) is completed while the processing request of the interrupt level is being restricted. 2. The interrupt control method according to claim 1, wherein
JP15932190A 1990-06-18 1990-06-18 Interrupt control method Expired - Fee Related JP2918297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15932190A JP2918297B2 (en) 1990-06-18 1990-06-18 Interrupt control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15932190A JP2918297B2 (en) 1990-06-18 1990-06-18 Interrupt control method

Publications (2)

Publication Number Publication Date
JPH0448336A JPH0448336A (en) 1992-02-18
JP2918297B2 true JP2918297B2 (en) 1999-07-12

Family

ID=15691251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15932190A Expired - Fee Related JP2918297B2 (en) 1990-06-18 1990-06-18 Interrupt control method

Country Status (1)

Country Link
JP (1) JP2918297B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7950013B2 (en) 2006-03-02 2011-05-24 Hitachi, Ltd. System for monitoring time proportion for interrupt or task processing with restriction placed in subsequent monitoring time period when allowable time proportion is exceed

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1816782B1 (en) * 2000-01-14 2015-07-15 Mitsubishi Denki Kabushiki Kaisha Encryptor, encrypting method, decriptor, decrypting method, and computer readable recording medium having program stored therein
US7184549B2 (en) 2000-01-14 2007-02-27 Mitsubishi Denki Kabushiki Kaisha Method and apparatus for encryption, method and apparatus for decryption, and computer-readable medium storing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7950013B2 (en) 2006-03-02 2011-05-24 Hitachi, Ltd. System for monitoring time proportion for interrupt or task processing with restriction placed in subsequent monitoring time period when allowable time proportion is exceed

Also Published As

Publication number Publication date
JPH0448336A (en) 1992-02-18

Similar Documents

Publication Publication Date Title
US5404536A (en) Scheduling mechanism for network adapter to minimize latency and guarantee background processing time
EP2701074B1 (en) Method, device, and system for performing scheduling in multi-processor core system
US6400819B1 (en) Method and apparatus for executing communication in real-time and data structure for real-time data communication
KR100791437B1 (en) Method And Apparatus For Managing Thread Excution In A Multithreaded Application
JP2008129846A (en) Data processor, data processing method, and program
US6256660B1 (en) Method and program product for allowing application programs to avoid unnecessary packet arrival interrupts
US6012121A (en) Apparatus for flexible control of interrupts in multiprocessor systems
US7116635B2 (en) Process execution method and apparatus
JP2918297B2 (en) Interrupt control method
US20020004868A1 (en) Parallel processing system in which use efficiency of CPU is improved and parallel processing method for the same
US20030217185A1 (en) Method and apparatus for reducing interrupts in a high-speed ethernet media access controller (MAC) by interrupt canceling
EP0954796A1 (en) Procedure to detect and disperse convoys for queued gate servers
JPH11237993A (en) Method and device for controlling task priority
JPH0483439A (en) System for detecting abnormality of data transmission quantity
JPH10269110A (en) Method for avoiding hang-up of computer system, and computer system using the same method
JP3102607B2 (en) Printer device
JP3090054B2 (en) Stall monitoring method
JPH0981526A (en) Multiprocessor system
JP3112287B2 (en) Message management processor
JP2001244944A (en) Network system and communication method therefor
JP2856589B2 (en) Interrupt distribution method
JP2002099437A (en) Control method of network connecting apparatus
JPH02187830A (en) Interruption control system
JPH0236971B2 (en)
JPH0697984A (en) Network communication method

Legal Events

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