JPS59126348A - Relay controller - Google Patents

Relay controller

Info

Publication number
JPS59126348A
JPS59126348A JP63183A JP63183A JPS59126348A JP S59126348 A JPS59126348 A JP S59126348A JP 63183 A JP63183 A JP 63183A JP 63183 A JP63183 A JP 63183A JP S59126348 A JPS59126348 A JP S59126348A
Authority
JP
Japan
Prior art keywords
data
registration
relay
control device
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63183A
Other languages
Japanese (ja)
Inventor
Shinichi Sekino
関野 真一
Makoto Nomi
能見 誠
Shoji Miyamoto
宮本 捷二
Koichi Ihara
井原 広一
Hiroshi Matsumaru
松丸 宏
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 JP63183A priority Critical patent/JPS59126348A/en
Publication of JPS59126348A publication Critical patent/JPS59126348A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks

Abstract

PURPOSE:To cope optionally with the request of change of relay registration at each subsystem on a transmission line by providing a content code registrating table storage memory as to all terminal devices at two transmission lines each and revising the contents of the memory in response to the request from each terminal device. CONSTITUTION:When a command for registering a relay content code FC is received, a processing operating device 43 reads a transmitted address SA in the data, a change start FC and a changed FC number and selects the arrangement of an area corresponding in an FC table 480 by host. Then, the data requiring or not requiring registration in the received data is converted into a registration format of the FC table. This converted data is compared with the registered data of the area in the FC table obtained before, and after the presence of change is confirmed, then the FC registration data of the area is rewritten. If there exists no change, the processing is finished. Further, when a change is produced, the registered data of the corresponding area sequentially to the range of the corresponding FC and to all the SA other than the SA of the received data is extracted and whether the change of the total DC table 481 is required or not is checked.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、中継制御装置に関し、特に複数伝送路からな
る伝送システムの伝送路間に設けられた中継制御装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a relay control device, and particularly to a relay control device provided between transmission lines of a transmission system consisting of a plurality of transmission lines.

〔従来波#i] 複数のループを接続したマルチループ伝送システムにお
いては、各ループ内の伝送メツセージの中から必要なメ
ツセージのみを選択して、ループ間でのメツセージの授
受を行わなければならない。
[Conventional wave #i] In a multi-loop transmission system in which a plurality of loops are connected, only necessary messages must be selected from among the messages transmitted within each loop, and messages must be exchanged between the loops.

このため、従来は、複数の伝送ループを接続するには専
用の接続用伝送制御装置を各ループに設け、これらの制
御装置を介して接続を行っている。
For this reason, conventionally, in order to connect a plurality of transmission loops, a dedicated connection transmission control device is provided for each loop, and connections are made via these control devices.

また、送られてきたメツセージの中継の可否の判定には
、次の2つの方法が用いられている。
The following two methods are used to determine whether a sent message can be relayed.

(1)接続用伝送制御装置に、中継すべきメツセージの
受信先アドレス、ループ番号、内容判別のためのコード
等を固定情報としてあらかじめ記憶させておき、対応す
るループへの中継を行う方法、および(II> M続用
伝送制御装置に接続された処理装置、またはループ上に
接続された中央処理装置から指示を出すことにより、上
記(1)と同じ判定要素をメモリに格納してその内容に
したがって、対応するループへの中継を行う方法である
(1) A method in which the connection transmission control device stores in advance the receiving address, loop number, code for content determination, etc. of the message to be relayed as fixed information, and relays the message to the corresponding loop; (II> By issuing an instruction from the processing device connected to the transmission control device for M-connection or the central processing unit connected on the loop, the same judgment element as in (1) above is stored in the memory and its contents are Therefore, this is a method of relaying to the corresponding loop.

しかし、−上記(1)の方法では、判定要素の変更が困
難で、かつ拡張性がなく、また上記(11)の方法では
、処理装置が、すべての判定要素と、ループ間の接続構
成を把握している必要があり、またループーヒに接続さ
れたサブシステムは独自の判断でこれらを変更すること
ができない。
However, in the method (1) above, it is difficult to change the judgment elements and there is no scalability, and in the method (11) above, the processing device changes all the judgment elements and the connection configuration between the loops. subsystems connected to Roopuhi cannot change these at their own discretion.

そこで、メツセージの判別を内容コード(以下FCと記
す)のみにより行い、ループ間を選別中継する伝送制御
方法が提案された(特願昭56−51786号明細書参
照)。
Therefore, a transmission control method has been proposed in which messages are discriminated only by content codes (hereinafter referred to as FC) and relayed selectively between loops (see Japanese Patent Application No. 51,786/1986).

この方法では、伝送制御装置がメツセージをFCで判別
し、処理装置側から登録、更新ができるFCレジスタを
用いて、メツセージの選択受信を行うとともに、各サブ
システムからのFCg録変更メツセージを受けて対応ル
ープの伝送制御装置のFCレジスタの登録変更を行うこ
とにより、メツセージの選択中継を行う。この方法によ
れば、中継用の特別な伝送制御装置を必要とすることな
く、シかもすべての伝送制御装置は受信側の伝送制御装
置がどのループに接続されているかを認識することなく
、必要なデータのみを中継でき、また各サブシステムか
ら独自に中継データの内容を選択できる。
In this method, the transmission control device identifies messages by FC, selectively receives messages using an FC register that can be registered and updated from the processing device, and also receives FC log change messages from each subsystem. Messages are selectively relayed by changing the registration of the FC register of the transmission control device of the corresponding loop. According to this method, there is no need for a special transmission control device for relaying, and all transmission control devices can use the necessary Only relevant data can be relayed, and the content of the relay data can be independently selected from each subsystem.

しかし、この方法では、あるサブシステムがあるFCに
ついて中継が不要となったため、中継制御装置に登録変
更メツセージを送った場合、そのループ内にそのFCの
中継を必要とするサブシステムが他に存在すると、後者
のサブシステムはそれ以降必要な中継データを得られな
くなる。これを防止するため、中継登録の取消しをでき
ないようにすれは、中継内容をダイナミックに変更でき
るという利点が消滅し、さらに不要な中継データによる
伝送トラフィックの増大という間顧が生ずる。
However, with this method, relaying is no longer necessary for a certain FC in a certain subsystem, so if a registration change message is sent to the relay control device, there is another subsystem within that loop that requires relaying for that FC. The latter subsystem will then no longer be able to obtain the necessary relay data. In order to prevent this, it is not possible to cancel the relay registration, which would eliminate the advantage of being able to dynamically change the contents of the relay, and would also result in an increase in transmission traffic due to unnecessary relay data.

〔発明の目的) 本発明の目的は、このような問題を改善するため、登録
されたFCによりメツセージを判別して、伝送路間の選
別中継を行う場合、伝送路上の各サブシステムごとに任
意に中継登録の変更要求に対応できる中継制御装置を才
が供することにある。
[Object of the Invention] The purpose of the present invention is to improve the above-mentioned problems, and when messages are discriminated by registered FC and selective relaying between transmission paths is performed, an arbitrary method is set for each subsystem on the transmission path. An object of the present invention is to provide a relay control device that can respond to requests for changing relay registration.

〔発明の概要) 本発明の中継制御装置は、それぞれ複数の端末機器を接
続した2つの伝送路の間に接続され、伝送メツセージ中
の内容コードが登録されたフードと一致するメツセージ
のみを伝送路間に中継する中継制御装置において、上記
2つの伝送路ごとに、すべての端末機器についての内容
コード登録表格納メモリを設け、各端末機器からの要求
に応じて上記メモリの内容を更新し、更新された内容に
したがって伝送メツセージの中継の判別を行うことに特
徴がある。
[Summary of the Invention] A relay control device of the present invention is connected between two transmission paths each connecting a plurality of terminal devices, and transmits only messages whose content code in the transmitted message matches a registered hood to the transmission path. In the relay control device that relays between them, a content code registration table storage memory for all terminal devices is provided for each of the two transmission paths, and the contents of the memory are updated according to requests from each terminal device. The feature is that the relay of the transmitted message is determined according to the content of the transmitted message.

〔発明の実施例] 第1図は、本発明を適用するマルチループ伝送システム
の全体構成図である。
[Embodiments of the Invention] FIG. 1 is an overall configuration diagram of a multi-loop transmission system to which the present invention is applied.

第1図において、1.2はループ伝送路、12は中継制
御装置、10□〜10ユおよび20□〜20mは伝送制
御装置(以下NCPと記す) 、100.〜1OOr1
  および200.〜200mは処理装置(以下ホスト
と記す)である。
In FIG. 1, 1.2 is a loop transmission path, 12 is a relay control device, 10□ to 10U and 20□ to 20m are transmission control devices (hereinafter referred to as NCP), 100. ~1OOr1
and 200. ~200m is a processing device (hereinafter referred to as host).

ループ伝送路lとn個のN CP 10.〜lOnが1
つのループ伝送系を構成し、各NCPを介してホストが
接続されている。ループ伝送路2についても、同じ構成
である。これら2つの伝送系を、中継制御装置12によ
り結合して、マルチループ伝送システムを形成している
。N CP 10□〜10rL。
Loop transmission line l and n N CPs 10. ~lOn is 1
A host is connected via each NCP. The loop transmission line 2 also has the same configuration. These two transmission systems are coupled by a relay control device 12 to form a multi-loop transmission system. N CP 10□~10rL.

20□〜20fflは、すべて同一構造、同一機能を持
ち、また中継制御装置12の伝送系への接続は、他のホ
ストのNCPへの接続と全く同じである。
20□ to 20ffl all have the same structure and the same function, and the connection of the relay control device 12 to the transmission system is exactly the same as the connection of other hosts to the NCP.

ホスト100.〜100rl、2002〜200.rn
の1つからデータを送信する場合、データにFCを付加
してNCPlo、〜10n、20.〜20rnのうちの
接続された1つに転送する。このデータを受けたN C
P +−1、これにNCPごとに固有の発信元アドレス
(以下SAと記す)を付加した後、ループ伝送路I:に
送信する。
host 100. ~100rl, 2002~200. rn
When transmitting data from one of the following, add FC to the data and write it as NCPlo, ~10n, 20. ~20rn to the connected one. NC that received this data
P+-1, a unique source address (hereinafter referred to as SA) for each NCP is added to this, and then transmitted to the loop transmission path I:.

データを受信するためには、ホストからNCPにFC登
録を行うことにより回前となる。NCPは、ループ伝送
路上のデータを・受けると、そのFCを読み取り、自N
 CP内に登録されているF Cであればそのデータを
接続されているポストに転送し、登録されているFCで
なければそのままループ伝送路上に通過させる。また、
NCPは、受信したデータのSAを読み取り、自発信デ
ータであれば、どこにも送出せずに消央する。
In order to receive data, the host must perform FC registration with the NCP. When the NCP receives data on the loop transmission path, it reads the FC and transmits the data to its own NCP.
If the FC is registered in the CP, the data is transferred to the connected post, and if the FC is not registered, the data is passed directly onto the loop transmission path. Also,
The NCP reads the SA of the received data, and if it is self-originated data, it centralizes it without sending it anywhere.

一方、ループ間のデータ選択中継も、NCPの選択受信
機能を用いて行われる。すなわち、中継制御装置]2は
、ループ伝送路l側で必要となるデータのFCをN C
P 20□に登録する。これにより、ループ伝送路2上
のデータのうち中継が必要なものはN CP 20□よ
り取り込まれ、N CP 10゜を経由してループ伝送
路1に送出される。このとき、データのSAけ、N C
P IQlにより書き換えられるので、ループ伝送路1
側から見ると、中継制御装置12とその背接のループ伝
送路2け単に1つのポストとみなされ、システムの均一
性を失うことはない。ループ伝送路]からループ伝送路
2への中継に関しても、上記の説明がそのまま該当する
On the other hand, data selective relay between loops is also performed using the selective reception function of the NCP. In other words, the relay control device] 2 controls the FC of data required on the loop transmission path l side.
Register on P20□. As a result, data on the loop transmission path 2 that requires relaying is taken in from the N CP 20□ and sent to the loop transmission path 1 via the N CP 10°. At this time, data SA, NC
Since it is rewritten by P IQl, loop transmission line 1
When viewed from the side, the relay control device 12 and its two-digit loop transmission line are regarded as one post, and the uniformity of the system is not lost. The above explanation also applies to the relay from the loop transmission line] to the loop transmission line 2.

本発明においては、中継制御装ff12内のメモリに、
接続する両ループ−Fの全伝送制御装置10゜20に個
別の中継内容コード表を格納し、中継制御装置t ]、
 2は、各内容コード表をまとめて、中継を要するデー
タの内容コードを伝送制御装置]o1゜20□に登録し
て中継を行うとともに、各ポスト100.200からの
コマンドにより上記内容コード表を更新して、不要とな
ったデータ中継を中止し、新規のデータ中継の開始を行
う。
In the present invention, in the memory in the relay control device ff12,
An individual relay content code table is stored in all transmission control devices 10 and 20 of both connected loops-F, and the relay control device t],
2 collects each content code table, registers the content code of the data that requires relaying in the transmission control device ]o1゜20□, performs relaying, and also sends the above content code table by command from each post 100.200. Update, cancel unnecessary data relay, and start new data relay.

第21Δは、第1図のループ伝送路を伝送するメツセー
ジのフォーマット図である。
21.DELTA. is a format diagram of a message transmitted through the loop transmission path of FIG.

201は開始フラグ(F) 、202はFC,203は
SA、2044:1伝送制御上必要とtlる通番、20
5はデータ部(Data、 )、2Of’3は誤り検出
用フード、207け終了フラグCF)である。
201 is a start flag (F), 202 is FC, 203 is SA, 2044:1 serial number necessary for transmission control, 20
5 is a data section (Data, ), 2Of'3 is an error detection hood, and 207 end flags CF).

このようなフォーマットを持つメツセージが、各ループ
伝送路1またけ2内のNCPIo、20相互間で送受信
され、また中継制御装置12を介してループ相互間で中
継される。
Messages having such a format are transmitted and received between the NCPIo and 20 within each loop transmission line 1 and 2, and are relayed between loops via the relay control device 12.

第3図は、第1図における各ホストから送出されるFC
登録用コマンドのデータ・フォーマットを示す図である
Figure 3 shows the FC sent from each host in Figure 1.
FIG. 3 is a diagram showing a data format of a registration command.

データ部以外は、第2図のメツセージのフォーマットと
同じであり、データ部(Data部)に登録内容が格納
され、送出される。301は変更FC数(N)、302
は変更開始FC(FCo) 、303はFCo から順
に登録が必要ならば”1″、不要ならば°°0″とされ
る各種FCデータ(D、〜DN)である。このフォーマ
ットは、NCPへのFC登録と、後述する中継制御装置
12への中継要求登録コマンドとで共通であり、両者の
区別はFCにより行われる。
The format of the message other than the data part is the same as that of the message shown in FIG. 2, and the registered contents are stored in the data part and sent out. 301 is the number of changed FCs (N), 302
is the change start FC (FCo), and 303 is various FC data (D, ~DN) that is set to "1" if registration is necessary starting from FCo, and "°°0" if registration is unnecessary.This format is used for NCP. The FC registration and the relay request registration command to the relay control device 12 described later are common, and the two are distinguished by the FC.

第4図は、第1図におけるNCPの機能ブロック図であ
る。
FIG. 4 is a functional block diagram of the NCP in FIG. 1.

第4図において、30はループ受信用インタフェース、
31は受信バッファ、32は処理演算装置、33はホス
ト送信バッファ、34は対ホスト・インタフェース、3
5はポスト受信バッファ、36はループ送信バッファ、
37はループ送信用インタフェース、38はFC表格納
用メモリである。
In FIG. 4, 30 is a loop reception interface;
31 is a reception buffer, 32 is a processing unit, 33 is a host transmission buffer, 34 is a host interface, 3
5 is a post reception buffer, 36 is a loop transmission buffer,
37 is a loop transmission interface, and 38 is a memory for storing an FC table.

この場合、NCPは中継制御装置12を接続したN 、
CP IQ□であり、ホストは中継制御装置]2である
In this case, the NCP connects the relay control device 12,
CP IQ□, and the host is relay control device]2.

N CP 10.が起動され、ホスト12からFC登録
データをインタフェース34を介して受は取ると、この
FC登録データをホスト受信バッファ35、処理演算装
置32を経由してFC表格納メモリ38の表に格納する
。以後、ホスト12から受は取ったデータがPC登録デ
ータであれば、メモリ38に実き込むことにより、FC
の変更を行い、それ以外のデータであれば、送信バッフ
ァ36にセットし、インタフェース37を介してループ
伝送路1上に送信する。
NCP 10. is activated and receives FC registration data from the host 12 via the interface 34, and stores this FC registration data in the table of the FC table storage memory 38 via the host reception buffer 35 and processing arithmetic unit 32. Thereafter, if the data received from the host 12 is PC registration data, it is stored in the memory 38 and stored in the FC.
If the data is other than that, it is set in the transmission buffer 36 and transmitted onto the loop transmission line 1 via the interface 37.

一方、ループ伝送路1からの受信データは、インタフェ
ース30を経て受信バッファ31に格納される。処理演
算装置32はこのデータを取り出して先ずSAを調べ、
自発信データであれば、−巡してきたデータであるので
、これを消去する。
On the other hand, the received data from the loop transmission path 1 is stored in the reception buffer 31 via the interface 30. The processing arithmetic unit 32 takes out this data and first checks SA,
If it is self-transmitted data, it is data that has been circulated, so it is deleted.

他NCPの発信データであれば、送信バッファ36にセ
ットしてインタフェース37を介してループ伝送路l上
に送信するが、その前に処理演算装置32はFC表格納
メモリ38を参照し、受信データのFCがFC表に登録
されているものであれば、このデータをホスト送信バッ
ファ33にコピーしてホスト12にも送信する。勿論、
仲のNCPのFC表にも登録されている可能性があるの
で、そのデータをループ伝送路1に送出して一巡させる
If it is transmission data from another NCP, it is set in the transmission buffer 36 and transmitted onto the loop transmission line l via the interface 37. However, before that, the processing arithmetic unit 32 refers to the FC table storage memory 38 and records the received data. If the FC is registered in the FC table, this data is copied to the host transmission buffer 33 and transmitted to the host 12 as well. Of course,
Since there is a possibility that it is also registered in the FC table of the other NCP, the data is sent to the loop transmission path 1 and circulated.

第5図、第6図は、それぞれ第4図のNCPの処理を示
すフローチャートであって、第5図はホストからの受信
データの処理、第6図はループ伝送路からの受信データ
の処理を示す。
5 and 6 are flowcharts showing the processing of the NCP shown in FIG. 4, respectively, in which FIG. 5 shows the processing of data received from the host, and FIG. 6 shows the processing of data received from the loop transmission path. show.

第5図において、NCPIO,がホスト12よりデータ
を受信すると(ステップ51)、データのFCを読み取
り、FC登録データであれば、FC表に書き込んでこれ
を更新する(ステップ52゜56)。また、FC登録デ
ータでなければ、受信データのSAとして自NCPをセ
ットし、送信バッファからループ伝送路l上に送信する
(ステップ52〜55)。
In FIG. 5, when the NCPIO receives data from the host 12 (step 51), it reads the FC of the data, and if it is FC registered data, it writes it in the FC table and updates it (steps 52 and 56). Furthermore, if the data is not FC registered data, the own NCP is set as the SA of the received data, and the data is transmitted from the transmission buffer onto the loop transmission path l (steps 52 to 55).

第6図において、N CP 10□がループ伝送路1よ
りデータを受信すると、先ずデータのSA部を読み出す
(ステップ71.72)。そして、SA部が自NCP、
つまり自発信データであるときにハ、コのデータを消去
する(ステップ73 、79)。
In FIG. 6, when the N CP 10□ receives data from the loop transmission path 1, it first reads out the SA part of the data (steps 71 and 72). And SA department is own NCP,
In other words, when the data is self-transmitted data, data C and C are erased (steps 73 and 79).

また、自発信データでなければ、そのデータのFCをF
C表と照合する(ステップ73.74)。
Also, if it is not self-transmitted data, the FC of that data is
Check against table C (steps 73 and 74).

そして、FCがFC表のデータと一致したとき、つまり
受信が必要なFCであるときには、ホスト送信バッファ
にコピーをセットして、ホスト12に送信した後、受信
データをループ伝送路1上に送信する(ステップ75〜
78)。一方、F(JFC表のデータと不一致のとき、
つまり受信しなくてもよいときには、そのまま受信デー
タをルー01) プ伝送路l上に送信する (ステップ75.78)。
Then, when the FC matches the data in the FC table, that is, when it is an FC that requires reception, a copy is set in the host transmission buffer, transmitted to the host 12, and then the received data is transmitted onto the loop transmission line 1. (Step 75~
78). On the other hand, when F(does not match the data in the JFC table,
In other words, when there is no need to receive the data, the received data is directly transmitted onto the loop transmission line l (steps 75 and 78).

第7図は、本発明の実施、例を示す中継制御装置の機能
ブロック図である。
FIG. 7 is a functional block diagram of a relay control device illustrating an example of an implementation of the present invention.

第7図において、41.45はN CP 101.20
□との送受信インタフェース、42.46は受信バッフ
ァ、44.47は送信バッファ、43は処理演算装置、
48.49はFC表格納メモリである。
In Figure 7, 41.45 is N CP 101.20
A transmission/reception interface with □, 42.46 is a reception buffer, 44.47 is a transmission buffer, 43 is a processing arithmetic unit,
48 and 49 are FC table storage memories.

中継制御装置12が起動されると、処理演算装置43は
FC表格納メモリ48に初期設定されたFCについて、
N CP 20.へのFC登録データを作成し、送信バ
ッファ44にセットしてインタフェース45を介しN 
CP 20.に送信する。同じようにして、FC表格納
メモリ49に初期膜′定されたFCについて、N CP
 101へのFC登録データを作成し、送信する。これ
により、両N CP 10□。
When the relay control device 12 is started, the processing arithmetic device 43 performs the following on the FC initialized in the FC table storage memory 48.
NCP 20. Create FC registration data for N, set it in the transmission buffer 44, and send it to
CP 20. Send to. In the same way, for the FC initially set in the FC table storage memory 49, N CP
Create and send FC registration data to 101. As a result, both N CP 10□.

20、にFCの登録を行う。以後、両ループのNCP 
10  、201は、登録されたFCと一致するFCを
持つデータをループ伝送路1,2から受信すると、中継
制御装置12に転送してくる。
20, register the FC. From now on, the NCP of both loops
When data having an FC matching the registered FC is received from the loop transmission paths 1 and 2, the data receiving devices 10 and 201 transfer the data to the relay control device 12.

いま、NCPlo、が受信データを転送してくる02) と、このデータはインタフェース41を通して受信バッ
ファ42に格納される。処理演算装置43は、これを読
み出してFCを調べ、中継登録用のコマンドを示すPC
(以下FCと記す)であればFCWC処理を行い、それ
【ソ外のFCであればそのまま送信バッファ44にセッ
トしてNCP2O□に送信する。N CP 20□は、
中継制御装置12より受信したデータに自分のSAを付
加してループ伝送路2上に送出するので、受信側のルー
プ系では中継データを特別扱いする必要はなく、一般の
ホストからの送信データと同一に扱うことができる。−
F記の動作は、逆にN CP 20.から受信してNC
Plo、に中継する場合も、全く同じである。
Now, NCPlo transfers received data (02), and this data is stored in the reception buffer 42 through the interface 41. The processing arithmetic unit 43 reads this, checks the FC, and selects the PC that indicates the command for relay registration.
(hereinafter referred to as FC), performs FCWC processing, and if it is an outside FC, it is set as is in the transmission buffer 44 and transmitted to the NCP2O□. N CP 20□ is
Since it adds its own SA to the data received from the relay control device 12 and sends it out onto the loop transmission line 2, there is no need to treat the relay data specially in the loop system on the receiving side, and it is different from data sent from a general host. They can be treated the same. −
On the contrary, the operation described in F is N CP 20. received from and NC
It is exactly the same when relaying to Plo.

次に、FC管理処理を説明する。Next, FC management processing will be explained.

デ8図は、堕7図におけるFC表格納メモリの構成図で
ある。
Figure 8 is a configuration diagram of the FC table storage memory in Figure 7.

第8図において、480はホスト別のFC表配列、48
]は総合FC表である。
In FIG. 8, 480 is an FC table array by host, 48
] is the comprehensive FC table.

FC表は、SA、FCを添字とする2次元配列の形式で
あり、対応ループ(すなわち、FC表格納メモリ48に
ついてはN CP IQ□側のループ、FC表格納メモ
リ49についてはN CP 20.側のループ)上の各
NCPのSAごとに、各FCについての中継の要、不要
を II l +”、”OIIの値で記録される。
The FC table is in the form of a two-dimensional array with SA and FC as subscripts, and the corresponding loop (that is, the loop on the NCP IQ□ side for the FC table storage memory 48, and the NCP 20. For each SA of each NCP on the side loop), whether relaying is necessary or unnecessary for each FC is recorded as a value of II l +","OII.

中#FCの登録用コマンドが受信されると、処理演算装
置43は、このデータ内のSA、変更開始FC(FCo
 )および変更FC数(N)を読み出し、ホスト別FC
表480内の対応する領域の配列をfび出す。
When the medium #FC registration command is received, the processing arithmetic unit 43 registers the SA and change start FC (FCo) in this data.
) and the number of changed FCs (N), and read the FC number (N) by host.
Fetch the array of the corresponding area in table 480.

次に、受信データ内の登録の要、不要データを、FC表
の登録フォーマットに変換する。この変換データを、先
に求めたFC表内の領域の登録データと比較して、変更
の有無を確認した上でこの領域のFC登録データを書き
換える。もし、変更がなければ、処理は終了する。
Next, data necessary for registration and unnecessary data in the received data is converted into the registration format of the FC table. This converted data is compared with the previously obtained registration data of the area in the FC table, and after checking whether there is any change, the FC registration data of this area is rewritten. If there is no change, the process ends.

次に、変更が生じた場合、対応するFCの範囲について
、受信データのSA以外の全SAについて、順次対応す
る領域の登録データを取り出し、総合FC表481の変
更が必要か否かをチェックする。
Next, when a change occurs, for the corresponding FC range, for all SAs other than the SA of the received data, the registered data of the corresponding area is sequentially retrieved, and it is checked whether or not the comprehensive FC table 481 needs to be changed. .

総合FC表481は、各SAごとのFCC全全体論理和
をとった値をセットし、全SAについて中継不要である
FCのみ中継不要としてo”を、1つのSAでも中継を
必要としているFCについては°゛l”を、それぞれ配
録する。
The comprehensive FC table 481 sets the value obtained by calculating the logical OR of all FCCs for each SA, and indicates that relaying is not necessary for FCs that do not require relaying for all SAs, and o'' for FCs that require relaying for even one SA.゛l'' are recorded respectively.

−ト記チェックの方法は、次の手順による。- The method for checking the notes is as follows.

先ず、1つのSAについて対象とする範囲のFCの登録
データを読み出す。これと、先の変更データとのFC単
位での論理和をとり、新たな変更データとする。このデ
ータを、絣合FC表481の対応するFC領域の登録デ
ータと比較する。一致すれば、新規に登録またはセリ消
すべき中継FCはないものとして、処理を終了し、不一
致であれば、次のSAについて同じ処理を繰り返す。全
SAについてチェックが終了し、かつ変更有りであれば
、その変更データにより総合FC表481を書き換える
。そして、このデータからN CP 20゜への登録デ
ータ、および送り先ループ内の別の中継制御装置に対す
る中継FC変更コマンド・デー0υ りを作成し、順次送信バッファ44に送出する。
First, the registered data of the FC in the target range for one SA is read. This and the previous changed data are logically summed in FC units to create new changed data. This data is compared with the registration data of the corresponding FC area in the Kasiri FC table 481. If they match, it is assumed that there is no relay FC to newly register or cancel the auction, and the process ends; if they do not match, the same process is repeated for the next SA. If all SAs have been checked and there are changes, the comprehensive FC table 481 is rewritten with the changed data. Then, from this data, registration data for the N CP 20° and relay FC change command data 0υ for another relay control device in the destination loop are created and sequentially sent to the transmission buffer 44.

以上は、NCPIO,側ループから入力したデータに対
するFC管理処理の動作であるが、逆方向の中継、つま
りN CP 20.側ループから入力したデータに対す
るFC管理処理の動作も、全く同一である。
The above is the operation of FC management processing for data input from NCPIO and side loop, but relaying in the reverse direction, that is, NCP 20. The operation of FC management processing for data input from the side loop is also exactly the same.

第9図は、華7図の中継制御装置の処・理を示すフリー
チヤードである。
FIG. 9 is a free chart showing the processing of the relay control device in FIG. 7.

中継制御装置12は、接続されているNCPよりデータ
を受信すると、その受信データのFCをチェックする(
ステップ81.82)。FCが中継PC登録コマンドで
なければ、そのまま逆方向に接続されているNCPに送
信する(ステップ83.95)。FCが中継FC登録コ
マンドであれば、SAよりホスト届号を算出し、ホスト
番号に対応するFC表データを読み出し、内容を比較し
て一致するか否かを判別する(ステップ83〜86)。
When the relay control device 12 receives data from the connected NCP, it checks the FC of the received data (
Step 81.82). If the FC is not a relay PC registration command, it is sent as is to the NCP connected in the opposite direction (step 83.95). If FC is a relay FC registration command, a host notification number is calculated from SA, FC table data corresponding to the host number is read out, and the contents are compared to determine whether they match (steps 83 to 86).

比較の結果、不一致つまり変更ありのときには、対応す
るFC表を更新し、全FC表の論理和(全ホストごとの
オア)をとり、その結果をα6) 総合FC表と比較する(ステップ86〜・89)。
As a result of the comparison, if there is a discrepancy or a change, the corresponding FC table is updated, the logical sum (or for each host) of all FC tables is taken, and the result is compared with the comprehensive FC table (α6) (steps 86 to 8).・89).

比較の結果、不一致つまり変更ありのときには、総合F
C表を更新した後、NCP登録データを作成して、NC
Pに送り、そのNCPのメモリに登録する(ステップ9
0〜93)。また、別の中継制御装置に対する中継FC
登録コマンドを作成してNCPに送信する(ステップ9
4.95)。
As a result of the comparison, if there is a discrepancy or a change, the overall F
After updating the C table, create NCP registration data and
P and register it in the memory of that NCP (step 9
0-93). Also, relay FC for another relay control device
Create a registration command and send it to the NCP (Step 9)
4.95).

なお、中gFCの初期設定は、ROM内にあらかじめセ
ットしておいたデータをロードするか、あるいは手動で
入力することにより、FC表および総合FC表の値を設
゛定する。このとき、少なくとも、中線FC変更コマン
ドのFC(FCo)さえ設定しておけば、他のFCにつ
いては、ループ上の任意のサブシステムからのリモート
登録が可能である。
In the initial setting of the medium gFC, the values of the FC table and the general FC table are set by loading data set in advance in the ROM or by manually inputting the data. At this time, as long as at least the FC (FCo) of the midline FC change command is set, remote registration of other FCs from any subsystem on the loop is possible.

このように、本発明においては、中継制御装置を、NC
Pに対して仲のホストと全く同じ条件で接続することが
できるので、中継用として特別のNCPを用いる必要は
なく、どのNCPにも接続でき、さらにその先に別のル
ープを接続しても、個々のループにおいて仙のループを
認識して特別の処理を行う必要6:′lない。なお、本
発明は、ループ伝送路に限定されることなく、仲の伝迷
路にも適用できる。
In this way, in the present invention, the relay control device is
Since it is possible to connect to P under exactly the same conditions as other hosts, there is no need to use a special NCP for relaying, and it is possible to connect to any NCP, and even if another loop is connected beyond that, There is no need to recognize and perform special processing on individual loops. Note that the present invention is not limited to loop transmission lines, but can also be applied to Nakanodenmaze.

C発明の効果) 以ト炉明したJ:うに、本発明によれば、杓数伝送路を
結合した伝送システムにおいて、中継制御装置内に中継
FCの登軒状態をポストごとに独立なFC表として保持
し、これらFC表をt約してNCPにPC登録するため
、伝送路−Lの各サブシステムは仙のサブシステムの1
1−況に係りなく中継および中継取消の要求を任意に送
信することができ、中継の登録か仲のタブシステムによ
り無凹で解除されることがない。したがって、マルチ伝
送システムに適用すれば、個々のサブシステムの独立性
を高め、状況に応じ、中継するデータを変えて、伝送効
率を向1゛、させ、システム構造の白山度を増加すると
ともに、拡張性を向上させることができる。
According to the present invention, in a transmission system in which a number of transmission lines are combined, an independent FC table is created in the relay control device to indicate the installation status of the relay FC for each post. In order to save these FC tables and register the PC in NCP, each subsystem of transmission line-L is one of the subsystems of
1- Requests for relaying and canceling relaying can be sent arbitrarily regardless of the situation, and the registration of the relay will not be automatically canceled due to the tab system of the relay. Therefore, if applied to a multi-transmission system, it will increase the independence of individual subsystems, change the data to be relayed depending on the situation, improve transmission efficiency, and increase the complexity of the system structure. Expandability can be improved.

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

t第1図は本発明を適用するマルチループ伝送システム
の全体構成図、4F 2図は饅”1図のループ伝iI′
:路を伝送するメツ+−ジのフォーマット図、fσ3図
Lt PA1図にお口る各ポストから送出されるT”C
登パ1)]コマンドのデータ・フォーマット図、第4−
図は第1図におけるNCPの機能ブロック図、笛51’
4.笛6図け、そわぞれ第4図のNCPの処]J11を
示すフローチャート、竺7図ζ°を本発明の実施例を示
す中継制御装置の機能ブロックIて、竿8図は竿7図に
おける1・゛C表格納メモリの内容説明図、2へ一9図
は;17図の中継制御装置の処理を示すフローチャート
である。 ]12;ループ伝送路、]O工〜]Oゎ、20、〜20
 :NCP(伝送;1,1目111装′8)、12:中
継制御装置、100.〜100  、2002〜200
1rl:ホスト(娼理装置)、32.43:処理演算装
置、38.4−8゜4−9 ! 1” C表格納メモリ
、30.34.37.4−1゜45:インタフェース、
3’3.36.44−、4−7 :送信バッファ、31
.35.42.4,6  :受信バッファ。 09) (20) 第5図 第    6    図 第8図 FC□ 0 1234567
Fig. 1 is an overall configuration diagram of a multi-loop transmission system to which the present invention is applied, and Fig. 2 is a diagram of the loop diagram in Fig. 1.
: Format diagram of the network that transmits the network, fσ3 diagram Lt T”C sent from each post connected to the PA1 diagram
Noppa 1)] Command data format diagram, No. 4-
The diagram is a functional block diagram of the NCP in Figure 1, whistle 51'
4. Figure 6 shows the NCP part in Figure 4] A flow chart showing J11; Figures 1 and 2 are explanatory diagrams of the contents of the C table storage memory, and Figures 2 and 9 are flowcharts showing the processing of the relay control device in Figure 17. ]12; Loop transmission line, ]O engineering~]Oゎ, 20, ~20
: NCP (transmission; 1, 1 111 equipment '8), 12: Relay control device, 100. ~100, 2002~200
1rl: Host (prostitution device), 32.43: Processing calculation device, 38.4-8°4-9! 1” C table storage memory, 30.34.37.4-1゜45: Interface,
3'3.36.44-, 4-7: Transmission buffer, 31
.. 35.42.4, 6: Receive buffer. 09) (20) Figure 5 Figure 6 Figure 8 FC□ 0 1234567

Claims (3)

【特許請求の範囲】[Claims] (1)それぞれ複数の端末機器を接続した2つの伝送路
の間に接続され、伝送メツセージ中の内容コードが登録
されたコードと一致するメツセージのみを伝送路間に中
継する中継制御装置において、上記2つの伝送路ごとに
、すべての端末機器についての内容コード登録表格納メ
モリを設け、各端末機器からの要求に応じて上記メモリ
の内容を個別に更新し、更新された内容にしたがって伝
送メツセージの中継の判別を行うことを特徴とする中継
制御装置。
(1) In a relay control device that is connected between two transmission lines each connected to a plurality of terminal devices, and relays only messages between the transmission lines whose content code in the transmitted message matches a registered code, A content code registration table storage memory for all terminal devices is provided for each of the two transmission paths, and the contents of the memory are individually updated in response to requests from each terminal device, and transmission messages are updated according to the updated contents. A relay control device characterized by determining relay.
(2)前記内容フード登峙表格納メモリは、端末機器対
応の個別内容コード表と、全端末P4器ごとの内容コー
ドの論理和をとった値を保持する総合内容コード表とを
格納していることを特徴とする特許請求の範囲が、1項
記載の中継制御装置。
(2) The content food entry table storage memory stores an individual content code table corresponding to each terminal device and a comprehensive content code table that holds a value obtained by taking the logical sum of the content codes for all terminal P4 devices. A relay control device according to claim 1, characterized in that:
(3)前記伝送メツセージの中継判別は、内容コード登
録表格納メモリが更新された後、更新された内容から登
録データを作成し、伝送路ごとの隣接した端末機器に対
して登録要求することにより行われることを特徴とする
特許請求の範囲第1項または第2項記載の中継制御装置
(3) The relay of the transmitted message is determined by creating registration data from the updated contents after the content code registration table storage memory is updated, and requesting registration to the adjacent terminal equipment for each transmission path. 3. The relay control device according to claim 1 or 2, wherein
JP63183A 1983-01-06 1983-01-06 Relay controller Pending JPS59126348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63183A JPS59126348A (en) 1983-01-06 1983-01-06 Relay controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63183A JPS59126348A (en) 1983-01-06 1983-01-06 Relay controller

Publications (1)

Publication Number Publication Date
JPS59126348A true JPS59126348A (en) 1984-07-20

Family

ID=11479072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63183A Pending JPS59126348A (en) 1983-01-06 1983-01-06 Relay controller

Country Status (1)

Country Link
JP (1) JPS59126348A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01144835A (en) * 1987-12-01 1989-06-07 Nippon Telegr & Teleph Corp <Ntt> Data repeater between networks
JPH01302940A (en) * 1988-05-31 1989-12-06 Hitachi Ltd Inter-lan coupling device which can set action mode

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01144835A (en) * 1987-12-01 1989-06-07 Nippon Telegr & Teleph Corp <Ntt> Data repeater between networks
JPH01302940A (en) * 1988-05-31 1989-12-06 Hitachi Ltd Inter-lan coupling device which can set action mode

Similar Documents

Publication Publication Date Title
JPH0732401B2 (en) Transmission control method
JP4672931B2 (en) Remote file sharing method, apparatus and system thereof
JPS59126348A (en) Relay controller
JPS59126347A (en) Relay control system
JPS61102847A (en) Information file device network system
JP3740198B2 (en) Implementation method of operation command processing mechanism in distributed system
JPS63244165A (en) Inter-computer file transfer method
JP4041294B2 (en) Network device, relay method, network system, and relay device
JPH09146858A (en) Method and device for file distribution
JP2001229136A (en) Unit and system for control and data transfer device
JPH0279640A (en) Data transmission equipment
JPH01291553A (en) Individual communication system for mesh network
JPH05248692A (en) Relay communication equipment for air conditioner
JPH07101882B2 (en) Transmission control method
JP3033586B2 (en) Information processing system
JPH07200426A (en) Sequential type repeat file transfer device
JPH11212790A (en) Remote maintenance method and device for terminal equipment
JPS6196849A (en) Transmission system control system
JP2000339179A (en) Inter-process communication system in computer system
JPH11191085A (en) Network device, abnormal state notifying method for network device and storage medium storing computer readable program
JPH01181355A (en) Network communication system
JPH09190371A (en) Device for making storage of computer system equivalent
JPS6359155A (en) Communication control system
JPS63195763A (en) Decentralized processing system
JPS6360941B2 (en)