JPS6025345A - Address check system of loop transmission system - Google Patents

Address check system of loop transmission system

Info

Publication number
JPS6025345A
JPS6025345A JP58133353A JP13335383A JPS6025345A JP S6025345 A JPS6025345 A JP S6025345A JP 58133353 A JP58133353 A JP 58133353A JP 13335383 A JP13335383 A JP 13335383A JP S6025345 A JPS6025345 A JP S6025345A
Authority
JP
Japan
Prior art keywords
address
transmission
message
loop
control device
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
JP58133353A
Other languages
Japanese (ja)
Other versions
JPH0628358B2 (en
Inventor
Masayuki Shikimo
識茂 昌之
Kinji Mori
森 欣司
Shoji Miyamoto
宮本 捷二
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
Original Assignee
Hitachi Ltd
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 filed Critical Hitachi Ltd
Priority to JP58133353A priority Critical patent/JPH0628358B2/en
Priority to DE8484108555T priority patent/DE3478656D1/en
Priority to EP84108555A priority patent/EP0135037B1/en
Publication of JPS6025345A publication Critical patent/JPS6025345A/en
Priority to US06/898,203 priority patent/US4677615A/en
Publication of JPH0628358B2 publication Critical patent/JPH0628358B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To prevent the duplication of addresses by setting the address to each transmission controller and checking whether or not a transmission controller having the same address in a transmission system exists. CONSTITUTION:The transmission controllers fed with an address each in advance are connected to constitute a loop transmission line, each transmission controller transfers a received message to a next transmission controller and the message circulated in the loop transmission line is deleted at the transmission controller being the transmitting source. In order to check the duplication of each address, each transmission controller transmits an address train message at the activation of the own device and at the release of a detour, and each transmission controller receiving the address train message adds sequentially the own address thereto and transmits the result to the transmission line. The transmission controller being the transmitting source analyzes the address train in the circulated message and checks whether or not there is an identical address to the own address.

Description

【発明の詳細な説明】 〔発明の利眉分野〕 本発明は、ループ伝送系のアドレス・チェック方式に閃
し、特許ループ伝送系における各伝送制御装置に@当て
られたアドレスに重複があるか否かをチェックする方式
に関するものである。
[Detailed Description of the Invention] [Advantageous Field of the Invention] The present invention is inspired by an address check method for a loop transmission system, and checks whether there is a duplicate address assigned to each transmission control device in the patented loop transmission system. This relates to a method of checking whether or not the above is true.

〔発明の背景〕[Background of the invention]

従来のループ伝送系では、ループに接続された複数の伝
送制御装置のうちの1つをマスク伝送制御装置とし、こ
のマスク伝送制御装置がループ全体の伝送状況を把握し
て、送受信タイミングの制御やル・〜プの故障対策を行
っていた。しかし、マスク伝送制御装置が故障すると伝
送が不可能となるため、本発明者等はマスク伝送制御装
置を用いないループ伝送系を提案した(例えば、特開昭
56−40344号公報および特願昭55−12596
5号明細書参照)。
In conventional loop transmission systems, one of the multiple transmission control devices connected to the loop is a mask transmission control device, and this mask transmission control device grasps the transmission status of the entire loop and controls the transmission and reception timing. I was taking measures to troubleshoot the loop. However, if the mask transmission control device fails, transmission becomes impossible, so the present inventors proposed a loop transmission system that does not use the mask transmission control device (for example, Japanese Patent Laid-Open No. 56-40344 and Japanese Patent Application No. 55-12596
(See specification No. 5).

上記特開昭56−40344号公報に示す方式では、ル
ープ上の各伝送制御装置は、ループ伝送路が異常になる
と、自から小ループの伝送可否チェック・コマンドを含
むメツセージを発信し、そのループ上の各伝送制御装置
は、上記メツセージを受信した場合にこれを次に転送す
るとともに、自から伝送可のチェック・コマンドを発信
して、小ループの伝送可否チェックを行っている。
In the method disclosed in the above-mentioned Japanese Patent Application Laid-open No. 56-40344, when the loop transmission path becomes abnormal, each transmission control device on the loop transmits a message containing a command to check the transmission availability of the small loop, and When each of the above transmission control devices receives the message, it transfers the message to the next one, and also issues a transmission permission check command from itself to check whether or not small loop transmission is possible.

しかし、上記のループ伝送系では、各伝送制御装置に付
加されるアドレスは、すべて異なることを前提としてい
るため、新たに立上った伝送制御装置や障害回復した伝
送制御装置が現在連用中の伝送制御装置と同一・アドレ
スである場合、それに対処することができず、伝送が不
完全になってしまうというR題がある。
However, in the loop transmission system described above, it is assumed that the addresses assigned to each transmission control device are all different, so a newly started transmission control device or a transmission control device that has recovered from a failure is If the address is the same as that of the transmission control device, there is problem R that cannot be handled and the transmission becomes incomplete.

一方、上記特願昭55−125965号明細書に示す方
式では、各伝送制御装置がアドレスなしで小ループ・チ
ェックを行って、障害を検出したときには迂回路を形成
し、またアドレスなしで大ループ・チェックを行って、
ループの回復を検出したときには迂回路を解除する。そ
して、アドレスが未設定の新たに追加された伝送制御装
置および故障から回復した伝送制御装置に、アドレスを
自動設定し、各伝送制御装置のアドレスに重複のないよ
う処している。
On the other hand, in the system shown in the above-mentioned Japanese Patent Application No. 55-125965, each transmission control device performs a small loop check without an address, forms a detour when a failure is detected, and also forms a large loop without an address.・Check and
When the loop recovery is detected, the detour is canceled. Then, addresses are automatically set for newly added transmission control devices for which addresses have not been set and for transmission control devices that have recovered from a failure, so that there is no duplication of addresses for each transmission control device.

しかし、上記の方式では、各伝送制御装置のアドレスが
他と重複しないように任意Kv定されてしまい、その設
定されたアドレスをホスト処理装置側で検知するためK
は新たな機能を追加する必要があり、保守上にも問題が
ある。このため、各伝送制御装置にあらかじめアドレス
を設定しておく方式の方が制御も簡単であり、望ましい
が、この場合釦は伝送系内に同一アドレスをもつ複数の
伝送制御装置が組み込まれてしまう可能性があり、この
ための対策が必要となる。
However, in the above method, an arbitrary Kv is set so that the address of each transmission control device does not overlap with other addresses, and the set address is detected by the host processing device, so the Kv
requires the addition of new functions and poses maintenance problems. For this reason, a method in which addresses are set in advance for each transmission control device is easier to control and is preferable, but in this case, the button will have multiple transmission control devices with the same address installed in the transmission system. There is a possibility that this may occur, and countermeasures must be taken to prevent this.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、このような従来の問題を解決し1各伝
送制御装置に前もってアドレスを設定しておき、伝送系
内に同一アドレスを持つ伝送制御装置が複数個存在する
か否かをチェックして、メツセージ伝送を正常に行わせ
るようなループ伝送系のアドレス・チェック方式を提供
することにある。
The purpose of the present invention is to solve such conventional problems and to (1) set an address in advance to each transmission control device, and check whether there are multiple transmission control devices with the same address in the transmission system. An object of the present invention is to provide an address check method for a loop transmission system that allows message transmission to occur normally.

〔発明の概要) 本発明によるループ伝送系のアドレス・チェック方式は
、あらかじめ各伝送制御装置にアドレスが付与され、故
障時には迂回路が形成され、ループ伝送路を一巡したメ
ツセージは発信元の伝送制御装置で消去されるループ伝
送系において、各伝送制御装置は自らの立ち上げ時およ
び迂回路解除時にアドレス・トレイン・メツセージを発
信し、該アドレス・トレイン・メツセージを受信した各
伝送制御装置は順次自己のアドレスを付加して伝送路忙
送出するとともに、発信元の伝送制御装置はメツセージ
内のアドレス列を解析して自己と同一アドレスをもつ伝
送制御装置が存在するか否かをチェックすることに特徴
がある。
[Summary of the Invention] In the address check method of the loop transmission system according to the present invention, an address is assigned to each transmission control device in advance, a detour is formed in the event of a failure, and messages that have gone around the loop transmission path are transmitted under the transmission control of the sender. In a loop transmission system that is erased by a device, each transmission control device transmits an address train message when it starts up and when it cancels a detour, and each transmission control device that receives the address train message sequentially erases itself. The transmission control device of the sender analyzes the address string in the message and checks whether there is a transmission control device with the same address as the message itself. There is.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を、図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明が適用されるループ伝送系の全体構成
図である。
FIG. 1 is an overall configuration diagram of a loop transmission system to which the present invention is applied.

ループ伝送系には、ループ伝送路1,2が設けられ、こ
れらは矢印で示すように互に逆方向VC情報を伝送する
。ループ上には、伝送制御装置(以下、NCPと記す)
11〜14.21〜24が設置され、対となるN(1’
P11と21.12と22゜13と23.14と24の
開は互いに迂回路41〜44.51〜54で接続されて
いる。さらに1各NCP対釦は、ホスト処理装置ff3
l−34が双方向伝送路(61,71)、 (62,7
2)、(63,73) 。
The loop transmission system is provided with loop transmission lines 1 and 2, which mutually transmit reverse VC information as shown by arrows. On the loop is a transmission control device (hereinafter referred to as NCP).
11 to 14.21 to 24 are installed, and a pair of N(1'
P11, 21.12, 22°13, 23.14 and 24 are connected to each other by detours 41-44, and 51-54. In addition, one button for each NCP is connected to the host processing device ff3.
l-34 is a bidirectional transmission line (61, 71), (62, 7
2), (63,73).

(64,74)により接続されている。(64, 74).

第2図は、第1図のループ伝送系で伝送される1メツセ
ージ内の配列を示す図である。
FIG. 2 is a diagram showing the arrangement within one message transmitted by the loop transmission system of FIG.

第2図において、51.56はメツセージの初めと終り
を示すフラグ[F]、52は機能コード(FC)で・デ
ータの内容や機能に対応したコード、53はメツセージ
を作成し発信したNCPのアドレス(発信元アドレスS
A)、54はデータ(])ata) T:、処理される
べき情報、55は誤り検知用データ(FC3)である。
In Figure 2, 51 and 56 are flags [F] indicating the beginning and end of the message, 52 is a function code (FC) - a code corresponding to the content and function of the data, and 53 is the code of the NCP that created and sent the message. address (source address S
A), 54 is data (]) ata) T:, information to be processed, and 55 is error detection data (FC3).

第3図は、本発明が適用されるループ伝送系の異常のな
い状態での動作説明図である。
FIG. 3 is an explanatory diagram of the operation of the loop transmission system to which the present invention is applied in a normal state.

ループ伝送系内KM常のない状態においてNCP21が
ループ2にメツセージ401f−発信したものとする。
Assume that the NCP 21 sends a message 401f to the loop 2 in a state where there is no KM in the loop transmission system.

この場合、NCP21はメツセージ401のSA部(第
2図の53参照)に、自NCPアドレスであるN□ を
セットする。
In this case, the NCP 21 sets its own NCP address N□ in the SA section (see 53 in FIG. 2) of the message 401.

ループ伝送路2を一巡してきたメツセージ401を受信
したNCP21は、メツセージ内のSA部が自NCPア
ドレスN1 と一致することKより、自発信データであ
ることを検知して、中継は行わない。そして、再送が不
要になったため、自NCP内に保存していたメツセージ
401を消去、する。
When the NCP 21 receives the message 401 that has made one circuit around the loop transmission path 2, it detects that it is self-originated data because the SA part in the message matches the own NCP address N1, and does not relay it. Then, since retransmission is no longer necessary, the message 401 stored in the own NCP is deleted.

このように、伝送系内を一巡したデータは、発信元NC
Pにより消失される。
In this way, the data that has gone around the transmission system is sent to the source NC.
Disappeared by P.

第4図は、本発明が適用されるループ伝送系((故障が
発生した場合の動作説明図である。
FIG. 4 is an explanatory diagram of the operation of a loop transmission system (when a failure occurs) to which the present invention is applied.

いま、NCP22.23問およびNCP12゜13間の
伝送路に障害が発生し、伝送不可能になったとする(故
障A)。
Suppose now that a failure occurs in the transmission path between NCPs 22 and 23 and NCPs 12 and 13, making transmission impossible (Failure A).

このとき、百びNCP21がループ2にメツセージ40
2を発信した場合、このメツセージ402は故fiAに
よりNCP21には戻ってこない。NCP21は、自ら
が発信したデータが一足時間Tを経過しても戻ってこな
いことにより、伝送路上KM常のあることを検知し、自
らが発信元になって小ループ・チェック信号301を発
信する。さらに、NCP21は対NCPIIに対して、
小ループ・チェック信@303を発信することを要求す
る。NC’P21より小ループ・チェック信号301を
受取ったNCP22は、その信号を対NeP12に流す
とともに、自らが発信元となって、小ル・−プ・チェッ
ク信号302を発信するが、故障人のため、この信−8
・はN CP 22には戻ってこない。同じように、N
 CP 16.15.14も小ループ・チェック信号3
04,305,306を発信し、自NCPに戻ってきた
ことにより異常のないことを確認する。同じ<、NCP
13も小ループ・チェック信号307を発信するが、戻
ってこない。
At this time, Momobi NCP21 sends message 40 to loop 2.
2, this message 402 will not be returned to the NCP 21 due to the late fiA. The NCP 21 detects that there is a KM error on the transmission path when the data transmitted by itself does not return even after a period of time T has elapsed, and it becomes the transmitter and transmits the small loop check signal 301. . Furthermore, NCP21 against NCPII,
Requests to send a small loop check message @303. NCP 22, which received the small loop check signal 301 from NC'P 21, sends the signal to NeP 12 and itself becomes the source and sends the small loop check signal 302, but the Therefore, this faith-8
・does not return to N CP 22. Similarly, N
CP 16.15.14 also small loop check signal 3
04, 305, and 306, and it is confirmed that there is no abnormality by returning to the own NCP. Same <, NCP
13 also sends out a small loop check signal 307, but it does not return.

以上のプロセスにより、NCP22と13が小ループ上
の異常を検出して、迂回路42.53を形成し、以後、
メツセージをこの迂回路42.53に流す。また、NC
P22.13は、故障が回復したか否かをチェックする
ため、小ループ・チェック信号および大ループ・チェッ
ク信号を11期的に発信する。大ループ・チェック信号
は、すべてのNCPK対して迂回させないで伝送させ、
回復したことをチェックするものである。
Through the above process, NCPs 22 and 13 detect an abnormality on the small loop and form a detour 42.53, and from then on,
The message is sent to this detour 42.53. Also, NC
P22.13 periodically issues a small loop check signal and a large loop check signal to check whether the fault has been recovered. The large loop check signal is transmitted without being detoured to all NCPKs,
This is to check that you have recovered.

このような異常処理動作を行うことKより、故障Aが回
復するまでは、迂回路42.53を通るループで、メツ
セージの伝送が行われる。
By performing such an abnormality processing operation K, messages are transmitted in a loop passing through the detour paths 42 and 53 until the failure A is recovered.

第5図は、第4図のループ伝送系における故障発生中の
メツセージ伝送路の説明図である0NCP21は、メツ
セージ402を周期的に発ta L、一定時間経過後に
戻らない場合はこの動作を続行する。前述の異常処理動
作により、迂回路42.53が形成されるため、メツセ
ージは迂回路形成後N CP 21.22.12.11
.16.15.1!。
FIG. 5 is an explanatory diagram of the message transmission path during a failure in the loop transmission system of FIG. do. Due to the above abnormal processing operation, the detour 42.53 is formed, so the message is N CP 21.22.12.11 after the detour is formed.
.. 16.15.1! .

13.23,24,25,26,21の経路で伝送され
る。
13. It is transmitted through the routes 23, 24, 25, 26, and 21.

太線の経路で伝送系内を−“巡してNCP21C戻った
メツセージ402は、照合により自発信メツセージであ
ることが確認された後、消去される。
The message 402 that has traveled through the transmission system along the path indicated by the thick line and returned to the NCP 21C is erased after being verified as a self-originated message.

このように、本発明が適用されるループ伝送系では各N
CPは受信JツセージのSA部を照合することにより、
そのメツセージが自発信のものであるか否かを判足し、
その結果、自発信であればそのメツセージを中継せずに
消去する。このため、このようなループ伝送系では、伝
送系内に同一アドレスを持つNCPが複数個存在する場
合、メソセージが伝送系内の全NCPに伝送されず、途
中で消去されてしまう欠点がある。
In this way, in the loop transmission system to which the present invention is applied, each N
The CP verifies the SA part of the received JTS message,
Determine whether the message is self-sent,
As a result, if the message is an original call, the message is deleted without being relayed. Therefore, in such a loop transmission system, if there are multiple NCPs with the same address in the transmission system, the message is not transmitted to all NCPs in the transmission system and is deleted midway.

第6図は、ループ伝送系内に同一アドレスをもつNCP
が複数個存在する場合の動作説明図である0 いま、NC’P21と23が同一アドレスN1 をもっ
ているとする。このとき、NCP21がメツセージ40
3を発信すると、ループ2ONCP22を通ってNCP
23に到達する。メツセージ403は、NCP23によ
り照合された結果、アドレスN、が確認されて自発信メ
ツセージとみなされ、消去されてしまうため、次のN 
CP 24.25.26には中継されない。
Figure 6 shows NCPs with the same address in the loop transmission system.
0 is an explanatory diagram of the operation in the case where a plurality of . At this time, NCP21 sends message 40
3, it goes through loop 2ONCP22 and goes to NCP
Reach 23. As a result of the message 403 being verified by the NCP 23, the address N is confirmed and the message is deemed to be a self-sent message and is deleted.
Not relayed to CP 24.25.26.

第7図は、本発明のアドレス重複チェックの動作説明図
である。
FIG. 7 is an explanatory diagram of the operation of address duplication check according to the present invention.

本発明忙おけるアドレス重複チェックは、各NCPの立
ち上げ詩、つまり拡張によって新たにNOPが設置され
たとき、および形成されていた迂回路が解除されたとき
、つまり故障が回復して修理後のNCPや伝送路がルー
プに再び挿入されたときK 、実行される。
The address duplication check performed by the present invention is performed at the start-up of each NCP, that is, when a new NOP is installed due to expansion, and when the formed detour is released, that is, after a failure is recovered and repaired. K is executed when the NCP or transmission line is reinserted into the loop.

先ず、迂回路解除時に、アドレス重複チェックを実行す
る理由を説明する。
First, the reason why the address duplication check is executed when detouring is canceled will be explained.

第7図において、伝辷路が2箇所で故障した結果、鎖線
で囲まれた伝送系内孤立部分Aが生じたものとする。こ
の剋立部分Aで新たにアドレスN1をもつN CP 2
 rsが立ち上った場合、アドレス重複チェックが行わ
れるが、このチェックは孤立部A内のみに限られる。実
際には、NCP21のアドレスもNよ てあり、同一ア
ドレスをもっNCPがループ伝送系内に複数個存在する
にもかかわらず、孤立部A内のチェックであるため、N
C])21.23のアドレス重相は検知されない。この
ため、迂回路N除時にも、アドレス<N5 複チェック
を行う必要がある。
In FIG. 7, it is assumed that as a result of failures in the transmission path at two locations, an isolated portion A within the transmission system surrounded by a chain line is generated. N CP 2 with a new address N1 in this rising part A
When rs rises, an address duplication check is performed, but this check is limited to only within isolated portion A. In reality, the address of NCP21 is also N, and even though there are multiple NCPs with the same address in the loop transmission system, the check is in isolated part A, so N
C]) Address overlap phase of 21.23 is not detected. Therefore, even when excluding the detour N, it is necessary to double check that the address is <N5.

各NCPの立ぢ上げ時には、新たにアドレスが付与され
るのであるから、当然のことながらアドレス重複チェッ
クが必要である。
Since a new address is assigned when each NCP is started up, it is of course necessary to check for address duplication.

次に1各NCPによる実際のアドレス重複チェック動作
について説明する。
Next, the actual address duplication check operation by each NCP will be explained.

第8図は、アドレス・トーレインの中継動作の説明図で
あり、第9図は第8図における最終アドレス・トレイン
・データ部のW6明図である。
FIG. 8 is an explanatory diagram of the address train relay operation, and FIG. 9 is a W6 diagram of the final address train data section in FIG.

各NCPは、自らの立ち上げ時、および自らが形成して
いる迂回路を解除したときに、アドレス重複チェックの
ためのメソセージとして、アドレス・トレインを送出す
る。この′rアドレストレインとしては、具体的にメツ
セージのFC部にアドレス・トレインであることを示す
機能コードを有し、データ部(Data)K自分のアド
レスを有しており、伝送される途中で順次N CI)の
アドレスがデータ部に追加される。すなわち、このメツ
セージを受信した各N CPは、そのデータ部の最後に
自NcPアドレスを伺加して次に送出する。第8図にお
いては、立ち上げ詩のNCP21からアドレス・トレイ
ンをループ2に発信すると、NCP22.23,24.
25 でそれぞれ自分のアドレスを付加するため、NC
P26では、データ部のアドレスはN1〜N60列とな
る。第8図の矢印で示すように、伝送系内を2周した後
、アドレス・トレインは発信元NCPKより消去される
。具体的には、メツセージ内のSA部と同一アドレスル
二もつNCPが、データ部内に目アドレスを31M4 
抽出すると、2周したものとlAJ+、4rシてメン−
1!−ジを消去する。
Each NCP sends out an address train as a message for checking address duplication when it starts up and when it cancels the detour it has formed. Specifically, this 'r address train has a function code indicating that it is an address train in the FC part of the message, and has its own address in the data part (Data). Sequentially, the addresses of NCI) are added to the data section. That is, each NCP that receives this message adds its own NCP address to the end of the data section and sends it out next. In FIG. 8, when the address train is sent to loop 2 from NCP 21 of the start-up poem, NCP 22, 23, 24, .
25 to add their own addresses, NC
In P26, the addresses of the data section are in columns N1 to N60. As shown by the arrow in FIG. 8, after making two rounds within the transmission system, the address train is erased from the source NCPK. Specifically, an NCP that has the same address as the SA part in the message has the same address as 31M4 in the data part.
When extracted, the two rounds and lAJ+, 4r Shitemen-
1! - Erase the page.

第9図の1010で示ずN2〜N6は1周回に付加され
た各N CPのアドレスであり、1011で示すN2〜
N6は2j4目に1コ°加’e 7’ 7C6N CP
 ノーt’ トレスである。発信元NCP21は光信1
寸と、I J24終了時と2周終了時の3回アドレスを
付加するので、その時点で3閏の自アドレスN1 を演
出し、このメツセージな消去する。
N2 to N6 not indicated by 1010 in FIG. 9 are the addresses of each NCP added to one round, and N2 to N6 indicated by 1011
N6 adds 1 piece to 2j4'e 7' 7C6N CP
No t' tress. Source NCP21 is Koshin 1
Since the address is added three times at the end of IJ24 and at the end of the second round, at that point, the own address N1 of 3 leaps is produced and this message is erased.

次に1アドレス・;・レイン受信時の各fすCPの処理
について説明する。
Next, the processing of each fSCP when receiving 1 address... rain will be explained.

第10図は、本発明の実確例を示す11柊チエツクのた
めの各NCP内データ・エリアの説明画であり、第11
図はアドレス・トレイン受f!時の各NCPの処理フロ
ーチー\・−1・でiする。
FIG. 10 is an explanatory drawing of the data area in each NCP for the 11th Hiiragi check showing an accurate example of the present invention.
The figure shows address train reception f! In the processing flowchart of each NCP at the time, i is executed.

第11図において、先ずアドレス・トレインを受信した
NCPは、そのデータ部の最役て自アドレスを付加する
(ブロック901)。次に、第’10図に示す瓜恨検知
7ラグ・エリア801、異常検知フラグ・エリアδ02
を“OI+にリセットする(ブロック902)。次に、
受イt;データのSA部と自アドレスが一致して、自発
信データであり、かつデータ部のNCPアドレス列内に
自アドレスが3 (i;・4以上ある場合には、伝送系
内を2周したアドレス・トレインとみ7″j′シ、その
データ部な用いてアドレスff1lfチエツクを行う(
ブロック903゜90牛、905)。その結果、重袢全
検知した場合(重複検知フラグ−1′′)、ホスト処理
装置にアドレス1z複検知を示すデータを送出し、自ら
をスルー・モードとし、自発信データの送出な中止する
ことにより、伝送系全体での正常伝送を可能とする(ブ
ロック907,90ε(,917)。
In FIG. 11, the NCP that receives the address train first adds its own address to the data section (block 901). Next, the resentment detection 7 lag area 801 and the abnormality detection flag area δ02 shown in FIG.
to “OI+” (block 902). Next,
Receive t: The SA part of the data and the own address match, it is self-originated data, and there are 3 own addresses in the NCP address string of the data part (i; If there are 4 or more, the data within the transmission system is Look at the address train that has gone around twice and use its data section to check the address ff1lf (
Block 903°90 Cow, 905). As a result, if all duplicates are detected (duplicate detection flag -1''), it sends data indicating address 1z duplicate detection to the host processing device, puts itself into through mode, and stops sending self-transmitted data. This enables normal transmission in the entire transmission system (blocks 907, 90ε(, 917)).

すた、受信データが自発信データでない場合には、先ず
そのデータ部のN CPアドレス列内にSA部の発信元
NCPアドレスが何個存在するかをカウンタ803によ
りカウントし、そのメツセージが何周回であるかを検知
する(ブロック903゜911)。すなわち、データ部
内に発信元NCPかに個存在するとき、そのメツセージ
は伝送系のに同口である。そして、データ部のNCPア
ドレス列内に存在する自アドレスの個数がカウンタ80
3以下でない場合には、自アドレス重衿の可能′1び有
りとして、異常検知フラグ・エリア802に“1″をセ
ットし、自NCP状態に応じて現在迂回中か否かにより
、受信メツセージをループ伝送路、迂Ijl路に送出す
る(ブロック912〜916)。
If the received data is not self-transmitted data, the counter 803 first counts how many source NCP addresses of the SA section are present in the NCP address string of the data section, and then counts how many times the message has been sent. (blocks 903 and 911). That is, when there are more than one source NCP in the data section, the message is the same as the one in the transmission system. Then, the number of own addresses existing in the NCP address string of the data section is counted by the counter 80.
If it is not 3 or less, the error detection flag area 802 is set to ``1'' to indicate that the own address is enabled or present, and the received message is processed depending on whether or not it is currently being detoured according to the own NCP state. It is sent to the loop transmission path and the detour Ijl path (blocks 912 to 916).

市た、自発信データで、データ部内に自アドレスが2個
以下しか存在しないときも、同じように受信メツセージ
を自N CP状態に応じて送出する(ブロック904,
914,915,916)。
Even when there are only two or fewer local addresses in the data field for local or self-transmitted data, the received message is similarly sent out according to the local NCP status (block 904,
914, 915, 916).

最後に、異常検知フラグ・エリア802を調べ、そこる
て“1”がセットされている場合には、自アドレスが重
複しているか否かをチェックするため、自らが発信元と
なってアドレス・トレインを送出する(ブロック909
.910)。
Finally, check the abnormality detection flag area 802, and if "1" is set there, it will check whether or not its own address is duplicated. Send train (block 909)
.. 910).

次【乞、B 111に4のフローチャート中におけるア
ト1ノス重複チェック(ブロック905)の処理につい
て、第12図、第13図、第14図により説明する。
Next, the processing of Atonenos duplication check (block 905) in the flowchart of B 111 to 4 will be explained with reference to FIGS. 12, 13, and 14.

第121aは、ループ伝送ン・の2毎ループのうちのル
ープ2を示す図である。
No. 121a is a diagram showing loop 2 of every two loops of loop transmission.

イマ、伝送系内に同一アドレスN□ をもつNCPが2
個、すなわちNCP21と24がアドレスN1 をもつ
′Cいるものとする。このとき、NCP21がアドレス
・トレイン4a3=送出すると、アドレス・ トレイン
403 仁i 、アドレスN□ の重複のため、伝送系
内を2周ぜずに、1周した後、NCPにより消去される
。この場合、NCP21により最終的に受信されるアド
レス・トレインのデータ部は、第13図に示す内容にな
る。このアドレス列が正常であれば、アドレス列のうち
自アドレスN1 の間の部分1020.1021は同・
−内容となるはずである(第0図の1010.1011
参照)。
Now, there are two NCPs with the same address N□ in the transmission system.
It is assumed that there are NCPs 21 and 24 having address N1. At this time, when the NCP 21 sends out the address train 4a3, it is erased by the NCP after going around the transmission system once instead of twice because of the duplication of the address train 403 ni and the address N□. In this case, the data portion of the address train finally received by the NCP 21 has the contents shown in FIG. If this address string is normal, the portion 1020.1021 between the own address N1 in the address string is the same.
- content (1010.1011 in Figure 0)
reference).

しかし、NCP21.24が同一アドレスN□ をもっ
ているために1.1020; 1021Q−アドレスは
一致しない。すなわち、自発信アドレス・トレインのデ
ータ部の自アドレスで囲まれた部分が一致するか否かを
判定することKより、伝送系内に自NC’Pと同一アド
レスをもつNCPが存在するか否かをチェックすること
ができる。
However, since NCP21.24 has the same address N□, the 1.1020;1021Q-addresses do not match. In other words, by determining whether or not the part surrounded by the own address in the data part of the self-originated address train matches, it is determined whether or not there is an NCP with the same address as the own NC'P in the transmission system. You can check whether

第14図は、本発明の実施例を示すアドレス重複チェッ
クの詳細処理712−チャートである。
FIG. 14 is a detailed process 712-chart of address duplication check showing an embodiment of the present invention.

先ず1自アドレスが、データ部のNCPアドレス列内の
何番IK位置しているかを検出する(ブロック90δO
)。ここで、最初の自アドレスをNCP7ドレス列の1
番目とし、2個目の自アドレスが1番目、3個目の自ア
ドレスが1番目にそれぞれ位置しているものとする。こ
のとき、2番目〜(1−1)番目と(L+1)番目〜(
j−1)番目のNCPアドレスを順に比較していき(ブ
ロック9061〜906δ)、不一致を検出した特恵で
重複検知フラグ・エリア801に“1″をセットして(
ブロック9056)、このチェック処理を終了する。例
えば、データ部内の自アドレス位置が、第9mK示すN
1 の位置であるとすれば、自アドレス位置はlII目
、7番目(1)、13番目ム)である。
First, it is detected which IK position the 1's own address is located in the NCP address string of the data section (block 90δO).
). Here, set the first own address to 1 in the NCP7 address column.
It is assumed that the second self-address is located at the first and the third self-address is located at the first. At this time, the second to (1-1)th and (L+1)th to (
j−1)th NCP addresses are compared in order (blocks 9061 to 906δ), and if a mismatch is detected, “1” is set in the duplicate detection flag area 801 (
Block 9056) ends this checking process. For example, if the own address position in the data section is N
1, the own address position is the 12th, 7th (1), and 13th (mu).

したがって、先ずkを1とし、(k+1)番目と(1+
k)番目のアドレス、すなわち2番目と8番目のアドレ
スを比較する(ブロック9051.9052)。第9図
では、2番目と8番目のアドレスはいずれもN2 であ
るから、一致と判断し、次Kkk2をセットしてに≧1
−2、つまり比較する回数が終了したか否かを判断し、
まだ終了していなければブロック9062に戻る(ブロ
ック9053〜9055)。k−2のとき、(k+1)
番目と(1十k)番目のアドレス、すなわち3番目と9
番目のアドレスを比較すると、いずれもN、であるため
、一致と判断する(ブロック9052〜9053)。こ
のようKして、一致する限り比較動作を繰り返す。
Therefore, first let k be 1, and (k+1)th and (1+
k) Compare the th address, ie the 2nd and 8th addresses (blocks 9051.9052). In Figure 9, the second and eighth addresses are both N2, so it is determined that they match, and then Kkk2 is set and ≧1.
−2, that is, determine whether the number of comparisons has ended,
If the process has not yet finished, the process returns to block 9062 (blocks 9053 to 9055). When k-2, (k+1)
th and (10k)th addresses, i.e. 3rd and 9th
When the th addresses are compared, both are N, so it is determined that they match (blocks 9052 to 9053). In this manner, the comparison operation is repeated as long as there is a match.

そして、1つでも比較結果が不一致の場合には、異常と
判定し、重複検知フラグ801K“1”′をセットする
(ブロック9056)。
If even one of the comparison results does not match, it is determined that there is an abnormality, and the duplication detection flag 801K "1"' is set (block 9056).

このようにして、各NCPは自らの立ち上げ時、および
迂回路解除時に、アドレス・トレインを送出することに
より、伝送系内に自NCPと同一のアドレスをもつNC
Pが存在するか否かをチェックすることができる。
In this way, each NCP sends an address train when starting up itself and when canceling a detour, so that the NCP that has the same address as its own NCP in the transmission system
It is possible to check whether P exists or not.

なお、実施例では、伝送系内を2周するアドレス・トレ
インを用いるため、発信元NCPは、自らの同一アドレ
スをもつNCPの存在を、1個だけ検知できるにすぎな
い。しかし、伝送系内をn周するアドレス・トレインを
用いることKより、本実施例と同じ方法で(n−1)個
までのアドレス重複NCPの存在を検知することができ
る。
In the embodiment, since an address train that makes two rounds within the transmission system is used, the source NCP can only detect the existence of one NCP having the same address as itself. However, by using an address train K that makes n rounds in the transmission system, the presence of up to (n-1) address duplication NCPs can be detected using the same method as in this embodiment.

〔発明の効果〕〔Effect of the invention〕

以上説明したように1本発明によれば、ループ伝送系に
おいて、各NCPにあらかじめアドレスを設定しておく
場合、NCPアドレスの重複を検出することができるの
で、アドレス重複によりメツセージが伝送系内を1周し
ないうちに消去されることを防止でき、メツセージ伝送
を正常に行わせることができる。
As explained above, according to the present invention, if an address is set in advance for each NCP in a loop transmission system, it is possible to detect duplication of NCP addresses, so that messages may be routed within the transmission system due to address duplication. It is possible to prevent the message from being erased before it has completed one cycle, and to ensure normal message transmission.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明が適用されるループ伝送系の全体構成図
、第2図は第1図のループ伝送系で伝送されるメツセー
ジ配列を示す図、第3図は本発明が適用されるループ伝
送系の異常がない状態の動作説明図、第4図は本発明が
適用されるループ伝送系に故障が発生したときの動作説
明図、第5図は第4図のループ伝送系における故障発生
中のメツセージ伝送路の説明図、第6図はループ伝送系
内に同一アドレスをもつNCPが複数個存在する場合の
動作説明図、第7図は本発明のアドレス重複チェックの
動作説明図、第8図はアドレス・トレインの中継動作の
説明図、第9図は第8図における最終アドレス・トレイ
ンのデータ部の説明図、第10図は本発明の実施例を示
す重複チェックのための各NCP内データ・エリアの説
明図、第11図はアドレス・トレイン受信時の各NCP
の処理7g−チャート、第12図はループ伝送系の2M
ループのうちの1つを示す図、第13図は第12図にお
いて最終的に受信されるアドレス・トレインのデータ部
を示す図、第14図は本発明の実施例を示すアドレス重
複チェックの詳細処理フレーチヤードである。 1.2:ループ伝送路、11〜26:伝送制御装gl(
NCP) 、31〜34=ホスト処理装置、41〜44
、51〜54 :迂1ii1i’!、801 :Mm検
’M7ラク・エリア、802:異常検知フラグ・エリア
、803:発信元NCPiカウンタ・エリア。 特許出願人 株式会社日立製作所 代理人 弁理士磯村雅婦′ 第 1 図 第 3 図 第 牛 図 第 5 図 第 7 図 第 12 図 第 13 図 1020 1021 第 14 図
Fig. 1 is an overall configuration diagram of a loop transmission system to which the present invention is applied, Fig. 2 is a diagram showing a message arrangement transmitted in the loop transmission system of Fig. 1, and Fig. 3 is a diagram of a loop to which the present invention is applied. Fig. 4 is an explanatory diagram of the operation when there is no abnormality in the transmission system, Fig. 4 is an explanatory diagram of the operation when a failure occurs in the loop transmission system to which the present invention is applied, and Fig. 5 is an explanatory diagram of the operation when a failure occurs in the loop transmission system of Fig. 4. 6 is an explanatory diagram of the message transmission path in the loop transmission system. FIG. 6 is an explanatory diagram of the operation when a plurality of NCPs with the same address exist in the loop transmission system. FIG. FIG. 8 is an explanatory diagram of the address train relay operation, FIG. 9 is an explanatory diagram of the data part of the final address train in FIG. 8, and FIG. 10 is an illustration of each NCP for duplication check showing an embodiment of the present invention. Figure 11 is an explanatory diagram of the internal data area, and each NCP when receiving an address train.
Processing 7g-chart, Figure 12 shows 2M of loop transmission system.
FIG. 13 is a diagram showing the data part of the address train finally received in FIG. 12; FIG. 14 is a detail of address duplication check illustrating an embodiment of the invention. It is a processing french yard. 1.2: Loop transmission line, 11-26: Transmission control device gl (
NCP), 31-34 = host processing device, 41-44
, 51-54: 1ii1i'! , 801: Mm inspection'M7 easy area, 802: Abnormality detection flag area, 803: Source NCPi counter area. Patent Applicant Hitachi, Ltd. Agent Patent Attorney Masafu Isomura' Figure 1 Figure 3 Figure Cow Figure 5 Figure 7 Figure 12 Figure 13 Figure 1020 1021 Figure 14

Claims (1)

【特許請求の範囲】 (ト)あらかじめ各伝送制御装置にアドレスが付与され
、故障時には迂回路が形成され、ループ伝送路を一巡し
たメツセージは発信元の伝送制御装置で消去されるルー
プ伝送系において、各伝送制御装置は自らの立ち上げ時
および迂回路解除時にアドレス・トレイン・メツセージ
を発信し、該アドレス・トレイン・メツセージを受信し
た各伝送制御装置は順次自己のアドレスを付加して伝送
路に送出するとともに、発信元の伝送制御装置はメツセ
ージ内のアドレス列を解析して自己と同一アドレスをも
つ伝送制御装置が存在するか否かをチェックすることを
特徴とするループ伝送系のアドレス・チェック方式。 ■前記発信元の伝送制御装置は、アドレス重複を検知し
た場合、自発信データの送出を中止して、接続されてい
るホスト処理装置にアドレス重複を示すデータを送出す
ることを特徴とする特YF 請求の範囲第1項記載のル
ープ伝送系のアドレス・チェック方式。 ■)前記発信元の伝送制御装置は、アドレス・トレイン
・メツセージのアドレス列中に自己のアドレスがあらか
じめ定められた数だ番ブ検出されたとき、該アドレス・
トレイン・メツセージの伝送を中止し、アドレス列のう
ち自己のアドレスで囲まれた部分のアドレスがすべて一
致するか否かを比較照合することにより、アドレス重複
を検知することを特徴とする特許請求の範囲第1項また
は第2項記載のループ伝送系のアドレス・チェック方式
[Claims] (G) In a loop transmission system, an address is assigned to each transmission control device in advance, a detour is formed in the event of a failure, and messages that have gone around the loop transmission path are erased by the transmission control device that sent them. , each transmission control device sends an address train message when starting up itself or canceling a detour, and each transmission control device that receives the address train message sequentially adds its own address to the transmission path. An address check for a loop transmission system, characterized in that, at the same time as sending a message, the transmission control device of the sender analyzes the address string in the message and checks whether there is a transmission control device having the same address as itself. method. ■Special YF characterized in that when the transmission control device of the transmission source detects address duplication, it stops sending out its own transmission data and sends data indicating address duplication to the connected host processing device. An address check method for a loop transmission system according to claim 1. (2) When the source transmission control device detects its own address a predetermined number of times in the address string of the address train message,
The patent claim is characterized in that address duplication is detected by stopping the transmission of the train message and comparing and checking whether or not all addresses in the part of the address string surrounded by the own address match. An address check method for a loop transmission system as described in the first or second range.
JP58133353A 1983-07-21 1983-07-21 Transmission system address check method Expired - Lifetime JPH0628358B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP58133353A JPH0628358B2 (en) 1983-07-21 1983-07-21 Transmission system address check method
DE8484108555T DE3478656D1 (en) 1983-07-21 1984-07-19 Structure detecting method for circular type transmission system
EP84108555A EP0135037B1 (en) 1983-07-21 1984-07-19 Structure detecting method for circular type transmission system
US06/898,203 US4677615A (en) 1983-07-21 1986-08-20 Structure detecting method for circular type transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58133353A JPH0628358B2 (en) 1983-07-21 1983-07-21 Transmission system address check method

Publications (2)

Publication Number Publication Date
JPS6025345A true JPS6025345A (en) 1985-02-08
JPH0628358B2 JPH0628358B2 (en) 1994-04-13

Family

ID=15102730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58133353A Expired - Lifetime JPH0628358B2 (en) 1983-07-21 1983-07-21 Transmission system address check method

Country Status (1)

Country Link
JP (1) JPH0628358B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0276432A (en) * 1988-09-13 1990-03-15 Matsushita Electric Ind Co Ltd Communication equipment with address overlap detecting function
JPH02154526A (en) * 1988-12-06 1990-06-13 Canon Inc Digital noise clip circuit
JP2010068547A (en) * 2009-12-25 2010-03-25 Hitachi Ltd Detour constructing method for dual loop transmission
JP2018148506A (en) * 2017-03-09 2018-09-20 三菱電機株式会社 Packet exchange device
JP2021019305A (en) * 2019-07-22 2021-02-15 株式会社デンソー Relay device and on-vehicle communication network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58177055A (en) * 1982-04-09 1983-10-17 Mitsubishi Electric Corp Subscribing method of loop network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58177055A (en) * 1982-04-09 1983-10-17 Mitsubishi Electric Corp Subscribing method of loop network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0276432A (en) * 1988-09-13 1990-03-15 Matsushita Electric Ind Co Ltd Communication equipment with address overlap detecting function
JPH02154526A (en) * 1988-12-06 1990-06-13 Canon Inc Digital noise clip circuit
JP2010068547A (en) * 2009-12-25 2010-03-25 Hitachi Ltd Detour constructing method for dual loop transmission
JP2018148506A (en) * 2017-03-09 2018-09-20 三菱電機株式会社 Packet exchange device
JP2021019305A (en) * 2019-07-22 2021-02-15 株式会社デンソー Relay device and on-vehicle communication network

Also Published As

Publication number Publication date
JPH0628358B2 (en) 1994-04-13

Similar Documents

Publication Publication Date Title
JPS5947906B2 (en) loop transmission system
EP0135037B1 (en) Structure detecting method for circular type transmission system
JPS6025345A (en) Address check system of loop transmission system
JPS61224750A (en) System for informing detection of transmission line fault section
JP2009086938A (en) High-security control device
JPH04360440A (en) Transmission line fault detection system
JPS6398242A (en) Series data exchanger
JPS6412144B2 (en)
JPS644384B2 (en)
JPS59200365A (en) Transfer system of control information
JPS584855B2 (en) data transmission equipment
JPS5897941A (en) Diagnostic system of data transmitter
JPS612447A (en) Method for constituting by-pass of loop transmission system
RU1378287C (en) Three-channel redundant microprocessor system
JPS6031334A (en) Fault supervisory system of communication system
JPH01221954A (en) System for looping back of loop network
JPH03277032A (en) Token ring system
JPH03238551A (en) Data transfer system between cpu
JPH01136445A (en) Faulty location detection system in loop type duplex transmission system
JPH0318379B2 (en)
JPH0318380B2 (en)
JPH08272752A (en) Parallel processor
JPH01136446A (en) Fault location detecting system in duplexed loop transmission system
JPH0722290B2 (en) Processing method in distributed processing system
JPH0810874B2 (en) Post independent test system for remote monitoring and control equipment