JP2009071462A - Communication apparatus, communication system, and communication control method - Google Patents
Communication apparatus, communication system, and communication control method Download PDFInfo
- Publication number
- JP2009071462A JP2009071462A JP2007236064A JP2007236064A JP2009071462A JP 2009071462 A JP2009071462 A JP 2009071462A JP 2007236064 A JP2007236064 A JP 2007236064A JP 2007236064 A JP2007236064 A JP 2007236064A JP 2009071462 A JP2009071462 A JP 2009071462A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- divided
- transmission path
- restoration
- communication
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は通信装置及び通信システム並びに通信制御方法に関し、特にIPネットワークにおいて送信元ホストと宛先ホストとの間でIPパケット通信を行う際におけるパケット分割及び復元方式に関するものである。 The present invention relates to a communication apparatus, a communication system, and a communication control method, and more particularly to a packet division and restoration method when IP packet communication is performed between a source host and a destination host in an IP network.
IP(Internet Protocol )ネットワークは、Ethernet(登録商標)、ADSL(Asymmetric Digital Subscriber Line)、光ファイバ等、多様な伝送路より構成される。これら夫々の伝送路には送信可能なパケットサイズの上限値が存在し、その値はMTU(Maximum Transmission Unit )と呼ばれている。 An IP (Internet Protocol) network is composed of various transmission paths such as Ethernet (registered trademark), ADSL (Asymmetric Digital Subscriber Line), and optical fiber. Each of these transmission paths has an upper limit value of the packet size that can be transmitted, and this value is called MTU (Maximum Transmission Unit).
本発明に関連する技術として、以下のような技術がある。送信元ホストが宛先ホストとの間でIP通信を行う際に、送信元ホストと宛先ホストまでの経路間の各伝送路のMTUを考慮せずにパケットを送信した場合に、経路途中のルータが、中継のために次に利用する伝送路のMTUを越えるパケットを受信すると、ルータのIP処理部にて受信したパケットをMTU以下のサイズとなるよう分割して送信し、この分割したパケットを、宛先ホストのIP処理部が元のパケットに復元するようになっている(特許文献1,2など参照)。
The following techniques are related to the present invention. When the source host performs IP communication with the destination host, if a packet is transmitted without considering the MTU of each transmission path between the source host and the destination host, the router in the middle of the path When a packet exceeding the MTU of the transmission path to be used next for relay is received, the packet received by the IP processing unit of the router is divided and transmitted so as to have a size equal to or smaller than the MTU. The IP processing unit of the destination host restores the original packet (see
上述した関連技術における第1の問題点は、IP処理によるパケット分割機能を利用すると、通信の成功率が低下する恐れがあるということである。その理由は、1つのパケットを1回で送信する場合と、複数回に分割して送信する場合とでは、複数回に分割して送信する場合の方が、ネットワーク上での輻輳、無線伝送路上での伝送路誤り等によるパケット損失の機会が多くなるため、分割されたパケットを全て受信できる確率が低下する。IPによるパケット分割機能は、誤りを訂正する等の信頼性を確保するための機能を有しておらず、損失したパケットの復旧は行われないためである。 The first problem in the related art described above is that the success rate of communication may decrease when the packet division function by IP processing is used. The reason for this is that when one packet is transmitted once and when it is divided and transmitted multiple times, it is more congested on the network and on the wireless transmission path when divided and transmitted multiple times. Since there are many opportunities for packet loss due to transmission path errors and so on, the probability that all divided packets can be received decreases. This is because the IP packet division function does not have a function for ensuring reliability, such as correcting an error, and a lost packet is not recovered.
また、当該関連技術の第2の問題点は、IPv6(Internet Protocol version 6 )では、伝送路毎に分割復元機能を用意しなければならず、多様な伝送路により構成される専用のネットワークを構築しようすると、開発規模が大きくなるということである。その理由は、経路途中のルータのIP処理部にてパケットを分割する機能が、IPv6では設けられていないために、パケットの分割、復元のための機能をIPより下位のプロトコル層にて実施しなければならないためである。 In addition, the second problem of the related technology is that in IPv6 (Internet Protocol version 6), a division restoration function must be prepared for each transmission path, and a dedicated network composed of various transmission paths is constructed. This means that the scale of development will increase. The reason for this is that the function for dividing packets in the IP processing unit of the router in the middle of the route is not provided in IPv6, so the functions for dividing and restoring packets are implemented in the protocol layer below IP. This is because it must be done.
本発明の目的は、信頼性を向上できるIP通信における通信装置及び通信システム並びに通信制御方法及びそのプログラムを提供することである。 An object of the present invention is to provide a communication apparatus, a communication system, a communication control method, and a program thereof in IP communication that can improve reliability.
本発明の他の目的は、IPv6を利用したネットワークの構築においても開発効率を向上できるIP通信における通信装置及び通信システム並びに通信制御方法及びそのプログラムを提供することである。 Another object of the present invention is to provide a communication apparatus, a communication system, a communication control method, and a program thereof in IP communication that can improve development efficiency even in the construction of a network using IPv6.
本発明による通信装置は、一のIP伝送路からのパケットに対してIP手段によりIP処理を行って他のIP伝送路へ送信する通信装置であって、前記IP手段からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定する分割判定手段と、前記分割判定手段により分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成して前記IP手段へ導出する分割手段とを含むことを特徴とする。 A communication apparatus according to the present invention is a communication apparatus that performs IP processing on a packet from one IP transmission path by an IP unit and transmits the packet to another IP transmission path, and transmits the packet from the IP unit to the other A division determination unit that determines whether or not to divide based on the maximum packet size that can be transmitted on the transmission line, and when the division determination unit determines to divide the packet, Dividing means for generating a redundant packet and deriving it to the IP means.
本発明による他の通信装置は、IP伝送路の伝送可能最大パケットサイズに基いて分割され、かつこの分割パケットの冗長パケットと共に前記伝送路から受信して、前記分割パケット及び冗長パケットに対してIP手段によりIP処理を行って他のIP伝送路へ送信する通信装置であって、前記IP手段からの分割パケットを復元すべきか否かを判定する復元判定手段と、前記復元判定手段により復元すべきと判定された場合、前記分割パケットと前記冗長パケットとを基にパケット復元を行って前記IP手段へ導出するパケット復元手段とを含むことを特徴とする。 Another communication apparatus according to the present invention is divided based on the maximum packet size that can be transmitted on the IP transmission path, and receives the redundant packet of the divided packet from the transmission path together with the divided packet and the redundant packet. A communication apparatus that performs IP processing by means and transmits to another IP transmission path, and that determines whether or not a fragmented packet from the IP means should be restored, and should be restored by the restoration judgment means A packet restoring means for performing packet restoration based on the divided packet and the redundant packet and deriving the packet to the IP means.
本発明による更に他の通信装置は、一のIP伝送路からのパケットに対してIP手段によりIP処理を行って他のIP伝送路へ送信する通信装置であって、前記IP手段からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定すると共に、前記IP手段からの分割パケットを、復元すべきか否かを判定する分割/復元判定手段と、前記分割/復元判定手段により分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成し、また、前記分割/復元判定手段により復元すべきと判定された場合、前記分割パケットを復元して前記IP手段へ導出するパケット分割/復元手段とを含むことを特徴とする。 Still another communication apparatus according to the present invention is a communication apparatus that performs IP processing on a packet from one IP transmission path by an IP unit and transmits the packet to another IP transmission path, and transmits the packet from the IP unit. Determining whether or not to divide based on the maximum transmittable packet size of the other transmission path, and determining whether or not to recover the divided packet from the IP means; and When it is determined by the division / restoration determination means that the packet should be divided, the packet is divided and a redundant packet of the divided packet is generated. When the division / restoration determination means determines that the packet is to be restored, Packet division / restoration means for restoring the fragmented packet and deriving it to the IP means.
本発明による通信システムは、上記の各通信装置を含むことを特徴とする。 A communication system according to the present invention includes the above-described communication devices.
本発明による通信制御方法は、一のIP伝送路からのパケットに対してIP手段によりIP処理を行って他のIP伝送路へ送信する通信装置における動作制御方法であって、前記IP手段からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定する分割判定ステップと、前記分割判定ステップにより分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成して前記IP手段へ導出する分割ステップとを含むことを特徴とする。 A communication control method according to the present invention is an operation control method in a communication apparatus that performs IP processing on a packet from one IP transmission path by an IP unit and transmits the packet to another IP transmission path. A division determination step for determining whether or not to divide a packet based on the maximum transmittable packet size of the other transmission path; and when the division determination step determines that the packet should be divided, the packet is divided And a dividing step of generating a redundant packet of the divided packet and deriving it to the IP means.
本発明による他の通信制御方法は、IP伝送路の伝送可能最大パケットサイズに基いて分割され、かつこの分割パケットの冗長パケットと共に前記伝送路から受信して、前記分割パケット及び冗長パケットに対してIP手段によりIP処理を行って他のIP伝送路へ送信する通信装置における動作制御方法であって、前記IP手段からの分割パケットを復元すべきか否かを判定する復元判定ステップと、前記復元判定ステップにより復元すべきと判定された場合、前記分割パケットと前記冗長パケットとを基にパケット復元を行って前記IP手段へ導出するパケット復元ステップとを含むことを特徴とする。 Another communication control method according to the present invention is divided based on the maximum transmittable packet size of the IP transmission path, and received from the transmission path together with the redundant packet of the divided packet, and the divided packet and the redundant packet are An operation control method in a communication apparatus that performs IP processing by IP means and transmits to another IP transmission path, a restoration determination step for determining whether or not to restore a fragmented packet from the IP means, and the restoration determination A packet restoring step of performing packet restoration based on the divided packet and the redundant packet and deriving the packet to the IP means when it is determined that the restoration is to be performed by the step.
本発明による更に他の通信制御方法は、一のIP伝送路からのパケットに対してIP手段によりIP処理を行って他のIP伝送路へ送信する通信装置における動作制御方法であって、前記IP手段からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定すると共に、前記IP手段からの分割パケットを、復元すべきか否かを判定する分割/復元判定ステップと、前記分割/復元判定ステップにより分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成し、また、前記分割/復元判定ステップにより復元すべきと判定された場合、前記分割パケットを復元して前記IP手段へ導出するパケット分割/復元ステップとを含むことを特徴とする。 Still another communication control method according to the present invention is an operation control method in a communication apparatus that performs IP processing on a packet from one IP transmission path by IP means and transmits the packet to another IP transmission path. Determining whether or not the packet from the means should be divided based on the maximum transmittable packet size of the other transmission path, and determining whether or not to restore the divided packet from the IP means When it is determined in the determination step and the division / restoration determination step that the packet is to be divided, the packet is divided, a redundant packet of the divided packet is generated, and the packet is to be restored in the division / restoration determination step. A packet fragmentation / restoration step of restoring the fragmented packet and deriving the fragmented packet to the IP means when it is determined.
本発明によるプログラムは、一のIP伝送路からのパケットに対してIP処理を行って他のIP伝送路へ送信する通信装置における動作制御方法をコンピュータにより実行させるためのプログラムであって、前記IP処理からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定する分割判定処理と、前記分割判定処理により分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成して前記IP処理へ導出する分割処理とを含むことを特徴とする。 A program according to the present invention is a program for causing a computer to execute an operation control method in a communication apparatus that performs IP processing on a packet from one IP transmission path and transmits the packet to another IP transmission path. A process for determining whether to divide a packet from the process based on the maximum transmittable packet size of the other transmission path, and a packet division when it is determined by the division determination process that the packet should be divided And a dividing process for generating a redundant packet of the divided packet and deriving it to the IP process.
本発明による他のプログラムは、IP伝送路の伝送可能最大パケットサイズに基いて分割され、かつこの分割パケットの冗長パケットと共に前記伝送路から受信して、前記分割パケット及び冗長パケットに対してIP処理を行って他のIP伝送路へ送信する通信装置における動作制御方法をコンピュータにより実行させるためのプログラムであって、前記IP処理からの分割パケットを復元すべきか否かを判定する復元判定処理と、前記復元判定処理により復元すべきと判定された場合、前記分割パケットと前記冗長パケットとを基にパケット復元を行って前記IP処理へ導出するパケット復元ステップとを含むことを特徴とする。 Another program according to the present invention is divided based on the maximum packet size that can be transmitted on the IP transmission path, and received from the transmission path together with the redundant packet of the divided packet, and IP processing is performed on the divided packet and the redundant packet. Is a program for causing a computer to execute an operation control method in a communication apparatus that performs transmission to another IP transmission path, and a restoration determination process that determines whether or not to restore a fragmented packet from the IP process; A packet restoration step of performing packet restoration based on the divided packet and the redundant packet and deriving the packet to the IP process when it is determined that the restoration should be restored by the restoration judgment process.
本発明による更に他のプログラムは、一のIP伝送路からのパケットに対してIP処理を行って他のIP伝送路へ送信する通信装置における動作制御方法をコンピュータにより実行させるためのプログラムであって、前記IP処理からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定すると共に、前記IP処理からの分割パケットを、復元すべきか否かを判定する分割/復元判定処理と、前記分割/復元判定処理により分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成し、また、前記分割/復元判定ステップにより復元すべきと判定された場合、前記分割パケットを復元して前記IP処理へ導出するパケット分割/復元処理とを含むことを特徴とする。 Still another program according to the present invention is a program for causing a computer to execute an operation control method in a communication apparatus that performs IP processing on a packet from one IP transmission path and transmits the packet to another IP transmission path. Determining whether or not the packet from the IP processing should be divided based on the maximum packet size that can be transmitted on the other transmission path, and determining whether or not the divided packet from the IP processing should be restored When it is determined to be divided by the division / restoration determination process and the division / restoration determination process, the packet is divided and a redundant packet of the divided packet is generated, and is restored by the division / restoration determination step. A packet fragmentation / restoration process for restoring the fragmented packet and deriving it to the IP process. To.
本発明による第1の効果は、パケット分割を行っても信頼性を向上できることである。その理由は、パケット復元時に、分割されたパケットに損失があっても、誤り訂正のための冗長パケットを送信することにより、通信の成功率低下を抑えることができるからである。 The first effect of the present invention is that reliability can be improved even if packet division is performed. The reason is that, at the time of packet restoration, even if there is a loss in the divided packets, a decrease in the success rate of communication can be suppressed by transmitting redundant packets for error correction.
本発明による第2の効果は、IPv6を使用した多様な伝送路により構成される専用のネットワークを構築する場合でも、開発規模を抑えることができることである。その理由は、各伝送路に共通のパケット分割、復元機能を用意できるからである。その結果、多様な伝送路により構成される専用のネットワークを構築する場合でも開発規模を抑えることができる The second effect of the present invention is that the development scale can be reduced even when a dedicated network configured by various transmission paths using IPv6 is constructed. This is because a common packet division and restoration function can be prepared for each transmission path. As a result, the development scale can be reduced even when a dedicated network consisting of various transmission paths is constructed.
以下に、図面を参照しつつ本発明の実施の形態について詳細に説明する。図1を参照すると、本発明の実施の形態が適用されるIPネットワークの一例が示されている。このIPネットワークは、ホスト1,2、通信装置としてのルータ3,4及び伝送路5〜7を含んで構成されている。ホスト1と2とは、これらホスト間においてIP通信を行う機能を有する。ルータ3〜4は、それぞれ接続されている伝送路を介して受信したパケットの宛先情報により、適切な伝送路へパケットを転送する機能を有する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Referring to FIG. 1, an example of an IP network to which an embodiment of the present invention is applied is shown. This IP network includes
伝送路5〜7は、それぞれ上述したMTUを有しており、伝送路5及び7のMTUは、m[byte]、伝送路6のMTUは、n[byte]であり、m>nとする。
The
図2は本発明の実施の形態におけるルータ3,4の通信プロトコル構成の概要を例示するものである。ルータは、IP15、通信AP(Application )転送層14、伝送路インタフェース11〜12、通信AP16、UDP(User Datagram Protocol)15及び通信APインタフェース13を含んで構成されている。
FIG. 2 illustrates an outline of the communication protocol configuration of the routers 3 and 4 in the embodiment of the present invention. The router includes an
通信AP転送層14は、IP15と伝送路インタフェース11〜12または通信APインタフェース13間でパケットの受け渡しを行うと共に、IP15から受け取ったパケットの分割あるいは復元の必要の有無を判定し、必要と判定した時には、通信APインタフェース13を介して通信AP16へパケットを渡す機能を有する。
The communication
通信APインタフェース13は、通信AP16と通信AP転送層14経由のIP15との間で、パケットの受け渡しを行う機能を有する。通信AP16は、MTUを超えるパケットの分割、あるいは、他のルータにおける通信APにより分割されたパケットを復元する機能を有する。
The
以上、詳細に実施の形態の構成を説明したが、図2に示したその他のプロトコル等は、当業者にとってよく知られており、また本発明とは直接関係しないので、これらの説明は省略するものとする。 Although the configuration of the embodiment has been described in detail above, the other protocols and the like shown in FIG. 2 are well known to those skilled in the art and are not directly related to the present invention. Shall.
次に、本発明の実施の形態の動作を説明する。いま、図1において、ホスト1が、ホスト2に対して、サイズがmのパケットを送信した場合の、ルータ3でのパケット分割処理の概要(図3)と、ルータ4でのパケット復元処理の概要(図5)について、夫々説明する。
Next, the operation of the embodiment of the present invention will be described. Now, in FIG. 1, when the
図3はルータ3でのパケット分割処理の概要を示すための分割処理の流れ(点線100)である。ルータ3がホスト2宛のパケットを受信すると、伝送路5用の伝送路インタフェース11より通信AP転送層14に対してパケットが受け渡される。通信AP転送層14では、伝送路インタフェース11より受領したパケットは、全てIP15へ受け渡す。
FIG. 3 is a flow of the dividing process (dotted line 100) for showing an outline of the packet dividing process in the router 3. When the router 3 receives the packet addressed to the host 2, the packet is transferred from the
IP15では、パケットの宛先情報より、伝送路6へ転送が必要であることを判定し、通信AP転送層14経由で伝送路6用の伝送路インタフェースへパケットを受け渡す要求を行う。通信AP転送層14では、受け取ったパケットのサイズ(m)と、伝送路6のMTU(n)のサイズ比較を行うことになる。この場合には、m>nであることから、通信APインタフェース13経由で通信AP16へパケットの分割処理を行わせるためにパケットを受け渡す。通信APインタフェース13では、通信AP転送層14より受領したパケットは、全て通信AP16へ受け渡す。
In
通信AP16では、パケットを分割してUDP/IPのサービスを利用して分割したパケットを送信する。そのために、パケットを分割する際には、図4に示すように、分割したパケットに、通信AP、UDP及びIPのヘッダが付与されることを考慮して、パケットのサイズがn以下となるように分割する。
The
更に、通信途中で分割したパケットの一部を損失しても元のパケットに復元できるように、図4に示す冗長メッセージをも生成する。この冗長メッセージは、分割したパケットをそれぞれ複製したもの等を利用する。最後に、分割したパケットと冗長メッセージに、元のパケットの復元時に必要な情報を通信APヘッダとして付与して、分割前のパケットにあった宛先情報を宛先として、UDP17へ送信要求を行うことになる。
Further, the redundant message shown in FIG. 4 is also generated so that the original packet can be restored even if a part of the packet divided during the communication is lost. This redundant message uses a copy of each divided packet. Finally, information necessary for restoring the original packet is added to the divided packet and redundant message as a communication AP header, and a transmission request is made to the
UDP17及びIP15では、受け取った分割パケット等それぞれに、ヘッダを付与し、通信AP転送層14経由で伝送路6用の伝送路インタフェース12へパケットを受け渡す要求を行う。通信AP転送層14では、受け取ったパケットのサイズが、n以下であることから、伝送路6用の伝送路インタフェース12へパケットを受け渡すことになる。伝送路6用の伝送路インタフェース12では、受け取ったパケットを、順次伝送路6を経由してルータ4へ転送するのである。
In the
図5はルータ4でのパケット復元処理の概要を示すための分割処理の流れ(点線200)である。ルータ4がホスト2宛のパケットを受信すると、ルータ3の処理と同様に、伝送路6用の伝送路インタフェース12、通信AP転送層14、IP15と、順次受け渡されて処理が行われる。
FIG. 5 is a flow of division processing (dotted line 200) for showing an outline of packet restoration processing in the router 4. When the router 4 receives the packet addressed to the host 2, similarly to the processing of the router 3, the transmission path interface 12 for the
通信AP転送層14では、受け取ったパケットに、通信APヘッダが付与されており、またパケットの宛先情報により、宛先ホスト2が、自分自身(ルータ4)に直接接続されていることを確認すると、通信APインタフェース13経由で通信AP16へパケットの復元処理を行わせるためにパケットを受け渡す。
In the communication
先のルータ3の処理と同様に、通信APインタフェース13を介して、通信AP16で通信APヘッダが付与されかつ分割されたパケットの復元要求を受け付けると、ルータ3で分割されたパケット又は冗長メッセージの受信を待ち、復元に必要なパケットを全て受信できたら、元のパケットに復元する。復元したパケットは、通信APインタフェース13、通信AP転送層14経由でIP15へ受け渡されることになる。
Similarly to the processing of the previous router 3, when the
通信APインタフェース13では、通信AP16から受け取ったパケットを全て通信AP転送層14へ受け渡す。通信AP転送層14では、通信APインタフェース13より受領したパケットは、全てIP15へ受け渡す。IP15では、ルータ3の処理と同様に、通信AP転送層14へ、伝送路7用の伝送路インタフェース18へパケットを受け渡す要求を行う。
In the
通信AP転送層14では、通信APヘッダがないこと、パケットのサイズ(m)が、伝送路7のMTU(m)と比較して問題ないことを確認すると、伝送路7用の伝送路インタフェース18へパケットを受け渡す。伝送路7用の伝送路インタフェース18では、受け取ったパケットを伝送路7を経由してホスト2へ送信し、ホスト2がパケットを受信することになる。
When the communication
次に、図2の通信AP転送層14における処理動作の流れについて、図6のフローチャートを用いて説明する。先ず、ステップA1において、パケットをIP15から受領したかどうかを判定し、IP15以外から受領した場合は、パケットをIP15へ送信し、IP15から受領した場合は、ステップA2へ進む。
Next, the flow of processing operations in the communication
ステップA2において、パケットに通信AP16のヘッダが付与されているかどうかを確認し、付与されている場合には、ステップA3へ進み、付与されていない場合には、ステップA4へ進む。ステップA3において、パケットの宛先より、宛先となるホストが自分自身のルータに直接接続されているかを確認し、直接接続されている場合には、パケットの復元が必要であるので、通信APインタフェースを介して通信APへ復元要求を行い、直接接続されていない場合には、ステップA4へ進む。
In step A2, it is confirmed whether or not the header of the
ステップA4において、伝送路インタフェースのMTUとパケットのサイズとを比較し、パケットサイズがMTUより小さい場合には、ステップA5へ進み、MTUより大きい場合には、通信APインタフェース13を介して通信AP16へ分割要求を行うと共に、当該MTUを通知する。なお、ステップA4において、通信AP16へ復元要求を行ったパケットが、後から受信したパケットと送信順序の入れ替えが起こらないように、パケットの受信順に連番でかつパケットの送信元と宛先の組み合わせにより別々に管理していく番号(パケットID)を採番し、ステップA5においてこのパケットIDを利用すると共に、通信APへ分割要求する際もその情報を渡すものとする。
In Step A4, the MTU of the transmission path interface is compared with the packet size. If the packet size is smaller than the MTU, the process proceeds to Step A5. If larger than the MTU, the process proceeds to the
但し、通信APヘッダが付与されているパケットのうち、送信元が自身の場合には、以前に分割復元要求を行ったパケットであるので、通信APヘッダ内に設定されているパケットIDを活用する。 However, if the transmission source is itself among the packets to which the communication AP header is attached, the packet ID set in the communication AP header is used because it is a packet for which a division restoration request has been made previously. .
ステップA5において、パケットIDを確認し、1つ前の番号を持つパケットは送信済みかを、送信元と宛先の組み合わせにより別々に管理しておくパケット送信履歴により確認し、送信済みの場合は、伝送路インタフェースへ送信する。その際、パケット送信履歴を更新する。まだ送信していない場合は、パケットの送信を待機する。 In step A5, the packet ID is confirmed, whether the packet having the previous number has been transmitted is confirmed by the packet transmission history managed separately according to the combination of the transmission source and the destination. Send to transmission line interface. At that time, the packet transmission history is updated. If it has not been transmitted yet, it waits for packet transmission.
次に、図2の通信APインタフェース13の処理動作の流れについて、図7のフローチャートを用いて説明する。先ず、ステップB1において、パケットをどこから受領したのかを確認し、送信元がIP15の場合には、パケットを通信AP16へ送信し、通信AP16の場合は、通信AP転送層14を介してIP15へ送信する。
Next, the flow of processing operations of the
次に、図2の通信AP16における処理動作の流れについて、図8のフローチャートを用いて説明する。先ず、ステップC1において、受信したパケットの処理要求内容を確認し、分割要求の場合には、ステップC2へ進み、復元要求の場合には、ステップC4へ進む。ステップC2において、通信AP転送層14より通知されたMTU以下にパケットを分割する。但し、パケットを分割する際に、通信AP,UDP及びIPのヘッダが付与されているものとする。なお、パケットの復元に必要な、通信AP16より通知されたパケットID、分割No(元のパケットのどの部分であったかが分かるような情報とする)、元のパケットのパケットサイズ等を、通信APヘッダ(図4参照)として付与するものとする。
Next, the flow of processing operations in the
ステップC3において、復元時に損失したパケットがある場合でも、復元可能とするための誤り訂正のための冗長メッセージを作成し、作成した分割パケット及び冗長メッセージをそれぞれUDPへ送信要求する(図4参照)。 In step C3, even when there is a packet lost at the time of restoration, a redundant message for error correction is prepared so that restoration is possible, and the created divided packet and redundant message are requested to be transmitted to UDP (see FIG. 4). .
ステップC1において、受信したパケットの処理要求内容が復元要求だった場合には、ステップC4において、パケットID、分割No、元のパケットのパケットサイズ、送信元を取得し管理する。ステップC5において、管理している分割されたパケットが必要数揃ったら、元のパケットに復元し(ステップC6)、通信APインタフェース13及び通信AP転送層14経由でIP15へ送信する。もし、管理を始めてから、予め規定しておいた時間内に分割されたパケットが必要数揃わなかったならば、期限切れのパケット(送信元とパケットIDが同一のもの全て)を破棄する。
If the processing request content of the received packet is a restoration request in step C1, the packet ID, division number, packet size of the original packet, and transmission source are acquired and managed in step C4. In Step C5, when the necessary number of divided packets managed are collected, the original packets are restored (Step C6) and transmitted to the
図9は、図2に示したルータの通信プロトコル構成を機能ブロックとして示した図であり、図2と同等機能部分は同一符号をもって示している。図9において、伝送路インタフェース部11(12)は、図2における伝送路インタフェース11(12)と等価であり、通信APインタフェース部13は図2における通信APインタフェース13と等価である。
FIG. 9 is a diagram showing the communication protocol configuration of the router shown in FIG. 2 as functional blocks, and the same functional parts as those in FIG. 2 are denoted by the same reference numerals. 9, the transmission path interface unit 11 (12) is equivalent to the transmission path interface 11 (12) in FIG. 2, and the communication
通信AP転送処理部14は図2の通信AP転送層14と等価であり、パケットの分割/復元判定処理を行う。IP処理部15は図2のIP15と等価であり、パケットに対するIP処理を行う。通信AP処理部16は図2の通信AP16と等価であり、パケットの分割/復元処理を行う。UDP処理部17は図2のUDP17と等価であり、パケットに対するUDP処理を行うものである。
The communication AP
これら各機能部は、コンピュータのCPU(中央処理装置)において、予めROMなどの記録媒体に記録したプログラムを読み取って、当該プログラムの手順に従って順次処理を実行することにより、実現されることは明白である。 It is obvious that each of these functional units is realized by reading a program recorded in advance on a recording medium such as a ROM in a CPU (central processing unit) of the computer and sequentially executing processes according to the procedure of the program. is there.
上述したように、本発明によれば、パケット分割時に、誤り訂正のための冗長パケットをも生成して送信することにより、復元時において、分割されたパケットに損失があっても、通信の成功率低下を抑えることができることになる。また、各伝送路に共通のパケット分割、復元機能をルータのIP部(IP処理のためのプロトコル層の機能部分)とは独立して設けているので、IPv6を使用した多様な伝送路により構成される専用のネットワークを構築する場合でも、開発規模を抑えることができることになる。 As described above, according to the present invention, by generating and transmitting a redundant packet for error correction at the time of packet division, even if there is a loss in the divided packet at the time of restoration, communication is successful. The rate drop can be suppressed. In addition, since a packet division and restoration function common to each transmission path is provided independently of the router's IP unit (protocol layer functional part for IP processing), it is configured by various transmission paths using IPv6. Even if a dedicated network is constructed, the development scale can be reduced.
1,2 ホスト
3,4 ルータ
5〜7 伝送路
11,12,18 伝送路インタフェース(伝送路インタフェース部)
13 通信APインタフェース(通信APインタフェース部)
14 通信AP転送層(通信AP転送処理部)
15 IP(IP処理部)
16 通信AP(通信AP処理部)
17 UDP(UDP処理部)
100 分割処理の流れ
200 復元処理の流れ
1, 2 hosts
3, 4 routers
5-7
13 Communication AP interface (Communication AP interface part)
14 Communication AP transfer layer (Communication AP transfer processing part)
15 IP (IP processing part)
16 Communication AP (Communication AP Processing Unit)
17 UDP (UDP processing part)
100 Split process flow
200 Flow of restoration processing
Claims (11)
前記IP手段からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定する分割判定手段と、
前記分割判定手段により分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成して前記IP手段へ導出する分割手段とを含むことを特徴とする通信装置。 A communication device that performs IP processing on a packet from one IP transmission path by IP means and transmits the packet to another IP transmission path,
Division determination means for determining whether or not to divide the packet from the IP means based on the maximum packet size that can be transmitted on the other transmission path;
And a dividing unit that divides the packet and generates a redundant packet of the divided packet and derives it to the IP unit when the division determining unit determines that the packet should be divided.
前記IP手段からの分割パケットを復元すべきか否かを判定する復元判定手段と、
前記復元判定手段により復元すべきと判定された場合、前記分割パケットと前記冗長パケットとを基にパケット復元を行って前記IP手段へ導出するパケット復元手段とを含むことを特徴とする通信装置。 Divided based on the maximum packet size that can be transmitted on the IP transmission path, and received from the transmission path together with the redundant packet of this divided packet, and IP processing is performed by the IP means on the divided packet and the redundant packet to obtain another packet. A communication device for transmitting to an IP transmission path,
Restoration determination means for judging whether or not to restore a fragmented packet from the IP means;
A communication apparatus, comprising: a packet restoring means for performing packet restoration based on the divided packet and the redundant packet and deriving the packet to the IP means when it is determined by the restoration judging means to restore.
前記IP手段からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定すると共に、前記IP手段からの分割パケットを、復元すべきか否かを判定する分割/復元判定手段と、
前記分割/復元判定手段により分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成し、また、前記分割/復元判定手段により復元すべきと判定された場合、前記分割パケットを復元して前記IP手段へ導出するパケット分割/復元手段とを含むことを特徴とする通信装置。 A communication device that performs IP processing on a packet from one IP transmission path by IP means and transmits the packet to another IP transmission path,
A division for determining whether or not the packet from the IP means should be divided based on the maximum transmittable packet size of the other transmission path, and for determining whether or not the divided packet from the IP means should be restored / Restoration determination means,
When it is determined by the division / restoration determination means that the packet should be divided, a packet is divided and a redundant packet of this divided packet is generated, and when it is determined by the division / restoration determination means that it should be restored And a packet fragmentation / restoration means for restoring the fragmented packet and deriving it to the IP means.
前記IP手段からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定する分割判定ステップと、
前記分割判定ステップにより分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成して前記IP手段へ導出する分割ステップとを含むことを特徴とする方法。 An operation control method in a communication apparatus that performs IP processing on a packet from one IP transmission path by IP means and transmits the packet to another IP transmission path,
A division determination step for determining whether or not to divide the packet from the IP means based on the maximum transmittable packet size of the other transmission path;
And a dividing step of dividing the packet and generating a redundant packet of the divided packet and deriving it to the IP means when it is determined to be divided by the division determining step.
前記IP手段からの分割パケットを復元すべきか否かを判定する復元判定ステップと、
前記復元判定ステップにより復元すべきと判定された場合、前記分割パケットと前記冗長パケットとを基にパケット復元を行って前記IP手段へ導出するパケット復元ステップとを含むことを特徴とする方法。 Divided based on the maximum packet size that can be transmitted on the IP transmission path, and received from the transmission path together with the redundant packet of this divided packet, and IP processing is performed by the IP means on the divided packet and the redundant packet to obtain another packet. An operation control method in a communication device that transmits to an IP transmission path,
A restoration determination step for determining whether or not to restore a fragmented packet from the IP means;
A packet restoring step of performing packet restoration based on the divided packet and the redundant packet and deriving the packet to the IP means when it is judged by the restoration judging step that restoration is to be performed;
前記IP手段からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定すると共に、前記IP手段からの分割パケットを、復元すべきか否かを判定する分割/復元判定ステップと、
前記分割/復元判定ステップにより分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成し、また、前記分割/復元判定ステップにより復元すべきと判定された場合、前記分割パケットを復元して前記IP手段へ導出するパケット分割/復元ステップとを含むことを特徴とする方法。 An operation control method in a communication apparatus that performs IP processing on a packet from one IP transmission path by IP means and transmits the packet to another IP transmission path,
A division for determining whether or not the packet from the IP means should be divided based on the maximum transmittable packet size of the other transmission path, and for determining whether or not the divided packet from the IP means should be restored / Restoration judgment step,
When it is determined in the division / restoration determination step that the packet should be divided, the packet is divided and a redundant packet of the divided packet is generated, and when the division / restoration determination step determines that the packet should be restored And a packet segmentation / restoration step of restoring the fragmented packet and deriving it to the IP means.
前記IP処理からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定する分割判定処理と、
前記分割判定処理により分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成して前記IP処理へ導出する分割処理とを含むことを特徴とするプログラム。 A program for causing a computer to execute an operation control method in a communication apparatus that performs IP processing on a packet from one IP transmission path and transmits the packet to another IP transmission path,
A division determination process for determining whether or not to divide the packet from the IP process based on the maximum packet size that can be transmitted on the other transmission path;
A program comprising: dividing a packet when it is determined to be divided by the division determination process, and generating a redundant packet of the divided packet and deriving the packet to the IP process.
前記IP処理からの分割パケットを復元すべきか否かを判定する復元判定処理と、
前記復元判定処理により復元すべきと判定された場合、前記分割パケットと前記冗長パケットとを基にパケット復元を行って前記IP処理へ導出するパケット復元ステップとを含むことを特徴とするプログラム。 Another IP transmission path that is divided based on the maximum transmittable packet size of the IP transmission path and receives the packet from the transmission path together with the redundant packet of the divided packet and performs IP processing on the divided packet and the redundant packet. A program for causing a computer to execute an operation control method in a communication device that transmits to a computer,
A restoration determination process for determining whether or not to restore a fragmented packet from the IP process;
A program comprising: a packet restoration step of performing packet restoration based on the divided packet and the redundant packet and deriving to the IP processing when it is judged that the restoration judgment process should restore.
前記IP処理からのパケットを、前記他の伝送路の伝送可能最大パケットサイズに基いて分割すべきか否かを判定すると共に、前記IP処理からの分割パケットを、復元すべきか否かを判定する分割/復元判定処理と、
前記分割/復元判定処理により分割すべきと判定された場合、パケットの分割をなすと共に、この分割パケットの冗長パケットを生成し、また、前記分割/復元判定ステップにより復元すべきと判定された場合、前記分割パケットを復元して前記IP処理へ導出するパケット分割/復元処理とを含むことを特徴とするプログラム。 A program for causing a computer to execute an operation control method in a communication apparatus that performs IP processing on a packet from one IP transmission path and transmits the packet to another IP transmission path,
A division for determining whether or not a packet from the IP processing should be divided based on a maximum transmittable packet size of the other transmission path and for determining whether or not a divided packet from the IP processing should be restored / Restoration judgment process,
When it is determined by the fragmentation / restoration determination process that the packet should be divided, the packet is divided and a redundant packet of this fragmented packet is generated, and when it is determined by the fragmentation / restoration determination step that it should be restored A packet division / restoration process for restoring the fragmented packet and deriving it to the IP process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007236064A JP2009071462A (en) | 2007-09-12 | 2007-09-12 | Communication apparatus, communication system, and communication control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007236064A JP2009071462A (en) | 2007-09-12 | 2007-09-12 | Communication apparatus, communication system, and communication control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009071462A true JP2009071462A (en) | 2009-04-02 |
Family
ID=40607290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007236064A Pending JP2009071462A (en) | 2007-09-12 | 2007-09-12 | Communication apparatus, communication system, and communication control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009071462A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002290459A (en) * | 2001-03-27 | 2002-10-04 | Nec Corp | Device for transferring packets and method for the same |
JP2003209577A (en) * | 2002-01-16 | 2003-07-25 | Ntt Docomo Inc | Communication system, communicating method, transmitting terminal, receiving terminal and repeater |
JP2004274703A (en) * | 2003-02-19 | 2004-09-30 | Intec Netcore Inc | Router device and packet transfer control method |
WO2004112326A1 (en) * | 2003-06-10 | 2004-12-23 | Fujitsu Limited | Packet transferring method and apparatus |
JP2006050086A (en) * | 2004-08-02 | 2006-02-16 | Toshiba Corp | Routing method and router of packet including a plurality of destination addresses |
WO2006070542A1 (en) * | 2004-12-28 | 2006-07-06 | Matsushita Electric Industrial Co., Ltd. | Communication device, storage medium, integrated circuit, and communication system |
-
2007
- 2007-09-12 JP JP2007236064A patent/JP2009071462A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002290459A (en) * | 2001-03-27 | 2002-10-04 | Nec Corp | Device for transferring packets and method for the same |
JP2003209577A (en) * | 2002-01-16 | 2003-07-25 | Ntt Docomo Inc | Communication system, communicating method, transmitting terminal, receiving terminal and repeater |
JP2004274703A (en) * | 2003-02-19 | 2004-09-30 | Intec Netcore Inc | Router device and packet transfer control method |
WO2004112326A1 (en) * | 2003-06-10 | 2004-12-23 | Fujitsu Limited | Packet transferring method and apparatus |
JP2006050086A (en) * | 2004-08-02 | 2006-02-16 | Toshiba Corp | Routing method and router of packet including a plurality of destination addresses |
WO2006070542A1 (en) * | 2004-12-28 | 2006-07-06 | Matsushita Electric Industrial Co., Ltd. | Communication device, storage medium, integrated circuit, and communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5164123B2 (en) | System and method for improving throughput | |
JP6484386B2 (en) | Method and apparatus for transmitting a service stream in flexible Ethernet | |
TWI449388B (en) | A system-on-a-chip (soc) device with integrated support for ethernet, tcp, iscsi, rdma, and network application acceleration | |
JP5324424B2 (en) | How to resolve datagram corruption through internetworking protocols | |
KR101453182B1 (en) | Interruption, at least in part, of frame transmission | |
US9356863B2 (en) | Communications over multiple protocol interfaces in a computing environment | |
JP4153502B2 (en) | Communication device and logical link error detection method | |
JP2004274703A (en) | Router device and packet transfer control method | |
US7480301B2 (en) | Method, system and article for improved TCP performance during retransmission in response to selective acknowledgement | |
JPWO2007052764A1 (en) | Session relay apparatus and session relay method | |
US20070291782A1 (en) | Acknowledgement filtering | |
JP4490314B2 (en) | Communications system | |
WO2020249035A1 (en) | Method and device for implementing service function processing | |
JP2004171206A (en) | Storage system | |
WO2019205756A1 (en) | Data transmission protection method, apparatus, and system, and computer readable storage medium | |
US20040267960A1 (en) | Force master capability during multicast transfers | |
EP3136684B1 (en) | Multicast transmission using programmable network | |
JP2022547591A (en) | Slot negotiation methods and devices | |
WO2009087774A1 (en) | Network card and information processor | |
US20030128699A1 (en) | Method and apparatus for header updating | |
JP2009071462A (en) | Communication apparatus, communication system, and communication control method | |
US20080320162A1 (en) | Method and System for Minimum Frame Size Support for a Communication Protocol Encapsulated Over Ethernet | |
WO2010075755A1 (en) | Method, apparatus and system for separating path | |
JP6694430B2 (en) | Method and apparatus for controlling reception of broadcast service provided using application layer forward error correction scheme | |
JP2010041498A (en) | Packet creating apparatus, and packet creating method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100806 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110909 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110920 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111121 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20111220 |