JP2004312501A - Packet receiving method and packet receiver - Google Patents

Packet receiving method and packet receiver Download PDF

Info

Publication number
JP2004312501A
JP2004312501A JP2003105070A JP2003105070A JP2004312501A JP 2004312501 A JP2004312501 A JP 2004312501A JP 2003105070 A JP2003105070 A JP 2003105070A JP 2003105070 A JP2003105070 A JP 2003105070A JP 2004312501 A JP2004312501 A JP 2004312501A
Authority
JP
Japan
Prior art keywords
packet
protocol
mac layer
video
check bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003105070A
Other languages
Japanese (ja)
Other versions
JP4001044B2 (en
Inventor
Hiroki Kobayashi
裕樹 小林
Taku Matsuda
卓 松田
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
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)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a packet receiving method and a packet receiver capable of suppressing the disturbance in the reproduced audio and video without requiring an additional protocol in a transmission terminal, even if a bit error occurs in the head packet of the fragments or a long packet larger than a packet length defined by a protocol is received, in a packet communication network in which bit errors in packets are unavoidable. <P>SOLUTION: This receiver is provided with an inspection bit check means 410, a detected bit error notifying means 411, a packet transmitting means 412, a video/audio data check means 413 for determining whether or not the video/audio data check means has transmitted video audio data to a received packet having a bit error. Since the video/audio data can be taken out from the received packet in this way, only a receiving terminal can suppress the disturbance of the reproduced video and audio. Accordingly, when a bit error occurs in a UDP packet for transmitting video/audio data, the packet is usually discarded, and the problem that the reproduced video/audio has a large disturbance can be solved. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to data reception using a packet communication network. In particular, the present invention relates to a packet-type terminal that receives and reproduces video and audio data in real time using UDP (User Datagram Protocol) via a communication network in which bit errors in the packet cannot be avoided. The present invention relates to a receiving method and a receiving apparatus capable of suppressing disturbance of reproduced video and audio undesired for a viewer even when it occurs, and particularly to a MAC layer protocol.
[0002]
[Prior art]
Conventionally, when a packet loss of a UDP packet or a bit error of a packet occurs, a method of requesting a retransmission from a reception side to a transmission terminal, and the transmission terminal retransmitting the data of the loss portion to compensate for the lost data is known. (For example, see Patent Document 1).
[0003]
[Patent Document 1]
JP 2001-136195 A
[Problems to be solved by the invention]
However, in the conventional method for compensating for UDP packets, a retransmission mechanism is added to a UDP that does not have a retransmission mechanism. Therefore, although there is an advantage that it can be completely compensated except for the problem related to retransmission delay, lost data is retransmitted. Therefore, there is a problem that complicated control is required, and it cannot be realized only by the receiving terminal, and the transmitting terminal also needs a retransmission mechanism.
[0005]
Further, in a packet communication network, communication protocols are hierarchized, and an OSI (Open System Interconnection) reference model defined by ISO (International Organization for Standardization) is often used for describing the protocol. Here, the features of UDP / IP / Ethernet (R) will be described in comparison with the OSI reference model.
[0006]
UDP is a protocol located at the transport layer (fourth layer) in the OSI reference model, and is unreliable communication without a retransmission mechanism for packet loss and packet bit errors. Since the protocol processing can be executed at a higher speed than a TCP (transmission control protocol) having a retransmission mechanism by a protocol, the use thereof has been widespread in streaming distribution in which video and audio data are simultaneously reproduced while being received.
[0007]
IP is a protocol located at the network layer (third layer) in the OSI reference model, and has a role of transmitting data from a transmitting terminal to a receiving terminal beyond a node (packet relay device), but there is no compensation that can be reliably reached. 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 of 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). Note that the physical address is also called a MAC address. Ethernet (R) also defines the electrical characteristics and connectors of the communication medium classified as the physical layer of the OSI reference model, but does not relate to the present invention, and a description thereof will be omitted.
[0009]
Each layer packet is composed of a header 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. The payload stores a UDP packet. 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 protocol of each layer specifies the maximum packet size, and if the packet size of the upper layer exceeds the maximum packet size of the lower layer during transmission, it is divided into multiple packets so that it fits in 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. Therefore, when the packet size of the IP packet storing the UDP packet in the payload exceeds 1500 octets, the UDP packet is divided into a plurality of pieces to generate a plurality of IP packets of 1500 octets or less. Here, the first fragment packet has a UDP header, but the second and subsequent fragment packets do not have a UDP header. The transmitting / receiving terminal identifies the communication channel of the packet using the IP address and the port number of the UDP header. The second and subsequent fragmented packets do not have a UDP header, but non-fragmented packets have different IP header IDs for each IP packet, whereas fragmented packets have the same IP header ID within the same fragmented packet. , The UDP header can be known from the first packet of the same fragment by using the ID, so that 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 communication channel of the packet cannot be identified because the UDP header of the same fragment packet cannot be known, and the fragment 2 The subsequent packets are discarded.
[0013]
On the other hand, when transmitting video and audio data by UDP, the size of the video and audio data is generally larger than the maximum payload size of Ethernet (R), and thus, fragments often occur. Therefore, when the first packet of the fragment is discarded by the MAC layer protocol because a bit error occurs or the packet exceeds a predetermined packet size, not only the first packet but also the second and subsequent fragment packets are included. There is a problem that a large amount of data is discarded, and a large disturbance occurs in reproduction of video and audio.
[0014]
The present invention solves such a problem, and in a packet communication network in which 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, It is another object of the present invention to provide a packet receiving method and a packet receiving apparatus that can suppress disturbance of video / audio reproduction even when a long packet exceeding a predetermined packet length of a protocol is received.
[0015]
[Means for Solving the Problems]
In order to solve the above problem, a packet receiving method according to the present invention (claim 1) has a video / audio data determining step, and even when a check bit error occurs, a packet is discarded without discarding the packet. It is transmitted to the upper protocol execution step. With this configuration, if the packet in which the bit error has occurred is transmitting video and audio data, the video and audio data can be transmitted to the upper protocol execution step.
[0016]
The packet receiving method according to the present invention (claim 2) includes a long packet determining step and a packet transmitting step of transmitting a packet to an upper layer when a long packet is detected. The packet is transmitted to the upper protocol execution step without being discarded. With this configuration, if the long packet is transmitting video and audio data, the video and audio data can be transmitted to the upper protocol execution step.
[0017]
The packet receiving method according to the present invention (claim 3) has an upper header extracting step of extracting a header of a protocol of a higher layer than the MAC layer, and transmits the header of the protocol of the upper layer to an upper protocol execution step. With this configuration, even when a bit error occurs in the first packet of the fragment packet, the attributes of the second and subsequent packets of the same fragment packet can be determined by extracting the upper header of the first packet. The second and subsequent packets can be used without being discarded.
[0018]
The packet receiving apparatus according to the present invention (claim 4) has a video / audio data determining unit, and transmits a packet to a higher-level protocol executing unit without discarding the packet even when a check bit error occurs. With this configuration, if the check bit error packet is transmitting video and audio data, the video and audio data can be transmitted to the higher-level protocol execution unit.
[0019]
The packet receiving apparatus according to the present invention (claim 5) has a long packet determining means and a packet transmitting means for transmitting a packet to an upper layer when a long packet is detected. The packet is transmitted to the upper protocol execution step without discarding the packet. With this configuration, if the long packet is transmitting video and audio data, the video and audio data can be transmitted to the upper protocol execution step.
[0020]
The packet receiving apparatus according to the present invention (claim 6) has an upper-layer protocol extracting unit that extracts a header of a protocol of an upper layer than the MAC layer, and transmits the header of the upper-layer protocol to an upper-layer protocol executing unit. . With this configuration, even when a bit error occurs in the first packet of the fragment packet, the attributes of the second and subsequent packets of the same fragment packet can be determined by extracting the upper header of the first 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 at the transmitting terminal.
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0023]
FIG. 4 is a diagram illustrating an 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 is a step of executing a protocol in a MAC layer of a received packet, an upper protocol execution step 200 is a step of executing a protocol of an upper layer than the MAC layer, and a network layer protocol execution step 210 is The step of executing the network layer protocol in the upper protocol execution step 200, and the step of executing the transport layer protocol 220 are the steps of executing the transport layer protocol in the upper protocol execution step 200.
[0025]
FIG. 8 is a diagram illustrating an overall image of the packet receiving device according to the fourth, fifth, or sixth embodiment of the present invention.
[0026]
In FIG. 8, a MAC layer protocol executing means 400 executes a protocol in a MAC layer of a received packet, an upper protocol executing means 500 executes a protocol in an upper layer than the MAC layer, and a network layer protocol executing means 510 includes: The means for executing the network layer protocol in the upper protocol execution step 500 and the transport layer protocol execution means 520 are means for executing the transport layer protocol in the upper protocol execution means 500.
[0027]
(Embodiment 1)
FIG. 1 is a diagram illustrating a packet receiving method according to a second embodiment of the present invention (claim 1).
[0028]
In FIG. 1, a packet reception determination step 110 is a step of determining whether a packet has been received, a check bit determination step 111 is a step of determining whether the check bits of a received packet are normal, and a check bit error notification step 112 is The step of notifying the upper protocol execution step 200 of the occurrence of the check bit error, the step of determining audio / video data 113 checks the headers of the MAC layer, the IP layer and the UDP layer, and determines whether the received packet transmits the audio / video data. The packet transmission step 114 is a step of transmitting a received packet to the upper protocol execution step 200, and the termination determination step 115 is a step of 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 its own station, and The upper protocol field indicates UDP, the source port number in the UDP header matches the port number used by the video / audio data transmitting station to transmit video / audio data, and the destination port number in the UDP header is the local station. If the received packet matches the port number for receiving the video / audio data, it is determined that the received packet is a video / audio packet.
[0030]
Also, 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, and therefore, the ratio of the header to the maximum packet size of 1500 octets. Is only 2.8%. The video and audio data is considered to be sufficiently large with respect to 1500 octets, and the payload size of the Ethernet (R) packet transmitting the video and audio data is considered to be a large value closer to 1500 octets. Therefore, the probability that an abnormality has occurred in the video and audio data is much higher than the probability that an abnormality has occurred in the header including the upper layer protocol when a check bit error has occurred. In addition, the error occurrence portion does not extend to all data of the payload, but may occur for some data. Therefore, when the video and audio data is processed without regarding to discarding the packet and assuming that the header is normal, the disturbance in the reproduced video and audio is reduced.
[0031]
According to this configuration, when the check bit error packet is received, the MAC layer also checks the headers of the IP layer and the UDP layer 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 an upper protocol execution step without discarding the packet.
[0032]
(Embodiment 2)
FIG. 2 illustrates 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 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. The long packet notification step 117 is a step for notifying the upper protocol execution step 200 that the long packet has been received.
[0034]
According to this configuration, when the long packet is received, the MAC layer also checks the headers of the IP layer and the UDP layer to determine whether the data being transmitted is video / audio data. In this case, the packet can be transmitted to the upper protocol execution step without discarding the packet.
[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 FIGS. 1 and 4 are denoted by the same reference numerals, and description thereof is omitted. 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, not only the check bit error packet is simply discarded, but also the upper header is extracted and transmitted to the upper protocol execution step 200. Therefore, even if a bit error occurs in the first 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, regardless of whether a check bit error occurs, the upper header is always extracted and transmitted. 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, check bit determination means 410 determines whether the check bit of the received packet is normal, check bit error notification means 411 notifies upper protocol execution means 500 that a check bit error has occurred, The video / audio data determining means 413 examines the header of the transport layer from the MAC layer, and determines whether or not the received packet transmits the video / audio data. The packet transmitting means 412 transmits the received packet to the upper-layer protocol executing means 500. Means for transmitting the
[0041]
The video / audio data determination means 413 determines that 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 upper protocol field indicates UDP, the source port number in the UDP header matches the port number used by the video / audio data transmitting station to transmit video / audio data, and the destination port number in the UDP header is the local station. If the received packet matches the port number for receiving the video / audio data, it is determined that the received packet is a video / audio packet.
[0042]
According to this configuration, when the check bit error packet is received, the MAC layer also checks the headers of the IP layer and the UDP layer to determine whether or not the data being transmitted is video / audio data. In the case of a voice packet, a device for transmitting the packet to the upper protocol execution step without discarding the packet can be realized.
[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 FIGS. 5 and 8 are denoted by the same reference numerals, and description thereof is omitted. The long packet determining unit 414 is a unit that determines whether the received packet is a long packet, and the long packet notifying unit 415 is a unit that notifies the upper protocol executing unit 500 that the long packet has been received.
[0045]
According to this configuration, when the long packet is received, the MAC layer also checks the headers of the IP layer and the UDP layer to determine whether the data being transmitted is video / audio data. In this case, the packet can be transmitted to the upper protocol execution step without discarding the packet.
[0046]
(Embodiment 6)
FIG. 7 illustrates a packet receiving method according to the sixth embodiment of the present invention (claim 6).
[0047]
The same components as those in FIGS. 5 and 8 are denoted by the same reference numerals, and description thereof is omitted. The upper header extracting unit 416 is a unit for extracting a header higher than Ethernet (R), and the upper header transmitting unit 417 is a unit for transmitting the extracted upper header to the upper protocol executing unit.
[0048]
According to such a configuration, in addition to not transmitting the packet to the upper-level protocol execution unit 500 for the check bit error packet, the upper-level header is extracted and transmitted to the upper-level protocol execution unit 500. Even when an error occurs, the upper-layer protocol executing unit 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, regardless of whether a check bit error occurs, the upper header is always extracted and transmitted. May be.
[0050]
In Embodiments 1 to 6, Ethernet (R) has been described as an example of the MAC layer protocol, but the present invention may be applied to MAC layer protocols other than Ethernet (R).
[0051]
In the first to sixth embodiments, a method and an apparatus have been described in which the Ethernet (R) header, the IP header, and the UDP header of a packet in which a check bit error has occurred are considered to be normal, but the IP header has a header. There is a checksum for confirming the reliability of the packet, and the received packet or the upper header is transmitted to the upper protocol execution step or the upper protocol execution means only when the IP header is correct using the checksum. Good.
[0052]
Although the first to sixth embodiments 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 a packet communication network in which a bit error of a packet is unavoidable, a bit error of a leading packet of a fragment is generated without requiring an additional protocol for a transmitting terminal. Thus, even if a long packet having a size exceeding the protocol default is received, a packet receiving method and a packet receiving apparatus capable of suppressing disturbance of reproduced video and audio can be realized.
[Brief description of the drawings]
1 is a flowchart of a packet receiving method according to Embodiment 1 of the present invention; FIG. 2 is a flowchart of a packet receiving method according to Embodiment 2 of the present invention; FIG. 3 is a flowchart of a packet receiving method according to Embodiment 3 of the present invention; FIG. 4 is a flowchart of a packet receiving method according to Embodiments 1 to 3 of the present invention. FIG. 5 is a block diagram of a packet receiving apparatus according to Embodiment 4 of the present invention. FIG. 7 is a block diagram of a packet receiving device according to Embodiment 6 of the present invention. FIG. 8 is a block diagram of a packet receiving device according to Embodiments 4 to 6 of the present invention. Diagram showing relationship between hierarchical structure of model 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 discarding step 121 Packet transmission step 100 MAC layer protocol execution step 200 Upper protocol execution step 210 Network layer protocol execution step 220 Transport layer protocol execution step 410 Check bit determination means 411 Check bit error notification means 412 Packet transfer means 413 Video / audio data Judgment means 414 long packet judgment means 415 long packet notification means 416 Upper header extracting means 417 Upper header transmitting means 400 MAC layer protocol executing means 500 Upper protocol executing means 510 Network layer protocol executing means 520 Transport layer protocol executing means

Claims (6)

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

Cited By (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007010898A1 (en) * 2005-07-20 2007-01-25 Matsushita Electric Industrial Co., Ltd. Communication control apparatus, receiver apparatus, 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
JP4001044B2 (en) 2007-10-31

Similar Documents

Publication Publication Date Title
US8179904B2 (en) Packet transfer device and transfer control method thereof
US6845105B1 (en) Method and apparatus for maintaining sequence numbering in header compressed packets
JP3799326B2 (en) Packet transmission method and packet reception method
EP1234428B1 (en) Method and apparatus for packet delay reduction using scheduling and header compression
US7167449B2 (en) Communication terminal device, method, program, recording medium, and integrated circuit for use in communication network system
US7443845B2 (en) Apparatus and method for a lightweight, reliable, packet-based transport protocol
KR100910818B1 (en) Method and system for tunneling macsec packets through non-macsec nodes
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
US11159423B2 (en) Techniques for efficient multipath transmission
US20070076618A1 (en) IP communication device and IP communication system therefor
US20050169305A1 (en) Mobile terminal and radio access point in radio access system
US7480301B2 (en) Method, system and article for improved TCP performance during retransmission in response to selective acknowledgement
WO2000072532A1 (en) System and method for network packet reduction
US20080101237A1 (en) Communication device
US20050041587A1 (en) Providing information on ethernet network congestion
US8130791B2 (en) Receiver and method for processing a stream of data packets when an error occurred on the physical layer
EP1613002A1 (en) Mobile terminal and radio access point in radio access system
JP2001156795A (en) Packet flow controller and method
JP2006253867A (en) Frame transmission system and method
JP4001044B2 (en) Packet receiving method and packet receiving apparatus
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
US8054834B2 (en) Method and equipment for demultiplexing variable size protocol data units
KR100745238B1 (en) Error detection system and method for the wire section of a mobile phone
JP4059125B2 (en) Packet receiver

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