JP5207320B2 - Communication path control device, communication path control method, and communication path control program - Google Patents

Communication path control device, communication path control method, and communication path control program Download PDF

Info

Publication number
JP5207320B2
JP5207320B2 JP2010034016A JP2010034016A JP5207320B2 JP 5207320 B2 JP5207320 B2 JP 5207320B2 JP 2010034016 A JP2010034016 A JP 2010034016A JP 2010034016 A JP2010034016 A JP 2010034016A JP 5207320 B2 JP5207320 B2 JP 5207320B2
Authority
JP
Japan
Prior art keywords
communication
packet
communication path
network interface
confirmation
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
JP2010034016A
Other languages
Japanese (ja)
Other versions
JP2011172020A (en
Inventor
真一 宮下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC System Technologies 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 NEC System Technologies Ltd filed Critical NEC System Technologies Ltd
Priority to JP2010034016A priority Critical patent/JP5207320B2/en
Publication of JP2011172020A publication Critical patent/JP2011172020A/en
Application granted granted Critical
Publication of JP5207320B2 publication Critical patent/JP5207320B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明に係るいくつかの態様は、通信パケットの通信経路を制御する技術に関する。   Some embodiments according to the present invention relate to a technique for controlling a communication path of a communication packet.

従来、通信相手との間に複数の通信経路が存在する場合の通信制御において、通信経路ごとにpingなどによる通信確認用のパケットを送信して通信経路の状態を監視し、ping応答の有無に従って通信可能な通信経路を選択していた。このようなpingパケットによる通信経路の監視の一例が特許文献1に記載されている。   Conventionally, in communication control when a plurality of communication paths exist with a communication partner, a communication confirmation packet such as ping is transmitted for each communication path to monitor the state of the communication path, and according to the presence or absence of a ping response A communication path that allows communication was selected. An example of monitoring a communication path using such a ping packet is described in Patent Document 1.

特開2005−33658号公報JP 2005-33658 A

しかしながら、特許文献1に記載の方法では、通信不能や通信障害の発生の有無に関係なく通信確認用のパケットを送信する必要があるため、定期的に通信確認用のパケットを送信する無駄(ロス)が生じていた。また、通信経路の途中に存在する通信機器の中には、セキュリティの確保の観点から、pingなどによる通信確認用のパケットを破棄するように設定されていることが多い。この場合、実際には通信可能な通信経路であっても通信不能と判定して通信経路を設定(確立)できないおそれがあり、通信経路の設定の精度が低かった。   However, in the method described in Patent Document 1, it is necessary to transmit a communication confirmation packet regardless of whether communication is disabled or a communication failure occurs. ) Has occurred. Also, communication devices existing in the middle of a communication path are often set to discard packets for communication confirmation by ping or the like from the viewpoint of ensuring security. In this case, even if the communication path is actually communicable, it may be determined that communication is impossible and the communication path may not be set (established), and the accuracy of setting the communication path is low.

本発明のいくつかの態様は前述の問題に鑑みてなされたものであり、高い精度で通信経路を設定することができる通信経路制御装置、通信経路制御方法、及び通信経路制御プログラムを提供することを目的の1つとする。   Some aspects of the present invention have been made in view of the above problems, and provide a communication path control device, a communication path control method, and a communication path control program capable of setting a communication path with high accuracy. Is one of the purposes.

本発明に係る通信経路制御装置は、通信パケットの通信経路を制御する通信経路制御装置であって、前述の通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視部と、通信監視部により通信不能と判定されたときに、通信パケット記録部にある通信パケットのコピーを基に通信確認用パケットを作成し、当該通信確認用パケットを前述の通信パケットの宛先に他のネットワークインターフェースを介して送信する通信確認部と、前述の他のネットワークインターフェースを介する通信経路が通信可能と判定されたときに、前述の通信パケットの通信経路とし前述の他のネットワークインターフェースを設定する通信経路設定部と、を備え、通信監視部は、通信確認用パケットに対する応答情報を受信したときに、前述の他のネットワークインターフェースを介する通信経路について通信可能と判定する
A communication path control device according to the present invention is a communication path control device that controls a communication path of a communication packet, and a communication monitoring unit that determines whether or not the communication packet can be communicated via one network interface; When the communication monitoring unit determines that communication is impossible , a communication confirmation packet is created based on a copy of the communication packet in the communication packet recording unit, and the communication confirmation packet is sent to the destination of the communication packet as described above . a communication confirmation unit for transmitting via the network interface, when the communication path through the other network interface described above is judged to be communication, setting the other network interface described above with the communication path of the aforementioned communication packet and a communication path setting unit, the communication monitoring unit, receiving the response information to the communication confirmation packet When determines that can communicate the communication path through the other network interface described above.

本発明に係る通信経路制御方法は、通信パケットの通信経路を制御する通信経路制御方法であって、前述の通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視ステップと、通信監視ステップにより通信不能と判定されたときに、通信パケット記録部にある通信パケットのコピーを基に通信確認用パケットを作成し、当該通信確認用パケットを前述の通信パケットの宛先に他のネットワークインターフェースを介して送信する通信確認ステップと、前述の他のネットワークインターフェースを介する通信経路が通信可能と判定されたときに、前述の通信パケットの通信経路とし前述の他のネットワークインターフェースを設定する通信経路設定ステップと、を備え、通信確認用パケットに対する応答情報を受信したときに、前述の他のネットワークインターフェースを介する通信経路について通信可能と判定する
A communication path control method according to the present invention is a communication path control method for controlling a communication path of a communication packet, the communication monitoring step for determining whether or not the communication packet can be communicated via one network interface; When the communication monitoring step determines that communication is impossible , a communication confirmation packet is created based on a copy of the communication packet in the communication packet recording unit, and the communication confirmation packet is sent to the destination of the communication packet as described above . a communication confirmation step of transmitting via the network interface, when the communication path through the other network interface described above is judged to be communication, setting the other network interface described above with the communication path of the aforementioned communication packet and a communication path setting step, response to the communication confirmation packet Upon receiving the information, it determines that can communicate the communication path through the other network interface described above.

本発明に係る通信経路制御プログラムは、通信パケットの通信経路を制御する通信経路制御プログラムであって、前述の通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視ステップと、通信監視ステップにより通信不能と判定されたときに、通信パケット記録部にある通信パケットのコピーを基に通信確認用パケットを作成し、当該通信確認用パケットを前述の通信パケットの宛先に他のネットワークインターフェースを介して送信する通信確認ステップと、前述の他のネットワークインターフェースを介する通信経路が通信可能と判定されたときに、前述の通信パケットの通信経路とし前述の他のネットワークインターフェースを設定する通信経路設定ステップと、を備え、通信確認用パケットに対する応答情報を受信したときに、前述の他のネットワークインターフェースを介する通信経路について通信可能と判定するA communication path control program according to the present invention is a communication path control program for controlling a communication path of a communication packet, and includes a communication monitoring step for determining whether or not the communication packet can be communicated through one network interface; When the communication monitoring step determines that communication is impossible , a communication confirmation packet is created based on a copy of the communication packet in the communication packet recording unit, and the communication confirmation packet is sent to the destination of the communication packet as described above . a communication confirmation step of transmitting via the network interface, when the communication path through the other network interface described above is judged to be communication, setting the other network interface described above with the communication path of the aforementioned communication packet and a communication path setting step, the communication confirmation packet Upon receiving the response information in response to judges that can communicate the communication path through the other network interface described above.

本発明によれば、通信パケットを一のネットワークインターフェースを介して通信できないとき(通信不能なとき)に、高い精度で、他のネットワークインターフェースを当該通信パケットの通信経路として設定することができる。   According to the present invention, when a communication packet cannot be communicated via one network interface (when communication is impossible), another network interface can be set as a communication path of the communication packet with high accuracy.

本発明の一実施形態におけるネットワークを説明するブロック図である。It is a block diagram explaining the network in one Embodiment of this invention. 図1に示したルーティングテーブルの一例を説明する構成図である。It is a block diagram explaining an example of the routing table shown in FIG. 通信パケットを送信するときの動作を説明するフローチャートである。It is a flowchart explaining the operation | movement when transmitting a communication packet. 図3に示した通信確認パケット送信処理を説明するフローチャートである。It is a flowchart explaining the communication confirmation packet transmission process shown in FIG. 通信確認用パケットの一例を説明する構成図である。It is a block diagram explaining an example of the packet for communication confirmation. パケットを受信するときの動作を説明するフローチャートである。It is a flowchart explaining the operation | movement when a packet is received.

以下に本発明の実施の形態を説明する。以下の図面の記載において、同一又は類似の部分には同一又は類似の符号で表している。但し、図面は模式的なものである。したがって、具体的な寸法などは以下の説明を照らし合わせて判断するべきものである。また、図面相互間においても互いの寸法の関係や比率が異なる部分が含まれていることは勿論である。なお、以下の説明において、図面の上側を「上」、下側を「下」、左側を「左」、右側を「右」という。   Embodiments of the present invention will be described below. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals. However, the drawings are schematic. Therefore, specific dimensions and the like should be determined in light of the following description. Moreover, it is a matter of course that portions having different dimensional relationships and ratios are included between the drawings. In the following description, the upper side of the drawing is referred to as “upper”, the lower side as “lower”, the left side as “left”, and the right side as “right”.

図1乃至図6は、本発明の一例を示すためのものである。図1は、本発明の一実施形態におけるネットワークを説明するブロックである。図1に示すように、端末10は、ネットワークインターフェース21,22と、通信経路制御部30と、CPU(図示省力)などが実行するアプリケーションプログラム40と、を備える。なお、本実施形態における通信経路制御部30は、本発明に係る通信経路制御装置の一例に相当する。   1 to 6 show an example of the present invention. FIG. 1 is a block diagram illustrating a network according to an embodiment of the present invention. As illustrated in FIG. 1, the terminal 10 includes network interfaces 21 and 22, a communication path control unit 30, and an application program 40 that is executed by a CPU (labor saving in the figure). The communication path control unit 30 in the present embodiment corresponds to an example of a communication path control apparatus according to the present invention.

ネットワークインターフェース21,22は、端末10の外部に設置されたルータR1又はルータR2にそれぞれ接続されており、ルータR1又はルータR2を経由(中継)してネットワークN1又はネットワークN2に接続された通信機器又は端末(図示省略)とそれぞれ通信するためのものである。なお、図1では、端末10が2つのネットワークインターフェース21,22を備えるようにしたが、これに限定されず、3つ以上の複数のネットワークインターフェースを備えるようにしてもよい。   The network interfaces 21 and 22 are respectively connected to the router R1 or the router R2 installed outside the terminal 10, and are connected to the network N1 or the network N2 via (route) the router R1 or the router R2. Or it is for each communicating with a terminal (illustration omitted). In FIG. 1, the terminal 10 includes the two network interfaces 21 and 22. However, the present invention is not limited to this, and the terminal 10 may include three or more network interfaces.

以下の説明では、特に明示した場合を除き、IP(Internet Protocol)を利用したパケット通信について説明する。通信経路制御部30は、IPパケット(以下、単にパケットという)の通信経路を制御するためのものである。通信経路制御部30は、メモリなどの記憶手段に記憶されたルーティングテーブル31と、通信パケット記憶部32と、通信監視部33と、通信確認部34と、通信経路設定部35と、を有する。   In the following description, packet communication using IP (Internet Protocol) will be described unless otherwise specified. The communication path control unit 30 is for controlling a communication path of an IP packet (hereinafter simply referred to as a packet). The communication path control unit 30 includes a routing table 31 stored in a storage unit such as a memory, a communication packet storage unit 32, a communication monitoring unit 33, a communication confirmation unit 34, and a communication path setting unit 35.

図2は、図1に示したルーティングテーブルの一例を説明する構成図である。ルーティングテーブル31は、所定のIPアドレス(以下、単にアドレスという)を宛先とするパケットをどの通信経路を用いて送信するかを決定するために、通信経路に関する情報を記憶(登録)するためのものである。ルーティングテーブル31の各エントリ(各行、又は各レコード)は、例えば管理者などによってあらかじめ登録されている。また、ルーティングテーブル31は、アプリケーションプログラム40及び通信確認部34によって読み出され、通信経路設定部35によって書き込まれる。図2に示すように、ルーティングテーブル31は、アドレス欄311と、通信経路欄312と、から構成される。   FIG. 2 is a configuration diagram illustrating an example of the routing table illustrated in FIG. The routing table 31 is used for storing (registering) information about a communication path in order to determine which communication path is used to transmit a packet destined for a predetermined IP address (hereinafter simply referred to as an address). It is. Each entry (each row or each record) in the routing table 31 is registered in advance by, for example, an administrator. The routing table 31 is read by the application program 40 and the communication confirmation unit 34 and written by the communication path setting unit 35. As shown in FIG. 2, the routing table 31 includes an address field 311 and a communication path field 312.

アドレス欄311には、パケットの宛先アドレスに関する情報、例えば宛先アドレスそのもの自体が格納される。図2に示すように、例えば「AD1」や「AD2」がアドレス欄311に格納される。通信経路欄312には、アドレス欄311に格納された宛先アドレスに対応するネットワークインターフェースに関する情報、例えばネットワークインターフェース21,22を一意に識別可能な情報なIDが格納される。   The address column 311 stores information related to the destination address of the packet, for example, the destination address itself. As shown in FIG. 2, for example, “AD1” and “AD2” are stored in the address field 311. The communication path column 312 stores information related to the network interface corresponding to the destination address stored in the address column 311, for example, an information ID that can uniquely identify the network interfaces 21 and 22.

本実施形態では、図2に示すように、アドレス欄311が「AD1」のエントリには通信経路欄312の「IF1」が、アドレス欄311が「AD2」のエントリには通信経路欄312の「IF2」が、それぞれ対応しており、図1に示すように、ネットワークインターフェース21にはIDとして「IF1」が、ネットワークインターフェース21にはIDとして「IF2」が、それぞれ割り当てられている。なお、本実施形態におけるルーティングテーブル31は、本発明に係る通信経路制御装置の「通信経路記憶部」の一例に相当する。   In the present embodiment, as shown in FIG. 2, “IF1” in the communication path column 312 is entered for the entry whose address column 311 is “AD1”, and “IF1” is entered in the communication path column 312 for the entry whose address column 311 is “AD2”. As shown in FIG. 1, the network interface 21 is assigned “IF1” as an ID, and the network interface 21 is assigned “IF2” as an ID. Note that the routing table 31 in the present embodiment corresponds to an example of a “communication path storage unit” of the communication path control apparatus according to the present invention.

通信パケット記憶部32は、アプリケーションプログラム40の要求により送信されるパケット(以下、通信パケットという)に関する情報を記憶するためのものである。本実施形態では、通信パケット記憶部32は、通信パケットに関する情報として、通信パケットのコピー(複製)を記憶する。また、通信パケット記憶部32は、監視手段33によって当該コピーが読み出され、又は書き込まれる。なお、当該コピーは一定時間記憶していれば足りるので、通信パケット記憶部32は、一時的に記憶するもの、例えばバッファメモリなどで構成してもよい。   The communication packet storage unit 32 is for storing information related to a packet (hereinafter referred to as a communication packet) transmitted in response to a request from the application program 40. In the present embodiment, the communication packet storage unit 32 stores a copy (duplication) of a communication packet as information regarding the communication packet. In the communication packet storage unit 32, the copy is read or written by the monitoring unit 33. Since the copy need only be stored for a certain period of time, the communication packet storage unit 32 may be configured to temporarily store, for example, a buffer memory.

通信監視部33は、ネットワークインターフェース21,22を介するパケットの通信、すなわち送信及び受信を監視して通信可能か否かを判定するためのものである。通信監視部33には、アプリケーションプログラム40の要求により送信される通信パケットとネットワークインターフェース21,22を介して受信したパケットが入力され、制御信号及び所定のデータを通信確認部34と通信経路設定部35とに出力する。   The communication monitoring unit 33 is for determining whether or not communication is possible by monitoring packet communication via the network interfaces 21 and 22, that is, transmission and reception. A communication packet transmitted in response to a request from the application program 40 and a packet received via the network interfaces 21 and 22 are input to the communication monitoring unit 33, and a control signal and predetermined data are transmitted to the communication confirmation unit 34 and a communication path setting unit. And 35.

通信確認部34は、後述する通信確認用パケットAを作成してネットワークインターフェース21,22を介して当該通信確認用パケットAを送信し、当該通信確認用パケットAを送信した通信経路が通信可能か確認するためのものである。通信確認部34には、通信監視部33から制御信号とともにパケットが入力され、通信確認部34は入力されたパケットに基づいて通信確認用パケットAを作成する。また、通信確認部34は、作成した通信確認用パケットAをネットワークインターフェース21又はネットワークインターフェース22に出力する。   The communication confirmation unit 34 creates a communication confirmation packet A, which will be described later, and transmits the communication confirmation packet A via the network interfaces 21 and 22. Whether the communication path that has transmitted the communication confirmation packet A is communicable It is for confirmation. A packet is input to the communication confirmation unit 34 together with a control signal from the communication monitoring unit 33, and the communication confirmation unit 34 creates a communication confirmation packet A based on the input packet. Further, the communication confirmation unit 34 outputs the created communication confirmation packet A to the network interface 21 or the network interface 22.

通信経路設定部35は、通信パケットを通信可能な通信経路を設定するためのものである。通信確認部34には、通信監視部33から制御信号とともにパケット及びネットワークインターフェース21,22のIDが入力され、入力されたパケット及びネットワークインターフェース21,22のIDに基づいて通信経路を設定する。   The communication path setting unit 35 is for setting a communication path through which communication packets can be communicated. The communication confirmation unit 34 receives the packet and the ID of the network interfaces 21 and 22 together with the control signal from the communication monitoring unit 33, and sets the communication path based on the input packet and the IDs of the network interfaces 21 and 22.

次に、図3乃至図6を参照しながら通信経路制御部30の動作について説明する。   Next, the operation of the communication path control unit 30 will be described with reference to FIGS. 3 to 6.

図3は、通信パケットを送信するときの動作を説明するフローチャートである。アプリケーションプログラム40の要求により通信パケットが送信されると(S101)、アプリケーションプログラム40から当該通信パケットが入力された通信監視部33は、通信パケット記憶部32に記憶された通信パケットのコピーを読み出し、入力された通信パケットが通信パケット記憶部32に記憶されたコピーと同じか否かを判定する(S102)。「同じ」の判定基準は、通信パケットの一部、例えばヘッダー部同士を比較して互いに同一である場合に同じと判断してもよいし、全部が同一である場合に同じと判定してもよい。   FIG. 3 is a flowchart for explaining the operation when a communication packet is transmitted. When a communication packet is transmitted in response to a request from the application program 40 (S101), the communication monitoring unit 33 to which the communication packet is input from the application program 40 reads a copy of the communication packet stored in the communication packet storage unit 32, It is determined whether or not the input communication packet is the same as the copy stored in the communication packet storage unit 32 (S102). The determination criterion of “same” may be determined to be the same when a part of communication packets, for example, header portions are compared with each other and are the same, or may be determined to be the same when all are the same. Good.

S102の判定の結果、通信パケット記憶部32に記憶されたコピーと同じでない場合、通信監視部33は、入力された通信パケットのコピーを作成し(S103)、当該コピーを通信パケット記憶部32に書き込んで記憶させる(S104)。   If the result of determination in S102 is not the same as the copy stored in the communication packet storage unit 32, the communication monitoring unit 33 creates a copy of the input communication packet (S103), and the copy is stored in the communication packet storage unit 32. Write and store (S104).

一方、S102の判定の結果、通信パケット記憶部32に記憶されたコピーと同じである場合、入力された通信パケットは、以前、前述のS103及びS104の処理により、コピーが作成され通信パケット記憶部32に記憶された通信パケットが再送されたものと考えられる。よって、通信監視部33は、通信パケットの再送を検出する(S105)。これにより、通信監視部33は、通信パケットの再送に基づいて、通信可能か否かを判定することが可能となる。   On the other hand, if the result of the determination in S102 is the same as the copy stored in the communication packet storage unit 32, the input communication packet has been previously copied by the processing of S103 and S104 described above, and the communication packet storage unit It is considered that the communication packet stored in 32 is retransmitted. Therefore, the communication monitoring unit 33 detects retransmission of the communication packet (S105). Thereby, the communication monitoring unit 33 can determine whether or not communication is possible based on retransmission of the communication packet.

次に、通信監視部33は、ルーティングテーブル31に登録されたネットワークインターフェースを介する通信経路について当該通信パケットを通信できない(通信不能)と判定する(S106)。これにより、通信パケットに対する応答情報(正常応答)又はエラー情報(異常応答)を所定時間以上受信せず、アプリケーションプログラム40が再度同じ通信パケットを送信する場合に、通信監視部33は通信不能と判定することができ、通信確認部34及び通信経路設定部35により通信パケットを通信可能な新たな通信経路を設定することが可能となる。   Next, the communication monitoring unit 33 determines that the communication packet cannot be communicated (communication is impossible) over the communication path via the network interface registered in the routing table 31 (S106). As a result, when the application program 40 transmits the same communication packet again without receiving response information (normal response) or error information (abnormal response) for the communication packet for a predetermined time or more, the communication monitoring unit 33 determines that communication is impossible. The communication confirmation unit 34 and the communication path setting unit 35 can set a new communication path capable of communicating communication packets.

次に、通信監視部33は、制御信号とともに、アプリケーションプログラム40から入力された通信パケットを通信確認部34に出力し、通信確認部34は、後述する通信確認パケット送信処理S200を実行する。   Next, the communication monitoring unit 33 outputs the communication packet input from the application program 40 together with the control signal to the communication confirmation unit 34, and the communication confirmation unit 34 executes a communication confirmation packet transmission process S200 described later.

図4は、図3に示した通信確認パケット送信処理を説明するフローチャートである。通信監視部33から通信パケットが入力されると、通信確認部34は、入力された通信パケットに基づいて通信確認用パケットAを作成する(S201)。   FIG. 4 is a flowchart for explaining the communication confirmation packet transmission process shown in FIG. When a communication packet is input from the communication monitoring unit 33, the communication confirmation unit 34 creates a communication confirmation packet A based on the input communication packet (S201).

図5は、通信確認用パケットの一例を説明する構成図である。図5に示すように、通信確認用パケットAは、ヘッダー部A1と、データ部A2とを含んで構成される。ヘッダー部A1には、送信元アドレス、宛先(送信先)アドレスなどを含んでおり、通信確認部34は、入力された通信パケットのヘッダー部をコピーし、そのまま又は必要に応じて一部を修正してヘッダー部A1に格納するとともに、データ部A2に所定のデータを格納する。これにより、従来のpingによるパケットよりもアプリケーションプログラム40が送信する実際の通信パケットに近い、疑似通信パケットの通信確認用パケットAが作成される。   FIG. 5 is a configuration diagram illustrating an example of a communication confirmation packet. As shown in FIG. 5, the communication confirmation packet A includes a header part A1 and a data part A2. The header part A1 includes a source address, a destination (destination) address, etc., and the communication confirmation part 34 copies the header part of the input communication packet and modifies a part as it is or as necessary. Then, the data is stored in the header part A1, and predetermined data is stored in the data part A2. Thereby, a communication confirmation packet A of a pseudo communication packet that is closer to the actual communication packet transmitted by the application program 40 than a packet by the conventional ping is created.

なお、ヘッダー部A1は、入力された通信パケットの宛先アドレスを少なくとも含むものとする。これにより、通信パケットと同じ宛先に通信可能か確認することができる。また、データ部A2に格納される所定のデータは、入力された通信パケットのデータ部のデータとは異なるデータが好ましい。これにより、通信確認のために経由(中継)する通信機器、例えばルータに、通信パケットのデータ部を秘匿することができる。   The header part A1 includes at least the destination address of the input communication packet. As a result, it is possible to confirm whether communication is possible with the same destination as the communication packet. The predetermined data stored in the data part A2 is preferably data different from the data in the data part of the input communication packet. Thereby, the data part of a communication packet can be concealed to a communication device, for example, a router, that passes (relays) for communication confirmation.

次に、図4に示すように、通信確認部34は、入力された通信パケットの宛先アドレス、すなわち通信確認用パケットAの宛先アドレスをキーとして、ルーティングテーブル31のアドレス欄311を検索して当該宛先アドレスに対応する通信経路欄312を読み出し、読み出したネットワークインターフェースのIDとは別のIDを有するネットワークインターフェースを選択する(S202)。次に、通信確認部34は、S201の処理で作成した通信確認用パケットAをS202の処理で選択したネットワークインターフェースに出力し、当該ネットワークインターフェースを介して通信確認用パケットAを送信する(S202)。例えば、通信確認用パケットAの宛先アドレスが「AD1」の場合、図2に示すルーティングテーブル31を検索するとネットワークインターフェース21(IF1)が対応するので、通信確認部34は、ネットワークインターフェース21(IF1)とは別のネットワークインターフェース22(IF2)を介して通信確認用パケットAを送信する。   Next, as shown in FIG. 4, the communication confirmation unit 34 searches the address column 311 of the routing table 31 by using the destination address of the input communication packet, that is, the destination address of the communication confirmation packet A as a key. The communication path column 312 corresponding to the destination address is read, and a network interface having an ID different from the read network interface ID is selected (S202). Next, the communication confirmation unit 34 outputs the communication confirmation packet A created in the process of S201 to the network interface selected in the process of S202, and transmits the communication confirmation packet A via the network interface (S202). . For example, when the destination address of the communication confirmation packet A is “AD1”, the network interface 21 (IF1) corresponds when the routing table 31 shown in FIG. 2 is searched. Therefore, the communication confirmation unit 34 uses the network interface 21 (IF1). The communication confirmation packet A is transmitted via a network interface 22 (IF2) different from the above.

なお、ネットワークインターフェースを3つ以上のN個(N≧3)備える場合、例えば、通信確認部34は、S202の処理で選択したネットワークインターフェースのIDをバッファメモリに記憶しておき、再度通信確認用パケットAを送信するときに、S202の処理において、通信確認部34は、ルーティングテーブル31から読み出したネットワークインターフェースのID、及びバッファメモリに記憶されたネットワークインターフェースのIDとは別のIDを有するネットワークインターフェースを選択するようにしてもよい。この場合、バッファメモリには、最大で(N−2)個のネットワークインターフェースのIDが記憶される。   When there are three or more N (N ≧ 3) network interfaces, for example, the communication confirmation unit 34 stores the ID of the network interface selected in the process of S202 in the buffer memory, and again for communication confirmation. When transmitting the packet A, in the process of S202, the communication confirmation unit 34 has a network interface ID that is different from the network interface ID read from the routing table 31 and the network interface ID stored in the buffer memory. May be selected. In this case, IDs of up to (N−2) network interfaces are stored in the buffer memory.

図6は、パケットを受信するときの動作を説明するフローチャートである。ネットワークインターフェース21又はネットワークインターフェース22を介してパケットを受信すると(S301)、当該パケットが入力された通信監視部33は、受信したパケットが、通信パケットに関するエラーパケットか否かを判定する(S302)。「エラーパケット」の判定基準は、例えば、受信したパケットがICMP(Internet Control Message Protocol)のUNREACHを含むなど、規定されている各種のエラー情報を含む場合にエラーパケットと判定する。   FIG. 6 is a flowchart for explaining the operation when receiving a packet. When a packet is received via the network interface 21 or the network interface 22 (S301), the communication monitoring unit 33 to which the packet is input determines whether the received packet is an error packet related to the communication packet (S302). The determination criterion of “error packet” is determined to be an error packet when, for example, the received packet includes various types of defined error information such as including ICMP (Internet Control Message Protocol) UNREACH.

なお、通信パケットに関するエラーパケットには、通信パケットに対するエラーパケットと、通信パケットに基づいて作成される通信確認用パケットAに対するエラーパケットとを含むものとする。   The error packet related to the communication packet includes an error packet for the communication packet and an error packet for the communication confirmation packet A created based on the communication packet.

S302の判定の結果、受信したパケットが通信パケットに関するエラーパケットである場合、通信監視部33は、当該パケットを受信したネットワークインターフェースを介する通信経路について通信パケットを通信できない(通信不能)と判定する(S303)。これにより、通信パケット又は通信確認用パケットAに対し、応答情報(正常応答)ではなく、エラー情報(異常応答)を受信した場合に、通信監視部33は通信不能と判定することができ、通信確認部34及び通信経路設定部35により通信パケットを通信可能な新たな通信経路を設定することが可能となる。   If the received packet is an error packet related to the communication packet as a result of the determination in S302, the communication monitoring unit 33 determines that the communication packet cannot be communicated (communication impossible) on the communication path via the network interface that has received the packet ( S303). Thereby, when not receiving response information (normal response) but error information (abnormal response) for the communication packet or communication confirmation packet A, the communication monitoring unit 33 can determine that communication is impossible, The confirmation unit 34 and the communication path setting unit 35 can set a new communication path through which communication packets can be communicated.

次に、通信監視部33は、制御信号とともに入力されたエラーパケットを通信確認部34に出力し、通信確認部34は、前述と同様に、図4に示す通信確認パケット送信処理S200を実行する。なお、通信確認部34は、S201の処理において、通信パケットに代えて入力されたエラーパケットに基づいて通信確認用パケットAを作成する。   Next, the communication monitoring unit 33 outputs the error packet input together with the control signal to the communication confirmation unit 34, and the communication confirmation unit 34 executes the communication confirmation packet transmission process S200 shown in FIG. 4 as described above. . Note that the communication confirmation unit 34 creates the communication confirmation packet A based on the input error packet instead of the communication packet in the process of S201.

一方、S302の判定の結果、受信したパケットがエラーパケットではない場合、通信監視部33は、受信したパケットが通信確認用パケットAに対する応答情報(正常応答)か否かを判定する(S304)。受信したパケットが通信確認用パケットAに対する応答情報の判定基準は、例えば、通信確認用パケットAに対するACKパケット(ACKnowledge)のときに応答情報であると判定する。   On the other hand, if the received packet is not an error packet as a result of the determination in S302, the communication monitoring unit 33 determines whether the received packet is response information (normal response) for the communication confirmation packet A (S304). For example, when the received packet is a response information for the communication confirmation packet A, the response information is determined to be response information when the packet is an ACK packet (ACKnowledge) for the communication confirmation packet A.

S304の判定の結果、受信したパケットが通信確認用パケットAに対する応答情報である場合、通信確認用パケットAの宛先アドレスを含む通信パケットは、S202の処理において選択したネットワークインターフェースを介する通信経路で通信することができる(通信可能)と考えられる。前述の例では、通信確認用パケットAの宛先アドレス「AD1」を含む通信パケットが、ネットワークインターフェース22(IF2)を介して通信可能と考えられる。よって、通信監視部33は、通信経路を設定可能と判定する(S305)。これにより、通信確認用パケットAに対する応答情報を受信したときに、通信確認用パケットAを送信したネットワークインターフェースが通信経路として設定可能となる。   As a result of the determination in S304, when the received packet is response information for the communication confirmation packet A, the communication packet including the destination address of the communication confirmation packet A is communicated through the communication path via the network interface selected in the process of S202. It is thought that it can (communication is possible). In the above example, it is considered that a communication packet including the destination address “AD1” of the communication confirmation packet A can be communicated via the network interface 22 (IF2). Therefore, the communication monitoring unit 33 determines that the communication path can be set (S305). Thus, when the response information for the communication confirmation packet A is received, the network interface that has transmitted the communication confirmation packet A can be set as a communication path.

次に、通信監視部33は、制御信号とともに受信したパケットと当該パケットを受信したネットワークインターフェースのIDとを通信経路設定部35に出力する。通信経路設定部35は、入力されたパケットの送信元アドレス、すなわち通信パケットの宛先アドレスとネットワークインターフェースのIDとをルーティングテーブル31に登録する(S306)。これにより、通信パケットを通信可能な通信経路として新たなネットワークインターフェースを設定することができる。   Next, the communication monitoring unit 33 outputs the packet received together with the control signal and the ID of the network interface that has received the packet to the communication path setting unit 35. The communication path setting unit 35 registers the source address of the input packet, that is, the destination address of the communication packet and the network interface ID in the routing table 31 (S306). As a result, a new network interface can be set as a communication path through which communication packets can be communicated.

一方、S304の判定の結果、受信したパケットが通信確認用パケットAに対する応答でない場合、受信したパケットが通信パケットに関するエラーパケットでもなく、通信確認用パケットAに対する応答情報(正常応答)でもないので、通信パケットに対する応答情報(正常応答)と考えられる。よって、通信監視部33は、通信パケットに対する応答と判定し(S307)、何もせずに処理を終了する。   On the other hand, if the received packet is not a response to the communication confirmation packet A as a result of the determination in S304, the received packet is neither an error packet related to the communication packet nor response information (normal response) to the communication confirmation packet A. This is considered response information (normal response) to the communication packet. Therefore, the communication monitoring unit 33 determines that the response is a response to the communication packet (S307), and ends the process without doing anything.

本実施形態では、通信経路制御部30が端末10に内蔵されるようにしたが、これに限定されず、通信経路制御部30は、例えば、通信経路制御装置として端末10と別体であってもよい。   In the present embodiment, the communication path control unit 30 is built in the terminal 10, but the present invention is not limited to this. For example, the communication path control unit 30 is separate from the terminal 10 as a communication path control device. Also good.

このように、本実施形態における通信経路制御部30によれば、通信監視部33は、通信パケットをルーティングテーブル31に登録されたネットワークインターフェースを介して通信可能か否か判定する。これにより、通信可能か否かの情報を受け取るのではなく(パッシブではなく)、ルーティングテーブル31に登録されたネットワークインターフェースを介する通信経路について通信可能か否か自ら判定することができる(アクティブである)。また、通信経路設定部34は、通信確認用パケットAに対する応答情報を受信したときに、通信確認用パケットAを送信したネットワークインターフェースを通信経路として設定する。これにより、通信パケットを一のネットワークインターフェースを介する通信経路について通信できないとき(通信不能なとき)に、高い精度で、他のネットワークインターフェースを当該通信パケットの通信経路として設定することができる。さらに、通信監視部33が通信不能と判定したときに、通信確認部34は、通信確認用パケットAを作成し、送信するので、従来のように定期的に通信確認用パケットを送信する必要がない。   As described above, according to the communication path control unit 30 in the present embodiment, the communication monitoring unit 33 determines whether communication packets can be communicated via the network interface registered in the routing table 31. Thus, instead of receiving information on whether communication is possible (not passive), it is possible to determine whether communication is possible for the communication path via the network interface registered in the routing table 31 (active). ). Further, when receiving response information for the communication confirmation packet A, the communication path setting unit 34 sets the network interface that has transmitted the communication confirmation packet A as a communication path. Thus, when a communication packet cannot be communicated on a communication path via one network interface (when communication is not possible), another network interface can be set as a communication path of the communication packet with high accuracy. Furthermore, when the communication monitoring unit 33 determines that communication is not possible, the communication confirmation unit 34 creates and transmits the communication confirmation packet A, so it is necessary to periodically transmit the communication confirmation packet as in the past. Absent.

また、本実施形態における通信経路制御部30によれば、通信管理部33は、通信パケットの再送を検出したときに、ルーティングテーブル31に登録されたネットワークインターフェースを介する通信経路について通信パケットを通信不能と判定する。これにより、通信パケットに対する応答情報(正常応答)又はエラー情報(異常応答)を所定時間以上受信せず、アプリケーションプログラム40が再度同じ通信パケットを送信する場合に、通信監視部33は通信不能と判定することができ、通信確認部34及び通信経路設定部35により通信パケットを通信可能な新たな通信経路を設定することが可能となる。   In addition, according to the communication path control unit 30 in the present embodiment, the communication management unit 33 cannot communicate a communication packet with respect to the communication path via the network interface registered in the routing table 31 when detecting the retransmission of the communication packet. Is determined. As a result, when the application program 40 transmits the same communication packet again without receiving response information (normal response) or error information (abnormal response) for the communication packet for a predetermined time or more, the communication monitoring unit 33 determines that communication is impossible. The communication confirmation unit 34 and the communication path setting unit 35 can set a new communication path capable of communicating communication packets.

特に、通信監視部33は、通信パケットを送信するときに、当該通信パケットと通信パケット記憶部32に記憶されたコピーとに基づいて、通信パケットの再送を検出する。これにより、通信監視部33は、通信パケットの再送に基づいて、ルーティングテーブル31に登録されたネットワークインターフェースを介する通信経路について通信可能か否かを判定することが可能となる。   In particular, when transmitting a communication packet, the communication monitoring unit 33 detects retransmission of the communication packet based on the communication packet and a copy stored in the communication packet storage unit 32. Thereby, the communication monitoring unit 33 can determine whether or not communication is possible for the communication path via the network interface registered in the routing table 31 based on the retransmission of the communication packet.

また、本実施形態における通信経路制御部30によれば、通信監視部33は、通信パケットに関するエラー情報を受信したときに、エラー情報を受信したネットワークインターフェースを介する通信経路について通信不能と判定する。これにより、通信パケット又は通信確認用パケットAに対し、応答情報(正常応答)ではなく、エラー情報(異常応答)を受信した場合に、通信監視部33は通信不能と判定することができ、通信確認部34及び通信経路設定部35により通信パケットを通信可能な新たな通信経路を設定することが可能となる。   Further, according to the communication path control unit 30 in the present embodiment, when receiving the error information regarding the communication packet, the communication monitoring unit 33 determines that the communication path via the network interface that has received the error information is incapable of communication. Thereby, when not receiving response information (normal response) but error information (abnormal response) for the communication packet or communication confirmation packet A, the communication monitoring unit 33 can determine that communication is impossible, The confirmation unit 34 and the communication path setting unit 35 can set a new communication path through which communication packets can be communicated.

また、本実施形態における通信経路制御部30によれば、通信確認部34は、データ部A2に、通信パケットのデータ部と異なるデータを格納する。これにより、通信確認のために経由(中継)する通信機器、例えばルータに、通信パケットのデータ部を秘匿することができる。また、従来のpingによるパケットよりもアプリケーションプログラム40が送信する実際の通信パケットに近い、疑似通信パケットの通信確認用パケットAを作成することができ、従来のpingによるパケットと比較して、通信経路の途中に存在する通信機器などにおいて、通信確認用パケットAが破棄される可能性が低くなり、高い精度で通信可能か確認することができる。   Further, according to the communication path control unit 30 in the present embodiment, the communication confirmation unit 34 stores data different from the data part of the communication packet in the data part A2. Thereby, the data part of a communication packet can be concealed to a communication device, for example, a router, that passes (relays) for communication confirmation. Further, it is possible to create a communication confirmation packet A of a pseudo communication packet that is closer to an actual communication packet transmitted by the application program 40 than a packet by a conventional ping, and a communication path compared to a packet by a conventional ping In a communication device or the like existing in the middle of the communication, the possibility that the communication confirmation packet A is discarded becomes low, and it is possible to confirm whether communication is possible with high accuracy.

また、本実施形態における通信経路制御部30によれば、通信経路設定部35は、通信経路に関する情報として通信パケットの宛先アドレスに関する情報と該宛先アドレスに対応する前記ネットワークインターフェースに関する情報とをルーティングテーブル31に登録して記憶させる。これにより、通信パケットを通信可能な通信経路として新たなネットワークインターフェースを設定することができる。   Further, according to the communication path control unit 30 in the present embodiment, the communication path setting unit 35 stores information regarding the destination address of the communication packet as information regarding the communication path and information regarding the network interface corresponding to the destination address. 31 is registered and stored. As a result, a new network interface can be set as a communication path through which communication packets can be communicated.

なお、前述の各実施形態の構成は、組み合わせたり或いは一部の構成部分を入れ替えたりしたりしてもよい。また、本発明の構成は前述の実施形態のみに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加えてもよい。   Note that the configurations of the above-described embodiments may be combined or a part of the components may be replaced. The configuration of the present invention is not limited to the above-described embodiment, and various modifications may be made without departing from the scope of the present invention.

前述の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。   Part or all of the above-described embodiments can be described as in the following supplementary notes, but is not limited thereto.

(付記1)通信パケットの通信経路を制御する通信経路制御装置であって、前記通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視部と、前記通信監視部により通信不能と判定されたときに、前記通信パケットの宛先アドレスを宛先とする通信確認用パケットを作成し、該通信確認用パケットを他のネットワークインターフェースを介して送信する通信確認部と、前記通信確認用パケットに対する応答情報を受信したときに、前記通信パケットの通信経路として前記他のネットワークインターフェースを設定する通信経路設定部と、を備えることを特徴とする通信経路制御装置。   (Supplementary note 1) A communication path control device for controlling a communication path of a communication packet, wherein the communication monitoring section determines whether or not the communication packet can be communicated via one network interface, and communicates with the communication monitoring section. A communication confirmation unit configured to create a communication confirmation packet whose destination is the destination address of the communication packet when it is determined to be impossible, and to transmit the communication confirmation packet via another network interface; A communication path control apparatus comprising: a communication path setting unit that sets the other network interface as a communication path of the communication packet when response information for the packet is received.

(付記2)前記通信監視部は、前記通信パケットの再送を検出したときに、前記一のネットワークインターフェースを介する通信経路について通信不能と判定する
ことを特徴とする付記1に記載の通信経路制御装置。
(Supplementary note 2) The communication path control device according to supplementary note 1, wherein the communication monitoring unit determines that communication is impossible for a communication path via the one network interface when detecting retransmission of the communication packet. .

(付記3)前記通信監視部は、一の前記通信パケットに関する情報を記憶する通信パケット記憶部を有し、他の前記通信パケットを送信するときに、該他の通信パケットと前記通信パケット記憶部に記憶された情報とに基づいて、前記一の通信パケットの再送を検出することを特徴とする付記2に記載の通信経路制御装置。   (Additional remark 3) The said communication monitoring part has a communication packet memory | storage part which memorize | stores the information regarding one said communication packet, When transmitting the said other communication packet, this other communication packet and the said communication packet memory | storage part The communication path control device according to appendix 2, wherein retransmission of the one communication packet is detected based on the information stored in the information.

(付記4)前記通信監視部は、前記通信パケットに関するエラー情報を受信したときに、前記一のネットワークインターフェースを介する通信経路について通信不能と判定することを特徴とする付記1乃至3の何れかに記載の通信経路制御装置。   (Additional remark 4) When the said communication monitoring part receives the error information regarding the said communication packet, it determines with the communication path | route via said one network interface being incommunicable. The communication path control device described.

(付記5)前記通信確認用パケットは、前記通信パケットのデータ部と異なるデータを含むことを特徴とする付記1乃至4の何れかに記載の通信経路制御装置。   (Supplementary note 5) The communication path control device according to any one of supplementary notes 1 to 4, wherein the communication confirmation packet includes data different from a data part of the communication packet.

(付記6)前記通信経路設定部は、通信経路に関する情報として前記通信パケットの宛先アドレスに関する情報と該宛先アドレスに対応する前記ネットワークインターフェースに関する情報とを記憶する通信経路記憶部を有することを特徴とする付記1乃至5の何れかに記載の通信経路制御装置。   (Additional remark 6) The said communication path setting part has a communication path memory | storage part which memorize | stores the information regarding the destination address of the said communication packet as the information regarding a communication path, and the information regarding the said network interface corresponding to this destination address, The communication path control device according to any one of appendices 1 to 5.

(付記7)通信パケットの通信経路を制御する通信経路制御方法であって、前記通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視ステップと、通信監視ステップにより通信不能と判定されたときに、前記通信パケットの宛先アドレスを宛先とする通信確認用パケットを作成し、該通信確認用パケットを他のネットワークインターフェースを介して送信する通信確認ステップと、前記通信確認用パケットに対する応答情報を受信したときに、前記通信パケットの通信経路として前記他のネットワークインターフェースを設定する通信経路設定ステップと、を備えることを特徴とする通信経路制御方法。   (Supplementary note 7) A communication path control method for controlling a communication path of a communication packet, the communication monitoring step for determining whether or not the communication packet can be communicated via one network interface, and the communication monitoring step being impossible. A communication confirmation step of creating a communication confirmation packet destined to the destination address of the communication packet and transmitting the communication confirmation packet via another network interface when the communication confirmation packet is determined, and the communication confirmation packet And a communication path setting step of setting the other network interface as a communication path of the communication packet when response information to the communication packet is received.

(付記8)通信パケットの通信経路を制御する通信経路制御プログラムであって、
前記通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視ステップと、通信監視ステップにより通信不能と判定されたときに、前記通信パケットの宛先アドレスを宛先とする通信確認用パケットを作成し、該通信確認用パケットを他のネットワークインターフェースを介して送信する通信確認ステップと、前記通信確認用パケットに対する応答情報を受信したときに、前記通信パケットの通信経路として前記他のネットワークインターフェースを設定する通信経路設定ステップと、を備えることを特徴とする通信経路制御プログラム。
(Appendix 8) A communication path control program for controlling a communication path of a communication packet,
A communication monitoring step for determining whether or not the communication packet can be communicated via a single network interface; and a communication confirmation destination addressed to the destination address of the communication packet when the communication monitoring step determines that communication is impossible A communication confirmation step of creating a packet and transmitting the communication confirmation packet via another network interface; and when receiving response information to the communication confirmation packet, the other network as a communication path of the communication packet A communication path control program comprising: a communication path setting step for setting an interface.

21,22…ネットワークインターフェース、30…通信経路制御部、31…ルーティングテーブル、32…通信パケット記憶部、33…通信監視部、34…通信確認部、35…通信経路設定部、A…通信確認用パケット   21, 22 ... Network interface, 30 ... Communication path control unit, 31 ... Routing table, 32 ... Communication packet storage unit, 33 ... Communication monitoring unit, 34 ... Communication confirmation unit, 35 ... Communication path setting unit, A ... For communication confirmation packet

Claims (8)

通信パケットの通信経路を制御する通信経路制御装置であって、
前記通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視部と、
前記通信監視部により通信不能と判定されたときに、通信パケット記録部にある通信パケットのコピーを基に通信確認用パケットを作成し、該通信確認用パケットを前記通信パケットの宛先に他のネットワークインターフェースを介して送信する通信確認部と、
前記他のネットワークインターフェースを介する通信経路が通信可能と判定されたときに、前記通信パケットの通信経路として前記他のネットワークインターフェースを設定する通信経路設定部と、を備え
前記通信監視部は、前記通信確認用パケットに対する応答情報を受信したときに、前記他のネットワークインターフェースを介する通信経路について通信可能と判定する
ことを特徴とする通信経路制御装置。
A communication path control device for controlling a communication path of a communication packet,
A communication monitoring unit that determines whether or not the communication packet can be communicated via a network interface;
When the communication monitoring unit determines that communication is impossible , a communication confirmation packet is created based on a copy of the communication packet in the communication packet recording unit , and the communication confirmation packet is used as a destination of the communication packet to another network. A communication confirmation unit for transmitting via an interface;
A communication path setting unit that sets the other network interface as a communication path of the communication packet when it is determined that a communication path via the other network interface is communicable ,
The communication monitoring unit is characterized in that, when receiving response information for the communication confirmation packet, the communication monitoring unit determines that communication is possible for a communication path via the other network interface .
前記通信監視部は、前記通信パケットの再送を検出したときに、前記一のネットワークインターフェースを介する通信経路について通信不能と判定する
ことを特徴とする請求項1に記載の通信経路制御装置。
The communication path control device according to claim 1, wherein the communication monitoring unit determines that communication is not possible for a communication path via the one network interface when detecting retransmission of the communication packet.
前記通信監視部は、
一の前記通信パケットに関する情報を記憶する通信パケット記憶部を有し、
他の前記通信パケットを送信するときに、該他の通信パケットと前記通信パケット記憶部に記憶された情報とに基づいて、前記一の通信パケットの再送を検出する
ことを特徴とする請求項2に記載の通信経路制御装置。
The communication monitoring unit
A communication packet storage unit for storing information related to the one communication packet;
3. When transmitting another communication packet, retransmission of the one communication packet is detected based on the other communication packet and information stored in the communication packet storage unit. The communication path control device according to 1.
前記通信監視部は、前記通信パケットに関するエラー情報を受信したときに、前記一のネットワークインターフェースを介する通信経路について通信不能と判定する
ことを特徴とする請求項1乃至3の何れか一項に記載の通信経路制御装置。
The said communication monitoring part determines with the communication path | route via said one network interface being incommunicable, when the error information regarding the said communication packet is received. Communication path control device.
前記通信確認用パケットは、前記通信パケットのデータ部と異なるデータを含む
ことを特徴とする請求項1乃至4の何れか一項に記載の通信経路制御装置。
The communication path control device according to any one of claims 1 to 4, wherein the communication confirmation packet includes data different from a data part of the communication packet.
前記通信経路設定部は、通信経路に関する情報として前記通信パケットの宛先アドレスに関する情報と該宛先アドレスに対応する前記ネットワークインターフェースに関する情報とを記憶する通信経路記憶部を有する
ことを特徴とする請求項1乃至5の何れか一項に記載の通信経路制御装置。
The communication path setting unit includes a communication path storage unit that stores information about a destination address of the communication packet and information about the network interface corresponding to the destination address as information about the communication path. The communication path control device according to any one of claims 1 to 5.
通信パケットの通信経路を制御する通信経路制御方法であって、
前記通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視ステップと、
通信監視ステップにより通信不能と判定されたときに、通信パケット記録部にある通信パケットのコピーを基に通信確認用パケットを作成し、該通信確認用パケットを前記通信パケットの宛先に他のネットワークインターフェースを介して送信する通信確認ステップと、
前記他のネットワークインターフェースを介する通信経路が通信可能と判定されたときに、前記通信パケットの通信経路として前記他のネットワークインターフェースを設定する通信経路設定ステップと、を備え
前記通信確認用パケットに対する応答情報を受信したときに、前記他のネットワークインターフェースを介する通信経路について通信可能と判定する
ことを特徴とする通信経路制御方法。
A communication path control method for controlling a communication path of a communication packet,
A communication monitoring step for determining whether or not the communication packet can be communicated via a network interface;
When it is determined by the communication monitoring step that communication is impossible , a communication confirmation packet is created based on a copy of the communication packet in the communication packet recording unit , and the communication confirmation packet is set as the destination of the communication packet to another network interface. A communication confirmation step for transmitting via
A communication path setting step of setting the other network interface as a communication path of the communication packet when it is determined that a communication path via the other network interface is communicable ,
A communication path control method , comprising: determining that communication is possible for a communication path via the other network interface when response information for the communication confirmation packet is received .
通信パケットの通信経路を制御する通信経路制御プログラムであって、
前記通信パケットを一のネットワークインターフェースを介して通信可能か否かを判定する通信監視ステップと、
通信監視ステップにより通信不能と判定されたときに、通信パケット記録部にある通信パケットのコピーを基に通信確認用パケットを作成し、該通信確認用パケットを前記通信パケットの宛先に他のネットワークインターフェースを介して送信する通信確認ステップと、
前記他のネットワークインターフェースを介する通信経路が通信可能と判定されたときに、前記通信パケットの通信経路として前記他のネットワークインターフェースを設定する通信経路設定ステップと、を備え
前記通信確認用パケットに対する応答情報を受信したときに、前記他のネットワークインターフェースを介する通信経路について通信可能と判定する
ことを特徴とする通信経路制御プログラム。
A communication path control program for controlling a communication path of a communication packet,
A communication monitoring step for determining whether or not the communication packet can be communicated via a network interface;
When it is determined by the communication monitoring step that communication is impossible , a communication confirmation packet is created based on a copy of the communication packet in the communication packet recording unit , and the communication confirmation packet is set as the destination of the communication packet to another network interface. A communication confirmation step for transmitting via
A communication path setting step of setting the other network interface as a communication path of the communication packet when it is determined that a communication path via the other network interface is communicable ,
A communication path control program for determining that communication is possible for a communication path via the other network interface when response information for the communication confirmation packet is received .
JP2010034016A 2010-02-18 2010-02-18 Communication path control device, communication path control method, and communication path control program Expired - Fee Related JP5207320B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010034016A JP5207320B2 (en) 2010-02-18 2010-02-18 Communication path control device, communication path control method, and communication path control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010034016A JP5207320B2 (en) 2010-02-18 2010-02-18 Communication path control device, communication path control method, and communication path control program

Publications (2)

Publication Number Publication Date
JP2011172020A JP2011172020A (en) 2011-09-01
JP5207320B2 true JP5207320B2 (en) 2013-06-12

Family

ID=44685673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010034016A Expired - Fee Related JP5207320B2 (en) 2010-02-18 2010-02-18 Communication path control device, communication path control method, and communication path control program

Country Status (1)

Country Link
JP (1) JP5207320B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6429474B2 (en) * 2014-03-24 2018-11-28 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03136541A (en) * 1989-10-23 1991-06-11 Fujitsu Ltd Procedure monitor circuit
JP2001217776A (en) * 2000-02-04 2001-08-10 Fujitsu Ltd System and method for recovering wavelength multiplexed communication network fault
WO2002051101A1 (en) * 2000-12-20 2002-06-27 Fujitsu Limited Tcp/ip network system
JP4640856B2 (en) * 2005-06-02 2011-03-02 シャープ株式会社 Communication system and communication terminal

Also Published As

Publication number Publication date
JP2011172020A (en) 2011-09-01

Similar Documents

Publication Publication Date Title
US7764599B2 (en) Network routing device and network routing method
EP2686988B1 (en) Method and apparatus for rapid rerouting of ldp packets
CN100579034C (en) Method for reporting equipment information, system and device for obtaining equipment information
US8902733B2 (en) Communication network management system, method and program, and management computer
JP4517997B2 (en) Network management apparatus and network system
US7864666B2 (en) Communication control apparatus, method and program thereof
RU2008109226A (en) FAILURE-RESISTANT COMMUNICATION IN ROUTED NETWORKS
WO2010064531A1 (en) Communication network management system, method and program, and management calculator
CN101471822A (en) Method and system for locating network fault
JP4861293B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
WO2010143607A1 (en) Communication network management system, method, and management computing device
JPWO2005057864A1 (en) Network path switching system
JP2006174451A (en) Method for tracing route in wireless network including multiple nodes and wireless network of nodes configured to trace route
JP5207320B2 (en) Communication path control device, communication path control method, and communication path control program
JP5042095B2 (en) Communication apparatus and fault monitoring method
CN105959129B (en) The method and device of monitoring network failure
WO2011144111A2 (en) Synchronization detection method for link state database, and routing device
US20070291652A1 (en) Transmitting apparatus, transmitting-apparatus testing method, and computer program product
JP5572064B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND RING NETWORK MONITORING METHOD
JP2007096561A (en) Communication path switching system between server and terminal, connected to two systems of backbone networks for executing fixed communication
JP6512037B2 (en) Wireless communication device, method and program
WO2010098300A1 (en) Communication network management system, method, and management computer
JP2006340182A (en) Communication system, communication control method
JP3141852B2 (en) Round-trip path detecting method, apparatus using the same, and recording medium storing the program
JP5057077B2 (en) Router device, communication system, and unauthorized route confirmation method used therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110713

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120601

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120730

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130213

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

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5207320

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees