JP3868248B2 - Packet transmission device, packet reception device, packet multiplexing method, packet separation method - Google Patents

Packet transmission device, packet reception device, packet multiplexing method, packet separation method Download PDF

Info

Publication number
JP3868248B2
JP3868248B2 JP2001309956A JP2001309956A JP3868248B2 JP 3868248 B2 JP3868248 B2 JP 3868248B2 JP 2001309956 A JP2001309956 A JP 2001309956A JP 2001309956 A JP2001309956 A JP 2001309956A JP 3868248 B2 JP3868248 B2 JP 3868248B2
Authority
JP
Japan
Prior art keywords
packet
frame data
basic
data
address
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
JP2001309956A
Other languages
Japanese (ja)
Other versions
JP2003115859A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2001309956A priority Critical patent/JP3868248B2/en
Publication of JP2003115859A publication Critical patent/JP2003115859A/en
Application granted granted Critical
Publication of JP3868248B2 publication Critical patent/JP3868248B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、LANやIP(Internet Protocol)ネットワークなどのコンピュータネットワークにおいて、
低ビットレートに圧縮された音声パケットなどのパケットを送信するスイッチ装置やルータ装置などのパケット送信装置、
上記パケットを受信するスイッチ装置、ルータ装置、端末装置などのパケット受信装置、
複数のパケットを多重した多重パケットを生成するパケット多重方法、
上記多重パケットを個々のパケットに分離するパケット分離方法
に関するものである。
【0002】
【従来の技術】
図8は従来のネットワークの構成図である。図8のネットワークは、スイッチ装置および端末装置などで構成された社内LAN(IEEE802.3標準LAN)であり、例えば圧縮音声パケット通信がなされる。
【0003】
図8のネットワークは、端末装置a,b,c,d,eと、スイッチ装置s1,s2と、バックボーンLANとを含んで構築されている。それぞれのスイッチ装置s1,s2は、ポートPa,Pb,Pc,Pd,Pe,Pf,Pgを備えている。端末装置aはスイッチ装置s1のポートPaに接続され、端末装置bはスイッチ装置s1のポートPdに接続され、端末装置cはスイッチ装置s1のポートPfに接続されている。また、端末装置dはスイッチ装置s2のポートPcに接続され、端末装置eはスイッチ装置s2のポートPfに接続されている。スイッチ装置s1,s2のポートPgは、それぞれバックボーンLANに接続されている。
【0004】
パケット通信において転送されるパケットは、ヘッダ部と、データ部と、フッタ部から構成される。上記のヘッダ部には、同期部、アドレス部、長さ部などが含まれる。また、上記のフッタ部には、フレームチェックシーケンス(FCS)部などが含まれる。上記の同期部はパケットの先頭に配置され、上記のフッタ部はパケットの末尾に配置される。
【0005】
以下の説明において、ヘッダ部およびデータ部をそれぞれ1つずつ含むパケットを、これと異なる構成のパケットと区別するために、特に基本パケットと称する。また、基本パケットを構成するヘッダ部、データ部、およびフッタ部の内の同期部を除くヘッダ部およびデータ部を、特に基本フレームデータ部と称する。従って、基本パケットは、同期部と、基本フレームデータ部と、フッタ部とによって構成されていることになる。
【0006】
上記の同期部には、送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される。上記のアドレス部には、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレスなどが挿入され、IPネットワークではさらに宛先ネットワークアドレス(IPアドレス)が挿入される。上記の長さ部には、その基本パケットまたは基本フレームデータ部の長さデータが挿入される。上記のデータ部には、圧縮音声データなどの送信データが挿入される。上記のFCS部には、その基本パケットまたは基本フレームデータ部の転送エラーをチェックするためのCRC(Cyclic Redundancy Check)などのFCSデータが挿入される。
【0007】
図8の従来のネットワークでは、端末装置から送信された基本パケットは、転送の途中で多重および分離されることなく、送信先の端末装置に転送される。
【0008】
図9は図8のネットワークにおいてのパケット転送を説明する図である。この図9は、端末装置a,b,cがスイッチ装置s1、バックボーンLAN、スイッチ装置s2を介して端末装置d,eと通信しており、端末装置a,b,cから端末装置d,eに基本パケットが転送されるときの図である。
【0009】
図9において、PB(PB−a,PB−b,PB−c)は基本パケットである。また、PSは同期部、To(To−d,To−e)は宛先アドレス(MACアドレス)部、From(From−a,From−b,From−c)は送信元アドレス部、L(L−a,L−b,L−c)は長さ部、DATA(DATA−a,DATA−b,DATA−c)はデータ部、C(C−a,C−b,C−c)はFCS部である。また、MPGは転送されるパケット間に設けられる所定のギャップ(Minimam Packet Gap)である。
【0010】
図9から判るように、基本パケットPBのヘッダ部は、同期部PSと、宛先アドレス部Toと、送信元アドレス部Fromと、長さ部Lとによって構成されている。また、フッタ部は、FCS部Cのみからなる。また、基本フレームデータ部は、宛先アドレス部Toと、送信元アドレス部Fromと、長さ部Lと、データ部DATAとによって構成されている。
【0011】
図9において、端末装置aからスイッチ装置s1のポートPaに基本パケットPB−aが、端末装置cからスイッチ装置s1のポートPfに基本パケットPB−cが、端末装置からスイッチ装置s1のポートPdに基本パケットPB−bが、この順で送信される。
【0012】
基本パケットPB−aは、同期部PSと、基本フレームデータ部(宛先アドレス部To−d、送信元アドレス部From−a、長さ部L−a、データ部DATA−a)と、FCS部C−aとによって構成されている。また、基本パケットPB−cは、同期部PSと、基本フレームデータ部(宛先アドレス部To−d、送信元アドレス部From−c、長さ部L−c、データ部DATA−c)と、FCS部C−cとによって構成されている。また、基本パケットPB−bは、同期部PSと、基本フレームデータ部(宛先アドレス部To−e、送信元アドレス部From−b、長さ部L−b、データ部DATA−b)と、FCS部C−bとによって構成されている。
【0013】
上記の宛先アドレス部To−dの「−d」は、その基本パケットの宛先が端末装置dであることを示し、上記の宛先アドレス部To−eの「−e」は、その基本パケットの宛先が端末装置eであることを示す。従って、基本パケットPB−aおよびPB−cの宛先は端末装置dであり、基本パケットPB−bの宛先は端末装置eである。
【0014】
スイッチ装置s1は、受信した基本パケットPB−aの宛先アドレス部To−dをもとに、この基本パケットPB−aを送信するポートがポートPgであることを判別し、基本パケットPB−aをポートPgからバックボーンLANに送出する。同様に、受信した基本パケットPB−cの宛先アドレス部To−dをもとに、この基本パケットPB−cを送信するポートがポートPgであることを判別し、基本パケットPB−cをポートPgからバックボーンLANに送出する。また、受信した基本パケットPB−bの宛先アドレス部To−eをもとに、この基本パケットPB−bを送信するポートがポートPgであることを判別し、基本パケットPB−bをポートPgからバックボーンLANに送出する。
【0015】
なお、スイッチ装置s1内においては、受信された基本パケットから基本フレームデータ部が分離され、この基本フレームデータ部がスイッチング処理され、スイッチング処理された基本フレームデータ部について基本パケットが再生成され、この再生成され基本パケットが送信される。
【0016】
このように、スイッチ装置s1は、受信した基本パケットPB−a,PB−c,PBーbを順次バックボーンLANに送出する。このとき、それぞれのパケット間には、ギャップMPGが設けられる。
【0017】
バックボーンLANに順次送出された基本パケットPB−a,PB−cPB−bは、宛先の端末装置d,eがリンクされているスイッチ装置s2のポートPgで順次受信される。
【0018】
スイッチ装置s2は、受信した基本パケットPB−aの宛先アドレス部To−dをもとに、この基本パケットPB−aを送信するポートがポートPcであることを判別し、基本パケットPB−aをポートPcから端末装置dに送出する。同様に、受信した基本パケットPB−cの宛先アドレス部To−dをもとに、この基本パケットPB−cを送信するポートがポートPcであることを判別し、基本パケットPB−cをポートPcから端末装置dに送出する。また、受信した基本パケットPB−bの宛先アドレス部To−eをもとに、この基本パケットPB−bを送信するポートがPfであることを判別し、基本パケットPB−bをポートPfから端末装置eに送出する。
【0019】
なお、スイッチ装置s2内においても、受信された基本パケットから基本フレームデータ部が分離され、この基本フレームデータ部がスイッチング処理され、スイッチング処理された基本フレームデータ部について基本パケットが再生成され、この再生成され基本パケットが送信される。
【0020】
このように、スイッチ装置s2は、受信した基本パケットPB−a,PB−cを端末装置dに順次送信するとともに、受信した基本パケットPB−bを端末装置eに順次送信する。このとき、基本パケットPB−aとPB−cのパケット間には、ギャップMPGが設けられる。
【0021】
図10および図11は図8のスイッチ装置s(s1,s2)の内部構成図であるとともに、スイッチ装置sにおいてのパケットスイッチング処理を説明する図である。図10および図11において、PB(PB−1,PB−2)は基本パケット、PSは同期部、FDB(FDB−1,FDB−2)は基本パケットPBの基本フレームデータ部、C(C−1,C−2)は基本フレームデータ部FDBについてのFCS部である。また、MPGはパケット間ギャップである。
【0022】
図10および図11において、スイッチ装置sは、ポートP(P1,P2,P3,…,P7)と、物理層制御ジュールPHY(PHY1,PHY2,PHY3,…,PHY7)と、メディアアクセス制御モジュールmac(mac1,mac2,mac3,…,mac7)と、バファメモリBUF(BUF1,BUF2,BUF3,…,BUF7)と、スイッチングジュールSWMと、アドレステーブルADTとを備えている。
【0023】
物理層制御モジュールPHYは、物理層を制御するモジュールである。この物理層制御モジュールPHYは、ポートPに入力された基本パケットPBを、メディアアクセス制御モジュールmacに適合する信号に変換してメディアアクセス制御モジュールmacに送るとともに、メディアアクセス制御モジュールmacから出力された基本パケットPBを、ポートPの接続ケーブルに適合した信号に変換してポートPから送信する。
【0024】
メディアアクセス制御モジュールmacは、データリンク層を制御するモジュールである。このメディアアクセス制御モジュールmacは、接続されたポートPが基本パケットPBの受信ポートとなるときには、パケットスイッチング処理の受信側処理を担当し、接続されたポートPが基本パケットPBの送信ポートとなるときには、パケットスイッチング処理の送信側処理を担当する。
【0025】
バファメモリBUFには、スイッチング処理される基本フレームデータ部FDBが一時的に保持される。
【0026】
アドレステーブルADTには、送信ポートごとの宛先アドレスが記録されている。
【0027】
スイッチングジュールSWMは、メディアアクセス制御モジュールmacからバファメモリBUFに転送された基本フレームデータ部FDBの宛先アドレスをアドレステーブルADTで検索することによって、その基本フレームデータ部FDBを送信するポートを判別し、その基本フレームデータ部FDBをその送信ポートのバファメモリBUFに転送する。
【0028】
図10のパケットスイッチング処理では、ポートP2で受信された基本パケットPB−1およびポートP3で受信された基本パケットPB−2が、パケット間ギャップMPGでポートP1から順次送信される。この図10のパケットスイッチング処理は、図9のパケット転送においてはスイッチ装置s1での処理に相当する。従って、図10のポートP1,P2,P3は、図8のスイッチ装置s1のポートPa,Pd,Pgにそれぞれ相当する。
【0029】
図10において、物理層制御ジュールPHY2は、ポートP2に入力された基本パケットPB−1をメディアアクセス制御モジュールmac2に送る。同様に、物理層制御ジュールPHY3は、ポートP3に入力された基本パケットPB−2をメディアアクセス制御モジュールmac3に送る。
【0030】
メディアアクセス制御モジュールmac2は、基本パケットPB−1のFCS部C−1のFCSデータによって基本フレームデータ部FDB−1の転送エラーをチェックする。そして、転送エラーがなければ、基本パケットPB−1に含まれる長さ部の長さデータをもとに、基本パケットPB−1から基本フレームデータ部FDB−1を分離し、この基本フレームデータ部FDB−1をバッファメモリBUF2に送る。同様に、メディアアクセス制御モジュールmac3は、基本パケットPB−2のFCS部C−2のFCSデータによって基本フレームデータ部FDB−2の転送エラーをチェックする。そして、転送エラーがなければ、基本パケットPB−2に含まれる長さ部の長さデータをもとに、基本パケットPB−2から基本フレームデータ部FDB−2を分離し、この基本フレームデータ部FDB−2をバッファメモリBUF3に送る。
【0031】
スイッチングモジュールSWMは、基本フレームデータ部FDB−1の宛先アドレスを参照し、この宛先アドレスをアドレステーブルADTで検索することによって、基本フレームデータ部FDB−1を送信するポートがポートP1であることを判別する。そして、基本フレームデータ部FDB−1を、バッファメモリBUF1を介してメディアアクセス制御モジュールmac1に送る。同様に、スイッチングモジュールSWMは、基本フレームデータ部FDB−2の宛先アドレスを参照し、この宛先アドレスをアドレステーブルADTで検索することによって、基本フレームデータ部FDB−2のを送信するポートがポートP1であることを判別する。そして、基本フレームデータ部FDB−2を、バッファメモリBUF1を介してメディアアクセス制御モジュールmac1に送る。
【0032】
メディアアクセス制御モジュールmac1は、基本フレームデータ部FDB−1についてのFCS部C−1を再生成し、基本フレームデータ部FDB−1に同期部PSおよびFCS部C−1を付して基本パケットPB−1を再生成し、この基本パケットPB−1を物理層制御モジュールPHY1に送る。同様に、メディアアクセス制御モジュールmac1は、基本フレームデータ部FDB−2についてのFCS部C−2を再生成し、基本フレームデータ部FDB−2に同期部PSおよびFCS部C−2を付して基本パケットPB−2を再生成し、この基本パケットPB−2を、パケット間ギャップMPGを設けて物理層制御モジュールPHY1に送る。
【0033】
物理層制御モジュールPHY1は、基本パケットPB−1およびPB−2を別々にポートP1から順次送信する。
【0034】
なお、図10において、基本パケットPB−1とPB−2が、パケット間ギャップMPGをおいてともにポートP2で受信されるのであれば、物理層制御モジュールPHY2は、これらの基本パケットをメディアアクセス制御モジュールmac2に順次送る。メディアアクセス制御モジュールmac2は、これらの基本パケットPB−1,PB−2から基本フレームデータ部FDB−1,FDB−2を順次分離し、これらの基本フレームデータ部FDB−1,FDB−2をバッファメモリBUF2に順次送る。
【0035】
図11のパケットスイッチング処理では、ポートP1で順次受信された基本パケットPB−1およびPB−2が、ポートP2,P3からそれぞれ送信される。この図11のパケットスイッチング処理は、図9のパケット転送においてはスイッチ装置s2での処理に相当する。従って、図11のポートP1,P2,P3は、図8のスイッチ装置s2のポートPg,Pc,Pfにそれぞれ相当する。
【0036】
図11において、物理層制御ジュールPHY1は、ポートP1に入力された基本パケットPB−1をメディアアクセス制御モジュールmac1に送る。同様に、物理層制御ジュールPHY1は、基本パケットPB−1からパケット間ギャップMPGを設けてポートP1に入力された基本パケットPB−2を、メディアアクセス制御モジュールmac1に送る。
【0037】
メディアアクセス制御モジュールmac1は、基本パケットPB−1のFCS部C−1のFCSデータによって基本フレームデータ部FDB−1の転送エラーをチェックする。そして、転送エラーがなければ、基本パケットPB−1に含まれる長さ部の長さデータをもとに、基本パケットPB−1から基本フレームデータ部FDB−1を分離し、この基本フレームデータ部FDB−1をバッファメモリBUF1に送る。同様に、メディアアクセス制御モジュールmac1は、基本パケットPB−2のFCS部C−2のFCSデータによって基本フレームデータ部FDB−2の転送エラーをチェックする。そして、転送エラーがなければ、基本パケットPB−2に含まれる長さ部の長さデータをもとに、基本パケットPB−2から基本フレームデータ部FDB−2を分離し、この基本フレームデータ部FDB−2をバッファメモリBUF1に送る。
【0038】
スイッチングモジュールSWMは、基本フレームデータ部FDB−1の宛先アドレスを参照し、この宛先アドレスをアドレステーブルADTで検索することによって、基本フレームデータ部FDB−1を送信するポートがポートP2であることを判別する。そして、基本フレームデータ部FDB−1を、バッファメモリBUF2を介してメディアアクセス制御モジュールmac2に送る。同様に、スイッチングモジュールSWMは、基本フレームデータ部FDB−2の宛先アドレスを参照し、この宛先アドレスをアドレステーブルADTで検索することによって、基本フレームデータ部FDB−2の出力ポートがポートP3であることを判別する。そして、基本フレームデータ部FDB−2を、バッファメモリBUF3を介してメディアアクセス制御モジュールmac3に送る。
【0039】
メディアアクセス制御モジュールmac2は、基本フレームデータ部FDB−1についてのFCS部C−1を再生成し、基本フレームデータ部FDB−1に同期部PSおよびFCS部C−1を付して基本パケットPB−1を再生成し、この基本パケットPB−1を物理層制御モジュールPHY2に送る。同様に、メディアアクセス制御モジュールmac3は、基本フレームデータ部FDB−2についてのFCS部C−2を再生成し、基本フレームデータ部FDB−2に同期部PSおよびFCS部C−2を付して基本パケットPB−2を再生成し、この基本パケットPB−2を物理層制御モジュールPHY3に送る。
【0040】
物理層制御モジュールPHY2は、基本パケットPB−1をポートP2から送信する。同様に、物理層制御モジュールPHY3は、基本パケットPB−2をポートP3から送信する。
【0041】
なお、図11において、基本パケットPB−1とPB−2が、ともにポートP2から送信されるのであれば、スイッチングモジュールSWMは、これらの基本パケットの基本フレームデータ部FDB−1,FDB−2を、バッファメモリBUF2を介してメディアアクセス制御モジュールmac2に順次送る。メディアアクセス制御モジュールmac2は、これらの基本フレームデータ部FDB−1,FDB−2についての基本パケットPB−1,PB−2を順次再生成し、これらの基本パケットPB−1,PB−2を物理層制御モジュールPHY2に順次送る。
【0042】
このように、メディアアクセス制御モジュールmacは、図10のmac2,mac3や図11のmac1のようにパケット受信側となるときには、受信された基本パケットPBの基本フレームデータ部FDBの転送エラーをそのFCS部CのFCSデータによってチェックし、その基本パケットPBから基本フレームデータ部FDBを分離する。
【0043】
また、メディアアクセス制御モジュールmacは、図10のmac1や図11のmac2,mac3のようにパケット送信側となるときには、送信される基本フレームデータ部FDBについてのFCS部Cを生成し、その基本フレームデータ部FDBに同期部PSおよびFCS部Cを付加して、送信する基本パケットPBを生成する。
【0044】
【発明が解決しようとする課題】
しかしながら、VoIP(Voice over IP)などの技術がこれから広まると、ネットワーク上では、圧縮音声パケットのようなパケット長の短いパケット(小さいパケット)が多数転送され、データ転送効率が悪くなり、これによってネットワークの使用効率が悪くなることが予想される。一般的に、パケット交換網においては、転送されるパケットが小さいほど、データ転送効率が悪くなる。従って、圧縮音声パケットのような小さいパケットが多数転送されれば、その分ネットワークの使用効率が悪くなる。今後の動向として、音声や画像データについてはさらなる高圧縮化がなされると考えられるので、これらの小さいパケットを効率的に転送する手段が望まれている。
【0045】
また、例えば、IEEE802.3標準LANにおいては、10[バイト]の音声データを10[ms]ごとに送信しなければならないので、8[kbps]に圧縮された音声パケットを転送するには、IEEE802.3標準LANの最小パケット長64[バイト]を満足するように、10[バイト]の音声データにダミーデータを付加して送信する必要があった。このIEEE802.3標準LANのように、パケットにダミーデータを付加する場合には、さらにデータ転送効率が悪くなってしまう。なお、IEEE802.3標準LANでは、同軸ケーブルによって半2重通信のLANを構成していた初期の頃に、転送データの衝突(コリジョン)を回避するためにコリジョンウインドを64[バイトタイム]としていたことから、上記の最小パケット長の制限がある。
【0046】
本発明は、このような課題を解決するためになされたものであり、データ転送効率(ネットワークの使用効率)を上げることができるパケット送信装置、パケット受信装置、パケット多重方法、パケット分離方法を提供することを目的とするものである。
【0047】
【課題を解決するための手段】
上記の目的を達成するために、本発明のパケット送信装置は、
パケットの先頭に配置されて送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される同期部、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレス及びIPネットワーク経由の場合の宛先ネットワークアドレス(IPアドレス)が挿入されるアドレス部、及びそのパケットまたはフレームデータ部の長さデータが挿入される長さ部が含まれる1つのヘッダ部と、送信データが挿入される1つのデータ部と、パケットの末尾に配置されてエラーをチェックするためのフレームチェックシーケンス(FCS)部が含まれるフッタ部とから構成される基本パケットをパケット通信により送信するパケット送信装置であって、
上記基本パケットから、上記長さデータに基づいて同期部を除いたヘッダ部およびデータ部を基本フレームデータ部として分離し、上記ヘッダ部の上記長さ部には、上記基本フレームデータ部の長さデータが挿入されて、複数の上記基本パケットの上記基本フレームデータ部配置した複合フレームデータ部を生成するとともに、上記複合フレームデータ部についてのフッタ部を生成し、上記複合フレームデータ部に同期部および上記生成したフッタ部を付加して多重パケットを生成する多重手段と、
上記多重パケットをポートから送信する送信手段と
を備えたものである。
【0048】
また、本発明のパケット受信装置は、
パケットの先頭に配置されて送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される同期部、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレス及びIPネットワーク経由の場合の宛先ネットワークアドレス(IPアドレス)が挿入されるアドレス部、及びそのパケットまたはフレームデータ部の長さデータが挿入される長さ部が含まれる1つのヘッダ部と、送信データが挿入される1つのデータ部と、パケットの末尾に配置されてエラーをチェックするためのフレームチェックシーケンス(FCS)部が含まれるフッタ部とから構成される基本パケットをパケット通信により受信するパケット受信装置であって、
上記基本パケットから、上記長さデータに基づいて同期部を除いたヘッダ部およびデータ部を基本フレームデータ部として分離し、上記ヘッダ部の上記長さ部には、上記基本フレームデータ部の長さデータが挿入されて、複数の上記基本パケットの上記基本フレームデータ部配置した複合フレームデータ部に同期部および上記複合フレームデータ部についてのフッタ部が付加された多重パケットを受信する受信手段と、
上記多重パケットを構成する個々の基本フレームデータ部の長さデータをもとに、上記多重パケットから個々の基本フレームデータ部を分離する分離手段と
を備えたものである。
【0049】
また、本発明のパケット多重方法は、
パケットの先頭に配置されて送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される同期部、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレス及びIPネットワーク経由の場合の宛先ネットワークアドレス(IPアドレス)が挿入されるアドレス部、及びそのパケットまたはフレームデータ部の長さデータが挿入される長さ部が含まれる1つのヘッダ部と、送信データが挿入される1つのデータ部と、パケットの末尾に配置されてエラーをチェックするためのフレームチェックシーケンス(FCS)部が含まれるフッタ部とから構成される基本パケットをパケット通信により送信する際に、
上記基本パケットから、上記長さデータに基づいて同期部を除いたヘッダ部およびデータ部を基本フレームデータ部として分離し、上記ヘッダ部の上記長さ部には、上記基本フレームデータ部の長さデータが挿入されて、複数の上記基本パケットの上記基本フレームデータ部複合した多重パケットを生成するパケット多重方法であって、
上記複数の基本フレームデータ部を配置した複合フレームデータ部を生成するステップと、
上記複合フレームデータ部についてのフッタ部を生成するステップと、
上記複合フレームデータ部に同期部および上記生成したフッタ部を付加して多重パケットを生成するステップと
を含むものである。
【0050】
また、本発明のパケット分離方法は、パケットの先頭に配置されて送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される同期部、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレス及びIPネットワーク経由の場合の宛先ネットワークアドレス(IPアドレス)が挿入されるアドレス部、及びそのパケットまたはフレームデータ部の長さデータが挿入される長さ部が含まれる1つのヘッダ部と、送信データが挿入される1つのデータ部と、パケットの末尾に配置されてエラーをチェックするためのフレームチェックシーケンス(FCS)部が含まれるフッタ部とから構成される基本パケットをパケット通信により受信する際に、
上記基本パケットから、上記長さデータに基づいて同期部を除いたヘッダ部およびデータ部を基本フレームデータ部として分離し、上記ヘッダ部の上記長さ部には、上記基本フレームデータ部の長さデータが挿入されて、複数の上記基本パケットの上記基本フレームデータ部配置した複合フレームデータ部に同期部および上記複合フレームデータ部についてのフッタ部が付加された多重パケットを、個々の基本フレームデータ部に分離するパケット分離方法であって、
上記多重パケットを構成する個々の基本フレームデータ部の長さデータをもとに、上記多重パケットについての上記個々の基本フレームデータ部の境界を判別するステップと、
上記の境界に従って多重パケットから個々の基本フレームデータ部を分離するステップと
を含むものである。
【0051】
【発明の実施の形態】
実施の形態1
図1は本発明の実施の形態1のネットワークの構成図である。図1のネットワークは、スイッチ装置および端末装置などで構成された社内LAN(IEEE802.3標準LAN)であり、例えば圧縮音声パケット通信がなされる。
【0052】
図1のネットワークは、端末装置A,B,C,D,Eと、スイッチ装置S1,S2と、バックボーンLANとを含んで構築されている。それぞれのスイッチ装置S1,S2は、ポートPa,Pb,Pc,Pd,Pe,Pf,Pgを備えている。端末装置Aはスイッチ装置S1のポートPaに接続され、端末装置Bはスイッチ装置S1のポートPdに接続され、端末装置Cはスイッチ装置S1のポートPfに接続されている。また、端末装置Dはスイッチ装置S2のポートPcに接続され、端末装置Eはスイッチ装置S2のポートPfに接続されている。スイッチ装置S1,S2のポートPgは、それぞれバックボーンLANに接続されている。
【0053】
以下の説明において、ヘッダ部およびデータ部をそれぞれ1つずつ含むパケットを、これと異なる構成のパケットと区別するために、特に基本パケットと称する。また、基本パケットを構成するヘッダ部、データ部、およびフッタ部の内の同期部を除くヘッダ部およびデータ部を、特に基本フレームデータ部と称する。従って、基本パケットは、同期部と、基本フレームデータ部と、フッタ部とによって構成されていることになる。
【0054】
この実施の形態1のネットワークでは、端末装置から送信されるパケットは基本パケットのみであるが、スイッチ装置において複数の基本パケットの基本フレームデータ部を複合した複合フレームデータ部を含む多重パケットが生成されるので、基本パケットに加え、上記の多重パケットの転送がなされる。
【0055】
図2は図1のネットワークにおいてのパケット転送を説明する図である。この図2は、端末装置A,B,Cがスイッチ装置S1、バックボーンLAN、スイッチ装置S2を介して端末装置D,Eと通信しており、端末装置A,B,Cから端末装置D,Eにパケットが転送されるときの図である。
【0056】
図2において、PB(PB−A,PB−B,PB−C)は基本パケット、PM(PM−1,PM−2)は多重パケットである。また、PSは同期部、To(To−D,To−E)は宛先アドレス(MACアドレス)部、From(From−A,From−B,From−C)は送信元アドレス部、L(L−A,L−B,L−C)は長さ部、DATA(DATA−A,DATA−B,DATA−C)はデータ部、C(C−A,C−B,C−C,C−M1,C−M2)はFCS部である。
【0057】
図2から判るように、基本パケットPBのヘッダ部は、同期部PSと、宛先アドレス部Toと、送信元アドレス部Fromと、長さ部Lとによって構成されている。また、基本パケットPBのフッタ部は、FCS部Cのみからなる。また、基本フレームデータ部は、宛先アドレス部Toと、送信元アドレス部Fromと、長さ部Lと、データ部DATAとによって構成されている。
【0058】
同期部PSには、送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される。宛先アドレス部Toには、宛先アドレス(MACアドレス)が挿入される。送信元アドレス部Fromには、送信元アドレスが挿入される。長さ部Lには、そのパケットまたは基本フレームデータ部の長さデータが挿入される。データ部DATAには、圧縮音声データなどの送信データが挿入される。基本パケットPBのFCS部Cには、その基本パケットの基本フレームデータ部の転送エラーをチェックするためのCRCなどのFCSデータが挿入される。
【0059】
また、図2から判るように、多重パケットPMは、同期部PSと、複数の基本パケットPBの基本フレームデータ部を配置した複合フレームデータ部と、フッタ部であるFCS部Cとによって構成されている。多重パケットPMのFCS部Cには、その多重パケットの複合フレームデータ部の転送エラーをチェックするためのCRCなどのFCSデータが挿入される。
【0060】
図2において、端末装置Aからスイッチ装置S1のポートPaに基本パケットPB−Aが、端末装置Cからスイッチ装置S1のポートPdに基本パケットPB−Cが、端末装置Bからスイッチ装置S1のポートPdに基本パケットPB−Bが、この順で送信される。
【0061】
基本パケットPB−Aは、同期部PSと、基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−A、長さ部L−A)と、FCS部C−Aとによって構成されている。また、基本パケットPB−Cは、同期部PSと、基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−C、長さ部L−C、データ部DATA−C)と、FCS部C−Cとによって構成されている。また、基本パケットPB−Bは、同期部PSと、基本フレームデータ部(宛先アドレス部To−E、送信元アドレス部From−B、長さ部L−B、データ部DATA−B)と、FCS部C−Bとによって構成されている。
【0062】
上記の宛先アドレス部To−Dの「−D」は、その基本パケットの宛先が端末装置Dであることを示し、上記の宛先アドレス部To−Eの「−E」は、その基本パケットの宛先が端末装置Dであることを示す。従って、基本パケットPB−AおよびPB−Cの宛先は端末装置Dであり、基本パケットPB−Bの宛先は端末装置Eである。
【0063】
スイッチ装置S1は、受信した基本パケットPB−A,PB−C,PB−Bのそれぞれに含まれている宛先アドレス部Toをもとに、これらの基本パケットを送信するポートがいずれもポートPgであると判別する。そして、これらの基本パケットを多重して1つの多重パケットPM−1を生成し、この多重パケットPM−1をポートPgからバックボーンLANに送出する。
【0064】
なお、スイッチ装置S1内においては、受信されたパケット(基本パケットおよび多重パケット)から基本フレームデータ部が分離され、この基本フレームデータ部がスイッチング処理される。
【0065】
多重パケットPM−1は、同期部PSと、基本パケットPB−A,PB−C,PB−Bの3つの基本フレームデータ部を複合する複合フレームデータ部と、上記の複合フレームデータ部についてのFCS部C−M1とによって構成されている。上記の複合フレームデータ部は、基本パケットPB−Aの基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−A、長さ部L−A、データ部DATA−A)と、基本パケットPB−Cの基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−C、長さ部L−C、データ部DATA−C)と、基本パケットPB−Bの基本フレームデータ部(宛先アドレス部To−E、送信元アドレス部From−B、長さ部L−B、データ部DATA−B)とによって構成されている。
【0066】
このように、多重パケットPM−1は、基本パケットPB−A,PB−C,PB−Bの3つの基本フレームデータ部を配置した複合フレームデータ部を生成し、この複合フレームデータ部に、同期部PSを付加するとともに、上記の複合フレームデータ部についてのFCS部C−M1を生成して付加したものである。
【0067】
バックボーンLANに送出された多重パケットPM−1は、宛先の端末装置D,Eがリンクされているスイッチ装置S2のポートPgで受信される。
【0068】
スイッチ装置S2は、受信したパケットPM−1に含まれている長さ部Lの長さデータをもとに、このパケットPM−1が多重パケットであることを判別する。そして、この多重パケットPM−1に含まれている3つの長さ部Lの長さデータをもとに、この多重パケットPM−1を3つの基本パケットPB−A,PB−C,PB−Bに分離する。
【0069】
さらに、スイッチ装置S2は、分離した基本パケットPB−A,PB−C,PB−Bのそれぞれに含まれている宛先アドレス部Toの宛先アドレスをもとに、3つの基本パケットPB−A,PB−C,PB−Bの内、基本パケットPB−AおよびPB−Cを送信するポートが同じポートPcであり、基本パケットPB−Bを送信するポートがポートPfであると判別する。
【0070】
そして、スイッチ装置S2は、2つの基本パケットPB−AおよびPB−Cを多重した多重パケットPM−2を生成し、この多重パケットPM−2をポートPcから端末装置Dに送信する。また、基本パケットPB−Bのフレームデータ部についての基本パケットPB−Bを再生成し、この基本パケットPB−BをポートPfから端末装置Eに送信する。
【0071】
なお、スイッチ装置S2内においては、受信されたパケット(基本パケットおよび多重パケット)から基本フレームデータ部が分離され、この基本フレームデータ部がスイッチング処理される。
【0072】
多重パケットPM−2は、同期部PSと、基本パケットPB−A,PB−Cの2つの基本フレームデータ部を複合する複合フレームデータ部と、上記の複合フレームデータ部についてのFCS部C−M2とによって構成されている。上記の複合フレームデータ部は、基本パケットPB−Aの基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−A、長さ部L−A、データ部DATA−A)と、基本パケットPB−Cの基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−C、長さ部L−C、データ部DATA−C)とによって構成されている。
【0073】
このように、多重パケットPM−2は、基本パケットPB−A,PB−Cの2つの基本フレームデータ部を配置した複合フレームデータ部を生成し、この複合フレームデータ部に、同期部PSを付加するとともに、上記の複合フレームデータ部についてのFCS部C−M2を生成して付加したものである。
【0074】
また、再生成された基本パケットPB−Bは、同期部PSと、基本フレームデータ部(宛先アドレス部To−E、送信元アドレス部From−B、長さ部L−B、データ部DATA−B)と、再生成されたFCS部C−Bとによって構成されている。
【0075】
端末装置Dは、スイッチ装置S2と同様のパケット分離処理によって、受信した多重パケットPM−2を2つの基本フレームデータ部に分離する。そして、これらの基本フレームデータ部からそれぞれデータ部DATA−A,DATA−Cを分離する。また、端末装置Eは、受信した基本パケットPB−Bから基本フレームデータ部を分離する。そして、この基本フレームデータ部からデータ部DATA−Bを分離する。
【0076】
図3および図4は図1のスイッチ装置S(S1,S2)の内部構成図であるとともに、スイッチ装置Sにおいてのパケットスイッチング処理を説明する図である。図3はパケット多重処理を説明する図であり、図4はパケット分離処理を説明する図である。図3および図4において、図10および図11と同じものあるいは相当するものには同じ符号を付してあり、PB(PB−1,PB−2)は基本パケット、PM(PM−3)は多重パケット、PSは同期部、FDB(FDB−1,FDB−2)は基本パケットPBの基本フレームデータ部、FDM(FDM−3)は多重パケットPMの複合フレームデータ部、C(C−1,C−2,C−3)は基本フレームデータ部FDBまたは複合フレームデータ部FDMについてのFCS部である。
【0077】
図3および図4において、スイッチ装置Sは、ポートP(P1,P2,P3,…,P7)と、物理層制御モジュールPHY(PHY1,PHY2,PHY3,…,PHY7)と、メディアアクセス制御モジュールMAC(MAC1,MAC2,MAC3,…,MAC7)と、バファメモリBUF(BUF1,BUF2,BUF3,…,BUF7)と、スイッチングモジュールSWMと、アドレステーブルADTとを備えている。
【0078】
この実施の形態1のスイッチ装置Sは、従来のスイッチ装置s(図10および図11参照)において、メディアアクセス制御モジュールmacをメディアアクセス制御モジュールMACに変更した構成である。
【0079】
物理層制御モジュールPHYは、物理層を制御するモジュールである。この物理層制御モジュールPHYは、ポートPに入力されたパケット(基本パケットPBまたは多重パケットPM)を、メディアアクセス制御モジュールMACに適合する信号に変換してメディアアクセス制御モジュールMACに送るとともに、メディアアクセス制御モジュールMACから出力されたパケット(基本パケットPBまたは多重パケットPM)を、ポートPの接続ケーブルに適合した信号に変換してポートPから送信する。
【0080】
アドレステーブルADTには、送信ポートごとの宛先アドレスが記録されている。
【0081】
メディアアクセス制御モジュールMACは、データリンク層を制御するモジュールである。このメディアアクセス制御モジュールMACは、接続されたポートPが基本パケットPBまたは多重パケットPMの受信ポートとなるときには、パケット分離処理を含むパケットスイッチング処理の受信側処理を担当し、接続されたポートPが基本パケットPBまたは多重パケットPMの送信ポートとなるときには、パケット多重処理を含むパケットスイッチング処理の送信側処理を担当する。
【0082】
バファメモリBUFには、スイッチング処理される基本フレームデータ部FDBが一時的に保持される。
【0083】
スイッチングジュールSWMは、メディアアクセス制御モジュールMACからバファメモリBUFに転送された基本フレームデータ部FDBの宛先アドレスをアドレステーブルADTで検索することによって、その基本フレームデータ部FDBを送信するポートを判別し、その基本フレームデータ部FDBをその送信ポートのバファメモリBUFに転送する。
【0084】
図3のパケットスイッチング処理(パケット多重処理)では、ポートP2で受信された基本パケットPB−1およびポートP3で受信された基本パケットPB−2が、1つの多重パケットPM−に多重され、この多重パケットPM−がポートP1から送信される。この図3のパケット多重処理は、図2のパケット転送においてはスイッチ装置S1での処理に相当する。従って、図3のポートP1,P2,P3は、図1のスイッチ装置S1のポートPg,Pa,Pdにそれぞれ相当する。
【0085】
図3において、物理層制御ジュールPHY2は、ポートP2で受信したパケットPB−1をメディアアクセス制御モジュールMAC2に送る。同様に、物理層制御ジュールPHY3は、ポートP3で受信したパケットPB−2をメディアアクセス制御モジュールMAC3に送る。
【0086】
メディアアクセス制御モジュールMAC2は、受信されたパケットPB−1のFCS部C−1のFCSデータによってフレームデータ部FDB−1の転送エラーをチェックする。そして、転送エラーがなければ、パケットPB−1に含まれているいずれかの長さ部の長さデータ(基本パケットまたは基本フレーデータ部の長さデータ)を参照し、この長さデータと受信されたパケットPB−1またはフレームデータ部FDB−1の実際のデータ長とを比較することによって、このパケットPB−1が多重パケットであるか否かを判別する。
【0087】
そして、メディアアクセス制御モジュールMAC2は、このパケットPB−1が基本パケットであると判別して、この基本パケットPB−1を構成するフレームデータ部FDB−1に含まれる長さデータをもとに、基本パケットPB−1から基本フレームデータ部FDB−1を分離し、この基本フレームデータ部FDB−1をバッファメモリBUF2に送る。
【0088】
例えば、メディアアクセス制御モジュールMAC2は、パケットPB−1の長さ部に挿入されている長さデータと、フレームデータ部FDB−1の実際のデータ長とを比較する。そして、これらが一致することによって、パケットPB−1が基本パケットであると判別する。
【0089】
同様に、メディアアクセス制御モジュールMAC3は、受信されたパケットPB−2のFCS部C−2のFCSデータによって基本フレームデータ部FDB−2の転送エラーをチェックする。そして、転送エラーがなければ、パケットPB−2に含まれているいずれかの長さ部の長さデータ(基本パケットまたは基本フレーデータ部の長さデータ)を参照し、この長さデータと受信されたパケットPB−1またはフレームデータ部FDB−2の実際のデータ長とを比較することによって、このパケットPB−2が多重パケットであるか否かを判別する。
【0090】
そして、メディアアクセス制御モジュールMAC3は、このパケットPB−2が基本パケットであると判別して、この基本パケットPB−2を構成する基本フレームデータ部FDB−2に含まれる長さデータをもとに、基本パケットPB−2から基本フレームデータ部FDB−2を分離し、この基本フレームデータ部FDB−2をバッファメモリBUF3に送る。
【0091】
なお、上記のポートP2,P3が端末装置に接続されている場合には、端末装置から送信されてそのポートで受信されるパケットは、基本パケットのみであるので、受信されたパケットが多重パケットであるか否かの上記の判別は、省略可能である。
【0092】
スイッチングモジュールSWMは、基本フレームデータ部FDB−1の宛先アドレスを参照し、この宛先アドレスをアドレステーブルADTで検索することによって、基本フレームデータ部FDB−1を送信するポートがポートP1であることを判別する。そして、基本フレームデータ部FDB−1を、バッファメモリBUF1を介してメディアアクセス制御モジュールMAC1に送る。同様に、スイッチングモジュールSWMは、基本フレームデータ部FDB−2の宛先アドレスを参照し、この宛先アドレスをアドレステーブルADTで検索することによって、基本フレームデータ部FDB−2を送信するポートがポートP1であることを判別する。そして、基本フレームデータ部FDB−2を、バッファメモリBUF1を介してメディアアクセス制御モジュールMAC1に送る。
【0093】
メディアアクセス制御モジュールMAC1は、2つの基本フレームデータ部FDB−1,FDB−2を配置した複合フレームデータ部FDM−3を生成するとともに、この複合フレームデータ部FDM−3についてのFCS部C−3を生成し、複合フレームデータ部FDM−3に同期部PSおよびFCS部C−3を付加して多重パケットPM−3を生成し、この多重パケットPM−3を物理層制御モジュールPHY1に送る。
【0094】
物理層制御モジュールPHY1は、多重パケットPM−3をポートP1から送信する。
【0095】
図4のパケットスイッチング処理(パケット分離処理)では、ポートP1で受信された多重パケットPM−3が、2つの基本パケットPB−1,PB−2に分離され、これらの基本パケットがポートP2,P3からそれぞれ送信される。この図4のパケット分離処理は、図2のパケット転送においてはスイッチ装置S2での処理に相当する。従って、図4のポートP1,P2,P3は、図1のスイッチ装置S2のポートPg,Pc,Pfにそれぞれ相当する。
【0096】
図4において、物理層制御ジュールPHY1は、ポートP1で受信されたパケットPM−3をメディアアクセス制御モジュールMAC1に送る。
【0097】
メディアアクセス制御モジュールMAC1は、受信されたパケットPM−3のFCS部C−3のFCSデータによってそのパケットPM−3のフレームデータ部FDM−3の転送エラーをチェックする。そして、転送エラーがなければ、パケットPM−3に含まれているいずれかの長さ部の長さデータ(基本パケットまたは基本フレーデータ部の長さデータ)を参照し、この長さデータと受信されたパケットPM−3またはフレームデータ部FDM−3の実際のデータ長とを比較することによって、このパケットPM−3が多重パケットであるか否かを判別する。
【0098】
そして、メディアアクセス制御モジュールMAC1は、このパケットPM−3が多重パケットであると判別して、この多重パケットPM−3を構成する複合フレームデータ部FDM−3に含まれる2つの長さ部の長さデータをもとに、この多重パケットPM−3を2つの基本フレームデータ部FDB−1,FDB−2に分離し、これらの基本フレームデータ部FDB−1,FDB−2をバッファメモリBUF1に送る。
【0099】
例えば、まず、メディアアクセス制御モジュールMAC1は、フレームデータ部FDM−3を構成している基本フレームデータ部FDB−1の長さ部に挿入されている長さデータと、フレームデータ部FDM−3の実際のデータ長とを比較する。そして、これらが異なることによって、パケットPM−3が多重パケットであると判別し、基本フレームデータ部FDB−1の長さデータから基本フレームデータ部FDB−1の末尾の境界を計算し、その境界で基本フレームデータ部FDB−1を分離する。
【0100】
さらに、メディアアクセス制御モジュールMAC1は、多重パケットPM−3の残った部分を構成している基本フレームデータ部FDB−2の長さ部に挿入されている長さデータと、複合フレームデータ部FDM−3の残った部分の実際のデータ長とを比較する。そして、これらが一致することによって、多重パケットPM−3の残った部分には1つの基本フレームデータ部FDB−2のみが含まれていると判別し、多重パケットPM−3の残った部分から基本フレームデータ部FDB−2を分離し、多重パケットPM−3の分離処理を終了する。
【0101】
スイッチングモジュールSWMは、基本フレームデータ部FDB−1の宛先アドレスを参照し、この宛先アドレスをアドレステーブルADTで検索することによって、基本フレームデータ部FDB−1を送信するポートがポートP2であることを判別する。そして、基本フレームデータ部FDB−1を、バッファメモリBUF2を介してメディアアクセス制御モジュールMAC2に送る。同様に、スイッチングモジュールSWMは、基本フレームデータ部FDB−2の宛先アドレスを参照し、この宛先アドレスをアドレステーブルADTで検索することによって、基本フレームデータ部FDB−2を送信するポートがポートP3であることを判別する。そして、基本フレームデータ部FDB−2を、バッファメモリBUF3を介してメディアアクセス制御モジュールMAC3に送る。
【0102】
メディアアクセス制御モジュールMAC2は、基本フレームデータ部FDB−1についてのFCS部C−1を再生成し、基本フレームデータ部FDB−1に同期部PSおよびFCS部C−1を付して基本パケットPB−1を再生成し、この基本パケットPB−1を物理層制御モジュールPHY2に送る。同様に、メディアアクセス制御モジュールMAC3は、基本フレームデータ部FDB−2についてのFCS部C−2を再生成し、基本フレームデータ部FDB−2に同期部PSおよびFCS部C−2を付して基本パケットPB−2を再生成し、この基本パケットPB−2を物理層制御モジュールPHY3に送る。
【0103】
物理層制御モジュールPHY2は、基本パケットPB−1をポートP2から送信する。同様に、物理層制御モジュールPHY3は、基本パケットPB−2をポートP3から送信する。
【0104】
なお、図3において、基本パケットPB−1とPB−2とが多重された多重パケットが、ポートP2で受信されるのであれば、メディアアクセス制御モジュールMAC2は、上記の受信された多重パケットを、図4のメディアアクセス制御モジュールMAC1と同様の手順で、2つの基本フレームデータ部FDB−1,FDB2に分離する。
【0105】
また、図4において、基本フレームデータ部FDB−1とFDB−2が、ともにポートP2から送信されるのであれば、メディアアクセス制御モジュールMAC2は、これらの基本フレームデータ部を複合した多重パケットを、図3のメディアアクセス制御モジュールMAC1と同様の手順で生成する。
【0106】
このように、実施の形態1のスイッチ装置Sのメディアアクセス制御モジュールMACは、図3のMAC1や図4のMAC2,MAC3のように、パケット送信側となるときには、同じポートPから送信される基本フレームデータ部FDBが複数あれば、これらの基本フレームデータ部FDBを配列した複合フレームデータ部FDMを生成するとともに、この複合フレームデータ部FDMについてのFCS部Cを生成し、この複合フレームデータ部FDMに同期部PSおよび上記の生成したFCS部Cを付加して多重パケットPMを生成する。また、同じポートPから送信される基本フレームデータ部FDBが1つであれば、この基本フレームデータ部FDBについてのFCS部Cを単独で生成し、このフレームデータ部FDBに同期部PSおよび上記の単独で生成したFCS部Cを付加して基本パケットPBを再生成する。
【0107】
ただし、スイッチ装置Sにおいて、同じポートから送信される複数のパケットが受信されるのをいつまでも待っていたのでは、スイッチ装置Sでのパケットスイッチング処理の時間が大きくなり、遅延が問題になる。このため、例えば、スイッチ装置Sにタイマを設け、ほぼ同時に受信されて同じポートから送信される複数の基本フレームデータ部(従って、同じ1つの多重パケットから分離されて同じポートから送信される複数の基本フレームデータ部も含まれる)のみを多重するようにすれば、スイッチ装置Sでのパケットスイッチング処理(パケット多重処理)の効率を上げることができる。
【0108】
また、実施の形態1のスイッチ装置Sのメディアアクセス制御モジュールMACは、図3のMAC2,MAC3や図4のMAC1のように、パケット受信側となるときには、受信されたパケット(基本パケットPBまたは多重パケットPM)に含まれる長さ部の長さデータをもとに、そのパケットから個々の基本フレームデータ部FDBを分離する。つまり、上記の長さデータをもとにそのパケットが多重パケットであるか否かを判別し、基本パケットであれば、その基本フレームデータ部FDBに1つ含まれる長さ部の長さデータをもとに、その基本フレームデータ部FDBを分離し、多重パケットPMであれば、その複合フレームデータ部FDMに複数含まれる長さ部の長さデータをもとに、その複合フレームデータ部FDMを個々の基本フレームデータ部FDBに分離する。
【0109】
なお、IEEE802.3標準LANでは最小パケット長が64[バイト]という制限があるので、スイッチ装置Sにおいて、多重パケットのパケット長が上記の最小パケット長に達しないときには、ダミーデータを付加する必要がある。
【0110】
また、実施の形態1のスイッチ装置SのスイッチングモジュールSWMは、受信されたパケット(基本パケットおよび多重パケット)から分離された基本フレームデータ部に含まれる宛先アドレスをもとに、従来と同様の手順で、その基本フレームデータ部を送信するポートを判別し、その基本フレームデータ部を送信ポートのバッファメモリBUFに転送する。
【0111】
なお、図3および図4では、スイッチ装置S内での基本フレームデータ部FDBのスイッチング処理がスイッチングモジュールSWMを介してなされているが、スイッチングモジュールSWMを介さずに、受信ポートと送信ポートのメモリバッファBUF間で基本フレームデータ部FDBが直接転送される構成とすることも可能である。
【0112】
また、この実施の形態1の端末装置A,B,C,D,Eは、従来の端末装置a,b,c,d,e(図8参照)において、受信した多重パケットから個々の基本フレームデータ部を分離するパケット分離処理(スイッチ装置Sと同様のパケット分離処理)の機能を設けたものである。ただし、この実施の形態1のネットワークを従来の端末装置a,b,c,d,eで構成することも可能である。この場合には、スイッチ装置Sにおいて、端末装置に接続されたポートのメディアアクセス制御モジュールMACでは、多重パケットを生成しないようにする。
【0113】
以上のように実施の形態1では、スイッチ装置において、複数の基本フレームデータ部を配置した複合フレームデータ部を生成するとともに、この複合フレームデータ部についてのFCS部を生成し、上記の複合フレームデータ部に同期部および上記生成したFCS部を付加して多重パケットを生成し、この多重パケットを送信する。また、スイッチ装置または端末装置において、受信したパケットからフレームデータ部を分離し、そのフレームデータ部に含まれる長さ部の長さデータをもとに、そのフレームデータ部が複合フレームデータ部であるか否かを判別し、複合フレームデータ部であれば、その複合フレームデータ部を構成する個々の基本フレームデータ部に含まれている長さ部の長さデータをもとに、上記複合フレームデータ部を上記個々の基本フレームデータ部に分離する。
【0114】
これにより、同期部およびFCS部を多重して転送できるとともに、送信時にパケット間ギャップ(従来のパケット転送において複数の基本パケットを同じポートから送信するときにこれらの基本パケット間に設けなければならなかったギャップ)を設ける必要がないので、データ転送効率を上げることができ、これによってネットワークの使用効率を上げることができる。また、IEEE802.3標準LANのように最小パケット長の制限があるネットワークでは、ダミーデータの付加率を低減することができ、これによってもデータ転送効率およびネットワークの使用効率を上げることができる。
【0115】
さらに、実施の形態1のパケットスイッチング処理(パケット多重処理およびパケット分離処理)は、データリンク層を制御するメディアアクセス制御手順の変更のみで実現することができ、データリンク層の下層である物理層の制御手順およびデータリンク層の上層の制御手順の変更を伴わずに実現できるので、実施の形態1のスイッチ装置および端末装置は、従来のスイッチ装置および端末装置において、データリンク層を制御するメディアアクセス制御モジュールのみを変更すれば実現できる。また、従来のスイッチ装置および端末装置に設けられている機能であって、基本フレームデータ部に含まれる長さ部の長さデータをもとに基本パケットから基本フレームデータ部を分離する機能、および基本フレームデータ部についてのFCS部を生成する機能をそのまま利用できる。
【0116】
これにより、実施の形態1のスイッチ装置および端末装置は、従来のスイッチ装置および端末装置の簡単な変更のみで、容易に実現可能である。
【0117】
実施の形態2
図5は本発明の実施の形態2のネットワークの構成図である。図2では、スイッチ装置、ルータ装置、およびインターネットで構成され、圧縮音声通信などをするIPネットワークを想定している。なお、図5において、図1と同じものには同じ符号を付してある。
【0118】
図5のネットワークは、端末装置A,B,C,D,Eと、スイッチ装置S1,S2と、ルータ装置R1,R2と、インターネットとを含んで構築されている。それぞれのルータ装置R1,R2は、ポートQa,Qb,Qc,Qd,Qe,Qfを備えている。
【0119】
端末装置Aはスイッチ装置S1のポートPaに接続され、端末装置Bはスイッチ装置S1のポートPdに接続され、端末装置Cはスイッチ装置S1のポートPfに接続されている。また、端末装置Dはスイッチ装置S2のポートPcに接続され、端末装置Eはスイッチ装置S2のポートPfに接続されている。
【0120】
スイッチ装置S1のポートPgは、ルータ装置R1のポートQfに接続され、スイッチ装置S2のポートPgは、ルータ装置R2のポートQeに接続されている。ルータ装置R1のポートQaおよびルータ装置R2のポートQfは、それぞれバックボーンネットワークであるインターネットに接続されている。
【0121】
この実施の形態2のネットワークでは、端末装置から送信されるパケットは基本パケットのみであるが、スイッチ装置およびルータ装置において複数の基本パケットの基本フレームデータ部を複合した複合フレームデータ部を含む多重パケットが生成されるので、基本パケットに加え、上記の多重パケットの転送がなされる。
【0122】
図6は図5のネットワークにおいてのパケット転送を説明する図である。この図6は、端末装置A,B,Cがスイッチ装置S1、ルータ装置R1、インターネッット、ルータ装置R2、スイッチ装置S2を介して端末装置D,Eと通信しており、端末装置A,B,Cから端末装置D,Eにパケットが転送されるときの図である。
【0123】
図6において、図2と同じものあるいは相当するものには同じ符号を付してあり、PBI(PBI−A,PBI−B,PBI−C)は基本パケット、PMI(PMI−1,PMI−2,PMI−3,PMI−4)は多重パケットである。また、To(To−R1,To−R2,To−D,To−E)は宛先アドレス(MACアドレス)部、CI(CI−A,CI−B,CI−C,CI−M1,CI−M2,CI−M3,CI−M4)はFCS部である。また、IP(IP−D,IP−E)は宛先ネットワークアドレス(IPアドレス)部である。
【0124】
図6から判るように、基本パケットPBIのヘッダ部は、同期部PSと、宛先アドレス部Toと、送信元アドレス部Fromと、長さ部Lと、宛先ネットワークアドレス部IPとによって構成されている。また、基本パケットPBIのフッタ部は、FCS部CIのみからなる。また、基本フレームデータ部は、宛先アドレス部Toと、送信元アドレス部Fromと、長さ部Lと、宛先ネットワークアドレス部IPと、データ部DATAとによって構成されている。この実施の形態2の基本フレームデータ部は、上記実施の形態1の基本フレームデータ部において、宛先ネットワークアドレス部IPを設けた構成である。
【0125】
宛先ネットワークアドレス部IPには、宛先ネットワークアドレス(IPアドレス)が挿入される。基本パケットPBIのFCS部CIには、その基本パケットの基本フレームデータ部の転送エラーをチェックするためのCRCなどのFCSデータが挿入される。
【0126】
また、図6から判るように、多重パケットPMIは、同期部PSと、複数の基本パケットPBIの基本フレームデータ部を配置した複合フレームデータ部と、フッタ部であるFCS部CIとによって構成されている。多重パケットPMIのFCS部CIには、その多重パケットの複合フレームデータ部の転送エラーをチェックするためのCRCなどのFCSデータが挿入される。
【0127】
図6において、端末装置Aからスイッチ装置S1のポートPaに基本パケットPBI−Aが、端末装置Cからスイッチ装置S1のポートPdに基本パケットPBI−Cが、端末装置Bからスイッチ装置S1のポートPdに基本パケットPBI−Bが、この順で送信される。
【0128】
基本パケットPBI−Aは、同期部PSと、宛先アドレス部To−R1と、送信元アドレス部From−Aと、長さ部L−Aと、宛先ネットワークアドレス部IP−Dと、データ部DATA−Aと、FCS部CI−Aとが配置された構成である。また、基本パケットPBI−Cは、同期部PSと、宛先アドレス部To−R1と、送信元アドレス部From−Cと、長さ部L−Cと、宛先ネットワークアドレス部IP−Dと、データ部DATA−Cと、FCS部CI−Cとが配置された構成である。また、基本パケットPBI−Bは、同期部PSと、宛先アドレス部To−R1と、送信元アドレス部From−Bと、長さ部L−Bと、宛先ネットワークアドレス部IP−Eと、データ部DATA−Bと、FCS部CI−Bとが配置された構成である。
【0129】
上記の宛先アドレス部To−R1の「−R1」は、その基本パケットの装置間転送においての宛先がルータ装置R1であることを示す。
従って、これらの基本パケットPBI−A,PBI−C,PBI−Bの装置間転送の宛先は、全てルータ装置R1である。また、上記の宛先ネットワークアドレス部IP−Dの「−D」は、その基本パケットの最終の宛先が端末装置Dであることを示し、上記の宛先ネットワークアドレス部IP−Eの「−E」は、その基本パケットの最終の宛先が端末装置Eであることを示す。従って、基本パケットPBI−AおよびPBI−Cの最終の宛先は端末装置Dであり、基本パケットPBI−Bの最終の宛先は端末装置Eである。
【0130】
上記の装置間転送には、端末装置−ルータ装置間、ルータ装置−ルータ装置間、ルータ装置−端末装置間、端末装置−端末装置間などがある。なお、スイッチ装置は、装置間転送の送受信装置にはならない。パケットの転送は、1つまたは複数の装置間転送手順によって構成される。上記実施形態1のパケット転送は、端末装置−端末装置間の1つの装置間転送手順で構成されていたが(図1および図2参照)、この実施の形態2のパケット転送は、端末装置−ルータ装置間、ルータ装置−ルータ装置間、ルータ装置−端末装置間の合計4つの装置間転送手順で構成されている。
【0131】
スイッチ装置S1は、上記実施の形態1と同様のパケットスイッチング処理によって、受信した上記3つの基本パケットPBI−A,PBI−B,PBI−Cを多重して1つの多重パケットPMI−1を生成し、この多重パケットPMI−1をポートPgからルータ装置R1のポートQfに送信する。
【0132】
多重化パケットPMI−1は、同期部PSと、基本パケットPBI−A,PBI−C,PBI−Bの3つの基本フレームデータ部を複合する複合フレームデータ部と、上記の複合フレームデータ部についてのFCS部CI−M1とによって構成されている。上記の複合フレームデータ部は、基本パケットPBI−Aの基本フレームデータ部(宛先アドレス部To−R1、送信元アドレス部From−A、長さ部L−A、宛先ネットワークアドレス部IP−D、データ部DATA−A)と、基本パケットPBI−Cの基本フレームデータ部(宛先アドレス部To−R1、送信元アドレス部From−C、長さ部L−C、宛先ネットワークアドレス部IP−D、データ部DATA−C)と、基本パケットPBI−Bの基本フレームデータ部(宛先アドレス部To−R1、送信元アドレス部From−B、長さ部L−B、宛先ネットワークアドレス部IP−E、データ部DATA−B)とによって構成されている。
【0133】
図5および図6のように、ルータ装置超えをしてパケットが転送されるときには、物理アドレスである宛先アドレスが一致するパケットがルータ装置間を転送されるので、図6の多重パケットPMI−2のように、宛先アドレスを多重することができる。
【0134】
ルータ装置R1は、受信したパケットPMI−1に含まれている長さ部Lをもとに、このパケットPMI−1が多重パケットであることを判別する。そして、この多重パケットPMI−1に含まれている3つの長さ部Lの長さデータをもとに、この多重パケットPMI−1を3つの基本パケットPBI−A,PBI−B,PBI−Cに分離する。
【0135】
さらに、ルータ装置R1は、分離した基本パケットPBI−A,PBI−B,PBI−Cのそれぞれに含まれている宛先ネットワークアドレス部IPの宛先ネットワークアドレスをもとに、3つの基本パケットPBI−A,PBI−B,PBI−Cを送信するポートが全て同じポートQaであると判別する。また、上記3つの宛先ネットワークアドレスをもとに、3つの基本パケットPBI−A,PBI−C,PBI−Bのこのあとの装置間転送の宛先アドレスが全て同じルータ装置R2であると判別する。
【0136】
そして、ルータ装置R1は、3つの基本パケットPBI−A,PBI−C,PBI−Bを多重した多重パケットPMI−2を生成し、この多重パケットPMI−2をポートQaからインターネットに送出する。この多重パケットPMI−2の生成において、ルータ装置R1は、3つの基本パケットPBI−A,PBI−C,PBI−Bの重複する同じ宛先アドレスを1つにすることによって、宛先アドレスを多重する。
【0137】
なお、ルータ装置R1内においては、受信されたパケット(基本パケットおよび多重パケット)から基本フレームデータ部が分離され、この基本フレームデータ部がルーティング処理される。
【0138】
多重化パケットPMI−2は、同期部PSと、基本パケットPBI−A,PBI−C,PBI−Bの3つの基本フレームデータ部を複合する複合フレームデータ部と、上記の複合フレームデータ部についてのFCS部CI−M2とによって構成されている。上記の複合フレームデータ部は、基本パケットPBI−Aの基本フレームデータ部(宛先アドレス部To−R2、送信元アドレス部From−A、長さ部L−A、宛先ネットワークアドレス部IP−D、データ部DATA−A)と、基本パケットPBI−Cの基本フレームデータ部(送信元アドレス部From−C、長さ部L−C、宛先ネットワークアドレス部IP−D、データ部DATA−C)と、基本パケットPBI−Bの基本フレームデータ部(送信元アドレス部From−B、長さ部L−B、宛先ネットワークアドレス部IP−E、データ部DATA−B)とによって構成されている。
【0139】
このように、多重パケットPMI−2は、基本パケットPBI−A,PBI−C,PBI−Bの3つの基本フレームデータ部を配置した複合フレームデータ部を生成し、この複合フレームデータ部に、同期部PSを付加するとともに、上記の複合フレームデータ部についてのFCS部CI−M2を生成して付加したものである。ただし、基本フレームデータ部に含まれる宛先アドレス部は、装置間転送に応じて、To−R1からTo−R2に変更される。
【0140】
さらに、この多重パケットPMI−2では、基本パケットPBI−Aの基本フレームデータ部(複合フレームデータ部を構成する3つの基本フレームデータ部の内の先頭の基本フレームデータ部)の宛先アドレス部To−R2のみを残し、基本パケットPBI−CおよびPBI−Bの基本フレームデータ部の宛先アドレス部To−R2を削除することによって、重複する同じ宛先アドレスを多重している。
【0141】
インターネットに送出された多重パケットPMI−2は、宛先のルータ装置R2のポートQfで受信される。
【0142】
ルータ装置R2は、受信した多重パケットPMI−2に含まれている長さ部Lをもとに、このパケットPMI−2が多重パケットであることを判別する。そして、この多重パケットPMI−2に含まれている3つの長さ部Lの長さデータをもとに、この多重パケットPMI−2を3つの基本パケットPBI−A,PBI−B,PBI−Cに分離する。
【0143】
さらに、ルータ装置R2は、分離した基本パケットPBI−A,PBI−C,PBI−Bのそれぞれに含まれている宛先ネットワークアドレス部IPの宛先ネットワークアドレスをもとに、3つの基本パケットPBI−A,PBI−C,PBI−Bを送信するポートが全て同じポートQeであると判別する。また、上記3つの宛先ネットワークアドレスをもとに、基本パケットPBI−AおよびPBI−Cのこのあとの装置間転送の宛先アドレスが同じ端末装置Dであり、基本パケットPBI−Bのこのあとの装置間転送の宛先アドレスが端末装置Eであると判別する。
【0144】
そして、ルータ装置R2は、3つの基本パケットPBI−A,PBI−C,PBI−Bを多重した多重パケットPMI−3を生成し、この多重パケットPMI−3をポートQeからスイッチ装置S2のポートPgに送信する。この多重パケットPMI−3の生成において、ルータ装置R2は、多重パケットPMI−2で多重されていた宛先アドレス部To−R2を、3つの宛先アドレス部To−D,To−D,To−Eに分離する。
【0145】
なお、ルータ装置R2内においても、受信されたパケット(基本パケットおよび多重パケット)から基本フレームデータ部が分離され、この基本フレームデータ部がルーティング処理される。
【0146】
多重パケットPTI−M3は、同期部PSと、基本パケットPBI−A,PBI−C,PBI−Bの3つの基本フレームデータ部を複合する複合フレームデータ部と、上記の複合フレームデータ部についてのFCS部CI−M3とによって構成されている。上記の複合フレームデータ部は、基本パケットPBI−Aの基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−A、長さ部L−A、宛先ネットワークアドレス部IP−D、データ部DATA−A)と、基本パケットPBI−Cの基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−C、長さ部L−C、宛先ネットワークアドレス部IP−D、データ部DATA−C)と、基本パケットPBI−Bの基本フレームデータ部(宛先アドレス部To−E、送信元アドレス部From−B、長さ部L−B、宛先ネットワークアドレス部IP−E、データ部DATA−B)とによって構成されている。
【0147】
このように、多重パケットPMI−2は、基本パケットPBI−A,PBI−C,PBI−Bの3つの基本フレームデータ部を配置した複合フレームデータ部を生成し、この複合フレームデータ部に、同期部PSを付加するとともに、上記の複合フレームデータ部についてのFCS部CI−M2を生成して付加したものである。ただし、基本フレームデータ部に含まれる宛先アドレス部は、装置間転送に応じて、To−R2からTo−D,To−Eに変更される。
【0148】
さらに、この多重パケットPMI−3では、基本パケットPBI−C,PBI−Bの基本フレームデータ部に宛先アドレス部To−D,To−Eをそれぞれ設けることによって、多重されていた宛先アドレスを分離している。
【0149】
スイッチ装置S2は、上記実施の形態1と同様のパケットスイッチング処理によって、受信した多重パケットPMI−M3を、基本パケットPBI−AおよびPBI−Cを多重した多重パケットPMI−4と、基本パケットPBI−Bとに分離し、多重パケットPMI−4をポートPcから端末装置Dに送信し、再生成した基本パケットPBI−BをポートPfから端末装置Eに送信する。
【0150】
多重パケットPMI−4は、同期部PSと、基本パケットPBI−A,PBI−Cの2つの基本フレームデータ部を複合する複合フレームデータ部と、上記の複合フレームデータ部についてのFCS部CI−M4とによって構成されている。上記の複合フレームデータ部は、基本パケットPBI−Aの基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−A、長さ部L−A、宛先ネットワークアドレス部IP−D、データ部DATA−A)と、基本パケットPBI−Cの基本フレームデータ部(宛先アドレス部To−D、送信元アドレス部From−C、長さ部L−C、宛先ネットワークアドレス部IP−D、データ部DATA−C)とによって構成されている。
【0151】
このように、多重パケットPMI−4は、基本パケットPBI−A,PBI−Cの2つの基本フレームデータ部を配置した複合フレームデータ部を生成し、この複合フレームデータ部に、同期部PSを付加するとともに、上記の複合フレームデータ部についてのFCS部CI−M4を生成して付加したものである。
【0152】
また、再生成された基本パケットPBI−Bは、同期部PSと、基本フレームデータ部(宛先アドレス部To−E、送信元アドレス部From−B、長さ部L−B、宛先アドレス部To−E、データ部DATA−B)と、再生成されたFCS部CI−Bとによって構成されている。
【0153】
端末装置Dは、スイッチ装置S2と同様のパケット分離処理によって、受信した多重パケットPM−4を2つの基本フレームデータ部に分離する。そして、これらの基本フレームデータ部からそれぞれデータ部DATA−A,DATA−Cを分離する。また、端末装置Eは、受信した基本パケットPBI−Bからデータ部DATA−Bを分離する。
【0154】
図7は図5のルータ装置R(R1,R2)の内部構成図であるとともに、ルータ装置Rにおいてのパケットルーティング処理を説明する図である。図7において、図3または図4と同じものには同じ符号を付してあり、PMI(PMI−A,PMI−B)は多重パケット、FDBI(FDBI−1,FDBI−2)は基本フレームデータ部、FDMI(FDMI−A,FDMI−B)は多重パケットPMIの複合フレームデータ部、CI(CI−A,CI−B)は複合フレームデータ部FDMIについてのFCS部である。
【0155】
図7において、ルータ装置Rは、ポートQ(Q1,Q2,Q3,…,Q7)と、メディアアクセス制御モジュールMACR(MACR1,MACR2,MACR3,…,MACR7)と、物理層制御モジュールPHY(PHY1,PHY2,PHY3,…,PHY7)と、ルーティングモジュールRTMと、アドレステーブルADTRとを備えている。
【0156】
アドレステーブルADTRには、宛先ネットワークアドレス(IPアドレス)ごとの送信ポートおよび宛先アドレス(MACアドレス)が記録されている。
【0157】
メディアアクセス制御モジュールMACRは、データリンク層を制御するモジュールである。このメディアアクセス制御モジュールMACRは、接続されたポートQが基本パケットPBIまたは多重パケットPMIの受信ポートとなるときには、パケットルーティング処理の受信側処理を担当し、接続されたポートQが基本パケットPBIまたは多重パケットPMIの送信ポートとなるときには、パケットルーティング処理の送信側処理を担当する。
【0158】
ルーティングジュールRTMは、メディアアクセス制御モジュールMACRからバファメモリBUFに転送された基本フレームデータ部FDBIの宛先ネットワークアドレス(IPアドレス)をアドレステーブルADTRで検索することによって、その基本フレームデータ部FDBIを送信するポートを判別し、その基本フレームデータ部FDBをその送信ポートのバファメモリBUFに転送する。
【0159】
図7のルーティング処理では、ポートQ1で受信された多重パケットPMI−Aがルーティング処理されて、多重パケットPMI−Bが生成され、この多重パケットPMI−BがポートQ2から送信される。この図7のルーティング処理は、図6のパケット転送においてはルータ装置R1およびR2での処理に相当する。従って、図7のポートQ1,Q2は、図5のルータ装置R1のポートQf,Qaにそれぞれ相当するとともに、図5のルータ装置R2のポートQf,Qeにそれぞれ相当する。
【0160】
図7において、物理層制御ジュールPHY1は、ポートQ1で受信したパケットPMI−Aをメディアアクセス制御モジュールMACR1に送る。
【0161】
メディアアクセス制御モジュールMACR1は、受信されたパケットPMI−AのFCS部CI−AのFCSデータによってフレームデータ部FDMI−Aの転送エラーをチェックする。そして、転送エラーがなければ、パケットPMI−Aに含まれているいずれかの長さ部の長さデータ(基本パケットまたは基本フレーデータ部の長さデータ)を参照し、この長さデータと受信されたパケットPMI−Aまたはフレームデータ部FDMI−Aの実際のデータ長とを比較することによって、このパケットPMI−Aが多重パケットであるか否かを判別する。
【0162】
そして、メディアアクセス制御モジュールMACR1は、このパケットPMI−Aが多重パケットであると判別して、この多重パケットPMI−Aを構成する複合フレームデータ部FDMI−Aに含まれる2つの長さ部の長さデータをもとに、この多重パケットPMI−Aを2つの基本フレームデータ部FDBI−1,FDBI−2に分離し、これらの基本フレームデータ部FDBI−1,FDBI−2をバッファメモリBUF1に送る。
【0163】
なお、メディアアクセス制御モジュールMACR1でのパケット分離処理は、図4のメディアアクセス制御モジュールMAC1での処理と同様である。
【0164】
ルーティングモジュールRTMは、基本フレームデータ部FDBI−1の宛先ネットワークアドレス(IPアドレス)を参照し、この宛先ネットワークアドレスをアドレステーブルADTRで検索することによって、基本フレームデータ部FDBI−1を送信するポートがポートQ2であることを判別する。そして、基本フレームデータ部FDBI−1を、バッファメモリBUF2を介してメディアアクセス制御モジュールMACR2に送る。同様に、ルーティングモジュールRTMは、基本フレームデータ部FDBI−2の宛先ネットワークアドレスを参照し、この宛先ネットワークアドレスをアドレステーブルADTRで検索することによって、基本フレームデータ部FDBI−2を送信するポートがポートQ2であることを判別する。そして、基本フレームデータ部FDBI−2を、バッファメモリBUF2を介してメディアアクセス制御モジュールMACR2に送る。
【0165】
メディアアクセス制御モジュールMACR2は、2つの基本フレームデータ部FDBI−1,FDBI−2を配置した複合フレームデータ部FDMI−Bを生成するとともに、この複合フレームデータ部FDMI−BについてのFCS部CI−Bを生成し、複合フレームデータ部FDMI−Bに同期部PSおよびFCS部CI−Bを付加して多重パケットPMI−Bを生成し、この多重パケットPMI−Bを物理層制御モジュールPHY2に送る。
【0166】
また、メディアアクセス制御モジュールMACR2は、多重パケットPMI−Bの生成のときに、基本フレームデータ部FDBI−1,FDBI−2の宛先ネットワークアドレス(IPアドレス)を参照し、これらの宛先ネットワークアドレスをアドレステーブルADTRで検索することによって、基本フレームデータ部FDBI−1およびFDBI−2のこのあとの装置間転送の宛先アドレスを判別し、基本フレームデータ部FDBI−1,FDBI−2の宛先アドレス部の宛先アドレスを上記このあとの装置間転送の宛先アドレスに変更する。
【0167】
さらに、メディアアクセス制御モジュールMACR2は、上記の宛先アドレスの変更において、基本フレームデータ部FDBI−1,FDBI−2のこのあとの装置間転送の宛先アドレスが同じであるか否かを判別する。
【0168】
そして、メディアアクセス制御モジュールMACR2は、多重パケットPMI−Aにおいて宛先アドレスが分離されており、かつこのあとの装置間転送の宛先アドレスが同じであれば、基本フレームデータ部FDBI−1の宛先アドレス部のみをこのあとの装置間転送の宛先アドレスに変更し、基本フレームデータ部FDBI−2の宛先アドレス部を削除することによって、重複する同じ宛先アドレスを多重する。
【0169】
また、メディアアクセス制御モジュールMACR2は、多重パケットPMI−Aにおいて宛先アドレスが多重されており(基本フレームデータ部FDBI−2の宛先アドレス部が削除されており)、かつこのあとの装置間転送の宛先アドレスが異なるものであれば、基本フレームデータ部FDBI−1の宛先アドレス部のみをこのあとの装置間転送の宛先アドレスに変更するとともに、基本フレームデータ部FDBI−2にこのあとの装置間転送の宛先アドレスを挿入した宛先アドレス部を付加することによって、多重されていた宛先アドレスを分離する。
【0170】
物理層制御モジュールPHY2は、多重パケットPMI−BをポートQ2から送信する。
【0171】
なお、図7において、基本フレームデータ部FDBI−1の基本パケットと基本フレームデータ部FDBI−2の基本パケットとが異なるポートで受信されるのであれば、それぞれのポートのメディアアクセス制御モジュールMACRは、図3のメディアアクセス制御モジュールMAC2,MAC3と同様の処理によってそれぞれの基本パケットから基本フレームデータ部FDBI−1,FDBI−2を分離する。
【0172】
また、図7において、基本フレームデータ部FDBI−1とFDBI−2とが異なるポートから送信されるのであれば、それぞれのポートのメディアアクセス制御モジュールMACRは、図4のメディアアクセス制御モジュールMAC2,MAC3と同様の処理によってそれぞれの基本フレームデータ部の基本パケットを生成するとともに、このあとの装置間転送に応じて、宛先アドレス部を変更または付加する。
【0173】
このように、実施の形態2のルータ装置Rのメディアアクセス制御モジュールMACRは、図7のMACR1のように、パケット受信側となるときには、受信されたパケット(基本パケットPBIまたは多重パケットPMI)に含まれる長さ部の長さデータをもとに、そのパケットから個々の基本フレームデータ部FDBIを分離する。つまり、上記の長さデータをもとにそのパケットが多重パケットであるか否かを判別し、基本パケットであれば、その基本フレームデータ部FDBIに1つ含まれる長さ部の長さデータをもとに、その基本フレームデータ部FDBIを分離し、多重パケットPMIであれば、その複合フレームデータ部FDMIに複数含まれる長さ部の長さデータをもとに、その複合フレームデータ部FDMIを個々の基本フレームデータ部FDBIに分離する。
【0174】
また、実施の形態2のルータ装置Rのメディアアクセス制御モジュールMACRは、図7のMACR2のように、パケット送信側となるときには、同じポートQから送信される基本フレームデータ部FDBIが複数あれば、これらの基本フレームデータ部FDBIを配列した複合フレームデータ部FDMIを生成するとともに、この複合フレームデータ部FDMIについてのFCS部CIを生成し、この複合フレームデータ部FDMIに同期部PSおよび上記の生成したFCS部CIを付加して多重パケットPMIを生成する。また、同じポートQから送信される基本フレームデータ部FDBIが1つであれば、この基本フレームデータ部FDBIについてのFCS部CIを単独で生成し、このフレームデータ部FDBIに同期部PSおよび上記の単独で生成したFCS部CIを付加して基本パケットPBIを再生成する。
【0175】
また、パケット送信側となるときに、実施の形態2のメディアアクセス制御モジュールMACRは、多重パケットPMIまたは基本パケットPBIの生成において、基本フレームデータ部FDBIの宛先ネットワークアドレス(IPアドレス)をもとに、その基本フレームデータ部FDBIのこのあとの装置間転送の宛先アドレスを判別し、宛先アドレス部の宛先アドレスをこのあとの装置間転送の宛先アドレスに変更し、またはこのあとの装置間転送の宛先アドレスを挿入した宛先アドレス部を付加する。
【0176】
さらに、パケット送信側となるときの多重パケットPMIの生成において、実施の形態2のメディアアクセス制御モジュールMACRは、多重パケットPMIの複合フレームデータ部FDMIを構成する複数の基本フレームデータ部FDBIのこのあとの装置間転送の宛先アドレスが同じであるか否かを判別し、同じであれば、1つの基本フレームデータ部FDBIにのみ宛先アドレス部を残して他の基本フレームデータ部FDBIの宛先アドレス部を削除することによって、宛先アドレスを多重する。また、上記複数の基本フレームデータ部FDBIが宛先アドレスの多重された多重パケットから分離されたものであって、これらの基本フレームデータ部FDBIのこのあとの装置間転送の宛先アドレスが異なるものであれば、宛先アドレス部が削除されていた基本フレームデータ部FDBIに、このあとの装置間転送の宛先アドレスを挿入した宛先アドレス部を付加することによって、宛先アドレスを分離する。
【0177】
ただし、ルータ装置Rにおいて、同じポートから送信される複数のパケットが受信されるのをいつまでも待っていたのでは、ルータ装置Rでのパケットルーティング処理の時間が大きくなり、遅延が問題になる。このため、例えば、ルータ装置rにタイマを設け、ほぼ同時に受信されて同じポートから送信される複数の基本フレームデータ部(従って、同じ1つの多重パケットから分離されて同じポートから送信される複数の基本フレームデータ部も含まれる)のみを多重するようにすれば、ルータ装置Rでのパケットルーティング処理(パケット多重処理)の効率を上げることができる。
【0178】
また、実施の形態2のルータ装置RのルーティングモジュールRTMは、受信されたパケット(基本パケットおよび多重パケット)から分離された基本フレームデータ部に含まれる宛先ネットワークアドレスをもとに、従来と同様の手順で、その基本フレームデータ部を送信するポートを判別し、その基本フレームデータ部を送信ポートのバッファメモリBUFに転送する。
【0179】
なお、図7では、ルータ装置R内での基本フレームデータ部FDBIのルーティング処理がルーティングモジュールRTMを介してなされているが、ルーティングモジュールRTMを介さずに、受信ポートと送信ポートのメモリバッファBUF間で基本フレームデータ部FDBIが直接転送される構成とすることも可能である。
【0180】
以上のように実施の形態2では、スイッチ装置またはルータ装置において、複数の基本フレームデータ部を配置した複合フレームデータ部を生成するとともに、この複合フレームデータ部についてのFCS部を生成し、上記の複合フレームデータ部に同期部および上記生成したFCS部を付加して多重パケットを生成し、この多重パケットを送信する。また、スイッチ装置、ルータ装置、または端末装置において、受信したパケットからフレームデータ部を分離し、そのフレームデータ部に含まれる長さ部の長さデータをもとに、そのフレームデータ部が複合フレームデータ部であるか否かを判別し、複合フレームデータ部であれば、その複合フレームデータ部を構成する個々の基本フレームデータ部に含まれている長さ部の長さデータをもとに、上記複合フレームデータ部を上記個々の基本フレームデータ部に分離する。
【0181】
これにより、同期部およびFCS部を多重して転送できるとともに、送信時にパケット間ギャップ(従来のパケット転送において複数の基本パケットを同じポートから送信するときにこれらの基本パケット間に設けなければならなかったギャップ)を設ける必要がないので、上記実施の形態1と同様に、データ転送効率を上げることができ、これによってネットワークの使用効率を上げることができる。
【0182】
また、実施の形態2のパケットスイッチング処理(パケット多重処理およびパケット分離処理)ならびにパケットルーティング処理(パケット多重処理およびパケット分離処理)は、データリンク層を制御するメディアアクセス制御手順の変更のみで実現することができ、データリンク層の下層である物理層の制御手順およびデータリンク層の上層の制御手順の変更を伴わずに実現できるので、実施の形態1のスイッチ装置、ルータ装置、および端末装置は、従来のスイッチ装置、ルータ装置、および端末装置において、データリンク層を制御するメディアアクセス制御モジュールのみを変更すれば実現できる。また、従来のスイッチ装置、ルータ装置、および端末装置に設けられている機能であって、基本フレームデータ部に含まれる長さ部の長さデータをもとに基本パケットから基本フレームデータ部を分離する機能、および基本フレームデータ部についてのFCS部を生成する機能をそのまま利用できる。
【0183】
これにより、実施の形態2のスイッチ装置、ルータ装置、および端末装置は、従来のスイッチ装置、ルータ装置、および端末装置の簡単な変更のみで、上記実施の形態1と同様に、容易に実現可能である。
【0184】
さらに、実施の形態2のルータ装置では、多重パケットの複合フレームデータ部を構成する複数の基本フレームデータ部の宛先アドレスが同じであるか否かを判別し、重複する宛先アドレスを1つにすることによって、宛先アドレスを多重する。
【0185】
このように、同期部およびFCS部に加えて宛先アドレス部も多重することによって、データ転送効率およびネットワークの使用効率をさらに高めることができる。
【0186】
なお、上記実施の形態1において、スイッチ装置S1とバックボーンLANの間に、上記実施の形態2のルータ装置R1と同様のパケット分離処理およびパケット多重処理の機能を備えたスイッチ装置をさらにも設けることも可能である。同様に、上記実施の形態1において、スイッチ装置S2とバックボーンLANの間に、上記実施の形態2のルータ装置R2と同様のパケット分離処理およびパケット多重処理の機能を備えたスイッチ装置をさらにも設けることも可能である。
【0187】
【発明の効果】
以上説明したように本発明によれば、同期部およびフッタ部を多重して転送できるとともに、送信時にパケット間ギャップ(従来のパケット転送において複数の基本パケットを同じポートから送信するときにこれらの基本パケット間に設けなければならなかったギャップ)を設ける必要がないので、データ転送効率を上げることができ、これによってネットワークの使用効率を上げることができるという効果がある。
【図面の簡単な説明】
【図1】本発明の実施の形態1のネットワークの構成図である。
【図2】図1のネットワークにおいてのパケット転送の図である。
【図3】図1のスイッチ装置S(S1,S2)の内部構成図であるとともに、スイッチ装置Sにおいてのパケットスイッチング処理(パケット多重化処理)を説明する図である。
【図4】図1のスイッチ装置S(S1,S2)の内部構成図であるとともに、スイッチ装置Sにおいてのパケットスイッチング処理(パケット分離処理)を説明する図である。
【図5】本発明の実施の形態2のネットワークの構成図である。
【図6】図5のネットワークにおいてのパケット転送の図である。
【図7】図5のルータ装置R(R1,R2)の内部構成図であるとともに、ルータ装置Rにおいてのパケットルーティング処理を説明する図である。
【図8】従来のネットワークの構成図である。
【図9】図8のネットワークにおいてのパケット転送の図である。
【図10】図8のスイッチ装置s(s1,s2)の内部構成図であるとともに、スイッチ装置sにおいてのパケットスイッチング処理を説明する図である。
【図11】図8のスイッチ装置s(s1,s2)の内部構成図であるとともに、スイッチ装置sにおいてのパケットスイッチング処理を説明する図である。
【符号の説明】
A,B,C,D,E 端末装置、 S スイッチ装置、 R ルータ装置、 P,Q ポート、 PHY 物理層制御モジュール、 MAC,MACR メディアアクセス制御モジュール、 BUF バッファメモリ、 SWM スイッチングモジュール、 RTM ルーティングモジュール、 ADT,ADTR アドレステーブル。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a computer network such as a LAN or an IP (Internet Protocol) network.
Packet transmission devices such as switch devices and router devices that transmit packets such as voice packets compressed at a low bit rate,
A packet receiving device such as a switch device, a router device, or a terminal device that receives the packet;
A packet multiplexing method for generating a multiplexed packet obtained by multiplexing a plurality of packets;
Packet separation method for separating the multiplex packet into individual packets
It is about.
[0002]
[Prior art]
FIG. 8 is a block diagram of a conventional network. The network in FIG. 8 is an in-house LAN (IEEE 802.3 standard LAN) composed of a switch device, a terminal device, and the like. For example, compressed voice packet communication is performed.
[0003]
  The network in FIG. 8 includes terminal devices a, b, c, d, and e, and switch devices s1,s2 andAnd a backbone LAN. Each switch device s1, s2 has ports Pa, Pb, Pc, Pd, Pe, Pf, Pg. The terminal device a is connected to the port Pa of the switch device s1, the terminal device b is connected to the port Pd of the switch device s1, and the terminal device c is connected to the port Pf of the switch device s1. Further, the terminal device d is connected to the port Pc of the switch device s2, and the terminal device e is connected to the port Pf of the switch device s2. The ports Pg of the switch devices s1 and s2 are each connected to the backbone LAN.
[0004]
A packet transferred in packet communication includes a header part, a data part, and a footer part. The header part includes a synchronization part, an address part, a length part, and the like. The footer unit includes a frame check sequence (FCS) unit and the like. The synchronization unit is arranged at the beginning of the packet, and the footer unit is arranged at the end of the packet.
[0005]
In the following description, a packet including one header part and one data part is particularly referred to as a basic packet in order to distinguish it from a packet having a different configuration. Further, the header part and the data part excluding the synchronization part in the header part, the data part, and the footer part that constitute the basic packet are particularly referred to as a basic frame data part. Therefore, the basic packet is composed of a synchronization unit, a basic frame data unit, and a footer unit.
[0006]
Synchronization data for identifying the head of a packet at the time of transmission / reception is inserted into the above-described synchronization unit, as well as transmission / reception synchronization. A destination address (MAC (Media Access Control) address), a transmission source address, and the like are inserted into the address part, and a destination network address (IP address) is further inserted in the IP network. In the length part, length data of the basic packet or basic frame data part is inserted. Transmission data such as compressed audio data is inserted into the data portion. FCS data such as CRC (Cyclic Redundancy Check) for checking a transfer error of the basic packet or basic frame data portion is inserted into the FCS portion.
[0007]
In the conventional network of FIG. 8, the basic packet transmitted from the terminal device is transferred to the destination terminal device without being multiplexed and separated during the transfer.
[0008]
FIG. 9 is a diagram for explaining packet transfer in the network of FIG. In FIG. 9, the terminal devices a, b, and c communicate with the terminal devices d and e through the switch device s1, the backbone LAN, and the switch device s2, and the terminal devices a, b, and c communicate with the terminal devices d and e. It is a figure when a basic packet is forwarded.
[0009]
In FIG. 9, PB (PB-a, PB-b, PB-c) is a basic packet. PS is a synchronization unit, To (To-d, To-e) is a destination address (MAC address) unit, From (From-a, From-b, From-c) is a source address unit, and L (L- a, Lb, Lc) is a length part, DATA (DATA-a, DATA-b, DATA-c) is a data part, and C (Ca, Cb, Cc) is an FCS part. It is. MPG is a predetermined gap (Minimam Packet Gap) provided between transferred packets.
[0010]
As can be seen from FIG. 9, the header portion of the basic packet PB is composed of a synchronization portion PS, a destination address portion To, a source address portion From, and a length portion L. Further, the footer part is composed of only the FCS part C. The basic frame data part includes a destination address part To, a source address part From, a length part L, and a data part DATA.
[0011]
  In FIG. 9, the basic packet PB-a is transmitted from the terminal device a to the port Pa of the switch device s1, and the port of the switch device s1 from the terminal device c.PfBasic packet PB-cbThe basic packet PB-b is transmitted in this order to the port Pd of the switching device s1.
[0012]
  Basic packetPB-aAre the synchronization unit PS and the basic frame data unit (destination address unit To-d, source address unit From-a, length unit La, Data section DATA-a)When,FCS DepartmentC-a. Also, basic packetPB-cIs a synchronization part PS, a basic frame data part (destination address part To-d, source address part From-c, length part L-c, data part DATA-c),FCS DepartmentC-c. Also, basic packetPB-bIs a synchronization part PS, a basic frame data part (destination address part To-e, source address part From-b, length part L-b, data part DATA-b),FCS DepartmentCb.
[0013]
“-D” in the destination address portion To-d indicates that the destination of the basic packet is the terminal device d, and “-e” in the destination address portion To-e indicates the destination of the basic packet. Indicates the terminal device e. Therefore, the destinations of the basic packets PB-a and PB-c are the terminal device d, and the destination of the basic packet PB-b is the terminal device e.
[0014]
Based on the destination address part To-d of the received basic packet PB-a, the switching device s1 determines that the port that transmits this basic packet PB-a is the port Pg, and determines the basic packet PB-a. The data is transmitted from the port Pg to the backbone LAN. Similarly, based on the destination address part To-d of the received basic packet PB-c, it is determined that the port that transmits this basic packet PB-c is the port Pg, and the basic packet PB-c is determined as the port Pg. To the backbone LAN. Further, based on the destination address part To-e of the received basic packet PB-b, it is determined that the port that transmits the basic packet PB-b is the port Pg, and the basic packet PB-b is determined from the port Pg. Send to backbone LAN.
[0015]
In the switching device s1, the basic frame data part is separated from the received basic packet, the basic frame data part is subjected to switching processing, and the basic packet is regenerated for the basic frame data part subjected to switching processing. The basic packet is transmitted after being regenerated.
[0016]
In this way, the switch device s1 sequentially sends the received basic packets PB-a, PB-c, and PB-b to the backbone LAN. At this time, a gap MPG is provided between the packets.
[0017]
  Basic packets PB-a sequentially transmitted to the backbone LAN,PB-c,PB-bAre sequentially received at the port Pg of the switch device s2 to which the destination terminal devices d and e are linked.
[0018]
Based on the destination address part To-d of the received basic packet PB-a, the switching device s2 determines that the port that transmits this basic packet PB-a is the port Pc, and determines the basic packet PB-a. The data is sent from the port Pc to the terminal device d. Similarly, based on the destination address part To-d of the received basic packet PB-c, it is determined that the port that transmits this basic packet PB-c is the port Pc, and the basic packet PB-c is determined as the port Pc. To the terminal device d. Further, based on the destination address part To-e of the received basic packet PB-b, it is determined that the port that transmits the basic packet PB-b is Pf, and the basic packet PB-b is transmitted from the port Pf to the terminal. Send to device e.
[0019]
Also in the switching device s2, the basic frame data part is separated from the received basic packet, the basic frame data part is subjected to switching processing, and the basic packet is regenerated for the basic frame data part subjected to switching processing. The basic packet is transmitted after being regenerated.
[0020]
In this way, the switch device s2 sequentially transmits the received basic packets PB-a and PB-c to the terminal device d and sequentially transmits the received basic packets PB-b to the terminal device e. At this time, a gap MPG is provided between the basic packets PB-a and PB-c.
[0021]
  FIGS. 10 and 11 are internal configuration diagrams of the switch device s (s1, s2) of FIG. 8, and are diagrams for explaining packet switching processing in the switch device s. 10 and 11, PB (PB-1, PB-2) is the basic packet, PS is the synchronization unit, FDB (FDB-1, FDB-2) is the basic frame data portion of the basic packet PB, and C (C- 1, C-2) is the basic frame data sectionFDBIt is the FCS part about. MPG is an interpacket gap.
[0022]
10 and 11, the switch device s includes a port P (P1, P2, P3,..., P7), a physical layer control module PHY (PHY1, PHY2, PHY3,..., PHY7), and a media access control module mac. (Mac1, mac2, mac3,..., Mac7), a buffer memory BUF (BUF1, BUF2, BUF3,... BUF7), a switching module SWM, and an address table ADT.
[0023]
The physical layer control module PHY is a module that controls the physical layer. The physical layer control module PHY converts the basic packet PB input to the port P into a signal suitable for the media access control module mac and sends the signal to the media access control module mac and is output from the media access control module mac. The basic packet PB is converted into a signal suitable for the connection cable of the port P and transmitted from the port P.
[0024]
The media access control module mac is a module that controls the data link layer. This media access control module mac is in charge of the receiving side processing of the packet switching process when the connected port P is a reception port of the basic packet PB, and when the connected port P is a transmission port of the basic packet PB. In charge of transmission side processing of packet switching processing.
[0025]
  The buffer memory BUF has a basic frame data part to be switched.FDBIs temporarily held.
[0026]
A destination address for each transmission port is recorded in the address table ADT.
[0027]
The switching module SWM searches the address table ADT for the destination address of the basic frame data part FDB transferred from the media access control module mac to the buffer memory BUF, and determines the port that transmits the basic frame data part FDB. The basic frame data part FDB is transferred to the buffer memory BUF of the transmission port.
[0028]
In the packet switching process of FIG. 10, the basic packet PB-1 received at the port P2 and the basic packet PB-2 received at the port P3 are sequentially transmitted from the port P1 through the interpacket gap MPG. The packet switching process in FIG. 10 corresponds to the process in the switch device s1 in the packet transfer in FIG. Accordingly, the ports P1, P2, and P3 in FIG. 10 correspond to the ports Pa, Pd, and Pg of the switch device s1 in FIG. 8, respectively.
[0029]
In FIG. 10, the physical layer control module PHY2 sends the basic packet PB-1 input to the port P2 to the media access control module mac2. Similarly, the physical layer control module PHY3 sends the basic packet PB-2 input to the port P3 to the media access control module mac3.
[0030]
The media access control module mac2 checks the transfer error of the basic frame data part FDB-1 based on the FCS data of the FCS part C-1 of the basic packet PB-1. If there is no transfer error, the basic frame data part FDB-1 is separated from the basic packet PB-1 based on the length data of the length part included in the basic packet PB-1, and the basic frame data part FDB-1 is sent to the buffer memory BUF2. Similarly, the media access control module mac3 checks the transfer error of the basic frame data part FDB-2 by the FCS data of the FCS part C-2 of the basic packet PB-2. If there is no transfer error, the basic frame data part FDB-2 is separated from the basic packet PB-2 based on the length data of the length part included in the basic packet PB-2. FDB-2 is sent to the buffer memory BUF3.
[0031]
The switching module SWM refers to the destination address of the basic frame data part FDB-1, and searches the address table ADT for this destination address, thereby confirming that the port transmitting the basic frame data part FDB-1 is the port P1. Determine. Then, the basic frame data part FDB-1 is sent to the media access control module mac1 via the buffer memory BUF1. Similarly, the switching module SWM refers to the destination address of the basic frame data part FDB-2 and searches the address table ADT for this destination address, so that the port transmitting the basic frame data part FDB-2 is the port P1. Is determined. Then, the basic frame data part FDB-2 is sent to the media access control module mac1 via the buffer memory BUF1.
[0032]
The media access control module mac1 regenerates the FCS unit C-1 for the basic frame data unit FDB-1, attaches the synchronization unit PS and the FCS unit C-1 to the basic frame data unit FDB-1, and generates the basic packet PB. -1 is regenerated, and this basic packet PB-1 is sent to the physical layer control module PHY1. Similarly, the media access control module mac1 regenerates the FCS unit C-2 for the basic frame data unit FDB-2, and attaches the synchronization unit PS and the FCS unit C-2 to the basic frame data unit FDB-2. The basic packet PB-2 is regenerated, and this basic packet PB-2 is sent to the physical layer control module PHY1 with an interpacket gap MPG.
[0033]
The physical layer control module PHY1 transmits the basic packets PB-1 and PB-2 separately from the port P1 separately.
[0034]
In FIG. 10, if the basic packets PB-1 and PB-2 are received at the port P2 with an interpacket gap MPG, the physical layer control module PHY2 performs media access control on these basic packets. Sequentially sent to module mac2. The media access control module mac2 sequentially separates the basic frame data parts FDB-1 and FDB-2 from these basic packets PB-1 and PB-2, and buffers these basic frame data parts FDB-1 and FDB-2. Sequentially sent to the memory BUF2.
[0035]
In the packet switching process of FIG. 11, basic packets PB-1 and PB-2 sequentially received at port P1 are transmitted from ports P2 and P3, respectively. The packet switching process in FIG. 11 corresponds to the process in the switch device s2 in the packet transfer in FIG. Accordingly, the ports P1, P2, and P3 in FIG. 11 correspond to the ports Pg, Pc, and Pf of the switch device s2 in FIG. 8, respectively.
[0036]
In FIG. 11, the physical layer control module PHY1 sends the basic packet PB-1 input to the port P1 to the media access control module mac1. Similarly, the physical layer control module PHY1 provides the interpacket gap MPG from the basic packet PB-1 and sends the basic packet PB-2 input to the port P1 to the media access control module mac1.
[0037]
The media access control module mac1 checks the transfer error of the basic frame data part FDB-1 based on the FCS data of the FCS part C-1 of the basic packet PB-1. If there is no transfer error, the basic frame data part FDB-1 is separated from the basic packet PB-1 based on the length data of the length part included in the basic packet PB-1, and the basic frame data part FDB-1 is sent to the buffer memory BUF1. Similarly, the media access control module mac1 checks the transfer error of the basic frame data part FDB-2 by the FCS data of the FCS part C-2 of the basic packet PB-2. If there is no transfer error, the basic frame data part FDB-2 is separated from the basic packet PB-2 based on the length data of the length part included in the basic packet PB-2. FDB-2 is sent to the buffer memory BUF1.
[0038]
The switching module SWM refers to the destination address of the basic frame data part FDB-1, and searches the address table ADT for this destination address, thereby confirming that the port that transmits the basic frame data part FDB-1 is the port P2. Determine. Then, the basic frame data part FDB-1 is sent to the media access control module mac2 via the buffer memory BUF2. Similarly, the switching module SWM refers to the destination address of the basic frame data part FDB-2 and searches the address table ADT for this destination address, so that the output port of the basic frame data part FDB-2 is the port P3. Determine that. Then, the basic frame data part FDB-2 is sent to the media access control module mac3 via the buffer memory BUF3.
[0039]
The media access control module mac2 regenerates the FCS unit C-1 for the basic frame data unit FDB-1, attaches the synchronization unit PS and the FCS unit C-1 to the basic frame data unit FDB-1, and generates the basic packet PB. -1 is regenerated, and this basic packet PB-1 is sent to the physical layer control module PHY2. Similarly, the media access control module mac3 regenerates the FCS unit C-2 for the basic frame data unit FDB-2, and attaches the synchronization unit PS and the FCS unit C-2 to the basic frame data unit FDB-2. The basic packet PB-2 is regenerated, and the basic packet PB-2 is sent to the physical layer control module PHY3.
[0040]
The physical layer control module PHY2 transmits the basic packet PB-1 from the port P2. Similarly, the physical layer control module PHY3 transmits the basic packet PB-2 from the port P3.
[0041]
In FIG. 11, if both basic packets PB-1 and PB-2 are transmitted from port P2, switching module SWM stores basic frame data portions FDB-1 and FDB-2 of these basic packets. , Sequentially sent to the media access control module mac2 via the buffer memory BUF2. The media access control module mac2 sequentially regenerates basic packets PB-1 and PB-2 for these basic frame data portions FDB-1 and FDB-2, and physically generates these basic packets PB-1 and PB-2. Sequentially sent to the layer control module PHY2.
[0042]
As described above, when the media access control module mac becomes the packet receiving side as in mac2 and mac3 in FIG. 10 and mac1 in FIG. 11, the transfer error of the basic frame data portion FDB of the received basic packet PB is indicated as its FCS. The basic frame data part FDB is separated from the basic packet PB by checking with the FCS data of the part C.
[0043]
Further, the media access control module mac generates the FCS part C for the basic frame data part FDB to be transmitted when it becomes the packet transmission side, such as mac1 in FIG. 10 and mac2 and mac3 in FIG. A synchronization part PS and FCS part C are added to the data part FDB to generate a basic packet PB to be transmitted.
[0044]
[Problems to be solved by the invention]
However, as technology such as VoIP (Voice over IP) spreads from now on, many short packets (small packets) such as compressed voice packets are transferred over the network, and the data transfer efficiency deteriorates. It is expected that the efficiency of use will deteriorate. In general, in a packet switching network, the smaller the packet transferred, the worse the data transfer efficiency. Therefore, if a large number of small packets such as compressed voice packets are transferred, the use efficiency of the network is reduced accordingly. As a future trend, it is considered that voice and image data will be further compressed, and a means for efficiently transferring these small packets is desired.
[0045]
Further, for example, in the IEEE 802.3 standard LAN, 10 [bytes] of voice data must be transmitted every 10 [ms]. Therefore, to transfer a voice packet compressed to 8 [kbps], IEEE 802 .3 In order to satisfy the minimum packet length of 64 [bytes] of the standard LAN, it was necessary to add dummy data to 10 [bytes] of audio data and transmit it. When dummy data is added to a packet as in the IEEE 802.3 standard LAN, the data transfer efficiency is further deteriorated. In the IEEE 802.3 standard LAN, a collision window was set to 64 [byte time] in order to avoid a collision (collision) of transfer data in the early stage when a LAN for half duplex communication was configured by a coaxial cable. Therefore, there is a limitation on the minimum packet length described above.
[0046]
The present invention has been made to solve such problems, and provides a packet transmission device, a packet reception device, a packet multiplexing method, and a packet separation method that can improve data transfer efficiency (network use efficiency). It is intended to do.
[0047]
[Means for Solving the Problems]
  In order to achieve the above object, the packet transmission device of the present invention provides:
  A synchronization unit, which is arranged at the head of the packet to synchronize transmission and reception, and into which synchronization data for identifying the head of the packet at the time of transmission and reception is inserted, a destination address (MAC (Media Access Control) address), a source address and an IP An address part into which a destination network address (IP address) in the case of via a network is inserted, a header part including a length part into which the length data of the packet or frame data part is inserted, and transmission data are inserted. A packet transmission apparatus for transmitting a basic packet composed of a single data part and a footer part including a frame check sequence (FCS) part arranged at the end of a packet to check an error by packet communication There,
  A header part and a data part excluding a synchronization part are separated from the basic packet as a basic frame data part based on the length data, and the length part of the header part includes a length of the basic frame data part. The data is inserted,pluralthe aboveBasic packetthe aboveBasic frame data sectionTheGenerates the arranged composite frame data partThenMultiplex means for generating a multiplex packet by generating a footer part for the composite frame data part, adding a synchronization part and the generated footer part to the composite frame data part,
  Transmitting means for transmitting the multiplex packet from the port;
  It is equipped with.
[0048]
  The packet receiver of the present invention is
  A synchronization unit, which is arranged at the head of the packet to synchronize transmission and reception, and into which synchronization data for identifying the head of the packet at the time of transmission and reception is inserted, a destination address (MAC (Media Access Control) address), a source address and an IP An address part into which a destination network address (IP address) in the case of via a network is inserted, a header part including a length part into which the length data of the packet or frame data part is inserted, and transmission data are inserted. A packet receiving device that receives a basic packet composed of one data portion and a footer portion including a frame check sequence (FCS) portion that is arranged at the end of the packet and that checks for errors by packet communication. There,
  A header part and a data part excluding a synchronization part are separated from the basic packet as a basic frame data part based on the length data, and the length part of the header part includes a length of the basic frame data part. The data is inserted,pluralthe aboveBasic packetthe aboveBasic frame data sectionTheReceiving means for receiving a multiplexed packet in which the composite frame data portion arranged is added with a synchronization portion and a footer portion for the composite frame data portion;
  Separation means for separating individual basic frame data parts from the multiplexed packet based on length data of the individual basic frame data parts constituting the multiplexed packet;
  It is equipped with.
[0049]
  Further, the packet multiplexing method of the present invention includes:
  A synchronization unit, which is arranged at the head of the packet to synchronize transmission and reception, and into which synchronization data for identifying the head of the packet at the time of transmission and reception is inserted, a destination address (MAC (Media Access Control) address), a source address and an IP An address part into which a destination network address (IP address) in the case of via a network is inserted, a header part including a length part into which the length data of the packet or frame data part is inserted, and transmission data are inserted. When transmitting a basic packet composed of one data part and a footer part including a frame check sequence (FCS) part arranged at the end of the packet for checking an error by packet communication,
  A header part and a data part excluding a synchronization part are separated from the basic packet as a basic frame data part based on the length data, and the length part of the header part includes a length of the basic frame data part. The data is inserted,pluralthe aboveBasic packetthe aboveBasic frame data sectionTheA packet multiplexing method for generating a composite multiple packet,
  Generating a composite frame data portion in which the plurality of basic frame data portions are arranged;
  Generating a footer portion for the composite frame data portion;
  Adding a synchronization unit and the generated footer unit to the composite frame data unit to generate a multiplexed packet;
  Is included.
[0050]
  Further, the packet separation method of the present invention includes:A synchronization unit, which is arranged at the head of the packet to synchronize transmission and reception, and into which synchronization data for identifying the head of the packet at the time of transmission and reception is inserted, a destination address (MAC (Media Access Control) address), a source address and an IP An address part into which a destination network address (IP address) in the case of via a network is inserted, a header part including a length part into which the length data of the packet or frame data part is inserted, and transmission data are inserted. When receiving a basic packet composed of one data part and a footer part including a frame check sequence (FCS) part arranged at the end of the packet for checking an error by packet communication,
  A header part and a data part excluding a synchronization part are separated from the basic packet as a basic frame data part based on the length data, and the length part of the header part includes a length of the basic frame data part. The data is inserted,pluralthe aboveBasic packetthe aboveBasic frame data sectionTheA packet separation method for separating a multiplexed packet in which a synchronization part and a footer part for the composite frame data part are added to the arranged composite frame data part into individual basic frame data parts,
  Based on the length data of the individual basic frame data parts constituting the multiplex packet, the multiplex packetaboutDetermining the boundaries of the individual basic frame data parts;
  Separating individual basic frame data parts from multiple packets according to the above boundaries;
  Is included.
[0051]
DETAILED DESCRIPTION OF THE INVENTION
Embodiment 1
FIG. 1 is a configuration diagram of a network according to the first embodiment of the present invention. The network shown in FIG. 1 is an in-house LAN (IEEE 802.3 standard LAN) composed of a switch device and a terminal device. For example, compressed voice packet communication is performed.
[0052]
The network in FIG. 1 is constructed including terminal devices A, B, C, D, and E, switch devices S1 and S2, and a backbone LAN. Each switch device S1, S2 has ports Pa, Pb, Pc, Pd, Pe, Pf, Pg. The terminal device A is connected to the port Pa of the switch device S1, the terminal device B is connected to the port Pd of the switch device S1, and the terminal device C is connected to the port Pf of the switch device S1. The terminal device D is connected to the port Pc of the switch device S2, and the terminal device E is connected to the port Pf of the switch device S2. The ports Pg of the switch devices S1 and S2 are each connected to the backbone LAN.
[0053]
In the following description, a packet including one header part and one data part is particularly referred to as a basic packet in order to distinguish it from a packet having a different configuration. Further, the header part and the data part excluding the synchronization part in the header part, the data part, and the footer part that constitute the basic packet are particularly referred to as a basic frame data part. Therefore, the basic packet is composed of a synchronization unit, a basic frame data unit, and a footer unit.
[0054]
In the network according to the first embodiment, only the basic packet is transmitted from the terminal device, but the switch device generates a multiplexed packet including a composite frame data portion obtained by combining the basic frame data portions of a plurality of basic packets. Therefore, in addition to the basic packet, the multiplex packet is transferred.
[0055]
FIG. 2 is a diagram for explaining packet transfer in the network of FIG. In FIG. 2, the terminal devices A, B, and C communicate with the terminal devices D and E through the switch device S1, the backbone LAN, and the switch device S2, and the terminal devices A, B, and C communicate with the terminal devices D and E. It is a figure when a packet is forwarded to.
[0056]
In FIG. 2, PB (PB-A, PB-B, PB-C) is a basic packet, and PM (PM-1, PM-2) is a multiplexed packet. PS is a synchronization unit, To (To-D, To-E) is a destination address (MAC address) unit, From (From-A, From-B, From-C) is a source address unit, and L (L- A, LB, LC) is a length part, DATA (DATA-A, DATA-B, DATA-C) is a data part, C (CA, CB, CC, C-M1) , C-M2) is the FCS section.
[0057]
As can be seen from FIG. 2, the header portion of the basic packet PB is composed of a synchronization portion PS, a destination address portion To, a source address portion From, and a length portion L. Further, the footer part of the basic packet PB is composed of only the FCS part C. The basic frame data part includes a destination address part To, a source address part From, a length part L, and a data part DATA.
[0058]
The synchronization unit PS is synchronized with transmission and reception, and is inserted with synchronization data for identifying the head of the packet at the time of transmission and reception. A destination address (MAC address) is inserted into the destination address portion To. A transmission source address is inserted into the transmission source address section From. In the length portion L, the length data of the packet or the basic frame data portion is inserted. Transmission data such as compressed audio data is inserted into the data section DATA. FCS data such as CRC for checking a transfer error in the basic frame data part of the basic packet is inserted into the FCS part C of the basic packet PB.
[0059]
As can be seen from FIG. 2, the multiplex packet PM is composed of a synchronization unit PS, a composite frame data unit in which basic frame data units of a plurality of basic packets PB are arranged, and an FCS unit C that is a footer unit. Yes. FCS data such as CRC for checking a transfer error of the composite frame data part of the multiplex packet is inserted into the FCS part C of the multiplex packet PM.
[0060]
In FIG. 2, the basic packet PB-A is transmitted from the terminal device A to the port Pa of the switch device S1, the basic packet PB-C is transmitted from the terminal device C to the port Pd of the switch device S1, and the port Pd of the switch device S1 from the terminal device B. Basic packets PB-B are transmitted in this order.
[0061]
  Basic packetPB-AIncludes a synchronization part PS, a basic frame data part (destination address part To-D, source address part From-A, length part LA),FCS DepartmentC-A. Also, basic packetPB-CIncludes a synchronization part PS, a basic frame data part (destination address part To-D, source address part From-C, length part LC, data part DATA-C),FCS DepartmentIt is comprised by CC. Also, basic packetPB-BIs a synchronization part PS, a basic frame data part (destination address part To-E, source address part From-B, length part LB, data part DATA-B),FCS DepartmentIt is comprised by CB.
[0062]
“-D” in the destination address part To-D indicates that the destination of the basic packet is the terminal device D, and “-E” in the destination address part To-E indicates the destination of the basic packet. Indicates the terminal device D. Accordingly, the destinations of the basic packets PB-A and PB-C are the terminal device D, and the destination of the basic packet PB-B is the terminal device E.
[0063]
Based on the destination address part To included in each of the received basic packets PB-A, PB-C, and PB-B, the switch device S1 uses the port Pg as a port for transmitting these basic packets. Determine that there is. Then, these basic packets are multiplexed to generate one multiplexed packet PM-1, and this multiplexed packet PM-1 is sent from the port Pg to the backbone LAN.
[0064]
In the switching device S1, the basic frame data portion is separated from the received packet (basic packet and multiple packet), and this basic frame data portion is subjected to switching processing.
[0065]
  The multiplexed packet PM-1 includes a synchronization unit PS, a composite frame data unit that combines the three basic frame data units of the basic packets PB-A, PB-C, and PB-B, and the above-described composite frame data unit.FCS DepartmentC-M1. The composite frame data part includes a basic frame data part (destination address part To-D, source address part From-A, length part LA, data part DATA-A) of the basic packet PB-A, Basic frame data part (destination address part To-D, source address part From-C, length part LC, data part DATA-C) of packet PB-C, and basic frame data part of basic packet PB-B (Destination address part To-E, transmission source address part From-B, length part LB, data part DATA-B).
[0066]
As described above, the multiplex packet PM-1 generates a composite frame data portion in which three basic frame data portions of the basic packets PB-A, PB-C, and PB-B are arranged, and is synchronized with the composite frame data portion. A part PS is added, and an FCS part C-M1 for the composite frame data part is generated and added.
[0067]
The multiplexed packet PM-1 sent to the backbone LAN is received at the port Pg of the switch device S2 to which the destination terminal devices D and E are linked.
[0068]
Based on the length data of the length part L included in the received packet PM-1, the switching device S2 determines that the packet PM-1 is a multiplexed packet. Based on the length data of the three length portions L included in the multiplex packet PM-1, the multiplex packet PM-1 is converted into three basic packets PB-A, PB-C, and PB-B. To separate.
[0069]
Further, the switching device S2 uses the three basic packets PB-A, PB based on the destination address of the destination address portion To included in each of the separated basic packets PB-A, PB-C, PB-B. -C and PB-B are determined to have the same port Pc for transmitting the basic packets PB-A and PB-C and the port Pf for transmitting the basic packet PB-B.
[0070]
Then, the switching device S2 generates a multiplexed packet PM-2 in which the two basic packets PB-A and PB-C are multiplexed, and transmits this multiplexed packet PM-2 to the terminal device D from the port Pc. Further, the basic packet PB-B for the frame data portion of the basic packet PB-B is regenerated, and this basic packet PB-B is transmitted from the port Pf to the terminal device E.
[0071]
In the switching device S2, the basic frame data part is separated from the received packets (basic packet and multiplex packet), and this basic frame data part is subjected to switching processing.
[0072]
  The multiplex packet PM-2 includes a synchronization unit PS, a composite frame data unit that combines the two basic frame data units of the basic packets PB-A and PB-C, and the above-described composite frame data unit.FCS DepartmentC-M2. The composite frame data part includes a basic frame data part (destination address part To-D, source address part From-A, length part LA, data part DATA-A) of the basic packet PB-A, The packet PB-C includes a basic frame data part (destination address part To-D, source address part From-C, length part LC, data part DATA-C).
[0073]
In this way, the multiplex packet PM-2 generates a composite frame data part in which two basic frame data parts of the basic packets PB-A and PB-C are arranged, and a synchronization part PS is added to the composite frame data part. In addition, the FCS part C-M2 for the composite frame data part is generated and added.
[0074]
  Further, the regenerated basic packet PB-B includes a synchronization unit PS, a basic frame data unit (destination address unit To-E, source address unit From-B, length unit LB, data unit DATA-B). ) And regeneratedFCS DepartmentIt is comprised by CB.
[0075]
The terminal device D separates the received multiplexed packet PM-2 into two basic frame data parts by a packet separation process similar to that of the switch device S2. Then, the data parts DATA-A and DATA-C are separated from these basic frame data parts. The terminal device E separates the basic frame data portion from the received basic packet PB-B. Then, the data part DATA-B is separated from the basic frame data part.
[0076]
3 and 4 are internal configuration diagrams of the switch device S (S1, S2) of FIG. 1, and are diagrams for explaining packet switching processing in the switch device S. FIG. FIG. 3 is a diagram for explaining packet multiplexing processing, and FIG. 4 is a diagram for explaining packet separation processing. 3 and 4, the same or corresponding parts as those in FIGS. 10 and 11 are denoted by the same reference numerals, PB (PB-1, PB-2) is a basic packet, and PM (PM-3) is Multiplex packet, PS is a synchronization part, FDB (FDB-1, FDB-2) is a basic frame data part of basic packet PB, FDM (FDM-3) is a composite frame data part of multiple packet PM, C (C-1, C-2, C-3) are FCS sections for the basic frame data section FDB or the composite frame data section FDM.
[0077]
3 and 4, the switching device S includes a port P (P1, P2, P3,..., P7), a physical layer control module PHY (PHY1, PHY2, PHY3,..., PHY7), and a media access control module MAC. (MAC1, MAC2, MAC3,..., MAC7), a buffer memory BUF (BUF1, BUF2, BUF3,... BUF7), a switching module SWM, and an address table ADT.
[0078]
The switch device S according to the first embodiment has a configuration in which the media access control module mac is changed to the media access control module MAC in the conventional switch device s (see FIGS. 10 and 11).
[0079]
The physical layer control module PHY is a module that controls the physical layer. The physical layer control module PHY converts a packet (basic packet PB or multiple packet PM) input to the port P into a signal suitable for the media access control module MAC and sends it to the media access control module MAC. The packet (basic packet PB or multiplexed packet PM) output from the control module MAC is converted into a signal suitable for the connection cable of the port P and transmitted from the port P.
[0080]
A destination address for each transmission port is recorded in the address table ADT.
[0081]
The media access control module MAC is a module that controls the data link layer. This media access control module MAC is in charge of the receiving side processing of the packet switching processing including the packet separation processing when the connected port P becomes the receiving port of the basic packet PB or the multiplexed packet PM. When it becomes the transmission port of the basic packet PB or the multiplexed packet PM, it is in charge of the transmission side process of the packet switching process including the packet multiplexing process.
[0082]
The buffer memory BUF temporarily holds a basic frame data part FDB to be switched.
[0083]
The switching module SWM searches the address table ADT for the destination address of the basic frame data portion FDB transferred from the media access control module MAC to the buffer memory BUF, and determines the port that transmits the basic frame data portion FDB. The basic frame data part FDB is transferred to the buffer memory BUF of the transmission port.
[0084]
  In the packet switching process (packet multiplexing process) of FIG. 3, the basic packet PB-1 received at the port P2 and the basic packet PB-2 received at the port P3 are combined into one multiplexed packet PM-.3Multiplexed packet PM−3Is transmitted from the port P1. The packet multiplexing process in FIG. 3 corresponds to the process in the switch device S1 in the packet transfer in FIG. Therefore, the ports P1, P2, and P3 in FIG. 3 are the ports of the switch device S1 in FIG.Pg, Pa, PdRespectively.
[0085]
In FIG. 3, the physical layer control module PHY2 sends the packet PB-1 received at the port P2 to the media access control module MAC2. Similarly, the physical layer control module PHY3 sends the packet PB-2 received at the port P3 to the media access control module MAC3.
[0086]
The media access control module MAC2 checks the transfer error of the frame data part FDB-1 based on the FCS data of the FCS part C-1 of the received packet PB-1. If there is no transfer error, reference is made to the length data of any length part (the length data of the basic packet or basic frame data part) included in the packet PB-1, and this length data and reception By comparing the packet PB-1 or the actual data length of the frame data portion FDB-1, it is determined whether or not the packet PB-1 is a multiplexed packet.
[0087]
Then, the media access control module MAC2 determines that the packet PB-1 is a basic packet, and based on the length data included in the frame data part FDB-1 constituting the basic packet PB-1, The basic frame data part FDB-1 is separated from the basic packet PB-1, and this basic frame data part FDB-1 is sent to the buffer memory BUF2.
[0088]
For example, the media access control module MAC2 compares the length data inserted in the length part of the packet PB-1 with the actual data length of the frame data part FDB-1. Then, when they match, it is determined that the packet PB-1 is a basic packet.
[0089]
Similarly, the media access control module MAC3 checks the transfer error of the basic frame data part FDB-2 based on the FCS data of the FCS part C-2 of the received packet PB-2. If there is no transfer error, the length data (the length data of the basic packet or the basic frame data portion) included in the packet PB-2 is referred to, and this length data and the reception are received. By comparing the packet PB-1 or the actual data length of the frame data part FDB-2, it is determined whether or not the packet PB-2 is a multiplexed packet.
[0090]
Then, the media access control module MAC3 determines that the packet PB-2 is a basic packet, and based on the length data included in the basic frame data part FDB-2 constituting the basic packet PB-2. The basic frame data part FDB-2 is separated from the basic packet PB-2, and this basic frame data part FDB-2 is sent to the buffer memory BUF3.
[0091]
When the above ports P2 and P3 are connected to the terminal device, the packet transmitted from the terminal device and received at the port is only a basic packet, so the received packet is a multiplexed packet. The above determination of whether or not there is can be omitted.
[0092]
The switching module SWM refers to the destination address of the basic frame data part FDB-1, and searches the address table ADT for this destination address, thereby confirming that the port transmitting the basic frame data part FDB-1 is the port P1. Determine. Then, the basic frame data part FDB-1 is sent to the media access control module MAC1 via the buffer memory BUF1. Similarly, the switching module SWM refers to the destination address of the basic frame data part FDB-2 and searches the address table ADT for this destination address, so that the port that transmits the basic frame data part FDB-2 is the port P1. Determine that there is. Then, the basic frame data part FDB-2 is sent to the media access control module MAC1 via the buffer memory BUF1.
[0093]
  The media access control module MAC1 generates a composite frame data unit FDM-3 in which two basic frame data units FDB-1 and FDB-2 are arranged, and the composite frame data unit FDM-3FCS DepartmentC-3 is generated, and the synchronization unit PS and the composite frame data unit FDM-3 are generated.FCS DepartmentC-3 is added to generate a multiplex packet PM-3, and this multiplex packet PM-3 is sent to the physical layer control module PHY1.
[0094]
The physical layer control module PHY1 transmits the multiplexed packet PM-3 from the port P1.
[0095]
In the packet switching process (packet separation process) of FIG. 4, the multiplexed packet PM-3 received at the port P1 is separated into two basic packets PB-1 and PB-2, and these basic packets are transmitted to the ports P2 and P3. Respectively sent from. The packet separation process in FIG. 4 corresponds to the process in the switch device S2 in the packet transfer in FIG. Accordingly, the ports P1, P2, and P3 in FIG. 4 correspond to the ports Pg, Pc, and Pf of the switch device S2 in FIG. 1, respectively.
[0096]
In FIG. 4, the physical layer control module PHY1 sends the packet PM-3 received at the port P1 to the media access control module MAC1.
[0097]
The media access control module MAC1 checks the transfer error of the frame data part FDM-3 of the packet PM-3 based on the FCS data of the FCS part C-3 of the received packet PM-3. If there is no transfer error, reference is made to the length data (length data of the basic packet or basic frame data) included in the packet PM-3, and this length data and the reception are received. By comparing the packet PM-3 or the actual data length of the frame data part FDM-3, it is determined whether or not the packet PM-3 is a multiplexed packet.
[0098]
Then, the media access control module MAC1 determines that the packet PM-3 is a multiplex packet, and the lengths of the two length parts included in the composite frame data part FDM-3 constituting the multiplex packet PM-3. Based on the data, the multiplexed packet PM-3 is separated into two basic frame data parts FDB-1 and FDB-2, and these basic frame data parts FDB-1 and FDB-2 are sent to the buffer memory BUF1. .
[0099]
For example, first, the media access control module MAC1 includes the length data inserted in the length portion of the basic frame data portion FDB-1 constituting the frame data portion FDM-3, and the frame data portion FDM-3. Compare with actual data length. Since these are different, it is determined that the packet PM-3 is a multiplex packet, the end boundary of the basic frame data portion FDB-1 is calculated from the length data of the basic frame data portion FDB-1, and the boundary To separate the basic frame data portion FDB-1.
[0100]
Further, the media access control module MAC1 includes the length data inserted in the length portion of the basic frame data portion FDB-2 constituting the remaining portion of the multiplexed packet PM-3, and the composite frame data portion FDM-. 3 is compared with the actual data length of the remaining part. If they match, it is determined that the remaining portion of the multiplexed packet PM-3 includes only one basic frame data portion FDB-2, and the basic portion is determined from the remaining portion of the multiplexed packet PM-3. The frame data part FDB-2 is separated, and the separation process of the multiplexed packet PM-3 is finished.
[0101]
The switching module SWM refers to the destination address of the basic frame data part FDB-1, and searches the address table ADT for this destination address, thereby confirming that the port that transmits the basic frame data part FDB-1 is the port P2. Determine. Then, the basic frame data part FDB-1 is sent to the media access control module MAC2 via the buffer memory BUF2. Similarly, the switching module SWM refers to the destination address of the basic frame data part FDB-2 and searches the address table ADT for this destination address, so that the port that transmits the basic frame data part FDB-2 is the port P3. Determine that there is. Then, the basic frame data part FDB-2 is sent to the media access control module MAC3 via the buffer memory BUF3.
[0102]
  The media access control module MAC2 regenerates the FCS unit C-1 for the basic frame data unit FDB-1, attaches the synchronization unit PS and the FCS unit C-1 to the basic frame data unit FDB-1, and generates the basic packet PB. -1 is regenerated, and this basic packet PB-1 is sent to the physical layer control module PHY2. Similarly, the media access control module MAC3 regenerates the FCS part C-2 for the basic frame data part FDB-2 and generates a basic frame data part.FDB-2 is added with synchronization unit PS and FCS unit C-2 to regenerate basic packet PB-2, and this basic packet PB-2 is sent to physical layer control module PHY3.
[0103]
The physical layer control module PHY2 transmits the basic packet PB-1 from the port P2. Similarly, the physical layer control module PHY3 transmits the basic packet PB-2 from the port P3.
[0104]
In FIG. 3, if a multiplexed packet in which basic packets PB-1 and PB-2 are multiplexed is received at port P2, the media access control module MAC2 determines that the received multiplexed packet is The basic frame data parts FDB-1 and FDB2 are separated by the same procedure as the media access control module MAC1 of FIG.
[0105]
In FIG. 4, if both basic frame data parts FDB-1 and FDB-2 are transmitted from the port P2, the media access control module MAC2 transmits a multiplexed packet combining these basic frame data parts, It is generated in the same procedure as the media access control module MAC1 in FIG.
[0106]
As described above, when the media access control module MAC of the switch device S according to the first embodiment is the packet transmission side, as in MAC1 in FIG. 3 and MAC2 and MAC3 in FIG. If there are a plurality of frame data portions FDB, a composite frame data portion FDM in which these basic frame data portions FDB are arranged is generated, and an FCS portion C for the composite frame data portion FDM is generated, and this composite frame data portion FDM is generated. Is added with the synchronization unit PS and the generated FCS unit C to generate a multiplexed packet PM. Further, if there is one basic frame data part FDB transmitted from the same port P, an FCS part C for this basic frame data part FDB is generated independently, and the synchronization part PS and the above-mentioned part are generated in this frame data part FDB. The basic packet PB is regenerated by adding the FCS part C generated independently.
[0107]
However, if the switch device S waits indefinitely for a plurality of packets transmitted from the same port to be received, the time for packet switching processing in the switch device S becomes long, and delay becomes a problem. Therefore, for example, a timer is provided in the switching device S, and a plurality of basic frame data portions that are received almost simultaneously and transmitted from the same port (thus, a plurality of basic frame data portions that are separated from the same single multiplexed packet and transmitted from the same port). If only the basic frame data part is included), the efficiency of the packet switching process (packet multiplexing process) in the switch device S can be increased.
[0108]
Further, the media access control module MAC of the switch device S of the first embodiment is configured to receive a received packet (basic packet PB or multiplex) when it becomes a packet receiving side like MAC2 and MAC3 in FIG. 3 and MAC1 in FIG. Based on the length data included in the packet PM), the individual basic frame data portion FDB is separated from the packet. That is, based on the above length data, it is determined whether or not the packet is a multiplex packet. If the packet is a basic packet, the length data of the length portion included in the basic frame data portion FDB is determined. Originally, the basic frame data part FDB is separated, and if it is a multiplex packet PM, the composite frame data part FDM is converted into the composite frame data part FDM based on the length data included in the composite frame data part FDM. The basic frame data part FDB is separated.
[0109]
In the IEEE 802.3 standard LAN, the minimum packet length is limited to 64 [bytes]. Therefore, in the switch device S, it is necessary to add dummy data when the packet length of the multiplexed packet does not reach the minimum packet length. is there.
[0110]
In addition, the switching module SWM of the switch device S according to the first embodiment performs the same procedure as the conventional one based on the destination address included in the basic frame data portion separated from the received packet (basic packet and multiple packet). Then, the port that transmits the basic frame data portion is determined, and the basic frame data portion is transferred to the buffer memory BUF of the transmission port.
[0111]
  3 and 4, the basic frame data section in the switch device S is used.FDBSwitching processing is performed via the switching module SWM, but the basic frame data portion is not transmitted between the memory buffer BUF of the reception port and the transmission port without using the switching module SWM.FDBIt is also possible to adopt a configuration in which is directly transferred.
[0112]
Further, the terminal devices A, B, C, D, and E according to the first embodiment are configured to receive individual basic frames from the received multiple packets in the conventional terminal devices a, b, c, d, and e (see FIG. 8). A function of packet separation processing (packet separation processing similar to that of the switch device S) for separating the data portion is provided. However, the network according to the first embodiment can be configured by conventional terminal devices a, b, c, d, and e. In this case, in the switching device S, the media access control module MAC of the port connected to the terminal device is configured not to generate multiple packets.
[0113]
  As described above, in the first embodiment, the switch device generates a composite frame data portion in which a plurality of basic frame data portions are arranged, and the composite frame data portionFCS DepartmentGenerate the above-mentioned composite frame data part and the synchronization part and the above generatedFCS DepartmentIs added to generate a multiplex packet, and the multiplex packet is transmitted. Also, in the switch device or terminal device, the frame data portion is separated from the received packet, and the frame data portion is a composite frame data portion based on the length data included in the frame data portion. If it is a composite frame data part, the composite frame data is based on the length data of the length part included in each basic frame data part constituting the composite frame data part. Is divided into the individual basic frame data parts.
[0114]
  As a result, the synchronization unit andFCS DepartmentIn addition, it is not necessary to provide an interpacket gap during transmission (gap that had to be provided between these basic packets when transmitting multiple basic packets from the same port in conventional packet transfer). Therefore, the data transfer efficiency can be increased, and thereby the network usage efficiency can be increased. In addition, in a network with a minimum packet length restriction such as the IEEE 802.3 standard LAN, it is possible to reduce the addition rate of dummy data, thereby improving the data transfer efficiency and the network usage efficiency.
[0115]
Further, the packet switching processing (packet multiplexing processing and packet separation processing) of the first embodiment can be realized only by changing the media access control procedure for controlling the data link layer, and is a physical layer that is a lower layer of the data link layer. Therefore, the switch device and the terminal device according to the first embodiment are a medium for controlling the data link layer in the conventional switch device and the terminal device. This can be realized by changing only the access control module. Further, a function provided in the conventional switch device and terminal device, the function of separating the basic frame data portion from the basic packet based on the length data of the length portion included in the basic frame data portion, and The function of generating the FCS part for the basic frame data part can be used as it is.
[0116]
As a result, the switch device and the terminal device according to the first embodiment can be easily realized by only a simple change of the conventional switch device and the terminal device.
[0117]
Embodiment 2
FIG. 5 is a configuration diagram of a network according to the second embodiment of the present invention. FIG. 2 assumes an IP network that includes a switch device, a router device, and the Internet and performs compressed voice communication and the like. In FIG. 5, the same components as those in FIG.
[0118]
The network shown in FIG. 5 includes a terminal device A, B, C, D, E, switch devices S1, S2, router devices R1, R2, and the Internet. Each router device R1, R2 has ports Qa, Qb, Qc, Qd, Qe, Qf.
[0119]
  The terminal device A is connected to the port Pa of the switch device S1, the terminal device B is connected to the port Pd of the switch device S1, and the terminal device C is connected to the port Pf of the switch device S1. The terminal device D is connected to the port Pc of the switch device S2, and the terminal device E is the switch device.S2Port Pf.
[0120]
The port Pg of the switch device S1 is connected to the port Qf of the router device R1, and the port Pg of the switch device S2 is connected to the port Qe of the router device R2. Port Qa of router device R1 and port Qf of router device R2 are each connected to the Internet, which is a backbone network.
[0121]
In the network according to the second embodiment, a packet transmitted from a terminal device is only a basic packet, but a multiplexed packet including a composite frame data portion in which the basic frame data portions of a plurality of basic packets are combined in the switch device and the router device. Therefore, in addition to the basic packet, the multiplex packet is transferred.
[0122]
FIG. 6 is a diagram for explaining packet transfer in the network of FIG. In FIG. 6, the terminal devices A, B, and C communicate with the terminal devices D and E via the switch device S1, the router device R1, the Internet, the router device R2, and the switch device S2. It is a figure when a packet is transferred from B and C to the terminal devices D and E.
[0123]
In FIG. 6, the same or corresponding parts as those in FIG. 2 are denoted by the same reference numerals, and PBI (PBI-A, PBI-B, PBI-C) is a basic packet, PMI (PMI-1, PMI-2). , PMI-3, PMI-4) are multiple packets. Further, To (To-R1, To-R2, To-D, To-E) is a destination address (MAC address) part, CI (CI-A, CI-B, CI-C, CI-M1, CI-M2). , CI-M3, CI-M4) are FCS units. IP (IP-D, IP-E) is a destination network address (IP address) part.
[0124]
As can be seen from FIG. 6, the header part of the basic packet PBI is composed of a synchronization part PS, a destination address part To, a source address part From, a length part L, and a destination network address part IP. . Further, the footer part of the basic packet PBI is composed only of the FCS part CI. The basic frame data part includes a destination address part To, a source address part From, a length part L, a destination network address part IP, and a data part DATA. The basic frame data part of the second embodiment has a configuration in which the destination network address part IP is provided in the basic frame data part of the first embodiment.
[0125]
A destination network address (IP address) is inserted into the destination network address part IP. FCS data such as CRC for checking a transfer error in the basic frame data portion of the basic packet is inserted into the FCS portion CI of the basic packet PBI.
[0126]
Further, as can be seen from FIG. 6, the multiplex packet PMI is composed of a synchronization unit PS, a composite frame data unit in which basic frame data units of a plurality of basic packets PBI are arranged, and an FCS unit CI that is a footer unit. Yes. FCS data such as CRC for checking a transfer error of the composite frame data part of the multiplex packet is inserted into the FCS part CI of the multiplex packet PMI.
[0127]
In FIG. 6, the basic packet PBI-A is transmitted from the terminal device A to the port Pa of the switching device S1, the basic packet PBI-C is transmitted from the terminal device C to the port Pd of the switching device S1, and the port Pd of the switching device S1 from the terminal device B. Basic packet PBI-B is transmitted in this order.
[0128]
  The basic packet PBI-A includes a synchronization unit PS, a destination address unit To-R1, a source address unit From-A, a length unit LA, a destination network address unit IP-D, and a data unit DATA-. A andFCS DepartmentCI-A is arranged. The basic packet PBI-C includes a synchronization unit PS, a destination address unit To-R1, a source address unit From-C, a length unit L-C, a destination network address unit IP-D, and a data unit. DATA-C,FCS DepartmentCI-C is arranged. The basic packet PBI-B includes a synchronization unit PS, a destination address unit To-R1, a transmission source address unit From-B, a length unit LB, a destination network address unit IP-E, and a data unit. DATA-B,FCS DepartmentCI-B is arranged.
[0129]
  “−R1” in the destination address part To-R1 indicates that the destination in the inter-device transfer of the basic packet is the router device R1.
Therefore, the destination of inter-device transfer of these basic packets PBI-A, PBI-C, and PBI-B is all the router device R1. Also, “-D” in the destination network address part IP-D indicates that the final destination of the basic packet is the terminal device D, and “-E” in the destination network address part IP-E is , The final destination of the basic packet is the terminal device E. Therefore, the basic packetPBIA andPBThe final destination of I-C is the terminal device D, and the basic packetPBThe final destination of IB is the terminal device E.
[0130]
The inter-device transfer includes a terminal device-router device, a router device-router device, a router device-terminal device, a terminal device-terminal device, and the like. The switch device does not become a transmission / reception device for transfer between devices. The packet transfer is configured by one or a plurality of inter-device transfer procedures. The packet transfer according to the first embodiment is configured by one inter-device transfer procedure between the terminal device and the terminal device (see FIG. 1 and FIG. 2). It consists of a total of four inter-device transfer procedures between router devices, between router devices and router devices, and between router devices and terminal devices.
[0131]
The switch device S1 generates one multiplexed packet PMI-1 by multiplexing the received three basic packets PBI-A, PBI-B, and PBI-C by packet switching processing similar to that of the first embodiment. The multiplex packet PMI-1 is transmitted from the port Pg to the port Qf of the router apparatus R1.
[0132]
  The multiplexed packet PMI-1 includes a synchronization unit PS, a composite frame data unit that combines the three basic frame data units of the basic packets PBI-A, PBI-C, and PBI-B, and the above-described composite frame data unit.FCS DepartmentIt is comprised by CI-M1. The above composite frame data part includes the basic frame data part (destination address part To-R1, source address part From-A, length part LA, destination network address part IP-D, data of the basic packet PBI-A. Part DATA-A) and basic frame data part (destination address part To-R1, source address part From-C, length part LC, destination network address part IP-D, data part of the basic packet PBI-C DATA-C) and the basic frame data portion (destination address portion To-R1, source address portion From-B, length portion LB, destination network address portion IP-E, data portion DATA of the basic packet PBI-B. -B).
[0133]
As shown in FIGS. 5 and 6, when a packet is transferred beyond the router device, a packet having a destination address that is a physical address is transferred between the router devices. As described above, the destination address can be multiplexed.
[0134]
Based on the length portion L included in the received packet PMI-1, the router device R1 determines that the packet PMI-1 is a multiplexed packet. Then, based on the length data of the three length portions L included in the multiplex packet PMI-1, this multiplex packet PMI-1 is converted into three basic packets PBI-A, PBI-B, and PBI-C. To separate.
[0135]
Further, the router R1 uses the three basic packets PBI-A based on the destination network address of the destination network address part IP included in each of the separated basic packets PBI-A, PBI-B, and PBI-C. , PBI-B and PBI-C are all determined to be the same port Qa. Further, based on the above three destination network addresses, it is determined that the destination addresses for the subsequent inter-device transfer of the three basic packets PBI-A, PBI-C, and PBI-B are all the same router device R2.
[0136]
Then, the router apparatus R1 generates a multiplexed packet PMI-2 in which the three basic packets PBI-A, PBI-C, and PBI-B are multiplexed, and transmits the multiplexed packet PMI-2 from the port Qa to the Internet. In the generation of the multiplexed packet PMI-2, the router apparatus R1 multiplexes the destination addresses by combining the same destination addresses of the three basic packets PBI-A, PBI-C, and PBI-B.
[0137]
In the router apparatus R1, the basic frame data part is separated from the received packets (basic packet and multiplex packet), and the basic frame data part is routed.
[0138]
  The multiplexed packet PMI-2 includes a synchronization unit PS, a composite frame data unit that combines the three basic frame data units of the basic packets PBI-A, PBI-C, and PBI-B, and the above-described composite frame data unit.FCS DepartmentCI-M2. The above composite frame data part includes the basic frame data part of the basic packet PBI-A (destination address part To-R2, source address part From-A, length part LA, destination network address part IP-D, data Part DATA-A), basic frame data part (source address part From-C, length part LC, destination network address part IP-D, data part DATA-C) of the basic packet PBI-C, and basic The packet PBI-B includes a basic frame data part (source address part From-B, length part LB, destination network address part IP-E, data part DATA-B).
[0139]
As described above, the multiplex packet PMI-2 generates a composite frame data part in which three basic frame data parts of the basic packets PBI-A, PBI-C, and PBI-B are arranged, and is synchronized with the composite frame data part. A part PS is added, and an FCS part CI-M2 for the composite frame data part is generated and added. However, the destination address part included in the basic frame data part is changed from To-R1 to To-R2 in accordance with the inter-device transfer.
[0140]
Further, in this multiplex packet PMI-2, the destination address part To- of the basic frame data part of the basic packet PBI-A (the first basic frame data part of the three basic frame data parts constituting the composite frame data part). By leaving only R2 and deleting the destination address part To-R2 of the basic frame data part of the basic packets PBI-C and PBI-B, the same overlapping destination address is multiplexed.
[0141]
The multiplexed packet PMI-2 sent to the Internet is received at the port Qf of the destination router device R2.
[0142]
The router device R2 determines that the packet PMI-2 is a multiplex packet based on the length portion L included in the received multiplex packet PMI-2. Then, based on the length data of the three length portions L included in the multiplex packet PMI-2, the multiplex packet PMI-2 is converted into three basic packets PBI-A, PBI-B, and PBI-C. To separate.
[0143]
Further, the router R2 uses the three basic packets PBI-A based on the destination network address of the destination network address part IP included in each of the separated basic packets PBI-A, PBI-C, and PBI-B. , PBI-C and PBI-B are all determined to be the same port Qe. Further, based on the above three destination network addresses, the destination address of the subsequent inter-device transfer of the basic packets PBI-A and PBI-C is the same terminal device D, and the subsequent device of the basic packet PBI-B It is determined that the destination address for the inter-transfer is the terminal device E.
[0144]
Then, the router device R2 generates a multiplexed packet PMI-3 obtained by multiplexing the three basic packets PBI-A, PBI-C, and PBI-B, and the multiplexed packet PMI-3 is transferred from the port Qe to the port Pg of the switch device S2. Send to. In the generation of the multiplexed packet PMI-3, the router apparatus R2 converts the destination address part To-R2 multiplexed by the multiplexed packet PMI-2 into three destination address parts To-D, To-D, and To-E. To separate.
[0145]
Also in the router apparatus R2, the basic frame data portion is separated from the received packets (basic packets and multiple packets), and the basic frame data portion is subjected to routing processing.
[0146]
  The multiplexed packet PTI-M3 includes a synchronization unit PS, a composite frame data unit that combines the three basic frame data units of the basic packets PBI-A, PBI-C, and PBI-B, and the above-described composite frame data unit.FCS DepartmentIt is comprised by CI-M3. The above composite frame data part includes the basic frame data part (destination address part To-D, source address part From-A, length part LA, destination network address part IP-D, data of the basic packet PBI-A. Part DATA-A) and basic frame data part (destination address part To-D, source address part From-C, length part LC, destination network address part IP-D, data part of the basic packet PBI-C DATA-C) and basic frame data part (destination address part To-E, source address part From-B, length part LB, destination network address part IP-E, data part DATA of basic packet PBI-B) -B).
[0147]
As described above, the multiplex packet PMI-2 generates a composite frame data part in which three basic frame data parts of the basic packets PBI-A, PBI-C, and PBI-B are arranged, and is synchronized with the composite frame data part. A part PS is added, and an FCS part CI-M2 for the composite frame data part is generated and added. However, the destination address part included in the basic frame data part is changed from To-R2 to To-D, To-E according to the inter-device transfer.
[0148]
Further, in this multiplex packet PMI-3, the destination address portions To-D and To-E are provided in the basic frame data portions of the basic packets PBI-C and PBI-B, respectively, thereby separating the multiplexed destination addresses. ing.
[0149]
  The switch device S2 performs a packet switching process similar to that of the first embodiment to multiplex the received multiplex packet PMI-M3 with the basic packets PBI-A and PBI-C.PMI-4And the base packet PBI-B, the multiplexed packet PMI-4 is transmitted from the port Pc to the terminal device D, and the regenerated basic packet PBI-B is transmitted from the port Pf to the terminal device E.
[0150]
  The multiplex packet PMI-4 includes a synchronization part PS, a composite frame data part that combines the two basic frame data parts of the basic packets PBI-A and PBI-C, and the above-described composite frame data part.FCS DepartmentCI-M4. The above composite frame data part includes the basic frame data part (destination address part To-D, source address part From-A, length part LA, destination network address part IP-D, data of the basic packet PBI-A. Part DATA-A) and basic frame data part (destination address part To-D, source address part From-C, length part LC, destination network address part IP-D, data part of the basic packet PBI-C DATA-C).
[0151]
As described above, the multiplex packet PMI-4 generates a composite frame data part in which two basic frame data parts of the basic packets PBI-A and PBI-C are arranged, and a synchronization part PS is added to the composite frame data part. At the same time, the FCS part CI-M4 for the composite frame data part is generated and added.
[0152]
  Further, the regenerated basic packet PBI-B includes a synchronization unit PS, a basic frame data unit (a destination address unit To-E, a source address unit From-B, a length unit LB, a destination address unit To- E, data part DATA-B) and regeneratedFCS DepartmentCI-B.
[0153]
The terminal device D separates the received multiplexed packet PM-4 into two basic frame data parts by a packet separation process similar to that of the switch device S2. Then, the data parts DATA-A and DATA-C are separated from these basic frame data parts. Further, the terminal device E separates the data part DATA-B from the received basic packet PBI-B.
[0154]
FIG. 7 is an internal configuration diagram of the router device R (R1, R2) of FIG. 5 and a diagram for explaining packet routing processing in the router device R. 7, the same components as those in FIG. 3 or 4 are denoted by the same reference numerals, PMI (PMI-A, PMI-B) is a multiple packet, and FDBI (FDBI-1, FDBI-2) is basic frame data. FDMI (FDMI-A, FDMI-B) is a composite frame data part of the multiplexed packet PMI, and CI (CI-A, CI-B) is an FCS part for the composite frame data part FDMI.
[0155]
In FIG. 7, the router device R includes a port Q (Q1, Q2, Q3,..., Q7), a media access control module MACR (MACR1, MACR2, MACR3,..., MACR7), and a physical layer control module PHY (PHY1, PHY1, PHY2, PHY3,... PHY7), a routing module RTM, and an address table ADTR.
[0156]
In the address table ADTR, a transmission port and a destination address (MAC address) for each destination network address (IP address) are recorded.
[0157]
The media access control module MACR is a module that controls the data link layer. This media access control module MACR is in charge of the receiving side processing of the packet routing process when the connected port Q is the receiving port of the basic packet PBI or the multiple packet PMI, and the connected port Q is the basic packet PBI or the multiplexed packet. When it becomes the transmission port of the packet PMI, it is in charge of the transmission side processing of the packet routing processing.
[0158]
The routing module RTM searches the address table ADTR for the destination network address (IP address) of the basic frame data part FDBI transferred from the media access control module MACR to the buffer memory BUF, and transmits the basic frame data part FDBI. And the basic frame data portion FDB is transferred to the buffer memory BUF of the transmission port.
[0159]
  In the routing process of FIG. 7, the multiplex packet PMI-A received at the port Q1 is routed to generate a multiplex packet PMI-B, and the multiplex packet PMI-B isQ2Sent from The routing process in FIG. 7 corresponds to the process in the router apparatuses R1 and R2 in the packet transfer in FIG. Accordingly, the ports Q1 and Q2 in FIG. 7 correspond to the ports Qf and Qa of the router device R1 in FIG. 5 and correspond to the ports Qf and Qe in the router device R2 in FIG.
[0160]
In FIG. 7, the physical layer control module PHY1 sends the packet PMI-A received at the port Q1 to the media access control module MACR1.
[0161]
  The media access control module MACR1 checks the transfer error of the frame data part FDMI-A based on the FCS data of the FCS part CI-A of the received packet PMI-A. If there is no transfer error, the length data (the length data of the basic packet or the basic frame data portion) included in the packet PMI-A is referred to and this length data and the reception are received. PacketsPMI-AOr frame data partFDMI-AThis packet by comparing the actual data length ofPMI-AIs a multiple packet.
[0162]
  Then, the media access control module MACR1PMI-AIs a multiplex packet, this multiplex packetPMI-AComposite frame data part that composesFDMI-ABased on the length data of the two length parts included inPMI-A2 basic frame data partsFDBI-1,FDBI-The basic frame data parts FDBI-1 and FDBI-2 are sent to the buffer memory BUF1.
[0163]
Note that the packet separation processing in the media access control module MACR1 is the same as the processing in the media access control module MAC1 in FIG.
[0164]
The routing module RTM refers to the destination network address (IP address) of the basic frame data part FDBI-1, and searches for the destination network address in the address table ADTR. It is determined that the port Q2. Then, the basic frame data part FDBI-1 is sent to the media access control module MACR2 via the buffer memory BUF2. Similarly, the routing module RTM refers to the destination network address of the basic frame data part FDBI-2 and searches for the destination network address in the address table ADTR so that the port for transmitting the basic frame data part FDBI-2 is the port. It is determined that it is Q2. Then, the basic frame data part FDBI-2 is sent to the media access control module MACR2 via the buffer memory BUF2.
[0165]
  The media access control module MACR2 generates a composite frame data unit FDMI-B in which two basic frame data units FDBI-1 and FDBI-2 are arranged, and the composite frame data unit FDMI-BFCS DepartmentCI-B is generated, and the synchronization unit PS and the composite frame data unit FDMI-B are generated.FCS DepartmentCI-B is added to generate a multiple packet PMI-B, and this multiple packet PMI-B is sent to the physical layer control module PHY2.
[0166]
Further, the media access control module MACR2 refers to the destination network addresses (IP addresses) of the basic frame data portions FDBI-1 and FDBI-2 when generating the multiplexed packet PMI-B, and addresses these destination network addresses. By searching the table ADTR, the destination address of the subsequent inter-device transfer of the basic frame data parts FDBI-1 and FDBI-2 is determined, and the destination of the destination address part of the basic frame data parts FDBI-1 and FDBI-2 The address is changed to the destination address for the subsequent inter-device transfer.
[0167]
Further, the media access control module MACR2 determines whether or not the destination addresses for subsequent inter-device transfers of the basic frame data parts FDBI-1 and FDBI-2 are the same in the change of the destination address.
[0168]
Then, if the destination address is separated in the multiplexed packet PMI-A and the destination address for the subsequent inter-device transfer is the same, the media access control module MACR2 determines the destination address part of the basic frame data part FDBI-1. Only the same destination address is multiplexed by deleting the destination address part of the basic frame data part FDBI-2.
[0169]
Further, in the media access control module MACR2, the destination address is multiplexed in the multiplex packet PMI-A (the destination address part of the basic frame data part FDBI-2 is deleted), and the destination of the transfer between apparatuses thereafter If the addresses are different, only the destination address part of the basic frame data part FDBI-1 is changed to the destination address of the subsequent inter-device transfer, and the subsequent inter-device transfer is transferred to the basic frame data part FDBI-2. By adding the destination address portion into which the destination address is inserted, the multiplexed destination address is separated.
[0170]
The physical layer control module PHY2 transmits the multiplexed packet PMI-B from the port Q2.
[0171]
In FIG. 7, if the basic packet of the basic frame data part FDBI-1 and the basic packet of the basic frame data part FDBI-2 are received at different ports, the media access control module MACR of each port is The basic frame data parts FDBI-1 and FDBI-2 are separated from the respective basic packets by the same processing as the media access control modules MAC2 and MAC3 of FIG.
[0172]
In FIG. 7, if the basic frame data parts FDBI-1 and FDBI-2 are transmitted from different ports, the media access control modules MACR of the respective ports are the media access control modules MAC2, MAC3 of FIG. The basic packet of each basic frame data part is generated by the same processing as described above, and the destination address part is changed or added in accordance with the subsequent inter-device transfer.
[0173]
  As described above, the media access control module MACR of the router device R according to the second embodiment is included in the received packet (basic packet PBI or multiple packet PMI) when it becomes the packet receiving side, as in MACR1 of FIG. Each basic frame data part from the packet based on the length dataFDBIIsolate. That is, based on the above length data, it is determined whether or not the packet is a multiplex packet.FDBIBased on the length data of one length included in theFDBISeparate and multiplex packetPMIIf so, the composite frame data partFDMIBased on the length data of multiple length parts included in theFDMIThe individual basic frame data partFDBITo separate.
[0174]
Further, the media access control module MACR of the router device R according to the second embodiment has a plurality of basic frame data parts FDBI transmitted from the same port Q when it becomes a packet transmission side as shown in MACR2 of FIG. A composite frame data part FDMI in which these basic frame data parts FDBI are arranged is generated, and an FCS part CI for the composite frame data part FDMI is generated. The synchronization part PS and the above-described generated part are generated in the composite frame data part FDMI. An FCS unit CI is added to generate a multiple packet PMI. Further, if there is one basic frame data part FDBI transmitted from the same port Q, an FCS part CI for this basic frame data part FDBI is generated independently, and the synchronization part PS and the above-mentioned The basic packet PBI is regenerated by adding the independently generated FCS unit CI.
[0175]
Further, when the packet transmission side becomes, the media access control module MACR of the second embodiment uses the destination network address (IP address) of the basic frame data part FDBI in the generation of the multiplexed packet PMI or the basic packet PBI. Then, the destination address of the subsequent inter-device transfer of the basic frame data portion FDBI is determined, and the destination address of the destination address portion is changed to the destination address of the subsequent inter-device transfer, or the destination of the subsequent inter-device transfer The destination address part with the address inserted is added.
[0176]
Furthermore, in the generation of the multiplexed packet PMI when the packet transmission side is used, the media access control module MACR of the second embodiment performs the subsequent processing of the plurality of basic frame data units FDDI constituting the composite frame data unit FDMI of the multiplexed packet PMI. It is determined whether or not the destination addresses of the inter-device transfer are the same, and if they are the same, the destination address part is left only in one basic frame data part FDBI and the destination address part of the other basic frame data part FDBI is changed. By deleting, the destination address is multiplexed. The plurality of basic frame data portions FDBI is separated from the multiplexed packet in which the destination addresses are multiplexed, and the destination addresses for the subsequent inter-device transfer of these basic frame data portions FDBI are different. For example, the destination address is separated by adding the destination address portion into which the destination address of the subsequent inter-device transfer is inserted to the basic frame data portion FDBI from which the destination address portion has been deleted.
[0177]
However, if the router device R waits indefinitely for a plurality of packets transmitted from the same port to be received, the time for packet routing processing in the router device R becomes long, and delay becomes a problem. For this reason, for example, a timer is provided in the router apparatus r, and a plurality of basic frame data parts received at substantially the same time and transmitted from the same port (thus, a plurality of basic frame data parts transmitted from the same port separated from the same single multiplexed packet). If only the basic frame data part is included), the efficiency of the packet routing process (packet multiplexing process) in the router apparatus R can be increased.
[0178]
Further, the routing module RTM of the router device R according to the second embodiment is the same as the conventional one based on the destination network address included in the basic frame data part separated from the received packet (basic packet and multiple packet). In the procedure, the port that transmits the basic frame data portion is determined, and the basic frame data portion is transferred to the buffer memory BUF of the transmission port.
[0179]
  In FIG. 7, the basic frame data section in the router apparatus RFDBI is routed through the routing module RTM, but without the routing module RTM, the basic frame data section between the memory buffer BUF of the receiving port and the transmitting port.FDBA configuration in which I is directly transferred is also possible.
[0180]
  As described above, in the second embodiment, the switch device or the router device generates a composite frame data portion in which a plurality of basic frame data portions are arranged, andFCS DepartmentGenerate the above-mentioned composite frame data part and the synchronization part and the above generatedFCS DepartmentIs added to generate a multiplex packet, and the multiplex packet is transmitted. Also, in the switching device, router device, or terminal device, the frame data portion is separated from the received packet, and the frame data portion is converted into a composite frame based on the length data included in the frame data portion. It is determined whether or not it is a data part, and if it is a composite frame data part, based on the length data of the length part included in each basic frame data part constituting the composite frame data part, The composite frame data part is separated into the individual basic frame data parts.
[0181]
  As a result, the synchronization unit andFCS DepartmentIn addition, it is not necessary to provide an interpacket gap during transmission (gap that had to be provided between these basic packets when transmitting multiple basic packets from the same port in conventional packet transfer). Therefore, as in the first embodiment, the data transfer efficiency can be increased, and thereby the network usage efficiency can be increased.
[0182]
Further, the packet switching processing (packet multiplexing processing and packet separation processing) and packet routing processing (packet multiplexing processing and packet separation processing) of the second embodiment are realized only by changing the media access control procedure for controlling the data link layer. The switch device, the router device, and the terminal device of the first embodiment can be realized without changing the control procedure of the physical layer that is the lower layer of the data link layer and the control procedure of the upper layer of the data link layer. This can be realized by changing only the media access control module that controls the data link layer in the conventional switch device, router device, and terminal device. Also, it is a function provided in the conventional switch device, router device, and terminal device, and the basic frame data portion is separated from the basic packet based on the length data included in the basic frame data portion. And the function of generating the FCS part for the basic frame data part can be used as they are.
[0183]
As a result, the switch device, router device, and terminal device of the second embodiment can be easily realized in the same manner as in the first embodiment, with only a simple change of the conventional switch device, router device, and terminal device. It is.
[0184]
Furthermore, in the router device of the second embodiment, it is determined whether or not the destination addresses of a plurality of basic frame data parts constituting the composite frame data part of the multiplexed packet are the same, and the overlapping destination address is made one. Thus, the destination address is multiplexed.
[0185]
Thus, by multiplexing the destination address part in addition to the synchronization part and the FCS part, the data transfer efficiency and the network usage efficiency can be further increased.
[0186]
In the first embodiment, a switching device having the same packet separation processing and packet multiplexing processing functions as the router device R1 in the second embodiment is further provided between the switching device S1 and the backbone LAN. Is also possible. Similarly, in the first embodiment, a switching device having the same packet separation processing and packet multiplexing processing functions as the router device R2 in the second embodiment is further provided between the switching device S2 and the backbone LAN. It is also possible.
[0187]
【The invention's effect】
As described above, according to the present invention, the synchronization unit and the footer unit can be multiplexed and transferred, and an inter-packet gap (when transmitting a plurality of basic packets from the same port in conventional packet transfer) is transmitted. Since there is no need to provide a gap) that had to be provided between packets, the data transfer efficiency can be increased, which has the effect of improving the network usage efficiency.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a network according to a first embodiment of the present invention.
FIG. 2 is a diagram of packet transfer in the network of FIG.
3 is an internal configuration diagram of the switching device S (S1, S2) of FIG. 1 and a diagram for explaining packet switching processing (packet multiplexing processing) in the switching device S. FIG.
4 is an internal configuration diagram of the switch device S (S1, S2) of FIG. 1 and a diagram for explaining packet switching processing (packet separation processing) in the switch device S. FIG.
FIG. 5 is a configuration diagram of a network according to a second embodiment of the present invention.
FIG. 6 is a diagram of packet transfer in the network of FIG. 5;
7 is an internal configuration diagram of the router device R (R1, R2) of FIG. 5 and a diagram illustrating packet routing processing in the router device R. FIG.
FIG. 8 is a configuration diagram of a conventional network.
FIG. 9 is a diagram of packet transfer in the network of FIG. 8;
10 is an internal configuration diagram of the switch device s (s1, s2) of FIG. 8, and is a diagram for explaining packet switching processing in the switch device s. FIG.
11 is an internal configuration diagram of the switch device s (s1, s2) of FIG. 8, and is a diagram for explaining packet switching processing in the switch device s. FIG.
[Explanation of symbols]
A, B, C, D, E terminal device, S switch device, R router device, P, Q port, PHY physical layer control module, MAC, MACR media access control module, BUF buffer memory, SWM switching module, RTM routing module ADT, ADTR address table.

Claims (11)

パケットの先頭に配置されて送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される同期部、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレス及びIPネットワーク経由の場合の宛先ネットワークアドレス(IPアドレス)が挿入されるアドレス部、及びそのパケットまたはフレームデータ部の長さデータが挿入される長さ部が含まれる1つのヘッダ部と、送信データが挿入される1つのデータ部と、パケットの末尾に配置されてエラーをチェックするためのフレームチェックシーケンス(FCS)部が含まれるフッタ部とから構成される基本パケットをパケット通信により送信するパケット送信装置であって、
上記基本パケットから、上記長さデータに基づいて同期部を除いたヘッダ部およびデータ部を基本フレームデータ部として分離し、上記ヘッダ部の上記長さ部には、上記基本フレームデータ部の長さデータが挿入されて、複数の上記基本パケットの上記基本フレームデータ部配置した複合フレームデータ部を生成するとともに、上記複合フレームデータ部についてのフッタ部を生成し、上記複合フレームデータ部に同期部および上記生成したフッタ部を付加して多重パケットを生成する多重手段と、
上記多重パケットをポートから送信する送信手段と
を備えた
ことを特徴とするパケット送信装置。
A synchronization unit, which is arranged at the head of the packet to synchronize transmission and reception, and into which synchronization data for identifying the head of the packet at the time of transmission and reception is inserted, a destination address (MAC (Media Access Control) address), a source address and an IP An address part into which a destination network address (IP address) in the case of via a network is inserted, a header part including a length part into which the length data of the packet or frame data part is inserted, and transmission data are inserted. A packet transmission apparatus for transmitting a basic packet composed of a single data part and a footer part including a frame check sequence (FCS) part arranged at the end of a packet to check an error by packet communication There,
A header part and a data part excluding a synchronization part are separated from the basic packet as a basic frame data part based on the length data, and the length part of the header part includes a length of the basic frame data part. data is inserted, to produce a result together a combined frame data unit arranged to the basic frame data of the plurality of the basic packet, generates a footer portion of the composite frame data unit, in synchronism with the composite frame data unit And a multiplexing means for generating a multiplexed packet by adding the generated footer unit,
A packet transmission apparatus comprising: a transmission unit configured to transmit the multiplex packet from a port.
個々の基本フレームデータ部に含まれる宛先アドレスまたは宛先ネットワークアドレスをもとに、その基本フレームデータ部を送信するポートを判別する手段をさらに備え、
上記多重手段は、同じポートから送信される複数の基本フレームデータ部について上記多重パケットを生成する
ことを特徴とする請求項1記載のパケット送信装置。
Based on a destination address or a destination network address included in each basic frame data part, further comprising means for determining a port for transmitting the basic frame data part,
The packet transmission apparatus according to claim 1, wherein the multiplexing means generates the multiplexed packet for a plurality of basic frame data portions transmitted from the same port.
上記多重手段は、同じポートから送信される基本フレームデータ部が複数あるときには、これらの基本フレームデータ部について上記多重パケットを生成し、
上記ポートから送信される基本フレームデータ部が1つであるときには、その基本フレームデータ部について単独にフッタ部を生成し、上記1つの基本フレームデータ部に同期部および上記単独に生成したフッタ部を付加して基本パケットを生成し、
上記送信手段は、上記生成された多重パケットおよび基本パケットを上記ポートから送信する
ことを特徴とする請求項2記載のパケット送信装置。
When there are a plurality of basic frame data portions transmitted from the same port, the multiplexing means generates the multiplexed packet for these basic frame data portions,
When there is one basic frame data portion transmitted from the port, a footer portion is generated independently for the basic frame data portion, and a synchronization portion and the independently generated footer portion are added to the one basic frame data portion. To generate a basic packet,
The packet transmission device according to claim 2, wherein the transmission means transmits the generated multiplexed packet and basic packet from the port.
上記多重手段は、上記複合フレームデータ部を構成する個々の基本フレームデータ部の物理アドレスである宛先アドレスが同じであるか否かを判別し、重複する宛先アドレスを1つにすることによって、宛先アドレスを多重する
ことを特徴とする請求項1記載のパケット送信装置。
The multiplexing means determines whether or not the destination addresses, which are physical addresses of the individual basic frame data portions constituting the composite frame data portion, are the same, and sets the overlapping destination addresses to one to The packet transmitter according to claim 1, wherein the address is multiplexed.
パケットの先頭に配置されて送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される同期部、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレス及びIPネットワーク経由の場合の宛先ネットワークアドレス(IPアドレス)が挿入されるアドレス部、及びそのパケットまたはフレームデータ部の長さデータが挿入される長さ部が含まれる1つのヘッダ部と、送信データが挿入される1つのデータ部と、パケットの末尾に配置されてエラーをチェックするためのフレームチェックシーケンス(FCS)部が含まれるフッタ部とから構成される基本パケットをパケット通信により受信するパケット受信装置であって、
上記基本パケットから、上記長さデータに基づいて同期部を除いたヘッダ部およびデータ部を基本フレームデータ部として分離し、上記ヘッダ部の上記長さ部には、上記基本フレームデータ部の長さデータが挿入されて、複数の上記基本パケットの上記基本フレームデータ部配置した複合フレームデータ部に同期部および上記複合フレームデータ部についてのフッタ部が付加された多重パケットを受信する受信手段と、
上記多重パケットを構成する個々の基本フレームデータ部の長さデータをもとに、上記多重パケットから個々の基本フレームデータ部を分離する分離手段と
を備えた
ことを特徴とするパケット受信装置。
A synchronization unit, which is arranged at the head of the packet to synchronize transmission and reception, and into which synchronization data for identifying the head of the packet at the time of transmission and reception is inserted, a destination address (MAC (Media Access Control) address), a source address and an IP An address part into which a destination network address (IP address) in the case of via a network is inserted, a header part including a length part into which the length data of the packet or frame data part is inserted, and transmission data are inserted. A packet receiving device that receives a basic packet composed of one data portion and a footer portion including a frame check sequence (FCS) portion that is arranged at the end of the packet and that checks for errors by packet communication. There,
A header part and a data part excluding a synchronization part are separated from the basic packet as a basic frame data part based on the length data, and the length part of the header part includes a length of the basic frame data part. data is inserted, a receiving means for receiving the multiplexed packet footer is added for synchronization unit in the composite frame data unit arranged to the basic frame data of a plurality of said basic packet and the composite frame data unit,
Separating means for separating individual basic frame data parts from the multiplexed packet based on length data of individual basic frame data parts constituting the multiplexed packet.
上記受信手段は、上記多重パケットおよび上記基本パケットを受信し、
上記分離手段は、受信されたパケットを構成するいずれかの基本フレームデータ部の長さデータをもとに、そのパケットが多重パケットであるか否かを判別する
ことを特徴とする請求項5記載のパケット受信装置。
The receiving means receives the multiplex packet and the basic packet,
6. The separation unit according to claim 5, wherein the separation unit determines whether or not the packet is a multiplex packet based on the length data of any basic frame data part constituting the received packet. Packet receiver.
パケットの先頭に配置されて送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される同期部、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレス及びIPネットワーク経由の場合の宛先ネットワークアドレス(IPアドレス)が挿入されるアドレス部、及びそのパケットまたはフレームデータ部の長さデータが挿入される長さ部が含まれる1つのヘッダ部と、送信データが挿入される1つのデータ部と、パケットの末尾に配置されてエラーをチェックするためのフレームチェックシーケンス(FCS)部が含まれるフッタ部とから構成される基本パケットをパケット通信により送信する際に、
上記基本パケットから、上記長さデータに基づいて同期部を除いたヘッダ部およびデータ部を基本フレームデータ部として分離し、上記ヘッダ部の上記長さ部には、上記基本フレームデータ部の長さデータが挿入されて、複数の上記基本パケットの上記基本フレームデータ部複合した多重パケットを生成するパケット多重方法であって、
上記複数の基本フレームデータ部を配置した複合フレームデータ部を生成するステップと、
上記複合フレームデータ部についてのフッタ部を生成するステップと、
上記複合フレームデータ部に同期部および上記生成したフッタ部を付加して多重パケットを生成するステップと
を含む
ことを特徴とするパケット多重方法。
A synchronization unit, which is arranged at the head of the packet to synchronize transmission and reception, and into which synchronization data for identifying the head of the packet at the time of transmission and reception is inserted, a destination address (MAC (Media Access Control) address), a source address and an IP An address part into which a destination network address (IP address) in the case of via a network is inserted, a header part including a length part into which the length data of the packet or frame data part is inserted, and transmission data are inserted. When transmitting a basic packet composed of one data part and a footer part including a frame check sequence (FCS) part arranged at the end of the packet for checking an error by packet communication,
A header part and a data part excluding a synchronization part are separated from the basic packet as a basic frame data part based on the length data, and the length part of the header part includes a length of the basic frame data part. data is inserted, a packet multiplexing method for generating multiplexed packets that combines the basic frame data of the plurality of the basic packet,
Generating a composite frame data portion in which the plurality of basic frame data portions are arranged;
Generating a footer portion for the composite frame data portion;
A step of adding a synchronization unit and the generated footer unit to the composite frame data unit to generate a multiplexed packet.
個々の基本フレームデータ部に含まれる宛先アドレスまたは宛先ネットワークアドレスをもとに、その基本フレームデータ部を送信するポートを判別するステップをさらに含み、
複合フレームデータ部を生成する上記ステップは、同じポートから送信される複数の基本フレームデータ部について上記多重パケットを生成する
ことを特徴とする請求項7記載のパケット多重方法。
Further comprising determining a port for transmitting the basic frame data portion based on a destination address or a destination network address included in each basic frame data portion;
The packet multiplexing method according to claim 7, wherein the step of generating the composite frame data portion generates the multiplexed packet for a plurality of basic frame data portions transmitted from the same port.
複合フレームデータ部を生成する上記ステップは、
個々の基本フレームデータ部に含まれる物理アドレスである宛先アドレスが同じであるか否かを判別し、重複する宛先アドレスを1つにすることによって、宛先アドレスを多重する
ことを特徴とする請求項7記載のパケット多重方法。
The above steps for generating the composite frame data part include:
The destination address is multiplexed by determining whether or not the destination address, which is a physical address included in each basic frame data part, is the same, and making one duplicate destination address. 8. The packet multiplexing method according to 7.
パケットの先頭に配置されて送受信の同期をとるとともに、送受信時にパケットの先頭を識別するための同期データが挿入される同期部、宛先アドレス(MAC(Media Access Control)アドレス)、送信元アドレス及びIPネットワーク経由の場合の宛先ネットワークアドレス(IPアドレス)が挿入されるアドレス部、及びそのパケットまたはフレームデータ部の長さデータが挿入される長さ部が含まれる1つのヘッダ部と、送信データが挿入される1つのデータ部と、パケットの末尾に配置されてエラーをチェックするためのフレームチェックシーケンス(FCS)部が含まれるフッタ部とから構成される基本パケットをパケット通信により受信する際に、
上記基本パケットから、上記長さデータに基づいて同期部を除いたヘッダ部およびデータ部を基本フレームデータ部として分離し、上記ヘッダ部の上記長さ部には、上記基本フ レームデータ部の長さデータが挿入されて、複数の上記基本パケットの上記基本フレームデータ部配置した複合フレームデータ部に同期部および上記複合フレームデータ部についてのフッタ部が付加された多重パケットを、個々の基本フレームデータ部に分離するパケット分離方法であって、
上記多重パケットを構成する個々の基本フレームデータ部の長さデータをもとに、上記多重パケットについての上記個々の基本フレームデータ部の境界を判別するステップと、
上記の境界に従って多重パケットから個々の基本フレームデータ部を分離するステップと
を含む
ことを特徴とするパケット分離方法。
A synchronization unit, which is arranged at the head of the packet to synchronize transmission and reception, and into which synchronization data for identifying the head of the packet at the time of transmission and reception is inserted, a destination address (MAC (Media Access Control) address), a source address and an IP An address part into which a destination network address (IP address) in the case of via a network is inserted, a header part including a length part into which the length data of the packet or frame data part is inserted, and transmission data are inserted. When receiving a basic packet composed of one data part and a footer part including a frame check sequence (FCS) part arranged at the end of the packet for checking an error by packet communication,
From the basic packet, the separated length headers and data portions excluding the synchronization unit on the basis of the data as the basic frame data section, the above-mentioned length of the header portion, the length of the basic frame data unit is inserted to the data, the synchronization unit in the composite frame data unit arranged to the basic frame data of the plurality of the basic packet and multiplex packets footer portion is added for the composite frame data unit, each basic frame A packet separation method for separating data parts,
Determining the boundaries of the individual basic frame data portions for the multiplexed packet based on the length data of the individual basic frame data portions constituting the multiplexed packet;
Separating each basic frame data part from the multiplexed packet according to the above-mentioned boundary.
複合フレームデータ部を分離する上記ステップは、
上記多重パケットまたは上記基本パケットからフレームデータ部を分離するものであり、
上記分離されたフレームデータ部に含まれる長さデータをもとに、そのフレームデータ部が、上記複合フレームデータ部であるか、上記基本フレームデータ部であるかを判別するステップをさらに含む
ことを特徴とする請求項10記載のパケット分離方法。
The above steps for separating the composite frame data part are:
A frame data part is separated from the multiplex packet or the basic packet;
Further comprising the step of determining whether the frame data portion is the composite frame data portion or the basic frame data portion based on the length data included in the separated frame data portion. The packet separation method according to claim 10, wherein:
JP2001309956A 2001-10-05 2001-10-05 Packet transmission device, packet reception device, packet multiplexing method, packet separation method Expired - Fee Related JP3868248B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001309956A JP3868248B2 (en) 2001-10-05 2001-10-05 Packet transmission device, packet reception device, packet multiplexing method, packet separation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001309956A JP3868248B2 (en) 2001-10-05 2001-10-05 Packet transmission device, packet reception device, packet multiplexing method, packet separation method

Publications (2)

Publication Number Publication Date
JP2003115859A JP2003115859A (en) 2003-04-18
JP3868248B2 true JP3868248B2 (en) 2007-01-17

Family

ID=19129019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001309956A Expired - Fee Related JP3868248B2 (en) 2001-10-05 2001-10-05 Packet transmission device, packet reception device, packet multiplexing method, packet separation method

Country Status (1)

Country Link
JP (1) JP3868248B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4047836B2 (en) 2004-04-02 2008-02-13 株式会社東芝 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION CONTROL PROGRAM
JP2009218652A (en) * 2008-03-07 2009-09-24 Fujitsu Telecom Networks Ltd Frame transmission system and frame transmission method
JP5707171B2 (en) * 2011-02-25 2015-04-22 任天堂株式会社 COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL METHOD, AND INFORMATION PROCESSING SYSTEM
JP5728249B2 (en) 2011-02-25 2015-06-03 任天堂株式会社 Information processing system, information processing apparatus, information processing program, and information processing method
JP6409520B2 (en) * 2014-11-17 2018-10-24 富士電機株式会社 Control system and relay device

Also Published As

Publication number Publication date
JP2003115859A (en) 2003-04-18

Similar Documents

Publication Publication Date Title
JP4335009B2 (en) Method and apparatus for encapsulating frames for transmission within a storage area network
TW200423638A (en) Packet compression system, packet restoration system, packet compression method, and packet restoration method
US7940812B2 (en) Ethernet access device and Ethernet access method
JP2009105607A (en) Multiplexed communication system, transmission processor, reception processor, multiplexed communication method, transmission processing method, and reception processing method
JP2008533881A (en) RPR ring network on / off ring processing, data transfer method and network equipment thereof
US7436836B2 (en) Method and apparatus for detecting support for a protocol defining supplemental headers
JP4422175B2 (en) Packet transfer device
CN1440174A (en) General headline analyser for supporting independent packet speech scheme in data transmission protocol
JP5413654B2 (en) Circuit emulation method and apparatus
WO2009086774A1 (en) A method, an apparatus and a system for transmitting data
US20240187350A1 (en) Device and method for transferring identification and/or data flow control information between devices
JP3868248B2 (en) Packet transmission device, packet reception device, packet multiplexing method, packet separation method
CN101926132A (en) Circuit emulation over ip interworking vll
US20060230146A1 (en) Method for generating super frame by using sub-frame in residential ethernet system
JP2004159019A (en) Extended vlan tag swap system
CN102714612A (en) Increasing the real-time capability of Ethernet networks
JP6839113B2 (en) Transfer device and transfer method
JP2006067040A (en) Interface converting device and protection system
JP5390632B2 (en) IP multiplexing from multiple IP hosts
JP4189965B2 (en) Communication node
JP6029329B2 (en) Synchronous network switch
JP2002252647A (en) Apparatus and method for transmitting ip packet and storage medium for storing program of the same
JP4944377B2 (en) Linearly expandable distribution router device
JP5152861B2 (en) Router device and routing search control method
WO2022100350A1 (en) Communication method and system applied in metro transport network (mtn) or slicing packet network (spn)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060905

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061010

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3868248

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101020

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111020

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111020

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121020

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121020

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131020

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees