JP3216894B2 - Automatic address number setting method of communication control device in communication system - Google Patents

Automatic address number setting method of communication control device in communication system

Info

Publication number
JP3216894B2
JP3216894B2 JP30781591A JP30781591A JP3216894B2 JP 3216894 B2 JP3216894 B2 JP 3216894B2 JP 30781591 A JP30781591 A JP 30781591A JP 30781591 A JP30781591 A JP 30781591A JP 3216894 B2 JP3216894 B2 JP 3216894B2
Authority
JP
Japan
Prior art keywords
communication control
control device
communication
address number
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP30781591A
Other languages
Japanese (ja)
Other versions
JPH05145562A (en
Inventor
利明 雑喉
保次 服部
和雄 渡部
克也 山下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Sumitomo Electric Industries Ltd
Original Assignee
Nippon Telegraph and Telephone Corp
Sumitomo Electric Industries 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 Nippon Telegraph and Telephone Corp, Sumitomo Electric Industries Ltd filed Critical Nippon Telegraph and Telephone Corp
Priority to JP30781591A priority Critical patent/JP3216894B2/en
Publication of JPH05145562A publication Critical patent/JPH05145562A/en
Application granted granted Critical
Publication of JP3216894B2 publication Critical patent/JP3216894B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は通信システムにおける通
信制御装置のアドレス番号自動設定方法に関し、特に1
本の光ファイバ通信路で双方向通信を実現する通信シス
テムに適用して有用なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for automatically setting an address number of a communication control device in a communication system.
The present invention is useful when applied to a communication system that realizes two-way communication using the optical fiber communication path.

【0002】[0002]

【従来の技術】図5は、最近開発された、1本の光ファ
イバ通信路で双方向通信を実現する通信システムを示す
ブロック線図である。同図に示すように、この通信シス
テムは、ホストとなる通信制御装置(以下単にホストと
称す)1と、このホスト1の端末機器となる多数の通信
制御装置2−1,2−2,2−3,…,2−nとを有し
ており、これらホスト1及び各通信制御装置2−1〜2
−nを1本の光ファイバ通信路3で縦続接続して構成し
てある。このとき、光ファイバ通信路3には光信号を分
岐するカプラ4−0,4−1,4−2,4−3,…,4
−nがホスト1及び通信制御装置2−1〜2−nに対応
して配設してある。
2. Description of the Related Art FIG. 5 is a block diagram showing a recently developed communication system for realizing bidirectional communication with one optical fiber communication path. As shown in FIG. 1, the communication system includes a communication control device (hereinafter simply referred to as a host) 1 serving as a host, and a number of communication control devices 2-1, 2-2, and 2 serving as terminal devices of the host 1. -3,..., 2-n.
−n are connected in cascade with one optical fiber communication path 3. At this time, couplers 4-0, 4-1, 4-2, 4-3,.
-N is provided corresponding to the host 1 and the communication control devices 2-1 to 2-n.

【0003】ホスト1及び通信制御装置2−1〜2−n
は、それぞれ光信号の送信部1a,2a−1,2a−
2,2a−3,…,2a−n、受信部1b,2b−1,
2b−2,2b−3,…,2b−n、信号処理部であり
それぞれメモリを内蔵しているCPU1c,2c−1,
2c−2,2c−3,…,2c−nを有するとともに、
ホスト1から位置的に離れるにしたがって増大する自然
数のアドレス番号#0,#1,#5,#10,…,#3
0が付与されている。ホスト1のCPU1cのメモリは
全部のアドレス番号#0〜#30をリストとして記憶し
ている。各通信制御装置2−1〜2−nのCPU2c−
1〜2c−nのメモリは自己のアドレス番号#1〜#3
0をそれぞれ記憶している。
The host 1 and the communication control devices 2-1 to 2-n
Are optical signal transmitters 1a, 2a-1, and 2a-, respectively.
, 2a-3, ..., 2a-n, receiving units 1b, 2b-1,
2b-2, 2b-3,..., 2b-n, CPUs 1c, 2c-1,
2c-2, 2c-3, ..., 2c-n,
Address numbers # 0, # 1, # 5, # 10,..., # 3 of natural numbers that increase with distance from the host
0 is assigned. The memory of the CPU 1c of the host 1 stores all address numbers # 0 to # 30 as a list. CPU 2c- of each communication control device 2-1 to 2-n
The memories 1 to 2c-n have their own address numbers # 1 to # 3.
0 is stored.

【0004】図6は前記通信システムにおいて使用する
通信情報のフォーマットを概念的に示す説明図である。
同図に示すように、このフォーマットには、そのヘッダ
中に発信元α、送信先β及び中継部γを設けてあり、ヘ
ッダに続くエリアに通信文δを記録するようになってい
る。
FIG. 6 is an explanatory view conceptually showing a format of communication information used in the communication system.
As shown in the figure, in this format, a source α, a destination β, and a relay unit γ are provided in the header, and a message δ is recorded in an area following the header.

【0005】前記通信システムにおいては、全ての通信
制御装置2−1〜2−nにおいて同様の情報処理を行な
うが、例えばアドレス番号#5の通信制御装置2−2が
通信情報を受信した場合、この通信情報のヘッダの情報
に基づき次の通りの処理を行なう。
In the communication system, the same information processing is performed in all the communication control devices 2-1 to 2-n. For example, when the communication control device 2-2 of the address number # 5 receives the communication information, The following processing is performed based on the information of the header of the communication information.

【0006】 α≦γ<#5<β、及びα≧γ>#5
>βのとき、受信した通信情報の中継部γのアドレス番
号を#5に書き替えて隣接する通信制御装置2−1,2
−3に送出する。 β=#5のとき、通信文δを取り込んで処理する。 ,以外のとき、何もしない。
Α ≦ γ <# 5 <β and α ≧ γ># 5
> Β, the address number of the relay unit γ of the received communication information is rewritten to # 5, and the adjacent communication control devices 2-1 and 2-2 are rewritten.
-3. When β = # 5, the message δ is fetched and processed. Do nothing other than,.

【0007】したがって、通信制御装置2−2が、例え
ばα=#0,β=#30,γ=#1の通信情報を受信し
た場合には、通信情報をγ=#5と書き替えて通信制御
装置2−1,2−3に送出する。その結果、通信制御装
置2−1では、前記の条件であると判断し、それ以上
の送信は行なわない。一方、通信制御装置2−3では前
記の条件であると判断し、前述の如き所定の処理を行
なう。
Therefore, when the communication control device 2-2 receives, for example, the communication information of α = # 0, β = # 30, and γ = # 1, the communication information is rewritten to γ = # 5 to perform the communication. It is sent to the control devices 2-1 and 2-3. As a result, the communication control device 2-1 determines that the above condition is satisfied, and does not perform any further transmission. On the other hand, the communication control device 2-3 determines that the above condition is satisfied, and performs the predetermined processing as described above.

【0008】かくして、隣接するホスト1及び通信制御
装置2−1〜2−nに通信情報をバケツリレー式に順次
送信することにより、ホスト1及び通信制御装置2−1
〜2−n間の双方向通信が1本の光ファイバ通信路3で
実現される。
Thus, by sequentially transmitting communication information to the adjacent host 1 and the communication control devices 2-1 to 2-n in a bucket brigade manner, the host 1 and the communication control device 2-1 are transmitted.
To 2-n is realized by one optical fiber communication path 3.

【0009】[0009]

【発明が解決しようとする課題】上述の如き通信システ
ムによれば、1本の光ファイバ通信路3で双方向の通信
を実現し得るという利点はあるが、端末の通信制御装置
の追加に伴なうアドレス番号の付与・変更作業に問題が
残る。すなわち、従来技術に係る類似の通信システムに
おいて、アドレス番号の付与・変更は、作業員が手作業
により、ホスト1及び通信制御装置2−1〜2−nのメ
モリの記憶内容を書き替えるとともに、追加する通信制
御装置のメモリに新たなアドレス番号を書き込んでいる
が、かかる作業には人手を要するばかりでなく、誤入力
を生起し易いという問題がある。したがって、前記通信
システムにおいて、アドレス番号の付与・変更を行なう
場合、これを手作業により行なうと、前述の如き問題は
そのまま残存する。
According to the communication system as described above, there is an advantage that bidirectional communication can be realized by one optical fiber communication path 3, but with the addition of a communication control device of a terminal, There remains a problem in the work of assigning and changing address numbers. That is, in the similar communication system according to the related art, the assignment / change of the address number is performed by manually rewriting the storage contents of the memory of the host 1 and the communication control devices 2-1 to 2-n by a worker. Although a new address number is written in the memory of the communication control device to be added, such a work requires not only human labor but also erroneous input. Therefore, in the communication system, when assigning or changing the address number, if this is manually performed, the above-described problem remains as it is.

【0010】本発明は、上記従来技術に鑑み、端末の通
信制御装置の追加に伴なうアドレス番号の追加・変更を
自動的に行なうことができる通信システムにおける通信
制御装置のアドレス番号設定方法を提供することを目的
とする。
SUMMARY OF THE INVENTION In view of the above prior art, the present invention provides a method for setting an address number of a communication control device in a communication system capable of automatically adding or changing an address number accompanying the addition of a communication control device of a terminal. The purpose is to provide.

【0011】[0011]

【課題を解決するための手段】上記目的を達成する本発
明の構成は、
The structure of the present invention to achieve the above object is as follows.

【0012】光信号の通信部及び受信部と、信号処理部
であるCPUとを有するホストとなる通信制御装置、及
び同様に光信号の送信部及び受信部と、信号処理部であ
るCPUとを有する前記通信制御装置の端末機器となる
多数の通信制御装置とを、光信号を分岐するカプラが各
通信制御装置に対応して配設された1本の光ファイバ通
信路で縦続接続しホストとなる通信制御装置から離れる
にしたがって増大若しくは減少するとともに隣接する通
信制御装置間の差が2以上となっている自然数のアドレ
ス番号を各通信制御装置にそれぞれ付与するとともに、
通信情報のヘッダ中に発信元、送信先及び中継部のアド
レス番号を付与し、前記中継部及び送信先に記録したア
ドレス番号が、通信情報を受信した通信制御装置のアド
レス番号よりも大きいか、若しくは小さいとき、及び前
記送信先に記録したアドレス番号が、通信情報を受信し
た通信制御装置のアドレス番号に一致するとき以外の場
合に、中継部のアドレス番号を自己のアドレス番号に書
き替え、この書き替えた通信情報を隣接する通信制御装
置に順次送出することにより各通信制御装置間の双方向
通信を1本の光ファイバ通信路で行なうようになってい
る通信システムにおいて、端末の通信制御装置を、既存
の通信制御装置の間でカプラを介して光ファイバ通信路
に追加・接続する場合、追加する通信制御装置のCPU
のメモリに、付与し得る最も大きいアドレス番号、若し
くは付与し得る最も小さいアドレス番号を書き込み、追
加する通信制御装置において、ホストの通信制御装置か
らのポーリング時に受信する通信情報の中継部に記録さ
れたアドレス番号に基づき、このアドレス番号に1を加
算、若しくは減算したアドレス番号を、追加する通信制
御装置自身の新たなアドレス番号として自己のCPUの
メモリの記録内容を書き替えるとともに、ホストの通信
制御装置に対し新たなアドレス番号を通信文で通知し、
ホストの通信制御装置において、隣接する通信制御装置
のアドレス番号の差が2以上となるように、現状で最も
大きいか、若しくは最も小さいアドレス番号の通信制御
装置から追加する通信制御装置迄の各通信制御装置の自
己のアドレス番号に少なくとも1を加算するか、若しく
は自己のアドレス番号から少なくとも1を減算して自己
のアドレス番号を書き替えさせるための通信文を含む通
信情報を、現状で最も大きいか、若しくは最も小さいア
ドレス番号の通信制御装置から順に送出するとともに、
自己のCPUのメモリに記録しておいた各通信制御装置
のアドレス番号を書き替え、各通信制御装置において、
ホストの通信制御装置が送出した通信情報に基づき、自
己のCPUのメモリに記録しておいた各アドレスに番号
を書き替えることを特徴とする。
A communication control device serving as a host including a communication unit and a reception unit for an optical signal and a CPU serving as a signal processing unit, and a transmission unit and a reception unit for an optical signal and a CPU serving as a signal processing unit. A large number of communication control devices, which are terminal devices of the communication control device, are connected in cascade with one optical fiber communication path in which a coupler for splitting an optical signal is provided corresponding to each communication control device, and a host. And assigning a natural number address number to each communication control device that increases or decreases as the distance from the communication control device increases and the difference between adjacent communication control devices is 2 or more,
In the header of the communication information, the source, the destination and the address number of the relay unit are added, and the address number recorded in the relay unit and the destination is greater than the address number of the communication control device that has received the communication information, Or, when the address number recorded in the transmission destination is smaller than the address number of the communication control device that has received the communication information, the address number of the relay unit is rewritten to its own address number. In a communication system in which bidirectional communication between communication control devices is performed by one optical fiber communication path by sequentially transmitting rewritten communication information to an adjacent communication control device, a communication control device of a terminal is used. Is added to or connected to an optical fiber communication path via a coupler between existing communication control devices, the CPU of the communication control device to be added is
The largest address number that can be assigned, or the smallest address number that can be assigned, is written to the memory of the communication control device to be added, and is recorded in the relay unit of the communication information received at the time of polling from the communication control device of the host. Based on the address number, an address number obtained by adding or subtracting 1 to or from this address number is rewritten as a new address number of the communication control device itself to be added to the content recorded in the memory of its own CPU. To the new address number in a message,
In the communication control device of the host, each communication from the communication control device having the largest or smallest address number to the communication control device to be added so that the difference between the address numbers of adjacent communication control devices is 2 or more. Whether at least the communication information including a message for rewriting the own address number by adding at least one to the own address number of the control device or subtracting at least one from the own address number to determine whether the control information is the largest at present. Or, in order from the communication control device having the smallest address number,
Rewrite the address number of each communication control device recorded in the memory of its own CPU, and in each communication control device,
The number is rewritten to each address recorded in the memory of its own CPU based on the communication information transmitted by the communication control device of the host.

【0013】[0013]

【作用】上記構成の本発明によれば、光ファイバ通信路
に新たな通信制御装置を追加した後、ホストの通信制御
装置からのポーリング時の通信情報を、追加した通信制
御装置が受信すると、この通信情報は、追加した通信制
御装置から発信した後、この通信制御装置と隣接する通
信制御装置が受信した時点で、それ以上の通信が行なわ
れない。
According to the present invention having the above structure, after a new communication control device is added to an optical fiber communication path, when the added communication control device receives polling communication information from the communication control device of the host, After transmitting this communication information from the added communication control device, no further communication is performed when the communication control device adjacent to the communication control device receives the communication information.

【0014】このとき、追加した通信制御装置からはホ
ストの通信制御装置に対して新たなアドレス番号が通知
されるので、ホストの通信制御装置ではアドレス番号
が、ホストの通信制御装置から離れるにしたがって増
大、もしくは減少するように端末の通信制御装置のアド
レス番号を書き替える通信文を送出し、所定の各通信制
御装置で自己のアドレス番号を書き替えさせる。
At this time, since the new address number is notified from the added communication control device to the communication control device of the host, the address number of the communication control device of the host increases as the distance from the communication control device of the host increases. A communication message for rewriting the address number of the communication control device of the terminal is transmitted so as to increase or decrease, and each of the predetermined communication control devices rewrites its own address number.

【0015】この結果、隣接する通信制御装置間のアド
レス番号の差が、次の通信制御装置の追加に備え、2以
上となって前述の如き所定通りの並びの規則性を保持し
たアドレス番号が付与される。
As a result, the difference between the address numbers of the adjacent communication control devices becomes two or more in preparation for the addition of the next communication control device, and the address number maintaining the predetermined regularity as described above is used. Granted.

【0016】[0016]

【実施例】以下本発明実施例を図面に基づき詳細に説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0017】図に示すように、本実施例は、図5に示す
通信システムに、端末の通信制御装置2−(n+1)
を、通信制御装置2−3の反ホスト1側で隣接する位置
で、光ファイバ通信路3にカプラ4−(n+1)を介し
て追加・接続する場合である。そこで、図1中、図5と
同一部分には同一番号を付し、重複する説明は省略す
る。また、通信制御装置2−(n+1)は、通信制御装
置2−1〜2−nと同様に、送信部2a−(n+1)、
受信部2b−(n+1)及びCPU2c−(n+1)を
有している。図1に示す通信システムで使用するフォー
マットは図6に示すものと同一である。
As shown in the figure, in the present embodiment, the communication control unit 2- (n + 1) of the terminal is added to the communication system shown in FIG.
Is added / connected to the optical fiber communication path 3 via the coupler 4- (n + 1) at a position adjacent to the communication control device 2-3 on the side opposite to the host 1. Therefore, in FIG. 1, the same parts as those in FIG. 5 are denoted by the same reference numerals, and duplicate description will be omitted. Further, the communication control device 2- (n + 1), like the communication control devices 2-1 to 2-n, includes the transmission units 2a- (n + 1),
It has a receiving unit 2b- (n + 1) and a CPU 2c- (n + 1). The format used in the communication system shown in FIG. 1 is the same as that shown in FIG.

【0018】 追加する通信制御装置2−(n+1)
のCPU2c−(n+1)のメモリに、装置番号として
許されるアドレス番号のうち最も大きいアドレス番号#
ma x を書き込む。
A communication control device 2- (n + 1) to be added
The largest address number among the address numbers allowed as device numbers in the memory of the CPU 2c- (n + 1).
Writes the N ma x.

【0019】 通信制御装置2−(n+1)におい
て、ホスト1からのポーリング時に受信する通信情報の
中継部γに記録されたアドレス番号(本実施例では#
5)に基づき、このアドレス番号#5に1を加算したア
ドレス番号#6を、通信制御装置2−(n+1)自身の
アドレス番号#6として自己のCPU2c−(n+1)
のメモリの記録内容を書き替えるとともに、ホスト1に
対して新たなアドレス番号#6を通信文δで通知する。
In the communication control device 2- (n + 1), the address number recorded in the relay unit γ of the communication information received at the time of polling from the host 1 (# in this embodiment)
Based on 5), the address number # 6 obtained by adding 1 to the address number # 5 is used as the address number # 6 of the communication control device 2- (n + 1) itself, and its own CPU 2c- (n + 1)
And the host 1 is notified of the new address number # 6 by the message δ.

【0020】 ホスト1において、隣接する通信制御
装置2−1〜2−(n+1)のアドレス番号#0〜#3
0の差が2以上となるように、図中で最右端の、現状で
最も大きいアドレス番号(本実施例では#30)の通信
制御装置2−nから図中左方向に向かって通信制御装置
2−(n+1)迄の各通信制御装置2−n,…,2−
3,2−(n+1)の自己のアドレス番号#30,…,
#10,#6を書き替えさせるための通信文δを含む通
信情報を、現状で最も大きいアドレス番号#30の通信
制御装置2−nから順に送出する。このときの通信文δ
の内容は各アドレス番号#30〜#6に少なくとも1
(本実施例では1)を加算させるというコマンドであ
る。同時に、CPU1cのメモリの内容を、1を加算し
た後のアドレス番号#31,…,#11,#7に書き替
えてアドレス番号更改を行なう。
In the host 1, address numbers # 0 to # 3 of the adjacent communication control devices 2-1 to 2- (n + 1)
From the rightmost communication control device 2-n of the currently highest address number (# 30 in this embodiment) in the figure, the communication control device 2-n is directed leftward so that the difference of 0 is 2 or more. 2-n,..., 2- (n + 1)
3, 2- (n + 1) own address number # 30,.
The communication information including the communication message δ for rewriting # 10 and # 6 is sequentially transmitted from the communication control device 2-n having the largest address number # 30 at present. Message δ at this time
Is at least 1 for each address number # 30 to # 6.
This is a command to add (in this embodiment, 1). At the same time, the contents of the memory of the CPU 1c are rewritten to address numbers # 31,..., # 11, # 7 after adding 1, and the address numbers are updated.

【0021】 各通信制御装置2−n,…,2−3,
2−(n+1)において、ホストが送出した通信情報に
基づき、自己のCPU2c−n,…,2c−3,2c−
(n+1)のメモリにそれぞれ記録しておいた各アドレ
ス番号#30,…,#10,#6を+1したアドレス番
号#31,…,#11,#7に書き替える。
Each communication control device 2-n,..., 2-3,
2- (n + 1), based on the communication information sent by the host, its own CPU 2c-n,..., 2c-3, 2c-
Each of the address numbers # 30,..., # 10, and # 6 recorded in the memory (n + 1) is rewritten to the address numbers # 31,.

【0022】上記実施例によれば、光ファイバ通信路3
に新たな通信制御装置2−(n+1)を追加した後、ホ
スト1からのポーリング時の通信情報を、通信制御装置
2−(n+1)が受信すると、この通信情報は、通信制
御装置2−(n+1)から発信した後、この通信制御装
置2−(n+1)と隣接する通信制御装置2−2,2−
3が受信した時点で、それ以上の送信が行なわれない。
According to the above embodiment, the optical fiber communication path 3
When a communication control device 2- (n + 1) receives polling communication information from the host 1 after adding a new communication control device 2- (n + 1) to the communication control device 2- (n + 1), the communication information is transmitted to the communication control device 2- (n + 1). n + 1), the communication control device 2- (n + 1) and the adjacent communication control devices 2-2 and 2-
No further transmission takes place when 3 is received.

【0023】一方、通信制御装置2−(n+1)はポー
リング時の通信情報の中継部γのアドレス番号を参照し
て直近の発信元を知り、このアドレス番号に1を加算し
たアドレス番号を新たなアドレス番号とするとともに、
この新たなアドレス番号をホスト1に通知する。
On the other hand, the communication control device 2- (n + 1) refers to the address number of the relay section γ of the communication information at the time of polling to find the nearest sender, and adds an address number obtained by adding 1 to this address number to a new address. Address number,
The host 1 is notified of the new address number.

【0024】ホスト1では前記新たなアドレス番号に基
づき隣接する通信制御装置2−1〜2−(n+1)間の
アドレス番号の差が2以上となるように、所定の通信制
御装置2−n,…,2−(n+1)のアドレス番号を書
き直させる。このとき、書き直したアドレス番号が重複
することがないように、ホスト1に対し最も遠い、すな
わちアドレス番号が最も大きい通信制御装置2−nから
図1中左方向に向かって順に書き直す。かくして、変更
設定された各通信制御装置2−n,…2−(n+1)の
アドレス番号は、ホスト1から離れるにつれ大きくな
り、且つ再度の通信制御装置の追加が可能になるように
隣接する通信制御装置のアドレス番号の差が2以上とな
っている。
In the host 1, based on the new address number, a predetermined communication control device 2-n, a predetermined communication control device 2-n, so that the difference between the address numbers between the adjacent communication control devices 2-1 to 2- (n + 1) becomes 2 or more. .., The address number of 2- (n + 1) is rewritten. At this time, rewriting is performed in order from the communication control device 2-n furthest to the host 1, that is, the communication control device 2-n having the largest address number, in the leftward direction in FIG. 1 so that the rewritten address numbers do not overlap. Thus, the address numbers of the changed communication control devices 2-n,..., 2- (n + 1) increase as the distance from the host 1 increases, and the adjacent communication control devices 2-n,. The difference between the address numbers of the control devices is 2 or more.

【0025】上述の通りのアドレス番号自動設定のアル
ゴリズムを、追加する通信制御装置2−(n+1)、ホ
スト1及び各通信制御装置2−1〜2−n毎にフローチ
ャートにしたものが、図2,図3,図4である。
FIG. 2 is a flowchart of the algorithm for automatically setting the address number as described above for each of the communication control device 2- (n + 1), the host 1, and each of the communication control devices 2-1 to 2-n. 3 and FIG.

【0026】なお、上記実施例を適用する通信システム
ではホスト1から離れるにしたがって増大するアドレス
番号を付与しているが、これは同様の状態で減少するア
ドレス番号を付与していても本発明を適用し得る。この
場合には、追加する通信制御装置には、最初、付与し得
る最も小さいアドレス番号を書き込み、ポーリング時に
は最初に付与したアドレス番号から1を減じ、さらに最
終的に、必要な各通信制御装置のアドレス番号から少な
くとも1を減じれば良い。
In the communication system to which the above-described embodiment is applied, an address number that increases as the distance from the host 1 increases is assigned. Applicable. In this case, the smallest address number that can be assigned is first written into the communication control device to be added, and 1 is subtracted from the initially assigned address number during polling. At least 1 should be subtracted from the address number.

【0027】[0027]

【発明の効果】以上実施例とともに具体的に説明したよ
うに、本発明によれば、多数の通信制御装置を1本の光
ファイバ通信路で縦続接続した通信システムに新たな通
信制御装置を追加した場合の各通信制御装置のアドレス
番号を手作業によることなく、自動的に更新することが
できる。
As described above in detail with the embodiments, according to the present invention, a new communication control device is added to a communication system in which a large number of communication control devices are cascaded by one optical fiber communication path. In this case, the address number of each communication control device can be automatically updated without manual operation.

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

【図1】本発明の実施例を説明するための説明図であ
る。
FIG. 1 is an explanatory diagram for explaining an embodiment of the present invention.

【図2】追加する通信制御装置における本発明の実施例
を示すフローチャートである。
FIG. 2 is a flowchart showing an embodiment of the present invention in a communication control device to be added.

【図3】ホストの通信制御装置における本発明の実施例
を示すフローチャートである。
FIG. 3 is a flowchart showing an embodiment of the present invention in the communication control device of the host.

【図4】既存の通信制御装置における本発明の実施例を
示すフローチャートである。
FIG. 4 is a flowchart showing an embodiment of the present invention in an existing communication control device.

【図5】本発明を適用する通信システムを示すブロック
線図である。
FIG. 5 is a block diagram showing a communication system to which the present invention is applied.

【図6】図5に示す通信システムで使用する通信情報の
フォーマットを概念的に示す説明図である。
6 is an explanatory diagram conceptually showing a format of communication information used in the communication system shown in FIG.

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

1,2−1〜2−(n+1) 通信制御装置(ホスト及
び端末機器) 1a,2a−1,2a−(n+1) 送信部 1b,2b−1,2b−(n+1) 受信部 1c,2c−1,2c−(n+1) CPU 3 光ファイバ通信路 4−0〜4−n カプラ
1,2-1 to 2- (n + 1) Communication control device (host and terminal equipment) 1a, 2a-1,2a- (n + 1) Transmission unit 1b, 2b-1,2b- (n + 1) Reception unit 1c, 2c- 1,2c- (n + 1) CPU 3 Optical fiber communication path 4-0-4-n Coupler

───────────────────────────────────────────────────── フロントページの続き (72)発明者 渡部 和雄 神奈川県横浜市栄区田谷町1番地 住友 電気工業株式会社 横浜製作所内 (72)発明者 山下 克也 東京都千代田区内幸町一丁目1番6号 日本電信電話株式会社内 (58)調査した分野(Int.Cl.7,DB名) H04L 12/403 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Kazuo Watanabe, 1-chome, Taya-cho, Sakae-ku, Yokohama-shi, Kanagawa Prefecture Inside the Yokohama Works, Sumitomo Electric Industries, Ltd. (72) Katsuya Yamashita 1-6-1, Uchisaiwaicho, Chiyoda-ku, Tokyo Japan Telegraph and Telephone Co., Ltd. (58) Fields surveyed (Int. Cl. 7 , DB name) H04L 12/403

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 光信号の通信部及び受信部と、信号処理
部であるCPUとを有するホストとなる通信制御装置、
及び同様に光信号の送信部及び受信部と、信号処理部で
あるCPUとを有する前記通信制御装置の端末機器とな
る多数の通信制御装置とを、 光信号を分岐するカプラが各通信制御装置に対応して配
設された1本の光ファイバ通信路で縦続接続しホストと
なる通信制御装置から離れるにしたがって増大若しくは
減少するとともに隣接する通信制御装置間の差が2以上
となっている自然数のアドレス番号を各通信制御装置に
それぞれ付与するとともに、通信情報のヘッダ中に発信
元、送信先及び中継部のアドレス番号を付与し、 前記中継部及び送信先に記録したアドレス番号が、通信
情報を受信した通信制御装置のアドレス番号よりも大き
いか、若しくは小さいとき、及び前記送信先に記録した
アドレス番号が、通信情報を受信した通信制御装置のア
ドレス番号に一致するとき以外の場合に、中継部のアド
レス番号を自己のアドレス番号に書き替え、この書き替
えた通信情報を隣接する通信制御装置に順次送出するこ
とにより各通信制御装置間の双方向通信を1本の光ファ
イバ通信路で行なうようになっている通信システムにお
いて、端末の通信制御装置を、既存の通信制御装置の間
でカプラを介して光ファイバ通信路に追加・接続する場
合、 追加する通信制御装置のCPUのメモリに、付与し得る
最も大きいアドレス番号、若しくは付与し得る最も小さ
いアドレス番号を書き込み、 追加する通信制御装置において、ホストの通信制御装置
からのポーリング時に受信する通信情報の中継部に記録
されたアドレス番号に基づき、このアドレス番号に1を
加算、若しくは減算したアドレス番号を、追加する通信
制御装置自身の新たなアドレス番号として自己のCPU
のメモリの記録内容を書き替えるとともに、ホストの通
信制御装置に対し新たなアドレス番号を通信文で通知
し、 ホストの通信制御装置において、隣接する通信制御装置
のアドレス番号の差が2以上となるように、現状で最も
大きいか、若しくは最も小さいアドレス番号の通信制御
装置から追加する通信制御装置迄の各通信制御装置の自
己のアドレス番号に少なくとも1を加算するか、若しく
は自己のアドレス番号から少なくとも1を減算して自己
のアドレス番号を書き替えさせるための通信文を含む通
信情報を、現状で最も大きいか、若しくは最も小さいア
ドレス番号の通信制御装置から順に送出するとともに、
自己のCPUのメモリに記録しておいた各通信制御装置
のアドレス番号を書き替え、 各通信制御装置において、ホストの通信制御装置が送出
した通信情報に基づき、自己のCPUのメモリに記録し
ておいた各アドレスに番号を書き替えることを特徴とす
る通信システムにおける通信制御装置のアドレス番号自
動設定方法。
A communication control device serving as a host having a communication unit and a reception unit for optical signals, and a CPU serving as a signal processing unit;
Similarly, a plurality of communication control devices serving as terminal devices of the communication control device having a transmission unit and a reception unit of an optical signal and a CPU serving as a signal processing unit are connected to each communication control device by a coupler for branching an optical signal. Is a natural number that increases or decreases as the distance from the communication control device acting as the host increases and decreases, and that the difference between adjacent communication control devices is 2 or more. And the address numbers of the transmission source, the transmission destination and the relay unit are added to the header of the communication information, and the address numbers recorded in the relay unit and the transmission destination are the communication information. Is greater than or less than the address number of the communication control device that received the communication information, and the address number recorded in the transmission destination is the communication control device that received the communication information. In the case other than when the address numbers match, the address number of the relay unit is rewritten to its own address number, and the rewritten communication information is sequentially transmitted to the adjacent communication control devices, thereby enabling communication between the respective communication control devices. In a communication system in which two-way communication is performed by one optical fiber communication path, a communication control device of a terminal is added to and connected to an optical fiber communication path via a coupler between existing communication control devices. In this case, the largest address number that can be assigned or the smallest address number that can be assigned is written in the memory of the CPU of the communication control device to be added, and the added communication control device receives the polling from the communication control device of the host. Based on the address number recorded in the relay section of the communication information, the address obtained by adding or subtracting 1 to this address number Self CPU to issue, as a new address number of the communication control apparatus itself to be added
Rewrites the recorded contents of the memory, and notifies the host communication control device of a new address number in a communication message. In the host communication control device, the difference between the address numbers of adjacent communication control devices becomes 2 or more. As described above, at least one is added to the own address number of each communication control device from the communication control device having the largest or smallest address number to the communication control device to be added, or at least While the communication information including the communication message for rewriting the own address number by subtracting 1 is currently sent out from the communication control device having the largest or the smallest address number in order,
Rewrite the address number of each communication control device recorded in the memory of its own CPU, and in each communication control device, record it in the memory of its own CPU based on the communication information sent by the communication control device of the host. A method for automatically setting an address number of a communication control device in a communication system, wherein a number is rewritten to each set address.
JP30781591A 1991-11-22 1991-11-22 Automatic address number setting method of communication control device in communication system Expired - Fee Related JP3216894B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30781591A JP3216894B2 (en) 1991-11-22 1991-11-22 Automatic address number setting method of communication control device in communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30781591A JP3216894B2 (en) 1991-11-22 1991-11-22 Automatic address number setting method of communication control device in communication system

Publications (2)

Publication Number Publication Date
JPH05145562A JPH05145562A (en) 1993-06-11
JP3216894B2 true JP3216894B2 (en) 2001-10-09

Family

ID=17973548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30781591A Expired - Fee Related JP3216894B2 (en) 1991-11-22 1991-11-22 Automatic address number setting method of communication control device in communication system

Country Status (1)

Country Link
JP (1) JP3216894B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009194731A (en) 2008-02-15 2009-08-27 Fujitsu Ltd Slave device, and system and method for data transmission

Also Published As

Publication number Publication date
JPH05145562A (en) 1993-06-11

Similar Documents

Publication Publication Date Title
KR100308719B1 (en) Method and device for using multiple fifo enhancing flow control and routing in communication receiver
US4907220A (en) Process for the establishment of virtual connections passing through switching matrices of a multi-stage switching system
JPS58217069A (en) Communicating system of multi-microcomputer
JP3216894B2 (en) Automatic address number setting method of communication control device in communication system
JPH0329337B2 (en)
JP2853607B2 (en) Communication system between jobs
JPH06350618A (en) Address code automatic setting method for communication controller in communication system
JP3334478B2 (en) Broadcast Communication Method in Unidirectional Loop Transmission System
JPH06351079A (en) Repeating communication equipment for air conditioner
JP3082835B2 (en) Router device and data communication system using the same
JPH06303247A (en) Communication method for optical communication system
JPH0279640A (en) Data transmission equipment
JP2944193B2 (en) Data receiving device
JPH05143498A (en) Method for coping with communication fault in distributed system
JPS58125934A (en) Loop type data transmitting system
JPS6359098A (en) Time slot shifting control system
JP2985268B2 (en) HDLC frame transmission and reception control system
JPS62171298A (en) Layer 2 control system in isdn network
JPS62299145A (en) Remote station adaptor control system
JPH0720113B2 (en) Control method in compound bridge device
JPS6359155A (en) Communication control system
JPH03155271A (en) Image communication equipment
JPS6196849A (en) Transmission system control system
JPH04192942A (en) Loop type network communication system
JPH05236179A (en) Facsimile store exchange

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010717

LAPS Cancellation because of no payment of annual fees