JP3836807B2 - Packet transfer device - Google Patents

Packet transfer device Download PDF

Info

Publication number
JP3836807B2
JP3836807B2 JP2003115303A JP2003115303A JP3836807B2 JP 3836807 B2 JP3836807 B2 JP 3836807B2 JP 2003115303 A JP2003115303 A JP 2003115303A JP 2003115303 A JP2003115303 A JP 2003115303A JP 3836807 B2 JP3836807 B2 JP 3836807B2
Authority
JP
Japan
Prior art keywords
packet
transfer
transmission
unit
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003115303A
Other languages
Japanese (ja)
Other versions
JP2004320673A (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.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
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 Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2003115303A priority Critical patent/JP3836807B2/en
Publication of JP2004320673A publication Critical patent/JP2004320673A/en
Application granted granted Critical
Publication of JP3836807B2 publication Critical patent/JP3836807B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、パケットを転送するパケット転送装置に関し、特に、転送態様を切り替えることによりパケット転送の効率化を図るパケット転送装置に関する。
【0002】
【従来の技術】
例えば、情報通信の分野では、パケットを通信することが行われており、パケットを転送するパケット転送装置が用いられている。
このようなパケット転送装置については、種々な検討が為されている(例えば、特許文献1参照。)。
【0003】
【特許文献1】
特開2002−281075号公報
【0004】
【発明が解決しようとする課題】
しかしながら、従来のパケット転送装置では、例えば、パケットの通信状況の変化に対応してパケットを転送するような点において、未だに不十分であり、更なる開発が要求されていた。
本発明は、このような従来の事情に鑑み為されたもので、例えば、パケットの通信状況が変化するような場合においても、パケット転送の効率化を図ることができるパケット転送装置を提供することを目的とする。
【0005】
【課題を解決するための手段】
上記目的を達成するため、本発明に係るパケット転送装置では、次のようにして、パケットを転送する。
すなわち、複数の異なる転送態様によりパケットを転送する機能を有するパケット転送手段を備え、パケット転送態様切替手段がパケット転送手段によりパケットを転送する転送態様を切り替える。
【0006】
従って、パケットを転送する転送態様が切り替えられて、パケット転送が行われるため、パケット転送の効率化を図ることができる。また、例えば、パケットの通信状況が変化するような場合においても、通信状況の変化に対応して転送態様を切り替えることにより、パケット転送の効率化を図ることができる。
【0007】
ここで、パケットとしては、種々なものが用いられてもよい。
また、パケットの転送元となる通信装置や、パケットの転送先となる通信装置としては、それぞれ種々なものが用いられてもよい。パケット転送装置は、例えば、転送元となる通信装置から送信されるパケットを受信し、受信したパケットを転送先となる通信装置へ送信する。
【0008】
また、複数の異なる転送態様の数としては、種々な数が用いられてもよい。
また、それぞれの転送態様としては、種々なものが用いられてもよい。
また、パケット転送手段は、パケット転送態様切替手段により切り替えられるそれぞれの転送態様によりパケットを転送する機能を有する。
また、パケット転送手段としては、例えば、パケット転送の全ての処理を実行する手段として構成されてもよく、或いは、パケット転送の一部の処理を実行する手段として構成されてもよい。
【0009】
また、パケットを転送する転送態様を切り替える仕方としては、種々な仕方が用いられてもよく、例えば、パケットの通信状況或いはその変化に応じて転送態様を切り替えるような仕方を用いることができる。
パケットの通信状況としては、種々なものが用いられてもよく、例えば、パケットを送信する回線やパケットを受信する回線の一方又は両方に関して、通信速度や、通信量や、通信品質などを用いることが可能である。
【0010】
以下で、更に、本発明に係る構成例を示す。
一構成例として、本発明に係るパケット転送装置では、第1の転送態様として、受信されるパケットを受信される順に送信する転送態様を用いる。
一構成例として、本発明に係るパケット転送装置では、第2の転送態様として、受信されるパケットを受信される順から所定の規則に基づいて並べ替えた順に送信する転送態様を用いる。
ここで、所定の規則としては、種々なものが用いられてもよく、例えば、優先度に基づく規則を用いることができる。
【0011】
一構成例として、第2の転送態様では、受信されるパケットに対応する優先度に基づいてパケットを転送する。
具体的には、一例として、第2の転送態様では、受信されるパケットに含まれる所定の情報により特定される優先度に基づいてパケットを転送する。
また、一例として、パケット転送装置では、所定の情報と優先度との対応を記憶する所定情報優先度対応記憶手段を備え、そして、第2の転送態様では、所定情報優先度対応記憶手段の記憶内容を参照して、受信されるパケットに含まれる所定の情報に対応する優先度に基づいてパケットを転送する。
【0012】
ここで、所定の情報としては、種々な情報が用いられてもよい。
一例として、所定の情報として、送信元の装置或いは送信先の装置のポート番号の情報やMACアドレスの情報などを用いることができる。
また、一例として、優先度として、優先順位を用いることができる。
また、所定情報優先度対応記憶手段としては、例えば、情報を記憶するメモリを用いて構成することができる。
【0013】
また、一例として、優先度が高いパケットとしては、動画配信やIP電話などの情報を伝送するパケットのように、リアルタイム性が要求されるパケットを用いることができ、優先度が低いパケットとしては、ファイルダウンロードなどの情報を伝送するパケットのように、リアルタイム性が要求されないパケットを用いることができる。なお、情報としては、テキストや、音声や、画像などの種々な情報を用いることができる。
また、パケットの優先度としては、他の種々な仕様が用いられてもよい。
【0014】
一構成例として、本発明に係るパケット転送装置では、第1の転送態様では下位レイヤの機能によりパケットを転送し、第2の転送態様では上位レイヤの機能によりパケットを転送する。
ここで、下位レイヤや、上位レイヤとしては、それぞれ種々なものが用いられてもよい。
【0015】
一構成例として、本発明に係るパケット転送装置では、上位レイヤによる転送態様(例えば、第2の転送態様)から下位レイヤによる転送態様(例えば、第1の転送態様)へ切り替えられる場合には、上位レイヤで保持されているパケットを下位レイヤへ転送し、当該パケットを下位レイヤにより転送する。
【0016】
一構成例として、本発明に係るパケット転送装置では、パケット転送態様切替手段は、パケットを送信する回線における情報伝送速度に基づいて、パケットの転送態様を切り替える。
ここで、パケットを送信する回線としては、種々なものが用いられてもよく、例えば、無線の回線が用いられてもよく、或いは、有線の回線が用いられてもよい。
【0017】
同様に、パケットを受信する回線としては、種々なものが用いられてもよく、例えば、無線の回線が用いられてもよく、或いは、有線の回線が用いられてもよい。
また、パケットを受信する回線と、パケットを送信する回線としては、例えば、同一の回線が用いられてもよく、或いは、異なる回線が用いられてもよい。
また、パケットを受信する回線や、パケットを送信する回線としては、それぞれ、例えば、1つの回線が用いられてもよく、或いは、複数の回線が用いられてもよい。
【0018】
具体的には、一例として、パケット転送態様切替手段は、パケットを送信する回線における情報伝送速度が所定の閾値を超える場合には下位レイヤによる転送態様(例えば、第1の転送態様)へ切り替える一方、パケットを送信する回線における情報伝送速度が所定の閾値未満である場合には上位レイヤによる転送態様(例えば、第2の転送態様)へ切り替える。
【0019】
従って、情報伝送速度が高速である場合には例えば下位レイヤによる第1の転送態様によりパケットを高速に転送することができ、情報伝送速度が低速である場合には例えば上位レイヤによる第2の転送態様により高いQoS(Quality of
Service)でパケットを転送することができる。
【0020】
ここで、パケットを送信する回線における情報伝送速度が所定の閾値と等しい場合については、例えば、所定の閾値を超える場合と同様な転送態様の切替が行われてもよく、或いは、所定の閾値未満である場合と同様な転送態様の切替が行われてもよく、或いは、他の態様が用いられてもよい。
【0021】
一構成例として、本発明に係るパケット転送装置では、パケット転送態様切替手段は、外部の装置から入力される信号に基づいて、パケットの転送態様を切り替える。
ここで、外部の装置としては、種々な装置が用いられてもよい。
また、外部の装置から入力される信号としては、種々な信号が用いられてもよく、例えば、転送態様を切り替えるために参照される情報を含む信号や、或いは、転送態様を切り替える指示を含む信号などを用いることができる。
【0022】
他の構成例として、本発明に係るパケット転送装置では、パケット転送態様切替手段は、当該パケット転送装置の内部から入力される信号に基づいて、パケットの転送態様を切り替える。
ここで、パケット転送態様切替手段へ信号を出力する内部の処理部としては、種々な処理部が用いられてもよい。
【0023】
以下で、更に、本発明に係る構成例を示す。
一構成例として、本発明では、受信したパケットを送信することによりパケットを転送するパケット転送装置において、パケットを受信するパケット受信手段と、複数の異なる転送態様によりパケットを転送する機能を有して切り替えられる転送態様によりパケット受信手段により受信されるパケットを送信するパケット送信手段と、パケット送信手段により用いられる転送態様を切り替えるパケット転送態様切替手段と、を備える。
【0024】
ここで、本構成例では、例えば、パケット転送手段は、パケット受信手段とパケット送信手段から構成されている。
また、パケット受信手段により受信するパケットを送信する通信装置や、パケット送信手段により送信するパケットを受信する通信装置としては、それぞれ種々なものが用いられてもよい。
【0025】
一構成例として、本発明に係るパケット転送装置では、パケット転送手段は、第1のレイヤの機能部と、第2のレイヤの機能部を備える。また、第2のレイヤは第1のレイヤと比べて上位のレイヤである。
そして、第1のレイヤの機能部は、パケット受信手段により受信されるパケットを格納する受信バッファ手段と、送信対象となるパケットを格納する送信バッファ手段とを備え、第1のレイヤの機能部は、受信バッファ手段に格納されるパケットを受信された順に読み出して送信バッファ手段に格納することにより、受信されたパケットを受信された順に送信する第1の転送態様によりパケットを転送する機能を有している。
【0026】
また、第2のレイヤの機能部は、それぞれの優先度に対応した複数のパケットキュー手段と、第1のレイヤの機能部のパケット格納手段により格納されるパケットを読み出して読み出したパケットを当該パケットの優先度に対応するパケットキュー手段に格納するパケットクラス分け手段と、複数のパケットキュー手段に格納されたパケットを各パケットキュー手段に対応する優先度に基づく態様で読み出して第1のレイヤの機能部の送信バッファ手段に格納するパケット読出手段とを備え、第2のレイヤの機能部は、第1のレイヤの機能部の受信バッファ手段に格納されたパケットを読み出して読み出したパケットを当該パケットの優先度に基づく順に第1のレイヤの機能部の送信バッファ手段に格納することにより、受信されたパケットを優先度に基づく順序で送信する第2の転送態様によりパケットを転送する機能を有している。
また、パケット転送態様切替手段は、第1の転送態様と第2の転送態様を切り替える。
【0027】
ここで、第1のレイヤや、第2のレイヤとしては、それぞれ種々なものが用いられてもよい。
また、第1のレイヤの機能部や、第2のレイヤの機能部としては、それぞれ種々な構成のものが用いられてもよい。
また、受信バッファ手段や、送信バッファ手段や、各パケットキュー手段としては、それぞれ、例えば、パケットを一時的に記憶するバッファメモリを用いて構成することができる。
【0028】
また、複数のパケットキュー手段の数としては、種々な数が用いられてもよい。
また、それぞれのパケットキュー手段に対応する優先度としては、種々なものが用いられてもよい。具体的には、例えば、全てのパケットキュー手段について互いに異なる優先度が設定される構成や、或いは、少なくとも2つの異なる優先度がそれぞれ異なるパケットキュー手段に設定されるような構成が用いられる。
【0029】
一構成例として、本発明では、パケット転送装置は、内部又は外部に、無線通信手段を備える。また、パケット送信手段は送信対象となるパケットを無線通信手段へ出力し、無線通信手段はパケット送信手段から入力されるパケットを無線により送信する。また、無線通信手段は、パケットを無線通信する速度の情報をパケット転送態様切替手段へ通知する。
【0030】
ここで、無線通信手段としては、例えば、パケット転送装置の内部の機能として構成されて備えられてもよく、或いは、パケット転送装置とは異なる外部の装置の機能として構成されて備えられてもよい。
また、パケットを無線通信する速度の情報としては、種々な情報が用いられてもよく、例えば、パケットを無線により送信する情報伝送速度を特定する情報を用いることができる。
【0031】
【発明の実施の形態】
本発明に係る一実施例を図面を参照して説明する。
まず、本発明の背景について説明する。なお、本発明の背景として記載する事項は、必ずしも全てが従来技術であるとは限らない。
近年、インターネットや低コストなIP(Internet Protocol)通信網の普及に伴い、ネットワークのIP化が進んでいる。IPネットワークにおいては、データはIPプロトコルを使用して送信元から送信先(相手先)へ届けられる。
【0032】
IPはOSI(Open System Interconnection)7レイヤのネットワーク層のプロトコルであり、その上位プロトコルにはトランスポート層のプロトコルであるTCP(Transmission Control Protocol)やUDP(User Datagram Protocol)があり、TCPやUDPはIPとアプリケーションプログラムの仲介をする役目を担っている。
【0033】
IPの下位プロトコルとしてはデータリンク層、物理層のプロトコルがあり、例えば、IEEE802.3で規定されているイーサネット(登録商標)やIEEE802.11で規定されている無線LAN(Local Area Network)がある。無線LAN技術は加入者網を無線により実現する無線アクセスにも適用されており、IPネットワークにおいては無線系と有線系に跨り例えばWEBアクセス、IP電話、テレビ会議などの様々なアプリケーションが実行されている。
【0034】
アプリケーションには、動画配信やIP電話などリアルタイム性が要求されるアプリケーションと、ファイルダウンロードなどリアルタイム性が要求されないアプリケーションがある。IPネットワークにおいては音声や動画などタイムクリティカルなデータを一定時間以内に相手先へ届けるため、ネットワーク内でトラフィックタイプ毎に送信データをクラス分けし、優先度の高い順に転送する優先制御技術が適用されている。従来のIPネットワークにおける優先制御技術としては、ネットワーク層レベルのMPLS(Multi Protocol Label Switching)やDiffServ(Differentiated Services)、データリンク層レベルのIEEE802.1Dが知られている。
【0035】
IEEE802.1Dは有線LANにおける優先制御技術であり、一例としては、イーサネット(登録商標)のフレームのヘッダ部分に優先度を示すラベルを付加し、ブリッジ装置で優先度を考慮したキューイングを行うことにより、優先制御を実現する。IEEE802.1Dでは、(1)Network Control、(2)Voice、(3)Video、(4)Controlled Load、(5)Excellent Effort、(6)Best Effort、(7)Backgroundの7つのトラフィッククラスを設け、各トラフィックに優先度を設定している。
【0036】
(1)Network Controlは、ネットワークインフラを保持するために必要なトラフィックであり、最も大きい優先度で扱われる。(2)Voice及び(3)Videoは、遅延時間及びジッタに制限があるトラフィックであり、次に大きい優先度で扱われる。以下、(4)Controlled Load、(5)Excellent Effort、(6)Best Effort、(7)Backgroundの順に優先度の大きさが設定され、メールやWEBアクセス等の通常のLANトラフィックは(6)Best Effortに対応付けられている。
【0037】
一方、無線区間の通信においては、伝搬路状況が良い場合には高速で通信を行い、伝搬路状況が劣化した場合には低速で通信を行う適応変調方式を適用した通信システムが考えられる。無線区間通信に適応変調方式を適用したシステムでは、伝搬路状況に応じて、無線区間における情報伝送速度が変化する。従って、無線区間の情報伝送速度が変化しても必要なネットワーク環境を維持することができるような無線区間のQoS制御を行うことが必要になってくる。
【0038】
しかしながら、従来の有線LANにおけるQoS制御技術を無線区間に適応変調技術を適用した無線通信システムに適用すると、無線機の送信側で、送信データのヘッダや送信データに付加されたラベルを読み取り、パケットのクラス分けを行うことになり、処理時間がかかるため、伝送遅延時間の増大やスループットの低下をもたらすといった問題があった。また、無線区間の情報伝送速度が無線機の送信側に入力するデータの情報伝送速度と比べて大きい場合には、無線機において原則として送信待ち時間が生じないためQoS制御は不要であるにもかかわらず、常時クラス分け処理を行うため、高速なプロセッサが必要となり、装置価格が高くなるといった問題があった。
【0039】
次に、本発明の一実施例に係るパケット転送装置を説明する。
図1には、本例のパケット転送装置の構成例を示してある。
本例のパケット転送装置は、転送制御部1と、受信部2と、送信部3から構成されている。
転送制御部1は、下位レイヤ(の機能部)11と、上位レイヤ(の機能部)12と、切替制御部13から構成されている。
【0040】
下位レイヤ11には、受信部2から受信されるパケットを格納する受信バッファ21と、送信部3へパケットを送るための送信バッファ22が備えられている。
上位レイヤ12には、下位レイヤ11から受け取ったパケットをクラス分けするクラス分け処理部31と、複数であるn個のクラス別のキューQ1〜Qnを有したキュー部32と、キュー部32のキューQ1〜Qnからパケットを読み出すパケット読出部33が備えられている。
【0041】
ここで、本例では、キューQ1、キューQ2、・・・、キューQnの順で高い優先度となっており、つまり、キューQ1の優先度が最も高く、キューQnの優先度が最も低くなっている。
【0042】
また、本例では、受信バッファ21は1つのパケットを格納する領域を有しており、送信バッファ22は複数のパケットを格納する領域を有していて入力されたパケットを入力された順に先頭から格納して出力する。つまり、送信バッファ22では、先頭の格納位置に格納されるパケットが最も先に入力されたものとなり、最後の格納位置に格納されるパケットが最も後に入力されたものとなる。
また、本例では、それぞれのキューQ1〜Qnは、複数のパケットを格納する領域を有していて入力されたパケットを入力された順に先頭から格納して出力する。
【0043】
また、本例のパケット転送装置は、無線通信システムに適用されており、無線通信分野におけるデータ伝送に適用されている。
図2には、本例のパケット転送装置を用いた無線通信システムの構成例を示してある。
同図の例では、パケット転送装置41と無線機42とが接続されており、パケット転送装置41は外部(図示せず)から入力されるパケットを無線機42へ出力し、無線機42は入力されるパケットをアンテナ43から無線により送信する。また、無線機42は無線区間における情報伝送速度を特定する情報をパケット転送装置41へ出力する。
【0044】
まず、本例のパケット転送装置により行われる全体的な動作の一例の概要を示す。
本例では、下位レイヤ11により転送を行う処理モード1と、上位レイヤ12により転送を行う処理モード2を設け、切替制御部13がこれら2つの処理モード1、2を切り替える動作例を示す。
受信部2では、転送元となる装置(図示せず)から送信されるパケットが受信される。受信部2により受信したパケットは、転送制御部1の下位レイヤ11の受信バッファ21に格納される。
【0045】
下位レイヤ11では、切替制御部13からの処理モードの指示により処理を切り替える。
具体的には、下位レイヤ11では、処理モード1が指示された場合には、受信バッファ21に格納された受信パケットを送信バッファ22の最後の格納位置に格納する。また、下位レイヤ11では、処理モード2が指示された場合には、受信バッファ21に格納された受信パケットを上位レイヤ12へ送る。
【0046】
上位レイヤ12では、クラス分け処理部31により、下位レイヤ11から受け取ったパケットのヘッダ情報等を読み取るなどして、当該パケットをクラス別のキューQ1〜Qnの中でパケット毎の優先度に対応するいずれかに格納する。また、パケット読出部33は、優先度等のQoSを考慮した規則に従ってクラス別のキューQ1〜Qnからパケットを読み出し、読み出したパケットを下位レイヤ11の送信バッファ22の最後の格納位置に格納する。
【0047】
下位レイヤ11では、送信バッファ22の先頭の格納位置から順にパケットのデータを読み出して送信部3へ送り、送信部3へ送られたパケットは当該送信部3から転送先となる装置(本例では、無線機42)へ送信される。
本例のパケット転送装置では、上記のように動作することにより、パケットの転送を行う。
【0048】
次に、本例のパケット転送装置の特徴的な部分である転送制御部1により行われる動作の一例を示す。
図3には、転送制御部1により行われる受信処理の手順の一例を示してある。転送制御部1では、受信部2にパケットが到着すると、パケット受信完了を通知する制御信号を受信部2から受け取る(ステップS1)。すると、転送制御部1では、受信部2から受信されたパケットを読み出して受信バッファ21に格納する。
【0049】
次に、下位レイヤ11は、処理モードを判定し(ステップS2)、処理モード1が設定されている場合には、受信バッファ21に格納されたパケットを送信バッファ22の最後の格納位置に格納する(ステップS3)。
一方、下位レイヤ11は、処理モード1が設定されていない場合には、つまり処理モード2が設定されている場合には、受信バッファ21に格納されたパケットを上位レイヤ12へ送る(ステップS4)。
上位レイヤ12では、クラス分け処理部31は、下位レイヤ11から受け取ったパケットのヘッダ情報等を読み取り、当該読み取り結果に基づいて、クラス別のキューQ1〜Qnのキューイングを行う(ステップS5)。
【0050】
ここで、処理モード1、2は、切替制御部13により指示される。
切替制御部13は、外部からの信号により処理モードを決定し、処理モード1を設定するか或いは処理モード2を設定するかの指示を下位レイヤ11と上位レイヤ12に対して行う。
【0051】
本例では、上記図2に示したように、パケット転送装置41を無線機42に接続して無線通信システムが構成されており、一例として、切替制御部13は、外部からの信号として、無線機42から無線区間における情報伝送速度の情報を含む信号を入力する。そして、切替制御部13は、入力される無線区間情報伝送速度の情報から無線区間情報伝送速度を特定し、特定した無線区間情報伝送速度が予め定められた閾値と比べて小さい場合(遅い場合)には、処理モード2を指定する信号を下位レイヤ11と上位レイヤ12に通知する一方、特定した無線区間情報伝送速度が予め定められた閾値と比べて大きい場合(速い場合)には、処理モード1を指定する信号を下位レイヤ11と上位レイヤ12に通知する。
【0052】
なお、本例では、無線区間情報伝送速度の情報を切替制御部13に入力して無線区間情報伝送速度に基づいて処理モードを切り替える構成例を示したが、他の情報を切替制御部13に入力して当該他の情報に基づいて処理モードを切り替えるような構成が用いられてもよく、他の情報としては、例えば、伝送路のエラーレートの情報や、伝送路のC/N(Carrier to Noise ratio)の情報などを用いることができる。
【0053】
図4には、転送制御部1により行われる送信処理の手順の一例を示してある。
転送制御部13に送信部3から送信可能な状態であること(送信可)が制御信号により通知されると(ステップS11)、上位レイヤ12では、処理モードを判定して(ステップS12)、処理モード2が設定されている場合には、パケット読出部33は、上位レイヤ12のクラス別のキューQ1〜Qnから優先度等のQoSを考慮して送信すべきパケットの読み出しを行い、読み出したパケットを下位レイヤ11の送信バッファ22の最後の格納位置に格納する(ステップS13)。
【0054】
一方、処理モード1が設定されている場合には、上位レイヤ12では、特に処理を行わない。
そして、いずれの処理モード1、2が設定されている場合においても、下位レイヤ11の送信バッファ22の先頭から順番にパケットが読み出されて、送信部3へ送られる(ステップS14)。
送信部3は、転送制御部1から受け取ったパケットの送信を行い、1パケットの送信が完了すると、転送制御部1に送信可であることを制御信号により通知する。
上記のようにして、本例のパケット転送装置では、パケットの転送が行われる。
【0055】
ここで、クラス別のキューQ1〜Qnは、クラス分け処理部31によりクラス分けされるクラスの数に対応したキューである。クラス分け処理部31は、いずれかのキューQ1〜Qnのキュー長が予め決められた長さと比べて大きくなった場合には、そのキューQ1〜Qnに格納されたパケットを廃棄するなどの処理を行う。
【0056】
また、パケット読出部33は、上位レイヤ12によりパケットの読み出しを指示されると、クラス別のキューQ1〜Qnから優先度等のQoSを考慮したパケットの読み出しを行う。
優先度等のQoSを考慮したパケットの読み出し方式としては、種々な方式が用いられてもよく、例えば、一般的に知られている方式として、優先度の大きさの順にキューQ1〜Qnから読み出しを行うプライオリティキューイング方式や、キューQ1〜Qn毎にラウンドロビン方式で読み出しを行うWFQ(Weighted Fair Queuing)方式や、キューQ1〜Qn毎に送信可能量を規定しておいて規定量以内であれば読み出しを行うCBQ(Class-Based Queuing)方式などを用いることができる。
【0057】
図5には、無線区間情報伝送速度が変化して処理モードが切り替えられた場合において、転送制御部1により行われる処理の手順の一例を示してある。
本例では、処理モード2から処理モード1へ切り替わった場合には、以降のパケット送信は下位レイヤ11のみから行われるため、上位レイヤ12のキューQ1〜Qnに残っているパケットが取り残されることなく送信されるための処理を行う。
【0058】
具体的には、転送制御部1では、処理モード2から処理モード1へ切り替わった場合に(ステップS21)、上位レイヤ12のクラス別のキューQ1〜Qnから優先度等のQoSを考慮したパケットの読み出しを行い、読み出したパケットを下位レイヤ11の送信バッファ22の最後の格納位置に格納する。転送制御部1では、この処理を上位レイヤ12のクラス別のキューQ1〜Qnが空になるまで実行する。
【0059】
なお、処理モード1から処理モード2へ切り替えられる場合には、下位レイヤ11の送信バッファ22からは先頭から順にパケットが送信されるため、下位レイヤ11から上位レイヤ12へのパケットの転送は行われなくともよい。
【0060】
次に、クラス分け処理部31により行われる処理の例を示す。
一例として、クラス分け処理部31では、IEEE802.1Dにより規定される方法を用いて処理を行うことが可能であり、具体的には、送信データに含まれる優先度を示すラベルを読み取り、読み取ったラベルに基づいてクラス別のキューQ1〜Qnにキューイングする。この方法は、例えば、入力データ(送信データ)に優先度を示すラベルが付加されている場合には有効であるが、このようなラベルが付加されていない場合には優先制御を実行することができない。また、クラス分け処理部31では、DiffServのようにIPヘッダのTOS(Type Of Service)フィールドを参照してクラス分けを実行することも可能である。
【0061】
他の例として、クラス分け処理部31では、入力された送信データのヘッダ情報に含まれる情報を解析して優先度を決めるような処理を行うことも可能である。
ここで、具体例として、ヘッダ情報に含まれるポート番号の情報を解析して優先度を決める方法を説明する。
【0062】
図6(a)には、コンピュータ間での通信のイメージを示してあり、サーバ51と、クライアント52と、これらを接続する伝送路53を示してある。
サーバ51は、http、telnet、snmpと、TCP、UDPと、IPと、下位プロトコルを有している。
クライアント52は、Webブラウザ、telnet、snmpと、TCP、UDPと、IPと、下位プロトコルを有している。
【0063】
図6(b)には、IPパケットの一例を示してある。
同図(b)に示したIPパケットは、送信元IPアドレスと宛先(送信先)IPアドレスとプロトコル番号(同図(b)の例ではTCPの番号)の情報を含むIPヘッダと、送信元ポート番号と宛先ポート番号の情報を含むTCPヘッダと、データから構成されている。
【0064】
例えば、クライアント52がWebブラウザでサーバ51上のページを見ようとする場合には、図6(b)に示されるようなIPパケットがクライアント52からサーバ51へ送信される。
この場合、IPパケットのTCPヘッダに含まれるポート番号に基づいて当該IPパケットを送信或いは受信するアプリケーションを識別することが可能であり、IPパケットのIPヘッダに含まれるプロトコル番号に基づいて適用されているプロトコルを識別することが可能である。
【0065】
例えば、ポート番号はhttpでは80でありtelnetでは23でありftpでは21であり、また、プロトコル番号はTCPでは6でありUDPでは17である。
図7(a)には、TCPヘッダのフォーマットの詳細な一例を示してあり、図7(b)には、UDPヘッダのフォーマットの詳細な一例を示してあり、図7(c)には、IPヘッダのフォーマットの詳細な一例を示してある。
【0066】
TCPヘッダには、送信元ポート番号と、宛先ポート番号と、シーケンス番号と、確認応答番号と、オフセットと、予約と、コードビットと、ウインドウサイズと、チェックサムと、緊急ポインタと、オプションと、パディングの情報が含まれている。
UDPヘッダには、送信元ポート番号と、宛先ポート番号と、パケット長と、チェックサムの情報が含まれている。
IPヘッダには、バージョンと、ヘッダ長と、サービスタイプと、パケット長と、識別子と、フラグと、フラグメントオフセットと、生存時間と、プロトコル番号と、ヘッダチェックサムと、送信元IPアドレスと、宛先IPアドレスと、オプションと、パディングの情報が含まれている。
【0067】
クラス分け処理部31では、ポート番号と優先度との対応関係を記憶するポート番号−優先度対応テーブルをメモリなどに格納して備えている。
図8には、このようなポート番号−優先度対応テーブルの内容の一例を示してあり、複数のポート番号(“6000”等)とそれぞれに対応する優先度(“7”等)とが対応付けられて記憶されている。
【0068】
また、クラス分け処理部31では、入力される送信データ(送信フレーム)のIPヘッダに含まれるプロトコル番号を判定して、適用されているプロトコルを判定する。そして、クラス分け処理部31では、適用されているプロトコルのヘッダ情報から、送信元ポート番号を読み出して、読み出した送信元ポート番号がポート番号−優先度対応テーブルに登録されている場合には、当該送信データを登録されているポート番号に対応する優先度の送信キュー(キューQ1〜Qnのいずれか)にキューイングする。一方、クラス分け処理部31では、読み出した送信元ポート番号がポート番号−優先度対応テーブルに登録されていない場合には、当該送信データをデフォルトの優先度の送信キュー(キューQ1〜Qnのいずれか)にキューイングする。
【0069】
このように、上位レイヤ12では、下位レイヤ11から入力される送信データに含まれるポート番号に対応する優先度を当該送信データの優先度として決定する動作を行うことにより、送信元アプリケーションを示すポート番号に対応して送信データの優先制御を行うことができる。
【0070】
また、例えば、送信データのフレームがイーサネット(登録商標)のフレームである場合には、上記したIPヘッダの前にイーサネット(登録商標)のMACヘッダが付加され、MACヘッダには宛先(送信先)端末のアドレス情報と送信元端末のアドレス情報が含まれる。
このような場合、クラス分け処理部31では、MACアドレスを利用して送信データの優先制御を行うことも可能である。
【0071】
すなわち、クラス分け処理部31では、MACアドレスと優先度との対応関係を記憶するMACアドレス−優先度対応テーブルをメモリなどに格納して備えている。
図9には、このようなMACアドレス−優先度対応テーブルの内容の一例を示してあり、複数のMACアドレス(“11−22−33−00−00−01”等)とそれぞれに対応する優先度(“7”等)とが対応付けられて記憶されている。
【0072】
また、クラス分け処理部31では、送信データに含まれるMACヘッダを解析して、MACアドレス−優先度対応テーブルを参照し、送信データの宛先MACアドレス或いは送信元MACアドレスがMACアドレス−優先度対応テーブルに登録されている場合には、当該送信データを登録されている優先度の送信キュー(キューQ1〜Qnのいずれか)にキューイングする。一方、クラス分け処理部31では、MACアドレスがMACアドレス−優先度対応テーブルに登録されていない場合には、送信データをデフォルトの送信キュー(キューQ1〜Qnのいずれか)にキューイングする。
【0073】
なお、ヘッダ情報を解析して優先度を決定する方法としては、種々な情報を解析する方法が用いられてもよく、例えば、送信元のポート番号を解析する方法や、宛先(送信先)のポート番号を解析する方法や、UDPやTCPなどのプロトコル種別を解析する方法などにより、優先度を決定することが可能である。
また、端末のアドレスとしては、MACアドレスに限定されず、例えば、IPアドレスや、他のアドレスを用いることも可能である。
【0074】
以上のように、本例のパケット転送装置では、転送制御部1と受信部2と送信部3を備え、転送制御部1が受信部2から受信したパケットを送信部3から送信する構成において、転送制御部1は、2以上の異なる処理形態を有して、これらの処理形態を切替制御することが行われる。
【0075】
また、本例では、処理形態としては、受信部2から受信したパケットを受信した順に送信部3から送信する第1の処理形態(処理モード1の処理形態)が含まれ、受信部2から受信したパケットを受信した順から所定の規則に従って並べ替えを行った順で送信部3から送信する第2の処理形態(処理モード2の処理形態)が含まれる。
【0076】
また、本例では、切替制御部13は、外部からの信号を入力して、当該信号に基づいて第1の処理形態及び第2の処理形態を切替制御する。
また、本例では、第1の処理形態ではパケットを下位レイヤ11における処理で転送制御することが行われ、第2の処理形態ではパケットを上位レイヤ12における処理で転送制御することが行われる。
また、本例では、第2の処理形態から第1の処理形態へ切り替わった場合に、上位レイヤ12で保持しているパケットを下位レイヤ11へ転送することが行われる。
【0077】
そして、本例のパケット転送装置では、無線区間の情報伝送速度に対応して、適応的にパケットの転送処理の形態を切替制御することが行われる。
具体的には、本例のパケット転送装置では、送信側の無線区間における情報伝送速度が予め定められた閾値より大きい場合には、パケット転送を低位のレイヤ(下位レイヤ)11で実行する第1の処理形態で動作し、一方、送信側の無線区間における情報伝送速度が予め定められた閾値より小さい場合には、パケット転送を高位のレイヤ(上位レイヤ)12で実行する第2の処理形態で動作する。
また、上位レイヤ12では、パケットのヘッダ情報等を読み出し、パケットの優先度等のQoSを考慮したキューイングを実行する。下位レイヤ11では、受信部2又は上位レイヤ12から受け取ったパケットを順番に送信部22へ送る。
【0078】
これにより、送信側の情報伝送速度が予め定められた閾値より小さい場合には、送信部3から優先度の高いパケットが優先的に送信されることとなり、送信側の情報伝送速度が低下した場合においても必要なネットワーク環境を維持することができる。一方、送信側の情報伝送速度が予め定められた閾値より大きい場合には、下位レイヤ11のみで転送処理を実行するため、高速の転送処理が可能となり、パケットの伝送遅延時間の増大やスループットの低下を回避することができる。
【0079】
更に、無線区間における情報伝送速度が小さい場合には、転送制御の処理時間に余裕ができ、この余った処理時間を利用して上位レイヤ12により送信データのQoS制御処理を実行することが可能であり、これにより、例えば、高速なプロセッサを備えることが不要となり、安価なハードウエアで高品質なサービスを提供することが可能となる。
【0080】
従って、本例のパケット転送装置では、送信側の情報伝送速度に応じて適応的に転送するパケットのQoS制御が行われるため、サービス品質の向上に有効である。また、送信側の情報伝送速度が予め定められた閾値より大きくて伝送レートが高いような場合には、下位レイヤ11のみで転送処理が行われるため、高速な転送処理を実現することができる。また、送信側の情報伝送速度が予め定められた閾値より小さくて伝送レートが低いような場合には、無線区間の情報伝送速度が小さくなる(遅くなる)ことで余った転送処理時間をQoS制御処理に割り当てることにより、例えば、高速なプロセッサが不要となり、省電力、小発熱量、小型、安価なシステムを実現することができる。
【0081】
なお、本例のパケット転送装置では、受信部2や送信部3や下位レイヤ11や上位レイヤ12の機能によりパケット転送手段が構成されており、切替制御部13の機能によりパケット転送態様切替手段が構成されている。
また、本例のパケット転送装置では、受信部2の機能や転送制御部1の受信機能によりパケット受信手段が構成されており、送信部3の機能や転送制御部1の送信機能によりパケット送信手段が構成されている。
【0082】
また、本例のパケット転送装置では、第1のレイヤ11の機能として、受信バッファ21の機能により受信バッファ手段が構成されており、送信バッファ22の機能により送信バッファ手段が構成されており、また、第2のレイヤ12の機能として、クラス分け処理部31の機能によりパケットクラス分け手段が構成されており、複数のキューQ1〜Qnの機能により複数のパケットキュー手段が構成されており、パケット読出部33の機能によりパケット読出手段が構成されている。
【0083】
また、本例のパケット転送装置では、アンテナ43を備えた無線機42の機能により無線通信手段が構成されている。
また、本例のパケット転送装置では、複数の異なる転送態様として、処理モード1に対応する第1の処理形態での転送態様と、処理モード2に対応する第2の処理形態での転送態様が用いられている。
また、本例のパケット転送装置では、受信バッファ21として1つのパケットを格納する領域のものを用いたが、例えば、複数のパケットを格納して受信した順番に処理を行うようなものが用いられてもよい。
【0084】
ここで、本発明に係るパケット転送装置や無線通信システムなどの構成としては、必ずしも以上に示したものに限られず、種々な構成が用いられてもよい。なお、本発明は、例えば本発明に係る処理を実行する方法或いは方式や、このような方法や方式を実現するためのプログラムなどとして提供することも可能である。
また、本発明の適用分野としては、必ずしも以上に示したものに限られず、本発明は、種々な分野に適用することが可能なものである。
【0085】
また、本発明に係るパケット転送装置や無線通信システムなどにおいて行われる各種の処理としては、例えばプロセッサやメモリ等を備えたハードウエア資源においてプロセッサがROM(Read Only Memory)に格納された制御プログラムを実行することにより制御される構成が用いられてもよく、また、例えば当該処理を実行するための各機能手段が独立したハードウエア回路として構成されてもよい。
また、本発明は上記の制御プログラムを格納したフロッピー(登録商標)ディスクやCD(Compact Disc)−ROM等のコンピュータにより読み取り可能な記録媒体や当該プログラム(自体)として把握することもでき、当該制御プログラムを記録媒体からコンピュータに入力してプロセッサに実行させることにより、本発明に係る処理を遂行させることができる。
【0086】
【発明の効果】
以上説明したように、本発明に係るパケット転送装置によると、複数の異なる転送態様によりパケットを転送する機能を備え、例えば、パケットの通信状況が変化するような場合においても、当該変化に対応して、パケットを転送する転送態様を切り替えるようにしたため、パケット転送の効率化を図ることができる。
【図面の簡単な説明】
【図1】 本発明の一実施例に係るパケット転送装置の構成例を示す図である。
【図2】 本発明の一実施例に係る無線通信システムの構成例を示す図である。
【図3】 転送制御部により行われる受信処理の手順の一例を示すフローチャート図である。
【図4】 転送制御部により行われる送信処理の手順の一例を示すフローチャート図である。
【図5】 転送制御部により行われる処理モード切替時における処理の手順の一例を示すフローチャート図である。
【図6】 送信データのヘッダ情報に基づいて優先度を決定する処理の例を説明するための図である。
【図7】 ヘッダのフォーマットの一例を示す図である。
【図8】 ポート番号と優先度との対応の一例を示す図である。
【図9】 MACアドレスと優先度との対応の一例を示す図である。
【符号の説明】
1・・転送制御部、 2・・受信部、 3・・送信部、 11・・下位レイヤ、
12・・上位レイヤ、 13・・切替制御部、 21・・受信バッファ、
22・・送信バッファ、 31・・クラス分け処理部、 32・・キュー部、
33・・パケット読出部、 Q1〜Qn・・キュー、
41・・パケット転送装置、 42・・無線機、 43・・アンテナ、
51・・サーバ、 52・・クライアント、 53・・伝送路、
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a packet transfer apparatus that transfers packets, and more particularly to a packet transfer apparatus that improves packet transfer efficiency by switching transfer modes.
[0002]
[Prior art]
For example, in the field of information communication, packets are communicated, and packet transfer devices that transfer packets are used.
Various studies have been made on such a packet transfer apparatus (see, for example, Patent Document 1).
[0003]
[Patent Document 1]
JP 2002-28175 A
[0004]
[Problems to be solved by the invention]
However, the conventional packet transfer apparatus is still insufficient, for example, in that the packet is transferred in response to a change in the communication state of the packet, and further development is required.
The present invention has been made in view of such conventional circumstances. For example, the present invention provides a packet transfer apparatus capable of improving the efficiency of packet transfer even when the packet communication status changes. With the goal.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, the packet transfer apparatus according to the present invention transfers a packet as follows.
That is, a packet transfer unit having a function of transferring a packet by a plurality of different transfer modes is provided, and the packet transfer mode switching unit switches the transfer mode of transferring the packet by the packet transfer unit.
[0006]
Accordingly, the transfer mode for transferring the packet is switched and the packet transfer is performed, so that the efficiency of the packet transfer can be improved. Further, for example, even when the packet communication status changes, the efficiency of packet transfer can be improved by switching the transfer mode in response to the change in the communication status.
[0007]
Here, various packets may be used.
Various communication devices may be used as the communication device serving as a packet transfer source and the communication device serving as a packet transfer destination. For example, the packet transfer device receives a packet transmitted from a communication device serving as a transfer source, and transmits the received packet to a communication device serving as a transfer destination.
[0008]
Various numbers may be used as the number of different transfer modes.
Various transfer modes may be used.
Further, the packet transfer unit has a function of transferring a packet in accordance with each transfer mode switched by the packet transfer mode switching unit.
Further, the packet transfer unit may be configured as a unit that executes all the processes of packet transfer, or may be configured as a unit that executes a part of the process of packet transfer.
[0009]
Various methods may be used as a method of switching the transfer mode for transferring a packet. For example, a method of switching the transfer mode according to the communication state of the packet or a change thereof may be used.
Various packet communication conditions may be used. For example, the communication speed, communication volume, communication quality, etc. are used for one or both of the line for transmitting packets and the line for receiving packets. Is possible.
[0010]
Below, the structural example which concerns on this invention is shown further.
As an example of the configuration, the packet transfer apparatus according to the present invention uses a transfer mode in which received packets are transmitted in the order received, as the first transfer mode.
As one configuration example, the packet transfer apparatus according to the present invention uses, as the second transfer mode, a transfer mode in which received packets are transmitted in the order rearranged based on a predetermined rule from the order received.
Here, various rules may be used as the predetermined rule. For example, a rule based on priority may be used.
[0011]
As one configuration example, in the second transfer mode, the packet is transferred based on the priority corresponding to the received packet.
Specifically, as an example, in the second transfer mode, the packet is transferred based on the priority specified by the predetermined information included in the received packet.
Further, as an example, the packet transfer apparatus includes a predetermined information priority correspondence storage unit that stores a correspondence between predetermined information and priority. In the second transfer mode, the packet transfer device stores the predetermined information priority correspondence storage unit. With reference to the content, the packet is transferred based on the priority corresponding to the predetermined information included in the received packet.
[0012]
Here, various information may be used as the predetermined information.
As an example, port number information or MAC address information of a transmission source device or a transmission destination device can be used as the predetermined information.
As an example, priority can be used as the priority.
The predetermined information priority correspondence storage means can be configured using, for example, a memory for storing information.
[0013]
In addition, as an example, as a packet having a high priority, a packet that requires real-time performance can be used, such as a packet for transmitting information such as moving image distribution or IP phone. As a packet having a low priority, Packets that do not require real-time properties, such as packets that transmit information such as file downloads, can be used. In addition, as information, various information, such as a text, an audio | voice, and an image, can be used.
Various other specifications may be used as packet priorities.
[0014]
As one configuration example, in the packet transfer apparatus according to the present invention, the packet is transferred by the lower layer function in the first transfer mode, and the packet is transferred by the upper layer function in the second transfer mode.
Here, various layers may be used as the lower layer and the upper layer.
[0015]
As one configuration example, in the packet transfer apparatus according to the present invention, when switching from a transfer mode by an upper layer (for example, the second transfer mode) to a transfer mode by a lower layer (for example, a first transfer mode), The packet held in the upper layer is transferred to the lower layer, and the packet is transferred by the lower layer.
[0016]
As one configuration example, in the packet transfer apparatus according to the present invention, the packet transfer mode switching means switches the packet transfer mode based on the information transmission rate on the line for transmitting the packet.
Here, various lines may be used as a line for transmitting a packet. For example, a wireless line may be used, or a wired line may be used.
[0017]
Similarly, various lines may be used as a line for receiving a packet. For example, a wireless line may be used, or a wired line may be used.
Further, as a line for receiving a packet and a line for transmitting a packet, for example, the same line may be used, or different lines may be used.
In addition, as a line for receiving a packet and a line for transmitting a packet, for example, one line may be used, or a plurality of lines may be used.
[0018]
Specifically, as an example, the packet transfer mode switching means switches to the transfer mode (for example, the first transfer mode) by the lower layer when the information transmission rate in the line that transmits the packet exceeds a predetermined threshold. When the information transmission speed on the line for transmitting the packet is less than the predetermined threshold, the mode is switched to the transfer mode (for example, the second transfer mode) by the higher layer.
[0019]
Therefore, when the information transmission rate is high, for example, the packet can be transferred at high speed by the first transfer mode by the lower layer, and when the information transmission rate is low, for example, the second transfer by the upper layer is performed. High QoS (Quality of Quality)
Packets can be transferred with (Service).
[0020]
Here, when the information transmission speed on the line that transmits the packet is equal to the predetermined threshold, for example, the transfer mode may be switched in the same way as when the predetermined threshold is exceeded, or less than the predetermined threshold. The transfer mode may be switched in the same manner as in the above case, or another mode may be used.
[0021]
As one configuration example, in the packet transfer device according to the present invention, the packet transfer mode switching means switches the packet transfer mode based on a signal input from an external device.
Here, various devices may be used as the external device.
Various signals may be used as signals input from an external device. For example, a signal including information referred to for switching the transfer mode, or a signal including an instruction for switching the transfer mode. Etc. can be used.
[0022]
As another configuration example, in the packet transfer device according to the present invention, the packet transfer mode switching means switches the packet transfer mode based on a signal input from the inside of the packet transfer device.
Here, various processing units may be used as an internal processing unit that outputs a signal to the packet transfer mode switching unit.
[0023]
Below, the structural example which concerns on this invention is shown further.
As an example of the configuration, in the present invention, in a packet transfer device that transfers a packet by transmitting the received packet, the packet receiving unit that receives the packet and a function of transferring the packet by a plurality of different transfer modes are provided. Packet transmission means for transmitting a packet received by the packet receiving means according to the switched transfer aspect, and packet transfer aspect switching means for switching the transfer aspect used by the packet transmission means.
[0024]
Here, in this configuration example, for example, the packet transfer means is composed of a packet reception means and a packet transmission means.
Various devices may be used as a communication device that transmits a packet received by the packet receiving unit and a communication device that receives a packet transmitted by the packet transmitting unit.
[0025]
As an example of the configuration, in the packet transfer apparatus according to the present invention, the packet transfer means includes a first layer functional unit and a second layer functional unit. The second layer is a higher layer than the first layer.
The first layer functional unit includes a reception buffer unit that stores a packet received by the packet receiving unit, and a transmission buffer unit that stores a packet to be transmitted. The first layer functional unit includes: A function of transferring packets according to the first transfer mode in which the packets stored in the reception buffer means are read in the order received and stored in the transmission buffer means to transmit the received packets in the order received. ing.
[0026]
Further, the second layer functional unit reads out the packet stored by the plurality of packet queue units corresponding to the respective priorities and the packet storage unit of the functional unit of the first layer, and reads the read packet. Packet classification means for storing in the packet queue means corresponding to the priority of the packet, and the first layer function by reading out the packets stored in the plurality of packet queue means in a manner based on the priority corresponding to each packet queue means Packet reading means for storing in the transmission buffer means of the first layer, and the second layer functional section reads out the packet stored in the reception buffer means of the first layer functional section and reads the read packet of the packet. Packets received by storing them in the transmission buffer means of the functional part of the first layer in order based on the priority And has a function of transferring the packet by the second transfer mode in which transmission in an order based on the priority.
The packet transfer mode switching means switches between the first transfer mode and the second transfer mode.
[0027]
Here, various layers may be used as the first layer and the second layer, respectively.
In addition, as the functional unit of the first layer and the functional unit of the second layer, those having various configurations may be used.
In addition, each of the reception buffer means, the transmission buffer means, and each packet queue means can be configured using, for example, a buffer memory that temporarily stores packets.
[0028]
Various numbers of packet queue means may be used.
Various priority levels may be used for the respective packet queue means. Specifically, for example, a configuration in which different priority levels are set for all packet queue units, or a configuration in which at least two different priority levels are set in different packet queue units is used.
[0029]
As an example of the configuration, in the present invention, the packet transfer apparatus includes a wireless communication unit inside or outside. The packet transmission means outputs a packet to be transmitted to the wireless communication means, and the wireless communication means wirelessly transmits the packet input from the packet transmission means. The wireless communication means notifies the packet transfer mode switching means of information on the speed at which packets are wirelessly communicated.
[0030]
Here, the wireless communication unit may be configured and provided as an internal function of the packet transfer device, or may be configured and provided as a function of an external device different from the packet transfer device. .
Various information may be used as information on the speed at which packets are wirelessly communicated. For example, information for specifying an information transmission speed at which packets are transmitted wirelessly can be used.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment according to the present invention will be described with reference to the drawings.
First, the background of the present invention will be described. Note that the matters described as the background of the present invention are not necessarily all related to the prior art.
In recent years, with the spread of the Internet and low-cost IP (Internet Protocol) communication networks, the use of IP in networks has been advanced. In an IP network, data is delivered from a transmission source to a transmission destination (destination) using an IP protocol.
[0032]
IP is a network layer protocol of 7 layers of OSI (Open System Interconnection), and the upper layer protocol includes TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) which are transport layer protocols. TCP and UDP are It plays a role of mediation between IP and application programs.
[0033]
As lower IP protocols, there are data link layer and physical layer protocols, such as Ethernet (registered trademark) defined by IEEE802.3 and wireless LAN (Local Area Network) defined by IEEE802.11. . The wireless LAN technology is also applied to wireless access that realizes a subscriber network wirelessly. In an IP network, various applications such as WEB access, IP telephone, and video conference are executed across a wireless system and a wired system. Yes.
[0034]
There are applications that require real-time performance such as video distribution and IP phone, and applications that do not require real-time performance such as file download. In IP networks, in order to deliver time-critical data such as voice and video to the other party within a certain period of time, priority control technology is applied that classifies transmission data for each traffic type in the network and transfers them in order of priority. ing. As a prioritized control technique in a conventional IP network, MPLS (Multi Protocol Label Switching) and DiffServ (Differentiated Services) at the network layer level and IEEE 802.1D at the data link layer level are known.
[0035]
IEEE802.1D is a priority control technology in a wired LAN. For example, a label indicating priority is added to the header portion of an Ethernet (registered trademark) frame, and the queuing in consideration of the priority is performed by the bridge device. Thus, priority control is realized. IEEE802.1D provides seven traffic classes: (1) Network Control, (2) Voice, (3) Video, (4) Controlled Load, (5) Excellent Effort, (6) Best Effort, and (7) Background. , Set priority for each traffic.
[0036]
(1) Network Control is traffic necessary for maintaining the network infrastructure, and is handled with the highest priority. (2) Voice and (3) Video are traffic with limited delay time and jitter, and are handled with the next highest priority. In the following, (4) Controlled Load, (5) Excellent Effort, (6) Best Effort, and (7) Background are set in order of priority. Normal LAN traffic such as e-mail and WEB access is (6) Best It is associated with Effort.
[0037]
On the other hand, in communication in a wireless zone, a communication system using an adaptive modulation scheme that performs communication at high speed when the channel condition is good and performs communication at low speed when the channel condition deteriorates is conceivable. In a system in which an adaptive modulation scheme is applied to wireless section communication, the information transmission rate in the wireless section changes according to the propagation path condition. Therefore, it is necessary to perform QoS control in the wireless section so that the necessary network environment can be maintained even if the information transmission rate in the wireless section changes.
[0038]
However, when a conventional QoS control technique in a wired LAN is applied to a wireless communication system in which an adaptive modulation technique is applied to a wireless section, the transmission side of the wireless device reads the header of the transmission data and the label added to the transmission data, and the packet Classifying the data and taking a long processing time, there is a problem in that the transmission delay time increases and the throughput decreases. In addition, when the information transmission rate of the wireless section is larger than the information transmission rate of data input to the transmission side of the wireless device, there is no transmission waiting time in principle in the wireless device, so QoS control is unnecessary. Regardless, there is a problem that a high-speed processor is required because the classification process is always performed, and the device price is increased.
[0039]
Next, a packet transfer apparatus according to an embodiment of the present invention will be described.
FIG. 1 shows a configuration example of the packet transfer apparatus of this example.
The packet transfer apparatus of this example includes a transfer control unit 1, a reception unit 2, and a transmission unit 3.
The transfer control unit 1 includes a lower layer (function unit) 11, an upper layer (function unit) 12, and a switching control unit 13.
[0040]
The lower layer 11 is provided with a reception buffer 21 for storing packets received from the reception unit 2 and a transmission buffer 22 for transmitting packets to the transmission unit 3.
The upper layer 12 includes a classification processing unit 31 that classifies packets received from the lower layer 11, a queue unit 32 having a plurality of n-class queues Q1 to Qn, and a queue of the queue unit 32. A packet reading unit 33 that reads packets from Q1 to Qn is provided.
[0041]
Here, in this example, the queue Q1, queue Q2,..., Queue Qn are in the order of priority, that is, the queue Q1 has the highest priority and the queue Qn has the lowest priority. ing.
[0042]
In this example, the reception buffer 21 has an area for storing one packet, and the transmission buffer 22 has an area for storing a plurality of packets, and the input packets are input from the top in the input order. Store and output. That is, in the transmission buffer 22, the packet stored in the first storage position is input first, and the packet stored in the last storage position is input last.
In this example, each of the queues Q1 to Qn has an area for storing a plurality of packets, and the input packets are stored and output from the top in the input order.
[0043]
The packet transfer apparatus of this example is applied to a wireless communication system, and is applied to data transmission in the wireless communication field.
FIG. 2 shows a configuration example of a wireless communication system using the packet transfer apparatus of this example.
In the example of the figure, a packet transfer device 41 and a wireless device 42 are connected, the packet transfer device 41 outputs a packet input from the outside (not shown) to the wireless device 42, and the wireless device 42 receives an input. The transmitted packet is transmitted from the antenna 43 by radio. In addition, the wireless device 42 outputs information specifying the information transmission speed in the wireless section to the packet transfer device 41.
[0044]
First, an outline of an example of the overall operation performed by the packet transfer apparatus of this example is shown.
In this example, a processing mode 1 in which transfer is performed by the lower layer 11 and a processing mode 2 in which transfer is performed by the upper layer 12 are provided, and an operation example in which the switching control unit 13 switches between these two processing modes 1 and 2 is shown.
The receiver 2 receives a packet transmitted from a transfer source device (not shown). The packet received by the reception unit 2 is stored in the reception buffer 21 of the lower layer 11 of the transfer control unit 1.
[0045]
In the lower layer 11, the process is switched by an instruction of the processing mode from the switching control unit 13.
Specifically, in the lower layer 11, when processing mode 1 is instructed, the received packet stored in the reception buffer 21 is stored in the last storage position of the transmission buffer 22. Further, in the lower layer 11, when the processing mode 2 is instructed, the received packet stored in the reception buffer 21 is sent to the upper layer 12.
[0046]
In the upper layer 12, the classification processing unit 31 reads the header information of the packet received from the lower layer 11, and the like, and the packet corresponds to the priority for each packet in the queues Q1 to Qn for each class. Store in one. In addition, the packet reading unit 33 reads packets from the queues Q1 to Qn for each class according to a rule that considers QoS such as priority, and stores the read packets in the last storage position of the transmission buffer 22 of the lower layer 11.
[0047]
In the lower layer 11, packet data is read in order from the first storage position of the transmission buffer 22 and sent to the transmission unit 3, and the packet sent to the transmission unit 3 is transferred from the transmission unit 3 to a device (in this example, a transfer destination). , Transmitted to the radio device 42).
The packet transfer apparatus of this example transfers a packet by operating as described above.
[0048]
Next, an example of the operation performed by the transfer control unit 1 which is a characteristic part of the packet transfer apparatus of this example will be described.
FIG. 3 shows an example of the procedure of the reception process performed by the transfer control unit 1. When the packet arrives at the receiving unit 2, the transfer control unit 1 receives a control signal for notifying completion of packet reception from the receiving unit 2 (step S1). Then, the transfer control unit 1 reads the packet received from the reception unit 2 and stores it in the reception buffer 21.
[0049]
Next, the lower layer 11 determines the processing mode (step S2). If the processing mode 1 is set, the packet stored in the reception buffer 21 is stored in the last storage position of the transmission buffer 22. (Step S3).
On the other hand, when the processing mode 1 is not set, that is, when the processing mode 2 is set, the lower layer 11 sends the packet stored in the reception buffer 21 to the upper layer 12 (step S4). .
In the upper layer 12, the classification processing unit 31 reads the header information and the like of the packet received from the lower layer 11, and performs queuing of the queues Q1 to Qn for each class based on the read result (step S5).
[0050]
Here, the processing modes 1 and 2 are instructed by the switching control unit 13.
The switching control unit 13 determines the processing mode based on an external signal, and instructs the lower layer 11 and the upper layer 12 to set the processing mode 1 or the processing mode 2.
[0051]
In this example, as shown in FIG. 2 above, the packet transfer device 41 is connected to the wireless device 42 to configure a wireless communication system. As an example, the switching control unit 13 uses a wireless communication signal as an external signal. A signal including information on the information transmission rate in the wireless section is input from the machine 42. Then, the switching control unit 13 specifies the wireless section information transmission speed from the input wireless section information transmission speed information, and the specified wireless section information transmission speed is smaller than a predetermined threshold (when slow). If the signal specifying the processing mode 2 is notified to the lower layer 11 and the upper layer 12 while the specified wireless section information transmission rate is larger than a predetermined threshold (if it is fast), the processing mode A signal designating 1 is notified to the lower layer 11 and the upper layer 12.
[0052]
In this example, the configuration example in which the information on the wireless section information transmission rate is input to the switching control unit 13 and the processing mode is switched based on the wireless section information transmission rate is shown. However, other information is input to the switching control unit 13. A configuration in which the processing mode is switched based on the other information that is input may be used. Examples of the other information include information on the error rate of the transmission path, C / N (Carrier to Noise ratio) information can be used.
[0053]
FIG. 4 shows an example of the procedure of the transmission process performed by the transfer control unit 1.
When the transfer control unit 13 is notified by the control signal that transmission is possible from the transmission unit 3 (transmission is possible) (step S11), the upper layer 12 determines the processing mode (step S12) and performs processing. When mode 2 is set, the packet reading unit 33 reads the packet to be transmitted from the queues Q1 to Qn of the upper layer 12 in consideration of the QoS such as the priority, and the read packet Is stored in the last storage position of the transmission buffer 22 of the lower layer 11 (step S13).
[0054]
On the other hand, when the processing mode 1 is set, the upper layer 12 does not perform any particular processing.
Then, regardless of which processing mode 1 or 2 is set, packets are sequentially read from the top of the transmission buffer 22 of the lower layer 11 and sent to the transmission unit 3 (step S14).
The transmission unit 3 transmits the packet received from the transfer control unit 1, and when the transmission of one packet is completed, notifies the transfer control unit 1 that transmission is possible by a control signal.
As described above, packet transfer is performed in the packet transfer apparatus of this example.
[0055]
Here, the queues Q1 to Qn for each class are queues corresponding to the number of classes classified by the classification processing unit 31. When the queue length of any one of the queues Q1 to Qn becomes larger than a predetermined length, the classification processing unit 31 performs processing such as discarding the packets stored in the queues Q1 to Qn. Do.
[0056]
Further, when the upper layer 12 instructs the packet reading unit 33 to read the packet, the packet reading unit 33 reads the packet considering the QoS such as the priority from the queues Q1 to Qn for each class.
Various methods may be used as a packet reading method in consideration of QoS such as priority. For example, as a generally known method, reading is performed from queues Q1 to Qn in order of priority. Priority queuing method for performing queues, WFQ (Weighted Fair Queuing) method for performing read-out in a round robin manner for each of queues Q1 to Qn, and the transmittable amount for each of queues Q1 to Qn. For example, a CBQ (Class-Based Queuing) method for performing reading can be used.
[0057]
FIG. 5 shows an example of a processing procedure performed by the transfer control unit 1 when the wireless zone information transmission rate is changed and the processing mode is switched.
In this example, when the processing mode 2 is switched to the processing mode 1, the subsequent packet transmission is performed only from the lower layer 11, so that the packets remaining in the queues Q1 to Qn of the upper layer 12 are not left behind. Process to be sent.
[0058]
Specifically, when the transfer control unit 1 switches from the processing mode 2 to the processing mode 1 (step S21), the packet of the packet considering the QoS such as the priority from the class-specific queues Q1 to Qn of the higher layer 12 Reading is performed, and the read packet is stored in the last storage position of the transmission buffer 22 of the lower layer 11. The transfer control unit 1 executes this process until the queues Q1 to Qn for each class of the upper layer 12 become empty.
[0059]
When switching from processing mode 1 to processing mode 2, packets are transmitted from the transmission buffer 22 of the lower layer 11 in order from the top, so that packets are transferred from the lower layer 11 to the upper layer 12. Not necessary.
[0060]
Next, an example of processing performed by the classification processing unit 31 will be shown.
As an example, the classification processing unit 31 can perform processing using a method defined by IEEE 802.1D. Specifically, the classification processing unit 31 reads and reads a label indicating a priority included in transmission data. Based on the label, queuing is performed in the queues Q1 to Qn for each class. This method is effective when, for example, a label indicating priority is added to input data (transmission data), but priority control can be executed when such a label is not added. Can not. Further, the classification processing unit 31 can also perform classification by referring to the TOS (Type Of Service) field of the IP header as in DiffServ.
[0061]
As another example, the classification processing unit 31 can also perform processing for determining priority by analyzing information included in header information of input transmission data.
Here, as a specific example, a method for determining the priority by analyzing the information of the port number included in the header information will be described.
[0062]
FIG. 6A shows an image of communication between computers, and shows a server 51, a client 52, and a transmission path 53 connecting them.
The server 51 has http, telnet, and snmp, TCP, UDP, IP, and lower protocols.
The client 52 has a Web browser, telnet, snmp, TCP, UDP, IP, and lower protocols.
[0063]
FIG. 6B shows an example of an IP packet.
The IP packet shown in FIG. 6B includes an IP header including information on a source IP address, a destination (destination) IP address, and a protocol number (a TCP number in the example of FIG. 5B), a source It is composed of a TCP header including information of a port number and a destination port number, and data.
[0064]
For example, when the client 52 tries to view a page on the server 51 with a Web browser, an IP packet as shown in FIG. 6B is transmitted from the client 52 to the server 51.
In this case, it is possible to identify the application that transmits or receives the IP packet based on the port number included in the TCP header of the IP packet, and is applied based on the protocol number included in the IP header of the IP packet. Can be identified.
[0065]
For example, the port number is 80 for http, 23 for telnet and 21 for ftp, and the protocol number is 6 for TCP and 17 for UDP.
FIG. 7A shows a detailed example of the format of the TCP header, FIG. 7B shows a detailed example of the format of the UDP header, and FIG. A detailed example of the format of the IP header is shown.
[0066]
The TCP header includes a source port number, a destination port number, a sequence number, an acknowledgment number, an offset, a reservation, a code bit, a window size, a checksum, an urgent pointer, an option, Contains padding information.
The UDP header includes source port number, destination port number, packet length, and checksum information.
The IP header includes a version, a header length, a service type, a packet length, an identifier, a flag, a fragment offset, a lifetime, a protocol number, a header checksum, a source IP address, and a destination. IP address, option, and padding information are included.
[0067]
The classification processing unit 31 has a port number-priority correspondence table that stores the correspondence between port numbers and priorities stored in a memory or the like.
FIG. 8 shows an example of the contents of such a port number-priority correspondence table, in which a plurality of port numbers (such as “6000”) correspond to respective priorities (such as “7”). Attached and memorized.
[0068]
Further, the classification processing unit 31 determines the protocol applied by determining the protocol number included in the IP header of the input transmission data (transmission frame). Then, the classification processing unit 31 reads the source port number from the header information of the applied protocol, and when the read source port number is registered in the port number-priority correspondence table, The transmission data is queued in a transmission queue (one of the queues Q1 to Qn) having a priority corresponding to the registered port number. On the other hand, in the classification processing unit 31, when the read source port number is not registered in the port number-priority correspondence table, the transmission data is sent to the default priority transmission queue (queue Q1-Qn). Queuing).
[0069]
As described above, the higher layer 12 performs the operation of determining the priority corresponding to the port number included in the transmission data input from the lower layer 11 as the priority of the transmission data, thereby indicating the port indicating the transmission source application. Priority control of transmission data can be performed corresponding to the number.
[0070]
For example, when the frame of transmission data is an Ethernet (registered trademark) frame, an Ethernet (registered trademark) MAC header is added in front of the above-described IP header, and a destination (transmission destination) is included in the MAC header. Terminal address information and source terminal address information are included.
In such a case, the classification processing unit 31 can perform priority control of transmission data using a MAC address.
[0071]
That is, the classification processing unit 31 includes a MAC address-priority correspondence table that stores a correspondence relationship between MAC addresses and priorities stored in a memory or the like.
FIG. 9 shows an example of the contents of such a MAC address-priority correspondence table, and a plurality of MAC addresses (such as “11-22-33-00-00-01”) and the priority corresponding to each. The degree (“7” or the like) is stored in association with each other.
[0072]
Further, the classification processing unit 31 analyzes the MAC header included in the transmission data, refers to the MAC address-priority correspondence table, and the destination MAC address or the transmission source MAC address of the transmission data corresponds to the MAC address-priority correspondence. If it is registered in the table, the transmission data is queued in a transmission queue (one of queues Q1 to Qn) having a registered priority. On the other hand, if the MAC address is not registered in the MAC address-priority correspondence table, the classification processing unit 31 queues the transmission data to the default transmission queue (any one of the queues Q1 to Qn).
[0073]
As a method for determining the priority by analyzing header information, a method for analyzing various information may be used. For example, a method for analyzing a port number of a transmission source, a destination (transmission destination), or the like. The priority can be determined by a method of analyzing a port number or a method of analyzing a protocol type such as UDP or TCP.
Further, the address of the terminal is not limited to the MAC address, and for example, an IP address or another address can be used.
[0074]
As described above, the packet transfer apparatus of this example includes the transfer control unit 1, the reception unit 2, and the transmission unit 3, and the transfer control unit 1 transmits the packet received from the reception unit 2 from the transmission unit 3. The transfer control unit 1 has two or more different processing forms and performs switching control of these processing forms.
[0075]
Further, in this example, the processing form includes a first processing form (processing form of processing mode 1) that is transmitted from the transmission unit 3 in the order in which the packets received from the reception unit 2 are received. A second processing mode (processing mode 2 processing mode) is included in which the packets are transmitted from the transmission unit 3 in the order in which the packets are rearranged in accordance with a predetermined rule from the order of reception.
[0076]
In this example, the switching control unit 13 inputs an external signal, and performs switching control between the first processing mode and the second processing mode based on the signal.
Further, in this example, in the first processing mode, transfer control of the packet is performed by processing in the lower layer 11, and in the second processing mode, transfer control of the packet is performed by processing in the upper layer 12.
Further, in this example, when the second processing mode is switched to the first processing mode, the packet held in the upper layer 12 is transferred to the lower layer 11.
[0077]
In the packet transfer apparatus of this example, the packet transfer processing form is adaptively controlled to be switched in accordance with the information transmission rate in the wireless section.
Specifically, in the packet transfer apparatus of this example, when the information transmission rate in the radio section on the transmission side is larger than a predetermined threshold, the first packet transfer is performed in the lower layer (lower layer) 11. On the other hand, when the information transmission rate in the radio section on the transmission side is smaller than a predetermined threshold, packet transfer is performed in the higher layer (upper layer) 12 in the second processing mode. Operate.
Further, the upper layer 12 reads packet header information and performs queuing in consideration of QoS such as packet priority. In the lower layer 11, the packets received from the receiving unit 2 or the upper layer 12 are sent to the transmitting unit 22 in order.
[0078]
As a result, when the information transmission rate on the transmission side is smaller than a predetermined threshold, a packet having a high priority is preferentially transmitted from the transmission unit 3, and the information transmission rate on the transmission side is reduced. Can maintain the necessary network environment. On the other hand, when the information transmission rate on the transmission side is larger than a predetermined threshold value, the transfer process is executed only by the lower layer 11, so that a high-speed transfer process can be performed, and an increase in packet transmission delay time and throughput can be achieved. A decrease can be avoided.
[0079]
Furthermore, when the information transmission rate in the wireless section is low, there is a surplus in the processing time for transfer control, and the upper layer 12 can execute the QoS control processing for transmission data using this surplus processing time. Thus, for example, it is not necessary to provide a high-speed processor, and it is possible to provide a high-quality service with inexpensive hardware.
[0080]
Therefore, the packet transfer apparatus of this example is effective in improving the service quality because QoS control of the packet to be transferred is adaptively performed according to the information transmission rate on the transmission side. Further, when the information transmission speed on the transmission side is larger than a predetermined threshold and the transmission rate is high, the transfer process is performed only in the lower layer 11, so that a high-speed transfer process can be realized. Also, when the information transmission rate on the transmission side is smaller than a predetermined threshold and the transmission rate is low, the remaining transmission processing time is reduced by the QoS control because the information transmission rate in the wireless section is reduced (slowed). By allocating to processing, for example, a high-speed processor is not required, and a power saving, small heat generation, small size, and inexpensive system can be realized.
[0081]
In the packet transfer apparatus of this example, the packet transfer means is configured by the functions of the reception unit 2, the transmission unit 3, the lower layer 11 and the upper layer 12, and the packet transfer mode switching unit is configured by the function of the switching control unit 13. It is configured.
Further, in the packet transfer apparatus of this example, the packet receiving unit is configured by the function of the receiving unit 2 and the reception function of the transfer control unit 1, and the packet transmission unit is configured by the function of the transmitting unit 3 and the transmission function of the transfer control unit 1. Is configured.
[0082]
Further, in the packet transfer apparatus of this example, as the function of the first layer 11, the reception buffer means is configured by the function of the reception buffer 21, the transmission buffer means is configured by the function of the transmission buffer 22, and As a function of the second layer 12, a packet classification means is configured by the function of the classification processing unit 31, and a plurality of packet queue means are configured by the functions of the plurality of queues Q1 to Qn. The function of the unit 33 constitutes a packet reading means.
[0083]
In the packet transfer apparatus of this example, a wireless communication unit is configured by the function of the wireless device 42 including the antenna 43.
In the packet transfer apparatus of this example, as a plurality of different transfer modes, a transfer mode in the first processing mode corresponding to the processing mode 1 and a transfer mode in the second processing mode corresponding to the processing mode 2 are provided. It is used.
Further, in the packet transfer apparatus of this example, the reception buffer 21 has an area for storing one packet, but, for example, one that stores a plurality of packets and performs processing in the order received is used. May be.
[0084]
Here, the configurations of the packet transfer apparatus and the wireless communication system according to the present invention are not necessarily limited to those described above, and various configurations may be used. The present invention can also be provided as, for example, a method or method for executing the processing according to the present invention or a program for realizing such a method or method.
The application field of the present invention is not necessarily limited to the above-described fields, and the present invention can be applied to various fields.
[0085]
In addition, as various processes performed in the packet transfer apparatus or the wireless communication system according to the present invention, for example, a control program stored in a ROM (Read Only Memory) in a hardware resource including a processor, a memory, etc. A configuration controlled by execution may be used, and for example, each functional unit for executing the processing may be configured as an independent hardware circuit.
Further, the present invention can be grasped as a computer-readable recording medium such as a floppy (registered trademark) disk or a CD (Compact Disc) -ROM storing the control program, or the program (itself). The processing according to the present invention can be performed by inputting a program from a recording medium to a computer and causing the processor to execute the program.
[0086]
【The invention's effect】
As described above, the packet transfer apparatus according to the present invention has a function of transferring a packet by a plurality of different transfer modes. For example, even when the communication status of a packet changes, the change can be handled. Thus, since the transfer mode for transferring packets is switched, the efficiency of packet transfer can be improved.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of a packet transfer apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a configuration example of a wireless communication system according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating an example of a procedure of reception processing performed by a transfer control unit.
FIG. 4 is a flowchart illustrating an example of a procedure of transmission processing performed by a transfer control unit.
FIG. 5 is a flowchart showing an example of a processing procedure at the time of processing mode switching performed by a transfer control unit.
FIG. 6 is a diagram for explaining an example of processing for determining priority based on header information of transmission data;
FIG. 7 is a diagram illustrating an example of a header format.
FIG. 8 is a diagram illustrating an example of correspondence between port numbers and priorities.
FIG. 9 is a diagram illustrating an example of correspondence between MAC addresses and priorities.
[Explanation of symbols]
1 .... Transfer control unit, 2 .... Reception unit, 3 .... Transmission unit, 11 .... Lower layer,
12 .... Upper layer, 13 .... Switch control unit, 21..Reception buffer,
22 .... Transmission buffer 31 ... Classification processing part 32 ... Queue part
33 ··· Packet reading unit, Q1 to Qn · · queue,
41 .. Packet transfer device, 42 .. Radio equipment, 43 .. Antenna
51 .. Server, 52 .. Client, 53 .. Transmission path,

Claims (1)

パケットを転送するパケット転送装置において、
受信パケットを一時的に記憶する受信バッファ及び送信パケットを一時的に記憶する送信バッファを有する下位レイヤと、
前記下位レイヤの受信バッファに格納された受信パケットが送られた場合に優先度の高いパケットを優先的に送信するように当該受信パケットを前記下位レイヤの送信バッファに格納する上位レイヤと、
前記下位レイヤの受信バッファに格納された受信パケットを前記下位レイヤの送信バッファに格納する第1の転送態様によりパケットを転送する機能と、前記下位レイヤの受信バッファに格納された受信パケットを前記上位レイヤへ送って前記上位レイヤから前記下位レイヤの送信バッファに格納する第2の転送態様によりパケットを転送する機能を有するパケット転送手段と、
情報伝送速度が閾値より小さい場合には前記パケット転送手段によりパケットを転送する転送態様を前記第2の転送態様へ切り替え、情報伝送速度が閾値より大きい場合には前記パケット転送手段によりパケットを転送する転送態様を前記第1の転送態様へ切り替えるパケット転送態様切替手段と、
を備えたことを特徴とするパケット転送装置。
In a packet transfer device that transfers packets,
A lower layer having a reception buffer for temporarily storing received packets and a transmission buffer for temporarily storing transmission packets;
An upper layer that stores the received packet in the lower layer transmission buffer so as to preferentially transmit a high priority packet when the received packet stored in the lower layer reception buffer is sent;
A function of transferring a packet by a first transfer mode in which the received packet stored in the lower layer reception buffer is stored in the lower layer transmission buffer; and a received packet stored in the lower layer reception buffer A packet transfer means having a function of transferring a packet according to a second transfer mode to be sent to a layer and stored in the transmission buffer of the lower layer from the upper layer;
When the information transmission rate is lower than the threshold, the packet transfer unit transfers the packet transfer mode to the second transfer mode, and when the information transmission rate is higher than the threshold, the packet transfer unit transfers the packet. Packet transfer mode switching means for switching the transfer mode to the first transfer mode ;
A packet transfer apparatus comprising:
JP2003115303A 2003-04-21 2003-04-21 Packet transfer device Expired - Fee Related JP3836807B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003115303A JP3836807B2 (en) 2003-04-21 2003-04-21 Packet transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003115303A JP3836807B2 (en) 2003-04-21 2003-04-21 Packet transfer device

Publications (2)

Publication Number Publication Date
JP2004320673A JP2004320673A (en) 2004-11-11
JP3836807B2 true JP3836807B2 (en) 2006-10-25

Family

ID=33474540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003115303A Expired - Fee Related JP3836807B2 (en) 2003-04-21 2003-04-21 Packet transfer device

Country Status (1)

Country Link
JP (1) JP3836807B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070291656A1 (en) * 2006-06-16 2007-12-20 Harris Corporation Method and system for outbound content-based QoS
WO2008050410A1 (en) * 2006-10-25 2008-05-02 Pioneer Corporation Data distribution device, data processor, data distribution method, data processing method, data distribution program, data processing program, and recording medium

Also Published As

Publication number Publication date
JP2004320673A (en) 2004-11-11

Similar Documents

Publication Publication Date Title
US10243865B2 (en) Combined hardware/software forwarding mechanism and method
EP1741250B1 (en) System and method for enhancing network quality of service
JP4847541B2 (en) Method and apparatus for resolving data packet traffic congestion
RU2409898C2 (en) Flexible segmentation scheme for communication systems
EP2959645B1 (en) Dynamic optimization of tcp connections
US10432556B1 (en) Enhanced audio video bridging (AVB) methods and apparatus
US6501741B1 (en) Method supporting the quality of service of data transmission
US7724750B2 (en) Expedited data transmission in packet based network
US20070297375A1 (en) System and method for data transmission in an ad hoc communication network
EP3522479B1 (en) Techniques for efficient multipath transmission
Becchetti et al. Enhancing IP service provision over heterogeneous wireless networks: a path toward 4G
US20060198376A1 (en) Communication device for IP network
US11190980B1 (en) Tag-based data packet routing in dual connectivity systems
JP3645895B2 (en) Wireless transceiver, QoS control device, and transmission data QoS control method
JP2002532959A (en) Wireless local loop system and methods useful therefor
US11936761B2 (en) Tag-based data packet prioritization in dual connectivity systems
JP3836807B2 (en) Packet transfer device
JP4953965B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND PACKET TRANSMISSION METHOD
US8554860B1 (en) Traffic segmentation
Kadhum et al. Congestion-aware TCP-friendly system for multimedia transmission based on UDP
JP3972370B2 (en) Differentiated scheduling method in downlink communication between RNC and Node B in network
GB2404826A (en) Packet router which re-routes packet to an alternative output port when the primary output port buffer is overloaded
JP2004164494A (en) Program arranging method, and packet transfer unit and terminal device capable of using method
Soetens et al. A relative bandwidth differentiated service for TCP micro-flows
Grewal et al. A framework for quality of service in wireless networks

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060526

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060727

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130804

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140804

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees