JP2654524B2 - LAN connection port switching method - Google Patents

LAN connection port switching method

Info

Publication number
JP2654524B2
JP2654524B2 JP3124602A JP12460291A JP2654524B2 JP 2654524 B2 JP2654524 B2 JP 2654524B2 JP 3124602 A JP3124602 A JP 3124602A JP 12460291 A JP12460291 A JP 12460291A JP 2654524 B2 JP2654524 B2 JP 2654524B2
Authority
JP
Japan
Prior art keywords
port
lan
transmission
data
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP3124602A
Other languages
Japanese (ja)
Other versions
JPH04328660A (en
Inventor
晃徳 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3124602A priority Critical patent/JP2654524B2/en
Publication of JPH04328660A publication Critical patent/JPH04328660A/en
Application granted granted Critical
Publication of JP2654524B2 publication Critical patent/JP2654524B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、LANに接続するシス
テムのポート障害時のポート切り替え方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for switching ports when a port failure occurs in a system connected to a LAN.

【0002】[0002]

【従来の技術】従来、回線で通信している場合にチャネ
ル等のDTE側の回線インタフェース部分の障害に対し
ては回線切り替え装置を使用し、障害の発生していない
チャネルに切り替えるのが一般的である。しかし、LA
Nでは回線切り替え装置を付けても、切り替え時にLA
N全体の接続が切れてしまうものもあり、全てのLAN
に対して回線切り替え装置を適用することはできない。
2. Description of the Related Art Conventionally, when communication is performed via a line, it is common practice to use a line switching device to switch to a channel in which no failure has occurred, in the event of a failure in a line interface portion on the DTE side such as a channel. It is. But LA
In N, even if a line switching device is attached, LA
All LANs may be disconnected, and all LANs
Cannot be applied to the line switching device.

【0003】回線を切り替えずにLANへの接続ポート
を変更する方式としては、データリンクプロトコルを個
々のポート毎に持ち、全体でマルチリンクプロトコルを
使用して、部分的なポート障害の影響を発生しない方式
がある。
As a method of changing a connection port to a LAN without switching a line, a data link protocol is provided for each port, and a multi-link protocol is used as a whole to cause the effect of a partial port failure. There are methods that do not.

【0004】また、データリンク層より上位のネットワ
ーク層等を使用して、障害となったポートを使用しない
ようにお互いに通知しあってルーティング情報の変更を
行う方式もある。
There is also a method of changing routing information by using a network layer or the like higher than the data link layer to notify each other so as not to use a failed port.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のポート
障害回避方式では、以下に示す課題があった。
The above-described conventional port fault avoidance method has the following problems.

【0006】マルチリンクプロトコルを使用する方式で
は、マルチリンクプロトコル自身が複雑な制御を必要と
するため、対応するソフトウェアの開発が困難になる。
さらに、マルチリンクプロトコルはコネクション型のプ
ロトコルをデータリンクプロトコルとして必要とするた
め、コネクション毎に記憶域を必要とし、大量の相手と
同時に通信するためには大きな記憶域が必要となるし、
全員に一斉通知を行うブロードキャストのようなサービ
スは行いにくい。
In the method using the multilink protocol, since the multilink protocol itself requires complicated control, it becomes difficult to develop corresponding software.
Furthermore, since the multilink protocol requires a connection-type protocol as a data link protocol, a storage area is required for each connection, and a large storage area is required for simultaneously communicating with a large number of partners.
It is difficult to provide a service such as broadcast that sends a notification to all members at once.

【0007】一方、障害ポートの切り替えを上位の層の
プロトコルで通知し合う方式では、障害発生直後にルー
ティング情報書き換えの為の遅れが発生し、リアルタイ
ムな通信に向かないという課題がある。
On the other hand, the method of notifying the switching of the failed port by the protocol of the upper layer has a problem that a delay for rewriting the routing information occurs immediately after the occurrence of the failure, which is not suitable for real-time communication.

【0008】本発明の目的はLANに接続するポートに
障害が発生した時に切り替えによる転送遅れを無くすこ
とができるLANの接続ポート切り替え方式を提供する
ことにある。
An object of the present invention is to provide a LAN connection port switching method which can eliminate a transfer delay due to switching when a failure occurs in a port connected to the LAN.

【0009】[0009]

【課題を解決するための手段】上記の課題を解決するた
め、本発明の第1のシステムは、同一のLANに対し
て、2つ以上の接続ポートを持つ計算機システムに於い
て、ポートを通してLAN上にデータを送信し、またL
AN上のデータを受信するLAN送受信手段を個々のポ
ート毎に持ち、個々のポートより受信したデータが新た
なデータか既に受信済みのデータであるかを判定する同
一受信判定手段を持ち、また送信時に障害の発生してい
ないポートで、最も待ち時間の少ないポートを調べそこ
に送信を依頼する送信ポート選択手段を持ち、上記、同
一受信判定手段から受けた新しい受信データと応用プロ
グラムの要求に従ったプロトコル処理を行い、送信する
場合には、上記、送信ポート選択手段に送信を依頼する
プロトコル手段を持ち、特定のポートに障害が発生した
場合は、残りのポートを使用することを特徴とする。
In order to solve the above problems, a first system of the present invention is a computer system having two or more connection ports for the same LAN. Send data on and L
LAN transmission / reception means for receiving data on the AN is provided for each port, and identical reception determination means for determining whether data received from each port is new data or already-received data is provided and transmitted. A transmission port selecting means for examining a port having the lowest waiting time among ports where no failure has occurred at the time, and requesting transmission therefrom, in accordance with the above-mentioned new received data received from the same reception determining means and a request of an application program. In the case where the protocol processing is performed and the transmission is performed, the transmission port selection unit has a protocol unit for requesting transmission, and when a failure occurs in a specific port, the remaining ports are used. .

【0010】本発明の第2システムは、同一のLANに
対して、2つ以上の接続ポートを持つ計算機システムに
於いて、ポートを通してLAN上にデータを送信し、ま
たLAN上のデータを受信するLAN送受信手段を個々
のポート毎に持ち、個々のポートより受信したデータが
新たなデータか既に受信済みのデータであるかを判定す
る同一受信判定手段を持ち、また送信時に障害の発生し
ていない全てのポートに、送信を依頼する全ポート送信
手段を持ち、上記、同一受信判定手段から受けた新しい
受信データと応用プログラムの要求に従ったプロトコル
処理を行い、送信する場合には、上記、全ポート送信手
段に送信を依頼するプロトコル手段を持ち、特定のポー
トに障害が発生した場合は、残りのポートを使用するこ
とを特徴とする。
A second system of the present invention is a computer system having two or more connection ports for the same LAN, transmitting data on the LAN through the ports and receiving data on the LAN. LAN transmission / reception means is provided for each port, and identical reception determination means for determining whether data received from each port is new data or already received data is provided, and no failure occurs during transmission. All ports have all port transmitting means for requesting transmission, perform protocol processing according to the request of the application program with new received data received from the same reception determining means, and when transmitting, all It has a protocol means for requesting transmission to a port transmission means, and when a failure occurs in a specific port, the remaining ports are used.

【0011】[0011]

【実施例】次に本発明について図面を参照して詳細に説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail with reference to the drawings.

【0012】図1は本発明に基づいたシステムの一実施
例を示す図、図2はプロトコルデータの内容を示す図で
ある。
FIG. 1 is a diagram showing an embodiment of a system based on the present invention, and FIG. 2 is a diagram showing the contents of protocol data.

【0013】図1を参照すると、本発明のシステムは、
LAN1にポート2,3で接続し、相手システム群と接
続されている。各々のポートに対してLAN送受信手段
4,5が接続し、さらに同一受信判定手段6、送信ポー
ト選択手段7、プロトコル手段8により構成されてい
る。
Referring to FIG. 1, the system of the present invention comprises:
It is connected to LAN 1 by ports 2 and 3, and is connected to a group of partner systems. LAN transmission / reception means 4 and 5 are connected to each port, and are constituted by identical reception determination means 6, transmission port selection means 7 and protocol means 8.

【0014】図2を参照すると本発明で転送されるプロ
トコルデータは、MACレイヤのヘッダ部21と本発明
のヘッダ部22と上位レイヤのプロトコルのヘッダ部2
3と利用者データ部24から構成されている。
Referring to FIG. 2, protocol data transferred according to the present invention includes a header section 21 of the MAC layer, a header section 22 of the present invention, and a header section 2 of an upper layer protocol.
3 and a user data section 24.

【0015】MACレイヤヘッダ部21は、LAN毎に
異なるが、宛先MACアドレス201と送信元MACア
ドレス202が入っている。
The MAC layer header section 21 is different for each LAN, but contains a destination MAC address 201 and a source MAC address 202.

【0016】本発明のヘッダ部22には、宛先の論理ア
ドレス203と送信元の論理アドレス204と送信元順
序番号部205から成っている。
The header section 22 of the present invention comprises a destination logical address 203, a source logical address 204, and a source sequence number section 205.

【0017】まずアプリケーションプログラム9から送
信要求が発生すると、プロトコル手段8で適切なプロト
コル処理が行われ、上位レイヤヘッダ部23と利用者デ
ータ部24が組み立てられる。この組み立てられたデー
タと宛先システムの論理アドレス、自システムの論理ア
ドレスを送信ポート選択手段7へ送信依頼する。
First, when a transmission request is generated from the application program 9, appropriate protocol processing is performed by the protocol means 8, and the upper layer header section 23 and the user data section 24 are assembled. It requests the transmission port selecting means 7 to transmit the assembled data, the logical address of the destination system, and the logical address of its own system.

【0018】送信ポート選択手段7では自システムの立
ち上がり時間と立ち上がり時点からの送信データの順序
番号を送信元順序番号部205に設定し、さらに宛先論
理アドレス203と送信元論理アドレス204を設定す
る。
The transmission port selecting means 7 sets the rise time of the own system and the sequence number of the transmission data from the rise time in the transmission source sequence number section 205, and further sets the destination logical address 203 and the transmission source logical address 204.

【0019】送信ポート選択手段7は、現在、送信待ち
のデータが最も少ない障害の発生していないポートを検
索し、そのポートに対応するLAN送受信手段に送信を
依頼する。障害ポートは、検索されないので動作中のポ
ートのみを利用した送信動作が行われる。
The transmission port selecting means 7 searches for a port in which no data is waiting to be transmitted and has no fault, and requests the LAN transmitting / receiving means corresponding to the port to transmit. The failed port is not searched, so
The transmission operation using only the port is performed.

【0020】LAN送受信手段では、宛先MACアドレ
ス201にブロードキャストアドレスを設定し、送信元
MACアドレスに自分自身のMACアドレスを設定して
LAN1に送信する。
In the LAN transmitting / receiving means, a broadcast address is set as the destination MAC address 201, its own MAC address is set as the transmission source MAC address, and the transmission is performed to the LAN 1.

【0021】このようにして相手システムから送信され
たプロトコルデータは、宛先MACアドレスがブロード
キャストアドレスなので、ポート2,3の両方から受信
される。
The protocol data transmitted from the partner system in this manner is received from both ports 2 and 3 because the destination MAC address is a broadcast address.

【0022】LAN送受信手段4,5より受信されたデ
ータは、同一受信判定手段6に転送される。
The data received from the LAN transmission / reception means 4 and 5 is transferred to the same reception determination means 6.

【0023】同一受信判定手段6では、まず、送信元論
理アドレス毎に保留している受信順序番号と等しいか小
さい送信元順序番号部205を持つ受信データは廃棄す
る。
The same reception judging means 6 first discards the reception data having the transmission source sequence number part 205 equal to or smaller than the reception sequence number reserved for each transmission source logical address.

【0024】送信元順序番号部205が現受信順序番号
より1だけ大きい場合には、現受信順序番号を1更新す
る。
If the source sequence number section 205 is larger than the current reception sequence number by one, the current reception sequence number is updated by one.

【0025】ただし、送信元順序番号のシステム立ち上
がり時間部が変更されたら受信データを有効とし、現受
信順序番号を受信データの送信元順序番号部205に更
新する。
However, if the system rise time portion of the source sequence number is changed, the received data is validated, and the current reception sequence number is updated to the source sequence number portion 205 of the received data.

【0026】宛先論理アドレスが自分自身を示していな
いなら受信データを廃棄する。
If the destination logical address does not indicate itself, the received data is discarded.

【0027】宛先論理アドレスが自分自身を示している
ならプロトコル手段8に受信データを転送する。
If the destination logical address indicates itself, the received data is transferred to the protocol means 8.

【0028】プロトコル手段8では受信データに従った
プロトコル処理を実施し、必要に応じてアプリケーショ
ンプログラム9に受信データを転送する。
The protocol unit 8 performs a protocol process according to the received data, and transfers the received data to the application program 9 as needed.

【0029】以上において、送信時に1ポートのみを使
用する本発明の第1の方式について説明したが、送信を
依頼した直後にその送信ポートに障害が発生すると、上
位プロトコルの回復手段を待たなければデータを正しく
相手に送ることができない。
In the above description, the first method of the present invention in which only one port is used at the time of transmission has been described. However, if a failure occurs in the transmission port immediately after requesting the transmission, it is necessary to wait for the recovery means of the upper protocol. Data cannot be sent correctly to the other party.

【0030】そこで、送信ポート選択手段7の代わりに
障害の発生していないポート全てにデータの送信を行な
わせる全ポート送信手段を使用することにより、このよ
うな障害にも送信時間に影響を与えなくすることができ
る。これが本発明の第2のシステムである。
Therefore, instead of the transmission port selection means 7,
By using all-port transmitting means for transmitting data to all ports where no failure has occurred, it is possible to prevent such a failure from affecting transmission time. This is the second system of the present invention.

【0031】[0031]

【発明の効果】以上詳細に説明したように、本発明のL
ANの接続ポート切り替え方式は、マルチリンクプロト
コルのような複雑な制御を必要とせず大きな記憶域も必
要としない。また、本発明の上位プロトコルには、コネ
クション型でもコネクションレス型でも使用できるの
で、全員に一斉通知を行うブロードキャストのようなサ
ービスも可能である。
As described in detail above, the L of the present invention
The connection port switching method of the AN does not require complicated control such as a multilink protocol and does not require a large storage area. Also, since the connection type or connectionless type can be used for the upper layer protocol of the present invention, a service such as a broadcast for notifying all members simultaneously is also possible.

【0032】さらに障害発生時にも、障害ポートの切り
替えを上位の層のプロトコルで通知し合う必要がないの
で、障害発生直後にルーティング情報書き換えの為の遅
れが発生することもなく、リアルタイムな通信に向いて
いる。
Further, even when a failure occurs, there is no need to notify the switching of the failed port by a protocol of an upper layer, so that there is no delay for rewriting routing information immediately after the failure occurs, and real-time communication is realized. It is suitable.

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

【図1】本発明に基づいたシステムの通信制御部の一実
施例を示す図である。
FIG. 1 is a diagram showing one embodiment of a communication control unit of a system according to the present invention.

【図2】プロトコルデータの内容を示す図である。FIG. 2 is a diagram showing the contents of protocol data.

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

1 LAN 2,3 LAN接続ポート 4,5 LAN送受信手段 6 同一受信判定手段 7 送信ポート選択手段 8 プロトコル手段 9 アプリケーションプログラム 21 MACレイヤヘッダ部 22 本発明のヘッダ部 23 上位レイヤヘッダ部 24 利用者データ部 201 宛先MACアドレス部 202 送信元MACアドレス部 203 宛先論理アドレス部 204 送信元論理アドレス部 205 送信元順序番号部 DESCRIPTION OF SYMBOLS 1 LAN 2, 3 LAN connection port 4, 5 LAN transmission / reception means 6 Same reception determination means 7 Transmission port selection means 8 Protocol means 9 Application program 21 MAC layer header section 22 Header section of the present invention 23 Upper layer header section 24 User data Part 201 destination MAC address part 202 source MAC address part 203 destination logical address part 204 source logical address part 205 source sequence number part

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一のLANに対して、2つ以上の接続
ポートを持つ計算機システムに於いて、ポートを通して
LAN上にデータを送信し、またLAN上のデータを受
信するLAN送受信手段を個々のポート毎に持ち、個々
のポートより受信したデータが新たなデータか既に受信
済みのデータであるかを判定する同一受信判定手段を持
ち、また送信時に障害の発生していないポートで、最も
待ち時間の少ないポートを調べそこに送信を依頼する送
信ポート選択手段を持ち、上記、同一受信判定手段から
受けた新しい受信データと応用プログラムの要求に従っ
たプロトコル処理を行い、送信する場合には、上記、送
信ポート選択手段に送信を依頼するプロトコル手段を持
ち、特定のポートに障害が発生した場合は、残りのポー
トを使用することを特徴とするLANの接続ポート切り
替え方式。
In a computer system having two or more connection ports for the same LAN, LAN transmission / reception means for transmitting data on the LAN through the port and receiving data on the LAN is provided for each individual. Each port has the same reception determination means to determine whether the data received from each port is new data or already received data. It has a transmission port selecting means for checking the port with a small number and requesting transmission there, performs the above-mentioned protocol processing according to the new reception data received from the same reception determination means and the request of the application program, and when transmitting, It has protocol means to request transmission port selection means for transmission, and if a failure occurs in a specific port, it is necessary to use the remaining ports. Characteristic LAN connection port switching method.
【請求項2】 同一のLANに対して、2つ以上の接続
ポートを持つ計算機システムに於いて、ポートを通して
LAN上にデータを送信し、またLAN上のデータを受
信するLAN送受信手段を個々のポート毎に持ち、個々
のポートより受信したデータが新たなデータか既に受信
済みのデータであるかを判定する同一受信判定手段を持
ち、また送信時に障害の発生していない全てのポート
に、送信を依頼する全ポート送信手段を持ち、上記、同
一受信判定手段から受けた新しい受信データと応用プロ
グラムの要求に従ったプロトコル処理を行い、送信する
場合には、上記、全ポート送信手段に送信を依頼するプ
ロトコル手段を持ち、特定のポートに障害が発生した場
合は、残りのポートを使用することを特徴とするLAN
の接続ポート切り替え方式。
2. In a computer system having two or more connection ports for the same LAN, LAN transmission / reception means for transmitting data on the LAN through the port and receiving data on the LAN is provided for each individual. Each port has the same reception determination means that determines whether the data received from each port is new data or data that has already been received, and transmits data to all ports that have not failed at the time of transmission. Requesting the port, perform the protocol processing in accordance with the request of the application program with the new reception data received from the same reception determination means, and when transmitting, send the transmission to the all port transmission means. A LAN which has a protocol means for making a request and uses a remaining port when a failure occurs in a specific port.
Connection port switching method.
JP3124602A 1991-04-30 1991-04-30 LAN connection port switching method Expired - Fee Related JP2654524B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3124602A JP2654524B2 (en) 1991-04-30 1991-04-30 LAN connection port switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3124602A JP2654524B2 (en) 1991-04-30 1991-04-30 LAN connection port switching method

Publications (2)

Publication Number Publication Date
JPH04328660A JPH04328660A (en) 1992-11-17
JP2654524B2 true JP2654524B2 (en) 1997-09-17

Family

ID=14889505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3124602A Expired - Fee Related JP2654524B2 (en) 1991-04-30 1991-04-30 LAN connection port switching method

Country Status (1)

Country Link
JP (1) JP2654524B2 (en)

Also Published As

Publication number Publication date
JPH04328660A (en) 1992-11-17

Similar Documents

Publication Publication Date Title
JP3746785B2 (en) Network station with multiple network addresses
US7640364B2 (en) Port aggregation for network connections that are offloaded to network interface devices
US5590328A (en) Protocol parallel processing apparatus having a plurality of CPUs allocated to process hierarchical protocols
EP1379038B1 (en) Method for implementing router interface backup with virtual router redundancy protocol
US7693169B2 (en) Transmission apparatus and frame transmission method
JPH0793638B2 (en) Satellite packet communication method
US7269661B2 (en) Method using receive and transmit protocol aware logic modules for confirming checksum values stored in network packet
US6421317B1 (en) Method and apparatus for an automatic load balancing and back-up of a multi-users network
US5440558A (en) Data link setup in connection-oriented local area network with floating administration of data link addresses
JPH09130408A (en) Network interface device
JP2654524B2 (en) LAN connection port switching method
JP2947121B2 (en) Network access method
JPH09252271A (en) Data transmitter and its method
JPH09326810A (en) Connection changeover method on occurrence of fault
JPS63146536A (en) Data communication system
JP3041533B2 (en) LAN connection device
JPH08186601A (en) Data transfer method for communication equipment
JP2933470B2 (en) LAN connection router
JPH08139741A (en) Multi-adaptor control method
JPH0621925A (en) Communication control system for multiplex transmission line
JPH10327176A (en) Method and system for switching multiplex lan
JP2000031966A (en) Lan switching device
JP2001168938A (en) Multi-link controller and multi-link control method
JPH08130557A (en) Method and system for switching connection line
JPH0364224A (en) Multi-port bridge device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090530

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100530

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees