JPS59226933A - Communication controller - Google Patents
Communication controllerInfo
- Publication number
- JPS59226933A JPS59226933A JP58100805A JP10080583A JPS59226933A JP S59226933 A JPS59226933 A JP S59226933A JP 58100805 A JP58100805 A JP 58100805A JP 10080583 A JP10080583 A JP 10080583A JP S59226933 A JPS59226933 A JP S59226933A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- address
- processing device
- control device
- communication control
- 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
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
- Computer And Data Communications (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、複数のプロセッサ間の通信を制御する通信制
御装置の切咎カ法に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a control method for a communication control device that controls communication between a plurality of processors.
従来の通信制御装置は、一般に通信要求源である個々の
処理装置の指令により起動され、先ず処理装置にく(り
つけの記憶装置の固定アドレスaから通信制御情報格納
アドレス情報すを読みこみ、通信制御装置内に記憶する
。次に個々の処理装置のアドレスbを読みこみ、例えば
最上位ピッ)[”1”がある賜金は通信要求があるもの
として、送信データ数、受信装置番号、送信データの格
納アドレスなどの通信制御情報を入力し、通信を実行す
る。最後にアドレスbの最上位ビットを0”に変え通信
の終了を処理装置に通知する。次の通信はアドレスb+
2をルックインし上記と同様の手順を行Yx ウという
ものであった。A conventional communication control device is generally activated by a command from an individual processing device that is a communication request source, and first reads communication control information storage address information from a fixed address a of an attached storage device to the processing device. Stored in the communication control device.Next, read the address b of each processing device, e.g. Input communication control information such as data storage address and execute communication. Finally, the most significant bit of address b is changed to 0'' and the processing unit is notified of the end of communication.The next communication will be at address b+
Look in 2 and perform the same procedure as above.
このため−現用の通信制御装置が障害となり、通信制御
装置を切替え、歪ためには一システムの管理を司どる親
処理装置の指令を受け、各処理装置が再び前述した通信
起動命令を実行しなげればならない。Therefore, if the current communication control device becomes a failure and the communication control device is switched, each processing device must execute the above-mentioned communication activation command again in response to a command from the parent processing device that manages the system. I have to throw it.
一般に、処理装置の数は多く、また通信の種類も多数あ
るため、本動作は長時間の通信停止を意味し、システム
の性能に好ましく rxい影響を与えるばかりでなく、
従来のシステムでは、一般に処理装置から2つの通信制
御装置への通信路に対し接続するか否かの論理を設け、
処理装置の障害が他の装置へ波及することを防ぐと同時
に、障害となった一力の通信路から処理装置に対する妨
害を防止する機能を持たせており、この論理は処理装置
自身かあるいは、親処理装置からの直接制御のみで制御
していた。このため、親処理装置は、すべての処理装置
の通信路論理を通信制御装置の切替に際し制御する必要
があり、親処理装置のプログラムが犬ぎくなるという問
題かあった。In general, since there are many processing devices and many types of communication, this operation means a long communication outage, which not only has a negative impact on system performance, but also has a negative impact on system performance.
In conventional systems, logic is generally provided to determine whether or not to connect a communication path from a processing device to two communication control devices.
It has the function of preventing a failure in the processing device from spreading to other devices, and at the same time, preventing interference to the processing device from the single communication path that caused the failure.This logic is based on the processing device itself or It was controlled only by direct control from the parent processing unit. For this reason, the parent processing device is required to control the communication path logic of all the processing devices when switching the communication control device, and there is a problem that the program of the parent processing device becomes clumsy.
本発明の目的は、上記した従来技術の欠点をなくし、親
処理装置の指令により、すみやかに通信制御装置の切替
が行なえろ切替方式を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks of the prior art and to provide a switching system that allows communication control devices to be quickly switched in response to instructions from a parent processing device.
本発明では、通信制御装置の切替を簡単とするため、親
処理装置からの切替司令に基づき通信制御装置自身が、
個々の処理装置の通信路制御論理を切替えろとともに、
個々の処理装置内にすべての通信制御情報を保持し、あ
らかじめ処理装置のプログラム間で固定したアドレスに
格納した通信制御情報の先頭番地を抗みとり、新規の通
信制御装置内に旧通信制#装置と同様の状態な構築する
という方法を採った。In the present invention, in order to easily switch the communication control device, the communication control device itself performs the following operations based on the switching command from the parent processing device.
In addition to switching the communication path control logic of each processing device,
All communication control information is retained in each processing device, and the first address of the communication control information stored in the address fixed between the processing device programs is stored in the new communication control device. We adopted the method of constructing a system in a similar state.
以下図面を用いて本発明の具体的実施例について駅1明
する。Hereinafter, specific embodiments of the present invention will be explained with reference to the drawings.
矛1図は、本発明を適用するシステムの一ブロック図を
示す。Figure 1 shows a block diagram of a system to which the present invention is applied.
本例では、6台の処理装置11,12. ・・・。In this example, six processing devices 11, 12 . ....
16と2台の通信制御装置21.22があり、処理装置
は、それぞれ2つの通信制御装置21゜22と通信路を
持っている。There are 16 and 2 communication control devices 21 and 22, and each processing device has a communication path with each of the two communication control devices 21 and 22.
矛2図は、通信路制御論理の説明[F]で−2つの通信
路す1. す2にそれぞれ、出力ゲート113,116
入力ゲート114,115′!a:’介して接続してい
る。111ば、通信路制御フリップフロップ112の切
替回路で、通信路す1から、信号C1を°“1”として
入力されたコマンドを解釈してフリツブフ0.7プ11
2をセットし入出力ゲート113゜114を付勢し、通
信路≠1と処理装置を接続する。このとぎ入出力ゲート
116.117はフリップフロップ112のQ出力が1
01となるので閉じられている。通信路≠2の場合は一
信号C2を′”1″として、コマンドを入力することに
よって処理装置と通信路を同様にして接続できる。また
信号A、Bは処理装置自身がフリップフロップ112を
制御するためのものである。Figure 2 shows the explanation [F] of the communication channel control logic - two communication channels 1. output gates 113 and 116 in
Input gates 114, 115'! a: Connected via '. 111, the switching circuit of the communication channel control flip-flop 112 interprets the input command from the communication channel S1 by setting the signal C1 to "1" and converts the flip-flop 0.7 to
2 is set, the input/output gates 113 and 114 are energized, and the communication path≠1 is connected to the processing device. The input/output gates 116 and 117 have a Q output of the flip-flop 112 of 1.
01, so it is closed. If the communication path≠2, the processing device and the communication path can be connected in the same way by setting the signal C2 to ``1'' and inputting a command. Further, signals A and B are used by the processing device itself to control the flip-flop 112.
牙6図は、本発明によろ一実施例の通信制御装置の制御
語を示したもので、A番地には、情報おかあり一各種通
イaの制御語の格納番地テーブルの先頭番地を示してい
る。Figure 6 shows the control words of the communication control device according to one embodiment of the present invention, and the address A indicates the first address of the storage address table of the control words of the information storage system A. ing.
B番地には、ビット情報011011があり通信制御装
置がサポートする6種の通信のうち4種の通信を使用す
ることが示されて℃・ろ。またそれぞれの通信の制御語
の先頭番地が以下。At address B, there is bit information 011011 indicating that 4 types of communication out of 6 types supported by the communication control device will be used. The starting addresses of the control words for each communication are as follows.
順に格納されている。stored in order.
C番地以下は、本発明による通信制御装置が有する通信
機能のうち受信装置指定通信の制御語である。D番地か
らは受信装置範囲指定通信の制御語が、E番地からは一
受1ぎ装置指定通信の受信側制御語が、ド番地かll−
)は、受信装置範囲指定通信の受信側制御語が格納され
ている。The following are control words for receiving device designated communication among the communication functions possessed by the communication control device according to the present invention. From address D, the control word for receiving device range specification communication is sent, and from address E, the receiving side control word for first receiving device specification communication is sent from address D or ll-.
) stores the receiving side control word for the receiving device range specification communication.
さて、以下本実施例によるシステムのa常の通信を受信
装置指定通信を例にとり説明した0)ち、通信制御装置
の切替え動作を説明する。Now, the regular communication of the system according to this embodiment has been explained by taking the receiving device designated communication as an example.0) Next, the switching operation of the communication control device will be explained.
(1)通信の起動 通信の起動は、従来と同様、処理装
置11〜16から行ってもよいし、又、例えば親処理装
置11から行なってもよい。(1) Activation of Communication Communication activation may be performed from the processing devices 11 to 16 as in the conventional case, or may be performed from the parent processing device 11, for example.
今処理装置12から通信制御装置21に対し起動したと
すると、通信制御装置21は、アドレスBをシステム固
定番地(通信制御装置21に与えたA番地でな℃・固定
アドレス)から読みとり、つづいてB番地をアクセスし
、処理装置12が行う通信種別を知り通信制御装置内に
記憶する。次にB番地のピント情報’011011’か
ら各通信種別の制御語先頭アドレスを(B番地’) +
(1’のあるピント位fか)+1で求めB十1番地か
らアドレスCをB+2番地からアドレスDを、B+4番
地からアドレスEを、B+5番地からアドレスFを読み
、通信制御装置内に格納して一起動の終了を報告する。If the processing device 12 now activates the communication control device 21, the communication control device 21 reads address B from the system fixed address (address A given to the communication control device 21, fixed address), and then It accesses address B, learns the type of communication performed by the processing device 12, and stores it in the communication control device. Next, from the focus information '011011' of address B, find the control word start address of each communication type (address B') +
(Is the focus position f with 1'?) Find it by +1 and read the address C from B11, the address D from B+2, the address E from B+4, and the address F from B+5, and store them in the communication control device. to report the completion of one startup.
(2)通信 通信は一周期的に、各通信種別の制御語を
処理装置毎にル・ツクインして行なう。例えば受信装置
指定通信の場合、処理装置12のC番地を読み、送信要
求を示す最上位ビットが“1°のとぎ通信を行なう。今
の例では一最上位ビットが11゛なのでaEN、(例え
ば処理装置16)、WClを読み、C千1番地から送信
データの先頭静地01を読み通信を開始する。(2) Communication Communication is carried out by periodically reading in the control words of each communication type for each processing device. For example, in the case of receiving device specified communication, the C address of the processing device 12 is read, and the most significant bit indicating the transmission request is “1°”. In this example, the most significant bit is 11°, so aEN, The processing device 16) reads WCl, reads the first static line 01 of the transmission data from address C111, and starts communication.
処理装置*16には、処理装置12のE番地に対応する
ところに受信制御語が格納されて忘り、最上位ビットが
IQIで受信許可である。アドレスE1に対応する番地
に受信データが格納され最−ヒ位ビットか′O“→゛1
1とするとともに、処理装置12のC番地の最上位ビッ
トを□→゛0“に俊え通信の終了を示す。In the processing device *16, a reception control word is stored in a location corresponding to address E of the processing device 12, and the most significant bit is IQI, indicating reception permission. The received data is stored at the address corresponding to address E1, and the most significant bit is 'O''→゛1
1, and the most significant bit of address C of the processing device 12 is changed from □ to ``0'' to indicate the end of communication.
その後も、順次−制御語をルックインし、C千4番地で
は、最上位の1つ下位ピントが11であることを検出し
てルックインする番地を次はC番地とする動作を行なう
。これによって制御語は無限につT、Cがっていること
になる。Thereafter, the control words are sequentially looked in, and at address C, it is detected that the next lower focus of the highest order is 11, and the next address to be looked in is set to address C. This means that the control words are infinitely connected by T and C.
さて、現用の通信制#装置が障害となり、通信制御装置
の切替命令が親処理装置11から出される。このとぎ新
しい通信制御装置22は、親処理装置11のシステム固
定番地(通信制御装置22に与えられた固定アドレス)
から処理装置11〜16のそれぞれの制御語テーブル先
頭アドレスを格納する番地であるアドレスAを読みとり
、処理装置11〜16に対し、通信路の切替えコマンド
を出しながら前述の通信起動動作と同様に動作を行なう
。通信路の切替コマンドの受付線C2は、親処理装置1
1から出されている。通1ぎ制御装置22内に一通信制
#装置21と同様の制御情報が形成されることは明らか
である。Now, the currently used communication control device becomes a failure, and a communication control device switching command is issued from the parent processing device 11. This new communication control device 22 is located at the system fixed address of the parent processing device 11 (the fixed address given to the communication control device 22).
Read address A, which is the address where the control word table start address of each of the processing devices 11 to 16 is stored, from , and operate in the same manner as the communication activation operation described above while issuing a command to switch the communication path to the processing devices 11 to 16. Do the following. The reception line C2 for the communication path switching command is the parent processing device 1.
It is issued from 1. It is clear that the same control information as that of the single communication system # device 21 is formed in the communication control device 22.
また、通信制御装置22は動作終了を、親処理装置11
に通知し親処理装置11は二通信路の切替コマンドの受
付線C2をオフする。各種通信の制御語の次アクセスア
ドレスは、最上位ビットが101→111(送信)1→
10I(受信)となるポイントにより自動的に算出する
ことができ、このポイントがない場合は、制御語テーブ
ルに示すワ、たアドレスを次アクセスアドレスとすれば
よい。The communication control device 22 also indicates the end of the operation to the parent processing device 11.
The parent processing device 11 turns off the reception line C2 for the two communication channel switching command. The next access address of the control word for various communications has the most significant bit as 101 → 111 (transmission) 1 →
It can be automatically calculated based on the point of 10I (reception), and if this point is not available, the address shown in the control word table may be used as the next access address.
本発明により、親処理装置は、個々の処理装置に対し通
信路の切替指定、通信制御情報の登録依頼を行なわなく
てよく、通信制御装置の切替が簡単に行なえろ。According to the present invention, the parent processing device does not have to specify communication path switching or request registration of communication control information to each processing device, and can easily switch communication control devices.
また個々の処理装置に、通信制御装置の切替えを知らな
いでよく、システムの機能分割が単純となる。Furthermore, it is not necessary for each processing device to know about the switching of the communication control device, which simplifies the functional division of the system.
矛1図は、本発明を過片するシステムの一実施例のブロ
ック図−
矛2図は、通信路制御論理の説明図1
.31’ 3図は、本発明の実施例の通信制御装置の制
御語の説明図である。
11・・・親処理装置、12・・処理装a−21・・・
通信制御装置。
代理人弁理士 高 橋 明 夫。
才l閃
才2門
才3図Figure 1 is a block diagram of an embodiment of a system embodying the present invention. Figure 2 is an explanatory diagram of communication channel control logic. 31' FIG. 3 is an explanatory diagram of control words of the communication control device according to the embodiment of the present invention. 11... Parent processing device, 12... Processing device a-21...
Communication control device. Representative patent attorney Akio Takahashi. Talented, Ingenious, 2nd Talented, 3rd
Claims (1)
記通信制御装置は、それぞれ前記複数の処理装置と通信
路を有し、前記処理装置の1台を前記通信制御装置の現
用系を指示する権限を有する親処理装置とするンステム
において、前記曲信制御装置が具備する複数の通信機能
の制御語列の先頭アドレス群の先頭アドレスまたは、先
頭アドレスを格納する記憶装置を指定する手段と、制御
語列の中から未終了制御語を検出する手段を有すること
を特徴とする通信制御装置。The communication control device includes a plurality of processing devices and a redundant communication control device, each of which has a communication path with the plurality of processing devices, and one of the processing devices is connected to the active system of the communication control device. means for specifying a first address of a first address group of a control word string of a plurality of communication functions included in the music signal control device or a storage device for storing the first address, in the system as a parent processing device having the authority to give instructions; , a communication control device comprising means for detecting an unfinished control word from a control word string.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58100805A JPS59226933A (en) | 1983-06-08 | 1983-06-08 | Communication controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58100805A JPS59226933A (en) | 1983-06-08 | 1983-06-08 | Communication controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59226933A true JPS59226933A (en) | 1984-12-20 |
Family
ID=14283595
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58100805A Pending JPS59226933A (en) | 1983-06-08 | 1983-06-08 | Communication controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59226933A (en) |
-
1983
- 1983-06-08 JP JP58100805A patent/JPS59226933A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0581942B2 (en) | ||
JPS59226933A (en) | Communication controller | |
JP3105029B2 (en) | Redundant controller | |
JPS6027421B2 (en) | Multi-system monitoring and control method | |
JPS6041766B2 (en) | microprogram controller | |
KR100244681B1 (en) | System for controlling multiple motor of robot and commumication method of the system | |
KR930007468B1 (en) | Input/output matching method for a large method | |
JPS6222516B2 (en) | ||
JP3595131B2 (en) | Plant control system | |
JPS638500B2 (en) | ||
JPS60153556A (en) | Common memory device | |
JPH0157376B2 (en) | ||
JPS61134859A (en) | Backup controlling system of memory | |
JPH02201559A (en) | Hierarchical memory controller | |
JPH0675793A (en) | Processing method for transmitting and receiving data between virtual computers | |
JPH06149728A (en) | I/o bus extension device and its control method | |
JPH04330541A (en) | Common data transfer system | |
JPS63158650A (en) | Information processor | |
JPH01175013A (en) | Power supply control system | |
JPH0445870B2 (en) | ||
JPH0528859B2 (en) | ||
JPS5990150A (en) | Double structure method of input and output device | |
JPH0256695B2 (en) | ||
JPS61160150A (en) | Duplex system | |
JPS638501B2 (en) |