JP2000261474A - Transmission device - Google Patents

Transmission device

Info

Publication number
JP2000261474A
JP2000261474A JP11059408A JP5940899A JP2000261474A JP 2000261474 A JP2000261474 A JP 2000261474A JP 11059408 A JP11059408 A JP 11059408A JP 5940899 A JP5940899 A JP 5940899A JP 2000261474 A JP2000261474 A JP 2000261474A
Authority
JP
Japan
Prior art keywords
transmission
station
frame
stations
received
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
JP11059408A
Other languages
Japanese (ja)
Inventor
Tadashi Sato
正 佐藤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP11059408A priority Critical patent/JP2000261474A/en
Publication of JP2000261474A publication Critical patent/JP2000261474A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a loop type transmission device whose fault occurrence part can be specified. SOLUTION: A transmission station of a loop type transmission device repeats a transmission frame received from both adjacent stations by transmitter- receiver sets 441, 442 to an opposite adjacent station and receives the frame in its own station. In the case of transmission, an error check code is added to the transmission frame, and in the case of reception, a transmission frame check circuit checks a signal received from encoder/decoder 431, 432 and a code violation detection signal, adds a detection result to a repeated transmission frame and a counter counts various states. A CPU 11 reads the count to specify a fault location.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はループ型の伝送装置
に関し、特にその異常個所判定方法及び回避方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a loop type transmission device, and more particularly to a method for determining an abnormal portion and a method for avoiding the abnormal portion.

【0002】[0002]

【従来の技術】制御用データ伝送装置のトポロジ(伝送
路構成)は大別すると、バス、スター、ループの3つが
ある。この内、バス及びスターは比較的近距離用として
使用される。特にバスはシステムの変更が簡単であるこ
と、送受信回路が小さくてできること等の利点があり、
イーサネット(登録商標)等の代表的なOA用LANや
デバイスネット及びプロフィバス等の下位制御LANに
幅広く適用されている。但し、バス型は前記利点とは別
に、全局が同一伝送路上に接続されるので伝送路特性か
ら接続できる局数や距離に制限があること、伝送路の故
障がシステム全体に波及しやすいという欠点がある。こ
れに対して、ループ型は信号が順次経由する局で再生さ
れる為、接続は基本的には1対1あり、システム全長や
局数を大きくでき、異常の切離しができるという利点が
ある。
2. Description of the Related Art Topologies (transmission path configurations) of control data transmission devices are roughly classified into three types: bus, star, and loop. Of these, buses and stars are used for relatively short distances. In particular, the bus has the advantages that the system can be easily changed and that the transmission / reception circuit can be made smaller.
It is widely applied to a typical OA LAN such as Ethernet (registered trademark) and a lower control LAN such as a device net and a Profibus. However, the bus type has the disadvantage that, apart from the above advantages, all stations are connected on the same transmission line, so the number of stations that can be connected and the distance can be limited due to the characteristics of the transmission line, and the failure of the transmission line easily spreads to the entire system. There is. On the other hand, since the loop type is reproduced at the station through which the signal passes sequentially, there is an advantage that the connection is basically one-to-one, the total length of the system and the number of stations can be increased, and abnormalities can be separated.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
ループ型伝送装置では受信した伝送フレームについて、
自局内への取り込みと隣局へのリピートは独立して行わ
れてきた。このため、伝送路上で伝送フレーム内にビッ
ト化けが生じた場合、以後の受信局は誤り検出で前記伝
送フレームの異常を検出して破棄することができてもど
こで異常が発生したかを検出できなかった。更に、伝送
ケーブルの断線や局の電源断等の固定的な故障の場合は
検出、処理ができるが、劣化や接触不良により起こる確
率的な故障判定手段を持っていない。従って、散発的な
異常が継続した場合、再送処理や回線制御処理が行われ
る為伝送性能が低下してしまうことがある。また、ルー
プ伝送は信号の流れに方向性があるので、伝送路に異常
個所が発生すると信号が途絶えてしまう。通常は伝送路
を二重化して折り返しを行うなどでこれに対応するが、
それにしても2箇所以上伝送路に異常が発生すると伝送
路が分断され、システムにおける“島”ができてしま
う。例えば図11(a)のように2箇所で伝送路に断線
等の異常が発生すると、同図(b)のように、システム
は大きく2つの島に分離されてしまいその間の通信は途
絶する。この“島”間は通信ができないため、“島”の
でき方によってはシステムに大きな影響を与えることが
考えられる。
However, in a conventional loop type transmission apparatus, a received transmission frame is
Incorporation into the own station and repeat to the adjacent station have been performed independently. For this reason, when bit corruption occurs in the transmission frame on the transmission path, the subsequent receiving station can detect the abnormality of the transmission frame by error detection and discard it, but can detect where the abnormality has occurred. Did not. Furthermore, although a fixed failure such as a disconnection of a transmission cable or a power supply of a station can be detected and processed, it does not have a stochastic failure determination means caused by deterioration or poor contact. Therefore, when sporadic abnormalities continue, retransmission processing and line control processing are performed, so that transmission performance may be reduced. Further, in the loop transmission, since the flow of a signal has directionality, if an abnormal portion occurs in a transmission path, the signal is interrupted. Normally, this is addressed by duplicating the transmission path and turning it back.
Even so, if an abnormality occurs in two or more transmission lines, the transmission lines are cut off, resulting in "islands" in the system. For example, when an abnormality such as disconnection occurs in the transmission line at two places as shown in FIG. 11A, the system is largely separated into two islands as shown in FIG. 11B and communication between them is interrupted. Since communication between these "islands" is not possible, it is conceivable that the way of the "islands" will greatly affect the system.

【0004】本発明は、従来のこのような点に鑑み為さ
れたもので、異常発生部分を特定することができるルー
プ型の伝送装置を提供することを目的とする。更に、本
発明は、伝送路に異常が発生した場合でも、システムに
おける“島”の発生を極力少なくすることができるルー
プ型の伝送装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to provide a loop-type transmission device capable of specifying a portion where an abnormality has occurred. It is a further object of the present invention to provide a loop-type transmission device capable of minimizing the occurrence of "islands" in a system even when an abnormality occurs in a transmission line.

【0005】[0005]

【課題を解決するための手段】請求項1に記載の本発明
は、複数の伝送局を、互いに反対方向へ信号を流す2重
のループ状の伝送路で接続し、各伝送局は両隣局から受
信した伝送フレームを反対側の隣局ヘリピートすると共
に、自局内に取り込むことでデータを伝達する伝送装置
において、伝送局が、送信の際には、伝送フレームに誤
り検出符号を付加する機能、受信の際には、受信した伝
送フレームが取り決められた伝送符号ルールに従ってい
るかどうかを確認する機能、誤り検出符号により受信し
た伝送フレームの誤りを検出する機能、及び誤り検出し
た結果をリピートする伝送フレームに付加する機能を具
備することを特徴とする。このような構成によれば、異
常が隣局との間で発生したのかそれとも隣局間外で発生
したかが分かるため、従来検出できなかった異常発生部
分を特定できる。請求項2に記載の本発明は、複数の伝
送局を、互いに反対方向へ信号を流す2重のループ状の
伝送路で接続し、各伝送局は両隣局から受信した伝送フ
レームを反対側の隣局ヘリピートすると共に、自局内に
取り込むことでデータを伝達する伝送装置において、伝
送局が隣局との間の伝送路の異常の発生頻度を判定し、
所定以上の発生頻度の場合通常伝送を停止し、所定期間
テストパターンを流して伝送路の不安定性を判定するこ
とを特徴とする。
According to the first aspect of the present invention, a plurality of transmission stations are connected by a double loop transmission path for transmitting signals in mutually opposite directions, and each transmission station is connected to both adjacent stations. In the transmission device that transmits the data by taking the transmission frame received from from the opposite side of the adjacent station and transmitting it by taking it into its own station, the transmission station adds an error detection code to the transmission frame at the time of transmission, Upon reception, a function to check whether the received transmission frame complies with a predetermined transmission code rule, a function to detect an error in the received transmission frame by an error detection code, and a transmission frame to repeat the error detection result It is characterized by having a function of adding to. According to such a configuration, since it is possible to determine whether the abnormality has occurred between the adjacent station or outside the adjacent station, it is possible to specify the abnormality occurrence part which could not be detected conventionally. According to a second aspect of the present invention, a plurality of transmission stations are connected by a double loop transmission path for transmitting signals in mutually opposite directions, and each transmission station transmits a transmission frame received from both neighboring stations to the opposite side. In a transmission device that transmits data by taking in the local station while repeating the neighboring station, the transmitting station determines the frequency of occurrence of abnormality in the transmission path between the neighboring station,
When the frequency of occurrence is equal to or higher than a predetermined frequency, normal transmission is stopped, and a test pattern is supplied for a predetermined period to determine the instability of the transmission path.

【0006】このような構成によれば、集中的にテスト
フレームを流して判定できるため、コネクタの接触不良
等の不安定で散発的に発生する故障に対して、正確な異
常の判定を行うことができ、異常箇所の特定が可能にな
る。請求項3に記載の本発明は、複数の伝送局を、互い
に反対方向へ信号を流す2重のループ状の伝送路で接続
し、各伝送局は両隣局から受信した伝送フレームを反対
側の隣局ヘリピートすると共に、自局内に取り込むこと
でデータを伝達する伝送装置において、伝送局と1対1
に接続する伝送ポートを複数個有するとともに、伝送路
を一箇所に集めて管理し異常箇所を検出するとその異常
箇所をバイパスして切離し、複数箇所で異常を検出する
と伝送局の接続順を組替える切替え装置を具備すること
を特徴とする。このような構成によれば、切替え装置を
使用することにより、故障に応じて接続経路が変更でき
るので、従来のループ型の伝送装置に比して “島”の
発生を抑制でき、伝送局間の通信を維持できる。
According to such a configuration, since the test frame can be intensively flowed to make a determination, it is possible to accurately determine an abnormality for an unstable and sporadic failure such as a connector contact failure. Can be specified, and an abnormal part can be specified. According to a third aspect of the present invention, a plurality of transmission stations are connected by a double loop transmission path for transmitting signals in mutually opposite directions, and each transmission station transmits a transmission frame received from both neighboring stations to the opposite side. In a transmission apparatus that transmits data by repeating a neighboring station and taking it into its own station, a one-to-one transmission station
In addition to having a plurality of transmission ports connected to the network, collecting and managing the transmission lines in one place, detecting and detecting an abnormal point, bypasses and disconnecting the abnormal point, and re-arranging the connection order of the transmission stations when detecting an error in a plurality of points. A switching device is provided. According to such a configuration, by using the switching device, the connection path can be changed according to the failure, so that the occurrence of “islands” can be suppressed as compared with the conventional loop type transmission device, and the transmission between transmission stations can be suppressed. Communication can be maintained.

【0007】[0007]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態について詳細に説明する。なお、以下の図におい
て、同符号は同一部分または対応部分を示す。
Embodiments of the present invention will be described below in detail with reference to the drawings. In the following drawings, the same symbols indicate the same or corresponding parts.

【0008】(第1の実施形態)本発明の第1の実施形
態に係る伝送装置の伝送局の構成を図1に示す。同図に
示すように、伝送局は、大きく分けて、テキスト処理や
局動作を制御するCPU11及びメモリ12から成る制
御部1、外部機器2とのインタフェースを行うIF(イ
ンタフェース)部3、及び伝送部4から成る。伝送部4
は、更にメディアアクセスコントロールと伝送フレーム
の生成/分解を行うデータリンクレイヤの制御を行う伝
送コントローラ41、隣局間との伝送路制御を行うルー
プコントローラ42、ロジック信号を伝送符号に変換す
るエンコーダ/デコーダ431,432、及びメディアに
対して伝送信号を入出力する送受信器441,442から
成る。図2は、この実施形態における主要部であるルー
プコントローラ42の更に詳細な構成を示す図である。
同図に示すように、ループコントローラ42は、伝送コ
ントローラ41からのシリアル送信信号を一旦格納する
送信FIFO421、隣局から受信した信号を反対側の
隣局にリピートするために一旦貯え且つ伝送フレームの
最後の伝送フレームチェック回路4221,4222から
の検出付加信号を追加する受信FIFO4231,42
2、送信FIFO421からの自局送信信号と受信F
IFO4231,4232からのリピート信号をエンコー
ダ/デコーダ431,432のエンコーダに選択出力する
セレクタ4241,4242、両隣局から受信する伝送フ
レームについて先着したフレームを伝送コントローラに
渡す先着優先回路425、エンコーダ/デコーダ4
1,432のデコーダからの受信信号とコードバイオレ
ーション検出信号から受信伝送フレームのチェックを行
い且つカウンタをカウントするための検出信号とリピー
トする伝送フレームに検出状態を付加するための検出付
加信号を生成する伝送フレームチェック回路4221
4222、伝送フレームテェック回路4221,4222
からの検出信号で各種状態をカウントするカウンタ42
1,4262、内部バスに接続してそのカウンタ値をC
PUから読み出し可能にするレジスタ427から成る。
(First Embodiment) FIG. 1 shows a configuration of a transmission station of a transmission apparatus according to a first embodiment of the present invention. As shown in the figure, the transmission station is roughly divided into a control unit 1 including a CPU 11 and a memory 12 for controlling text processing and station operation, an IF (interface) unit 3 for interfacing with an external device 2, and a transmission unit. It consists of part 4. Transmission unit 4
Are a transmission controller 41 for controlling a data link layer for performing media access control and generation / decomposition of a transmission frame, a loop controller 42 for controlling a transmission path between neighboring stations, and an encoder / controller for converting a logic signal into a transmission code. decoder 43 1, 43 2, and a transceiver 44 1, 44 2 to output a transmission signal to the media. FIG. 2 is a diagram showing a more detailed configuration of the loop controller 42 as a main part in this embodiment.
As shown in the figure, the loop controller 42 includes a transmission FIFO 421 for temporarily storing the serial transmission signal from the transmission controller 41, and temporarily stores the signal received from the adjacent station to repeat it to the adjacent station on the opposite side, and temporarily stores the transmission frame. Reception FIFOs 423 1 , 42 for adding detection additional signals from the last transmission frame check circuits 422 1 , 422 2
3 2, and receiving local transmission signal from the transmission FIFO421 F
IFO423 1, 423 2 encoder / decoder 43 1 repeat signals from, 43 the selector 424 1 selects output to second encoder 424 2, the first-arrival preference circuit to pass to the transmission controller a frame arrival the transmission frame received from the neighboring station 425, encoder / decoder 4
3 1, 43 2 of the received signal and the code violation detection additional signals for adding a detection state to a transmission frame from the detection signal to the detection signal and returning for counting and counter checks the received transmission frame from the decoder , A transmission frame check circuit 422 1 ,
422 2 , a transmission frame check circuit 422 1 , 422 2
Counter 42 that counts various states based on detection signals from
6 1 , 426 2 , connected to the internal bus and the counter value
It consists of a register 427 that allows reading from the PU.

【0009】ここでカウントするカウンタ種別としては
次のものを用意する。 CRCエラーカウンタ1(受信した伝送フレームの単
純なCRCエラーカウント) CRCエラーカウンタ2(コードバイオレーション発
生時のCRCエラーカウント) CRCエラーカウンタ3(伝送付加信号で既に隣局が
エラーを検出したCRCエラーカウント) ここでCRCコードは誤り検出コードの代表的なもので
あり、通常一般的な伝送コントローラに組込まれてい
る。従って、この実施形態ではCRCコードの生成回路
は省かれている。次に、この動作について説明する。送
信時には、伝送コントローラ41から出力されるデータ
信号列が一度送信FIFO421に格納され、セレクタ
4241,4242を経由してエンコーダ/デコーダ43
1,432のエンコーダに渡され、伝送符号に変換されて
両隣局に送信される。受信時には、エンコーダ/デコー
ダ431,432のデコーダで論理信号に変換された受信
信号が、一つは先着優先回路425へ入力されると共
に、受信FIFO4231,4232を経由してセレクタ
4241,4242ヘ入力され、エンコーダ/デコーダ4
1,432のエンコーダを経由して反対側にリピートさ
れる。
The following counter types are prepared for counting. CRC error counter 1 (simple CRC error count of the received transmission frame) CRC error counter 2 (CRC error count at the time of code violation occurrence) CRC error counter 3 (CRC error in which the neighboring station has already detected an error in the transmission additional signal Here, the CRC code is a typical error detection code, and is usually incorporated in a general transmission controller. Therefore, in this embodiment, the CRC code generation circuit is omitted. Next, this operation will be described. At the time of transmission, a data signal sequence output from the transmission controller 41 is once stored in the transmission FIFO 421 and passed through the selectors 424 1 and 424 2 to the encoder / decoder 43.
1, 43 is passed to second encoder is transmitted after being converted to transmission codes on both sides station. In reception, the encoder / decoder 43 1, 43 received signal converted to a logic signal at a second decoder, the one inputted to the first-arrival preference circuit 425 via the receiving FIFO423 1, 423 2 selector 424 1 , 424 2 are f input, the encoder / decoder 4
3 via the 1, 43 2 of the encoder is repeated on the opposite side.

【0010】ここで両隣局からフレームを受信した場合
は先着優先回路425で先に受信した伝送フレームが選
ばれて伝送コントローラ41に送られる。伝送フレーム
を受信した際に、エンコーダ/デコーダ431,432
符号変換時に伝送符号ルールに合わない信号を検出する
とエンコーダ/デコーダ431,432からコードバイオ
レーション検出信号が伝送フレームチェック回路422
1,4222に入力される。また、伝送フレームチェック
回路4221,4222で、前記バイオレーション検出信
号と受信信号及び受信信号に含まれる隣局からのエラー
付加情報からカウンタ4261,4262の各種カウンタ
に対するカウントパルスを出力し、それぞれのカウンタ
をカウントアップさせる。このカウンタ値は、レジスタ
427を経由してCPU11で読み出すことができる。
伝送フレームチェック回路4221,4222は更にコー
ドバイオレーション及びCRCエラーを検出すると検出
付加信号を受信FIFO4231,4232に出力し、受
信FIFO4231,4232はリピートフレームの最後
にこのエラー付加情報を追加して受信した側とは反対の
隣局に対して送信する。
[0010] Here, when frames are received from both neighboring stations, the transmission frame received first is selected by the first-come-first-served circuit 425 and sent to the transmission controller 41. Upon receiving a transmission frame, the encoder / decoder 43 1, 43 2 upon detecting the signal which does not meet the transmission code rule code conversion encoder / decoder 43 1, 43 2 from the code violation detection signal is transmitted frame check circuit 422
1 and 422 2 . Also, the transmission frame check circuits 422 1 and 422 2 output count pulses for various counters of the counters 426 1 and 426 2 from the violation detection signal and the reception signal and error addition information from the neighboring station included in the reception signal. Then, each counter is counted up. This counter value can be read by the CPU 11 via the register 427.
Transmission frame check circuit 422 1, 422 2 outputs further detection additional signal and detecting the code violation and CRC error in the received FIFO423 1, 423 2, receiving FIFO423 1, 423 2 The error additional information to the end of a repeat frame Is transmitted to the neighboring station opposite to the receiving side.

【0011】CPU11は前記カウンタ値を読み出すこ
とにより次の表1に示すように判定を下すことができ、
異常箇所の特定が可能になる。
The CPU 11 can make a determination as shown in the following Table 1 by reading the counter value.
The location of the abnormality can be specified.

【0012】[0012]

【表1】 [Table 1]

【0013】(第2の実施形態)次に本発明の第2の実
施形態に係る伝送装置について説明する。この実施形態
は、第1の実施形態でカウントするカウンタ値と正常フ
レームの受信正常回数をカウントするカウンタ値によ
り、隣局との間の異常発生頻度を監視し、その頻度が一
定値以上になると通常の伝送を禁止し、各種テストパタ
ーンの伝送フレームを継続して送信し、かつ隣局からの
テストパターンの伝送フレームを受信してそれの受信状
態を送信するテストパターンの伝送フレームに付加する
テストパターン伝送フレーム送受信回路を用意するよう
にしたものである。この実施形態における主要部の回路
構成を図3に示す。この実施形態の回路は図1に示すル
ープコントローラの中にある。尚、この回路は両隣局に
対してそれぞれ独立した回路を持つが、図3ではそのう
ちの1系について示している。図3に示すように、この
回路は内部バスに接続されてテストフレームの送信指令
と受信したテストフレームの判定状態を読み出すための
コントロールレジスタ428、コントロールレジスタ4
28からの送信指令を受けてテストフレームをセレクタ
4241に送信するテストフレーム送信回路429、エ
ンコーダ/デコーダ431からの受信データを監視し受
信したテストフレームの判定を行うテストフレーム判定
回路430から成る。
(Second Embodiment) Next, a transmission apparatus according to a second embodiment of the present invention will be described. This embodiment monitors the frequency of occurrence of anomalies between neighboring stations based on the counter value counted in the first embodiment and the counter value counting the number of normal receptions of normal frames, and when the frequency exceeds a certain value. A test in which normal transmission is prohibited, transmission frames of various test patterns are continuously transmitted, and a transmission frame of a test pattern from a neighboring station is received and the reception state thereof is added to the transmission frame of the test pattern to be transmitted. A pattern transmission frame transmitting / receiving circuit is prepared. FIG. 3 shows a circuit configuration of a main part in this embodiment. The circuit of this embodiment is in the loop controller shown in FIG. Although this circuit has independent circuits for both neighboring stations, FIG. 3 shows only one of them. As shown in FIG. 3, this circuit is connected to an internal bus, and is used to read out a test frame transmission command and a judgment state of the received test frame.
Comprising a test frame by receiving the transmission command from the 28 from the test frame transmission circuit 429, the test frame determination circuit 430 for determining the test frame received monitoring data received from the encoder / decoder 43 1 to be transmitted to the selector 424 1 .

【0014】次に、この動作について説明する。CPU
は、隣局との間の伝送路状態を確認することが必要と判
定すると、通常のフレームの送信を停止して、コントロ
ールレジスタ428よりテストフレーム送信回路429
に対してテストフレームの送信を指令する。隣局からの
テストフレームを受信した場合は、CRCエラーチェッ
クを実施する。また、テストフレームを受信すると、受
信した方も自動的にテストモードとなりテストフレーム
を送信するが、この時、そのフレームの中に受信したテ
ストフレームの正常フレーム受信回数と異常フレーム受
信回数も入れて送信する。このようにして、隣局との間
で、テストフレームを集中的に一定の期間連続して流す
ことにより、伝送路に不安定箇所が存在してもそれを正
確に認識することができる。なお、異常であると判定し
たときは、互いに、隣局との間の送受信を禁止する。
Next, this operation will be described. CPU
If it is determined that it is necessary to check the state of the transmission path with the neighbor station, the normal frame transmission is stopped, and the control register 428 sends the test frame transmission circuit 429
To transmit a test frame. When a test frame is received from a neighbor station, a CRC error check is performed. Also, when a test frame is received, the receiving party automatically enters the test mode and transmits the test frame. At this time, the number of times the received test frame has received a normal frame and the number of times the abnormal frame has been received are also included in the frame. Send. In this way, even if a test frame is continuously transmitted intensively for a certain period of time between adjacent stations, even if there is an unstable portion in the transmission path, it can be accurately recognized. When it is determined that there is an abnormality, transmission and reception between the adjacent stations are prohibited.

【0015】(第3の実施形態)次に本発明の第3の実
施形態に係る伝送装置について説明する。この実施形態
の構成を図4に示す。同図に示すように、伝送局50に
接続できる伝送ポートを複数個持つ切替え装置51を使
用し、伝送局50を接続して伝送システムを構成する。
伝送ポートには個別に伝送路の状態を監視する機能と、
切替え装置51内部でポート間の信号接続を変更できる
機能を持つ。これにより複数箇所で伝送路が故障しても
切替え装置内部の信号接続を変更して、正常な伝送局に
よる接続構成に変えることで“島”の発生を抑える。即
ち、各局間を接続する従来のループシステムでは、図1
1のように2箇所で伝送路に異常が発生すると、システ
ムは大きく2つの島に分離されてしまいその間の通信は
途絶する。島の出来方は故障箇所に依存しておリシステ
ムに大きな影響を与える。ところが、この実施形態にお
いては、図5に示すように、各伝送局50の伝送路は一
旦切替え装置51に接続する。この切替え装置51の内
部で各ポート間との接続を実施するので基本的には伝送
局50の接続順は自由に変えることができる。このよう
に、切替え装置51を経由してループシステムを構成し
ているので、断線等により伝送路に異常が発生した場
合、図6に示すように、切替え装置51により伝送局5
0の接続順を変更して、即ち経路変更を行ない、異常個
所を纏めることができるので、島の発生を制限でき、正
常な伝送局50が島の中に取り残されることは無くな
る。
(Third Embodiment) Next, a transmission apparatus according to a third embodiment of the present invention will be described. FIG. 4 shows the configuration of this embodiment. As shown in the figure, a switching system 51 having a plurality of transmission ports that can be connected to the transmission station 50 is used, and the transmission station 50 is connected to configure a transmission system.
The transmission port has a function to individually monitor the status of the transmission path,
The switching device 51 has a function of changing the signal connection between the ports inside the switching device 51. Thus, even if a transmission line fails at a plurality of locations, the occurrence of an “island” is suppressed by changing the signal connection inside the switching device and changing the connection configuration to a normal transmission station. That is, in the conventional loop system for connecting the stations, FIG.
If an abnormality occurs in the transmission line at two locations as in 1, the system is largely separated into two islands, and communication between them is interrupted. The way the island is made has a significant effect on the system depending on the location of the failure. However, in this embodiment, the transmission line of each transmission station 50 is once connected to the switching device 51 as shown in FIG. Since the connection between the ports is performed inside the switching device 51, the connection order of the transmission stations 50 can be basically freely changed. As described above, since the loop system is configured via the switching device 51, when an abnormality occurs in the transmission line due to disconnection or the like, as shown in FIG.
Since the connection order of 0s can be changed, that is, the route can be changed and abnormal parts can be collected, the occurrence of islands can be limited, and the normal transmission station 50 does not remain in the islands.

【0016】図7は、切替え装置51の詳細な構成を示
すものである。切替え装置51は、大きく分けて、各ポ
ートの状態を入力して接続経路を指定する選択信号を出
力する制御回路52と、伝送局50を接続する複数の送
受信ポート53とから成る。制御回路52は、CPUを
内蔵しており、各ポートの受信状態を入力しソフト処理
をしてポートの送信元のポートを選択する選択指令信号
を出力する。送受信ポート53は、伝送局50との伝送
信号を送信及び受信する送信器531及び受信器53
2、伝送符号と内部論理信号との符号変換するエンコー
ダ/デコーダ533、エンコーダ/デコーダ533のデ
コーダの出力である受信信号を監視するチェック回路5
34、制御回路52からの選択指令信号を受けて各送受
信ポート53からの受信信号の一つを選択して送信信号
にするセレクタ535から構成される。尚、セレクタ5
35には各送受信ポート53の受信信号が入力されてい
る。一つの伝送局50に対して2つの送受信ポート53
が接続されることになる。この実施形態における切替え
の動作に関して更に詳しく説明する。伝送局50からの
伝送信号は受信器532、及びエンコーダ/デコーダ5
33のデコーダを介して内部論理信号レベルの受信信号
に変換される。チェック回路534はこの受信信号を監
視して信号の断検出や符号検出を行う。チェック方式に
関しては、適用するループが伝送装置のループ伝送方式
に依存するもので特に限定はされない。このチェック回
路534にて検出された状態信号は制御回路52に入力
される。受信信号は他の送受信ポート53のセレクタ5
35にパラレルに接続されている。セレクタ535は制
御回路52からの選択指令信号により、各送受信ポート
53からの受信信号の一つを選択し、それを送信信号に
してエンコーダ/デコーダ533のエンコーダ及び送信
器531を経由して伝送局50に送信する。
FIG. 7 shows a detailed configuration of the switching device 51. The switching device 51 is roughly composed of a control circuit 52 for inputting the state of each port and outputting a selection signal for specifying a connection path, and a plurality of transmission / reception ports 53 for connecting the transmission station 50. The control circuit 52 has a built-in CPU, inputs a reception state of each port, performs software processing, and outputs a selection command signal for selecting a source port of the port. The transmission / reception port 53 includes a transmitter 531 and a receiver 53 that transmit and receive a transmission signal with the transmission station 50.
2. Encoder / decoder 533 for performing code conversion between a transmission code and an internal logic signal, and check circuit 5 for monitoring a received signal output from the decoder of encoder / decoder 533
34, a selector 535 which receives a selection command signal from the control circuit 52, selects one of the reception signals from the respective transmission / reception ports 53, and turns it into a transmission signal. The selector 5
A reception signal of each transmission / reception port 53 is input to 35. Two transmission / reception ports 53 for one transmission station 50
Will be connected. The switching operation in this embodiment will be described in more detail. The transmission signal from the transmission station 50 is transmitted to the receiver 532 and the encoder / decoder 5
The signal is converted into a received signal of the internal logic signal level via the 33 decoders. The check circuit 534 monitors the received signal to detect signal disconnection and code detection. Regarding the check method, there is no particular limitation as the applied loop depends on the loop transmission method of the transmission device. The state signal detected by the check circuit 534 is input to the control circuit 52. The received signal is transmitted to the selector 5 of another transmission / reception port 53.
35 is connected in parallel. The selector 535 selects one of the reception signals from the respective transmission / reception ports 53 according to the selection command signal from the control circuit 52, converts it into a transmission signal, and transmits the transmission signal via the encoder of the encoder / decoder 533 and the transmitter 531. Send to 50.

【0017】制御回路52では、次のような手順で経路
を決定する。 内部のCPUが周期的に各送受信ポート53からの状
態信号を監視し異常送受信ポート53を認識する。 の結果から各伝送局50との接続状態を次のように
分類する。 (a)正常状態…両系の送受信ポート53共正常 (b)片系正常状態…1方の送受信ポート53が正常で
且つ他方が異常 (c)異常状態…両系の送受信ポート53共異常 異常状態の伝送局50を無視して、正常状態の伝送局
50を接続する。ついでその両端に片方正常状態の伝送
局50を接続する。この時片方異常の伝送局50が3局
以上ある場合は、その内の若いポート番号の伝送局50
を優先して接続する。このため以降の伝送局50は無視
されシステムから切離される。具体的な例を、図8を使
って説明する。図8では伝送局501に接続しているポ
ート531、伝送局503に接続しているポート535
びポート536、伝送局506に接続しているポート53
11で異常を検出した状態を示している。ここで 正常状態の伝送局 …伝送局502,504,505,5
7,508 片系正常の伝送局 …伝送局501,506 異常状態の伝送局 …伝送局503 である。切替え装置51の制御回路52は各送受信ポー
ト53のセレクタ535に対して選択指令信号を出力す
ることで、次のようなポート接続を指示する。
The control circuit 52 determines a route in the following procedure. The internal CPU periodically monitors the status signal from each transmission / reception port 53 and recognizes the abnormal transmission / reception port 53. Based on the result, the connection state with each transmission station 50 is classified as follows. (A) Normal state: Both transmission / reception ports 53 are normal (b) One system normal state: One transmission / reception port 53 is normal and the other is abnormal (c) Abnormal state: Both transmission / reception ports 53 are abnormal The transmission station 50 in the normal state is connected, ignoring the transmission station 50 in the state. Next, the transmission station 50 in one normal state is connected to both ends. At this time, if there are three or more transmission stations 50 with one of the abnormalities, the transmission station 50 with the lower port number among them
Connect with priority. For this reason, subsequent transmission stations 50 are ignored and disconnected from the system. A specific example will be described with reference to FIG. In FIG. 8, the port 53 1 connected to the transmission station 50 1 , the ports 53 5 and 53 6 connected to the transmission station 50 3 , and the port 53 connected to the transmission station 50 6
11 shows a state where an abnormality is detected. Wherein the normal state transmission station ... transmission station 50 2, 50 4, 50 5, 5
0 7, 50 8 pieces system normal transmission station ... transmission station 50 1, 50 6 abnormal state transmission station ... which is a transmission station 50 3. The control circuit 52 of the switching device 51 outputs a selection command signal to the selector 535 of each transmission / reception port 53 to instruct the following port connection.

【0018】送受信ポート532=533=534=537
=538=539=5310=5313=5314=5315=5
16=5312 これにより伝送局接続は論理的には図9のような“島”
の無いシステムに移行する。即ち、従来のループシステ
ムでは図8に示すような故障が発生した場合は図10の
ような3つの“島”のシステムに分割されてしまい、相
互間の通信はできなかった。これに対して、この実施形
態によると“島”の発生を極力制限するため正常局同士
の通信を確保できる。
Transmission / reception port 53 2 = 53 3 = 53 4 = 53 7
= 53 8 = 53 9 = 53 10 = 53 13 = 53 14 = 53 15 = 5
3 16 = 53 12 Thus, the transmission station connection is logically an “island” as shown in FIG.
To a system with no security. That is, in the conventional loop system, when a failure as shown in FIG. 8 occurs, the system is divided into three "island" systems as shown in FIG. 10, and communication between them is not possible. On the other hand, according to this embodiment, communication between normal stations can be ensured because the occurrence of "islands" is limited as much as possible.

【0019】[0019]

【発明の効果】以上説明したように、請求項1の本発明
によれば、異常が隣局との間で発生したのかそれとも隣
局間外で発生したかが分かるため、従来検出できなかっ
た異常発生部分を特定できる。また、請求項2の本発明
によれば、集中的にテストフレームを流して判定できる
ため、コネクタの接触不良等の不安定で散発的に発生す
る故障に対して、正確な異常の判定を行うことができ、
異常箇所の特定が可能になる。更に、請求項3の本発明
によれば、切替え装置を使用することにより、故障に応
じて接続経路が変更できるので、従来のループ型の伝送
装置に比して “島”の発生を抑制でき、伝送局間の通
信を維持できる。
As described above, according to the first aspect of the present invention, it is possible to determine whether an abnormality has occurred between a neighboring station or outside a neighboring station. The part where an error has occurred can be specified. According to the second aspect of the present invention, since the determination can be performed by intensively flowing the test frame, an accurate abnormality determination is performed for an unstable and sporadic failure such as a connector contact failure. It is possible,
The location of the abnormality can be specified. Furthermore, according to the third aspect of the present invention, since the connection path can be changed according to the failure by using the switching device, the occurrence of "islands" can be suppressed as compared with the conventional loop type transmission device. , Communication between transmission stations can be maintained.

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

【図1】 本発明の第1の実施形態における伝送局の構
成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a transmission station according to a first embodiment of the present invention.

【図2】 図1に示す伝送局の主要部の更に詳細な構成
を示すブロック図。
FIG. 2 is a block diagram showing a more detailed configuration of a main part of the transmission station shown in FIG.

【図3】 本発明の第2の実施形態における主要部の構
成を示すブロック図。
FIG. 3 is a block diagram showing a configuration of a main part according to a second embodiment of the present invention.

【図4】 本発明の第3の実施形態に係る伝送装置の構
成を示すブロック図。
FIG. 4 is a block diagram showing a configuration of a transmission device according to a third embodiment of the present invention.

【図5】 本発明の第3の実施形態における通常時の接
続順を示す図。
FIG. 5 is a diagram showing a connection order in a normal state according to a third embodiment of the present invention.

【図6】 本発明の第3の実施形態における異常処理後
の接続順を示す図。
FIG. 6 is a diagram showing a connection order after abnormal processing according to the third embodiment of the present invention.

【図7】 本発明の3実施形態における主要部の詳細な
構成を示すブロック図。
FIG. 7 is a block diagram showing a detailed configuration of a main part in a third embodiment of the present invention.

【図8】 本発明の第3の実施形態における具体例の異
常発生を示す図。
FIG. 8 is a diagram showing an abnormality occurrence in a specific example according to the third embodiment of the present invention.

【図9】 本発明の第3の実施形態における具体例の異
常処理後の論理的接続順を示す図。
FIG. 9 is a diagram showing a logical connection order after abnormal processing in a specific example according to the third embodiment of the present invention.

【図10】 図8の場合における、従来例の接続順を示
す図。
FIG. 10 is a diagram showing a connection order of a conventional example in the case of FIG. 8;

【図11】 従来例における異常時の“島”発生状態を
説明するための図。
FIG. 11 is a diagram for explaining an “island” occurrence state at the time of an abnormality in the conventional example.

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

1…制御部 11…CPU 12…メモリ 2…外部機器 3…IF(インタフェース)部 4…伝送部 41…伝送コントローラ 42…ループコントローラ 431,432…エンコーダ/デコーダ 441,442…送受信器 421…送信FIFO 4221,4222…伝送フレームチェック回路 4231,4232…受信FIFO 4231,4232…受信FIFO 4241,4242…セレクタ 425…先着優先回路 4261,4262…カウンタ 427…レジスタ 428…コントロールレジスタ 429…テストフレーム送信回路 430…テストフレーム判定回路 50…伝送局 51…切替え装置 52…制御回路 53…送受信ポート 531…送信器 532…受信器 533…エンコーダ/デコーダ 534…チェック回路 535…セレクタ DESCRIPTION OF SYMBOLS 1 ... Control part 11 ... CPU 12 ... Memory 2 ... External equipment 3 ... IF (interface) part 4 ... Transmission part 41 ... Transmission controller 42 ... Loop controller 431, 43Two... Encoder / decoder  441, 44Two... Transceiver 421 ... Transmission FIFO 4221, 422Two... Transmission frame check circuit 4231, 423Two… Reception FIFO 4231, 423Two… Reception FIFO 4241, 424Two... Selector 425 ... First-come-first-served circuit 4261, 426Two... Counter 427 ... Register 428 ... Control register 429 ... Test frame transmitting circuit 430 ... Test frame judging circuit 50 ... Transmission station 51 ... Switching device 52 ... Control circuit 53 ... Transceiver port 531 ... Transmitter 532 ... Receiver 533 ... Encoder / decoder 534: check circuit 535: selector

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数の伝送局を、互いに反対方向へ信号を
流す2重のループ状の伝送路で接続し、各伝送局は両隣
局から受信した伝送フレームを反対側の隣局ヘリピート
すると共に、自局内に取り込むことでデータを伝達する
伝送装置において、伝送局が、送信の際には、伝送フレ
ームに誤り検出符号を付加する機能、受信の際には、受
信した伝送フレームが取り決められた伝送符号ルールに
従っているかどうかを確認する機能、前記誤り検出符号
により受信した伝送フレームの誤りを検出する機能、及
び誤り検出した結果をリピートする伝送フレームに付加
する機能を具備することを特徴とする伝送装置。
A plurality of transmission stations are connected by a double loop transmission path for transmitting signals in mutually opposite directions, and each transmission station repeats transmission frames received from both neighboring stations on the opposite neighboring station. In a transmission apparatus that transmits data by taking it into its own station, the transmission station has a function of adding an error detection code to a transmission frame at the time of transmission, and a received transmission frame is determined at the time of reception. Transmission comprising a function of confirming whether or not the transmission code rule is followed, a function of detecting an error in a transmission frame received by the error detection code, and a function of adding an error detection result to a transmission frame to be repeated. apparatus.
【請求項2】複数の伝送局を、互いに反対方向へ信号を
流す2重のループ状の伝送路で接続し、各伝送局は両隣
局から受信した伝送フレームを反対側の隣局ヘリピート
すると共に、自局内に取り込むことでデータを伝達する
伝送装置において、伝送局が隣局との間の伝送路の異常
の発生頻度を判定し、所定以上の発生頻度の場合通常伝
送を停止し、所定期間テストパターンを流して伝送路の
不安定性を判定することを特徴とする伝送装置。
2. A plurality of transmission stations are connected by a double loop transmission path for transmitting signals in mutually opposite directions, and each transmission station repeats transmission frames received from both adjacent stations on the opposite side while repeating transmission frames. In a transmission device that transmits data by taking it into its own station, the transmission station determines the frequency of occurrence of an abnormality in the transmission path between the adjacent station, and if the frequency of occurrence is higher than a predetermined frequency, normal transmission is stopped, and A transmission apparatus characterized in that instability of a transmission path is determined by flowing a test pattern.
【請求項3】複数の伝送局を、互いに反対方向へ信号を
流す2重のループ状の伝送路で接続し、各伝送局は両隣
局から受信した伝送フレームを反対側の隣局ヘリピート
すると共に、自局内に取り込むことでデータを伝達する
伝送装置において、前記伝送局と1対1に接続する伝送
ポートを複数個有するとともに、伝送路を一箇所に集め
て管理し異常箇所を検出するとその異常箇所をバイパス
して切離し、複数箇所で異常を検出すると前記伝送局の
接続順を組替える切替え装置を具備することを特徴とす
る伝送装置。
3. A plurality of transmission stations are connected by a double loop transmission path for transmitting signals in mutually opposite directions, and each transmission station repeats transmission frames received from both adjacent stations on the opposite side while repeating the transmission frame received from both sides. In a transmission apparatus that transmits data by taking it into its own station, the transmission apparatus has a plurality of transmission ports that are connected one-to-one with the transmission station, and collects and manages transmission paths in one place to detect an abnormal location. A transmission device comprising: a switching device that disconnects a location by bypassing the location and rearranges the connection order of the transmission stations when an abnormality is detected at a plurality of locations.
JP11059408A 1999-03-05 1999-03-05 Transmission device Pending JP2000261474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11059408A JP2000261474A (en) 1999-03-05 1999-03-05 Transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11059408A JP2000261474A (en) 1999-03-05 1999-03-05 Transmission device

Publications (1)

Publication Number Publication Date
JP2000261474A true JP2000261474A (en) 2000-09-22

Family

ID=13112436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11059408A Pending JP2000261474A (en) 1999-03-05 1999-03-05 Transmission device

Country Status (1)

Country Link
JP (1) JP2000261474A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007274153A (en) * 2006-03-30 2007-10-18 Nec Corp Disconnection method of faulty apparatus in fiber channel switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007274153A (en) * 2006-03-30 2007-10-18 Nec Corp Disconnection method of faulty apparatus in fiber channel switch

Similar Documents

Publication Publication Date Title
EP0939511B1 (en) Method and arrangement in a network repeater for automatically changing link speed
US4745597A (en) Reconfigurable local area network
EP2460319B1 (en) Methods and systems for fail-safe communication
EP0266151B1 (en) Method and apparatus for coupling computer work stations
US6738344B1 (en) Link extenders with link alive propagation
US8711677B2 (en) Multi-port, gigabit SERDES transceiver capable of automatic fail switchover
US7099271B2 (en) System for providing fabric activity switch control in a communications system
US7836208B2 (en) Dedicated redundant links in a communicaton system
US5566203A (en) Intelligent repeater functionality
JP2000261474A (en) Transmission device
JP4045415B2 (en) Ethernet communication device
JP3608534B2 (en) Packet switching equipment
JP2669356B2 (en) PDS transmission system
JP2655506B2 (en) Transmission line switching system
JPH0595363A (en) Duplexed ring bus fault detecting device
JP3115530B2 (en) Information transmission equipment
JPH11261615A (en) Double loop type data transmitter
KR930006894B1 (en) Signal terminal group matching circuit
KR930006863B1 (en) Supervising circuit for a receiving bus
JP2000151665A (en) Method for connecting node, node and network
JP3678265B2 (en) Crossbar switch device and diagnostic method thereof
EP1298861A2 (en) System for providing fabric activity switch control in a communications system
JPH05235809A (en) Repeater
JP2000106566A (en) Communication controller
JPH11284646A (en) Normalcy decision system of communication system

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050414