Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4294627B2 - Packet relay device - Google Patents
[go: Go Back, main page]

JP4294627B2 - Packet relay device - Google Patents

Packet relay device Download PDF

Info

Publication number
JP4294627B2
JP4294627B2 JP2005270639A JP2005270639A JP4294627B2 JP 4294627 B2 JP4294627 B2 JP 4294627B2 JP 2005270639 A JP2005270639 A JP 2005270639A JP 2005270639 A JP2005270639 A JP 2005270639A JP 4294627 B2 JP4294627 B2 JP 4294627B2
Authority
JP
Japan
Prior art keywords
packet
unit
registration
control unit
bandwidth control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2005270639A
Other languages
Japanese (ja)
Other versions
JP2007082127A (en
Inventor
宗樹 関水
東山  満
正博 西
賢二 安齋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anritsu Corp
Original Assignee
Anritsu 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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP2005270639A priority Critical patent/JP4294627B2/en
Publication of JP2007082127A publication Critical patent/JP2007082127A/en
Application granted granted Critical
Publication of JP4294627B2 publication Critical patent/JP4294627B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

本発明は、ネットワークを介してパケットを中継するときの帯域制御を行うパケット中継装置に関する。   The present invention relates to a packet relay apparatus that performs bandwidth control when a packet is relayed via a network.

従来のパケット中継装置に関わる装置としては、パケットの受信処理を行う複数のパケット受信回路と、パケットのルーティング処理を行うルーティング処理部と、ルーティング処理で特定された出力回線にパケットをスイッチングするパケット中継処理手段と、出力回線毎に対応するシェーパ部と、出力回線に送信処理を行うパケット送信回路より構成されるルータが知られている(例えば、特許文献1参照。)。   As a device related to a conventional packet relay device, a plurality of packet receiving circuits that perform packet reception processing, a routing processing unit that performs packet routing processing, and a packet relay that switches packets to an output line specified by the routing processing A router is known that includes processing means, a shaper unit corresponding to each output line, and a packet transmission circuit that performs transmission processing on the output line (see, for example, Patent Document 1).

なお、トラフィックシェーパ(以下、単にシェーパという。)とは、例えば、複数のパケット受信回路が同時にパケットを受信し、受信したパケットが1つの出力回線に集中して出力される場合、出力されるパケットの伝送量が出力回線の帯域を超えるとき、パケットが廃棄されてしまうため、出力されるパケットの伝送量を制御するためのものであり、すなわち、出力回線の帯域を超えないようにパケットの伝送量を一定に制御する。   Note that a traffic shaper (hereinafter simply referred to as a shaper) is, for example, a packet that is output when a plurality of packet receiving circuits simultaneously receive packets and the received packets are concentrated on one output line. When the transmission amount exceeds the bandwidth of the output line, the packet is discarded, so that the transmission amount of the output packet is controlled, that is, the packet transmission is performed so as not to exceed the bandwidth of the output line. Control the amount constant.

ところで、近年、動画や音声になる電子的なコンテンツをネットワークを介してリアルタイムで配信する、いわゆるストリーミング技術が普及している。図7は、シェーパを介して実施される従来のストリーミング技術を示す図である。   By the way, in recent years, so-called streaming technology that distributes electronic content to be a moving image or sound in real time via a network has become widespread. FIG. 7 is a diagram illustrating a conventional streaming technique implemented via a shaper.

ストリーミング技術が適用される通信システムには、図7(A)に示すように、コンテンツを配信するサーバ9と、コンテンツを構成するコンテンツデータを含むパケットを中継するパケット中継装置7と、サーバ9から配信されたパケットをネットワーク5を介して受信する通信端末6とが備えられている。   As shown in FIG. 7A, the communication system to which the streaming technology is applied includes a server 9 that distributes content, a packet relay device 7 that relays packets including content data constituting the content, and a server 9. A communication terminal 6 that receives the distributed packet via the network 5 is provided.

パケット中継装置7は、上述したシェーパ8を実装しており、シェーパ8は、図7(B)に示すように、サーバ9から配信されたパケットの伝送量を一定に制御し、パケット中継装置7は、シェーパ8によって制御されたパケットを通信端末6に中継するようになっている。   The packet relay device 7 has the shaper 8 described above, and the shaper 8 controls the packet transmission amount distributed from the server 9 to be constant as shown in FIG. Relays the packet controlled by the shaper 8 to the communication terminal 6.

また、コンテンツを再生するソフトウエアがインストールされた通信端末6は、パケット中継装置7から中継されたパケットをネットワーク5を介して受信し、図7(C)に示すように、受信したパケットに含まれるコンテンツデータを一定量になるまでバッファに蓄積し、バッファに蓄積したコンテンツデータが一定量になったときコンテンツデータの再生を開始するようになっている。   Further, the communication terminal 6 in which the software for reproducing the content is installed receives the packet relayed from the packet relay device 7 via the network 5 and is included in the received packet as shown in FIG. The content data to be stored is accumulated in the buffer until a certain amount is reached, and when the content data accumulated in the buffer reaches a certain amount, the reproduction of the content data is started.

従って、配信されたパケットに含まれるコンテンツデータが、なんらかの要因で一時的に転送されないことがあっても、通信端末6は、バッファに蓄積したコンテンツデータを再生できるため、コンテンツデータから再生された動画や音声を利用者が問題なく視聴することができる。なお、再生されたコンテンツデータは、バッファから消去される。
特開2001−326688号公報(第9頁、第1図)
Accordingly, even if the content data included in the distributed packet may not be temporarily transferred for some reason, the communication terminal 6 can reproduce the content data stored in the buffer. And users can view the sound without problems. Note that the reproduced content data is erased from the buffer.
JP 2001-326688 A (page 9, FIG. 1)

しかしながら、上述した従来のパケット中継装置7は、サーバ9が大量にパケットを通信端末6に配信したとしても、シェーパ8がパケットの伝送量を一定に制御することにより、通信端末6に転送されるパケットの伝送量が一定になり、即時にはコンテンツデータが一定量に到達しないため、コンテンツ再生の開始が遅れて利用者がコンテンツの視聴を待たされてしまうという問題があった。   However, even if the server 9 delivers a large amount of packets to the communication terminal 6, the conventional packet relay device 7 described above is transferred to the communication terminal 6 by the shaper 8 controlling the packet transmission amount to be constant. Since the amount of packet transmission becomes constant and the content data does not reach a certain amount immediately, there is a problem that the start of content reproduction is delayed and the user waits for content viewing.

本発明は、従来の問題を解決するためになされたもので、コンテンツの視聴を待たせることなく利用者に快適な視聴を提供することができるパケット中継装置を提供することを目的とする。   The present invention has been made to solve the conventional problems, and an object of the present invention is to provide a packet relay device that can provide a comfortable viewing to the user without waiting for the content to be viewed.

本発明のパケット中継装置は、パケットが入力される入力部(11)と、前記パケットを伝送路に出力する出力部(12)と、前記入力部に入力されたパケットを受けて、当該パケットに対し帯域制御を行う帯域制御部(13)とを備え、前記伝送路の帯域制御を行うパケット中継装置において、前記帯域制御の対象となるパケットを識別するための識別情報を登録テーブルに登録する制御部(14)と、前記登録テーブルに登録されている識別情報によって識別される登録パケットでないパケットを検出するフロー検出部(15)と、前記登録パケットの出力先を前記帯域制御部または前記出力部に切替える切替部(16)とを更に備え、前記制御部は、前記フロー検出部が前記登録パケットでないパケットを検出したときの前記識別情報を前記登録テーブルに登録、前記切替部は、前記フロー検出部が前記登録パケットでないパケットを検出した時点から所定時間が経過するまで前記登録パケットを前記出力部に出力し、前記所定時間が経過したとき、前記登録パケットを前記出力部から前記帯域制御部に切替えて出力する構成を有している。
この構成により、サーバから送信されたパケットを切替部が出力部に出力している間は、一挙に大量のパケットがパケット中継装置から通信端末に転送されるため、パケット中継装置から中継されたパケットをネットワークを介して受信する通信端末が、受信したパケットに含まれるコンテンツデータの蓄積を開始した時点からコンテンツデータが一定量に到達する時点までの時間を短くでき、即時にコンテンツデータの再生を開始することができることにより、コンテンツの視聴を待たせることなく利用者に快適な視聴を提供することができる。
The packet relay device of the present invention receives an input unit (11) to which a packet is input, an output unit (12) for outputting the packet to a transmission path, and a packet input to the input unit, And a bandwidth control unit (13) that performs bandwidth control on the transmission path, and in the packet relay device that performs bandwidth control of the transmission path, control for registering identification information for identifying a packet that is subject to bandwidth control in a registration table Unit (14), a flow detection unit (15) for detecting a packet that is not a registered packet identified by the identification information registered in the registration table, and an output destination of the registered packet as the bandwidth control unit or the output unit further comprising a switching unit (16) for switching on, the control unit, the identification information when the flow detection unit detects a packet not the registration packet Registered in the registration table, the switching unit outputs the registration packet from the time when the flow detection unit detects a packet not the registration packet until a predetermined time elapses to the output unit, the previous Kisho constant time When the time has elapsed, the registration packet is switched from the output unit to the bandwidth control unit and output.
With this configuration, while the switching unit outputs the packet transmitted from the server to the output unit, a large number of packets are transferred from the packet relay device to the communication terminal at a time, so the packets relayed from the packet relay device Can be shortened from the time when the communication terminal that receives the data via the network starts to accumulate the content data contained in the received packet to the time when the content data reaches a certain amount, and immediately starts playing the content data. Thus, comfortable viewing can be provided to the user without waiting for the content to be viewed.

また、本発明のパケット中継装置は、前記制御部は、前記登録パケットが前記入力部から一定時間入力されない場合、前記登録パケットを識別するための識別情報を前記登録テーブルから解除する構成を有している。
この構成により、登録パケットが一定時間入力されない場合、登録パケットを識別するための識別情報を登録テーブルから解除するため、コンテンツの配信が終了等した場合には、登録パケットの帯域制御を確実に終了することができる。
Further, the packet relay device of the present invention has a configuration in which the control unit cancels identification information for identifying the registration packet from the registration table when the registration packet is not input from the input unit for a certain period of time. ing.
With this configuration, when the registration packet is not input for a certain period of time, the identification information for identifying the registration packet is released from the registration table. Therefore, when the content distribution is finished, the bandwidth control of the registration packet is surely terminated. can do.

また、本発明のパケット中継装置は、前記所定時間が前記登録パケットに応じて可変である構成を有している。
この構成により、サーバから配信されるコンテンツの特性に応じて、通信端末が再生を開始するタイミングに合わせて、登録パケットの出力先を帯域制御部から出力部に切替えることができる。
The packet relay apparatus of the present invention has a configuration in which the predetermined time is variable according to the registration packet.
With this configuration, the output destination of the registration packet can be switched from the bandwidth control unit to the output unit in accordance with the timing at which the communication terminal starts playback according to the characteristics of the content distributed from the server.

また、本発明のパケット中継装置は、前記入力部に入力されたパケットに対し前記帯域制御部で制御されるべき帯域よりも大きい帯域で帯域制御を行う優先帯域制御部(28)を備え、前記切替部は、前記フロー検出部が前記登録パケットでないパケットを検出した時点から所定時間が経過するまで前記登録パケットを前記出力部に出力する替わりに、前記優先帯域制御部に出力し、前記所定時間が経過したとき、前記登録パケットを前記優先帯域制御部から前記帯域制御部に切替えて出力する構成を有している。
この構成により、サーバから送信されたパケットを切替部が出力部に出力している間は、一挙に大量のパケットがパケット中継装置から通信端末に転送されるため、パケット中継装置から中継されたパケットをネットワークを介して受信する通信端末が、受信したパケットに含まれるコンテンツデータの蓄積を開始した時点からコンテンツデータが一定量に到達する時点までの時間が短くでき、即時にコンテンツデータの再生を開始することができることにより、コンテンツの視聴を待たせることなく利用者に快適な視聴を提供することができる。
The packet relay apparatus of the present invention further includes a priority bandwidth control unit (28) that performs bandwidth control on a packet that is input to the input unit in a bandwidth that is greater than a bandwidth that is to be controlled by the bandwidth control unit, switching unit, instead of outputting the registration packet to said flow detection unit a predetermined time from the time of detecting the packet non the registration packet has passed to the output unit, and outputs the priority bandwidth control unit, before Kisho When a predetermined time elapses , the registration packet is switched from the priority bandwidth controller to the bandwidth controller and output.
With this configuration, while the switching unit outputs the packet transmitted from the server to the output unit, a large number of packets are transferred from the packet relay device to the communication terminal at a time, so the packets relayed from the packet relay device The time from when the communication terminal that receives the content data starts to accumulate the content data contained in the received packet to the time when the content data reaches a certain amount can be shortened, and playback of the content data starts immediately Thus, comfortable viewing can be provided to the user without waiting for the content to be viewed.

本発明は、コンテンツの視聴を待たせることなく利用者に快適な視聴を提供することができるパケット中継装置を提供するものである。   The present invention provides a packet relay device that can provide a comfortable viewing to a user without waiting for the content to be viewed.

以下、本発明の実施の形態に係るパケット中継装置について、図面を用いて説明する。   Hereinafter, a packet relay device according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る通信システムの構成図を示したものである。図1に示すように、本発明の実施の形態に係る通信システムは、動画や音声になる電子的なコンテンツを配信するサーバ9A、9Bと、コンテンツを構成するコンテンツデータを含むパケットを中継するパケット中継装置10と、サーバ9A、9Bから配信されたパケットをネットワーク5を介して受信する通信端末6とを備えている。   FIG. 1 shows a configuration diagram of a communication system according to an embodiment of the present invention. As shown in FIG. 1, the communication system according to the embodiment of the present invention includes a server 9A, 9B that distributes electronic content that becomes a moving image or sound, and a packet that relays a packet that includes content data constituting the content. A relay device 10 and a communication terminal 6 that receives packets distributed from the servers 9A and 9B via the network 5 are provided.

なお、サーバ9A、9Bの各々を区別しない場合には、サーバ9として説明する。サーバ9は、サーバ9A、9Bの2つを図示しているが、サーバ9の個数は特に限定しない。   In addition, when not distinguishing each of server 9A, 9B, it demonstrates as the server 9. FIG. Although two servers 9A and 9B are illustrated as the server 9, the number of servers 9 is not particularly limited.

なお、通信端末6には、コンテンツを再生するソフトウエアがインストールされており、通信端末6は、サーバ9からストリーミングされて配信されるパケットを受信し、受信したパケットに含まれるコンテンツデータを一定量になるまでバッファに蓄積し、バッファに蓄積したコンテンツデータが一定量になったときコンテンツデータの再生を開始するようになっている。   Note that software for reproducing content is installed in the communication terminal 6, and the communication terminal 6 receives a packet that is streamed and distributed from the server 9, and receives a certain amount of content data contained in the received packet. The content data is accumulated in the buffer until the time reaches, and when the content data accumulated in the buffer reaches a certain amount, the reproduction of the content data is started.

また、本発明の実施の形態に係る通信システムにおいて、通信端末6が複数存在した場合には、パケット中継装置10は、サーバ9から配信されるコンテンツをそれぞれの通信端末6に中継するようになっている。   Further, in the communication system according to the embodiment of the present invention, when there are a plurality of communication terminals 6, the packet relay device 10 relays the content distributed from the server 9 to each communication terminal 6. ing.

図2は、本発明の実施の形態に係るパケット中継装置の構成図を示したものである。図2に示すように、パケット中継装置10は、入力部11、出力部12、帯域制御部13、切替部16、制御部14、フロー検出部15、およびタイマ17によって構成される。   FIG. 2 shows a configuration diagram of the packet relay apparatus according to the embodiment of the present invention. As illustrated in FIG. 2, the packet relay device 10 includes an input unit 11, an output unit 12, a bandwidth control unit 13, a switching unit 16, a control unit 14, a flow detection unit 15, and a timer 17.

入力部11および出力部12は、例えば、ネットワークインターフェースからなる。入力部11は、入力されたパケットをフロー検出部15に出力する。出力部12は、帯域制御部13または切替部16から入力されたパケットを伝送路に出力するようになっている。   The input unit 11 and the output unit 12 are constituted by a network interface, for example. The input unit 11 outputs the input packet to the flow detection unit 15. The output unit 12 is configured to output the packet input from the bandwidth control unit 13 or the switching unit 16 to the transmission path.

また、入出力されるパケットとしては、例えば、インターネットプロトコルに対応したパケット(以下、IPパケットという。)であり、IPパケットはヘッダ部とペイロード部から構成される。ヘッダ部には、宛先アドレスおよび送信元アドレス等が含まれる。ペイロード部には、TCPまたはUDP等のプロトコルに準拠したデータが含まれる。   The input / output packet is, for example, a packet corresponding to the Internet protocol (hereinafter referred to as an IP packet), and the IP packet includes a header portion and a payload portion. The header part includes a destination address and a source address. The payload portion includes data that conforms to a protocol such as TCP or UDP.

帯域制御部13は、例えば、シェーパからなり、入力部11から入力されたパケットに対し帯域制御を行うようになっている。   The bandwidth control unit 13 is formed of a shaper, for example, and performs bandwidth control on a packet input from the input unit 11.

制御部14は、例えば、プロセッサおよびメモリからなり、帯域制御の対象となるパケットを識別するための識別情報を登録テーブルに登録するようになっている。なお、帯域制御の対象となるパケットは、ネットワーク管理者が指定することにより、予め決められる。   The control unit 14 includes, for example, a processor and a memory, and registers identification information for identifying a packet subjected to bandwidth control in the registration table. Note that a packet to be subjected to bandwidth control is determined in advance by designation by a network administrator.

例えば、パケットがIPパケットであったとき、識別情報を構成する情報は、宛先アドレスおよび送信元アドレスのうち少なくとも1つからなり、さらにTCPまたはUDPのポート番号を加えたものでもよい。   For example, when the packet is an IP packet, the information constituting the identification information includes at least one of a destination address and a transmission source address, and may further include a TCP or UDP port number.

また、登録テーブルの一例を図3に示す。図3(A)に示した登録テーブルには、識別情報、この識別情報に対応する切替状態、切替カウント値、解除カウント値、カウント増分値などの情報からなる。なお、これらの情報の詳細については、後述する。   An example of the registration table is shown in FIG. The registration table shown in FIG. 3A includes identification information, switching status corresponding to the identification information, switching count value, release count value, count increment value, and the like. Details of these pieces of information will be described later.

フロー検出部15は、入力されたパケットを切替部16に出力する際に、帯域制御の対象となるパケットのうち、登録テーブルに登録されている識別情報によって識別される登録パケットでないパケットを検出するようになっている。   When the flow detection unit 15 outputs the input packet to the switching unit 16, the flow detection unit 15 detects a packet that is not a registered packet identified by the identification information registered in the registration table from among the packets subjected to bandwidth control. It is like that.

図2において、切替部16は、登録パケットの出力先を帯域制御部13または出力部12に切替えるようになっている。従って、切替部16が登録パケットを出力部12に出力している場合、登録パケットは、帯域制御部13の制御を受けずに出力部12によって伝送路に出力され、切替部16が登録パケットを帯域制御部13に出力している場合、登録パケットは、帯域制御部13の制御を受けて出力部12によって伝送路に出力される。   In FIG. 2, the switching unit 16 switches the output destination of the registration packet to the bandwidth control unit 13 or the output unit 12. Therefore, when the switching unit 16 outputs the registration packet to the output unit 12, the registration packet is output to the transmission path by the output unit 12 without being controlled by the bandwidth control unit 13, and the switching unit 16 transmits the registration packet. When output to the bandwidth control unit 13, the registration packet is output to the transmission path by the output unit 12 under the control of the bandwidth control unit 13.

タイマ17は、一定時間毎に制御部14に時間の経過を通知するようになっている。なお、タイマ17が時間の経過を通知したときには、制御部14は、切替カウント値にカウント増分値を積算し、積算された切替カウント値に応じて、切替部16が登録パケットの出力先を切替えるタイミングを検出し、また、制御部14は、解除カウント値に一定値を積算し、積算された解除カウント値に応じて、登録テーブルから登録されている識別情報を解除するようになっている。   The timer 17 notifies the control unit 14 of the passage of time at regular intervals. When the timer 17 notifies the passage of time, the control unit 14 adds the count increment value to the switching count value, and the switching unit 16 switches the output destination of the registration packet according to the integrated switching count value. The timing is detected, and the control unit 14 adds a fixed value to the release count value, and releases the identification information registered from the registration table according to the added release count value.

以上のように構成された本発明の実施の形態に係るパケット中継装置の動作について、図面を用いて以下に説明する。また、本発明の実施の形態では、本発明の理解を容易にするため、帯域制御の対象となるパケットをサーバ9A、9Bから送信されるIPパケットとし、それぞれ送信元アドレスA、送信元アドレスBをもつIPパケットとして説明する。   The operation of the packet relay apparatus according to the embodiment of the present invention configured as described above will be described below with reference to the drawings. Further, in the embodiment of the present invention, in order to facilitate understanding of the present invention, the packets subjected to bandwidth control are IP packets transmitted from the servers 9A and 9B, and the source address A and the source address B, respectively. As an IP packet having

まず、登録テーブルになにも登録されていない場合において、フロー検出部15は、例えば、送信元アドレスAをもつIPパケットが入力されると、入力されたIPパケットを切替部16に出力する際に、登録テーブルを参照し、登録テーブルになにも登録されていないため、送信元アドレスAをもつIPパケットを、登録パケットでないパケットとして検出する。   First, when nothing is registered in the registration table, for example, when an IP packet having a source address A is input, the flow detection unit 15 outputs the input IP packet to the switching unit 16. In addition, referring to the registration table, since nothing is registered in the registration table, the IP packet having the source address A is detected as a packet that is not a registration packet.

制御部14は、フロー検出部15が検出したときのIPパケットの識別情報である送信元アドレスAを図3(B)に示すように登録テーブルに登録すると同時に、この識別情報に対応する切替状態を「出力部12」に初期化し、さらに切替カウント値および解除カウント値を0に初期化し、カウント増分値を送信元アドレスに対応する値に初期化する。   The control unit 14 registers the source address A, which is identification information of the IP packet when the flow detection unit 15 detects, in the registration table as shown in FIG. 3B, and at the same time, the switching state corresponding to this identification information. Is initialized to “output unit 12”, the switching count value and the cancellation count value are initialized to 0, and the count increment value is initialized to a value corresponding to the source address.

制御部14が送信元アドレスAを登録テーブルに登録すると共に、切替部16は、送信元アドレスAをもつIPパケットがフロー検出部15から入力される毎に、登録テーブルから送信元アドレスAに対応する切替状態を参照し、切替状態が出力部12を示しているため、出力部12に送信元アドレスAをもつ登録パケットを順次に出力する。なお、切替部16は、切替状態を参照するのではなく、IPパケットと共にIPパケットにおける切替状態をフロー検出部15から受け取り、受け取った切替状態に応じて登録パケットを出力するようにしてもよい。   The control unit 14 registers the transmission source address A in the registration table, and the switching unit 16 corresponds to the transmission source address A from the registration table every time an IP packet having the transmission source address A is input from the flow detection unit 15. Since the switching state indicates the output unit 12, the registration packet having the transmission source address A is sequentially output to the output unit 12. Instead of referring to the switching state, the switching unit 16 may receive the switching state of the IP packet together with the IP packet from the flow detection unit 15 and output a registration packet according to the received switching state.

送信元アドレスAをもつ登録パケットが出力部12に順次に出力されている間、タイマ17が時間の経過を通知し、制御部14は、切替カウント値にカウント増分値を積算し、解除カウント値に一定値を積算する。   While the registration packet having the transmission source address A is sequentially output to the output unit 12, the timer 17 notifies the elapse of time, and the control unit 14 adds the count increment value to the switching count value, and releases the count value. A certain value is added to.

なお、切替部16が、送信元アドレスAをもつIPパケットがフロー検出部15から入力される毎に、解除カウント値は初期化される。また、フロー検出部15が登録パケットを検出したとき、解除カウント値は初期化されてもよい。   Note that each time the switching unit 16 receives an IP packet having the transmission source address A from the flow detection unit 15, the release count value is initialized. Further, when the flow detection unit 15 detects a registration packet, the release count value may be initialized.

解除カウント値が初期化されなければ、解除カウント値は積算され、やがて一定時間を表す値となり、制御部14は、登録パケットを識別するための識別情報である送信元アドレスAを登録テーブルから解除する。   If the cancellation count value is not initialized, the cancellation count value is accumulated and eventually becomes a value representing a certain time, and the control unit 14 cancels the transmission source address A, which is identification information for identifying the registration packet, from the registration table. To do.

一方、切替カウント値は積算され、やがて所定時間を表す値となり、制御部14は、送信元アドレスAに対応する切替状態を「帯域制御部13」とし、切替部16は、送信元アドレスAをもつIPパケットをフロー検出部15から入力される毎に、登録テーブルから送信元アドレスAに対応する切替状態を参照し、切替状態が帯域制御部13を示しているため、帯域制御部13に送信元アドレスAをもつ登録パケットを順次に出力する。   On the other hand, the switching count value is integrated and eventually becomes a value representing a predetermined time, the control unit 14 sets the switching state corresponding to the transmission source address A to “bandwidth control unit 13”, and the switching unit 16 sets the transmission source address A to Each time an IP packet is input from the flow detection unit 15, the switching state corresponding to the transmission source address A is referred to from the registration table, and the switching state indicates the bandwidth control unit 13. The registration packets having the original address A are sequentially output.

図4(A)に示すように、サーバ9Aから送信されたIPパケットを切替部16が出力部12に出力している間は、一挙に大量のIPパケットがパケット中継装置10から通信端末6に転送される。また、切替部16がIPパケットを帯域制御部13に出力している間は、帯域制御部13がIPパケットの伝送量を一定に制御するため、IPパケットは、伝送量を一定にしてパケット中継装置10から通信端末6に転送される。   As shown in FIG. 4A, while the switching unit 16 outputs the IP packet transmitted from the server 9A to the output unit 12, a large amount of IP packets are sent from the packet relay device 10 to the communication terminal 6 at once. Transferred. In addition, while the switching unit 16 outputs the IP packet to the bandwidth control unit 13, the bandwidth control unit 13 controls the transmission amount of the IP packet to be constant. The data is transferred from the device 10 to the communication terminal 6.

また、通信端末6は、パケット中継装置7から中継されたIPパケットをネットワーク5を介して受信し、図4(B)に示すように、受信したIPパケットに含まれるコンテンツデータの蓄積を開始した時点からコンテンツデータが一定量に到達する時点までの時間が短いため、即時にコンテンツデータの再生を開始することができる。従って、コンテンツの視聴を待たせることなく利用者に快適な視聴を提供することができる。   In addition, the communication terminal 6 receives the IP packet relayed from the packet relay device 7 via the network 5, and starts accumulation of content data included in the received IP packet as shown in FIG. 4B. Since the time from the time point to the time point when the content data reaches a certain amount is short, the reproduction of the content data can be started immediately. Accordingly, comfortable viewing can be provided to the user without waiting for the content to be viewed.

なお、登録テーブルに送信元アドレスAが登録されている間に、フロー検出部15は、送信元アドレスBをもつIPパケットを入力し、送信元アドレスBをもつIPパケットを切替部16に出力する際に、登録テーブルを参照し、登録テーブルに送信元アドレスBが登録されていないため、送信元アドレスBをもつIPパケットを、登録パケットでないパケットとして検出する。制御部14は、フロー検出部15が検出したときのIPパケットの識別情報である送信元アドレスBを図3(C)に示すように登録テーブルに登録すると同時に、この識別情報に対応する切替状態を「出力部12」とし、さらに切替カウント値、解除カウント値、カウント増分値を初期化する。   Note that while the transmission source address A is registered in the registration table, the flow detection unit 15 inputs an IP packet having the transmission source address B and outputs the IP packet having the transmission source address B to the switching unit 16. At this time, referring to the registration table, since the transmission source address B is not registered in the registration table, an IP packet having the transmission source address B is detected as a packet that is not a registration packet. The control unit 14 registers the transmission source address B, which is identification information of the IP packet when the flow detection unit 15 detects, in the registration table as shown in FIG. 3C, and at the same time, the switching state corresponding to this identification information. Is set to “output unit 12”, and the switching count value, the release count value, and the count increment value are initialized.

また、図3(C)に示すように制御部14がカウント増分値を識別情報の内容に応じて変更することにより、登録パケットに応じて切替部16が登録パケットの出力先を切替えるタイミングとなる所定時間を可変にすることもできる。従って、サーバ9Aから配信されるコンテンツおよびサーバ9Bから配信されるコンテンツのそれぞれの特性に応じて、通信端末6が再生を開始するタイミングが異なるため、再生を開始するタイミングに合わせて、登録パケットの出力先を帯域制御部13から出力部12に切替えることができる。   Further, as shown in FIG. 3C, the control unit 14 changes the count increment value according to the contents of the identification information, so that the switching unit 16 switches the output destination of the registration packet according to the registration packet. The predetermined time can be made variable. Therefore, since the timing at which the communication terminal 6 starts playback differs according to the characteristics of the content distributed from the server 9A and the content distributed from the server 9B, the registration packet The output destination can be switched from the band control unit 13 to the output unit 12.

なお、切替カウント値および解除カウント値を積算する形態について説明したが、それぞれの値を初期化するときに、制御部14は、所定の定数を設定し、タイマ17が時間の経過を通知したときには、設定した所定の定数から減算してもよい。減算する際には、切替カウント値または解除カウント値が0になったとき、登録パケットの出力先を切替えるタイミングや、登録テーブルから登録されている識別情報を解除するタイミングを検出することになる。   In addition, although the form which accumulate | stores switching count value and cancellation | release count value was demonstrated, when initializing each value, the control part 14 sets a predetermined constant and when the timer 17 notifies progress of time. Alternatively, it may be subtracted from the set predetermined constant. In the subtraction, when the switching count value or the cancellation count value becomes 0, the timing for switching the output destination of the registration packet and the timing for canceling the registered identification information from the registration table are detected.

図2で説明したパケット中継装置10の変形例を図5に示す。図5に示すように、パケット中継装置20は、パケット中継装置10の構成要素に対し、入力部11に入力されたIPパケットに対し優先して帯域制御を行う優先帯域制御部28を加えた構成を有している。なお、優先帯域制御部28は、例えば、シェーパからなり、優先帯域制御部28が制御するIPパケットは、帯域制御部13で制御される場合よりも大きな帯域(高いレート)で出力部12を介して出力される。   A modification of the packet relay device 10 described in FIG. 2 is shown in FIG. As shown in FIG. 5, the packet relay device 20 has a configuration in which a priority bandwidth control unit 28 that preferentially controls bandwidth for the IP packet input to the input unit 11 is added to the components of the packet relay device 10. have. Note that the priority band control unit 28 is formed of, for example, a shaper, and the IP packet controlled by the priority band control unit 28 is transmitted via the output unit 12 with a larger band (higher rate) than that controlled by the band control unit 13. Is output.

本発明の実施の形態に係るパケット中継装置の変形例の動作として、まず、登録テーブルになにも登録されていない場合において、フロー検出部15は、例えば、送信元アドレスAをもつIPパケットを入力し、入力したIPパケットを切替部16に出力する際に、登録テーブルを参照し、登録テーブルになにも登録されていないため、送信元アドレスAをもつIPパケットを、登録パケットでないパケットとして検出する。   As an operation of the modified example of the packet relay device according to the embodiment of the present invention, first, in the case where nothing is registered in the registration table, the flow detection unit 15 selects, for example, an IP packet having the source address A. When the input IP packet is input and output to the switching unit 16, the registration table is referred to, and nothing is registered in the registration table. To detect.

制御部14は、フロー検出部15が検出したときのIPパケットの識別情報である送信元アドレスAを図6(A)に示すように登録テーブルに登録すると同時に、この識別情報に対応する切替状態を「優先帯域制御部28」とし、さらに切替カウント値、解除カウント値、カウント増分値を初期化する。   The control unit 14 registers the source address A, which is identification information of the IP packet when the flow detection unit 15 detects, in the registration table as shown in FIG. 6A, and at the same time, the switching state corresponding to this identification information. Is set as the “priority bandwidth control unit 28”, and the switching count value, the release count value, and the count increment value are initialized.

制御部14が送信元アドレスAを登録テーブルに登録すると共に、切替部16は、送信元アドレスAをもつIPパケットをフロー検出部15から入力される毎に、登録テーブルから送信元アドレスAに対応する切替状態を参照し、切替状態が優先帯域制御部28を示しているため出力部12に、送信元アドレスAをもつ登録パケットを順次に出力する。   The control unit 14 registers the transmission source address A in the registration table, and the switching unit 16 corresponds to the transmission source address A from the registration table every time an IP packet having the transmission source address A is input from the flow detection unit 15. Since the switching state indicates the priority band control unit 28, the registration packet having the transmission source address A is sequentially output to the output unit 12.

一方、切替カウント値は積算され、やがて所定時間を表す値となり、制御部14は、送信元アドレスAに対応する切替状態を「帯域制御部13」とし、切替部16は、送信元アドレスAをもつIPパケットをフロー検出部15から入力される毎に、登録テーブルから送信元アドレスAに対応する切替状態を参照し、切替状態が帯域制御部13を示しているため帯域制御部13に、送信元アドレスAをもつ登録パケットを順次に出力する。   On the other hand, the switching count value is integrated and eventually becomes a value representing a predetermined time, the control unit 14 sets the switching state corresponding to the transmission source address A to “bandwidth control unit 13”, and the switching unit 16 sets the transmission source address A to Each time an IP packet is input from the flow detection unit 15, the switching state corresponding to the source address A is referred to from the registration table, and the switching state indicates the bandwidth control unit 13. The registration packets having the original address A are sequentially output.

図6(B)に示すように、サーバ9Aから送信されたIPパケットを切替部16が優先帯域制御部28に出力している間は、短い間隔でIPパケットがパケット中継装置10から通信端末6に転送され、切替部16が帯域制御部13に出力している間は、帯域制御部13がIPパケットの伝送量を一定に制御するため、IPパケットは、伝送量を一定にしてパケット中継装置10から通信端末6に転送される。   As shown in FIG. 6B, while the switching unit 16 outputs the IP packet transmitted from the server 9A to the priority bandwidth control unit 28, the IP packet is transmitted from the packet relay device 10 to the communication terminal 6 at a short interval. Since the bandwidth control unit 13 controls the transmission amount of the IP packet to be constant while the switching unit 16 outputs to the bandwidth control unit 13, the IP packet is transmitted to the packet relay device with the transmission amount constant. 10 to the communication terminal 6.

また、通信端末6は、パケット中継装置7から中継されたIPパケットをネットワーク5を介して受信し、図6(C)に示すように、受信したIPパケットに含まれるコンテンツデータの蓄積を開始した時点からコンテンツデータが一定量に到達する時点までの時間が短いため、即時にコンテンツデータの再生を開始することができる。   In addition, the communication terminal 6 receives the IP packet relayed from the packet relay device 7 via the network 5 and starts storing content data included in the received IP packet as shown in FIG. 6C. Since the time from the time point to the time point when the content data reaches a certain amount is short, the reproduction of the content data can be started immediately.

以上のように、本発明に係るパケット中継装置は、コンテンツの視聴を待たせることなく利用者に快適な視聴を提供することができるという効果を有し、ネットワークを介してパケットを中継するときの帯域制御を行うルータ、シェーパ、またはスイッチ等として有用である。   As described above, the packet relay apparatus according to the present invention has an effect that it can provide a comfortable viewing to the user without waiting for the content to be viewed, and when the packet is relayed via the network. It is useful as a router, shaper, or switch for performing bandwidth control.

本発明の実施の形態に係る通信システムの構成図Configuration diagram of a communication system according to an embodiment of the present invention 本発明の実施の形態に係るパケット中継装置の構成図Configuration diagram of a packet relay device according to an embodiment of the present invention 登録テーブルの一例を示す図Figure showing an example of a registration table 本発明の実施の形態に係るパケット中継装置および通信端末が処理するパケットのフローに係る説明図Explanatory drawing which concerns on the flow of the packet which the packet relay apparatus and communication terminal which concern on embodiment of this invention process 本発明の実施の形態に係るパケット中継装置の変形例を示す図The figure which shows the modification of the packet relay apparatus which concerns on embodiment of this invention 本発明の実施の形態に係るパケット中継装置の変形例に係る動作説明図Operation explanatory diagram according to a modification of the packet relay device according to the embodiment of the present invention 従来のパケット中継装置に係る動作説明図Operation explanatory diagram of a conventional packet relay device

符号の説明Explanation of symbols

5 ネットワーク
6 通信端末
7、10、20 パケット中継装置
8 シェーパ
9、9A、9B サーバ
11 入力部
12 出力部
13 帯域制御部
14 制御部
15 フロー検出部
16 切替部
17 タイマ
28 優先帯域制御部
DESCRIPTION OF SYMBOLS 5 Network 6 Communication terminal 7, 10, 20 Packet relay apparatus 8 Shaper 9, 9A, 9B Server 11 Input part 12 Output part 13 Band control part 14 Control part 15 Flow detection part 16 Switching part 17 Timer 28 Priority band control part

Claims (4)

パケットが入力される入力部(11)と、
前記パケットを伝送路に出力する出力部(12)と、
前記入力部に入力されたパケットを受けて、当該パケットに対し帯域制御を行う帯域制御部(13)とを備え、前記伝送路の帯域制御を行うパケット中継装置において
前記帯域制御の対象となるパケットを識別するための識別情報を登録テーブルに登録する制御部(14)と、
前記登録テーブルに登録されている識別情報によって識別される登録パケットでないパケットを検出するフロー検出部(15)と、
前記登録パケットの出力先を前記帯域制御部または前記出力部に切替える切替部(16)とを更に備え、
前記制御部は、前記フロー検出部が前記登録パケットでないパケットを検出したときの前記識別情報を前記登録テーブルに登録
前記切替部は、前記フロー検出部が前記登録パケットでないパケットを検出した時点から所定時間が経過するまで前記登録パケットを前記出力部に出力し、前記所定時間が経過したとき、前記登録パケットを前記出力部から前記帯域制御部に切替えて出力することを特徴とするパケット中継装置。
An input unit (11) to which a packet is input;
An output unit (12) for outputting the packet to a transmission line;
In the packet relay device comprising a bandwidth control unit (13) that receives the packet input to the input unit and performs bandwidth control on the packet, and performs bandwidth control of the transmission path ,
A control unit (14) for registering identification information for identifying a packet to be subjected to the bandwidth control in a registration table;
A flow detector (15) for detecting a packet that is not a registered packet identified by the identification information registered in the registration table;
Further comprising a switching unit (16) for switching the output destination of the registration packet to the bandwidth control section or the output section,
Wherein the control unit registers the identification information when the flow detection unit detects a packet not the registration packet to the registration table,
The switching unit, the registration packet from the time when the flow detection unit detects a packet not the registration packet until a predetermined time elapses and outputs to the output unit, when the front Kisho constant time has elapsed, the registration packet Is switched from the output unit to the bandwidth control unit and output.
前記制御部は、前記登録パケットが前記入力部から一定時間入力されない場合、前記登録パケットを識別するための識別情報を前記登録テーブルから解除することを特徴とする請求項1に記載のパケット中継装置。   2. The packet relay device according to claim 1, wherein the control unit cancels identification information for identifying the registration packet from the registration table when the registration packet is not input from the input unit for a certain period of time. . 前記所定時間が前記登録パケットに応じて可変であることを特徴とする請求項1または請求項2に記載のパケット中継装置。   The packet relay apparatus according to claim 1, wherein the predetermined time is variable according to the registration packet. 前記入力部に入力されたパケットに対し前記帯域制御部で制御されるべき帯域よりも大きい帯域で帯域制御を行う優先帯域制御部(28)を備え、
前記切替部は、前記フロー検出部が前記登録パケットでないパケットを検出した時点から所定時間が経過するまで前記登録パケットを前記出力部に出力する替わりに、前記優先帯域制御部に出力し、前記所定時間が経過したとき、前記登録パケットを前記優先帯域制御部から前記帯域制御部に切替えて出力することを特徴とする請求項1から請求項3までの何れかに記載のパケット中継装置。
A priority bandwidth control unit (28) for performing bandwidth control on a packet input to the input unit in a bandwidth larger than a bandwidth to be controlled by the bandwidth control unit;
The switching unit, instead of outputting the registration packet to said flow detection unit a predetermined time from the time of detecting the packet non the registration packet has passed to the output unit, and outputs the priority bandwidth control unit, before Symbol when Tokoro constant time has passed, the packet relay apparatus according to claim 1, characterized in that the output switches the registration packet from the priority bandwidth control unit to the band control section to claim 3.
JP2005270639A 2005-09-16 2005-09-16 Packet relay device Expired - Lifetime JP4294627B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005270639A JP4294627B2 (en) 2005-09-16 2005-09-16 Packet relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005270639A JP4294627B2 (en) 2005-09-16 2005-09-16 Packet relay device

Publications (2)

Publication Number Publication Date
JP2007082127A JP2007082127A (en) 2007-03-29
JP4294627B2 true JP4294627B2 (en) 2009-07-15

Family

ID=37941904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005270639A Expired - Lifetime JP4294627B2 (en) 2005-09-16 2005-09-16 Packet relay device

Country Status (1)

Country Link
JP (1) JP4294627B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5659125B2 (en) 2011-01-26 2015-01-28 アラクサラネットワークス株式会社 Relay device and relay method
JP6740110B2 (en) * 2016-12-09 2020-08-12 日本放送協会 Data distribution system, communication terminal, and program

Also Published As

Publication number Publication date
JP2007082127A (en) 2007-03-29

Similar Documents

Publication Publication Date Title
EP3243306B1 (en) Method for forwarding data packets in a network and programmable ingress and egress nodes therefor
EP1185043B1 (en) Streaming data transfer system and repeater therefor
JP4782226B2 (en) Priority identification method and apparatus for real-time service
JP3844686B2 (en) Router device, terminal device, communication system, and routing method
US20080082674A1 (en) Method, Network and Network Proxy for Transmitting Information
JP2005530367A (en) System and method for delivering a data stream of multiple data types at different priority levels
JP4363204B2 (en) Communication terminal
JP4294627B2 (en) Packet relay device
JP4700063B2 (en) Real-time packet processing system and method
JP5533303B2 (en) Packet transmission device, packet transmission method, and packet transmission program
CN106130746B (en) Data transmission method and device
EP1967006A2 (en) Splitting of a data stream
JP4677501B2 (en) Relay device and relay method
JP2005012711A (en) Real-time data communication system, real-time data communication apparatus, and real-time data communication method
JP2009260888A (en) Communication apparatus
KR20130032396A (en) A method for routing and associated routing device and destination device
JP2004266843A (en) Communication device, communication method, and telephone device, video telephone device, and imaging device using method
JP2010278803A (en) Packet receiving device and packet transmitting / receiving device
JP5019232B2 (en) Traffic control system, control method, home gateway device, and control program
JP5174381B2 (en) NETWORK RELAY DEVICE, CONTENT REPRODUCTION DEVICE, NETWORK RELAY METHOD, CONTENT REPRODUCTION SYSTEM, PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
JP2008060785A (en) Ip telephone communication recording system
JP4104146B2 (en) User terminal, network control system, and network driver
JP2009239514A (en) Motion picture distribution apparatus, going-through device, and motion picture distribution system and method
JP2006140750A (en) System, method, and program for monitoring communication data
JP2008017075A (en) Communication controller and communication control method used therefore, and program thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081003

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

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

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

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4294627

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130417

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130417

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140417

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term