JP2015201687A - Network device and synchronization control method - Google Patents

Network device and synchronization control method Download PDF

Info

Publication number
JP2015201687A
JP2015201687A JP2014077858A JP2014077858A JP2015201687A JP 2015201687 A JP2015201687 A JP 2015201687A JP 2014077858 A JP2014077858 A JP 2014077858A JP 2014077858 A JP2014077858 A JP 2014077858A JP 2015201687 A JP2015201687 A JP 2015201687A
Authority
JP
Japan
Prior art keywords
synchronization
application
module
sequence number
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.)
Granted
Application number
JP2014077858A
Other languages
Japanese (ja)
Other versions
JP5771308B1 (en
Inventor
諭士 中務
Satoshi Nakamu
諭士 中務
直樹 新井
Naoki Arai
直樹 新井
重谷 昌昭
Masaaki Omotani
昌昭 重谷
藤田 学
Manabu Fujita
学 藤田
雅也 新井
Masaya Arai
雅也 新井
昭彦 秋田谷
Akihiko Akitaya
昭彦 秋田谷
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.)
Nippon Telegraph and Telephone Corp
Alaxala Networks Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Alaxala Networks 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 Nippon Telegraph and Telephone Corp, Alaxala Networks Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2014077858A priority Critical patent/JP5771308B1/en
Application granted granted Critical
Publication of JP5771308B1 publication Critical patent/JP5771308B1/en
Publication of JP2015201687A publication Critical patent/JP2015201687A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce a time required to synchronize application data between a synchronization source active module and a module that should be synchronized.SOLUTION: In a network device 1, a mounted active module 100 comprises: transmission means 102 that transmits a synchronization packet transmitted by an application to a standby module 200 via a communication cable 300; and synchronization control means 101. The synchronization control means 101 comprises: identification number giving means 111 that gives the synchronization packet an identification number of the application; sequence number adding means 112 that gives the synchronization packet a sequence number; transmitted sequence number registration means 120 that registers the sequence number of the synchronization packet stored in the transmission means 102; and number checking means 130 that receives the sequence number of a synchronization packet arriving at the standby module 200, checks the arriving sequence number with the transmitted sequence number, and confirms arrival of the synchronization packet.

Description

本発明は、ネットワーク装置に係り、特に、ネットワーク装置のモジュールを現用系と予備系に分けて当該装置に複数搭載しておき現用系が故障したときに備えて現用系モジュールが保持する情報を予備系モジュールに同期するための同期制御方法、および、2台のネットワーク装置を現用系と予備系に分けて設置しておき現用系のネットワーク装置に搭載された現用系モジュールが保持する情報を予備系のネットワーク装置に搭載された現用系モジュールに同期するための同期制御方法に関する。   The present invention relates to a network device. In particular, the network device module is divided into an active system and a standby system, and a plurality of modules are mounted on the device, and information held by the active system module is reserved in case the active system fails. Synchronous control method for synchronizing to the active module, and the information held by the active module installed in the active network apparatus by installing two network devices separately for the active system and the standby system The present invention relates to a synchronization control method for synchronizing with an active module mounted on a network device.

従来、ルーターやLAN(Local Area Network)スイッチ等のネットワーク装置は、例えば、パケット転送を担うハードウェアであるフォワーディング・エンジンと、このフォワーディング・エンジンをコントロールするソフトウエアを搭載するコントロール・エンジンと、電源等で構成されている。そして、フォワーディング・エンジンやコントロール・エンジンをモジュール化し、現用系モジュールと予備系モジュールとを搭載して冗長化したネットワーク装置が知られている(非特許文献1参照)。   Conventionally, a network device such as a router or a LAN (Local Area Network) switch has, for example, a forwarding engine which is hardware responsible for packet transfer, a control engine equipped with software for controlling the forwarding engine, and a power source. Etc. A network device is known in which a forwarding engine and a control engine are modularized and an active module and a standby module are mounted to make the module redundant (see Non-Patent Document 1).

非特許文献1に記載の技術では、冗長化したネットワーク装置内の2モジュール間において、フォワーディング・エンジンをコントロールするソフトウエア(以下、アプリケーションケーションという)のデータを個別に同期させ、障害時等の切り替えに備えている。この方法では、ネットワーク装置において、切り替えに備えて、現用系モジュールが保持する情報を、装置内の例えばイーサネット(登録商標)の通信ケーブルで予備系モジュールに送信する。これにより、予備系モジュールで保持するアプリケーションのデータを現用系モジュールで保持するアプリケーションのデータに同期させている。ここで、予備系モジュールは、データが更新される側なので現用系モジュールにとって被同期モジュールに当たる。   In the technology described in Non-Patent Document 1, data of software (hereinafter referred to as application application) for controlling the forwarding engine is synchronized between two modules in a redundant network device, and switching at the time of failure, etc. In preparation. In this method, in preparation for switching, the network device transmits information held by the active system module to the standby system module using, for example, an Ethernet (registered trademark) communication cable. As a result, the application data held in the standby module is synchronized with the application data held in the active module. Here, since the standby system module is the side where data is updated, it corresponds to the synchronized module for the active system module.

林剛久、野崎信司、“ルーター開発の最前線 第7回 ルーターの装置内2重化対策[1]処理性能を保ったまま情報を同期させる”、2008年6月3日、[online]、[平成25年7月26日検索]、インターネット<URL: http://itpro.nikkeibp.co.jp/article/COLUMN/20080529/305018/?ST=network>Takehisa Hayashi, Shinji Nozaki, “The Forefront of Router Development, 7th Countermeasure for Router Duplication [1] Synchronize Information while Maintaining Processing Performance”, June 3, 2008, [online], [ Search on July 26, 2013], Internet <URL: http://itpro.nikkeibp.co.jp/article/COLUMN/20080529/305018/?ST=network>

IPネットワークにおいてサービスに応じて低遅延が求められるアプリケーションや多少の遅延を許容するアプリケーションが存在している。ネットワーク装置の2モジュール間で例えば複数アプリケーションのデータを同時期に同期させる場合がある。これに対して、従来技術では、同期元の現用系モジュールにおいて、各アプリケーションは、それぞれの同期データ(同期パケット)を個別に同期させる処理を行い、複数のアプリケーションが単一の経路を共有するので、低遅延が求められるアプリケーションであっても他のアプリケーションより優先されることはなく、そのデータを同期させるために時間を要していた。   In an IP network, there are applications that require a low delay according to services and applications that allow a slight delay. For example, data of a plurality of applications may be synchronized between two modules of the network device at the same time. On the other hand, in the conventional technology, in the synchronization source active module, each application performs a process of individually synchronizing each synchronization data (synchronization packet), and a plurality of applications share a single route. Even applications that require low latency are not prioritized over other applications, and time is required to synchronize their data.

また、同期させるべき2モジュール間の通信経路(同期経路)が切断されると、2モジュール間の同期データに差分が生じてしまう。これに対して、従来技術では、アプリケーションの同期がどこまで完了したか分からなかったため、同期元の現用系モジュールの同期すべき全アプリケーションの全同期データを被同期モジュールに送信する必要があった。したがって、セッション復旧時の同期データ送信を高速化することができず、復旧に時間を要していた。   Further, when the communication path (synchronization path) between the two modules to be synchronized is disconnected, a difference occurs in the synchronization data between the two modules. On the other hand, in the prior art, since it was not known how far the application synchronization was completed, it was necessary to transmit all synchronization data of all applications to be synchronized in the synchronization-source active module to the synchronized module. Therefore, the synchronous data transmission at the time of session recovery cannot be accelerated, and it takes time for the recovery.

このような背景に鑑みて本発明がなされたのであり、本発明は、同期元の現用系モジュールと被同期モジュールとの間でアプリケーションのデータを同期させるために要する時間を低減するネットワーク装置を提供することを課題とする。
また、同期元の現用系モジュールと被同期モジュールとの間でアプリケーションのデータを同期させるために要する時間を低減する同期制御方法を提供することを他の課題とする。
The present invention has been made in view of such a background, and the present invention provides a network device that reduces the time required to synchronize application data between a synchronization-source active module and a synchronized module. The task is to do.
It is another object of the present invention to provide a synchronization control method that reduces the time required to synchronize application data between a synchronization-source active module and a synchronized module.

前記した課題を解決するため、本発明に係るネットワーク装置は、IPネットワークにおいて複数のアプリケーションが動作する現用系モジュール及び予備系モジュールが搭載されたネットワーク装置であり、現用系モジュールが保持している情報を搭載された予備系モジュール及び他のネットワーク装置に搭載された現用系モジュールをそれぞれ表す被同期モジュールに対して同期させるネットワーク装置であって、同期元の現用系モジュールが、当該モジュール内で同期させる必要のある複数のアプリケーションのデータを集約すると共に各アプリケーションからデータの同期のために送信された同期パケットを受信して当該同期パケットに同期のための情報を付与して同期パケットを被同期モジュールに転送させる制御を行う同期制御手段と、同期のための情報が付与された同期パケットを通信ケーブルを介して被同期モジュールへ転送する送信手段と、を備え、同期制御手段が、アプリケーション毎の予め定められた順番で同期パケットを処理するためのアプリケーション固有の識別番号を同期パケットに付与する識別番号付与手段と、同期パケットに付与されたアプリケーションの識別番号ごとに、当該同期パケットに対してシーケンス番号を付与するシーケンス番号付与手段と、送信手段に格納された同期パケットのシーケンス番号を送信済シーケンス番号としてアプリケーションの識別番号ごとに登録する送信済シーケンス番号登録手段と、被同期モジュールから、到達した同期パケットのシーケンス番号が通知されたときに、通知されたシーケンス番号と送信済シーケンス番号とをアプリケーションの識別番号ごとに照合して当該同期パケットの到達を確認する番号照合手段と、を有し、被同期モジュールが、同期元の現用系モジュールから受信した同期パケットに付与されているシーケンス番号をアプリケーションの識別番号ごとに取得するシーケンス番号取得手段と、受信した同期パケットから取得されたシーケンス番号を到達済シーケンス番号としてアプリケーションの識別番号ごとに登録する到達済シーケンス番号登録手段と、アプリケーションの識別番号ごとに到達済シーケンス番号を現用系モジュールに通知する到達番号通知手段と、を有する、ことを特徴とする。   In order to solve the above-described problems, a network device according to the present invention is a network device in which a working module and a standby module on which a plurality of applications operate in an IP network is mounted, and information held by the working module Is a network device that synchronizes with a synchronized module that represents a working module installed in a standby system module and another network apparatus, and the working module that is the synchronization source synchronizes within the module Aggregates the data of a plurality of necessary applications, receives a synchronization packet transmitted from each application for data synchronization, adds information for synchronization to the synchronization packet, and sends the synchronization packet to the synchronized module Synchronous control that controls the transfer And a transmission means for transferring the synchronization packet with information for synchronization to the synchronized module via a communication cable, and the synchronization control means sends the synchronization packets in a predetermined order for each application. An identification number giving means for giving an application-specific identification number for processing to the synchronization packet; and a sequence number giving means for giving a sequence number to the synchronization packet for each application identification number given to the synchronization packet; The sequence number of the synchronization packet that has arrived is notified from the transmitted sequence number registration means that registers the sequence number of the synchronization packet stored in the transmission means as the transmitted sequence number for each application identification number, and the synchronized module. Sometimes the notified sequence number and sent A number verification means for verifying the arrival of the synchronization packet by comparing the sequence number with each application identification number, and the synchronized module is added to the synchronization packet received from the active module of the synchronization source. A sequence number acquisition unit that acquires a sequence number for each application identification number; a sequence number registration unit that registers a sequence number acquired from a received synchronization packet as a sequence number for each application identification number; And arrival number notification means for notifying the active module of the reached sequence number for each application identification number.

かかる構成によれば、ネットワーク装置は、同期元の現用系モジュール内で同期させる必要のある複数のアプリケーションのデータを集約して、アプリケーション固有の識別番号を同期パケットに付与するので、低遅延が求められるアプリケーションを優先的に同期させることができる。また、ネットワーク装置は、アプリケーション固有の識別番号が付与された同期パケットにシーケンス番号を付与して同期元の現用系モジュールから被同期モジュールに送信するので、同期経路の通信セッションが切断した場合に、到達済シーケンス番号から、どこまで同期できたかを確認することができる。   According to such a configuration, the network device aggregates data of a plurality of applications that need to be synchronized in the synchronization source active module, and assigns an application-specific identification number to the synchronization packet. Can be preferentially synchronized. In addition, since the network device assigns a sequence number to the synchronization packet to which the application-specific identification number is assigned and transmits it from the synchronization source active module to the synchronized module, when the communication session of the synchronization path is disconnected, From the reached sequence number, it can be confirmed how far synchronization has been achieved.

また、前記した課題を解決するため、本発明に係る同期制御方法は、IPネットワークにおいて複数のアプリケーションが動作する現用系モジュール及び予備系モジュールが搭載されたネットワーク装置であり、現用系モジュールが保持している情報を搭載された予備系モジュール及び他のネットワーク装置に搭載された現用系モジュールをそれぞれ表す被同期モジュールに対して同期させるネットワーク装置における同期制御方法であって、同期元の現用系モジュールにおいて、アプリケーションがデータの同期のために送信した同期パケットを、アプリケーション毎の予め定められた順番で処理するためのアプリケーション固有の識別番号を同期パケットに付与する識別番号付与ステップと、同期パケットに付与されたアプリケーションの識別番号ごとに、当該同期パケットに対してシーケンス番号を付与するシーケンス番号付与ステップと、同期パケットを送信手段に格納する格納ステップと、送信手段に格納された同期パケットのシーケンス番号を送信済シーケンス番号としてアプリケーションの識別番号ごとに登録する送信済シーケンス番号登録ステップと、送信手段に格納された同期パケットを通信ケーブルを介して被同期モジュールへ送信する送信ステップと、を有し、被同期モジュールにおいて、同期元の現用系モジュールから同期パケットを受信する受信ステップと、受信した同期パケットに付与されているアプリケーションの識別番号を基に当該同期パケットを該当のアプリケーションへ転送する転送ステップと、受信した同期パケットに付与されているシーケンス番号を到達済シーケンス番号としてアプリケーションの識別番号ごとに登録する到達済シーケンス番号登録ステップと、アプリケーションの識別番号ごとに到達済シーケンス番号を現用系モジュールに通知する到達番号通知ステップと、を有し、同期元の現用系モジュールにおいて、被同期モジュールから通知されたシーケンス番号と送信済シーケンス番号とをアプリケーションの識別番号ごとに照合して当該同期パケットの到達を確認する番号照合ステップを有する、ことを特徴とする。   In order to solve the above-described problem, the synchronization control method according to the present invention is a network device in which a working module and a standby module on which a plurality of applications operate in an IP network is mounted. Is a synchronization control method in a network device that synchronizes with a synchronized module that represents a standby system module and a working module installed in another network apparatus, and in the synchronization source working module An identification number assigning step for assigning an application-specific identification number to the synchronization packet for processing the synchronization packet transmitted by the application for data synchronization in a predetermined order for each application; Application For each identification number, a sequence number assigning step for assigning a sequence number to the synchronization packet, a storage step for storing the synchronization packet in the transmission means, and a sequence number of the synchronization packet stored in the transmission means as a transmitted sequence number As a registered sequence number registration step for each application identification number, and a transmission step for transmitting the synchronization packet stored in the transmission means to the synchronized module via the communication cable. A reception step of receiving a synchronization packet from the active module of the synchronization source, a transfer step of transferring the synchronization packet to the application based on the application identification number assigned to the received synchronization packet, and the received synchronization packet She has been granted A reached sequence number registration step for registering each service identification number as an reached sequence number for each application identification number, and an arrival number notification step for notifying the active module of the reached sequence number for each application identification number. The synchronization source active module has a number verification step for verifying the arrival of the synchronization packet by verifying the sequence number notified from the synchronized module and the transmitted sequence number for each identification number of the application. Features.

かかる手順によれば、同期制御方法は、ネットワーク装置の同期元の現用系モジュールにおいてアプリケーション固有の識別番号を同期パケットに付与するので、低遅延が求められるアプリケーションを優先的に同期させることができる。また、同期制御方法は、アプリケーション固有の識別番号が付与された同期パケットにシーケンス番号を付与して同期元の現用系モジュールから被同期モジュールに送信手段によって送信するので、同期経路の通信セッションが切断した場合に、到達済シーケンス番号から、どこまで同期できたかを確認することができる。   According to this procedure, the synchronization control method assigns an application-specific identification number to the synchronization packet in the synchronization source active module of the network device, so that an application requiring low delay can be preferentially synchronized. In addition, the synchronization control method assigns a sequence number to a synchronization packet to which an application-specific identification number is assigned and transmits it from the synchronization source active module to the synchronized module by the transmission means. In this case, it is possible to confirm how far synchronization has been achieved from the reached sequence number.

本発明によれば、同期元の現用系モジュールと被同期モジュールとの間でアプリケーションのデータを同期させるために要する時間を低減することができる。   According to the present invention, it is possible to reduce the time required to synchronize application data between a synchronization-source active module and a synchronized module.

本発明の第1実施形態に係るネットワーク装置を模式的に示すブロック図である。1 is a block diagram schematically showing a network device according to a first embodiment of the present invention. 本発明の第1実施形態に係るネットワーク装置における同期処理を模式的に示すシーケンス図である。It is a sequence diagram which shows typically the synchronous process in the network device which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係るネットワーク装置の具体例を模式的に示すブロック図である。It is a block diagram showing typically a specific example of a network device concerning a 1st embodiment of the present invention. 図3の現用系モジュールによる同期処理を模式的に示すシーケンス図である。It is a sequence diagram which shows typically the synchronous process by the active system module of FIG. 本発明の第2実施形態に係るネットワーク装置を模式的に示すブロック図である。It is a block diagram which shows typically the network device which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係るネットワーク装置における同期処理を模式的に示すシーケンス図である。It is a sequence diagram which shows typically the synchronous process in the network device which concerns on 2nd Embodiment of this invention. 本発明の第3実施形態に係るネットワーク装置を模式的に示すブロック図である。It is a block diagram which shows typically the network device which concerns on 3rd Embodiment of this invention. 本発明の第3実施形態に係るネットワーク装置における同期処理を模式的に示すシーケンス図である。It is a sequence diagram which shows typically the synchronous process in the network device which concerns on 3rd Embodiment of this invention. 本発明の第4実施形態に係るネットワーク装置を模式的に示すブロック図である。It is a block diagram which shows typically the network device which concerns on 4th Embodiment of this invention. 本発明の第4実施形態に係るネットワーク装置における同期処理を模式的に示すシーケンス図である。It is a sequence diagram which shows typically the synchronous process in the network device which concerns on 4th Embodiment of this invention. 本発明に係る冗長構成のネットワーク装置を模式的に示すブロック図である。1 is a block diagram schematically showing a redundant network device according to the present invention. FIG. 従来のネットワーク装置を模式的に示すブロック図である。It is a block diagram which shows the conventional network device typically.

本発明に係るネットワーク装置は、モジュールを現用系と予備系に分けて当該装置に複数搭載しておき、現用系モジュールが保持する情報を予備系モジュールに同期すると共に、2台のネットワーク装置を現用系と予備系に分けて設置しておき現用系のネットワーク装置に搭載された現用系モジュールが保持する情報を予備系のネットワーク装置に搭載された現用系モジュールに同期するものである。つまり、同期元の現用系モジュールに対して保持情報を同期させる被同期モジュールとしては、同期元のネットワーク装置内に搭載された予備系モジュールと、他のネットワーク装置に搭載された現用系モジュールとが存在する。ただし、説明を簡単にするため、以下の各実施形態では、データが更新される側のモジュールを示す被同期モジュールが、同期元のネットワーク装置内に搭載された予備系モジュールであるものとする。以下、本発明のネットワーク装置及び同期制御方法について図面を参照して詳細に説明する。
(第1実施形態)
図1に示すネットワーク装置1は、例えはルーターやLANスイッチ等である。ネットワーク装置1には、現用系モジュール100及び予備系モジュール(被同期モジュール)200が搭載されている。ネットワーク装置1は、現用系モジュール100が保持している情報を装置内の通信ケーブル300を介して予備系モジュール200に対して同期させるものである。
In the network device according to the present invention, a module is divided into an active system and a standby system, and a plurality of modules are mounted on the apparatus. The information held by the active system module is synchronized with the standby system module, and two network devices are used. The system is installed separately from the system and the standby system, and the information held in the active system module mounted on the active network apparatus is synchronized with the active system module mounted on the standby network apparatus. In other words, the synchronized modules that synchronize the stored information with the active module of the synchronization source include the standby module installed in the network apparatus of the synchronization source and the active module installed in the other network apparatus. Exists. However, in order to simplify the description, in each of the following embodiments, it is assumed that a synchronized module indicating a module whose data is to be updated is a standby module mounted in a synchronization source network device. Hereinafter, a network device and a synchronization control method of the present invention will be described in detail with reference to the drawings.
(First embodiment)
The network device 1 shown in FIG. 1 is, for example, a router or a LAN switch. The network device 1 includes an active module 100 and a standby module (synchronized module) 200. The network device 1 synchronizes the information held by the active module 100 with the standby module 200 via the communication cable 300 in the device.

現用系モジュール100では、複数のアプリケーション104が動作する。ここでは、現用系モジュール100は、ある所定のサービス(以下、サービスAという)を提供するために、互いに関連した2つのアプリケーション104(アプリケーション名:A−1,A−2)を備えている。また、現用系モジュール100は、別のサービス(以下、サービスBという)を提供するために、互いに関連した2つのアプリケーション104(アプリケーション名:B−1,B−2)を備えている。   In the active module 100, a plurality of applications 104 operate. Here, the active module 100 includes two applications 104 (application names: A-1, A-2) related to each other in order to provide a predetermined service (hereinafter referred to as service A). The active module 100 includes two applications 104 (application names: B-1, B-2) associated with each other in order to provide another service (hereinafter referred to as service B).

予備系モジュール200は、現用系モジュール100で動作するものと同様の複数のアプリケーション204を備え、現用系モジュール100の故障等による切り替え時に、各アプリケーション204が動作する。   The standby module 200 includes a plurality of applications 204 similar to those operating on the active module 100, and each application 204 operates when switching due to a failure of the active module 100 or the like.

ネットワーク装置1において、アプリケーションの同期処理に係る構成要素以外は従来技術と同様なので、以下では説明及び図示を適宜省略する。なお、ネットワーク装置1が例えはレイヤー3スイッチの場合、非特許文献1に示すように、パケット転送を担うハードウェアであるフォワーディング・エンジンと、このフォワーディング・エンジンをコントロールするソフトウエアを搭載するコントロール・エンジンと、電源等で構成される。ここで、例えば2つのコントロール・エンジンが図1に示す現用系モジュール100及び予備系モジュール200に相当する。コントロール・エンジンの場合、同期させる情報として、例えばコンフィグレーションテーブル、ARP(Address Resolution Protocol)/NDP(Neighbor Discovery Protocol)テーブル、各種プロトコル情報、ハードウェア制御情報とを格納している。   Since the network device 1 is the same as the related art except for the components related to the application synchronization processing, the description and illustration will be appropriately omitted below. When the network device 1 is, for example, a layer 3 switch, as shown in Non-Patent Document 1, a control engine equipped with a forwarding engine that is hardware responsible for packet forwarding and software that controls the forwarding engine is provided. It consists of an engine and a power supply. Here, for example, two control engines correspond to the active module 100 and the standby module 200 shown in FIG. In the case of a control engine, for example, a configuration table, an ARP (Address Resolution Protocol) / NDP (Neighbor Discovery Protocol) table, various protocol information, and hardware control information are stored as information to be synchronized.

図1に示すように、現用系モジュール100は、予備系モジュール200に同期データを送信するための構成として、同期制御手段101と、送信手段102とを備えている。
同期制御手段101は、現用系モジュール100内で同期させる必要のある複数のアプリケーション104のデータを集約すると共に各アプリケーション104からデータの同期のために送信されたパケット(同期パケット)を受信して当該同期パケットに同期のための情報を付与して同期パケットを転送させる制御を行うものである。
As shown in FIG. 1, the active module 100 includes a synchronization control unit 101 and a transmission unit 102 as a configuration for transmitting synchronization data to the standby module 200.
The synchronization control unit 101 aggregates data of a plurality of applications 104 that need to be synchronized in the active module 100 and receives packets (synchronization packets) transmitted from each application 104 for data synchronization. Control for adding synchronization information to the synchronization packet and transferring the synchronization packet is performed.

この例では、同期制御手段101は、サービスAを提供する2つのアプリケーション104を集約してアプリケーション群103(アプリケーション群名:A)として取り扱い、サービスBを提供する2つのアプリケーション104を集約してアプリケーション群103(アプリケーション群名:B)として取り扱う。なお、予備系モジュール200では、現用系モジュール100で動作するものと同様の複数のアプリケーション群203を備え、現用系モジュール100の故障等による切り替え時に、各アプリケーション群203が動作する。   In this example, the synchronization control unit 101 aggregates two applications 104 that provide the service A and handles them as an application group 103 (application group name: A), and aggregates the two applications 104 that provide the service B to collect applications. It is handled as a group 103 (application group name: B). The standby module 200 includes a plurality of application groups 203 similar to those operating on the active module 100, and each application group 203 operates when switching due to a failure of the active module 100 or the like.

本実施形態では、同期制御手段101は、パケット転送制御手段110と、送信済シーケンス番号登録手段120と、番号照合手段130と、を備えている。
パケット転送制御手段110は、識別番号付与手段111と、シーケンス番号付与手段112と、を備えている。
識別番号付与手段111は、アプリケーション毎の予め定められた順番で同期パケットを処理するためのアプリケーション固有の識別番号を同期パケットに付与するものである。識別番号付与手段111は、現用系モジュール100の各アプリケーション104が送信する同期パケット内に、アプリケーションの識別番号を付与する。
In the present embodiment, the synchronization control unit 101 includes a packet transfer control unit 110, a transmitted sequence number registration unit 120, and a number verification unit 130.
The packet transfer control unit 110 includes an identification number giving unit 111 and a sequence number giving unit 112.
The identification number giving means 111 gives an application-specific identification number to the synchronization packet for processing the synchronization packet in a predetermined order for each application. The identification number assigning unit 111 assigns an application identification number in the synchronization packet transmitted by each application 104 of the active module 100.

シーケンス番号付与手段112は、同期パケットに付与されたアプリケーションの識別番号ごとに、当該同期パケットに対してシーケンス番号を付与するものである。アプリケーションの識別番号及びシーケンス番号が付与された同期パケットのパケットデータは、送信手段102に格納される。送信手段102にパケットデータが格納された同期パケットについては、シーケンス番号付与手段112で当該同期パケットに付与されたシーケンス番号の情報がアプリケーションの識別番号の情報と共に送信済シーケンス番号登録手段120に出力される。   The sequence number assigning unit 112 assigns a sequence number to the synchronization packet for each application identification number assigned to the synchronization packet. The packet data of the synchronization packet to which the application identification number and sequence number are assigned is stored in the transmission means 102. For the synchronization packet in which the packet data is stored in the transmission means 102, the sequence number information assigned to the synchronization packet by the sequence number assignment means 112 is output to the transmitted sequence number registration means 120 together with the application identification number information. The

送信済シーケンス番号登録手段120は、送信手段102に格納された同期パケットのシーケンス番号を送信済シーケンス番号としてアプリケーションの識別番号ごとに登録するものである。   The transmitted sequence number registration unit 120 registers the sequence number of the synchronization packet stored in the transmission unit 102 as a transmitted sequence number for each application identification number.

番号照合手段130は、予備系モジュール200から、到達した同期パケットのシーケンス番号が通知されたときに、通知されたシーケンス番号と送信済シーケンス番号とをアプリケーションの識別番号ごとに照合して当該同期パケットの到達を確認するものである。   The number collating unit 130 collates the notified sequence number with the transmitted sequence number for each application identification number when the standby module 200 is notified of the sequence number of the arrived synchronization packet. Confirming the arrival of

送信手段102は、アプリケーションの識別番号及びシーケンス番号(同期のための情報)が付与された同期パケットを通信ケーブル300を介して予備系モジュール200へ転送するものである。送信手段102は、所定の送信インタフェースから構成され、送信キューに格納された同期パケットを通信ケーブル300に出力する。送信手段102は、送信キューに先入れ先出しのリスト構造で保持されたパケットデータを順次出力する。   The transmission unit 102 transfers the synchronization packet to which the application identification number and sequence number (information for synchronization) are assigned to the standby module 200 via the communication cable 300. The transmission means 102 is composed of a predetermined transmission interface, and outputs the synchronization packet stored in the transmission queue to the communication cable 300. The transmission unit 102 sequentially outputs packet data held in a first-in first-out list structure in the transmission queue.

予備系モジュール200は、現用系モジュール100から同期データを受信するための構成として、同期制御手段201を備えている。
同期制御手段201は、シーケンス番号取得手段210と、到達済シーケンス番号登録手段220と、到達番号通知手段230と、を備えている。
The standby system module 200 includes synchronization control means 201 as a configuration for receiving synchronization data from the active system module 100.
The synchronization control unit 201 includes a sequence number acquisition unit 210, a reached sequence number registration unit 220, and a reaching number notification unit 230.

シーケンス番号取得手段210は、現用系モジュール100から受信した同期パケットに付与されているシーケンス番号をアプリケーションの識別番号ごとに取得するものである。取得されたシーケンス番号はアプリケーションの識別番号と共に到達済シーケンス番号登録手段220に出力される。このシーケンス番号取得手段210は、現用系モジュール100から受信した同期パケットに付与されているアプリケーションの識別番号を基に当該同期パケットを該当のアプリケーション204へ転送する。   The sequence number acquisition unit 210 acquires the sequence number assigned to the synchronization packet received from the active module 100 for each application identification number. The acquired sequence number is output to the reached sequence number registration means 220 together with the application identification number. The sequence number acquisition unit 210 transfers the synchronization packet to the corresponding application 204 based on the application identification number given to the synchronization packet received from the active module 100.

到達済シーケンス番号登録手段220は、受信した同期パケットから取得されたシーケンス番号を到達済シーケンス番号としてアプリケーションの識別番号ごとに登録するものである。
到達番号通知手段230は、アプリケーションの識別番号ごとに到達済シーケンス番号を現用系モジュール100に通知するものである。なお、到達番号通知手段230は、到達済シーケンス番号登録手段220に登録されたシーケンス番号を通知する。
The reached sequence number registration means 220 registers the sequence number acquired from the received synchronization packet as the reached sequence number for each identification number of the application.
The arrival number notification means 230 notifies the active module 100 of the reached sequence number for each application identification number. The arrival number notification unit 230 notifies the sequence number registered in the reached sequence number registration unit 220.

本発明の第1実施形態に係るネットワーク装置1及び同期制御方法における処理の流れについて図2を参照(適宜図1参照)して説明する。まず、現用系モジュール100において、識別番号付与手段111は、アプリケーション104が送信した同期パケットにアプリケーションの識別番号を付与する(ステップS101:識別番号付与ステップ)。そして、シーケンス番号付与手段112は、同期パケットに付与されたアプリケーションの識別番号ごとに、当該同期パケットに対してシーケンス番号を付与し、(ステップS102:シーケンス番号付与ステップ)、同期パケットを送信手段102の送信キューに格納する(ステップS103:格納ステップ)。そして、送信済シーケンス番号登録手段120は、送信キューに格納された同期パケットに付与されているシーケンス番号を送信済シーケンス番号としてアプリケーションの識別番号ごとに登録する(ステップS104:送信済シーケンス番号登録ステップ)。そして、送信手段102は、送信キューに格納された同期パケットを通信ケーブル300を介して予備系モジュール200へ送信する(ステップS105:送信ステップ)。   A processing flow in the network device 1 and the synchronization control method according to the first embodiment of the present invention will be described with reference to FIG. 2 (refer to FIG. 1 as appropriate). First, in the active module 100, the identification number assigning means 111 assigns an application identification number to the synchronization packet transmitted by the application 104 (step S101: identification number assignment step). Then, the sequence number assigning means 112 assigns a sequence number to the synchronization packet for each application identification number assigned to the synchronization packet (step S102: sequence number assignment step), and sends the synchronization packet to the transmission means 102. (Step S103: storing step). Then, the transmitted sequence number registration means 120 registers the sequence number given to the synchronization packet stored in the transmission queue as the transmitted sequence number for each application identification number (step S104: transmitted sequence number registration step). ). Then, the transmission means 102 transmits the synchronization packet stored in the transmission queue to the standby module 200 via the communication cable 300 (step S105: transmission step).

続いて、予備系モジュール200において、シーケンス番号取得手段210は、現用系モジュール100から同期パケットを受信する(ステップS106:受信ステップ)と、受信した同期パケットに付与されているアプリケーションの識別番号を基に当該同期パケットを該当のアプリケーション204へ転送する(ステップS107:転送ステップ)。そして、シーケンス番号取得手段210は、受信した同期パケットに付与されているシーケンス番号をアプリケーションの識別番号ごとに取得する。これにより、到達済シーケンス番号登録手段220は、受信した同期パケットに付与されているシーケンス番号を到達済シーケンス番号としてアプリケーションの識別番号ごとに登録する(ステップS108:到達済シーケンス番号登録ステップ)。そして、到達番号通知手段230は、アプリケーションの識別番号ごとに到達済シーケンス番号を現用系モジュール100に通知する(ステップS109:到達番号通知ステップ)。   Subsequently, in the standby system module 200, the sequence number acquisition unit 210 receives the synchronization packet from the active system module 100 (step S106: reception step), and based on the application identification number given to the received synchronization packet. The synchronization packet is transferred to the corresponding application 204 (step S107: transfer step). Then, the sequence number acquisition unit 210 acquires the sequence number given to the received synchronization packet for each application identification number. As a result, the reached sequence number registration unit 220 registers the sequence number given to the received synchronization packet as the reached sequence number for each application identification number (step S108: reached sequence number registration step). The arrival number notification means 230 notifies the active module 100 of the reached sequence number for each application identification number (step S109: arrival number notification step).

続いて、現用系モジュール100において、番号照合手段130は、予備系モジュール200から通知されたシーケンス番号と送信済シーケンス番号とをアプリケーションの識別番号ごとに照合して当該同期パケットの到達を確認する(ステップS110:番号照合ステップ)。所定のアプリケーションの識別番号において、到達済シーケンス番号と送信済シーケンス番号とが一致すれば、当該シーケンス番号及びアプリケーションの識別番号が付与された同期パケットが、現用系モジュール100から予備系モジュール200へ間違いなく送達されたことになる。番号照合手段130は、一致を確認後、到達済シーケンス番号と同じ値を有した送信済シーケンス番号を削除する。   Subsequently, in the active module 100, the number verification unit 130 verifies the arrival of the synchronization packet by comparing the sequence number notified from the standby system module 200 with the transmitted sequence number for each application identification number ( Step S110: Number collation step). If the reached sequence number and the transmitted sequence number match in the identification number of the predetermined application, the synchronization packet to which the sequence number and the application identification number are assigned is erroneous from the active module 100 to the standby module 200. It was delivered without. After confirming the match, the number verification unit 130 deletes the transmitted sequence number having the same value as the reached sequence number.

本実施形態のネットワーク装置1は、図12に示す従来のネットワーク装置901よりも以下に示す優れた効果を奏する。従来のネットワーク装置901は、現用系モジュール902や予備系モジュール903に、同期制御手段101,201(図1参照)を備えておらず、現用系モジュール902において、各アプリケーション104は、それぞれの同期データ(同期パケット)を個別に同期させる処理を行っていたため、低遅延が求められるアプリケーションであっても他のアプリケーションより優先されることはなかった。一方、本実施形態のネットワーク装置1は、現用系モジュール100内で同期させる必要のある複数のアプリケーション104のデータを集約して、アプリケーション群103として取り扱い、アプリケーション固有の識別番号を同期パケットに付与するので、低遅延が求められるアプリケーションを優先的に同期させることができる。   The network device 1 of the present embodiment has the following superior effects than the conventional network device 901 shown in FIG. The conventional network device 901 does not include the synchronization control means 101 and 201 (see FIG. 1) in the active module 902 and the standby module 903. In the active module 902, each application 104 has its own synchronization data. Since the process of individually synchronizing (synchronization packets) was performed, even an application requiring low delay was not prioritized over other applications. On the other hand, the network device 1 according to the present embodiment aggregates data of a plurality of applications 104 that need to be synchronized in the active module 100, handles the data as the application group 103, and assigns an application-specific identification number to the synchronization packet. Therefore, it is possible to preferentially synchronize applications that require low delay.

また、従来のネットワーク装置901は、現用系モジュール902と予備系モジュール903との間の通信経路(同期経路)が切断されると、復旧時にはアプリケーションの同期がどこまで完了したか分からなかったため、現用系モジュール902の同期すべき全アプリケーションの全同期データを送信する必要があった。一方、本実施形態のネットワーク装置1は、アプリケーション固有の識別番号が付与された同期パケットにシーケンス番号を付与して現用系モジュール100から予備系モジュール200に送信するので、通信セッションの復旧時に、到達済シーケンス番号から、どこまで同期できたかを確認することができる。   Further, when the communication path (synchronization path) between the active module 902 and the standby module 903 is disconnected, the conventional network device 901 does not know how far the application synchronization has been completed at the time of recovery. It was necessary to transmit all synchronization data of all applications to be synchronized in the module 902. On the other hand, the network device 1 according to the present embodiment assigns a sequence number to the synchronization packet to which the application-specific identification number is assigned and transmits the synchronization packet from the active module 100 to the standby module 200. From the completed sequence number, it can be confirmed how far synchronization has been achieved.

(優先転送の具体例)
第1実施形態において、低遅延が求められる優先度の高いアプリケーションの優先転送について図3を参照して説明する。図3に示すネットワーク装置1Aにおいて、図1に示す構成要素と同じ構成要素については同じ符号を付して説明を適宜省略する。
(Specific example of priority transfer)
In the first embodiment, priority transfer of a high priority application requiring low delay will be described with reference to FIG. In the network device 1A shown in FIG. 3, the same components as those shown in FIG.

ネットワーク装置1Aには、現用系モジュール100A及び予備系モジュール200が搭載されている。現用系モジュール100Aは、同期制御手段101Aを備えている。同期制御手段101Aは、パケット転送制御手段110Aを備えている。
パケット転送制御手段110Aは、優先度の高いパケットを優先的に転送させる制御を行うものであり、識別番号付与手段111Aと、シーケンス番号付与手段112と、優先度決定手段113とを備えている。
In the network apparatus 1A, an active module 100A and a standby module 200 are mounted. The active module 100A includes synchronization control means 101A. The synchronization control unit 101A includes a packet transfer control unit 110A.
The packet transfer control unit 110A performs control for preferentially transferring a packet having a high priority, and includes an identification number assigning unit 111A, a sequence number assigning unit 112, and a priority determining unit 113.

優先度決定手段113は、予め登録された優先度テーブル113a,113bに基づいて、同期パケットに付与されたアプリケーションの識別番号を基に当該同期パケットの優先度を決定するものである。優先度テーブル113a,113bには、アプリケーションの識別番号と当該アプリケーションの優先度とが対応付けられている。本実施形態では、サービス毎に個別に優先度テーブル113a,113bを備えることとした。サービスA用の優先度テーブル113aの一例を以下の表1に示し、サービスB用の優先度テーブル113bの一例を以下の表2に示す。   The priority determination means 113 determines the priority of the synchronization packet based on the application identification number assigned to the synchronization packet based on the priority tables 113a and 113b registered in advance. In the priority tables 113a and 113b, an application identification number and a priority of the application are associated with each other. In this embodiment, the priority tables 113a and 113b are individually provided for each service. An example of the priority table 113a for service A is shown in Table 1 below, and an example of the priority table 113b for service B is shown in Table 2 below.

Figure 2015201687
Figure 2015201687
Figure 2015201687
Figure 2015201687

表1に示す例では、サービスAを実現するためのアプリケーション群Aにおいて、アプリケーション名がA−1であるアプリケーション(以下、単にアプリケーションA−1という)は、優先順位が1であり、アプリケーション名がA−2であるアプリケーション(アプリケーションA−2)に比べて低遅延を求められる、優先度の高いアプリケーションである。なお、優先順位の値がより小さいほど優先度はより高い。同様に、表2に示す例では、アプリケーション群Bにおいて、アプリケーションB−1は、アプリケーションB−2に比べて優先度の高いアプリケーションである。この例では、送信手段102の送信キューとして、優先度が高いパケット用のキューと、優先度が低いパケット用のキューとが用意されている。   In the example shown in Table 1, in the application group A for realizing the service A, an application whose application name is A-1 (hereinafter simply referred to as application A-1) has a priority of 1, and the application name is It is a high-priority application that requires a lower delay than the application A-2 (application A-2). Note that the lower the priority value, the higher the priority. Similarly, in the example shown in Table 2, in the application group B, the application B-1 is an application having a higher priority than the application B-2. In this example, a packet queue with a high priority and a packet queue with a low priority are prepared as transmission queues of the transmission means 102.

識別番号付与手段111Aは、現用系モジュール100の各アプリケーション104から受信する同期パケットに識別番号を付与する際に、アプリケーション群103を単位として、アプリケーション群103に属するアプリケーション104の同期パケット内に当該アプリケーションの識別番号を付与する。   When assigning an identification number to the synchronization packet received from each application 104 of the active module 100, the identification number assignment unit 111A includes the application group 103 as a unit and the application number 103 in the synchronization packet of the application 104 belonging to the application group 103. An identification number is assigned.

例えば、アプリケーション群Aにおいて、アプリケーションA−1の同期パケット内に識別番号0x01が付与され、アプリケーションA−2の同期パケット内に識別番号0x02が付与される。また、アプリケーション群Bにおいて、アプリケーションB−1の同期パケット内に識別番号0x01が付与され、アプリケーションB−2の同期パケット内に識別番号0x02が付与される。   For example, in the application group A, the identification number 0x01 is assigned in the synchronization packet of the application A-1, and the identification number 0x02 is assigned in the synchronization packet of the application A-2. In the application group B, the identification number 0x01 is assigned in the synchronization packet of the application B-1, and the identification number 0x02 is assigned in the synchronization packet of the application B-2.

同期制御手段101Aにおいてパケット転送制御手段110Aは、同期パケットを送信する機会をアプリケーション群103単位で均等に割り当て、アプリケーション群103に属するアプリケーション104の同期パケットを送信する際に優先度の高いパケットを優先的に転送させる制御を行う。ここで均等に割り当てるとは、例えば、アプリケーション群Aに属するアプリケーションA−1の同期パケットを転送させた後には、アプリケーション群Bに属するアプリケーションB−1の同期パケットを転送させるといった順番で交互に処理することを意味し、また、その際に、アプリケーションA−2,B−2よりもアプリケーションA−1,B−1を優先することを意味する。   In the synchronization control unit 101A, the packet transfer control unit 110A equally assigns the opportunity to transmit the synchronization packet in units of the application group 103, and gives priority to a packet having a high priority when transmitting the synchronization packet of the application 104 belonging to the application group 103. Control to transfer automatically. Here, for example, the processing is alternately performed in the order of, for example, transferring the synchronization packet of the application A-1 belonging to the application group B after transferring the synchronization packet of the application A-1 belonging to the application group A. In this case, it means that the applications A-1 and B-1 are given priority over the applications A-2 and B-2.

ネットワーク装置1Aの現用系モジュール100Aにおける処理の流れについて図4を参照(適宜図3参照)して説明する。現用系モジュール100Aの同期制御手段101Aでは、アプリケーションの識別番号に対する優先順位を当該アプリケーションの優先度として優先度テーブル113a,113bに予め登録しておくことを前提とする(ステップS111:登録ステップ)。なお、アプリケーション固有の識別番号及び優先度の設定は、例えば、システム管理者が、ネットワーク装置1Aの初期設定時やメンテナンス時において設定することができる。   The flow of processing in the active module 100A of the network device 1A will be described with reference to FIG. 4 (see FIG. 3 as appropriate). The synchronization control unit 101A of the active module 100A presupposes that the priority order for the application identification number is registered in advance in the priority tables 113a and 113b as the priority of the application (step S111: registration step). The application-specific identification number and priority can be set by, for example, the system administrator at the time of initial setting or maintenance of the network device 1A.

そして、同期制御手段101Aにおいて、識別番号付与手段111Aは、現用系モジュール100内で集約されたアプリケーション群103を単位として、アプリケーション群103に属するアプリケーション104の同期パケット内に当該アプリケーションの識別番号を付与する(ステップS112:識別番号付与ステップ)。そして、シーケンス番号付与手段112は、当該同期パケットに対してシーケンス番号を付与する(ステップS113:シーケンス番号付与ステップ)。   Then, in the synchronization control unit 101A, the identification number giving unit 111A gives the identification number of the application in the synchronization packet of the application 104 belonging to the application group 103, with the application group 103 aggregated in the active module 100 as a unit. (Step S112: Identification number assignment step). Then, the sequence number assigning unit 112 assigns a sequence number to the synchronization packet (step S113: sequence number assigning step).

そして、同期制御手段101Aにおいて、優先度決定手段113は、優先度テーブル113a,113bに基づいて、同期パケットに付与されたアプリケーションの識別番号を基に当該同期パケットの優先度を決定し、当該優先度の高いパケットを優先的に転送させる(ステップS114:優先度決定ステップ)。つまり、現用系モジュール100Aでは、アプリケーション単位で事前に登録された優先順位にしたがって、その優先順位に基づきパケットをどのキューに格納するかを決定する。   Then, in the synchronization control unit 101A, the priority determination unit 113 determines the priority of the synchronization packet based on the identification number of the application given to the synchronization packet based on the priority tables 113a and 113b. A packet having a high degree is preferentially transferred (step S114: priority determination step). That is, the active module 100A determines in which queue to store the packet based on the priority order according to the priority order registered in advance for each application.

そして、同期制御手段101Aは、同期パケットを送信する機会をアプリケーション群103単位で均等に割り当て、アプリケーション群103に属するアプリケーション104の同期パケットを送信する際に優先度の高いパケットを優先的に送信キューに格納する(ステップS115:格納ステップ)。以降のステップS116〜S119の処理は、図2に示すステップS104、S105,S109,S110と同様の処理なので説明を省略する。このうちステップS117の処理では、同期パケットを優先順位毎に送信する。   Then, the synchronization control unit 101A assigns the opportunity to transmit the synchronization packet evenly in units of the application group 103, and when transmitting the synchronization packet of the application 104 belonging to the application group 103, a packet having a high priority is preferentially transmitted. (Step S115: storage step). Since the subsequent steps S116 to S119 are the same as steps S104, S105, S109, and S110 shown in FIG. Among these, in the process of step S117, a synchronization packet is transmitted for each priority.

具体的には、表1及び表2に記載したように、サービス(又はアプリケーション群)に関わらずパケットに付与された識別番号が0x01ならば優先順位1位、パケットに付与された識別番号が0x02ならば優先順位2位であるものとして優先順位が登録されているものとする。このときに、例えばアプリケーションA−1,A−2,B−1,B−2の合計4種類の同期パケットを処理する場合、アプリケーションA−1(優先順位1位)の同期パケットとアプリケーションB−1(優先順位1位)の同期パケットとを交互に転送させる。そして、例えば転送中のアプリケーションA−1,B−1のうち、アプリケーションA−1の同期データの転送が完了した場合、残っているアプリケーションA−2(優先順位2位)の同期パケットと、転送途中のアプリケーションB−1の同期パケットとを交互に転送させる。さらにアプリケーションB−1の同期データの転送が完了した場合、残りのアプリケーションA−2の同期パケットと、転送途中のアプリケーションB−2(優先順位2位)の同期パケットとを交互に転送させる。   Specifically, as described in Tables 1 and 2, if the identification number assigned to the packet is 0x01 regardless of the service (or application group), the priority is first, and the identification number assigned to the packet is 0x02. Then, it is assumed that the priority order is registered as being the second priority order. At this time, for example, when processing a total of four types of synchronization packets of applications A-1, A-2, B-1, and B-2, the synchronization packet of application A-1 (first priority) and application B- 1 (the first priority) synchronization packet is alternately transferred. For example, when the transfer of the synchronization data of the application A-1 is completed among the applications A-1 and B-1 being transferred, the remaining synchronization packet of the application A-2 (second priority) and the transfer The synchronous packet of application B-1 in the middle is transferred alternately. Further, when the transfer of the synchronization data of the application B-1 is completed, the synchronization packet of the remaining application A-2 and the synchronization packet of the application B-2 (second priority order) being transferred are alternately transferred.

ネットワーク装置1Aによれば、優先度決定手段113を備え、サービス(又はアプリケーション群103)において各アプリケーション104から送られる同期パケットの優先度を決定してから送信手段102の送信キューに格納するので、低遅延が求められる優先度の高いアプリケーションのデータの同期パケットを、他のアプリケーションよりも優先して同期させることができる。また、同期が必要なアプリケーションについての同期パケットを送信する機会を、特定のサービス(又はアプリケーション群103)に偏らずに、サービス(又はアプリケーション群103)に対して公平に割り当てることができる。   According to the network apparatus 1A, since the priority determination unit 113 is provided and the priority of the synchronization packet transmitted from each application 104 in the service (or application group 103) is determined, the priority is stored in the transmission queue of the transmission unit 102. It is possible to synchronize a data synchronization packet of a high priority application requiring low delay with priority over other applications. In addition, an opportunity to transmit a synchronization packet for an application that needs to be synchronized can be fairly assigned to a service (or application group 103) without being biased toward a specific service (or application group 103).

(第2実施形態)
第2実施形態に係るネットワーク装置について図5を参照して説明する。図5に示すネットワーク装置1Bにおいて、図1に示す構成要素と同じ構成要素については同じ符号を付して説明を適宜省略する。
(Second Embodiment)
A network device according to the second embodiment will be described with reference to FIG. In the network device 1B shown in FIG. 5, the same components as those shown in FIG.

ネットワーク装置1Bには、現用系モジュール100B及び予備系モジュール200Bが搭載されている。現用系モジュール100Bは、同期制御手段101Bを備えている。同期制御手段101Bは、番号照合手段130Bが図1に示す番号照合手段130の機能に加えて、現用系モジュール100Bと予備系モジュール200Bとの間の通信セッションの切断後に通信セッションが再確立したときに予備系モジュール200Bに到達済シーケンス番号を照会する機能を有している。   The network device 1B includes an active module 100B and a standby module 200B. The active module 100B includes synchronization control means 101B. The synchronization control unit 101B, when the number verification unit 130B reestablishes the communication session after disconnecting the communication session between the active module 100B and the standby system module 200B in addition to the function of the number verification unit 130 shown in FIG. The standby system module 200B has a function of inquiring the reached sequence number.

通信セッションの再確立時に、番号照合手段130Bは、照会によって通知されたシーケンス番号と送信済シーケンス番号との間に差分がある場合、当該アプリケーションの識別番号に該当するアプリケーション104に対して、送信が必要な全ての同期データを要求する。図5では、番号照合手段130Bが一例としてアプリケーションA−2に対して同期データを要求する場合を破線で模式的に示した。   When the communication session is re-established, if there is a difference between the sequence number notified by the inquiry and the transmitted sequence number, the number verification unit 130B transmits to the application 104 corresponding to the identification number of the application. Request all necessary synchronization data. In FIG. 5, the case where the number matching unit 130B requests the synchronization data from the application A-2 is schematically shown by a broken line as an example.

通信セッションの再確立時に、同期制御手段101Bのパケット転送制御手段110は、番号照合手段130Bから全ての同期データを要求された当該アプリケーション104から受信する全てのデータの各同期パケットにアプリケーションの識別番号及びシーケンス番号を再度付与して同期パケットを再送させる制御を行う。   When the communication session is re-established, the packet transfer control unit 110 of the synchronization control unit 101B receives an application identification number for each synchronization packet of all the data received from the application 104 for which all the synchronization data is requested from the number verification unit 130B. In addition, a control for re-sending the synchronization packet by assigning the sequence number again is performed.

予備系モジュール200Bは、同期制御手段201Bを備えている。同期制御手段201Bは、到達番号通知手段230Bが図1に示す到達番号通知手段230の機能に加えて、通信セッションが再確立したときに現用系モジュール100Bからの照会を受け付けて到達済シーケンス番号を通知する機能を有している。   The standby system module 200B includes synchronization control means 201B. In addition to the function of the arrival number notification unit 230 shown in FIG. 1, the synchronization control unit 201B accepts an inquiry from the active module 100B when the communication session is reestablished, and sets the reached sequence number. It has a function to notify.

ネットワーク装置1Bにおいて現用系モジュール100Bと予備系モジュール200Bとの間の通信セッションの切断時の処理の流れについて図6を参照(適宜図5参照)して説明する。まず、現用系モジュール100Bと予備系モジュール200Bとの間に同期経路のTCPセッション等の通信セッションを確立する(ステップS121:通信セッション確立)。そして、通信セッションがKeepAliveのタイムアウトや状態異常を検知したことで切断されたとする(ステップS122:通信セッション断)。この場合、現用系モジュール100Bと予備系モジュール200Bとの間に同期経路の通信セッションを再確立する(ステップS123:通信セッション再確立)。   With reference to FIG. 6 (refer to FIG. 5 as appropriate), the flow of processing when the communication session between the active module 100B and the standby module 200B is disconnected in the network apparatus 1B will be described. First, a communication session such as a TCP session on a synchronous path is established between the active module 100B and the standby module 200B (step S121: communication session establishment). Then, it is assumed that the communication session is disconnected due to detection of a KeepAlive timeout or a state abnormality (step S122: communication session disconnection). In this case, the communication session on the synchronization path is reestablished between the active module 100B and the standby module 200B (step S123: communication session reestablishment).

上記の前提の下で、現用系モジュール100B及び予備系モジュール200Bは、以下のやり取りを行う。すなわち、まず、現用系モジュール100Bにおいて、番号照合手段130Bは、予備系モジュール200Bに対して、各アプリケーションの到達済シーケンス番号を照会する(ステップS124)。これにより、予備系モジュール200Bにおいて、到達番号通知手段230Bは、現用系モジュール100Bに対して到達済シーケンス番号を通知する(ステップS125)。   Under the above assumption, the active module 100B and the standby module 200B perform the following exchanges. That is, first, in the active system module 100B, the number verification unit 130B inquires the standby sequence number of each application to the standby system module 200B (step S124). Thereby, in the standby system module 200B, the arrival number notification means 230B notifies the arrival sequence number to the active system module 100B (step S125).

そして、現用系モジュール100Bにおいて、番号照合手段130Bは、送信済のシーケンス番号と到達済シーケンス番号との差分があるアプリケーションの識別番号を抽出する(ステップS126)。番号照合手段130Bは、ステップS126で差分があった当該アプリケーション104に対して、同期データのすべての同期パケット(全ての同期データ)の送信を要求する(ステップS127)。これにより、同期制御手段101Bのパケット転送制御手段110は、当該アプリケーション104から受信する同期パケットに対して、アプリケーションの識別番号及びシーケンス番号を付与して再送を指示し、送信手段102は、予備系モジュール200Bに対して同期パケットを再送信する(ステップS128)。   In the active module 100B, the number matching unit 130B extracts the identification number of the application having a difference between the transmitted sequence number and the reached sequence number (step S126). The number verification unit 130B requests the application 104 having a difference in step S126 to transmit all the synchronization packets (all the synchronization data) of the synchronization data (step S127). As a result, the packet transfer control unit 110 of the synchronization control unit 101B gives the retransmission by giving the application identification number and sequence number to the synchronization packet received from the application 104, and the transmission unit 102 The synchronization packet is retransmitted to the module 200B (step S128).

ネットワーク装置1Bによれば、2モジュール間の同期経路の通信セッションが切断した場合、通信セッションが再確立したときに、現用系モジュール100Bと予備系モジュール200Bとの間で生じた同期データの差分に該当するアプリケーション104についてのすべての同期データを現用系モジュール100Bから再送する。したがって、通信セッション断に伴うパケットロスを救済すると共に、全アプリケーションではなく特定の同期データに差分があるアプリケーションのみ同期データを送信するように同期する範囲を指定することで、同期データの復旧にかかる時間を従来よりも短縮することができる。   According to the network device 1B, when the communication session on the synchronization path between the two modules is disconnected, the difference in synchronization data generated between the active module 100B and the standby module 200B when the communication session is reestablished. All synchronization data for the corresponding application 104 is retransmitted from the active module 100B. Therefore, in addition to relieving packet loss due to communication session disconnection, it is necessary to restore synchronization data by specifying a range to synchronize so that only applications with differences in specific synchronization data, not all applications, are synchronized. Time can be shortened compared with the past.

(第3実施形態)
第3実施形態に係るネットワーク装置について図7を参照して説明する。図7に示すネットワーク装置1Cにおいて、図1に示す構成要素と同じ構成要素については同じ符号を付して説明を適宜省略する。
(Third embodiment)
A network device according to the third embodiment will be described with reference to FIG. In the network device 1C shown in FIG. 7, the same components as those shown in FIG.

ネットワーク装置1Cには、現用系モジュール100C及び予備系モジュール200Cが搭載されている。現用系モジュール100Cは、同期制御手段101Cを備えている。同期制御手段101Cは、パケット転送制御手段110Cと、送信済シーケンス番号登録手段120と、番号照合手段130Cと、キャッシュ手段150とを備えている。   The network device 1C includes an active module 100C and a standby module 200C. The active module 100C includes synchronization control means 101C. The synchronization control unit 101C includes a packet transfer control unit 110C, a transmitted sequence number registration unit 120, a number verification unit 130C, and a cache unit 150.

キャッシュ手段150は、同期パケットについてのアプリケーションの識別番号及びシーケンス番号を含む当該同期パケットのパケットデータを一時的に記憶するものである。
本実施形態では、現用系モジュール100Cが同期データを送信する際、シーケンス番号を付与した送信済のパケットを、アプリケーションの識別番号別にキャッシュすることとした。例えばアプリケーションA−1,A−2,B−1,B−2の合計4種類の同期パケットを処理する場合、キャッシュ手段150は、A−1用キャッシュ手段151と、A−2用キャッシュ手段152と、B−1用キャッシュ手段153と、B−2用キャッシュ手段154とを備える。
The cache means 150 temporarily stores packet data of the synchronization packet including the application identification number and sequence number of the synchronization packet.
In the present embodiment, when the active module 100C transmits synchronization data, the transmitted packet to which the sequence number is assigned is cached for each application identification number. For example, when processing a total of four types of synchronization packets of applications A-1, A-2, B-1, and B-2, the cache unit 150 includes an A-1 cache unit 151 and an A-2 cache unit 152. And a B-1 cache unit 153 and a B-2 cache unit 154.

番号照合手段130Cは、図1に示す番号照合手段130の機能に加えて、現用系モジュール100Cと予備系モジュール200Cとの間の通信セッションの切断後に通信セッションが再確立したときに予備系モジュール200Cに到達済シーケンス番号を照会する機能を有している。この番号照合手段130Cは、照会によって通知されたシーケンス番号と送信済シーケンス番号との間に差分がある場合、現用系モジュール100Cで送信済として登録されており且つ予備系モジュール200Cで到達済として登録されていないシーケンス番号を抽出する。抽出されたシーケンス番号は、アプリケーションの識別番号と共にパケット転送制御手段110Cに出力される。   In addition to the function of the number verification unit 130 shown in FIG. 1, the number verification unit 130C is configured so that the standby system module 200C when the communication session is reestablished after the communication session between the active system module 100C and the standby system module 200C is disconnected. Has a function to query the reached sequence number. If there is a difference between the sequence number notified by the inquiry and the transmitted sequence number, this number verification means 130C is registered as transmitted in the active module 100C and registered as reached in the standby module 200C. Extract sequence numbers that have not been processed. The extracted sequence number is output to the packet transfer control means 110C together with the application identification number.

パケット転送制御手段110Cは、通常処理では、各アプリケーション104から送られた同期パケットにアプリケーションの識別番号とシーケンス番号とを付与した後、同期パケットを転送させる際に、そのパケットデータをキャッシュ手段150にキャッシュする。また、パケット転送制御手段110Cは、切断後に通信セッションが再確立したときに、番号照合手段130Cで抽出されたシーケンス番号と該当するアプリケーションの識別番号とに基づいて、キャッシュ手段150から該当するパケットデータを選択し、当該選択したパケットデータを有した同期パケットを再送させる制御を行う。   In normal processing, the packet transfer control unit 110C assigns the application identification number and sequence number to the synchronization packet sent from each application 104 and then transfers the packet data to the cache unit 150 when transferring the synchronization packet. Cache. Further, the packet transfer control unit 110C receives the corresponding packet data from the cache unit 150 based on the sequence number extracted by the number verification unit 130C and the identification number of the corresponding application when the communication session is reestablished after disconnection. And control to retransmit the synchronization packet having the selected packet data.

予備系モジュール200Cは、同期制御手段201Cを備えている。同期制御手段201Cは、到達番号通知手段230Cが図1に示す到達番号通知手段230の機能に加えて、通信セッションが再確立したときに現用系モジュール100Cからの照会を受け付けて到達済シーケンス番号を通知する機能を有している。   The standby system module 200C includes synchronization control means 201C. The synchronization control unit 201C receives the inquiry from the active module 100C when the communication session is reestablished in addition to the function of the arrival number notification unit 230C shown in FIG. It has a function to notify.

ネットワーク装置1Cにおいて現用系モジュール100Cと予備系モジュール200Cとの間の通信セッションの切断時の処理の流れについて図8を参照(適宜図7参照)して説明する。なお、図8に示す処理において、図6に示す処理と同じ手順については同じ符号を付して説明を適宜省略する。ステップS121,S122,S123は、図6に示す処理と同様の前提である。ただし、ステップS122(通信セッション断)の前に、現用系モジュール100Cにおいて、パケット転送制御手段110Cは、通常の処理として、アプリケーション毎にシーケンス番号を付与した送信済の同期パケットをキャッシュ手段150にキャッシュしておく(ステップS131)。   The flow of processing when the communication session between the active module 100C and the standby module 200C is disconnected in the network device 1C will be described with reference to FIG. 8 (refer to FIG. 7 as appropriate). In the process shown in FIG. 8, the same steps as those in the process shown in FIG. Steps S121, S122, and S123 are based on the same premise as the process shown in FIG. However, before step S122 (communication session disconnection), in the active module 100C, the packet transfer control unit 110C caches the transmitted synchronization packet to which the sequence number is assigned for each application in the cache unit 150 as a normal process. (Step S131).

上記の前提の下で、現用系モジュール100C及び予備系モジュール200Cは、以下のやり取りを行う。すなわち、まず、現用系モジュール100Cにおいて、番号照合手段130Cは、予備系モジュール200Cに対して、各アプリケーションの到達済シーケンス番号を照会する(ステップS124)。これにより、予備系モジュール200Cにおいて、到達番号通知手段230Cは、現用系モジュール100Cに対して到達済シーケンス番号を通知する(ステップS125)。   Under the above assumption, the active module 100C and the standby module 200C perform the following exchanges. That is, first, in the active module 100C, the number verification unit 130C inquires the reached sequence number of each application from the standby module 200C (step S124). Thereby, in the standby system module 200C, the arrival number notification means 230C notifies the arrival sequence number to the active system module 100C (step S125).

そして、現用系モジュール100Cにおいて、番号照合手段130Cは、送信済のシーケンス番号と到達済シーケンス番号との差分があるアプリケーションの識別番号を抽出する(ステップS126)。そして、パケット転送制御手段110Cは、ステップS126で差分があった当該アプリケーションの識別番号において、送信済シーケンス番号のあるパケットのうち、到達済シーケンス番号には無い同期パケットをキャッシュ手段150から選択する(ステップS132)。ここで、送信済シーケンス番号のパケットのうち、到達済シーケンス番号に記載がないパケットは、予備系モジュール200Cに到達していないパケットである。そして、パケット転送制御手段110Cは、選択した同期パケットを送信キューに格納し、送信手段102は、この選択した同期パケットを再送信する(ステップS133)。   In the active module 100C, the number matching unit 130C extracts the identification number of the application having a difference between the transmitted sequence number and the reached sequence number (step S126). Then, the packet transfer control unit 110C selects, from the cache unit 150, a synchronization packet that is not in the reached sequence number among the packets having the transmitted sequence number in the identification number of the application that has a difference in step S126 ( Step S132). Here, among the packets with the transmitted sequence number, the packets not described in the reached sequence number are packets that have not reached the standby system module 200C. Then, the packet transfer control unit 110C stores the selected synchronization packet in the transmission queue, and the transmission unit 102 retransmits the selected synchronization packet (step S133).

ネットワーク装置1Cによれば、2モジュール間の同期経路の通信セッションが切断した場合、通信セッションが再確立したときに、現用系モジュール100Cと予備系モジュール200Cとの間で生じた同期データの差分に該当する差分データとして、アプリケーション単位で全ての同期データを送信するのでなく、同期データのパケット単位の差分のみを送信するように同期する範囲を指定する。したがって、アプリケーション単位で全ての同期データを送信する場合よりも、同期データの復旧にかかる時間を短縮することができる。   According to the network device 1C, when the communication session on the synchronization path between the two modules is disconnected, the difference in the synchronization data generated between the active module 100C and the standby module 200C when the communication session is reestablished. As the corresponding difference data, the range to be synchronized is designated so that only the difference of the synchronization data in the packet unit is transmitted instead of transmitting all the synchronization data in the application unit. Therefore, it is possible to reduce the time required for recovery of the synchronization data, compared to the case where all the synchronization data is transmitted in units of applications.

(第4実施形態)
第4実施形態に係るネットワーク装置について図9を参照して説明する。図9に示すネットワーク装置1Dにおいて、図1に示す構成要素と同じ構成要素については同じ符号を付して説明を適宜省略する。
(Fourth embodiment)
A network device according to the fourth embodiment will be described with reference to FIG. In the network device 1D shown in FIG. 9, the same components as those shown in FIG.

ネットワーク装置1Dには、現用系モジュール100D及び予備系モジュール200が搭載されている。ネットワーク装置1Dは、現用の通信ケーブル300と、予備の通信ケーブル310と、を備えている。   The network device 1D includes an active module 100D and a standby module 200. The network device 1D includes an active communication cable 300 and a spare communication cable 310.

現用系モジュール100Dは、同期制御手段101Dを備えている。この同期制御手段101Dは、現用系モジュール100Dと予備系モジュール200との間に、現用の通信ケーブル300を用いる同期経路とは別に、予備の通信ケーブル310を用いる予備同期経路を予め確立する。   The active module 100D includes synchronization control means 101D. The synchronization control unit 101D establishes in advance a standby synchronization path using the backup communication cable 310, separately from the synchronization path using the current communication cable 300, between the active module 100D and the backup module 200.

また、同期制御手段101Dは、パケット転送制御手段110Dと、送信済シーケンス番号登録手段120と、番号照合手段130Dと、を備えている。
パケット転送制御手段110Dは、通常は同期経路にて同期パケットに付与されたシーケンス番号を含むセッション情報を用いた通信セッションを行うことで同期パケットを転送させる制御を行う。このパケット転送制御手段110Dは、通常の同期経路の切断を検出した場合、同期経路にて用いていたセッション情報を引き継ぎ、予備同期経路にて当該セッション情報を用いた通信セッションを行うことで同期パケットを転送させる制御を行う。
The synchronization control unit 101D includes a packet transfer control unit 110D, a transmitted sequence number registration unit 120, and a number verification unit 130D.
The packet transfer control unit 110D normally performs control to transfer the synchronization packet by performing a communication session using session information including the sequence number assigned to the synchronization packet through the synchronization path. When the packet transfer control unit 110D detects the disconnection of the normal synchronization path, the packet transfer control unit 110D takes over the session information used in the synchronization path and performs a communication session using the session information in the backup synchronization path, thereby synchronizing packets. Control to transfer the.

番号照合手段130Dは、図1に示す番号照合手段130の機能に加えて、例えば、KeepAliveのタイムアウトや状態異常等により通信セッションの切断を検知する機能を有し、通信セッションの切断を検知した場合、パケット転送制御手段110Dに通知する。なお、番号照合手段130Dは、例えば予め定められた時間が経過しても予備系モジュール200からシーケンス番号を受信しない場合、通信セッションの切断を検知することとしてもよい。   In addition to the function of the number verification unit 130 shown in FIG. 1, the number verification unit 130D has a function of detecting the disconnection of the communication session due to, for example, a keep-alive timeout or a state abnormality, and detects the disconnection of the communication session. The packet transfer control means 110D is notified. Note that the number verification unit 130D may detect disconnection of the communication session when, for example, the sequence number is not received from the standby module 200 after a predetermined time has elapsed.

ネットワーク装置1Dにおいて現用系モジュール100Dと予備系モジュール200との間の通信セッションの切断時の処理の流れについて図10を参照(適宜図9参照)して説明する。まず、現用系モジュール100Dと予備系モジュール200との間の通信ケーブル300を用いる通常の同期経路で通信セッションを確立する(ステップS141:通信セッション確立)。また、予め現用系モジュール100Dと予備系モジュール200との間の通信ケーブル310を用いる予備の同期経路で通信セッションを確立する(ステップS142:通信セッション確立)。   With reference to FIG. 10 (refer to FIG. 9 as appropriate), the flow of processing when the communication session between the active module 100D and the standby module 200 is disconnected in the network apparatus 1D will be described. First, a communication session is established through a normal synchronization path using the communication cable 300 between the active module 100D and the standby module 200 (step S141: communication session establishment). In addition, a communication session is established in advance on a standby synchronization path using the communication cable 310 between the active module 100D and the standby module 200 (step S142: communication session establishment).

そして、通信セッションがKeepAliveのタイムアウトや状態異常を検知したことで切断されたとする(ステップS143:通信セッション断)。この場合、番号照合手段130Dが、通常の同期経路のセッションの切断を検知する(ステップS144)。これにより、パケット転送制御手段110Dは、アプリケーションの識別番号及びTCPのシーケンス番号を引き継いで、予備の同期経路を用いて同期パケットの送信を再開する(ステップS145)。   Then, it is assumed that the communication session is disconnected due to the detection of a KeepAlive timeout or a state abnormality (step S143: communication session disconnection). In this case, the number matching unit 130D detects the disconnection of the normal synchronization path session (step S144). As a result, the packet transfer control unit 110D takes over the application identification number and the TCP sequence number, and resumes the transmission of the synchronization packet using the backup synchronization path (step S145).

ネットワーク装置1Dによれば、現用系モジュール100Dと予備系モジュール200との間の通信セッションを多重化したので、通常の同期経路の通信セッション断に伴うパケットロスを予備の同期経路を用いて救済することができる。つまり、通常の同期経路に通信断が発生した際、通信セッションの再確立を待って同期データを再送するのではなく、各パケットのシーケンス番号等のセッション情報を現用の同期経路から引き継いで予備の同期経路を用いて同期データの通信を継続することで復旧時間を短縮することができる。   According to the network device 1D, since the communication session between the active module 100D and the standby module 200 is multiplexed, the packet loss due to the disconnection of the communication session of the normal synchronization path is relieved using the backup synchronization path. be able to. In other words, when communication disconnection occurs in the normal synchronization path, the synchronization data is not retransmitted after waiting for re-establishment of the communication session, but the session information such as the sequence number of each packet is taken over from the current synchronization path and used as a backup. Recovery time can be shortened by continuing communication of synchronous data using a synchronous path.

以上、本発明の各実施形態について説明したが、本発明はこれらに限定されるものではなく、その趣旨を変えない範囲で実施することができる。例えば、各実施形態では、被同期モジュールが、同期元のネットワーク装置1内に搭載された予備系モジュール200であることとして説明したが、本発明は、これに限らず、被同期モジュールが、他のネットワーク装置に搭載された現用系モジュール100であってもよい。この場合、同期データを受信する側の現用系モジュール100は、同期制御手段101と、送信手段102とに加えて、同期データを受信するための同期制御手段201(図1参照)の機能をさらに備えている。   As mentioned above, although each embodiment of this invention was described, this invention is not limited to these, It can implement in the range which does not change the meaning. For example, in each embodiment, it has been described that the synchronized module is the standby module 200 mounted in the network device 1 that is the synchronization source. However, the present invention is not limited to this, and the synchronized module includes other modules. The active module 100 mounted on the network device may be used. In this case, in addition to the synchronization control unit 101 and the transmission unit 102, the active module 100 on the side that receives the synchronization data further includes the function of the synchronization control unit 201 (see FIG. 1) for receiving the synchronization data. I have.

すなわち、前記各実施形態では、現用系モジュール100が予備系モジュール200に同期データを送信するための構成として、同期制御手段101と、送信手段102とを備え、一方、予備系モジュール200は、現用系モジュール100から同期データを受信するための構成として、同期制御手段201を備えることとして説明したが、本発明はこれに限らず、1つのモジュールの中に、同期制御手段101と、送信手段102と、同期制御手段201(例えばシーケンス番号取得手段210、到達済シーケンス番号登録手段220及び到達番号通知手段230)とを備えるようにしてもよい。このように構成したモジュールは、現用系及び予備系に共通に使用することができる。   That is, in each of the above embodiments, the active module 100 includes the synchronization control unit 101 and the transmission unit 102 as the configuration for transmitting the synchronization data to the standby system module 200, while the standby system module 200 is the active system module 200. The configuration for receiving the synchronization data from the system module 100 has been described as including the synchronization control unit 201. However, the present invention is not limited to this, and the synchronization control unit 101 and the transmission unit 102 are included in one module. And synchronization control means 201 (for example, sequence number acquisition means 210, reached sequence number registration means 220, and arrival number notification means 230) may be provided. The module configured in this way can be used in common for the active system and the standby system.

上記のように1つのモジュールの中に、同期制御手段101と、送信手段102と、同期制御手段201とを備えたモジュールを、現用系モジュール及び予備系モジュールにそれぞれ割り当てたネットワーク装置を含む冗長構成のネットワークシステムを図11に示す。図11に示す冗長構成のネットワークシステムは、現用系のネットワーク装置1aと、予備系のネットワーク装置1sとを備えている。ここで、現用系のネットワーク装置1aは、現用系モジュール100aが保持している情報を装置内の通信ケーブル300aを介して予備系モジュール(被同期モジュール)200aに対して同期させるものであり、図1に示すネットワーク装置1に相当する。同様に、予備系のネットワーク装置1sは、現用系モジュール100sが保持している情報を装置内の通信ケーブル300sを介して予備系モジュール(被同期モジュール)200sに対して同期させるものであり、図1に示すネットワーク装置1に相当する。現用系のネットワーク装置1aは、現用系モジュール100aが保持している情報を装置外の通信ケーブル300eを介して、予備系のネットワーク装置1sの現用系モジュール(被同期モジュール)100sに送信することができる。この場合、現用系モジュール100sは、現用系モジュール100aに対しては予備系モジュール200aと同様の振る舞いをすることができる。したがって、前記各実施形態と同様にして、現用系のネットワーク装置1aに搭載された現用系モジュール100aが保持する情報を、予備系のネットワーク装置1sに搭載された現用系モジュール100sに同期することができる。   As described above, a redundant configuration including a network device in which a module including the synchronization control unit 101, the transmission unit 102, and the synchronization control unit 201 is allocated to the active system module and the standby system module in one module. This network system is shown in FIG. The redundant network system shown in FIG. 11 includes an active network device 1a and a standby network device 1s. Here, the active network device 1a synchronizes the information held by the active module 100a with the standby module (synchronized module) 200a via the communication cable 300a in the device. 1 corresponds to the network device 1 shown in FIG. Similarly, the standby network device 1s synchronizes the information held by the active module 100s with the standby module (synchronized module) 200s via the communication cable 300s in the device. 1 corresponds to the network device 1 shown in FIG. The active network device 1a can transmit the information held by the active module 100a to the active module (synchronized module) 100s of the standby network device 1s via the communication cable 300e outside the device. it can. In this case, the active module 100s can behave in the same manner as the standby module 200a with respect to the active module 100a. Accordingly, in the same manner as in the above embodiments, the information held by the active module 100a mounted on the active network device 1a can be synchronized with the active module 100s mounted on the standby network device 1s. it can.

1,1A,1B,1C,1D,1a,1s ネットワーク装置
100,100A,100B,100C,100D,100a 現用系モジュール
100s 現用系モジュール(被同期モジュール)
101,101A,101B,101C,101D 同期制御手段
102 送信手段
103 アプリケーション群
104 アプリケーション
110,110A,110C,110D パケット転送制御手段
111,111A 識別番号付与手段
112 シーケンス番号付与手段
120 送信済シーケンス番号登録手段
130,130B,130C,130D 番号照合手段
113 優先度決定手段
113a,113b 優先度テーブル
150 キャッシュ手段
200,200B,200C,200a,200s 予備系モジュール(被同期モジュール)
201,201B,201C 同期制御手段
203 アプリケーション群
204 アプリケーション
210 シーケンス番号取得手段
220 到達済シーケンス番号登録手段
230,230B,230C 到達番号通知手段
300,300a,300e,300s 通信ケーブル
1, 1A, 1B, 1C, 1D, 1a, 1s Network device 100, 100A, 100B, 100C, 100D, 100a Active system module 100s Active system module (synchronized module)
101, 101A, 101B, 101C, 101D Synchronization control means 102 Transmission means 103 Application group 104 Application 110, 110A, 110C, 110D Packet transfer control means 111, 111A Identification number assignment means 112 Sequence number assignment means 120 Transmitted sequence number registration means 130, 130B, 130C, 130D Number collating means 113 Priority determining means 113a, 113b Priority table 150 Cache means 200, 200B, 200C, 200a, 200s Standby system module (synchronized module)
201, 201B, 201C Synchronization control means 203 Application group 204 Application 210 Sequence number acquisition means 220 Reached sequence number registration means 230, 230B, 230C Arrival number notification means 300, 300a, 300e, 300s Communication cable

前記した課題を解決するため、本発明に係るネットワーク装置は、IPネットワークにおいて複数のアプリケーションが動作する現用系モジュール及び予備系モジュールが搭載されたネットワーク装置であり、現用系モジュールが保持している情報を搭載された予備系モジュール及び他のネットワーク装置に搭載された現用系モジュールをそれぞれ表す被同期モジュールに対して同期させるネットワーク装置であって、同期元の現用系モジュールが、当該モジュール内で同期させる必要のある複数のアプリケーションのデータを集約すると共に各アプリケーションからデータの同期のために送信された同期パケットを受信して当該同期パケットに同期のための情報を付与して同期パケットを被同期モジュールに転送させる制御を行う同期制御手段と、同期のための情報が付与された同期パケットを通信ケーブルを介して被同期モジュールへ転送する送信手段と、を備え、同期制御手段が、アプリケーション毎の予め定められた順番で同期パケットを処理するためのアプリケーション固有の識別番号を同期パケットに付与する識別番号付与手段と、同期パケットに付与されたアプリケーションの識別番号ごとに、当該同期パケットに対してシーケンス番号を付与するシーケンス番号付与手段と、アプリケーションの識別番号と当該アプリケーションの優先度とが対応付けられて予め登録された優先度テーブルに基づいて、同期パケットに付与されたアプリケーションの識別番号を基に当該同期パケットの優先度を決定する優先度決定手段と、送信手段に格納された同期パケットのシーケンス番号を送信済シーケンス番号としてアプリケーションの識別番号ごとに登録する送信済シーケンス番号登録手段と、被同期モジュールから、到達した同期パケットのシーケンス番号が通知されたときに、通知されたシーケンス番号と送信済シーケンス番号とをアプリケーションの識別番号ごとに照合して当該同期パケットの到達を確認する番号照合手段と、を有し、被同期モジュールが、同期元の現用系モジュールから受信した同期パケットに付与されているシーケンス番号をアプリケーションの識別番号ごとに取得するシーケンス番号取得手段と、受信した同期パケットから取得されたシーケンス番号を到達済シーケンス番号としてアプリケーションの識別番号ごとに登録する到達済シーケンス番号登録手段と、アプリケーションの識別番号ごとに到達済シーケンス番号を現用系モジュールに通知する到達番号通知手段と、を有識別番号付与手段が、集約された複数のアプリケーションからなるアプリケーション群を単位として、アプリケーション群に属するアプリケーションの同期パケット内に当該アプリケーションの識別番号を付与し、同期制御手段が、同期パケットを送信する機会をアプリケーション群単位で均等に割り当て、アプリケーション群に属するアプリケーションの同期パケットを送信する際に優先度の高いパケットを優先的に転送させる制御を行う、ことを特徴とする。 In order to solve the above-described problems, a network device according to the present invention is a network device in which a working module and a standby module on which a plurality of applications operate in an IP network is mounted, and information held by the working module Is a network device that synchronizes with a synchronized module that represents a working module installed in a standby system module and another network apparatus, and the working module that is the synchronization source synchronizes within the module Aggregates the data of a plurality of necessary applications, receives a synchronization packet transmitted from each application for data synchronization, adds information for synchronization to the synchronization packet, and sends the synchronization packet to the synchronized module Synchronous control that controls the transfer And a transmission means for transferring the synchronization packet with information for synchronization to the synchronized module via a communication cable, and the synchronization control means sends the synchronization packets in a predetermined order for each application. An identification number giving means for giving an application-specific identification number for processing to the synchronization packet; and a sequence number giving means for giving a sequence number to the synchronization packet for each application identification number given to the synchronization packet; The priority of the synchronization packet is determined based on the application identification number assigned to the synchronization packet based on a priority table registered in advance in association with the application identification number and the priority of the application. a priority determining unit, Sea synchronization packet stored in the transmission means The registered sequence number is registered for each application identification number as the transmitted sequence number, and when the sequence number of the synchronization packet arrived is notified from the synchronized module, the notified sequence number and the transmission are transmitted. Number verification means for verifying the arrival of the synchronization packet by comparing the completed sequence number for each application identification number, and the synchronized module is attached to the synchronization packet received from the active module of the synchronization source. Sequence number acquisition means for acquiring a sequence number for each application identification number; and a sequence number registration means for registering a sequence number acquired from a received synchronization packet as an arrival sequence number for each application identification number; Application knowledge Possess a reach number notification means for notifying arrival SEQUENCE numbers working system module, the every other number, identification number assigning means, as a unit an application group including a plurality of applications are aggregated, the application belonging to the application group The synchronization control means assigns the opportunity to transmit the synchronization packet evenly for each application group, and the priority of the synchronization packet is transmitted when the synchronization packet of the application belonging to the application group is transmitted. Control is performed to transfer high packets with priority .

また、前記した課題を解決するため、本発明に係る同期制御方法は、IPネットワークにおいて複数のアプリケーションが動作する現用系モジュール及び予備系モジュールが搭載されたネットワーク装置であり、現用系モジュールが保持している情報を搭載された予備系モジュール及び他のネットワーク装置に搭載された現用系モジュールをそれぞれ表す被同期モジュールに対して同期させるネットワーク装置における同期制御方法であって、同期元の現用系モジュールにおいて、アプリケーションがデータの同期のために送信した同期パケットを、アプリケーション毎の予め定められた順番で処理するためのアプリケーション固有の識別番号を同期パケットに付与する識別番号付与ステップと、同期パケットに付与されたアプリケーションの識別番号ごとに、当該同期パケットに対してシーケンス番号を付与するシーケンス番号付与ステップと、同期パケットを送信手段に格納する格納ステップと、送信手段に格納された同期パケットのシーケンス番号を送信済シーケンス番号としてアプリケーションの識別番号ごとに登録する送信済シーケンス番号登録ステップと、送信手段に格納された同期パケットを通信ケーブルを介して被同期モジュールへ送信する送信ステップと、を有し、被同期モジュールにおいて、同期元の現用系モジュールから同期パケットを受信する受信ステップと、受信した同期パケットに付与されているアプリケーションの識別番号を基に当該同期パケットを該当のアプリケーションへ転送する転送ステップと、受信した同期パケットに付与されているシーケンス番号を到達済シーケンス番号としてアプリケーションの識別番号ごとに登録する到達済シーケンス番号登録ステップと、アプリケーションの識別番号ごとに到達済シーケンス番号を現用系モジュールに通知する到達番号通知ステップと、を有し、同期元の現用系モジュールにおいて、被同期モジュールから通知されたシーケンス番号と送信済シーケンス番号とをアプリケーションの識別番号ごとに照合して当該同期パケットの到達を確認する番号照合ステップを有識別番号付与ステップが、同期元の現用系モジュール内で集約された複数のアプリケーションからなるアプリケーション群を単位として、アプリケーション群に属するアプリケーションの同期パケット内に当該アプリケーションの識別番号を付与し、識別番号付与ステップの前に、アプリケーションの識別番号に対する優先順位を当該アプリケーションの優先度として優先度テーブルに予め登録する登録ステップを有し、同期元の現用系モジュールにおいて、シーケンス番号付与ステップの後であって格納ステップの前に、優先度テーブルに基づいて、同期パケットに付与されたアプリケーションの識別番号を基に当該同期パケットの優先度を決定し、当該優先度の高いパケットを優先的に転送させる優先度決定ステップを有し、格納ステップが、同期パケットを送信する機会をアプリケーション群単位で均等に割り当て、アプリケーション群に属するアプリケーションの同期パケットを送信する際に優先度の高いパケットを優先的に送信キューに格納する、ことを特徴とする。 In order to solve the above-described problem, the synchronization control method according to the present invention is a network device in which a working module and a standby module on which a plurality of applications operate in an IP network is mounted. Is a synchronization control method in a network device that synchronizes with a synchronized module that represents a standby system module and a working module installed in another network apparatus, and in the synchronization source working module An identification number assigning step for assigning an application-specific identification number to the synchronization packet for processing the synchronization packet transmitted by the application for data synchronization in a predetermined order for each application; Application For each identification number, a sequence number assigning step for assigning a sequence number to the synchronization packet, a storage step for storing the synchronization packet in the transmission means, and a sequence number of the synchronization packet stored in the transmission means as a transmitted sequence number As a registered sequence number registration step for each application identification number, and a transmission step for transmitting the synchronization packet stored in the transmission means to the synchronized module via the communication cable. A reception step of receiving a synchronization packet from the active module of the synchronization source, a transfer step of transferring the synchronization packet to the application based on the application identification number assigned to the received synchronization packet, and the received synchronization packet She has been granted A reached sequence number registration step for registering each service identification number as an reached sequence number for each application identification number, and an arrival number notification step for notifying the active module of the reached sequence number for each application identification number. in synchronization source of the primary system modules, it has a number collation step of checking for a match to arrival of the synchronization packet and a notification sequence number and the transmission sEQUENCE ID from the synchronization module for each identification number of the application, identification The number assigning step assigns an identification number of the application to the synchronization packet of the application belonging to the application group, with the application group consisting of a plurality of applications aggregated in the synchronization source active module as a unit. A registration step for pre-registering the priority order for the application identification number in the priority table as the priority level of the application, and storing it after the sequence number assignment step in the synchronization source active module. Prior to the step, based on the priority table, the priority of the synchronous packet is determined based on the identification number of the application assigned to the synchronous packet, and the priority is determined so that the packet with the higher priority is preferentially transferred. A step, and the storing step assigns the opportunity to transmit the synchronization packet equally for each application group, and when transmitting the synchronization packet of the application belonging to the application group, the packet having a high priority is preferentially stored in the transmission queue. to, characterized in that.

Claims (8)

IPネットワークにおいて複数のアプリケーションが動作する現用系モジュール及び予備系モジュールが搭載されたネットワーク装置であり、前記現用系モジュールが保持している情報を前記搭載された予備系モジュール及び他のネットワーク装置に搭載された現用系モジュールをそれぞれ表す被同期モジュールに対して同期させる前記ネットワーク装置であって、
同期元の前記現用系モジュールは、
当該モジュール内で同期させる必要のある複数のアプリケーションのデータを集約すると共に前記各アプリケーションからデータの同期のために送信された同期パケットを受信して当該同期パケットに同期のための情報を付与して前記同期パケットを前記被同期モジュールに転送させる制御を行う同期制御手段と、
前記同期のための情報が付与された同期パケットを通信ケーブルを介して前記被同期モジュールへ転送する送信手段と、を備え、
前記同期制御手段は、
アプリケーション毎の予め定められた順番で前記同期パケットを処理するためのアプリケーション固有の識別番号を前記同期パケットに付与する識別番号付与手段と、
前記同期パケットに付与された前記アプリケーションの識別番号ごとに、当該同期パケットに対してシーケンス番号を付与するシーケンス番号付与手段と、
前記送信手段に格納された同期パケットのシーケンス番号を送信済シーケンス番号として前記アプリケーションの識別番号ごとに登録する送信済シーケンス番号登録手段と、
前記被同期モジュールから、到達した同期パケットのシーケンス番号が通知されたときに、前記通知されたシーケンス番号と前記送信済シーケンス番号とを前記アプリケーションの識別番号ごとに照合して当該同期パケットの到達を確認する番号照合手段と、を有し、
前記被同期モジュールは、
前記同期元の現用系モジュールから受信した前記同期パケットに付与されているシーケンス番号を前記アプリケーションの識別番号ごとに取得するシーケンス番号取得手段と、
前記受信した同期パケットから取得されたシーケンス番号を到達済シーケンス番号として前記アプリケーションの識別番号ごとに登録する到達済シーケンス番号登録手段と、
前記アプリケーションの識別番号ごとに前記到達済シーケンス番号を前記現用系モジュールに通知する到達番号通知手段と、を有する、
ことを特徴とするネットワーク装置。
A network device in which an active module and a standby module for operating a plurality of applications in an IP network are mounted, and information held by the active module is mounted in the mounted standby module and other network devices The network device for synchronizing to the synchronized modules respectively representing the active modules that have been made,
The active module of the synchronization source is
Aggregating data of a plurality of applications that need to be synchronized within the module, receiving synchronization packets transmitted from each application for data synchronization, and adding synchronization information to the synchronization packets Synchronization control means for controlling the synchronization packet to be transferred to the synchronized module;
A transmission means for transferring the synchronization packet to which the information for synchronization is given to the synchronized module via a communication cable;
The synchronization control means includes
An identification number giving means for giving an application-specific identification number to the synchronization packet for processing the synchronization packet in a predetermined order for each application;
Sequence number giving means for giving a sequence number to the synchronization packet for each identification number of the application given to the synchronization packet;
A transmitted sequence number registration unit that registers the sequence number of the synchronization packet stored in the transmission unit as a transmitted sequence number for each identification number of the application;
When the sequence number of the arrived synchronization packet is notified from the synchronized module, the notified sequence number and the transmitted sequence number are collated for each identification number of the application, and the arrival of the synchronization packet is confirmed. A number verification means for checking,
The synchronized module is:
Sequence number acquisition means for acquiring, for each identification number of the application, a sequence number assigned to the synchronization packet received from the synchronization-source active module;
Reached sequence number registration means for registering the sequence number acquired from the received synchronization packet as the reached sequence number for each identification number of the application;
Reaching number notification means for notifying the working module of the reached sequence number for each identification number of the application,
A network device.
前記同期制御手段は、
前記アプリケーションの識別番号と当該アプリケーションの優先度とが対応付けられて予め登録された優先度テーブルに基づいて、前記同期パケットに付与された前記アプリケーションの識別番号を基に当該同期パケットの優先度を決定する優先度決定手段を備え、
前記識別番号付与手段は、前記集約された複数のアプリケーションからなるアプリケーション群を単位として、前記アプリケーション群に属する前記アプリケーションの同期パケット内に当該アプリケーションの識別番号を付与し、
前記同期制御手段は、前記同期パケットを送信する機会を前記アプリケーション群単位で均等に割り当て、前記アプリケーション群に属するアプリケーションの前記同期パケットを送信する際に前記優先度の高いパケットを優先的に転送させる制御を行うことを特徴とする請求項1に記載のネットワーク装置。
The synchronization control means includes
Based on the priority table registered in advance in association with the identification number of the application and the priority of the application, the priority of the synchronization packet is determined based on the identification number of the application given to the synchronization packet. A priority determining means for determining,
The identification number assigning unit assigns an identification number of the application in a synchronization packet of the application belonging to the application group in units of the application group including the aggregated applications,
The synchronization control means assigns the opportunity to transmit the synchronization packet evenly in units of the application group, and preferentially transfers the high priority packet when transmitting the synchronization packet of the application belonging to the application group. The network device according to claim 1, wherein control is performed.
前記番号照合手段は、前記同期元の現用系モジュールと前記被同期モジュールとの間の通信セッションの切断後に通信セッションが再確立したときに前記被同期モジュールに前記到達済シーケンス番号を照会し、前記照会によって通知されたシーケンス番号と前記送信済シーケンス番号との間に差分がある場合、当該アプリケーションの識別番号に該当するアプリケーションに対して、送信が必要な全てのデータを要求し、
前記同期制御手段は、当該アプリケーションから受信する全てのデータの各同期パケットに前記アプリケーションの識別番号及び前記シーケンス番号を再度付与して前記同期パケットを再送させる制御を行うことを特徴とする請求項1または請求項2に記載のネットワーク装置。
The number verification means inquires the synchronized module for the reached sequence number when a communication session is reestablished after the communication session between the active module of the synchronization source and the synchronized module is disconnected. When there is a difference between the sequence number notified by the inquiry and the transmitted sequence number, request all data that needs to be transmitted to the application corresponding to the identification number of the application,
The synchronization control means performs control for re-sending the synchronization packet by re-assigning the identification number and the sequence number of the application to each synchronization packet of all data received from the application. Alternatively, the network device according to claim 2.
前記同期制御手段は、前記同期パケットについての前記アプリケーションの識別番号及び前記シーケンス番号を含む当該同期パケットのパケットデータを一時的に記憶するキャッシュ手段をさらに備え、
前記番号照合手段は、前記同期元の現用系モジュールと前記被同期モジュールとの間の通信セッションの切断後に通信セッションが再確立したときに前記被同期モジュールに前記到達済シーケンス番号を照会し、前記照会によって通知された到達済シーケンス番号と前記送信済シーケンス番号との間に差分がある場合、前記同期元の現用系モジュールで送信済として登録されており且つ前記被同期モジュールで到達済として登録されていないシーケンス番号を抽出し、
前記同期制御手段は、該当するアプリケーションの識別番号と前記抽出したシーケンス番号とに基づいて、前記キャッシュ手段から該当するパケットデータを選択し、当該選択したパケットデータを有した同期パケットを再送させる制御を行うことを特徴とする請求項1または請求項2に記載のネットワーク装置。
The synchronization control means further comprises cache means for temporarily storing packet data of the synchronization packet including the identification number of the application and the sequence number of the synchronization packet,
The number verification means inquires the synchronized module for the reached sequence number when a communication session is reestablished after the communication session between the active module of the synchronization source and the synchronized module is disconnected. If there is a difference between the reached sequence number notified by the inquiry and the transmitted sequence number, it is registered as transmitted in the active module of the synchronization source and registered as reached in the synchronized module Extract sequence numbers that are not
The synchronization control means performs control for selecting corresponding packet data from the cache means based on the identification number of the corresponding application and the extracted sequence number, and retransmitting the synchronization packet having the selected packet data. The network device according to claim 1, wherein the network device is performed.
前記ネットワーク装置は、前記通信ケーブルとして現用の通信ケーブルと予備の通信ケーブルとを備え、
前記同期制御手段は、
前記同期元の現用系モジュールと前記被同期モジュールとの間に、前記現用の通信ケーブルを用いる同期経路とは別に、前記予備の通信ケーブルを用いる予備同期経路を予め確立し、
通常は前記同期経路にて前記同期パケットに付与された前記シーケンス番号を含むセッション情報を用いた通信セッションを行うことで前記同期パケットを転送させる制御を行い、
前記同期経路の切断を検出した場合、前記同期経路にて用いていた前記セッション情報を引き継ぎ、前記予備同期経路にて当該セッション情報を用いた通信セッションを行うことで前記同期パケットを転送させる制御を行う、
ことを特徴とする請求項1または請求項2に記載のネットワーク装置。
The network device includes a working communication cable and a spare communication cable as the communication cable,
The synchronization control means includes
In addition to the synchronization path using the working communication cable, a standby synchronization path using the spare communication cable is established in advance between the synchronization-source active module and the synchronized module.
Usually, the synchronization packet is transferred by performing a communication session using session information including the sequence number assigned to the synchronization packet in the synchronization path,
When the disconnection of the synchronization path is detected, control is performed to transfer the synchronization packet by taking over the session information used in the synchronization path and performing a communication session using the session information in the backup synchronization path. Do,
The network device according to claim 1, wherein the network device is a network device.
IPネットワークにおいて複数のアプリケーションが動作する現用系モジュール及び予備系モジュールが搭載されたネットワーク装置であり、前記現用系モジュールが保持している情報を前記搭載された予備系モジュール及び他のネットワーク装置に搭載された現用系モジュールをそれぞれ表す被同期モジュールに対して同期させる前記ネットワーク装置における同期制御方法であって、
同期元の前記現用系モジュールにおいて、
前記アプリケーションがデータの同期のために送信した同期パケットを、アプリケーション毎の予め定められた順番で処理するためのアプリケーション固有の識別番号を前記同期パケットに付与する識別番号付与ステップと、
前記同期パケットに付与された前記アプリケーションの識別番号ごとに、当該同期パケットに対してシーケンス番号を付与するシーケンス番号付与ステップと、
前記同期パケットを送信手段に格納する格納ステップと、
前記送信手段に格納された同期パケットのシーケンス番号を送信済シーケンス番号として前記アプリケーションの識別番号ごとに登録する送信済シーケンス番号登録ステップと、
前記送信手段に格納された同期パケットを通信ケーブルを介して前記被同期モジュールへ送信する送信ステップと、を有し、
前記被同期モジュールにおいて、
前記同期元の現用系モジュールから前記同期パケットを受信する受信ステップと、
前記受信した同期パケットに付与されている前記アプリケーションの識別番号を基に当該同期パケットを該当のアプリケーションへ転送する転送ステップと、
前記受信した同期パケットに付与されているシーケンス番号を到達済シーケンス番号として前記アプリケーションの識別番号ごとに登録する到達済シーケンス番号登録ステップと、
前記アプリケーションの識別番号ごとに前記到達済シーケンス番号を前記現用系モジュールに通知する到達番号通知ステップと、を有し、
前記同期元の現用系モジュールにおいて、
前記被同期モジュールから通知されたシーケンス番号と前記送信済シーケンス番号とを前記アプリケーションの識別番号ごとに照合して当該同期パケットの到達を確認する番号照合ステップを有する、
ことを特徴とする同期制御方法。
A network device on which an active module and a standby module on which a plurality of applications operate in an IP network are mounted, and information held by the active module is mounted on the mounted standby module and other network devices A synchronization control method in the network device that synchronizes the synchronized modules respectively representing the active modules that have been performed,
In the active module of the synchronization source,
An identification number giving step for giving the synchronization packet an application-specific identification number for processing the synchronization packet transmitted by the application for data synchronization in a predetermined order for each application;
For each application identification number given to the synchronization packet, a sequence number giving step for giving a sequence number to the synchronization packet;
A storage step of storing the synchronization packet in a transmission means;
A transmitted sequence number registration step of registering the sequence number of the synchronization packet stored in the transmission means as a transmitted sequence number for each identification number of the application;
Transmitting the synchronization packet stored in the transmission means to the synchronized module via a communication cable,
In the synchronized module,
Receiving the synchronization packet from the active module of the synchronization source; and
A transfer step of transferring the synchronization packet to a corresponding application based on the identification number of the application given to the received synchronization packet;
A reached sequence number registration step for registering each sequence number assigned to the received synchronization packet as a reached sequence number for each identification number of the application;
A reaching number notifying step for notifying the working module of the reached sequence number for each identification number of the application,
In the synchronization source active module,
A number verification step of verifying arrival of the synchronization packet by comparing the sequence number notified from the synchronized module with the transmitted sequence number for each identification number of the application,
A synchronization control method characterized by the above.
前記識別番号付与ステップは、前記同期元の現用系モジュール内で集約された複数のアプリケーションからなるアプリケーション群を単位として、前記アプリケーション群に属する前記アプリケーションの同期パケット内に当該アプリケーションの識別番号を付与し、
前記識別番号付与ステップの前に、前記アプリケーションの識別番号に対する優先順位を当該アプリケーションの優先度として優先度テーブルに予め登録する登録ステップを有し、
前記同期元の現用系モジュールにおいて、
前記シーケンス番号付与ステップの後であって前記格納ステップの前に、前記優先度テーブルに基づいて、前記同期パケットに付与された前記アプリケーションの識別番号を基に当該同期パケットの優先度を決定し、当該優先度の高いパケットを優先的に転送させる優先度決定ステップを有し、
前記格納ステップは、前記同期パケットを送信する機会を前記アプリケーション群単位で均等に割り当て、前記アプリケーション群に属するアプリケーションの前記同期パケットを送信する際に前記優先度の高いパケットを優先的に送信キューに格納する、
ことを特徴とする請求項6に記載の同期制御方法。
The identification number assigning step assigns an identification number of the application in a synchronization packet of the application belonging to the application group in units of an application group composed of a plurality of applications aggregated in the synchronization source active module. ,
Prior to the identification number assigning step, there is a registration step of pre-registering the priority order for the identification number of the application in the priority table as the priority of the application,
In the synchronization source active module,
After the sequence number assigning step and before the storing step, based on the priority table, determine the priority of the sync packet based on the identification number of the application given to the sync packet, A priority determination step for preferentially transferring the high priority packet;
In the storing step, an opportunity to transmit the synchronization packet is equally allocated in units of the application group, and when transmitting the synchronization packet of an application belonging to the application group, the packet having a high priority is preferentially placed in a transmission queue. Store,
The synchronous control method according to claim 6.
前記同期元の現用系モジュールと前記被同期モジュールとの間の前記通信ケーブルを用いる同期経路の通信セッションが切断した場合、通信セッションが再確立したときに前記被同期モジュールに照会する前記到達シーケンス番号に基づいて少なくとも差分に該当する同期パケットを前記同期元の現用系モジュールから再送するか、又は、前記同期元の現用系モジュールと前記被同期モジュールとの間に予め確立した予備同期経路を用いて当該同期元の現用系モジュールからの前記同期パケットの送信を続行する、
ことを特徴とする請求項6又は請求項7に記載の同期制御方法。
When the communication session of the synchronization path using the communication cable between the active module of the synchronization source and the synchronized module is disconnected, the arrival sequence number inquired to the synchronized module when the communication session is reestablished Based on the above, at least the synchronization packet corresponding to the difference is retransmitted from the active module of the synchronization source, or a standby synchronization path established in advance between the active module of the synchronization source and the synchronized module is used. Continue transmission of the synchronization packet from the active module of the synchronization source,
The synchronous control method according to claim 6 or 7, characterized in that
JP2014077858A 2014-04-04 2014-04-04 Network device and synchronization control method Active JP5771308B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014077858A JP5771308B1 (en) 2014-04-04 2014-04-04 Network device and synchronization control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014077858A JP5771308B1 (en) 2014-04-04 2014-04-04 Network device and synchronization control method

Publications (2)

Publication Number Publication Date
JP5771308B1 JP5771308B1 (en) 2015-08-26
JP2015201687A true JP2015201687A (en) 2015-11-12

Family

ID=54187217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014077858A Active JP5771308B1 (en) 2014-04-04 2014-04-04 Network device and synchronization control method

Country Status (1)

Country Link
JP (1) JP5771308B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021153453A1 (en) * 2020-01-30 2021-08-05 株式会社 Preferred Networks Communication device and communication method
JP7414688B2 (en) 2020-10-26 2024-01-16 株式会社東芝 Communication devices, communication methods, programs and communication systems

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021153453A1 (en) * 2020-01-30 2021-08-05 株式会社 Preferred Networks Communication device and communication method
JP7414688B2 (en) 2020-10-26 2024-01-16 株式会社東芝 Communication devices, communication methods, programs and communication systems

Also Published As

Publication number Publication date
JP5771308B1 (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN101557317B (en) Active dialogue backup system, equipment and method in dual-server hot-backup network
US10868840B1 (en) Multiple-master DNS system
US6934875B2 (en) Connection cache for highly available TCP systems with fail over connections
US6871296B2 (en) Highly available TCP systems with fail over connections
US7451221B2 (en) Method and apparatus for election of group leaders in a distributed network
US6748447B1 (en) Method and apparatus for scalable distribution of information in a distributed network
US6718361B1 (en) Method and apparatus for reliable and scalable distribution of data files in distributed networks
EP1041775A1 (en) Router monitoring in a data transmission system utilizing a network dispatcher for a cluster of hosts
US20040073683A1 (en) Method and apparatus for providing an integrated cluster alias address
US20030033428A1 (en) Apparatus and method for scalable server load balancing
US20050111483A1 (en) Method and system of teamed network adapters with offloaded connections
DK2465233T3 (en) Router and successful reboot procedure
CN102047643B (en) Method for enabling faster recovery of client applications in the event of server failure
US20100322247A1 (en) Internetwork device
CN112311580B (en) Message transmission path determining method, device and system and computer storage medium
CN102332968A (en) Communication equipment, communication means and computer program
WO2011147312A1 (en) Method, device and system for port backup of service access router
CN101931565B (en) Network segment detection method and device
JP5771308B1 (en) Network device and synchronization control method
JP5785608B2 (en) Communication node device system, device, and method
EP1305924B1 (en) Method and apparatus for reliable and scalable distribution of data files in distributed networks
JP4809855B2 (en) IP multicast communication monitoring method and system
US20090307288A1 (en) Backup device
CN108242982A (en) A kind of server dual-locomotive heat switching processing system
CN113037622B (en) System and method for preventing BFD from vibrating

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150604

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150626

R150 Certificate of patent or registration of utility model

Ref document number: 5771308

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250