JP4716258B2 - COMMUNICATION SYSTEM AND METHOD FOR SWITCHING ACTIVITY DEVICE AND PREPARATION DEVICE - Google Patents

COMMUNICATION SYSTEM AND METHOD FOR SWITCHING ACTIVITY DEVICE AND PREPARATION DEVICE Download PDF

Info

Publication number
JP4716258B2
JP4716258B2 JP2006082993A JP2006082993A JP4716258B2 JP 4716258 B2 JP4716258 B2 JP 4716258B2 JP 2006082993 A JP2006082993 A JP 2006082993A JP 2006082993 A JP2006082993 A JP 2006082993A JP 4716258 B2 JP4716258 B2 JP 4716258B2
Authority
JP
Japan
Prior art keywords
state
standby
packet
switching
active
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
JP2006082993A
Other languages
Japanese (ja)
Other versions
JP2007259239A (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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2006082993A priority Critical patent/JP4716258B2/en
Publication of JP2007259239A publication Critical patent/JP2007259239A/en
Application granted granted Critical
Publication of JP4716258B2 publication Critical patent/JP4716258B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、IP伝送路に接続された現用装置及び予備装置で構成される冗長構成を持つ通信システムにおける現用装置と予備装置の切替方法に関する。   The present invention relates to a switching method between an active device and a standby device in a communication system having a redundant configuration including an active device and a standby device connected to an IP transmission line.

従来のシステム構成を、図9及び図10に示す。図9は、現用装置30が運用状態且つ予備装置40が待機状態を示し、図10は、現用装置30が待機状態、予備装置40が運用状態の場合を示す。   A conventional system configuration is shown in FIGS. FIG. 9 shows a case where the active device 30 is in an operating state and the standby device 40 is in a standby state, and FIG. 10 shows a case where the active device 30 is in a standby state and the standby device 40 is in an operating state.

IP伝送路に接続された現用装置30及び予備装置40で構成される冗長構成を持つ通信システムにおいて、現用装置30が運用状態且つ予備装置40が待機状態又は現用装置30が待機状態且つ予備装置40が運用状態のいずれの状態であるかを、対向装置10はIPパケットの送信時に意識することなく、常に運用状態側の装置にIPパケットを渡すため、現用装置30には現用装置30に固有の現用MACアドレス、予備装置40には予備装置40に固有の予備MACアドレスをそれぞれ割り当て、IPアドレスは現用装置30と予備装置40にくくりつけとはせず、運用側に運用IPアドレス、待機側に待機IPアドレスとして割り付ける。   In a communication system having a redundant configuration composed of an active device 30 and a standby device 40 connected to an IP transmission line, the active device 30 is in an operating state and the standby device 40 is in a standby state, or the active device 30 is in a standby state and the standby device 40 Since the opposite device 10 always passes the IP packet to the device in the operation state without being aware of when the IP packet is transmitted, the active device 30 is unique to the active device 30. A spare MAC address unique to the spare device 40 is assigned to each of the working MAC address and the spare device 40, and the IP address is not tied to the working device 30 and the spare device 40. Assign as a standby IP address.

現用装置30が運用状態且つ予備装置40が待機状態の場合は、運用IPアドレス及び現用MACアドレスを現用装置30に、待機IPアドレス及び予備MACアドレスを予備装置40に割付け、現用装置30が待機状態且つ予備装置40が運用状態の場合は、待機IPアドレス及び現用MACアドレスを現用装置30に、運用IPアドレス及び予備MACアドレスを予備装置40に割付ける。   When the active device 30 is in the operating state and the standby device 40 is in the standby state, the operating IP address and the current MAC address are assigned to the active device 30, the standby IP address and the standby MAC address are assigned to the standby device 40, and the active device 30 is in the standby state. When the standby device 40 is in the operating state, the standby IP address and the current MAC address are allocated to the current device 30, and the operating IP address and the standby MAC address are allocated to the standby device 40.

対向装置10は、運用側にIPパケットを送信する時、運用IPアドレス宛とし、その時のIPアドレスに対応したMACアドレスをIPヘッダとする。   When the opposite device 10 transmits an IP packet to the operation side, it is addressed to the operation IP address, and the MAC address corresponding to the IP address at that time is the IP header.

IP網において、直近へのルーティングはMACアドレスにて行われるので、対向装置10が運用側にIPパケットを送信する場合で、現用装置30が運用状態且つ予備装置40が待機状態では、運用IPアドレス且つ現用MACアドレスを使用することにより、現用MACアドレスを持つ現用装置30にIPパケットは届く。   In the IP network, the most recent routing is performed by the MAC address. Therefore, when the opposite device 10 transmits an IP packet to the operation side, the active IP address is in the active state and the standby device 40 is in the standby state. In addition, by using the working MAC address, the IP packet reaches the working device 30 having the working MAC address.

また、対向装置10が運用側にIPパケットを送信する場合で、現用装置30が待機状態且つ予備装置40が運用状態では、運用IPアドレス且つ予備MACアドレスを使用することにより、予備MACアドレスを持つ予備装置40にIPパケットは届く。   Further, when the opposite device 10 transmits an IP packet to the operation side and the active device 30 is in the standby state and the standby device 40 is in the operation state, the operation IP address and the backup MAC address are used to have a spare MAC address. The IP packet reaches the spare device 40.

対向装置10は、ARP(Address Resolution Protocol)プロトコルによって、IPアドレスとMACアドレスの対応付けを常に監視し、運用状態側及び待機状態側が変更になった時は、IPアドレスとMACアドレスの対応付けを変更し、ARPテーブルの書き換えを行う。   The opposite device 10 always monitors the association between the IP address and the MAC address by the ARP (Address Resolution Protocol) protocol, and associates the IP address with the MAC address when the operation state side and the standby state side are changed. Change and rewrite the ARP table.

また、現用系と待機系とで冗長構成されたATM通信システムにおいて、装置の出力段に選択回路部を設けることなく、現用系から待機系へ無瞬断で切り替えることができる無瞬断二重化切り替え装置がある(例えば、特許文献1参照)。
特開2004−186802号公報
In addition, in an ATM communication system that is redundantly configured with an active system and a standby system, an uninterruptible duplex switching that can be switched from an active system to a standby system without an instantaneous interruption without providing a selection circuit unit at the output stage of the apparatus. There is an apparatus (for example, refer to Patent Document 1).
JP 2004-186802 A

しかしながら、従来のシステム構成では、ARPは一定時間毎に実行され、ARPの実行間隔はIP伝送の邪魔にならないように一般的には5分程度となっているため、現用装置30と予備装置40を数ミリ秒程度の短時間に切り替えることができない。   However, in the conventional system configuration, the ARP is executed at regular intervals, and the ARP execution interval is generally about 5 minutes so as not to disturb the IP transmission. Cannot be switched in a short time of several milliseconds.

現用装置30が運用状態且つ待機装置40が待機状態、又は現用装置30が待機状態且つ予備装置40が運用状態のいずれかの状態にあって、これらの状態は任意の時刻に切替が行われ、対向装置10はARPによって始めて切り替わりを認識し、対向装置10内のARPテーブルの書き換えが行われる。   The active device 30 is in the operating state and the standby device 40 is in the standby state, or the active device 30 is in the standby state and the standby device 40 is in the operating state, and these states are switched at an arbitrary time, The opposite device 10 recognizes switching for the first time by ARP, and the ARP table in the opposite device 10 is rewritten.

そのため、切替直後から対向装置10がARPによって切り替わりを認識するまでの時間は、対向装置10から送信したIPパケットが正しい宛先に届かず、パケットの喪失が起きる問題がある。   Therefore, there is a problem that the IP packet transmitted from the opposite device 10 does not reach the correct destination and the packet is lost during the time from immediately after the change to the opposite device 10 recognizing the change by ARP.

通信機器において呼制御としてIPパケットを使用し、且つ呼制御装置が現用装置30、予備装置40の冗長構成をとっている場合、重要な呼制御IPパケットが1個でも喪失してしまうとシステムへの影響が大きく、従来の切替方法では問題になる。   When an IP packet is used for call control in a communication device and the call control device has a redundant configuration of the active device 30 and the spare device 40, if even one important call control IP packet is lost, the system goes to the system. The influence of this is large and becomes a problem in the conventional switching method.

そこで本発明は、対向装置が現用装置及び予備装置の状態を全く意識せず、且つ現用装置及び予備装置の切替が数ミリ秒程度の短時間で行われ、且つ切替時にIPパケットの喪失、重複が全く起きないIP伝送路に接続された現用装置と予備装置の切替システム及び方法を提供することを目的とする。   Therefore, in the present invention, the opposite device is completely unaware of the status of the working device and the spare device, and the switching between the working device and the spare device is performed in a short time of about several milliseconds, and the IP packet is lost or duplicated at the time of switching. It is an object of the present invention to provide a system and method for switching between an active device and a spare device connected to an IP transmission line in which no occurrence occurs.

上述の課題を解決するため、本発明に係る通信システムは、IP伝送路に接続された現用装置及び予備装置で構成される冗長構成を持つ通信システムにおいて、対向装置は、前記現用装置又は予備装置にIPパケットを送信する際に、IPヘッダにはマルチキャストMACアドレス及びマルチキャストIPアドレスを付与し、ペイロードにはIPパケット識別用のシーケンス番号を付与したIPパケットを、レイヤ2スイッチを通して前記現用装置及び予備装置にマルチキャストすることにより、前記現用装置及び予備装置に常に同じIPパケットを配信し、前記現用装置及び予備装置は、運用状態から待機状態に移行する時に運用状態と待機状態の間に切替中状態を入れ、待機状態から運用状態に移行する時に待機状態と運用状態の間に切替中状態を入れ、運用状態から待機状態へ移行する側の切替中状態のタイミングより待機状態から運用状態に移行する側の切替中状態のタイミングを遅らせ、運用状態から待機状態へ移行する側の切替中状態時に受信したIPパケットと、待機状態から運用状態に移行する側の切替中状態時に受信したIPパケットとを比較することにより、待機状態から運用状態に移行する側の重複しているIPパケットを削除し、待機状態から運用状態に移行する側の装置が重複したIPパケットを削除して残ったIPパケットを処理することを特徴とする。
In order to solve the above-described problems, a communication system according to the present invention is a communication system having a redundant configuration including an active device and a standby device connected to an IP transmission line, and the opposite device is the active device or the standby device. When an IP packet is transmitted to an IP packet, a multicast MAC address and a multicast IP address are assigned to the IP header, and an IP packet to which a sequence number for IP packet identification is assigned to the payload is passed through the layer 2 switch to the active device and the spare device. By multicasting to the device, the same IP packet is always distributed to the active device and the standby device, and the active device and the standby device are switching between the operating state and the standby state when shifting from the operating state to the standby state. And switch between the standby state and the operating state Enter the intermediate state, delay the timing of the switching state on the side that transitions from the standby state to the operational state from the timing of the switching state on the side that transitions from the operational state to the standby state, and switch the side that transitions from the operational state to the standby state By comparing the IP packet received in the intermediate state with the IP packet received in the switching state on the side transitioning from the standby state to the operational state, the duplicate IP packet on the side transitioning from the standby state to the operational state And the apparatus on the side that shifts from the standby state to the operating state deletes duplicate IP packets and processes the remaining IP packets.

本発明に係る通信システムの現用装置と予備装置の切替方法は、IP伝送路に接続された現用装置及び予備装置で構成される冗長構成を持つ通信システムの現用装置と予備装置の切替方法であって、対向装置が、前記現用装置又は予備装置にIPパケットを送信する際に、IPヘッダにはマルチキャストMACアドレス及びマルチキャストIPアドレスを付与し、ペイロードにはIPパケット識別用のシーケンス番号を付与したIPパケットを、レイヤ2スイッチを通して前記現用装置及び予備装置にマルチキャストすることにより、前記現用装置及び予備装置に常に同じIPパケットを配信し、前記現用装置及び予備装置が、運用状態から待機状態に移行する時に運用状態と待機状態の間に切替中状態を入れ、待機状態から運用状態に移行する時に待機状態と運用状態の間に切替中状態を入れ、運用状態から待機状態へ移行する側の切替中状態のタイミングより待機状態から運用状態に移行する側の切替中状態のタイミングを遅らせ、運用状態から待機状態へ移行する側の切替中状態時に受信したIPパケットと、待機状態から運用状態に移行する側の切替中状態時に受信したIPパケットとを比較することにより、待機状態から運用状態に移行する側の重複しているIPパケットを削除し、待機状態から運用状態に移行する側の装置が重複したIPパケットを削除して残ったIPパケットを処理することを特徴とする。  The switching method between the active device and the standby device of the communication system according to the present invention is a switching method between the active device and the standby device of the communication system having a redundant configuration composed of the active device and the standby device connected to the IP transmission path. When the opposite device transmits an IP packet to the working device or the spare device, the IP header is assigned a multicast MAC address and a multicast IP address, and the payload is assigned an IP packet identification sequence number. By multicasting the packet to the active device and the standby device through the layer 2 switch, the same IP packet is always distributed to the active device and the standby device, and the active device and the standby device shift from the operation state to the standby state. Occasionally put a switching state between the active state and the standby state and shift from the standby state to the active state Put the switching state between the standby state and the operating state when the standby state, and delay the timing of the switching state on the side that transitions from the standby state to the operational state from the timing of the switching state on the side that transitions from the operational state to the standby state, By comparing the IP packet received during the switching state on the side transitioning from the operational state to the standby state with the IP packet received during the switching state on the side transitioning from the standby state to the operational state, The duplicate IP packet on the side to be transferred to the network is deleted, and the device on the side to be transferred from the standby state to the operation state deletes the duplicate IP packet and processes the remaining IP packet.

本発明では、現用装置と予備装置が、レイヤ2スイッチにて2分岐されたIP伝送路にそれぞれ接続され、レイヤ2スイッチは対向装置からのIPパケットをマルチキャストにて2方向にマルチキャストし、マルチキャストされたそれぞれのIPパケットが現用装置及び予備装置に入力され、現用装置のIPパケットと予備装置のIPパケットは常に同じパケットを受信する。運用状態側は、受信したIPパケットを有効IPパケットとして処理を行い、待機状態側は受信したパケットを無効IPパケットとして破棄し、運用状態側と待機状態側が切り替わった時、待機状態から運用状態になる側は運用状態から待機常態になる側に問い合わせを行い、運用状態から待機常態になる側にて処理済みIPパケットを教えてもらい、待機状態から運用状態になる側は未処理IPパケットのみを処理する。運用状態側が受信したIPパケットと待機状態側が受信したIPパケットにおいて、同一IPパケットであることを識別する必要があるので、対向装置からのIPパケットにはあらかじめシーケンス番号を付与しておく。 In the present invention, the active device and the standby device are respectively connected to the IP transmission path branched into two by the layer 2 switch, and the layer 2 switch multicasts the IP packet from the opposite device in two directions by multicast and is multicast. Each IP packet is input to the active device and the standby device, and the IP packet of the active device and the IP packet of the standby device always receive the same packet. The operation state side processes the received IP packet as a valid IP packet, the standby state side discards the received packet as an invalid IP packet, and changes from the standby state to the operation state when the operation state side and the standby state side are switched. The side that becomes the standby state from the operational state inquires about the processed IP packet on the side that becomes the standby state from the operational state, and the side that becomes the operational state from the standby state receives only unprocessed IP packets. To process. Since it is necessary to identify the same IP packet in the IP packet received by the operation side and the IP packet received by the standby side, a sequence number is assigned in advance to the IP packet from the opposite device.

以上の構成によって、IP伝送路に接続された現用装置及び予備装置で構成される冗長構成を持つシステムにおいて、現用装置が運用状態且つ予備装置が待機状態、又は現用装置が待機状態且つ予備装置が運用状態のいずれの状態においても、対向装置は前記状態を意識することなく、運用状態側宛のIPパケットを送信することで、運用状態の現用装置又は予備装置にIPパケットが届き、運用状態から待機状態又は待機状態から運用状態への切替時においてもIPパケットの喪失、又はIPパケットの重複が全く無いように切替を実施できる。   With the above configuration, in a system having a redundant configuration composed of an active device and a spare device connected to an IP transmission line, the active device is in an operating state and the standby device is in a standby state, or the active device is in a standby state and the standby device is in a standby state. In any state of the operation state, the opposite device transmits the IP packet addressed to the operation state side without being aware of the state, so that the IP packet arrives at the active device or the standby device in the operation state, and from the operation state Even when switching from the standby state or the standby state to the operation state, switching can be performed so that there is no loss of IP packets or duplication of IP packets.

本発明による第1の効果は、対向装置からのIPパケットはレイヤ2スイッチによりマルチキャストされ常に現用装置及び予備装置に同じパケットが届いているので、現用装置が運用状態且つ予備装置が待機状態から、現用装置が待機状態且つ予備装置が運用状態への切り替わり、又は現用装置が待機状態且つ予備装置が運用状態から、現用装置が運用状態且つ予備装置が待機状態への切り替わりのいずれにおいても対向装置は現用装置及び予備装置の状態を全く意識せずに、常に運用装置側にパケットを送信することが出来る。   The first effect of the present invention is that the IP packet from the opposite device is multicast by the layer 2 switch and the same packet always arrives at the active device and the standby device, so that the active device is in the operating state and the standby device is in the standby state. The opposing device is in either the standby state of the active device and the standby device is switched to the active state, or the active device is in the standby state and the standby device is switched from the active state to the active device is switched to the active state and the standby device is switched to the standby state. Packets can always be transmitted to the operation device side without being aware of the status of the active device and the standby device.

第2の効果は、対向装置からのIPパケットはレイヤ2スイッチによりマルチキャストされ常に現用装置及び予備装置に同じパケットが届いているので、現用装置が運用状態且つ予備装置が待機状態から、現用装置が待機状態且つ予備装置が運用状態への切り替わり、又は現用装置が待機状態且つ予備装置が運用状態から、現用装置が運用状態且つ予備装置が待機状態への切り替わりのいずれにおいても短時間での切替が可能である。   The second effect is that since the IP packet from the opposite device is multicast by the layer 2 switch and the same packet always arrives at the active device and the standby device, the active device is in the operating state and the standby device is in the standby state. Switching between the standby state and the standby device to the operating state, or switching from the active device to the standby state and the standby device from the operating state, to switching the active device to the operating state and the standby device to the standby state in a short time. Is possible.

第3の効果は、現用装置及び予備装置が運用状態又は待機状態への切替を行う時に切替中状態を設定し、切替中状態は現用装置側及び予備装置側は受信したIPパケットをそれぞれのメモリに記憶し、パケットの喪失及び重複がないように管理することにより、切替時にパケットの喪失及び重複を完全に防止できる。   The third effect is that the switching state is set when the active device and the standby device are switched to the operation state or the standby state. In the switching state, the active device side and the standby device side receive the received IP packets in their respective memories. And managing such that there is no packet loss and duplication, packet loss and duplication can be completely prevented at the time of switching.

次に、本発明の最良の形態について図面を参照して説明する。   Next, the best mode of the present invention will be described with reference to the drawings.

図1は、本発明の実施例として、IP網における現用装置30及び予備装置40による冗長構成のシステムを示す。図1において、(1)対向装置10は、(2)レイヤ2スイッチ20を介して、(3)現用装置30及び、(4)予備装置40宛にIPパケットを送る。(以下同様に各部の構成を説明していく)
(1):IP網に接続された対向装置10であり、IPパケットを送信及び受信する一般的な装置であって、本発明ではIPパケットのうちマルチキャストIPパケットを扱う。マルチキャストIPパケットは、MACアドレスの下位23ビットがIPアドレスの下位23ビットと同じであり、MACアドレスの残りの上位25ビットが“0000_0001_0000_0000_0101_1110_1”と定義されているので、ARPによってIPアドレスとMACアドレスの対応付けをする必要はない。対向装置10は、現用装置30又は予備装置40にIPパケットを送信する時、IPアドレス(IP_M:Mはmulti_castを示す)及びMACアドレス(MAC_M:Mはmulti_castを示す)をIPヘッダとする。
FIG. 1 shows a redundant configuration system using an active device 30 and a spare device 40 in an IP network as an embodiment of the present invention. In FIG. 1, (1) the opposing device 10 sends an IP packet to (3) the active device 30 and (4) the standby device 40 via the (2) layer 2 switch 20. (Hereafter, the configuration of each part will be explained in the same way.)
(1): The opposite device 10 connected to the IP network is a general device that transmits and receives IP packets. In the present invention, a multicast IP packet is handled among IP packets. In a multicast IP packet, the lower 23 bits of the MAC address are the same as the lower 23 bits of the IP address, and the remaining upper 25 bits of the MAC address are defined as “0000_0001_0000_0000_0101_1110_1”. There is no need to make a correspondence. When the opposite device 10 transmits an IP packet to the active device 30 or the standby device 40, the IP address (IP_M: M indicates multi_cast) and the MAC address (MAC_M: M indicates multi_cast) are used as IP headers.

(2):レイヤ2スイッチ20であり、複数のPORT(図1の例ではPORT1からPORT7までの7個のPORTを持つ)を持ち、各PORTから入ってきたIPパケットの宛先MACアドレス(ディスティネーションMACアドレス)とレイヤ2スイッチ20が持っているルーティングテーブル21を比較し、ルーティングテーブル21に登録されている場合はルーティングテーブル21に従って、出力すべきPORT番号を決めてIPパケットを出力する。   (2): Layer 2 switch 20, which has a plurality of PORTs (having seven PORTs from PORT1 to PORT7 in the example of FIG. 1), and the destination MAC address (destination) of the IP packet entered from each PORT MAC address) and the routing table 21 of the layer 2 switch 20 are compared, and if registered in the routing table 21, the PORT number to be output is determined according to the routing table 21 and the IP packet is output.

(3):現用装置30であり、IPパケットの送信及び受信を行うことが出来る。図2に現用装置30の詳しい構成を示す。外部から入ってきたIPパケットはMAC制御部33を通り、OS部34を通りアプリケーション部35に渡される。MAC制御部33は、受信すべきMACアドレスとしてMAC_M31を記憶し、OS部34が受信すべきIPアドレスとしてIP_M32を記憶している。アプリケーション部35は、受信したIPパケットの情報を記憶するためにメモリ36を持っている。   (3): The active device 30 can transmit and receive IP packets. FIG. 2 shows a detailed configuration of the active device 30. An IP packet that enters from the outside passes through the MAC control unit 33, passes through the OS unit 34, and is passed to the application unit 35. The MAC control unit 33 stores MAC_M31 as a MAC address to be received, and stores IP_M32 as an IP address to be received by the OS unit 34. The application unit 35 has a memory 36 for storing information on received IP packets.

(4):予備装置40であり、IPパケットの送信及び受信を行うことが出来る。図2に予備装置40の詳しい構成を示す。外部から入ってきたIPパケットは、MAC制御部43を通り、OS部44を通りアプリケーション部45に渡される。MAC制御部43は、受信すべきMACアドレスとしてMAC_M41を記憶し、OS部44が受信すべきIPアドレスとしてIP_M42を記憶している。アプリケーション部45は、受信したIPパケットの情報を記憶するためにメモリ46を持っている。   (4): It is a spare device 40 and can transmit and receive IP packets. FIG. 2 shows a detailed configuration of the spare device 40. An IP packet that enters from the outside passes through the MAC control unit 43, passes through the OS unit 44, and is passed to the application unit 45. The MAC control unit 43 stores MAC_M41 as a MAC address to be received, and stores IP_M42 as an IP address to be received by the OS unit 44. The application unit 45 has a memory 46 for storing information of received IP packets.

現用装置30のアプリケーション部35と予備装置40のアプリケーション部45は、互いにメモリ内の情報のやり取りが出来るように現用予備間通信回路50を持っている。   The application unit 35 of the working device 30 and the application unit 45 of the standby device 40 have a working standby communication circuit 50 so that information in the memory can be exchanged.

次に、上記構成のシステムの動作について説明する。対向装置10は、運用側にIPパケットを送信するために、IPヘッダとしてMAC_M及びIP_Mを付加し、ペイロードの一部にシーケンス番号を付加する。シーケンス番号は、現用装置30及び予備装置40でIPパケットを受信した時、全てのIPパケットをユニークに識別するためのものである。   Next, the operation of the system configured as described above will be described. The opposite apparatus 10 adds MAC_M and IP_M as IP headers and adds a sequence number to a part of the payload in order to transmit an IP packet to the operation side. The sequence number is for uniquely identifying all the IP packets when the active device 30 and the spare device 40 receive the IP packets.

対向装置10から出力されたIPパケットは、レイヤスイッチ20に入力される。レイヤスイッチ20は、7個のPORTを持っており、PORT1から入力する。PORT1から入力されたIPパケットの宛先MACアドレス(ディスティネーションMACアドレスでMAC_M)でレイヤ2スイッチ内部に持っているルーティングテーブル21を検索し、入力されたIPパケットのディスティネーションMACアドレスと一致するテーブルを探す。一致した場合、ルーティングテーブル21に従い、出力ポートをPORT4及びPORT5と決定する。PORT1から入力されたIPパケットは、二つにコピーされ、PORT4及びPORT5から出力される。PORT5から出力されたIPパケットは、現用装置30へ、PORT4から出力されたIPパケットは、予備装置40へそれぞれ渡される。   The IP packet output from the opposite device 10 is input to the layer switch 20. The layer switch 20 has seven PORTs and inputs from PORT1. The routing table 21 in the layer 2 switch is searched with the destination MAC address of the IP packet input from PORT 1 (the destination MAC address is MAC_M), and a table that matches the destination MAC address of the input IP packet is searched. look for. If they match, the output ports are determined as PORT4 and PORT5 according to the routing table 21. The IP packet input from PORT1 is copied into two and output from PORT4 and PORT5. The IP packet output from the PORT 5 is transferred to the active device 30, and the IP packet output from the PORT 4 is transferred to the spare device 40.

次に図2について説明する。図2は、現用装置30が運用状態、予備装置40が待機状態である。   Next, FIG. 2 will be described. In FIG. 2, the active device 30 is in an operating state and the standby device 40 is in a standby state.

現用装置30に入力されたIPパケットは、MAC制御部33に入り、イーサーフレームのフレーム構造及びチェックコードのチェックを行い、誤りがない場合には受信すべきMACアドレスであることのチェックが行われる。なお、イーサーフレームとは、物理レイヤで送受信されるデータの単位である。またIPパケットとは、論理的に送受信するデータの単位である。大きなIPパケットを物理レイヤで送受信する時は、フラグメントにより小さなイーサーフレームに分解される場合がある。またイーサーフレームは、レイヤ2で処理され、IPパケットは、レイヤ3で処理される。   The IP packet input to the active device 30 enters the MAC control unit 33 and checks the frame structure and check code of the ether frame. If there is no error, the MAC packet is checked to be received. . Note that an Ether frame is a unit of data transmitted and received in the physical layer. An IP packet is a unit of data that is logically transmitted and received. When a large IP packet is transmitted / received in the physical layer, it may be broken down into smaller Ether frames by fragments. Ether frames are processed in layer 2, and IP packets are processed in layer 3.

期待しているMACアドレスは、MAC_Mなので、入力されたイーサーフレームは期待通りとして取り込まれ、OS部34に渡される。OS部34では、IPヘッダの正常性及び期待するIPアドレスであることのチェックが行われる。期待するIPアドレスは、IP_Mなので、入力されたIPパケットは期待通りとして取り込まれ、アプリケーション部35に渡される。アプリケーション部35では、自装置が運用状態であることを知っているので、受信したIPパケットを処理する。   Since the expected MAC address is MAC_M, the input Ether frame is captured as expected and passed to the OS unit 34. The OS unit 34 checks the normality of the IP header and the expected IP address. Since the expected IP address is IP_M, the input IP packet is captured as expected and passed to the application unit 35. Since the application unit 35 knows that its own device is in operation, it processes the received IP packet.

また、予備装置40に入力されたIPパケットは、MAC制御部43に入り、イーサーフレームのフレーム構造及びチェックコードのチェックを行い、誤りがない場合には受信すべきMACアドレスであることのチェックが行われる。期待しているMACアドレスは、MAC_Mなので、入力されたイーサーフレームは期待通りとして取り込まれ、OS部44に渡される。OS部44では、IPヘッダの正常性及び期待するIPアドレスであることのチェックが行われる。期待するIPアドレスは、IP_Mなので、入力されたIPパケットは期待通りとして取り込まれ、アプリケーション部45に渡される。アプリケーション部45では、自装置が待機状態であることを知っているので、受信したIPパケットを破棄する。   Also, the IP packet input to the spare device 40 enters the MAC control unit 43, checks the frame structure and check code of the Ether frame, and if there is no error, checks that the MAC address is to be received. Done. Since the expected MAC address is MAC_M, the input Ether frame is captured as expected and passed to the OS unit 44. The OS unit 44 checks the normality of the IP header and the expected IP address. Since the expected IP address is IP_M, the input IP packet is captured as expected and passed to the application unit 45. Since the application unit 45 knows that its own device is in a standby state, it discards the received IP packet.

次に図3について説明する。図3は、現用装置30が待機状態、予備装置40が運用状態である。   Next, FIG. 3 will be described. In FIG. 3, the active device 30 is in a standby state and the standby device 40 is in an operating state.

現用装置30に入力されたIPパケットは、MAC制御部33に入り、イーサーフレームのフレーム構造及びチェックコードのチェックを行い、誤りがない場合には受信すべきMACアドレスであることのチェックが行われる。期待しているMACアドレスは、MAC_Mなので、入力されたイーサーフレームは期待通りとして取り込まれ、OS部34に渡される。OS部34では、IPヘッダの正常性及び期待するIPアドレスであることのチェックが行われる。期待するIPアドレスは、IP_Mなので、入力されたIPパケットは期待通りとして取り込まれ、アプリケーション部35に渡される。アプリケーション部35では、自装置が待機状態であることを知っているので、受信したIPパケットを破棄する。   The IP packet input to the active device 30 enters the MAC control unit 33 and checks the frame structure and check code of the ether frame. If there is no error, the MAC packet is checked to be received. . Since the expected MAC address is MAC_M, the input Ether frame is captured as expected and passed to the OS unit 34. The OS unit 34 checks the normality of the IP header and the expected IP address. Since the expected IP address is IP_M, the input IP packet is captured as expected and passed to the application unit 35. Since the application unit 35 knows that its own device is in a standby state, it discards the received IP packet.

また、予備装置40に入力されたIPパケットは、MAC制御部43に入り、イーサーフレームのフレーム構造及びチェックコードのチェックを行い、誤りがない場合には受信すべきMACアドレスであることのチェックが行われる。期待しているMACアドレスは、MAC_Mなので、入力されたイーサーフレームは期待通りとして取り込まれ、OS部44に渡される。OS部44では、IPヘッダの正常性及び期待するIPアドレスであることのチェックが行われる。期待するIPアドレスは、IP_Mなので、入力されたIPパケットは期待通りとして取り込まれ、アプリケーション部45に渡される。アプリケーション部45では、自装置が運用状態であることを知っているので、受信したIPパケットを処理する。   Also, the IP packet input to the spare device 40 enters the MAC control unit 43, checks the frame structure and check code of the Ether frame, and if there is no error, checks that the MAC address is to be received. Done. Since the expected MAC address is MAC_M, the input Ether frame is captured as expected and passed to the OS unit 44. The OS unit 44 checks the normality of the IP header and the expected IP address. Since the expected IP address is IP_M, the input IP packet is captured as expected and passed to the application unit 45. Since the application unit 45 knows that its own device is in operation, it processes the received IP packet.

図4について説明する。図4は、現用装置30が運用状態から待機状態に、予備装置40が待機状態から運用状態に移行する途中の切替中状態を示す。   FIG. 4 will be described. FIG. 4 shows a switching state during the transition of the active device 30 from the operating state to the standby state and the standby device 40 from the standby state to the operating state.

切替が発生した時点から一定時間、現用装置30は切替中状態として、受信したIPパケットを処理すると同時に受信したIPパケットを処理済みとしてメモリ部36に時系列に記憶する。予備装置40は、受信したパケットを処理せずにそのままメモリ46に時系列に記憶しておく。メモリ部36及びメモリ部46に書かれている数字は、記憶したIPパケットのシーケンス番号を示している。   The active device 30 processes the received IP packet and stores the received IP packet as processed in the time series in the memory unit 36 in a time-switched state for a certain time from the time when the switching occurs. The spare device 40 stores the received packet in time series in the memory 46 without processing it. The numbers written in the memory unit 36 and the memory unit 46 indicate the sequence numbers of the stored IP packets.

予備装置40は、待機状態から運用状態に移行するので、いままでは受信したIPパケットを破棄していたのを処理する事になるが、切替時点以降の受信IPパケットを無条件に処理すると、いままで運用状態だった現用装置30がすでに処理したIPパケットと同じIPパケットを処理してしまう重複処理の危険性がある。また、逆に、現用装置30は待機状態に移行した直後のIPパケットを廃棄するが、予備装置40で待機状態時に同じIPパケットをすでに廃棄していた場合、そのIPパケットが現用装置30及び予備装置40のいずれでも処理されないのでIPパケットが喪失される危険性がある。   Since the standby device 40 shifts from the standby state to the operational state, it will process that the received IP packet has been discarded so far. However, if the received IP packet after the switching time is processed unconditionally, There is a risk of duplicate processing in which the active device 30 that has been in operation until now processes the same IP packet as that already processed. Conversely, the active device 30 discards the IP packet immediately after shifting to the standby state, but if the same IP packet has already been discarded in the standby device 40 in the standby state, the IP packet is transferred to the active device 30 and the standby device. There is a risk of IP packets being lost because none of the devices 40 are processed.

なぜなら、対向装置10からのIPパケットは、レイヤ2スイッチ20を通過する時、PORT4の通過時間とPORT5の通過時間が異なるためである。レイヤ2スイッチ20の各出力PORTにはバッファがあり、通過するIPパケットが混んでいれば通過時間が長くなり、混んでいなければ通過時間が短くなる。そのため、同一IPパケットが現用装置30に到達する時刻と予備装置40に到達する時刻との間に時間差が生じることになる。一般的にIPパケットの揺らぎと呼ばれている現象である。   This is because when the IP packet from the opposite device 10 passes through the layer 2 switch 20, the passage time of PORT 4 and the passage time of PORT 5 are different. Each output PORT of the layer 2 switch 20 has a buffer, and if the passing IP packet is crowded, the transit time becomes longer, and if not, the transit time becomes shorter. Therefore, a time difference occurs between the time when the same IP packet reaches the active device 30 and the time when it reaches the standby device 40. This is a phenomenon generally called IP packet fluctuation.

これらの問題を解決するため、待機状態から運用状態に移行しようとしている予備装置40は、現用装置30と予備装置40間を接続する現用予備間通信回路50を通して、切替中状態で記憶した現用装置30内のメモリ36のIPパケットの情報を読み取り、予備装置40のメモリ46に記憶している切替中状態で記憶したIPパケットと比較し、現用装置30ですでに処理済みのIPパケットを予備装置40での処理対象IPパケットから削除する。予備装置40は、メモリ46上に削除されずに残ったIPパケット及び今後受信するIPパケットのみを処理していく。   In order to solve these problems, the standby device 40 that is going to shift from the standby state to the operational state is stored in the switching state through the active standby communication circuit 50 that connects between the active device 30 and the standby device 40. The IP packet information in the memory 36 in the memory 30 is read and compared with the IP packet stored in the memory 46 in the standby device 40 in the switching state, and the IP packet already processed in the active device 30 is reserved. 40 to be deleted from the IP packet to be processed. The spare device 40 processes only the IP packets that remain without being deleted on the memory 46 and the IP packets that will be received in the future.

図5は、切替動作を時系列に示したものである。IPパケットはレイヤ構造を持っており、レイヤ2(L2)はMAC制御部で処理され、レイヤ3(L3)はOS部で処理される。レイヤ2は、物理レイヤを流れるデータの単位(イーサーフレーム)を処理し、レイヤ3は、論理的な情報単位(IPパケット)を示す。一つのIPパケットが長いデータの場合、複数のイーサーフレームに分割されて伝送される。フラグメントと呼ばれているプロトコルである。OS処理部は、フラグメントされたイーサーフレームを集めてひとつのIPパケットを組み立てる。   FIG. 5 shows the switching operation in time series. The IP packet has a layer structure. Layer 2 (L2) is processed by the MAC control unit, and layer 3 (L3) is processed by the OS unit. Layer 2 processes data units (ether frames) flowing through the physical layer, and layer 3 indicates logical information units (IP packets). When one IP packet is long data, it is divided into a plurality of ether frames and transmitted. It is a protocol called fragment. The OS processing unit collects the fragmented ether frames and assembles one IP packet.

現用装置30又は予備装置40でパケットの廃棄又は処理を行うのは、IPパケット単位で行われるので、レイヤ3レベルでの処理となる。レイヤ3でのIPパケットは、アプリケーション部にて管理される。運用状態及び待機状態もアプリケーション部で管理され、手動により、又は障害等の自動により、運用状態と待機状態の切替が発生した場合、現用装置30は、運用状態から待機状態に直ちに遷移せず、一旦切替中状態に遷移し、予備装置40も同様に待機状態から運用状態に直ちに遷移せず、一旦切替中状態に遷移する。   Since the packet discarding or processing in the active device 30 or the standby device 40 is performed in units of IP packets, processing is performed at the layer 3 level. The IP packet in layer 3 is managed by the application unit. The operation state and the standby state are also managed by the application unit, and when the operation state and the standby state are switched manually or automatically due to a failure or the like, the active device 30 does not immediately transition from the operation state to the standby state, Once the transition is made to the switching state, the standby apparatus 40 does not immediately transition from the standby state to the operation state, but temporarily transitions to the switching state.

切替中状態で、現用装置30が処理したIPパケットと予備装置40が受信したIPパケットとの照合を行い、処理すべきIPパケットの喪失、又は重複処理が起こらないように管理される。   In the switching state, the IP packet processed by the active device 30 and the IP packet received by the standby device 40 are collated, and management is performed so that loss of IP packets to be processed or duplicate processing does not occur.

図5の例で具体的な説明を行う。現用装置30が運用状態から待機状態に、予備装置40が待機状態から運用状態に移行する状態を示している。縦方向は時間の経過を示す。切替トリガの部分が、切替が発生した時刻である。切替トリガ以前の状態も示している。   A specific description will be given with reference to the example of FIG. The active device 30 is in a standby state and the standby device 40 is in a standby state. The vertical direction indicates the passage of time. The part of the switching trigger is the time when the switching occurs. The state before the switching trigger is also shown.

現用装置30は、切替トリガ以前の運用状態において、IPパケット53番(数字はIPパケットのシーケンス番号を示す)、92番、及び03番を受信し、切替トリガ後の切替中状態では、63番、22番、71番、72番、08番、25番、55番、及び11番を受信し、切替中状態が終わって待機状態に遷移後では、57番、41番、86番、79番、27番、及び04番を受信している。   The active device 30 receives the IP packet 53 (number indicates the sequence number of the IP packet), 92, and 03 in the operating state before the switching trigger, and the 63rd in the switching state after the switching trigger. No. 22, No. 71, No. 72, No. 08, No. 25, No. 55, No. 11, and No. 57, No. 41, No. 86, No. 79 after transition to the standby state after the switching state ends. , 27, and 04 are received.

シーケンス番号が連番にならないのは、対向装置10がひとつではなく複数の対向装置10から同時期にIPパケットが送られてきている場合を想定しているためである。シーケンス番号は、対向装置10毎に管理されるため、受信したIPパケットをユニークに管理するためには、シーケンス番号及びソースIPアドレスの組み合わせでシステム内の全てのIPパケットをユニークに識別している。   The reason why the sequence number does not become a sequential number is because it is assumed that IP packets are sent from a plurality of opposing devices 10 at the same time instead of one opposing device 10. Since the sequence number is managed for each opposing device 10, in order to uniquely manage the received IP packet, all IP packets in the system are uniquely identified by a combination of the sequence number and the source IP address. .

予備装置40は、切替トリガ以前の待機状態において、IPパケット07番(数字はIPパケットのシーケンス番号を示す)、53番、92番、03番、及び63番を受信し、切替トリガ後の切替中状態では、22番、71番、08番、72番、25番、55番、86番、11番、及び41番を受信し、切替中状態が終わって待機状態へ遷移後では、57番、79番、及び27番を受信している。   In the standby state before the switching trigger, the spare device 40 receives the IP packet No. 07 (numbers indicate the sequence number of the IP packet), No. 53, No. 92, No. 03, and No. 63, and switches after the switching trigger. In the middle state, No. 22, 71, 08, 72, 25, 55, 86, 11, and 41 are received, and after the switching state is over and transition to the standby state, No. 57 , 79, and 27 are received.

53番のIPパケットは、現用装置30のほうが早い時刻で受信しており、予備装置40は53番を遅く受信している。この時間のずれはIPパケットの揺らぎによるものである。揺らぎによるIPパケットの時間のずれを吸収するため、切替中状態は運用状態から待機状態に移行する側と待機状態から運用状態に移行する側であらかじめ時間をずらしておく。   The 53rd IP packet is received by the active device 30 at an earlier time, and the standby device 40 receives the 53rd later. This time lag is due to fluctuations in the IP packet. In order to absorb the time lag of the IP packet due to fluctuations, the switching state is shifted in advance between the side that transitions from the operating state to the standby state and the side that transitions from the standby state to the operating state.

この時間のずれをTdとし、Tdは予想されるIPパケットの揺らぎ時間以上の時間とする。このTdを設けない場合、例えば、予備装置40は、現用装置30の切替中状態で、92番及び03番が現用装置30のメモリ36に記憶したIPパケットリストにないと判断し、92番及び03番を処理してしまい、重複処理となってしまう。Tdを設けることにより、この重複処理を防止できる。   This time lag is defined as Td, where Td is a time longer than the expected IP packet fluctuation time. In the case where this Td is not provided, for example, the standby device 40 determines that the numbers 92 and 03 are not in the IP packet list stored in the memory 36 of the active device 30 when the active device 30 is being switched. No. 03 is processed, resulting in duplication processing. By providing Td, this overlap processing can be prevented.

待機状態から運用状態に移行する予備装置40は、切替中状態で受信したIPパケットと現用装置30が切替中状態で受信したIPパケットを比較する。予備装置40が切替中状態で受信したIPパケットは、22番、71番、08番、72番、25番、55番、86番、11番、及び41番であり、現用装置30が切替中状態に受信したIPパケットは、63番、22番、71番、72番、08番、25番、55番、及び11番となっており、22番、71番、08番、72番、25番、55番、及び11番が一致する。一致したIPパケットは、現用装置30で処理済みとし、予備装置40は残った86番及び41番を処理する。切替中状態が完了すると、現用装置30は待機状態となるので、受信したIPパケットを全て廃棄し、予備装置40は運用状態となるので、受信したIPパケットは全て処理する。   The standby device 40 that shifts from the standby state to the operation state compares the IP packet received in the switching state with the IP packet received by the active device 30 in the switching state. The IP packets received while the spare device 40 is switching are the numbers 22, 71, 08, 72, 25, 55, 86, 11, and 41, and the active device 30 is switching. The IP packets received in the state are 63, 22, 71, 72, 08, 25, 55, and 11, and are 22, 71, 08, 72, 25 No., No. 55, and No. 11 match. The matched IP packets are processed by the active device 30 and the spare device 40 processes the remaining 86 and 41. When the switching state is completed, the active device 30 is in a standby state, so that all received IP packets are discarded, and the standby device 40 is in an operating state, so that all received IP packets are processed.

図6は、図5と同じ切替状態を示し、現用装置30が受信したIPパケットが、予備装置40が受信したIPパケットより遅い場合を示す。この場合も予備装置40側をTd時間だけ切替中状態の時刻を遅らせることで、IPパケットの重複処理が防止できる。   FIG. 6 shows the same switching state as in FIG. 5, and shows a case where the IP packet received by the active device 30 is later than the IP packet received by the standby device 40. In this case as well, IP packet duplication processing can be prevented by delaying the time when the standby apparatus 40 is switching for Td time.

現用装置30は、切替トリガ以前の運用状態において、IPパケット53番、92番、及び03番を受信し、切替トリガ後の切替中状態では、63番、22番、71番、72番、08番、25番、55番、及び11番を受信し、切替状態が終わって待機状態に遷移後では、57番、41番、86番、79番、27番、及び04番を受信している。   The active device 30 receives the IP packets 53, 92, and 03 in the operating state before the switching trigger, and in the switching state after the switching trigger, the 63, 22, 71, 72, and 08. No., No. 25, No. 55, and No. 11 are received, and after switching to the standby state after transition, the Nos. 57, 41, 86, 79, 27, and 04 are received. .

予備装置40は、切替トリガ以前の待機状態において、IPパケット53番、92番、03番、63番、22番、71番、及び08番を受信し、切替トリガ後の切替中状態では、72番、25番、55番、86番、11番、41番、57番、79番、27番、及び04番を受信し、切替状態が終わって待機状態へ遷移後では、29番を受信している。   The standby device 40 receives IP packets 53, 92, 03, 63, 22, 71, and 08 in the standby state before the switching trigger, and 72 in the switching state after the switching trigger. No. 25, 55, 86, 11, 11, 41, 57, 79, 27, and 04, and after switching to the standby state, No. 29 is received. ing.

53番のIPパケットは、予備装置40のほうが早い時刻で受信しており、現用装置30は53番を遅く受信している。この時間のずれはIPパケットの揺らぎによるものである。揺らぎによるIPパケットの時間のずれを吸収するため、切替中状態は現用装置30と予備装置40であらかじめ時間をTdだけずらしておく。   The 53rd IP packet is received earlier by the spare device 40, and the active device 30 receives the 53rd later. This time lag is due to fluctuations in the IP packet. In order to absorb the time lag of the IP packet due to fluctuations, the time during switching is shifted in advance by Td between the active device 30 and the standby device 40.

待機状態から運用状態に移行する予備装置40は、切替中状態で受信したIPパケットと現用装置30が切替中状態で受信したIPパケットを比較する。予備装置40が切替中状態で受信したIPパケットは、72番、25番、55番、86番、11番、41番、57番、79番、27番、及び04番であり、現用装置30が切替中状態に受信したIPパケットは、63番、22番、71番、72番、08番、25番、55番、及び11番となっており、72番、25番、55番、及び11番が一致する。一致したIPパケットは、現用装置30で処理済みとし、予備装置40は残った86番、41番、57番、79番、27番、及び04番を処理する。切替中状態が完了すると、現用装置30は待機状態となるので、受信したIPパケットを全て廃棄し、予備装置40は運用状態となるので、受信したIPパケットを全て処理する。   The standby device 40 that shifts from the standby state to the operation state compares the IP packet received in the switching state with the IP packet received by the active device 30 in the switching state. The IP packets received while the spare device 40 is switching are 72, 25, 55, 86, 11, 41, 57, 79, 27, and 04, and the active device 30 IP packets received in the switching state are No. 63, No. 22, No. 71, No. 72, No. 08, No. 25, No. 55, No. 11, and No. 72, No. 25, No. 55, and No. 11 matches. The matched IP packets are processed by the active device 30, and the spare device 40 processes the remaining 86, 41, 57, 79, 27, and 04. When the switching state is completed, the active device 30 is in a standby state, so that all received IP packets are discarded, and the standby device 40 is in an operating state, so that all received IP packets are processed.

以上のように、運用状態から待機状態に移行する側が早くIPパケットを受信する場合、又は待機状態から運用状態に移行する側が早くIPパケットを受信する場合のいずれの場合においても、待機状態から運用状態に移行する側の切替中状態を、運用状態から待機状態に移行する側の切替中状態よりTdだけ時刻を遅らすことでIPパケットの揺らぎを吸収できる。   As described above, in either case where the side that transitions from the operating state to the standby state receives an IP packet early, or the case that the side that transitions from the standby state to the operational state receives an IP packet earlier, the operation starts from the standby state. The fluctuation of the IP packet can be absorbed by delaying the time in the switching state on the side transitioning to the state by Td from the switching state on the side transitioning from the operation state to the standby state.

第1の実施例では、切替中状態において受信したIPパケットの記憶は、現用装置30及び予備装置40のメモリ36及びメモリ46に行い、メモリ36とメモリ46の情報のやり取りは現用予備間通信回路50を使用していたが、この部分を変更した第2の実施例を以下に示す。   In the first embodiment, the IP packet received in the switching state is stored in the memory 36 and the memory 46 of the active device 30 and the standby device 40, and the exchange of information between the memory 36 and the memory 46 is performed between the active standby communication circuits. 50 is used, but a second embodiment in which this part is changed is shown below.

(1):図7に示すように、現用装置30及び予備装置40が互いにアクセス可能なデュアルポートRAM60を持つことにより、現用装置30と予備装置40間を結ぶ現用予備間通信回路50が不要となり、現用装置30及び予備装置40はデュアルポートRAM60に直接にアクセスして情報のやり取りが出来るので、処理の高速化が出来る。   (1): As shown in FIG. 7, since the active device 30 and the standby device 40 have the dual port RAM 60 that can access each other, the active standby communication circuit 50 that connects the active device 30 and the standby device 40 becomes unnecessary. Since the active device 30 and the spare device 40 can directly access the dual port RAM 60 and exchange information, the processing speed can be increased.

(2):図8に示すように、対向装置10、現用装置30、及び予備装置40を互いに結んでいるレイヤ2スイッチ20を通して、現用装置30内のメモリ36の情報と予備装置40内のメモリ46の情報のやり取りを行うことにより、現用予備間通信回路50が不要になる。図8において、MAC_Nは現用装置30を示すユニキャストMACアドレス、IP_Nは現用装置30を示すユニキャストIPアドレス、MAC_Eは予備装置40を示すユニキャストMACアドレス、IP_Eは予備装置40を示すユニキャストIPアドレスである。   (2): As shown in FIG. 8, the information in the memory 36 in the active device 30 and the memory in the standby device 40 are passed through the layer 2 switch 20 that connects the opposing device 10, the active device 30, and the standby device 40 to each other. By exchanging information of 46, the working standby communication circuit 50 becomes unnecessary. In FIG. 8, MAC_N is a unicast MAC address indicating the active device 30, IP_N is a unicast IP address indicating the active device 30, MAC_E is a unicast MAC address indicating the standby device 40, and IP_E is a unicast IP indicating the standby device 40. Address.

上述の実施例では、対向装置は、運用状態側宛のIPパケットにて運用状態側にIPパケットを渡すことで説明していたが、待機状態側を指定して待機状態側へIPパケットを渡すことも出来る。以下に例を示す。   In the above-described embodiment, the opposite device has been described by passing the IP packet to the operation state side using the IP packet addressed to the operation state side. However, the standby device is designated and passed to the standby state side. You can also An example is shown below.

(3):対向装置は、IPパケットのヘッダとしてMAC_MS(MSはmulti_cast、standbyを示す)及びIP_MS(MSはmulti_cast、standbyを示す)を定義し、現用装置及び予備装置は、MAC_M、IP_Mに加えてMAC_MS、IP_MSも受信対象IPパケットとする。運用状態側の装置は、MAC_MS、IP_MSのIPパケットを受信したならば、受信したIPパケットを廃棄し、待機状態側の装置は、MAC_MS、IP_MSを受信したならば受信したIPパケットを処理することにより待機状態側にIPパケットを渡したことになる。   (3): The opposite device defines MAC_MS (MS indicates multi_cast, standby) and IP_MS (MS indicates multi_cast, standby) as the header of the IP packet, and the active device and the standby device add MAC_M, IP_M MAC_MS and IP_MS are also set as reception target IP packets. If the device on the operation side receives the IP packet of MAC_MS and IP_MS, it discards the received IP packet, and the device on the standby side processes the received IP packet if it receives MAC_MS and IP_MS. Thus, the IP packet is passed to the standby state side.

無線基地局装置内における各機能ユニットをIP伝送路で結ぶシステムにおいて、各ユニットは冗長構成として現用ユニット及び予備ユニットにて構成される。本発明を利用することで、現用ユニット及び予備ユニットの切替を数ミリ秒で実行でき、IPパケットの喪失、重複が全くないので、現用ユニット及び予備ユニットの切替があっても、装置の動作は全く切れ目無く連続で動作可能となる。   In a system in which each functional unit in the radio base station apparatus is connected by an IP transmission path, each unit is configured by a working unit and a spare unit as a redundant configuration. By using the present invention, the switch between the active unit and the spare unit can be executed in a few milliseconds, and there is no loss or duplication of IP packets. It becomes possible to operate continuously without any breaks.

本発明のシステム構成を示す図である。It is a figure which shows the system configuration | structure of this invention. 現用装置が運用状態、予備装置が待機状態を示す図である。FIG. 4 is a diagram illustrating an active device in an operating state and a standby device in a standby state. 現用装置が待機状態、予備装置が運用状態を示す図である。It is a figure which shows an active apparatus in a standby state and a standby apparatus is an operation state. 現用装置、予備装置が切替中状態を示す図である。It is a figure which shows the state in which an active apparatus and a spare apparatus are switching. 切替動作を時系列に示したシーケンス図である。It is the sequence figure which showed switching operation in time series. 切替動作を時系列に示したシーケンス図である。It is the sequence figure which showed switching operation in time series. 現用装置及び予備装置がデュアルポートRAMを持つ場合を示す図である。It is a figure which shows the case where an active apparatus and a spare apparatus have dual port RAM. 現用装置及び予備装置が互いのメモリ情報にアクセスする場合を示す図である。It is a figure which shows the case where an active apparatus and a spare apparatus access each other's memory information. 従来のシステム構成を示す図である。It is a figure which shows the conventional system configuration. 従来のシステム構成を示す図である。It is a figure which shows the conventional system configuration.

符号の説明Explanation of symbols

10 対向装置
20 レイヤ2スイッチ
30 現用装置
40 予備装置
10 Counter device 20 Layer 2 switch 30 Active device 40 Spare device

Claims (9)

IP伝送路に接続された現用装置及び予備装置で構成される冗長構成を持つ通信システムにおいて、
対向装置は、前記現用装置又は予備装置にIPパケットを送信する際に、IPヘッダにはマルチキャストMACアドレス及びマルチキャストIPアドレスを付与し、ペイロードにはIPパケット識別用のシーケンス番号を付与したIPパケットを、レイヤ2スイッチを通して前記現用装置及び予備装置にマルチキャストすることにより、前記現用装置及び予備装置に常に同じIPパケットを配信し、
前記現用装置及び予備装置は、運用状態から待機状態に移行する時に運用状態と待機状態の間に切替中状態を入れ、待機状態から運用状態に移行する時に待機状態と運用状態の間に切替中状態を入れ、運用状態から待機状態へ移行する側の切替中状態のタイミングより待機状態から運用状態に移行する側の切替中状態のタイミングを遅らせ、運用状態から待機状態へ移行する側の切替中状態時に受信したIPパケットと、待機状態から運用状態に移行する側の切替中状態時に受信したIPパケットとを比較することにより、待機状態から運用状態に移行する側の重複しているIPパケットを削除し、待機状態から運用状態に移行する側の装置が重複したIPパケットを削除して残ったIPパケットを処理することを特徴とする通信システム。
In a communication system having a redundant configuration composed of an active device and a spare device connected to an IP transmission path,
When the opposite device transmits an IP packet to the working device or the standby device, a multicast MAC address and a multicast IP address are assigned to the IP header, and an IP packet to which a sequence number for IP packet identification is assigned to the payload. , By multicasting to the active device and the spare device through the layer 2 switch, always deliver the same IP packet to the active device and the spare device,
The active device and the standby device enter a switching state between the operation state and the standby state when shifting from the operation state to the standby state, and are switching between the standby state and the operation state when shifting from the standby state to the operation state. Enter the status, delay the timing of the switching state on the side that transitions from the standby state to the operational state from the timing of the switching state on the side that transitions from the operational state to the standby state, and switching the side that transitions from the operational state to the standby state By comparing the IP packet received during the state with the IP packet received during the switching state on the side that transitions from the standby state to the operational state, the duplicate IP packet on the side that transitions from the standby state to the operational state A communication system, wherein an apparatus on the side of deleting and transferring from a standby state to an operating state deletes duplicate IP packets and processes the remaining IP packets .
前記現用装置及び予備装置は、運用状態から待機状態へ移行する側と待機状態から運用状態に移行する側との間で、運用状態から待機状態へ移行する側の切替中状態時に受信したIPパケットの情報と、待機状態から運用状態に移行する側の切替中状態時に受信したIPパケットの情報とを、前記現用装置及び予備装置間を結ぶ現用予備間通信回路を通してやり取りすることを特徴とする請求項1に記載の通信システム。  The active device and the standby device receive an IP packet received during the switching state between the side that transitions from the operating state to the standby state and the side that transitions from the standby state to the operating state. And the information of the IP packet received in the switching state on the side transitioning from the standby state to the operating state are exchanged through the working standby communication circuit connecting the working device and the standby device. Item 12. The communication system according to Item 1. 前記現用装置及び予備装置は、運用状態から待機状態へ移行する側と待機状態から運用状態に移行する側との間で、運用状態から待機状態へ移行する側の切替中状態時に受信したIPパケットの情報と、待機状態から運用状態に移行する側の切替中状態時に受信したIPパケットの情報とを、前記現用装置及び予備装置が互いにアクセス可能なデュアルポートRAMを通してやり取りすることを特徴とする請求項1に記載の通信システム。  The active device and the standby device receive an IP packet received during the switching state between the side that transitions from the operating state to the standby state and the side that transitions from the standby state to the operating state. And the information of the IP packet received in the switching state on the side of transition from the standby state to the operation state through the dual port RAM accessible to the active device and the standby device. Item 12. The communication system according to Item 1. 前記現用装置及び予備装置は、運用状態から待機状態へ移行する側と待機状態から運用状態に移行する側との間で、運用状態から待機状態へ移行する側の切替中状態時に受信したIPパケットの情報と、待機状態から運用状態に移行する側の切替中状態時に受信したIPパケットの情報とを、前記レイヤ2スイッチを通してやり取りすることを特徴とする請求項1に記載の通信システム。  The active device and the standby device receive an IP packet received during the switching state between the side that transitions from the operating state to the standby state and the side that transitions from the standby state to the operating state. 2. The communication system according to claim 1, wherein the information on the packet and the information on the IP packet received in the switching state on the side transitioning from the standby state to the operation state are exchanged through the layer 2 switch. 前記対向装置は、運用状態側の装置宛のIPパケットを前記現用装置及び予備装置にマルチキャストし、  The opposite device multicasts an IP packet addressed to the operation side device to the active device and the standby device,
前記現用装置及び予備装置のうち前記運用状態側の装置は、前記運用状態側の装置宛のIPパケットを受信すると、受信したIPパケットを処理し、  Among the active device and the standby device, the device on the operation state side receives the IP packet addressed to the device on the operation state side, processes the received IP packet,
前記現用装置及び予備装置のうち前記待機状態側の装置は、前記運用状態側の装置宛のIPパケットを受信すると、受信したIPパケットを廃棄することを特徴とする請求項1から4のいずれか1項に記載の通信システム。  5. The device according to claim 1, wherein the standby-side device among the active device and the standby device receives the IP packet addressed to the operation-side device, and discards the received IP packet. The communication system according to item 1.
前記対向装置は、待機状態側の装置宛のIPパケットを前記現用装置及び予備装置にマルチキャストし、  The opposite device multicasts the IP packet addressed to the standby side device to the active device and the standby device,
前記現用装置及び予備装置のうち前記運用状態側の装置は、前記待機状態側の装置宛のIPパケットを受信すると、受信したIPパケットを廃棄し、  Among the active device and the standby device, the device on the operation state side receives the IP packet addressed to the device on the standby state side, discards the received IP packet,
前記現用装置及び予備装置のうち前記待機状態側の装置は、前記待機状態側の装置宛のIPパケットを受信すると、受信したIPパケットを処理することを特徴とする請求項1から5のいずれか1項に記載の通信システム。  6. The device according to claim 1, wherein the device on the standby state side among the active device and the standby device receives the IP packet addressed to the device on the standby state side, and processes the received IP packet. The communication system according to item 1.
IP伝送路に接続された現用装置及び予備装置で構成される冗長構成を持つ通信システムの現用装置と予備装置の切替方法であって、
対向装置が、前記現用装置又は予備装置にIPパケットを送信する際に、IPヘッダにはマルチキャストMACアドレス及びマルチキャストIPアドレスを付与し、ペイロードにはIPパケット識別用のシーケンス番号を付与したIPパケットを、レイヤ2スイッチを通して前記現用装置及び予備装置にマルチキャストすることにより、前記現用装置及び予備装置に常に同じIPパケットを配信し、
前記現用装置及び予備装置が、運用状態から待機状態に移行する時に運用状態と待機状態の間に切替中状態を入れ、待機状態から運用状態に移行する時に待機状態と運用状態の間に切替中状態を入れ、運用状態から待機状態へ移行する側の切替中状態のタイミングより待機状態から運用状態に移行する側の切替中状態のタイミングを遅らせ、運用状態から待機状態へ移行する側の切替中状態時に受信したIPパケットと、待機状態から運用状態に移行する側の切替中状態時に受信したIPパケットとを比較することにより、待機状態から運用状態に移行する側の重複しているIPパケットを削除し、待機状態から運用状態に移行する側の装置が重複したIPパケットを削除して残ったIPパケットを処理することを特徴とする通信システムの現用装置と予備装置の切替方法。
A switching method between a working device and a spare device in a communication system having a redundant configuration composed of a working device and a spare device connected to an IP transmission line,
When the opposite device transmits an IP packet to the active device or the standby device, a multicast MAC address and a multicast IP address are assigned to the IP header, and an IP packet to which a sequence number for IP packet identification is assigned to the payload. , By multicasting to the active device and the spare device through the layer 2 switch, always deliver the same IP packet to the active device and the spare device,
The active device and the standby device enter a switching state between the operating state and the standby state when shifting from the operating state to the standby state, and are switching between the standby state and the operating state when shifting from the standby state to the operating state. Enter the status, delay the timing of the switching state on the side that transitions from the standby state to the operational state from the timing of the switching state on the side that transitions from the operational state to the standby state, and switching the side that transitions from the operational state to the standby state By comparing the IP packet received during the state with the IP packet received during the switching state on the side that transitions from the standby state to the operational state, the duplicate IP packet on the side that transitions from the standby state to the operational state deleted, the communication system characterized in that the device on the side to shift to the operation state from the standby state to process IP packets remaining to delete the IP packet duplicates Switching method of use and Backup units.
前記対向装置が、運用状態側の装置宛のIPパケットを前記現用装置及び予備装置にマルチキャストし、  The opposite device multicasts an IP packet addressed to the operation side device to the active device and the standby device,
前記現用装置及び予備装置のうち前記運用状態側の装置が、前記運用状態側の装置宛のIPパケットを受信すると、受信したIPパケットを処理し、  Among the active device and the standby device, when the device on the operation state side receives the IP packet addressed to the device on the operation state side, the received IP packet is processed,
前記現用装置及び予備装置のうち前記待機状態側の装置が、前記運用状態側の装置宛のIPパケットを受信すると、受信したIPパケットを廃棄することを特徴とする請求項7に記載の通信システムの現用装置と予備装置の切替方法。  8. The communication system according to claim 7, wherein, when the standby-side device among the active device and the standby device receives an IP packet addressed to the operation-side device, the received IP packet is discarded. To switch between the active device and the spare device.
前記対向装置が、待機状態側の装置宛のIPパケットを前記現用装置及び予備装置にマルチキャストし、  The opposite device multicasts the IP packet addressed to the standby side device to the active device and the standby device,
前記現用装置及び予備装置のうち前記運用状態側の装置が、前記待機状態側の装置宛のIPパケットを受信すると、受信したIPパケットを廃棄し、  Among the active device and the standby device, when the device on the operation state side receives an IP packet addressed to the device on the standby state side, the received IP packet is discarded,
前記現用装置及び予備装置のうち前記待機状態側の装置が、前記待機状態側の装置宛のIPパケットを受信すると、受信したIPパケットを処理することを特徴とする請求項7又は8に記載の通信システムの現用装置と予備装置の切替方法。  The device according to claim 7 or 8, wherein when the device on the standby state side of the active device and the standby device receives an IP packet addressed to the device on the standby state side, the received IP packet is processed. A method for switching between an active device and a standby device in a communication system.
JP2006082993A 2006-03-24 2006-03-24 COMMUNICATION SYSTEM AND METHOD FOR SWITCHING ACTIVITY DEVICE AND PREPARATION DEVICE Expired - Fee Related JP4716258B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006082993A JP4716258B2 (en) 2006-03-24 2006-03-24 COMMUNICATION SYSTEM AND METHOD FOR SWITCHING ACTIVITY DEVICE AND PREPARATION DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006082993A JP4716258B2 (en) 2006-03-24 2006-03-24 COMMUNICATION SYSTEM AND METHOD FOR SWITCHING ACTIVITY DEVICE AND PREPARATION DEVICE

Publications (2)

Publication Number Publication Date
JP2007259239A JP2007259239A (en) 2007-10-04
JP4716258B2 true JP4716258B2 (en) 2011-07-06

Family

ID=38632994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006082993A Expired - Fee Related JP4716258B2 (en) 2006-03-24 2006-03-24 COMMUNICATION SYSTEM AND METHOD FOR SWITCHING ACTIVITY DEVICE AND PREPARATION DEVICE

Country Status (1)

Country Link
JP (1) JP4716258B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5309350B2 (en) * 2009-08-10 2013-10-09 株式会社日立製作所 Mobile communication gateway apparatus and mobile communication gateway control method
JP5480778B2 (en) * 2010-11-08 2014-04-23 株式会社日立製作所 Duplex computer network system, network connection device, and fault detection and coping method
JP6040108B2 (en) * 2013-06-28 2016-12-07 日本電信電話株式会社 Call processing equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH088934A (en) * 1994-06-24 1996-01-12 Hitachi Ltd Path changeover method
JP2000333152A (en) * 1997-05-12 2000-11-30 Tokyo Hoso:Kk Digital video image distributor
JP2003023444A (en) * 2001-07-06 2003-01-24 Fujitsu Ltd Dynamic load distribution system utilizing virtual router
JP2003258684A (en) * 2002-03-01 2003-09-12 Fujitsu Ltd Method and system for monitoring and controlling malfunction state

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH088934A (en) * 1994-06-24 1996-01-12 Hitachi Ltd Path changeover method
JP2000333152A (en) * 1997-05-12 2000-11-30 Tokyo Hoso:Kk Digital video image distributor
JP2003023444A (en) * 2001-07-06 2003-01-24 Fujitsu Ltd Dynamic load distribution system utilizing virtual router
JP2003258684A (en) * 2002-03-01 2003-09-12 Fujitsu Ltd Method and system for monitoring and controlling malfunction state

Also Published As

Publication number Publication date
JP2007259239A (en) 2007-10-04

Similar Documents

Publication Publication Date Title
US9344328B1 (en) Fast port failover in a network switch
EP1180883B1 (en) Distributed source learning for data communication switch
US6975587B1 (en) Mechanism for automatic protection switching in a router
US8155150B1 (en) Cooperative MAC learning/aging in highly distributed forwarding system
JP4867545B2 (en) Communication device and search table management method used therefor
JP4500836B2 (en) Network switch device for redundant gateway system
CN106302199B (en) user mode protocol stack implementation method and system based on three-layer switch equipment
US7693169B2 (en) Transmission apparatus and frame transmission method
CN112615778B (en) Message forwarding method, device, router, storage medium and system
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
US8493959B2 (en) Multiple media access control (MAC) addresses
US20020054602A1 (en) Shared buffer type variable length packet switch
US7269661B2 (en) Method using receive and transmit protocol aware logic modules for confirming checksum values stored in network packet
US20070230469A1 (en) Transmission apparatus
US8184650B2 (en) Filtering of redundant frames in a network node
US20030223358A1 (en) Protection switching at a network node
US20090006650A1 (en) Communication device, communication method, communication interface, and program product
JP4716258B2 (en) COMMUNICATION SYSTEM AND METHOD FOR SWITCHING ACTIVITY DEVICE AND PREPARATION DEVICE
US7974282B2 (en) Network apparatus for redundant multicast
JP4405941B2 (en) Line redundancy method and relay apparatus used therefor
JP3888866B2 (en) Ethernet transmission line redundancy system
KR102260876B1 (en) Controller cluster and method for operating the controller cluster
JPH09130408A (en) Network interface device
US7184394B2 (en) Routing system providing continuity of service for the interfaces associated with neighboring networks
CN112511419B (en) Distributed forwarding system

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080605

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090115

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100915

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110214

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110307

R150 Certificate of patent or registration of utility model

Ref document number: 4716258

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110320

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

Free format text: PAYMENT UNTIL: 20140408

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees