JPH0685821A - Communication method and device thereof - Google Patents
Communication method and device thereofInfo
- Publication number
- JPH0685821A JPH0685821A JP4257280A JP25728092A JPH0685821A JP H0685821 A JPH0685821 A JP H0685821A JP 4257280 A JP4257280 A JP 4257280A JP 25728092 A JP25728092 A JP 25728092A JP H0685821 A JPH0685821 A JP H0685821A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- device number
- data communication
- block
- unique
- 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
Links
Landscapes
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
Abstract
(57)【要約】
【目的】 データ通信装置の製造過程において、重複す
ることがない装置番号を付ける必要がなく、データ通信
装置の運用中に接続構成の変更をすることができるデー
タ通信装置の装置番号設定方法を提供することを目的と
する。
【構成】 S00において、各ブロックの光LANコン
トローラは乱数を発生し、仮の自己の装置番号とする。
S01において、光LANコントローラは隣接する他の
ブロックに対してその装置番号を問い、そのブロックの
装置番号を得る。S03において、光LANコントロー
ラは最新情報を隣接するブロックに伝達する。S05に
おいて、各ブロックの光LANコントローラ20は自己
の仮の装置番号と、他のブロックの装置番号に重複があ
るかを判断する。S06において、光LANコントロー
ラは自己の装置番号を変更し、隣接するブロックにその
情報を通知する。S07において、光LANコントロー
ラはその時点での仮の装置番号を自己の装置番号として
登録する。
(57) [Abstract] [Purpose] A data communication device capable of changing the connection configuration during the operation of the data communication device without having to assign a unique device number in the manufacturing process of the data communication device. It is an object to provide a device number setting method. [Structure] In S00, the optical LAN controller of each block generates a random number and uses it as a temporary device number.
In S01, the optical LAN controller queries another adjacent block for the device number, and obtains the device number of the block. In S03, the optical LAN controller transmits the latest information to the adjacent block. In S05, the optical LAN controller 20 of each block determines whether its own temporary device number and the device numbers of other blocks overlap. In S06, the optical LAN controller changes its own device number and notifies the adjacent block of the information. In S07, the optical LAN controller registers the temporary device number at that time as its own device number.
Description
【0001】[0001]
【産業上の利用分野】本発明は、通信方法およびその装
置、特にデータ交換機、LAN等のデータ通信装置の通
信方法およびその装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication method and an apparatus therefor, and more particularly to a communication method and an apparatus therefor for a data communication apparatus such as a data exchange and a LAN.
【0002】[0002]
【従来の技術】従来の通信方法、特にデータ通信装置の
装置番号設定方法としては、以下のような方法が知ら
れ、一般に用いられている。例えば、LANにおいて、
ファイルサーバ、データ端末等といったLANに接続さ
れるデータ通信装置はデータの送受信を行う際、各装置
に固有の装置番号に基づいて通信制御を行い、あるいは
送信先、送信元の装置の特定を行う。このような装置番
号に基づく通信制御、送信先、あるいは送信元の装置の
特定は、他の通信網、例えばパケット交換による通信網
等においても広く行われている。2. Description of the Related Art As a conventional communication method, in particular, a device number setting method for a data communication device, the following methods are known and generally used. For example, in a LAN
When a data communication device connected to a LAN, such as a file server or a data terminal, transmits or receives data, it performs communication control based on a device number unique to each device, or specifies a transmission destination or transmission source device. . Such communication control based on the device number, specification of the transmission destination, or the transmission source device is widely performed in other communication networks such as a communication network by packet switching.
【0003】上述したようなデータ通信装置の装置番号
に基づいた通信制御等を行うためには、同一の通信網に
接続される全ての装置が重複することのない固有の装置
番号を持つ必要がある。この各装置に固有な装置番号を
設定する方法としては、その装置の製造時に内部の記憶
装置に記憶させる、あるいはディップスイッチにより設
定する等の方法がある。In order to perform communication control based on the device number of the data communication device as described above, it is necessary that all devices connected to the same communication network have a unique device number that does not overlap. is there. As a method of setting a device number unique to each device, there is a method of storing the device number in an internal storage device at the time of manufacturing the device or setting it by a dip switch.
【0004】また、一部のデイジーチェーン接続、ある
いはリング接続されるデータ通信装置の中には、製造時
にには装置番号の設定がなされておらず、通信網に接続
される全装置の立ち上げ時に、データ通信装置の通信網
への接続順に装置番号を設定するものもある。ただし、
この装置番号は上記立ち上げ時に設定されるのみで、そ
の後は変更されず、動的な設定方法ではない。In some daisy chain connection or ring connection data communication devices, no device number is set at the time of manufacture, and all devices connected to the communication network are started up. In some cases, the device number is set in the order of connection of the data communication device to the communication network. However,
This device number is only set at the time of start-up, is not changed thereafter, and is not a dynamic setting method.
【0005】[0005]
【発明が解決しようとする課題】従来のデータ通信装置
の装置番号設定は、以上述べたような方法によりなされ
ているので、 (1)データ通信装置の製造過程において、重複するこ
とがない装置番号を付ける必要があり、製造行程が複雑
になる。 (2)全ての製品出荷数分だけの装置番号を確保してお
く必要があり、装置番号の桁数が長くなる。 (3)立ち上げ時に装置番号を各データ通信装置に設定
する方法は、通信網への接続順位が規定可能な方式をと
る場合には適用可能である。しかし、この方法をとった
場合、装置番号の変更を運用中に行うことができず、従
って接続構成の変更をすることができない。 という問題点があった。Since the device number of the conventional data communication device is set by the method described above, (1) the device number which does not overlap in the manufacturing process of the data communication device. Therefore, the manufacturing process becomes complicated. (2) It is necessary to secure device numbers for all product shipments, which increases the number of digits of device numbers. (3) The method of setting the device number to each data communication device at the time of start-up can be applied to the case where the connection order to the communication network can be defined. However, when this method is adopted, the device number cannot be changed during operation, and therefore the connection configuration cannot be changed. There was a problem.
【0006】本発明は以上述べた従来の技術の問題点に
鑑みてなされたものであり、データ通信装置の製造過程
において、重複することがない装置番号を付ける必要が
なく、従って、全ての製品出荷数分だけの装置番号を確
保しておく必要がなく、装置番号の桁数を短くすること
ができ、装置番号の変更をデータ通信装置の運用中に行
うことができ、従ってデータ通信装置の運用中に接続構
成の変更をすることができる通信方法およびその装置を
提供することを目的とする。The present invention has been made in view of the above-mentioned problems of the prior art, and in the manufacturing process of the data communication device, it is not necessary to give a unique device number, and therefore, all products can be manufactured. It is not necessary to secure device numbers for the number of shipments, the number of digits of the device number can be shortened, and the device number can be changed during operation of the data communication device. It is an object of the present invention to provide a communication method and a device therefor capable of changing a connection configuration during operation.
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
に本発明の通信方法およびその装置は、それぞれ独自の
装置番号を有し、これらの装置番号を用いて相互に通信
を行う通信装置を有する通信システムにおける通信方法
であって、上記通信装置は初期状態または通信システム
の構成の変更時にそれぞれ固有の装置番号を有し、この
固有の装置番号に基づいて上記通信装置相互間で通信を
行わせて、他の通信装置から装置番号を受信した通信装
置は、他の通信装置の装置番号と、自己の装置番号が重
複しないように自己の装置番号の調整を行い、その後上
記調整された装置番号を前記各通信装置が自己の装置番
号として登録し、この装置番号に基づいて通信を行う。In order to achieve the above object, the communication method and device of the present invention have a unique device number, and a communication device for communicating with each other by using these device numbers is provided. A communication method in a communication system that the communication device has, wherein each of the communication devices has a unique device number when an initial state is changed or a configuration of the communication system is changed, and the communication devices perform communication based on the unique device number. In addition, the communication device that has received the device number from the other communication device adjusts its own device number so that the device number of the other communication device does not overlap with its own device number, and then the adjusted device is adjusted. Each communication device registers the number as its own device number and communicates based on this device number.
【0008】また、前記固有の装置番号の決定は、前記
各通信装置において、乱数発生により行われることを特
徴とする。Further, the unique device number is determined by random number generation in each of the communication devices.
【0009】また、前記調整は、全ての前記通信装置の
装置番号の登録が終了するまで行われることを特徴とす
る。Further, the adjustment is performed until registration of device numbers of all the communication devices is completed.
【0010】また、前記調整は前記通信装置に新たな通
信装置が接続された際にも行われることを特徴とする。Further, the adjustment is performed even when a new communication device is connected to the communication device.
【0011】また、前記調整終了までの間、前記各通信
装置は通信制御に前記調整が始まる以前に登録されてい
た装置番号を使用し、前記調整終了後一定時間は前記調
整後に登録された装置番号ともに前記調整が始まる以前
に登録された装置番号を通信制御に併用することを特徴
とする。Further, until the adjustment is completed, each of the communication devices uses the device number registered for the communication control before the adjustment is started, and the device registered after the adjustment is used for a certain time after the adjustment is completed. It is characterized in that the device number registered before the adjustment starts together with the number is used for communication control.
【0012】また、それぞれ独自の装置番号を有する通
信装置と、これらの装置番号を用いて相互に通信を行う
通信装置であって、上記通信装置は初期状態または通信
システムの構成の変更時にそれぞれ固有の装置番号を有
し、それぞれの通信装置はこの固有の装置番号に基づい
て上記通信装置相互間で通信を行なって、他の通信装置
から装置番号を受信した通信装置は、他の通信装置の装
置番号を受信し、他の通信装置の装置番号と自己の装置
番号が重複しないように自己の装置番号の調整を行う手
段と、その後上記調整された装置番号を前記各通信装置
が自己の装置番号として登録し、この装置番号に基づい
て通信を行う手段とを有する。Further, there are provided communication devices each having a unique device number, and communication devices that communicate with each other by using these device numbers, wherein the communication devices are unique when the initial state or the configuration of the communication system is changed. The communication device having the device number of the other communication device performs communication between the communication devices based on the unique device number, and the communication device that receives the device number from the other communication device is Means for receiving the device number and adjusting its own device number so that the device number of another communication device does not overlap with its own device number, and then each communication device uses the adjusted device number as its own device. And a means for performing communication based on the device number.
【0013】[0013]
【作用】データ通信装置がそれぞれ自己の装置番号を乱
数により発生し、それを他のデータ通信装置に伝達す
る。これにより、通信網中の各データ通信装置は他のデ
ータ通信装置の装置番号および接続状態を知ることがで
きる。また、知り得た全ての装置番号について、自己の
装置番号と重複がないかを判断し、重複があった場合に
自己の装置番号を訂正することにより同一通信網におい
て全てのデータ通信装置が重複のない装置番号を得るこ
とができる。以上述べた動作を通信網およびそれに接続
されるデータ通信装置が運用中にも行うことにより、動
的な装置番号の設定および通信網の構成変更を行うこと
ができる。Each data communication device generates its own device number by a random number and transmits it to another data communication device. As a result, each data communication device in the communication network can know the device number and connection state of the other data communication device. Also, for all the device numbers that are known, it is judged whether or not there is a duplication with its own device number, and if there is a duplication, all of the data communication devices are duplicated in the same communication network by correcting its own device number. You can get the device number without. By performing the above-described operation even while the communication network and the data communication device connected thereto are in operation, it is possible to dynamically set the device number and change the configuration of the communication network.
【0014】[0014]
【実施例】以下、実施例を説明する。図1は、本発明の
通信方法が適用される無線データ通信網1の構成および
無線データ通信網1が適用されるオフィスの例を示す図
である。この無線データ通信網1は、例えば、図1に示
すようなオフィスにおいて使用される。図1において、
グループ11〜14は、無線データ通信網1が使用され
るオフィスの4つの島(オフィスの席の集合)である。EXAMPLES Examples will be described below. FIG. 1 is a diagram showing a configuration of a wireless data communication network 1 to which the communication method of the present invention is applied and an example of an office to which the wireless data communication network 1 is applied. This wireless data communication network 1 is used, for example, in an office as shown in FIG. In FIG.
The groups 11 to 14 are four islands (collection of office seats) of offices where the wireless data communication network 1 is used.
【0015】グループ11〜14にはにはそれぞれパー
ティション15で仕切られた4つのOAデスク16があ
り、各OAデスク16には1台のワークステーション
(W.S.)17a〜17pが置いてある。光伝送装置
18は、送受信するデータにより光を変調し、送出して
データの送信を行い、また、変調された光を検出し、デ
ータの受信を行う装置である。Each of the groups 11 to 14 has four OA desks 16 partitioned by partitions 15, and each of the OA desks 16 has one workstation (WS) 17a to 17p. . The optical transmission device 18 is a device that modulates light according to the data to be transmitted and received, transmits the light to transmit the data, detects the modulated light, and receives the data.
【0016】オフィスには図1に示すように上記各部分
が配列されている。ここで、パーティション15の端に
は、それぞれ光伝送装置18a〜18pが置かれてい
る。1対1に対向した光伝送装置18、例えば光伝送装
置18aと18eは相互にデータで変調した光(例えば
レーザー光線)を空間を介して送受することによりデー
タの光伝送を行う。As shown in FIG. 1, the above-mentioned parts are arranged in the office. Here, optical transmission devices 18a to 18p are placed at the ends of the partition 15, respectively. The optical transmission devices 18 facing each other one by one, for example, the optical transmission devices 18a and 18e perform optical transmission of data by transmitting and receiving light (for example, laser beams) modulated with each other through space.
【0017】図2、図3は、図1に示した各グループ1
1〜14の無線データ通信網1の2通りの接続例であ
る。図2は、1台の光LANコントローラ(Op.LA
N Controller)20から4ポートのイーサ
ネットのコネクターを経由し、各ワークステーション1
7とつながり、1つのコントローラで、4つの光伝送装
置(Op.Unit)18をコントロールする接続例で
ある。2 and 3 show each group 1 shown in FIG.
It is an example of two types of connection of the wireless data communication network 1 of 1-14. 2 shows one optical LAN controller (Op.LA).
N Controller) 20 to 4 ports via Ethernet connector and each workstation 1
7 is a connection example in which four optical transmission devices (Op. Units) 18 are connected with one controller by connecting to seven.
【0018】図3は、1台の光LANコントローラ20
で、1台のワークステーション17と、1つの光伝送装
置18をコントロールする接続例である。ここで、4台
のLANコントローラ20は、送受光ユニットの代わり
をするケーブル21で接続さている。4台のLANコン
トローラ20間の通信はこのケーブル21を介して行わ
れる。上記各装置はイーサネット(EtherNet)
で接続されている。FIG. 3 shows one optical LAN controller 20.
Then, this is an example of connection for controlling one workstation 17 and one optical transmission device 18. Here, the four LAN controllers 20 are connected by a cable 21 instead of the light transmitting / receiving unit. Communication between the four LAN controllers 20 is performed via this cable 21. Each of the above devices is an Ethernet (EtherNet)
Connected by.
【0019】図4は、図3に示した無線データ通信網1
を図1に示すオフィスに適用した場合の接続関係を示す
図である。図4において、ブロック11a〜14dは、
それぞれ図3に示した無線データ通信網1を示す。以
下、図4を参照し、各装置(ワークステーション17、
光LANコントローラ20、および光伝送装置18を構
成単位とするブロック)への装置番号の設定方法をブロ
ック11aを例に説明する。FIG. 4 shows the wireless data communication network 1 shown in FIG.
FIG. 2 is a diagram showing a connection relationship when is applied to the office shown in FIG. 1. In FIG. 4, blocks 11a to 14d are
Each shows the wireless data communication network 1 shown in FIG. Hereinafter, referring to FIG. 4, each device (workstation 17,
A method of setting device numbers to the optical LAN controller 20 and the block having the optical transmission device 18 as a constituent unit will be described by taking the block 11a as an example.
【0020】無線データ通信網1をこのオフィスに設置
した直後は、上述した各ブロック11a〜14dの光L
ANコントローラ20は、このブロック単位に設定され
る装置番号を持たない状態である。Immediately after the wireless data communication network 1 is installed in this office, the light L of each of the blocks 11a to 14d described above is used.
The AN controller 20 is in a state where it does not have the device number set in this block unit.
【0021】この状態からブロック11aの光LANコ
ントローラ20は、例えば8bitの乱数を発生する。
この乱数が仮の装置番号となる。この乱数のビット数
は、無線データ通信網1に設置できる最大装置数に依存
し、無線データ通信装置1の規模によっては変更される
べきものである。From this state, the optical LAN controller 20 of the block 11a generates a random number of 8 bits, for example.
This random number serves as a temporary device number. The number of bits of this random number depends on the maximum number of devices that can be installed in the wireless data communication network 1, and should be changed depending on the scale of the wireless data communication device 1.
【0022】次に、ブロック11aの光LANコントロ
ーラ20は、光伝送装置18を介して直接接続を持つ他
のブロック11b、ブロック11c、ブロック14aに
対して、装置番号の問いかけをし、その装置番号の情報
を得る。以下、特に断らないかぎり、ブロック11a〜
14d間の情報の送受は光LANコントローラ20が光
伝送装置18を介して直接接続されているブロックに対
して行う。この段階で、ブロック11aは、ブロック1
1b、ブロック11c、ブロック14aの装置番号を知
ったことになる。Next, the optical LAN controller 20 of the block 11a makes an inquiry about the device number to the other blocks 11b, 11c, and 14a which have a direct connection via the optical transmission device 18, and the device number. Get information on. Hereinafter, unless otherwise specified, the blocks 11a-
Transmission and reception of information between 14d is performed with respect to a block to which the optical LAN controller 20 is directly connected via the optical transmission device 18. At this stage, the block 11a becomes the block 1
The device numbers of 1b, block 11c, and block 14a are known.
【0023】次に、ブロック11aの光LANコントロ
ーラ20は、自分の知り得た最新情報を直接接続を持つ
他のブロック11b、11d、14aに伝達する。も
し、他から得た情報に最新性がない場合は、他のブロッ
ク11b、11d、14aに情報を伝達しない。このや
り取りを、無線データ通信網1内の全てのブロック11
a〜14dが行えば、ブロック11aは、他の全てのブ
ロック11b〜14dの装置番号と、接続状態を知るこ
とができる。Next, the optical LAN controller 20 of the block 11a transmits the latest information obtained by itself to the other blocks 11b, 11d and 14a having a direct connection. If the information obtained from others is not up-to-date, the information is not transmitted to the other blocks 11b, 11d, and 14a. This exchange is performed by all blocks 11 in the wireless data communication network 1.
If steps a to 14d are performed, the block 11a can know the device numbers of all the other blocks 11b to 14d and the connection states.
【0024】また、全てのブロック11a〜14dの光
LANコントローラ20が、それぞれ他の全てのブロッ
ク11a〜14dの装置番号と接続状態を知ってしまえ
ば、このやり取り自身は、自動的に収束し、同一の空間
内のどこにも、装置番号のやり取りが起こらなくなる。
ブロック11aは、最後に最新情報を受け取ってから十
分な時間が経過した後ち、それまでに受けた接続状態を
示す情報を基に装置番号の重複を調べる。ここで、上記
十分な時間は、他の装置でも確実に収束状態になる時間
であり、無線データ通信網1の構成、規模に応じて設定
される。If the optical LAN controllers 20 of all the blocks 11a to 14d know the device numbers and the connection states of all the other blocks 11a to 14d, the exchange itself automatically converges, There is no exchange of device numbers anywhere in the same space.
The block 11a checks the duplication of the device number based on the information indicating the connection status received so far after a sufficient time has elapsed since the latest information was last received. Here, the above-mentioned sufficient time is a time in which other devices are surely in a converged state, and is set according to the configuration and scale of the wireless data communication network 1.
【0025】ここで、もし重複が見つかった場合、ブロ
ック11a自身の装置番号を重複しない番号に変更し、
その変更した内容を他に伝達する。この伝達内容は、他
の全てのブロック11b〜14dが最新情報として取り
込むので、ブロック11aは再び、十分な時間がたって
から、接続状態をもとに装置番号の重複を調べる。以上
述べたブロック11aの動作は、他のブロック11b〜
14dに共通である。Here, if a duplicate is found, the device number of the block 11a itself is changed to a non-duplicate number,
The changed contents are transmitted to others. Since all the other blocks 11b to 14d fetch the transmitted contents as the latest information, the block 11a checks again for duplication of the device number based on the connection state after a sufficient time elapses. The operation of the block 11a described above is performed by the other blocks 11b to 11b.
It is common to 14d.
【0026】この繰り返しも最終的には収束するので、
その最終収束までの十分な時間(前記収束時間の2倍以
上)たって、最新情報が届かなければ、ブロック11a
は現在の装置番号を、決定された値として登録する。運
用時は、各ブロック11a〜14dの光LANコントロ
ーラ20には、すでに決定された装置番号が登録されて
いるので、新規にブロックを追加する場合は、追加情報
を全てのブロックが受けとるまでの十分な時間、新しい
登録情報と、古い登録情報を識別する制御コードをもう
け、これら二つを併用できるようにする。Since this repetition also finally converges,
If the latest information does not arrive after a sufficient time (twice the convergence time or more) until the final convergence, block 11a.
Registers the current device number as the determined value. In operation, the device numbers that have already been determined are registered in the optical LAN controller 20 of each of the blocks 11a to 14d. Therefore, when adding a new block, it is sufficient for all blocks to receive the additional information. For a certain period of time, a control code for identifying new registration information and old registration information is provided so that these two can be used together.
【0027】ただし、まだ新しい登録情報は使わず、十
分な時間待つ。その後は、新しい登録情報だけを使うよ
うにするが、先ほどと同じ十分な時間の間、他からの古
い登録情報による情報交換には、応じられるようにす
る。さらにその後は、古い登録情報を破棄する。However, the new registration information is not used yet, and a sufficient time is waited. After that, only the new registration information is used, but the information exchange based on the old registration information from other parties can be accepted for the same sufficient time as before. After that, the old registration information is discarded.
【0028】図5は、無線データ通信網1において通信
網の立ち上がり時に行われる装置番号の登録の手順を示
すフローチャートである。図5において、ステップ00
(S00)において、各ブロックの光LANコントロー
ラ20は上記乱数を発生し、仮の自己の装置番号とす
る。ステップ01(S01)において、各ブロックの光
LANコントローラ20は隣接する(直接接続されてい
る)他のブロックに対してその装置番号を問い、そのブ
ロックの装置番号を得る。FIG. 5 is a flowchart showing a procedure for registering a device number in the wireless data communication network 1 when the communication network starts up. In FIG. 5, step 00
In (S00), the optical LAN controller 20 of each block generates the random number and sets it as a temporary own device number. In step 01 (S01), the optical LAN controller 20 of each block inquires of another adjacent (directly connected) block its device number, and obtains the device number of the block.
【0029】ステップ02(S02)において、各ブロ
ックの光LANコントローラ20は隣接ブロックに伝達
すべき情報があるか、否かを判断する。ここで、隣接す
るブロックから情報を得ている場合、S03の処理に進
み、得ていない場合、S04の処理に進む。ステップ0
3(S03)において、各ブロックの光LANコントロ
ーラ20は最新情報を隣接するブロックに伝達し、S0
2の処理に進む。In step 02 (S02), the optical LAN controller 20 of each block determines whether or not there is information to be transmitted to the adjacent block. Here, if the information is obtained from the adjacent block, the process proceeds to S03, and if not, the process proceeds to S04. Step 0
3 (S03), the optical LAN controller 20 of each block transmits the latest information to the adjacent block, and S0
Proceed to the process of 2.
【0030】ステップ04(S04)において、各ブロ
ックの光LANコントローラ20は最後に情報を得てか
ら十分な時間が経過したか、否かを判断する。ここで、
十分な時間とは、上述の通り、場合により異なってい
る。十分な時間が経過している場合、S05の処理に進
み、経過していない場合、S02の処理に進む。ステッ
プ05(S05)において、各ブロックの光LANコン
トローラ20は自己の仮の装置番号と、他のブロックの
装置番号に重複があるか、否かを判断する。重複があっ
た場合、S06の処理に進み、重複がなかった場合、S
07の処理に進む。In step 04 (S04), the optical LAN controller 20 of each block determines whether or not a sufficient time has elapsed since the last information was obtained. here,
The sufficient time may be different, as described above. If the sufficient time has passed, the process proceeds to S05, and if not, the process proceeds to S02. In step 05 (S05), the optical LAN controller 20 of each block determines whether or not its own temporary device number and the device numbers of other blocks overlap. If there is overlap, the process proceeds to S06, and if there is no overlap, S
The process proceeds to 07.
【0031】ステップ06(S06)において、各ブロ
ックの光LANコントローラ20は自己の装置番号を変
更し、隣接する他のブロックにその情報を通知し、S0
2の処理に進む。ステップ07(S07)において、各
ブロックの光LANコントローラ20はその時点での仮
の装置番号を自己の装置番号として登録する。以上で通
信網立ち上げ時の装置番号の登録を終了する。In step 06 (S06), the optical LAN controller 20 of each block changes its own device number, notifies the adjacent other blocks of the information, and S0
Proceed to the process of 2. In step 07 (S07), the optical LAN controller 20 of each block registers the temporary device number at that time as its own device number. This completes the registration of the device number when starting up the communication network.
【0032】以上の手順は、各ブロック11a〜14d
において、LANコントローラ20で行うように構成し
たが、ワークステーション17が手順を行うように構成
してもよい。また、上記実施例では、本発明の通信方法
をデータ通信装置に適用した場合について述べたが、本
発明の通信方法の適用範囲はデータ通信装置に限らず、
例えば家電製品、具体的には複数のビデオ装置間で制御
のための通信を行う、あるいは単一のリモコン装置でこ
れらを制御する等の場合に適用することも可能である。The above procedure is performed for each block 11a to 14d.
In the above, the LAN controller 20 is used to perform the procedure, but the workstation 17 may be configured to perform the procedure. Further, in the above embodiment, the case where the communication method of the present invention is applied to the data communication device has been described, but the applicable range of the communication method of the present invention is not limited to the data communication device,
For example, the present invention can be applied to the case of performing communication for control between home electric appliances, specifically, a plurality of video devices, or controlling these with a single remote control device.
【0033】また、本発明の通信方法は無線通信網に限
らず、例えば有線LAN等にも適用可能である。また、
上記装置の立ち上がり時の仮の装置番号の発生方法は、
乱数発生によらなくともよく、例えば極端な場合、全て
のデータ通信装置において、同一の数値を装置の立ち上
がり時の仮の装置番号としてもよい。この場合でも、本
発明のデータ通信装置の装置設定方法により、最終的に
は各データ通信装置に個別の装置番号が割り当てられる
こととなる。以上述べた他に、本発明の通信方法および
その装置は種々の構成をとることができる。以上述べた
実施例は例示である。The communication method of the present invention is not limited to a wireless communication network, but can be applied to, for example, a wired LAN. Also,
The method of generating a temporary device number when the above device starts up is
For example, in the extreme case, in all data communication devices, the same numerical value may be used as a temporary device number when the device starts up. Even in this case, an individual device number is finally assigned to each data communication device by the device setting method of the data communication device of the present invention. In addition to the above, the communication method and device of the present invention can have various configurations. The embodiments described above are merely examples.
【0034】[0034]
【発明の効果】以上述べたように、本発明の通信方法お
よびその装置によれば、データ通信装置の製造過程にお
いて、重複することがない装置番号を付ける必要がな
く、従って、全ての製品出荷数分だけの装置番号を確保
しておく必要がなく、装置番号の桁数を短くすることが
でき、装置番号の変更をデータ通信装置の運用中に行う
ことができ、従ってデータ通信装置の運用中に接続構成
の変更をすることができる通信方法およびその装置を提
供することができる。さらに、装置番号の桁数が少ない
ため通信網において効率のよい通信を行うことが可能で
あるという効果が付随する。As described above, according to the communication method and the apparatus thereof of the present invention, it is not necessary to assign a unique device number in the manufacturing process of the data communication device, and therefore, all product shipments can be performed. It is not necessary to secure a device number for only a few minutes, the number of digits of the device number can be shortened, and the device number can be changed during the operation of the data communication device. It is possible to provide a communication method and an apparatus thereof capable of changing the connection configuration during the communication. Further, since the number of digits of the device number is small, there is an effect that efficient communication can be performed in the communication network.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明の通信方法が適用される無線データ通信
網の構成および無線データ通信網が適用されるオフィス
の例を示す図である。FIG. 1 is a diagram showing a configuration of a wireless data communication network to which a communication method of the present invention is applied and an example of an office to which the wireless data communication network is applied.
【図2】図1に示した各グループの無線データ通信網の
接続例であり、1台の光LANコントローラ(Op.L
AN Controller)から4ポートのイーサネ
ットのコネクターを経由し、各ワークステーションとつ
ながり、1つのコントローラで、4つの光伝送装置(O
p.Unit)をコントロールする接続例を示す図であ
る。2 is a connection example of the wireless data communication network of each group shown in FIG. 1, showing one optical LAN controller (Op.L.
Connected to each workstation from a 4-port Ethernet connector from the AN Controller) with one controller and four optical transmission devices (O
p. It is a figure which shows the example of a connection which controls (Unit).
【図3】図1に示した各グループの無線データ通信網の
接続例であり、1台の光LANコントローラで、1台の
ワークステーションと、1つの光伝送装置をコントロー
ルする接続例を示す図である。FIG. 3 is a diagram showing a connection example of the wireless data communication network of each group shown in FIG. 1, showing a connection example in which one optical LAN controller controls one workstation and one optical transmission device. Is.
【図4】図3に示した無線データ通信網を図1に示した
オフィスに適用した場合の接続関係を示す図である。4 is a diagram showing a connection relationship when the wireless data communication network shown in FIG. 3 is applied to the office shown in FIG.
【図5】無線データ通信網において通信網の立ち上がり
時に行われる装置番号の登録の手順を示すフローチャー
トである。FIG. 5 is a flow chart showing a procedure for registering a device number performed at the start-up of a communication network in a wireless data communication network.
1・・・無線データ通信網 11〜14・・・グループ 15・・・パーティーション 16・・・OAデスク 17・・・ワークステーション 18・・・光伝送装置 20・・・光LANコントローラ 1 ... Wireless data communication network 11-14 ... Group 15 ... Partition 16 ... OA desk 17 ... Workstation 18 ... Optical transmission device 20 ... Optical LAN controller
Claims (6)
装置番号を用いて相互に通信を行う通信装置を有する通
信システムにおける通信方法であって、 上記通信装置は初期状態または通信システムの構成の変
更時にそれぞれ固有の装置番号を有し、 この固有の装置番号に基づいて上記通信装置相互間で通
信を行わせて、他の通信装置から装置番号を受信した通
信装置は、他の通信装置の装置番号と、自己の装置番号
が重複しないように自己の装置番号の調整を行い、 その後上記調整された装置番号を前記各通信装置が自己
の装置番号として登録し、この装置番号に基づいて通信
を行う通信方法。1. A communication method in a communication system having communication devices each having a unique device number and communicating with each other by using these device numbers, wherein the communication device is in an initial state or a configuration of the communication system. Each has a unique device number at the time of change, and the communication device that receives the device number from another communication device by causing the communication devices to communicate with each other based on this unique device number is the other communication device. Device number and its own device number are adjusted so that their own device numbers do not overlap, then the above-mentioned adjusted device numbers are registered as their own device numbers by the respective communication devices, and based on this device number Communication method to communicate.
て、乱数発生により行われることを特徴とする通信方
法。2. The communication method according to claim 1, wherein the unique device number is determined by random number generation in each of the communication devices.
において、 前記調整は、全ての前記通信装置の装置番号の登録が終
了するまで行われることを特徴とする通信方法。3. The communication method according to claim 1 or 2, wherein the adjustment is performed until registration of device numbers of all the communication devices is completed.
の通信方法において、 前記調整は前記通信装置に新たな通信装置が接続された
際にも行われることを特徴とする通信方法。4. The communication method according to claim 1, claim 2, or claim 3, wherein the adjustment is performed even when a new communication device is connected to the communication device. .
記調整が始まる以前に登録されていた装置番号を使用
し、 前記調整終了後一定時間は前記調整後に登録された装置
番号ともに前記調整が始まる以前に登録された装置番号
を通信制御に併用することを特徴とする通信方法。5. The communication method according to claim 4, wherein, until the adjustment ends, each communication device uses the device number registered before the adjustment starts for communication control, and after the adjustment ends, the device number is constant. The communication method is characterized in that both the device number registered after the adjustment and the device number registered before the adjustment starts are used for communication control.
と、これらの装置番号を用いて相互に通信を行う通信装
置であって、 上記通信装置は初期状態または通信システムの構成の変
更時にそれぞれ固有の装置番号を有し、 それぞれの通信装置はこの固有の装置番号に基づいて対
向する通信装置相互間で通信を行なって、他の通信装置
から装置番号を受信し、他の通信装置の装置番号と自己
の装置番号が重複しないように自己の装置番号の調整を
行う手段と、 その後上記調整された装置番号を前記各通信装置が自己
の装置番号として登録し、この装置番号に基づいて通信
を行う手段とを有する通信装置。6. A communication device having a unique device number, and a communication device for communicating with each other using these device numbers, wherein the communication device is unique when the initial state or the configuration of the communication system is changed. Each communication device communicates with the other communication device based on this unique device number, receives the device number from another communication device, and receives the device number of the other communication device. And a means for adjusting its own device number so that its own device number does not overlap, and then each of the above communication devices registers the adjusted device number as its own device number, and communicates based on this device number. A communication device having means for performing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4257280A JPH0685821A (en) | 1992-09-01 | 1992-09-01 | Communication method and device thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4257280A JPH0685821A (en) | 1992-09-01 | 1992-09-01 | Communication method and device thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0685821A true JPH0685821A (en) | 1994-03-25 |
Family
ID=17304186
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4257280A Pending JPH0685821A (en) | 1992-09-01 | 1992-09-01 | Communication method and device thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0685821A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001008358A1 (en) * | 1999-07-26 | 2001-02-01 | Fujitsu Limited | Network system |
| US6231444B1 (en) | 1996-10-11 | 2001-05-15 | Sony Computer Entertainment Inc. | Operating device for game machine |
-
1992
- 1992-09-01 JP JP4257280A patent/JPH0685821A/en active Pending
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6231444B1 (en) | 1996-10-11 | 2001-05-15 | Sony Computer Entertainment Inc. | Operating device for game machine |
| US6682426B2 (en) | 1996-10-11 | 2004-01-27 | Sony Computer Entertainment Inc. | Operating device for game machine |
| US6887158B2 (en) | 1996-10-11 | 2005-05-03 | Sony Computer Entertainment Inc. | Operating device for game machine |
| US7377851B2 (en) | 1996-10-11 | 2008-05-27 | Sony Computer Entertainment Inc. | Operating device for game machine |
| US8360883B2 (en) | 1996-10-11 | 2013-01-29 | Sony Computer Entertainment Inc. | Operating device for game machine |
| US8608565B2 (en) | 1996-10-11 | 2013-12-17 | Sony Corporation | Operating device for game machine |
| US9180367B2 (en) | 1996-10-11 | 2015-11-10 | Sony Computer Entertainment Inc. | Operating device for game machine |
| WO2001008358A1 (en) * | 1999-07-26 | 2001-02-01 | Fujitsu Limited | Network system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0643521B1 (en) | Method for building a sub-network in a distributed voice messaging system | |
| EP0713307A2 (en) | Method and apparatus for configuring fabrics within a fibre channel system | |
| US20030093542A1 (en) | Communication device and communication control method using efficient echonet address determination scheme | |
| JPH04275742A (en) | System and method of transferring data-packet | |
| JP3082686B2 (en) | MAC bridge control method and device | |
| US5920567A (en) | Network related information transfer method for a connection device, and a data communication system | |
| JPH0685821A (en) | Communication method and device thereof | |
| US6209035B1 (en) | System and method for establishing communication links and transferring data among a plurality of commication nodes | |
| JP3714770B2 (en) | Communications system | |
| JP3599476B2 (en) | Network connection method | |
| JP3285040B2 (en) | Communications system | |
| CN112104764B (en) | Method and system for classifying DHCP (dynamic host configuration protocol) client | |
| WO2026026258A1 (en) | Communication methods and communication apparatus | |
| JPH03127531A (en) | Address setting method | |
| JP3075206B2 (en) | Switch operation and maintenance system | |
| JP2005012615A (en) | Packet communication device | |
| WO2001086908A1 (en) | Method for an automatic allocation of ip addresses | |
| JP2566350B2 (en) | Data way device | |
| AU596915B2 (en) | Call service initialization arrangement | |
| JP3886103B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION METHOD, COMMUNICATION DEVICE AND COMMUNICATION PROGRAM USED FOR THE SAME | |
| JP2000022757A (en) | Connection method between network systems | |
| US20020048262A1 (en) | Method and system for assigning node numbers to network nodes in a network | |
| JPH0357340A (en) | Communication processor | |
| JPH09214550A (en) | Relay device | |
| JP3237572B2 (en) | Communication device and network system using the same |