JPH0683190B2 - Redundant communication controller - Google Patents

Redundant communication controller

Info

Publication number
JPH0683190B2
JPH0683190B2 JP63247911A JP24791188A JPH0683190B2 JP H0683190 B2 JPH0683190 B2 JP H0683190B2 JP 63247911 A JP63247911 A JP 63247911A JP 24791188 A JP24791188 A JP 24791188A JP H0683190 B2 JPH0683190 B2 JP H0683190B2
Authority
JP
Japan
Prior art keywords
communication
connection information
medium
communication medium
abnormality
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
Application number
JP63247911A
Other languages
Japanese (ja)
Other versions
JPH0295040A (en
Inventor
公二 出町
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP63247911A priority Critical patent/JPH0683190B2/en
Publication of JPH0295040A publication Critical patent/JPH0295040A/en
Publication of JPH0683190B2 publication Critical patent/JPH0683190B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、二重化通信制御装置に関する。The present invention relates to a duplex communication control device.

(従来の技術) 従来の二重化通信制御装置には、二重化された2つの通
信媒体に対して1つの媒体アクセス制御機能を有するも
のがあった。このようなものでは、二重化された通信媒
体のうち片方の断線等の異常を検出する手段として、2
局間の通信で片方の通信媒体では正常に通信できず、他
方の通信媒体で正常に通信できる場合に、片方の通信媒
体が異常であると判断する方法を用いていた。
(Prior Art) Some conventional duplex communication control devices have one medium access control function for two duplex communication media. In such a case, as means for detecting an abnormality such as disconnection of one of the duplicated communication media,
In the communication between stations, when one communication medium cannot be normally communicated and the other communication medium is normally communicable, one communication medium is determined to be abnormal.

(発明が解決しようとする課題) 以上のような方法では2局間の通信により異常を検出し
ているため、全ての通信局が片方の通信媒体の異常を検
出できるとは限らない。このことは、1:1の通信の場合
ではなく、N:Nの通信を行う場合に特に問題となる。
(Problems to be Solved by the Invention) In the above method, since the abnormality is detected by the communication between the two stations, not all the communication stations can detect the abnormality of one communication medium. This is especially a problem when performing N: N communication, not when performing 1: 1 communication.

このような問題点を解決するために、異常を検出した通
信局は、同報通信により全ての通信局に異常を伝える通
信システムがあった。しかし、従来の通信システムでは
異常を知らせる同報通信は異常を検出したときだけしか
送られなかった。このため、既に片方の通信媒体の異常
が検出されており、その同報通信が行われた後に、新た
な通信局がその通信系に加えられた場合、その通信局は
異常に気付かないといった不具合が生じる。
In order to solve such a problem, there is a communication system in which a communication station that has detected an abnormality reports the abnormality to all communication stations by broadcast communication. However, in the conventional communication system, the broadcast communication to inform the abnormality is sent only when the abnormality is detected. Therefore, if an abnormality in one of the communication media is already detected and a new communication station is added to the communication system after the broadcast communication is performed, the communication station does not notice the abnormality. Occurs.

本発明は上記した問題点を解決するためになされたもの
であり、全ての通信局から2つの通信媒体に一定周期で
同報通信を行うことによって、通信媒体のどの箇所に異
常が検出されている場合であっても、新たに加入した通
信局は通信媒体の異常を認識できる二重化通信制御装置
を実現することを目的とする。
The present invention has been made to solve the above-mentioned problems, and by performing broadcast communication from all communication stations to two communication media at a constant cycle, an abnormality is detected in which part of the communication media. Even if it is present, the newly added communication station aims to realize a duplicated communication control device that can recognize an abnormality in the communication medium.

(課題を解決するための手段) 本発明は、 二重化された2つの通信媒体に接続される二重化通信制
御装置であって、 通信媒体毎に設けられていて、それぞれの通信媒体への
アクセス制御を行う媒体アクセス制御部と、 通信媒体毎に設けられていて、一定同期で通信媒体に同
報通信を行って自己の装置が通信媒体に接続されている
かいないかを他の装置に伝える同報通信部と、 2つの通信媒体を介して他の装置から送信されてくる同
報通信を受け、受けた同報通信の内容から、他の全装置
について通信媒体に接続されているかいないかを示す接
続情報テーブルを2つの通信媒体についてそれぞれ生成
し、生成した2つの接続情報テーブルを一定周期毎に再
生成し、再生成した接続情報テーブル及び再生成される
直前の接続情報テーブルを保持する接続情報生成部と、 前記再生成した接続情報テーブルと再生成される直前の
接続情報テーブルの比較、及び、2つの通信媒体につい
て生成した接続情報テーブルどうしの比較を一定周期毎
に行い、比較結果から通信媒体の異常を検出する通信媒
体異常検出部と、 この通信媒体異常検出部での検出結果に基づいて正常な
通信媒体を選択して通信を行うよう制御する通信媒体選
択部と、 を有することを特徴とする二重化通信制御装置である。
(Means for Solving the Problem) The present invention is a duplex communication control device connected to two duplex communication media, which is provided for each communication medium and controls access to each communication medium. A media access control unit that performs the broadcast communication, which is provided for each communication medium and broadcasts to the communication medium in a constant synchronization to notify other devices whether or not their own device is connected to the communication medium. Section and a connection that indicates whether or not all other devices are connected to the communication medium based on the contents of the received broadcast communication received from the other device via two communication media. An information table is generated for each of the two communication media, the two generated connection information tables are regenerated at regular intervals, and the regenerated connection information table and the connection information table immediately before being regenerated are retained. A connection information generation unit that performs the comparison, the connection information table that has been regenerated and the connection information table immediately before being regenerated, and the connection information tables that have been generated for two communication media are compared at regular intervals and compared. A communication medium abnormality detection unit that detects an abnormality of the communication medium from the result, and a communication medium selection unit that controls to select a normal communication medium based on the detection result of the communication medium abnormality detection unit and perform communication. It is a duplex communication control device characterized by having.

(実施例) 以下、図面を参照して、本発明の実施例を詳細に説明す
る。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例の構成例を示す構成図であ
る。この図において、1は二重化通信媒体に接続された
二重化通信制御装置である。2は二重化された通信媒体
である第1通信媒体、3は二重化された通信媒体である
第2通信媒体である。4は第1通信媒体2にアクセスす
るための媒体アクセス制御部、5は第2通信媒体3にア
クセスするための媒体アクセス制御部である。6は第1
通信媒体2に同報通信を行うための同報通信部、7はは
第2通信媒体3に同報通信を行うための同報通信部、8
は受信した同報通信の内容から接続情報テーブルを生成
する接続情報生成部、9は接続情報テーブルを参照して
異常検出を行い通信媒体選択部に与える通信媒体異常検
出部、10は上位通信制御部からの通信要求を通信媒体の
状態に合わせて適宜振り分けて媒体アクセス制御4,5に
伝える通信媒体制御部、11は通信要求を発生する上位通
信制御部である。
FIG. 1 is a configuration diagram showing a configuration example of an embodiment of the present invention. In this figure, reference numeral 1 denotes a duplicated communication control device connected to a duplicated communication medium. Reference numeral 2 is a first communication medium which is a duplicated communication medium, and 3 is a second communication medium which is a duplicated communication medium. Reference numeral 4 is a medium access control unit for accessing the first communication medium 2, and 5 is a medium access control unit for accessing the second communication medium 3. 6 is the first
A broadcast communication unit for performing broadcast communication to the communication medium 2, 7 is a broadcast communication unit for performing broadcast communication to the second communication medium 3, and 8
Is a connection information generation unit that generates a connection information table from the contents of the received broadcast communication, 9 is a communication medium abnormality detection unit that detects an abnormality by referring to the connection information table and gives the communication medium selection unit, and 10 is a higher-level communication control A communication medium control unit that appropriately distributes a communication request from the unit to the medium access control units 4 and 5 according to the state of the communication medium, and 11 is a higher-level communication control unit that issues the communication request.

第2図は、この接続情報テーブルに格納されるデータを
説明するための説明図である。また、第3図は通信媒体
異常検出部9での異常検出の様子を示すフローチャート
である。
FIG. 2 is an explanatory diagram for explaining the data stored in this connection information table. Further, FIG. 3 is a flowchart showing a state of abnormality detection by the communication medium abnormality detection unit 9.

以下、第1図〜第3図を使用して本実施例の動作を説明
する。
The operation of this embodiment will be described below with reference to FIGS.

接続情報生成部8は、一定時間間隔毎に接続情報をテー
ブルとして生成し、2つの通信媒体上の現在及び前回の
接続情報をテーブル(接続情報テーブル)として保存す
る。ここで、第1通信媒体2と第2通信媒体3には同報
通信のデータが伝達されている。従って、接続情報生成
部8は、この同報通信の内容から一定時間間隔(t1
t2,t2〜t3)で接続情報テーブルを生成する。ここで、
現在の時刻がt3であるとすると、第1通信媒体用の接続
情報テーブルには現在のデータテーブルTAと前回のデー
タテーブルTA-とが保存される。また同様に、第2通信
媒体用の接続情報テーブルには現在のデータテーブルTB
と前回のデータテーブルTB-とが保存される。
The connection information generation unit 8 generates connection information as a table at regular time intervals, and stores current and previous connection information on the two communication media as a table (connection information table). Here, the data of the broadcast communication is transmitted to the first communication medium 2 and the second communication medium 3. Therefore, the connection information generation unit 8 determines, based on the content of the broadcast communication, that the fixed time interval (t 1 ~
t 2, t to generate the connection information table in 2 ~t 3). here,
Assuming that the current time is t 3 , the current data table T A and the previous data table T A- are stored in the connection information table for the first communication medium. Similarly, the current data table T B is stored in the connection information table for the second communication medium.
And the previous data table T B- are saved.

そして、通信媒体異常検出部9が一定時間ごと(ステッ
プ)にTAとTA-を比較(ステップ)し、また、TBとT
B-とを比較(ステップ)する。そして、TA=TA-かつT
B=TB-であれば、TAとTBと比較(ステップ)する。こ
こで、TA=TBであれば、両方の通信媒体が正常であると
判断する(ステップ)。また、TA≠TBであれば、片方
の通信媒体に異常があると判断する(ステップ)。そ
して、接続されている通信局が少ない通信媒体に異常が
あるものと判断する。そして、この判断結果を通信媒体
選択部10に通知する。そして、通信媒体選択部10は上位
通信制御部11からの通信要求に対して、正常と判断され
た通信媒体を選択する。すなわち、両方の通信媒体が正
常と判断されれば両方の通信媒体を選択し、片方の通信
媒体のみが正常と判断されれば正常な一方の通信媒体を
選択する。
Then, each communication medium abnormality detection unit 9 is fixed time comparing T A and T A- (step) (step), also, T B and T
Compare (step) with B- . And T A = T A- and T
If B = T B- , compare (step) with T A and T B. If T A = T B, it is determined that both communication media are normal (step). If T A ≠ T B, it is determined that one communication medium has an abnormality (step). Then, it is determined that there is an abnormality in the communication medium with few connected communication stations. Then, the communication medium selection unit 10 is notified of this determination result. Then, the communication medium selection unit 10 selects the communication medium determined to be normal in response to the communication request from the upper communication control unit 11. That is, if both communication media are judged to be normal, both communication media are selected, and if only one communication media is judged to be normal, one normal communication media is selected.

本発明によれば、一定周期で同報通信が行われているた
め、通信媒体の異常が検出されており、その同報通信が
行われた後に、新たな通信局をその通信系に加えても、
その通信局は次の同報通信のタイミングで通信媒体の異
常を認識できる。すなわち、新たな通信局は同報通信の
送信周期の時間以内に通信媒体の異常を認識できる。
According to the present invention, since the broadcast communication is performed in a constant cycle, the abnormality of the communication medium is detected, and after the broadcast communication is performed, a new communication station is added to the communication system. Also,
The communication station can recognize the abnormality of the communication medium at the timing of the next broadcast communication. That is, the new communication station can recognize the abnormality of the communication medium within the time of the transmission cycle of the broadcast communication.

また、全ての通信局から2つの通信媒体に同報通信が行
われているため、各通信局は同報通信の内容から通信媒
体について異常の有無を検出できる。これによって、通
信媒体のどの箇所に異常が検出されても全通信局はその
異常を認識できる。
Further, since the broadcast communication is performed from all the communication stations to the two communication media, each communication station can detect the presence / absence of abnormality in the communication media from the contents of the broadcast communication. This allows all communication stations to recognize the abnormality wherever the abnormality is detected in the communication medium.

以上説明したように本発明によれば、通信媒体のどの箇
所に異常が検出されている場合であっても、新たに加入
した通信局は通信媒体の異常を認識できる二重化通信制
御装置を実現できる。
As described above, according to the present invention, it is possible to realize a duplicated communication control device in which a newly added communication station can recognize an abnormality in a communication medium, regardless of where in the communication medium the abnormality is detected. .

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

第1図は本発明の一実施例の構成を示す構成図、第2図
は接続情報テーブルを説明するための説明図、第3図は
本発明装置の動作例を示すフローチャートである。 1…二重化通信制御装置 2…第1通信媒体、3……第2通信媒体 4,5…媒体アクセス制御部 6,7…同報通信部、8…接続情報生成部 9…通信媒体異常検出部 10…通信媒体選択部 11…上位通信制御部
FIG. 1 is a configuration diagram showing a configuration of an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining a connection information table, and FIG. 3 is a flowchart showing an operation example of the device of the present invention. 1 ... Duplicated communication control device 2 ... First communication medium, 3 ... Second communication medium 4,5 ... Medium access control unit 6,7 ... Broadcast communication unit, 8 ... Connection information generation unit 9 ... Communication medium abnormality detection unit 10 ... Communication medium selection unit 11 ... Upper communication control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】二重化された2つの通信媒体に接続される
二重化通信制御装置であって、 通信媒体毎に設けられていて、それぞれの通信媒体への
アクセス制御を行う媒体アクセス制御部と、 通信媒体毎に設けられていて、一定周期で通信媒体に同
報通信を行って自己の装置が通信媒体に接続されている
かいないかを他の装置に伝える同報通信部と、 2つの通信媒体を介して他の装置から送信されてくる同
報通信を受け、受けた同報通信の内容から、他の全装置
について通信媒体に接続されているかいないかを示す接
続情報テーブルを2つの通信媒体についてそれぞれ生成
し、生成した2つの接続情報テーブルを一定周期毎に再
生成し、再生成した接続情報テーブル及び再生成される
直前の接続情報テーブルを保持する接続情報生成部と、 前記再生成した接続情報テーブルと再生成される直前の
接続情報テーブルの比較、及び、2つの通信媒体につい
て生成した接続情報テーブルどうしの比較を一定周期毎
に行い、比較結果から通信媒体の異常を検出する通信媒
体異常検出部と、 この通信媒体異常検出部での検出結果に基づいて正常な
通信媒体を選択して通信を行うよう制御する通信媒体選
択部と、 を有することを特徴とする二重化通信制御装置。
1. A duplicated communication control device connected to two duplicated communication media, comprising: a medium access control unit which is provided for each communication medium and which controls access to each communication medium; Two communication media are provided, one for each medium, and a broadcast communication unit that broadcasts to a communication medium at regular intervals to notify other devices whether or not their own device is connected to the communication medium. A broadcast information transmitted from another device via the communication device is received, and a connection information table indicating whether or not all other devices are connected to the communication medium is provided from the contents of the received broadcast communication for the two communication media. A connection information generation unit that respectively generates and regenerates the generated two connection information tables at regular intervals, and holds the regenerated connection information table and the connection information table immediately before being regenerated; The regenerated connection information table and the connection information table immediately before being regenerated are compared with each other, and the connection information tables generated for two communication media are compared at regular intervals, and an abnormality of the communication medium is detected from the comparison result. And a communication medium selection unit that controls a normal communication medium to perform communication based on the detection result of the communication medium abnormality detection unit. Control device.
JP63247911A 1988-09-30 1988-09-30 Redundant communication controller Expired - Lifetime JPH0683190B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63247911A JPH0683190B2 (en) 1988-09-30 1988-09-30 Redundant communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63247911A JPH0683190B2 (en) 1988-09-30 1988-09-30 Redundant communication controller

Publications (2)

Publication Number Publication Date
JPH0295040A JPH0295040A (en) 1990-04-05
JPH0683190B2 true JPH0683190B2 (en) 1994-10-19

Family

ID=17170387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63247911A Expired - Lifetime JPH0683190B2 (en) 1988-09-30 1988-09-30 Redundant communication controller

Country Status (1)

Country Link
JP (1) JPH0683190B2 (en)

Also Published As

Publication number Publication date
JPH0295040A (en) 1990-04-05

Similar Documents

Publication Publication Date Title
JPH08227344A (en) Communication control equipment between duplex disk controllers
JPH0817394B2 (en) Interrupt processing method of time division multiplex transmission system
JPH0683190B2 (en) Redundant communication controller
JPH0828722B2 (en) Data transmission control method
JPS61295738A (en) Transmission controller
JPH04360440A (en) Transmission line fault detection system
JPH05225161A (en) Network monitoring system
JPS62154830A (en) Communication line scheduling system
JPS61196637A (en) Duplex control system for communicating control equipment
JP2910420B2 (en) Communication control device
JP2682427B2 (en) Failure detection method on loop transmission line
KR100480020B1 (en) Multi-stream server control method
JPH05191426A (en) Communication abnormality detection system
JP2743880B2 (en) Broadcast message duplicate reception prevention function method
JPS61100042A (en) transmission control device
JPH04239296A (en) Multiplex transmitter
JPS63168757A (en) Bus error detecting system
JPH0738603B2 (en) Communication monitoring device
JP3108478B2 (en) Interrupt processing method for multiplex transmission system
JPS6326424B2 (en)
JPH06350492A (en) Abnormality detecting system for distribution line carrier communications system
JPH07183937A (en) Redundant network device
JPH0548622A (en) Self-diagnostic method for interrupt reply time of multiplex transmission system
JPS62204638A (en) Station address setting system
JPH05130145A (en) Fault location system