JPH0823852B2 - Input/Output Processor - Google Patents
Input/Output ProcessorInfo
- Publication number
- JPH0823852B2 JPH0823852B2 JP61235600A JP23560086A JPH0823852B2 JP H0823852 B2 JPH0823852 B2 JP H0823852B2 JP 61235600 A JP61235600 A JP 61235600A JP 23560086 A JP23560086 A JP 23560086A JP H0823852 B2 JPH0823852 B2 JP H0823852B2
- Authority
- JP
- Japan
- Prior art keywords
- control information
- buffer memory
- input
- entry
- stored
- 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 - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は主記憶に格納された入出力装置ごとの制御情
報に関し、特に斯かる制御情報を高速に利用するため、
入出力装置のバツファメモリに格納された制御情報の置
換方式に関する。[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to control information for each input/output device stored in a main memory, and in particular to a method for quickly utilizing such control information,
This relates to a method for replacing control information stored in a buffer memory of an input/output device.
(従来の技術) 従来、主記憶に格納された制御情報を用いて主記憶と
入出力装置との間でデータを転送する入出力処理装置で
は、制御情報の参照/更新のために主記憶をアクセスし
ている。その際には、主記憶のアクセスによるオーバヘ
ツドを軽減するため、入出力制御装置の内部に制御情報
を格納するバツフアメモリを有し、バツフアメモリの内
部の制御情報を用いてデータ転送を制御している。(Prior Art) Conventionally, in an input/output processing device that transfers data between a main memory and an input/output device using control information stored in the main memory, the main memory is accessed to refer to/update the control information. In order to reduce the overhead caused by accessing the main memory, the input/output control device has a buffer memory for storing the control information inside, and the data transfer is controlled using the control information inside the buffer memory.
(発明が解決しようとする問題点) 上述した従来の入出力処理装置では、複数の入出力装
置との間でデータを転送する際に、バツフアメモリの各
エントリにデータ転送の制御情報がロードされて利用さ
れる。これによつて、データ転送の制御の都度、主記憶
に格納された制御情報をアクセスする必要がなくなり、
バツフアメモリをアクセスするのみで高速にデータ転送
を制御することができる。しかし、このような構成のバ
ツフアメモリは主記憶に比べて高価であり、そのエント
リの数は入出力装置の数に比べて少ないのが一般的と云
える。(Problem to be solved by the invention) In the above-mentioned conventional input/output processing device, when data is transferred between multiple input/output devices, control information for data transfer is loaded into each entry of the buffer memory and used. This eliminates the need to access the control information stored in the main memory each time data transfer is controlled.
High-speed data transfer can be controlled simply by accessing the buffer memory. However, such a buffer memory is expensive compared to the main memory, and the number of entries is generally smaller than the number of input/output devices.
このため、バツフアメモリの各エントリがすべて使用
されている状態で、新たな制御情報をロードするために
は、いずれかのエントリの制御情報を主記憶にセーブし
た後、上記エントリにロードする必要がある。 For this reason, in order to load new control information when all entries in the buffer memory are in use, it is necessary to first save the control information of one of the entries in the main memory and then load it into the entry.
このようなバツフアメモリの各エントリは、通常、同
じ重みで利用される。すなわち、主記憶にセーブするエ
ントリの選択は、すべてのエントリを対象に行われる。
従つて、このような構成のバツフアメモリでは、対象と
する入出力装置の特性とは無関係にセーブするエントリ
を選択するため、上記制御情報を必要とする際にはバツ
フアメモリ上に存在せず、主記憶から再度ロードしなお
す必要が生じることがあり、オーバヘツドが増加すると
い云う欠点がある。 Each entry in such a buffer memory is usually used with the same weight, that is, the selection of an entry to be saved in the main memory is made among all the entries.
Therefore, in a buffer memory having such a configuration, the entries to be saved are selected regardless of the characteristics of the target I/O device, so when the above control information is required, it may not be present in the buffer memory and it may be necessary to reload it from the main memory, resulting in an increase in overhead.
本発明の目的は、制御情報の一部または全部を入出力
装置を単位としてバツフアメモリに格納し、バツフアメ
モリの各エントリに対応してエントリを格納可能な制御
情報の種別を表示するフラグを備えることによつて上記
欠点を除去し、バツフアメモリの各エントリの利用区分
を明確にしてグループ化することができるように構成し
た入出力制御装置を提供することにある。 The object of the present invention is to provide an input/output control device which is configured to eliminate the above-mentioned drawbacks by storing part or all of the control information in a buffer memory on an input/output device basis, and by providing a flag which indicates the type of control information in which the entry can be stored corresponding to each entry in the buffer memory, thereby making it possible to clearly classify the usage of each entry in the buffer memory and group them.
(問題点を解決するための手段) 本発明による入出力処理装置は、複数の入出力装置と
主記憶との間のデータ転送を前記主記憶に格納された前
記入出力装置ごとの制御情報に従って実施するための転
送回路と、前記入出力装置ごとの制御情報の一部、また
はすべてを前記入出力装置を単位として逐次、格納する
ためのバッファメモリ手段と、前記バッファメモリの各
エントリの利用区分を明確にするため、前記各エントリ
に格納可能な制御情報の種別を表示するためのフラグ手
段と、前記転送回路でデータを転送すべき入出力装置対
応の制御情報が前記バッファメモリ手段に存在しない場
合には、前記転送回路から送られる、データを転送すべ
き入出力装置の動作種別と前記フラグ手段が表示する制
御情報の種別のそれぞれとを比較する比較手段とを具備
し、前記比較手段が一致を検出したとき、前記フラグ手
段が表示する制御情報の種別対応の前記バッファメモリ
のエントリから制御情報を読み出して前記主記憶に退避
させ、データを転送回路で転送すべき入出力装置対応の
制御情報を前記主記憶より読み出し、前記フラグ手段が
表示する制御情報の種別対応の前記バッファメモリのエ
ントリに格納し、この格納した制御情報をデータ転送に
用いることを特徴とするものである。(Means for solving the problem) An input/output processing device according to the present invention comprises a transfer circuit for implementing data transfer between a plurality of input/output devices and a main memory in accordance with control information for each of the input/output devices stored in the main memory; buffer memory means for sequentially storing part or all of the control information for each of the input/output devices in units of the input/output devices; flag means for displaying a type of control information that can be stored in each of the entries in the buffer memory in order to clarify a usage classification of each entry of the buffer memory; and comparison means for comparing, when control information corresponding to an I/O device to which data is to be transferred by the transfer circuit is not present in the buffer memory means, an operation type of the I/O device to which data is to be transferred, sent from the transfer circuit, with each of the types of control information displayed by the flag means, and when the comparison means detects a match, the control information is read from the entry of the buffer memory corresponding to the type of control information displayed by the flag means and saved in the main memory, and the control information corresponding to the I/O device to which data is to be transferred by the transfer circuit is read from the main memory and stored in the entry of the buffer memory corresponding to the type of control information displayed by the flag means, and the stored control information is used for data transfer.
(実施例) 次に、本発明について図面を参照して説明する。Next, the present invention will be described with reference to the drawings.
第1図は、本発明による入出力処理装置の一実施例を
示すブロツク図である。第1図において、10は主記憶、
20は入出力処理装置、30は転送回路、40はバツフアメモ
リ制御回路、50はバツフアメモリ、60はフラグ、70は比
較器、80はセレクタ、90はレジスタ、100は加算器、11
1,112はそれぞれ入出力装置である。 FIG. 1 is a block diagram showing an embodiment of an input/output processing device according to the present invention. In FIG. 1, 10 is a main memory;
20 is an input/output processing device, 30 is a transfer circuit, 40 is a buffer memory control circuit, 50 is a buffer memory, 60 is a flag, 70 is a comparator, 80 is a selector, 90 is a register, 100 is an adder, 11
1, 112 are input/output devices.
第1図において、主記憶10は入出力装置111,112との
転送データ、および転送プログラムを保持するととも
に、入出力装置111,112に対応した第1および第2の制
御情報を保持する。また、入出力処理装置20は主記憶10
と入出力装置111,112との間でデータを転送するための
転送回路30、およびデータ転送時の制御情報を管理する
ためのバツフアメモリ制御回路40より構成される。な
お、第1図では繁雑さを避けるため本発明に直接関与し
ない回路は省略してある。 In FIG. 1, the main memory 10 holds transfer data and transfer programs for the input/output devices 111 and 112, and also holds first and second control information corresponding to the input/output devices 111 and 112.
and the input/output devices 111, 112, and a buffer memory control circuit 40 for managing control information during data transfer. In order to avoid complication, circuits that are not directly related to the present invention are omitted in Fig. 1.
バツフア制御回路40は複数のエントリを有し、それぞ
れのエントリが動作中の入出力装置に対応する制御情報
を保持するためのバツフアメモリ50と、バツフアメモリ
50の各エントリに対応して各エントリに格納可能な制御
情報の種別を格納するためのフラグ60と、バツフアメモ
リ50およびフラグ60のアドレス(エントリ番号)を保持
するためのレジスタ90と、レジスタ90の内容が次のエン
トリの番号になるように更新するための加算器100と、
転送回路30から指示されたエントリ番号か、あるいは加
算器100によつて生成されたエントリ番号かを切替えて
選択するためのセレクタ80と、フラグ60の出力と転送回
路30より指示された制御情報の種別(動作種別)とを比
較するための比較器70とから構成される。 The buffer control circuit 40 has a plurality of entries, each of which is a buffer memory 50 for holding control information corresponding to an active I/O device, and a buffer memory
a flag 60 for storing the type of control information that can be stored in each entry corresponding to each entry of the buffer memory 50; a register 90 for holding the addresses (entry numbers) of the buffer memory 50 and the flag 60; and an adder 100 for updating the contents of the register 90 so that it becomes the number of the next entry.
It is composed of a selector 80 for switching between the entry number indicated by the transfer circuit 30 and the entry number generated by the adder 100, and a comparator 70 for comparing the output of the flag 60 with the type of control information (type of operation) indicated by the transfer circuit 30.
また、転送回路30は主記憶10に格納された転送プログ
ラムの指示に従い、バツフアメモリ50に格納された制御
情報を用いて主記憶と、対応する入出力装置111,112と
の間でデータを転送する。 Further, the transfer circuit 30 follows instructions of the transfer program stored in the main memory 10 and transfers data between the main memory and the corresponding input/output devices 111 and 112 using control information stored in the buffer memory 50 .
ここで、バツフアメモリ50に格納された制御情報は、
第2図に示すようにして管理される。 Here, the control information stored in the buffer memory 50 is
It is managed as shown in FIG.
(発明の効果) 以上説明したように本発明は、バツフアメモリの各エ
ントリに対応して上記エントリに格納可能な制御情報の
種別を表示するフラグを設けることにより、バツフアメ
モリの利用区分を明確にし、バツフアメモリの利用効率
を向上させることができると云う効果がある。(Effects of the Invention) As described above, the present invention has the effect of clarifying the usage classification of the buffer memory and improving the utilization efficiency of the buffer memory by providing a flag indicating the type of control information that can be stored in each entry of the buffer memory.
すなわち、バツフアメモリの各エントリごとに利用区
分を明確化し、制御される入出力装置の特性に応じて、
それぞれ使用可能なエントリを制限することにより、一
部の入出力装置によりバツフアメモリが専有されるのを
防ぎ、また必要な制御情報がバツフアメモリより失われ
るのを防ぐことができるため、制御情報を効率よくバツ
フアメモリの内部に保持することができると云う効果が
ある。 That is, the usage classification is clarified for each entry of the buffer memory, and according to the characteristics of the controlled I/O device,
By limiting the number of entries that can be used by each device, it is possible to prevent the buffer memory from being monopolized by some input/output devices and also to prevent necessary control information from being lost from the buffer memory, resulting in the effect of efficiently storing control information inside the buffer memory.
【図面の簡単な説明】 第1図は、本発明による入出力処理装置の一実施例を示
すブロツク図である。 第2図は、第1図に示す入出力処理装置の動作を示すフ
ローチャートである。 10……主記憶、20……入出力処理装置 30……転送回路 40……バツフアメモリ制御回路 50……バツフアメモリ、60……フラグ 70……比較器、80……セレクタ 90……レジスタ、100……加算器 111,112……入出力装置[Brief explanation of the drawings] Fig. 1 is a block diagram showing one embodiment of an input/output processing device according to the present invention. Fig. 2 is a flow chart showing the operation of the input/output processing device shown in Fig. 1. 10... main memory, 20... input/output processing device, 30... transfer circuit, 40... buffer memory control circuit, 50... buffer memory, 60... flag, 70... comparator, 80... selector, 90... register, 100... adder, 111, 112... input/output device
Claims (1)
転送を前記主記憶に格納された前記入出力装置ごとの制
御情報に従って実施するための転送回路と、 前記入出力装置ごとの制御情報の一部、またはすべてを
前記入出力装置を単位として逐次、格納するためのバッ
ファメモリ手段と、 前記バッファメモリの各エントリの利用区分を明確にす
るため、前記各エントリに格納可能な制御情報の種別を
表示するためのフラグ手段と、 前記転送回路でデータを転送すべき入出力装置対応の制
御情報が前記バッファメモリ手段に存在しない場合に
は、前記転送回路から送られる、データを転送すべき入
出力装置の動作種別と前記フラグ手段が表示する制御情
報の種別のそれぞれとを比較する比較手段とを具備し、 前記比較手段が一致を検出したとき、前記フラグ手段が
表示する制御情報の種別対応の前記バッファメモリのエ
ントリから制御情報を読み出して前記主記憶に退避さ
せ、転送回路でデータを転送すべき入出力装置対応の制
御情報を前記主記憶より読み出し、前記フラグ手段が表
示する制御情報の種別対応の前記バッファメモリのエン
トリに格納し、この格納した制御情報をデータ転送に用
いることを特徴とする入出力処理装置。[Claim 1] An input/output processing device comprising: a transfer circuit for transferring data between a plurality of input/output devices and a main memory in accordance with control information for each of the input/output devices stored in the main memory; buffer memory means for sequentially storing part or all of the control information for each of the input/output devices on a unit basis of the input/output device; flag means for displaying the type of control information that can be stored in each entry of the buffer memory in order to clarify the classification of usage of each entry of the buffer memory; and comparison means for comparing, when control information corresponding to an I/O device to which data is to be transferred by the transfer circuit is not present in the buffer memory means, an operation type of the I/O device to which data is to be transferred, sent from the transfer circuit, with each of the types of control information displayed by the flag means, wherein, when the comparison means detects a match, the control information is read from the entry of the buffer memory corresponding to the type of control information displayed by the flag means and saved in the main memory, the control information corresponding to the I/O device to which data is to be transferred by the transfer circuit is read from the main memory and stored in the entry of the buffer memory corresponding to the type of control information displayed by the flag means, and the stored control information is used for data transfer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61235600A JPH0823852B2 (en) | 1986-10-03 | 1986-10-03 | Input/Output Processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61235600A JPH0823852B2 (en) | 1986-10-03 | 1986-10-03 | Input/Output Processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6389953A JPS6389953A (en) | 1988-04-20 |
| JPH0823852B2 true JPH0823852B2 (en) | 1996-03-06 |
Family
ID=16988405
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61235600A Expired - Lifetime JPH0823852B2 (en) | 1986-10-03 | 1986-10-03 | Input/Output Processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0823852B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7007861B2 (en) | 2000-06-08 | 2006-03-07 | S.C. Johnson & Son, Inc. | Methods and personal protection devices for repelling insects |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5856887B2 (en) * | 1979-02-28 | 1983-12-17 | 株式会社日立製作所 | Multiplexer channel method |
-
1986
- 1986-10-03 JP JP61235600A patent/JPH0823852B2/en not_active Expired - Lifetime
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7007861B2 (en) | 2000-06-08 | 2006-03-07 | S.C. Johnson & Son, Inc. | Methods and personal protection devices for repelling insects |
| US7152809B2 (en) | 2000-06-08 | 2006-12-26 | S.C. Johnson & Son, Inc. | Methods and personal protection devices for repelling insects |
| US7168630B1 (en) | 2000-06-08 | 2007-01-30 | S.C. Johnson & Son, Inc. | Methods and personal protection devices for repelling insects |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6389953A (en) | 1988-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6012106A (en) | Prefetch management for DMA read transactions depending upon past history of actual transfer lengths | |
| EP0166310B1 (en) | Data processing system | |
| US5155830A (en) | Data processing system capable of performing a direct memory access transfer of data stored in a physical area in a memory | |
| WO1984001043A1 (en) | Method and apparatus for handling interprocessor calls in a multiprocessor system | |
| US7111289B2 (en) | Method for implementing dual link list structure to enable fast link-list pointer updates | |
| US3771142A (en) | Digital data storage system | |
| GB2351166A (en) | Interrupt processing device | |
| JPH07248967A (en) | Memory control method | |
| JPH0823852B2 (en) | Input/Output Processor | |
| EP0815505A1 (en) | Arrangement and method relating to handling of digital signals and a processing arrangement comprising such | |
| JPH01125644A (en) | Data transfer equipment | |
| US7493463B2 (en) | Code size reduction method through multiple load/store instructions | |
| KR100294314B1 (en) | Data processing system and method and communication system with such system | |
| JPH0421222B2 (en) | ||
| JPS629945B2 (en) | ||
| JPS61260344A (en) | Input and output processor | |
| JP2988048B2 (en) | Dictionary information resident access device | |
| KR880000995B1 (en) | An improved memory unit | |
| KR0174211B1 (en) | Data access device for parallel programmable controller | |
| JPS6124734B2 (en) | ||
| JP3013993B2 (en) | Vector processing method | |
| JPS58189719A (en) | Data transfer control system | |
| JPS63187349A (en) | Storage device | |
| JPS6280748A (en) | Input/output processor | |
| JPS6380349A (en) | High speed page input/output system |