JP5854461B2 - Packet receiving apparatus, packet receiving system, packet receiving method used therefor, and program thereof - Google Patents

Packet receiving apparatus, packet receiving system, packet receiving method used therefor, and program thereof Download PDF

Info

Publication number
JP5854461B2
JP5854461B2 JP2011240726A JP2011240726A JP5854461B2 JP 5854461 B2 JP5854461 B2 JP 5854461B2 JP 2011240726 A JP2011240726 A JP 2011240726A JP 2011240726 A JP2011240726 A JP 2011240726A JP 5854461 B2 JP5854461 B2 JP 5854461B2
Authority
JP
Japan
Prior art keywords
packet
sequence number
discontinuous
confirmation
packets
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.)
Active
Application number
JP2011240726A
Other languages
Japanese (ja)
Other versions
JP2013098806A (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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP2011240726A priority Critical patent/JP5854461B2/en
Publication of JP2013098806A publication Critical patent/JP2013098806A/en
Application granted granted Critical
Publication of JP5854461B2 publication Critical patent/JP5854461B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

本発明はパケット受信装置、パケット受信システム及びそれらに用いるパケット受信方法並びにそのプログラムに関し、特にIP(Internet Protocol)ネットワーク上のリアルタイム伝送方式に用いるパケット受信方法に関する。   The present invention relates to a packet receiving apparatus, a packet receiving system, a packet receiving method used for them, and a program therefor, and more particularly to a packet receiving method used for a real-time transmission system on an IP (Internet Protocol) network.

IPネットワーク上のリアルタイム伝送方式としては、RTP(Real−time Transport Protocol)プロトコルを用いた伝送が一般的である。RTPでは、シーケンス番号を用いた単純な計算からパケットロスの計算が行われる(例えば、非特許文献1参照)。   As a real-time transmission method on an IP network, transmission using an RTP (Real-time Transport Protocol) protocol is generally used. In RTP, packet loss is calculated from simple calculation using a sequence number (see, for example, Non-Patent Document 1).

パケットロスは、本来、ネットワーク上でパケットが損失してしまったもののみ、パケットロスとして扱うべきであるが、上記の伝送方式におけるパケットロス計算は、シーケンス番号を用いた計算を行っているため、ストリームや接続の切り替わりによって発生するシーケンス番号の不連続もパケットロスとして扱われてしまう。   Packet loss should be treated as packet loss only if the packet has been lost on the network. However, packet loss calculation in the above transmission method is performed using sequence numbers. Sequence number discontinuities that occur due to switching of streams and connections are also treated as packet loss.

“RTP:A Transport Protocol for Real−Time Applications”,RFC(Request for Comments)1889,January 1996“RTP: A Transport Protocol for Real-Time Applications”, RFC (Request for Comments) 1889, January 1996.

上述した本発明に関連する伝送方式では、パケットロスが実際に受信したパケット数と、受信したパケットの中で最大のシーケンス番号と、受信したストリームで初めに受け取ったシーケンス番号とから、単純な計算によって算出されている(上記の非特許文献1参照)   In the transmission method related to the present invention described above, a simple calculation is performed from the number of packets actually received by the packet loss, the maximum sequence number of the received packets, and the sequence number received first in the received stream. (See Non-Patent Document 1 above)

本来のパケットロスは、ネットワークの経路上でパケットが損失した場合のみをパケットロスとして扱うべきであるが、ストリームや接続が切り替わった際にシーケンス番号の不連続が発生すると、本発明に関連するパケットロスの算出方法では、パケットロスとして計上すべきではないシーケンス番号の不連続までパケットロスとして計上されてしまうという問題がある。   The original packet loss should be treated as a packet loss only when the packet is lost on the network route. However, if a sequence number discontinuity occurs when the stream or connection is switched, the packet related to the present invention In the loss calculation method, there is a problem that a packet loss is counted up to a discontinuity of sequence numbers that should not be counted as a packet loss.

そこで、本発明の目的は上記の問題点を解消し、本来、パケットロスとして計上するべきではないシーケンス番号の不連続を判定することができるパケット受信装置、パケット受信システム及びそれらに用いるパケット受信方法並びにそのプログラムを提供することにある。   Accordingly, an object of the present invention is to solve the above-mentioned problems and to determine a discontinuity of sequence numbers that should not be counted as packet loss originally, a packet receiving system, a packet receiving system, and a packet receiving method used therefor And providing the program.

本発明によるパケット受信装置は、シーケンス番号が付加されたパケットを受信して処理するパケット受信装置であって、
前記パケットが前記シーケンス番号が連続して到着しているか否かを検出する検出手段と、
前記検出手段にて前記シーケンス番号が不連続であることを検出した場合、前記シーケンス番号が不連続となってから経過した時間について確認する確認手段と、
前記確認手段の確認結果を基に実際にパケットロスが発生したかどうかを判断する判断手段とを備えている。
A packet receiving apparatus according to the present invention is a packet receiving apparatus that receives and processes a packet to which a sequence number is added,
Detecting means for detecting whether or not the sequence numbers arrive continuously for the packet;
If the detection means detects that the sequence number is discontinuous, a confirmation means for checking the time that has elapsed since the sequence number became discontinuous;
Determination means for determining whether or not a packet loss has actually occurred based on the confirmation result of the confirmation means.

本発明によるパケット受信システムは、上記のパケット受信装置を含むことを特徴とする。   A packet reception system according to the present invention includes the packet reception device described above.

本発明によるパケット受信方法は、シーケンス番号が付加されたパケットを受信して処理するパケット受信装置に用いるパケット受信方法であって、
前記パケット受信装置が、前記パケットが前記シーケンス番号が連続して到着しているか否かを検出する検出処理と、前記検出処理にて前記シーケンス番号が不連続であることを検出した場合、前記シーケンス番号が不連続となってから経過した時間について確認する確認処理と、前記確認処理の確認結果を基に実際にパケットロスが発生したかどうかを判断する判断処理とを実行している。
A packet reception method according to the present invention is a packet reception method used in a packet reception device that receives and processes a packet with a sequence number added thereto,
When the packet reception device detects whether the sequence number has arrived continuously in the packet, and detects that the sequence number is discontinuous in the detection process, the sequence A confirmation process for confirming the time that has elapsed since the number becomes discontinuous and a determination process for determining whether or not a packet loss has actually occurred based on the confirmation result of the confirmation process are executed.

本発明によるプログラムは、シーケンス番号が付加されたパケットを受信して処理するパケット受信装置内の中央処理装置に実行させるプログラムであって、
前記パケットが前記シーケンス番号が連続して到着しているか否かを検出する検出処理と、前記検出処理にて前記シーケンス番号が不連続であることを検出した場合、前記シーケンス番号が不連続となってから経過した時間について確認する確認処理と、前記確認処理の確認結果を基に実際にパケットロスが発生したかどうかを判断する判断処理とを含むことを特徴とする。
A program according to the present invention is a program to be executed by a central processing unit in a packet receiving apparatus that receives and processes a packet with a sequence number added thereto,
When the detection process detects whether or not the sequence numbers arrive continuously for the packet, and the detection process detects that the sequence number is discontinuous, the sequence number becomes discontinuous. And a determination process for determining whether or not a packet loss has actually occurred based on a confirmation result of the confirmation process.

本発明は、上記のような構成及び動作とすることで、本来、パケットロスとして計上するべきではないシーケンス番号の不連続を判定することができるという効果が得られる。   By adopting the configuration and operation as described above, the present invention provides an effect that it is possible to determine discontinuity of sequence numbers that should not be counted as packet loss.

本発明の実施の形態によるパケット受信装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the packet receiver by embodiment of this invention. 本発明の実施の形態において受信したパケットの一例を示す図である。It is a figure which shows an example of the packet received in embodiment of this invention. 本発明の実施の形態によるパケット受信装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the packet receiver by embodiment of this invention.

次に、本発明の実施の形態について図面を参照して説明する。まず、本発明によるパケット受信方法の概要について説明する。   Next, embodiments of the present invention will be described with reference to the drawings. First, an outline of a packet receiving method according to the present invention will be described.

IP(Internet Protocol)ネットワークを利用した通信においては、音声等のデータを伝送する場合、データの伝送プロトコルとしてRTP(Real−time Transport Protocol)を用い、シーケンス番号やタイムスタンプに応じた通信が行われる。   In communication using an IP (Internet Protocol) network, when data such as voice is transmitted, RTP (Real-time Transport Protocol) is used as a data transmission protocol, and communication according to a sequence number or a time stamp is performed. .

RTPでは、パケット受信装置においてシーケンス番号を監視し、シーケンス番号に基づいてパケットロスを検出する。   In RTP, a sequence number is monitored in a packet receiving apparatus, and a packet loss is detected based on the sequence number.

本来、パケットロスは、IPネットワーク上のパケットが損失した時のみ計上されるべきだが、ストリームや接続が切り替わった時にもシーケンス番号の不連続が発生し、パケットロスとして計上するべきではないシーケンス番号の不連続もパケットロスとして計上されてしまう。   Originally, packet loss should be counted only when a packet on the IP network is lost. However, when a stream or connection is switched, a sequence number discontinuity occurs and the sequence number should not be counted as a packet loss. Discontinuities are also counted as packet loss.

本発明では、シーケンス番号の不連続に対して、シーケンス番号が不連続となってから経過した時間についても確認を行うことにより、実際にパケットロスが発生したのか、ストリームや接続の切り替わり等の動作によりシーケンス番号の不連続が発生したのかを判断し、本発明に関連するパケットロスの算出方法より柔軟なパケットロス判定を行うことを特徴としている。   In the present invention, in response to the sequence number discontinuity, by checking the time elapsed since the sequence number became discontinuous, whether packet loss actually occurred or operations such as switching of streams and connections Thus, it is determined whether or not a sequence number discontinuity has occurred, and packet loss determination is performed more flexibly than the packet loss calculation method related to the present invention.

図1は本発明の実施の形態によるパケット受信装置の構成例を示すブロック図であり、図2は本発明の実施の形態において受信したパケットの一例を示す図である。   FIG. 1 is a block diagram showing a configuration example of a packet receiving apparatus according to an embodiment of the present invention, and FIG. 2 is a diagram showing an example of a packet received in the embodiment of the present invention.

図1において、本発明の実施の形態によるパケット受信装置1は、パケット処理部11と、時間算出部12と、シーケンス番号算出部13と、パケットロス判定部14とを備えて構成されている。尚、パケット受信装置1のインタフェース等の他の構成要素については公知であるので、図示及びその説明を省略する。   In FIG. 1, a packet reception device 1 according to an embodiment of the present invention includes a packet processing unit 11, a time calculation unit 12, a sequence number calculation unit 13, and a packet loss determination unit 14. Since other components such as the interface of the packet receiving device 1 are known, illustration and description thereof are omitted.

次に、図2を参照して、本発明の実施の形態において受信したパケットの例について説明する。   Next, an example of a packet received in the embodiment of the present invention will be described with reference to FIG.

本発明の実施の形態では、シーケンス番号が不連続になった時に、シーケンス番号が不連続になった時のシーケンス番号(以下、シーケンス番号が不連続になった時のシーケンス番号をSN_stopとする)がパケット処理部11に到着した時間(以下、SN_stopがパケット処理部11に到着した時間をT_stopとする)と、SN_stopの次に、パケット処理部11に実際に到着したシーケンス番号(以下、SN_stopの次にパケット処理部11に実際に到着したシーケンス番号をSN_recvとする)がパケット処理部11に到着した時間(以下、SN_recvがパケット処理部11に到着した時間をT_recvとする)の差分から、シーケンス番号が不連続になってから経過した時間(以下、シーケンス番号が不連続になってから経過した時間をT_pastとする)を算出する。   In the embodiment of the present invention, when the sequence number becomes discontinuous, the sequence number when the sequence number becomes discontinuous (hereinafter, the sequence number when the sequence number becomes discontinuous is referred to as SN_stop). Arrived at the packet processing unit 11 (hereinafter, the time when SN_stop arrived at the packet processing unit 11 is referred to as T_stop), and the sequence number actually arrived at the packet processing unit 11 next to SN_stop (hereinafter referred to as SN_stop). Next, the sequence number actually arrived at the packet processing unit 11 is referred to as SN_recv), and the sequence is calculated based on the difference between the arrival times at the packet processing unit 11 (hereinafter, the time at which SN_recv arrives at the packet processing unit 11 is referred to as T_recv). Time that has elapsed since the number became discontinuous (hereinafter referred to as sequence number) The time elapsed since the discontinuous and T_past) is calculated.

T_pastと、受信したパケットのパケット周期とから算出する、SN_stopからT_past経過した後に到着するべきシーケンス番号(以下、SN_stopからT_past経過した後に到着するべきシーケンス番号をSN_calとする)を算出し、SN_calとSN_recvとを比較して、シーケンス番号が同じ(SN_cal=SN_recv)であれば、T_past経過するまでに受信したパケットは、パケットロスとして計上する。   Calculate a sequence number that should arrive after T_past has elapsed from SN_stop (hereinafter, a sequence number that should arrive after T_past has passed from SN_stop) calculated from T_past and the packet period of the received packet, and SN_cal When SN_recv is compared and the sequence numbers are the same (SN_cal = SN_recv), packets received until T_past elapses are counted as packet loss.

比較したシーケンス番号が異なる時(SN_cal≠SN_recv)は、予め設定しておいたロス判定時間(以下、ロス判定時間をT_lossとする)とT_pastとを比較する。その結果、T_past>T_lossの時、T_past経過するまでに受信したパケットは損失したと判断し、パケットロスとして計上する。   When the compared sequence numbers are different (SN_cal ≠ SN_recv), a preset loss determination time (hereinafter, loss determination time is referred to as T_loss) is compared with T_past. As a result, when T_past> T_loss, it is determined that the packet received until T_past elapses and is counted as a packet loss.

また、T_past<T_lossの時、シーケンス番号が不連続になったのは、ストリームや接続の切り替わりによるものであると考え、T_past経過するまでに受信したパケットは損失していないと判断し、パケットロスを計上しない。   In addition, when T_past <T_loss, it is considered that the sequence number becomes discontinuous due to the switching of the stream or connection, and it is determined that the received packet is not lost before T_past elapses. Not accounted for.

T_lossは、使用しているシステムや端末の処理速度や負荷量に応じて任意に設定可能な時間であり、T_pastと比較することで、本発明の実施の形態によるパケットロス判定に使用する。   T_loss is a time that can be arbitrarily set according to the processing speed and load amount of the system or terminal being used, and is used for packet loss determination according to the embodiment of the present invention by comparing with T_past.

本発明の実施の形態では、T_pastとT_lossとの比較を行い、T_pastがT_lossより短い時は、T_past経過する間に受信したパケットを損失として計上しないことにより、本来、パケットロスとして計上するべきでないシーケンス番号の不連続によるパケットロスを防ぎ、より柔軟なパケットロス判定を行うことができる。   In the embodiment of the present invention, T_past and T_loss are compared, and when T_past is shorter than T_loss, packets received during the elapse of T_past are not counted as losses, and should not be counted as packet loss. Packet loss due to discontinuity of sequence numbers can be prevented and more flexible packet loss determination can be performed.

続いて、図1を参照して本発明の実施の形態によるパケット受信装置1の各部の処理について説明する。   Next, processing of each unit of the packet reception device 1 according to the embodiment of the present invention will be described with reference to FIG.

パケット処理部11は、受信したパケットAからシーケンス番号を検出し、パケットAから検出したシーケンス番号(以下、パケットAから検出したシーケンス番号をSN_aとする)を保持するとともに、パケットAを受信した時間(以下、パケットAを受信した時間をT_aとする)を保持する。   The packet processing unit 11 detects the sequence number from the received packet A, holds the sequence number detected from the packet A (hereinafter, the sequence number detected from the packet A is referred to as SN_a), and the time when the packet A is received (Hereinafter, the time when the packet A is received is referred to as T_a).

パケット処理部11は、パケットAの次に受信したパケットBから検出したシーケンス番号(以下、パケットBから検出したシーケンス番号をSN_bとする)と、保持しているシーケンス番号SN_aとを比較する。   The packet processing unit 11 compares the sequence number detected from the packet B received next to the packet A (hereinafter, the sequence number detected from the packet B is referred to as SN_b) and the held sequence number SN_a.

パケット処理部11は、シーケンス番号の差分が1ならば(SN_b−SN_a=1)、シーケンス番号が連続で到着していると判断し、シーケンス番号の差分が1でなければ(SN_b−SN_a≠1)、シーケンス番号が不連続になったと判断する。   If the sequence number difference is 1 (SN_b−SN_a = 1), the packet processing unit 11 determines that the sequence numbers arrive continuously, and if the sequence number difference is not 1 (SN_b−SN_a ≠ 1). ), It is determined that the sequence number has become discontinuous.

パケット処理部11は、シーケンス番号が連続で到着しているならば、シーケンス番号SN_bを保持するとともに、パケットBを受信した時間(以下、パケットBを受信した時間をT_bとする)を保持する。   If the sequence numbers arrive continuously, the packet processing unit 11 holds the sequence number SN_b and also holds the time when the packet B is received (hereinafter, the time when the packet B is received is referred to as T_b).

パケット処理部11は、シーケンス番号が不連続になった時、保持しているシーケンス番号SN_aをSN_stopとしてシーケンス番号算出部13に渡した後、シーケンス番号SN_bを保持するとともに、保持している時間T_aをT_stopとして時間算出部12に渡した後、時間T_bを保持する。   When the sequence number becomes discontinuous, the packet processing unit 11 transfers the stored sequence number SN_a as SN_stop to the sequence number calculation unit 13, holds the sequence number SN_b, and holds the time T_a Is transferred to the time calculation unit 12 as T_stop, and then the time T_b is held.

また、パケット処理部11は、シーケンス番号SN_bと時間T_bとを保持するとともに、保持しているシーケンス番号SN_bをSN_recvとしてパケットロス判定部14に渡す機能と、保持している時間T_bをT_recvとして時間算出部12に渡す機能とを備える。   The packet processing unit 11 holds the sequence number SN_b and the time T_b, passes the held sequence number SN_b to the packet loss determination unit 14 as SN_recv, and holds the held time T_b as T_recv. And a function for passing to the calculation unit 12.

時間算出部12は、パケット処理部11から受け取ったT_stopとT_recvとの時間の差分からT_pastを、
T_past=T_recv−T_stop
という式にて算出する。
The time calculation unit 12 calculates T_past from the time difference between T_stop and T_recv received from the packet processing unit 11.
T_past = T_recv−T_stop
It is calculated by the following formula.

時間算出部12は、算出したT_pastをシーケンス番号算出部13とパケットロス判定部14とに渡す機能を備える。   The time calculation unit 12 has a function of passing the calculated T_past to the sequence number calculation unit 13 and the packet loss determination unit 14.

シーケンス番号算出部13は、パケット処理部11から受け取ったSN_stopと、時間算出部12から受け取ったT_pastと、受信したパケットのパケット周期から算出したSN_calとをパケットロス判定部14に渡す機能を備える。   The sequence number calculation unit 13 has a function of passing the SN_stop received from the packet processing unit 11, the T_past received from the time calculation unit 12, and the SN_cal calculated from the packet period of the received packet to the packet loss determination unit 14.

パケットロス判定部14は、シーケンス番号算出部13から受け取ったSN_calとパケット処理部11から受け取ったSN_recvとを比較し、パケットロスの判定を行う機能を備える。   The packet loss determination unit 14 has a function of comparing the SN_cal received from the sequence number calculation unit 13 with the SN_recv received from the packet processing unit 11 and determining the packet loss.

また、パケットロス判定部14は、予め設定していたT_lossと時間算出部12から受け取ったT_pastとを比較し、パケットロスの判定を行う機能を備える。   Further, the packet loss determination unit 14 has a function of comparing the T_loss set in advance with the T_past received from the time calculation unit 12 and determining the packet loss.

図3は本発明の実施の形態によるパケット受信装置1の動作を示すフローチャートである。これら図1〜図3を参照して本発明の実施の形態によるパケット受信装置1の動作について説明する。尚、図3に示す処理は、パケット受信装置1のCPU(中央処理装置)(図示せず)が予めメモリ等(図示せず)に格納されたプログラムを実行することでも実現可能である。   FIG. 3 is a flowchart showing the operation of the packet receiver 1 according to the embodiment of the present invention. The operation of the packet receiver 1 according to the embodiment of the present invention will be described with reference to FIGS. Note that the processing shown in FIG. 3 can also be realized by a CPU (central processing unit) (not shown) of the packet receiving device 1 executing a program stored in advance in a memory or the like (not shown).

パケット受信装置1は、予め、T_lossを設定し、その設定値をパケットロス判定部14に保持しておく。パケット受信装置1は、受信したパケットのシーケンス番号が連続かどうかをパケット処理部11にて確認する(図3ステップS1)。   The packet receiving apparatus 1 sets T_loss in advance and holds the set value in the packet loss determination unit 14. The packet receiving device 1 checks in the packet processing unit 11 whether the sequence number of the received packet is continuous (step S1 in FIG. 3).

パケット受信装置1は、パケット処理部11で保持しているシーケンス番号SN_aと、シーケンス番号SN_aの次に到着したシーケンス番号SN_bとを比較し、シーケンス番号の差分が1だけインクリメント(増加)しているパケットを受け取れば、シーケンス番号が連続で到着していると判断する。   The packet reception device 1 compares the sequence number SN_a held in the packet processing unit 11 with the sequence number SN_b that arrives next to the sequence number SN_a, and the sequence number difference is incremented (increased) by one. If the packet is received, it is determined that the sequence numbers arrive continuously.

パケット受信装置1は、シーケンス番号の差分が1だけインクリメントされていなければ、シーケンス番号が不連続になったと判断し(図3ステップS2)、パケット処理部11で保持しているシーケンス番号SN_aをSN_stopとしてシーケンス番号算出部13に渡すとともに、保持している時間T_aをT_stopとして時間算出部12に渡す。   If the sequence number difference is not incremented by 1, the packet reception device 1 determines that the sequence number has become discontinuous (step S2 in FIG. 3), and uses the sequence number SN_a held in the packet processing unit 11 as SN_stop. To the sequence number calculation unit 13 and the stored time T_a is transferred to the time calculation unit 12 as T_stop.

パケット受信装置1は、パケット処理部11でパケットBを受信した時にシーケンス番号SN_bと時間T_bとを保持するとともに、保持しているシーケンス番号SN_bをSN_recvとしてパケットロス判定部14に渡し、保持している時間T_bをT_recvとして時間算出部12に渡す。   The packet receiving device 1 holds the sequence number SN_b and time T_b when the packet processing unit 11 receives the packet B, and passes the held sequence number SN_b to the packet loss determination unit 14 as SN_recv. Time T_b is passed to time calculator 12 as T_recv.

パケット受信装置1は、上記のステップS2の動作で、時間算出部12がパケット処理部11からT_stopとT_recvとを受け取った後、T_stopとT_recvとの時間の差分からT_pastを算出し、算出したT_pastをシーケンス番号算出部13とパケットロス判定部14とに渡す(図3ステップS3)。   In the operation of step S2 described above, the packet receiver 1 receives T_stop and T_recv from the packet processor 11 after the time calculator 12 receives T_stop and T_recv, calculates T_past from the time difference between T_stop and T_recv, and calculates the calculated T_past. To the sequence number calculation unit 13 and the packet loss determination unit 14 (step S3 in FIG. 3).

パケット受信装置1は、ステップS3の動作後、シーケンス番号算出部13で、パケット処理部11から受け取ったSN_stopと、時間算出部12から受け取ったT_pastと、受信したパケットのパケット周期とからSN_calを算出し、パケットロス判定部14に渡す(図3ステップS4)。   After the operation of step S3, the packet reception device 1 calculates SN_cal from the SN_stop received from the packet processing unit 11, the T_past received from the time calculation unit 12, and the packet cycle of the received packet by the sequence number calculation unit 13. Then, it is passed to the packet loss determination unit 14 (step S4 in FIG. 3).

パケット受信装置1は、パケットロス判定部14で、ステップS2の動作でパケット処理部11から受け取ったSN_recvと、ステップS4の動作でシーケンス番号算出部13から受け取ったSN_calとを比較する(図3ステップS5)。   In the packet reception device 1, the packet loss determination unit 14 compares the SN_recv received from the packet processing unit 11 in the operation of step S2 with the SN_cal received from the sequence number calculation unit 13 in the operation of step S4 (step in FIG. 3). S5).

パケットロス判定部14は、SN_recv=SN_calであれば、T_past経過するまでに、パケット周期通りにパケットを受信した場合のパケットの個数分のパケットロスが発生したと判断し、その旨を判定結果として出力する(図3ステップS8)。   If SN_recv = SN_cal, the packet loss determination unit 14 determines that packet loss has occurred for the number of packets when the packet is received according to the packet cycle by the time T_past elapses. Output (step S8 in FIG. 3).

パケットロス判定部14は、SN_recv≠SN_calであれば、T_pastとT_lossとを比較する(図3ステップS6)。パケットロス判定部14は、T_past<T_lossであれば、ストリームや接続の切り替わりによってシーケンス番号が不連続になったと判定し、パケットロスではなかった旨を判定結果として出力する(図3ステップS7)。   The packet loss determination unit 14 compares T_past and T_loss if SN_recv ≠ SN_cal (step S6 in FIG. 3). If T_past <T_loss, the packet loss determination unit 14 determines that the sequence number has become discontinuous due to switching of the stream or connection, and outputs a determination result indicating that the packet loss has not occurred (step S7 in FIG. 3).

パケットロス判定部14は、T_past>T_lossであれば、ストリームや接続の切り替わり以外の理由によってシーケンス番号が不連続になり、パケットが損失したと判定し、パケットロスである旨を判定結果として出力する(図3ステップS8)。   If T_past> T_loss, the packet loss determination unit 14 determines that the sequence number becomes discontinuous due to a reason other than the switching of the stream or connection, and the packet is lost, and outputs a determination result indicating that the packet is lost. (FIG. 3, step S8).

このように、本実施の形態では、シーケンス番号が不連続になった時に、時間軸方向の確認を行っているので、ストリームや接続の切り替わりのような、本来、パケットロスとして計上するべきではないシーケンス番号の不連続を判定することが可能となり、上述した本発明に関連する方法より柔軟なパケットロス判定を行うことができる。   As described above, in this embodiment, when the sequence number becomes discontinuous, the time axis direction is confirmed, and therefore it should not be originally recorded as a packet loss such as switching of a stream or connection. It becomes possible to determine discontinuity of sequence numbers, and it is possible to perform packet loss determination more flexible than the method related to the present invention described above.

また、本実施の形態では、ロス判定時間を任意に設定することができるので、使用しているシステムや端末の処理の速さや負荷の多さに応じて、パケットロスとして判断するための時間を設定することができる。   In this embodiment, since the loss determination time can be arbitrarily set, the time for determining as packet loss depends on the processing speed and load of the system and terminal used. Can be set.

これによって、本実施の形態では、上記の2つの効果から、効率的な設備投資(増設や減設)を行うことが可能になるという効果を奏する。   Thereby, in this Embodiment, there exists an effect that it becomes possible to perform efficient capital investment (expansion and reduction) from said two effects.

1 パケット受信装置
11 パケット処理部
12 時間算出部
13 シーケンス番号算出部
14 パケットロス判定部
DESCRIPTION OF SYMBOLS 1 Packet receiver 11 Packet processing part 12 Time calculation part 13 Sequence number calculation part 14 Packet loss determination part

Claims (4)

シーケンス番号が付加されたパケットを受信して処理するパケット受信装置であって、
前記パケットが前記シーケンス番号が連続して到着しているか否かを検出する検出手段と、
前記検出手段にて前記シーケンス番号が不連続であることを検出した場合、前記シーケンス番号が不連続となったパケット間の受信時間の差について確認する確認手段と、
前記確認手段の確認結果を基に実際にパケットロスが発生したかどうかを判断する判断手段とを有するパケット受信装置であって、
前記確認手段は、前記シーケンス番号が不連続になったパケット間の受信時間の差を算出し、
前記判断手段は、前記シーケンス番号が不連続になったパケット間の受信時間の差が予め設定しておいたロス判定時間より短い場合に前記シーケンス番号の不連続をストリームまたは接続の切り替わりによるものであると判断することを特徴とするパケット受信装置。
A packet receiving device that receives and processes a packet with a sequence number added thereto,
Detecting means for detecting whether or not the sequence numbers arrive continuously for the packet;
When the detection means detects that the sequence number is discontinuous, a confirmation means for confirming a difference in reception time between packets in which the sequence number becomes discontinuous;
A packet reception device having a determination unit that determines whether or not a packet loss has actually occurred based on a confirmation result of the confirmation unit,
The confirmation unit calculates a difference in reception time between packets in which the sequence numbers are discontinuous,
The determination means determines that the sequence number discontinuity is caused by switching of a stream or connection when a difference in reception time between packets in which the sequence number becomes discontinuous is shorter than a preset loss determination time. A packet receiver characterized by determining that there is a packet.
上記の請求項1に記載のパケット受信装置を含むことを特徴とするパケット受信システム。   A packet receiving system comprising the packet receiving device according to claim 1. シーケンス番号が付加されたパケットを受信して処理するパケット受信装置に用いるパケット受信方法であって、
前記パケット受信装置が、前記パケットが前記シーケンス番号が連続して到着しているか否かを検出する検出処理と、前記検出処理にて前記シーケンス番号が不連続であることを検出した場合、前記シーケンス番号が不連続となったパケット間の受信時間の差について確認する確認処理と、前記確認処理の確認結果を基に実際にパケットロスが発生したかどうかを判断する判断処理とを実行するパケット受信方法であって、
前記確認処理において、前記シーケンス番号が不連続になったパケット間の受信時間の差を算出し、
前記判断処理において、前記シーケンス番号が不連続になったパケット間の受信時間の差が予め設定しておいたロス判定時間より短い場合に前記シーケンス番号の不連続をストリームまたは接続の切り替わりによるものであると判断することを特徴とするパケット受信方法。
A packet receiving method used in a packet receiving apparatus that receives and processes a packet with a sequence number,
When the packet reception device detects whether the sequence number has arrived continuously in the packet, and detects that the sequence number is discontinuous in the detection process, the sequence Packet reception for executing confirmation processing for confirming a difference in reception time between packets whose numbers are discontinuous, and determination processing for determining whether or not a packet loss has actually occurred based on the confirmation result of the confirmation processing A method,
In the confirmation process, a difference in reception time between packets in which the sequence numbers are discontinuous is calculated,
In the determination process, when the difference in reception time between packets in which the sequence number becomes discontinuous is shorter than a preset loss determination time, the discontinuity of the sequence number is caused by switching of a stream or connection. A packet receiving method characterized by determining that there is a packet.
シーケンス番号が付加されたパケットを受信して処理するパケット受信装置内の中央処理装置に実行させるプログラムであって、
前記パケットが前記シーケンス番号が連続して到着しているか否かを検出する検出処理と、前記検出処理にて前記シーケンス番号が不連続であることを検出した場合、前記シーケンス番号が不連続となったパケット間の受信時間の差について確認する確認処理と、前記確認処理の確認結果を基に実際にパケットロスが発生したかどうかを判断する判断処理とを含むプログラムであって、
前記確認処理において、前記シーケンス番号が不連続になったパケット間の受信時間の差を算出し、
前記判断処理において、前記シーケンス番号が不連続になったパケット間の受信時間の差が予め設定しておいたロス判定時間より短い場合に前記シーケンス番号の不連続をストリームまたは接続の切り替わりによるものであると判断することを特徴とするプログラム。
A program to be executed by a central processing unit in a packet receiving device that receives and processes a packet with a sequence number,
When the detection process detects whether or not the sequence numbers arrive continuously for the packet, and the detection process detects that the sequence number is discontinuous, the sequence number becomes discontinuous. A confirmation process for confirming a difference in reception time between packets, and a determination process for determining whether or not a packet loss has actually occurred based on a confirmation result of the confirmation process,
In the confirmation process, a difference in reception time between packets in which the sequence numbers are discontinuous is calculated,
In the determination process, when the difference in reception time between packets in which the sequence number becomes discontinuous is shorter than a preset loss determination time, the discontinuity of the sequence number is caused by switching of a stream or connection. A program characterized by being judged to exist.
JP2011240726A 2011-11-02 2011-11-02 Packet receiving apparatus, packet receiving system, packet receiving method used therefor, and program thereof Active JP5854461B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011240726A JP5854461B2 (en) 2011-11-02 2011-11-02 Packet receiving apparatus, packet receiving system, packet receiving method used therefor, and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011240726A JP5854461B2 (en) 2011-11-02 2011-11-02 Packet receiving apparatus, packet receiving system, packet receiving method used therefor, and program thereof

Publications (2)

Publication Number Publication Date
JP2013098806A JP2013098806A (en) 2013-05-20
JP5854461B2 true JP5854461B2 (en) 2016-02-09

Family

ID=48620306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011240726A Active JP5854461B2 (en) 2011-11-02 2011-11-02 Packet receiving apparatus, packet receiving system, packet receiving method used therefor, and program thereof

Country Status (1)

Country Link
JP (1) JP5854461B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019001042A1 (en) * 2017-06-26 2019-01-03 深圳市道通智能航空技术有限公司 Data transmission method and related devices

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4983435B2 (en) * 2007-06-27 2012-07-25 富士通株式会社 Packet communication quality measuring apparatus and method
JP2009021808A (en) * 2007-07-11 2009-01-29 Nippon Telegraph & Telephone East Corp Signal monitor device, and computer program
JP5396999B2 (en) * 2009-05-07 2014-01-22 日本電気株式会社 Packet loss frequency estimation system, packet loss frequency estimation method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019001042A1 (en) * 2017-06-26 2019-01-03 深圳市道通智能航空技术有限公司 Data transmission method and related devices
US11251911B2 (en) 2017-06-26 2022-02-15 Autel Robotics Co., Ltd. Data transmission method and related device

Also Published As

Publication number Publication date
JP2013098806A (en) 2013-05-20

Similar Documents

Publication Publication Date Title
EP2974202B1 (en) Identification of originating ip address and client port connection
WO2017031858A1 (en) Method and apparatus for detecting time delay state information, and network architecture
CN103763073B (en) A kind of method and terminal that packet loss retransmits
JP2016519495A5 (en)
JP2016519887A5 (en)
US11349587B2 (en) Generating a timestamp
WO2016090632A1 (en) Method and apparatus for detecting operating state of node
JP5479793B2 (en) Method and apparatus for estimating one-way fluctuation delay time
JP5854461B2 (en) Packet receiving apparatus, packet receiving system, packet receiving method used therefor, and program thereof
WO2012071851A1 (en) Method and apparatus for adjusting bidirectional forwarding detection transmission interval according to network jitter
JP4355638B2 (en) COMMUNICATION NETWORK, GATEWAY DEVICE, DELAY MEASUREMENT METHOD USED FOR THEM, AND PROGRAM THEREOF
CN107689967B (en) DDoS attack detection method and device
JP6798500B2 (en) Throughput measurement equipment, methods and programs
CN107623607B (en) BFD session connection establishment method and device
JP4946902B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, COMMUNICATION CONTROL PROGRAM
JPWO2017199913A1 (en) Transmission apparatus, method and program
US20090080412A1 (en) Communication apparatus and communication control method
JP6200870B2 (en) Data transfer control device, method and program
CN111200505B (en) Message processing method and device
JP6583549B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP6494880B2 (en) Transfer device and frame transfer method
Guduru et al. Queuing strategies for self overload control in SIP servers
JP2011249922A (en) Network device, tcp packet receiver and method
WO2016103674A1 (en) Stream reception device, communication system, method for estimating timing of stream transmission, and recording medium
JP2015002397A (en) Communication device, communication system, and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141009

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141027

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150714

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150929

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151022

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151203

R150 Certificate of patent or registration of utility model

Ref document number: 5854461

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350