JPH0564898B2 - - Google Patents

Info

Publication number
JPH0564898B2
JPH0564898B2 JP61001797A JP179786A JPH0564898B2 JP H0564898 B2 JPH0564898 B2 JP H0564898B2 JP 61001797 A JP61001797 A JP 61001797A JP 179786 A JP179786 A JP 179786A JP H0564898 B2 JPH0564898 B2 JP H0564898B2
Authority
JP
Japan
Prior art keywords
address
packet
managed
transmission path
ifu
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 - Lifetime
Application number
JP61001797A
Other languages
Japanese (ja)
Other versions
JPS62159936A (en
Inventor
Kenzo Inazaki
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP61001797A priority Critical patent/JPS62159936A/en
Publication of JPS62159936A publication Critical patent/JPS62159936A/en
Publication of JPH0564898B2 publication Critical patent/JPH0564898B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (技術分野) 本発明は、マルチドロツプ方式のネツトワーク
に接続される機器のアドレスを管理する方式、詳
しくは、伝送路と、この伝送路に接続された複数
の被管理機器と、前記伝送路に接続され前記複数
の被管理機器のアドレスを管理する管理機器とを
備え、前記伝送路に送信するパケツトにより、前
記管理機器と被管理機器との間のデータ伝送なら
びに前記被管理機器どうし間のデータ伝送を行う
ように構成されたネツトワークにおける伝送路の
重複アドレス検出方式に関する。
Detailed Description of the Invention (Technical Field) The present invention relates to a method for managing the addresses of devices connected to a multi-drop network. and a management device that is connected to the transmission path and manages the addresses of the plurality of managed devices, and transmits data between the management device and the managed devices and the management device by packets sent to the transmission path. The present invention relates to a method for detecting duplicate addresses on a transmission path in a network configured to transmit data between managed devices.

(従来技術) 近年のマイクロエレクトロニクスの進歩に伴う
ニユーメデイア機器や防災、防犯機器を含めた家
庭内機器の高度化、複合化による家庭の情報化の
急激な進展に対応して、これら家庭情報機器を一
元的に収容し、有機的に結合しようとする家庭内
情報通信ネツトワーク、いわゆるホームバス(伝
送路)の開発と標準化が日本国内と外国で進めら
れている。日本国内で進められているホームバス
(伝送路)の標準化の規格の概要を次に示す。
(Prior art) In response to the rapid progress in informationization of the home due to the increasing sophistication and complexity of home devices including new media equipment, disaster prevention, and crime prevention equipment due to the recent advances in microelectronics, these home information devices have been developed. The development and standardization of home information and communications networks, so-called home buses (transmission lines), which aim to centrally accommodate and organically connect information and communications networks, are underway both in Japan and abroad. The following is an overview of the home bus (transmission line) standardization that is being promoted in Japan.

伝送路は、1つの制御チヤンネルと複数の情報
チヤンネルで構成される。制御チヤンネルにはデ
ジタルの制御信号が伝送され、回線交換される情
報チヤンネルには、任意の情報信号が伝送され、
それらのチヤンネルは空間分割、周波数分割ある
いは両者の併用という形態をとつている。
The transmission path is composed of one control channel and multiple information channels. A digital control signal is transmitted to the control channel, and an arbitrary information signal is transmitted to the circuit-switched information channel.
These channels take the form of space division, frequency division, or a combination of both.

ホームバスシステムの構成を第3図に示す。 Figure 3 shows the configuration of the home bus system.

第3図において、21は前述の伝送路(ホーム
バス)であり、22はホームバスコントローラ
(以下、HBC22と記載する)、23はインタフ
エースユニツト(以下、IFU23と記載する)で
ある。
In FIG. 3, 21 is the aforementioned transmission line (home bus), 22 is a home bus controller (hereinafter referred to as HBC 22), and 23 is an interface unit (hereinafter referred to as IFU 23).

HBC22もIFU23も伝送路21に接続され
る機器である。HBC22は、情報チヤンネルの
回線交換、IFU23のアドレス管理、システムの
イニシヤライズ、伝送路21の異常時の処置など
を行う一種の伝送路管理・監視装置である。これ
に対し、IFU23は、アプリケーシヨンサービス
を持ついわゆる一般の機器であり、伝送路21の
論理的レベルでHBC22に管理される。この
IFU23は、情報チヤンネルをすべて使用すると
は限らず、自分に必要なものだけ使用するが、制
御チヤンネルについては、すべてのIFU23が定
められたプロトコル(通信制御手順)に従つて制
御チヤンネルを使用しなければならない。
Both the HBC 22 and the IFU 23 are devices connected to the transmission line 21. The HBC 22 is a type of transmission path management/monitoring device that performs circuit switching of information channels, address management of the IFU 23, initialization of the system, and measures when an abnormality occurs in the transmission path 21. On the other hand, the IFU 23 is a so-called general device having an application service, and is managed by the HBC 22 at the logical level of the transmission path 21. this
The IFU 23 does not necessarily use all the information channels; it uses only the ones it needs, but all IFU 23s must use the control channel according to a predetermined protocol (communication control procedure). Must be.

そのプロトコルの概略を次に示す。 The outline of the protocol is shown below.

伝送方式においては、送信IFU23は、制御チ
ヤンネル上に信号がないとき、送信データに宛先
をつけて送信し、受信IFU23は、常にチヤンネ
ルを監視しており、自分宛の信号があれば、それ
を受信するというパケツト伝送方式を用いる。第
4図にそのパケツトフオーマツトを示す。
In the transmission method, when there is no signal on the control channel, the transmitting IFU 23 attaches a destination to the transmitted data and transmits it, and the receiving IFU 23 constantly monitors the channel, and if there is a signal addressed to it, it sends it. A packet transmission method of receiving is used. Figure 4 shows the packet format.

第4図において、30がパケツトであり、パケ
ツト競合時に優先度を決める優先ビツト(PR)、
自己アドレスSA、相手アドレスDA、パケツト
の意味を示す制御コード(CW)、データの長さ
を示すデータカウント(DC)、送信データ
DATA、パケツトの送信誤りを検出するための
フレームチエツクコード(FCC)から構成され、
送信データDATA以外はすべてその長さが決ま
つている。
In FIG. 4, 30 is a packet, and the priority bit (PR), which determines the priority in the case of packet contention,
Self address SA, destination address DA, control code (CW) indicating the meaning of the packet, data count (DC) indicating the data length, transmission data
DATA, a frame check code (FCC) for detecting packet transmission errors,
The length of all data other than the transmission data DATA is determined.

第3図におけるHBC22,IFU23には、そ
れぞれ自分のアドレスが決められており、パケツ
ト送信時には自己アドレスSAに自分のアドレス
を、相手アドレスDAに相手のアドレスを付け
る。
Each of the HBC 22 and IFU 23 in FIG. 3 has its own address determined, and when transmitting a packet, its own address is attached to its own address SA, and the other party's address is attached to the other party's address DA.

相手アドレスDAが自分のアドレスであるIFU
23は、第4図のパケツト30を受信した後、フ
レームチエツクコード(FCC)などでパケツト
30の誤りをチエツクし、誤りがなければ、時間
TD後に受信完了を示すアクノリツジ信号(以下、
ACK信号と記載する)31を返送する。Trは次
のパケツト32が送信されるまでの休止期間であ
り、次のパケツト32は休止期間Trの経過後で
なければ送信することができない。
IFU where the other address DA is your own address
23, after receiving the packet 30 in Fig. 4, checks the packet 30 for errors using a frame check code (FCC), etc., and if there is no error, the time
After T D, an acknowledge signal indicating reception completion (hereinafter referred to as
(described as ACK signal) 31 is returned. T r is a pause period until the next packet 32 is transmitted, and the next packet 32 can only be transmitted after the pause period T r has elapsed.

制御チヤンネル上に信号がないときは、いつで
もパケツトを送信することができるが、信号があ
るときは第4図に示す休止期間Trの経過後にパ
ケツトを送信することができる。
When there is no signal on the control channel, packets can be sent at any time, but when there is a signal, packets can be sent after the pause period T r shown in FIG. 4 has elapsed.

ところが、2つ以上のIFU23が同時にパケツ
トを送信しようとしたときには、パケツトの競合
が生じる。制御チヤンネル上のデジタル信号はど
ちらかのレベルが電気的に優先されるようになつ
ていて、例えば、論理“0”が優先される場合、
チヤンネル上で論理“1”と“0”が競合する
と、論理“0”となる。
However, when two or more IFUs 23 attempt to transmit packets at the same time, packet contention occurs. One of the levels of the digital signal on the control channel is given electrical priority; for example, when logic "0" is given priority,
When logic "1" and "0" conflict on a channel, a logic "0" results.

このとき、自分の送信信号と受信信号を比較し
ながらパケツトを送信すれば、自分が競合に負け
たことが直ぐ判るので、その時以降の送信を中止
する。そして、競合に勝つたパケツトはそのまま
送信される。送受信号の比較はビツトごとに行わ
れ、これをビツト照合による勝ち残り方式と呼
ぶ。
At this time, if you transmit a packet while comparing your own transmitted signal and received signal, you will immediately know that you have lost the competition, so you will stop transmitting from that point on. Then, the packet that wins the competition is transmitted as is. Comparison of transmitted and received signals is performed bit by bit, and this is called a winning/remaining method based on bit matching.

ビツト照合は、第4図のパケツト32の先頭の
優先ビツト(PR)、自己アドレスSAの間だけ行
われる。というのは、パケツト競合時に自己アド
レスSAは絶対一致することはないので、自己ア
ドレスSAの部分の送信後は優先度の一番高いパ
ケツトのみが送信されていることになる。
Bit verification is performed only between the priority bit (PR) at the head of packet 32 in FIG. 4 and the self address SA. This is because when there is a packet conflict, the self-address SA will never match, so after the self-address SA portion is transmitted, only the packet with the highest priority is transmitted.

HBC22もIFU23もパケツト送受に関して
は、以上のプロトコルに従うが、アプリケーシヨ
ン機能が違つている。
Both the HBC 22 and IFU 23 follow the above protocol regarding packet transmission and reception, but their application functions are different.

ホームバスシステムの管理に関して、HBC2
2は親機となり、IFU23は子機となる。HBC
22は、IFU23が使用する情報チヤンネルの回
線交換を行うために、接続IFU23のアドレスを
知つていなければならない。それは、電源ON時
のシステムイニシヤライズ時に、接続機器のアド
レスをも含む情報をIFU23からHBC22に登
録するという手順の中で行われるのが一般的であ
るからである。
Regarding home bus system management, HBC2
2 will be the parent unit, and IFU23 will be the slave unit. H.B.C.
22 must know the address of the connected IFU 23 in order to perform circuit switching of the information channels used by the IFU 23. This is because it is generally performed in the procedure of registering information including the address of the connected device from the IFU 23 to the HBC 22 when the system is initialized when the power is turned on.

標準案によると、機器のアドレス長とHBC2
2のアドレスとの関係は決まつている。例えば、
アドレス長が1バイトであれば、HBC22のア
ドレスはφφHである。IFU23のアドレスは決
まつておらず、システムに接続するときにスイツ
チなどで設定する。というのは、初めからIFU2
3に固定したアドレスが付けられていると、同一
の種類のIFU23はアドレスが同じなので、1つ
のシステムに接続できなくなるからである。即
ち、システムに接続されるHBC22,IFU23
のアドレスはシステム上は唯一独自となり、同一
のものは他に存在しない。
According to the draft standard, the device address length and HBC2
The relationship with address 2 is fixed. for example,
If the address length is 1 byte, the address of the HBC 22 is φφH. The address of the IFU23 is not fixed, and must be set using a switch when connecting to the system. That is, IFU2 from the beginning.
This is because if a fixed address is assigned to 3, IFUs 23 of the same type will have the same address and will not be able to connect to one system. That is, HBC22, IFU23 connected to the system
This address is unique on the system, and there is no other address that is the same.

以上のようなホームバスシステムにおいては、
次に示すような問題がある。
In the above home bus system,
There are problems as shown below.

即ち、システムにIFU23を接続するときにス
イツチなどで他のIFU23とアドレスが重複しな
いように設定するわけである。
That is, when connecting the IFU 23 to the system, settings are made using a switch or the like so that the address does not overlap with other IFUs 23.

しかしながら、アドレスが絶対に重複していな
いという保証は得られていない。
However, there is no guarantee that addresses will never overlap.

設置者が確実にアドレスを確認すれば問題がな
いのであるが、接続機器が増えると(アドレスだ
けでみるとアドレス長を1バイトとすると256台
も接続できる)、その確認はきわめて困難である。
また、人為的なミスもあり得る。
There is no problem if the installer confirms the address, but as the number of connected devices increases (looking at the address alone, 256 devices can be connected if the address length is 1 byte), it becomes extremely difficult to confirm.
There is also the possibility of human error.

さらに、もし、アドレスを重複して設定した場
合には、そのことによつて直ちにシステムに異常
が生じるわけではなく、そのアドレスにパケツト
が送られたときに重複したアドレスのIFU23が
反応し、これによつて不都合が生じて初めてアド
レスの重複が判るのが実情である。
Furthermore, if a duplicate address is set, this will not immediately cause a system error; instead, when a packet is sent to that address, the IFU 23 of the duplicate address will react, and the IFU 23 of the duplicate address will respond. The reality is that address duplication becomes apparent only after an inconvenience occurs.

以上のような問題があるため、自動的な確認方
法が必要となつてくる。
Because of the above problems, an automatic confirmation method is needed.

ところが、自動的な確認方法は、以下に示すよ
うな理由によつて簡単には実現できない。
However, automatic confirmation methods cannot be easily implemented for the following reasons.

即ち、IFU23がシステムに接続されて電源が
ONした時、そのIFU23のアドレスの登録を
HBC22に行うので、既にHBC22に登録され
ているアドレスとの比較により、アドレスの重複
の検出ができそうである。
That is, the IFU23 is connected to the system and powered on.
When turned on, register the address of that IFU23.
Since this is done in the HBC 22, it is likely that duplicate addresses can be detected by comparing with addresses already registered in the HBC 22.

しかし、そのIFU23のみが電源OFFして再び
ONすると、再び同じアドレス登録を行うので、
HBC22が重複とみなしてしまう。従つて、こ
の方法には無理がある。
However, only that IFU23 turns off and restarts.
If you turn it on, the same address will be registered again, so
HBC22 considers it to be a duplicate. Therefore, this method is unreasonable.

また、システムに重複したアドレスのIFU23
が存在するかどうかを調べるために、HBC22
から要求を出して各IFU23からの応答を得て
も、重複したアドレスのIFU23からは全く同一
の応答パケツトが同一タイミングで送られてくる
ので、重複アドレスの検出にはなんら役立たな
い。
In addition, the IFU23 of the duplicate address in the system
In order to check whether HBC22 exists,
Even if a request is issued from the IFU 23 and a response is obtained from each IFU 23, the identical response packets will be sent at the same timing from the IFU 23 of the duplicate address, so it will not be of any use in detecting duplicate addresses.

(発明の目的) 本発明は、このような事情に鑑みてなされたも
のであつて、伝送路に接続されるIFUのアドレス
の重複を確実に検出して、アドレスの重複登録を
防止できる方式を提供することを目的とする。
(Object of the Invention) The present invention has been made in view of the above circumstances, and provides a method that can reliably detect duplicate addresses of IFUs connected to transmission lines and prevent duplicate address registration. The purpose is to provide.

(発明の構成) 本発明は、このような目的を達成するために、
複数の被管理機器と、これらの各被管理機器のア
ドレスを管理する管理機器とが伝送路を介して互
いに接続され、前記被管理機器と管理機器とから
それぞれ伝送路に送信されるパケツトにより、被
管理機器と管理機器の相互間、ならびに被管理機
器の相互間のデータ伝送を行うように構成された
ネツトワークにおいて使用される方式において、
次のような構成をとる。
(Structure of the invention) In order to achieve such an object, the present invention has the following features:
A plurality of managed devices and a management device that manages the addresses of each of these managed devices are connected to each other via a transmission path, and packets are transmitted from the managed devices and the management device to the transmission path, respectively. In a method used in a network configured to transmit data between managed devices and managed devices, and between managed devices,
It has the following structure.

すなわち、第1発明では、各被管理機器は、新
規に接続される被管理機器についてのアドレスが
前記伝送路に既に接続されている被管理機器につ
いてのアドレスと重複しているか否かを検出する
アドレス重複検出手段を備え、このアドレス重複
検出手段は、被管理機器の新規接続により送信さ
れる登録パケツトを管理機器が受信することによ
り、これに応答して管理機器から出力される応答
パケツトが、前記登録パケツトの送信に対応する
ものか否かを調べ、登録パケツトが未送信の状態
で応答パケツトが受信された場合には、この応答
パケツトの受信をアドレス重複として判定するも
のである、ことを特徴としている。
That is, in the first invention, each managed device detects whether the address of a newly connected managed device overlaps with the address of a managed device already connected to the transmission path. The address duplication detection means includes an address duplication detection means that, when the managed device receives a registration packet transmitted due to a new connection of the managed device, a response packet outputted from the managed device in response to the registration packet is It is checked whether the response packet corresponds to the transmission of the registration packet, and if a response packet is received while the registration packet has not been transmitted, the reception of this response packet is determined to be an address duplication. It is a feature.

また、第2発明では、各被管理機器は、新規に
接続される被管理機器についてのアドレスが前記
伝送路に既に接続されている被管理機器について
のアドレスと重複しているか否かを検出するアド
レス重複検出手段を備え、このアドレス重複検出
手段は、被管理機器が伝送路に新規接続された場
合には、送信先として自己のアドレスをセツトし
たダミーパケツトを送信する一方、既接続の被管
理機器からこのダミーパケツトに対する応答パケ
ツトが返信されてくるか否かを調べ、応答パケツ
トが送信元である被管理機器に返信されてきた場
合には、この応答パケツトの受信をアドレス重複
として判定するものである、ことを特徴としてい
る。
Further, in the second invention, each managed device detects whether an address of a newly connected managed device overlaps an address of a managed device already connected to the transmission path. The address duplication detection means is equipped with an address duplication detection means that, when a managed device is newly connected to a transmission path, sends a dummy packet with its own address set as the destination, while sending a dummy packet to the already connected managed device. It is checked whether or not a response packet is returned to this dummy packet from the source, and if the response packet is returned to the managed device that is the sender, the reception of this response packet is determined to be an address duplication. , is characterized by.

第1発明では、新規接続される被管理機器につ
いてアドレス重複登録があれば、既接続の被管理
機器において到来するはずのない応答パケツトが
受信されるので、その被管理機器に設けたアドレ
ス重複検出手段によつてこれを検出することがで
きる。したがつて、被管理機器のアドレス重複の
検出のための負担が極めて軽くて済む。
In the first invention, if there is address duplication registration for a newly connected managed device, a response packet that should not arrive at the already connected managed device is received, so the address duplication detection provided in the managed device is This can be detected by means. Therefore, the burden of detecting address duplication of managed devices can be extremely light.

また、第2発明では、新規接続される被管理機
器から送信先を送信元と同じにしたダミーパケツ
トを送信して、既接続の被管理機器からこれに対
して応答パケツトが返信されてくれば、新規接続
の被管理機器に設けたアドレス重複検出手段によ
つてアドレス重複を検出することができる。した
がつて、この場合も被管理機器のアドレス重複の
検出のための負担が極めて軽くて済む。
Further, in the second invention, if a newly connected managed device transmits a dummy packet with the destination set to the same as the source, and a response packet is returned from the already connected managed device, Address duplication can be detected by the address duplication detection means provided in the newly connected managed device. Therefore, in this case as well, the burden of detecting address duplication of managed devices can be extremely light.

(実施例) 以下、本発明を図面に示す実施例に基づいて詳
細に説明する。
(Example) Hereinafter, the present invention will be described in detail based on an example shown in the drawings.

<実施例 1> 第1図は、第1発明に係る実施例を示す伝送路
の重複アドレス検出方式の概略構成図である。
<Embodiment 1> FIG. 1 is a schematic configuration diagram of a transmission path duplicate address detection method showing an embodiment according to the first invention.

伝送路11に、HBC12とn個のIFU13と
が既に接続されている。それぞれのIFU13のア
ドレスはA1〜Aoであり、登録済みである。
The HBC 12 and n IFUs 13 are already connected to the transmission line 11. The addresses of each IFU 13 are A 1 to A o and have been registered.

新たに接続するIFU13aのアドレスがn個の
IFU13のアドレスのいずれかに一致していると
する。例えば、n番目のIFU13のアドレスAo
と同一のアドレスをIFU13aがもつているとす
る。
If the address of the newly connected IFU13a is n
Assume that it matches one of the addresses of IFU13. For example, the address A o of the nth IFU 13
Assume that the IFU 13a has the same address as .

新たに伝送路11に接続され、パワーONされ
たIFU13aは、登録パケツトPB1をHBC12に
送信する。HBC12は、その登録パケツトPB1
受信すると、アドレス重複チエツクを行うことな
く、登録確認パケツトPB2を、アドレスAoをもつ
既接続のIFU13および新接続のIFU13aに送
られ、両方のIFU13,13aが登録確認パケツ
B2を受信する。新接続のIFU13aは、自分が
登録パケツトPB1を送信し、登録確認パケツトB2
を受信するので何ら問題はない。
The IFU 13a newly connected to the transmission line 11 and powered on transmits the registration packet P B1 to the HBC 12. When the HBC 12 receives the registration packet P B1 , it sends the registration confirmation packet P B2 to the already connected IFU 13 with address A o and the newly connected IFU 13a without performing an address duplication check, and both IFUs 13, 13a receives registration confirmation packet B2 . The newly connected IFU 13a sends a registration packet P B1 and a registration confirmation packet B2.
There is no problem as you will receive it.

しかし、その既接続のIFU13は、自らは登録
パケツトPB1を送信していないにもかかわらず、
登録確認パケツトをPB2を受信するので、アドレ
スが同一AoのIFU13aが伝送路1に新たに接
続されたということが判る。
However, even though the already connected IFU 13 has not sent the registration packet P B1 ,
Since the registration confirmation packet P B2 is received, it is known that the IFU 13a with the same address Ao has been newly connected to the transmission path 1.

この場合は、その既接続のIFU13で警告表示
を行うこともできるし、その既接続のIFU13か
らHBC12に対してアドレス重複を示すパケツ
トを送信することにより、HBC12でもアドレ
ス重複を確認することができる。
In this case, a warning can be displayed on the already connected IFU 13, and the address duplication can also be confirmed on the HBC 12 by sending a packet indicating address duplication from the already connected IFU 13 to the HBC 12. .

なお、新たなIFU13aの接続および電源ON
がなく、IFU13のパワーON・OFFだけが行わ
れて、そのIFU13からそのON・OFFのたびに
登録パケツトPB1が送信され、HBC12が登録確
認パケツトPB2をそのIFU13に送信しても、同
一のアドレスのIFU13が存在しない限りHBC
12からの登録確認パケツトPB2がそのIFU13
で受信されるので、第1図で説明した状態とはな
らず、アドレス重複は検出されない。
In addition, connect the new IFU13a and turn on the power.
Even if the IFU 13 is only turned on and off, and the IFU 13 sends a registration packet P B1 each time it turns on and off, and the HBC 12 sends a registration confirmation packet P B2 to the IFU 13, the same HBC unless IFU13 with the address of
Registration confirmation packet P B2 from 12 is that IFU13
Therefore, the situation described in FIG. 1 does not occur, and address duplication is not detected.

また、システム立ち上げ時にIFU13の電源が
HBC12の電源よりもが先に入つたり、両者の
電源が殆ど同時に入つたりして、アドレスが重複
しているIFU13がタイミング的に同一動作をす
ると、アドレスの重複が検出できない可能性があ
る。
Also, when starting up the system, the IFU13 power supply is turned off.
If the IFU 13 with the same address performs the same operation due to the fact that the HBC 12 is powered on before the HBC 12 or both are powered on almost at the same time, the address overlap may not be detected. .

従つて、システム立ち上げ時には、HBC12
の電源を先に入れて各IFU13を順番にパワー
ONするか、すべてパワーONした後、IFU13
を1個ずつリセツトするかして順次登録パケツト
PB1を送信していくようにすれば、アドレスの重
複チエツクを確実に行うことができる。
Therefore, when starting up the system, HBC12
Turn on the power first and power each IFU13 in turn.
After turning on or turning on all power, IFU13
Register packets one by one by resetting them one by one.
If you send P B1 repeatedly, you can reliably check for duplicate addresses.

<第2実施例> 第2発明に係る実施例を第2図のフローチヤー
トおよび第3図の構成を参照して説明する。
<Second Embodiment> An embodiment according to the second invention will be described with reference to the flowchart of FIG. 2 and the configuration of FIG. 3.

即ち、伝送路1に接続され、パワーONされた
IFU3は、HBC2にアドレス登録を行うのとは
別に、パケツトの相手アドレス(DA)の部分に
自分のアドレスをセツトするとともに、その送信
データ(DATA)の部分が意味を持たないダミ
ーのパケツトを送信する。その時、そのIFU3と
同一のアドレスのIFU3が別に存在すると、その
別のIFU3がダミーパケツトを受信し、それが完
了すると、プロトコルによつてその別のIFU3か
ら第4図のACK(アクノリツジ)信号31が送信
される。このACK信号31が、ダミーパケツト
を送信したIFU3で受信されるため、アドレスの
重複が判る。即ち、アドレスが重複していなけれ
ば、ACK信号31の送信がないからである。
In other words, it is connected to transmission line 1 and the power is turned on.
In addition to registering the address in HBC2, IFU3 sets its own address in the destination address (DA) part of the packet, and also sends a dummy packet in which the transmission data (DATA) part has no meaning. do. At that time, if another IFU3 with the same address as that IFU3 exists, that other IFU3 receives the dummy packet, and when it is completed, the ACK (acknowledge) signal 31 in FIG. 4 is sent from that other IFU3 according to the protocol. Sent. Since this ACK signal 31 is received by the IFU 3 that sent the dummy packet, the duplication of addresses is known. That is, if the addresses do not overlap, the ACK signal 31 will not be transmitted.

第2図にアドレス重複チエツクのためのIFU3
のスタート時のフローチヤートを示す。
Figure 2 shows IFU3 for checking address duplication.
This shows the flowchart at the start of the process.

ステツプS3aで、IFU3をパワーONするか、
リセツトスイツチを押す。ステツプS3bで相手ア
ドレス(DA)の部分に自分のアドレスをセツト
するとともに、ダミーパケツトを送信する。ステ
ツプS3cで、ACK信号31を受信したかどうかを
判断する。
At step S3a, power on IFU3 or
Press the reset switch. In step S3b, the destination address (DA) is set to its own address, and a dummy packet is transmitted. In step S3c, it is determined whether the ACK signal 31 has been received.

ACK信号31を受信しない場合は、ステツプ
S3dに移行し、アドレスの重複がない旨の表示を
行い、ステツプS3eで通常状態に復帰する。
If ACK signal 31 is not received, step
The process moves to S3d, displays that there is no duplicate address, and returns to the normal state in step S3e.

ACK信号31を受信した場合には、ステツプ
S3fに移行し、アドレスの重複がある旨の表示を
行い、ステツプS3gにリターンして、アドレスの
再設定を行う。
If ACK signal 31 is received, step
The process moves to S3f, displays that there is a duplicate address, returns to step S3g, and resets the address.

システム立ち上げ時には、電源が同時に入ると
パケツトが輻輳するが、重複アドレスをもつ複数
のIFU3のパケツトがタイミング的に全く同時に
送信されない限り問題はない。
At system startup, if the power is turned on at the same time, packet congestion will occur, but there will be no problem as long as packets from multiple IFUs 3 with duplicate addresses are not sent at exactly the same time.

タイミング的に全く同時にパケツトが送信され
る場合の防止策として、IFU3の電源を順に入れ
るか、順にリセツトスイツチを押すことにより、
第2図のシーケンスが個々のIFU3についてタイ
ミング的に別に行われるようにすれば、アドレス
重複のチエツクは確実に行われる。
As a preventive measure in case packets are sent at exactly the same time, turn on the power of IFU3 in sequence or press the reset switch in sequence.
If the sequence shown in FIG. 2 is performed separately for each IFU 3 in terms of timing, address duplication can be checked reliably.

この実施例は、第4図のパケツト30としてダ
ミーのパケツトを用い、ACK信号31有無でア
ドレス重複を調べる方式であるが、ダミーのパケ
ツトでなく、アドレス重複チエツクというパケツ
トを送信し、それを受けたIFU3(即ち、アドレ
スの重複しているIFU3)が、アドレス重複あり
というパケツトを返送するという方式でもよい。
アドレス重複を調べる手段として、第4図の
ACK信号31を用いるか、パケツトレベルの応
答信号を用いるかの違いに過ぎない。
In this embodiment, a dummy packet is used as the packet 30 in FIG. 4, and address duplication is checked based on the presence or absence of the ACK signal 31. However, instead of a dummy packet, a packet called address duplication check is sent and received. A method may also be adopted in which the IFU 3 with the duplicate address (that is, the IFU 3 with the duplicate address) returns a packet indicating that there is a duplicate address.
As a means of checking address duplication, the
The only difference is whether the ACK signal 31 is used or a packet level response signal is used.

第2実施例の方式は、自分と同一のアドレスに
対してパケツトを送信し、反応を待つという点に
特徴がある。
The method of the second embodiment is characterized in that it sends a packet to the same address as itself and waits for a response.

なお、IFU3のみのパワーON・OFFによる第
2図のシーケンスが何度行われても問題はない。
Note that there is no problem no matter how many times the sequence shown in FIG. 2 is performed by turning ON/OFF the power of only the IFU 3.

(発明の効果) 本発明によれば、次の効果が発揮される。(Effect of the invention) According to the present invention, the following effects are achieved.

すなわち、第1発明では、新規接続される被管
理機器についてアドレス重複登録があれば、既接
続の被管理機器において到来するはずのない応答
パケツトを受信されるので、その被管理機器に設
けたアドレス重複検出手段によつてこれを検出す
ることができる。
That is, in the first invention, if there is duplicate address registration for a newly connected managed device, the previously connected managed device receives a response packet that should not arrive, so the address set for that managed device is This can be detected by the duplication detection means.

また、第2発明では、新規接続される被管理機
器から送信先を送信元と同じにしたダミーパケツ
トを送信して、既接続の被管理機器からこれに対
して応答パケツトが返信されてくれば、新規接続
の被管理機器に設けたアドレス重複検出手段によ
つてアドレス重複を検出することができる。
Further, in the second invention, if a newly connected managed device transmits a dummy packet with the destination set to the same as the source, and a response packet is returned from the already connected managed device, Address duplication can be detected by the address duplication detection means provided in the newly connected managed device.

このように、第1発明および第2発明のいずれ
の場合も、重複アドレス設定の有無を管理機器側
で行わずに、被管理機器側で行えるようにしてい
るから、短時間の内に重複アドレスの修復を行う
ことができるとともに、被管理機器側においては
アドレスを直接比較するのではなく、パケツトの
送信と受信との対応関係を調べるだけでよいの
で、重複アドレスの検出の手間を省くことがで
き、したがつて、システム全体として重複アドレ
ス検出の負担が極めて軽くて済む。しかも、重複
アドレスの有無を確実に検出できるので、コスト
アツプを招来することなく容易に信頼性の高いネ
ツトワークシステムを構築することができる。
In this way, in both the first invention and the second invention, since the managed device side can check whether or not to set duplicate addresses without having to set them on the managed device side, duplicate addresses can be set within a short period of time. In addition, the managed device only needs to check the correspondence between sending and receiving packets instead of directly comparing addresses, saving the effort of detecting duplicate addresses. Therefore, the burden of detecting duplicate addresses on the entire system can be extremely light. Moreover, since the presence or absence of duplicate addresses can be reliably detected, a highly reliable network system can be easily constructed without increasing costs.

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

第1図は本発明の第1実施例に係る概略構成
図、第2図は本発明の第2実施例を説明するため
のフローチヤート、第3図はホームバスシステム
の一般的な概略構成図、第4図はホームバスシス
テムの一般的な概略構成図、第4図はホームバス
システム制御チヤンネル上の信号のパケツトフオ
ーマツトの概略図である。 1,11……伝送路(ホームバス)、2,12
……HBC(ホームバスコントローラ、管理機器)、
3,13……IFU(インターフエイスユニツト、
被管理機器)、13a……新規接続の被管理機器、
30……パケツト、SA……自己アドレス、DA
……相手アドレス、DATA……送信データ、3
1……ACK(アクノリツジ信号)、32……次パ
ケツト、PB1……登録パケツト、PB2……登録確認
パケツト。
FIG. 1 is a schematic configuration diagram according to a first embodiment of the present invention, FIG. 2 is a flowchart for explaining the second embodiment of the present invention, and FIG. 3 is a general schematic configuration diagram of a home bus system. , FIG. 4 is a general schematic diagram of the home bus system, and FIG. 4 is a schematic diagram of the packet format of signals on the home bus system control channel. 1, 11...Transmission line (home bus), 2, 12
...HBC (home bus controller, management equipment),
3,13...IFU (interface unit)
managed device), 13a...newly connected managed device,
30...Packet, SA...Self address, DA
...Recipient address, DATA...Transmission data, 3
1...ACK (acknowledge signal), 32...Next packet, P B1 ...Registration packet, P B2 ...Registration confirmation packet.

Claims (1)

【特許請求の範囲】 1 複数の被管理機器と、これらの各被管理機器
のアドレスを管理する管理機器とが伝送路を介し
て互いに接続され、前記被管理機器と管理機器と
からそれぞれ伝送路に送信されるパケツトによ
り、被管理機器と管理機器の相互間、ならびに被
管理機器の相互間のデータ伝送を行うように構成
されたネツトワークにおいて使用される方式であ
つて、 前記各被管理機器は、新規に接続される被管理
機器についてのアドレスが前記伝送路に既に接続
されている被管理機器についてのアドレスと重複
しているか否かを検出するアドレス重複検出手段
を備え、 このアドレス重複検出手段は、被管理機器の新
規接続により送信される登録パケツトを管理機器
が受信することにより、これに応答して管理機器
から出力される応答パケツトが、前記登録パケツ
トの送信に対応するものか否かを調べ、登録パケ
ツトが未送信の状態で応答パケツトが受信された
場合には、この応答パケツトの受信をアドレス重
複として判定するものである、 ことを特徴とする伝送路の重複アドレス検出方
式。 2 複数の被管理機器と、これらの被管理機器の
アドレスを管理する管理機器とが伝送路を介して
互いに接続され、前記被管理機器と管理機器とか
らそれぞれ伝送路に送信されるパケツトにより、
被管理機器と管理機器相互間、ならびに被管理機
器相互間のデータ伝送を行うように構成されたネ
ツトワークにおいて使用される方式であつて、 前記各被管理機器は、新規に接続される被管理
機器についてのアドレスが前記伝送路に既に接続
されている被管理機器についてのアドレスと重複
しているか否かを検出するアドレス重複検出手段
を備え、 このアドレス重複検出手段は、被管理機器が伝
送路に新規接続された場合には、送信先として自
己のアドレスをセツトしたダミーパケツトを送信
する一方、既接続の被管理機器からこのダミーパ
ケツトに対する応答パケツトが返信されてくるか
否かを調べ、応答パケツトが送信元である被管理
機器に返信されてきた場合には、この応答パケツ
トの受信をアドレス重複として判定するものであ
る、 ことを特徴とする伝送路の重複アドレス検出方
式。
[Scope of Claims] 1. A plurality of managed devices and a management device that manages the addresses of each of these managed devices are connected to each other via a transmission path, and each of the managed devices and the management device has a transmission path. A method used in a network configured to transmit data between a managed device and a managed device, and between managed devices, using packets sent to each of the managed devices. comprises an address duplication detection means for detecting whether an address of a newly connected managed device overlaps with an address of a managed device already connected to the transmission path, and the address duplication detection means The means is to determine whether a response packet outputted from the management device in response to the registration packet by the management device receiving a registration packet transmitted due to a new connection of the managed device corresponds to the transmission of the registration packet. A method for detecting duplicate addresses on a transmission path, characterized in that if a response packet is received while a registration packet has not been sent, the reception of the response packet is determined to be an address duplication. 2. A plurality of managed devices and a management device that manages the addresses of these managed devices are connected to each other via a transmission path, and packets sent from each of the managed devices and the management device to the transmission path,
A method used in a network configured to transmit data between managed devices and managed devices, and between managed devices, in which each managed device is connected to a newly connected managed device. The address duplication detection means detects whether or not the address of the device overlaps with the address of the managed device already connected to the transmission path. When a new connection is made to a device, it sends a dummy packet with its own address set as the destination, checks whether a response packet to this dummy packet is returned from the previously connected managed device, and checks if the response packet is returned. A duplicate address detection method for a transmission path, characterized in that, if a response packet is returned to a managed device that is a sender, reception of this response packet is determined as an address duplication.
JP61001797A 1986-01-08 1986-01-08 Detecting system for duplicated address of transmission line Granted JPS62159936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61001797A JPS62159936A (en) 1986-01-08 1986-01-08 Detecting system for duplicated address of transmission line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61001797A JPS62159936A (en) 1986-01-08 1986-01-08 Detecting system for duplicated address of transmission line

Publications (2)

Publication Number Publication Date
JPS62159936A JPS62159936A (en) 1987-07-15
JPH0564898B2 true JPH0564898B2 (en) 1993-09-16

Family

ID=11511558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61001797A Granted JPS62159936A (en) 1986-01-08 1986-01-08 Detecting system for duplicated address of transmission line

Country Status (1)

Country Link
JP (1) JPS62159936A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2543105B2 (en) * 1987-11-12 1996-10-16 松下電器産業株式会社 Communication control device
JPH0276432A (en) * 1988-09-13 1990-03-15 Matsushita Electric Ind Co Ltd Communication equipment with address overlap detecting function

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5057105A (en) * 1973-09-18 1975-05-19
JPS6041835A (en) * 1983-08-18 1985-03-05 Fujitsu Ltd Multi-point system
JPS60111551A (en) * 1983-11-21 1985-06-18 Fujitsu Ltd Terminal address setting system
JPS60120632A (en) * 1983-12-02 1985-06-28 Matsushita Electric Ind Co Ltd Controller
JPS60198936A (en) * 1984-03-23 1985-10-08 Hitachi Ltd Device address managing system
JPS60214137A (en) * 1984-04-09 1985-10-26 Fujitsu Ltd Network management system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5057105A (en) * 1973-09-18 1975-05-19
JPS6041835A (en) * 1983-08-18 1985-03-05 Fujitsu Ltd Multi-point system
JPS60111551A (en) * 1983-11-21 1985-06-18 Fujitsu Ltd Terminal address setting system
JPS60120632A (en) * 1983-12-02 1985-06-28 Matsushita Electric Ind Co Ltd Controller
JPS60198936A (en) * 1984-03-23 1985-10-08 Hitachi Ltd Device address managing system
JPS60214137A (en) * 1984-04-09 1985-10-26 Fujitsu Ltd Network management system

Also Published As

Publication number Publication date
JPS62159936A (en) 1987-07-15

Similar Documents

Publication Publication Date Title
US4787082A (en) Data flow control arrangement for local area network
JP2959403B2 (en) Automatic ID assignment method and apparatus for network equipment
EP1237336A2 (en) Media converter and link test technique using the same
JPH09181737A (en) Communication method for small scale network
JPH01135241A (en) Communication protocol for distributed station network
JP2710073B2 (en) Power line carrier communication system
JPH0564898B2 (en)
JP2011176436A (en) Data transmission system and air conditioner with the same
JP2937871B2 (en) Polling monitoring method
JP2666849B2 (en) Remote monitoring device
JP3767242B2 (en) Vending machine controller
JP3122682B2 (en) Data transceiver
JP2009060418A (en) Network failure detection method, data communication network system, and node device
JPS6279554A (en) Data communication system
CA1286788C (en) Data flow control arrangement for local area network
JP2638917B2 (en) Home control device
JP3539868B2 (en) Remote monitoring system
JPS62176236A (en) Method for preventing transmission error at reply packet transmission
JPH0376619B2 (en)
JP3352607B2 (en) Serial bus connection device
JP4087070B2 (en) Broadcast / ACK transmission method
JP2003348247A (en) System and method for monitoring burglary of vehicle
JP3903298B2 (en) Fire alarm system
JP2743880B2 (en) Broadcast message duplicate reception prevention function method
JP3753950B2 (en) Media converter and test mode startup method