WO2011124165A2 - Procédé et dispositif de détection d'un rapport de perte de liaison - Google Patents
Procédé et dispositif de détection d'un rapport de perte de liaison Download PDFInfo
- Publication number
- WO2011124165A2 WO2011124165A2 PCT/CN2011/073892 CN2011073892W WO2011124165A2 WO 2011124165 A2 WO2011124165 A2 WO 2011124165A2 CN 2011073892 W CN2011073892 W CN 2011073892W WO 2011124165 A2 WO2011124165 A2 WO 2011124165A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- packet
- time interval
- peer device
- packet loss
- packets sent
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
Definitions
- the embodiments of the present invention relate to communication technologies, and in particular, to a method and a device for detecting a link loss rate of a link. Background technique
- LMM Loss Measurement Message
- LMS Lost Packet Receive Response
- the two devices send LMM packets every second and detect whether LMR packets are received.
- the packet loss rate is calculated based on the LMR packets.
- the specific calculation method includes: Device A carries the number of packets sent to device B in the LMM packet, and device B replies to the LMR packet to device A, and sends the device A that is actually received by device B in the LMR packet.
- the number of packets, the number of packets sent by device A to device B, and the number of packets sent by device B to device A The parameters carried by device A according to the received LMR packets sent by device B and the actual number.
- the number of packets sent by device B is calculated to calculate the packet loss rate.
- the embodiment of the invention provides a method and a device for detecting a packet loss rate of a link, which are used to accurately reflect the packet loss rate of the link.
- the embodiment of the present invention provides a method for detecting a packet loss rate of a link, including: receiving a packet loss calculation LMM packet sent by a peer device through a link, where the LMM packet carries the peer device Number of packets sent to the local device;
- an embodiment of the present invention further provides a network device, including:
- the receiving module is configured to receive a packet loss calculation LMM packet sent by the peer device through the link, where the LMM packet carries the number of packets sent by the peer device to the local device;
- a calculation module configured to: according to the time interval of receiving the LMM message, the number of the packets sent by the peer device, and the number of the LMM message The number of packets sent by the peer device to the local device, and the packet loss rate of the link in the time interval is calculated.
- the local device calculates the pair of the received message and the actually received pair in the time interval between receiving the LMM and the message.
- the gap between the packets sent by the end device is used to obtain the packet loss rate of the link in the interval. This effectively solves the problem that the packet loss rate is not detected when the LMM/LMR packet is lost due to excessive network delay and congestion. Accurate problems make the detection of link loss rate more accurate.
- FIG. 1 is a flowchart of a method for detecting a packet loss rate of a link according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for detecting a packet loss rate of a link according to another embodiment of the present invention
- 3 is a schematic structural diagram of a network device according to another embodiment of the present invention.
- FIG. 5 is a discrete diagram obtained by using a method for detecting a packet loss rate of a link provided by an embodiment of the present invention
- FIG. 6 is a schematic structural diagram of a network device according to an embodiment of the present invention. detailed description
- FIG. 1 is a flowchart of a method for detecting a packet loss rate of a link according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
- Step 101 The local device receives the LMM packet sent by the peer device through the link.
- the LMM packet carries the number of packets sent by the peer device to the local device during the interval from the last time the LMM packet was sent to the local device to the local device.
- the local device and the peer device establish a communication connection with each other through a link.
- the local device can record the receiving time to facilitate the subsequent calculation of the time interval.
- Step 102 The local device sends the number of the packets sent by the peer device and the LMM packet to the local end according to the time interval between the last time the LMM packet was received and the number of the packets received by the peer device. Number of packets of the device, and calculates the packet loss rate of the communication link during the time interval.
- An embodiment of the present invention provides a method for detecting a packet loss rate of a link, where the local device calculates the pair of packets sent by the peer device within the time interval between receiving the LMM ⁇ text and the actually received pair.
- the gap between the packets sent by the end device is used to obtain the packet loss rate of the link in the interval.
- the method includes:
- Step 201 The device A sends an LMM message to the device B through the communication link with the device B.
- the LMM message carries: The device A sends the device to the device within a time interval from the last time the LMM message is sent to the device B.
- the number of B messages (denoted as XI).
- Step 202 The device B receives the LMM packet sent by the device A, and records the receiving time.
- Step 205 The device sends an LMR file to the device.
- the LMR packet carries at least: the number of packets (called Y1) that the device sends to the device A during the interval from the last time the LMR packet was sent to the device.
- Y1 the number of packets that the device sends to the device A during the interval from the last time the LMR packet was sent to the device.
- Step 206 The device A receives the LMR packet sent by the device B, and records the receiving time.
- Step 207 The time interval between the LMR packet received by the device A and the last received LMR packet (recorded as T2) ), calculate the number of packets sent by device B actually received (denoted as Y2);
- Step 209 If the calculated packet loss rate exceeds a preset value, select another link to communicate.
- An embodiment of the present invention provides a method for detecting a packet loss rate of a link, where the local device calculates the pair of packets sent by the peer device within the time interval between receiving the LMM ⁇ text and the actually received pair. End The gap between the packets sent by the device is obtained. The packet loss rate of the link is obtained during the interval. This effectively solves the problem that the packet loss rate is incorrect when the LMM/LMR packet is lost due to excessive network delay and congestion. The problem is that the detection of the link loss rate is more accurate.
- FIG. 4 is a discrete diagram obtained by detecting a link loss ratio of a link according to the prior art
- FIG. 5 is a discrete diagram obtained by using a method for detecting a packet loss rate of a link provided by an embodiment of the present invention.
- the error statistics of the query in each second are as shown in Table 1.
- the number of errors according to the actual time interval is shown in Table 2. .
- the method provided by the embodiment of the present invention can more accurately detect the link loss rate.
- FIG. 6 is a schematic structural diagram of a network device according to an embodiment of the present invention.
- the network device includes: a receiving module 601 and a computing module 602.
- the receiving module 601 is configured to receive the LMM packet sent by the peer device through the link, where the LMM packet carries the number of packets sent by the peer device to the local device, and the calculation module 602 is configured to use the current and the upper device.
- the packet loss rate of the road during this time interval is configured to receive the LMM packet sent by the peer device through the link, where the LMM packet carries the number of packets sent by the peer device to the local device, and the calculation module 602 is configured to use the current and the upper device.
- the calculation module 602 includes: a difference calculation unit and a packet loss rate calculation unit.
- the difference calculation unit is configured to calculate a difference between the number of packets sent by the peer device to the local device and the number of packets sent by the peer device; and a packet loss rate calculation unit, configured to calculate the difference Ratio between value and time interval Rate, thereby obtaining the packet loss rate of the link during this time interval.
- the network device may further include: a sending module.
- the sending module is configured to send, to the peer device, an LMR packet, where the LMR packet carries the number of packets sent by the peer device to the local device, and the peer device that the local device receives in the time interval sends the LSR packet.
- the received packet rate is calculated by the number of packets sent by the local device to the peer device.
- the network device may further include: a selecting module, configured to select another link to communicate if the packet loss rate calculated by the calculating module 602 exceeds a preset value.
- the device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. , or it can be distributed to at least two network elements. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Cette invention concerne un procédé et un dispositif de détection d'un rapport de perte de liaison consistant : à recevoir un message de mesure de perte (Loss measurement message/LMM) émanant d'un dispositif de côté opposé via une liaison, lequel LMM porte le nombre de messages émis depuis le dispositif de côté opposé entre la dernière fois et la présente fois pour l'envoi de LMM vers le dispositif côté local ; et, en fonction de l'intervalle entre la présente fois et la dernière fois pour la réception de LMM ainsi que du nombre de message envoyés par le côté opposé pendant l'intervalle, et du nombre de messages portés par le LMM émis depuis le dispositif de côté opposé vers le dispositif côté local, à calculer le rapport de perte de la liaison pendant ledit intervalle. Le dispositif comprend un module de réception et un module de calcul.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011800007202A CN102217236A (zh) | 2011-05-10 | 2011-05-10 | 检测链路丢包率的方法和设备 |
| PCT/CN2011/073892 WO2011124165A2 (fr) | 2011-05-10 | 2011-05-10 | Procédé et dispositif de détection d'un rapport de perte de liaison |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2011/073892 WO2011124165A2 (fr) | 2011-05-10 | 2011-05-10 | Procédé et dispositif de détection d'un rapport de perte de liaison |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2011124165A2 true WO2011124165A2 (fr) | 2011-10-13 |
| WO2011124165A3 WO2011124165A3 (fr) | 2012-04-12 |
Family
ID=44746745
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2011/073892 Ceased WO2011124165A2 (fr) | 2011-05-10 | 2011-05-10 | Procédé et dispositif de détection d'un rapport de perte de liaison |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102217236A (fr) |
| WO (1) | WO2011124165A2 (fr) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102891780B (zh) * | 2012-10-10 | 2015-05-13 | 烽火通信科技股份有限公司 | 基于发送时间戳的以太网丢包率测量方法及测量系统 |
| CN102882747B (zh) * | 2012-10-10 | 2015-08-19 | 烽火通信科技股份有限公司 | 基于发送、接收时间戳的以太网丢包率测量方法及系统 |
| CN103067791A (zh) * | 2012-12-11 | 2013-04-24 | 深圳市梦网科技发展有限公司 | 一种网络动态适应监控视频传输方法 |
| CN105991357A (zh) * | 2015-02-06 | 2016-10-05 | 中兴通讯股份有限公司 | 丢包数的确定处理、确定方法及装置 |
| CN106411625A (zh) * | 2015-07-27 | 2017-02-15 | 中兴通讯股份有限公司 | 链路报文丢包测量方法、系统及目标节点、发起端节点 |
| CN106487605B (zh) * | 2015-08-26 | 2020-06-30 | 中兴通讯股份有限公司 | 丢包率检测方法及装置 |
| US20180123927A1 (en) * | 2016-10-27 | 2018-05-03 | Nanning Fugui Precision Industrial Co., Ltd. | Method and device for detecting network packet loss based on software defined network |
| CN108075943A (zh) * | 2016-11-15 | 2018-05-25 | 华为技术有限公司 | 测试报文构造方法及装置 |
| CN113328903B (zh) * | 2020-02-29 | 2023-02-03 | 华为技术有限公司 | 检测传输质量的方法、装置和系统 |
| CN114928561B (zh) * | 2021-02-03 | 2024-10-29 | 华为技术有限公司 | 丢包率的检测方法、通信装置及通信系统 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101926154B (zh) * | 2008-02-05 | 2013-07-10 | 富士通株式会社 | 帧丢失测定方法、系统以及装置 |
| CN101640629B (zh) * | 2008-07-29 | 2012-08-29 | 华为技术有限公司 | 一种链路丢包监控的方法和双向转发探测设备 |
| JP5104738B2 (ja) * | 2008-12-01 | 2012-12-19 | 富士通株式会社 | パケットロス率計測方法、パケットロス率計測装置、およびコンピュータプログラム |
| WO2011003478A1 (fr) * | 2009-07-10 | 2011-01-13 | Telefonaktiebolaget Lm Ericsson (Publ) | Mesure de perte pour une distribution de données par multidiffusion |
| CN101800679B (zh) * | 2010-03-10 | 2012-07-11 | 华为技术有限公司 | 一种报文丢包检测方法及系统 |
-
2011
- 2011-05-10 WO PCT/CN2011/073892 patent/WO2011124165A2/fr not_active Ceased
- 2011-05-10 CN CN2011800007202A patent/CN102217236A/zh active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| CN102217236A (zh) | 2011-10-12 |
| WO2011124165A3 (fr) | 2012-04-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2011124165A2 (fr) | Procédé et dispositif de détection d'un rapport de perte de liaison | |
| CN106936661B (zh) | 一种网络监测方法、装置及系统 | |
| CN102035692B (zh) | 一种链路质量检测方法及装置 | |
| CN113923140B (zh) | 往返时延测量方法、系统和存储介质 | |
| US20160373199A1 (en) | Methods and nodes for synchronisation of networks | |
| JP2018521610A5 (fr) | ||
| WO2009098757A1 (fr) | Procédé pour mesurer une perte de trame, système pour mesurer une perte de trame et dispositif pour mesurer une perte de trame | |
| CN104144088A (zh) | 一种提高时延测量精度的网络时延测量方法 | |
| CN106656679B (zh) | 可用带宽测量方法 | |
| WO2016033897A1 (fr) | Dispositif et procédé de surveillance de liaison réseau, système de réseau, et support de stockage | |
| WO2016182772A1 (fr) | Gestion de performances de liaison montante | |
| US9755926B2 (en) | Efficiently utilizing probe packets within a network | |
| CN108023682B (zh) | 一种定位方法及定位装置 | |
| CN106656642B (zh) | 一种往返时延的测量方法、装置及系统 | |
| WO2020135429A1 (fr) | Procédé et appareil d'analyse de trafic, procédé et appareil de détection du trafic | |
| WO2012071851A1 (fr) | Procédé et dispositif de réglage d'un intervalle de transmission de détection de transfert bidirectionnel en fonction de la gigue du réseau | |
| CN108259364A (zh) | 一种网络拥塞确定方法及装置 | |
| JP2015023580A (ja) | 限られた演算リソースによるネットワーク・レイテンシの判定方法及び装置 | |
| WO2016177065A1 (fr) | Procédé et dispositif de mesure de temps de propagation | |
| CN104618922B (zh) | 一种rtt测量定位系统中的测量结果匹配方法和装置 | |
| CN102271067B (zh) | 网络检测方法、装置及系统 | |
| CN105721190A (zh) | 数据传输路径的故障检测方法、装置及服务器 | |
| CN104702385B (zh) | 网络质量检测方法、装置和设备 | |
| CN106455042B (zh) | 一种节点间时间同步方法、无线传感网络及其节点 | |
| JP2015023463A (ja) | パケット解析装置、パケット解析方法、及びパケット解析プログラム |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| WWE | Wipo information: entry into national phase |
Ref document number: 201180000720.2 Country of ref document: CN |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11765083 Country of ref document: EP Kind code of ref document: A2 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 11765083 Country of ref document: EP Kind code of ref document: A2 |