JP5532260B2 - Communication system and communication apparatus - Google Patents

Communication system and communication apparatus Download PDF

Info

Publication number
JP5532260B2
JP5532260B2 JP2011009585A JP2011009585A JP5532260B2 JP 5532260 B2 JP5532260 B2 JP 5532260B2 JP 2011009585 A JP2011009585 A JP 2011009585A JP 2011009585 A JP2011009585 A JP 2011009585A JP 5532260 B2 JP5532260 B2 JP 5532260B2
Authority
JP
Japan
Prior art keywords
port
communication device
standby
power
packet
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
JP2011009585A
Other languages
Japanese (ja)
Other versions
JP2012151721A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2011009585A priority Critical patent/JP5532260B2/en
Publication of JP2012151721A publication Critical patent/JP2012151721A/en
Application granted granted Critical
Publication of JP5532260B2 publication Critical patent/JP5532260B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、対向装置にパケットを転送するパケット転送装置に関し、特に、予備系の省電力化技術に関する。   The present invention relates to a packet transfer apparatus that transfers a packet to an opposite apparatus, and more particularly, to a standby system power saving technique.

近年、通信トラフィックの増加によって、データセンタに設置されるネットワーク機器の台数、及び一台あたりの消費電力量が増加しており、消費電力削減は世界的な課題となっている。   In recent years, due to an increase in communication traffic, the number of network devices installed in a data center and the amount of power consumption per unit have increased, and reduction of power consumption has become a global issue.

一方、データセンタで使用されるネットワーク機器には高信頼性が要求されている。高信頼化技術の一つとして、イーサネット回線(「イーサネット」は登録商標。以下同じ。)による現用系/予備系による二重化技術が採用されている。二重化技術の一つであるホットスタンバイ方式では、予備(SBY)系は常時通電しており、現用(ACT)系に障害が発生したときに、速やかに予備系へ切り替えることによって、サービスを継続することができる。   On the other hand, high reliability is required for network devices used in data centers. As one of the high-reliability technologies, a duplex technology based on an active system / standby system using an Ethernet line (“Ethernet” is a registered trademark; the same applies hereinafter) is employed. In the hot standby method, which is one of the redundant technologies, the standby (SBY) system is always energized, and when a failure occurs in the active (ACT) system, the service is continued by quickly switching to the standby system. be able to.

しかし、実質的なデータのやりとりがない場合にも、予備系を常時通電すると、消費電力の無駄が多いことが課題となる。   However, even when there is no substantial exchange of data, if the standby system is always energized, there is a problem that power consumption is wasted.

この前述の課題を改善する技術が提案されている(例えば、特許文献1参照)。特許文献1に開示されている技術によると、GMPLS(Generalized Multi-Protocol Label Switching)によって制御されるネットワークシステムにおいて、複数の装置を経由する現用系及び予備系のLSP(Label Switched Path)を冗長に構成し、予備系LSPの経路上の全てのインタフェースを省電力状態に設定するように、各LSPのインタフェースの節電能力を考慮して経路を設定する。そして、現用系LSPに障害が発生した場合、予備系LSP上の全てのインタフェースの省電力状態を解除し、通常状態とすることによってネットワークシステム全体での省電力化を実現している。   A technique for improving the above-described problem has been proposed (see, for example, Patent Document 1). According to the technology disclosed in Patent Document 1, in a network system controlled by GMPLS (Generalized Multi-Protocol Label Switching), active and standby LSPs (Label Switched Paths) via a plurality of devices are made redundant. The path is set in consideration of the power saving capability of each LSP interface so that all the interfaces on the path of the standby LSP are set in the power saving state. When a failure occurs in the active LSP, the power saving state of all the interfaces on the standby LSP is canceled and the normal state is established, thereby realizing power saving in the entire network system.

特開2009−100442号公報JP 2009-100442 A

前述した特許文献1に記載された技術は、予備系の回線終端部を省電力化し電源をOFFとするので、電源OFF以降、予備系における通信ができない。よって、回線終端部の電源OFF以降、予備系が故障し、更に現用系の障害によって現用系から予備系に切り替わった場合、システムがダウンする。すなわち、予備系の回線終端部の電源をOFFとすることによって、予備系の障害が潜在化する。   The technique described in Patent Document 1 described above saves power in the standby line termination unit and turns off the power supply. Therefore, after the power is turned off, communication in the standby system cannot be performed. Therefore, if the standby system fails after the power is turned off at the line termination unit, and the active system is switched from the active system to the standby system due to a failure in the active system, the system goes down. In other words, the failure of the standby system becomes latent by turning off the power supply of the line termination unit of the standby system.

本発明は、省電力化及びリンクの正常性確認が両立したパケット転送装置の提供を目的とする。   An object of the present invention is to provide a packet transfer apparatus that achieves both power saving and link normality confirmation.

本願において開示される発明の代表的な一例を示せば以下の通りである。すなわち、対向して配置された第1の通信装置と第2の通信装置とを備える通信システムであって、前記各通信装置は、各々が回線終端部を有する複数の送信ポート及び受信ポートと、前記各ポートの動作を制御する制御部と、を有し、前記送信ポート及び前記受信ポートは、各々、現用系のポートと予備系のポートとを含み、前記現用系の各ポートは、前記対向する通信装置の現用系のポートと接続されており、前記予備系の各ポートは、前記対向する通信装置の予備系のポートと接続されており、前記第1の通信装置の制御部は、前記第2の通信装置へ第1の同期情報を送信し、前記送信した第1の同期情報に含まれる電源の制御タイミングの情報を管理テーブルに記録し、前記電源オフの制御タイミングになると、前記第1の通信装置の予備系のポートの動作を停止し、前記電源オンの制御タイミングになると、前記第1の通信装置の予備系のポートの動作を再開し、前記第2の通信装置の制御部は、前記第1の通信装置から前記第1の同期情報を受信すると、前記受信した第1の同期情報に含まれる電源の制御タイミングの情報を管理テーブルに記録し、前記電源オフの制御タイミングになると、前記第2の通信装置の予備系のポートの動作を停止し、前記電源オンの制御タイミングになると、前記第2の通信装置の予備系のポートの動作を再開する。   A typical example of the invention disclosed in the present application is as follows. That is, a communication system including a first communication device and a second communication device arranged to face each other, each communication device including a plurality of transmission ports and reception ports each having a line termination unit; A control unit that controls the operation of each port, wherein the transmission port and the reception port each include an active port and a standby port, and each active port is the opposite port Connected to the active system port of the communication device, each port of the standby system is connected to the standby port of the opposing communication device, and the control unit of the first communication device When the first synchronization information is transmitted to the second communication device, the power control timing information included in the transmitted first synchronization information is recorded in the management table, and the power off control timing is reached. 1 Communication device When the operation of the standby port is stopped and the power-on control timing comes, the operation of the standby port of the first communication device is resumed, and the control unit of the second communication device When the first synchronization information is received from the communication device, information on the control timing of the power included in the received first synchronization information is recorded in a management table. When the operation of the standby port of the second communication device is stopped and the power-on control timing comes, the operation of the standby port of the second communication device is resumed.

本発明の代表的な実施の形態によれば、予備系の省電力化を図りつつ、高信頼性を実現することができる。   According to the representative embodiment of the present invention, high reliability can be realized while saving power in the standby system.

本発明の第1の実施形態のパケット転送装置の構成を示すブロック図である。It is a block diagram which shows the structure of the packet transfer apparatus of the 1st Embodiment of this invention. 第1の実施形態のパケット転送装置1とパケット転送装置2との間でイーサネット回線による現用系/予備系によって構成された二重化通信路の例を示すブロック図である。2 is a block diagram illustrating an example of a duplex communication path configured by an active / standby system using an Ethernet line between the packet transfer apparatus 1 and the packet transfer apparatus 2 of the first embodiment. FIG. 第1の実施形態の現用系のパケット転送装置の回線終端部の電源状態と消費電力とを表した図である。It is a figure showing the power supply state and power consumption of the circuit | line termination part of the active packet transfer apparatus of 1st Embodiment. 第1の実施形態の予備系のパケット転送装置の回線終端部の電源状態と消費電力とを表した図である。It is a figure showing the power supply state and power consumption of the circuit | line termination part of the backup packet transfer apparatus of 1st Embodiment. 第1の実施形態のパケット転送装置によって転送される設定情報パケットの説明図である。It is explanatory drawing of the setting information packet transferred by the packet transfer apparatus of 1st Embodiment. 第1の実施形態のパケット転送装置によって転送される同期情報パケットの説明図である。It is explanatory drawing of the synchronous information packet transferred by the packet transfer apparatus of 1st Embodiment. 第1の実施形態の回線終端部管理テーブルの説明図である。It is explanatory drawing of the circuit | line termination part management table of 1st Embodiment. 第1の実施形態の同期パケット管理テーブルの説明図である。It is explanatory drawing of the synchronous packet management table of 1st Embodiment. 第1の実施形態のMACアドレス管理テーブルの説明図である。It is explanatory drawing of the MAC address management table of 1st Embodiment. 第1の実施の形態のパケット転送装置の間の動作を示すシーケンス図である。It is a sequence diagram which shows the operation | movement between the packet transfer apparatuses of 1st Embodiment. 第1の実施の形態のパケット転送装置の間の動作を示すシーケンス図である。It is a sequence diagram which shows the operation | movement between the packet transfer apparatuses of 1st Embodiment. 第1の実施形態のパケット転送装置のデータ受信処理を示すフローチャートである。It is a flowchart which shows the data reception process of the packet transfer apparatus of 1st Embodiment. 本発明の第2の実施形態のパケット転送装置の間でイーサネット回線による現用系/予備系によって構成された二重化通信路の例を示すブロック図である。It is a block diagram which shows the example of the duplication communication path comprised by the active system / protection system by the Ethernet line between the packet transfer apparatuses of the 2nd Embodiment of this invention. 第2の実施形態の現用系のパケット転送装置の回線終端部の電源状態と消費電力とを表した図である。It is a figure showing the power supply state and power consumption of the circuit | line termination part of the active packet transfer apparatus of 2nd Embodiment. 第2の実施形態の予備系のパケット転送装置の回線終端部の電源状態と消費電力とを表した図である。It is a figure showing the power supply state and power consumption of the circuit | line termination part of the backup type packet transfer apparatus of 2nd Embodiment. 第2の実施の形態のパケット転送装置の間の動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement between the packet transfer apparatuses of 2nd Embodiment.

以下、本発明の実施の形態について、図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<実施形態1>
図1は、本発明の第1の実施形態のパケット転送装置1000の構成を示すブロック図である。
<Embodiment 1>
FIG. 1 is a block diagram illustrating a configuration of a packet transfer apparatus 1000 according to the first embodiment of this invention.

パケット転送装置1000は、受信側回線終端部1〜n(10−1〜10−n)、送信側回線終端部1〜n(20−1〜20−n)、イーサネット処理部30、メモリ40、制御部50及びCPU60を備える。イーサネット処理部30は、ルーティング処理部30−1及びSW30−2を有する。メモリ40は、回線終端部管理テーブル40−1、同期パケット管理テーブル40−2及びMACアドレス管理テーブル40−3を格納する。   The packet transfer apparatus 1000 includes reception side line termination units 1 to n (10-1 to 10-n), transmission side line termination units 1 to n (20-1 to 20-n), an Ethernet processing unit 30, a memory 40, A control unit 50 and a CPU 60 are provided. The Ethernet processing unit 30 includes a routing processing unit 30-1 and a SW 30-2. The memory 40 stores a line termination unit management table 40-1, a synchronization packet management table 40-2, and a MAC address management table 40-3.

受信側回線終端部1〜n(10−1〜10−n)及び送信側回線終端部1〜n(20−1〜20−n)は、物理層のプロトコルを制御する、いわゆるPHYチップを含む。   The reception side line termination units 1 to n (10-1 to 10-n) and the transmission side line termination units 1 to n (20-1 to 20-n) include so-called PHY chips that control the protocol of the physical layer. .

以下、回線No.0を現用系として、受信側回線終端部1(10−1)がデータを受信した場合について説明する。通常のデータ処理では、パケット転送装置1000が受信したデータは、データを受信側回線終端部1(10−1)からイーサネット処理部30を経て回線No.0の送信側回線終端部1(20−1)へ送られる。すなわち、イーサネット処理部30内のルーティング処理部30−1が最適経路を選択し、SW30−2がデータを宛先アドレスへフォワーディングする。MACアドレスは、MACアドレス管理テーブル40−3によって管理される。CPU60は、メモリ40に格納されたプログラムを実行することによって、メモリ40に格納された各テーブルを更新する。   Hereinafter, the line No. A case where the receiving side line termination unit 1 (10-1) receives data with 0 as the active system will be described. In normal data processing, the data received by the packet transfer apparatus 1000 is transmitted from the receiving side line terminating unit 1 (10-1) via the Ethernet processing unit 30 to the line No. 0 is sent to the transmission side line termination unit 1 (20-1). That is, the routing processing unit 30-1 in the Ethernet processing unit 30 selects the optimum route, and the SW 30-2 forwards the data to the destination address. The MAC address is managed by the MAC address management table 40-3. The CPU 60 updates each table stored in the memory 40 by executing the program stored in the memory 40.

また、予備系の回線終端部10及び20の電源をOFFにすることで省電力化する。省電力処理は、パケット転送装置1000が設定情報パケット10000を受信することによって実行される。以下、回線No.1を予備系として受信側回線終端部2(10−2)から設定情報パケット10000を受信した場合について説明する。   Further, power is saved by turning off the power supply of the standby line termination units 10 and 20. The power saving process is executed when the packet transfer apparatus 1000 receives the setting information packet 10000. Hereinafter, the line No. A case where the setting information packet 10000 is received from the receiving-side line terminating unit 2 (10-2) using 1 as a backup system will be described.

パケット転送装置1000が設定情報パケット10000を受信すると、受信したパケット10000は、受信側回線終端部2(10−2)からイーサネット処理部30を経て回線No.1の送信側回線終端部2(20−2)へ送られる。   When the packet transfer apparatus 1000 receives the setting information packet 10000, the received packet 10000 is sent from the receiving side line termination unit 2 (10-2) to the line No. via the Ethernet processing unit 30. 1 to the transmission side line termination unit 2 (20-2).

イーサネット処理部30では、まず、設定情報パケット10000から対向装置の回線終端部のMACアドレスを、後述するMACアドレス管理テーブル40−3へ書き込む。なお、自装置の回線終端部のMACアドレスは既に設定されている。そこで、イーサネット処理部30は、自装置の回線終端部のMACアドレスと対向装置の回線終端部のMACアドレスとを比較し、大きいMACアドレスが設定された装置をマスタに、小さいMACアドレスが設定された装置をスレーブに設定する。次のステップにおける同期情報パケット20000の送信の主導権はマスタ側が持つことになる。   The Ethernet processing unit 30 first writes the MAC address of the line termination unit of the opposite device from the setting information packet 10000 into the MAC address management table 40-3 described later. Note that the MAC address of the line termination unit of the own device has already been set. Therefore, the Ethernet processing unit 30 compares the MAC address of the line termination unit of its own device with the MAC address of the line termination unit of the opposite device, and sets a small MAC address as a master with a device having a large MAC address set as a master. Set the device as a slave. The master side has the initiative to transmit the synchronization information packet 20000 in the next step.

次に、メモリ40内の同期パケット管理テーブル40−2の電源OFF開始時刻のフィールド40−2−cに、同期情報パケット20000の電源OFF開始時刻20000−8の情報を書き込む、制御部50は、この情報に基づいて受信側回線終端部2(10−2)及び送信側回線終端部2(20−1)の電源をOFFにする。   Next, the control unit 50 writes the information of the power OFF start time 20000-8 of the synchronization information packet 20000 in the power OFF start time field 40-2-c of the synchronization packet management table 40-2 in the memory 40. Based on this information, the power of the receiving side line terminating unit 2 (10-2) and the transmitting side line terminating unit 2 (20-1) is turned off.

しかし、予備系の回線終端部の電源をOFFにすると、電源OFF以降、予備系同士は通信できない。このため、回線終端部の電源OFF以降、予備系が故障し、更に現用系の障害によって現用系から予備系に切り替わった場合、システムがダウンする。すなわち、予備系回線終端部の障害を潜在化する。このため、予備系回線終端部の電源がOFFになっていても、予備系終端部の電源を一時的にONにして、予備系リンクの正常を確認し、予備系終端部の障害を潜在化させないようにする。   However, when the power supply of the line termination unit of the standby system is turned off, the standby systems cannot communicate with each other after the power is turned off. For this reason, if the standby system fails after the power is turned off at the line termination unit, and the active system is switched from the active system to the standby system due to a failure in the active system, the system goes down. That is, the failure of the protection line termination unit is made latent. For this reason, even if the power supply of the standby system termination is turned off, the power supply of the standby system termination is temporarily turned on to check the normality of the backup system link, and the failure of the standby system termination is made latent Do not let it.

具体的には、予備系回線終端部の電源OFF時の動作と同様に、後述するメモリ40の回線終端部管理テーブル40−1(図5参照)の電源OFF継続時間40−1−eのフィールドに、設定情報パケット10000に含まれる電源OFF継続時間10000−8を書き込み、電源ON継続時間40−1−fのフィールドに設定情報パケット10000の電源ON継続時間10000−9を書き込む。この電源OFF継続時間及び電源ON継続時間の情報に基づいて、制御部50は、受信側回線終端部2(10−2)及び送信側回線終端部2(20−2)の電源をOFF及びONに制御する。   Specifically, the field of the power OFF duration 40-1-e in the line termination management table 40-1 (see FIG. 5) of the memory 40, which will be described later, in the same manner as the operation of the standby line termination at power OFF. Then, the power OFF duration 10000-8 included in the setting information packet 10000 is written, and the power ON duration 10000-9 of the setting information packet 10000 is written in the field of the power ON duration 40-1-f. Based on the information of the power OFF duration and the power ON duration, the control unit 50 turns OFF and ON the power of the reception side line termination unit 2 (10-2) and the transmission side line termination unit 2 (20-2). To control.

また、自装置の時刻と対向装置の時刻との間にずれが生じると、電源ON継続時間10000−9の情報が一致していても、リンク確認時間がずれることによって、リンク断が誤って検出される。この誤検出を防ぐために、回線終端部の電源ON時のリンク確立において、同期情報パケット20000によって同期情報をやりとりし、自装置の時刻と対向装置の時刻とを整合させる。これによって、自装置の時刻と対向装置の時刻との差を小さくすることができる。   In addition, if there is a discrepancy between the time of the local device and the time of the opposite device, even if the information of the power-on duration 10000-9 matches, the link check time will deviate, so that the link break is detected erroneously. Is done. In order to prevent this erroneous detection, synchronization information is exchanged by means of a synchronization information packet 20000 at the time of link establishment at the time of power-on of the line termination unit, and the time of the own device and the time of the opposite device are matched. Thereby, the difference between the time of the own device and the time of the opposite device can be reduced.

さらに、後述するMACアドレス管理テーブル40−3(図7参照)を参照して、自装置の回線終端部のMACアドレスと、対向装置の回線終端部のMACアドレスとを比較する。比較の結果、MACアドレスが大きい装置をマスタとして、マスタ側から同期情報パケット20000を送信する。なお、マスタ側装置は、時計のズレを防止するために、NTP(Network Time Protocol)等で時刻合わせをしてもよい。   Furthermore, referring to a MAC address management table 40-3 (see FIG. 7) described later, the MAC address of the line termination unit of the own device is compared with the MAC address of the line termination unit of the opposite device. As a result of the comparison, a synchronization information packet 20000 is transmitted from the master side with the device having a large MAC address as the master. Note that the master side device may set the time using an NTP (Network Time Protocol) or the like in order to prevent a time lag.

スレーブ側装置は、マスタ側装置から同期情報パケット20000を受信すると、受信した同期情報パケット20000から電源OFF開始時刻20000−8を抽出し、メモリ40内の同期パケット管理テーブル40−2(図8参照)の電源OFF開始時刻40−2−cのフィールドに書き込む。また、受信した同期情報パケット20000から電源ON開始時刻20000−9を抽出し、メモリ40内の同期パケット管理テーブル40−2の電源ON開始時刻40−2−bのフィールドに書き込む。   When the slave device receives the synchronization information packet 20000 from the master device, the slave device extracts the power OFF start time 20000-8 from the received synchronization information packet 20000, and the synchronization packet management table 40-2 in the memory 40 (see FIG. 8). ) In the field of the power OFF start time 40-2-c. Further, the power ON start time 20000-9 is extracted from the received synchronization information packet 20000 and written in the field of the power ON start time 40-2-b of the synchronous packet management table 40-2 in the memory 40.

制御部50は、同期パケット管理テーブル40−2の情報に基づいて、受信側回線終端部2(10−2)と送信側回線終端部2(20−2)の電源をON/OFFする時刻を同期させる。   Based on the information in the synchronization packet management table 40-2, the control unit 50 sets the time to turn on / off the power of the reception side line termination unit 2 (10-2) and the transmission side line termination unit 2 (20-2). Synchronize.

なお、本実施の形態では、パケット転送装置1000の省電力化について説明するが、本発明は、ネットワーク機器(サーバ、スイッチ、ルータ等)における予備系の省電力化にも適用することができる。   In the present embodiment, power saving of the packet transfer apparatus 1000 will be described. However, the present invention can also be applied to power saving of a standby system in a network device (server, switch, router, etc.).

図2Aは、第1の実施形態のパケット転送装置1(1000−1)とパケット転送装置2(1000−2)との間でイーサネット回線による現用系/予備系によって構成された二重化通信路の例を示すブロック図である。また、図2Bは、図2Aに示す現用系のパケット転送装置の回線終端部の電源状態及び消費電力を時間軸上に表した図であり、図2Cは、図2Aに示す予備系のパケット転送装置の回線終端部の電源状態及び消費電力を時間軸上に表した図である。   FIG. 2A shows an example of a duplex communication path configured by an active / standby system using an Ethernet line between the packet transfer apparatus 1 (1000-1) and the packet transfer apparatus 2 (1000-2) of the first embodiment. FIG. 2B is a diagram showing the power state and power consumption of the line termination unit of the active packet transfer apparatus shown in FIG. 2A on the time axis, and FIG. 2C is a backup packet transfer shown in FIG. 2A. It is the figure which represented on the time-axis the power supply state and power consumption of the circuit | line termination part of an apparatus.

図2Aに示す例では、現用系(ACT系)が回線No.0であり、予備系(STB系)が回線No.1である。また、図2Aに示す例では、現用系及び予備系の回線は、各々、上り下り1本ずつであるが、複数の現用系及び/又は予備系の回線が複数本であってもよい。   In the example shown in FIG. 2A, the active system (ACT system) is the line No. 0, and the standby system (STB system) is line No. 1. Further, in the example shown in FIG. 2A, the number of working and protection channels is one each for uplink and downlink, but there may be a plurality of working and / or protection channels.

現用系では、パケット転送装置1(1000−1)及びパケット転送装置2(1000−2)の各送信側回線終端部1(20−1)及び各受信側回線終端部1(10−1)は、電源がONの状態(S30)が維持される。データ受信時の際の電力消費の変動を考慮しない場合、回線終端部の消費電力は一定である(S31)。   In the active system, each transmission side line termination unit 1 (20-1) and each reception side line termination unit 1 (10-1) of the packet transfer device 1 (1000-1) and the packet transfer device 2 (1000-2) , The power-on state (S30) is maintained. When the fluctuation of power consumption at the time of data reception is not taken into consideration, the power consumption of the line termination unit is constant (S31).

一方、予備系では、図1で前述したようにパケット転送装置1(1000−1)及びパケット転送装置2(1000−2)の予備系の各送信側回線終端部2(20−2)及び各受信側回線終端部2(10−2)の電源をOFFに制御することによって、平均消費電力を削減し、さらに、予備系の各終端部の電源を定期的にONにすることによって、リンクの正常を確認する。   On the other hand, in the standby system, as described above with reference to FIG. 1, each transmission-side line termination unit 2 (20-2) and each of the standby systems of the packet transfer apparatus 1 (1000-1) and the packet transfer apparatus 2 (1000-2) The average power consumption is reduced by controlling the power supply of the receiving side line termination unit 2 (10-2) to OFF, and the power supply of each termination unit of the standby system is periodically turned ON to Check for normality.

制御部50は、後述する回線終端部管理テーブル40−1(図5参照)を参照し、電源OFF継続時間が5秒であり、電源ON継続時間が2秒であることから、予備系の回線終端部の電源を2秒間ONにし(S33)、5秒間OFFにすること(S32)を繰り返す。このように、予備系の回線終端部の電源のON/OFFを定期的に制御することによって、平均消費電力を下げることができる。すなわち、予備系の平均消費電力は、現用系の平均消費電力に比べて、予備系の回線終端部の電源を2秒/5秒の継続時間でON/OFFすることから、原理的に、消費電力を5/7削減することができる(S34)。   The control unit 50 refers to a line termination unit management table 40-1 (see FIG. 5), which will be described later, and has a power-off duration of 5 seconds and a power-on duration of 2 seconds. The power supply at the end is turned on for 2 seconds (S33) and turned off for 5 seconds (S32). In this way, the average power consumption can be reduced by periodically controlling the ON / OFF of the power supply of the standby line termination unit. In other words, the average power consumption of the standby system is basically the same as the average power consumption of the active system because the power supply of the line termination unit of the standby system is turned on / off with a duration of 2 seconds / 5 seconds. The power can be reduced by 5/7 (S34).

図3は、第1の実施形態のパケット転送装置によって転送される設定情報パケット10000の説明図である。   FIG. 3 is an explanatory diagram of the setting information packet 10000 transferred by the packet transfer apparatus according to the first embodiment.

設定情報パケット10000は、UDPに従って転送されるパケットであって、イーサネットヘッダ及びイーサネットデータを含む。   The setting information packet 10000 is a packet transferred according to UDP, and includes an Ethernet header and Ethernet data.

イーサネットヘッダは、宛先MACアドレス10000−1、送信元MACアドレス10000−2及びタイプ10000−3の各フィールドを含む。イーサネットデータは、IPヘッダ10000−4、UDPヘッダ10000−5、識別子10000−6、メッセージ種別10000−7、電源OFF継続時間10000−8、電源ON継続時間10000−9、同期パケットの再送回数10000−10及びタイムスタンプ10000−11の各フィールドを含む。   The Ethernet header includes fields of a destination MAC address 10000-1, a source MAC address 10000-2, and a type 10000-3. The Ethernet data includes an IP header 10000-4, a UDP header 10000-5, an identifier 10000-6, a message type 10000-7, a power-off duration 10000-8, a power-on duration 10000-9, and the number of synchronization packet retransmissions 10000- 10 and time stamp 10000-11.

図1で前述したように、パケット転送装置1000が設定情報パケット10000を受信することによって、回線終端部10及び20の電源のON/OFF制御を開始し、受信したパケット転送装置1000に含まれるデータを後述する回線終端部管理テーブル40−1(図5参照)に書き込む。制御部50は、回線終端部管理テーブル40−1に記録された情報によって、回線終端部の電源ON/OFFを制御する。なお、設定情報パケット10000の受信によって、パケット転送装置1000の回線終端部の電源のON/OFFの制御が開始するが、この制御を開始するための設定は、手動でも可能である。   As described above with reference to FIG. 1, when the packet transfer apparatus 1000 receives the setting information packet 10000, the power ON / OFF control of the line termination units 10 and 20 is started, and the received data included in the packet transfer apparatus 1000 Is written in a line termination unit management table 40-1 (see FIG. 5) to be described later. The control unit 50 controls power ON / OFF of the line termination unit based on the information recorded in the line termination unit management table 40-1. Note that, when the setting information packet 10000 is received, the power ON / OFF control of the line termination unit of the packet transfer apparatus 1000 is started. The setting for starting this control can also be performed manually.

具体的には、宛先MACアドレス10000−1は設定情報パケット10000の受信側のパケット転送装置1000のアドレスであり、送信元MACアドレス10000−2は、設定情報パケット10000の送信側のパケット転送装置1000のアドレスである。各回線番号の回線終端部の宛先MACアドレス10000−1と、送信元MACアドレス10000−2とを比較して、大きいMACアドレスが設定された装置に、後述する自装置と対向装置の同期情報パケット20000の送信権が設定される。タイプ10000−3はIPであるので、0800(16進数)となる。識別子10000−6は受信したパケットを判別するためのデータで、設定情報パケットでは「1」が、同期情報パケットでは「2」が設定される。   Specifically, the destination MAC address 10000-1 is the address of the packet transfer device 1000 on the receiving side of the setting information packet 10000, and the transmission source MAC address 10000-2 is the packet transfer device 1000 on the transmitting side of the setting information packet 10000. Address. The destination MAC address 10000-1 of the line termination part of each line number is compared with the transmission source MAC address 10000-2, and the synchronization information packet between the own device and the opposite device, which will be described later, is set in the device set with a large MAC address. A transmission right of 20000 is set. Since type 10000-3 is IP, it is 0800 (hexadecimal). The identifier 10000-6 is data for determining the received packet, and “1” is set in the setting information packet and “2” is set in the synchronization information packet.

送信側のパケット転送装置1000は、Requestパケットの確認応答であるACKパケットを受信した後に、次のデータを送信する。このメッセージ種別を判別するために、設定情報パケット10000のメッセージ種別10000−7のデータを用いる。メッセージ種別10000−7には、Requestパケットでは「1」が、Ackパケットでは「2」が設定される。   The transmission side packet transfer apparatus 1000 transmits the next data after receiving the ACK packet which is the confirmation response of the request packet. In order to determine the message type, data of the message type 10000-7 in the setting information packet 10000 is used. In the message type 10000-7, “1” is set in the Request packet and “2” is set in the Ack packet.

タイムスタンプ10000−11は、マスタ側のパケット転送装置1000が設定情報パケット10000を送信した時刻である。制御部50が回線終端部の電源をOFFする継続時間(例えば、5秒)は、電源OFF継続時間10000−8に記載された値である。一方、制御部50が回線終端部の電源をONする継続時間(例えば、2秒)は、電源ON継続時間10000−9に記載された値である。   The time stamp 10000-11 is the time when the packet transfer apparatus 1000 on the master side transmits the setting information packet 10000. The duration (for example, 5 seconds) for which the control unit 50 turns off the power at the line termination unit is the value described in the power-off duration 10000-8. On the other hand, the continuation time (for example, 2 seconds) for which the control unit 50 turns on the power of the line termination unit is the value described in the power-on continuation time 10000-9.

送信側のパケット転送装置1000は、所定の時間が経過しても確認応答を受信しなかった場合、同期情報パケット20000を再送する。設定情報パケット10000の同期情報パケットの再送回数10000−10は、後述する同期情報パケット20000(図4参照)の再送回数の上限値を設定するために用いられる。なお、この設定値を超えて同期情報パケット20000を再送する際にタイムアウトとなる。   If the packet transfer apparatus 1000 on the transmission side does not receive an acknowledgment even after a predetermined time has elapsed, it resends the synchronization information packet 20000. The synchronization information packet retransmission count 10000-10 of the setting information packet 10000 is used to set an upper limit value of the retransmission count of a synchronization information packet 20000 (see FIG. 4) described later. Note that a timeout occurs when the synchronization information packet 20000 is retransmitted exceeding this set value.

図4は、第1の実施形態のパケット転送装置によって転送される同期情報パケット20000の説明図である。   FIG. 4 is an explanatory diagram of the synchronization information packet 20000 transferred by the packet transfer apparatus according to the first embodiment.

同期情報パケット20000は、UDPに従って転送されるパケットであって、イーサネットヘッダ及びイーサネットデータに分けられる。   The synchronization information packet 20000 is a packet transferred according to UDP, and is divided into an Ethernet header and Ethernet data.

イーサネットヘッダは、宛先MACアドレス20000−1、送信元MACアドレス20000−2及びタイプ20000−3の各フィールドを含む。イーサネットデータは、IPヘッダ20000−4、UDPヘッダ20000−5、識別子20000−6、メッセージ種別20000−7、電源OFF開始時刻20000−8、電源ON開始時刻20000−9、同期パケットの再送回数(カウンタ)20000−10及びタイムスタンプ20000−11の各フィールドを含む。   The Ethernet header includes fields of a destination MAC address 20000-1, a source MAC address 20000-2, and a type 20000-3. The Ethernet data includes an IP header 20000-4, a UDP header 20000-5, an identifier 20000-6, a message type 20000-7, a power OFF start time 20000-8, a power ON start time 20000-9, and the number of synchronization packet retransmissions (counter ) Field of 20000-10 and time stamp 20000-11.

図1で前述したように、自装置の時刻と対向装置の時刻とがずれると、電源ON継続時間10000−9の情報が一致していても、リンク確認時間がずれることによって、リンク断が誤って検出される。この誤検出を防ぐために、回線終端部の電源ON時のリンク確立において、同期情報パケット20000によって同期情報をやりとりし、自装置の時刻と対向装置の時刻とを整合させる。   As described above with reference to FIG. 1, if the time of the own device and the time of the opposite device are deviated, the link check time is deviated even if the information of the power ON continuation time 10000-9 is coincident. Detected. In order to prevent this erroneous detection, synchronization information is exchanged by means of a synchronization information packet 20000 at the time of link establishment at the time of power-on of the line termination unit, and the time of the own device and the time of the opposite device are matched.

具体的には、宛先MACアドレス20000−1は同期情報パケット20000の受信側のパケット転送装置1000のアドレスであり、送信元MACアドレス20000−2は、同期情報パケット20000の送信側のパケット転送装置1000のアドレスである。タイプ20000−3はIPであるので、0800(16進数)となる。識別子20000−6は受信したパケットを判別するためのデータで、設定情報パケットでは「1」が、同期情報パケットでは「2」が設定される。   Specifically, the destination MAC address 20000-1 is the address of the packet transfer apparatus 1000 on the receiving side of the synchronization information packet 20000, and the source MAC address 20000-2 is the packet transfer apparatus 1000 on the transmitting side of the synchronization information packet 20000. Address. Since the type 20000-3 is IP, it is 0800 (hexadecimal number). The identifier 20000-6 is data for determining the received packet, and “1” is set in the setting information packet and “2” is set in the synchronization information packet.

送信側のパケット転送装置1000は、Requestパケットの確認応答であるACKパケットを受信した後に、次のデータを送信する。このメッセージ種別を判別するために、同期情報パケット20000のメッセージ種別20000−7のデータを用いる。メッセージ種別20000−7には、Requestパケットでは「1」が、Ackパケットでは「2」が設定される。   The transmission side packet transfer apparatus 1000 transmits the next data after receiving the ACK packet which is the confirmation response of the request packet. In order to determine the message type, data of the message type 20000-7 of the synchronization information packet 20000 is used. In the message type 20000-7, “1” is set for the Request packet, and “2” is set for the Ack packet.

タイムスタンプ20000−11は、マスタ側のパケット転送装置1000が同期情報パケット20000を送信した時刻である。制御部50が回線終端部の電源をOFFする時刻(例えば、2010:9:1 22:15:00)は、電源OFF開始時刻20000−8に記載された値である。一方、回線終端部の電源をONする時刻(例えば、2010:9:1 22:15:05)は、電源ON開始時間20000−9に記載された値である。   The time stamp 20000-11 is the time when the master side packet transfer apparatus 1000 transmits the synchronization information packet 20000. The time (for example, 2010: 9: 1 22:15:00) when the control unit 50 turns off the power of the line termination unit is the value described in the power-off start time 20000-8. On the other hand, the time (for example, 2010: 9: 1 22:15:05) at which the power of the line termination unit is turned on is the value described in the power-on start time 20000-9.

ある時間が経過しても確認応答が来なかった場合、送信側のパケット転送装置1000は、同期情報パケット20000を再送信する。設定情報パケット10000の同期情報パケットの再送回数10000−10には、後述する同期情報パケット20000(図4参照)の再送回数の上限値を設定するために用いられる。なお、この設定値を超えて同期情報パケット20000を再送する際にタイムアウトとなる。   If an acknowledgment is not received after a certain period of time, the transmission side packet transfer apparatus 1000 retransmits the synchronization information packet 20000. The synchronization information packet retransmission count 10000-10 of the setting information packet 10000 is used to set an upper limit value of the retransmission count of a synchronization information packet 20000 (see FIG. 4) described later. Note that a timeout occurs when the synchronization information packet 20000 is retransmitted exceeding this set value.

送信側のパケット転送装置1000は、所定の時間が経過しても確認応答が来なかった場合、同期情報パケット20000を再送する。この時、送信側のパケット転送装置1000は、同期情報パケット20000の再送回数をカウントアップし、同期情報パケットの再送回数20000−10に設定する。図3で前述した設定情報パケット10000の同期情報パケットの再送回数10000−10の設定値を超えて同期情報パケット20000を再送する際にタイムアウトとなる。   The packet transfer apparatus 1000 on the transmission side retransmits the synchronization information packet 20000 if no confirmation response is received even after a predetermined time has elapsed. At this time, the packet transfer apparatus 1000 on the transmission side counts up the number of retransmissions of the synchronization information packet 20000 and sets the number of retransmissions of the synchronization information packet to 20000-10. A timeout occurs when the synchronization information packet 20000 is retransmitted exceeding the set value of the number of retransmissions 10000-10 of the synchronization information packet of the setting information packet 10000 described above with reference to FIG.

図5は、第1の実施形態の回線終端部管理テーブル40−1の一例を説明する図である。   FIG. 5 is a diagram illustrating an example of the line termination unit management table 40-1 according to the first embodiment.

回線終端部管理テーブル40−1は、主に、設定情報パケット10000に含まれる情報を管理するテーブルで、回線番号40−1−a、送信時刻(Request)40−1−b、受信時刻(Ask)40−1−c、遅延時間40−1−d、電源OFF継続時間40−1−e、電源ON継続時間40−1−f及び再送継続時間40−1−gを含む。回線終端部管理テーブル40−1は、前述した設定情報パケット10000を受信する度に更新される。制御部50は、回線終端部管理テーブル40−1の電源OFF継続時間40−1−e及び電源ON継続時間40−1−fに記録された情報によって、回線終端部10、20の電源のON/OFFを制御する。   The line termination unit management table 40-1 is a table that mainly manages information included in the setting information packet 10000, and includes a line number 40-1-a, a transmission time (Request) 40-1-b, and a reception time (Ask). ) 40-1-c, delay time 40-1-d, power OFF duration 40-1-e, power ON duration 40-1-f, and retransmission duration 40-1-g. The line termination unit management table 40-1 is updated every time the setting information packet 10000 described above is received. The control unit 50 turns on the power of the line termination units 10 and 20 based on the information recorded in the power OFF duration 40-1-e and the power ON duration 40-1-f of the line termination management table 40-1. / OFF is controlled.

具体的には、マスタ側のパケット転送装置1000が送信した設定情報パケット(Request)10000に含まれるタイムスタンプ10000−11の時刻が送信時刻(Request)40−1−bのフィールドに設定され、その応答としてパケット転送装置1000から送信される設定情報パケット(Ack)10000に含まれるタイムスタンプ10000−11の時刻が受信時刻(Ack)40−1−cのフィールドに設定される。例えば、回線No.1では、送信時刻に2010:9:1 22:10:05が設定され、受信時刻に2010:9:1 22:10:06が設定される。   Specifically, the time of the time stamp 10000-11 included in the setting information packet (Request) 10000 transmitted by the packet transfer device 1000 on the master side is set in the field of the transmission time (Request) 40-1-b. In response, the time of the time stamp 10000-11 included in the setting information packet (Ack) 10000 transmitted from the packet transfer apparatus 1000 is set in the field of the reception time (Ack) 40-1-c. For example, the line No. 1, 2010: 9: 1 22:10:05 is set as the transmission time, and 2010: 9: 1 22:10:06 is set as the reception time.

設定情報パケット(Request)と設定情報パケット(Ack)との遅延時間が遅延時間40−1−dのフィールドに設定され、その遅延時間から算出された再送間隔時間が再送間隔時間40−1−gのフィールドに設定される。この設定情報パケット10000のやりとりにおいて、RequestとAckのメッセージの遅延時間を利用することによって、同期情報パケット20000の再送間隔時間を算出し、通信品質を定める。算出された再送間隔によって、通信品質に合わせて同期情報パケット20000を再送することができ、高精度の時刻同期処理を実現することができる。   The delay time between the setting information packet (Request) and the setting information packet (Ack) is set in the field of the delay time 40-1-d, and the retransmission interval time calculated from the delay time is the retransmission interval time 40-1-g. Is set in the field. In the exchange of the setting information packet 10000, by using the delay time of Request and Ack messages, the retransmission interval time of the synchronization information packet 20000 is calculated to determine the communication quality. According to the calculated retransmission interval, the synchronization information packet 20000 can be retransmitted in accordance with the communication quality, and highly accurate time synchronization processing can be realized.

さらに、設定情報パケット10000に含まれる電源OFF継続時間10000−8が電源OFF継続時間40−1−eのフィールドに設定され、電源ON継続時間10000−9が電源ON継続時間40−1−fのフィールドに設定される。   Further, the power OFF duration 10000-8 included in the setting information packet 10000 is set in the field of the power OFF duration 40-1-e, and the power ON duration 10000-9 is set to the power ON duration 40-1-f. Set to the field.

図6は、第1の実施形態の同期パケット管理テーブル40−2の一例を説明する図である。   FIG. 6 is a diagram illustrating an example of the synchronization packet management table 40-2 according to the first embodiment.

同期パケット管理テーブル40−2は、主に、同期情報パケット20000に含まれる情報を管理するテーブルで、回線番号40−2−a、電源ON開始時刻40−2−b、電源OFF開始時刻40−2−c、再送回数(設定回数)40−2−d及び再送回数のカウント値40−2−eを含む。設定情報パケット10000及び同期情報パケット20000を受信した場合に、パケット管理テーブル40−2が更新される。   The synchronization packet management table 40-2 is a table for mainly managing information included in the synchronization information packet 20000. The line number 40-2-a, the power ON start time 40-2-b, and the power OFF start time 40- 2-c, the number of retransmissions (set number) 40-2-d, and a count value 40-2-e of the number of retransmissions. When the setting information packet 10000 and the synchronization information packet 20000 are received, the packet management table 40-2 is updated.

図1で前述したように、自装置の時刻と対向装置の時刻とがずれると、電源ON継続時間10000−9の情報が一致していても、リンク確認時間がずれることによって、リンク断が誤って検出される。この誤検出を防ぐために、回線終端部の電源ON時のリンク確立において、同期情報パケット20000によって同期情報をやりとりし、自装置の時刻と対向装置の時刻とを整合させる。   As described above with reference to FIG. 1, if the time of the own device and the time of the opposite device are deviated, the link check time is deviated even if the information of the power ON continuation time 10000-9 is coincident. Detected. In order to prevent this erroneous detection, synchronization information is exchanged by means of a synchronization information packet 20000 at the time of link establishment at the time of power-on of the line termination unit, and the time of the own device and the time of the opposite device are matched.

具体的には、マスタ側のパケット転送装置1000が送信した同期情報パケット(Request)20000に含まれる電源ON開始時刻20000−9の時刻が電源ON開始時刻40−2−bのフィールドに設定され、電源OFF開始時刻20000−8の時刻が電源OFF開始時刻40−2−cのフィールドに設定される。例えば、回線No.1では、電源ON開始時刻に2010:9:1 22:15:00が設定され、電源OFF開始時刻に2010:9:1 22:15:02が設定される。   Specifically, the time of the power ON start time 20000-9 included in the synchronization information packet (Request) 20000 transmitted by the master side packet transfer apparatus 1000 is set in the field of the power ON start time 40-2-b, The time of power OFF start time 20000-8 is set in the field of power OFF start time 40-2-c. For example, the line No. 1, 2010: 9: 1 22:15:00 is set as the power ON start time, and 2010: 9: 1 22:15:02 is set as the power OFF start time.

パケット転送装置1000は、設定情報パケット10000を受信すると、同期パケット再送回数10000−10を同期情報パケットの再送回数(設定回数)40−2−cのフィールドに設定する。また、同期情報パケット20000の再送回数のカウント値が、再送回数(カウント数)40−2−dのフィールドに設定される。再送回数(カウント数)40−2−cが再総回数(設定回数)40−2−dを超えて同期情報パケット20000を再送する際にタイムアウトとなる。   When receiving the setting information packet 10000, the packet transfer apparatus 1000 sets the synchronization packet retransmission count 10000-10 in the field of the synchronization information packet retransmission count (setting count) 40-2-c. Further, the count value of the number of retransmissions of the synchronization information packet 20000 is set in the field of the number of retransmissions (count number) 40-2-d. A time-out occurs when the number of retransmissions (count number) 40-2-c exceeds the total number of retransmissions (set number) 40-2-d and the synchronization information packet 20000 is retransmitted.

図7は、第1の実施形態のMACアドレス管理テーブル40−3の一例を説明する図である。   FIG. 7 is a diagram illustrating an example of the MAC address management table 40-3 according to the first embodiment.

MACアドレス管理テーブル40−3は、自装置のMACアドレスと対向装置のMACアドレスとを管理することによって、同期情報パケットの送信権(マスタ又はスレーブ)を管理する。   The MAC address management table 40-3 manages the transmission right (master or slave) of the synchronization information packet by managing the MAC address of the own device and the MAC address of the opposite device.

MACアドレス管理テーブル40−3は、回線番号40−3−a、マスタ側の装置のMACアドレス40−3−b及びスレーブ側の装置のMACアドレス40−3−cを含む。   The MAC address management table 40-3 includes a line number 40-3-a, a MAC address 40-3-b of the master device, and a MAC address 40-3-c of the slave device.

具体的には、本実施の形態では、設定情報パケット10000の宛先MACアドレス10000−1又は送信元MACアドレス10000−2のうち、MACアドレスが大きい装置のMACアドレスがマスタ40−3−bに設定され、他方の装置のMACアドレスがスレーブ40−3−cに設定される。マスタ側の装置には同期情報パケット20000の送信権が設定される。   Specifically, in the present embodiment, among the destination MAC address 10000-1 or the source MAC address 10000-2 of the setting information packet 10000, the MAC address of the device with the larger MAC address is set in the master 40-3-b. The MAC address of the other device is set to the slave 40-3-c. The transmission right of the synchronization information packet 20000 is set in the master device.

図8A、図8Bは、第1の実施の形態のパケット転送装置1(1000−1)とパケット転送装置2(1000−2)との間の、制御部50及び回線終端部(受信側及び送信側を含む)の動作を示すシーケンス図である。   8A and 8B illustrate the control unit 50 and the line termination unit (reception side and transmission) between the packet transfer device 1 (1000-1) and the packet transfer device 2 (1000-2) according to the first embodiment. FIG.

図8Aに示す動作において、設定情報パケット10000によって設定される電源OFF継続時間40−1−eは5秒で、電源ON継続時間40−1−fは2秒である。   In the operation shown in FIG. 8A, the power OFF duration 40-1-e set by the setting information packet 10000 is 5 seconds, and the power ON duration 40-1-f is 2 seconds.

パケット転送装置1(1000−1)は、設定情報パケット(Request)10000をパケット転送装置2(1000−2)へ送信する(S50)。パケット転送装置2(1000−2)は、この設定情報パケット10000に含まれる情報を、メモリ40に格納されているの回線終端部管理テーブル40−1に書き込む(S51)。   The packet transfer apparatus 1 (1000-1) transmits a setting information packet (Request) 10000 to the packet transfer apparatus 2 (1000-2) (S50). The packet transfer apparatus 2 (1000-2) writes the information included in the setting information packet 10000 in the line termination unit management table 40-1 stored in the memory 40 (S51).

また、自装置の回線終端部のMACアドレスと対向装置の回線終端部のMACアドレスとを比較して、大きいMACアドレスが設定された装置をマスタとし、小さいMACアドレスが設定された装置をスレーブとする(S52)。そして、両MACアドレスを、MACアドレス管理テーブル40−3へ書き込む。   Further, the MAC address of the line termination unit of the own device is compared with the MAC address of the line termination unit of the opposite device, and the device with a large MAC address is set as a master, and the device with a small MAC address is set as a slave. (S52). Then, both MAC addresses are written into the MAC address management table 40-3.

その後、パケット転送装置2(1000−2)は、設定情報パケット(Ack)10000を送信する(S53)。この設定情報パケット(Ack)10000に含まれる情報が、パケット転送装置1(1000−1)のメモリ40に格納されている回線終端部管理テーブル40−1に書き込まれる(S54)。   Thereafter, the packet transfer apparatus 2 (1000-2) transmits a setting information packet (Ack) 10000 (S53). Information included in the setting information packet (Ack) 10000 is written into the line termination unit management table 40-1 stored in the memory 40 of the packet transfer apparatus 1 (1000-1) (S54).

次に、パケット転送装置1(1000−1)は、自装置の時刻と対向装置の時刻とがずれないように、同期情報パケット(Request)20000を送信する(S55)。同期情報パケット20000の送信権は、MACアドレス管理テーブル40−3のマスタ40−3−bに登録されているMACアドレスが割り当てられている装置が保有する(図8Aでは、パケット転送装置1がマスタである)。   Next, the packet transfer apparatus 1 (1000-1) transmits a synchronization information packet (Request) 20000 so that the time of the own apparatus does not deviate from the time of the opposite apparatus (S55). The transmission right of the synchronization information packet 20000 is held by the device to which the MAC address registered in the master 40-3-b of the MAC address management table 40-3 is assigned (in FIG. 8A, the packet transfer device 1 is the master). Is).

パケット転送装置2(1000−2)は、受信した同期情報パケット(Request)20000に含まれる情報をメモリ40に格納されている同期パケット管理テーブル40−2に書き込む(S56)。そして、制御部50は、回線終端部の電源のOFFを指示する(S57)。さらに、パケット転送装置2(1000−2)は、同期情報パケット(Ack)20000を送信する(S58)。   The packet transfer apparatus 2 (1000-2) writes the information included in the received synchronization information packet (Request) 20000 in the synchronization packet management table 40-2 stored in the memory 40 (S56). Then, the control unit 50 instructs the power supply to the line termination unit to be turned off (S57). Further, the packet transfer apparatus 2 (1000-2) transmits a synchronization information packet (Ack) 20000 (S58).

パケット転送装置1(1000−1)は、受信した同期情報パケット(Ack)20000に含まれる情報をメモリ40に格納されている同期パケット管理テーブル40−2に書き込む(S59)。そして、制御部50は、回線終端部の電源のOFFを指示する(S60)。   The packet transfer apparatus 1 (1000-1) writes the information included in the received synchronization information packet (Ack) 20000 in the synchronization packet management table 40-2 stored in the memory 40 (S59). Then, the control unit 50 instructs the power supply to the line termination unit to be turned off (S60).

回線終端部の電源のOFFを指示した結果、パケット転送装置1(1000−1)の回線終端部とパケット転送装置2(1000−2)の回線終端部との電源がOFFとなる。回線終端部管理テーブル40−1の電源OFF継続時間40−1−eのフィールドには5秒が設定されているので、電源OFF後5秒が経過すると、パケット転送装置2(1000−2)の制御部50は、回線終端部の電源のONを指示し(S61)、パケット転送装置1(1000−1)の制御部50は、回線終端部の電源のONを指示する(S62)。回線終端部の電源のONを指示した結果、パケット転送装置1(1000−1)の回線終端部とパケット転送装置2(1000−2)の回線終端部との電源がONとなる。   As a result of instructing power-off of the line termination unit, the power of the line termination unit of the packet transfer apparatus 1 (1000-1) and the line termination unit of the packet transfer apparatus 2 (1000-2) is turned off. Since 5 seconds is set in the field of the power supply OFF duration 40-1-e of the line termination unit management table 40-1, when 5 seconds elapses after the power is turned off, the packet transfer apparatus 2 (1000-2) The control unit 50 instructs the power supply of the line termination unit to be turned on (S61), and the control unit 50 of the packet transfer apparatus 1 (1000-1) instructs the power supply of the line termination unit to be turned on (S62). As a result of instructing to turn on the power of the line termination unit, the power of the line termination unit of the packet transfer apparatus 1 (1000-1) and the line termination unit of the packet transfer apparatus 2 (1000-2) is turned on.

回線終端部管理テーブル40−1の電源ON継続時間40−1−fのフィールドには2秒が設定されているので、電源ON後2秒の間に、自装置の時刻と対向装置の時刻とがずれないように、パケット転送装置1(1000−1)は同期情報パケット(Request)20000を送信する(S63)。パケット転送装置2(1000−2)は、受信した同期情報パケット(Request)20000に含まれる情報をメモリ40に格納されている同期パケット管理テーブル40−2に書き込む(S64)。そして、制御部50は、回線終端部の電源のOFFを指示する(S65)。さらに、パケット転送装置2(1000−2)は、同期情報パケット(Ack)20000を送信する(S66)。   Since 2 seconds is set in the field of the power ON duration 40-1-f of the line termination unit management table 40-1, the time of the own device and the time of the opposite device are set within 2 seconds after the power is turned ON. The packet transfer apparatus 1 (1000-1) transmits a synchronization information packet (Request) 20000 so as not to deviate (S63). The packet transfer apparatus 2 (1000-2) writes the information included in the received synchronization information packet (Request) 20000 in the synchronization packet management table 40-2 stored in the memory 40 (S64). Then, the control unit 50 instructs the power supply to the line termination unit to be turned off (S65). Further, the packet transfer apparatus 2 (1000-2) transmits a synchronization information packet (Ack) 20000 (S66).

このように、パケット転送装置1(1000−1)とパケット転送装置2(1000−2)との間で、同期情報パケット20000をやりとりすることによって、パケット転送装置が動作しているかを互い監視している。なお、同期情報パケット20000をやりとりとは別に、ヘルスチェックを行ってもよい。   In this way, by exchanging the synchronization information packet 20000 between the packet transfer apparatus 1 (1000-1) and the packet transfer apparatus 2 (1000-2), it is mutually monitored whether the packet transfer apparatus is operating. ing. A health check may be performed separately from the exchange of the synchronization information packet 20000.

パケット転送装置1(1000−1)は、受信した同期情報パケット(Ack)20000に含まれる情報をメモリ40に格納されている同期パケット管理テーブル40−2に書き込む(S67)。制御部50は、回線終端部の電源のOFFを指示する(S68)。   The packet transfer apparatus 1 (1000-1) writes the information included in the received synchronization information packet (Ack) 20000 in the synchronization packet management table 40-2 stored in the memory 40 (S67). The control unit 50 instructs the power supply to the line termination unit to be turned off (S68).

回線終端部の電源のOFFを指示した結果、パケット転送装置1(1000−1)の回線終端部とパケット転送装置2(1000−2)の回線終端部との電源がOFFとなる。回線終端部管理テーブル40−1の電源OFF継続時間40−1−eのフィールドには5秒が設定されているので、電源OFF後5秒が経過すると、パケット転送装置2(1000−2)の制御部50は、回線終端部の電源のONを指示し(S69)、パケット転送装置1(1000−1)の制御部50は、回線終端部の電源のONを指示する(S70)。以下、これらのシーケンスを繰り返す。   As a result of instructing power-off of the line termination unit, the power of the line termination unit of the packet transfer apparatus 1 (1000-1) and the line termination unit of the packet transfer apparatus 2 (1000-2) is turned off. Since 5 seconds is set in the field of the power supply OFF duration 40-1-e of the line termination unit management table 40-1, when 5 seconds elapses after the power is turned off, the packet transfer apparatus 2 (1000-2) The control unit 50 instructs to turn on the power of the line termination unit (S69), and the control unit 50 of the packet transfer apparatus 1 (1000-1) instructs to turn on the power of the line termination unit (S70). Thereafter, these sequences are repeated.

次に、図8Bを参照して、現用系であったパケット転送装置1(1000−1)が予備系となり、予備系であったパケット転送装置2(1000−2)が現用系となった後のシーケンスについて説明する。   Next, referring to FIG. 8B, after packet transfer device 1 (1000-1), which is the active system, becomes the standby system, and packet transfer device 2 (1000-2), which is the standby system, becomes the active system. The sequence will be described.

すなわち、図8Bにおいては、現用系の装置の障害(例えば、瞬断)が発生し、現用系と予備系とが切り替わった後の動作を説明する。なお、図8Bにおいては、現用系と予備系との切り替わりに伴い、パケット転送装置2(1000−2)がマスタ側、パケット転送装置1(1000−1)がスレーブ側になり、同期情報パケット20000の送信権が変わった場合について説明するが、マスタ側のパケット転送装置とスレーブ側のパケット転送装置とが入れ替わらなくてもよい。   That is, in FIG. 8B, the operation after a failure (for example, a momentary interruption) of the active device occurs and the active system and the standby system are switched will be described. In FIG. 8B, along with switching between the active system and the standby system, the packet transfer apparatus 2 (1000-2) becomes the master side and the packet transfer apparatus 1 (1000-1) becomes the slave side, and the synchronization information packet 20000 However, the master side packet transfer device and the slave side packet transfer device do not have to be interchanged.

パケット転送装置1(1000−1)の情報とパケット転送装置2(1000−2)の情報とは設定済みであるため、新たに設定情報パケット10000をやりとりして、情報を設定する必要はない。   Since the information of the packet transfer apparatus 1 (1000-1) and the information of the packet transfer apparatus 2 (1000-2) are already set, it is not necessary to newly exchange the setting information packet 10000 to set the information.

本実施の形態では、自装置と対向装置の回線終端部のMACアドレスを比較して、大きいアドレスの装置をマスタ側とし、小さいアドレスの装置をスレーブ側とし、マスタ側の装置が同期情報パケット20000の送信権を得ている。しかし、現用系と予備系の切り替わりが発生した場合は、MACアドレス管理テーブル40−3のマスタとスレーブのアドレスが入れ替わり、入れ替わった現用系から同期情報パケット20000が送信される。   In this embodiment, the MAC addresses of the line termination units of the own device and the opposite device are compared, and the device with the larger address is the master side, the device with the smaller address is the slave side, and the device on the master side is the synchronization information packet 20000. Have the right to send. However, when the active system and the standby system are switched, the master and slave addresses in the MAC address management table 40-3 are switched, and the synchronization information packet 20000 is transmitted from the switched active system.

次に、現用系と予備系の切り替わりが発生した場合は、現用系の回線終端部管理テーブル40−1は、回線番号40−1−aを単位として、予備系へ引き継がれる。なお、パケット転送装置1000に入力されたコマンド等を契機として、設定情報パケット10000をやりとりすることによって、回線終端部管理テーブル40−1を更新することができる。   Next, when switching between the active system and the standby system occurs, the working line termination unit management table 40-1 is taken over to the standby system in units of the line number 40-1-a. Note that the line termination unit management table 40-1 can be updated by exchanging the setting information packet 10000 triggered by a command or the like input to the packet transfer apparatus 1000.

まず、パケット転送装置2(1000−2)は、自装置の時刻と対向装置の時刻とがずれないように、同期情報パケット(Request)20000を送信する(S80)。   First, the packet transfer apparatus 2 (1000-2) transmits a synchronization information packet (Request) 20000 so that the time of the own apparatus does not deviate from the time of the opposite apparatus (S80).

パケット転送装置1(1000−1)は、受信した同期情報パケット(Request)20000に含まれる情報をメモリ40に格納されている同期パケット管理テーブル40−2に書き込む(S81)。そして、制御部50は、回線終端部の電源のOFFを指示する(S82)。さらに、パケット転送装置1(1000−1)は、同期情報パケット(Ack)20000を送信(S83)する。   The packet transfer apparatus 1 (1000-1) writes the information included in the received synchronization information packet (Request) 20000 in the synchronization packet management table 40-2 stored in the memory 40 (S81). Then, the control unit 50 instructs the power supply to the line termination unit to be turned off (S82). Further, the packet transfer apparatus 1 (1000-1) transmits a synchronization information packet (Ack) 20000 (S83).

パケット転送装置2(1000−2)は、受信した同期情報パケット(Ack)20000に含まれる情報をメモリ40に格納されている同期パケット管理テーブル40−2に書き込む(S84)。そして、制御部50は、回線終端部の電源のOFFを指示する(S85)。   The packet transfer apparatus 2 (1000-2) writes the information included in the received synchronization information packet (Ack) 20000 in the synchronization packet management table 40-2 stored in the memory 40 (S84). Then, the control unit 50 instructs the power supply to the line termination unit to be turned off (S85).

回線終端部の電源のOFFを指示した結果、パケット転送装置2(1000−2)の回線終端部とパケット転送装置1(1000−1)の回線終端部との電源がOFFとなる。回線番号40−1−aを引き継いだ回線終端部管理テーブル40−1の電源OFF継続時間40−1−eのフィールドには5秒が設定されているので、電源OFF後5秒が経過すると、パケット転送装置1(1000−1)の制御部50は、回線終端部の電源のONを指示し(S86)、パケット転送装置2(1000−2)の制御部50は、回線終端部の電源のONを指示する(S87)。   As a result of instructing to turn off the power of the line termination unit, the power of the line termination unit of the packet transfer apparatus 2 (1000-2) and the line termination unit of the packet transfer apparatus 1 (1000-1) is turned off. Since 5 seconds is set in the field of the power OFF duration 40-1-e in the line termination unit management table 40-1 that has inherited the line number 40-1-a, when 5 seconds have elapsed after the power is turned OFF, The control unit 50 of the packet transfer apparatus 1 (1000-1) instructs to turn on the power of the line termination unit (S86), and the control unit 50 of the packet transfer apparatus 2 (1000-2) ON is instructed (S87).

回線終端部の電源のONを指示した結果、パケット転送装置2(1000−2)の回線終端部とパケット転送装置1(1000−1)の回線終端部との電源がONとなる。回線番号40−1−aを引き継いだ回線終端部管理テーブル40−1の電源ON継続時間40−1−fのフィールドには2秒が設定されているので、電源ON後2秒の間に、自装置の時刻と対向装置の時刻とがずれないように、パケット転送装置2(1000−2)は、受信した同期情報パケット(Request)20000を送信する(S88)。パケット転送装置1(1000−1)は、受信した同期情報パケット(Request)20000に含まれる情報をメモリ40に格納されている同期パケット管理テーブル40−2に書き込む(S89)。そして、制御部(50)は、回線終端部の電源のOFFを指示する(S90)。さらに、パケット転送装置1(1000−1)は、同期情報パケット(Ack)20000を送信する(S91)。   As a result of instructing to turn on the power of the line termination unit, the power of the line termination unit of the packet transfer apparatus 2 (1000-2) and the line termination unit of the packet transfer apparatus 1 (1000-1) is turned on. Since 2 seconds is set in the field of the power ON duration 40-1-f of the line termination unit management table 40-1 that has inherited the line number 40-1-a, The packet transfer apparatus 2 (1000-2) transmits the received synchronization information packet (Request) 20000 so that the time of the own apparatus does not deviate from the time of the opposite apparatus (S88). The packet transfer apparatus 1 (1000-1) writes the information included in the received synchronization information packet (Request) 20000 in the synchronization packet management table 40-2 stored in the memory 40 (S89). Then, the control unit (50) instructs the line termination unit to be turned off (S90). Further, the packet transfer apparatus 1 (1000-1) transmits a synchronization information packet (Ack) 20000 (S91).

パケット転送装置2(1000−2)は、受信した同期情報パケット(Ack)20000に含まれる情報をメモリ40に格納されている同期パケット管理テーブル40−2に書き込む(S92)。そして、制御部50は、回線終端部の電源のOFFを指示する(S93)。回線終端部の電源のOFFを指示した結果、パケット転送装置2(1000−2)の回線終端部とパケット転送装置1(1000−1)の回線終端部との電源がOFFとなる。   The packet transfer apparatus 2 (1000-2) writes the information included in the received synchronization information packet (Ack) 20000 in the synchronization packet management table 40-2 stored in the memory 40 (S92). Then, the control unit 50 instructs the power supply to the line termination unit to be turned off (S93). As a result of instructing to turn off the power of the line termination unit, the power of the line termination unit of the packet transfer apparatus 2 (1000-2) and the line termination unit of the packet transfer apparatus 1 (1000-1) is turned off.

回線番号40−1−aを引き継いだ回線終端部管理テーブル40−1の電源OFF継続時間40−1−eのフィールドには5秒が設定されているので、電源OFF後5秒が経過すると、パケット転送装置1(1000−1)の制御部(50)は、回線終端部の電源のONを指示し(S94)、パケット転送装置2(1000−2)の制御部50は、回線終端部の電源のONを指示する(S95)。以下、これらのシーケンスを繰り返す。   Since 5 seconds is set in the field of the power OFF duration 40-1-e in the line termination unit management table 40-1 that has inherited the line number 40-1-a, when 5 seconds have elapsed after the power is turned OFF, The control unit (50) of the packet transfer apparatus 1 (1000-1) instructs to turn on the power of the line termination unit (S94), and the control unit 50 of the packet transfer apparatus 2 (1000-2) An instruction to turn on the power is given (S95). Thereafter, these sequences are repeated.

図9は、第1の実施形態のパケット転送装置1000のデータ受信処理を示すフローチャートである。   FIG. 9 is a flowchart illustrating data reception processing of the packet transfer apparatus 1000 according to the first embodiment.

まず、データを受信し(S80)、受信したパケットが通常のデータパケットか、設定情報パケット10000か、同期情報パケット20000かを判別する(S82)。具体的には、設定情報パケット10000の識別子10000−6及び同期情報パケット20000の識別子20000−6によって判別することができる。受信したパケットが通常のデータパケットであれば、データパケット処理を実行して(S83)、処理を終了する。   First, data is received (S80), and it is determined whether the received packet is a normal data packet, a setting information packet 10000, or a synchronization information packet 20000 (S82). Specifically, it can be determined by the identifier 10000-6 of the setting information packet 10000 and the identifier 20000-6 of the synchronization information packet 20000. If the received packet is a normal data packet, data packet processing is executed (S83), and the processing ends.

一方、受信したパケットが設定情報パケット10000であれば、前述した設定情報パケット処理を実行し、受信したパケットが同期情報パケット20000であれば、前述した同期情報パケット処理を実行する。   On the other hand, if the received packet is the setting information packet 10000, the setting information packet process described above is executed, and if the received packet is the synchronization information packet 20000, the synchronization information packet process described above is executed.

設定情報パケットの処理は、まず、設定情報パケット10000に含まれる回線終端部のMACアドレスをMACアドレス管理テーブル40−3へ書き込む。具体的には、自装置の回線終端部のMACアドレスと対向装置の回線終端部のMACアドレスとを比較し(S90)、大きいMACアドレスが設定された装置をマスタとし、小さいMACアドレスが設定された装置をスレーブとし、同期情報パケット20000の送信権を決定する(S91)。   In the processing of the setting information packet, first, the MAC address of the line termination unit included in the setting information packet 10000 is written in the MAC address management table 40-3. Specifically, the MAC address of the line termination unit of the own device is compared with the MAC address of the line termination unit of the opposite device (S90), and the device with the larger MAC address is set as the master and the smaller MAC address is set. The transmission right of the synchronization information packet 20000 is determined with the device as a slave (S91).

次に、同期情報パケット管理テーブル40−2を更新する。具体的には、設定情報パケット10000の同期パケット再送回数10000−10を同期パケット管理テーブル40−2の再送回数(設定値)40−2−dのフィールドに書き込む(S92)。   Next, the synchronization information packet management table 40-2 is updated. Specifically, the synchronization packet retransmission count 10000-10 of the setting information packet 10000 is written in the field of the retransmission count (setting value) 40-2-d of the synchronization packet management table 40-2 (S92).

その後、回線終端部管理テーブル40−1を更新する。具体的には、情報設定パケット(Request)10000のタイムスタンプ10000−11を送信時刻40−1−bのフィールドに書き込み、情報設定パケット(Ack)のタイムスタンプ10000−11を受信時刻40−1−cのフィールドに書き込む(S93)。次に、回線終端部の電源OFF継続時間10000−8を電源OFF継続時間40−1−eのフィールドに書き込み、電源ON継続時間10000−9を電源ON係属時間40−1−fのフィールドに書き込む(S94)。また、設定情報パケット(Request)10000と設定情報パケット(Ack)10000との応答の遅延時間を算出し、遅延時間40−1−dのフィールドに書き込む(S95)。さらに、同期情報パケット20000の再送間隔を算出し、再送間隔時間40−1−gのフィールドに書き込む(S96)。   Thereafter, the line termination unit management table 40-1 is updated. Specifically, the time stamp 10000-11 of the information setting packet (Request) 10000 is written in the field of the transmission time 40-1-b, and the time stamp 10000-11 of the information setting packet (Ack) is received at the reception time 40-1- Write in the field c (S93). Next, the power OFF duration 10000-8 at the line termination section is written in the field of the power OFF duration 40-1-e, and the power ON duration 10000-9 is written in the field of the power ON duration 40-1-f. (S94). Also, the delay time of the response between the setting information packet (Request) 10000 and the setting information packet (Ack) 10000 is calculated and written in the field of the delay time 40-1-d (S95). Further, the retransmission interval of the synchronization information packet 20000 is calculated and written in the field of the retransmission interval time 40-1-g (S96).

同期情報パケットの処理では、同期パケット管理テーブル40−2を更新する。まず、同期情報パケット20000の電源OFF開始時刻20000−8を同期パケット管理テーブル40−2の電源OFF開始時刻40−2−cのフィールドに書き込み、電源ON開始時刻20000−9を電源ON開始時刻40−2−bのフィールドに書き込む(S100)。次に、同期情報パケット20000の再送回数をカウントアップし(S101)、再送回数が設定情報パケット10000によって設定された回数以下か否かを判定する(S102)。再送回数が設定回数を超えていればタイムアウト処理を実行する(S103)。一方、再送回数が設定回数以内であれば、設定された回線終端部電源ON/OFF時刻に従って、回線終端部の電源のON/OFFを制御する(S104)。   In the processing of the synchronization information packet, the synchronization packet management table 40-2 is updated. First, the power OFF start time 20000-8 of the synchronization information packet 20000 is written in the field of the power OFF start time 40-2-c of the synchronization packet management table 40-2, and the power ON start time 20000-9 is set to the power ON start time 40. -2b is written in the field (S100). Next, the number of retransmissions of the synchronization information packet 20000 is counted up (S101), and it is determined whether or not the number of retransmissions is less than or equal to the number set by the setting information packet 10000 (S102). If the number of retransmissions exceeds the set number, a timeout process is executed (S103). On the other hand, if the number of retransmissions is within the set number, the power supply ON / OFF of the line termination unit is controlled according to the set line termination unit power ON / OFF time (S104).

以上説明したように、本発明の第1の実施の形態によれば、予備系の回線終端部の電源をOFFにすることで省電力化を図りつつ、予備系の回線終端部の電源を間欠的にONにすることでリンクの正常性確認を行い、予備系回線終端部の障害を潜在化させない。これにより、省電力化を図りつつ、高信頼性を実現することができる。   As described above, according to the first embodiment of the present invention, the power supply of the standby circuit termination unit is intermittently switched while the power supply of the standby system line termination unit is turned off to save power. The normality of the link is confirmed by turning it ON, so that the failure of the protection line terminal unit is not made latent. Thereby, high reliability can be realized while saving power.

<実施形態2>
次に、本発明の第2の実施形態について説明する。
<Embodiment 2>
Next, a second embodiment of the present invention will be described.

本発明において最大の効果を得るためには、自装置及び対向装置の両方が省電力機能を備える必要がある。このため、前述した第1の実施形態では、自装置の回線終端部及び対向装置の回線終端部の両方が省電力機能を備えていたが、第2の実施形態では、自装置の回線終端部のみが省電力機能を備え、自装置の回線終端部は省電力機能を備えない場合について説明する。   In order to obtain the maximum effect in the present invention, both the own device and the opposite device need to have a power saving function. For this reason, in the first embodiment described above, both the line termination unit of the own device and the line termination unit of the opposite device have the power saving function, but in the second embodiment, the line termination unit of the own device. Only the case where only the power saving function is provided and the line terminating unit of the own apparatus does not have the power saving function will be described.

図10Aは、第2の実施形態のパケット転送装置1(1000−1)とルータ(2000)との間でイーサネット回線による現用系/予備系によって構成された二重化通信路の例を示すブロック図である。また、図10Bは、図10Aに示す現用系のパケット転送装置の回線終端部の電源状態及び消費電力を時間軸上に表した図であり、図10Cは、図10Aに示す予備系のパケット転送装置の回線終端部の電源状態及び消費電力を時間軸上に表した図である。   FIG. 10A is a block diagram illustrating an example of a duplex communication path configured by an active / standby system using an Ethernet line between the packet transfer apparatus 1 (1000-1) and the router (2000) of the second embodiment. is there. 10B is a diagram showing the power state and power consumption of the line termination unit of the active packet transfer apparatus shown in FIG. 10A on the time axis, and FIG. 10C is a backup packet transfer shown in FIG. 10A. It is the figure which represented on the time-axis the power supply state and power consumption of the circuit | line termination part of an apparatus.

図10Aに示す例では、現用系(ACT系)が回線No.0であり、予備系(STB系)が回線No.1である。また、図10Aに示す例では、現用系及び予備系の回線は、各々、上り下り1本ずつであるが、複数の現用系及び/又は予備系の回線が複数本であってもよい。   In the example shown in FIG. 10A, the active system (ACT system) is the line No. 0, and the standby system (STB system) is line No. 1. In the example shown in FIG. 10A, each of the working and protection channels is one each for uplink and downlink, but there may be a plurality of working and / or protection channels.

現用系では、パケット転送装置1(1000−1)及びルータ2000の各送信側回線終端部20及び各受信側回線終端部10は、電源がONの状態(S150)が維持される。データ受信時の電力消費の変動を考慮しない場合、回線終端部の消費電力は一定である(S151)。   In the active system, the transmission line termination units 20 and the reception line termination units 10 of the packet transfer apparatus 1 (1000-1) and the router 2000 are maintained in the power-on state (S150). When the fluctuation of power consumption at the time of data reception is not taken into consideration, the power consumption of the line termination unit is constant (S151).

第2の実施形態では、対向装置に省電力機能が備わっていない。このため、予備系において、自装置内の予備系の送信側回線終端部の電源は常にONの状態とし、受信側回線終端部の電源を定期的にOFFにすることによって、ルータ2000との通信を継続しつつ、省電力化を達成できる。   In the second embodiment, the opposing device does not have a power saving function. For this reason, in the standby system, the power of the standby transmission line termination unit in the own apparatus is always turned on, and the communication with the router 2000 is performed by periodically turning off the power of the reception line termination unit. Power saving can be achieved while continuing.

ルータ2000の予備系は、現用系と同様に各受信側回線終端部10の電源のONが維持されることから、データ受信の際の電力消費を考慮しない場合、回線終端部の消費電力は一定である。   In the standby system of the router 2000, the power supply of each receiving-side line termination unit 10 is maintained in the same manner as the active system. Therefore, when the power consumption at the time of data reception is not considered, the power consumption of the line termination unit is constant. It is.

制御部50は、回線終端部管理テーブル40−1を参照し、電源OFF継続時間が5秒であり、電源ON継続時間が2秒であることから、予備系の受信側回線終端部の電源を2秒間ONにし(S153)、5秒間OFFにすること(S152)を繰り返す。このように、予備系の受信側回線終端部の電源を定期的にON/OFFすることによって、平均消費電力を下げることができる。なお、前述した第1の実施形態(図2C)と比べて、パケット転送装置1(1000−1)の受信側回線終端部の消費電力のみが削減されるので、消費電力を5/14削減することができる(S154)。この削減は、第1の実施形態の消費電力を比べると5/14少ない。   The control unit 50 refers to the line termination unit management table 40-1, and since the power OFF duration is 5 seconds and the power ON duration is 2 seconds, the power of the standby reception line termination unit is turned on. It is turned on for 2 seconds (S153) and turned off for 5 seconds (S152). In this way, the average power consumption can be reduced by periodically turning on / off the power supply of the standby receiving line termination unit. Note that, compared with the first embodiment (FIG. 2C) described above, only the power consumption at the receiving end of the packet transfer apparatus 1 (1000-1) is reduced, so the power consumption is reduced by 5/14. (S154). This reduction is 5/14 less than the power consumption of the first embodiment.

図11は、第2の実施形態のパケット転送装置1(1000−1)とルータ2000との間の、制御部50及び回線終端部(受信側及び送信側を含む)の動作を示すシーケンス図である。   FIG. 11 is a sequence diagram illustrating operations of the control unit 50 and the line termination unit (including the reception side and the transmission side) between the packet transfer apparatus 1 (1000-1) and the router 2000 according to the second embodiment. is there.

図11に示す動作において、設定情報パケット10000によって設定される電源OFF継続時間40−1−eは5秒で、電源ON継続時間40−1−fは2秒である。また、予備系の受信側回線終端部を定期的にOFFするだけなので、第2の実施形態においては、図8Aで説明した同期情報パケット20000のシーケンスも必要なく、マスター側、スレーブ側の概念もない。   In the operation shown in FIG. 11, the power OFF duration 40-1-e set by the setting information packet 10000 is 5 seconds, and the power ON duration 40-1-f is 2 seconds. Further, since the standby receiving line termination unit is only periodically turned off, the second embodiment does not require the sequence of the synchronization information packet 20000 described with reference to FIG. Absent.

具体的には、パケット転送装置1(1000−1)は、設定情報パケット(Request)10000をルータ2000に送信する(S200)。ルータ2000は、設定情報パケット(Request)に対する確認応答(設定情報パケット(Ack))を送信しない。   Specifically, the packet transfer apparatus 1 (1000-1) transmits a setting information packet (Request) 10000 to the router 2000 (S200). The router 2000 does not transmit a confirmation response (setting information packet (Ack)) to the setting information packet (Request).

パケット転送装置1(1000−1)は、複数回の設定情報パケット(Request)10000に対する確認応答がない場合、対向装置が省電力機能を備えない、例えば、ルータ等の装置である判断する。そして、パケット転送装置1(1000−1)は、送信する設定情報パケット(Request)10000に含まれる情報を、メモリ40に格納されている回線終端部管理テーブル40−1に書き込む(S204)。そして、制御部50は、受信側回線終端部の電源のOFFを指示する(S205)。受信側回線終端部の電源のOFFを指示した結果、パケット転送装置1(1000−1)の受信側回線終端部の電源がOFFとなる。   If there is no confirmation response to a plurality of setting information packets (Request) 10000, the packet transfer apparatus 1 (1000-1) determines that the opposite apparatus does not have a power saving function, for example, an apparatus such as a router. Then, the packet transfer apparatus 1 (1000-1) writes the information included in the setting information packet (Request) 10000 to be transmitted to the line termination unit management table 40-1 stored in the memory 40 (S204). Then, the control unit 50 instructs the power-off of the receiving side line termination unit (S205). As a result of instructing the power-off of the reception-side line termination unit, the power-supply of the reception-side line termination unit of the packet transfer apparatus 1 (1000-1) is turned off.

回線終端部管理テーブル40−1の電源OFF継続時間40−1−eのフィールドには5秒が設定されているので、電源OFF後5秒が経過すると、パケット転送装置1(1000−1)の制御部50は、受信側回線終端部の電源のONを指示する(S206)。受信側回線終端部の電源のONを指示した結果、パケット転送装置1(1000−1)の受信側回線終端部の電源はONとなる。回線終端部管理テーブル40−1の電源ON継続時間40−1−fのフィールドには2秒が設定されているので、受信側回線終端部の電源は、設定された間隔でON/OFFが繰り返される(S205〜208)。   Since 5 seconds is set in the field of the power supply OFF duration 40-1-e of the line termination unit management table 40-1, when 5 seconds have elapsed after the power supply is turned off, the packet transfer apparatus 1 (1000-1) The control unit 50 instructs to turn on the power of the receiving side line termination unit (S206). As a result of instructing to turn on the power of the receiving line termination unit, the power of the receiving line termination unit of the packet transfer apparatus 1 (1000-1) is turned on. Since 2 seconds is set in the field of the power ON duration 40-1-f of the line termination management table 40-1, the power of the receiving line termination is repeatedly turned on / off at the set interval. (S205 to 208).

10−1、10−2、10−n 受信側回線終端部
20−1、20−2、20−n 送信側回線終端部
30 イーサネット処理部
30−2 SW
40 メモリ
40−1 回線終端部管理テーブル
40−2 同期パケット管理テーブル
40−3 MACアドレス管理テーブル
50 制御部
60 CPU
100 イーサネット処理部
1000−1、1000−2 パケット転送装置
2000 ルータ
10000 設定情報パケット
20000 同期情報パケット
10-1, 10-2, 10-n Reception side line termination units 20-1, 20-2, 20-n Transmission side line termination unit 30 Ethernet processing unit 30-2 SW
40 Memory 40-1 Line Termination Management Table 40-2 Synchronization Packet Management Table 40-3 MAC Address Management Table 50 Control Unit 60 CPU
100 Ethernet processing unit 1000-1, 1000-2 Packet transfer device 2000 Router 10000 Setting information packet 20000 Synchronization information packet

Claims (10)

対向して配置された第1の通信装置と第2の通信装置とを備える通信システムであって、
前記各通信装置は、
各々が回線終端部を有する複数の送信ポート及び受信ポートと、
前記各ポートの動作を制御する制御部と、を有し、
前記送信ポート及び前記受信ポートは、各々、現用系のポートと予備系のポートとを含み、
前記現用系の各ポートは、前記対向する通信装置の現用系のポートと接続されており、
前記予備系の各ポートは、前記対向する通信装置の予備系のポートと接続されており、
前記第1の通信装置の制御部は、
前記第2の通信装置へ第1の同期情報を送信し、
前記送信した第1の同期情報に含まれる電源の制御タイミングの情報を管理テーブルに記録し、
前記電源オフの制御タイミングになると、前記第1の通信装置の予備系のポートの動作を停止し、
前記電源オンの制御タイミングになると、前記第1の通信装置の予備系のポートの動作を再開し、
前記第2の通信装置の制御部は、
受信した前記第1の同期情報に含まれる電源の制御タイミングの情報を管理テーブルに記録し、
前記電源オフの制御タイミングになると、前記第2の通信装置の予備系のポートの動作を停止し、
前記電源オンの制御タイミングになると、前記第2の通信装置の予備系のポートの動作を再開することを特徴とする通信システム。
A communication system comprising a first communication device and a second communication device arranged opposite to each other,
Each of the communication devices is
A plurality of transmission ports and reception ports each having a line termination;
A control unit for controlling the operation of each port,
The transmission port and the reception port each include an active port and a standby port,
Each port of the working system is connected to a working port of the opposing communication device,
Each port of the standby system is connected to a port of the standby system of the opposing communication device,
The control unit of the first communication device is
Sending first synchronization information to the second communication device;
Record information on the control timing of the power source included in the transmitted first synchronization information in the management table,
When the power-off control timing comes, the operation of the standby port of the first communication device is stopped,
When the power-on control timing comes, the operation of the standby port of the first communication device is resumed,
The control unit of the second communication device is
Recording power control timing information included in the received first synchronization information in a management table;
When the power-off control timing comes, the operation of the standby port of the second communication device is stopped,
A communication system, wherein the operation of the standby port of the second communication device is resumed at the power-on control timing.
前記第2の通信装置の制御部は、
前記電源オンの制御タイミングになると、前記第2の通信装置の予備系のポートの動作を再開
前記第2の通信装置の回線終端部に電源のオフを指示し、
前記第2の通信装置の回線終端部が実際に電源をオフするまでの間に、前記予備系の送信ポートから前記第1の通信装置に前記第1の同期情報の応答である第2の同期情報を送信することを特徴とする請求項1に記載の通信システム。
The control unit of the second communication device is
Wherein becomes to control timing of power-on, and resume operation of the standby port of the second communication device,
Instructing the line termination unit of the second communication device to turn off the power,
The second synchronization which is a response of the first synchronization information from the standby transmission port to the first communication device until the line termination unit of the second communication device actually turns off the power. The communication system according to claim 1, wherein information is transmitted.
前記第1の通信装置は、前記第2の通信装置に第1の設定情報を送信し、
前記第2の通信装置は、
前記第1の設定情報を受信すると、前記受信した第1の設定情報に含まれる予備系ポートの動作時間及び停止時間を前記管理テーブルに記録し、
前記第2の通信装置は、前記第1の通信装置に、前記第1の設定情報の応答である第2の設定情報を送信し、
前記第1の通信装置は、前記第2の設定情報を受信すると、前記受信した第2の設定情報に含まれる予備系ポートの動作時間及び停止時間を前記管理テーブルに記録することを特徴とする請求項1又は2に記載の通信システム。
The first communication device transmits first setting information to the second communication device,
The second communication device is:
When the first setting information is received, the operation time and the stop time of the standby port included in the received first setting information are recorded in the management table,
The second communication device transmits second setting information, which is a response to the first setting information, to the first communication device,
When the first communication device receives the second setting information, the first communication device records an operation time and a stop time of the standby port included in the received second setting information in the management table. The communication system according to claim 1 or 2.
前記第1の通信装置の制御部は、前記第2の通信装置に設定情報を送信した後の所定時間内に、前記第2の通信装置から応答を受信することができない場合、前記第1の通信装置の予備系の前記送信ポートの動作を停止せず、前記受信ポートのみの動作を停止することを特徴とする請求項3に記載の通信システム。   When the control unit of the first communication device cannot receive a response from the second communication device within a predetermined time after transmitting setting information to the second communication device, the first communication device The communication system according to claim 3, wherein the operation of only the reception port is stopped without stopping the operation of the transmission port of the standby system of the communication device. 前記各制御部は、
現用系の障害を検出した場合、予備系の送信ポートを現用系の送信ポートに設定し、予備系の受信ポートを現用系の受信ポートに設定することによって、障害を回復し、
前記障害回復前に設定された予備系ポートの動作時間及び停止時間を引き継ぎ、
前記予備系ポートの停止時間が経過した場合、新たに設定された予備系のポートの動作を再開すると共に、前記対向する通信装置に前記同期情報を送信することを特徴とする請求項1から3のいずれか一つに記載の通信システム。
Each of the control units is
If a failure in the active system is detected, the failure is recovered by setting the standby transmission port as the active transmission port and the standby reception port as the active reception port.
Taking over the operation time and stop time of the backup port set before the failure recovery,
4. When the standby time of the standby system port has elapsed, the operation of the newly set standby system port is resumed and the synchronization information is transmitted to the opposing communication device. The communication system according to any one of the above.
通信回線を介してユーザデータを転送する通信装置であって、
各々が回線終端部を有する複数の送信ポート及び受信ポートと、
前記送信ポート及び受信ポートの動作を制御する制御部と、を備え、
前記送信ポート及び前記受信ポートは、各々、現用系のポートと予備系のポートとを含み、
前記現用系の各ポートは、対向する前記通信装置の現用系のポートと接続されており、
前記予備系の各ポートは、前記対向する通信装置の予備系のポートと接続されており、
前記制御部は、
前記対向する通信装置へ同期情報を送信し、
前記送信した同期情報に含まれる電源の制御タイミングの情報を管理テーブルに記録し、
前記電源オフの制御タイミングになると、前記予備系のポートの動作を停止し、
前記電源オンの制御タイミングになると、前記予備系のポートの動作を再開することを特徴とする通信装置。
A communication device for transferring user data via a communication line,
A plurality of transmission ports and reception ports each having a line termination;
A control unit for controlling operations of the transmission port and the reception port,
The transmission port and the reception port each include an active port and a standby port,
Each port of the working system is connected to the port of the working system of the facing communication device,
Each port of the standby system is connected to a port of the standby system of the opposing communication device,
The controller is
Sending synchronization information to the opposing communication device;
Record the control timing information of the power source included in the transmitted synchronization information in the management table,
When the power-off control timing comes, stop the operation of the standby port,
The communication apparatus restarts the operation of the standby port when the power-on control timing comes.
前記制御部は、前記電源オンのタイミングになると、前記予備系のポートの動作を再開すると共に、前記予備系の送信ポートから前記対向する通信装置に同期情報に対する応答を送信することを特徴とする請求項6に記載の通信装置。   When the power-on timing is reached, the control unit resumes the operation of the standby port, and transmits a response to the synchronization information from the standby transmission port to the opposing communication device. The communication apparatus according to claim 6. 前記通信装置は、前記対向する通信装置に第1の設定情報を送信し、
前記制御部は、前記対向する通信装置に設定情報を送信することによって、予備系ポートの動作時間及び停止時間を前記対向する通信装置に設定することを特徴とする請求項6又は7に記載の通信装置。
The communication device transmits first setting information to the opposing communication device,
The control unit according to claim 6 or 7, wherein the control unit sets an operation time and a stop time of a standby port in the facing communication device by transmitting setting information to the facing communication device. Communication device.
前記制御部は、前記対向する通信装置に設定情報を送信した後の所定時間内に、前記対向する通信装置から応答を受信することができない場合、前記送信ポートの動作を停止せず、前記受信ポートのみの動作を停止することを特徴とする請求項8に記載の通信装置。   When the control unit cannot receive a response from the facing communication device within a predetermined time after transmitting setting information to the facing communication device, the control unit does not stop the operation of the transmission port, and 9. The communication apparatus according to claim 8, wherein the operation of only the port is stopped. 前記制御部は、
現用系の障害を検出した場合、予備系の送信ポートを現用系の送信ポートに設定し、予備系の受信ポートを現用系の受信ポートに設定することによって、障害を回復し、
前記障害回復前に設定された予備系ポートの動作時間及び停止時間を引き継ぎ、
前記予備系ポートの停止時間が経過した場合、新たに設定された予備系のポートの動作を再開すると共に、前記対向する通信装置に前記同期情報を送信することを特徴とする請求項6から8のいずれか一つに記載の通信装置。
The controller is
If a failure in the active system is detected, the failure is recovered by setting the standby transmission port as the active transmission port and the standby reception port as the active reception port.
Taking over the operation time and stop time of the backup port set before the failure recovery,
9. When the standby time of the standby system port elapses, the operation of the newly set standby system port is resumed and the synchronization information is transmitted to the opposing communication device. The communication device according to any one of the above.
JP2011009585A 2011-01-20 2011-01-20 Communication system and communication apparatus Expired - Fee Related JP5532260B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011009585A JP5532260B2 (en) 2011-01-20 2011-01-20 Communication system and communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011009585A JP5532260B2 (en) 2011-01-20 2011-01-20 Communication system and communication apparatus

Publications (2)

Publication Number Publication Date
JP2012151721A JP2012151721A (en) 2012-08-09
JP5532260B2 true JP5532260B2 (en) 2014-06-25

Family

ID=46793546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011009585A Expired - Fee Related JP5532260B2 (en) 2011-01-20 2011-01-20 Communication system and communication apparatus

Country Status (1)

Country Link
JP (1) JP5532260B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110212639B (en) * 2019-04-04 2021-08-03 国网山东省电力公司济宁供电公司 Offline local automatic restart controller and restart method for electric energy remote transmission terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07264171A (en) * 1994-03-16 1995-10-13 Fujitsu Ltd Redundant system transmission line operating system and redundant system transmission line operating method
JP2000244515A (en) * 1999-02-19 2000-09-08 Nec Corp Vp monitoring method, vp switching method, vp restoring method, node and vp restoring system
JP2002051009A (en) * 2000-05-25 2002-02-15 Hitachi Ltd Optical 1+1 changeover device

Also Published As

Publication number Publication date
JP2012151721A (en) 2012-08-09

Similar Documents

Publication Publication Date Title
EP1919138B1 (en) A method for implementing backup of the uplink
US8509059B2 (en) Method for operating a virtual router redundancy protocol router and communication system therefor
US9853856B2 (en) Method and device for protecting service reliability and network virtualization system
US20120275456A1 (en) Expedited graceful ospf restart
WO2009023996A1 (en) Method for implementing network interconnect via link aggregation
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
JP2007527170A (en) System and method for parallel communication
JP2010525693A (en) Distributed Ethernet system and method for detecting faults based on the system
EP2169995B1 (en) Radio network system and control node switching method
CN101465859A (en) Method and device for triggering main and standby interface board inverse switch
CN101895437A (en) Method and equipment of distributed bidirectional forwarding detection (BFD)
KR20110127688A (en) Method for communicating in a network comprising a batteryless zigbee device, network and device therefor
CN103490951A (en) Bidirectional forwarding detection method in multi-hop link on basis of BFD
WO2015192306A1 (en) Control device and system and transmission channel control method in software-defined networking
CN101909006A (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN101340377B (en) Method, apparatus and system for data transmission in double layer network
JP2019009638A (en) Radio communication device, system, and method
JP5441566B2 (en) Communication terminal, communication system, and node switching method
US7860090B2 (en) Method for processing LMP packets, LMP packet processing unit and LMP packet processing node
JP5532260B2 (en) Communication system and communication apparatus
JP4645839B2 (en) Security communication apparatus and sequence number management method
CN102055673A (en) Multi-route network and route switching method
JP2009225285A (en) Ethernet transmission method, ethernet transmission device, and ethernet system
WO2011143888A1 (en) Method and system for backing up protocol state between devices
WO2012139452A1 (en) Ethernet protection switching implementation method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130502

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140312

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: 20140401

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140408

R150 Certificate of patent or registration of utility model

Ref document number: 5532260

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees