JP2003018172A - Network system and control method - Google Patents

Network system and control method

Info

Publication number
JP2003018172A
JP2003018172A JP2001201560A JP2001201560A JP2003018172A JP 2003018172 A JP2003018172 A JP 2003018172A JP 2001201560 A JP2001201560 A JP 2001201560A JP 2001201560 A JP2001201560 A JP 2001201560A JP 2003018172 A JP2003018172 A JP 2003018172A
Authority
JP
Japan
Prior art keywords
transmission
message
loopback
loop
master station
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.)
Granted
Application number
JP2001201560A
Other languages
Japanese (ja)
Other versions
JP4038648B2 (en
Inventor
Toshihiro Iida
敏裕 飯田
Kiyoshi Chiba
清志 千葉
Masakazu Sonobe
正和 薗部
Manabu Nishio
学 西尾
Takashi Kunito
隆 国藤
Yuichiro Fu
雄一郎 傅
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.)
Hitachi Ltd
East Japan Railway Co
Original Assignee
Hitachi Ltd
East Japan Railway Co
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 Hitachi Ltd, East Japan Railway Co filed Critical Hitachi Ltd
Priority to JP2001201560A priority Critical patent/JP4038648B2/en
Publication of JP2003018172A publication Critical patent/JP2003018172A/en
Application granted granted Critical
Publication of JP4038648B2 publication Critical patent/JP4038648B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To contract the time required, until the recovery of a transmission, when abnormalities are generated in transmission lines or in transmission equipment. SOLUTION: In loop-type transmission lines L1, L2, whose transmitting directions face in opposite directions to each other, transmission equipment (master equipment 1 and processor equipment 2-6) are connected in series with each other. In such a network system, each transmission equipment transmits carrier signals on transmission lines L1, L2 to its downstream transmission equipment, and e.g. when abnormalities are generated between the processor equipment 4, 5 to interrupt the carrier signals, the downstream-side transmission equipment 4, 5 report the abnormalities of the transmission lines to the master equipment 1. Then, the master equipment 1 edits telegraphic messages of starting loop-backs, so as to transmit them to both the transmission lines L1, L2. The processor equipment 4, 5 receive the telegraphic messages and set their control states to loop-back modes with detour circuits being formed. Thereby, data transmission by the loop-backs is made possible.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の伝送装置を
2重のループ状伝送路に接続したネットワークシステ
ム、およびネットワークシステム制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network system in which a plurality of transmission devices are connected to a double loop transmission line, and a network system control method.

【0002】[0002]

【従来の技術】2重ループのネットワークシステムは種
々考えられており、基本構成は、1台の親局伝送装置
(マスタ装置)と、複数台の子局伝送装置(プロセッサ
装置)とが2つのループ状伝送路に接続されたもので、
2つのループ状伝送路はループバックを考慮して伝送方
向が互いに逆を向くように構成されている。
2. Description of the Related Art Various dual-loop network systems have been considered, and the basic configuration is such that one master station transmission device (master device) and a plurality of slave station transmission devices (processor devices) are provided. It is connected to a loop transmission line,
The two loop-shaped transmission lines are configured such that their transmission directions are opposite to each other in consideration of loopback.

【0003】通常、ループ状伝送路の一方は運用系とし
てアプリケーションデータの伝送に使用され、他方は待
機系として使用される。そして、運用系に異常があった
場合や計画的な切換え指示があった場合には、運用系と
待機系を切り換えるループ交代制御が実行され、また伝
送路あるいは伝送装置に異常が発生して、ループ伝送路
として伝送が不能な場合には、異常な装置の伝送路を迂
回して正常な装置だけで伝送を行うループバック制御が
実行されるのが一般的である。
Usually, one of the looped transmission lines is used as an active system for transmitting application data, and the other is used as a standby system. Then, when there is an abnormality in the operating system or when there is a planned switching instruction, loop alternation control for switching the operating system and the standby system is executed, and an abnormality occurs in the transmission line or the transmission device. When transmission is not possible as a loop transmission line, loopback control is generally executed in which transmission is performed only by a normal device, bypassing the transmission line of an abnormal device.

【0004】こうした異常時の制御として、特開平9−
326816号公報には、受信状態を監視して異常があ
った場合に、各プロセッサ装置において出力停止および
迂回路の構成制御を行い、所定時間経過後に、マスタ装
置において伝送状態をチェックして、最終的な切換え決
定指令を送信することが提案されている。
As a control for such an abnormality, Japanese Patent Laid-Open No. 9-
According to Japanese Patent No. 326816, when a reception state is monitored and an abnormality is found, output stop and detour route configuration control are performed in each processor device, and after a lapse of a predetermined time, a master device checks the transmission state and finally It has been proposed to send a dynamic switch decision command.

【0005】また、特開平8−65328号公報には、
伝送路の異常を検知する方法として、伝送データの制御
部を拡張してエラー検出用の情報を付加し、一定の周期
で上記データを送信して、下流の装置で受信状態を監視
することにより伝送路の異常を検知し、異常を検知した
装置が付加情報をセットして下流へ送信することで、マ
スタ装置で回線の異常発生および発生個所を検知し、ル
ープ交代あるいはループバックの指示を行うことが提案
されている。
Further, Japanese Patent Laid-Open No. 8-65328 discloses that
As a method of detecting an abnormality in the transmission path, by extending the control unit of the transmission data to add information for error detection, transmitting the above data at a fixed cycle, and monitoring the reception status in the downstream device. A device that detects an error in the transmission line detects the error and sets the additional information and sends it downstream, so that the master device detects the line error and where it occurred, and issues a loop change or loopback instruction. Is proposed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の技術のうち特開平9−326816号公報の場合
は、異常を検知したプロセッサ装置で独自に迂回路を構
成して、また異常発生により全プロセッサ装置がシーケ
ンシャルに構成を変更した上、全プロセッサ装置の状態
が安定するまで待った後にマスタ装置で最終判定を行う
ので、異常発生から回復までの時間がかかるという問題
がある。
However, in the case of Japanese Unexamined Patent Application Publication No. 9-326816 among the above-mentioned conventional techniques, the processor device that detects an abnormality configures a detour by itself, and when an abnormality occurs, all processors are processed. There is a problem that it takes time from the occurrence of an abnormality to the recovery because the master device performs the final determination after the configuration of the device is changed sequentially and the states of all the processor devices are stabilized.

【0007】また、特開平8−65328号公報の場合
は、異常検出用のデータが受信されないことで異常判定
するため、エラー検出用データの送信周期以上の、無通
信時間のタイマー監視を行う必要があり、そのための時
間を要するという問題がある。
Further, in the case of Japanese Patent Laid-Open No. 8-65328, since the abnormality determination is made because the abnormality detection data is not received, it is necessary to perform timer monitoring of the non-communication time of the transmission cycle of the error detection data or more. However, there is a problem that it takes time for that.

【0008】回線上の異常をマスタ装置で集中監視して
指示を行う方式は、いったん指示した内容で伝送が回復
しない場合、再度状態確認後にリトライを行うことにな
るため、伝送が最終的に回復するまでに時間がかかる。
鉄道用の信号制御ネットワークにおいては、伝送の故障
が即時運行停止、最悪の場合には事故の要因となるた
め、一般のネットワークよりはるかに短い時間で伝送を
復旧させる必要がある。
In the system in which the master device centrally monitors the abnormality on the line and gives an instruction, if the transmission does not recover according to the instructed content, the transmission is finally recovered because the retry is performed after the status is confirmed again. It takes time to do.
In a signal control network for railways, transmission failure causes an immediate stoppage of operation and, in the worst case, an accident. Therefore, it is necessary to restore the transmission in a much shorter time than a general network.

【0009】本発明は、伝送路あるいは伝送装置で異常
が発生した際に、伝送復旧までの時間を短縮することを
課題とする。
It is an object of the present invention to shorten the time required for transmission restoration when an abnormality occurs in a transmission line or a transmission device.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するた
め、本発明は、伝送方向が互いに逆向きの2つのループ
型伝送路に1つの親局伝送装置と複数の子局伝送装置が
接続され、前記ループ型伝送路のうち、一方の伝送路を
運用系とし、他方の伝送路を待機系として、前記各伝送
装置間で通信を行うネットワークシステムにおいて、下
流側の伝送装置に向かって伝送路上にキャリア信号を送
信するキャリア信号送信手段と、前記キャリア信号の受
信を監視してキャリア信号に中断があれば、前記親局伝
送装置に伝送路異常の通知を行う監視手段と、前記親局
伝送装置に設けられ、前記伝送路異常の通知を受け取っ
て伝送路上の故障箇所を判定するとともに、両方の伝送
路で異常が通知された場合には、ループバック開始の電
文を編集し両方の伝送路に送信する電文編集・送信手段
と、前記子局伝送装置に設けられ、前記親局伝送装置か
らの電文を受信して伝送制御状態をループバックモード
に設定するループバックモード設定手段と、前記親局伝
送装置に設けられ、前記電文送信から所定時間経過後に
開通確認の電文を伝送路に送信し、該電文の帰還があっ
たときにループバック完成と判断する判断手段とを備え
たことを特徴としている。
In order to solve the above problems, according to the present invention, one master station transmission device and a plurality of slave station transmission devices are connected to two loop type transmission lines whose transmission directions are opposite to each other. In the network system in which one of the loop type transmission lines is used as an active system and the other transmission line is used as a standby system, and communication is performed between the transmission devices, the transmission line is directed toward the transmission device on the downstream side. Carrier signal transmitting means for transmitting a carrier signal to the master station, monitoring means for monitoring the reception of the carrier signal and, if there is an interruption in the carrier signal, monitoring means for notifying the master station transmission device of a transmission path abnormality, and the master station transmission. It is installed in the device and receives the transmission line abnormality notification to determine the failure point on the transmission line, and when abnormality is reported on both transmission lines, the loopback start message is edited and both transmission lines are edited. And a loopback mode setting unit that is provided in the slave station transmission device and that receives a message from the master station transmission device and sets the transmission control state to a loopback mode, The master station transmission device is provided with a determining means for transmitting a telegram for confirmation of opening to the transmission path after a predetermined time has elapsed from the transmission of the telegram, and for determining that loopback is completed when the telegram is returned. It has a feature.

【0011】上記構成によれば、伝送路に異常が発生す
ると、その伝送路異常の通知は直ちに親局伝送装置に伝
えられる。特に、両方の伝送路で異常が発生した場合、
異常を検知した子局伝送装置で独自に迂回路を構成する
ことはせず、伝送路異常の通知は全て親局伝送装置に伝
えられる。そして親局伝送装置は、伝送路異常の通知を
受け取ってループバック開始の電文を編集し、その電文
を両方の伝送路に送信するので、子局伝送装置側では前
記電文を受信して直ちに伝送制御状態をループバックモ
ードに設定することができる。これによって、ループバ
ックによるデータ伝送が可能となり、伝送復旧までの時
間を短縮することができる。
According to the above configuration, when an abnormality occurs in the transmission line, the notification of the transmission line abnormality is immediately transmitted to the master station transmission device. Especially when an error occurs on both transmission lines,
The slave station transmission device that has detected the abnormality does not form a detour by itself, and all notifications of the transmission path abnormality are transmitted to the master station transmission device. Then, the master station transmission device receives the notification of the transmission path abnormality, edits the telegram of the loopback start, and sends the telegram to both transmission paths, so the slave station transmission device receives the telegram and transmits it immediately. The control state can be set to loopback mode. As a result, data transmission by loopback becomes possible, and the time until the transmission is restored can be shortened.

【0012】なお、上記構成において、親局伝送装置
に、一方の伝送路でのみ異常が通知された場合には、運
用系と待機系の伝送路を切り換えるループ交代のモード
が設定される。
In the above configuration, when the master station transmission device is notified of an abnormality on only one transmission line, a loop alternation mode for switching the transmission line between the active system and the standby system is set.

【0013】また、開通確認の電文が帰還しない場合に
は、親局伝送装置は、システムで予め定義した最小迂回
構成情報にてループバック開始の電文を編集し、再度送
信する。
Further, when the opening confirmation message is not returned, the master station transmission device edits the loopback start message with the minimum detour configuration information defined in advance in the system, and retransmits it.

【0014】さらに、上記構成のネットワークシステム
には、以下の要素を付加することができる。すなわち、
親局伝送装置に設けられ、伝送路の障害が回復した否か
を調べるループチェック電文を所定の周期で両方の伝送
路に送信するループチェック電文送信手段と、子局伝送
装置に設けられ、前記ループチェック電文を受信すると
ともに、そのループチェック電文を、受信した方の伝送
路に送信するループチェック電文受信・送信手段と、親
局伝送装置に設けられ、前記ループチェック電文が両方
の伝送路で帰還した場合に、ループバック解除電文を両
方の伝送路に送信するループバック解除電文送信手段
と、子局伝送装置に設けられ、前記ループバック解除電
文を受信した場合に、伝送制御状態を通常モードに設定
する通常モード設定手段と、を付加することができる。
Further, the following elements can be added to the network system having the above configuration. That is,
A loop check message transmitting means, which is provided in the master station transmission device, transmits a loop check message to both transmission lines in a predetermined cycle to check whether or not the failure of the transmission line is recovered, and the slave station transmission device, Loop check message receiving / transmitting means for receiving the loop check message and transmitting the loop check message to the transmission line of the receiving side, and the master station transmission device are provided, and the loop check message is transmitted on both transmission lines. A loopback release message sending means for sending a loopback release message to both transmission lines when returning, and a transmission control state in the normal mode when the loopback release message is received in the slave station transmission device. And a normal mode setting means for setting.

【0015】また、本発明のネットワークシステム制御
方法は、伝送方向が互いに逆向きの2つのループ型伝送
路に1つの親局伝送装置と複数の子局伝送装置が接続さ
れ、前記ループ型伝送路のうち、一方の伝送路を運用系
とし、他方を伝送路を待機系として、前記各伝送装置間
で通信を行うネットワークシステムを制御する際に、下
流側の伝送装置に向かって伝送路上にキャリア信号を送
信するとともに、前記キャリア信号の受信を監視してキ
ャリア信号に中断があれば、前記親局伝送装置に伝送路
異常の通知を行い、前記伝送路異常の通知を受け取った
前記親局伝送装置は、伝送路異常の通知より伝送路上の
故障箇所を判定するとともに、両方の伝送路で異常が通
知された場合には、ループバック開始の電文を編集して
両方の伝送路に送信し、前記ループバック開始の電文を
受信した前記子局伝送装置は、伝送制御状態をループバ
ックモードに設定する一方、前記親局伝送装置は、前記
ループバック開始の電文を送信してから所定時間経過後
に開通確認の電文を伝送路に送信し、この開通確認の電
文の帰還があったときにループバック完成と判断するこ
とを特徴としている。
Also, in the network system control method of the present invention, one master station transmission device and a plurality of slave station transmission devices are connected to two loop type transmission lines whose transmission directions are opposite to each other, and the loop type transmission line is connected. Among them, one transmission path is used as an active system and the other transmission path is used as a standby system, and when controlling a network system for performing communication between the transmission devices, a carrier is provided on the transmission line toward a downstream transmission device. While transmitting a signal, if the carrier signal is interrupted by monitoring the reception of the carrier signal, a transmission path abnormality is notified to the master station transmission device, and the master station transmission receives the transmission path abnormality notification. The device determines the failure point on the transmission line from the notification of the transmission line error, and when an error is reported on both transmission lines, edits the loopback start message and sends it to both transmission lines. However, the slave station transmission device that has received the loopback start message, while setting the transmission control state to the loopback mode, the master station transmission device, a predetermined time after transmitting the loopback start message It is characterized in that after the lapse of time, an opening confirmation message is transmitted to the transmission line, and when the opening confirmation message is returned, it is determined that the loopback is completed.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態を図面
に従って説明する。図1は、本発明に係るネットワーク
システムの概略構成を示している。本ネットワークシス
テムには、親局伝送装置として1台のマスタ装置Mと、
子局伝送装置として5台のプロセッサ装置P1〜P5が
設置され、マスタ装置Mおよびプロセッサ装置P1〜P
5は、伝送方向が互いに逆向きの2重のループ状伝送路
L1,L2で接続されている。なお、プロセッサ装置は
5台に限らず、2台乃至4台、または6台以上あっても
よい。また以下の説明では、マスタ装置Mはマスタ装置
1とし、プロセッサ装置P1〜P5はそれぞれプロセッ
サ装置2〜6という。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a schematic configuration of a network system according to the present invention. This network system includes one master device M as a master station transmission device,
Five processor devices P1 to P5 are installed as slave station transmission devices, and a master device M and processor devices P1 to P5 are installed.
5 are connected by double loop-shaped transmission lines L1 and L2 whose transmission directions are opposite to each other. Note that the number of processor devices is not limited to five, and may be two to four, or six or more. In the following description, the master device M will be referred to as the master device 1, and the processor devices P1 to P5 will be referred to as the processor devices 2 to 6, respectively.

【0017】図2は、マスタ装置1またはプロセッサ装
置2〜6である伝送装置の内部構成を示している。伝送
装置は、1系のCPU20Aおよび2系のCPU20B
と、CPU20Aに接続されたNCP22A,22B
と、CPU20Bに接続されたNCP22C,22D
と、NCP22A,22Cに接続されたNIF24A
と、NCP22B,22Dに接続されたNIF24Bと
を備えている。
FIG. 2 shows the internal structure of the transmission device, which is the master device 1 or the processor devices 2 to 6. The transmission device is a 1-system CPU 20A and a 2-system CPU 20B.
And NCP 22A, 22B connected to CPU 20A
And the NCP 22C, 22D connected to the CPU 20B
And NIF24A connected to NCP22A, 22C
And an NIF 24B connected to the NCPs 22B and 22D.

【0018】CPU20A,20Bはアプリケーション
処理を実行するプロセッサで、CPU間通信路21で互
いに接続され、状態情報あるいは制御情報を交換して、
2重系機能を実行する。NCP22A,22B,22
C,22Dは、伝送路の通信制御を行うネットワークコ
ントローラで、NCP22A,22Cは伝送路L1を、
NCP22B,22Dは伝送路L2をそれぞれ制御す
る。また、NCP22A,22BはNCP間通信路23
Aで、NCP22C,22DはNCP間通信路23Bで
それぞれ接続され、各々双方向で電文の送受信を行う。
NIF24A,24Bは、それぞれ伝送路L1,L2へ
の入出力を制御するネットワークインタフェースであ
る。
The CPUs 20A and 20B are processors for executing application processing, which are connected to each other through an inter-CPU communication path 21 and exchange state information or control information.
Executes dual function. NCP22A, 22B, 22
C and 22D are network controllers that control the communication of the transmission line, and NCPs 22A and 22C are the transmission line L1.
The NCPs 22B and 22D control the transmission line L2, respectively. Further, the NCPs 22A and 22B are the communication paths 23 between the NCPs.
In A, the NCPs 22C and 22D are respectively connected by the inter-NCP communication path 23B, and bidirectionally transmit and receive electronic messages.
The NIFs 24A and 24B are network interfaces that control input and output to and from the transmission lines L1 and L2, respectively.

【0019】なお、以下の説明では、CPU20A,2
0Bを総称してCPU20と、NCP22A,22B,
22C,22Dを総称してNCP22と、NIF24
A,24Bを総称してNIF24という。
In the following description, the CPUs 20A, 2
0B are collectively referred to as CPU 20, NCP 22A, 22B,
22C and 22D are collectively referred to as NCP22 and NIF24.
A and 24B are collectively called NIF24.

【0020】図3は、NIF24の内部構成を示してい
る。NIF24は、NCP I/F31と、セレクタ3
2と、レシーバ33と、ドライバ34とを備えている。
NCP I/F31はNCP22(NCP22A,22
CおよびNCP22B,22D)と接続され、データの
送受信、モード設定および監視機能を有する。レシーバ
33およびドライバ34は伝送路L1,L2に接続さ
れ、それぞれデータの受信および送信を制御する。セレ
クタ32は、レシーバ33からの受信データまたはNC
P I/F31からの送信データを、NCP I/F31
からの制御により択一的に選択し、ドライバ34へ出力
する機能を有する。
FIG. 3 shows the internal structure of the NIF 24. The NIF 24 includes the NCP I / F 31 and the selector 3
2, a receiver 33, and a driver 34.
The NCP I / F 31 is an NCP22 (NCP22A, 22
C and NCP 22B, 22D), and has data transmission / reception, mode setting and monitoring functions. The receiver 33 and the driver 34 are connected to the transmission lines L1 and L2 and control the reception and transmission of data, respectively. The selector 32 receives the data received from the receiver 33 or NC.
The transmission data from the P I / F 31 is transferred to the NCP I / F 31
It has a function of selectively selecting and outputting to the driver 34 under the control of.

【0021】図4は、送受信データフォーマットを示し
ている。図に示すように、送受信データは、ビット同期
のための開始フラグ40、送信元アドレス41、機能コ
ード42、データ部43、フレームチェックシーケンス
44(FCS)、および終了フラグ45から構成されて
いる。
FIG. 4 shows a transmission / reception data format. As shown in the figure, the transmission / reception data includes a start flag 40 for bit synchronization, a transmission source address 41, a function code 42, a data section 43, a frame check sequence 44 (FCS), and an end flag 45.

【0022】次に、上記構成のネットワークシステムに
おける動作について説明する。まず、他装置からのデー
タ受信の手順について、図5および図6を用いて説明す
る。NCP22は、送信処理を行っていない時、NIF
24のセレクタ32を、レシーバ33からの受信データ
を選択するモード(スルーモード)に設定する。NIF
24は、受信データを電気的に中継して、ドライバ34
を介して伝送路L1またはL2へ送信すると同時に、N
CP I/F31を介してNCP22へ受信データを送
る。
Next, the operation of the network system having the above configuration will be described. First, a procedure for receiving data from another device will be described with reference to FIGS. 5 and 6. When the NCP 22 is not performing transmission processing, the NCP 22
The selector 32 of 24 is set to a mode (through mode) for selecting the data received from the receiver 33. NIF
24 electrically relays the received data, and the driver 34
To the transmission line L1 or L2 via
Received data is sent to the NCP 22 via the CP I / F 31.

【0023】NCP22は、送られてきた受信データの
フレームチェックを行い、正常なフレームであれば機能
コードをチェックし、予め設定されている機能コード表
を検索して一致した場合に、CPU共有メモリに受信デ
ータをセットする。そして、受信データのフレーム異常
時あるいは機能コード不一致の場合、その受信データを
破棄する。
The NCP 22 checks the frame of the received data that has been sent, checks the function code if it is a normal frame, searches the preset function code table, and if they match, the CPU shared memory Set the received data to. When the frame of the received data is abnormal or the function code does not match, the received data is discarded.

【0024】データ送信の手順を図7〜10を用いて示
す。NCP22は、CPU20から送信要求があると、
NIF24のセレクタ32を、受信データを遮断してN
CP I/F31からの送信データを選択するモード
(S&Fモード)に設定する。NCP22は、セレクタ
32の切換え確認後、帰還監視タイマーT1を起動し
て、NIF24に送信データを送る(図7)。
The procedure of data transmission will be described with reference to FIGS. When the NCP 22 receives a transmission request from the CPU 20,
The selector 32 of the NIF 24 blocks the received data to N
Set to the mode (S & F mode) for selecting the transmission data from the CP I / F 31. After confirming the switching of the selector 32, the NCP 22 activates the feedback monitoring timer T1 and sends the transmission data to the NIF 24 (FIG. 7).

【0025】送信データがループ伝送路(ここでは伝送
路L1)を一巡して送信元に帰還すると、NIF24か
らNCP22にデータが送られる(図8)。NCP22
は、受信データの送信元アドレスをチェックして自装置
のアドレスであれば、送信データの帰還と判断して、N
IF24のセレクタ32をスルーモードに戻し、帰還監
視タイマーT1をキャンセルして、送信処理を正常終了
する。NCP22は、送信データが帰還せずに帰還監視
タイマーT1がタイムアウトした場合、送信データ不帰
還として送信処理を異常終了する。
When the transmission data goes around the loop transmission line (transmission line L1 in this case) and returns to the transmission source, the data is sent from the NIF 24 to the NCP 22 (FIG. 8). NCP22
Checks the transmission source address of the received data, and if it is the address of its own device, it judges that the transmission data is returned and returns N
The selector 32 of the IF 24 is returned to the through mode, the feedback monitoring timer T1 is canceled, and the transmission process is normally terminated. When the feedback monitoring timer T1 times out without the feedback of the transmission data, the NCP 22 abnormally terminates the transmission process as transmission data non-feedback.

【0026】NCP22で送信処理中に受信したデータ
は、NIF24のセレクタ32がS&Fモードで保持さ
れるため、電気的な中継は行われずにNCP22へ引き
込まれる(図9および図10)。
The data received during the transmission processing by the NCP 22 is drawn into the NCP 22 without being electrically relayed because the selector 32 of the NIF 24 is held in the S & F mode (FIGS. 9 and 10).

【0027】NCP22は、S&Fモードで受信したデ
ータのフレームチェックを行い、異常なフレームであれ
ば、その受信データを破棄する。フレームチェックの結
果、正常なフレームであれば、送信中データに続けて再
送信する。また、正常なフレームであれば、機能コード
をチェックし、予めCPU20から設定されている機能
コード表を検索して一致した場合に、CPU共有メモリ
に受信データをセットする。
The NCP 22 checks the frame of the data received in the S & F mode, and if the frame is abnormal, discards the received data. As a result of the frame check, if the frame is a normal frame, it is retransmitted following the data being transmitted. If it is a normal frame, the function code is checked, and if the function code table set in advance by the CPU 20 is searched and they match, the received data is set in the CPU shared memory.

【0028】2重ループの伝送路は、一方を運用系、他
方を待機系とし、伝送装置間で交換するアプリケーショ
ン電文は運用系の伝送路に送信する。運用系、待機系の
指示はマスタ装置1にて行い、マスタ装置1は、一日一
回定期的に伝送路の系を切り換える他、図示しない端末
を用いて、作業員の操作指示により伝送路の系を切り換
えて、ループ交代を実施する。
One of the dual loop transmission lines is an active system and the other is a standby system, and an application message exchanged between transmission devices is transmitted to the active transmission line. The master device 1 gives instructions for the operating system and the standby system. The master device 1 periodically switches the transmission line system once a day, and also uses a terminal (not shown) to instruct the transmission line by an operator's operation instruction. The system is switched and the loop replacement is performed.

【0029】プロセッサ装置2〜6においては、マスタ
装置1からのアプリケーション電文を受信した伝送系を
運用系として認知し、自装置の送信要求があった場合に
は、認知された運用系に送信する。
In the processor devices 2 to 6, the transmission system that has received the application message from the master device 1 is recognized as the active system, and when there is a transmission request from the own device, it is transmitted to the recognized active system. .

【0030】次に、伝送異常時のループ交代実施の手順
について、図11および図12を用いて説明する。伝送
路L1,L2、あるいは伝送装置(マスタ装置1やプロ
セッサ装置2〜6内のNIF等)に異常が発生すると、
送信データが伝送路L1,L2を一巡して帰還できなく
なるため、NCPは、送信処理において帰還タイムアウ
トエラーを検知して、マスタ装置1へ通知する。
Next, the procedure for performing the loop alternation in the case of abnormal transmission will be described with reference to FIGS. 11 and 12. When an abnormality occurs in the transmission lines L1 and L2 or the transmission device (NIF in the master device 1 or the processor devices 2 to 6),
Since the transmission data cannot loop back through the transmission lines L1 and L2 and return, the NCP detects a feedback timeout error in the transmission process and notifies the master device 1 of the feedback timeout error.

【0031】マスタ装置1のCPUは、NCPから送信
データ帰還タイムアウトを通知された場合、当該伝送路
を異常と判断して、運用系と待機系の伝送路を切り換え
る。例えば図11において、伝送路L1が運用系の時、
プロセッサ装置4のL1側のNIFに異常が発生する
と、マスタ装置1の送信処理において、送信データ帰還
タイムアウトを検出し、図12に示すように、L2側を
運用系として送信を行う。プロセッサ装置は、マスタ装
置のアプリケーション電文が待機系と認知していた方で
受信することで、伝送ループの切換えを認識する。
When the CPU of the master device 1 is notified of the transmission data feedback timeout by the NCP, it determines that the transmission line is abnormal and switches the transmission line between the active system and the standby system. For example, in FIG. 11, when the transmission line L1 is the active system,
When an abnormality occurs in the NIF on the L1 side of the processor device 4, a transmission data feedback timeout is detected in the transmission process of the master device 1, and transmission is performed with the L2 side as the active system, as shown in FIG. The processor device recognizes the switching of the transmission loop by receiving the application message of the master device which has been recognized as the standby system.

【0032】ここで、回線異常の検知について述べる。
NIFのドライバ34は、伝送路L1,L2に常時キャ
リア信号を発信している。そして、NIFのレシーバ3
3は、伝送路L1,L2の上流側にあるNIFからのキ
ャリア信号を監視し、キャリア信号が中断した場合、N
CP I/F部31を介して、NCPに対してキャリア
断を通知する。
Here, detection of a line abnormality will be described.
The NIF driver 34 constantly transmits a carrier signal to the transmission lines L1 and L2. And the NIF receiver 3
3 monitors the carrier signal from the NIF on the upstream side of the transmission lines L1 and L2, and when the carrier signal is interrupted, N
The NCP is notified of the carrier disconnection via the CP I / F unit 31.

【0033】全てのNIFがキャリア信号を発信し、そ
の下流側のNIFで受信するため、伝送路L1,L2の
異常は、異常個所のすぐ下流のNIFでのみ検知し、さ
らに下流のNIFでは検知しない。
Since all the NIFs transmit the carrier signal and the NIFs on the downstream side receive the carrier signals, the abnormality in the transmission lines L1 and L2 is detected only in the NIF immediately downstream of the abnormal portion, and is detected in the NIF further downstream. do not do.

【0034】さらに、回線異常の通知について述べる。
NCPは、NIFからのキャリア断信号を監視し、キャ
リア断を検知した場合、プロセッサ装置のNCPは、キ
ャリア断を検知した伝送路に、マスタ装置に向けて回線
状態電文を送信する。
Further, the line abnormality notification will be described.
The NCP monitors the carrier disconnection signal from the NIF, and when the carrier disconnection is detected, the NCP of the processor device transmits a line status message to the master device on the transmission path in which the carrier disconnection is detected.

【0035】例えば図13において、プロセッサ装置P
3とP4の間の伝送路L1に異常が発生した場合、プロ
セッサ装置P4のNIFでキャリア断を検知してNCP
に通知し、プロセッサ装置P4のNCPが、伝送路L1
に、回線状態電文を送信する。
For example, in FIG. 13, the processor device P
When an abnormality occurs in the transmission line L1 between the P3 and P4, the carrier disconnection is detected by the NIF of the processor device P4 and the NCP is detected.
And the NCP of the processor device P4 notifies the transmission line L1.
The line status message is sent to.

【0036】さらに図14に示すように、プロセッサ装
置P3とP4の間の伝送路L2に異常が発生した場合、
プロセッサ装置P3が、伝送路L2に、回線状態電文を
送信する。
Further, as shown in FIG. 14, when an abnormality occurs in the transmission line L2 between the processor devices P3 and P4,
The processor device P3 transmits the line status message to the transmission line L2.

【0037】次に、マスタ装置のループバック開始制御
の手順について、図15〜17を用いて説明する。マス
タ装置1は、回線状態電文受信後、以下の手順(10
0)〜(110)でループ交代あるいはループバックの
制御を実施する。なお、マスタ装置1のNIFでキャリ
ア断を検知した場合は、回線異常電文の送信は行わない
が、以下の説明で回線状態電文受信とは、マスタ装置1
のNIFでキャリア断を検知した場合も含むものとす
る。 (100)回線状態異常電文を受信した伝送路と反対側
の伝送路の状態をチェックして、反対側の伝送路で回線
状態異常電文を受信していない場合は、運用系ループと
待機系ループを交換する。 (101)ループ制御モードをループバック移行中にす
る。 (102)回線状態異常電文から送信元アドレスを取り
出し、予め定義したネットワーク割付表(表1)から回
線異常を検知した装置の装置番号を求める。例えば、受
信した回線異常電文の送信元アドレスが41であれば、
装置番号5(プロセッサ装置P4)で異常検知したと判
定する。
Next, the procedure of the loopback start control of the master device will be described with reference to FIGS. After receiving the line status message, the master device 1 performs the following procedure (10
The control of loop alternation or loop back is executed in 0) to (110). If the NIF of the master device 1 detects the carrier disconnection, the line abnormality message is not transmitted. However, in the following description, the line state message reception means the master device 1
It also includes the case where carrier disconnection is detected by NIF. (100) Check the status of the transmission path on the opposite side to the transmission path on which the line status abnormal message was received, and if the line status abnormal message is not received on the opposite side transmission path, the operating loop and the standby loop To replace. (101) The loop control mode is set to the loop back transition. (102) The transmission source address is extracted from the line status abnormal message, and the device number of the device that has detected the line error is obtained from the predefined network allocation table (Table 1). For example, if the source address of the received line abnormality message is 41,
It is determined that the abnormality is detected in the device number 5 (processor device P4).

【0038】[0038]

【表1】 [Table 1]

【0039】(103)両伝送路L1,L2の回線異常
検知装置の装置番号と、予め定義した迂回路構成表(表
2)から、迂回路を構成する装置のアドレスを求め、迂
回路構成データに記録する。例えば、L1側の異常検知
装置が5で、L2側の異常検知装置が4であれば、迂回
指定は4:5、すなわち装置番号4(プロセッサ装置P
3)で伝送路L1から伝送路L2への迂回、装置番号5
(プロセッサ装置P4)で伝送路L2から伝送路L1へ
の迂回と判定する。
(103) From the device number of the line abnormality detecting device of both transmission lines L1 and L2 and the pre-defined detour configuration table (Table 2), the address of the device forming the detour is obtained, and the detour configuration data is obtained. To record. For example, if the abnormality detection device on the L1 side is 5 and the abnormality detection device on the L2 side is 4, the detour designation is 4: 5, that is, the device number 4 (processor device P
3) Detour from transmission line L1 to transmission line L2, device number 5
The (processor device P4) determines that there is a detour from the transmission line L2 to the transmission line L1.

【0040】[0040]

【表2】 [Table 2]

【0041】(104)迂回路構成表に迂回路指定が定
義されていない場合は、ループバック不可と判断し、ル
ープ制御モードを両系ループ停止にして終了する。 (105)記録した迂回路構成データに従い、迂回路を
構成する装置の指示を、ループバック開始指示電文に編
集する。ループバック開始指示電文には、伝送路L1か
ら伝送路L2へ迂回する装置のアドレス、および伝送路
L2から伝送路L1へ迂回する装置のアドレスを設定す
る。 (106)ループバック開始指示電文を両方の伝送路L
1,L2に送信し、タイマーT2を起動する(図1
5)。 (107)タイマーT2タイムアウト後、伝送路L1に
開通確認電文を送信し、タイマーT3を起動する。 (108)開通確認電文が帰還した場合、ループ制御モ
ードをループバック制御中にする(図17)。 (109)開通確認電文が帰還しないままタイマーT3
がタイムアウトした場合で、迂回路構成の指示が予め定
義した最小迂回構成(図22)の場合は、ループ制御モ
ードを両系ループ停止にして終了する。 (110)開通確認電文が帰還しないままタイマーT3
がタイムアウトした場合で、迂回路構成の指示が最小迂
回構成でない場合は、予め定義した最小迂回構成表に従
って迂回路を構成する装置を求め、迂回路構成データに
記録し、手順(105)に戻る。
(104) If the detour designation is not defined in the detour configuration table, it is determined that the loopback is not possible, and the loop control mode is set to the loop stop of both systems to finish. (105) According to the recorded detour configuration data, the instruction of the device forming the detour is edited into a loopback start instruction message. In the loopback start instruction message, the address of the device detouring from the transmission line L1 to the transmission line L2 and the address of the device detouring from the transmission line L2 to the transmission line L1 are set. (106) Send the loopback start instruction message to both transmission lines L
1, L2, and start timer T2 (Fig. 1
5). (107) After the timer T2 times out, an opening confirmation message is transmitted to the transmission line L1 and the timer T3 is started. (108) When the opening confirmation message is returned, the loop control mode is set to the loop back control (FIG. 17). (109) Timer T3 without opening confirmation message
If the time-out has occurred and the instruction of the detour configuration is the minimum detour configuration defined in advance (FIG. 22), the loop control mode is set to stop both loops and the process is terminated. (110) Timer T3 without opening confirmation message
If the time-out occurs and the detour configuration instruction is not the minimum detour configuration, a device that configures the detour is obtained according to a predefined minimum detour configuration table, recorded in the detour configuration data, and the process returns to step (105). .

【0042】プロセッサ装置のループバック開始制御の
手順について説明する。プロセッサ装置は、マスタ装置
からループバック開始指示電文を受信後、以下の手順
(200)〜(203)でループバックの制御を実施す
る。 (200)ループ制御モードをループバック移行中にす
る。 (201)受信したループバック開始指示電文を、NC
P間通信路を用いて、対向ループ側のNCPへ転送する
(図16)。 (202)ループバック開始指示電文の迂回路構成装置
をチェックして、自装置であれば、NIFをS&Fモー
ドに設定し、ループバック開始指示電文の伝送路L1か
ら伝送路L2への迂回(図19)、または伝送路L2か
ら伝送路L1への迂回(図20)の指示に従い、NCP
間の通信路を設定する。 (203)開通確認電文を受信後、ループ制御モードを
ループバック移行中にする。
The procedure of loopback start control of the processor unit will be described. After receiving the loopback start instruction message from the master device, the processor device executes the loopback control in the following steps (200) to (203). (200) Set the loop control mode to loop back transition. (201) The received loopback start instruction message is NC
Transfer to the NCP on the opposite loop side using the P-to-P communication path (FIG. 16). (202) The detour configuration device of the loopback start instruction message is checked, and if it is its own device, the NIF is set to the S & F mode, and the loopback start instruction message is detoured from the transmission line L1 to the transmission line L2 (see FIG. 19), or according to the detour (FIG. 20) instruction from the transmission line L2 to the transmission line L1, the NCP
Set up a communication path between them. (203) After receiving the opening confirmation message, the loop control mode is changed to the loopback transition.

【0043】ループバック制御中の動作について述べ
る。マスタ装置は、システム規定の周期で、ループチェ
ック電文を、両方の伝送路に送信する。プロセッサ装置
は、受信したループチェック電文を対向ループ側への迂
回は行わず、受信したループ側に送信する(図18)。
したがって、伝送路の障害が回復すると、マスタ装置に
ループチェック電文が帰還する。
The operation during loopback control will be described. The master device transmits a loop check message to both transmission paths at a system-specified cycle. The processor device sends the received loop check message to the received loop side without detouring to the opposite loop side (FIG. 18).
Therefore, when the failure of the transmission path is recovered, the loop check message is returned to the master device.

【0044】次に、マスタ装置のループバック解除の手
順について説明する。マスタ装置は、両方の伝送路でル
ープチェック電文が帰還した場合、以下の手順(30
0)〜(303)でループバック解除の制御を実施す
る。 (300)ループ制御モードをループバック解除中にす
る。 (301)ループバック解除電文を両方の伝送路に送信
し、帰還タイムアウト監視タイマーT1を起動する(図
21)。 (302)ループバック解除電文が帰還した場合は、ル
ープ制御モードを通常モードにする。 (303)ループバック解除電文が帰還せず、帰還タイ
ムアウト監視タイマーT1がタイムアウトした場合は、
ループ制御モードをループバック移行中にして、迂回路
構成データに従い、再度ループバック開始の制御を行
う。
Next, the procedure for canceling the loopback of the master device will be described. When the loop check message is returned on both transmission lines, the master device performs the following procedure (30
The loopback cancellation control is executed in 0) to (303). (300) Set the loop control mode to the loopback canceling state. (301) Send a loopback release message to both transmission lines and activate the feedback timeout monitoring timer T1 (FIG. 21). (302) When the loopback release message is returned, the loop control mode is set to the normal mode. (303) If the loopback release message does not return and the feedback timeout monitoring timer T1 times out,
The loop control mode is set to the transition to the loopback, and the control to start the loopback is performed again according to the detour configuration data.

【0045】プロセッサ装置のループバック解除手順に
ついて説明する。プロセッサ装置は、マスタ装置からル
ープバック解除電文を受信した場合、以下の手順(40
0)〜(401)でループバック解除の制御を実施す
る。 (400)ループ制御モードを通常モードにする。 (401)迂回路を構成していたプロセッサ装置では、
手順(202)で設定したNCP間の通信路を解除し、
受信したループバック解除電文を受信したループ側に送
信する。
A loopback cancellation procedure of the processor unit will be described. When the processor device receives the loopback release message from the master device, the processor device performs the following procedure (40
The loopback cancellation control is executed in 0) to (401). (400) Set the loop control mode to the normal mode. (401) In the processor device forming the detour,
Cancel the communication path between NCPs set in step (202),
Send the received loopback release message to the receiving loop side.

【0046】本実施の形態によれば、以下の効果が期待
できる。 図23に示すように、伝送装置の各コンポーネントが
2重系で構成されるため、一方の系(例えば、NCP2
2A)に異常が発生した場合でも、残った他方の系(例
えば、NCP22Cおよび22D)で伝送制御を継続可
能である。 データ送受信の手順において説明したように、S&F
モードになった装置でフレーム異常のデータを破棄する
ため、伝送途中でフレームに異常が生じたデータは、適
切に除去される。 ループ交代実施の手順において説明したように、運用
系・待機系の切換えはマスタ装置が管理し、プロセッサ
装置はマスタ装置からのアプリケーション電文受信ルー
プを運用系と認識する方式のため、ループ交代に特別な
伝送手順を必要としない。 回線異常検知の手順において説明したように、伝送路
の各NIF間でキャリア信号を監視するため、回線上で
異常が発生した場合、異常個所に隣接する下流の装置の
みで異常を検出でき、異常個所を容易に特定できる。 回線状態監視をNCPが独自のタイミングで実施する
ため、マスタ装置あるいはCPUからの制御を必要とせ
ず、異常発生を迅速に検出・通知することができる。 ループバック開始制御の手順において説明したよう
に、ループバックさせる装置を、マスタ装置に集約した
回線状態から判断するため、異常個所の判断と迂回装置
の特定を迅速に行うことができる。 迂回路構成を取れない場合は、システムで予め定義し
た最小迂回構成に移行するため、システムの稼働に最低
限必要な装置で伝送を回復させることができ、伝送中断
の時間を最短にすることができる。 ループバック解除の手順において説明したように、マ
スタ装置から周期的にループチェックを行うため、伝送
路の回復を自動的に検知することができる。 図21に示すように、ループバック解除電文を両方の
ループに迂回させずに送信するため、ループバック中は
伝送路の外側に位置していた装置も含めて、ループ伝送
路上の全装置の伝送状態をリセットすることができる。
According to this embodiment, the following effects can be expected. As shown in FIG. 23, since each component of the transmission device is configured in a dual system, one system (for example, NCP2
Even when an abnormality occurs in 2A), the transmission control can be continued in the remaining other system (for example, NCP 22C and 22D). As described in the procedure of data transmission / reception, S & F
Since the device which has entered the mode discards the data having the frame abnormality, the data having the frame abnormality during the transmission is appropriately removed. As explained in the procedure for loop replacement, the master device manages the switching between the active system and the standby system, and the processor device recognizes the application message reception loop from the master device as the active system. No special transmission procedure is required. As described in the line abnormality detection procedure, the carrier signal is monitored between each NIF of the transmission line. Therefore, if an abnormality occurs on the line, only the downstream device adjacent to the abnormal point can detect the abnormality. The location can be easily specified. Since the NCP carries out line status monitoring at its own timing, it is possible to promptly detect and notify the occurrence of an abnormality without the need for control from the master device or the CPU. As described in the loopback start control procedure, the device to be looped back is determined from the line state aggregated in the master device, so that the determination of the abnormal portion and the identification of the bypass device can be performed quickly. If the detour configuration cannot be taken, the system shifts to the minimum detour configuration that is predefined in the system, so that the transmission can be recovered with the minimum equipment required for system operation, and the transmission interruption time can be minimized. it can. As described in the procedure for canceling the loopback, the master device periodically performs the loop check, so that the recovery of the transmission path can be automatically detected. As shown in FIG. 21, since the loopback release message is transmitted without circumventing both loops, transmission of all devices on the loop transmission line, including devices located outside the transmission line during loopback, is performed. The state can be reset.

【0047】[0047]

【発明の効果】以上説明したように、本発明によれば、
伝送路あるいは伝送装置で異常が発生すると、ループバ
ックモードが直ちに設定されるので、伝送復旧までの時
間を短縮することができる。
As described above, according to the present invention,
When an abnormality occurs in the transmission line or the transmission device, the loopback mode is set immediately, so that the time until the transmission is restored can be shortened.

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

【図1】本発明に係るネットワークシステムの概略構成
図である。
FIG. 1 is a schematic configuration diagram of a network system according to the present invention.

【図2】伝送装置(マスタ装置またはプロセッサ装置)
の内部構成図である。
FIG. 2 is a transmission device (master device or processor device)
FIG.

【図3】NIFの構成図である。FIG. 3 is a configuration diagram of an NIF.

【図4】送受信データのデータフォーマットを示した図
である。
FIG. 4 is a diagram showing a data format of transmission / reception data.

【図5】伝送装置におけるデータ受信経路を示した図で
ある。
FIG. 5 is a diagram showing a data reception path in a transmission device.

【図6】NIF内部におけるデータ受信経路を示した図
である。
FIG. 6 is a diagram showing a data reception path inside the NIF.

【図7】伝送装置におけるデータ送信経路を示した図で
ある。
FIG. 7 is a diagram showing a data transmission path in a transmission device.

【図8】伝送装置におけるデータ帰還時のデータの流れ
を示した図である。
FIG. 8 is a diagram showing a data flow when data is returned in the transmission device.

【図9】NIF内部におけるS&F時のデータの流れを
示した図である。
FIG. 9 is a diagram showing a data flow during S & F in the NIF.

【図10】伝送装置におけるS&F時のデータの流れを
示した図である。
FIG. 10 is a diagram showing a data flow in S & F in the transmission device.

【図11】運用系に異常が発生した状態を示した図であ
る。
FIG. 11 is a diagram showing a state in which an abnormality has occurred in the active system.

【図12】図11の状態から待機系にループ交代を行っ
た状態を示した図である。
FIG. 12 is a diagram showing a state in which a standby system is changed from the state shown in FIG. 11 to a loop system.

【図13】伝送路L1の回線異常がマスタ装置に通知さ
れる様子を示した図である。
FIG. 13 is a diagram showing how the master device is notified of a line abnormality of a transmission line L1.

【図14】伝送路L2の回線異常がマスタ装置に通知さ
れる様子を示した図である。
FIG. 14 is a diagram showing a state in which a line abnormality of a transmission line L2 is notified to a master device.

【図15】ループバック開始指示電文が送信されている
様子を示した図である。
FIG. 15 is a diagram showing how a loopback start instruction message is being transmitted.

【図16】受信したループバック開始指示電文を対向ル
ープ側のNCPへ転送する様子を示した図である。
FIG. 16 is a diagram showing how the received loopback start instruction message is transferred to the NCP on the opposite loop side.

【図17】ループバック制御中のデータの流れを示した
図である。
FIG. 17 is a diagram showing a data flow during loopback control.

【図18】ループチェック電文が送信されている様子を
示した図である。
FIG. 18 is a diagram showing how a loop check message is being transmitted.

【図19】伝送路L1から伝送路L2へのループバック
経路を示した図である。
FIG. 19 is a diagram showing a loopback route from the transmission line L1 to the transmission line L2.

【図20】伝送路L2から伝送路L1へのループバック
経路を示した図である。
20 is a diagram showing a loopback route from the transmission line L2 to the transmission line L1. FIG.

【図21】ループバック解除電文が送信されている様子
を示した図である。
FIG. 21 is a diagram showing how a loopback cancellation message is being transmitted.

【図22】最小迂回構成を示した図である。FIG. 22 is a diagram showing a minimum detour configuration.

【図23】一方の系に異常が発生した時の迂回経路を示
した図である。
FIG. 23 is a diagram showing a bypass route when an abnormality occurs in one system.

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

1 マスタ装置 2〜6 プロセッサ装置 L1,L2 ループ伝送路 20A,20B CPU 21 CPU間伝送路 22A〜22D NCP(ネットワークコントローラ) 23A,23B NCP間伝送路 24A,24B NIF(ネットワークインタフェー
ス) 31 NCP I/F 32 セレクタ 33 レシーバ 34 ドライバ
1 Master device 2-6 Processor device L1, L2 Loop transmission line 20A, 20B CPU 21 CPU transmission line 22A-22D NCP (network controller) 23A, 23B NCP transmission line 24A, 24B NIF (network interface) 31 NCP I / F 32 Selector 33 Receiver 34 Driver

───────────────────────────────────────────────────── フロントページの続き (72)発明者 千葉 清志 茨城県ひたちなか市市毛1070番地 株式会 社日立製作所交通システム事業部水戸交通 システム本部内 (72)発明者 薗部 正和 東京都渋谷区代々木二丁目2番2号 東日 本旅客鉄道株式会社内 (72)発明者 西尾 学 東京都渋谷区代々木二丁目2番2号 東日 本旅客鉄道株式会社内 (72)発明者 国藤 隆 東京都渋谷区代々木二丁目2番2号 東日 本旅客鉄道株式会社内 (72)発明者 傅 雄一郎 東京都渋谷区代々木二丁目2番2号 東日 本旅客鉄道株式会社内 Fターム(参考) 5K031 AA08 DA02 DA12 EA03 EA10 EA12 EB05 EB12    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Kiyoshi Chiba             1070 Ichimo, Hitachinaka City, Ibaraki Prefecture Stock Association             Hitachi, Ltd. Transportation Systems Division Mito Transportation             System headquarters (72) Inventor Masakazu Sonobe             2-2-2 Yoyogi, Shibuya-ku, Tokyo Tohnichi             Inside the passenger railway (72) Inventor Manabu Nishio             2-2-2 Yoyogi, Shibuya-ku, Tokyo Tohnichi             Inside the passenger railway (72) Inventor Takashi Kunifuji             2-2-2 Yoyogi, Shibuya-ku, Tokyo Tohnichi             Inside the passenger railway (72) Inventor Yuichiro Tora             2-2-2 Yoyogi, Shibuya-ku, Tokyo Tohnichi             Inside the passenger railway F term (reference) 5K031 AA08 DA02 DA12 EA03 EA10                       EA12 EB05 EB12

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 伝送方向が互いに逆向きの2つのループ
型伝送路に1つの親局伝送装置と複数の子局伝送装置が
接続され、前記ループ型伝送路のうち、一方の伝送路を
運用系とし、他方の伝送路を待機系として、前記各伝送
装置間で通信を行うネットワークシステムにおいて、 下流側の伝送装置に向かって伝送路上にキャリア信号を
送信するキャリア信号送信手段と、前記キャリア信号の
受信を監視してキャリア信号に中断があれば、前記親局
伝送装置に伝送路異常の通知を行う監視手段と、 前記親局伝送装置に設けられ、前記伝送路異常の通知を
受け取って伝送路上の故障箇所を判定するとともに、両
方の伝送路で異常が通知された場合には、ループバック
開始の電文を編集し両方の伝送路に送信する電文編集・
送信手段と、 前記子局伝送装置に設けられ、前記親局伝送装置からの
電文を受信して伝送制御状態をループバックモードに設
定するループバックモード設定手段と、 前記親局伝送装置に設けられ、前記電文送信から所定時
間経過後に開通確認の電文を伝送路に送信し、該電文の
帰還があったときにループバック完成と判断する判断手
段と、を備えたことを特徴とするネットワークシステ
ム。
1. A master station transmission device and a plurality of slave station transmission devices are connected to two loop type transmission lines whose transmission directions are opposite to each other, and one transmission line of the loop type transmission lines is operated. And a carrier signal transmitting means for transmitting a carrier signal on a transmission line toward a transmission device on the downstream side, and the carrier signal. Monitoring means for notifying the master station transmission device of a transmission path abnormality if the carrier signal is interrupted, and the master station transmission apparatus is provided with a monitoring means for receiving the transmission path abnormality notification and transmitting it. In addition to determining the failure point on the road, if an error is reported on both transmission lines, edit the loopback start message and send it to both transmission lines.
Transmitting means, a loopback mode setting means provided in the slave station transmission device for receiving a message from the master station transmission device and setting a transmission control state to a loopback mode, and provided in the master station transmission device And a determining unit that transmits a message confirming the opening to a transmission path after a predetermined time has elapsed from the message transmission, and determines that loopback is completed when the message is returned.
【請求項2】 請求項1に記載のネットワークシステム
において、 前記開通確認の電文が帰還しない場合には、前記親局伝
送装置は、システムで予め定義した最小迂回構成情報に
てループバック開始の電文を編集し、再度送信すること
を特徴とするネットワークシステム。
2. The network system according to claim 1, wherein when the opening confirmation message does not return, the master station transmission device uses a minimum detour configuration information predefined in the system to start a loopback message. A network system characterized by editing and transmitting again.
【請求項3】 請求項1に記載のネットワークシステム
において、 前記親局伝送装置に設けられ、伝送路の障害が回復した
否かを調べるループチェック電文を所定の周期で両方の
伝送路に送信するループチェック電文送信手段と、 前記子局伝送装置に設けられ、前記ループチェック電文
を受信するとともに、そのループチェック電文を、受信
した方の伝送路に送信するループチェック電文受信・送
信手段と、 前記親局伝送装置に設けられ、前記ループチェック電文
が両方の伝送路で帰還した場合に、ループバック解除電
文を両方の伝送路に送信するループバック解除電文送信
手段と、 前記子局伝送装置に設けられ、前記ループバック解除電
文を受信した場合に、伝送制御状態を通常モードに設定
する通常モード設定手段と、を備えたことを特徴とする
ネットワークシステム。
3. The network system according to claim 1, wherein a loop check message, which is provided in the master station transmission device and checks whether or not a failure of the transmission line is recovered, is transmitted to both transmission lines at a predetermined cycle. Loop check message transmitting means, provided in the slave station transmission device, while receiving the loop check message, the loop check message, the loop check message receiving and transmitting means for transmitting to the transmission path of the receiving, and the Provided in the master station transmission device, when the loop check message is returned in both transmission lines, loopback cancellation message transmission means for transmitting a loopback cancellation message to both transmission lines, and provided in the slave station transmission device And a normal mode setting means for setting the transmission control state to the normal mode when the loopback release message is received. Network system and butterflies.
【請求項4】 請求項1に記載のネットワークシステム
において、 前記電文編集・送信手段は、一方の伝送路でのみ異常が
通知された場合には、運用系と待機系の伝送路を切り換
えるループ交代の電文を伝送路に送信することを特徴と
するネットワークシステム。
4. The network system according to claim 1, wherein the message edit / transmission means switches a transmission path between an active system and a standby system when an abnormality is reported in only one transmission path. A network system characterized by transmitting the electronic message of the above to a transmission line.
【請求項5】 伝送方向が互いに逆向きの2つのループ
型伝送路に1つの親局伝送装置と複数の子局伝送装置が
接続され、前記ループ型伝送路のうち、一方の伝送路を
運用系とし、他方を伝送路を待機系として、前記各伝送
装置間で通信を行うネットワークシステムを制御する際
に、 下流側の伝送装置に向かって伝送路上にキャリア信号を
送信するとともに、前記キャリア信号の受信を監視して
キャリア信号に中断があれば、前記親局伝送装置に伝送
路異常の通知を行い、 前記伝送路異常の通知を受け取った前記親局伝送装置
は、伝送路異常の通知より伝送路上の故障箇所を判定す
るとともに、両方の伝送路で異常が通知された場合に
は、ループバック開始の電文を編集して両方の伝送路に
送信し、 前記ループバック開始の電文を受信した前記子局伝送装
置は、伝送制御状態をループバックモードに設定する一
方、 前記親局伝送装置は、前記ループバック開始の電文を送
信してから所定時間経過後に開通確認の電文を伝送路に
送信し、この開通確認の電文の帰還があったときにルー
プバック完成と判断することを特徴とするネットワーク
システムの制御方法。
5. A master station transmission device and a plurality of slave station transmission devices are connected to two loop type transmission lines whose transmission directions are opposite to each other, and one transmission line of the loop type transmission lines is operated. System and the transmission path as a standby system, and when controlling the network system that performs communication between the transmission devices, the carrier signal is transmitted on the transmission line toward the transmission device on the downstream side, and the carrier signal is transmitted. If there is an interruption in the carrier signal by monitoring the reception of the, the transmission path abnormality is notified to the master station transmission apparatus, and the master station transmission apparatus that has received the transmission path abnormality notification is In addition to determining the failure point on the transmission line, if an error is reported on both transmission lines, edit the loopback start message and send it to both transmission lines, and receive the loopback start message. Previous The slave station transmission device sets the transmission control state to a loopback mode, while the master station transmission device transmits a communication confirmation message to the transmission path after a predetermined time has elapsed after transmitting the loopback start message. A method for controlling a network system, characterized in that it is judged that the loopback is completed when the message for confirming the opening is returned.
JP2001201560A 2001-07-03 2001-07-03 Network system and control method Expired - Lifetime JP4038648B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001201560A JP4038648B2 (en) 2001-07-03 2001-07-03 Network system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001201560A JP4038648B2 (en) 2001-07-03 2001-07-03 Network system and control method

Publications (2)

Publication Number Publication Date
JP2003018172A true JP2003018172A (en) 2003-01-17
JP4038648B2 JP4038648B2 (en) 2008-01-30

Family

ID=19038494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001201560A Expired - Lifetime JP4038648B2 (en) 2001-07-03 2001-07-03 Network system and control method

Country Status (1)

Country Link
JP (1) JP4038648B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006166429A (en) * 2004-11-22 2006-06-22 Bosch Rexroth Ag Method and apparatus for operating network having ring topology, and network
JP2009060419A (en) * 2007-08-31 2009-03-19 Hitachi Ltd Transmission line system, frame transmission method, and frame transmitter
US7573836B2 (en) 2005-03-17 2009-08-11 Nec Corporation Switch system and loop transfer method
JP2018050144A (en) * 2016-09-21 2018-03-29 セイコーエプソン株式会社 Projection system, controller, and control method of projection system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006166429A (en) * 2004-11-22 2006-06-22 Bosch Rexroth Ag Method and apparatus for operating network having ring topology, and network
US7573836B2 (en) 2005-03-17 2009-08-11 Nec Corporation Switch system and loop transfer method
JP2009060419A (en) * 2007-08-31 2009-03-19 Hitachi Ltd Transmission line system, frame transmission method, and frame transmitter
JP4644233B2 (en) * 2007-08-31 2011-03-02 株式会社日立製作所 Transmission path system, frame transmission method, and frame transmission apparatus
JP2018050144A (en) * 2016-09-21 2018-03-29 セイコーエプソン株式会社 Projection system, controller, and control method of projection system

Also Published As

Publication number Publication date
JP4038648B2 (en) 2008-01-30

Similar Documents

Publication Publication Date Title
JPH03106144A (en) Mutual connection of network modules
JP4181283B2 (en) Failure detection notification method and internetwork apparatus
JPH04261246A (en) Transmission system and transmission method
JP2003018172A (en) Network system and control method
JPWO2006075403A1 (en) Transmission apparatus and failure notification method
JP5077153B2 (en) Ring network system and ring network system recovery method
JP4237101B2 (en) Double loop network system
JP2004007930A (en) System and program for controlling power system monitoring
JPS58170247A (en) Automatic loop back controlling system
JP3294256B2 (en) Data communication method and device
JPH01258518A (en) Line back-up system
JP2024004705A (en) Network system and control method therefor
JPH0720128B2 (en) Optical communication system failure detection / removal method
JP2606130B2 (en) Loop network
JP2000349900A (en) Fault processing system for exchange
JPH09160875A (en) Multi-agent mutual back-up system
JPH05327743A (en) Transmission line control method for data communication system
JPH04293336A (en) Local area network
JPH06152570A (en) System for system switching processing in duplex data processor
JPH08244611A (en) Electronic interlocking device
JPS61154332A (en) Data transmitter
JP2643114B2 (en) Line controller for loop transmission line
JPH08265422A (en) Method for switching line
JPH0758766A (en) Constitution control system for loop type network
JPH037177B2 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050811

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070717

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070918

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071002

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071023

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4038648

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 6

EXPY Cancellation because of completion of term