JPH02208741A - Peripheral equipment control system - Google Patents
Peripheral equipment control systemInfo
- Publication number
- JPH02208741A JPH02208741A JP1030141A JP3014189A JPH02208741A JP H02208741 A JPH02208741 A JP H02208741A JP 1030141 A JP1030141 A JP 1030141A JP 3014189 A JP3014189 A JP 3014189A JP H02208741 A JPH02208741 A JP H02208741A
- Authority
- JP
- Japan
- Prior art keywords
- peripheral device
- central processing
- processing unit
- interrupt
- control means
- 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
Links
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 93
- 238000000034 method Methods 0.000 claims description 15
- 230000004913 activation Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、複数の中央処理装置をもつ電子計算機システ
ムの周辺装置制御方式に関し、特に、周辺装置制御手段
の高速化に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a peripheral device control method for an electronic computer system having a plurality of central processing units, and in particular to speeding up peripheral device control means.
従来の技術
従来、周辺装置制御手段は、1つのタスクで生成され、
また周辺装置には処理終了後に完了割込を中央処理装置
に通知するために、予め周辺装置が処理終了時に完了割
込を通知する中央処理装置の番号を定めておく必要があ
り、その結果、周辺装置からの完了割込は周辺装置が固
定の中央処理装置にしか通知されないために周辺装置制
御手段は固定の中央処理装置でしか動作できない1つの
固定タスクで生成されていた。Prior Art Conventionally, peripheral device control means are generated in one task,
In addition, in order for the peripheral device to notify the central processing unit of the completion interrupt after the processing is completed, it is necessary to determine in advance the number of the central processing unit to which the peripheral device will notify the completion interrupt when the processing is completed. Since the completion interrupt from the peripheral device is notified only to the fixed central processing unit of the peripheral device, the peripheral device control means is generated by one fixed task that can only be operated by the fixed central processing unit.
発明が解決しようとする課題
上述した従来の周辺装置制御手段は、1つの固定タスク
で生成されるために、複数の中央処理装置が存在しても
周辺装置制御手段は1つの固定の中央処理装置でしか動
作しないようになっているので、固定の中央処理装置で
処理される。Problems to be Solved by the Invention Since the conventional peripheral device control means described above is generated by one fixed task, even if there are multiple central processing units, the peripheral device control means is generated by one fixed central processing unit. Since it is designed to only work on the computer, it is processed by a fixed central processing unit.
周辺装置制御手段が複数存在した場合、及び1つの周辺
制御手段でもその周辺装置制御手段に対する要求が複数
存在した場合に、1つの周辺装置制御手段が実行される
と、中央処理装置はその周辺装置制御手段によって占有
されてしまうので、他の周辺装置制御手段及びその周辺
装置制御手段に対する別の要求が他に空きの中央処理装
置が存在するにも拘らず動作できないので、全体の処理
速度が遅くなるという欠点がある。When there are multiple peripheral device control means, and when one peripheral control means has multiple requests for that peripheral device control means, when one peripheral device control means is executed, the central processing unit controls the peripheral device. Since the central processing unit is occupied by the central processing unit, other peripheral device controlling units and other requests to the peripheral device controlling unit cannot operate even though there are other free central processing units, so the overall processing speed is slow. It has the disadvantage of becoming.
この問題は、周辺装置制御手段が多くなるほど、また1
つの周辺装置制御手段でもその周辺装置制御手段に対す
る要求が多くなるほど顕著になる。This problem becomes worse as the number of peripheral device control means increases.
Even if there is only one peripheral device control means, this problem becomes more noticeable as the demands on the peripheral device control means increase.
本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記諸欠
点を解消することを可能とした新規な周辺装置制御方式
を提供することにある。The present invention has been made in view of the above-mentioned conventional situation,
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a novel peripheral device control method that makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.
課題を解決するための手段
上記目的を達成する為に、本発明に係る周辺装置制御方
式は、任意の中央処理装置で動作する浮動タスクとして
生成されアプリケーション・プログラムの要求で起動さ
れる周辺装置制御手段と、該周辺装置制御手段のなかで
周辺装置に処理の要求を出す要求手段と、該要求手段が
要求した処理を周辺装置が受け処理を実行する実行手段
と、前記周辺装置が処理を終了し固定の中央処理装置に
完了割込を起こす割込手段と、前記固定の中央処理装置
でしか動作できない固定タスクとして生成され前記周辺
装置からの完了割込によって起動される割込制御手段と
、該割込制御手段のなかで割込処理を行う割込処理手段
と、該割込処理手段が割込処理を終了し再び周辺装置制
御手段を起動する起動手段と、周辺装置制御手段がアプ
リケーション・プログラムへ処理の完了を通知する完了
通知手段とを有し、任意の中央処理装置で動作する浮動
タスクとして生成された前記周辺装置制御手段がアプリ
ケーション・プログラムの要求によって任意の中央処理
装置で起動され、周辺装置に処理の要求を出す周辺装置
は要求を受け処理を実行し、処理完了後に予め、定めら
れていた固定の中央処理装置に処理の完了割込を起こし
、完了割込によって固定タスクとして生成されていた前
記割込制御手段が前記固定の中央処理装置で起動され、
割込処理を行い、割込処理終了後、前記浮動タスクの周
辺装置制御手段を起動し、該周辺装置制御手段が、アプ
リケーション・プログラムに処理の完了を通知し、周辺
装置を制御することを特徴としている。Means for Solving the Problems In order to achieve the above object, the peripheral device control method according to the present invention provides peripheral device control that is generated as a floating task that runs on any central processing unit and is started at the request of an application program. means, a requesting means for issuing a processing request to a peripheral device in the peripheral device control means, an execution means for the peripheral device to receive and execute the processing requested by the requesting means, and the peripheral device finishing the processing. interrupt means that causes a completion interrupt to a fixed central processing unit; and interrupt control means that is generated as a fixed task that can only be operated by the fixed central processing unit and is activated by a completion interrupt from the peripheral device; Among the interrupt control means, there is an interrupt processing means for processing an interrupt, a starting means for starting the peripheral device control means again after the interrupt processing means finishes the interrupt processing, and a peripheral device control means for starting the peripheral device control means again from an application. completion notification means for notifying a program of the completion of processing, and the peripheral device control means generated as a floating task running on an arbitrary central processing unit is started on an arbitrary central processing unit at the request of an application program. , the peripheral device sends a processing request to the peripheral device, receives the request, executes the processing, and after the processing is completed, it causes a processing completion interrupt to a predetermined fixed central processing unit, and the completion interrupt causes the processing to be executed as a fixed task. The generated interrupt control means is activated by the fixed central processing unit,
An interrupt processing is performed, and after the interrupt processing is completed, a peripheral device control means for the floating task is activated, and the peripheral device control means notifies the application program of the completion of the processing and controls the peripheral device. It is said that
実施例
次に、本発明をその好ましい一実施例について図面を参
照して具体的に説明する。Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.
第1図は本発明に係る周辺装置制御方式の一実施例を示
すブロック構成図である。第2図は本発明に係る周辺装
置制御手段の構成を表すブロック図・第3図は本発明に
係る割込制御手段の構成を表すブロック図、第4図は本
発明に係る周辺装置の構成を表すブロック図である。FIG. 1 is a block diagram showing an embodiment of a peripheral device control method according to the present invention. FIG. 2 is a block diagram showing the configuration of the peripheral device control means according to the present invention, FIG. 3 is a block diagram showing the configuration of the interrupt control means according to the present invention, and FIG. 4 is the configuration of the peripheral device according to the present invention. FIG.
第1図を参照するに、本発明の一実施例は、アプリケー
ション・プログラム11と、処理の要求を出す要求手段
13及び処理の完了を通知する完了通知手段19から成
る周辺装置制御手段12と、完了割込を受付は割込処理
を行う割込処理手段17及び周辺装置制御手段12を起
動する起動手段18から成る割込制御手段16とを有す
る中央処理装置20と、処理を実行する実行手段14及
び処理を終了し完了割込を起こす割込手段15を含む周
辺装置21とから構成されている。Referring to FIG. 1, one embodiment of the present invention includes an application program 11, a peripheral device control means 12 comprising a request means 13 for issuing a request for processing, and a completion notification means 19 for notifying completion of processing; A central processing unit 20 having an interrupt control means 16 consisting of an interrupt processing means 17 for accepting a completion interrupt and processing the interrupt, and a starting means 18 for starting the peripheral device control means 12, and an execution means for executing the processing. 14 and a peripheral device 21 including an interrupt means 15 for terminating processing and generating a completion interrupt.
第1図においては、中央処理装置20は2個のみが示さ
れているが、実際には2個以上が接続され、同様に周辺
装置21は1個だけ示されているが、これも各中央処理
装置20にそれぞれ複数個接続されている。また、第1
図に2個示されているものの中で上に示された中央処理
装置20には割込制御手段16が省略されている。In FIG. 1, only two central processing units 20 are shown, but in reality two or more are connected, and similarly, only one peripheral device 21 is shown, but this also applies to each central processing unit. A plurality of each are connected to the processing device 20. Also, the first
The interrupt control means 16 is omitted from the central processing unit 20 shown above among the two shown in the figure.
第2図を参照すると、周辺装置・制御手段12は周辺装
置21に処理の要求を出す要求手段13及び処理の完了
を通知する完了通知手段19から構成されている。Referring to FIG. 2, the peripheral device/control means 12 is comprised of a request means 13 for issuing a processing request to the peripheral device 21, and a completion notifying means 19 for notifying the completion of the processing.
第3図を参照すると、割込制御手段16は完了割込を受
付は割込処理を行う割込処理手段17及び周辺装置制御
手段12を起動する起動手段18から構成されている。Referring to FIG. 3, the interrupt control means 16 is comprised of an interrupt processing means 17 for receiving and processing a completion interrupt, and a starting means 18 for starting the peripheral device control means 12.
第4図を参照すると、周辺装置21は処理を実行する実
行手段14及び処理を終了し固定の中央処理装置20に
完了割込を起こす割込手段15から構成されている。Referring to FIG. 4, the peripheral device 21 is comprised of an execution means 14 for executing processing and an interrupt means 15 for terminating the processing and causing a completion interrupt to the fixed central processing unit 20.
次に本発明の動作について、図面を参照して説明する。Next, the operation of the present invention will be explained with reference to the drawings.
まず、中央処理装置20の周辺装置制御手段12は任意
の中央処理装置20で動作できる浮動タスクとして生成
され、また、割込制御手段16は、固定の中央処理装置
20でしか動作できない固定タスクとして生成されてい
る。First, the peripheral device control means 12 of the central processing unit 20 is generated as a floating task that can operate on any central processing unit 20, and the interrupt control means 16 is generated as a fixed task that can operate only on the fixed central processing unit 20. is being generated.
この状態でアプリケーション・プログラム11が周辺装
置制御手段12に要求を出すと、周辺装置制御手段12
は任意の中央処理装置20で起動される。When the application program 11 issues a request to the peripheral device control means 12 in this state, the peripheral device control means 12
is activated by any central processing unit 20.
起動された周辺装置制御手段12は要求手段13を起動
して周辺装置21に処理の要求を出力する。周辺袋22
1は要求を受け処理を実行する実行手段14を起動して
処理を行う9周辺装置21は、処理完了後に割込手段1
5を起動し、予め定められた固定の中央処理装置20に
処理の完了割込を起こす、完了割込によって、予め定め
られた固定の中央処理装置20上に、固定の中央処理装
置20でしか動作できない固定タスクの割込制御手段1
6が起動され、この割込制御手段16が割込処理手段1
7を起動して割込処理を行い、この割込処理手段17が
、周辺装置制御手段12を再起動する起動手段18を起
動し、浮動タスクの周辺装置制御手段12を再起動する
。The activated peripheral device control means 12 activates the requesting means 13 and outputs a processing request to the peripheral device 21. Peripheral bag 22
1 starts the execution means 14 that receives the request and executes the process. 9 The peripheral device 21 executes the process by interrupting the interrupt means 1 after the process is completed.
5 and causes a processing completion interrupt to a predetermined fixed central processing unit 20. Interrupt control means 1 for fixed tasks that cannot operate
6 is activated, and this interrupt control means 16 becomes the interrupt processing means 1.
The interrupt processing means 17 starts the starting means 18 for restarting the peripheral device control means 12, and restarts the peripheral device control means 12 of the floating task.
再起動された周辺装置制御手段12は、アプリケーショ
ン・プログラム11に処理の完了を通知するために完了
通知手段19を起動し、アプリケーション・プログラム
11に処理の完了を通知することによって周辺装置制御
を実現している。The restarted peripheral device control means 12 activates the completion notification means 19 to notify the application program 11 of the completion of the process, and realizes peripheral device control by notifying the application program 11 of the completion of the process. are doing.
発明の詳細
な説明したように、本発明によれば、周辺装置制御方式
を、任意の中央処理装置で動作できる浮動タスクの周辺
装置制御手段と、完了割込を受ける為に固定の中央処理
装置でしか動作できない固定タスクの割込制御手段の2
つのタスクに分けて、任意の中央処理装置で動作できる
浮動タスクの部分を設けることによって、固定の中央処
理装置で動作している時間が極めて少なくなり、複数の
中央処理装置が存在した場合に、周辺装置制御方式が各
中央処理装置に分散され、全体としての処理能力を大幅
に向上させる効果が得られる。DETAILED DESCRIPTION OF THE INVENTION According to the present invention, the peripheral device control method includes a floating task peripheral device control means that can be operated on any central processing unit, and a fixed central processing unit that receives completion interrupts. 2 of the fixed task interrupt control means that can only be operated on
By dividing the task into two tasks and providing a floating task part that can be run on any central processing unit, the time that the fixed central processing unit is running is extremely small, and when multiple central processing units exist, The peripheral device control method is distributed to each central processing unit, resulting in the effect of significantly improving the overall processing capacity.
第1図は本発明に係る周辺装置制御方式の一実施例の全
体的構成を示すブロック図、第2図は第1図中の周辺装
置制御手段の構成図、第3図は第1図中の割込制御手段
の構成図、第4図は第1図中の周辺装置の構成図である
。
11・・・アプリケーション・プログラム、12・・・
周辺装置制御手段、13・・・要求手段、14・・・実
行手段、15・・・割込手段、16・・・割込制御手段
、17・・・割込処理手段、
18・・・起動手段、
19・・・完了通知手段、
20・・・中央
処理装置、
21・・・周辺装置FIG. 1 is a block diagram showing the overall configuration of an embodiment of the peripheral device control method according to the present invention, FIG. 2 is a configuration diagram of the peripheral device control means in FIG. 1, and FIG. FIG. 4 is a block diagram of the peripheral device in FIG. 1. 11...Application program, 12...
Peripheral device control means, 13... Request means, 14... Execution means, 15... Interrupt means, 16... Interrupt control means, 17... Interrupt processing means, 18... Start-up Means, 19... Completion notification means, 20... Central processing unit, 21... Peripheral device
Claims (1)
以上の周辺装置とを備え、通常のタスクが任意の中央処
理装置で動作する浮動タスクとして生成され、周辺装置
には処理終了時の完了割込を中央処理装置に通知するた
めに、予め処理終了時に完了割込を通知する中央処理装
置の番号を定められていて、周辺装置から割込を受ける
割込制御手段が周辺装置が固定の中央処理装置にしか割
込を通知できないので固定の中央処理装置でしか動作で
きない固定タスクで生成されていて、周辺装置を制御す
る周辺装置制御手段が任意の中央処理装置で動作できる
浮動タスクで生成されている電子計算機システムにおい
て、任意の中央処理装置で動作する浮動タスクとして生
成され、アプリケーション・プログラムの要求で起動さ
れる周辺装置制御手段と、該周辺装置制御手段のなかで
周辺装置に処理の要求を出す要求手段と、該要求手段が
要求した処理を周辺装置が受けて、処理を実行する実行
手段と、周辺装置が処理を終了し固定の中央処理装置に
完了割込を起こす割込手段と、固定の中央処理装置でし
か動作できない固定タスクとして生成され周辺装置から
の完了割込によって起動される割込制御手段と、該割込
制御手段のなかで割込処理を行う割込処理手段と、該割
込処理手段が割込処理を終了し再び周辺装置制御手段を
起動する起動手段と、前記周辺装置制御手段がアプリケ
ーション・プログラムへ処理の完了を通知する完了通知
手段とを含み、任意の中央処理装置で動作する浮動タス
クとして生成された前記周辺装置制御手段がアプリケー
ション・プログラムの要求によって任意の中央処理装置
で起動され、周辺装置に処理の要求を出す周辺装置は要
求を受け処理を実行し、処理完了後に予め、定められて
いた固定の中央処理装置に処理の完了割込を起こし、完
了割込によって固定タスクとして生成されていた前記割
込制御手段が前記固定の中央処理装置で起動され、割込
処理を行い、割込処理終了後、前記浮動タスクの周辺装
置制御手段を起動し、該周辺装置制御手段が、アプリケ
ーション・プログラムに処理の完了を通知し、周辺装置
を制御することを特徴とした周辺装置制御方式。It has multiple central processing units and one or more peripheral devices connected to the central processing units, and a normal task is generated as a floating task that runs on any central processing unit, and the peripheral device has a In order to notify the central processing unit of the completion interrupt, the number of the central processing unit to be notified of the completion interrupt at the end of processing is determined in advance, and the interrupt control means that receives interrupts from the peripheral device is fixed to the peripheral device. Since interrupts can only be notified to the central processing unit of a fixed central processing unit, the peripheral device control means that controls the peripheral devices is a floating task that can operate on any central processing unit. In the computer system being generated, there is a peripheral device control means that is generated as a floating task that runs on an arbitrary central processing unit and is started at the request of an application program, and a peripheral device that is processed by the peripheral device within the peripheral device control means. a requesting means for issuing a request, an execution means for causing a peripheral device to receive the processing requested by the requesting means and executing the processing, and an interrupt for causing a completion interrupt to a fixed central processing unit when the peripheral device finishes the processing. means, an interrupt control means that is generated as a fixed task that can only be operated by a fixed central processing unit and is activated by a completion interrupt from a peripheral device, and an interrupt process that performs interrupt processing within the interrupt control means. means, activation means for causing the interrupt processing means to terminate the interrupt processing and restarting the peripheral device control means, and completion notification means for the peripheral device control means to notify the application program of the completion of the processing; The peripheral device control means, which is generated as a floating task that runs on any central processing unit, is activated in any central processing unit at the request of an application program, and the peripheral device that issues a processing request to the peripheral device receives the request and processes it. After the processing is completed, a processing completion interrupt is generated in a predetermined fixed central processing unit, and the interrupt control means, which was generated as a fixed task by the completion interrupt, is activated by the fixed central processing unit. is started, performs interrupt processing, and after the interrupt processing is completed, starts the peripheral device control means of the floating task, and the peripheral device control means notifies the application program of the completion of processing, and controls the peripheral device. A peripheral device control method characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1030141A JPH02208741A (en) | 1989-02-09 | 1989-02-09 | Peripheral equipment control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1030141A JPH02208741A (en) | 1989-02-09 | 1989-02-09 | Peripheral equipment control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02208741A true JPH02208741A (en) | 1990-08-20 |
Family
ID=12295491
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1030141A Pending JPH02208741A (en) | 1989-02-09 | 1989-02-09 | Peripheral equipment control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02208741A (en) |
-
1989
- 1989-02-09 JP JP1030141A patent/JPH02208741A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9189293B2 (en) | Computer, virtualization mechanism, and scheduling method | |
| JPS62184544A (en) | Virtual computer system | |
| JPH064306A (en) | How to divide interrupt processing | |
| JPH05197577A (en) | Virtual computer execution priority control system in virtual computer system | |
| JPH01246636A (en) | Central processing unit management system for virtual computer system | |
| JPH0433130A (en) | Multi-chip configuration method | |
| JPS60181934A (en) | Task priority degree controlling system | |
| JP2581327B2 (en) | A method for handling I/O interrupts in a virtual machine | |
| JPS6136850A (en) | Input and output interruption information system | |
| JP2000029850A (en) | Task controlling method using inter-processor communication of operating system | |
| JPS6223895B2 (en) | ||
| JPH03164940A (en) | Computer having plural interruption periods | |
| JPH02206841A (en) | Virtual machine system | |
| JPH01185733A (en) | Input/output emulation system | |
| JPH0527991A (en) | Electronic processing equipment | |
| JPS62113238A (en) | Correction system for program of electronic computer system | |
| JPH03116335A (en) | System for transferring from non-privileged cpu to privileged cpu | |
| JPH03179532A (en) | Computer device | |
| JPS6330659B2 (en) | ||
| JPH02202635A (en) | Task control method | |
| JPS62182845A (en) | Interruption control system for information processor | |
| JPS6367641A (en) | Control system for virtual computer system | |
| JPH0658659B2 (en) | Interrupt control method between processors | |
| JPH04238539A (en) | Operating system for program | |
| JPH05342021A (en) | Multitask computer |