JPH0358158A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0358158A
JPH0358158A JP19511889A JP19511889A JPH0358158A JP H0358158 A JPH0358158 A JP H0358158A JP 19511889 A JP19511889 A JP 19511889A JP 19511889 A JP19511889 A JP 19511889A JP H0358158 A JPH0358158 A JP H0358158A
Authority
JP
Japan
Prior art keywords
data
transfer
signal
data transfer
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP19511889A
Other languages
Japanese (ja)
Inventor
Yoshiro Kamata
鎌田 好郎
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP19511889A priority Critical patent/JPH0358158A/en
Publication of JPH0358158A publication Critical patent/JPH0358158A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent overrun of preceding data to improve the processing efficiency by detecting whether the quantity of effective data stored in a data buffer is larger or smaller than a certain value to temporarily stop or restart data transfer through a channel device. CONSTITUTION:Each of channel devices 51 to 5m detects whether the quantity of effective data in the data buffer is larger or smaller than a certain value by a preceding data overrun detecting means; and when it is larger than the certain value, a control signal to temporarily stop data transfer is sent, and a peripheral device 7 stops data transfer, and a priority level changing means 9 changes the priority level of the channel device. When the quantity of effective data is smaller than the certain value, data transfer is restarted by the same procedures. Thus, overrun of preceding data is prevented and the processing efficiency is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は高速データ転送を制御するデータ処理装置に利
用され、特に、データオーバラン時のデータ転送方式を
改善したデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is used in a data processing device that controls high-speed data transfer, and particularly relates to a data processing device that has an improved data transfer method during data overrun.

〔概要〕〔overview〕

本発明は、主記憶装置と周辺装置との間のデータ転送を
チャネル装置からの要求により優先順位をとりながら処
理するデータ処理装置において、前記チャネル装置内の
データバッファに格納される有効データ量が一定量以上
または以下になったかを検出して、当該チャネル装置を
介しての前記周辺装置とのデータ転送を一時中断または
再開できるようにすることにより、 先行データのオーバランを防止し処理効率を向上させた
ものである。
The present invention provides a data processing device that processes data transfer between a main memory device and a peripheral device while prioritizing data transfer based on requests from a channel device, in which the amount of effective data stored in a data buffer in the channel device is By detecting whether the amount exceeds or falls below a certain level, it is possible to temporarily suspend or resume data transfer with the peripheral device via the channel device, thereby preventing overruns of preceding data and improving processing efficiency. This is what I did.

〔従来の技術〕[Conventional technology]

従来、この種の高速データ転送を制御するデータ処理装
置におけるチャネル装置のデータ転送方式としては、特
にディスク等の回転体を制御している装置を接続する場
合においては、周辺処理装置にデータを規定時間内に転
送することを意識しなければならず、一定時間内にデー
タが転送されない場合は、データが正しくとどかなかっ
たか、あるいは受けとられなかった〈データオーバラン
)として、データオーバランの処理をしなければならな
かった。オーバラン処理とは、ソフトウェアが介在して
I/O命令の最初から処理を再開するか、あるいは、現
在実行中のコマンドの最初から実行を再開するようにな
っていた。
Conventionally, as a data transfer method for a channel device in a data processing device that controls this type of high-speed data transfer, data is specified to a peripheral processing device, especially when connecting a device that controls a rotating body such as a disk. You must be conscious of transferring data within a certain time, and if data is not transferred within a certain time, it is assumed that the data did not arrive correctly or was not received (data overrun), and data overrun processing is performed. I had to. Overrun processing involves restarting processing from the beginning of an I/O instruction through software intervention, or restarting execution from the beginning of a currently executing command.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述したように従来のデータ処理装置におけるチャネル
装置は、データオーバランを発生すると、一つのI/O
命令を実行するのに何回もオーバラン処理をしなければ
ならず、ソフトウエアに対する負荷が増えるだけではな
く、データ転送処理全体の処理効率も低下する欠点を持
っていた。また、近年ディスク制御装置に大容量のキャ
ッシュを持つとか、電子ディスクのように回転および機
械的構造を伴わない大容量、高速の転送が急増してきて
いる。このような大容量の転送がある場合には、特に、
データオーバランによるオーバラン処理がシステムに及
ぼす影響が大きくなる欠点がある。
As mentioned above, when a data overrun occurs, a channel device in a conventional data processing device handles one I/O
This method has the disadvantage that overrun processing must be performed many times to execute an instruction, which not only increases the load on the software but also reduces the processing efficiency of the entire data transfer process. In addition, in recent years, there has been a rapid increase in the use of disk control devices having large-capacity caches, and large-capacity, high-speed transfers that do not require rotation or mechanical structures, such as electronic disks. Especially when there are such large transfers,
There is a drawback that overrun processing due to data overrun has a greater influence on the system.

本発明の目的は、前記の欠点を除去することにより、デ
ータオーバランの発生を防止し、処理効率を向上できる
データ処理装置を提供することにある。
An object of the present invention is to provide a data processing device that can prevent data overruns and improve processing efficiency by eliminating the above-mentioned drawbacks.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、データ転送の制御を行うデータ転送制御部と
、データバッファを含む複数のチャネル装置とを備え主
記憶装置と周辺装置との間のデータ転送を行うデータ処
理装置において、前記データ転送制御部は、転送データ
の優先順位の変更を行う優先順位変更手段を含み、前記
チャネル装置は、前記周辺装置とのデータ転送の中断ま
たは再開を有効にする有効指示手段と、データ転送の開
始を指示する転送開始指示手段と、前記優先順位変更手
段に対して優先順位信号を送出する優先順位信号発生手
段と、前記データバッファ内の有効データ量が一定量以
下または以上になったことを検出する先行データのオー
バラン検出手段と、このオーバラン検出手段の検出結果
に対応して前記周辺装置とのデータ転送を一時抑止する
制御信号を前記優先順位信号発生手段および前記周辺装
置に対して送出する転送抑止手段とを含むことを特徴と
する。
The present invention provides a data processing device that performs data transfer between a main storage device and a peripheral device, which includes a data transfer control unit that controls data transfer, and a plurality of channel devices including data buffers. The unit includes a priority change means for changing the priority of transfer data, and the channel device includes an enable instruction means for enabling interruption or resumption of data transfer with the peripheral device, and an enable instruction means for instructing the start of data transfer. a priority signal generating means for sending a priority signal to the priority changing means; and a preceding means for detecting that the amount of valid data in the data buffer is below or above a certain amount. Data overrun detection means, and transfer inhibition means for sending a control signal to the priority signal generation means and the peripheral device to temporarily inhibit data transfer with the peripheral device in response to the detection result of the overrun detection means. It is characterized by including.

〔作用〕[Effect]

チャネル装置は、先行データオーバラン検出手段により
そのデータバッファ内の有効データ量がある一定量以上
かあるいは以下かを検出し、ある一定量以上の場合には
、転送抑止手段によりデータ転送を一時中断する制御信
号を周辺装置および優先順位信号発生手段に対して送出
する。これにより周辺装置はデータ転送を中止し、前記
優先順位信号発生手段はその旨の優先順位信号をデータ
転送制御部の優先順位変更手段に対して送出する。
The channel device uses a preceding data overrun detection means to detect whether the amount of valid data in the data buffer is above or below a certain amount, and if the amount exceeds a certain amount, the transfer inhibiting means temporarily suspends data transfer. Control signals are sent to peripheral devices and priority signal generation means. As a result, the peripheral device stops data transfer, and the priority signal generating means sends a priority signal to that effect to the priority changing means of the data transfer control section.

これにより優先順位変更手段は当該チャネル装置の優先
順位を変更する。有効データ量が一定量以下になった場
合には同様の手順によりデータ転送の再開が行われる。
Thereby, the priority order changing means changes the priority order of the channel device. When the effective data amount falls below a certain amount, data transfer is resumed using the same procedure.

従って、先行データのオーバランを防止することができ
、処理効率を向上させることが可能となる。
Therefore, overrun of preceding data can be prevented, and processing efficiency can be improved.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例によるチャネル装置を示すブ
ロック構戒図および第2図は本発明の一実施例のデータ
処理装置を用いたシステムの一例を示すブロック構戊図
である。
FIG. 1 is a block diagram showing a channel device according to an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of a system using a data processing device according to an embodiment of the present invention.

第2図によると、本発明の一実施例のデータ処理装置2
を用いたシステムは、システム制御装置1と、データ処
理装置2と、演算制御装置3と、周辺制御装置6と、周
辺装置7とを備え、システム制御装置1はそれぞれ信号
線10、11およびl5によりデータ処理装置2、主記
憶装置4および演算制御装置3に接続され、周辺装置7
は信号線14により周辺制御装置6に接続され、周辺制
御装置6は信号線13によりデータ処理装置2に接続さ
れる。
According to FIG. 2, a data processing device 2 according to an embodiment of the present invention
The system using the system includes a system control device 1, a data processing device 2, an arithmetic control device 3, a peripheral control device 6, and a peripheral device 7, and the system control device 1 has signal lines 10, 11, and l5, respectively. is connected to the data processing device 2, the main storage device 4, and the arithmetic and control device 3, and the peripheral device 7
is connected to the peripheral control device 6 by a signal line 14, and the peripheral control device 6 is connected to the data processing device 2 by a signal line 13.

また、データ処理装置2は、信号線10によりシステム
制御装置1に接続され、各チャネル装置からの要求によ
り、転送データの優先順位の変更を行う優先順位変更手
段9を含むデータ転送制御部8と、このデータ転送制御
部8にそれぞれ信号線12.〜12,,により接続され
た複数n個のチャネル装置(CH)5.〜5oとを含ん
でいる。そして、各チャネル装置5,〜5oにはそれぞ
れ周辺装置を介して周辺装置が接続されるが、図ではチ
ャネル装置5,以外については図が複雑になるために省
略してある。
The data processing device 2 is connected to the system control device 1 by a signal line 10, and includes a data transfer control section 8 that includes a priority order changing means 9 that changes the priority order of transfer data according to a request from each channel device. , this data transfer control unit 8 is connected to signal lines 12 . A plurality of n channel devices (CH) connected by ~12, 5. ~5o. Peripheral devices are connected to each channel device 5, to 5o through a peripheral device, but the components other than channel device 5 are omitted in the figure to make the figure complicated.

第1図によると、チャネル装置51は、チャネル制御部
20、バッファ制御部21、データバッファ22、転送
開始手段23、転送制御部24、I/Oインタフェース
制御部25、レジスタ26、27、3lおよび32、セ
レクタ28および38、比較回路29、アンド回路30
、レシーバ33、ドライバー34、ならびにフリップフ
ロップ39を含み、さらにチャネル制御部20は、フリ
ップフロップ(FF)35および40ならびにデータチ
ェーン用のフラグレジスタ (CD)36および入力/
出力用のフラグレジスタ(IN/OUT)37を含んで
いる。
According to FIG. 1, the channel device 51 includes a channel control section 20, a buffer control section 21, a data buffer 22, a transfer starting means 23, a transfer control section 24, an I/O interface control section 25, registers 26, 27, 3l, and 32, selectors 28 and 38, comparison circuit 29, AND circuit 30
, a receiver 33, a driver 34, and a flip-flop 39. The channel control unit 20 further includes flip-flops (FF) 35 and 40, a data chain flag register (CD) 36, and an input/
It includes a flag register (IN/OUT) 37 for output.

そして、データ転送制御部8とは信号50、5L52、
53および85によって結ばれ、周辺制御装置6とは信
号67、76、79、80、81および82により結ば
れ、装置内部においては信号54〜84によりそれぞれ
結ばれる。
The data transfer control unit 8 includes signals 50, 5L52,
53 and 85, and to the peripheral control device 6 by signals 67, 76, 79, 80, 81, and 82, and within the device by signals 54 to 84, respectively.

ここで、本発明の特徴とするところは、データ転送制御
部8内に優先順位変更手段9を設け、チャネル装置5.
〜5h内に、周辺装置7とのデータの中断または再開を
有効にする有効指示手段としてのフリップフロップ35
と、データ転送の開始を指示する転送開始指示手段23
と、優先順位変更手段9に対して高優先順位を示す信号
85を送出する優先順位信号発生手段としての高優先順
位要求用のフリップフロップ40と、データバッファ2
2内の有効データ量が一定量以下または以上になったこ
とを検出する先行データオーパラン検出手段としての、
レジスタ26、27、セレクタ28、比較回路29およ
びフリップフロップ39と、フリップフロップ39から
出力される検出結果の信号84に対応して周辺装置6と
のデータ転送を一時抑止する制御信号としての信号67
をフリップフロップ40および周辺装置6に対して送出
する転送抑止手段としてのアンド回路30とを設けたこ
とにある。
Here, the feature of the present invention is that a priority change means 9 is provided in the data transfer control section 8, and the channel device 5.
A flip-flop 35 as a valid indicating means for validating the interruption or resumption of data with the peripheral device 7 within ~5h.
and transfer start instruction means 23 for instructing the start of data transfer.
, a flip-flop 40 for high priority request as a priority signal generating means for sending a signal 85 indicating a high priority to the priority changing means 9, and a data buffer 2.
As a preceding data opalun detection means for detecting that the amount of effective data within 2 has become less than or more than a certain amount,
Registers 26, 27, selector 28, comparison circuit 29, flip-flop 39, and signal 67 as a control signal that temporarily inhibits data transfer with peripheral device 6 in response to detection result signal 84 output from flip-flop 39;
This is because an AND circuit 30 is provided as a transfer inhibiting means for transmitting the data to the flip-flop 40 and the peripheral device 6.

次に、本実施例の動作を、(a)中断・再開時ならびに
(b)出力時に分けて説明する。
Next, the operation of this embodiment will be explained separately (a) at the time of interruption/resumption and (b) at the time of output.

(a)  中断・再開時、 この場合は、中断・再開有効用のフリップフロップ35
を使用して次のように動作する。
(a) When suspending/resuming, in this case, the flip-flop 35 for enabling suspend/resume
It works like this:

データ転送はデータ転送制御部8から信号53として人
力/出力指示用のフラグ回路(IN/OUT)37、チ
ェインデータフラグ用のフラグ回路(CD)36および
中断・再開有効用のフリップフロップ35を設定し、転
送バイトカウントを信号63として転送制御部24に与
えることにより開始される。
For data transfer, a signal 53 is sent from the data transfer control unit 8 to set a flag circuit (IN/OUT) 37 for manual input/output instruction, a flag circuit (CD) 36 for chain data flag, and a flip-flop 35 for enabling interruption/resumption. The process is started by providing the transfer byte count as a signal 63 to the transfer control unit 24.

なお、本時点では、高優先順位要求用のフリップフロッ
プ40は論理値「0」に設定されている。またレジスタ
26および27には入力または出力のとき、先行データ
オーバランを検出すべき、バッファのデータ量が与えら
れ、セレクタ28にレジスタ26および27から出力さ
れる信号57および58により人力され、フラグレジス
タ37から出力される信号59により選択され、比較回
路29の一方の入力に信号64として入力される。比較
回路29の他の一方の入力には、バッファ制御部2lか
らのデータ有効バッファ量を示す信号65が入力され比
較される。比較回路29から出力される信号66はフリ
ップフロップ39のセット信号として使用され、フリッ
プフロップ39から出力される信号84はチェインデー
タフラグ用のフラグレジスタ36から出力される信号6
0およびフリップフロップ35から出力ざれる信号61
とともにアンド回路30に入力され、データ転送一時抑
止信号としての信号67を周辺制御装置6に送出する。
Note that, at this point, the flip-flop 40 for high priority requests is set to a logical value of "0". Further, registers 26 and 27 are given the amount of data in the buffer for which preceding data overrun should be detected at the time of input or output. It is selected by the signal 59 outputted from the comparator circuit 37 and inputted as the signal 64 to one input of the comparator circuit 29 . A signal 65 indicating the data valid buffer amount from the buffer control unit 2l is input to the other input of the comparison circuit 29 and compared. The signal 66 output from the comparison circuit 29 is used as a set signal for the flip-flop 39, and the signal 84 output from the flip-flop 39 is used as the signal 6 output from the flag register 36 for the chain data flag.
0 and the signal 61 output from the flip-flop 35
The signal 67 is also input to the AND circuit 30, and a signal 67 as a data transfer temporary inhibition signal is sent to the peripheral control device 6.

またフリップフロップ39のリセット端子には転送開始
指示手段23から出力される信号71が入力される。
Further, a signal 71 output from the transfer start instructing means 23 is input to the reset terminal of the flip-flop 39.

バッファ制御部21はデータ転送制御部8と信号52で
接続され、データ転送制御部8とのデータ転送を制御す
る。データは信号50として、セレクタ38を介してデ
ータバッファ22に格納される。データバッファ22に
データがnバイト以上たまると、バッファ制御部2lは
出力する信号70を論理値「l」にする。転送開始指示
手段23はこの信号70を受けると論理値「l」の信号
71を転送制御部24に送るとともに比較回路29を有
効にする信号83を論理値「1」にする。転送制御部2
4はこの信号71を受けることにより、データアウト用
のレジスタ32に対して信号78を出力してデータバッ
ファ22からのデータである信号73の受け取りをセッ
トして、周辺制御装置6とのデータ転送を開始する。
The buffer control section 21 is connected to the data transfer control section 8 via a signal 52, and controls data transfer with the data transfer control section 8. The data is stored in the data buffer 22 via the selector 38 as a signal 50. When more than n bytes of data accumulate in the data buffer 22, the buffer control unit 2l sets the output signal 70 to a logical value "l". When the transfer start instructing means 23 receives this signal 70, it sends a signal 71 with a logic value of "1" to the transfer control unit 24, and also sets a signal 83 for enabling the comparison circuit 29 to a logic value of "1". Transfer control unit 2
4 receives this signal 71, outputs a signal 78 to the data out register 32, sets the reception of the signal 73 which is data from the data buffer 22, and transfers the data with the peripheral control device 6. Start.

より周辺制御装置6とデータ転送を行いバイトカウント
を減らすとともに、転送側のカウンタをアップする。こ
の信号80は信号69によりバッファ制御部21に送ら
れ、バッファの有効データ量をもとめるために使用され
る。
Data is transferred to the peripheral control device 6 to reduce the byte count and increase the counter on the transfer side. This signal 80 is sent to the buffer control unit 21 by a signal 69 and is used to determine the amount of effective data in the buffer.

(b)  出力時、 中断・再開有効用のフリップフロップ35が論理値「1
」、データチェーン用のフラグレジスタ36が論理値「
1」および入力/出力指示用のフラグレジスタ37が論
理値「1」にすなわち出力時には、先行データオーバラ
ン検出用のバイトカウントのレジスタ27には例えば「
4」がセットされ、バイトカウントのレジスタ26には
転送バイトカウントがセットされて転送が開始される。
(b) At the time of output, the flip-flop 35 for enabling suspend/resume has a logic value of "1".
”, the flag register 36 for data chain has the logical value “
1" and the flag register 37 for input/output instruction has a logical value of "1", that is, when outputting, the byte count register 27 for detecting a preceding data overrun contains, for example, "
4'' is set, a transfer byte count is set in the byte count register 26, and transfer is started.

データバッファ22にnバイト以上が格納され、信号7
0が論理値「1」になり、転送開始指示手段23から出
力される信号71を論理値「1」にするとともに信号8
3も論理値「1」にする。転送制御部24はI/Oイン
タフェースとのデータ転送を開始する。通常はメモリ系
の方が転送能力が大なのでデータバッファ22はいつも
一杯であるが、他のチャネルの要求や、演算制御装置3
との主記憶装置競合でメモリリクエストが待たされ、デ
ータが遅れる場合が発生する。このような状態が発生す
ると、データ転送制御部8からのデータが入ってこなく
なり、データバッファ22内の有効データ量が減ってゆ
く。バッファ制御部21からの信号65が論理値「4」
を表示すると、比較回路29により一致がとられ論理値
「1」の信号66を発生すると、フリップフロップ39
が論理値「1」にセットされる。
More than n bytes are stored in the data buffer 22, and the signal 7
0 becomes the logical value "1", and the signal 71 output from the transfer start instructing means 23 becomes the logical value "1", and the signal 8
3 is also set to logical value "1". The transfer control unit 24 starts data transfer with the I/O interface. Normally, the data buffer 22 is always full because the memory system has a larger transfer capacity, but the data buffer 22 is always full.
Memory requests may be forced to wait due to main memory contention with the main memory, resulting in data delays. When such a state occurs, data from the data transfer control unit 8 stops coming in, and the amount of effective data in the data buffer 22 decreases. The signal 65 from the buffer control unit 21 has a logical value of "4"
When the comparison circuit 29 finds a match and generates a signal 66 with a logical value of "1", the flip-flop 39
is set to logical value "1".

そしてフリップフロップ39から出力される信号84に
よりアンド回路30の条件がとられ論理値「1」のデー
タ転送を一時抑止する信号67が周辺制御装置6に送ら
れる。周辺制御装置6ではこの信号67を検出すると、
周辺制御装置6側からの転送要求信号が一時中断する。
Then, the condition of the AND circuit 30 is determined by the signal 84 output from the flip-flop 39, and a signal 67 is sent to the peripheral control device 6 to temporarily inhibit the data transfer of the logical value "1". When the peripheral control device 6 detects this signal 67,
The transfer request signal from the peripheral control device 6 side is temporarily interrupted.

また信号67が論理値「1」になると、高優先要求用の
フリップフロップ40が論理値「1」になり、次のチャ
ネル装置からのデータ転送制御部8に対するデータ転送
要求から高優先要求用の信号85が論理値「1」になっ
て出てゆく。この信号85が論理値「l」になって要求
されると、データ転送制御部8内の優先順位変更手段9
に認識され当該チャネル装置の優先順位をあげる。
Further, when the signal 67 becomes a logical value "1", the flip-flop 40 for high priority requests becomes a logical value "1", and the data transfer request from the next channel device to the data transfer control unit 8 is changed to a high priority request. The signal 85 becomes a logic value "1" and goes out. When this signal 85 becomes a logical value "L" and is requested, the priority change means 9 in the data transfer control section 8
The channel device is recognized by the channel device and its priority level is increased.

またnバイト以上データがたまると転送開始指示手段2
3からの信号71が論理値「1」になり、フリップフロ
ップ39をリセットする。出力される信号84が論理値
「0」になりデータ転送一時抑止用の信号67は論理値
「0」になり再度データ転送が再開される。
In addition, when more than n bytes of data are accumulated, the transfer start instruction means 2
The signal 71 from 3 becomes the logical value "1" and resets the flip-flop 39. The output signal 84 becomes a logic value "0" and the signal 67 for temporarily inhibiting data transfer becomes a logic value "0" and data transfer is restarted again.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、I/Oインタフェース
のデータ転送の中断または再開を有効にする手段と、デ
ータ転送の開始を指示する手段と、データバッファ内の
有効データ量が一定量以下または以上になったことを検
出する先行データオーバラン検出手段と、I/Oインタ
フェースの転送を一時抑止する信号を発生する手段と、
優先度信号を発生する手段とを含むことにより、データ
転送の一時中断および再開を可能にし、データオーバラ
ンを発生させず■/○命令の再試行をせずにデータ転送
を継続でき、処理効率を向上できる効果がある。
As described above, the present invention provides a means for enabling interruption or resumption of data transfer of an I/O interface, a means for instructing the start of data transfer, and a means for instructing the start of data transfer. preceding data overrun detection means for detecting that the above has occurred; means for generating a signal for temporarily inhibiting transfer of the I/O interface;
By including means for generating a priority signal, data transfer can be temporarily interrupted and resumed, and data transfer can be continued without causing a data overrun and without retrying ■/○ instructions, improving processing efficiency. There is an effect that can be improved.

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

第1図は本発明の一実施例によるチャネル装置を示すブ
ロック構或図。 第2図は本発明の一実施例を用いたシステムの一例を示
すブロック構或図。 1・・・システム制御装置、2・・・データ処理装置、
3・・・演算制御装置、4・・・主記憶装置、5、、5
■、5h−1、’5n・・・チャネル装置、6・・・周
辺制御装置、7・・・周辺装置、8・・・データ転送制
御部、9・・・優先順位変更手段、10、l1、121
〜12。、13〜l5・・・信号線、20・・・チャネ
ル制御部、21・・・バッファ制御部、22・・・デー
タバッファ、23・・・転送開始指示手段、24・・・
転送制御部、25・・・I/Oインタフェース制御部、
26、27、31、32・・・レジスタ、28、38・
・・セレクタ、29・・・比較回路、30・・・アンド
回路、33・・・レシーバ、34・・・ドライバー、3
5、39、40・・・フリップフロップ(FF)、36
・・・フラグレジスタ (CD)37・・・フラグレジ
スタ (I N/OUT) 、50〜85・・・信号。
FIG. 1 is a block diagram showing a channel device according to an embodiment of the present invention. FIG. 2 is a block diagram showing an example of a system using an embodiment of the present invention. 1... System control device, 2... Data processing device,
3... Arithmetic control unit, 4... Main storage device, 5, 5
■, 5h-1, '5n... Channel device, 6... Peripheral control device, 7... Peripheral device, 8... Data transfer control unit, 9... Priority change means, 10, l1 , 121
~12. , 13-l5...Signal line, 20...Channel control section, 21...Buffer control section, 22...Data buffer, 23...Transfer start instruction means, 24...
Transfer control unit, 25...I/O interface control unit,
26, 27, 31, 32... register, 28, 38...
...Selector, 29...Comparison circuit, 30...AND circuit, 33...Receiver, 34...Driver, 3
5, 39, 40...Flip-flop (FF), 36
...Flag register (CD) 37...Flag register (IN/OUT), 50-85...Signal.

Claims (1)

【特許請求の範囲】 1、データ転送の制御を行うデータ転送制御部と、デー
タバッファを含む複数のチャネル装置とを備え主記憶装
置と周辺装置との間のデータ転送を行うデータ処理装置
において、 前記データ転送制御部は、転送データの優先順位の変更
を行う優先順位変更手段を含み、 前記チャネル装置は、前記周辺装置とのデータ転送の中
断または再開を有効にする有効指示手段と、データ転送
の開始を指示する転送開始指示手段と、前記優先順位変
更手段に対して優先順位信号を送出する優先順位信号発
生手段と、前記データバッファ内の有効データ量が一定
量以下または以上になったことを検出する先行データの
オーバラン検出手段と、このオーバラン検出手段の検出
結果に対応して前記周辺装置とのデータ転送を一時抑止
する制御信号を前記優先順位信号発生手段および前記周
辺装置に対して送出する転送抑止手段とを含む ことを特徴とするデータ処理装置。
[Scope of Claims] 1. A data processing device that transfers data between a main storage device and a peripheral device, which includes a data transfer control unit that controls data transfer, and a plurality of channel devices including data buffers, The data transfer control unit includes a priority change unit that changes the priority of transfer data, and the channel device includes an enable instruction unit that enables interruption or resumption of data transfer with the peripheral device, and a data transfer control unit that changes the priority of transfer data. transfer start instructing means for instructing the start of transfer; priority signal generating means for sending a priority signal to the priority changing means; a preceding data overrun detection means for detecting the overrun detection means; and, corresponding to the detection result of the overrun detection means, sending a control signal for temporarily inhibiting data transfer with the peripheral device to the priority signal generation means and the peripheral device; A data processing device comprising a transfer inhibiting means.
JP19511889A 1989-07-26 1989-07-26 Data processor Pending JPH0358158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19511889A JPH0358158A (en) 1989-07-26 1989-07-26 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19511889A JPH0358158A (en) 1989-07-26 1989-07-26 Data processor

Publications (1)

Publication Number Publication Date
JPH0358158A true JPH0358158A (en) 1991-03-13

Family

ID=16335796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19511889A Pending JPH0358158A (en) 1989-07-26 1989-07-26 Data processor

Country Status (1)

Country Link
JP (1) JPH0358158A (en)

Similar Documents

Publication Publication Date Title
EP0464615B1 (en) Microcomputer equipped with DMA controller
US4930068A (en) Data processor having different interrupt processing modes
US5469577A (en) Providing alternate bus master with multiple cycles of bursting access to local bus in a dual bus system including a processor local bus and a device communications bus
JP2978539B2 (en) Data transfer control device
US6560657B1 (en) System and method for controlling peripheral devices
US6581119B1 (en) Interrupt controller and a microcomputer incorporating this controller
US5619687A (en) Queue system having a time-out feature and method therefor
JPH0358158A (en) Data processor
JP2643931B2 (en) Information processing device
JPS6290728A (en) Interruption processing method
JPH0414376B2 (en)
JP4592944B2 (en) CPU interface circuit
JPH02207364A (en) Data transfer system
JPH03266158A (en) Channel device
JP2615677B2 (en) Shared extended storage control method
JPS63118949A (en) Information processor
JPH0635834A (en) Channel device
JP2581558B2 (en) Distributed processing system
JP2798107B2 (en) Data transfer method
JPH06161891A (en) Computer system and cache control method for cache control means
JP2871171B2 (en) Microcomputer
JP2747154B2 (en) I / O processor
JPH09218859A (en) Multiprocessor control system
JPS62219146A (en) Processor with bus cycle interrupting function
JPH04316149A (en) Dma processor and information processor