JP5784139B2 - Communications system - Google Patents

Communications system Download PDF

Info

Publication number
JP5784139B2
JP5784139B2 JP2013541693A JP2013541693A JP5784139B2 JP 5784139 B2 JP5784139 B2 JP 5784139B2 JP 2013541693 A JP2013541693 A JP 2013541693A JP 2013541693 A JP2013541693 A JP 2013541693A JP 5784139 B2 JP5784139 B2 JP 5784139B2
Authority
JP
Japan
Prior art keywords
communication
packet
path
standby
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013541693A
Other languages
Japanese (ja)
Other versions
JPWO2013065477A1 (en
Inventor
水谷 昌彦
昌彦 水谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2013541693A priority Critical patent/JP5784139B2/en
Publication of JPWO2013065477A1 publication Critical patent/JPWO2013065477A1/en
Application granted granted Critical
Publication of JP5784139B2 publication Critical patent/JP5784139B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing

Description

本発明は、通信システムに関する。   The present invention relates to a communication system.

通信の大容量化や通信により提供されるサービスの多様化に伴い、キャリアサービス網や企業インフラには高い信頼性と通信品質が求められる。このような通信インフラでは、近年、高性能な通信装置の開発コストや導入、運用コストの削減等の観点からパケット通信技術の採用が検討されている。   With the increase in communication capacity and the diversification of services provided by communication, carrier service networks and corporate infrastructure are required to have high reliability and communication quality. In such a communication infrastructure, in recent years, adoption of packet communication technology is being studied from the viewpoint of development cost and introduction of a high-performance communication device, reduction of operation cost, and the like.

しかし、パケット通信技術を利用したコネクションレス通信方式では、ある装置から送信されたパケットが中継装置を経て宛先装置に到着するまでの時間は一定ではなく、通過経路上の回線状況や装置負荷によってはフレーム廃棄あるいは大幅な遅延が生じる可能性があり、同期伝送方式を用いた場合に比べて通品品質が低くなる場合がある。   However, in the connectionless communication method using the packet communication technology, the time until a packet transmitted from a certain device arrives at the destination device via the relay device is not constant, and it depends on the line condition on the passage route and the device load. There is a possibility that a frame is discarded or a significant delay occurs, and there is a case where the quality of product is lower than the case where the synchronous transmission method is used.

これを回避するために、送信装置と宛先装置との間に現用系と予備系の通信経路を設定し、現用系の通信経路に接続性を確認するための制御パケットを定期的に送信し、受信間隔が所定間隔(例えば送信間隔の3.5倍)以上になった場合に、現用系の通信経路の障害と判定し、データの通信経路を予備系に切り替える、イーサネット(登録商標)技術をベースにしたイーサ網リニアプロテクション切り替え技術が知られている(例えば、非特許文献1参照)。   In order to avoid this, a communication path for the active system and the standby system is set between the transmission apparatus and the destination apparatus, and a control packet for confirming connectivity is periodically transmitted to the communication path of the active system, Ethernet (registered trademark) technology that determines that a failure occurs in the active communication path and switches the data communication path to the standby system when the reception interval exceeds a predetermined interval (for example, 3.5 times the transmission interval). An Ethernet network linear protection switching technique based on this is known (for example, see Non-Patent Document 1).

ITU-T Recommendation G.8031/Y.1342ITU-T Recommendation G.8031 / Y.1342

ところで、上記非特許文献1の技術では、接続性を確認するための制御パケットを受信した場合に、その受信時刻と、その直前に受信した制御パケットの受信時刻との時間差を予め定められた許容時間(例えば送信間隔の3.5倍)と比較し、当該時間差が許容時間以上であれば現用系から予備系への経路切替が実行され、許容時間未満であれば現用系から予備系への経路切替は実行されない。   By the way, in the technique of Non-Patent Document 1, when a control packet for confirming connectivity is received, a time difference between the reception time and the reception time of the control packet received immediately before the control packet is determined in advance. Compared to the time (for example, 3.5 times the transmission interval), if the time difference is greater than or equal to the allowable time, the path switching from the active system to the standby system is executed. Route switching is not performed.

しかし、これでは、直前に受信した制御パケットが既に遅延していた場合には、その遅延している制御パケットとの時間差で経路切替が判断されてしまうため、実際に制御パケットを受信すべきタイミングからはかなり遅延していたとしても、直前の制御パケットの受信時刻からの経過時間が許容時間未満であれば、経路切替が実行されないことになる。複数の制御パケットが少しずつ遅延していると、遅延時間が累積し、実際に制御パケットを受信すべきタイミングからの遅延量はさらに大きくなる。   However, in this case, if the control packet received immediately before has already been delayed, the path switching is determined based on the time difference from the delayed control packet, so the timing at which the control packet should actually be received If the elapsed time from the reception time of the immediately preceding control packet is less than the allowable time, the path switching is not executed even if it is considerably delayed. If a plurality of control packets are delayed little by little, the delay time accumulates, and the amount of delay from the timing at which the control packet should actually be received further increases.

単位時間当たりに伝送されるデータ量があまり多くない音声通話等の通信データであれば、データパケットの欠落や遅延がサービスの品質に与える影響はそれ程大きくはない。しかし、通信の大容量化により、単位時間当たりに伝送されるデータ量が多くなっており、1つのデータパケットに格納されるデータ量も多くなってきたため、1つのデータパケットの欠落や遅延がサービスに与える影響が大きくなってきている。   In the case of communication data such as a voice call in which the amount of data transmitted per unit time is not so large, the effect of the missing or delayed data packet on the quality of service is not so great. However, due to the increase in communication capacity, the amount of data transmitted per unit time has increased, and the amount of data stored in one data packet has also increased. The impact on the world is growing.

特に、大容量のデータを扱う映像ストリーミングや、リズムの連続性が必要な音楽コンテンツのストリーミングでは、データパケットの欠落や遅延によるサービス本質の劣化がユーザにわかりやすいため、サービスに与える影響が特に大きい。   In particular, in video streaming that handles a large amount of data and streaming of music content that requires continuity of rhythm, the deterioration of the service essence due to missing or delayed data packets is easy for the user to understand, so the influence on the service is particularly large.

本発明は上記事情を鑑みてなされたものであり、本発明の目的は、パケット通信におけるデータパケットの遅延に起因するサービスの品質の劣化を低く抑えることにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to suppress degradation of service quality due to a delay of a data packet in packet communication.

上記課題を解決するために、例えば特許請求の範囲に記載の構成を採用する。
本願は、上記課題を解決するための手段を複数含んでいるが、その一例を挙げるならば、現用系の通信経路に輻輳が発生した場合に、データパケットの通信経路を、予め準備しておいた予備系の通信経路に切り替える通信システムであって、
第1の通信制御装置と、
現用系および予備系のそれぞれの通信経路を介して前記第1の通信制御装置に接続される第2の通信制御装置と
を備え、
前記第1の通信制御装置は、
現用系または予備系のいずれかの通信経路を介してユーザデータを含むデータパケットを前記第2の通信制御装置へ送信するデータ送信部と
現用系および予備系のそれぞれの通信経路を介して、予め定められたタイミングで同一の制御パケットを前記第2の通信制御装置へ送信する制御パケット送信部と、
前記第2の通信制御装置から経路切替要求を受信した場合に、前記データバケットの通信経路を、現用系から予備系に切り替えるよう前記データ送信部に指示する経路切替指示部と
を有し、
前記第2の通信制御装置は、
予備系の通信経路を介して受信した制御パケットの受信時刻から、現用系の通信経路を介して受信した同一の制御パケットの受信時刻までの時間差を測定する時間差測定部と、前記時間差測定部によって測定された時間差が予め定められた第1の閾値以上である場合に、前記第1の通信制御装置に経路切替要求を送信する経路切替要求部と
を有することを特徴とする。
In order to solve the above problems, for example, the configuration described in the claims is adopted.
The present application includes a plurality of means for solving the above-described problems. For example, when congestion occurs in the active communication path, a data packet communication path is prepared in advance. A communication system for switching to a standby communication path,
A first communication control device;
A second communication control device connected to the first communication control device via the communication paths of the active system and the standby system,
The first communication control device includes:
A data transmission unit for transmitting a data packet including user data to the second communication control device via either the active or standby communication path and the active and standby communication paths in advance. A control packet transmitter for transmitting the same control packet to the second communication control device at a determined timing;
A path switching instruction unit that instructs the data transmission unit to switch the communication path of the data bucket from the active system to the standby system when a path switching request is received from the second communication control device;
The second communication control device includes:
A time difference measuring unit for measuring a time difference from a reception time of the control packet received via the standby communication path to a reception time of the same control packet received via the active communication path, and the time difference measuring unit A path switching request unit configured to transmit a path switching request to the first communication control device when the measured time difference is equal to or greater than a predetermined first threshold value;

本発明の通信システムによれば、パケット通信におけるデータパケットの遅延に起因するサービスの品質の劣化を低く抑えることができる。
上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。
According to the communication system of the present invention, it is possible to suppress degradation of service quality due to a delay of a data packet in packet communication.
Problems, configurations, and effects other than those described above will be clarified by the following description of embodiments.

本発明の一実施形態に係る通信システム10の構成の一例を示すシステム構成図である。1 is a system configuration diagram illustrating an example of a configuration of a communication system 10 according to an embodiment of the present invention. 通信制御装置20の詳細な機能構成の一例を示すブロック図である。3 is a block diagram illustrating an example of a detailed functional configuration of a communication control device 20. FIG. 送信経路DB22に格納される送信経路テーブル220のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the transmission route table 220 stored in transmission route DB22. 遅延DB24に格納される遅延テーブル240のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the delay table 240 stored in delay DB24. 経路種別DB26に格納される経路種別テーブル260のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the route classification table 260 stored in route classification DB26. 閾値DB28に格納される切替閾値テーブル280のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the switching threshold value table 280 stored in threshold value DB28. 閾値DB28に格納される切戻閾値テーブル285のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the switchback threshold value table 285 stored in threshold value DB28. 遅延測定用の制御パケット40のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the control packet 40 for delay measurement. 測定結果報告パケット41のデータ構造の一例を示す図である。6 is a diagram illustrating an example of a data structure of a measurement result report packet 41. FIG. 切替判定用の制御パケット42のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the control packet 42 for switching determination. ユーザデータパケット43のデータ構造の一例を示す図である。4 is a diagram illustrating an example of a data structure of a user data packet 43. FIG. 切替要求パケット44のデータ構造の一例を示す図である。6 is a diagram illustrating an example of a data structure of a switching request packet 44. FIG. 切替応答パケット45のデータ構造の一例を示す図である。6 is a diagram illustrating an example of a data structure of a switching response packet 45. FIG. 切替完了通知パケット46のデータ構造の一例を示す図である。6 is a diagram illustrating an example of a data structure of a switch completion notification packet 46. FIG. 切戻要求パケット47のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the switchback request packet 47. 切戻応答パケット48のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the switchback response packet. 切戻完了通知パケット49のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the switchback completion notification packet 49. 現用系と予備系の通信経路の伝送時間差の測定動作の一例を示すフローチャートである。It is a flowchart which shows an example of the measurement operation | movement of the transmission time difference of the active system and a backup system communication path. 第1の実施形態における受信側の通信制御装置20の切替動作の一例を示すフローチャートである。It is a flowchart which shows an example of the switching operation | movement of the communication control apparatus 20 of the receiving side in 1st Embodiment. 送信側の通信制御装置20の切替動作の一例を示すフローチャートである。It is a flowchart which shows an example of the switching operation | movement of the communication control apparatus 20 of a transmission side. 受信側の通信制御装置20の切戻動作の一例を示すフローチャートである。It is a flowchart which shows an example of the switch-back operation | movement of the communication control apparatus 20 of the receiving side. 送信側の通信制御装置20の切戻動作の一例を示すフローチャートである。It is a flowchart which shows an example of the switch-back operation | movement of the communication control apparatus 20 of a transmission side. 中継装置30の詳細な機能構成の一例を示すブロック図である。3 is a block diagram illustrating an example of a detailed functional configuration of a relay device 30. FIG. 送信先DB34に格納される送信先テーブル340のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the transmission destination table 340 stored in transmission destination DB34. 警告パケット50のデータ構造の一例を示す図である。4 is a diagram illustrating an example of a data structure of a warning packet 50. FIG. 中継装置30の動作の一例を示すフローチャートである。5 is a flowchart illustrating an example of the operation of the relay device 30. 第2の実施形態における受信側の通信制御装置20の切替動作の一例を示すフローチャートである。It is a flowchart which shows an example of the switching operation | movement of the communication control apparatus 20 of the receiving side in 2nd Embodiment.

まず、本発明の第1の実施形態について図面を参照しながら説明する。   First, a first embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係る通信システム10の構成の一例を示すシステム構成図である。通信システム10は、複数の通信制御装置20を備える。それぞれの通信制御装置20は、アクセス網13を介して、ユーザ端末やサーバ等の通信装置14に接続される。また、それぞれの通信制御装置20は、複数の中継装置30を有する基幹網12を介して、他の通信制御装置20に接続される。なお、本実施形態において、基幹網12は、パケット交換網であるが、蓄積交換方式であればフレーム交換網等であってもよい。   FIG. 1 is a system configuration diagram illustrating an example of a configuration of a communication system 10 according to an embodiment of the present invention. The communication system 10 includes a plurality of communication control devices 20. Each communication control device 20 is connected to a communication device 14 such as a user terminal or a server via an access network 13. Each communication control device 20 is connected to another communication control device 20 via a backbone network 12 having a plurality of relay devices 30. In the present embodiment, the backbone network 12 is a packet switching network, but may be a frame switching network or the like as long as it is a storage switching system.

管理装置11は、通信システム10内の2台の通信制御装置20毎に、送信および受信のそれぞれの通信経路について、現用系および予備系の通信経路を予め設定し、必要な情報(例えば、通信経路を識別するVLANIDやデータパケットの転送先等)をそれぞれの通信制御装置20および中継装置30に設定する。   For each of the two communication control devices 20 in the communication system 10, the management device 11 presets the active and standby communication paths for each of the transmission and reception communication paths, and sets necessary information (for example, communication The VLAN ID for identifying the route, the transfer destination of the data packet, etc.) are set in the communication control device 20 and the relay device 30, respectively.

図1に示す例では、通信システム10が備える複数の通信制御装置20のうち、通信制御装置20−1と通信制御装置20−2について、各中継装置30を介してデータパケットが通信制御装置20−1から通信制御装置20−2へ送信される方向において、現用系の通信経路(実線矢印)および予備系の通信経路(破線矢印)が予め設定されている様子を模式的に示している。   In the example illustrated in FIG. 1, among the plurality of communication control devices 20 included in the communication system 10, data packets are transmitted via the relay devices 30 for the communication control device 20-1 and the communication control device 20-2. -1 schematically shows that the active communication path (solid arrow) and the standby communication path (broken arrow) are set in advance in the direction transmitted from -1 to the communication control apparatus 20-2.

以下では、図1のシステム構成を例に、受信側の通信制御装置20−2が現用系の通信経路を介して送信されたデータパケットの遅延の増大を検出した場合に、送信側の通信制御装置20−1が、データパケットの送信経路を、現用系から予備系に切り替える処理について説明する。   In the following, taking the system configuration of FIG. 1 as an example, when the communication control device 20-2 on the receiving side detects an increase in the delay of the data packet transmitted via the active communication path, communication control on the transmitting side is performed. A process in which the device 20-1 switches the data packet transmission path from the active system to the standby system will be described.

図2は、通信制御装置20の詳細な機能構成の一例を示すブロック図である。通信制御装置20は、データ送受信部21、送信経路DB22、経路切替指示部23、遅延DB24、制御パケット送信部25、経路種別DB26、時間差測定部27、閾値DB28、および経路切替要求部29を有する。   FIG. 2 is a block diagram illustrating an example of a detailed functional configuration of the communication control device 20. The communication control device 20 includes a data transmission / reception unit 21, a transmission route DB 22, a route switching instruction unit 23, a delay DB 24, a control packet transmission unit 25, a route type DB 26, a time difference measurement unit 27, a threshold value DB 28, and a route switching request unit 29. .

送信経路DB22には、例えば図3に示すような送信経路テーブル220が格納されている。送信経路テーブル220には、通信装置14によって送受信されるデータによって提供されるそれぞれのサービスを識別するサービスID221に対応付けて、当該データを含むユーザデータパケットを送出すべき通信経路の種別を示す経路種別222、および、当該サービスにおいて許容される遅延時間の短さの程度を示すサービスレベル223が格納される。サービスレベル223の欄に記載した「W」は現用系の通信経路であることを表わしており、「P」は予備系の通信経路であることを表わしている。   For example, a transmission route table 220 as shown in FIG. 3 is stored in the transmission route DB 22. In the transmission route table 220, a route indicating the type of communication route to which a user data packet including the data is to be sent in association with the service ID 221 for identifying each service provided by the data transmitted / received by the communication device 14 The type 222 and the service level 223 indicating the degree of short delay time allowed in the service are stored. “W” described in the column of the service level 223 indicates that it is an active communication path, and “P” indicates that it is a standby communication path.

図3に例示した送信経路テーブル220では、サービスID221およびサービスレベル223の情報は予め設定されており、実際に該当するサービスを提供するためのデータを含むデータパケットが送信された場合に、当該データパケットが送信された通信経路の種別が経路種別222に格納される。また、図3に例示した送信経路テーブル220は、通信パケットの送信先の他の通信制御装置20毎に送信経路DB22内に設けられる。   In the transmission route table 220 illustrated in FIG. 3, information on the service ID 221 and the service level 223 is set in advance, and when a data packet including data for actually providing the corresponding service is transmitted, the data The type of the communication path through which the packet is transmitted is stored in the path type 222. Also, the transmission path table 220 illustrated in FIG. 3 is provided in the transmission path DB 22 for each other communication control apparatus 20 to which the communication packet is transmitted.

ここで、サービスとは、例えば、高画質の映像ストリーミングや、低画質の映像ストリーミング、音声通話、ベストエフォート方式のデータ通信などがある。また、例えば、高画質の映像ストリーミングのようなサービスでは、単位時間当たりのデータ量が多く、受信側の通信装置14であまり長時間のデータを蓄積することができないため、許容される遅延時間は短く、例えばサービスレベルが1となる。   Here, the service includes, for example, high-quality video streaming, low-quality video streaming, voice call, and best-effort data communication. In addition, for example, in a service such as high-quality video streaming, the amount of data per unit time is large, and the long-term data cannot be stored in the communication device 14 on the receiving side. For example, the service level is 1, for example.

また、低画質の映像ストリーミングのようなサービスでは、単位時間当たりのデータ量がそれ程多くなく、受信側の通信装置14で比較的長時間のデータを蓄積することができるため、許容される遅延時間は高画質の映像ストリーミングよりは長くとることができる。しかし、あまり長すぎると映像が途切れてしまうため、音声通話のようなサービスよりは短く、例えばサービスレベルが2となる。   In addition, in a service such as low-quality video streaming, the amount of data per unit time is not so large, and a relatively long time can be stored in the communication device 14 on the receiving side. Can take longer than high-quality video streaming. However, since the video is interrupted if it is too long, it is shorter than a service such as a voice call. For example, the service level is 2.

また、音声通話のようなサービスでは、単位時間当たりのデータ量は少ないが、会話が成り立つ程度の遅延に抑える必要があるため、例えばサービスレベルが3となる。また、ベストエフォート方式のデータ通信のようなサービスでは、上記の他のサービスに比べて遅延に関する制限はさらに少なく、例えばサービスレベルが4となる。   In a service such as a voice call, the amount of data per unit time is small, but it is necessary to suppress the delay to such an extent that a conversation can be established. Further, in a service such as best-effort data communication, there are even fewer restrictions on delay compared to the other services described above, and the service level is, for example, 4.

遅延DB24には、例えば図4に示すような遅延テーブル240が格納される。遅延テーブル240には、それぞれの現用系の通信経路を識別するVLANID241に対応付けて、遅延量の算出基準となる制御パケットを伝送した予備系の通信経路を識別する基準VLANID242、および、当該予備系の通信経路を介して受信した制御パケットの受信時刻を基準として、当該現用系の通信経路を介して同一の制御パケットを受信するまでの時間差を示す遅延量243が格納される。   For example, a delay table 240 as shown in FIG. 4 is stored in the delay DB 24. The delay table 240 includes a reference VLAN ID 242 that identifies a standby communication path that transmits a control packet serving as a delay amount calculation reference in association with the VLAN ID 241 that identifies each active communication path, and the standby system. A delay amount 243 indicating a time difference until the same control packet is received via the working communication path is stored with reference to the reception time of the control packet received via the communication path.

例えば、図4の遅延テーブル240の一行目の遅延量243は、VLANID241が「V001」の現用系の通信経路を介して受信した制御パケットが、基準VLANID242が「V002」の予備系の通信経路を介して受信した制御パケットの受信時刻を基準として、2ミリ秒遅れて受信側の通信制御装置20に到達したことを示している。   For example, the delay amount 243 in the first row of the delay table 240 in FIG. 4 indicates that the control packet received via the active communication path with the VLAN ID 241 “V001” indicates the standby communication path with the reference VLAN ID 242 “V002”. It shows that the communication control device 20 on the receiving side has been reached with a delay of 2 milliseconds with reference to the reception time of the control packet received via the network.

また、例えば、図4の遅延テーブル240の二行目の遅延量243は、VLANID241が「V003」の現用系の通信経路を介して受信した制御パケットが、基準VLANID242が「V004」の予備系の通信経路を介して受信した制御パケットの受信時刻を基準として、1ミリ秒早く受信側の通信制御装置20に到達したことを示している。   Further, for example, the delay amount 243 in the second row of the delay table 240 in FIG. 4 indicates that the control packet received via the active communication path with the VLAN ID 241 “V003” is the standby packet with the reference VLAN ID 242 “V004”. This shows that the communication control device 20 on the receiving side has been reached one millisecond earlier with reference to the reception time of the control packet received via the communication path.

経路種別DB26には、例えば図5に示すような経路種別テーブル260が格納される。経路種別テーブル260には、それぞれの通信経路を識別するVLANID261に対応付けて、当該通信経路の種別が格納されている。なお、図5に例示した経路種別テーブル260は、通信パケットの送信先の他の通信制御装置20毎に経路種別DB26内に設けられる。   In the route type DB 26, for example, a route type table 260 as shown in FIG. 5 is stored. The route type table 260 stores the type of the communication route in association with the VLAN ID 261 for identifying each communication route. Note that the route type table 260 illustrated in FIG. 5 is provided in the route type DB 26 for each other communication control device 20 to which the communication packet is transmitted.

閾値DB28には、例えば図6に示すような切替閾値テーブル280、および、例えば図7に示すような切戻閾値テーブル285が格納される。切替閾値テーブル280には、サービスを提供するためのデータを含むデータパケットの通信経路を、現用系から予備系に切り替えるための時間差の閾値を示す切替閾値281に対応付けて、時間差が切替閾値281以上となった場合に、現用系から予備系に切り替えるサービスのサービスレベル282が格納される。   The threshold DB 28 stores a switching threshold table 280 as shown in FIG. 6, for example, and a switchback threshold table 285 as shown in FIG. 7, for example. In the switching threshold table 280, the communication path of the data packet including the data for providing the service is associated with the switching threshold 281 indicating the threshold of the time difference for switching from the active system to the standby system. In this case, the service level 282 of the service for switching from the active system to the standby system is stored.

この時間差とは、受信側の通信制御装置20が、予備系の通信経路を介して後述する特定の制御パケットを受信した受信時刻から、現用系の通信経路を介して同一の制御パケットを受信するまでの時間差を指す。それぞれのサービスレベルにおける切替閾値は、それぞれのサービスレベルに含まれるそれぞれのサービスに要求される遅延時間の許容範囲に基づいて予め定められ、例えば管理装置11によって各通信制御装置20に設定される。   This time difference means that the reception side communication control device 20 receives the same control packet via the working communication path from the reception time when a specific control packet, which will be described later, is received via the standby communication path. The time difference until. The switching threshold value at each service level is determined in advance based on an allowable range of delay time required for each service included in each service level, and is set in each communication control device 20 by the management device 11, for example.

また、切戻閾値テーブル285には、サービスを提供するためのデータを含むデータパケットの通信経路を、現用系から予備系に切り替えた後に、再び予備系から現用系に切り戻すための時間差の閾値を示す切戻閾値286に対応付けて、時間差が切戻閾値286未満となった場合に、予備系から現用系に切り戻すサービスのサービスレベル287が格納される。   The switchback threshold table 285 includes a time difference threshold for switching the communication path of a data packet including data for providing a service from the active system to the standby system and then switching back from the standby system to the active system. The service level 287 of the service for switching back from the standby system to the active system when the time difference is less than the switchback threshold 286 is stored.

なお、基幹網12は、通常は現用系の通信経路を使い続けるように設計されており、サービスの品質に問題がなければ、運用の面からも極力現用系を使い続けた方が好ましい場合が多い。そのため、現用系と予備系の遅延時間の差が少なくなった段階で通信経路を予備系から現用系に切り戻すようにしている。   Note that the backbone network 12 is normally designed to continue to use the working communication path, and if there is no problem in service quality, it may be preferable to continue to use the working system as much as possible in terms of operation. Many. Therefore, the communication path is switched back from the standby system to the active system when the difference between the delay times of the active system and the standby system is reduced.

しかし、切戻閾値をあまり長くしすぎると、切り戻した直後に再び切り替える事態が発生する可能性が高まり、切り替えや切り戻しに伴って基幹網12内に発生する無駄なトラフィックが多くなるため、切戻閾値は、切替閾値よりも十分に短く(例えば切替閾値の半分程度)することが好ましい。   However, if the switchback threshold is set too long, the possibility of switching again immediately after switching back increases, and unnecessary traffic generated in the backbone network 12 due to switching or switchback increases. The switchback threshold is preferably sufficiently shorter than the switching threshold (for example, about half of the switching threshold).

図2に戻って説明を続ける。制御パケット送信部25は、所定のタイミング(例えば、管理装置11から指示されたタイミング)で、例えば図8に示すようなデータ構造の遅延測定用の制御パケット40を2つ作成する。制御パケット40には、ヘッダ400およびペイロード401が含まれ、ペイロード401には、メッセージID402、VLANID403、シーケンス番号404、および送信時刻405が含まれる。   Returning to FIG. 2, the description will be continued. The control packet transmitter 25 creates two control packets 40 for delay measurement having a data structure as shown in FIG. 8, for example, at a predetermined timing (for example, a timing instructed from the management apparatus 11). The control packet 40 includes a header 400 and a payload 401. The payload 401 includes a message ID 402, a VLAN ID 403, a sequence number 404, and a transmission time 405.

制御パケット送信部25は、作成した2つの制御パケット40において、メッセージID402には当該制御パケット40が遅延測定用の制御パケット40であることを示す情報を格納し、シーケンス番号404に同一の数値を格納する。そして、制御パケット送信部25は、経路種別DB26を参照して、一方の制御パケット40のVLANID403に現用系の通信経路の識別情報を格納し、他方の制御パケット40のVLANID403に予備系の通信経路の識別情報を格納する。   In the created two control packets 40, the control packet transmitter 25 stores information indicating that the control packet 40 is a delay measurement control packet 40 in the message ID 402, and assigns the same numerical value to the sequence number 404. Store. Then, the control packet transmission unit 25 refers to the route type DB 26, stores the identification information of the active communication route in the VLAN ID 403 of one control packet 40, and the standby communication route in the VLAN ID 403 of the other control packet 40. The identification information of is stored.

そして、制御パケット送信部25は、一方の制御パケット40の送信時刻405に現在時刻を設定して現用系の通信経路を介して通信制御装置20へ送信し、他方の制御パケット40の送信時刻405に現在時刻を設定して予備系の通信経路を介して通信制御装置20へ送信する。なお、それぞれの制御パケット40の送信時の時刻がそれぞれの送信時刻405に設定されていれば、2つの制御パケット40の送信時刻405に設定される時刻の情報は同一の値でなくてもよい。   Then, the control packet transmitter 25 sets the current time to the transmission time 405 of one control packet 40 and transmits it to the communication control device 20 via the active communication path, and the transmission time 405 of the other control packet 40. Is set to the current time and transmitted to the communication control apparatus 20 via the standby communication path. In addition, if the time at the time of transmission of each control packet 40 is set to each transmission time 405, the time information set to the transmission time 405 of two control packets 40 may not be the same value. .

制御パケット送信部25は、同一のシーケンス番号の遅延測定用の制御パケット40を現用系と予備系の双方の通信経路に送出する処理を、所定時間毎(例えば100ミリ秒毎)に複数回繰り返す。そして、制御パケット送信部25は、図9に示すような測定結果報告パケット41を、当該遅延測定用の制御パケット40の送信先の通信制御装置20から受信する。測定結果報告パケット41には、ヘッダ410およびペイロード411が含まれ、ペイロード411には、メッセージID412、VLANID413、VLANID414、および測定結果415が含まれる。   The control packet transmitter 25 repeats the process of sending the delay measurement control packet 40 with the same sequence number to both the active and standby communication paths a plurality of times at predetermined time intervals (for example, every 100 milliseconds). . Then, the control packet transmitter 25 receives the measurement result report packet 41 as shown in FIG. 9 from the communication control device 20 that is the transmission destination of the control packet 40 for delay measurement. The measurement result report packet 41 includes a header 410 and a payload 411. The payload 411 includes a message ID 412, a VLAN ID 413, a VLAN ID 414, and a measurement result 415.

メッセージID412には、当該測定結果報告パケット41が測定結果報告用のパケットであることを示す情報が格納される。VLANID413には、遅延時間の測定対象となった現用系の通信経路の識別情報が格納される。VLANID414には、遅延時間の測定基準となった予備系の通信経路の識別情報が格納される。測定結果415には、当該測定結果報告パケット41の送信元の通信制御装置20が、予備系の通信経路を介して遅延測定用の制御パケット40を受信した受信時刻から、現用系の通信経路を介して同一のシーケンス番号を有する遅延測定用の制御パケット40を受信するまでの時間差が格納される。   The message ID 412 stores information indicating that the measurement result report packet 41 is a measurement result report packet. The VLANID 413 stores identification information of the active communication path that is a delay time measurement target. The VLAN ID 414 stores identification information of a standby communication path that is a measurement standard for delay time. The measurement result 415 includes the current communication path from the reception time when the communication control apparatus 20 that has transmitted the measurement result report packet 41 receives the delay measurement control packet 40 via the standby communication path. The time difference until the control packet 40 for delay measurement having the same sequence number is received is stored.

測定結果報告パケット41を受信した場合、制御パケット送信部25は、測定結果報告パケット41に含まれるVLANID413をVLANID241として、測定結果報告パケット41に含まれているVLANID414を基準VLANID242として、測定結果報告パケット41に含まれている測定結果415を遅延量243として、それぞれ遅延DB24内の遅延テーブル240に格納する。   When the measurement result report packet 41 is received, the control packet transmission unit 25 sets the VLAN ID 413 included in the measurement result report packet 41 as the VLAN ID 241 and the VLAN ID 414 included in the measurement result report packet 41 as the reference VLAN ID 242. 41 is stored in the delay table 240 in the delay DB 24 as the delay amount 243.

なお、遅延測定用の制御パケット40や測定結果報告パケット41は、例えばITU−T Y.1731で定義されているVSM(Vendor Specific Message)フレームやAPS(Automatic Protection Switching)フレームのフォーマットをベースとして構成することができる。   The delay measurement control packet 40 and the measurement result report packet 41 are, for example, ITU-TY. It can be configured based on the format of a VSM (Vendor Specific Message) frame or an APS (Automatic Protection Switching) frame defined in 1731.

次に、制御パケット送信部25は、例えば図10に示すようなデータ構造の切替判定用の制御パケット42を2つ作成する。制御パケット42には、ヘッダ420およびペイロード421が含まれ、ペイロード421には、メッセージID422、VLANID423、シーケンス番号424、およびサービス情報425が含まれる。   Next, the control packet transmitter 25 creates two control packets 42 for data structure switching determination as shown in FIG. 10, for example. The control packet 42 includes a header 420 and a payload 421. The payload 421 includes a message ID 422, a VLAN ID 423, a sequence number 424, and service information 425.

制御パケット送信部25は、作成した2つの制御パケット42において、メッセージID422には当該制御パケット42が切替判定用の制御パケット42であることを示す情報を格納し、シーケンス番号424には同一の数値を格納し、サービス情報425には送信経路テーブル220において経路種別に値が設定されているものについて、サービスID、経路種別、およびサービスレベルの情報426が格納される。なお、サービス情報425は、作成した2つの制御パケット42の少なくともいずれかに含まれていればよい。   In the generated two control packets 42, the control packet transmitter 25 stores information indicating that the control packet 42 is a switching determination control packet 42 in the message ID 422, and the sequence number 424 has the same numerical value. The service information 425 stores service ID, route type, and service level information 426 for values for which the route type is set in the transmission route table 220. Note that the service information 425 only needs to be included in at least one of the two created control packets 42.

そして、制御パケット送信部25は、経路種別DB26を参照して、一方の制御パケット42のVLANID423に現用系の通信経路の識別情報を格納し、他方の制御パケット42のVLANID423に予備系の通信経路の識別情報を格納する。   Then, the control packet transmission unit 25 refers to the route type DB 26, stores the identification information of the active communication route in the VLANID 423 of one control packet 42, and the standby communication route in the VLANID 423 of the other control packet 42. The identification information of is stored.

なお、制御パケット42は、例えばITU−T Y.1731で定義されているCCM(Continuity Check Message)フレームのフォーマットをベースとして構成することができる。   The control packet 42 is, for example, ITU-T Y. A CCM (Continuity Check Message) frame format defined in 1731 can be used as a base.

次に、制御パケット送信部25は、VLANID423に設定されている現用系の通信経路の識別情報に基づいて遅延DB24の遅延テーブル240を参照し、当該現用系のVLANIDに対応付けられている遅延量を抽出する。   Next, the control packet transmitting unit 25 refers to the delay table 240 of the delay DB 24 based on the identification information of the active communication path set in the VLAN ID 423, and the delay amount associated with the active VLAN ID. To extract.

抽出した遅延量が正の値である場合(即ち、予備系の通信経路よりも現用系の通信経路の方が遅延が大きい場合)、制御パケット送信部25は、制御パケット42を送信すべきタイミングよりも、当該抽出した遅延量の時間分前のタイミングで、VLANID423に現用系の通信経路の識別情報を有する制御パケット42を、現用系の通信経路を介して通信制御装置20へ送信し、制御パケット42を送信すべきタイミングで、VLANID423に予備系の通信経路の識別情報を有する制御パケット42を、予備系の通信経路を介して通信制御装置20へ送信する。   When the extracted delay amount is a positive value (that is, when the delay of the working communication path is larger than that of the standby communication path), the control packet transmitting unit 25 should transmit the control packet 42 The control packet 42 having the identification information of the active communication path in the VLAN ID 423 is transmitted to the communication control apparatus 20 via the active communication path at a timing before the extracted delay amount. At the timing when the packet 42 should be transmitted, the control packet 42 having the identification information of the standby communication path in the VLAN ID 423 is transmitted to the communication control apparatus 20 via the standby communication path.

一方、抽出した遅延量が負の値である場合(即ち、予備系の通信経路よりも現用系の通信経路の方が遅延が小さい場合)、制御パケット送信部25は、制御パケット42を送信すべきタイミングよりも、当該抽出した遅延量の時間分後のタイミングで、VLANID423に現用系の通信経路の識別情報を有する制御パケット42を、現用系の通信経路を介して通信制御装置20へ送信し、制御パケット42を送信すべきタイミングで、VLANID423に予備系の通信経路の識別情報を有する制御パケット42を、予備系の通信経路を介して通信制御装置20へ送信する。   On the other hand, when the extracted delay amount is a negative value (that is, when the delay of the working communication path is smaller than that of the standby communication path), the control packet transmitting unit 25 transmits the control packet 42. The control packet 42 having the identification information of the active communication path in the VLAN ID 423 is transmitted to the communication control apparatus 20 via the active communication path at a timing after the extracted delay amount. At a timing when the control packet 42 is to be transmitted, the control packet 42 having the identification information of the standby communication path in the VLAN ID 423 is transmitted to the communication control apparatus 20 via the standby communication path.

これにより、現用系の通信経路と予備系の通信経路のそれぞれを介して送信された同一のシーケンス番号を有する切替判定用の制御パケット42は、いずれの通信経路にも輻輳が発生していない場合には、ほぼ同一のタイミングで受信側の通信制御装置20において受信されることになる。輻輳が発生していない場合の受信側の通信制御装置20での受信タイミングを精度よく合わせるためには、現用系の通信経路と予備系の通信経路の伝送時間の差の測定は、基幹網12に輻輳が発生している可能性が低い時間帯(例えば深夜や明方など)に実行されることが好ましい。   As a result, the switching determination control packet 42 having the same sequence number transmitted through each of the active communication path and the standby communication path has no congestion in any communication path. Are received by the communication control device 20 on the receiving side at substantially the same timing. In order to accurately match the reception timing in the communication controller 20 on the receiving side when congestion does not occur, the difference in transmission time between the active communication path and the standby communication path is measured by the backbone network 12. It is preferable to be executed in a time zone (for example, late at night or tomorrow) where there is a low possibility that congestion is occurring.

なお、制御パケット送信部25は、送信タイミングを調整した同一のシーケンス番号を有する切替判定用の制御パケット42を、所定時間毎(例えば100ミリ秒毎)に送信する。   The control packet transmitter 25 transmits the switching determination control packet 42 having the same sequence number whose transmission timing is adjusted every predetermined time (for example, every 100 milliseconds).

データ送受信部21は、アクセス網13を介して通信装置14からユーザデータを受信した場合に、送信経路DB22を参照して、当該ユーザデータの宛先となる通信装置14が接続する通信制御装置20の送信経路テーブル220を特定する。そして、データ送受信部21は、特定した送信経路テーブル220を参照して、当該ユーザデータによって提供されるサービスのサービスIDに対応付けられている経路種別を特定する。そして、データ送受信部21は、経路種別DB26内の経路種別テーブル260を参照して、特定した経路種別に対応するVLANIDを、ユーザデータを送信すべき通信経路の識別情報として特定する。   When the data transmission / reception unit 21 receives user data from the communication device 14 via the access network 13, the data transmission / reception unit 21 refers to the transmission path DB 22 and connects the communication device 14 that is the destination of the user data to the communication control device 20. The transmission route table 220 is specified. Then, the data transmission / reception unit 21 refers to the identified transmission route table 220 and identifies the route type associated with the service ID of the service provided by the user data. Then, the data transmitting / receiving unit 21 refers to the route type table 260 in the route type DB 26 and specifies the VLAN ID corresponding to the specified route type as identification information of the communication route to which user data is to be transmitted.

なお、サービスの提供が終了した場合、データ送受信部21は、当該サービスのサービスIDに対応付けられている経路種別を送信経路テーブル220から削除するため、当該ユーザデータによるサービスの提供を開始する場合、データ送受信部21は、送信経路テーブル220において、当該サービスのサービスIDに現用系を示す経路種別を対応付ける。   When the service provision ends, the data transmission / reception unit 21 deletes the route type associated with the service ID of the service from the transmission route table 220, and therefore starts providing the service using the user data. In the transmission route table 220, the data transmitting / receiving unit 21 associates the service ID of the service with the route type indicating the active system.

そして、データ送受信部21は、例えば図11に示すようなユーザデータパケット43を作成する。ユーザデータパケット43には、ヘッダ430およびペイロード431が含まれ、ペイロード431にはユーザデータが格納される。ヘッダ430には、ユーザデータパケット43の宛先の通信制御装置20のアドレスを示すDA432と、ユーザデータパケット43の送信元の通信制御装置20のアドレスを示すSA433と、当該ユーザデータパケット43を送信する通信経路のVLANID434と、当該ユーザデータパケット43を一意に識別するためのシーケンス番号435と、当該ユーザデータパケット43に含まれているデータによって提供されるサービスのサービスID436とが格納される。   Then, the data transmission / reception unit 21 creates a user data packet 43 as shown in FIG. 11, for example. The user data packet 43 includes a header 430 and a payload 431, and the payload 431 stores user data. In the header 430, the DA 432 indicating the address of the communication control device 20 that is the destination of the user data packet 43, the SA 433 indicating the address of the communication control device 20 that is the transmission source of the user data packet 43, and the user data packet 43 are transmitted. A VLAN ID 434 of the communication path, a sequence number 435 for uniquely identifying the user data packet 43, and a service ID 436 of a service provided by data included in the user data packet 43 are stored.

そして、データ送受信部21は、作成したユーザデータパケット43を送信すべき通信経路の経路種別が現用系である場合に、遅延DB24の遅延テーブル240を参照して、当該現用系の通信経路の識別情報に対応付けられている遅延量を抽出する。   Then, when the route type of the communication path to which the created user data packet 43 is to be transmitted is the working system, the data transmitting / receiving unit 21 refers to the delay table 240 of the delay DB 24 and identifies the working communication path. The delay amount associated with the information is extracted.

抽出した遅延量が正の値である場合、データ送受信部21は、作成した測定結果報告パケット41を、送信すべきタイミングよりも当該抽出した遅延量の時間分前のタイミングで、現用系の通信経路を介して通信制御装置20へ送信する。   When the extracted delay amount is a positive value, the data transmitting / receiving unit 21 transmits the created measurement result report packet 41 at the timing before the timing to transmit the time of the extracted delay amount. It transmits to the communication control apparatus 20 via a path | route.

一方、抽出した遅延量が負の値である場合、データ送受信部21は、作成した測定結果報告パケット41を、送信すべきタイミングよりも当該抽出した遅延量の時間分後のタイミングで、現用系の通信経路を介して通信制御装置20へ送信する。   On the other hand, when the extracted delay amount is a negative value, the data transmitting / receiving unit 21 transmits the created measurement result report packet 41 at the timing after the extracted delay amount by a time after the timing to transmit. To the communication control apparatus 20 via the communication path.

また、データ送受信部21は、経路切替指示部23からサービスIDと共に2重送信開始を指示された場合に、該当するサービスIDをヘッダに含むユーザデータパケットを、現用系および予備系の両方の通信経路を介して他の通信制御装置20へ送信する。   In addition, when the data transmission / reception unit 21 is instructed to start double transmission together with the service ID from the path switching instruction unit 23, the data transmission / reception unit 21 transmits the user data packet including the corresponding service ID in the header to both the active and standby systems. It transmits to the other communication control apparatus 20 via a path | route.

そして、経路切替指示部23からサービスIDおよびVLANIDと共に2重送信終了を指示された場合、データ送受信部21は、該当するサービスIDをヘッダに含むユーザデータパケットであって、現用系および予備系の両方の通信経路を介して送信していたユーザデータパケットのうち、指示されたVLANIDに対応する通信経路を介するユーザデータパケットの送信を停止する。   When the dual switching end is instructed together with the service ID and VLAN ID from the path switching instruction unit 23, the data transmission / reception unit 21 is a user data packet including the corresponding service ID in the header, and the active system and the standby system Of the user data packets that have been transmitted through both communication paths, the transmission of the user data packet through the communication path corresponding to the instructed VLAN ID is stopped.

時間差測定部27は、現用系および予備系のそれぞれの通信経路を介して、対向する他の通信制御装置20から図8に示した遅延測定用の制御パケット40を受信した場合に、予備系の通信経路を介した遅延測定用の制御パケット40の伝送時間から、現用系の通信経路を介した遅延測定用の制御パケット40の伝送時間の時間差の測定を開始する。このとき、時間差測定部27は、遅延測定用の制御パケット40の受信時刻から、当該制御パケット40内の送信時刻405を差し引いた時間を、その通信経路の伝送時間とする。   When the time difference measuring unit 27 receives the control packet 40 for delay measurement shown in FIG. 8 from the other communication control device 20 facing each other through the communication paths of the active system and the standby system, the time difference measuring unit 27 From the transmission time of the delay measurement control packet 40 via the communication path, measurement of the time difference of the transmission time of the delay measurement control packet 40 via the active communication path is started. At this time, the time difference measuring unit 27 sets a time obtained by subtracting the transmission time 405 in the control packet 40 from the reception time of the control packet 40 for delay measurement as the transmission time of the communication path.

そして、時間差測定部27は、所定個数(例えば100個)の遅延測定用の制御パケット40の組について測定した時間差の平均を測定結果として算出する。そして、時間差測定部27は、算出した測定結果を含む測定結果報告パケット41(図9参照)を作成し、作成した測定結果報告パケット41を、遅延測定用の制御パケット40の送信元の通信制御装置20へ、例えば予備系の通信経路を介して送信する。   Then, the time difference measuring unit 27 calculates an average of time differences measured for a set of a predetermined number (for example, 100) of delay control packets 40 as a measurement result. Then, the time difference measuring unit 27 creates a measurement result report packet 41 (see FIG. 9) including the calculated measurement result, and uses the created measurement result report packet 41 as the communication control of the transmission source of the control packet 40 for delay measurement. For example, the data is transmitted to the apparatus 20 via a standby communication path.

また、時間差測定部27は、現用系および予備系のそれぞれの通信経路を介して、図10に示した切替判定用の制御パケット42を受信した場合に、予備系の通信経路を介して切替判定用の制御パケット42を受信した受信時刻から、現用系の通信経路を介して切替判定用の制御パケット42を受信するまでの時間差を測定する。そして、時間差測定部27は、測定結果を、切替判定用の制御パケット42に含まれているサービス情報と共に経路切替要求部29へ送信する。   In addition, when the time difference measuring unit 27 receives the control packet 42 for switching determination shown in FIG. 10 via the communication paths of the active system and the standby system, the time difference measuring unit 27 determines the switching via the communication path of the standby system. The time difference from the reception time at which the control packet 42 is received until the control packet 42 for switching determination is received through the active communication path is measured. Then, the time difference measurement unit 27 transmits the measurement result to the route switching request unit 29 together with the service information included in the control packet 42 for switching determination.

経路切替要求部29は、時間差測定部27から時間差の測定結果を受信した場合に、閾値DB28内の切替閾値テーブル280を参照し、測定結果が示す時間差が切替閾値テーブル280に格納されている少なくともいずれかの切替閾値以上となっているか否かを判定する。   When the path switching request unit 29 receives the measurement result of the time difference from the time difference measuring unit 27, the path switching request unit 29 refers to the switching threshold table 280 in the threshold DB 28, and at least the time difference indicated by the measurement result is stored in the switching threshold table 280. It is determined whether or not any switching threshold is exceeded.

少なくともいずれかの切替閾値以上となっている場合、経路切替要求部29は、該当する切替閾値の中で最大の切替閾値に対応付けられているサービスレベルを切替閾値テーブル280から抽出する。そして、経路切替要求部29は、抽出したサービスレベルの中から、時間差測定部27から受信したサービス情報において現用系の経路種別に対応付けられているサービスレベルをさらに抽出する。   When it is at least one of the switching thresholds or more, the path switching request unit 29 extracts the service level associated with the maximum switching threshold among the corresponding switching thresholds from the switching threshold table 280. Then, the route switching request unit 29 further extracts a service level associated with the active route type in the service information received from the time difference measuring unit 27 from the extracted service levels.

時間差測定部27から受信したサービス情報の中に、現用系の経路種別に対応付けられているサービスレベルが含まれているということは、そのサービスレベルのユーザデータパケットが現用系の通信経路を介して送信されていることを意味している。時間差測定部27から受信したサービス情報の中に、現用系の経路種別に対応付けられているサービスレベルが含まれていなければ、そのサービスレベルのユーザデータパケットが予備系の通信経路を介して送信されていることを意味している。   The service information received from the time difference measuring unit 27 includes the service level associated with the active route type. This means that the user data packet of that service level is transmitted via the active communication route. Means that it has been sent. If the service information received from the time difference measuring unit 27 does not include a service level associated with the active route type, a user data packet of that service level is transmitted via the standby communication route. It means that

次に、経路切替要求部29は、例えば図12に示すような切替要求パケット44を作成し、作成した切替要求パケット44を、切替判定用の制御パケット42の送信元の通信制御装置20へ、例えば予備系の通信経路を介して送信する。ここで、切替要求パケット44には、例えば図12に示すように、ヘッダ440およびペイロード441が含まれ、ペイロード441には、当該パケットが切替要求パケットであることを示すメッセージID442と、切替閾値テーブル280を参照して抽出したサービスレベル443とが格納される。   Next, the path switching request unit 29 creates a switching request packet 44 as shown in FIG. 12, for example, and sends the created switching request packet 44 to the communication control apparatus 20 that is the transmission source of the control packet 42 for switching determination. For example, transmission is performed via a standby communication path. Here, for example, as shown in FIG. 12, the switching request packet 44 includes a header 440 and a payload 441. The payload 441 includes a message ID 442 indicating that the packet is a switching request packet, and a switching threshold table. The service level 443 extracted with reference to 280 is stored.

次に、経路切替要求部29は、切替要求パケット44の送信後に、当該切替要求パケット44の送信先の通信制御装置20から例えば図13に示すような切替応答パケット45を受信する。切替応答パケット45には、例えば図13に示すように、ヘッダ450およびペイロード451が含まれ、ペイロード451には、当該パケットが切替応答パケットであることを示すメッセージID452と、切り替えの対象となるサービスのサービスID453とが格納される。   Next, after transmitting the switching request packet 44, the path switching request unit 29 receives a switching response packet 45 as shown in FIG. 13 from the communication control apparatus 20 that is the transmission destination of the switching request packet 44, for example. For example, as shown in FIG. 13, the switching response packet 45 includes a header 450 and a payload 451. The payload 451 includes a message ID 452 indicating that the packet is a switching response packet, and a service to be switched. Of the service ID 453 is stored.

切替応答パケット45を受信した場合、経路切替要求部29は、当該切替応答パケット45のサービスID453で指定されたサービスIDをヘッダに含むユーザデータパケット43(図11参照)を、現用系および予備系のそれぞれの通信経路を介して受信する。そして、経路切替要求部29は、指定されたサービスIDをヘッダに含むユーザデータパケット43であって、同一のシーケンス番号をヘッダに含むユーザデータパケット43について、現用系および予備系のそれぞれの通信経路を介して受信したユーザデータパケット43のペイロード431が一致するか否かを判定する。   When the switching response packet 45 is received, the path switching request unit 29 receives the user data packet 43 (see FIG. 11) including the service ID specified by the service ID 453 of the switching response packet 45 in the header, as the active system and the standby system. Are received via respective communication paths. Then, the path switching request unit 29 is a user data packet 43 that includes the specified service ID in the header, and the user data packet 43 that includes the same sequence number in the header. It is determined whether or not the payload 431 of the user data packet 43 received via the ID matches.

現用系および予備系のそれぞれの通信経路を介して受信した同一のシーケンス番号を有するユーザデータパケット43の組のデータが、所定個数(例えば100パケット)以上連続して一致した場合、経路切替要求部29は、例えば図14に示すような切替完了通知パケット46を作成し、作成した切替完了通知パケット46を、ユーザデータパケット43の送信元の通信制御装置20へ送信する。   When the data of a set of user data packets 43 having the same sequence number received via the communication paths of the active system and the standby system are continuously matched by a predetermined number (for example, 100 packets), a path switching request unit 29 creates a switching completion notification packet 46 as shown in FIG. 14, for example, and transmits the created switching completion notification packet 46 to the communication control device 20 that is the transmission source of the user data packet 43.

切替完了通知パケット46には、例えば図14に示すように、ヘッダ460およびペイロード461が含まれ、ペイロード461には、当該パケットが切替完了通知パケットであることを示すメッセージID462と、切り替えの対象となるサービスのサービスID463とが格納される。   For example, as shown in FIG. 14, the switching completion notification packet 46 includes a header 460 and a payload 461. The payload 461 includes a message ID 462 indicating that the packet is a switching completion notification packet, and a switching target. The service ID 463 of the service to be stored is stored.

また、経路切替要求部29は、時間差測定部27から時間差の測定結果を受信した場合に、閾値DB28内の切戻閾値テーブル285を参照し、測定結果が示す時間差が切戻閾値テーブル285に格納されている少なくともいずれかの切戻閾値未満となっているか否かを判定する。   When the path switching request unit 29 receives the time difference measurement result from the time difference measurement unit 27, the path switching request unit 29 refers to the switchback threshold value table 285 in the threshold value DB 28 and stores the time difference indicated by the measurement result in the switchback threshold value table 285. It is determined whether or not it is less than at least one of the switchback thresholds.

少なくともいずれかの切戻閾値未満となっている場合、経路切替要求部29は、該当する切戻閾値の中で最大の切戻閾値に対応付けられているサービスレベルを切戻閾値テーブル285から抽出する。そして、経路切替要求部29は、抽出したサービスレベルの中から、時間差測定部27から受信したサービス情報において予備系の経路種別に対応付けられているサービスレベルをさらに抽出する。   If it is less than at least one of the switchback thresholds, the path switching request unit 29 extracts the service level associated with the maximum switchback threshold among the switchback thresholds from the switchback threshold table 285. To do. Then, the route switching request unit 29 further extracts a service level associated with the standby route type in the service information received from the time difference measuring unit 27 from the extracted service levels.

次に、経路切替要求部29は、例えば図15に示すような切戻要求パケット47を作成し、作成した切戻要求パケット47を、切替判定用の制御パケット42の送信元の通信制御装置20へ、例えば予備系の通信経路を介して送信する。ここで、切戻要求パケット47には、例えば図15に示すように、ヘッダ470およびペイロード471が含まれ、ペイロード471には、当該パケットが切戻要求パケットであることを示すメッセージID472と、切戻閾値テーブル285を参照して抽出したサービスレベル473とが格納される。   Next, the path switching request unit 29 creates a switchback request packet 47 as shown in FIG. 15, for example, and uses the created switchback request packet 47 as a communication control device 20 that is a transmission source of the control packet 42 for switching determination. For example, via a standby communication path. Here, for example, as shown in FIG. 15, the return request packet 47 includes a header 470 and a payload 471. The payload 471 includes a message ID 472 indicating that the packet is a return request packet, and a return ID. The service level 473 extracted with reference to the return threshold table 285 is stored.

次に、経路切替要求部29は、切戻要求パケット47の送信後に、当該切戻要求パケット47の送信先の通信制御装置20から例えば図16に示すような切戻応答パケット48を受信する。切戻応答パケット48には、例えば図16に示すように、ヘッダ480およびペイロード481が含まれ、ペイロード481には、当該パケットが切戻応答パケットであることを示すメッセージID482と、切り戻しの対象となるサービスのサービスID483とが格納される。   Next, after transmitting the switch-back request packet 47, the path switching request unit 29 receives a switch-back response packet 48 as shown in FIG. 16, for example, from the destination communication control apparatus 20 of the switch-back request packet 47. For example, as shown in FIG. 16, the return response packet 48 includes a header 480 and a payload 481. The payload 481 includes a message ID 482 indicating that the packet is a return response packet, and an object to be returned. The service ID 483 of the service to be stored is stored.

切戻応答パケット48を受信した場合、経路切替要求部29は、当該切戻応答パケット48のサービスID483で指定されたサービスIDをヘッダに含むユーザデータパケット43(図11参照)を、現用系および予備系のそれぞれの通信経路を介して受信する。そして、経路切替要求部29は、指定されたサービスIDをヘッダに含むユーザデータパケット43であって、同一のシーケンス番号を有するユーザデータパケット43について、現用系および予備系のそれぞれの通信経路を介して受信したユーザデータパケット43のデータが一致するか否かを判定する。   When the switchback response packet 48 is received, the path switching request unit 29 receives the user data packet 43 (see FIG. 11) including the service ID specified by the service ID 483 of the switchback response packet 48 in the header, Receive via each communication path of the backup system. Then, the path switching request unit 29 is a user data packet 43 including the specified service ID in the header, and the user data packet 43 having the same sequence number is transmitted through the communication paths of the active system and the standby system. It is then determined whether the data of the received user data packet 43 matches.

現用系および予備系のそれぞれの通信経路を介して受信した同一のシーケンス番号を有するユーザデータパケット43の組のデータが、所定個数(例えば100パケット)以上連続して一致した場合、経路切替要求部29は、例えば図17に示すような切戻完了通知パケット49を作成し、作成した切戻完了通知パケット49を、ユーザデータパケット43の送信元の通信制御装置20へ送信する。   When the data of a set of user data packets 43 having the same sequence number received via the communication paths of the active system and the standby system are continuously matched by a predetermined number (for example, 100 packets), a path switching request unit 29 creates a fail-back completion notification packet 49 as shown in FIG. 17, for example, and sends the created fail-back completion notification packet 49 to the communication control device 20 that is the transmission source of the user data packet 43.

切戻完了通知パケット49には、例えば図17に示すように、ヘッダ490およびペイロード491が含まれ、ペイロード491には、当該パケットが切戻完了通知パケットであることを示すメッセージID492と、切り戻しの対象となるサービスのサービスID493とが格納される。   For example, as shown in FIG. 17, the switchback completion notification packet 49 includes a header 490 and a payload 491. The payload 491 includes a message ID 492 indicating that the packet is a switchback completion notification packet, and a switchback. The service ID 493 of the service that is the target of the service is stored.

なお、切替要求パケット44、切替応答パケット45、切替完了通知パケット46、切戻要求パケット47、切戻応答パケット48、および切戻完了通知パケット49は、例えばITU−T Y.1731で定義されているVSM(Vendor Specific Message)フレームやAPS(Automatic Protection Switching)フレームのフォーマットをベースとして構成することができる。   Note that the switch request packet 44, the switch response packet 45, the switch completion notification packet 46, the switchback request packet 47, the switchback response packet 48, and the switchback completion notification packet 49 are, for example, ITU-T Y. It can be configured based on the format of a VSM (Vendor Specific Message) frame or an APS (Automatic Protection Switching) frame defined in 1731.

図2に戻って説明を続ける。経路切替指示部23は、図12に示した切替要求パケット44を受信した場合に、送信経路DB22内の送信経路テーブル220を参照し、受信した切替要求パケット44に含まれているサービスレベルに対応付けられており、かつ、現用系の経路種別が対応付けられているサービスIDを抽出する。   Returning to FIG. 2, the description will be continued. When receiving the switching request packet 44 illustrated in FIG. 12, the path switching instruction unit 23 refers to the transmission path table 220 in the transmission path DB 22 and corresponds to the service level included in the received switching request packet 44. A service ID associated with the active route type is extracted.

該当するサービスIDが複数ある場合には、対応付けられているサービスレベルが最も高い(サービスレベルの数値が最も低い)サービスIDを抽出する。それでもサービスIDが複数抽出された場合には、そのサービスIDの中で、予め定められたサービス毎の優先度に従い、優先度の最も高いサービスのサービスIDを抽出する。   If there are a plurality of corresponding service IDs, the service ID with the highest associated service level (the lowest service level value) is extracted. If a plurality of service IDs are still extracted, the service ID of the service with the highest priority is extracted from the service IDs according to a predetermined priority for each service.

そして、経路切替指示部23は、抽出したサービスIDと共に2重送信開始をデータ送受信部21に指示する。そして、経路切替指示部23は、当該サービスIDを含む切替応答パケット45(図13参照)を、切替要求パケット44の送信元の通信制御装置20へ例えば予備系の通信経路を介して送信する。   Then, the path switching instruction unit 23 instructs the data transmission / reception unit 21 to start double transmission together with the extracted service ID. Then, the path switching instruction unit 23 transmits a switching response packet 45 (see FIG. 13) including the service ID to the communication control device 20 that is the transmission source of the switching request packet 44 via, for example, a standby communication path.

そして、図14に示した切替完了通知パケット46を受信した場合、経路切替指示部23は、当該切替完了通知パケット46に含まれているサービスIDと共に2重送信終了をデータ送受信部21に指示する。そして、経路切替指示部23は、送信経路テーブル220を参照して、当該サービスIDに対応付けられている経路種別を、予備系の通信経路を示す情報に書き換える。   When the switching completion notification packet 46 illustrated in FIG. 14 is received, the path switching instruction unit 23 instructs the data transmission / reception unit 21 to terminate the double transmission together with the service ID included in the switching completion notification packet 46. . Then, the route switching instruction unit 23 refers to the transmission route table 220 and rewrites the route type associated with the service ID into information indicating the standby communication route.

また、図15に示した切戻要求パケット47を受信した場合、経路切替指示部23は、送信経路DB22内の送信経路テーブル220を参照し、受信した切戻要求パケット47に含まれているサービスレベルに対応付けられており、かつ、予備系の経路種別が対応付けられているサービスIDを抽出する。   In addition, when the switch-back request packet 47 shown in FIG. 15 is received, the path switching instruction unit 23 refers to the transmission path table 220 in the transmission path DB 22, and includes the service included in the received switch-back request packet 47. A service ID that is associated with a level and that is associated with a backup route type is extracted.

該当するサービスIDが複数ある場合には、対応付けられているサービスレベルが最も高い(サービスレベルの数値が最も低い)サービスIDを抽出する。それでもサービスIDが複数抽出された場合には、そのサービスIDの中で、予め定められたサービス毎の優先度に従い、優先度の最も高いサービスのサービスIDを抽出する。   If there are a plurality of corresponding service IDs, the service ID with the highest associated service level (the lowest service level value) is extracted. If a plurality of service IDs are still extracted, the service ID of the service with the highest priority is extracted from the service IDs according to a predetermined priority for each service.

そして、経路切替指示部23は、抽出したサービスIDと共に2重送信開始をデータ送受信部21に指示する。そして、経路切替指示部23は、当該サービスIDを含む切戻応答パケット48(図16参照)を、切戻要求パケット47の送信元の通信制御装置20へ例えば予備系の通信経路を介して送信する。   Then, the path switching instruction unit 23 instructs the data transmission / reception unit 21 to start double transmission together with the extracted service ID. Then, the path switching instruction unit 23 transmits a switchback response packet 48 (see FIG. 16) including the service ID to the communication control device 20 that is the transmission source of the switchback request packet 47 via, for example, a standby communication path. To do.

そして、図17に示した切戻完了通知パケット49を受信した場合、経路切替指示部23は、当該切戻完了通知パケット49に含まれているサービスIDと共に2重送信終了をデータ送受信部21に指示する。そして、経路切替指示部23は、送信経路テーブル220を参照して、当該サービスIDに対応付けられている経路種別を、現用系の通信経路を示す情報に書き換える。   When the switching completion notification packet 49 shown in FIG. 17 is received, the path switching instruction unit 23 notifies the data transmission / reception unit 21 of the end of the double transmission together with the service ID included in the switching completion notification packet 49. Instruct. Then, the route switching instruction unit 23 refers to the transmission route table 220 and rewrites the route type associated with the service ID into information indicating the active communication route.

次に、通信システム10の動作をフローチャートを用いて説明する。図18は、現用系と予備系の通信経路の伝送時間差の測定動作の一例を示すフローチャートである。通信制御装置20は、例えば深夜や明方等の輻輳が発生している可能性が低い時間帯に、管理装置11からの指示により、本フローチャートに示す動作を開始する。なお、本フローチャートでは、図1のシステム構成における送信側の通信制御装置20−1と受信側の通信制御装置20−2を動作主体として説明する。   Next, the operation of the communication system 10 will be described using a flowchart. FIG. 18 is a flowchart showing an example of an operation for measuring the transmission time difference between the active and standby communication paths. The communication control device 20 starts the operation shown in this flowchart in response to an instruction from the management device 11 in a time zone where there is a low possibility that congestion such as midnight or light is occurring. In this flowchart, the transmission side communication control device 20-1 and the reception side communication control device 20-2 in the system configuration of FIG.

まず、通信制御装置20−1の制御パケット送信部25は、図8に示した遅延時間測定用の制御パケット40を作成し、作成した制御パケット40を、現用系の通信経路および予備系の通信経路のそれぞれを介して通信制御装置20−2へ送信する(S100)。   First, the control packet transmission unit 25 of the communication control apparatus 20-1 creates the control packet 40 for delay time measurement shown in FIG. 8, and uses the created control packet 40 as the active communication path and the standby communication. It transmits to the communication control apparatus 20-2 via each of the paths (S100).

次に、通信制御装置20−2の時間差測定部27は、現用系および予備系のそれぞれの通信経路を介して制御パケット40を受信し、予備系の通信経路を介して受信した遅延測定用の制御パケット40の伝送時間から、現用系の通信経路を介して受信した遅延測定用の制御パケット40の伝送時間の時間差を測定する(S101)。   Next, the time difference measuring unit 27 of the communication control apparatus 20-2 receives the control packet 40 via the communication paths of the active system and the standby system, and uses the delay measurement received via the communication path of the standby system. From the transmission time of the control packet 40, the time difference of the transmission time of the control packet 40 for delay measurement received via the working communication path is measured (S101).

そして、時間差測定部27は、測定結果を含む測定結果報告パケット41(図9参照)を作成し、作成した測定結果報告パケット41を、通信制御装置20−1へ例えば予備系の通信経路を介して送信する(S102)。通信制御装置20−1の制御パケット送信部25は、受信した測定結果報告パケット41に含まれるVLANID413に対応付けて、測定結果報告パケット41に含まれているVLANID414および測定結果415の情報を遅延DB24に格納する(S103)。   Then, the time difference measuring unit 27 creates a measurement result report packet 41 (see FIG. 9) including the measurement results, and sends the created measurement result report packet 41 to the communication control device 20-1 via, for example, a standby communication path. (S102). The control packet transmission unit 25 of the communication control apparatus 20-1 associates the VLAN ID 413 and the measurement result 415 information included in the measurement result report packet 41 with the delay DB 24 in association with the VLAN ID 413 included in the received measurement result report packet 41. (S103).

そして、通信制御装置20−1の制御パケット送信部25は、図10に示した切替判定用の制御パケット42を2つ作成し、遅延DB24内の遅延テーブル240に格納されている遅延量に基づいて送信タイミングを調整して、所定時間毎(例えば100ミリ秒毎)に、現用系および予備系のそれぞれの通信経路に作成した制御パケット42を送信する(S104)。   Then, the control packet transmitter 25 of the communication control device 20-1 creates two control packets 42 for switching determination shown in FIG. 10, and based on the delay amount stored in the delay table 240 in the delay DB 24. The transmission timing is adjusted, and the control packet 42 created in each of the active and standby communication paths is transmitted at predetermined time intervals (for example, every 100 milliseconds) (S104).

図19は、第1の実施形態における受信側の通信制御装置20の切替動作の一例を示すフローチャートである。なお、本フローチャートでは、図1のシステム構成において、受信側の通信制御装置20−2を動作主体として説明する。   FIG. 19 is a flowchart illustrating an example of a switching operation of the communication control device 20 on the receiving side in the first embodiment. In this flowchart, the receiving side communication control apparatus 20-2 will be described as an operating subject in the system configuration of FIG.

まず、時間差測定部27は、現用系および予備系のそれぞれの通信経路を介して、図10に示した切替判定用の制御パケット42を受信した場合に、予備系の通信経路を介して切替判定用の制御パケット42を受信した受信時刻から、現用系の通信経路を介して切替判定用の制御パケット42を受信するまでの受信時間差を測定する(S200)。そして、時間差測定部27は、測定結果を、切替判定用の制御パケット42に含まれているサービス情報と共に経路切替要求部29へ送信する。   First, when the time difference measuring unit 27 receives the control packet 42 for switching determination shown in FIG. 10 via the communication paths of the active system and the standby system, the time difference measuring unit 27 performs the switching determination via the communication path of the standby system. The reception time difference from the reception time at which the control packet 42 for reception is received until the control packet 42 for switching determination is received through the active communication path is measured (S200). Then, the time difference measurement unit 27 transmits the measurement result to the route switching request unit 29 together with the service information included in the control packet 42 for switching determination.

次に、経路切替要求部29は、閾値DB28内の切替閾値テーブル280を参照し、時間差測定部27から受信した測定結果が示す時間差が、もっとも値の大きい切替閾値(図6の例では4000ミリ秒)である切替閾値4以上か否かを判定する(S201)。   Next, the path switching request unit 29 refers to the switching threshold value table 280 in the threshold value DB 28, and the switching threshold value (4000 mm in the example of FIG. 6) indicates that the time difference indicated by the measurement result received from the time difference measuring unit 27 is the largest. It is determined whether or not the switching threshold is 4 or more (seconds) (S201).

時間差が切替閾値4以上である場合(S201:Yes)、経路切替要求部29は、切替閾値4に対応付けられているサービスレベル1〜4を切替閾値テーブル280から抽出する。そして、経路切替要求部29は、抽出したサービスレベル1〜4の中から、時間差測定部27から受信したサービス情報において現用系の経路種別に対応付けられている(即ち、現用系の通信経路を介して提供中の)サービスのサービスレベルをさらに抽出する。   When the time difference is equal to or greater than the switching threshold 4 (S201: Yes), the path switching request unit 29 extracts the service levels 1 to 4 associated with the switching threshold 4 from the switching threshold table 280. Then, the route switching request unit 29 is associated with the active route type in the service information received from the time difference measuring unit 27 from the extracted service levels 1 to 4 (that is, the active communication route is changed). The service level of the service (provided via the service) is further extracted.

次に、経路切替要求部29は、抽出したサービスレベルを含む切替要求パケット44(図12参照)を作成し、作成した切替要求パケット44を通信制御装置20−1へ例えば予備系の通信経路を介して送信する(S202)。なお、サービスレベル1〜4の中に、現用系の通信経路を介して提供中のサービスのサービスレベルが存在しない場合、経路の切り替えを実行する必要はないため、時間差測定部27は再びステップS200に示した処理を実行する。   Next, the path switching request unit 29 creates a switching request packet 44 (see FIG. 12) including the extracted service level, and sends the created switching request packet 44 to the communication control apparatus 20-1, for example, a standby communication path. (S202). Note that if there is no service level of the service being provided through the active communication path among the service levels 1 to 4, there is no need to execute path switching, so the time difference measuring unit 27 again performs step S200. Execute the process shown in.

次に、通信制御装置20−1から切替応答パケット45(図13参照)を受信した場合(S209:Yes)、経路切替要求部29は、引き続き、当該切替応答パケット45のサービスID453で指定されたサービスIDをヘッダに含むユーザデータパケット43(図11参照)を、現用系および予備系のそれぞれの通信経路を介して受信する。そして、経路切替要求部29は、指定されたサービスIDをヘッダに含むユーザデータパケット43であって、同一のシーケンス番号を有するユーザデータパケット43について、現用系および予備系のそれぞれの通信経路を介して受信したユーザデータパケット43のデータが一致するか否かを判定する(S210)。   Next, when the switching response packet 45 (see FIG. 13) is received from the communication control device 20-1 (S209: Yes), the path switching request unit 29 continues to be specified by the service ID 453 of the switching response packet 45. A user data packet 43 (see FIG. 11) including the service ID in the header is received via the communication paths of the active system and the standby system. Then, the path switching request unit 29 is a user data packet 43 including the specified service ID in the header, and the user data packet 43 having the same sequence number is transmitted through the communication paths of the active system and the standby system. Then, it is determined whether the data of the received user data packet 43 is identical (S210).

現用系および予備系のそれぞれの通信経路を介して受信した同一のシーケンス番号を有するユーザデータパケット43の組のデータが、所定個数(例えば100パケット)以上連続して一致した場合(S210:Yes)、経路切替要求部29は、図14に示した切替完了通知パケット46を作成する。そして、経路切替要求部29は、作成した切替完了通知パケット46を、例えば予備系の通信経路を介して通信制御装置20−1へ送信し(S211)、時間差測定部27は再びステップS200に示した処理を実行する。   When the data of the set of user data packets 43 having the same sequence number received via the communication paths of the active system and the standby system continuously match a predetermined number (for example, 100 packets) or more (S210: Yes) The path switching request unit 29 creates the switching completion notification packet 46 shown in FIG. Then, the path switching request unit 29 transmits the created switching completion notification packet 46 to the communication control apparatus 20-1 via, for example, the standby communication path (S211), and the time difference measuring unit 27 again shows in step S200. Execute the process.

一方、現用系および予備系のそれぞれの通信経路を介して受信した同一のシーケンス番号を有するユーザデータパケット43の組のデータについて、所定個数(例えば1000パケット)以上比較しても、所定個数(例えば100パケット)以上連続して一致しなかった場合(S210:No)、経路切替要求部29は、通信制御装置20−1に対してエラーを通知し(S212)、時間差測定部27は再びステップS200に示した処理を実行する。   On the other hand, even if the data of a set of user data packets 43 having the same sequence number received via the communication paths of the active system and the standby system are compared with a predetermined number (for example, 1000 packets), a predetermined number (for example, (100 packets) If they do not match continuously (S210: No), the path switching request unit 29 notifies the communication control device 20-1 of an error (S212), and the time difference measuring unit 27 again performs step S200. Execute the process shown in.

ステップS201において、時間差が切替閾値4未満である場合(S201:No)、経路切替要求部29は、閾値DB28内の切替閾値テーブル280を参照し、時間差測定部27から受信した測定結果が示す時間差が、次に値の大きい切替閾値3(図6の例では100ミリ秒)以上か否かを判定する(S203)。   In step S201, when the time difference is less than the switching threshold 4 (S201: No), the path switching request unit 29 refers to the switching threshold table 280 in the threshold DB 28 and indicates the time difference indicated by the measurement result received from the time difference measuring unit 27. However, it is determined whether or not it is equal to or greater than the next largest switching threshold 3 (100 milliseconds in the example of FIG. 6) (S203).

時間差が切替閾値3以上である場合(S203:Yes)、経路切替要求部29は、切替閾値3に対応付けられているサービスレベルを切替閾値テーブル280から抽出する。そして、経路切替要求部29は、抽出したサービスレベルの中から、時間差測定部27から受信したサービス情報において現用系の経路種別に対応付けられている(即ち、現用系の通信経路を介して提供中の)サービスのサービスレベルをさらに抽出する。   When the time difference is equal to or greater than the switching threshold 3 (S203: Yes), the path switching request unit 29 extracts the service level associated with the switching threshold 3 from the switching threshold table 280. Then, the route switching request unit 29 is associated with the active route type in the service information received from the time difference measuring unit 27 from the extracted service levels (ie, provided via the active communication route). Further extract the service level of the service.

そして、経路切替要求部29は、抽出したサービスレベルを含む切替要求パケット44(図12参照)を作成し、作成した切替要求パケット44を通信制御装置20−1へ例えば予備系の通信経路を介して送信し(S204)、ステップS209に示した処理を実行する。なお、サービスレベル1〜3の中に、現用系の通信経路を介して提供中のサービスのサービスレベルが存在しない場合、経路の切り替えを実行する必要はないため、時間差測定部27は再びステップS200に示した処理を実行する。   Then, the path switching request unit 29 creates a switching request packet 44 (see FIG. 12) including the extracted service level, and sends the created switching request packet 44 to the communication control apparatus 20-1 via, for example, a standby communication path. (S204), and the process shown in step S209 is executed. Note that if there is no service level of the service being provided through the active communication path among the service levels 1 to 3, it is not necessary to perform path switching, so the time difference measuring unit 27 again performs step S200. Execute the process shown in.

ステップS203において、時間差が切替閾値3未満である場合(S203:No)、経路切替要求部29は、閾値DB28内の切替閾値テーブル280を参照し、時間差測定部27から受信した測定結果が示す時間差が、次に値の大きい切替閾値2(図6の例では30ミリ秒)以上か否かを判定する(S205)。   In step S203, when the time difference is less than the switching threshold 3 (S203: No), the path switching request unit 29 refers to the switching threshold table 280 in the threshold DB 28 and indicates the time difference indicated by the measurement result received from the time difference measuring unit 27. However, it is determined whether or not it is equal to or greater than the next largest switching threshold 2 (30 milliseconds in the example of FIG. 6) (S205).

時間差が切替閾値2以上である場合(S205:Yes)、経路切替要求部29は、切替閾値2に対応付けられているサービスレベルを切替閾値テーブル280から抽出する。そして、経路切替要求部29は、抽出したサービスレベルの中から、時間差測定部27から受信したサービス情報において現用系の経路種別に対応付けられている(即ち、現用系の通信経路を介して提供中の)サービスのサービスレベルをさらに抽出する。   When the time difference is equal to or greater than the switching threshold 2 (S205: Yes), the path switching request unit 29 extracts the service level associated with the switching threshold 2 from the switching threshold table 280. Then, the route switching request unit 29 is associated with the active route type in the service information received from the time difference measuring unit 27 from the extracted service levels (ie, provided via the active communication route). Further extract the service level of the service.

そして、経路切替要求部29は、抽出したサービスレベルを含む切替要求パケット44(図12参照)を作成し、作成した切替要求パケット44を通信制御装置20−1へ例えば予備系の通信経路を介して送信し(S206)、ステップS209に示した処理を実行する。なお、サービスレベル1および2の中に、現用系の通信経路を介して提供中のサービスのサービスレベルが存在しない場合、経路の切り替えを実行する必要はないため、時間差測定部27は再びステップS200に示した処理を実行する。   Then, the path switching request unit 29 creates a switching request packet 44 (see FIG. 12) including the extracted service level, and sends the created switching request packet 44 to the communication control apparatus 20-1 via, for example, a standby communication path. (S206), and the process shown in step S209 is executed. Note that if there is no service level of the service being provided through the active communication path in the service levels 1 and 2, there is no need to perform path switching, so the time difference measuring unit 27 again performs step S200. Execute the process shown in.

ステップS205において、時間差が切替閾値2未満である場合(S205:No)、経路切替要求部29は、閾値DB28内の切替閾値テーブル280を参照し、時間差測定部27から受信した測定結果が示す時間差が、もっとも値の小さい切替閾値1(図6の例では10ミリ秒)以上か否かを判定する(S207)。時間差が切替閾値1未満である場合(S207:No)、経路の切り替えを実行する必要はないため、時間差測定部27は再びステップS200に示した処理を実行する。   In step S205, when the time difference is less than the switching threshold 2 (S205: No), the path switching request unit 29 refers to the switching threshold table 280 in the threshold DB 28 and indicates the time difference indicated by the measurement result received from the time difference measuring unit 27. However, it is determined whether or not it is greater than or equal to the smallest switching threshold 1 (10 milliseconds in the example of FIG. 6) (S207). When the time difference is less than the switching threshold value 1 (S207: No), it is not necessary to execute the path switching, and therefore the time difference measurement unit 27 executes the process shown in step S200 again.

時間差が切替閾値1以上である場合(S207:Yes)、経路切替要求部29は、切替閾値1に対応付けられているサービスレベル1を切替閾値テーブル280から抽出する。そして、経路切替要求部29は、抽出したサービスレベル1が、時間差測定部27から受信したサービス情報において現用系の経路種別に対応付けられていれば(即ち、現用系の通信経路を介して提供中であれば)、当該サービスレベルを含む切替要求パケット44(図12参照)を作成する。   When the time difference is equal to or greater than the switching threshold 1 (S207: Yes), the path switching request unit 29 extracts the service level 1 associated with the switching threshold 1 from the switching threshold table 280. Then, the route switching request unit 29 provides the extracted service level 1 if it is associated with the active route type in the service information received from the time difference measuring unit 27 (that is, provided via the active communication route). If so, a switch request packet 44 (see FIG. 12) including the service level is created.

そして、経路切替要求部29は、作成した切替要求パケット44を通信制御装置20−1へ例えば予備系の通信経路を介して送信し(S208)、ステップS209に示した処理を実行する。なお、サービスレベル1が、現用系の通信経路を介して提供中のサービスのサービスレベルではない場合、経路の切り替えを実行する必要はないため、時間差測定部27は再びステップS200に示した処理を実行する。   Then, the path switching request unit 29 transmits the created switching request packet 44 to the communication control apparatus 20-1 via, for example, a standby communication path (S208), and executes the process shown in step S209. Note that when the service level 1 is not the service level of the service being provided through the active communication path, there is no need to perform path switching, so the time difference measurement unit 27 performs the process shown in step S200 again. Run.

図20は、送信側の通信制御装置20の切替動作の一例を示すフローチャートである。なお、本フローチャートでは、図1のシステム構成における送信側の通信制御装置20−1を動作主体として説明する。   FIG. 20 is a flowchart illustrating an example of the switching operation of the communication control device 20 on the transmission side. In this flowchart, the transmission-side communication control device 20-1 in the system configuration of FIG.

まず、経路切替指示部23は、図12に示した切替要求パケット44を受信した場合に(S300:Yes)、送信経路DB22内の送信経路テーブル220を参照して、受信した切替要求パケット44に含まれているサービスレベルに対応付けられており、かつ、現用系の経路種別が対応付けられている(即ち、現用系の通信経路を介して提供中のサービスの)サービスIDを抽出する(S301)。   First, when receiving the switching request packet 44 illustrated in FIG. 12 (S300: Yes), the path switching instruction unit 23 refers to the transmission path table 220 in the transmission path DB 22 and determines the received switching request packet 44. A service ID that is associated with the included service level and that is associated with the active route type (that is, the service being provided via the active communication route) is extracted (S301). ).

次に、経路切替指示部23は、抽出したサービスIDの中でサービスレベルが最も高い(サービスレベルの数値が最も低い)サービスIDを1つ抽出し(S302)、抽出したサービスIDを含む切替応答パケット45(図13参照)を、通信制御装置20−2へ例えば予備系の通信経路を介して送信する(S303)。   Next, the path switching instruction unit 23 extracts one service ID having the highest service level (the lowest service level value) among the extracted service IDs (S302), and a switching response including the extracted service ID. The packet 45 (see FIG. 13) is transmitted to the communication control apparatus 20-2 via, for example, a standby communication path (S303).

次に、経路切替指示部23は、当該サービスIDと共に2重送信開始をデータ送受信部21に指示し(S304)、図14に示した切替完了通知パケット46を受信したか否かを判定する(S305)。切替完了通知パケット46ではなくエラー通知を受信した場合、経路切替指示部23は、通信制御装置20の管理者や管理装置11等に切り替えの失敗を示すエラーを通知する。   Next, the path switching instruction unit 23 instructs the data transmission / reception unit 21 to start double transmission together with the service ID (S304), and determines whether or not the switching completion notification packet 46 shown in FIG. 14 has been received (S304). S305). When an error notification is received instead of the switching completion notification packet 46, the path switching instruction unit 23 notifies the administrator of the communication control device 20, the management device 11, and the like of an error indicating a switching failure.

切替完了通知パケット46を受信した場合(S305:Yes)、経路切替指示部23は、受信した切替完了通知パケット46に含まれているサービスIDと共に2重送信終了をデータ送受信部21に指示する(S306)。そして、経路切替指示部23は、送信経路DB22内の送信経路テーブル220を参照して、当該サービスIDに対応付けられている経路種別を、予備系の通信経路を示す情報に書き換え(S307)、再びステップS300に示した処理を実行する。   When the switching completion notification packet 46 is received (S305: Yes), the path switching instruction unit 23 instructs the data transmission / reception unit 21 to terminate the double transmission together with the service ID included in the received switching completion notification packet 46 ( S306). Then, the path switching instruction unit 23 refers to the transmission path table 220 in the transmission path DB 22, and rewrites the path type associated with the service ID to information indicating the standby communication path (S307), The process shown in step S300 is executed again.

図21は、受信側の通信制御装置20の切戻動作の一例を示すフローチャートである。なお、本フローチャートでは、図1のシステム構成における受信側の通信制御装置20−2を動作主体として説明する。   FIG. 21 is a flowchart illustrating an example of the switching operation of the communication control device 20 on the receiving side. In this flowchart, the reception side communication control device 20-2 in the system configuration of FIG.

まず、時間差測定部27は、現用系および予備系のそれぞれの通信経路を介して、図10に示した切替判定用の制御パケット42を受信した場合に、予備系の通信経路を介して切替判定用の制御パケット42を受信した受信時刻から、現用系の通信経路を介して切替判定用の制御パケット42を受信するまでの受信時間差を測定する(S400)。そして、時間差測定部27は、測定結果を、切替判定用の制御パケット42に含まれているサービス情報と共に経路切替要求部29へ送信する。   First, when the time difference measuring unit 27 receives the control packet 42 for switching determination shown in FIG. 10 via the communication paths of the active system and the standby system, the time difference measuring unit 27 performs the switching determination via the communication path of the standby system. The reception time difference from the reception time at which the control packet 42 for reception is received until the control packet 42 for switching determination is received through the active communication path is measured (S400). Then, the time difference measurement unit 27 transmits the measurement result to the route switching request unit 29 together with the service information included in the control packet 42 for switching determination.

次に、経路切替要求部29は、閾値DB28内の切戻閾値テーブル285を参照し、時間差測定部27から受信した測定結果が示す時間差が、もっとも値の小さい切戻閾値である切戻閾値1(図7の例では5ミリ秒)未満か否かを判定する(S401)。   Next, the path switching request unit 29 refers to the switchback threshold value table 285 in the threshold value DB 28, and the switchback threshold value 1 is the switchback threshold value 1 in which the time difference indicated by the measurement result received from the time difference measurement unit 27 is the smallest value. It is determined whether it is less than (5 milliseconds in the example of FIG. 7) (S401).

時間差が切戻閾値1未満である場合(S401:Yes)、経路切替要求部29は、切戻閾値1に対応付けられているサービスレベル1〜4を切戻閾値テーブル285から抽出する。そして、経路切替要求部29は、抽出したサービスレベル1〜4の中から、時間差測定部27から受信したサービス情報において予備系の経路種別に対応付けられている(即ち、予備系の通信経路を介して提供中の)サービスのサービスレベルをさらに抽出する。   When the time difference is less than the switchback threshold value 1 (S401: Yes), the path switching request unit 29 extracts the service levels 1 to 4 associated with the switchback threshold value 1 from the switchback threshold value table 285. Then, the route switching request unit 29 is associated with the standby route type in the service information received from the time difference measuring unit 27 from the extracted service levels 1 to 4 (that is, the standby communication route is changed). The service level of the service (provided via the service) is further extracted.

そして、経路切替要求部29は、抽出したサービスレベルを含む切戻要求パケット47(図15参照)を作成し、作成した切戻要求パケット47を通信制御装置20−1へ例えば予備系の通信経路を介して送信する(S402)。なお、サービスレベル1〜4の中に、予備系の通信経路を介して提供中のサービスのサービスレベルが存在しない場合、経路の切り戻しを実行する必要はないため、時間差測定部27は再びステップS400に示した処理を実行する。   Then, the path switching request unit 29 creates a switchback request packet 47 (see FIG. 15) including the extracted service level, and sends the created switchback request packet 47 to the communication control device 20-1, for example, a standby communication path. (S402). If the service level of the service being provided through the standby communication path does not exist in the service levels 1 to 4, there is no need to perform path switchback, so the time difference measuring unit 27 performs the step again. The process shown in S400 is executed.

次に、通信制御装置20−1から切戻応答パケット48(図16参照)を受信した場合(S409:Yes)、経路切替要求部29は、引き続き、当該切戻応答パケット48のサービスID483で指定されたサービスIDをヘッダに含むユーザデータパケット43(図11参照)を、現用系および予備系のそれぞれの通信経路を介して受信する。そして、経路切替要求部29は、指定されたサービスIDをヘッダに含むユーザデータパケット43であって、同一のシーケンス番号を有するユーザデータパケット43について、現用系および予備系のそれぞれの通信経路を介して受信したユーザデータパケット43のデータが一致するか否かを判定する(S410)。   Next, when the switchback response packet 48 (see FIG. 16) is received from the communication control device 20-1 (S409: Yes), the path switching request unit 29 continues to specify the service ID 483 of the switchback response packet 48. The user data packet 43 (see FIG. 11) including the service ID in the header is received via the communication paths of the active system and the standby system. Then, the path switching request unit 29 is a user data packet 43 including the specified service ID in the header, and the user data packet 43 having the same sequence number is transmitted through the communication paths of the active system and the standby system. Then, it is determined whether or not the data of the received user data packet 43 matches (S410).

現用系および予備系のそれぞれの通信経路を介して受信した同一のシーケンス番号を有するユーザデータパケット43の組のデータが、所定個数(例えば100パケット)以上連続して一致した場合(S410:Yes)、経路切替要求部29は、図17に示した切戻完了通知パケット49を作成する。そして、経路切替要求部29は、作成した切戻完了通知パケット49を、例えば予備系の通信経路を介して通信制御装置20−1へ送信し(S411)、時間差測定部27は再びステップS400に示した処理を実行する。   When data of a set of user data packets 43 having the same sequence number received via the communication paths of the active system and the standby system continuously match a predetermined number (for example, 100 packets) (S410: Yes) The route switching request unit 29 creates the switchback completion notification packet 49 shown in FIG. Then, the path switching request unit 29 transmits the created switchback completion notification packet 49 to the communication control apparatus 20-1 via, for example, the standby communication path (S411), and the time difference measurement unit 27 returns to step S400 again. Perform the indicated process.

一方、現用系および予備系のそれぞれの通信経路を介して受信した同一のシーケンス番号を有するユーザデータパケット43の組のデータについて、所定個数(例えば1000パケット)以上比較しても、所定個数(例えば100パケット)以上連続して一致しなかった場合(S410:No)、経路切替要求部29は、通信制御装置20−1に対してエラーを通知し(S412)、時間差測定部27は再びステップS400に示した処理を実行する。   On the other hand, even if the data of a set of user data packets 43 having the same sequence number received via the communication paths of the active system and the standby system are compared with a predetermined number (for example, 1000 packets), a predetermined number (for example, (100 packets) If there is no continuous match (S410: No), the path switching request unit 29 notifies the communication control device 20-1 of an error (S412), and the time difference measurement unit 27 again performs step S400. Execute the process shown in.

ステップS401において、時間差が切戻閾値1以上である場合(S401:No)、経路切替要求部29は、閾値DB28内の切戻閾値テーブル285を参照し、時間差測定部27から受信した測定結果が示す時間差が、次に値の小さい切戻閾値2(図7の例では15ミリ秒)未満か否かを判定する(S403)。   In step S401, when the time difference is greater than or equal to the switchback threshold value 1 (S401: No), the path switching request unit 29 refers to the switchback threshold value table 285 in the threshold value DB 28, and the measurement result received from the time difference measurement unit 27 is It is determined whether or not the indicated time difference is less than the next smallest return threshold value 2 (15 milliseconds in the example of FIG. 7) (S403).

時間差が切戻閾値2未満である場合(S403:Yes)、経路切替要求部29は、切戻閾値2に対応付けられているサービスレベルを切戻閾値テーブル285から抽出する。そして、経路切替要求部29は、抽出したサービスレベルの中から、時間差測定部27から受信したサービス情報において予備系の経路種別に対応付けられている(即ち、予備系の通信経路を介して提供中の)サービスのサービスレベルをさらに抽出する。   When the time difference is less than the switchback threshold 2 (S403: Yes), the path switching request unit 29 extracts the service level associated with the switchback threshold 2 from the switchback threshold table 285. Then, the route switching request unit 29 is associated with the standby route type in the service information received from the time difference measuring unit 27 from the extracted service levels (that is, provided via the standby communication route). Further extract the service level of the service.

そして、経路切替要求部29は、抽出したサービスレベルを含む切戻要求パケット47(図15参照)を作成し、作成した切戻要求パケット47を通信制御装置20−1へ例えば予備系の通信経路を介して送信し(S404)、ステップS409に示した処理を実行する。なお、サービスレベル2〜4の中に、予備系の通信経路を介して提供中のサービスのサービスレベルが存在しない場合、経路の切り戻しを実行する必要はないため、時間差測定部27は再びステップS400に示した処理を実行する。   Then, the path switching request unit 29 creates a switchback request packet 47 (see FIG. 15) including the extracted service level, and sends the created switchback request packet 47 to the communication control device 20-1, for example, a standby communication path. (S404), and the process shown in step S409 is executed. If the service level of the service being provided through the standby communication path does not exist in the service levels 2 to 4, there is no need to perform path switching back, so the time difference measuring unit 27 performs the step again. The process shown in S400 is executed.

ステップS403において、時間差が切戻閾値2以上である場合(S403:No)、経路切替要求部29は、閾値DB28内の切戻閾値テーブル285を参照して、時間差測定部27から受信した測定結果が示す時間差が、次に値の小さい切戻閾値3(図7の例では50ミリ秒)未満か否かを判定する(S405)。   In step S403, when the time difference is equal to or greater than the switchback threshold value 2 (S403: No), the path switching request unit 29 refers to the switchback threshold value table 285 in the threshold value DB 28 and receives the measurement result received from the time difference measurement unit 27. It is determined whether or not the time difference indicated by is less than the next smallest return threshold value 3 (50 milliseconds in the example of FIG. 7) (S405).

時間差が切戻閾値3未満である場合(S405:Yes)、経路切替要求部29は、切戻閾値3に対応付けられているサービスレベルを切戻閾値テーブル285から抽出する。そして、経路切替要求部29は、抽出したサービスレベルの中から、時間差測定部27から受信したサービス情報において予備系の経路種別に対応付けられている(即ち、予備系の通信経路を介して提供中の)サービスのサービスレベルをさらに抽出する。   When the time difference is less than the switchback threshold 3 (S405: Yes), the path switching request unit 29 extracts the service level associated with the switchback threshold 3 from the switchback threshold table 285. Then, the route switching request unit 29 is associated with the standby route type in the service information received from the time difference measuring unit 27 from the extracted service levels (that is, provided via the standby communication route). Further extract the service level of the service.

そして、経路切替要求部29は、抽出したサービスレベルを含む切戻要求パケット47(図15参照)を作成し、作成した切戻要求パケット47を通信制御装置20−1へ例えば予備系の通信経路を介して送信し(S406)、ステップS409に示した処理を実行する。なお、サービスレベル3および4の中に、予備系の通信経路を介して提供中のサービスのサービスレベルが存在しない場合、経路の切り戻しを実行する必要はないため、時間差測定部27は再びステップS400に示した処理を実行する。   Then, the path switching request unit 29 creates a switchback request packet 47 (see FIG. 15) including the extracted service level, and sends the created switchback request packet 47 to the communication control device 20-1, for example, a standby communication path. (S406), and the process shown in step S409 is executed. Note that if there is no service level of the service being provided through the standby communication path in the service levels 3 and 4, there is no need to perform path switching back, so the time difference measuring unit 27 performs the step again. The process shown in S400 is executed.

ステップS405において、時間差が切戻閾値3以上である場合(S405:No)、経路切替要求部29は、閾値DB28内の切戻閾値テーブル285を参照し、時間差測定部27から受信した測定結果が示す時間差が、もっとも値の大きい切戻閾値4未満か否かを判定する(S407)。時間差が切戻閾値4以上である場合(S407:No)、経路の切り戻しを実行する必要はないため、時間差測定部27は再びステップS400に示した処理を実行する。   In step S405, when the time difference is greater than or equal to the switchback threshold 3 (S405: No), the path switching request unit 29 refers to the switchback threshold table 285 in the threshold DB 28, and the measurement result received from the time difference measurement unit 27 is It is determined whether or not the time difference shown is less than the largest return threshold 4 (S407). If the time difference is greater than or equal to the switchback threshold value 4 (S407: No), it is not necessary to execute the switchback of the route, so the time difference measuring unit 27 executes the process shown in step S400 again.

時間差が切戻閾値4未満である場合(S407:Yes)、経路切替要求部29は、切戻閾値4に対応付けられているサービスレベル4を切戻閾値テーブル285から抽出する。そして、経路切替要求部29は、抽出したサービスレベル4が、時間差測定部27から受信したサービス情報において予備系の経路種別に対応付けられていれば(即ち、予備系の通信経路を介して提供中であれば)、当該サービスレベルを含む切戻要求パケット47(図15参照)を作成する。   When the time difference is less than the switchback threshold 4 (S407: Yes), the path switching request unit 29 extracts the service level 4 associated with the switchback threshold 4 from the switchback threshold table 285. Then, the path switching request unit 29 provides the extracted service level 4 if the service level 4 is associated with the standby path type in the service information received from the time difference measuring section 27 (that is, provided via the standby communication path). If so, a failback request packet 47 (see FIG. 15) including the service level is created.

そして、経路切替要求部29は、作成した切戻要求パケット47を通信制御装置20−1へ例えば予備系の通信経路を介して送信し(S408)、ステップS409に示した処理を実行する。なお、サービスレベル4のサービスが、予備系の通信経路を介して提供中ではない場合、経路の切り戻しを実行する必要はないため、時間差測定部27は再びステップS400に示した処理を実行する。   Then, the path switching request unit 29 transmits the created switchback request packet 47 to the communication control apparatus 20-1 via, for example, a standby communication path (S408), and executes the process shown in step S409. When the service level 4 service is not being provided via the standby communication path, it is not necessary to switch back the path, and therefore the time difference measurement unit 27 executes the process shown in step S400 again. .

図22は、送信側の通信制御装置20の切戻動作の一例を示すフローチャートである。なお、本フローチャートでは、図1のシステム構成において、送信側の通信制御装置20−1を動作主体として説明する。   FIG. 22 is a flowchart illustrating an example of a switchback operation of the communication control device 20 on the transmission side. In this flowchart, the communication control device 20-1 on the transmission side will be described as an operating subject in the system configuration of FIG.

まず、経路切替指示部23は、図15に示した切戻要求パケット47を受信した場合に(S500:Yes)、送信経路DB22内の送信経路テーブル220を参照して、受信した切戻要求パケット47に含まれているサービスレベルに対応付けられており、かつ、予備系の経路種別が対応付けられている(即ち、予備系の通信経路を介して提供中のサービスの)サービスIDを抽出する(S501)。   First, the path switching instruction unit 23 refers to the transmission path table 220 in the transmission path DB 22 when receiving the switching request packet 47 shown in FIG. 15 (S500: Yes). 47, the service ID associated with the service level included in 47 and associated with the standby path type (that is, the service being provided via the standby communication path) is extracted. (S501).

次に、経路切替指示部23は、抽出したサービスIDの中でサービスレベルが最も高い(サービスレベルの数値が最も低い)サービスIDを1つ抽出し(S502)、抽出したサービスIDを含む切戻応答パケット48(図16参照)を、通信制御装置20−2へ例えば予備系の通信経路を介して送信する(S503)。   Next, the path switching instruction unit 23 extracts one service ID having the highest service level (the lowest service level numerical value) among the extracted service IDs (S502), and performs switching back including the extracted service ID. The response packet 48 (see FIG. 16) is transmitted to the communication control apparatus 20-2 through, for example, a standby communication path (S503).

次に、経路切替指示部23は、当該サービスIDと共に2重送信開始をデータ送受信部21に指示し(S504)、図17に示した切戻完了通知パケット49を受信したか否かを判定する(S505)。切戻完了通知パケット49ではなくエラー通知を受信した場合、経路切替指示部23は、通信制御装置20の管理者や管理装置11等に切り戻しの失敗を示すエラーを通知する。   Next, the path switching instruction unit 23 instructs the data transmission / reception unit 21 to start double transmission together with the service ID (S504), and determines whether or not the switchback completion notification packet 49 shown in FIG. 17 has been received. (S505). When an error notification is received instead of the switchback completion notification packet 49, the path switching instruction unit 23 notifies the administrator of the communication control device 20, the management device 11, etc. of an error indicating a switchback failure.

切戻完了通知パケット49を受信した場合(S505:Yes)、経路切替指示部23は、受信した切戻完了通知パケット49に含まれているサービスIDと共に2重送信終了をデータ送受信部21に指示する(S506)。そして、経路切替指示部23は、送信経路DB22内の送信経路テーブル220を参照して、当該サービスIDに対応付けられている経路種別を、現用系の通信経路を示す情報に書き換え(S507)、再びステップS500に示した処理を実行する。   When the switchback completion notification packet 49 is received (S505: Yes), the path switching instruction unit 23 instructs the data transmission / reception unit 21 to end the double transmission together with the service ID included in the received switchback completion notification packet 49. (S506). Then, the route switching instruction unit 23 refers to the transmission route table 220 in the transmission route DB 22, and rewrites the route type associated with the service ID to information indicating the active communication route (S507), The process shown in step S500 is executed again.

以上、本発明の第1の実施形態について説明した。   The first embodiment of the present invention has been described above.

上記説明から明らかなように、本実施形態の通信システム10によれば、パケット通信におけるデータパケットの遅延に起因するサービスの品質の劣化を低く抑えることができる。   As is clear from the above description, according to the communication system 10 of the present embodiment, it is possible to suppress degradation of service quality due to the delay of data packets in packet communication.

また、上記した実施形態における通信制御装置20は、対向する通信制御装置20との間で、現用系と予備系の通信経路の伝送時間差を測定し、その測定結果に基づいて、受信側の通信制御装置20において、現用系と予備系のそれぞれの通信経路を介して送信された通信パケットがほぼ同時に到達するように送信タイミングを調整するため、輻輳が発生している可能性が低い予備系の通信経路を介して受信した切替判定用の制御パケット42の受信タイミングを基準として、現用系の通信経路の伝送遅延の増加(輻輳の発生)を精度よく検出することができる。   In addition, the communication control device 20 in the above-described embodiment measures the transmission time difference between the active and standby communication paths with the communication control device 20 facing the communication control device 20, and the communication on the receiving side is based on the measurement result. In the control device 20, the transmission timing is adjusted so that the communication packets transmitted through the communication paths of the active system and the standby system arrive almost simultaneously, so that the standby system is less likely to have congestion. With reference to the reception timing of the switching determination control packet 42 received via the communication path, it is possible to accurately detect an increase in transmission delay (occurrence of congestion) on the active communication path.

また、上記した実施形態における通信制御装置20は、ユーザデータパケット43についても、現用系と予備系のそれぞれの通信経路の伝送遅延を考慮して受信側の通信制御装置20においてほぼ同時に到達するように送信タイミングを調整するため、現用系と予備系との間で通信経路の切り替えが実行されても、切り替え前後におけるユーザデータパケット43の遅延の増大を防止することができる。   In addition, the communication control device 20 in the above-described embodiment also allows the user data packet 43 to arrive at the reception-side communication control device 20 almost simultaneously in consideration of the transmission delay of each of the active and standby communication paths. Therefore, even when the communication path is switched between the active system and the standby system, an increase in the delay of the user data packet 43 before and after the switching can be prevented.

また、上記した実施形態における通信制御装置20は、通信経路の切り替えや切り戻しの閾値をサービスレベル毎に設定することができるため、遅延に対する許容量の少ないサービスから優先して通信経路の切り替えを実行することができ、サービスの安定性を高めることができる。   In addition, since the communication control device 20 in the above-described embodiment can set the threshold for switching or switching back the communication path for each service level, the communication path is switched in preference to a service with a small allowable amount of delay. It can be executed and the stability of the service can be improved.

また、上記した実施形態における通信制御装置20は、通信経路の切り替えに際して、現用系および予備系の両方に同一のユーザデータパケット43を送信し、切り替え先の通信経路において所定個数以上のユーザデータパケット43が連続して正常に受信できた場合に、通信経路の切り替えを完了するため、通信経路の切り替えに起因するデータの欠落を防止することができる。   Further, the communication control device 20 in the above-described embodiment transmits the same user data packet 43 to both the active system and the standby system when switching the communication path, and a predetermined number or more user data packets are transmitted in the switching destination communication path. When 43 is successfully received continuously, the switching of the communication path is completed, so that data loss due to the switching of the communication path can be prevented.

また、上記した実施形態における通信制御装置20は、通信経路を予備系に切り替えた後に、現用系の伝送遅延が小さくなれば、通信経路を再び現用系に切り戻すため、より信頼性の高い現用系の通信経路を使用する時間をより長くとることができる。また、これにより、予備系の通信経路に流すパケットを少なくすることができるため、予備系の通信経路の通信帯域に余裕を持たせることができ、現用系の伝送遅延の増加を検出するための基準となる予備系の制御パケット42の遅延を少なくすることができ、現用系の伝送遅延の増加をより精度よく検出することができる。   In addition, since the communication control apparatus 20 in the above-described embodiment switches the communication path to the standby system and then the transmission delay of the active system becomes small, the communication path is switched back to the active system again. It is possible to take a longer time to use the communication path of the system. This also reduces the number of packets that flow through the standby communication path, so that the communication band of the standby communication path can be given a margin, and an increase in the transmission delay of the active system can be detected. The delay of the reference standby control packet 42 can be reduced, and an increase in the transmission delay of the active system can be detected with higher accuracy.

次に、本発明の第2の実施形態について図面を参照しながら説明する。   Next, a second embodiment of the present invention will be described with reference to the drawings.

本実施形態のシステム構成は、図1と同様である。本実施形態では、現用系の通信経路に含まれる中継装置30が輻輳の発生を予測して警告を出し、その警告に基づいて、受信側の通信制御装置20−2が送信側の通信制御装置20−1に切替要求パケット44を送信する点が、第1の実施形態とは異なる。   The system configuration of this embodiment is the same as that shown in FIG. In this embodiment, the relay device 30 included in the active communication path predicts the occurrence of congestion and issues a warning, and based on the warning, the reception-side communication control device 20-2 sends the transmission-side communication control device. The point which transmits the switch request packet 44 to 20-1 differs from 1st Embodiment.

図23は、中継装置30の詳細な機能構成の一例を示すブロック図である。中継装置30は、パケット受信部31、送信バッファ32、パケット送信部33、送信先DB34、および警告送信部35を有する。   FIG. 23 is a block diagram illustrating an example of a detailed functional configuration of the relay device 30. The relay device 30 includes a packet reception unit 31, a transmission buffer 32, a packet transmission unit 33, a transmission destination DB 34, and a warning transmission unit 35.

送信先DB34には、例えば図24に示すような送信先テーブル340が格納されている。送信先テーブル340には、それぞれの通信経路を識別するVLANID341、および、当該通信経路の終端となる通信制御装置20のアドレス342が格納されている。   For example, a transmission destination table 340 as shown in FIG. 24 is stored in the transmission destination DB 34. The transmission destination table 340 stores a VLAN ID 341 that identifies each communication path, and an address 342 of the communication control device 20 that is the end of the communication path.

パケット受信部31は、通信制御装置20または他の中継装置30からユーザデータパケット43等の通信パケットを受信し、受信した通信パケットを送信バッファ32に格納する。パケット送信部33は、送信バッファ32に格納された通信パケットを、そのヘッダに格納された通信経路毎に指定された中継先へ中継する。   The packet receiving unit 31 receives a communication packet such as a user data packet 43 from the communication control device 20 or another relay device 30 and stores the received communication packet in the transmission buffer 32. The packet transmission unit 33 relays the communication packet stored in the transmission buffer 32 to a relay destination designated for each communication path stored in the header.

警告送信部35は、送信バッファ32に格納されているデータのデータ量を監視し、当該データ量が送信バッファ32の容量の所定割合(例えば80%)以上になった場合に、送信バッファ32に格納されているそれぞれのユーザデータパケット43のヘッダに格納されている通信経路の識別情報、即ちVLANIDを抽出する。   The warning transmitter 35 monitors the amount of data stored in the transmission buffer 32, and when the amount of data exceeds a predetermined ratio (for example, 80%) of the capacity of the transmission buffer 32, the warning transmission unit 35 The identification information of the communication path stored in the header of each stored user data packet 43, that is, VLANID is extracted.

そして、警告送信部35は、例えば図25に示すような警告パケット50を作成する。警告パケット50には、ヘッダ500およびペイロード501が含まれ、ペイロード501には、当該パケットが警告パケットであることを示すメッセージID502と、自装置が含まれている通信経路のVLANID503とが格納される。   Then, the warning transmitter 35 creates a warning packet 50 as shown in FIG. 25, for example. The warning packet 50 includes a header 500 and a payload 501, and the payload 501 stores a message ID 502 indicating that the packet is a warning packet and a VLAN ID 503 of a communication path including the own device. .

なお、警告パケット50は、例えばITU−T Y.1731で定義されているVSM(Vendor Specific Message)フレームやAPS(Automatic Protection Switching)フレームのフォーマットをベースとして構成することができる。   The warning packet 50 is, for example, ITU-T Y. It can be configured based on the format of a VSM (Vendor Specific Message) frame or an APS (Automatic Protection Switching) frame defined in 1731.

そして、警告送信部35は、抽出したVLANIDに対応する通信制御装置20のアドレスを送信先DB34から抽出し、抽出したアドレス宛に、作成した警告パケット50を送信する。   Then, the warning transmission unit 35 extracts the address of the communication control device 20 corresponding to the extracted VLANID from the transmission destination DB 34, and transmits the generated warning packet 50 to the extracted address.

図26は、中継装置30の動作の一例を示すフローチャートである。   FIG. 26 is a flowchart illustrating an example of the operation of the relay device 30.

まず、警告送信部35は、送信バッファ32に格納されているデータのデータ量を監視し、当該データ量が警告閾値以上になったか否かを判定する(S600)。送信バッファ32内のデータ量が警告閾値以上になった場合(S600:Yes)、警告送信部35は、送信バッファ32に格納されているそれぞれのユーザデータパケット43のヘッダに格納されているVLANIDを抽出する(S601)。   First, the warning transmission unit 35 monitors the data amount of data stored in the transmission buffer 32, and determines whether or not the data amount is equal to or greater than a warning threshold (S600). When the data amount in the transmission buffer 32 is equal to or greater than the warning threshold (S600: Yes), the warning transmission unit 35 uses the VLANID stored in the header of each user data packet 43 stored in the transmission buffer 32. Extract (S601).

次に、警告送信部35は、図25に示した警告パケット50を作成する。そして、警告送信部35は、抽出したVLANIDに対応する通信制御装置20のアドレスを送信先DB34から抽出し、抽出したアドレス宛に、作成した警告パケット50を送信する(S602)。そして、警告送信部35は、経路切替が完了するまで所定時間(例えば数秒間)待機し(S603)、再びステップS600に示した処理を実行する。   Next, the warning transmitter 35 creates a warning packet 50 shown in FIG. Then, the warning transmission unit 35 extracts the address of the communication control device 20 corresponding to the extracted VLAN ID from the transmission destination DB 34, and transmits the generated warning packet 50 to the extracted address (S602). Then, the warning transmission unit 35 waits for a predetermined time (for example, several seconds) until the path switching is completed (S603), and again executes the process shown in step S600.

図27は、第2の実施形態における受信側の通信制御装置20の切替動作の一例を示すフローチャートである。なお、以下に説明する点を除き、図27において、図19と同じ符号を付した処理は、図19における処理と同様の処理であるため説明を省略する。   FIG. 27 is a flowchart illustrating an example of a switching operation of the communication control device 20 on the receiving side in the second embodiment. Except for the points described below, in FIG. 27, the processes denoted by the same reference numerals as those in FIG. 19 are the same as the processes in FIG.

まず、時間差測定部27は、警告パケット50を受信したか否かを判定する(S220)。警告パケット50を受信していない場合(S220:No)、時間差測定部27は、ステップS200に示した処理を実行する。   First, the time difference measuring unit 27 determines whether or not the warning packet 50 has been received (S220). When the warning packet 50 has not been received (S220: No), the time difference measurement unit 27 executes the process shown in step S200.

一方、警告パケット50を受信した場合(S220:Yes)、時間差測定部27は、切替閾値4に対応付けられているサービスレベル1〜4を切替閾値テーブル280から抽出する。そして、経路切替要求部29は、抽出したサービスレベル1〜4の中から、その直前に時間差測定部27から受信したサービス情報において現用系の経路種別に対応付けられている(即ち、現用系の通信経路を介して提供中の)サービスのサービスレベルをさらに抽出する。   On the other hand, when the warning packet 50 is received (S220: Yes), the time difference measuring unit 27 extracts the service levels 1 to 4 associated with the switching threshold 4 from the switching threshold table 280. The route switching request unit 29 is associated with the active route type in the service information received from the time difference measuring unit 27 immediately before the extracted service levels 1 to 4 (that is, the active service type The service level of the service (provided via the communication path) is further extracted.

そして、経路切替要求部29は、抽出したサービスレベルを含む切替要求パケット44(図12参照)を作成し、作成した切替要求パケット44を通信制御装置20−1へ例えば予備系の通信経路を介して送信し(S202)、ステップS209に示した処理を実行する。   Then, the path switching request unit 29 creates a switching request packet 44 (see FIG. 12) including the extracted service level, and sends the created switching request packet 44 to the communication control apparatus 20-1 via, for example, a standby communication path. (S202), and the process shown in step S209 is executed.

以上、本発明の第2の実施形態について説明した。   The second embodiment of the present invention has been described above.

中継装置30の送信バッファ内のデータ量が多くなるということは、回線の障害や通信経路上の中継装置30の処理負荷が高くなっているなど、何らかの原因でデータの送信待ちが発生していることを示している。そして、送信待ちのデータの増加により送信バッファの空き容量が少なくなると、データの破棄や、その上流の中継装置30でのさらなる送信待ちが起こり、輻輳が発生する可能性が高まる。   An increase in the amount of data in the transmission buffer of the relay device 30 means that there is a wait for data transmission for some reason, such as a line failure or a high processing load on the relay device 30 on the communication path. It is shown that. When the free space in the transmission buffer decreases due to an increase in the data waiting for transmission, there is a higher possibility that congestion will occur due to data discarding and further transmission waiting in the upstream relay device 30.

そこで、本実施形態の中継装置30は、送信バッファ内のデータ量が所定の閾値を越えた場合に、輻輳が発生する可能性があることを示す警告を通信制御装置20へ送信し、通信制御装置20に経路切替を促す。これにより、輻輳が発生する前に、経路切替を実行することができ、サービスの品質を安定的に高く保つことができる。   Therefore, the relay device 30 according to the present embodiment transmits a warning indicating that congestion may occur to the communication control device 20 when the amount of data in the transmission buffer exceeds a predetermined threshold, and performs communication control. The device 20 is prompted to switch the route. Thereby, before the congestion occurs, path switching can be executed, and the quality of service can be stably kept high.

なお、本発明は、上記した各実施形態に限定されるものではなく、様々な変形例が含まれる。上記した実施形態では、現用系と予備系の通信経路の伝送時間の差を予め測定し、輻輳が発生していない状況では、現用系と予備系のそれぞれの通信経路を介して送信された通信パケットが受信側の通信制御装置20にほぼ同時に到着するようにしておき、予備系の通信経路を介して送信された制御パケットを基準として、現用系の通信経路を介して送信された制御パケットの遅延量を測定し、測定した遅延量が予め定めた閾値を越えた場合に通信経路の切り替えを実行するが、本発明はこれに限られない。   In addition, this invention is not limited to each above-described embodiment, Various modifications are included. In the above-described embodiment, a difference in transmission time between the active and standby communication paths is measured in advance, and in a situation where congestion does not occur, communication transmitted via the respective communication paths of the active and standby systems The packet arrives at the receiving side communication control device 20 almost simultaneously, and the control packet transmitted through the active communication path is used as a reference with respect to the control packet transmitted through the standby communication path. Although the delay amount is measured and the communication path is switched when the measured delay amount exceeds a predetermined threshold, the present invention is not limited to this.

例えば、現用系の通信経路を介して送信された制御パケットの到着間隔を統計処理して、現用系の通信経路の輻輳の発生を判定し、輻輳が発生したと判定した場合に通信経路を予備系に切り替えるようにしてもよい。   For example, statistical processing is performed on the arrival interval of control packets transmitted via the working communication path to determine the occurrence of congestion on the working communication path, and when it is determined that congestion has occurred, the communication path is reserved. You may make it switch to a system.

例えば、(1)一定間隔で送信される制御パケットの送信間隔が受信側の通信制御装置20に設定されていない場合には、先ず、現用系の通信経路を介してある一定期間に受信した制御パケットの受信時刻について、その到着時間間隔の平均値と分散を算出する。この平均値と分散を用いて正規分布モデルを用いることで3σ(設定によってはσや2σでもよい)以内に収まる到着時間間隔の誤差範囲を決定する。   For example, (1) when the transmission interval of the control packet transmitted at a constant interval is not set in the communication control device 20 on the receiving side, first, the control received through the active communication path for a certain period For the packet reception time, the average value and variance of the arrival time intervals are calculated. By using a normal distribution model using the average value and the variance, an error range of arrival time intervals falling within 3σ (may be σ or 2σ depending on the setting) is determined.

ここで得た平均値(分散ゼロの点)が、受信装置が予測する到着時間間隔であり、その予測値と実際のフレーム到着間隔が3σ以上離れた場合には通信経路に何らかの異変が有る(輻輳の発生)と判定し、通信経路を現用系から予備系に切り替える。   The average value (zero dispersion point) obtained here is the arrival time interval predicted by the receiving apparatus. When the predicted value and the actual frame arrival interval are separated by 3σ or more, there is some change in the communication path ( And the communication path is switched from the active system to the standby system.

また、(2)一定間隔で送信される制御パケットの送信間隔が受信側の通信制御装置20に設定されている場合には、上記と同様に、現用系の通信経路を介してある一定期間に受信した制御パケットの受信時刻について、その到着時間間隔の平均値と分散を算出する。これは到着間隔の変動を調べるための統計データとなる。この統計データの平均値と予め設定された到着間隔との誤差が3σ(設定によってはσや2σでもよい)以上乖離した場合に、通信経路に何らかの問題が発生している(輻輳の発生)と判定する。   Further, (2) when the transmission interval of control packets transmitted at regular intervals is set in the communication control device 20 on the receiving side, as in the above, during a certain period via the active communication path With respect to the reception time of the received control packet, the average value and variance of the arrival time intervals are calculated. This is statistical data for examining fluctuations in the arrival interval. When an error between the average value of the statistical data and a preset arrival interval deviates by 3σ (may be σ or 2σ depending on the setting), a problem occurs in the communication path (congestion occurs). judge.

受信間隔の変動については、上記(1)の場合と同様に通信状態が正常か否かを判断する。また、予測到着間隔(一定値)と実際に制御パケットを受信した時刻とから、次の制御パケットを受信するはずの時刻を算出することができる。予測到着時刻と実際に制御パケットを受信した時刻との差分を統計処理することにより、差分の平均値と分散を算出することができる。このとき(A)差分が一定閾値を上回った場合、(B)観測された差分の変動が分散3σ(σまたは2σでもよい)を超える場合に、それぞれ異常状態と判断する。   As for the change in the reception interval, it is determined whether or not the communication state is normal as in the case of (1) above. Also, the time at which the next control packet should be received can be calculated from the predicted arrival interval (a constant value) and the time at which the control packet was actually received. By statistically processing the difference between the predicted arrival time and the time when the control packet is actually received, the average value and variance of the difference can be calculated. At this time, when (A) the difference exceeds a certain threshold value, (B) when the observed variation in the difference exceeds the variance 3σ (or σ or 2σ), it is determined as an abnormal state.

また、(3)一定間隔で送信される制御パケットの受信時刻が受信側の通信制御装置20に設定されている場合には、上記(2)の場合の後半と同様に、設定到着時刻と実際の到着時刻との差分について統計処理を行い、(A)または(B)の場合にそれぞれ異常発生を判断することができる。   Further, (3) when the reception time of the control packet transmitted at regular intervals is set in the communication control device 20 on the receiving side, the set arrival time and the actual time as in the latter half of the case of (2) above. Statistical processing is performed on the difference between the arrival time and the occurrence of abnormality in each case (A) or (B).

また、上記した実施形態において、通信制御装置20は、予備系の通信経路を介して送信された制御パケットを受信してから、現用系の通信経路を介して送信された制御パケットを受信するまでの時間差が予め定めた閾値を越えた場合に、遅延時間に対する要求の厳しいサービスを優先して予備系に切り替えたが、本発明はこれに限られず、遅延時間に対する要求の緩いサービスを優先して予備系に切り替えるようにしてもよい。   In the above-described embodiment, the communication control device 20 receives a control packet transmitted via the standby communication path and then receives a control packet transmitted via the active communication path. However, the present invention is not limited to this, and priority is given to services with less demand on delay times. You may make it switch to a backup system.

遅延時間に対する要求の緩いサービスのユーザデータパケットであっても、通信経路を予備系に切り替えることで、現用系の通信帯域にその分の空きができ、現用系の通信経路の輻輳を解消することができる。また、予備系の通信経路は、現用系の予備としての性質を有するため、現用系の通信経路よりも信頼性が低い場合がある。   Even if the user data packet is a service with a low demand for delay time, switching the communication path to the standby system will allow the active communication band to be freed up, eliminating congestion on the active communication path. Can do. In addition, since the standby communication path has a property as a backup for the active system, the reliability may be lower than that of the active communication path.

そこで、遅延時間に対する要求の厳しいサービスを現用系に残しながら現用系の通信経路の輻輳を解消することにより、当該サービスの品質を高く保ちつつ、通信経路の輻輳を解消することができる。   Therefore, by eliminating congestion on the working communication path while leaving a service with a demand for delay time in the working system, congestion on the communication path can be solved while keeping the quality of the service high.

また、上記した実施形態では、通信制御装置20は、通信経路を現用系から予備系に切り替えた後に、現用系に切り戻す場合に、遅延時間に対する要求の厳しいサービスを優先して現用系に切り戻すようにしたが、本発明はこれに限られない。例えば、遅延時間に対する要求の緩いサービスを優先して現用系に切り戻すようにしてもよい。   In the above-described embodiment, the communication control device 20 switches the communication path from the active system to the standby system and then switches back to the active system, giving priority to the service that requires strict delay time, and switching to the active system. However, the present invention is not limited to this. For example, priority may be given to a service with a low request for delay time to switch back to the active system.

例えば、現用系に障害が断続的に発生する場合には、通信経路を予備系から現用系に切り戻した後に、再び遅延量の増加により予備系に切り替えることになる。そのような場合、現用系の通信経路の遅延量が切替閾値を越えるまでは、現用系の遅延量が増加することになる。そのため、現用系に発生した障害が完全に解消されるまでは、遅延時間に対する要求の緩いサービスを優先して現用系に切り戻すようにすることで、遅延時間に対する要求の厳しいサービスの品質の低下を抑えることができる。   For example, when a failure occurs intermittently in the active system, the communication path is switched from the standby system to the active system, and then switched to the standby system again due to an increase in the delay amount. In such a case, the delay amount of the working system increases until the delay amount of the working communication path exceeds the switching threshold. Therefore, until the fault that occurred in the active system is completely resolved, the service that is demanding the delay time is prioritized and switched back to the active system in order to reduce the quality of the service that is demanding the delay time. Can be suppressed.

また、上記した各実施形態は、本発明を分かりやすく説明するために詳細に説明したものであり、本発明が、必ずしも説明した全ての構成要素を備えるものに限定されるものではない。また、ある実施形態の構成の一部を、他の実施形態の構成に置き換えることが可能であり、ある実施形態の構成に、他の実施形態の構成を加えることも可能である。また、各実施形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。   Further, each of the above-described embodiments has been described in detail for easy understanding of the present invention, and the present invention is not necessarily limited to the one having all the constituent elements described. In addition, a part of the configuration of a certain embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of a certain embodiment. In addition, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.

また、上記の各構成、機能、処理部、処理手段等は、それらの一部または全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現されてもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、または、ICカード、SDカード、DVD等の記録媒体に置くことができる。   Each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit. Each of the above-described configurations, functions, and the like may be realized by software by the processor interpreting and executing a program that realizes each function. Information such as programs, tables, and files for realizing each function can be stored in a recording device such as a memory, a hard disk, an SSD (Solid State Drive), or a recording medium such as an IC card, an SD card, or a DVD.

また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。   Further, the control lines and information lines indicate what is considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. Actually, it may be considered that almost all the components are connected to each other.

10・・・通信システム、11・・・管理装置、12・・・基幹網、13・・・アクセス網、14・・・通信装置、20・・・通信制御装置、21・・・データ送受信部、22・・・送信経路DB、23・・・経路切替指示部、24・・・遅延DB、25・・・制御パケット送信部、26・・・経路種別DB、27・・・時間差測定部、28・・・閾値DB、29・・・経路切替要求部、30・・・中継装置、31・・・パケット受信部、32・・・送信バッファ、33・・・パケット送信部、34・・・送信先DB、35・・・警告送信部、40・・・制御パケット、41・・・測定結果報告パケット、42・・・制御パケット、43・・・ユーザデータパケット、44・・・切替要求パケット、45・・・切替応答パケット、46・・・切替完了通知パケット、47・・・切戻要求パケット、48・・・切戻応答パケット、49・・・切戻完了通知パケット、50・・・警告パケット DESCRIPTION OF SYMBOLS 10 ... Communication system, 11 ... Management apparatus, 12 ... Core network, 13 ... Access network, 14 ... Communication apparatus, 20 ... Communication control apparatus, 21 ... Data transmission / reception part , 22 ... transmission path DB, 23 ... path switching instruction section, 24 ... delay DB, 25 ... control packet transmission section, 26 ... path type DB, 27 ... time difference measurement section, 28 ... Threshold DB, 29 ... Route switching request unit, 30 ... Relay device, 31 ... Packet reception unit, 32 ... Transmission buffer, 33 ... Packet transmission unit, 34 ... Destination DB, 35 ... warning transmitter, 40 ... control packet, 41 ... measurement result report packet, 42 ... control packet, 43 ... user data packet, 44 ... switch request packet 45... Switching response packet 46. Replacement completion notification packet, 47 ... changeback request packet, 48 ... changeback response packet, 49 ... changeback completion notice packet, 50 ... warning packet

Claims (7)

現用系の通信経路に輻輳が発生した場合に、データパケットの通信経路を、予め準備しておいた予備系の通信経路に切り替える通信システムであって、
第1の通信制御装置と、
現用系および予備系のそれぞれの通信経路を介して前記第1の通信制御装置に接続される第2の通信制御装置と、を備え、
前記第1の通信制御装置は、
現用系または予備系のいずれかの通信経路を介してユーザデータを含むデータパケットを前記第2の通信制御装置へ送信するデータ送信部と
前記第2の通信制御装置との間で通信を行なう複数のサービスそれぞれに要求される通信品質を示す複数のサービスレベルを記憶する第1のテーブルと、
現用系および予備系のそれぞれの通信経路を介して、予め定められたタイミングで、同じシーケンス番号を有し前記第1のテーブルに記憶された前記サービスレベルを含む制御パケットを前記第2の通信制御装置へ送信する制御パケット送信部と、
前記第2の通信制御装置から経路切替要求を受信した場合に、前記データパケットの通信経路を、現用系から予備系に切り替えるよう前記データ送信部に指示する経路切替指示部と、を有し、
前記第2の通信制御装置は、
予備系の通信経路を介して受信した前記制御パケットの受信時刻から、現用系の通信経路を介して受信した同じシーケンス番号を有する前記制御パケットの受信時刻までの時間差を測定する時間差測定部と、
前記サービスレベルと時間の閾値との対応関係を複数記憶する第2のテーブルと、
前記時間差測定部によって測定された時間差よりも小さい前記第2のテーブルの時間の閾値を1つもしくは複数抽出し、当該抽出した時間の閾値に対応して前記第2のテーブルに記憶されている前記サービスレベルを抽出し、当該抽出したサービスレベルの通信について、前記第1の通信制御装置に経路切替要求を送信する経路切替要求部と、
を有することを特徴とする通信システム。
A communication system for switching a data packet communication path to a standby communication path prepared in advance when congestion occurs in the active communication path,
A first communication control device;
A second communication control device connected to the first communication control device via respective communication paths of an active system and a standby system,
The first communication control device includes:
A plurality of units that perform communication between the second communication control unit and a data transmission unit that transmits a data packet including user data to the second communication control unit via either the active or standby communication path A first table storing a plurality of service levels indicating communication quality required for each of the services;
The control packet including the service level having the same sequence number and stored in the first table is transmitted to the second communication control at a predetermined timing via the communication paths of the active system and the standby system. A control packet transmitter for transmitting to the device;
A path switching instruction unit that instructs the data transmission unit to switch the communication path of the data packet from the working system to the standby system when a path switching request is received from the second communication control device;
The second communication control device includes:
From the reception time of the control packet received via the communication path of the standby system, a time difference measuring unit for measuring a time difference until the time of receiving the control packet having the same sequence number received via the communication path of the working system,
A second table for storing a plurality of correspondence relationships between the service level and a time threshold;
One or a plurality of time threshold values of the second table smaller than the time difference measured by the time difference measuring unit are extracted, and stored in the second table corresponding to the extracted time threshold values. A path switching request unit that extracts a service level and transmits a path switching request to the first communication control device for the communication of the extracted service level;
A communication system comprising:
請求項1に記載の通信システムであって、
前記時間差測定部は、現用系および予備系の通信経路のいずれにも輻輳が発生していない場合に、それぞれの通信経路を介して前記第1の通信制御装置から受信した制御パケットの受信時刻の差を測定し、測定結果を前記第1の通信制御装置に通知し、
前記制御パケット送信部は、
前記第2の通信制御装置から前記受信時刻の差の測定結果を受信し、
当該受信時刻の差が現用系の通信経路を介する制御パケットの方が早く前記第2の通信制御装置に到着することを示す場合に、予備系の通信経路に制御パケットを送出してから前記受信時刻の差に相当する時間が経過した後に同一の制御パケットを現用系の通信経路へ送出し、
前記受信時刻の差が現用系の通信経路を介する制御パケットの方が遅く前記第2の通信制御装置に到着することを示す場合に、現用系の通信経路に制御パケットを送出してから前記受信時刻の差に相当する時間が経過した後に同一の制御パケットを予備系の通信経路へ送出することを特徴とする通信システム。
The communication system according to claim 1,
The time difference measurement unit is configured to determine a reception time of a control packet received from the first communication control device via each communication path when congestion has not occurred in any of the active and standby communication paths. Measuring the difference, notifying the first communication control device of the measurement result,
The control packet transmitter is
Receiving the measurement result of the reception time difference from the second communication control device;
When the reception time difference indicates that the control packet passing through the working communication path arrives at the second communication control apparatus earlier, the control packet is sent to the standby communication path and then the reception is performed. After the time corresponding to the time difference has elapsed, the same control packet is sent to the active communication path,
When the difference in the reception time indicates that the control packet passing through the working communication path arrives at the second communication control apparatus later, the control packet is sent to the working communication path and then received. A communication system, wherein the same control packet is sent to a standby communication path after a time corresponding to a time difference has elapsed.
請求項2に記載の通信システムであって、
前記データ送信部は、
前記受信時刻の差が現用系の通信経路を介する制御パケットの方が早く前記第2の通信制御装置に到着することを示す場合に、データパケットを現用系の通信経路へ送出する際にはデータパケットを送信すべきタイミングから前記受信時刻の差に相当する時間が経過した後に当該データパケットを送出し、データパケットを予備系の通信経路へ送出する際にはデータパケットを送信すべきタイミングで当該データパケットを送出し、
前記受信時刻の差が現用系の通信経路を介する制御パケットの方が遅く前記第2の通信制御装置に到着することを示す場合に、データパケットを現用系の通信経路へ送出する際にはデータパケットを送信すべきタイミングで当該データパケットを送出し、データパケットを予備系の通信経路へ送出する際にはデータパケットを送信すべきタイミングから前記受信時刻の差に相当する時間が経過した後に当該データパケットを送出することを特徴とする通信システム。
A communication system according to claim 2,
The data transmitter is
When the difference in the reception time indicates that the control packet passing through the working communication path arrives at the second communication control apparatus earlier, data is sent when the data packet is sent to the working communication path. The data packet is transmitted after a time corresponding to the difference in the reception time has elapsed from the timing at which the packet should be transmitted, and when the data packet is transmitted to the standby communication path, the data packet is transmitted at the timing at which the data packet should be transmitted. Send data packets,
When the difference in the reception time indicates that the control packet passing through the active communication path is later than the second communication control apparatus, the data packet is transmitted when the data packet is transmitted to the active communication path. The data packet is transmitted at the timing at which the packet is to be transmitted, and when the data packet is transmitted to the standby communication path, the time corresponding to the difference in the reception time from the timing at which the data packet should be transmitted A communication system characterized by transmitting a data packet.
請求項1から3のいずれか一項に記載の通信システムであって、
前記第1の通信制御装置の前記経路切替指示部は、前記第2の通信制御装置から受信した経路切替要求に含まれているサービスレベルに対応するサービスを提供するためのデータを含むデータパケット通信経路を、現用系の通信経路から予備系の通信経路に切り替えるよう前記データ送信部に指示することを特徴とする通信システム。
The communication system according to any one of claims 1 to 3,
The packet switching instruction unit of the first communication control device includes a data packet communication including data for providing a service corresponding to a service level included in the route switching request received from the second communication control device. A communication system characterized by instructing the data transmission unit to switch a path from an active communication path to a standby communication path.
請求項1から4のいずれか一項に記載の通信システムであって、
前記データ送信部は、前記経路切替指示部から経路の切替を指示された場合に、前記第2の通信制御装置から経路切替完了通知を受信するまでは、現用系および予備系の通信経路の両方に同一のデータパケットを送出し、
前記経路切替要求部は、前記第1の通信制御装置に経路切替要求を送信した後に、現用系の通信経路を介して受信したデータパケットと同一のデータパケットを、予備系の通信経路を介して予め定められた数以上連続して受信できた場合に、経路切替完了通知を前記第1の通信制御装置へ送信することを特徴とする通信システム。
The communication system according to any one of claims 1 to 4,
When the data transmission unit is instructed to switch the route from the route switching instruction unit, both the active and standby communication routes are received until the route switching completion notification is received from the second communication control device. Send the same data packet to
The path switching request unit transmits a path switching request to the first communication control device, and then transmits the same data packet as the data packet received via the active communication path via the standby communication path. A communication system, wherein a route switching completion notification is transmitted to the first communication control device when a predetermined number or more can be continuously received.
請求項1から5のいずれか一項に記載の通信システムであって、
前記経路切替要求部は、前記経路切替要求を送信した後に、前記時間差測定部によって測定された時間差が、前記第2のテーブルの時間の閾値よりも短く設定された閾値未満となった場合に、前記第1の通信制御装置に経路切戻要求を送信し、
前記経路切替指示部は、前記第2の通信制御装置から経路切戻要求を受信した場合に、前記データパケットの通信経路を、予備系から現用系に切り戻すよう前記データ送信部に指示することを特徴とする通信システム。
The communication system according to any one of claims 1 to 5,
The route switching request unit, after transmitting the route switching request, when the time difference measured by the time difference measuring unit is less than a threshold set shorter than the time threshold of the second table, A route return request is transmitted to the first communication control device;
The path switching instructing unit instructs the data transmitting unit to switch the communication path of the data packet from the standby system to the active system when a path switchback request is received from the second communication control device. A communication system characterized by the above.
請求項1から6のいずれか一項に記載の通信システムであって、
現用系の通信経路上に設けられる1以上の中継装置をさらに備え、
それぞれの前記中継装置は、送信すべき通信パケットを蓄積する送信バッファ内のデータ量が予め定められた閾値以上となった場合に、輻輳が発生する可能性が高いことを示す警告情報を前記第2の通信制御装置へ送信する警告送信部を有し、
前記経路切替要求部は、前記中継装置から前記警告情報を受信した場合に、前記第1の通信制御装置へ前記経路切替要求を送信することを特徴とする通信システム。
The communication system according to any one of claims 1 to 6,
It further comprises one or more relay devices provided on the active communication path,
Each of the relay devices provides warning information indicating that congestion is likely to occur when the amount of data in the transmission buffer for storing communication packets to be transmitted is equal to or greater than a predetermined threshold. A warning transmission unit for transmitting to the communication control device 2;
The path switching request unit, when receiving the warning information from the relay apparatus, transmits the path switching request to the first communication control apparatus.
JP2013541693A 2011-11-01 2012-10-17 Communications system Expired - Fee Related JP5784139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013541693A JP5784139B2 (en) 2011-11-01 2012-10-17 Communications system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2011240594 2011-11-01
JP2011240594 2011-11-01
JP2013541693A JP5784139B2 (en) 2011-11-01 2012-10-17 Communications system
PCT/JP2012/076751 WO2013065477A1 (en) 2011-11-01 2012-10-17 Communication system

Publications (2)

Publication Number Publication Date
JPWO2013065477A1 JPWO2013065477A1 (en) 2015-04-02
JP5784139B2 true JP5784139B2 (en) 2015-09-24

Family

ID=48191834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013541693A Expired - Fee Related JP5784139B2 (en) 2011-11-01 2012-10-17 Communications system

Country Status (2)

Country Link
JP (1) JP5784139B2 (en)
WO (1) WO2013065477A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518960B (en) * 2014-12-05 2018-01-19 华为技术有限公司 A kind of method, equipment and the system of the switchback that is delayed
JP6737077B2 (en) * 2016-08-30 2020-08-05 沖電気工業株式会社 Monitoring device, communication device, and program
JP6772751B2 (en) * 2016-10-14 2020-10-21 富士通株式会社 Setting method and server device
CN113923154A (en) * 2017-07-05 2022-01-11 华为技术有限公司 Path calculation method, device and system
CN109428742B (en) * 2017-08-22 2020-12-15 华为技术有限公司 Delay transmission path control method, network controller and system
CN110475329B (en) * 2018-05-11 2020-11-06 维沃移动通信有限公司 Wireless communication method, device and network equipment
JP7151537B2 (en) * 2019-02-20 2022-10-12 日本電信電話株式会社 NETWORK CONTROLLER DEVICE, NETWORK CONTROL SYSTEM, COMMUNICATION NETWORK CONTROL METHOD AND PROGRAM
CN111314163A (en) * 2019-12-03 2020-06-19 深信服科技股份有限公司 Data packet transmission method and system
US20240039817A1 (en) * 2020-12-11 2024-02-01 Nippon Telegraph And Telephone Corporation Video transmission system, video transmission method and video transmitter

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2999087B2 (en) * 1993-03-11 2000-01-17 沖電気工業株式会社 Path switching method
JP3380057B2 (en) * 1994-08-31 2003-02-24 沖電気工業株式会社 Signal system selection output device
JP3623997B2 (en) * 1994-12-28 2005-02-23 富士通株式会社 Digital exchange relay system and digital exchange
JP5652388B2 (en) * 2009-03-06 2015-01-14 日本電気株式会社 COMMUNICATION RATE CONTROL METHOD, TRANSMITTER, AND COMMUNICATION SYSTEM
JP5352502B2 (en) * 2010-03-05 2013-11-27 株式会社日立製作所 Packet communication system and packet communication apparatus control method

Also Published As

Publication number Publication date
JPWO2013065477A1 (en) 2015-04-02
WO2013065477A1 (en) 2013-05-10

Similar Documents

Publication Publication Date Title
JP5784139B2 (en) Communications system
US7921224B2 (en) Method of maintaining traffic services through congestion caused by network failovers
US9667570B2 (en) Fabric extra traffic
JP5883743B2 (en) Method for reducing communication interruption time in packet communication networks
US20070211623A1 (en) Failure recovery method, network device, and program
US9451500B2 (en) Conditional routing technique
JP2004533142A (en) Reuse of bandwidth reservation in protection and restoration techniques for dynamically allocated rings
US10122618B2 (en) Path switching method and device
US8520534B2 (en) In-service throughput testing in distributed router/switch architectures
US6473815B1 (en) Queue sharing
US9160673B1 (en) Link selection in a bonding protocol
US10103979B2 (en) Control device, system, and transmission channel adjustment method in software-defined networking
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
WO2012088910A1 (en) Method and system for detecting connectivity fault
JPWO2011129363A1 (en) Transmission apparatus, transmission method, and computer program
JP5816960B2 (en) Communications system
US20080062996A1 (en) Consumer Edge Initiated Pseudo-Wire Multi-Homing in Access Networks
US20220141124A1 (en) Network controller device, network control system, control method for controlling communication network and program
US9185038B2 (en) Technique for controlling a load state of a physical link carrying a plurality of virtual links
JP2010245702A (en) Communication system, communication device, and method of controlling data transmission
US9495256B2 (en) Apparatus and method for switching a packet
JPWO2005117365A1 (en) Communication control device and communication control method
EP3955531A1 (en) Processing method and apparatus based on link error code
JP2003092593A (en) Node with routing controlling function with congestion control taken into consideration and routing control system in network adopting the node
JP2012205143A (en) Router and metric management method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150414

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150601

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

R151 Written notification of patent or utility model registration

Ref document number: 5784139

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees