JP7585696B2 - Network system, communication system, and communication method - Google Patents
Network system, communication system, and communication method Download PDFInfo
- Publication number
- JP7585696B2 JP7585696B2 JP2020169566A JP2020169566A JP7585696B2 JP 7585696 B2 JP7585696 B2 JP 7585696B2 JP 2020169566 A JP2020169566 A JP 2020169566A JP 2020169566 A JP2020169566 A JP 2020169566A JP 7585696 B2 JP7585696 B2 JP 7585696B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- route
- network device
- server
- client terminal
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims description 55
- 238000000034 method Methods 0.000 title claims description 26
- 230000008569 process Effects 0.000 claims description 18
- 238000004519 manufacturing process Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 description 15
- 230000004044 response Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000015654 memory Effects 0.000 description 3
- 101100521334 Mus musculus Prom1 gene Proteins 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明はネットワークシステム、通信システム、及び通信方法に関する。 The present invention relates to a network system, a communication system, and a communication method.
クライアント端末の数が多い場合、サーバの入れ替えに伴う設定変更に時間を要する場合がある。このような場合、通信システム内には、設定変更後のクライアント端末と、設定変更前のクライアント端末の両方が存在することとなる。設定変更前のクライアント端末は、古いサーバ(以下、旧サーバと称する)と通信することができるが、設定変更後のクライアント端末は、旧サーバと通信することができない。したがって、設定変更後のクライアント端末は、新しいサーバ(以下、新サーバと称する)の運用が開始されるまで、サーバと通信することができない状態となる。 When there are a large number of client terminals, it may take time to change the settings associated with replacing the server. In such a case, both client terminals after the setting change and client terminals before the setting change will exist within the communication system. The client terminals before the setting change can communicate with the old server (hereafter referred to as the old server), but the client terminals after the setting change cannot communicate with the old server. Therefore, the client terminals after the setting change will be unable to communicate with the server until operation of the new server (hereafter referred to as the new server) begins.
尚、特許文献1は、アプリケーションの更新管理を行う更新管理システムに関する技術を開示している。不具合が発生した場合には、旧サーバへの切り戻しが実行される。 Patent Document 1 discloses technology related to an update management system that manages application updates. If a problem occurs, a switchover to the old server is performed.
上記のように、新サーバと通信するように設定変更を行ったクライアント端末は、新サーバの運用が開始するまで旧サーバと通信することができないという問題があった。 As mentioned above, there was a problem in that client terminals that had their settings changed to communicate with the new server were unable to communicate with the old server until the new server began operation.
本開示は、このような問題を解決するためになされたたものである。すなわち、新サーバと通信するように設定変更されたクライアント端末と、旧サーバとの通信を可能にするネットワークシステム、通信システム、及び通信方法を提供することを目的とする。 The present disclosure has been made to solve such problems. In other words, the objective is to provide a network system, a communication system, and a communication method that enable communication between a client terminal whose settings have been changed to communicate with a new server and an old server.
本開示にかかるネットワークシステムは、クライアント端末が送信したパケットを中継する際、非運用サーバのアドレス情報を宛先情報とするパケットは迂回経路に送信し、運用サーバのアドレス情報を宛先情報とするパケットは直接経路に送信する第1のネットワーク装置と、
前記運用サーバが送信したパケットを中継する際、当該パケットを前記迂回経路と前記直接経路の両方に送信する処理、及び、当該パケットに付与されているルート識別情報に基づいて、行きのパケットと戻りのパケットの経路が同じになるように当該パケットを送信する処理の少なくともいずれか一方を行う第2のネットワーク装置と、
前記迂回経路において、前記クライアント端末が送信したパケットの宛先情報を前記運用サーバのアドレス情報に変換し、前記運用サーバが送信したパケットの送信元情報を前記非運用サーバのアドレス情報に変換する第3のネットワーク装置と、を備える。
The network system according to the present disclosure includes a first network device that, when relaying a packet transmitted by a client terminal, transmits a packet having address information of a non-production server as destination information to a detour route and transmits a packet having address information of a production server as destination information to a direct route;
a second network device that performs at least one of a process of transmitting a packet transmitted by the operation server to both the detour route and the direct route when relaying the packet, and a process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet;
and a third network device that converts destination information of a packet sent by the client terminal into address information of the operational server, and converts source information of a packet sent by the operational server into address information of the non-operational server, on the detour route.
本開示にかかる通信システムは、
運用サーバと、
クライアント端末と、
ネットワークシステムと、
を備え、
前記ネットワークシステムは、
前記クライアント端末が送信したパケットを転送する際、非運用サーバのアドレス情報を宛先情報とするパケットは迂回経路に送信し、前記運用サーバのアドレス情報を宛先情報とするパケットは直接経路に送信する第1のネットワーク装置と、
前記運用サーバが送信したパケットを転送する際、当該パケットを前記迂回経路と前記直接経路の両方に送信する処理、及び、当該パケットに付与されているルート識別情報に基づいて、行きのパケットと戻りのパケットの経路が同じになるように当該パケットを送信する処理の少なくともいずれか一方を行う第2のネットワーク装置と、
前記迂回経路において、前記クライアント端末が送信したパケットの宛先情報を前記運用サーバのアドレス情報に変換し、前記運用サーバが送信したパケットの送信元情報を前記非運用サーバのアドレス情報に変換する第3のネットワーク装置と、を備える、ものである。
The communication system according to the present disclosure comprises:
A production server;
A client terminal;
A network system;
Equipped with
The network system includes:
a first network device that, when forwarding a packet transmitted by the client terminal, transmits a packet having address information of a non-operational server as destination information to a detour route and transmits a packet having address information of the operation server as destination information to a direct route;
a second network device that performs at least one of a process of transmitting a packet transmitted by the operational server to both the detour route and the direct route when forwarding the packet, and a process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet;
and a third network device that converts destination information of a packet sent by the client terminal into address information of the operational server on the detour route, and converts source information of a packet sent by the operational server into address information of the non-operational server.
本開示にかかる通信方法は、
クライアント端末が送信したパケットを転送する際、非運用サーバのアドレス情報を宛先情報とするパケットは迂回経路に送信し、運用サーバのアドレス情報を宛先情報とするパケットは直接経路に送信し、
前記運用サーバが送信したパケットを転送する際、前記迂回経路と前記直接経路の両方に送信する処理、及び、当該パケットに付与されているルート識別情報に基づいて、行きのパケットと戻りのパケットの経路が同じになるように当該パケットを送信する処理の少なくともいずれか一方を行い、
前記迂回経路において、前記クライアント端末が送信したパケットの宛先情報を前記運用サーバのアドレス情報に変換し、前記運用サーバが送信したパケットの送信元情報を前記非運用サーバのアドレス情報に変換する、ものである。
The communication method according to the present disclosure includes:
When forwarding packets sent by a client terminal, packets whose destination information is the address information of a non-production server are sent via a detour route, and packets whose destination information is the address information of a production server are sent via a direct route.
When forwarding a packet transmitted by the operational server, at least one of a process of transmitting the packet via both the detour route and the direct route and a process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet,
In the detour route, destination information of a packet sent by the client terminal is converted to address information of the primary server, and source information of a packet sent by the primary server is converted to address information of the non-primary server.
本開示によると、新サーバと通信するように設定変更されたクライアント端末と、旧サーバとの通信を可能にするネットワークシステム、通信システム、及び通信方法を提供することができる。 According to the present disclosure, it is possible to provide a network system, a communication system, and a communication method that enable communication between a client terminal whose settings have been changed to communicate with a new server and an old server.
(実施形態1)
以下、図面を参照して本発明の実施の形態について説明する。図1は、実施形態1にかかる通信システム1の構成を示すブロック図である。通信システム1は、運用サーバ11と、非運用サーバ12と、クライアント端末13と、ネットワークシステム14とを備えている。
(Embodiment 1)
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a block diagram showing a configuration of a communication system 1 according to the embodiment 1. The communication system 1 includes an
運用サーバ11は、現在運用されているサーバであり、旧サーバとも呼ぶ。非運用サーバ12は、サーバ入れ替え後の新サーバであり、まだ運用が開始されていない。クライアント端末13は、携帯電話端末、PC(Personal Computer)等の通信端末である。複数のクライアント端末13の一部は、非運用サーバ12と通信するように設定変更が行われていない。また、複数のクライアント端末13のうちの一部は、非運用サーバ12と通信するように設定変更が行われている。
The
運用サーバ11と、設定変更前のクライアント端末13とは、ネットワークシステム14を介して互いに通信可能である。一方、非運用サーバ12の運用が開始されていないため、設定変更後のクライアント端末13は、非運用サーバ12と通信することはできない。後述するように、設定変更後のクライアント端末13は、ネットワークシステム14により運用サーバ11と通信することができる。
The
ネットワークシステム14は、第1ネットワーク装置141と、第2ネットワーク装置142と、第3ネットワーク装置143とを備えている。なお、図1のネットワークシステム14は、適宜省略されており、第1ネットワーク装置141、第2ネットワーク装置142、及び第3ネットワーク装置143以外のスイッチ、ルータ等が設けられてもよい。
The
第1ネットワーク装置141、第2ネットワーク装置142、及び第3ネットワーク装置143のそれぞれは、中継機能を有している。第1ネットワーク装置141、第2ネットワーク装置142、及び第3ネットワーク装置143は、例えば、ルータであってもよく、ファイアウォールであってもよく、計算機であってもよい。また、第1ネットワーク装置141、第2ネットワーク装置142、及び第3ネットワーク装置143のそれぞれは、計算機の機能として実現されていてもよく、例えば、仮想ルータであってもよい。また、第1ネットワーク装置141、第2ネットワーク装置142、及び第3ネットワーク装置143のそれぞれは、複数のハードウェアの組み合わせであってもよい。
Each of the
第1ネットワーク装置141と第2ネットワーク装置142とを接続する経路は、2つ存在している。第3ネットワーク装置143を経由する経路を迂回経路と呼び、第3ネットワーク装置143を経由しない経路を直接経路と呼ぶ。
There are two routes connecting the
第1ネットワーク装置141は、クライアント端末が送信したパケットを中継する際、非運用サーバ12のアドレス情報を宛先情報とするパケットは迂回経路に送信し、運用サーバのアドレス情報を宛先情報とするパケットは迂回しない直接経路に送信する。すなわち、第1ネットワーク装置141は、非運用サーバ12のアドレス情報を宛先情報とするパケットを、第3ネットワーク装置143に転送する。また、第1ネットワーク装置141は、運用サーバ11のアドレス情報を宛先情報とするパケットを、第2ネットワーク装置142に転送する。
When relaying packets sent by a client terminal, the
第2ネットワーク装置142は、運用サーバ11が送信したパケットを中継する際、当該パケットを迂回経路と直接経路の両方に送信する処理、及び、当該パケットに付与されているルート識別情報に基づいて、行きのパケットと戻りのパケットの経路が同じになるように当該パケットを送信する処理の少なくともいずれか一方を行う。行きのパケットとは、クライアント端末13から運用サーバ11に送信されるパケットであり、戻りのパケットとは、運用サーバ11からクライアント端末13に送信されるパケットである。
When relaying a packet sent by the
ルート識別情報は、パケットが迂回経路を通るべきか否かを示す情報であり、パケットのヘッダに含まれる任意のフィールドをルート識別情報として用いることができる。第2ネットワーク装置142は、例えば、ルート識別情報が第3ネットワーク装置143により設定された所定値である場合、当該パケットを迂回経路に送信し、それ以外の場合は当該パケットを直接経路に送信してもよい。
The route identification information is information indicating whether or not a packet should take a detour route, and any field included in the packet's header can be used as the route identification information. For example, if the route identification information is a predetermined value set by the
また、第2ネットワーク装置142は、運用サーバ11が送信したパケットを迂回経路及び直接経路のいずれか一方に送信し、送信したパケットをコピーして他方に送信してもよい。すなわち、第2ネットワーク装置142は、ポートミラーリングを行うことにより、パケットを迂回経路及び直接経路の両方に送信してもよい。2つのパケットを受信したクライアント端末13は、送信元情報が正しく設定されたパケットに応答し、他方を無視する。これにより、クライアント端末13と運用サーバ11との間の通信が成立する。
The
また、第2ネットワーク装置142は、特定の通信の場合には、パケットを迂回経路及び直接経路の両方に送信し、それ以外の場合には、ルート識別情報に基づいてパケットを迂回経路及び直接経路のいずれか一方に送信してもよい。例えば、第2ネットワーク装置142は、サーバ側から行われる通信の場合には、パケットを迂回経路及び直接経路の両方に送信してもよい。
The
第3ネットワーク装置143は、迂回経路において、クライアント端末13が送信したパケットの宛先情報を、運用サーバ11のアドレス情報に変換し、運用サーバ11が送信したパケットの送信元情報を、非運用サーバ12のアドレス情報に変換する。すなわち、第3ネットワーク装置143は、NAT(Network Address Transformation)を行う装置である。
The
また、第3ネットワーク装置143は、クライアント端末13が送信したパケットの宛先情報を変換する際に、パケットのヘッダに含まれているルート識別情報を所定値に設定してもよい。第2ネットワーク装置142は、ルート識別情報が所定値であるか否かに応じて、戻りパケットを行きパケットと同じ経路を通るように中継することができる。
In addition, when converting the destination information of a packet sent by the
したがって、設定変更後のクライアント端末が送信したパケットは、宛先情報が変換されて、運用サーバ11に送信される。そして、運用サーバ11が設定変更後のクライアント端末に送信したパケットの少なくとも一方は、送信元情報が非運用サーバ12に変換されるため、設定変更後のクライアント端末が応答可能となる。
Therefore, the destination information of the packets sent by the client terminal after the setting change is converted and sent to the
尚、設定変更前のクライアント端末が送信したパケットは、宛先情報が変換されない。そして、運用サーバ11が設定変更前のクラアント端末に送信したパケットの少なくとも一方は、送信元情報が変換されないため、設定変更前のクライアント端末は応答可能である。
Note that the destination information of packets sent by a client terminal before the setting change is not converted. And, since the source information of at least one of the packets sent by the
よって、実施形態1にかかるネットワークシステム14によると、設定変更されたクライアント端末と、旧サーバとの通信が可能となる。
Therefore, according to the
(実施形態2)
実施形態2は実施形態1の具体例であり、プレシデンス値に基づいてパケットを直接経路及び迂回経路のいずれか一方に送信する。図2は、実施形態2にかかる通信システム1aの構成を示す構成図である。
(Embodiment 2)
The second embodiment is a specific example of the first embodiment, and transmits a packet to either a direct route or a detour route based on a precedence value. Fig. 2 is a configuration diagram showing a configuration of a communication system 1a according to the second embodiment.
通信システム1aは、クライアント端末13と、運用サーバ11a及び11bと、新サーバ12a及び12bと、ネットワークシステム14aとを備えている。クライアント端末13は、車両に搭載された車載端末であってもよい。運用サーバ11a及び11bの新サーバ12a及び12bへの移行が行われているが、新サーバ12a及び12bは運用が開始されていない。なお、図2では、クライアント端末の数が2台、運用サーバの数が2台、新サーバの数が2台の場合を示されているが、クライアント端末等の数はこれに限定されない。
The communication system 1a includes a
クライアント端末13の一部(第1クライアント端末131と呼ぶ)は、新サーバ12a及び12bと通信するように設定変更されており、新サーバ12a又は12bのIPアドレス以外を送信元情報とするパケットは無視するように設定されている。また、クライアント端末13の一部(第2クライアント端末132と呼ぶ)は、まだ設定変更が行われておらず、運用サーバ11a又は11bのIPアドレス以外を送信元情報とするパケットは無視するように設定されている。第1クライアント端末131のIPアドレスは、「A1」である。第2クライアント端末132のIPアドレスは、「A2」である。運用サーバ11aのIPアドレスは、「C1」である。運用サーバ11bのIPアドレスは、「C2」である。新サーバ12aのIPアドレスは、「C3」である。新サーバ12bのIPアドレスは、「C4」である。
A part of the client terminals 13 (called the first client terminal 131) has been reconfigured to communicate with the
ネットワークシステム14aは、第1ネットワーク装置141と第2ネットワーク装置142と第3ネットワーク装置143と、L2スイッチ144とを備えている。なお、ネットワークシステム14aは、ルータ、スイッチ等をさらに備えていてもよい。ネットワークシステム14aは、運用サーバ11a及び11bが、クライアント端末13等と通信するための経路をさらに備えていてもよい。
The
第1ネットワーク装置141、第2ネットワーク装置142、第3ネットワーク装置のそれぞれは、例えばルータであるが、パケットの中継機能を有していればルータでなくてもよく、例えば、ファイアウォールであってもよく、仮想ルータであってもよい。第1ネットワーク装置141及び第2ネットワーク装置142は、ポリシーベースルーティングを行う機能を有しており、ポリシーに基づいてパケットを迂回経路又は直接経路に送信する。
Each of the
第1ネットワーク装置141は、ポート141a、141b、及び141cを備えている。ポート141aは、第1クライアント端末131及び第2クライアント端末132が送信したパケットを受信する。ポート141aのIPアドレスは、「B1」である。ポート141bは、第2ネットワーク装置142と接続されている。ポート141bのIPアドレスは、「B2」である。ポート141cは、第3ネットワーク装置143と接続されており、IPアドレスは「B3」である。
The
第1ネットワーク装置141は、パケットの中継機能を有している。第1ネットワーク装置は、第1クライアント端末131が送信したパケットを、第3ネットワーク装置143に送信し、第2クライアント端末132が送信したパケットを、第2ネットワーク装置142に送信する。すなわち、第1ネットワーク装置141は、第1クライアント端末131が送信したパケットを迂回経路に送信し、第2クライアント端末が送信したパケットを直接経路に送信する。第1ネットワーク装置141は、新サーバ12a又は12bのIPアドレスを宛先情報とするパケットを、第3ネットワーク装置143に送信するように設定されていてもよい。
The
第2ネットワーク装置142は、ポート142a、142b、及び142cを備えている。ポート142aは、第1ネットワーク装置141と接続されており、IPアドレスは「B4」である。ポート142bは、第3ネットワーク装置143と接続されており、IPアドレスは「B5」である。ポート142cは、レイヤ2スイッチ144と接続されており、IPアドレスは「B6」である。
The
第2ネットワーク装置142は、パケットの中継機能を有している。第2ネットワーク装置142は、運用サーバ11a又は11bが送信したパケットを、レイヤ2スイッチ144を介して受信し、IPヘッダのToS(Type of Service)フィールドに含まれるプレシデンス値が、例えば、「7」になっているか否かを判定する。そして、第2ネットワーク装置142は、プレシデンス値が「7」のパケットは、第3ネットワーク装置143に送信し、それ以外のパケットは第1ネットワーク装置141に送信する。したがって、プレシデンス値が「7」のパケットは迂回経路に送信され、それ以外のパケットは直接径路に送信される。尚、第2ネットワーク装置142は、レイヤ3スイッチであってもよい。
The
プレシデンス値は、後述するように、第3ネットワーク装置143によって「7」に設定される。なお、第2ネットワーク装置142は、プレシデンス値以外の識別情報を用いてパケットの振り分けを行ってもよい。パケットの振り分けには、識別情報を用いた任意の判定条件が用いられてよい。
The precedence value is set to "7" by the
第3ネットワーク装置143は、ポート143a及び143bを備えている。ポート143aは、第1ネットワーク装置141と接続されており、IPアドレスは「B7」である。ポート143bは、第3ネットワーク装置143と接続されており、IPアドレスは「B8」である。
The
第3ネットワーク装置143は、第1クライアント端末131が送信したパケットの宛先情報を、運用サーバ11a又は11bのIPアドレスに変換し、パケットのヘッダに含まれているプレシデンス値を「7」に設定する。また、第3ネットワーク装置143は、運用サーバ11a又は11bが送信したパケットの送信元情報を、新サーバ12a又は12bのIPアドレスに変換する。
The
レイヤ2スイッチ144は、運用サーバ11a及び11bと接続されている。また、レイヤ2スイッチ144には、運用開始前の新サーバ12a及び12bが接続されていてもよい。
The layer 2
次に、ネットワークシステム14aの動作について説明する。まず、第1クライアント端末131が、新サーバ12aにパケットを送信した場合について説明する。送信されたパケットは、まず、第1ネットワーク装置141により第3ネットワーク装置143に送信される。次に、第3ネットワーク装置143が、パケットの宛先情報を運用サーバ11aのアドレス情報に変換し、ヘッダのプレシデンス値を「7」に設定する。そして、当該パケットは、第2ネットワーク装置142及びレイヤ2スイッチ144を経由して運用サーバ11aに送信される。
Next, the operation of the
そして、運用サーバ11aが送信した応答パケットは、L2スイッチ144を介して第2ネットワーク装置142に送信される。第2ネットワーク装置142は、応答パケットのプレシデンス値が「7」となっていることから、当該応答パケットを第3ネットワーク装置143に送信する。第3ネットワーク装置143は、応答パケットの送信元情報を変換して第1ネットワーク装置141に送信する。第1ネットワーク装置141は、応答パケットを第1クライアント端末131に送信する。応答パケットの送信元情報が新サーバ12aのアドレス情報となっているため、第1クライアント端末131は、通信を行うことができる。
The response packet sent by the
次に、第2クライアント端末132が、運用サーバ11aにパケットを送信した場合について説明する。送信されたパケットは、第1ネットワーク装置141により、第2ネットワーク装置142に送信され、L2スイッチ144を介して運用サーバ11aに送信される。運用サーバ11aが送信した応答パケットはプレシデンス値が書き換えられていないことから、第2ネットワーク装置142は、応答パケットを第1ネットワーク装置141に送信する。そして、第1ネットワーク装置141は、応答パケットを第2クライアント端末132に送信する。以上の動作により、第2クライアント端末132は、運用サーバ11aと通信を行うことが可能となる。
Next, a case where the
このように、ネットワークシステム14aは、第1クライアント端末131が送信したパケットの宛先情報を運用サーバのアドレス情報に変換し、運用サーバ11が送信した応答パケットの送信元情報を新サーバ12のアドレス情報に変換する。したがって、新サーバ12と通信するように設定されている第1クライアント端末131は、運用サーバ11との通信を成立させることができる。なお、第2クライアント端末132が送信したパケット、及びその応答パケットは、アドレス変換がされないため、第2クライアント端末と運用サーバとの通信に影響を与えることはない。
In this way, the
なお、第2ネットワーク装置142が、応答パケットを、第1ネットワーク装置141と第3ネットワーク装置143の両方に送信した場合にも通信を成立させることが可能である。このような場合、2つの応答パケットが、クライアント端末13に送信されることとなる。一方、実施形態2にかかるネットワークシステム14aは、応答パケットを1つだけ送信するため、通信量を低減できる。このことは、クライアント端末13が無線通信を行う場合に有利となる。また、これにより、クライアント端末の処理負担が低減される。
It is also possible to establish communication when the
(実施形態3)
実施形態3も、実施形態2と同様に、実施形態1の具体例である。実施形態3にかかるネットワークシステム14bは、運用サーバ11が送信したパケットを、第1ネットワーク装置141と第3ネットワーク装置143の両方に送信する。
(Embodiment 3)
The third embodiment is also a specific example of the first embodiment, like the second embodiment. A
実施形態2では、クライアント端末13が通信を開始する場合について説明したが、運用サーバ11a又は11bから通信が開始される場合がある。このような通信を、サーバきっかけの通信とも呼ぶ。また、クライアント端末から開始される通信のことを、クライアントきっかけの通信とも呼ぶ。
In the second embodiment, a case has been described in which the
実施形態2によると、サーバ側から通信が開始された場合、第2ネットワーク装置142は、宛先が第1クライアント端末131であるか第2クライアント端末132であるか判定することができないため、通信を成立させることができない。ネットワークシステム14bは、このような場合にも通信を成立させることが可能である。
According to the second embodiment, when communication is initiated from the server side, the
図3は、実施形態3にかかる通信システム1b、及びネットワークシステム14bの構成を示すブロック図である。以下では、図2と異なる点を中心に説明する。第2ネットワーク装置142は、ポート142dをさらに備えている。また、第3ネットワーク装置143は、ポート143cをさらに備えている。ポート143cのIPアドレスは、「B9」である。また、後述するように、ポート143c及び141bは、仮想IPアドレスが設定されている。仮想IPアドレスは、「D1」である。
Figure 3 is a block diagram showing the configuration of a
第2ネットワーク装置142は、ポート142aから送信したパケットのコピーを、ポート142dから送信するように設定されている。ここで、VRRP(Virtual Router Redundancy Protocol)技術が使用されており、ポート141b及び143cには同一の仮想IPアドレス「D1」が設定されている。また、ポート142cは、ミラーリングを行うポートであるため、IPアドレスが設定されない。同一のパケットを送信するため、ポート141bとポート143cには同一のMAC(Media Access Control)アドレスが設定される必要がある。そのため、ネットワークシステム14bは、VRRPを使用している。
The
次に、ネットワークシステム14bの動作について説明する。まず、運用サーバ11aが、第1クライアント端末131にパケットを送信した場合について説明する。第2ネットワーク装置142は、当該パケットを第1ネットワーク装置141に送信し、そのコピーを第3ネットワーク装置143に送信する。第3ネットワーク装置143は、パケットの送信元情報を変換し、第1ネットワーク装置141に送信する。第1クライアント端末131は、第1ネットワーク装置141から2つのパケットを受信し、送信元情報が変換されたパケットに対して応答し、送信元情報が変換されていないパケットは無視する。したがって、運用サーバ11は、第1クライアント端末131と通信を成立させることができる。
Next, the operation of
次に、運用サーバ11aが、第2クライアント端末132にパケットを送信する場合について説明する。第2ネットワーク装置142は、当該パケットを第1ネットワーク装置141に送信し、そのコピーを第3ネットワーク装置143に送信する。第3ネットワーク装置143は、パケットの送信元情報を変換し、第1ネットワーク装置141に送信する。第2クライアント端末132は、第1ネットワーク装置141から2つのパケットを受信し、送信元情報が変換されていないパケットに対して応答し、送信元情報が変換されたパケットは無視する。したがって、運用サーバ11は、第2クライアント端末132との通信を成立させることができる。
Next, a case will be described where the
このように、ネットワークシステム14bは、サーバ移行の際に、サーバきっかけの通信を成立させることができる。また、ネットワークシステム14bは、実施形態2と同様に、クライアントきっかけの通信を成立させることもできる。このような場合、クライアント端末13は、受信した2つのパケットのうちの一方のみに応答してもよい。
In this way,
また、ネットワークシステム14bにおいて、実施形態2と同様にルート識別情報の設定が行われてもよい。このような場合、実施形態2と同様に、第2ネットワーク装置142は、プレシデンス値が所定の条件を満たす場合に、パケットを第3ネットワーク装置143に送信し、それ以外の場合にパケットを第1ネットワーク装置141に送信することとなる。
In addition, in the
ここで、第2ネットワーク装置142は、サーバきっかけの通信の場合にはパケットのミラーリングを行い、クライアントきっかけの通信の場合にはパケットのミラーリングを行わないように動作してもよい。このような場合、クライアントきっかけの通信において、パケットが2つ送信されないことから通信量及び処理負荷を軽減できる。第2ネットワーク装置142は、例えば、サーバきっかけの通信の種類に応じて、条件付きのポートミラーリングを行うように設定されていてもよい。
The
以上、実施の形態を参照して本願発明を説明したが、本願発明は上記によって限定されるものではない。本願発明の構成や詳細には、発明のスコープ内で当業者が理解し得る様々な変更をすることができる。例えば、上述の実施の形態では、本発明をハードウェアの構成として説明したが、本発明は、これに限定されるものではない。本発明は、任意の処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。 The present invention has been described above with reference to the embodiment, but the present invention is not limited to the above. The configuration and details of the present invention can be modified in various ways that are understandable to those skilled in the art within the scope of the invention. For example, in the above embodiment, the present invention has been described as a hardware configuration, but the present invention is not limited to this. Any processing in the present invention can also be realized by having a CPU (Central Processing Unit) execute a computer program.
プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD-ROM(Read Only Memory)、CD-R、CD-R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 The program can be stored and supplied to the computer using various types of non-transitory computer readable media. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R/Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (random access memories)). The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The transitory computer readable media can supply the program to the computer via wired communication paths such as electric wires and optical fibers, or wireless communication paths.
1、1a、1b 通信システム
11、11a、11b 運用サーバ
12、12a、12b 非運用サーバ(新サーバ)
13 クライアント端末
131 第1クライアント端末
132 第2クライアント端末
14、14a、14b ネットワークシステム
141 第1ネットワーク装置
142 第2ネットワーク装置
143 第3ネットワーク装置
144 レイヤ2スイッチ
141a、141b、141c、142a、142b、142c、142d、143a、143b、143c ポート
1, 1a,
13
Claims (5)
前記運用サーバが送信したパケットを中継する際、当該パケットを前記迂回経路と前記直接経路の両方に送信する第1の処理、及び、当該パケットに付与されているルート識別情報に基づいて、行きのパケットと戻りのパケットの経路が同じになるように当該パケットを送信する第2の処理の少なくともいずれか一方を行う第2のネットワーク装置と、
前記迂回経路において、前記クライアント端末が送信したパケットの宛先情報を前記運用サーバのアドレス情報に変換し、前記運用サーバが送信したパケットの送信元情報を前記非運用サーバのアドレス情報に変換する第3のネットワーク装置と、
を備え、
前記第3のネットワーク装置は、前記迂回経路において、前記クライアント端末が送信したパケットのヘッダに含まれる前記ルート識別情報を所定値に設定し、
前記第2の処理は、前記ルート識別情報が前記所定値である場合は当該パケットを前記迂回経路に送信し、それ以外の場合は当該パケットを前記直接経路に送信する、
ネットワークシステム。 a first network device that, when relaying a packet transmitted by a client terminal, transmits a packet having address information of a non-production server as destination information to a detour route and transmits a packet having address information of a production server as destination information to a direct route;
a second network device that performs at least one of a first process of transmitting a packet transmitted by the operational server to both the detour route and the direct route when relaying the packet, and a second process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet;
a third network device that converts destination information of a packet transmitted by the client terminal into address information of the primary server and converts source information of a packet transmitted by the primary server into address information of the non-primary server in the detouring route;
Equipped with
the third network device sets the route identification information included in a header of a packet transmitted by the client terminal to a predetermined value on the detour route;
the second process transmits the packet to the detour route if the route identification information is equal to the predetermined value, and otherwise transmits the packet to the direct route;
Network system.
請求項1に記載のネットワークシステム。 The first process includes transmitting the packet to one of the detour route and the direct route, and copying the transmitted packet and transmitting it to the other route.
The network system according to claim 1 .
請求項2に記載のネットワークシステム。 The first process transmits the same packet to both the detour route and the direct route by using a Virtual Router Redundancy Protocol (VRRP) technique.
The network system according to claim 2 .
クライアント端末と、
ネットワークシステムと、
を備え、
前記ネットワークシステムは、
前記クライアント端末が送信したパケットを転送する際、非運用サーバのアドレス情報を宛先情報とするパケットは迂回経路に送信し、前記運用サーバのアドレス情報を宛先情報とするパケットは直接経路に送信する第1のネットワーク装置と、
前記運用サーバが送信したパケットを転送する際、当該パケットを前記迂回経路と前記直接経路の両方に送信する第1の処理、及び、当該パケットに付与されているルート識別情報に基づいて、行きのパケットと戻りのパケットの経路が同じになるように当該パケットを送信する第2の処理の少なくともいずれか一方を行う第2のネットワーク装置と、
前記迂回経路において、前記クライアント端末が送信したパケットの宛先情報を前記運用サーバのアドレス情報に変換し、前記運用サーバが送信したパケットの送信元情報を前記非運用サーバのアドレス情報に変換する第3のネットワーク装置と、を備え、
前記第3のネットワーク装置は、前記迂回経路において、前記クライアント端末が送信したパケットのヘッダに含まれる前記ルート識別情報を所定値に設定し、
前記第2の処理は、前記ルート識別情報が前記所定値である場合は当該パケットを前記迂回経路に送信し、それ以外の場合は当該パケットを前記直接経路に送信する、
通信システム。 A production server;
A client terminal;
A network system;
Equipped with
The network system includes:
a first network device that, when forwarding a packet transmitted by the client terminal, transmits a packet having address information of a non-operational server as destination information to a detour route and transmits a packet having address information of the operation server as destination information to a direct route;
a second network device that performs at least one of a first process of transmitting a packet transmitted by the operational server to both the detour route and the direct route when the packet is forwarded, and a second process of transmitting the packet so that the routes of the outgoing packet and the return packet are the same based on route identification information assigned to the packet;
a third network device that converts destination information of a packet transmitted by the client terminal into address information of the primary server, and converts source information of a packet transmitted by the primary server into address information of the non-primary server, in the detouring route ;
the third network device sets the route identification information included in a header of a packet transmitted by the client terminal to a predetermined value on the detour route;
the second process transmits the packet to the detour route if the route identification information is equal to the predetermined value, and otherwise transmits the packet to the direct route;
Communication systems.
前記運用サーバが送信したパケットを転送する際、前記迂回経路と前記直接経路の両方に送信する第1の処理、及び、当該パケットに付与されているルート識別情報に基づいて、行きのパケットと戻りのパケットの経路が同じになるように当該パケットを送信する第2の処理の少なくともいずれか一方を行い、
前記迂回経路において、前記クライアント端末が送信したパケットの宛先情報を前記運用サーバのアドレス情報に変換し、前記運用サーバが送信したパケットの送信元情報を前記非運用サーバのアドレス情報に変換する、
通信方法であって、
前記迂回経路において、前記クライアント端末が送信したパケットのヘッダに含まれる前記ルート識別情報を所定値に設定し、
前記第2の処理は、前記ルート識別情報が前記所定値である場合は当該パケットを前記迂回経路に送信し、それ以外の場合は当該パケットを前記直接経路に送信する、
通信方法。 When forwarding packets sent by a client terminal, packets whose destination information is the address information of a non-production server are sent via a detour route, and packets whose destination information is the address information of a production server are sent via a direct route.
When forwarding a packet transmitted by the operational server, at least one of a first process of transmitting the packet via both the detour route and the direct route and a second process of transmitting the packet so that the routes of a going packet and a returning packet are the same based on route identification information assigned to the packet,
converting destination information of a packet transmitted by the client terminal into address information of the primary server, and converting source information of a packet transmitted by the primary server into address information of the non-primary server, in the detouring route;
1. A communication method comprising:
setting the route identification information included in a header of a packet transmitted by the client terminal to a predetermined value on the detour route;
the second process transmits the packet to the detour route if the route identification information is equal to the predetermined value, and otherwise transmits the packet to the direct route;
Communication methods.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020169566A JP7585696B2 (en) | 2020-10-07 | 2020-10-07 | Network system, communication system, and communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020169566A JP7585696B2 (en) | 2020-10-07 | 2020-10-07 | Network system, communication system, and communication method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022061573A JP2022061573A (en) | 2022-04-19 |
| JP7585696B2 true JP7585696B2 (en) | 2024-11-19 |
Family
ID=81210756
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020169566A Active JP7585696B2 (en) | 2020-10-07 | 2020-10-07 | Network system, communication system, and communication method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7585696B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009005189A (en) | 2007-06-22 | 2009-01-08 | Nippon Telegraph & Telephone West Corp | Method and system for shifting connection destination |
| US20100254255A1 (en) | 2002-10-18 | 2010-10-07 | Foundry Networks, Inc. | Redundancy support for network address translation (nat) |
| JP2014023137A (en) | 2012-07-24 | 2014-02-03 | Mitsubishi Electric Corp | Communication system, route control device, user terminal and route control method |
-
2020
- 2020-10-07 JP JP2020169566A patent/JP7585696B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100254255A1 (en) | 2002-10-18 | 2010-10-07 | Foundry Networks, Inc. | Redundancy support for network address translation (nat) |
| JP2009005189A (en) | 2007-06-22 | 2009-01-08 | Nippon Telegraph & Telephone West Corp | Method and system for shifting connection destination |
| JP2014023137A (en) | 2012-07-24 | 2014-02-03 | Mitsubishi Electric Corp | Communication system, route control device, user terminal and route control method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022061573A (en) | 2022-04-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107623712B (en) | Virtual client device service providing system in network function virtualization environment and network function virtual cloud used for same | |
| US8767558B2 (en) | Custom routing decisions | |
| US9515927B2 (en) | System and method for layer 3 proxy routing | |
| US20160248669A1 (en) | Systems and methods of inter data center out-bound traffic management | |
| JP2001326693A (en) | Communication system and method for controlling communication, and control program recording medium | |
| CN113852976A (en) | Data processing method, controller and forwarding device | |
| EP3989512A1 (en) | Method for controlling traffic forwarding, device, and system | |
| WO2021227863A1 (en) | Disaster recovery method and apparatus for hybrid cloud private line access network | |
| CN113381929B (en) | Route processing method, gateway equipment and computer storage medium | |
| WO2019075033A1 (en) | A system and method for providing a layer 2 fast re-switch for a wireless controller | |
| WO2013159549A1 (en) | Method, device and system for establishing and using floating network segment | |
| US10965596B2 (en) | Hybrid services insertion | |
| WO2021166250A1 (en) | Gateway device, method, and program | |
| US11115319B2 (en) | Using BFD packets in a network tunnel environment | |
| CN100461764C (en) | Method and system for realizing consistent message forwarding path | |
| JP6635884B2 (en) | Physical and Logical Asymmetric Routing Prevention Mechanism in Relay Unit Redundancy Configuration | |
| JP2011114391A (en) | Packet processing apparatus, and network system | |
| JP7585696B2 (en) | Network system, communication system, and communication method | |
| US7869351B2 (en) | Communication techniques and generic layer 3 automatic switching protection | |
| JP3999353B2 (en) | Method and system for determining communication path in computer network, and recording medium on which program is recorded | |
| JP4011528B2 (en) | Network virtualization system | |
| WO2014132298A1 (en) | Network system, resource control device, and virtual machine generation device | |
| US12126598B2 (en) | Managing exchanges between edge gateways in a cloud environment to support a private network connection | |
| WO2020181733A1 (en) | Vpc-based multi-data center intercommunication method and related device | |
| JP7371784B2 (en) | Communication relay device, communication relay system, communication relay method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230901 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240520 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240528 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240726 |
|
| 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: 20241008 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241021 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7585696 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |