JP4001044B2 - Packet receiving method and packet receiving apparatus - Google Patents

Packet receiving method and packet receiving apparatus Download PDF

Info

Publication number
JP4001044B2
JP4001044B2 JP2003105070A JP2003105070A JP4001044B2 JP 4001044 B2 JP4001044 B2 JP 4001044B2 JP 2003105070 A JP2003105070 A JP 2003105070A JP 2003105070 A JP2003105070 A JP 2003105070A JP 4001044 B2 JP4001044 B2 JP 4001044B2
Authority
JP
Japan
Prior art keywords
packet
protocol
mac layer
check bit
bit error
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
JP2003105070A
Other languages
Japanese (ja)
Other versions
JP2004312501A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2003105070A priority Critical patent/JP4001044B2/en
Publication of JP2004312501A publication Critical patent/JP2004312501A/en
Application granted granted Critical
Publication of JP4001044B2 publication Critical patent/JP4001044B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、パケット通信ネットワークを利用したデータ受信に関するものである。特に本発明は、パケットのビット誤りが避けられない通信ネットワークを経由してUDP(ユーザデータグラムプロトコル)を利用してリアルタイムに映像音声データを受信し再生するパケット形態端末において、パケットにビット誤りが発生した場合でも、視聴者にとって好ましくない再生映像音声の乱れを抑制できる受信方法および受信装置であり、特にMAC層プロトコルに関するものである。
【0002】
【従来の技術】
従来、UDPパケットのパケットロスやパケットのビット誤りが発生した時は、受信側から送信端末へ再送を要求し、送信端末では損失部分のデータを再送することによって欠損データを補償する方法が知られている(たとえば特許文献1参照。)。
【0003】
【特許文献1】
特開2001−136195号公報
【0004】
【発明が解決しようとする課題】
しかしながら、従来のUDPパケットに対する補償方法では、再送の仕組みを持たないUDPに対して再送の仕組みを追加するため、再送遅延に関わる問題以外は完全に補償できる利点を持つものの、欠損データを再送するために複雑な制御が必要であり、また、受信端末だけの対応では実現できず、送信端末にも再送の仕組みが必要になるという課題があった。
【0005】
また、パケット通信ネットワークでは、通信プロトコルは階層化されており、ISO(国際標準化機構)が定めたOSI(開放型システム間相互接続)参照モデルがプロトコルの説明によく利用される。ここでは、UDP/IP/Ethernet(R)についてOSI参照モデルと対比しながらその特徴を説明する。
【0006】
UDPはOSI参照モデルにおいてトランスポート層(第4層)に位置するプロトコルであり、パケットロスやパケットのビット誤りに対して再送の仕組みを持たない非信頼性通信ではあるが、同じトランスポート層のプロトコルで再送の仕組みを持つTCP(トランスミッションコントロールプロトコル)に比べて高速にプロトコル処理が実行できるため、映像音声データを受信しながら同時に再生を行うストリーミング配信において利用が広がっている。
【0007】
IPはOSI参照モデルにおいてネットワーク層(第3層)に位置するプロトコルであり、ノード(パケット中継装置)を超えて、送信端末から受信端末までデータを送り届ける役割を担うが、確実に届く補償がない非信頼性通信を提供するプロトコルである。
【0008】
Ethernet(R)のプロトコルはOSI参照モデルにおいてデータリンク層(第2層)に位置するプロトコルである。通信媒体へのアクセス方法を規定し、物理アドレスを用いて隣接ノード間の通信を実現するプロトコルをMAC(メディアアクセスコントロール)プロトコルといい、Ethernet(R)もMAC層プロトコルの1つである。他にも無線通信用のMAC層プロトコルやATM(非同期転送モード)用のMAC層プロトコルなどがある。なお、物理アドレスはMACアドレスとも呼ばれている。また、Ethernet(R)はOSI参照モデルの物理層に分類される通信媒体の電気特性やコネクタも規定しているが、本発明には関係ないので説明は省略する。
【0009】
各階層のパケットは制御情報を格納するヘッダ部と伝送したいデータを格納するペイロードから構成されている。UDPパケットはUDPヘッダとUDPペイロードから構成される。IP層はUDP層の1つ下位の層であり、IPヘッダとIPペイロードから構成され、ペイロードにはUDPパケットが格納される。Ethernet(R)はIP層の1つ下位の層であり、Ethernet(R)ヘッダとEthernet(R)ペイロードから構成され、ペイロードにはIPパケットが格納される。
【0010】
ここで、各層のプロトコルでは最大パケットサイズが規定されており、送信時に上位層のパケットサイズが下位層の最大パケットサイズを超える場合は、下位層の最大パケットサイズに収まるように複数のパケットに分割される。この分割をフラグメントといい、分割されたパケットをフラグメントパケットという。
【0011】
UDPおよびIPの最大パケットサイズは65535オクテットであり、Ethernet(R)の最大ペイロードサイズは1500オクテットである。そのため、UDPパケットをペイロードに格納したIPパケットのパケットサイズが1500オクテットを超える場合は、UDPパケットを複数に分割し、1500オクテット以下の複数のIPパケットを生成する。ここで、先頭のフラグメントパケットにはUDPヘッダが存在するが、2番目以降のフラグメントパケットにはUDPヘッダは存在しない。送受信端末はIPアドレスとUDPヘッダのポート番号を利用してパケットの通信チャンネルを識別する。2番目以降のフラグメントパケットはUDPヘッダが存在しないが、非フラグメントパケットではIPパケット毎にIPヘッダのIDが異なる値に設定されるのに対して、フラグメントパケットではIPヘッダのIDが同一フラグメントパケット内で同一の値をとるので、IDを利用して同一フラグメントの先頭パケットからUDPヘッダを知ることができるため、2番目以降のフラグメントパケットの通信チャンネルを識別することができる。
【0012】
このようなUDP/IPのプロトコル仕様によって、フラグメントの先頭パケットにビット誤りやロスが発生したときは、同一フラグメントパケットのUDPヘッダを知りえないためにパケットの通信チャンネルを識別できず、フラグメントの2番目以降のパケットは廃棄されてしまう。
【0013】
一方、映像音声データをUDPで伝送する場合、映像音声データのサイズはEthernet(R)の最大ペイロードサイズに比べて一般に大きいため、フラグメントが発生することが多い。そのため、ビット誤りが発生したり、既定のパケットサイズを超えるパケットであったために、フラグメントの先頭パケットがMAC層プロトコルで廃棄されたときは、先頭パケットだけでなく2番目以降のフラグメントパケットをも含めた多量のデータが廃棄され、映像音声の再生に大きな乱れが発生してしまうという問題があった。
【0014】
本発明は、このような課題を解決するもので、パケットのビット誤りが避けられないパケット通信ネットワークにおいて、送信端末に追加のプロトコルを必要とせず、フラグメントの先頭パケットにビット誤りが発生した場合や、プロトコル既定のパケット長を超えるようなロングパケットを受信した場合でも、映像音声の再生の乱れを抑制できるパケット受信方法およびパケット受信装置を実現することを目的とする。
【0015】
【課題を解決するための手段】
上記課題を解決するために、本発明(請求項1)に係るパケット受信方法は、映像音声データ判定ステップを有し、検査ビットエラーが発生した場合でも、そのパケットを廃棄することなく、パケットを上位プロトコル実行ステップへ伝達する。本構成によって、ビット誤りの発生したパケットが映像音声データを伝送しているならば、上位プロトコル実行ステップへ映像音声データを伝達することができる。
【0016】
本発明(請求項2)に係るパケット受信方法は、ロングパケット判定ステップとロングパケットを検出したときにパケットを上位層へ伝達するパケット伝達ステップを有し、ロングパケットを受信した場合でも、パケットを廃棄することなく、パケットを上位プロトコル実行ステップへ伝達する。本構成によって、ロングパケットが映像音声データを伝送しているならば、上位プロトコル実行ステップへ映像音声データを伝達することができる。
【0017】
本発明(請求項3)に係るパケット受信方法は、MAC層よりも上位層のプロトコルのヘッダを抽出する上位ヘッダ抽出ステップを有し、上位層のプロトコルのヘッダを上位プロトコル実行ステップへ伝達する。本構成によって、フラグメントパケットの先頭パケットにビット誤りが発生した場合においても、その先頭パケットの上位ヘッダを抽出することにより、同一フラグメントパケットの2番目以降のパケットの属性を判断することができるので、2番目以降のパケットを廃棄せず利用できる。
【0018】
本発明(請求項4)に係るパケット受信装置は、映像音声データ判定手段を有し、検査ビットエラーが発生した場合でも、そのパケットを廃棄することなく、パケットを上位プロトコル実行手段へ伝達する。本構成によって、検査ビットエラーパケットが映像音声データを伝送しているならば、上位プロトコル実行手段へ映像音声データを伝達することができる。
【0019】
本発明(請求項5)に係るパケット受信装置は、ロングパケット判定手段とロングパケットを検出したときにそのパケットを上位層へ伝達するパケット伝達手段を有し、ロングパケットを受信した場合でも、そのパケットを廃棄することなく、パケットを上位プロトコル実行ステップへ伝達する。本構成によって、ロングパケットが映像音声データを伝送しているならば、上位プロトコル実行ステップへ映像音声データを伝達することができる。
【0020】
本発明(請求項6)に係るパケット受信装置は、、MAC層よりも上位層のプロトコルのヘッダを抽出する上位プロトコル抽出手段を有し、上位層のプロトコルのヘッダを上位プロトコル実行手段へ伝達する。本構成によって、フラグメントパケットの先頭パケットにビット誤りが発生した場合においても、その先頭パケットの上位ヘッダを抽出することにより、同一フラグメントパケットの2番目以降のパケットの属性を判断することができるので、2番目以降のパケットを廃棄せず利用できる。
【0021】
本構成によって、以上に説明した方法および装置は、送信端末に特別な追加プロトコルを必要とすることなく、受信端末だけで実現できる。
【0022】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を参照しながら説明する。
【0023】
図4は本発明の実施の形態1、2または3のパケット受信方法の全体像を説明する図である。
【0024】
図4において、MAC層プロトコル実行ステップ100は受信パケットのMAC層におけるプロトコルを実行するステップ、上位プロトコル実行ステップ200はMAC層よりも上位層のプロトコルを実行するステップ、ネットワーク層プロトコル実行ステップ210は、上位プロトコル実行ステップ200においてネットワーク層のプロトコルを実行するステップ、トランスポート層プロトコル実行ステップ220は、上位プロトコル実行ステップ200においてトランスポート層のプロトコルを実行するステップである。
【0025】
図8は本発明の実施の形態4、5または6のパケット受信装置の全体像を説明する図である。
【0026】
図8において、MAC層プロトコル実行手段400は受信パケットのMAC層におけるプロトコルを実行する手段、上位プロトコル実行手段500はMAC層よりも上位層のプロトコルを実行する手段、ネットワーク層プロトコル実行手段510は、上位プロトコル実行ステップ500においてネットワーク層のプロトコルを実行する手段、トランスポート層プロトコル実行手段520は、上位プロトコル実行手段500においてトランスポート層のプロトコルを実行する手段である。
【0027】
(実施の形態1)
図1は、本発明(請求項1)の実施の形態2におけるパケット受信方法を説明する図である。
【0028】
図1において、パケット受信判定ステップ110はパケットを受信したか否かを判断するステップ、検査ビット判定ステップ111は受信パケットの検査ビットが正常か否かを判断するステップ、検査ビットエラー通知ステップ112は上位プロトコル実行ステップ200へ検査ビットエラーが発生したことを通知するステップ、映像音声データ判定ステップ113はMAC層とIP層とUDP層のヘッダを検査し、受信パケットが映像音声データを伝送しているか否かを判断するステップ、パケット伝達ステップ114は上位プロトコル実行ステップ200へ受信パケットを伝達するステップ、終了判定ステップ115は動作を終了するか否かを判断するステップである。
【0029】
映像音声データ判定ステップ113では、IPヘッダの送信元IPアドレスが映像音声データ送信局のIPアドレスと一致し、かつIPヘッダの送信先IPアドレスが自局のIPアドレスと一致し、かつIPヘッダの上位プロトコルフィールドがUDPを示し、かつUDPヘッダの送信元ポート番号が映像音声データ送信局が映像音声データを送信するのに利用するポート番号に一致し、かつUDPヘッダの送信先ポート番号が自局で映像音声データを受信するためのポート番号に一致する場合に、受信パケットは映像音声パケットであると判断する。
【0030】
また、Ethernet(R)の場合、Ethernet(R)ヘッダとIPヘッダとUDPヘッダの合計サイズは、IPヘッダのオプションがない場合に42オクテットであるので、最大パケットサイズの1500オクテットに対するヘッダの占める割合は2.8%に過ぎない。映像音声データは1500オクテットに対して十分大きいと考えられ、映像音声データを伝送するEthernet(R)パケットのペイロードサイズは1500オクテットに近いほどの大きな値であると考えられる。従って、検査ビットエラー発生時に上位プロトコルまで含めたヘッダ部に異常が発生している確率よりも、映像音声データに異常が発生している確率の方が非常に高い。かつ、エラー発生部分はペイロードの全データに渡っているわけではなく、一部のデータに対して起こることも考えられる。そのため、パケットは廃棄せず、ヘッダは正常だとみなして映像音声データを処理した方が、再生映像音声に乱れは小さくなる。
【0031】
かかる構成によれば、検査ビットエラーパケット受信時に、MAC層においてIP層とUDP層のヘッダも検査することにより、伝送しているデータが映像音声データか否かを判断するので、受信パケットが映像音声パケットの場合はパケットを廃棄することなく、上位プロトコル実行ステップへ伝達することができる。
【0032】
(実施の形態2)
図2は、本発明(請求項2)の実施の形態2におけるパケット受信方法を説明する図である。
【0033】
図2において、図1と図4と同じ構成要素については同じ符号を用い説明を省略する。ロングパケット判定ステップ116は受信パケットがロングパケットであるか否かを判断するステップ、ロングパケット通知ステップ117は上位プロトコル実行ステップ200へロングパケットを受信したことを通知するステップである。
【0034】
かかる構成によれば、ロングパケット受信時に、MAC層においてIP層とUDP層のヘッダも検査することにより、伝送しているデータが映像音声データか否かを判断するので、受信パケットが映像音声パケットの場合はパケットを廃棄することなく、上位プロトコル実行ステップへ伝達することができる。
【0035】
(実施の形態3)
図3は、本発明(請求項3)の実施の形態3におけるパケット受信方法を説明する図である。
【0036】
図1と図4と同じ構成要素については同じ符号を用い説明を省略する。上位ヘッダ抽出ステップ118はEthernet(R)よりも上位のヘッダを抽出するステップ、上位ヘッダ伝達ステップ119は抽出した上位ヘッダを上位プロトコル実行ステップへ伝達するステップ、パケット廃棄ステップ120はパケットを廃棄するステップである。
【0037】
かかる構成によれば、検査ビットエラーパケットに対して、単に廃棄するだけでなく、上位ヘッダを抽出し、上位プロトコル実行ステップ200へ伝達するので、フラグメントの先頭パケットにビット誤りが発生した場合でも、2番目以降のパケットの属性を上位プロトコル実行ステップ200は判断することが可能となる。
【0038】
なお、検査ビットエラーが発生したときに、上位ヘッダの抽出を行い、上位プロトコル実行ステップへ上位ヘッダを伝達しているが、検査ビットエラー発生の有無に関わらず、常に上位ヘッダを抽出し、伝達してもよい。
【0039】
(実施の形態4)
図5は、本発明(請求項4)の実施の形態4におけるパケット受信方法を説明する図である。
【0040】
図5において、検査ビット判定手段410は受信パケットの検査ビットが正常か否かを判断する手段、検査ビットエラー通知手段411は上位プロトコル実行手段500へ検査ビットエラーが発生したことを通知する手段、映像音声データ判定手段413はMAC層からトランスポート層のヘッダを検査し、受信パケットが映像音声データを伝送しているか否かを判断する手段、パケット伝達手段412は上位プロトコル実行手段500へ受信パケットを伝達する手段である。
【0041】
映像音声データ判定手段413では、IPヘッダの送信元IPアドレスが映像音声データ送信局のIPアドレスと一致し、かつIPヘッダの送信先IPアドレスが自局のIPアドレスと一致し、かつIPヘッダの上位プロトコルフィールドがUDPを示し、かつUDPヘッダの送信元ポート番号が映像音声データ送信局が映像音声データを送信するのに利用するポート番号に一致し、かつUDPヘッダの送信先ポート番号が自局で映像音声データを受信するためのポート番号に一致する場合に、受信パケットは映像音声パケットであると判断する。
【0042】
かかる構成によれば、検査ビットエラーパケット受信時に、MAC層においてIP層とUDP層のヘッダも検査することにより、伝送しているデータが映像音声データか否かを判断するので、受信パケットが映像音声パケットの場合はパケットを廃棄することなく、上位プロトコル実行ステップへ伝達する装置が実現できる。
【0043】
(実施の形態5)
図6は、本発明(請求項5)の実施の形態5におけるパケット受信方法を説明する図である。
【0044】
図5と図8と同じ構成要素については同じ符号を用い説明を省略する。ロングパケット判定手段414は受信パケットがロングパケットであるか否かを判断する手段、ロングパケット通知手段415は上位プロトコル実行手段500へロングパケットを受信したことを通知する手段である。
【0045】
かかる構成によれば、ロングパケット受信時に、MAC層においてIP層とUDP層のヘッダも検査することにより、伝送しているデータが映像音声データか否かを判断するので、受信パケットが映像音声パケットの場合はパケットを廃棄することなく、上位プロトコル実行ステップへ伝達することができる。
【0046】
(実施の形態6)
図7は、本発明(請求項6)の実施の形態6におけるパケット受信方法を説明する図である。
【0047】
図5と図8と同じ構成要素については同じ符号を用い説明を省略する。上位ヘッダ抽出手段416はEthernet(R)よりも上位のヘッダを抽出する手段、上位ヘッダ伝達手段417は抽出した上位ヘッダを上位プロトコル実行手段へ伝達する手段である。
【0048】
かかる構成によれば、検査ビットエラーパケットに対して、上位プロトコル実行手段500へパケットを伝達しないだけでなく、上位ヘッダを抽出し、上位プロトコル実行手段500へ伝達するので、フラグメントの先頭パケットにビット誤りが発生した場合でも、2番目以降のパケットの属性を上位プロトコル実行手段500は判断することが可能となる。
【0049】
なお、検査ビットエラーが発生したときに、上位ヘッダの抽出を行い、上位プロトコル実行ステップへ上位ヘッダを伝達しているが、検査ビットエラー発生の有無に関わらず、常に上位ヘッダを抽出し、伝達してもよい。
【0050】
なお、実施の形態1から6において、MAC層プロトコルとしてEthernet(R)を例にとって説明したが、本発明はEthernet(R)以外のMAC層プロトコルに適用してもよい。
【0051】
なお、実施の形態1から6において、検査ビットエラーが発生したパケットのEthernet(R)ヘッダとIPヘッダとUDPヘッダは正常だとみなして動作する方法および装置を説明したが、IPヘッダにはヘッダの信頼性を確認するためのチェックサムが存在するので、それを利用してIPヘッダが正しい場合にのみ、上位プロトコル実行ステップや上位プロトコル実行手段へ受信パケットや上位ヘッダを伝達するようにしてもよい。
【0052】
また、実施の形態1から6をそれぞれ独立に説明したが、それぞれを組み合わせて使用してもよい。
【0053】
【発明の効果】
以上のように、本発明のパケット受信方法およびパケット受信装置によって、パケットのビット誤りが避けられないパケット通信ネットワークにおいて、送信端末に追加のプロトコルを必要とせず、フラグメントの先頭パケットのビット誤りが発生した場合や、プロトコルの既定を超えるサイズのパケットであるロングパケットを受信した場合でも、再生映像音声の乱れを抑制できるパケット受信方法およびパケット受信装置を実現することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1におけるパケット受信方法のフローチャート
【図2】本発明の実施の形態2におけるパケット受信方法のフローチャート
【図3】本発明の実施の形態3におけるパケット受信方法のフローチャート
【図4】本発明の実施の形態1から3におけるパケット受信方法のフローチャート
【図5】本発明の実施の形態4におけるパケット受信装置のブロック図
【図6】本発明の実施の形態5におけるパケット受信装置のブロック図
【図7】本発明の実施の形態6におけるパケット受信装置のブロック図
【図8】本発明の実施の形態4から6におけるパケット受信装置のブロック図
【図9】OSI参照モデルの階層構造とUDP/IP/Ethernet(R)の関係図
【符号の説明】
110 パケット受信判定ステップ
111 検査ビット判定ステップ
112 検査ビット通知ステップ
113 映像音声データ判定ステップ
114 パケット伝達ステップ
115 終了判定ステップ
116 ロングパケット判定ステップ
117 ロングパケット通知ステップ
118 上位ヘッダ抽出ステップ
119 上位ヘッダ伝達ステップ
120 パケット廃棄ステップ
121 パケット伝達ステップ
100 MAC層プロトコル実行ステップ
200 上位プロトコル実行ステップ
210 ネットワーク層プロトコル実行ステップ
220 トランスポート層プロトコル実行ステップ
410 検査ビット判定手段
411 検査ビットエラー通知手段
412 パケット伝達手段
413 映像音声データ判定手段
414 ロングパケット判定手段
415 ロングパケット通知手段
416 上位ヘッダ抽出手段
417 上位ヘッダ伝達手段
400 MAC層プロトコル実行手段
500 上位プロトコル実行手段
510 ネットワーク層プロトコル実行手段
520 トランスポート層プロトコル実行手段
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to data reception using a packet communication network. In particular, the present invention provides a packet-type terminal that receives and reproduces video / audio data in real time using UDP (User Datagram Protocol) via a communication network in which packet bit errors cannot be avoided. The present invention relates to a receiving method and a receiving apparatus capable of suppressing disturbance of reproduced video / audio that is undesirable for a viewer even if it occurs, and particularly relates to a MAC layer protocol.
[0002]
[Prior art]
Conventionally, when a packet loss or packet bit error of a UDP packet occurs, a method for compensating for missing data by requesting retransmission from the receiving side to the transmitting terminal and retransmitting the lost data at the transmitting terminal is known. (For example, refer to Patent Document 1).
[0003]
[Patent Document 1]
Japanese Patent Laid-Open No. 2001-136195
[Problems to be solved by the invention]
However, in the conventional compensation method for the UDP packet, a retransmission mechanism is added to the UDP that does not have a retransmission mechanism, so that there is an advantage that it can be completely compensated except for problems related to retransmission delay, but the missing data is retransmitted. Therefore, there is a problem that complicated control is required, and it is not possible to realize it only by the reception terminal, and the transmission terminal also needs a retransmission mechanism.
[0005]
In a packet communication network, communication protocols are hierarchized, and an OSI (Open Systems Interconnection) reference model defined by ISO (International Organization for Standardization) is often used to describe protocols. Here, the features of UDP / IP / Ethernet (R) will be described in comparison with the OSI reference model.
[0006]
UDP is a protocol located in the transport layer (fourth layer) in the OSI reference model, and is an unreliable communication that does not have a retransmission mechanism for packet loss or packet bit error. Since protocol processing can be executed at a higher speed than TCP (Transmission Control Protocol) having a retransmission mechanism in the protocol, its use is widespread in streaming distribution in which video and audio data is received and reproduced simultaneously.
[0007]
IP is a protocol located in the network layer (third layer) in the OSI reference model, and plays a role of sending data from the transmitting terminal to the receiving terminal beyond the node (packet relay device), but there is no compensation for sure delivery A protocol that provides unreliable communication.
[0008]
The Ethernet (R) protocol is a protocol located in the data link layer (second layer) in the OSI reference model. A protocol that defines a method for accessing a communication medium and realizes communication between adjacent nodes using a physical address is called a MAC (Media Access Control) protocol, and Ethernet (R) is one of the MAC layer protocols. In addition, there are a MAC layer protocol for wireless communication and a MAC layer protocol for ATM (Asynchronous Transfer Mode). The physical address is also called a MAC address. Ethernet (R) also defines electrical characteristics and connectors of communication media classified in the physical layer of the OSI reference model, but the description is omitted because it is not related to the present invention.
[0009]
Each layer packet includes a header portion for storing control information and a payload for storing data to be transmitted. A UDP packet is composed of a UDP header and a UDP payload. The IP layer is one layer below the UDP layer, and is composed of an IP header and an IP payload, and a UDP packet is stored in the payload. Ethernet (R) is one layer below the IP layer, and is composed of an Ethernet (R) header and an Ethernet (R) payload, and an IP packet is stored in the payload.
[0010]
Here, the maximum packet size is stipulated in the protocol of each layer, and if the packet size of the upper layer exceeds the maximum packet size of the lower layer at the time of transmission, it is divided into multiple packets to fit within the maximum packet size of the lower layer Is done. This division is called a fragment, and the divided packet is called a fragment packet.
[0011]
The maximum packet size for UDP and IP is 65535 octets, and the maximum payload size for Ethernet® is 1500 octets. For this reason, when the packet size of an IP packet storing a UDP packet in the payload exceeds 1500 octets, the UDP packet is divided into a plurality of IP packets that are 1500 octets or less. Here, the first fragment packet has a UDP header, but the second and subsequent fragment packets have no UDP header. The transmission / reception terminal identifies the communication channel of the packet using the IP address and the port number of the UDP header. The second and subsequent fragment packets do not have a UDP header, but in the non-fragmented packet, the IP header ID is set to a different value for each IP packet, whereas in the fragment packet, the IP header ID is the same in the fragment packet. Since the UDP header can be known from the first packet of the same fragment using the ID, the communication channel of the second and subsequent fragment packets can be identified.
[0012]
According to such a UDP / IP protocol specification, when a bit error or loss occurs in the first packet of a fragment, the UDP header of the same fragment packet cannot be known, so the communication channel of the packet cannot be identified, and the fragment 2 Packets after the first are discarded.
[0013]
On the other hand, when video / audio data is transmitted by UDP, since the size of the video / audio data is generally larger than the maximum payload size of Ethernet (R), fragments often occur. Therefore, when a bit error occurs or the packet exceeds the default packet size, and the first packet of the fragment is discarded by the MAC layer protocol, not only the first packet but also the second and subsequent fragment packets are included. A large amount of data was discarded, and there was a problem that the video / audio reproduction was greatly disturbed.
[0014]
The present invention solves such a problem. In a packet communication network where a bit error of a packet cannot be avoided, an additional protocol is not required for a transmitting terminal, and when a bit error occurs in a leading packet of a fragment, An object of the present invention is to realize a packet receiving method and a packet receiving apparatus capable of suppressing disturbance of reproduction of video and audio even when a long packet exceeding a predetermined packet length of the protocol is received.
[0015]
[Means for Solving the Problems]
In order to solve the above-described problem, a packet reception method according to the present invention (Claim 1) includes a video / audio data determination step, and even when a check bit error occurs, a packet is discarded without being discarded. Communicate to the upper protocol execution step. With this configuration, if a packet in which a bit error occurs transmits video / audio data, the video / audio data can be transmitted to the upper protocol execution step.
[0016]
The packet reception method according to the present invention (Claim 2) includes a long packet determination step and a packet transmission step for transmitting a packet to an upper layer when a long packet is detected. Even when a long packet is received, the packet is received. The packet is transmitted to the upper protocol execution step without being discarded. With this configuration, if the long packet is transmitting video / audio data, the video / audio data can be transmitted to the upper protocol execution step.
[0017]
The packet reception method according to the present invention (Claim 3) includes an upper header extraction step for extracting a header of a protocol higher than the MAC layer, and transmits the header of the higher layer protocol to the upper protocol execution step. With this configuration, even when a bit error occurs in the head packet of the fragment packet, it is possible to determine the attributes of the second and subsequent packets of the same fragment packet by extracting the upper header of the head packet. The second and subsequent packets can be used without being discarded.
[0018]
The packet reception apparatus according to the present invention (Claim 4) has video / audio data determination means, and transmits the packet to the higher-level protocol execution means without discarding the packet even when a check bit error occurs. With this configuration, if the check bit error packet is transmitting video / audio data, the video / audio data can be transmitted to the higher-level protocol execution means.
[0019]
The packet reception device according to the present invention (Claim 5) has a long packet determination means and a packet transmission means for transmitting the packet to an upper layer when a long packet is detected, and even when a long packet is received, The packet is transmitted to the upper protocol execution step without discarding the packet. With this configuration, if the long packet is transmitting video / audio data, the video / audio data can be transmitted to the upper protocol execution step.
[0020]
The packet reception device according to the present invention (Claim 6) has higher protocol extraction means for extracting a header of a protocol higher than the MAC layer, and transmits the header of the higher protocol to the higher protocol execution means. . With this configuration, even when a bit error occurs in the head packet of the fragment packet, it is possible to determine the attributes of the second and subsequent packets of the same fragment packet by extracting the upper header of the head packet. The second and subsequent packets can be used without being discarded.
[0021]
With this configuration, the method and apparatus described above can be realized only by the receiving terminal without requiring a special additional protocol for the transmitting terminal.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0023]
FIG. 4 is a diagram for explaining the overall image of the packet receiving method according to the first, second or third embodiment of the present invention.
[0024]
In FIG. 4, a MAC layer protocol execution step 100 executes a protocol in a MAC layer of a received packet, an upper protocol execution step 200 executes a protocol higher than the MAC layer, and a network layer protocol execution step 210 includes: The upper layer protocol execution step 200 executes the network layer protocol, and the transport layer protocol execution step 220 executes the transport layer protocol in the upper protocol execution step 200.
[0025]
FIG. 8 is a diagram for explaining the overall image of the packet reception device according to the fourth, fifth or sixth embodiment of the present invention.
[0026]
In FIG. 8, the MAC layer protocol execution means 400 is a means for executing a protocol in the MAC layer of a received packet, the upper protocol execution means 500 is a means for executing a protocol higher than the MAC layer, and the network layer protocol execution means 510 is The upper layer protocol execution unit 500 executes the network layer protocol, and the transport layer protocol execution unit 520 executes the transport layer protocol in the upper layer protocol execution unit 500.
[0027]
(Embodiment 1)
FIG. 1 is a diagram for explaining a packet receiving method according to Embodiment 2 of the present invention (Claim 1).
[0028]
In FIG. 1, a packet reception determination step 110 is a step of determining whether or not a packet has been received, a check bit determination step 111 is a step of determining whether or not a check bit of a received packet is normal, and a check bit error notification step 112 is A step of notifying the higher-level protocol execution step 200 that a check bit error has occurred, a video / audio data determination step 113 checks the headers of the MAC layer, IP layer, and UDP layer, and whether the received packet is transmitting video / audio data The packet transmission step 114 is a step for transmitting the received packet to the higher-level protocol execution step 200, and the end determination step 115 is a step for determining whether or not to end the operation.
[0029]
In the video / audio data determination step 113, the source IP address of the IP header matches the IP address of the video / audio data transmitting station, the destination IP address of the IP header matches the IP address of the own station, and the IP header The upper protocol field indicates UDP, the source port number of the UDP header matches the port number used by the video / audio data transmitting station to transmit the video / audio data, and the destination port number of the UDP header is the local station. If the port number matches the port number for receiving the video / audio data, the received packet is determined to be a video / audio packet.
[0030]
In the case of Ethernet (R), the total size of the Ethernet (R) header, the IP header, and the UDP header is 42 octets when there is no IP header option, so the ratio of the header to the maximum packet size of 1500 octets Is only 2.8%. The video / audio data is considered to be sufficiently large with respect to 1500 octets, and the payload size of the Ethernet (R) packet for transmitting the video / audio data is considered to be a large value as close to 1500 octets. Accordingly, the probability that an abnormality has occurred in the video / audio data is much higher than the probability that an abnormality has occurred in the header portion including the upper protocol when a check bit error occurs. In addition, the error occurrence part does not extend over the entire data of the payload, but it may occur for a part of the data. For this reason, if the video / audio data is processed by assuming that the header is normal without discarding the packet, the reproduced video / audio is less disturbed.
[0031]
According to this configuration, when the check bit error packet is received, the MAC layer also checks the IP layer and UDP layer headers to determine whether or not the data being transmitted is video / audio data. In the case of a voice packet, the packet can be transmitted to the upper protocol execution step without being discarded.
[0032]
(Embodiment 2)
FIG. 2 is a diagram for explaining a packet receiving method according to the second embodiment of the present invention (Claim 2).
[0033]
2, the same components as those in FIGS. 1 and 4 are denoted by the same reference numerals, and the description thereof is omitted. The long packet determination step 116 is a step for determining whether or not the received packet is a long packet, and the long packet notification step 117 is a step for notifying the upper protocol execution step 200 that a long packet has been received.
[0034]
According to such a configuration, when a long packet is received, the MAC layer checks the IP layer and UDP layer headers to determine whether or not the data being transmitted is video / audio data. In this case, the packet can be transmitted to the upper protocol execution step without being discarded.
[0035]
(Embodiment 3)
FIG. 3 is a diagram for explaining a packet receiving method according to the third embodiment of the present invention (Claim 3).
[0036]
The same components as those in FIG. 1 and FIG. The upper header extraction step 118 extracts a header higher than Ethernet (R), the upper header transmission step 119 transmits the extracted upper header to the upper protocol execution step, and the packet discard step 120 discards the packet. It is.
[0037]
According to such a configuration, the check bit error packet is not simply discarded, but the upper header is extracted and transmitted to the upper protocol execution step 200. Therefore, even when a bit error occurs in the top packet of the fragment, The upper protocol execution step 200 can determine the attributes of the second and subsequent packets.
[0038]
When a check bit error occurs, the upper header is extracted and the upper header is transmitted to the upper protocol execution step. However, the upper header is always extracted and transmitted regardless of the occurrence of the check bit error. May be.
[0039]
(Embodiment 4)
FIG. 5 is a diagram for explaining a packet receiving method according to the fourth embodiment of the present invention (claim 4).
[0040]
In FIG. 5, a check bit determination means 410 is a means for determining whether or not a check bit of a received packet is normal, a check bit error notification means 411 is a means for notifying the higher-level protocol execution means 500 that a check bit error has occurred, The video / audio data determination unit 413 checks the header of the transport layer from the MAC layer and determines whether or not the received packet is transmitting video / audio data. The packet transfer unit 412 sends the received packet to the higher-level protocol execution unit 500. It is a means to transmit.
[0041]
In the video / audio data determination means 413, the source IP address of the IP header matches the IP address of the video / audio data transmitting station, the destination IP address of the IP header matches the IP address of the own station, and the IP header The upper protocol field indicates UDP, the source port number of the UDP header matches the port number used by the video / audio data transmitting station to transmit the video / audio data, and the destination port number of the UDP header is the local station. If the port number matches the port number for receiving the video / audio data, the received packet is determined to be a video / audio packet.
[0042]
According to this configuration, when the check bit error packet is received, the MAC layer also checks the IP layer and UDP layer headers to determine whether or not the data being transmitted is video / audio data. In the case of a voice packet, it is possible to realize a device that transmits the packet to the upper protocol execution step without discarding the packet.
[0043]
(Embodiment 5)
FIG. 6 is a diagram for explaining a packet receiving method according to the fifth embodiment of the present invention (Claim 5).
[0044]
The same components as those in FIG. 5 and FIG. The long packet determination unit 414 is a unit that determines whether or not the received packet is a long packet, and the long packet notification unit 415 is a unit that notifies the upper protocol execution unit 500 that a long packet has been received.
[0045]
According to such a configuration, when a long packet is received, the MAC layer checks the IP layer and UDP layer headers to determine whether or not the data being transmitted is video / audio data. In this case, the packet can be transmitted to the upper protocol execution step without being discarded.
[0046]
(Embodiment 6)
FIG. 7 is a diagram for explaining a packet receiving method according to the sixth embodiment of the present invention (claim 6).
[0047]
The same components as those in FIG. 5 and FIG. Upper header extraction means 416 is means for extracting a header higher than Ethernet (R), and upper header transmission means 417 is means for transmitting the extracted upper header to upper protocol execution means.
[0048]
According to such a configuration, not only the packet is not transmitted to the upper protocol execution unit 500 for the check bit error packet, but also the upper header is extracted and transmitted to the upper protocol execution unit 500. Even when an error occurs, the upper layer protocol execution means 500 can determine the attributes of the second and subsequent packets.
[0049]
When a check bit error occurs, the upper header is extracted and the upper header is transmitted to the upper protocol execution step. However, the upper header is always extracted and transmitted regardless of the occurrence of the check bit error. May be.
[0050]
In the first to sixth embodiments, Ethernet (R) has been described as an example of the MAC layer protocol. However, the present invention may be applied to MAC layer protocols other than Ethernet (R).
[0051]
In the first to sixth embodiments, the method and apparatus have been described in which the Ethernet (R) header, IP header, and UDP header of a packet in which a check bit error has occurred are considered to be normal. Since there is a checksum for confirming the reliability of the received packet, the received packet and the upper header may be transmitted to the upper protocol execution step and the upper protocol execution means only when the IP header is correct using the checksum. Good.
[0052]
Further, although Embodiments 1 to 6 have been described independently, they may be used in combination.
[0053]
【The invention's effect】
As described above, according to the packet receiving method and the packet receiving apparatus of the present invention, in the packet communication network where the bit error of the packet cannot be avoided, the bit error of the leading packet of the fragment occurs without requiring an additional protocol at the transmitting terminal. In this case, even when a long packet, which is a packet having a size exceeding the protocol default, is received, a packet receiving method and a packet receiving device that can suppress the disturbance of the reproduced video and audio can be realized.
[Brief description of the drawings]
FIG. 1 is a flowchart of a packet receiving method according to a first embodiment of the present invention. FIG. 2 is a flowchart of a packet receiving method according to a second embodiment of the present invention. FIG. 4 is a flowchart of a packet receiving method according to the first to third embodiments of the present invention. FIG. 5 is a block diagram of a packet receiving apparatus according to the fourth embodiment of the present invention. FIG. 7 is a block diagram of the packet receiving apparatus according to the sixth embodiment of the present invention. FIG. 8 is a block diagram of the packet receiving apparatus according to the fourth to sixth embodiments of the present invention. Relationship between model hierarchy and UDP / IP / Ethernet (R)
110 Packet reception determination step 111 Check bit determination step 112 Check bit notification step 113 Video / audio data determination step 114 Packet transmission step 115 End determination step 116 Long packet determination step 117 Long packet notification step 118 Upper header extraction step 119 Upper header transmission step 120 Packet discard step 121 Packet transmission step 100 MAC layer protocol execution step 200 Upper layer protocol execution step 210 Network layer protocol execution step 220 Transport layer protocol execution step 410 Inspection bit determination means 411 Inspection bit error notification means 412 Packet transmission means 413 Video / audio data Determination means 414 Long packet determination means 415 Long packet notification means 416 Upper header extraction means 417 Upper header transmission means 400 MAC layer protocol execution means 500 Upper protocol execution means 510 Network layer protocol execution means 520 Transport layer protocol execution means

Claims (6)

パケット通信ネットワークからパケットを受信し、MAC(メディアアクセスコントロール)層プロトコルを実行するMAC層プロトコル実行ステップと、前記MAC層よりも上位層のプロトコルを実行する上位プロトコル実行ステップとから成るパケット受信方法であって、
前記MAC層プロトコルは、通信媒体へのアクセス方法を規定し、物理アドレスを用いて隣接ノード間の通信を実現するプロトコルであり、
前記MAC層プロトコル実行ステップにおいて、
パケットを受信したことを判断するパケット受信判定ステップと、
前記受信パケットに付加されている検査ビットを用いて前記受信パケットにビット誤りが発生しているか否かを判断する検査ビット判定ステップと、
前記上位プロトコル実行ステップへエラーを通知する検査ビットエラー通知ステップと、
MAC層よりも上位層のプロトコルのヘッダを検査して、前記受信パケットが映像音声データを伝送しているか否かを判断する映像音声データ判定ステップと、前記上位プロトコル実行ステップへ前記受信パケットを伝達するパケット伝達ステップと、
動作終了を判断する終了判定ステップとを備え、
前記検査ビットエラー通知ステップは、前記検査ビット判定ステップで受信パケットにビット誤りが発生したと判定された場合に、前記上位プロトコル実行ステップへ検査ビットエラーを通知し、
前記映像音声データ判定ステップは、検査ビットエラーが発生した受信パケットが映像音声データを伝送していると判断したときは、パケット伝達ステップを実行し、映像音声データを伝送していないと判断したときは、終了判定ステップを実行することを特徴とするパケット受信方法。
A packet receiving method comprising: a MAC layer protocol executing step for receiving a packet from a packet communication network and executing a MAC (Media Access Control) layer protocol; and an upper protocol executing step for executing a higher layer protocol than the MAC layer. There,
The MAC layer protocol is a protocol that defines a method for accessing a communication medium and realizes communication between adjacent nodes using a physical address;
In the MAC layer protocol execution step,
A packet reception determination step for determining that a packet has been received;
A check bit determining step of determining whether or not a bit error has occurred in the received packet by using a check bit added to the received packet;
A check bit error notification step of notifying the upper protocol execution step of an error;
A header of a protocol higher than the MAC layer is inspected to determine whether or not the received packet is transmitting video / audio data, and the received packet is transmitted to the upper protocol execution step. Packet transmission step to
An end determination step for determining the end of operation,
The check bit error notification step notifies the check bit error to the upper protocol execution step when it is determined in the check bit determination step that a bit error has occurred in the received packet,
In the video / audio data determination step, when it is determined that the received packet in which the check bit error has occurred transmits video / audio data, the packet transmission step is executed, and when it is determined that video / audio data is not transmitted Is a packet receiving method characterized by executing an end determination step.
パケット通信ネットワークからパケットを受信し、MAC層プロトコルを実行するMAC層プロトコル実行ステップと、前記MAC層よりも上位層のプロトコルを実行する上位プロトコル実行ステップとから成るパケット受信方法であって、
前記MAC層プロトコルは、通信媒体へのアクセス方法を規定し、物理アドレスを用いて隣接ノード間の通信を実現するプロトコルであり、
前記MAC層プロトコル実行ステップにおいて、
パケットを受信したことを判断するパケット受信判定ステップと、
前記受信パケットのパケットサイズがMAC層プロトコルで規定されている最大パケットサイズを超えるか否かを判断するロングパケット判定ステップと、
前記上位プロトコル実行ステップへロングパケット受信を通知するロングパケット通知ステップと、
MAC層よりも上位のプロトコルのヘッダを検査して、前記受信パケットが映像音声データを伝送しているか否かを判断する映像音声データ判定ステップと、
前記上位プロトコル実行ステップへ前記受信パケットを伝達するパケット伝達ステップと、
動作終了を判断する終了判定ステップとを備え、
前記映像音声データ判定ステップは、前記ロングパケット判定ステップで最大サイズを超えていると判断された前記受信パケットが映像音声データを伝送していると判断したときは、前記パケット伝達ステップを実行し、前記ロングパケット判定ステップで最大サイズを超えていないと判断されたときは、前記終了判定ステップを実行することを特徴とするパケット受信方法。
A packet receiving method comprising: a MAC layer protocol execution step for receiving a packet from a packet communication network and executing a MAC layer protocol; and an upper protocol execution step for executing a higher layer protocol than the MAC layer,
The MAC layer protocol is a protocol that defines a method for accessing a communication medium and realizes communication between adjacent nodes using a physical address;
In the MAC layer protocol execution step,
A packet reception determination step for determining that a packet has been received;
A long packet determination step of determining whether or not the packet size of the received packet exceeds a maximum packet size defined by a MAC layer protocol;
A long packet notification step of notifying the upper protocol execution step of reception of a long packet;
A video / audio data determination step of examining a header of a protocol higher than the MAC layer to determine whether the received packet transmits video / audio data;
A packet transmission step of transmitting the received packet to the upper protocol execution step;
An end determination step for determining the end of operation,
When the video and audio data determination step determines that the received packet determined to exceed the maximum size in the long packet determination step is transmitting video and audio data, the packet transmission step is executed. The packet reception method, wherein when the long packet determination step determines that the maximum size is not exceeded, the termination determination step is executed.
パケット通信ネットワークからパケットを受信し、MAC層プロトコルを実行するMAC層プロトコル実行ステップと、前記MAC層よりも上位層のプロトコルを実行する上位プロトコル実行ステップとから成るパケット受信方法であって、
前記MAC層プロトコルは、通信媒体へのアクセス方法を規定し、物理アドレスを用いて隣接ノード間の通信を実現するプロトコルであり、
前記MAC層プロトコル実行ステップにおいて、
パケットを受信したことを判断するパケット受信判定ステップと、
前記受信パケットに付加されている検査ビットを用いて前記受信パケットにビット誤りが発生しているか否かを判断する検査ビット判定ステップと、
MAC層よりも上位のプロトコルのヘッダを抽出する上位ヘッダ抽出ステップと、
前記上位ヘッダ抽出ステップで抽出した上位ヘッダを前記上位プロトコル実行ステップへ伝達する上位ヘッダ伝達ステップと、
前記受信パケットを廃棄するパケット廃棄ステップと、
前記上位プロトコル実行ステップへ前記受信パケットを伝達するパケット伝達ステップと、
動作終了を判断する終了判定ステップとを備え、
前記検査ビット判定ステップでビット誤りが発生していると判定された場合には、前記上位ヘッダ抽出ステップと前記上位ヘッダ伝達ステップと前記パケット廃棄ステップとを実行し、
前記検査ビット判定ステップでビット誤りが発生していると判定されなかった場合には、前記パケット伝達ステップを実行することを特徴とするパケット受信方法。
A packet receiving method comprising: a MAC layer protocol execution step for receiving a packet from a packet communication network and executing a MAC layer protocol; and an upper protocol execution step for executing a higher layer protocol than the MAC layer,
The MAC layer protocol is a protocol that defines a method for accessing a communication medium and realizes communication between adjacent nodes using a physical address;
In the MAC layer protocol execution step,
A packet reception determination step for determining that a packet has been received;
A check bit determining step of determining whether or not a bit error has occurred in the received packet by using a check bit added to the received packet;
An upper header extraction step for extracting a header of a protocol higher than the MAC layer;
An upper header transmission step for transmitting the upper header extracted in the upper header extraction step to the upper protocol execution step;
A packet discarding step for discarding the received packet;
A packet transmission step of transmitting the received packet to the upper protocol execution step;
An end determination step for determining the end of operation,
When it is determined in the check bit determination step that a bit error has occurred, the upper header extraction step, the upper header transmission step, and the packet discard step are executed,
The packet receiving method, wherein if the bit error is not determined in the check bit determining step, the packet transmitting step is executed.
パケット通信ネットワークからパケットを受信し、MAC層プロトコルを実行するMAC層プロトコル実行手段と、前記MAC層よりも上位層のプロトコルを実行する上位プロトコル実行手段とから成るパケット受信装置であって、
前記MAC層プロトコルは、通信媒体へのアクセス方法を規定し、物理アドレスを用いて隣接ノード間の通信を実現するプロトコルであり、
前記MAC層プロトコル実行手段において、
前記受信パケットに付加されている検査ビットを用いて前記受信パケットにビット誤りが発生しているか否かを判断する検査ビット判定手段と、
前記上位プロトコル実行ステップへビット誤りを通知する検査ビットエラー通知手段と、
MAC層よりも上位のプロトコルのヘッダを検査して、前記受信パケットが映像音声データを伝送しているか否かを判断する映像音声データ判定手段と、
前記上位プロトコル実行手段へ前記受信パケットの伝達を制御するパケット伝達ステップとを備え、
前記検査ビット判定手段は、前記受信パケットにビット誤りが発生している場合にパケット伝達手段へ検査ビットエラー信号を出力し、
前記検査ビットエラー通知手段は、前記検査ビット判定手段から検査ビットエラー信号を受け取った場合に、前記上位プロトコル実行手段へ検査ビットエラーを通知し、
前記映像音声データ判定手段は、前記受信パケットが映像音声データであるか否かを判別する信号を前記パケット伝達手段へ出力し、
前記パケット伝達手段は、前記受信パケットが検査ビットエラーが発生しているか、もしくは検査ビットエラーが発生し、かつ映像音声データである場合に、前記上位プロトコル実行手段へ前記受信パケットを伝達することを特徴とするパケット受信装置。
A packet receiving apparatus comprising: a MAC layer protocol executing means for receiving a packet from a packet communication network and executing a MAC layer protocol; and an upper protocol executing means for executing a higher layer protocol than the MAC layer,
The MAC layer protocol is a protocol that defines a method for accessing a communication medium and realizes communication between adjacent nodes using a physical address;
In the MAC layer protocol execution means,
Check bit determining means for determining whether or not a bit error has occurred in the received packet using the check bit added to the received packet;
Check bit error notification means for notifying the upper protocol execution step of a bit error;
Video / audio data determination means for examining a header of a protocol higher than the MAC layer and determining whether the received packet is transmitting video / audio data;
A packet transmission step for controlling transmission of the received packet to the higher-level protocol execution means,
The check bit determination means outputs a check bit error signal to the packet transmission means when a bit error occurs in the received packet,
When the check bit error notification means receives a check bit error signal from the check bit determination means, the check bit error notification means notifies the check bit error to the higher-level protocol execution means,
The video / audio data determination means outputs a signal for determining whether or not the received packet is video / audio data to the packet transmission means,
The packet transmission means transmits the received packet to the higher-level protocol execution means when the received packet has a check bit error or a check bit error has occurred and is video / audio data. A characteristic packet receiving apparatus.
パケット通信ネットワークからパケットを受信し、MAC層プロトコルを実行するMAC層プロトコル実行手段と、前記MAC層よりも上位層のプロトコルを実行する上位プロトコル実行手段とから成るパケット受信装置であって、
前記MAC層プロトコルは、通信媒体へのアクセス方法を規定し、物理アドレスを用いて隣接ノード間の通信を実現するプロトコルであり、
前記MAC層プロトコル実行手段において、
前記受信パケットのパケットサイズがMAC層プロトコルで規定されている最大パケットサイズを超えるか否かを判断するロングパケット判定手段と、
前記上位プロトコル実行手段へロングパケット受信を通知するロングパケット通知手段と、
MAC層よりも上位のプロトコルのヘッダを検査して、前記受信パケットが映像音声データを伝送しているか否かを判断する映像音声データ判定手段と、
前記上位プロトコル実行手段へ前記受信パケットを伝達するパケット伝達手段とを備え、
前記ロングパケット判定手段は、前記受信パケットがロングパケットである場合に前記パケット伝達手段へロングパケット受信信号を出力し、
前記ロングパケット通知手段は、前記ロングパケット判定手段からロングパケット受信信号を受け取った場合に、前記上位プロトコル実行手段へロングパケット受信を通知し、
前記映像音声データ判定手段は、前記受信パケットが映像音声データであるか否かを判別する信号を前記パケット伝達手段へ出力し、
前記パケット伝達手段は、前記受信パケットがロングパケットでないか、もしくはロングパケットかつ映像音声データである場合に、前記上位プロトコル実行手段へ前記受信パケットを伝達することを特徴とするパケット受信装置。
A packet receiving apparatus comprising: a MAC layer protocol executing means for receiving a packet from a packet communication network and executing a MAC layer protocol; and an upper protocol executing means for executing a higher layer protocol than the MAC layer,
The MAC layer protocol is a protocol that defines a method for accessing a communication medium and realizes communication between adjacent nodes using a physical address;
In the MAC layer protocol execution means,
Long packet determination means for determining whether the packet size of the received packet exceeds the maximum packet size defined by the MAC layer protocol;
Long packet notification means for notifying the upper protocol execution means of long packet reception;
Video / audio data determination means for examining a header of a protocol higher than the MAC layer and determining whether the received packet is transmitting video / audio data;
Packet transfer means for transferring the received packet to the higher-level protocol execution means,
The long packet determination means outputs a long packet reception signal to the packet transmission means when the received packet is a long packet,
When the long packet notification unit receives a long packet reception signal from the long packet determination unit, the long packet notification unit notifies the upper protocol execution unit of long packet reception,
The video / audio data determination means outputs a signal for determining whether or not the received packet is video / audio data to the packet transmission means,
The packet transmission device, wherein the packet transmission means transmits the reception packet to the higher-level protocol execution means when the received packet is not a long packet or is a long packet and video / audio data.
パケット通信ネットワークからパケットを受信し、MAC層プロトコルを実行するMAC層プロトコル実行手段と、前記MAC層よりも上位層のプロトコルを実行する上位プロトコル実行手段とから成るパケット受信装置であって、
前記MAC層プロトコルは、通信媒体へのアクセス方法を規定し、物理アドレスを用いて隣接ノード間の通信を実現するプロトコルであり、
前記MAC層プロトコル実行手段において、
前記受信パケットに付加されている検査ビットを用いて前記受信パケットにビット誤りが発生しているか否かを判断する検査ビット判定手段と、
MAC層よりも上位のプロトコルのヘッダを抽出する上位ヘッダ抽出手段と、
前記上位ヘッダ抽出手段で抽出した上位ヘッダを前記上位プロトコル実行手段へ伝達する上位ヘッダ伝達手段と、
前記上位プロトコル実行手段へ前記受信パケットの伝達を制御するパケット伝達手段とを備え、
前記検査ビット判定手段は、前記受信パケットにビット誤りが発生している場合に前記パケット伝達手段および前記上位ヘッダ伝達手段へ検査ビットエラー信号を出力し、
前記上位ヘッダ伝達手段は、前記検査ビット判定手段から検査ビットエラー信号を受け取った場合に前記上位ヘッダを前記上位プロトコル実行手段へ伝達し、
前記パケット伝達手段は、前記検査ビット判定手段から検査ビットエラー信号を受け取っていない場合に、前記上位プロトコル実行手段へ前記受信パケットを伝達することを特徴とするパケット受信装置。
A packet receiving apparatus comprising: a MAC layer protocol executing means for receiving a packet from a packet communication network and executing a MAC layer protocol; and an upper protocol executing means for executing a higher layer protocol than the MAC layer,
The MAC layer protocol is a protocol that defines a method for accessing a communication medium and realizes communication between adjacent nodes using a physical address;
In the MAC layer protocol execution means,
Check bit determining means for determining whether or not a bit error has occurred in the received packet using the check bit added to the received packet;
Upper header extraction means for extracting a header of a protocol higher than the MAC layer;
Upper header transmission means for transmitting the upper header extracted by the upper header extraction means to the upper protocol execution means;
Packet transmission means for controlling transmission of the received packet to the higher-level protocol execution means,
The check bit determination means outputs a check bit error signal to the packet transfer means and the upper header transfer means when a bit error occurs in the received packet,
The upper header transmission means transmits the upper header to the upper protocol execution means when a check bit error signal is received from the check bit determination means,
The packet transmission device, wherein the packet transmission means transmits the received packet to the higher-level protocol execution means when a check bit error signal is not received from the check bit determination means.
JP2003105070A 2003-04-09 2003-04-09 Packet receiving method and packet receiving apparatus Expired - Fee Related JP4001044B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003105070A JP4001044B2 (en) 2003-04-09 2003-04-09 Packet receiving method and packet receiving apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003105070A JP4001044B2 (en) 2003-04-09 2003-04-09 Packet receiving method and packet receiving apparatus

Publications (2)

Publication Number Publication Date
JP2004312501A JP2004312501A (en) 2004-11-04
JP4001044B2 true JP4001044B2 (en) 2007-10-31

Family

ID=33467687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003105070A Expired - Fee Related JP4001044B2 (en) 2003-04-09 2003-04-09 Packet receiving method and packet receiving apparatus

Country Status (1)

Country Link
JP (1) JP4001044B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007028364A (en) * 2005-07-20 2007-02-01 Matsushita Electric Ind Co Ltd Communication control apparatus, receiver, integrated circuit, and communication control method
CN111200760A (en) * 2019-11-26 2020-05-26 安徽文香信息技术有限公司 Data processing method and device and electronic equipment

Also Published As

Publication number Publication date
JP2004312501A (en) 2004-11-04

Similar Documents

Publication Publication Date Title
JP3799326B2 (en) Packet transmission method and packet reception method
JP4627669B2 (en) Packet transfer apparatus and transfer control method thereof
EP1557982B1 (en) Method and system for admission control in communication networks
US9306708B2 (en) Method and apparatus for retransmission decision making
US6845105B1 (en) Method and apparatus for maintaining sequence numbering in header compressed packets
US7443845B2 (en) Apparatus and method for a lightweight, reliable, packet-based transport protocol
JP3763741B2 (en) Packet discard notification for semi-reliable retransmission protocol
US7167449B2 (en) Communication terminal device, method, program, recording medium, and integrated circuit for use in communication network system
US6091733A (en) Communication device using communication protocol including transport layer and communication method using communication protocol including transport layer
US8072898B2 (en) Method for managing a transmission of data streams on a transport channel of a tunnel, corresponding tunnel end-point and computer-readable storage medium
US20050195821A1 (en) Method and apparatus for dynamically controlling traffic in wireless station
WO2001041397A1 (en) Method and apparatus for packet delay reduction using scheduling and header compression
US20050169305A1 (en) Mobile terminal and radio access point in radio access system
JP2001308947A (en) Communication device, repeater and communication control method
US20070076618A1 (en) IP communication device and IP communication system therefor
US20060133379A1 (en) Method, system and article for improved TCP performance during retransmission in response to selective acknowledgement
US20100074172A1 (en) Method for reception of data packets and correspponding transmission method
US20090028157A1 (en) Receiver and Method for Processing a Stream of Data Packets When an Error Occurred on the Physical Layer
EP1513280A1 (en) Method for transmitting data including an error control mechanism designated for unreliable networks and error resilience applications
JP4001044B2 (en) Packet receiving method and packet receiving apparatus
JP2001156795A (en) Packet flow controller and method
EP1868342A1 (en) Method, transmitting station and receiving station for transferring a real-time stream in a network of subscriber stations
US7490160B2 (en) Method of efficiently transmitting/receiving data using transport layer in a mobile ad hoc network, and network device using the method
JPWO2004064341A1 (en) Non-instantaneous transfer method in case of line failure in IP network
JP2000224230A (en) Real time communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051115

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20051213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070621

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070806

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

Free format text: PAYMENT UNTIL: 20100824

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100824

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110824

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130824

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees