JPH0535665A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH0535665A
JPH0535665A JP21476091A JP21476091A JPH0535665A JP H0535665 A JPH0535665 A JP H0535665A JP 21476091 A JP21476091 A JP 21476091A JP 21476091 A JP21476091 A JP 21476091A JP H0535665 A JPH0535665 A JP H0535665A
Authority
JP
Japan
Prior art keywords
external input
central processing
data transfer
output
control circuit
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
JP21476091A
Other languages
Japanese (ja)
Inventor
Eiji Kito
英二 鬼頭
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 JP21476091A priority Critical patent/JPH0535665A/en
Publication of JPH0535665A publication Critical patent/JPH0535665A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the processing and to improve the processing speed by lessening the processing in a central processing part when data are transferred from the central processing part to two external input output parts. CONSTITUTION:At the time of the data transfer between a central processing part 1 and two external input output parts 2 and 3, operation control circuits 23 and 33 to detect the condition of the self- and other external input output parts are provided in respective external input output parts, an operation signal is selectively outputted to the shared memory control circuit of respective external input output parts based on the detected result of the operation control circuit and the shared memory of respective external input output parts is selected.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は外部装置との間でデータ
通信を行う中央処理装置に関し、特に中央処理部から外
部入出力部へのデータ転送方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a central processing unit for performing data communication with an external device, and more particularly to a data transfer system from a central processing unit to an external input / output unit.

【0002】[0002]

【従来の技術】従来、中央処理装置から外部装置にデー
タを送信するデータ転送において、外部装置に二重系統
の外部入出力部を有する場合には、各外部入出力部にデ
ータ転送のための共有メモリを設けるとともに、これら
共有メモリを別アドレスとし、そのアドレスを指定して
共有メモリを選択する方式がとられている。この場合、
各共有メモリを選択するために、中央処理部では外部入
出力部の状態や負荷状態を判断することでソフトウェア
によって2つの外部入出力部のいずれを使用するかを判
断して決定していた。
2. Description of the Related Art Conventionally, in a data transfer for transmitting data from a central processing unit to an external device, when the external device has a dual system external input / output unit, each external input / output unit is used for data transfer. A method is adopted in which shared memories are provided, these shared memories are used as different addresses, and the shared memories are selected to select the shared memory. in this case,
In order to select each shared memory, the central processing unit determines the state or load state of the external input / output unit to determine which of the two external input / output units to use by software.

【0003】[0003]

【発明が解決しようとする課題】このような従来の外部
入出力部へのデータ転送方式では、中央処理部ではソフ
トウェアによって使用する入出力部を決定していたた
め、ソフトウェアの判断分岐が増加し、中央処理部の処
理が増大して処理の複雑化を生じるとともに、処理速度
の低下を招くという問題がある。本発明の目的は、中央
処理部の処理を軽減し、処理の簡略化と処理速度の向上
を図ったデータ転送方式を提供することにある。
In such a conventional data transfer method to an external input / output unit, since the central processing unit determines the input / output unit to be used by software, the number of decision branches of software increases, There is a problem that the processing of the central processing unit increases and the processing becomes complicated, and the processing speed decreases. An object of the present invention is to provide a data transfer system that reduces the processing of the central processing unit, simplifies the processing, and improves the processing speed.

【0004】[0004]

【課題を解決するための手段】本発明のデータ転送方式
は、中央処理部からデータが転送される2つの外部入出
力部に、自己及び他方の外部入出力部の状態を検出する
動作制御回路を備えており、この動作制御回路の検出結
果に基づいて各外部入出力部の共有メモリ制御回路に選
択的に動作信号を出力するように構成する。
According to the data transfer method of the present invention, an operation control circuit for detecting the states of self and the other external input / output unit is provided in two external input / output units to which data is transferred from a central processing unit. And is configured to selectively output an operation signal to the shared memory control circuit of each external input / output unit based on the detection result of this operation control circuit.

【0005】[0005]

【作用】本発明によれば、動作制御回路が2つの外部入
出力部の状態を検出し、この検出結果に基づいて各外部
入出力部の共有メモリを選択し、データ転送を実行す
る。
According to the present invention, the operation control circuit detects the states of the two external input / output units, selects the shared memory of each external input / output unit based on the detection result, and executes the data transfer.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例の構成を示すブロック図で
ある。中央処理装置の中央処理部1と、外部装置の2つ
の外部入出力部2,3とは共有バス4を介して接続され
る。外部入出力部2及び3は同一の構成であり、中央処
理部1からのデータが書き込まれる共有メモリ21,3
1と、共有バス4のアドレス上位と自己アドレスを比較
して一致しており、かつ自己が動作状態である場合に共
有メモリ21,31に選択信号を出力する共有メモリ制
御回路22,32と、他方の外部入出力部との間でアド
レスの排他制御を行い共有メモリ制御回路に動作信号を
出力する動作制御回路23,33とで構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. The central processing unit 1 of the central processing unit and the two external input / output units 2 and 3 of the external device are connected via a shared bus 4. The external input / output units 2 and 3 have the same configuration, and the shared memories 21 and 3 in which the data from the central processing unit 1 are written.
1 and the shared memory control circuits 22 and 32 that output the selection signal to the shared memories 21 and 31 when the higher address of the shared bus 4 and the self address are compared and coincide with each other, and the self is in an operating state. It is composed of operation control circuits 23 and 33 that perform exclusive control of addresses with the other external input / output unit and output operation signals to the shared memory control circuit.

【0007】ここで、各動作制御回路23,33は相互
に信号を入出力可能に構成し、各外部入出力部2,3の
動作状態の診断を行い、この結果に基づいて共有メモリ
制御回路22,32に動作信号を出力するようにしてい
る。例えば外部入出力部2の動作制御回路23は、外部
入出力部2の異常診断を行い、異常がなくかつ外部入出
力部3の動作制御回路31が動作状態でない場合に動作
信号を出力し、中央処理部1からの切替指令により外部
入出力部が共に異常のない場合に動作状態を切り替える
ことができる。
Here, the operation control circuits 23 and 33 are configured to be able to input and output signals to each other, diagnose the operation state of each external input / output unit 2 and 3, and based on the result, the shared memory control circuit. An operation signal is output to 22 and 32. For example, the operation control circuit 23 of the external input / output unit 2 performs an abnormality diagnosis of the external input / output unit 2, outputs an operation signal when there is no abnormality and the operation control circuit 31 of the external input / output unit 3 is not in the operating state, By the switching command from the central processing unit 1, the operating state can be switched when both external input / output units are normal.

【0008】以上の構成におけるデータ転送動作を図2
のフローチャートを用いて説明する。初期状態は外部入
出力部2が動作状態(201)、外部入出力部3が非動
作状態(301)であり、中央処理部1からの共有メモ
リデータ転送(101)は外部入出力部2に対して行わ
れ、外部入出力部2から外部へデータ送信が行われる
(202)。共有メモリデータ転送が終了後、中央処理
部1から動作状態切替指令が行われ(102)、外部入
出力部2が非動作状態(203)、外部入出力部3が動
作状態(302)となり、次の中央処理部1からの共有
メモリデータ転送(103)は外部入出力部3に対して
行われ、外部入出力部3から外部へデータ送信が行われ
る(303)。
The data transfer operation in the above configuration is shown in FIG.
This will be described with reference to the flowchart of. In the initial state, the external input / output unit 2 is in the operating state (201), the external input / output unit 3 is in the non-operating state (301), and the shared memory data transfer (101) from the central processing unit 1 is to the external input / output unit 2. Then, data is transmitted from the external input / output unit 2 to the outside (202). After the shared memory data transfer is completed, the central processing unit 1 issues an operation state switching command (102), the external input / output unit 2 becomes non-operational state (203), and the external input / output unit 3 becomes operational state (302). The next shared memory data transfer (103) from the central processing unit 1 is performed to the external input / output unit 3, and data is transmitted from the external input / output unit 3 to the outside (303).

【0009】[0009]

【発明の効果】以上説明したように本発明は、2つの外
部入出力部に設けた動作制御回路が各外部入出力部の状
態を検出し、この検出結果に基づいて各外部入出力部の
共有メモリを選択してデータ転送を実行するので、中央
処理部が判断を行うこと無く、2つの外部入出力部を選
択することができ、中央処理部の処理が軽減できるとい
う効果が得られる。
As described above, according to the present invention, the operation control circuits provided in the two external input / output sections detect the states of the external input / output sections, and based on the detection results, the external input / output sections of the respective external input / output sections are detected. Since the shared memory is selected and the data transfer is executed, it is possible to select two external input / output units without the central processing unit making a determination, and it is possible to reduce the processing of the central processing unit.

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

【図1】本発明のデータ転送方式を実行するデータ転送
構成のブロック図である。
FIG. 1 is a block diagram of a data transfer configuration for executing a data transfer method of the present invention.

【図2】本発明のデータ転送方式を示すフローチャート
である。
FIG. 2 is a flowchart showing a data transfer system of the present invention.

【符号の説明】[Explanation of symbols]

1 中央処理部 2,3 外部入出力部 21,31 共有メモリ 22,32 共有メモリ制御回路 23,33 動作制御回路 1 Central Processing Unit 2, 3 External Input / Output Unit 21, 31 Shared Memory 22, 32 Shared Memory Control Circuit 23, 33 Operation Control Circuit

Claims (1)

【特許請求の範囲】 【請求項1】 中央処理部と2つの外部入出力部が共有
バスにより接続され、各外部入出力部に設けた共有メモ
リを選択してデータの転送を行うデータ転送方式におい
て、前記各外部入出力部には自己及び他方の外部入出力
部の状態を検出する動作制御回路を備え、この動作制御
回路の検出結果に基づいて各外部入出力部の共有メモリ
制御回路に選択的に動作信号を出力するようにしたこと
を特徴とするデータ転送方式。
Claim: What is claimed is: 1. A data transfer system in which a central processing unit and two external input / output units are connected by a shared bus, and a shared memory provided in each external input / output unit is selected to transfer data. In the above, each of the external input / output units is provided with an operation control circuit that detects the state of self and the other external input / output unit, and based on the detection result of this operation control circuit, the shared memory control circuit of each external input / output unit is A data transfer method characterized in that an operation signal is selectively output.
JP21476091A 1991-07-31 1991-07-31 Data transfer system Pending JPH0535665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21476091A JPH0535665A (en) 1991-07-31 1991-07-31 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21476091A JPH0535665A (en) 1991-07-31 1991-07-31 Data transfer system

Publications (1)

Publication Number Publication Date
JPH0535665A true JPH0535665A (en) 1993-02-12

Family

ID=16661095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21476091A Pending JPH0535665A (en) 1991-07-31 1991-07-31 Data transfer system

Country Status (1)

Country Link
JP (1) JPH0535665A (en)

Similar Documents

Publication Publication Date Title
JPH0535665A (en) Data transfer system
US6381714B1 (en) Error detection method, error detection apparatus, and network system
JPH0537421A (en) Method and device for switching transmission line
US6629262B1 (en) Multiplexed storage controlling device
JP2776679B2 (en) Information processing system
KR0184154B1 (en) One chip micro-computer unit
KR100281121B1 (en) Microprocessor
JP3008914B2 (en) Semiconductor integrated circuit
JPH05173876A (en) Extended memory board
JPH02173852A (en) Bus diagnostic device
JP2708366B2 (en) Data processing system and auxiliary control device
JP2754700B2 (en) I / O device
JP2000347885A (en) Duplex process controller
JPH0528006A (en) Microprocessor monitoring circuit
JPS60221842A (en) Fault diagnosing circuit of logical device
JPH03126149A (en) Bus system diagnostic system
JPH0695767A (en) Power source control system
JPH0612340A (en) Memory circuit
JPH04367964A (en) Multi-processor system
JPH03260844A (en) Diagnostic control system
JPH04302333A (en) Data processor
JPH04354001A (en) Redundancy controller
JPH0667771A (en) Switchover control system
JPH06161911A (en) Data transfer system
JPS6230558B2 (en)