JPH07193587A - Communication system - Google Patents

Communication system

Info

Publication number
JPH07193587A
JPH07193587A JP5331904A JP33190493A JPH07193587A JP H07193587 A JPH07193587 A JP H07193587A JP 5331904 A JP5331904 A JP 5331904A JP 33190493 A JP33190493 A JP 33190493A JP H07193587 A JPH07193587 A JP H07193587A
Authority
JP
Japan
Prior art keywords
address
packet
terminal
terminals
addresses
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.)
Withdrawn
Application number
JP5331904A
Other languages
Japanese (ja)
Inventor
Yasuyuki Suzuki
康之 鈴木
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP5331904A priority Critical patent/JPH07193587A/en
Publication of JPH07193587A publication Critical patent/JPH07193587A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To prevent the overlap of the addresses of terminals not only in the connection of systems but in any case by inquiring the addresses from the prescribed terminal to all the other terminals by a multi-address system and displaying abnormality when the terminal having the matched address exists in the system. CONSTITUTION:A terminal 10 on a transmission-side transmits an inspection packet to a transmission line 11 and sets a timer. Then, the timer is checked. When setting time is not elapsed, a reception packet is recorded in a buffer memory 32 and the type field of the reception packet is viewed. When it is an inspection response packet, a transmission source address is registered in a data base 33, and a processing is terminated. When setting time is elapsed in the timer on the other hand, the address item of the data base 33 is retrieved, and the overlap of the addresses is inspected. When overlap is judged, plural terminals having the same addresses are judged to exist in the system, and abnormality is displayed. An MAC controller 34 transmits/receives the packet to and from the transmission line 11.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えば端末がバス状に
接続された通信システムに係り、特にシステムの異常を
監視する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system in which, for example, terminals are connected in a bus shape, and more particularly to a technique for monitoring system abnormality.

【0002】[0002]

【従来の技術】従来より、この種の通信システムにおい
ては、ローカル管理されたMACアドレスは、システム
ごとに割当てられる。このため、同じ値のMACアドレ
スが割り付けられたシステム間を接続した場合に、同じ
値のアドレスが複数のシステム内に存在する可能性があ
る。そして、同じ値のアドレスが複数のシステム内に存
在することになると、システムに不要なトラフィックが
増大する等の悪影響を及ぼし、場合によってはシステム
がダウンすることも考えられる。そこで、本発明者等
は、システム内の同一アドレスを持つ端末を検出する技
術として、同一アドレスを持つ端末を含む複数のシステ
ムをブリッジのようなLAN間接続装置により接続した
際に、接続した両システムに同一アドレスを持つ端末が
存在すると、該当端末のパケットの転送を中止し、異常
を通報する装置を提唱した。
2. Description of the Related Art Conventionally, in this type of communication system, locally managed MAC addresses are assigned for each system. Therefore, when connecting the systems to which the MAC address of the same value is assigned, the addresses of the same value may exist in a plurality of systems. If the addresses having the same value are present in a plurality of systems, the system may be adversely affected by an increase in unnecessary traffic or the like, and the system may be shut down in some cases. Therefore, as a technique for detecting a terminal having the same address in a system, the present inventors have connected a plurality of systems including terminals having the same address when connecting by a LAN-to-LAN connecting device such as a bridge. If there is a terminal with the same address in the system, we proposed a device that stops the packet transfer of the corresponding terminal and reports an abnormality.

【0003】しかし、こうしたアドレスの重複は、シス
テム間の接続の他に、アドレスの設定ミス、移動等で起
こり得る。
However, such address duplication may occur due to address setting mistakes, movement, etc., in addition to the connection between systems.

【0004】[0004]

【発明が解決しようとする課題】そこで、本発明の目的
は、システム間の接続ばかりでなく、あらゆる場合にお
ける端末のアドレスの重複を防止できる通信システムを
提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide not only connection between systems but also a communication system capable of preventing duplication of address of terminals in all cases.

【0005】[0005]

【課題を解決するための手段】かかる課題を解決するた
め、請求項1記載の本発明は、システム内において、検
査用パケットと検査用応答パケットを定義し、検査用パ
ケットに対して検査用応答パケットを返送する手段と、
この検査用応答パケットからシステムのアドレス重複に
よる異常を検出する手段を具備し、システム内のアドレ
スの重複を検出・表示することを特徴とする。
In order to solve the above problems, the present invention according to claim 1 defines an inspection packet and an inspection response packet in a system, and inspects the inspection packet in response to the inspection packet. Means for returning packets,
It is characterized by including means for detecting an abnormality due to address duplication of the system from the inspection response packet, and detecting / displaying duplication of addresses in the system.

【0006】請求項2記載の本発明は、固有のアドレス
を持つ端末を複数有する通信システムにおいて、(a)
1つの端末が、他のすべての端末に対して当該他の端末
のアドレスの送信を要求する手段と、前記送信されたア
ドレスに基づいてシステムのアドレス重複を検出する手
段とを具備し、(b)前記他のすべての端末が、前記1
つの端末からアドレスの送信要求を受信すると、前記1
つの端末に対して自己のアドレスを送信する手段を具備
する。
According to a second aspect of the present invention, in a communication system having a plurality of terminals having unique addresses, (a)
One terminal comprises means for requesting all other terminals to transmit the address of the other terminal, and means for detecting address duplication of the system based on the transmitted address, (b) ) All other terminals are
When an address transmission request is received from one terminal,
It is provided with means for transmitting its own address to one terminal.

【0007】請求項3記載の本発明は、固有のアドレス
を持つ端末を複数有する通信システムにおいて、(a)
1つの端末が、他のすべての端末に対して当該他の端末
のアドレスの送信を要求する手段と、前記送信されたア
ドレスに基づいてシステムのアドレス重複を検出する手
段と、前記システムのアドレス重複を検出したとき、こ
れを報知する手段とを具備し、(b)前記他のすべての
端末が、前記1つの端末からアドレスの送信要求を受信
すると、前記1つの端末に対して自己のアドレスを送信
する手段を具備する。
According to a third aspect of the present invention, in a communication system having a plurality of terminals having unique addresses, (a)
One terminal requests all other terminals to transmit the address of the other terminal, a means for detecting a system address duplication based on the transmitted address, and an address duplication of the system. And (b) when all the other terminals receive a request to send an address from the one terminal, they are notified to the one terminal of their own address. A means for transmitting is provided.

【0008】[0008]

【作用】本発明では、検査用パケットおよび検査用応答
パケットを定義する。この検査用パケットおよび検査用
応答パケットは、パケット内にそれぞれ特定の書き込み
を行い、このパケットが検査用のパケットおよび検査用
の応答パケットであることを識別する。
In the present invention, the inspection packet and the inspection response packet are defined. The inspection packet and the inspection response packet respectively perform specific writing in the packet to identify that this packet is an inspection packet and an inspection response packet.

【0009】送信端末が検査用パケットを同報で送信す
る。システム内の全端末はこのパケットを受信すると、
このパケットの書き込みから検査用パケットと判定し、
受信端末は自分のアドレスを送信元アドレスに書き込み
検査用応答パケットを送信する。
The transmitting terminal broadcasts the inspection packet. When all terminals in the system receive this packet,
Judging from the writing of this packet as a test packet,
The receiving terminal sends a write inspection response packet with its own address as the source address.

【0010】送信端末は各受信粉末から返答された検査
用応答パケットから、システム内の各端末のアドレスを
抽出する。このアドレスデータからシステム内のアドレ
ス重複を判定する。端末のアドレス重複を判定したとき
は、外部に表示する機能を持つことにより、アドレス重
複によるシステム障害を防ぐ等の作用を持つ。
The transmitting terminal extracts the address of each terminal in the system from the inspection response packet returned from each receiving powder. Address duplication in the system is determined from this address data. When it is determined that the address of the terminal is duplicated, it has a function of displaying it to the outside to prevent a system failure due to the duplicated address.

【0011】[0011]

【実施例】以下、本発明の実施例の詳細を図面に基づい
て説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0012】図1は本発明の一実施例に係る通信システ
ムの構成を示す図である。
FIG. 1 is a diagram showing the configuration of a communication system according to an embodiment of the present invention.

【0013】同図に示す通信システムは、複数の端末1
0を伝送路11を介してバス状に接続して構成される。
各端末10は、それぞれ固有のアドレスを持つ。
The communication system shown in the figure includes a plurality of terminals 1.
0s are connected in a bus shape via a transmission line 11.
Each terminal 10 has its own unique address.

【0014】図2は図1に示した通信システムにおいて
使用されるパケットのフォーマットを示す図であり、I
EEE802.3に準拠している。
FIG. 2 is a diagram showing a packet format used in the communication system shown in FIG.
It conforms to EEE802.3.

【0015】このパケットは、同図に示すように、宛先
アドレスフィールド20、送信元アドレスフィールド2
1、タイプフィールド22、データフィールド23及び
フレーム検査シーケンス(CRC)フィールド24から
なる。宛先アドレスフィールド20には、パケットの宛
先のアドレスが書き込まれる。送信元アドレスフィール
ド21には、送信元のアドレスが書き込まれる。タイプ
フィールド22には、通常、レングスが書き込まれる
が、本実施例では、このタイプフィールドに独特の書き
込みを行い、当該パケットが検査用パケットまたは検査
用応答パケットであることが示される。データフィール
ド23には、通信相手に送る情報が書き込まれる。フレ
ーム検査シーケンスフィールド24には、巡回冗長検査
値が書き込まれる。
This packet has a destination address field 20 and a source address field 2 as shown in FIG.
1, a type field 22, a data field 23, and a frame check sequence (CRC) field 24. In the destination address field 20, the address of the packet destination is written. The source address is written in the source address field 21. The length is normally written in the type field 22, but in this embodiment, unique writing is performed in this type field to indicate that the packet is an inspection packet or an inspection response packet. Information to be sent to a communication partner is written in the data field 23. A cyclic redundancy check value is written in the frame check sequence field 24.

【0016】図3は端末10の構成を示す図であり、C
PU31、バッファメモリ32、データベース33、M
ACコントローラ34及びI/O35が、バス36を介
して接続されている。CPU31は、端末10全体の制
御を行う。バッファメモリ32は、受信したパケットを
格納する。データベース33は、アドレス情報を記憶す
る。MACコントローラ34は、伝送路11へのパケッ
トの送受信を行う。I/O35は、異常検出時にそのこ
とを外部に表示する。
FIG. 3 is a diagram showing the configuration of the terminal 10, which is C
PU 31, buffer memory 32, database 33, M
The AC controller 34 and the I / O 35 are connected via the bus 36. The CPU 31 controls the entire terminal 10. The buffer memory 32 stores the received packet. The database 33 stores address information. The MAC controller 34 sends and receives packets to and from the transmission path 11. The I / O 35 displays the fact to the outside when an abnormality is detected.

【0017】図4は本発明に係る動作のうち、送信側の
端末10(CPU31)が行うものを示すフローチャー
トである。
FIG. 4 is a flowchart showing an operation performed by the terminal 10 (CPU 31) on the transmitting side among the operations according to the present invention.

【0018】まず、送信側の端末10は、伝送路11へ
検査用パケットを送信する(ステップ40)とともに、
タイマーをセットする(ステップ41)。
First, the terminal 10 on the transmission side transmits an inspection packet to the transmission line 11 (step 40), and at the same time,
Set a timer (step 41).

【0019】この後、セットしたタイマーを調べ設定時
間を経過したかを判定する(ステップ42)。
Thereafter, the set timer is checked to determine whether the set time has elapsed (step 42).

【0020】そして、経過していなければ、受信パケッ
トをバッファメモリ32に記録し、受信パケットのタイ
プフィールド22を見て検査用応答パケットであるかを
判定する(ステップ43)。
If it has not elapsed, the received packet is recorded in the buffer memory 32, and the type field 22 of the received packet is checked to determine whether the packet is an inspection response packet (step 43).

【0021】検査用応答パケットであれば送信元アドレ
スをデータベース33に登録し(ステップ44)、終了
する。なお、データベース33のフォーマット例を図5
に示す。
If it is a response packet for inspection, the source address is registered in the database 33 (step 44), and the processing is terminated. A format example of the database 33 is shown in FIG.
Shown in.

【0022】一方、セットしたタイマーが設定時間を経
過している場合には、データベース33のアドレス項目
を検索し、アドレスの重複を検査する(ステップ4
5)。
On the other hand, when the set timer has passed the set time, the address item of the database 33 is searched to check the address duplication (step 4).
5).

【0023】ここで、重複が判定されれば、システム内
に同一アドレスを持つ端末が複数存在すると判定し(ス
テップ46)、異常を表示する(ステップ47)。
If duplication is determined, it is determined that there are a plurality of terminals having the same address in the system (step 46), and an abnormality is displayed (step 47).

【0024】なお、ステップ41で設定するタイマーの
時間は端末が応答パケットを返すのに十分な時間とす
る。
The timer set in step 41 is set to a time sufficient for the terminal to return a response packet.

【0025】図6は本発明に係る動作のうち、受信側の
端末10(CPU31)が行うものを示すフローチャー
トである。
FIG. 6 is a flowchart showing the operation performed by the receiving side terminal 10 (CPU 31) among the operations according to the present invention.

【0026】受信側の端末10は、伝送路11からパケ
ットを受信すると(ステップ60)、タイプフィールド
22を見て、受信したパケットが検査用パケットである
かを判定する(ステップ61)。
Upon receiving the packet from the transmission path 11 (step 60), the receiving side terminal 10 looks at the type field 22 and determines whether the received packet is an inspection packet (step 61).

【0027】そして、検査用パケットでないとき、つま
り通常のパケットを受信したときには、通常処理を行う
(ステップ62)。
When the packet is not a test packet, that is, when a normal packet is received, normal processing is performed (step 62).

【0028】一方、検査用パケットであるときには、パ
ケットのタイプフィールド22部分に検査用応答パケッ
トであることを示す特定の書き込みを行うとともに、送
信元アドレスフィールド21に当該受信側の端末10の
アドレスを書き込み、このパケットを検査用応答パケッ
トとして伝送路11へ送信する(ステップ63)。
On the other hand, when the packet is an inspection packet, a specific write indicating that it is an inspection response packet is written in the type field 22 of the packet, and the address of the receiving terminal 10 is set in the source address field 21. It is written, and this packet is transmitted to the transmission line 11 as a test response packet (step 63).

【0029】このように本実施例では、ある端末10か
ら同報形式で他のすべての端末10に対してアドレスの
問い合わせを行い、一致するアドレスを有する端末10
がシステム内に存在する場合には異常の表示を行ってい
るので、アドレス重複によるシステム障害を防ぎ、シス
テムダウンを起こさないシステムを実現することがで
き、さらに対策をとる機会を与えることができる。
As described above, in this embodiment, an inquiry is made from one terminal 10 to all the other terminals 10 in a broadcast format, and the terminals 10 having the matching address are inquired.
If is present in the system, an error is displayed, so it is possible to prevent a system failure due to address duplication, realize a system that does not cause a system down, and give an opportunity to take further measures.

【0030】なお、本発明は上述した実施例に限定され
ることはない。
The present invention is not limited to the above embodiment.

【0031】例えば、上述した通信システムはバス型で
あったが、ループ状の通信システム等であっても構わな
い。
For example, although the communication system described above is a bus type, it may be a loop communication system or the like.

【0032】[0032]

【発明の効果】以上説明したように、本発明の通信シス
テムによれば、アドレス重複によるシステム障害やシス
テムダウンを防止することができる。また、アドレス重
複に対してユーザに対策をとる機会を与えることができ
る。
As described above, according to the communication system of the present invention, it is possible to prevent the system failure and the system down due to the address duplication. In addition, it is possible to give the user an opportunity to take measures against address duplication.

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

【図1】本発明の一実施例に係る通信システムの構成を
示す図である。
FIG. 1 is a diagram showing a configuration of a communication system according to an embodiment of the present invention.

【図2】IEEE802.3に準拠するパケットのフォ
ーマット例を示す図である。
FIG. 2 is a diagram showing an example of a packet format conforming to IEEE802.3.

【図3】図1に示す端末の構成を示す図である。FIG. 3 is a diagram showing a configuration of a terminal shown in FIG.

【図4】本発明の一実施例に係る通信システムにおける
送信側の処理を示すフローチャートである。
FIG. 4 is a flowchart showing processing on the transmission side in the communication system according to the embodiment of the present invention.

【図5】本発明の一実施例に係る通信システムにおける
データベースのフォーマットの一例を示す図である。
FIG. 5 is a diagram showing an example of a format of a database in the communication system according to the embodiment of the present invention.

【図6】本発明の一実施例に係る通信システムにおける
受信側の処理を示すフローチャートである。
FIG. 6 is a flowchart showing processing on the receiving side in the communication system according to the embodiment of the present invention.

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

10…端末、11…伝送路、31…CPU、32…バッ
ファメモリ、33…データベース、34…MACコント
ローラ、35…I/O、36…バス。
10 ... Terminal, 11 ... Transmission path, 31 ... CPU, 32 ... Buffer memory, 33 ... Database, 34 ... MAC controller, 35 ... I / O, 36 ... Bus.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 システム内において、検査用パケットと
検査用応答パケットを定義し、検査用パケットに対して
検査用応答パケットを返送する手段と、この検査用応答
パケットからシステムのアドレス重複による異常を検出
する手段を具備し、システム内のアドレスの重複を検出
・表示することを特徴とする通信システム。
1. A means for defining an inspection packet and an inspection response packet in the system, for returning the inspection response packet to the inspection packet, and an abnormality due to the address duplication of the system from the inspection response packet. A communication system comprising means for detecting, and detecting / displaying duplication of addresses in the system.
【請求項2】 固有のアドレスを持つ端末を複数有する
通信システムにおいて、(a)1つの端末が、 他のすべての端末に対して当該他の端末のアドレスの送
信を要求する手段と、 前記送信されたアドレスに基づいてシステムのアドレス
重複を検出する手段とを具備し、 (b)前記他のすべての端末が、 前記1つの端末からアドレスの送信要求を受信すると、
前記1つの端末に対して自己のアドレスを送信する手段
を具備することを特徴とする通信システム。
2. In a communication system having a plurality of terminals having unique addresses, (a) one terminal requests all other terminals to send the addresses of the other terminals, and the transmission. And (b) all the other terminals receive a request to send an address from the one terminal.
A communication system comprising means for transmitting its own address to the one terminal.
【請求項3】 固有のアドレスを持つ端末を複数有する
通信システムにおいて、(a)1つの端末が、 他のすべての端末に対して当該他の端末のアドレスの送
信を要求する手段と、 前記送信されたアドレスに基づいてシステムのアドレス
重複を検出する手段と、 前記システムのアドレス重複
を検出したとき、これを報知する手段とを具備し、 (b)前記他のすべての端末が、 前記1つの端末からアドレスの送信要求を受信すると、
前記1つの端末に対して自己のアドレスを送信する手段
を具備することを特徴とする通信システム。
3. In a communication system having a plurality of terminals each having a unique address, (a) one terminal requests all other terminals to transmit the addresses of the other terminals; (B) all the other terminals are configured to detect the address duplication of the system based on the generated address, and a means of notifying the address duplication of the system when the address duplication of the system is detected. When receiving the request to send the address from the terminal,
A communication system comprising means for transmitting its own address to the one terminal.
JP5331904A 1993-12-27 1993-12-27 Communication system Withdrawn JPH07193587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5331904A JPH07193587A (en) 1993-12-27 1993-12-27 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5331904A JPH07193587A (en) 1993-12-27 1993-12-27 Communication system

Publications (1)

Publication Number Publication Date
JPH07193587A true JPH07193587A (en) 1995-07-28

Family

ID=18248937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5331904A Withdrawn JPH07193587A (en) 1993-12-27 1993-12-27 Communication system

Country Status (1)

Country Link
JP (1) JPH07193587A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000036840A (en) * 1998-07-17 2000-02-02 Toshiba Corp Communication equipment, communication method and computer-readable recording medium recorded with communication program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000036840A (en) * 1998-07-17 2000-02-02 Toshiba Corp Communication equipment, communication method and computer-readable recording medium recorded with communication program

Similar Documents

Publication Publication Date Title
US5357525A (en) Multiplex transmission system
US6421317B1 (en) Method and apparatus for an automatic load balancing and back-up of a multi-users network
US6891840B2 (en) LAN path control system capable of easily changing active port of terminal
JPH07193587A (en) Communication system
JPS60149239A (en) Communication network system
JPS6072351A (en) Method for supervising operating condition of packet communication system
JP2811770B2 (en) Host computer device
JP2751861B2 (en) Network system fault detection processing circuit
JP2617648B2 (en) Network configuration recognition device
JP2823710B2 (en) Building management system
JP2503861B2 (en) Supervisory control method
JP2828044B2 (en) Communication apparatus, communication system, and failure notification method having failure notification function
JP2616727B2 (en) Wireless local area network method
JP2504291B2 (en) Terminal address management method for data communication device
JPH0563716A (en) Reply confirming system for ring bus
JP2746961B2 (en) Facsimile communication system
JPH04129346A (en) Communication system provided with duplicate address detection function
JPS63168757A (en) Bus error detecting system
JPH0514354A (en) Duplicate address check system
JPS63197144A (en) Information communication system
JP2677895B2 (en) Multiplex transmission method
JPH0923245A (en) Inter-network connector
JP2760322B2 (en) Parity error failure agent identification method
JPS6159944A (en) Sequence number check system
JPS61196637A (en) Duplex control system for communicating control equipment

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306