JP2006050086A - Routing method and router of packet including a plurality of destination addresses - Google Patents

Routing method and router of packet including a plurality of destination addresses Download PDF

Info

Publication number
JP2006050086A
JP2006050086A JP2004225695A JP2004225695A JP2006050086A JP 2006050086 A JP2006050086 A JP 2006050086A JP 2004225695 A JP2004225695 A JP 2004225695A JP 2004225695 A JP2004225695 A JP 2004225695A JP 2006050086 A JP2006050086 A JP 2006050086A
Authority
JP
Japan
Prior art keywords
packet
destination
data packet
division
routing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004225695A
Other languages
Japanese (ja)
Other versions
JP4371938B2 (en
Inventor
Yutaka Irie
豊 入江
Shinya Iemura
慎也 家村
Hitoshi Sumiyoshi
仁 住吉
Kazuhiro Kawagome
和宏 河込
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2004225695A priority Critical patent/JP4371938B2/en
Publication of JP2006050086A publication Critical patent/JP2006050086A/en
Application granted granted Critical
Publication of JP4371938B2 publication Critical patent/JP4371938B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a routing method and a router of a packet including a plurality of destination addresses in which data can be delivered while being divided or compressed appropriately. <P>SOLUTION: The routing method comprises steps of: receiving a data packet including a plurality of destination addresses through two routes of different upper limit size of data packet and then judging whether the address list of the received packet has been compressed or not; routing the data packet including a plurality of destination addresses; and outputting the data packet while dividing or compressing. The dividing/compressing step comprises steps of: judging whether the data packet subjected to routing can be transmitted as it is; dividing the data packet subjected to routing if it cannot be transmitted; and outputting the divided data packet. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、コンピュータ・ネットワークにおけるルーティング方法およびその装置(ルータ装置)に関するものであり、特に、パケットのサイズの上限値(MTU)の違いに対応する複数の宛先アドレスを含むパケットのルーティング方法および当該ルータ装置に関する。   The present invention relates to a routing method and apparatus (router apparatus) in a computer network, and in particular, a routing method for a packet including a plurality of destination addresses corresponding to a difference in the upper limit value (MTU) of the packet size, and It relates to a router device.

コンピュータ・ネットワークでは、送信先のアドレスなどの制御情報を付加したパケットというデータの小さなまとまりを送受信することで、端末間の通信を実現する。また、コンピュータ・ネットワークでは、送信端末から受信端末へパケットを適切に配送するべくネットワークとネットワークとの連結部分において、ルータ装置を使用する。   In a computer network, communication between terminals is realized by transmitting and receiving small pieces of data called packets to which control information such as a destination address is added. Further, in a computer network, a router device is used at a connection portion between a network and a network in order to appropriately deliver a packet from a transmission terminal to a reception terminal.

ルータ装置は、接続されたあるネットワークからパケットが到着すると、その宛先アドレスを参照し、あらかじめ設定された、または稼動中に送られてくる制御パケットのルーティング情報に基づいて、データパケットを配送する先のネットワーク経路を決定する。   When a packet arrives from a connected network, the router device refers to the destination address, and the destination to which the data packet is delivered based on the routing information of the control packet set in advance or sent during operation Determine the network route.

一方、データグラム型通信を実現するパケット転送フォーマットは、宛先アドレスを含むヘッダ部と、転送したいデータの本体を格納するデータ部(またはペイロード・データ部)とを有する構成が一般的である。同一メッセージを多数の宛先に送信する必要がある場合、ネットワーク・リソースの消費を抑えるべく、1パケットの容量が許す範囲内で複数の宛先アドレスを明示的にヘッダ部に格納し、データ部が共有となるパケットを構成してデータ通信する方法が知られている。   On the other hand, a packet transfer format for realizing datagram type communication generally has a configuration having a header part including a destination address and a data part (or payload data part) for storing a main body of data to be transferred. When it is necessary to send the same message to multiple destinations, multiple destination addresses are explicitly stored in the header part within the range allowed by the capacity of one packet to reduce the consumption of network resources, and the data part is shared There is known a method of composing data packets and performing data communication.

複数の宛先アドレスを含むパケットの処理を実施するルータ装置においても、動作の原則は変わらないが、パケット中に複数の宛先が含まれるため、単一の宛先アドレスを含むパケットの処理を実施する一般的なルータ装置のルーティング処理(ルータ動作)に加え、次の動作が加重される。
1)到着したパケットの宛先アドレスリストに含まれるすべての宛先アドレスについて、各アドレス毎に一般的なルータ装置のルーティング処理と同様に方法で、配送先のネットワークを決定する。
2)これらの宛先アドレスのうち、配送先ネットワークが同一となるアドレスのみから構成される宛先アドレスリストを構成し、ヘッダ部にこれを含めたパケットを該当する配送先のネットワークインタフェースに出力する。
3)ルータ装置に接続されているネットワーク経路毎に上記2)の動作を繰り返す。但し、元のパケットが到着したネットワークについては、すでにパケットが一度ネットワーク上を流れているので対象外とする。
Although the principle of operation does not change even in a router apparatus that processes a packet including a plurality of destination addresses, a packet including a single destination address is generally processed because a packet includes a plurality of destinations. In addition to typical router device routing processing (router operation), the following operations are weighted.
1) For all the destination addresses included in the destination address list of the arrived packet, a delivery destination network is determined for each address in the same manner as the routing processing of a general router device.
2) Among these destination addresses, a destination address list composed only of addresses having the same delivery destination network is constructed, and a packet including this in the header part is output to the network interface of the corresponding delivery destination.
3) The operation of 2) is repeated for each network path connected to the router device. However, the network from which the original packet arrived is excluded because the packet has already flowed on the network once.

このようなデータ通信方法によれば、送信端末は、同一データパケットを複数の宛先に送付することができ、すべての宛先アドレスをアドレスリストとして明示的に含むパケットを送信する。また、受信端末は、パケットのヘッダ中のアドレスリストに自分のアドレスが含まれる場合、自分宛のパケットと判断し、受信動作を実施する。   According to such a data communication method, the transmitting terminal can send the same data packet to a plurality of destinations, and transmits a packet that explicitly includes all destination addresses as an address list. In addition, when the receiving terminal includes its own address in the address list in the header of the packet, the receiving terminal determines that the packet is addressed to itself and performs a receiving operation.

他方、ルータ装置は、ルーティング処理を実施するにあたり、さらに特別な動作が必要な場合がある。   On the other hand, the router device may require a special operation when performing the routing process.

一般に、ネットワークはその媒体の特徴に応じて、データ転送の単位となるフレームのサイズ、すなわち固有のMTU(Maximum Transmission Unit)を有する。通常、ネットワーク上に流すパケットのサイズは、フレームに格納できるように定められている。従って、MTUの大きな経路から到着したパケットのサイズが、転送を行う通信経路のMTUに対して大きい場合、そのまま転送することができない。   In general, a network has a frame size as a unit of data transfer, that is, a specific MTU (Maximum Transmission Unit) according to the characteristics of the medium. Usually, the size of a packet to be sent over a network is determined so that it can be stored in a frame. Therefore, when the size of a packet that has arrived from a route with a large MTU is larger than the MTU of the communication route that performs the transfer, it cannot be transferred as it is.

そこで、異なるネットワーク媒体を結ぶルータ装置では、到着したパケットのサイズが、転送を行う通信経路のMTUに対して大きい場合、パケットのデータを分割することによって対応する。すなわち、配送先ネットワークのMTU以下となるように、パケットのペイロード・データ部を分割し、それぞれに対し、この分割にかかわる情報を付加したヘッダ部を加えたパケットを生成する。   Therefore, in a router device that connects different network media, when the size of the arriving packet is larger than the MTU of the communication path that performs the transfer, the packet data is divided. That is, the payload data portion of the packet is divided so as to be equal to or less than the MTU of the delivery destination network, and a packet is generated by adding a header portion to which information related to the division is added to each.

上述した技術内容は、例えば、非特許文献1に記載されている。
マスタリングTCP/IP 入門編 第3版 竹下隆史、村山公保、荒井透、苅田幸雄著 オーム社(図4.8、図4.12、図4.19、図4.21)
The technical contents described above are described in Non-Patent Document 1, for example.
Mastering TCP / IP Introduction 3rd edition Takashi Takeshita, Koho Murayama, Toru Arai, Yukio Hirota Ohmsha (Figures 4.8, 4.12, 4.19, 4.21)

ところが、複数の宛先アドレスリストを含むパケットの場合、ヘッダ部のサイズは、宛先の数に比例して大きくなることから、従来から知られるパケットのデータ分割方法では対応できないケースがでてくる。   However, in the case of a packet including a plurality of destination address lists, the size of the header portion increases in proportion to the number of destinations. Therefore, there are cases where the conventional packet data division method cannot be used.

例えば、MTUが大きな経路から、宛先アドレス数がN個のパケットが到着したが、転送先の経路のMTUが小さく、データ分割が必要となる場合、まず、ルータ装置が、ルーティング処理を行い、ルーティング処理の結果、MTUが小さい経路に対し、宛先アドレス数M(但し、Mは、N以下の自然数)のパケットの配送を試みべく、M個の宛先アドレスリストを含むパケットのヘッダ部を構成する。   For example, when a packet with N destination addresses arrives from a route with a large MTU, but the MTU of the transfer destination route is small and data division is necessary, the router device first performs routing processing and performs routing processing. As a result of the processing, a header portion of a packet including a list of M destination addresses is formed in order to attempt to deliver a packet having a destination address number M (where M is a natural number equal to or less than N) for a route having a small MTU.

このとき、構成されるヘッダ部のサイズが転送先の経路のMTUよりも小さくなる場合には問題はないが、大きくなる場合、従来から知られるパケットのデータ分割方法では、データ部の分割を施しても、分割されたパケットのサイズは、MTU以下になることはない。この場合、ルータ装置は、到着したパケットの配送をすることができず、最終的にはパケットを廃棄せざるを得なくなってしまう。この結果、送信端末から送信されたデータが送信者の希望する宛先の端末まで配送されないという問題が発生し得る。   At this time, there is no problem when the size of the configured header part is smaller than the MTU of the transfer destination route. However, when the size is large, the conventionally known packet data division method performs the data part division. However, the size of the divided packet never falls below the MTU. In this case, the router device cannot deliver the arrived packet and eventually has to discard the packet. As a result, there may occur a problem that data transmitted from the transmission terminal is not delivered to the destination terminal desired by the sender.

本発明は、上述した問題を考慮してなされたものであり、1パケットのサイズの上限が異なる2つのネットワークの間におけるパケットのルーティングを実施する際に、従来の分割方法では、分割されたパケットのサイズが転送経路のMTUよりも大きくなるような場合においても、適切にデータを分割または圧縮して配送可能とする複数の宛先アドレスを含むパケットのルーティング方法および当該ルータ装置を提供することを目的とする。   The present invention has been made in consideration of the above-described problems. When a packet is routed between two networks having different upper limits on the size of one packet, the conventional dividing method uses the divided packet. A method for routing a packet including a plurality of destination addresses that can be delivered by appropriately dividing or compressing data even when the size of the packet is larger than the MTU of the transfer path, and the router device And

本発明に係る複数の宛先アドレスを含むパケットのルーティング方法は、上述した課題を解決するため、請求項1に記載したように、データパケットのサイズの上限が異なる少なくとも2つの経路で複数の宛先アドレスを含むデータパケットを受信した後、受信した前記パケットのアドレスリストが圧縮されているか否かを判断して圧縮されている場合に伸張処理ステップを実行する複数宛先パケット伸張処理手順と、複数の宛先アドレスのデータパケットに対してルーティング処理を行う複数宛先ルーティング処理手順と、前記ルーティング処理後のデータパケットを必要に応じて分割または圧縮して出力する分割・圧縮処理手順とを具備し、この分割・圧縮処理手順は、ルーティング処理後のデータパケットがそのまま送信可能であるか否かを判定する送信可否判定ステップと、送信可否判定ステップで送信できない場合にルーティング処理後のデータパケットを再分割する分割処理工程と、分割後のデータパケットを出力するデータパケット出力ステップとを備えることを特徴とする。   In order to solve the above-described problem, a routing method for a packet including a plurality of destination addresses according to the present invention provides a plurality of destination addresses in at least two routes having different upper limit sizes of data packets. A multi-destination packet decompression processing procedure for executing a decompression processing step when it is compressed by determining whether an address list of the received packet is compressed after receiving a data packet including a plurality of destinations; A multi-destination routing processing procedure for performing routing processing on a data packet at an address, and a split / compression processing procedure for splitting or compressing and outputting the data packet after the routing processing as necessary. Whether the compression processing procedure can transmit the data packet after routing processing as it is A transmission permission / inhibition determining step for determining whether or not transmission is possible in the transmission permission / inhibition determining step, a division processing step for re-dividing the data packet after routing processing, and a data packet output step for outputting the data packet after division It is characterized by.

上述した課題を解決するために、本発明に係る複数の宛先アドレスを含むパケットのルーティング方法は、請求項2に記載したように、前記分割処理工程が、データパケットのヘッダ部の宛先アドレスデータの分割数とペイロード・データ部の分割数を決定する分割数決定処理ステップと、この分割数決定処理ステップで決定した分割数にデータパケットを再分割するデータパケット分割処理ステップとを有することを特徴とする。   In order to solve the above-described problem, according to the routing method for a packet including a plurality of destination addresses according to the present invention, as described in claim 2, the division processing step includes the destination address data of the header portion of the data packet. A division number determination processing step for determining the division number and the division number of the payload data portion, and a data packet division processing step for re-dividing the data packet into the division number determined in the division number determination processing step, To do.

上述した課題を解決するために、本発明に係る複数の宛先アドレスを含むパケットのルーティング方法は、請求項4に記載したように、前記分割数決定処理ステップが、宛先アドレスの分割数およびペイロード・データの分割数の2つの値について、構築する分割パケットのサイズが配送先ネットワークの1パケットのサイズの上限値以下となる2つの値の組合せのうち、送出するパケット数を最小にする組合せを選択することを特徴とする。   In order to solve the above-described problem, according to the routing method for a packet including a plurality of destination addresses according to the present invention, as described in claim 4, the division number determination processing step includes: For the two values of the number of data divisions, select the combination that minimizes the number of packets to be sent out of the two value combinations in which the size of the divided packet to be constructed is less than or equal to the upper limit of the size of one packet in the destination network It is characterized by doing.

本発明に係る複数の宛先アドレスを含むパケットのルータ装置は、上述した課題を解決するために、請求項6に記載したように、外部との入出力インタフェースとして、データパケットを受け取る複数のネットワークインタフェースと、データパケットの送受信を担うデータパケット処理部と、前記ネットワークインタフェースが受け取ったデータパケットのアドレスリストが圧縮されている場合にアドレスリストを伸張して出力する複数宛先パケット伸張処理部と、前記ネットワークインタフェースが受け取ったデータパケットの宛先が単一のデータパケットのルーティング処理を行う単一宛先ルーティング処理部と、前記ネットワークインタフェースが受け取ったデータパケットの宛先が複数のデータパケットのルーティング処理を行う複数宛先ルーティング処理部と、前記ルーティング処理後のデータパケットを、配送先ネットワークの1パケットのサイズの上限を考慮して必要に応じてデータパケットの分割・圧縮処理を行い出力する複数宛先パケット分割・圧縮処理部と、制御パケットの送受信を行う制御パケット処理部と、ルーティング情報を格納したルーティングテーブルの情報を更新するルーティングテーブル更新部とを具備することを特徴とする。   In order to solve the above-described problem, a router device for a packet including a plurality of destination addresses according to the present invention provides a plurality of network interfaces that receive data packets as input / output interfaces with the outside, as described in claim 6 A data packet processor for transmitting and receiving data packets, a multi-destination packet decompression processor for decompressing and outputting an address list when the address list of the data packet received by the network interface is compressed, and the network The destination of the data packet received by the interface performs a routing process for a single data packet, and the destination of the data packet received by the network interface performs a routing process for a plurality of data packets. A multi-destination routing processing unit, and a multi-destination packet splitting unit that outputs the data packet after the routing processing by dividing and compressing the data packet as necessary in consideration of the upper limit of the size of one packet of the delivery destination network. A compression processing unit, a control packet processing unit that transmits and receives control packets, and a routing table update unit that updates information of a routing table that stores routing information are provided.

上述した課題を解決するために、本発明に係る複数の宛先アドレスを含むパケットのルータ装置は、請求項8に記載したように、前記複数宛先パケット分割・圧縮処理部が、ルーティング処理後のデータパケットがそのまま送信できない場合に、ペイロード・データ部の分割だけでなく、ヘッダ部に含まれる宛先アドレスの分割を試み、ルーティング処理後のデータパケットを分割した複数の分割パケットを構築して出力するように構成されたことを特徴とする。   In order to solve the above-described problem, according to the router device for a packet including a plurality of destination addresses according to the present invention, the multi-destination packet division / compression processing unit is configured to perform data processing after routing processing. When a packet cannot be transmitted as it is, not only the payload / data part but also the destination address contained in the header part is tried, and multiple divided packets are created and output after the routing process. It is characterized by being configured.

また、上述した課題を解決するために、本発明に係る複数の宛先アドレスを含むパケットのルータ装置は、請求項9に記載したように、前記複数宛先パケット分割・圧縮処理部が、ルーティング処理後のデータパケットがそのまま送信できない場合、ルーティング処理後のデータパケットを分割する際に、宛先アドレスの分割数およびペイロード・データの分割数の2つの値について、構築する分割パケットのサイズが配送先ネットワークの1パケットのサイズの上限値以下となる2つの値の組合せのうち、送出するパケット数を最小にする組合せを選択するように構成されたことを特徴とする。   In order to solve the above-described problem, according to the router device for a packet including a plurality of destination addresses according to the present invention, as described in claim 9, the multi-destination packet division / compression processing unit performs post-routing processing. When the data packet cannot be transmitted as it is, when the data packet after routing processing is divided, the size of the divided packet to be constructed is the size of the destination network for the two values of the destination address division number and the payload data division number. It is characterized by selecting a combination that minimizes the number of packets to be sent out from a combination of two values that are equal to or smaller than the upper limit value of the size of one packet.

本発明に係る複数の宛先アドレスを含むパケットのルーティング方法および当該ルータ装置によれば、1パケットのサイズの上限が異なる2つのネットワークの間におけるパケットのルーティングを実施する際に、従来の分割方法では、分割されたパケットのサイズが転送経路のMTUよりも大きくなるような場合においても、適切にデータを分割または圧縮して配送することができる。   According to the routing method of a packet including a plurality of destination addresses according to the present invention and the router device, when performing routing of a packet between two networks having different upper limits of the size of one packet, Even when the size of the divided packet is larger than the MTU of the transfer path, the data can be appropriately divided or compressed and delivered.

以下、本発明に係る複数の宛先アドレスを含むパケットのルーティング方法および当該ルータ装置について図を参照して説明する。   Hereinafter, a routing method of a packet including a plurality of destination addresses according to the present invention and the router device will be described with reference to the drawings.

ここでは、ルータ装置としてIPv6対応のルータ装置を、また複数の宛先アドレスを格納する転送方式としてXcast(eXplicit Multicast)をベースとしたプロトコルにおける実施例について説明する。尚、Xcast とは、主として動画等のストリーミング・データの効率的な配送等を目的としてIETFに提案されたインターネット・ドラフトである(draft−ooms−xcast−basic−spec−06.txt)。   Here, an embodiment of a protocol based on IPv6 as a router device and a protocol based on Xcast (eXplicity Multicast) as a transfer method for storing a plurality of destination addresses will be described. Xcast is an Internet draft proposed to IETF mainly for the purpose of efficient delivery of streaming data such as moving images (draft-ooms-xcast-basic-spec-06.txt).

図1に本発明に係る複数の宛先アドレスを含むパケットのルーティング方法を実行するルータ装置1の構成図を示す。   FIG. 1 shows a configuration diagram of a router device 1 that executes a routing method for a packet including a plurality of destination addresses according to the present invention.

図1のルータ装置1は、外部との入出力インタフェースとして、複数(n)のネットワークインタフェース2と、受信したIPデータパケット(以下、単にデータパケットとする)の送受信を担うデータパケット処理部3と、宛先が単一のデータパケットのルーティング処理を行う単一宛先ルーティング処理部4と、宛先が複数のデータパケットのルーティング処理を行う複数宛先ルーティング処理部5とを具備する。   The router device 1 of FIG. 1 includes a plurality (n) of network interfaces 2 as input / output interfaces with the outside, and a data packet processing unit 3 that is responsible for transmission / reception of received IP data packets (hereinafter simply referred to as data packets). A single destination routing processing unit 4 that performs routing processing of a data packet having a single destination, and a multi-destination routing processing unit 5 that performs routing processing of a plurality of data packets whose destination is a plurality of data packets.

また、ルータ装置1は、ルーティング処理の制御を適切に行うべく、制御パケットの送受信を行う制御パケット処理部7と、ルーティング情報を格納したルーティングテーブル8の情報を更新するルーティングテーブル更新部9とをさらに具備する。   Further, the router device 1 includes a control packet processing unit 7 that transmits and receives control packets and a routing table update unit 9 that updates information in the routing table 8 that stores routing information in order to appropriately control the routing processing. In addition.

ルータ装置1におけるネットワークインタフェース2は、例えば、Ethernet(登録商標)によるLANや、無線によるネットワーク等の任意のネットワーク媒体である。ネットワークインタフェース2は、外部のコンピュータ・ネットワークから送信されたパケットを受け取り、受け取ったパケットがデータパケットの場合、データパケット処理部3に受け取ったパケットを送る。   The network interface 2 in the router device 1 is an arbitrary network medium such as a LAN based on Ethernet (registered trademark) or a wireless network. The network interface 2 receives a packet transmitted from an external computer network. When the received packet is a data packet, the network interface 2 sends the received packet to the data packet processing unit 3.

データパケット処理部3は、ネットワークインタフェース2からデータパケットを受け取ると、受け取ったパケットがXcastパケットか否か、すなわち、宛先が単一か複数かを判断する。データパケット処理部3は、受け取ったパケットの宛先が単一の場合、受信したパケットを単一宛先ルーティング処理部4に送る。   When receiving the data packet from the network interface 2, the data packet processing unit 3 determines whether the received packet is an Xcast packet, that is, whether the destination is single or plural. When the received packet has a single destination, the data packet processing unit 3 sends the received packet to the single destination routing processing unit 4.

単一宛先ルーティング処理部4は、ルータ装置1に格納され、ルーティング情報を有するルーティングテーブル8を参照し、配送先のネットワークへデータパケットを送信するべく、参照先のデータパケット処理部3へ送る。データパケット処理部3は、単一宛先ルーティング処理部4からルーティング処理後のデータパケットを受信すると、受信したデータパケットをネットワークインタフェース2へ送る。そして、ネットワークインタフェース2は、データパケット処理部3から受信したデータパケットを配送先のネットワークへ配送する。   The single destination routing processing unit 4 refers to the routing table 8 stored in the router device 1 and has routing information, and sends the data packet to the reference destination data packet processing unit 3 to transmit the data packet to the delivery destination network. When the data packet processing unit 3 receives the data packet after the routing process from the single destination routing processing unit 4, the data packet processing unit 3 sends the received data packet to the network interface 2. Then, the network interface 2 delivers the data packet received from the data packet processing unit 3 to the delivery destination network.

一方、データパケット処理部3において、ネットワークインタフェース2から受け取ったパケットがXcastパケット(宛先が複数)の場合、Xcastパケットのアドレスリストが圧縮されている場合が考えられる。Xcast仕様では圧縮の具体的な方式は明示されていないが、何らかの特定の圧縮方式を採用することを想定している。   On the other hand, when the packet received from the network interface 2 is an Xcast packet (a plurality of destinations) in the data packet processing unit 3, the address list of the Xcast packet may be compressed. Although the specific method of compression is not specified in the Xcast specification, it is assumed that some specific compression method is adopted.

従って、ルータ装置1は、圧縮されたXcastパケットのアドレスリストを伸張できる構成とする必要がある。そこで、ルータ装置1は、図1に示すように圧縮されたXcastパケットのアドレスリストを伸張する複数宛先パケット伸張処理部11をさらに具備する。ネットワークインタフェース2から受け取ったパケットの宛先が複数の場合、データパケット処理部3が受け取ったパケットは、複数宛先パケット伸張処理部11へ送られる。   Therefore, the router device 1 needs to be configured to be able to expand the address list of the compressed Xcast packet. Therefore, the router device 1 further includes a multi-destination packet decompression processing unit 11 that decompresses the address list of the compressed Xcast packet as shown in FIG. When there are a plurality of destinations of the packet received from the network interface 2, the packet received by the data packet processing unit 3 is sent to the multi-destination packet decompression processing unit 11.

図2は、複数宛先パケット伸張処理部11へ送られるXcastパケットの一実施例であり、IPv6用Xcastパケットのフォーマットを説明する説明図である。   FIG. 2 is an example of an Xcast packet sent to the multi-destination packet decompression processing unit 11 and is an explanatory diagram for explaining the format of an IPv6 Xcast packet.

本実施例では、圧縮の有無を表現する手段として、Xcastヘッダの空き領域の特定ビット(例えば、図2における0と記載された領域)を利用できるものとする。つまり、複数宛先パケット伸張処理部11は、Xcastヘッダの空き領域の特定ビットを参照することで、圧縮の有無を判断できる。   In the present embodiment, it is assumed that a specific bit (for example, an area described as 0 in FIG. 2) of an empty area of the Xcast header can be used as means for expressing the presence or absence of compression. That is, the multi-destination packet decompression processing unit 11 can determine the presence or absence of compression by referring to the specific bit of the empty area of the Xcast header.

従って、複数宛先パケット伸張処理部11は、まず、データパケット処理部3からXcastパケット(データパケット)受け取ると、Xcastヘッダの空き領域の特定ビットを参照してXcastパケット(データパケット)のアドレスリストが圧縮されているか否かを判断する。その結果、圧縮されている場合には、アドレスリストの伸張を行い、伸張後のXcastパケットを複数宛先ルーティング処理部5へ出力する。圧縮されていない場合には、受け取ったXcastパケットをそのまま複数宛先ルーティング処理部5へ出力する。   Accordingly, when the multi-destination packet decompression processing unit 11 first receives an Xcast packet (data packet) from the data packet processing unit 3, the address list of the Xcast packet (data packet) is referred to by referring to a specific bit in an empty area of the Xcast header. It is determined whether or not it is compressed. As a result, if it is compressed, the address list is expanded, and the expanded Xcast packet is output to the multi-destination routing processing unit 5. If not compressed, the received Xcast packet is output to the multi-destination routing processing unit 5 as it is.

複数宛先ルーティング処理部5では、Xcastの仕様に基づき得られるアルゴリズムにより、配送先のネットワーク毎に、Xcastパケットを振り分けるルーティング処理を実施する。   The multi-destination routing processing unit 5 performs a routing process for distributing the Xcast packet for each network of the delivery destination by an algorithm obtained based on the Xcast specification.

図3に複数宛先をもつデータパケットのルーティング処理について一般的な処理手順を説明する説明図を、図4に複数宛先をもつデータパケットのルーティング処理をより具体的な例で説明する説明図を示す。   FIG. 3 is an explanatory diagram illustrating a general processing procedure for routing processing of a data packet having a plurality of destinations, and FIG. 4 is an explanatory diagram illustrating routing processing of a data packet having a plurality of destinations by a more specific example. .

複数宛先ルーティング処理部5が行うルーティング処理は、図3に示すように、最初は1個だったXcastパケットを配送先ネットワーク毎に宛先アドレスを振り分ける。そして、それぞれ行き先の異なる複数のXcastパケットを構築するものである。   In the routing process performed by the multi-destination routing processing unit 5, as shown in FIG. 3, a destination address is assigned to each delivery destination network in the Xcast packet that was initially one. A plurality of Xcast packets having different destinations are constructed.

次に、図4に示すようなコンピュータ・ネットワークにおいて、ホストAからデータをホストB、ホストD、ホストGおよびホストHに配送する場合を例にして、ルータ装置(図4においてルータと省略)1の複数宛先ルーティング処理部5が行うルーティング処理を説明する。   Next, in the computer network as shown in FIG. 4, a router device (abbreviated as a router in FIG. 4) 1 is exemplified by a case where data is delivered from the host A to the host B, host D, host G and host H. The routing processing performed by the multiple destination routing processing unit 5 will be described.

尚、説明の前提として、図4に示すルータ装置1は、ネットワークインタフェース2として、第1のネットワークインタフェース2、第2のネットワークインタフェース2および第3のネットワークインタフェース2を備えているものとする。また、第1のネットワークインタフェース2がホストA、ホストBおよびホストCを有するコンピュータ・ネットワークと、第2のネットワークインタフェース2がホストD、ホストEを有するコンピュータ・ネットワークと、第3のネットワークインタフェース2がホストF、ホストGおよびホストHを有するコンピュータ・ネットワークと接続されているものとする。   As a premise for explanation, it is assumed that the router device 1 shown in FIG. 4 includes a first network interface 2, a second network interface 2, and a third network interface 2 as the network interface 2. In addition, a computer network in which the first network interface 2 includes the host A, the host B, and the host C, a computer network in which the second network interface 2 includes the host D and the host E, and a third network interface 2 include It is assumed that it is connected to a computer network having a host F, a host G, and a host H.

複数宛先のデータパケットが所定の宛先に配信される手順としては、例えば、ホストAから全ての宛先をヘッダ部に含むデータパケットをホストB、ホストD、ホストGおよびホストHに送信する場合、送信されたデータパケットは、宛先に記載された端末(ホスト)が受け取る。まず、ホストAからルータ装置1の間に宛先として記載されたホストBが存在するので、ホストBは、ホストAから送信されたデータパケットを直接受け取る。そして、ホストAから送信されたデータパケットをルータ装置1が受け取る。   As a procedure for distributing a multi-destination data packet to a predetermined destination, for example, when a data packet including all destinations in the header portion is transmitted from the host A to the host B, the host D, the host G, and the host H, the transmission is performed. The received data packet is received by the terminal (host) described in the destination. First, since the host B described as the destination exists between the host A and the router device 1, the host B directly receives the data packet transmitted from the host A. Then, the router device 1 receives the data packet transmitted from the host A.

ルータ装置1において、ネットワークインタフェース2ホストAから送信されたデータパケットを受け取ると、図1に示すように、データパケット処理部3および複数宛先パケット伸張処理部11を経由して複数宛先ルーティング処理部5がデータパケットを受け取る。複数宛先ルーティング処理部5がデータパケットを受け取ると、複数宛先ルーティング処理部5は、図3に示す手順でルーティング処理を開始する。   When the router device 1 receives the data packet transmitted from the network interface 2 host A, the multi-destination routing processing unit 5 passes through the data packet processing unit 3 and the multi-destination packet decompression processing unit 11 as shown in FIG. Receives a data packet. When the multi-destination routing processing unit 5 receives the data packet, the multi-destination routing processing unit 5 starts the routing process in the procedure shown in FIG.

図4に示す例では、宛先アドレス数が4つなので、図3に示されるNの値は、N=4となる。そして、ルーティングテーブル8を参照して1番目の宛先アドレスから4番目の宛先アドレスまで順次に該当する配送先リスト(初期状態は空)へ振り分けを行う。   In the example shown in FIG. 4, since the number of destination addresses is four, the value of N shown in FIG. 3 is N = 4. Then, with reference to the routing table 8, the distribution is performed sequentially from the first destination address to the fourth destination address to the corresponding delivery destination list (initial state is empty).

また、複数宛先ルーティング処理部5が参照するルーティングテーブル8のルーティング情報は、データパケットと一緒に配送される制御パケットを受け取ったルーティングテーブル更新部9が更新を行い、データパケットの入力元となるコンピュータ・ネットワークを配送先から除外する。すなわち、図4に示す例では、ホストA、ホストBおよびホストCは、第1のネットワークインタフェース2宛てのリストから除外されている。   The routing information in the routing table 8 referred to by the multi-destination routing processing unit 5 is updated by the routing table updating unit 9 that has received the control packet delivered together with the data packet, and becomes a data packet input source computer.・ Exclude the network from the delivery destination. That is, in the example shown in FIG. 4, host A, host B, and host C are excluded from the list addressed to the first network interface 2.

従って、1番目の宛先アドレスとなるホストBについては、何れのネットワークインタフェース2宛のリストに含まれないこととなり、配送先リストには追加されない。また、2番目の宛先アドレスとなるホストDについては、第2のネットワークインタフェース2宛のリストに含まれるので、第2のネットワークインタフェース2の配送先リストに追加される。さらに、3番目および4番目の宛先アドレスとなるホストGおよびホストHについては、両者とも第3のネットワークインタフェース2宛のリストに含まれるので、第3のネットワークインタフェース2の配送先リストに追加される。   Therefore, the host B as the first destination address is not included in the list addressed to any network interface 2 and is not added to the delivery destination list. Further, since the host D that is the second destination address is included in the list addressed to the second network interface 2, it is added to the delivery destination list of the second network interface 2. Further, the host G and the host H that are the third and fourth destination addresses are both included in the list addressed to the third network interface 2 and are therefore added to the delivery destination list of the third network interface 2. .

続いて、入力元のネットワークインタフェース2である第1のネットワークインタフェース2以外のネットワークインタフェース2、すなわち、第2のネットワークインタフェース2および第3のネットワークインタフェース2の配送先リストが空でないことを確認した上で、構築された各Xcastパケットを配送先リストに対応するデータパケット処理部3に送信する。複数宛先ルーティング処理部5が各Xcastパケットをデータパケット処理部3に送信すると複数宛先ルーティング処理部5のルーティング処理は完了する。   Subsequently, it is confirmed that the delivery destination lists of the network interfaces 2 other than the first network interface 2 that is the input source network interface 2, that is, the second network interface 2 and the third network interface 2, are not empty. Then, each constructed Xcast packet is transmitted to the data packet processing unit 3 corresponding to the delivery destination list. When the multi-destination routing processing unit 5 transmits each Xcast packet to the data packet processing unit 3, the routing process of the multi-destination routing processing unit 5 is completed.

複数宛先ルーティング処理部5がルーティング処理を行った後、複数宛先ルーティング処理部5から送信されたXcastパケットは、データパケット処理部3およびネットワークインタフェース2を経由して、ルータ装置1からそれぞれ個別に対応するコンピュータ・ネットワークに送信され、宛先となるホストD、ホストGおよびホストHに配送されることとなるが、この時、各パケットのサイズが、パケットの配送経路のMTUを超えていると配送できないという問題がある。   After the multi-destination routing processing unit 5 performs routing processing, Xcast packets transmitted from the multi-destination routing processing unit 5 individually correspond to the router device 1 via the data packet processing unit 3 and the network interface 2. To the destination host D, host G, and host H. At this time, if the size of each packet exceeds the MTU of the packet delivery path, delivery cannot be performed. There is a problem.

そこで、ルータ装置1では、図1に示すように、受け取ったデータパケットのサイズと配送先となるホスト(端末)があるコンピュータ・ネットワークのMTUとを考慮して必要に応じてデータパケットの分割・圧縮処理を行う複数宛先パケット分割・圧縮処理部12をさらに具備する。   Therefore, as shown in FIG. 1, the router device 1 considers the size of the received data packet and the MTU of the computer network having the host (terminal) as the delivery destination, and divides the data packet as necessary. A multi-destination packet division / compression processing unit 12 that performs compression processing is further provided.

複数宛先パケット分割・圧縮処理部12は、配送先ネットワークのMTUの値以下のサイズのデータパケットを受け取った場合は、そのまま何も変更を加えないデータパケットを複数宛先ルーティング処理部5で先に決定した配送先のデータパケット処理部3へ出力する。一方、配送先ネットワークのMTUよりも大きいサイズのデータパケットを受け取った場合は、Xcastパケットの分割または圧縮が加重され、分割または圧縮後のデータパケットが出力される。   When the multi-destination packet division / compression processing unit 12 receives a data packet having a size equal to or smaller than the MTU value of the delivery destination network, the multi-destination routing processing unit 5 first determines a data packet that does not change anything. To the data packet processing unit 3 at the delivery destination. On the other hand, when a data packet having a size larger than the MTU of the delivery destination network is received, the division or compression of the Xcast packet is weighted, and the divided or compressed data packet is output.

データパケット処理部3は、単一の宛先の場合と同様に、対応するネットワークインタフェース2に対して出力処理を実施する。そして、ネットワークインタフェース2からネットワーク媒体に応じた物理的なパケットの送出が行われる。   The data packet processing unit 3 performs output processing on the corresponding network interface 2 as in the case of a single destination. Then, a physical packet corresponding to the network medium is transmitted from the network interface 2.

このように、ルータ装置1は、複数宛先パケット伸張処理部11を具備することで、パケットのアドレスリストが圧縮されている場合にも、ルーティング処理を行うことができる。また、複数宛先パケット分割・圧縮処理部12を具備することで、1パケットのサイズの上限が異なる2つのネットワークの間におけるパケットのルーティング処理を実施する際に、従来の分割方法では、分割されたパケットのサイズが転送経路のMTUよりも大きくなるような場合においても、適切にデータを分割または圧縮して配送することができる。   As described above, the router device 1 includes the multi-destination packet decompression processing unit 11 so that the routing process can be performed even when the packet address list is compressed. In addition, by providing the multi-destination packet division / compression processing unit 12, when performing routing processing of packets between two networks having different upper limit sizes of one packet, the conventional division method does not perform division. Even when the packet size is larger than the MTU of the transfer path, the data can be appropriately divided or compressed for delivery.

次に、本発明に係る複数の宛先アドレスを含むパケットのルーティング方法について説明する。   Next, a method for routing a packet including a plurality of destination addresses according to the present invention will be described.

複数の宛先アドレスを含むパケットルーティング方法は、受信したXcastパケットのアドレスリストが圧縮されているか否かを判断して圧縮されている場合に伸張処理ステップを実行する複数宛先パケット伸張処理手順と、複数の宛先アドレスのデータパケットに対してルーティング処理を行う複数宛先ルーティング処理手順と、ルーティング処理後のデータパケットを必要に応じて分割または圧縮して出力する分割・圧縮処理手順とを具備する。   A packet routing method including a plurality of destination addresses includes a multi-destination packet decompression processing procedure for determining whether or not an address list of a received Xcast packet is compressed and executing a decompression processing step when the address list is compressed; A multi-destination routing processing procedure for performing routing processing on the data packet of the destination address, and a division / compression processing procedure for dividing and compressing and outputting the data packet after the routing processing as necessary.

図5は、複数宛先パケット分割・圧縮処理部12が行う分割・圧縮処理手順をさらに詳細に説明する処理フロー図である。   FIG. 5 is a processing flowchart for explaining in more detail the division / compression processing procedure performed by the multi-destination packet division / compression processing unit 12.

図5によれば、分割・圧縮処理手順は、ルーティング処理後のパケットを分割する分割処理手順と、ルーティング処理後のパケットを圧縮する圧縮処理手順とを備える。ここで、分割・圧縮処理手順における分割処理手順は、当該処理後のパケットサイズが必ず配送するMTUよりも小さくすることができる必須的処理手順である一方、圧縮処理手順は、アドレスリストの圧縮処理を行う手順であり、この圧縮処理手順のみでは、圧縮後のパケットサイズが必ずしもMTUより小さくなることを保証できない任意的処理手順である。   According to FIG. 5, the division / compression processing procedure includes a division processing procedure for dividing the packet after the routing process, and a compression processing procedure for compressing the packet after the routing process. Here, the division processing procedure in the division / compression processing procedure is an indispensable processing procedure in which the packet size after the processing can be made smaller than the MTU to be delivered, while the compression processing procedure is a compression process of the address list. This is an arbitrary processing procedure that cannot guarantee that the compressed packet size is necessarily smaller than the MTU only by this compression processing procedure.

そこで、図5においては、分割処理手順および圧縮処理手順の両者が示されているが、説明の便宜上、まず、分割・圧縮処理手順が、必須的処理手順である分割処理手順のみを備える場合(ルータ装置1において設定された圧縮設定パラメータがoffの場合:後述するステップS5でNOの場合に相当)について説明する。   Therefore, in FIG. 5, both the division processing procedure and the compression processing procedure are shown. For convenience of explanation, first, when the division / compression processing procedure includes only the division processing procedure which is an essential processing procedure ( The case where the compression setting parameter set in the router device 1 is “off” (corresponding to NO in step S5 described later) will be described.

分割・圧縮処理手順(分割処理手順)は、複数宛先パケット分割・圧縮処理部12が受信したルーティング処理後のデータパケットがそのまま送信可能であるか否かを判定する送信可否判定ステップ(ステップS1)と、送信可否判定ステップで送信できないと判定された場合(ステップS1でNOの場合)にデータパケットの再分割を行う分割処理工程(ステップS2〜ステップS3)と、データパケット処理部3に分割後のデータパケットを出力するデータパケット出力ステップ(ステップS4)とを備える。   The fragmentation / compression processing procedure (division processing procedure) is a transmission permission determination step for determining whether or not the data packet after the routing process received by the multi-destination packet fragmentation / compression processor 12 can be transmitted as it is (step S1). And a division processing step (step S2 to step S3) for re-dividing the data packet when it is determined that transmission is not possible in the transmission permission / inhibition determination step (in the case of NO in step S1), and the data packet processing unit 3 A data packet output step (step S4) for outputting the data packet.

また、分割処理手順における分割処理工程は、データパケットのヘッダ部の宛先アドレスデータ(後述するヘッダ可変長部Hvに相当)の分割数p(pは自然数)とペイロード・データ部の分割数qを決定する分割数決定処理ステップ(ステップS2)と、分割数決定処理ステップで決定した分割数にデータパケットを再分割するデータパケット分割処理ステップ(ステップS3)とを有する。   Further, the division processing step in the division processing procedure includes the division number p (p is a natural number) of the destination address data (corresponding to a header variable length portion Hv described later) and the division number q of the payload data portion of the header portion of the data packet. A division number determination processing step (step S2) to be determined, and a data packet division processing step (step S3) for re-dividing the data packet into the division number determined in the division number determination processing step.

分割処理手順(ステップS1〜ステップS4)は、複数宛先パケット分割・圧縮処理部12がルーティング処理後のパケットを受信すると開始される(開始)。複数宛先パケット分割・圧縮処理部12が分割処理手順を開始すると、まず、ステップS1に進み、ステップS1で送信可否判定ステップがなされる。   The division processing procedure (step S1 to step S4) is started when the multi-destination packet division / compression processor 12 receives a packet after the routing processing (start). When the multi-destination packet division / compression processor 12 starts the division processing procedure, first, the process proceeds to step S1, and a transmission permission / inhibition determination step is performed in step S1.

送信可否判定ステップでは、複数宛先パケット分割・圧縮処理部12が受信したルーティング処理後のデータパケットをそのまま送信可能であるか否かを判定する。送信可否判定ステップにおいて送信できないとの判定結果がなされた場合(ステップS1でNOの場合)、ステップS2に進み、続いて、分割処理工程がなされる。分割処理工程では、まず、ステップS2で分割数決定処理ステップがなされる。   In the transmission permission / inhibition determination step, it is determined whether or not the data packet after the routing process received by the multi-destination packet division / compression processor 12 can be transmitted as it is. When it is determined that transmission is not possible in the transmission permission / inhibition determination step (NO in step S1), the process proceeds to step S2, and then a division processing step is performed. In the division processing step, first, a division number determination processing step is performed in step S2.

図6に複数宛先パケット分割・圧縮処理部12が行う分割処理工程を概説する説明図を示す。   FIG. 6 is an explanatory diagram outlining the division processing steps performed by the multi-destination packet division / compression processor 12.

データパケットは、ヘッダ部とペイロード・データ部とを有する構成となるのが一般的であるが、このヘッダ部は、図6に示すように、宛先アドレス数に関係なく必要となるプロトコル固有のヘッダ固定長部Hfと、宛先アドレスの数に比例して変化する部分が占めるヘッダ可変長部Hvとを有する。   A data packet generally has a configuration having a header part and a payload data part. As shown in FIG. 6, this header part is a protocol-specific header required regardless of the number of destination addresses. It has a fixed length portion Hf and a header variable length portion Hv occupied by a portion that changes in proportion to the number of destination addresses.

従って、ペイロード・データ長をDとすれば、データパケットのサイズは、ヘッダ固定長部Hfと、ヘッダ可変長部Hvと、ペイロード・データ長Dとの和(=Hf+Hv+D)となる。複数宛先パケット分割・圧縮処理部12がデータパケットを受け取るためには、受け取ったデータパケットのサイズ(=Hf+Hv+D)は、当然、配送元のコンピュータ・ネットワークのMTU(以下、MTUinとする)よりも小さい。   Accordingly, if the payload data length is D, the size of the data packet is the sum of the header fixed length portion Hf, the header variable length portion Hv, and the payload data length D (= Hf + Hv + D). In order for the multi-destination packet division / compression processor 12 to receive a data packet, the size of the received data packet (= Hf + Hv + D) is naturally smaller than the MTU of the computer network of the delivery source (hereinafter referred to as MTUin). .

一方、複数宛先パケット分割・圧縮処理部12が受け取ったデータパケットを配送するためには、配送先のコンピュータ・ネットワークのMTU(以下、MTUoutとする)よりも受け取ったデータパケットのサイズが小さくないといけない。ところが、複数宛先パケット分割・圧縮処理部12が受け取ったデータパケットのサイズは、配送先のコンピュータ・ネットワークのMTU(以下、MTUoutとする)よりも大きい。   On the other hand, in order to deliver a data packet received by the multi-destination packet division / compression processor 12, the size of the received data packet must be smaller than the MTU of the delivery destination computer network (hereinafter referred to as MTUout). should not. However, the size of the data packet received by the multi-destination packet dividing / compressing unit 12 is larger than the MTU of the computer network of the delivery destination (hereinafter referred to as MTUout).

IPネットワークでは、受け取ったデータパケットのサイズよりもMTUが小さいコンピュータ・ネットワークに配送するための仕様としてペイロード・データ部を分割して複数のパケットを構築するIPフラグメンテーションが知られている。しかし、IPフラグメンテーションでは、Xcastパケットのような複数の宛先を明示的に含むパケットの場合、宛先アドレス数に比例してパケット内で宛先アドレスリストが必要とするバイト数が増大するため、データ領域を多数に分割しても配送先のMTU以下のサイズにパケットを小さくすることが不可能な場合が発生し得る。   In an IP network, IP fragmentation is known in which a payload data portion is divided to construct a plurality of packets as a specification for delivery to a computer network having an MTU smaller than the size of a received data packet. However, in the IP fragmentation, in the case of a packet that explicitly includes a plurality of destinations such as an Xcast packet, the number of bytes required for the destination address list in the packet increases in proportion to the number of destination addresses. Even if the packet is divided into a large number, it may be impossible to reduce the packet to a size smaller than the MTU of the delivery destination.

そこで、IPフラグメンテーションのようなデータ分割では対応できない場合に対処するために、複数宛先パケット分割・圧縮処理部12は、ペイロード・データの分割だけでなく、それに加えてヘッダにおけるアドレスリストの分割を試みる。つまり、ヘッダ可変長部Hvの分割数pおよびペイロード・データ長Dの分割数qを決定し(ステップS2)、ヘッダ可変長部Hvをp個、ペイロード・データ長Dをq個に分割してp×q個の分割データパケットを構築する(ステップS3)。   Therefore, in order to cope with the case where data division such as IP fragmentation cannot be handled, the multi-destination packet division / compression processor 12 tries not only to divide the payload data but also to divide the address list in the header. . That is, the division number p of the header variable length portion Hv and the division number q of the payload data length D are determined (step S2), the header variable length portion Hv is divided into p pieces, and the payload data length D is divided into q pieces. p × q divided data packets are constructed (step S3).

尚、図6において、Hv1,Hv2〜Hvpは、宛先アドレスをp個に分割した結果の各サイズであり、
[数1]
Hv=Hv1+Hv2+……+Hvp
である。
In FIG. 6, Hv1, Hv2 to Hvp are the sizes obtained as a result of dividing the destination address into p,
[Equation 1]
Hv = Hv1 + Hv2 + ... + Hvp
It is.

一方、D1,D2〜Dqは、ペイロード・データ部をq個に分割した結果の各サイズであり、
[数2]
D=D1+D2+……+Dq
である。
On the other hand, D1, D2 to Dq are each size obtained as a result of dividing the payload data portion into q pieces,
[Equation 2]
D = D1 + D2 + ... + Dq
It is.

次に、分割処理工程の分割数決定処理ステップにおいて決定されるデータパケット(Xcastパケット)の分割数p,qの決定方法について説明する。   Next, a method for determining the division numbers p and q of the data packet (Xcast packet) determined in the division number determination processing step of the division processing step will be described.

分割数決定処理ステップでは、データパケット(Xcastパケット)の分割数p,qを決定する際、1個のXcastパケットを分割を実現する方法を与えるアルゴリズムを採用する。1個のXcastパケットを分割するアルゴリズムの一実施例(以下、分割数決定アルゴリズムとする)としては、まず、宛先アドレスの分割数p、データの分割数qの各組合せに対する1パケット長を計算し、計算結果がMTUout以下となるpおよびqの各組合せのうち、p×q(総パケット数)が最小となるpおよびqを選択するものが考えられる。   In the division number determination processing step, when determining the division numbers p and q of the data packet (Xcast packet), an algorithm that provides a method for dividing one Xcast packet is adopted. As an example of an algorithm for dividing one Xcast packet (hereinafter referred to as a division number determination algorithm), first, one packet length is calculated for each combination of a destination address division number p and a data division number q. Among the combinations of p and q whose calculation result is equal to or less than MTUout, it is possible to select p and q that minimize p × q (total number of packets).

pおよびqの各組合せに対する1パケット長C(p,q)は、
[数3]
C(p,q)=Hf+B×K(N/p)+K(D/q)
で表すことができる。ここで、Nは宛先アドレス数、Bは1宛先アドレスあたりに必要となるバイト数(IPv6の場合16バイト)、K(x)はxの小数点以下を繰り上げて整数値を返す関数である。
One packet length C (p, q) for each combination of p and q is
[Equation 3]
C (p, q) = Hf + B × K (N / p) + K (D / q)
Can be expressed as Here, N is the number of destination addresses, B is the number of bytes required per destination address (16 bytes for IPv6), and K (x) is a function that returns an integer value by rounding up the decimal point of x.

尚、数式3に示されるC(p,q)は、より一般には、ネットワーク・プロトコルでしばしば用いられるパディングで使用されるバイト数を考慮して、
[数4]
C(p,q)=Hf+B×K(N/p)+K(D/q)+Padding(N)
と表すことができる。ここで、Padding(N)は、宛先アドレス数によって決まるパディングのバイト数で、正しく規定されたプロトコルであればその仕様に応じて、一意に定めることができる関数である。
Note that C (p, q) shown in Equation 3 is more generally considered in consideration of the number of bytes used in padding often used in network protocols.
[Equation 4]
C (p, q) = Hf + B × K (N / p) + K (D / q) + Padding (N)
It can be expressed as. Here, Padding (N) is the number of padding bytes determined by the number of destination addresses, and is a function that can be uniquely determined according to the specifications of a correctly defined protocol.

1個のXcastパケットを分割するアルゴリズムを、分割データパケットのサイズがMTUout以下となる(p,q)の各組合せのうちp×q(総パケット数)が最小となるpおよびqを選択するとしたのは、Hf、Hv、D、MTUoutの各パラメータから変数pおよびqを直接得ようとするアルゴリズムと比べて、出力されるパケット数を最小限に抑えることで、不必要に多数のパケットが生成されないようにするためである。   As an algorithm for dividing one Xcast packet, p and q that minimize p × q (total number of packets) are selected from the combinations of (p, q) in which the size of the divided data packet is equal to or smaller than MTUout. Compared to an algorithm that directly obtains the variables p and q from each parameter of Hf, Hv, D, and MTUout, the number of output packets is minimized to generate an unnecessarily large number of packets. This is to prevent it from being done.

仮に、Hf、Hv、D、MTUoutの各パラメータから変数pおよびqを直接得ようとすると、ヘッダの分割数が変わった場合、ペイロード・データ部に割り当てられる領域のサイズも変化するので、確実に転送可能にするp,qの値を得ることは可能であっても、必ずしも出力するパケット数を最小限に抑えるという観点において最適なp,qの値が得られるとは限らない。換言すれば、不必要に多数のパケットが生成される恐れがある。   If the variables p and q are directly obtained from the parameters Hf, Hv, D, and MTUout, the size of the area allocated to the payload data portion also changes if the number of header divisions changes. Although it is possible to obtain p and q values that enable transfer, optimal p and q values are not always obtained from the viewpoint of minimizing the number of output packets. In other words, an unnecessarily large number of packets may be generated.

つまり、分割数決定アルゴリズムの特徴は、ヘッダの分割数の変化に依存することなく、出力するパケット数を最小限に抑えるという観点において、最適な組合せを計算することができる点にある。また、Hfを宛先アドレス数を0とした場合に確保しなければならないヘッダ領域のバイト数とみなすことによって、Xcastに限らず、複数宛先を有するパケットを分割する数を決定するために利用することができる。   That is, the division number determination algorithm is characterized in that an optimum combination can be calculated from the viewpoint of minimizing the number of packets to be output without depending on a change in the number of header divisions. Further, by considering Hf as the number of bytes in the header area that must be secured when the number of destination addresses is 0, it is used not only for Xcast but also for determining the number of packets that have multiple destinations. Can do.

尚、Xcastに限らず、一般にネットワーク・プロトコルには、オプション機能があり、その使用の有無によってHfの実際の値と、1宛先アドレスあたりに必要となるバイト数Bが変化する場合がある。従って、HfおよびBの値が変化しないことを前提として説明してきた分割数決定アルゴリズムは、HfおよびBの値の少なくとも一方が変化した場合において適用できないようにも思われる。   It should be noted that the network protocol is not limited to Xcast and generally has an optional function, and the actual value of Hf and the number of bytes B required per destination address may change depending on the presence or absence of use. Therefore, it seems that the division number determination algorithm described on the assumption that the values of Hf and B do not change cannot be applied when at least one of the values of Hf and B changes.

しかし、1宛先アドレスあたりに必要となるバイト数Bが変化するような場合でも、ネットワーク・プロトコルの性質上、それぞれ具体的にどの値を使用すればよいかは、到着したパケットに含まれるヘッダ部内のいずれかの情報により常に知りえる。従って、分割数決定アルゴリズムは、HfおよびBの変化の有無にかかわらず、また、Xcastに限らず、複数宛先を有するパケットを分割する数を決定するために利用することができる。   However, even when the number of bytes B required per destination address changes, the specific value to be used depends on the nature of the network protocol. Always know by any of the information. Therefore, the division number determination algorithm can be used to determine the number of divisions for a packet having a plurality of destinations regardless of whether or not Hf and B change, and not limited to Xcast.

分割数決定処理ステップで、複数宛先パケット分割・圧縮処理部12がヘッダ可変長部Hvの分割数pおよびペイロード・データ長Dの分割数qを決めると、ステップS3に進み、続いて、データパケット分割処理ステップを行う。データパケット分割処理ステップでは、複数宛先パケット分割・圧縮処理部12が、決定したpおよびqの値に基づき、図3に示す要領で、ヘッダ可変長部Hvをp個、ペイロード・データ長Dをq個に分割してp×q個の分割データパケットを構築する。   When the multi-destination packet division / compression processing unit 12 determines the division number p of the header variable length part Hv and the division number q of the payload / data length D in the division number determination processing step, the process proceeds to step S3. A division processing step is performed. In the data packet division processing step, the multi-destination packet division / compression processing unit 12 sets p header variable length parts Hv and payload / data length D in the manner shown in FIG. 3 based on the determined values of p and q. Divide into q pieces to construct p × q pieces of divided data packets.

ペイロード・データ部の分割については、一般には、そのデータ並び順を復元する情報をパケットに含める必要がある。ここでは、IPフラグメンテーションに準じた方式を利用するものとする。また、データの並び順序を再現するための情報として例えばXcastヘッダの他の領域を利用できるものとする。一方、宛先アドレスの分割については、再現する情報はまったく必要なく、独立したパケットとして配送することができるので、分割に伴う付加的な情報は必要ない。   Regarding the division of the payload / data portion, it is generally necessary to include information for restoring the data arrangement order in the packet. Here, it is assumed that a method according to IP fragmentation is used. In addition, for example, another area of the Xcast header can be used as information for reproducing the data arrangement order. On the other hand, with respect to the division of the destination address, no information to be reproduced is required, and since it can be delivered as an independent packet, no additional information accompanying the division is necessary.

データパケット分割処理ステップで、複数宛先パケット分割・圧縮処理部12がp×q個の分割データパケットを構築すると、データパケット分割処理ステップを完了し、データパケット分割処理ステップの完了をもって、分割処理工程を完了する。分割処理工程が完了すると、ステップS4に進み、データパケット出力ステップがなされる。   When the multi-destination packet division / compression processor 12 constructs p × q divided data packets in the data packet division processing step, the data packet division processing step is completed, and upon completion of the data packet division processing step, the division processing step To complete. When the division processing step is completed, the process proceeds to step S4, and a data packet output step is performed.

データパケット出力ステップでは、複数宛先パケット分割・圧縮処理部12が構築されたp×q個の分割データパケットをすべてデータパケット処理部3に出力する。分割データパケットの出力先となるデータパケット処理部3は、複数宛先ルーティング処理部5がルーティング処理を行い決定したコンピュータ・ネットワークとネットワークインタフェース2を介して接続されるデータパケット処理部3である。データパケット出力ステップがなされると、分割処理手順は終了となる(終了)。   In the data packet output step, all the p × q divided data packets in which the multi-destination packet dividing / compressing unit 12 is constructed are output to the data packet processing unit 3. The data packet processing unit 3 serving as an output destination of the divided data packet is the data packet processing unit 3 connected via the network interface 2 to the computer network determined by the routing processing by the multi-destination routing processing unit 5. When the data packet output step is performed, the division processing procedure ends (end).

一方、送信可否判定ステップにおいて送信できるとの判定結果がなされた場合(ステップS1でYESの場合)には、ステップS4に進み、ステップS4以降の処理ステップがなされる。   On the other hand, when it is determined that transmission is possible in the transmission permission / inhibition determination step (YES in step S1), the process proceeds to step S4, and the processing steps after step S4 are performed.

このような分割処理手順を行えば、ヘッダ部(ヘッダ可変長部Hvのみ)を分割することで、従来であれば、パケットを廃棄せざるを得ないような場合、すなわち、宛先アドレス数が多くデータパケットのヘッダ長が長大であり、データ領域の分割によるパケット分割だけでは、分割しても配送先のMTU以下のサイズにパケットを小さくすることが不可能な場合であっても、データパケットの分割が可能となる。   If such a division processing procedure is performed, the header part (only the header variable length part Hv) is divided, and in the conventional case, the packet must be discarded, that is, the number of destination addresses is large. Even when the header length of the data packet is long and the packet cannot be reduced to a size equal to or smaller than the MTU of the delivery destination by dividing the packet only by dividing the data area, Splitting is possible.

次に、分割・圧縮処理手順が分割処理手順のみならず圧縮処理手順をも備える場合について説明する。   Next, a case where the division / compression processing procedure includes not only the division processing procedure but also a compression processing procedure will be described.

圧縮処理手順は、送信可否判定ステップ(ステップS1)と、データパケットのアドレスリストの圧縮処理を行う圧縮処理工程について実行するか否かを判定する圧縮処理工程実行判定ステップ(ステップS5)と、データパケットの圧縮処理を行う圧縮処理工程(ステップS6〜ステップS9)と、データパケット出力ステップ(ステップS4)とを備える。つまり、分割・圧縮処理手順は、既に説明した分割処理手順(ステップS1〜ステップS4)に圧縮処理工程実行判定ステップ(ステップS5)と、圧縮処理工程(ステップS6〜ステップS9)とを付加した処理手順である。   The compression processing procedure includes a transmission permission / inhibition determination step (step S1), a compression processing step execution determination step (step S5) for determining whether or not to execute a compression processing step for performing compression processing of the address list of the data packet, A compression processing step (step S6 to step S9) for performing packet compression processing and a data packet output step (step S4) are provided. In other words, the division / compression processing procedure is a process in which a compression processing step execution determination step (step S5) and a compression processing step (step S6 to step S9) are added to the already described division processing procedure (step S1 to step S4). It is a procedure.

従って、分割・圧縮処理手順は、圧縮処理手順を備える場合であっても、圧縮処理手順を備えない場合と同様に、複数宛先パケット分割・圧縮処理部12がルーティング処理後のパケットを受信すると開始され、まず、送信可否判定ステップがなされる。そして、送信可否判定ステップにおいて送信できないとの判定結果がなされた場合(ステップS1でNOの場合)には、ステップS5に進み、続いて、圧縮処理工程実行判定ステップがなされる。   Therefore, even when the fragmentation / compression processing procedure is provided with the compression processing procedure, it starts when the multi-destination packet division / compression processing unit 12 receives the packet after the routing processing, as in the case without the compression processing procedure. First, a transmission permission / inhibition determination step is performed. If it is determined that transmission is not possible in the transmission permission / inhibition determination step (NO in step S1), the process proceeds to step S5, and then a compression process step execution determination step is performed.

圧縮処理工程実行判定ステップでは、複数宛先パケット分割・圧縮処理部12が圧縮処理工程を行うか否かを判定する。圧縮処理工程を行うか否かは、複数宛先パケット分割・圧縮処理部12が、予めルータ装置1において設定される圧縮設定パラメータの値を読み取ることで行う。複数宛先パケット分割・圧縮処理部12は、ルータ装置1において設定された圧縮設定パラメータがonの場合(ステップS5でYESの場合)、圧縮処理工程を行うと判定する。   In the compression processing step execution determination step, the multi-destination packet division / compression processing unit 12 determines whether or not to perform the compression processing step. Whether or not to perform the compression processing step is determined by the multi-destination packet division / compression processing unit 12 reading the value of the compression setting parameter set in the router device 1 in advance. The multi-destination packet division / compression processing unit 12 determines that the compression processing step is performed when the compression setting parameter set in the router device 1 is on (YES in step S5).

ここで、圧縮設定パラメータについて補足する。ルータ装置1に設定される圧縮設定パラメータは、圧縮が有効でないことが事前に予想される場合、offに設定することができる。例えば、IPv6アドレスの値は、アドレスリスト中のアドレス間で共通部分が多い場合が十分予想されるので、その場合は、高い圧縮率を期待できる。   Here, the compression setting parameter will be supplemented. The compression setting parameter set in the router device 1 can be set to off when it is predicted in advance that compression is not effective. For example, it is expected that the IPv6 address value has many common parts between addresses in the address list. In this case, a high compression rate can be expected.

しかし、共通部分の少ないアドレスリストを含むパケットが高い頻度で到着することが予想される場合は、圧縮の効果が少ないため、かえって圧縮アルゴリズムを試みる処理時間が無駄になる可能性がある。この理由から、ルータ装置1の外部設定パラメータとして、圧縮の有無を選択可能に構成している。   However, when a packet including an address list with few common parts is expected to arrive at a high frequency, the compression effect is small, and the processing time for trying the compression algorithm may be wasted. For this reason, as an external setting parameter of the router device 1, it is possible to select whether or not compression is performed.

ルータ装置1において設定された圧縮設定パラメータがonの場合(ステップS5でYESの場合)、複数宛先パケット分割・圧縮処理部12は圧縮処理工程を行うと判定し、ステップS6に進み、続いて、ステップS6以降で圧縮処理工程を行う。   When the compression setting parameter set in the router device 1 is on (in the case of YES in step S5), the multi-destination packet division / compression processing unit 12 determines to perform the compression processing step, and proceeds to step S6. The compression processing step is performed after step S6.

圧縮処理工程は、公知の技術内容であり、例えば図5に示すように、アドレスリストのデータ圧縮の効果を事前に判定する圧縮効果事前判定ステップ(ステップS6)と、アドレスリストのデータ圧縮を行うデータ圧縮ステップ(ステップS7)と、圧縮後のアドレスリストを用いて構築するデータパケット(以下、圧縮データパケットとする)のサイズが配送先のコンピュータ・ネットワークのMTU(MTUout)以下になるかを判定する圧縮データパケット送信可否判定ステップ(ステップS8)と、圧縮データパケットを構築する圧縮データパケット構築ステップ(ステップS9)とを備える。   The compression processing step has a known technical content. For example, as shown in FIG. 5, a compression effect preliminary determination step (step S6) for determining the effect of data compression of the address list in advance, and data compression of the address list are performed. A data compression step (step S7) and a determination is made as to whether the size of a data packet (hereinafter referred to as a compressed data packet) constructed using the compressed address list is equal to or smaller than the MTU (MTUout) of the delivery destination computer network A compressed data packet transmission possibility determination step (step S8), and a compressed data packet construction step (step S9) for constructing a compressed data packet.

そして、複数宛先パケット分割・圧縮処理部12が図5に示すような圧縮処理工程を完了すると、ステップS4に進み、続いて、ステップS4以降の処理ステップを実行する。一方、ルータ装置1において設定された圧縮設定パラメータがoffの場合(ステップS5でNOの場合)、ステップS2に進み、複数宛先パケット分割・圧縮処理部12は、続いて、ステップS2以降の処理ステップを実行する。   When the multi-destination packet dividing / compression processing unit 12 completes the compression processing step as shown in FIG. 5, the process proceeds to step S4, and subsequently, the processing steps after step S4 are executed. On the other hand, when the compression setting parameter set in the router device 1 is off (NO in step S5), the process proceeds to step S2, and the multi-destination packet division / compression processing unit 12 continues to process steps subsequent to step S2. Execute.

次に、分割・圧縮処理手順の一実施例として、図1に示すルータ装置1において以下の(1)〜(4)の場合を想定し、図5に示す分割・圧縮処理手順をより具体的に説明する。
(1)ルータ装置1は、3つのコンピュータ・ネットワーク(第1のネットワーク、第2のネットワークおよび第3のネットワーク)と接続されており、第1のネットワークから、ヘッダに含まれる宛先アドレスNが50個、ペイロード・データ部のデータ長Dは500バイトのXcastパケットを受信した。
(2)第1のネットワークのMTUは1500バイト、第2のネットワークのMTUは500バイト、第3のネットワークのMTUは700バイトである。尚、本来ネットワーク用語としては、「オクテット」を使用するのが適切な場合もあるが、本説明では、ルータの構成にかかわる説明の観点から、すべて「バイト」で表現する。
(3)受信したXcastパケットの宛先アドレスのうち、第2のネットワークに配送すべき宛先アドレスN2は40個、第3のネットワークに配送すべき宛先アドレスN3は10個である。
(4)ルータ装置1において圧縮設定パラメータはonと設定されている(アドレスリストのデータ圧縮のみで対応できる場合には圧縮処理手順を行い、分割処理手順は行わない)。
Next, as an example of the division / compression processing procedure, assuming the following cases (1) to (4) in the router device 1 shown in FIG. 1, the division / compression processing procedure shown in FIG. Explained.
(1) The router device 1 is connected to three computer networks (a first network, a second network, and a third network), and the destination address N included in the header is 50 from the first network. The data length D of the payload data portion is 500 bytes and an Xcast packet is received.
(2) The MTU of the first network is 1500 bytes, the MTU of the second network is 500 bytes, and the MTU of the third network is 700 bytes. In some cases, it is appropriate to use “octet” as a network term, but in this description, it is all expressed in “bytes” from the viewpoint of explanation related to the configuration of the router.
(3) Of the destination addresses of the received Xcast packet, 40 destination addresses N2 to be delivered to the second network and 10 destination addresses N3 to be delivered to the third network.
(4) The compression setting parameter is set to on in the router device 1 (if the address list can be handled only by data compression, the compression processing procedure is performed and the division processing procedure is not performed).

上記(1)〜(4)の場合において、複数宛先ルーティング処理部5は、第1のネットワークに接続されるネットワークインタフェース2から受信しXcastパケットを、複数宛先パケット伸張処理部11を経由して受信する。Xcastパケットを受信すると、複数宛先ルーティング処理部5は、図3に示すような処理手順でルーティング処理を行い、配送先となるネットワーク毎に宛先アドレスリストを分配したXcastパケットを構築する。   In the cases (1) to (4), the multi-destination routing processing unit 5 receives the Xcast packet received from the network interface 2 connected to the first network via the multi-destination packet decompression processing unit 11. To do. When the Xcast packet is received, the multi-destination routing processing unit 5 performs the routing process according to the processing procedure as shown in FIG. 3, and constructs an Xcast packet in which the destination address list is distributed for each network as the delivery destination.

1個のXcastパケットのサイズ[バイト]は、一般にIPv6上のXcast仕様では、DSCPsリストやデスティネーション拡張ヘッダ等の拡張機能を用いない場合を想定し、Hf=72[バイト]、B=16[バイト]、Xcastパケットの宛先数をp個、データがDバイトとすると、
[数5]
40+N×16+24+8+D=72+16×N+D
となる。この数式5を用いれば、出力されるパケットのサイズを計算することができる。
The size [bytes] of one Xcast packet is generally assumed in the Xcast specification on IPv6 in the case where extended functions such as a DSCPs list and a destination extension header are not used, and Hf = 72 [bytes] and B = 16 [ Byte], the number of destinations of the Xcast packet is p, and the data is D bytes.
[Equation 5]
40 + N × 16 + 24 + 8 + D = 72 + 16 × N + D
It becomes. By using Equation 5, the size of the output packet can be calculated.

ここで、第2のネットワーク宛てのXcastパケットのサイズ(ヘッダとペイロード・データとの合計サイズ)は、N=40、D=500を数式5に代入すれば、
72+16×40+500=1212となり、1212バイトとなる。
Here, the size of the Xcast packet addressed to the second network (the total size of the header and the payload data) can be calculated by substituting N = 40 and D = 500 into Equation 5.
72 + 16 × 40 + 500 = 1212, which is 1212 bytes.

同様に、第3のネットワーク宛てのXcastパケットのサイズを求めると、
72+16×10+500=732となり、732バイトとなる。
Similarly, when determining the size of the Xcast packet addressed to the third network,
72 + 16 × 10 + 500 = 732, which is 732 bytes.

つまり、複数宛先パケット分割・圧縮処理部12は、複数宛先ルーティング処理部5から構築された第1のパケット(1212バイト)および第2のパケット(732バイト)を受け取り、受け取ったパケットに対して圧縮・分割処理手順を行う。   That is, the multi-destination packet dividing / compression processing unit 12 receives the first packet (1212 bytes) and the second packet (732 bytes) constructed from the multi-destination routing processing unit 5, and compresses the received packets. -Perform the division procedure.

圧縮・分割処理手順では、まず、送信可否判定ステップ(ステップS1)がなされる。上記(1)〜(4)の場合、複数宛先パケット分割・圧縮処理部12が第1のパケットおよび第2のパケットを受け取り、受け取った各々のデータパケットについて送信可否を判定する。   In the compression / division processing procedure, first, a transmission permission / inhibition determination step (step S1) is performed. In the above cases (1) to (4), the multi-destination packet division / compression processor 12 receives the first packet and the second packet, and determines whether or not each received data packet can be transmitted.

まず、第1のパケットについては、パケットのサイズ(1212バイト)が、配送先となる第2のネットワークのMTU(MTUout=500)を超えているため、複数宛先パケット分割・圧縮処理部12は、受け取った第1のパケットを送信不可と判定する(ステップS1でNOの場合)。圧縮・分割処理手順における送信可否判定ステップで、送信不可と判定された場合(ステップS1でNOの場合)、ステップS5に進み、続いて、圧縮処理工程実行判定ステップがなされる。   First, for the first packet, since the packet size (1212 bytes) exceeds the MTU (MTUout = 500) of the second network as the delivery destination, the multi-destination packet division / compression processor 12 It is determined that the received first packet cannot be transmitted (NO in step S1). When it is determined that transmission is impossible in the transmission / non-transmission determination step in the compression / division processing procedure (NO in step S1), the process proceeds to step S5, and then a compression processing step execution determination step is performed.

圧縮処理工程実行判定ステップでは、複数宛先パケット分割・圧縮処理部12が圧縮パラメータの状態(onまたはoff)を確認する。ここでは、圧縮パラメータをonとしているので、圧縮処理工程実行判定ステップでは、圧縮処理工程を実行すると判定する(ステップS5でYESの場合)。そして、ステップS6に進み、複数宛先パケット分割・圧縮処理部12は、第1のパケットについて圧縮処理工程を行う。   In the compression process step execution determination step, the multi-destination packet division / compression processor 12 confirms the state (on or off) of the compression parameter. Here, since the compression parameter is set to on, it is determined in the compression processing step execution determination step that the compression processing step is executed (in the case of YES in step S5). In step S6, the multi-destination packet division / compression processor 12 performs a compression process on the first packet.

圧縮処理工程では、まず、ステップS6で圧縮効果事前判定ステップを行い、アドレスリストのデータ圧縮の効果を事前に判定する。効果の有無の判定は、ペイロード・データ部がMTUoutよりも大きいか否かで判断する。ペイロード・データ部がMTUout以上であれば、アドレスリストをいくらデータ圧縮しても全体のサイズがMTUout以下にならないことは自明だからである。つまり、圧縮効果事前判定ステップは、データ圧縮の実行前に、データ圧縮したとしても、配送することのできないデータパケットをデータ圧縮対象から排除するための処理ステップである。   In the compression processing step, first, a compression effect preliminary determination step is performed in step S6, and the effect of data compression of the address list is determined in advance. Whether or not there is an effect is determined by whether or not the payload data portion is larger than MTUout. This is because if the payload data portion is equal to or greater than MTUout, it is obvious that the entire size will not be smaller than MTUout no matter how much the address list is compressed. In other words, the compression effect prior determination step is a processing step for excluding data packets that cannot be delivered from data compression targets even if the data is compressed before executing the data compression.

ここで、第1のパケットのアドレスリストをデータ圧縮した場合の効果の有無について検討すると、受け取ったパケットのヘッダ部のサイズが、72+16×40=712バイト、ペイロード・データ部のサイズが500バイトである。また、MTUoutが500であることから、複数宛先パケット分割・圧縮処理部12は、第1のパケットについてアドレスリストをデータ圧縮しても効果がないと判定する(ステップS6でNOの場合)。   Here, considering the effect of compressing the address list of the first packet, the size of the header portion of the received packet is 72 + 16 × 40 = 712 bytes, and the size of the payload data portion is 500 bytes. is there. Since MTUout is 500, the multi-destination packet division / compression processing unit 12 determines that there is no effect even if the address list is subjected to data compression for the first packet (NO in step S6).

複数宛先パケット分割・圧縮処理部12は、アドレスリストをデータ圧縮しても効果がないと判定した場合(ステップS6でNOの場合)、ステップS2に進み、続いて、分割処理工程(ステップS2〜ステップS3)を行う。分割処理工程では、まず、分割数決定処理ステップがなされpおよびqの値が決定される(ステップS2)。分割数決定処理ステップでは、例えば、複数宛先パケット分割・圧縮処理部12が、分割数決定アルゴリズムを用いてpおよびqの値を決定する。   If the multi-destination packet division / compression processor 12 determines that there is no effect even if data compression is performed on the address list (NO in step S6), the multi-destination packet division / compression processor 12 proceeds to step S2, Step S3) is performed. In the division processing step, first, a division number determination processing step is performed to determine the values of p and q (step S2). In the division number determination processing step, for example, the multi-destination packet division / compression processing unit 12 determines the values of p and q using a division number determination algorithm.

図7に分割数決定アルゴリズムを用いて宛先アドレスの分割数pとペイロード・データ部の分割数qとの組合せを計算した結果を表す説明図である。尚、図7に示される数値は、Hf=72[バイト]、N=40[個]、ペイロード・データ長D=500[バイト]の場合におけるC(p,q)の計算結果である。   FIG. 7 is an explanatory diagram showing the result of calculating the combination of the destination address division number p and the payload data portion division number q using the division number determination algorithm. The numerical values shown in FIG. 7 are the calculation results of C (p, q) when Hf = 72 [bytes], N = 40 [pieces], and the payload data length D = 500 [bytes].

分割数決定処理ステップでは、まず、複数宛先パケット分割・圧縮処理部12が、分割数決定アルゴリズムを用いて、C(p,q)の計算を行う。そして、MTUout(=500)に収まるpとqの組合せのうち、p×qの値が最も小さくなるpおよびqを選択する。図7によれば、p=4、q=2の場合にp×qが最小値8となり、Xcastパケット分割・圧縮処理部12は、p=4、q=2を分割数として決定する。   In the division number determination processing step, first, the multi-destination packet division / compression processor 12 calculates C (p, q) using a division number determination algorithm. Then, among the combinations of p and q that fall within MTUout (= 500), p and q that minimize the value of p × q are selected. According to FIG. 7, when p = 4 and q = 2, p × q becomes the minimum value 8, and the Xcast packet division / compression processor 12 determines p = 4 and q = 2 as the number of divisions.

複数宛先パケット分割・圧縮処理部12が、分割数決定アルゴリズムを用いてpおよびqの値(p=4、q=2)を決定すると、続いて、ステップS3でデータパケット分割処理ステップを行い、宛先アドレスを4つ、ペイロード・データ部を2つに分割する。そして、8(=2×4)個の分割パケットが構築されると、データパケット分割処理ステップが完了し、データパケット分割処理ステップの完了をもって、分割処理工程は完了する。   When the multi-destination packet division / compression processing unit 12 determines the values of p and q (p = 4, q = 2) using the division number determination algorithm, subsequently, a data packet division processing step is performed in step S3. The destination address is divided into four and the payload data part is divided into two. When 8 (= 2 × 4) divided packets are constructed, the data packet dividing process step is completed, and the dividing process step is completed when the data packet dividing process step is completed.

分割処理工程が完了すると、ステップS4に進み、データパケット出力ステップがなされる。データパケット出力ステップでは、複数宛先パケット分割・圧縮処理部12が構築した8個の分割データパケットをすべてデータパケット処理部3に送る。そして、データパケット出力ステップを完了し、分割処理手順を終了する。分割処理手順の終了後、分割パケットを受け取ったデータパケット処理部3は、第1のパケットを分割して構築された8個の分割データパケットをネットワークインタフェース2に送り、ネットワークインタフェース2を経由して配送先の第2のネットワークに配送する。   When the division processing step is completed, the process proceeds to step S4, and a data packet output step is performed. In the data packet output step, all the eight divided data packets constructed by the multi-destination packet dividing / compressing unit 12 are sent to the data packet processing unit 3. Then, the data packet output step is completed, and the division processing procedure ends. After completing the division processing procedure, the data packet processing unit 3 that has received the divided packet sends eight divided data packets constructed by dividing the first packet to the network interface 2, and passes through the network interface 2. Deliver to the second network of the delivery destination.

一方、第2のパケットについても、パケットのサイズ(732バイト)が、配送先となる第3のネットワークのMTU(MTUout=700)を超えるため、第1のパケットの場合と同様に送信可否判定ステップ(ステップS1)に続いて、圧縮処理工程実行判定ステップ(ステップS5)および圧縮効果事前判定ステップ(ステップS6)がなされる。   On the other hand, since the packet size (732 bytes) also exceeds the MTU (MTUout = 700) of the third network as the delivery destination for the second packet, the transmission permission determination step is performed as in the case of the first packet. Subsequent to (Step S1), a compression processing step execution determination step (Step S5) and a compression effect preliminary determination step (Step S6) are performed.

第2のパケットの場合、複数宛先パケット分割・圧縮処理部12が受け取ったパケットのヘッダ部のサイズは、72+16×10=232バイト、ペイロード・データ部のサイズは500バイトであり、合計732バイトである。また、第2のパケットの場合、MTUoutが700であることから、このままでは第2のパケットは、送信することができない。   In the case of the second packet, the size of the header portion of the packet received by the multi-destination packet division / compression processor 12 is 72 + 16 × 10 = 232 bytes, the size of the payload data portion is 500 bytes, and the total is 732 bytes. is there. In the case of the second packet, since the MTUout is 700, the second packet cannot be transmitted as it is.

しかし、ヘッダとして割り当て可能な領域は、MTUout−D=700−500=200バイトあり、圧縮により送信可能になる可能性があるとみなせる。従って、複数宛先パケット分割・圧縮処理部12は、第2のパケットについてデータ圧縮の効果があると判定する(ステップS6でYESの場合)。従って、第2のパケットについては、ステップS7に進み、データ圧縮ステップを行う。   However, the area that can be allocated as a header is MTUout-D = 700-500 = 200 bytes, and it can be considered that there is a possibility of transmission by compression. Therefore, the multi-destination packet division / compression processor 12 determines that the data compression is effective for the second packet (in the case of YES in step S6). Therefore, for the second packet, the process proceeds to step S7 and a data compression step is performed.

データ圧縮ステップでは、複数宛先パケット分割・圧縮処理部12が、アドレスリストのデータ圧縮を行う(ステップS7)。アドレスリストの圧縮率は、パケットの種類等で異なるが、ここでは、50%だったものとする。   In the data compression step, the multi-destination packet division / compression processor 12 performs data compression of the address list (step S7). The compression rate of the address list differs depending on the packet type and the like, but here it is assumed to be 50%.

データ圧縮ステップがなれると、続いて、圧縮データパケット送信可否判定ステップがなされる。圧縮データパケット送信可否判定ステップでは、複数宛先パケット分割・圧縮処理部12が、圧縮後のアドレスリストを用いて構築するデータパケットのサイズが配送先のMTUout以下になるかを判定する(ステップS8)。   When the data compression step is completed, a compressed data packet transmission availability determination step is subsequently performed. In the compressed data packet transmission availability determination step, the multi-destination packet division / compression processor 12 determines whether the size of the data packet constructed using the compressed address list is equal to or smaller than the MTUout of the delivery destination (step S8). .

第2のパケットは、アドレスリストの圧縮を実行した結果、圧縮後のXcastパケットのヘッダ長は、72+16×(50/100)×10=152バイトとなる。この結果、パケット全体長は、ペイロード長Dの500バイトを加算して、652バイトとなり、MTUout以下のサイズとなる(ステップS8でYESの場合)。従って、ステップS9に進み、続いて、圧縮データパケット構築ステップがなされる。   As a result of the compression of the address list of the second packet, the header length of the compressed Xcast packet is 72 + 16 × (50/100) × 10 = 152 bytes. As a result, the total packet length is obtained by adding 500 bytes of the payload length D to 652 bytes, which is equal to or smaller than MTUout (in the case of YES in step S8). Accordingly, the process proceeds to step S9, and subsequently, a compressed data packet construction step is performed.

圧縮データパケット構築ステップでは、複数宛先パケット分割・圧縮処理部12が、圧縮したアドレスリストを含むパケット1個を構築する(ステップS9)。そして、先に複数宛先ルーティング処理部5が決定した配送先のデータパケット処理部3に出力する(ステップS4)。その後、圧縮データパケットは、ネットワークインタフェース2に送られ、ネットワークインタフェース2を経由して配送先の第3のネットワークに配送される。   In the compressed data packet construction step, the multi-destination packet division / compression processor 12 constructs one packet including the compressed address list (step S9). Then, the multi-destination routing processing unit 5 outputs the data to the delivery destination data packet processing unit 3 (step S4). Thereafter, the compressed data packet is sent to the network interface 2 and delivered to the third network as the delivery destination via the network interface 2.

従って、上記(1)〜(4)の場合には、複数宛先パケット分割・圧縮処理部12からなされるデータパケットの出力は、圧縮されたアドレスリストが入った圧縮データパケットと、分割された複数の分割データパケットとなる。すなわち、第1のパケットを8個に分割した8個の分割データパケットと、1個の圧縮データパケットとが複数宛先パケット分割・圧縮処理部12から出力されることになる。   Therefore, in the case of (1) to (4) above, the output of the data packet made from the multiple destination packet dividing / compressing unit 12 includes the compressed data packet containing the compressed address list and the divided plural packets. Divided data packets. That is, eight divided data packets obtained by dividing the first packet into eight and one compressed data packet are output from the multiple destination packet dividing / compressing unit 12.

以上、本発明に係る複数の宛先アドレスを含むパケットのルーティング方法および当該ルータ装置1によれば、MTUoutが異なる2つの経路にデータパケットをルーティングする際に、受信したデータパケットのデータサイズが、MTUoutを超える場合においても、宛先アドレス情報のデータ圧縮を実施することにより、または、宛先アドレス情報のデータ圧縮が有効でない場合には、1パケットを複数のパケットに分割することで、受信したデータパケットを配送先に配送することができる。   As described above, according to the routing method of a packet including a plurality of destination addresses and the router apparatus 1 according to the present invention, when routing a data packet to two routes having different MTUout, the data size of the received data packet is MTUout. If the data compression of the destination address information is performed, or if the data compression of the destination address information is not effective, the received data packet is divided into a plurality of packets. It can be delivered to the delivery destination.

特に、本発明に係る複数の宛先アドレスを含むパケットのルーティング方法において、分割・圧縮処理手順が、圧縮処理手順と分割処理手順との両者を備える場合においては、まず、宛先アドレス情報のデータ圧縮を試み、データ圧縮が有効でなかった場合に、1パケットを複数のパケットに分割する分割処理手順を行うことができる。   In particular, in the routing method for a packet including a plurality of destination addresses according to the present invention, when the division / compression processing procedure includes both the compression processing procedure and the division processing procedure, first, data compression of the destination address information is performed. If the data compression is not effective, a division processing procedure for dividing one packet into a plurality of packets can be performed.

分割処理手順では、ペイロード・データ部の分割とアドレスリスト(ヘッダ可変長部)の分割を組合せて行うことにより、従来では、パケットを廃棄せざるを得ないような場合(宛先アドレスリストが長大な故に、ヘッダ部のサイズが長大となり、データ部の分割によるパケット分割だけでは効果がない場合)であっても、データパケットの配送が可能となる。   In the division processing procedure, by combining the division of the payload / data portion and the division of the address list (header variable length portion), conventionally, when the packet has to be discarded (the destination address list is long) Therefore, even if the size of the header part is long and packet division only by dividing the data part is not effective, the data packet can be delivered.

また、分割処理手順において、分割アルゴリズムを適用することにより、与えられた配送先のネットワークにおけるパケットのサイズの上限値に基づき、出力するパケット数を最小限に抑えるという観点において最適な分割を行い、パケットを配送することが可能となる。   In addition, in the division processing procedure, by applying a division algorithm, based on the upper limit value of the packet size in a given destination network, optimal division is performed from the viewpoint of minimizing the number of packets to be output, Packets can be delivered.

一方、ルータ装置1では、圧縮設定パラメータをon/offに切り替え可能に構成することで、データ圧縮の必要が無い場合や、データ圧縮の効果が少ない宛先アドレス群が得られることが予測しうる場合に圧縮アルゴリズムの適用に伴うルーティングの遅延を削減することが可能になる。   On the other hand, in the router device 1, by configuring the compression setting parameter to be able to be switched on / off, it is possible to predict that there is no need for data compression or that a destination address group with little data compression effect can be obtained. In addition, it is possible to reduce the routing delay associated with the application of the compression algorithm.

尚、ルータ装置1は、ルーティング処理の対象が常に複数の宛先アドレスを含むパケットであるならば、単一のデータパケットのルーティング処理を行う単一宛先ルーティング処理部4を具備していなくても良い。ルータ装置1が単一宛先ルーティング処理部4を具備しているのは、受信するデータパケットが単一の宛先アドレスのパケットの場合もあれば、複数の宛先アドレスを含むデータパケットの場合もあり得るからである。   Note that the router device 1 does not have to include the single destination routing processing unit 4 that performs routing processing of a single data packet if the target of routing processing is always a packet including a plurality of destination addresses. . The router device 1 includes the single destination routing processing unit 4 because the received data packet may be a packet having a single destination address or a data packet including a plurality of destination addresses. Because.

本発明に係る複数の宛先アドレスを含むパケットのルーティング方法を実行するルータ装置の構成図。The block diagram of the router apparatus which performs the routing method of the packet containing several destination addresses based on this invention. 本発明に係るルータ装置の複数宛先パケット伸張処理部へ送られるXcastパケットの一実施例であり、IPv6用Xcastパケットのフォーマットを説明する説明図。Explanatory drawing explaining the format of the Xcast packet for IPv6 which is one Example of the Xcast packet sent to the multi-destination packet expansion | extension process part of the router apparatus based on this invention. 複数宛先をもつデータパケットのルーティング処理について一般的な処理手順を説明する説明図。Explanatory drawing explaining the general process sequence about the routing process of the data packet which has multiple destinations. 複数宛先をもつデータパケットのルーティング処理における具体例を説明する説明図。Explanatory drawing explaining the specific example in the routing process of the data packet with a several destination. 本発明に係るルータ装置の複数宛先パケット分割・圧縮処理部が行う分割・圧縮処理手順をさらに詳細に説明する処理フロー図。FIG. 6 is a processing flowchart for explaining in more detail a division / compression processing procedure performed by a multi-destination packet division / compression processing unit of the router device according to the present invention. 本発明に係るルータ装置の複数宛先パケット分割・圧縮処理部が行う分割処理工程を概説する説明図。Explanatory drawing which outlines the division | segmentation process process which the multiple destination packet division | segmentation / compression process part of the router apparatus which concerns on this invention performs. 分割数決定アルゴリズムを用いて宛先アドレスの分割数pとペイロード・データ部の分割数qとの組合せを計算した結果を表す説明図。Explanatory drawing showing the result of having calculated the combination of the division | segmentation number p of a destination address, and the division | segmentation number q of a payload data part using the division | segmentation number determination algorithm.

符号の説明Explanation of symbols

1 ルータ装置
2 ネットワークインタフェース
3 データパケット処理部
4 単一宛先ルーティング処理部
5 複数宛先ルーティング処理部
7 制御パケット処理部
8 ルーティングテーブル
9 ルーティングテーブル更新部
11 複数宛先パケット伸張処理部
12 複数宛先パケット分割・圧縮処理部
DESCRIPTION OF SYMBOLS 1 Router apparatus 2 Network interface 3 Data packet processing part 4 Single destination routing processing part 5 Multi-destination routing processing part 7 Control packet processing part 8 Routing table 9 Routing table update part 11 Multi-destination packet expansion processing part 12 Multi-destination packet division / Compression processing section

Claims (10)

データパケットのサイズの上限が異なる少なくとも2つの経路で複数の宛先アドレスを含むデータパケットを受信した後、受信した前記パケットのアドレスリストが圧縮されているか否かを判断して圧縮されている場合に伸張処理ステップを実行する複数宛先パケット伸張処理手順と、複数の宛先アドレスを含むデータパケットに対してルーティング処理を行う複数宛先ルーティング処理手順と、前記ルーティング処理後のデータパケットを必要に応じて分割または圧縮して出力する分割・圧縮処理手順とを具備し、
この分割・圧縮処理手順は、ルーティング処理後のデータパケットがそのまま送信可能であるか否かを判定する送信可否判定ステップと、送信可否判定ステップで送信できない場合にルーティング処理後のデータパケットを再分割する分割処理工程と、分割後のデータパケットを出力するデータパケット出力ステップとを備えることを特徴とするルーティング方法。
When a data packet including a plurality of destination addresses is received through at least two paths having different upper limits of the data packet size, and then it is determined whether or not the received address list of the packet is compressed. A multi-destination packet decompression process procedure for executing a decompression process step, a multi-destination routing process procedure for performing routing processing on a data packet including a plurality of destination addresses, and dividing the data packet after the routing process as necessary A division / compression processing procedure for compressing and outputting,
This division / compression processing procedure consists of a transmission permission determination step for determining whether or not a data packet after routing processing can be transmitted as it is, and a data packet after routing processing is re-divided when transmission is not possible in the transmission permission determination step. A routing method comprising: a division processing step for performing a data packet output step for outputting a data packet after the division.
前記分割処理工程は、データパケットのヘッダ部の宛先アドレスデータの分割数とペイロード・データ部の分割数を決定する分割数決定処理ステップと、
この分割数決定処理ステップで決定した分割数にデータパケットを再分割するデータパケット分割処理ステップとを有することを特徴とする請求項1記載のルーティング方法。
The division processing step includes a division number determination processing step for determining the division number of the destination address data in the header portion of the data packet and the division number of the payload data portion;
2. The routing method according to claim 1, further comprising a data packet division processing step for re-dividing the data packet into the division number determined in the division number determination processing step.
前記分割数決定処理ステップは、配送先のネットワークにおけるパケットのサイズの上限を超過する場合は、ペイロード・データ部の分割だけでなく、ヘッダ部に含まれる宛先アドレスの分割を試み、配送先ネットワークの1パケットのサイズの上限に収まるように、複数の分割パケットを構築して送出することを特徴とする請求項2記載のルーティング方法。   In the division number determination processing step, when the upper limit of the packet size in the delivery destination network is exceeded, not only the division of the payload data part but also the division of the destination address included in the header part is attempted. 3. The routing method according to claim 2, wherein a plurality of divided packets are constructed and transmitted so as to be within the upper limit of the size of one packet. 前記分割数決定処理ステップは、宛先アドレスの分割数およびペイロード・データの分割数の2つの値について、構築する分割パケットのサイズが配送先ネットワークの1パケットのサイズの上限値以下となる2つの値の組合せのうち、送出するパケット数を最小にする組合せを選択することを特徴とする請求項2記載のルーティング方法。 In the division number determination processing step, two values for the division number of the destination address and the division number of the payload data are set so that the size of the divided packet to be constructed is equal to or less than the upper limit value of the size of one packet of the delivery destination network. 3. The routing method according to claim 2, wherein a combination that minimizes the number of packets to be transmitted is selected from the combinations. データパケットのサイズの上限が異なる少なくとも2つの経路で複数の宛先アドレスを含むデータパケットを受信した後、受信した前記パケットのアドレスリストが圧縮されているか否かを判断して圧縮されている場合に伸張処理ステップを実行する複数宛先パケット伸張処理手順と、複数の宛先アドレスを含むデータパケットに対してルーティング処理を行う複数宛先ルーティング処理手順と、前記ルーティング処理後のデータパケットを必要に応じて分割または圧縮して出力する分割・圧縮処理手順とを具備し、
前記分割・圧縮処理手順は、ルーティング処理後のデータパケットがそのまま送信可能であるか否かを判定する送信可否判定ステップと、
送信可否判定ステップで送信できない場合に、データパケットのアドレスリストの圧縮処理を行う圧縮処理工程について実行するか否かを判定する圧縮処理工程実行判定ステップと、
この圧縮処理工程実行判定ステップで、前記圧縮処理工程について実行すると判定した場合にデータパケットの圧縮処理を行う圧縮処理工程と、
前記圧縮処理工程実行判定ステップで、前記圧縮処理工程について実行しないと判定した場合にルーティング処理後のデータパケットを再分割する分割処理工程と、
前記圧縮処理工程および分割処理工程のいずれかがなされた後のデータパケットを出力するデータパケット出力ステップとを備えることを特徴とするルーティング方法。
When a data packet including a plurality of destination addresses is received through at least two paths having different upper limits of the data packet size, and then it is determined whether or not the received address list of the packet is compressed. A multi-destination packet decompression process procedure for executing a decompression process step, a multi-destination routing process procedure for performing routing processing on a data packet including a plurality of destination addresses, and dividing the data packet after the routing process as necessary A division / compression processing procedure for compressing and outputting,
The division / compression processing procedure includes a transmission permission determination step for determining whether or not a data packet after routing processing can be transmitted as it is,
A compression processing step execution determination step for determining whether or not to execute a compression processing step for performing compression processing of the address list of the data packet when transmission is not possible in the transmission permission determination step;
In this compression processing step execution determination step, a compression processing step that performs compression processing of the data packet when it is determined to execute the compression processing step;
A division processing step for re-dividing the data packet after the routing processing when it is determined that the compression processing step is not executed in the compression processing step execution determination step;
A routing method comprising: a data packet output step for outputting a data packet after any of the compression processing step and the division processing step is performed.
外部との入出力インタフェースとして、データパケットを受け取る複数のネットワークインタフェースと、
データパケットの送受信を担うデータパケット処理部と、
前記ネットワークインタフェースが受け取ったデータパケットのアドレスリストが圧縮されている場合にアドレスリストを伸張して出力する複数宛先パケット伸張処理部と、
前記ネットワークインタフェースが受け取ったデータパケットの宛先が単一のデータパケットのルーティング処理を行う単一宛先ルーティング処理部と、
前記ネットワークインタフェースが受け取ったデータパケットの宛先が複数のデータパケットのルーティング処理を行う複数宛先ルーティング処理部と、
前記ルーティング処理後のデータパケットを、配送先ネットワークの1パケットのサイズの上限を考慮して必要に応じてデータパケットの分割・圧縮処理を行い出力する複数宛先パケット分割・圧縮処理部と、
制御パケットの送受信を行う制御パケット処理部と、
ルーティング情報を格納したルーティングテーブルの情報を更新するルーティングテーブル更新部とを具備することを特徴とするルータ装置。
Multiple network interfaces that receive data packets as input / output interfaces with the outside,
A data packet processing unit responsible for transmitting and receiving data packets;
A multi-destination packet decompression processing unit that decompresses and outputs the address list when the address list of the data packet received by the network interface is compressed;
A single destination routing processing unit that performs routing processing of a single data packet as a destination of the data packet received by the network interface;
A destination of data packets received by the network interface is a multi-destination routing processing unit that performs routing processing of a plurality of data packets;
A multi-destination packet division / compression processing unit that performs data packet division / compression processing as necessary in consideration of the upper limit of the size of one packet of the delivery destination network and outputs the data packets after the routing processing;
A control packet processor that transmits and receives control packets;
A router apparatus comprising: a routing table update unit that updates information of a routing table storing routing information.
前記複数宛先パケット分割・圧縮処理部は、ルーティング処理後のデータパケットがそのまま送信できない場合にルーティング処理後のデータパケットを分割して分割パケットを出力するように構成されたことを特徴とする請求項6に記載するルータ装置。 The multi-destination packet dividing / compressing unit is configured to divide a data packet after routing processing and output a divided packet when the data packet after routing processing cannot be transmitted as it is. 6. The router device described in 6. 前記複数宛先パケット分割・圧縮処理部は、ルーティング処理後のデータパケットがそのまま送信できない場合に、ペイロード・データ部の分割だけでなく、ヘッダ部に含まれる宛先アドレスの分割を試み、ルーティング処理後のデータパケットを分割した複数の分割パケットを構築して出力するように構成されたことを特徴とする請求項6記載のルータ装置。 The multi-destination packet division / compression processing unit tries not only to divide the payload / data portion but also to the destination address included in the header portion when the data packet after the routing processing cannot be transmitted as it is. 7. The router device according to claim 6, wherein the router device is configured to construct and output a plurality of divided packets obtained by dividing the data packet. 前記複数宛先パケット分割・圧縮処理部は、ルーティング処理後のデータパケットがそのまま送信できない場合、ルーティング処理後のデータパケットを分割する際に、宛先アドレスの分割数およびペイロード・データの分割数の2つの値について、構築する分割パケットのサイズが配送先ネットワークの1パケットのサイズの上限値以下となる2つの値の組合せのうち、送出するパケット数を最小にする組合せを選択するように構成されたことを特徴とする請求項8記載のルータ装置。 When the data packet after the routing process cannot be transmitted as it is, the multi-destination packet division / compression processing unit, when dividing the data packet after the routing process, has two destination address division numbers and payload data division numbers. Regarding the value, the combination of the two values in which the size of the divided packet to be constructed is equal to or less than the upper limit value of the size of one packet of the delivery destination network is selected so as to minimize the number of packets to be transmitted. The router device according to claim 8. 前記複数宛先パケット分割・圧縮処理部は、ルーティング処理後のデータパケットがそのまま送信できない場合、まず、データパケットのアドレスリストの圧縮処理を試み、データパケットのアドレスリストの圧縮処理を行ってもなお送信できない場合にルーティング処理後のデータパケットを分割するように構成されたことを特徴とする請求項6記載のルータ装置。 When the data packet after routing processing cannot be transmitted as it is, the multi-destination packet division / compression processing unit first tries to compress the address list of the data packet, and still transmits the data packet even if the address list is compressed. 7. The router device according to claim 6, wherein the router device is configured to divide the data packet after the routing process when it cannot be done.
JP2004225695A 2004-08-02 2004-08-02 Routing method for packets including a plurality of destination addresses and the router device Expired - Fee Related JP4371938B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004225695A JP4371938B2 (en) 2004-08-02 2004-08-02 Routing method for packets including a plurality of destination addresses and the router device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004225695A JP4371938B2 (en) 2004-08-02 2004-08-02 Routing method for packets including a plurality of destination addresses and the router device

Publications (2)

Publication Number Publication Date
JP2006050086A true JP2006050086A (en) 2006-02-16
JP4371938B2 JP4371938B2 (en) 2009-11-25

Family

ID=36028162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004225695A Expired - Fee Related JP4371938B2 (en) 2004-08-02 2004-08-02 Routing method for packets including a plurality of destination addresses and the router device

Country Status (1)

Country Link
JP (1) JP4371938B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071462A (en) * 2007-09-12 2009-04-02 Nec Corp Communication apparatus, communication system, and communication control method
JPWO2013042383A1 (en) * 2011-09-22 2015-03-26 パナソニックIpマネジメント株式会社 Wireless device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071462A (en) * 2007-09-12 2009-04-02 Nec Corp Communication apparatus, communication system, and communication control method
JPWO2013042383A1 (en) * 2011-09-22 2015-03-26 パナソニックIpマネジメント株式会社 Wireless device

Also Published As

Publication number Publication date
JP4371938B2 (en) 2009-11-25

Similar Documents

Publication Publication Date Title
KR102555671B1 (en) Packet processing methods, related devices and computer storage media
US7492762B2 (en) Method for dynamic flow mapping in a wireless network
US10419333B2 (en) Method and apparatus for compressing label stack, and method and apparatus for decompressing label stack
US9893984B2 (en) Path maximum transmission unit discovery
US7451227B2 (en) Method for path MTU discovery on IP network and apparatus thereof
US8953631B2 (en) Interruption, at least in part, of frame transmission
US10432755B2 (en) SDN, SDN configuration method, SDN-based data transmission method, and network controller
EP3122012B1 (en) Data processing method and apparatus for openflow network
CN108270687A (en) A kind of load balance process method and device
US9548921B2 (en) Compression of routing information exchanges
JP4371938B2 (en) Routing method for packets including a plurality of destination addresses and the router device
US20150085666A1 (en) Communication Apparatus, Control Apparatus, Communication System, Communication Method, Method for Controlling Communication Apparatus, and Program
WO2004019561A1 (en) Frame transfer method and node in ethernet(r)
CN108965122B (en) Routing method, device and computer readable storage medium
CN107800653B (en) Message compression method and device
US9148366B2 (en) Interactive header compression in peer-to-peer communications
EP1491004A1 (en) Method for path mtu discovery on ip network and apparatus thereof
JP2006121434A (en) Atm communication apparatus and its communication method
JP2010041498A (en) Packet creating apparatus, and packet creating method
JP7008714B2 (en) Communication device
WO2016197832A1 (en) Packet processing method, device and system
TWI483605B (en) Deployment method and computer system for network system
WO2022068614A1 (en) Packet processing method and chip
US7319697B2 (en) Data communication system according to a packet-switching principle
JP2018011207A (en) Communication device, communication control method, and network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090512

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090710

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090901

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4371938

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130911

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees