CN107395441A - 一种检测网络丢包状况的方法 - Google Patents

一种检测网络丢包状况的方法 Download PDF

Info

Publication number
CN107395441A
CN107395441A CN201710771830.8A CN201710771830A CN107395441A CN 107395441 A CN107395441 A CN 107395441A CN 201710771830 A CN201710771830 A CN 201710771830A CN 107395441 A CN107395441 A CN 107395441A
Authority
CN
China
Prior art keywords
tcp
spacings
packet loss
network packet
equal
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.)
Pending
Application number
CN201710771830.8A
Other languages
English (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.)
Tianyi Smart Family Technology Co Ltd
Original Assignee
JIANGSU PUBLIC INFORMATION 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 JIANGSU PUBLIC INFORMATION CO Ltd filed Critical JIANGSU PUBLIC INFORMATION CO Ltd
Priority to CN201710771830.8A priority Critical patent/CN107395441A/zh
Publication of CN107395441A publication Critical patent/CN107395441A/zh
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种检测网络丢包状况的方法,所述方法是通过计算TCP大间隔率=TCP大间隔数/TCP总间隔数的值进行检测网络丢包状况,TCP大间隔数指TCP间隔大于间隔阀值的个数,TCP总间隔数为TCP总包数‑1,通过对TCP大间隔率的计算,确定TCP大间隔率的数值是否大于0确定是否出现网络丢包,再判断故障的位置,提高IPTV/OTT视频质量故障定位准度,进而提高IPTV/OTT视频质量监控的准确性和可用性,为IPTV/OTT业务开展做好保障。

Description

一种检测网络丢包状况的方法
技术领域
本发明涉及一种检测网络丢包状况的方法,具体涉及IPTV/OTT网络电视技术领域。
背景技术
IPTV/OTT视频业务是随因特网发展而来的新兴业务,提供直播、时移、点播等视频服务。由于因特网传输的不稳定性,以及视频业务端到端环节较多,任何一个环节出现问题,都可能导致视频播放过程中出现卡顿等质量问题。
目前运营商主要是在用户终端部署视频质量探测程序、通过分析网络包数据进行故障定位。对于采用基于TCP的可靠传输协议的IPTV/OTT视频业务来说,传统的做法是采用乱序率来作为判断网络丢包状况的方法。乱序率是利用TCP包在传输过程中具有严格的顺序的特点,当TCP包在网络传输中丢包时,服务端会重复发送此包,则客户端接收到的TCP包出现顺序错乱的情况,乱序率升高。
乱序率在从服务端到终端的网络架构简单时可准确识别网络是否丢包,但是当网络状况复杂时,由于网络包经过的路由路径不同、传输的时间不同,即使网络一切正常,也会出现丢包率较高的情况。
发明内容
为解决现有技术的不足,本发明的目的在于提供一种检测网络丢包状况的方法,通过检测网络丢包状况,可以提高IPTV/OTT视频质量故障定位准度,进而提高IPTV/OTT视频质量监控的准确性和可用性,为IPTV/OTT业务开展做好保障。
为了实现上述目标,本发明采用如下的技术方案:一种检测网络丢包状况的方法,所述方法是基于计算TCP大间隔率=TCP大间隔数/TCP总间隔数的值进行检测网络丢包状况,有如下三种情况:
i)TCP包顺序到达,未出现网络丢包;
ii)TCP包乱序到达,非重传包,未出现网络丢包;
iii)TCP包乱序到达,重传包,出现网络丢包。
前述的一种检测网络丢包状况的方法,其特征在于:TCP大间隔数为TCP接收间隔大于间隔阀值的个数;TCP总间隔数为TCP总包数-1。
前述的一种检测网络丢包状况的方法,其特征在于:非重传包虽乱序,但到达时间差别不大,接收间隔仍小于间隔阈值。
前述的一种检测网络丢包状况的方法,其特征在于:
TCP包顺序到达,未出现网络丢包:
由于,TCP大间隔数等于0,TCP总间隔数等于n-1;
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即0%。
TCP包乱序到达,非重传包,未出现网络丢包:
由于,TCP大间隔数等于0,TCP总间隔数等于n-1;
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即0%。
TCP包乱序到达,重传包,出现网络丢包:
由于,TCP大间隔数大于或等于1,TCP总间隔数等于n-1;
因此,TCP大间隔率大于或等于TCP大间隔数/TCP总间隔数,即1/n-1。
本发明的有益之处在于:通过对TCP大间隔率的计算,确定TCP大间隔率的数值是否大于0确定是否出现网络丢包,再判断故障的位置,提高IPTV/OTT视频质量故障定位准度,进而提高IPTV/OTT视频质量监控的准确性和可用性,为IPTV/OTT业务开展做好保障。
附图说明
图1是本发明一种检测网络丢包状况的方法TCP包顺序到达,未出现网络丢包示意图;
图2是本发明一种检测网络丢包状况的方法TCP包乱序到达,未出现网络丢包示意图
图3是本发明一种检测网络丢包状况的方法TCP包乱序到达,出现网络丢包示意图
具体实施方式
以下结合附图和具体实施例对本发明作具体的介绍。
参照图1、图2、图3所示,本发明一种检测网络丢包状况的方法,一种检测网络丢包状况的方法,所述方法是基于计算TCP大间隔率=TCP大间隔数/TCP总间隔数的值进行检测网络丢包状况,有如下三种情况:
i)TCP包顺序到达,未出现网络丢包;
由于,TCP大间隔数等于0,TCP总间隔数等于n-1;
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即0%。
ii)TCP包乱序到达,非重传包,未出现网络丢包;
由于,TCP大间隔数等于0,TCP总间隔数等于n-1;
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即0%。
iii)TCP包乱序到达,重传包,出现网络丢包。
由于,TCP大间隔数大于或等于1,TCP总间隔数等于n-1;
因此,TCP大间隔率大于或等于TCP大间隔数/TCP总间隔数,即1/n-1。
TCP大间隔数为TCP接收间隔大于间隔阀值的个数;TCP总间隔数为TCP总包数-1。
非重传包虽乱序,但到达时间差别不大,接收间隔仍小于间隔阈值。
本发明一种检测网络丢包状况的方法实施例:
如图1所示TCP包顺序到达,未出现网络丢包:
由于,TCP大间隔数等于0,TCP总间隔数等于5。
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即0%。
如图2所示TCP包乱序到达,未出现网络丢包:
由于,TCP大间隔数等于0,TCP总间隔数等于5。
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即0%。
如图3所示TCP包乱序到达,出现网络丢包:
由于,TCP大间隔数等于1,TCP总间隔数等于5。
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即20%。
本发明的优点如下:
(1)提出了TCP大间隔率指标,可准确识别网络是否丢包;
(2)提高IPTV/OTT视频质量故障定位准度,使OTT视频质量监测***的数据更可信、更有价值
本发明通过对TCP大间隔率的计算,确定TCP大间隔率的数值是否大于0确定是否出现网络丢包,再判断故障的位置,提高IPTV/OTT视频质量故障定位准度,进而提高IPTV/OTT视频质量监控的准确性和可用性,为IPTV/OTT业务开展做好保障。
以上显示和描述了本发明的基本原理、主要特征和优点。本行业的技术人员应该了解,上述实施例不以任何形式限制本发明,凡采用等同替换或等效变换的方式所获得的技术方案,均落在本发明的保护范围内。

Claims (4)

1.一种检测网络丢包状况的方法,其特征在于:所述方法是基于计算TCP大间隔率=TCP大间隔数/TCP总间隔数的值进行检测网络丢包状况,有如下三种情况:
i)TCP包顺序到达,未出现网络丢包;
ii)TCP包乱序到达,非重传包,未出现网络丢包;
iii)TCP包乱序到达,重传包,出现网络丢包。
2.根据权利要求1所述的一种检测网络丢包状况的方法,其特征在于:TCP大间隔数为TCP接收间隔大于间隔阀值的个数;TCP总间隔数为TCP总包数-1。
3.根据权利要求1所述的一种检测网络丢包状况的方法,其特征在于:非重传包虽乱序,但到达时间差别不大,接收间隔仍小于间隔阈值。
4.根据权利要求1所述的一种检测网络丢包状况的方法,其特征在于:
TCP包顺序到达,未出现网络丢包:
由于,TCP大间隔数等于0,TCP总间隔数等于n-1;
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即0%。
TCP包乱序到达,非重传包,未出现网络丢包:
由于,TCP大间隔数等于0,TCP总间隔数等于n-1;
因此,TCP大间隔率等于TCP大间隔数/TCP总间隔数,即0%。
TCP包乱序到达,重传包,出现网络丢包:
由于,TCP大间隔数大于或等于1,TCP总间隔数等于n-1;
因此,TCP大间隔率大于或等于TCP大间隔数/TCP总间隔数,即1/n-1。
CN201710771830.8A 2017-08-31 2017-08-31 一种检测网络丢包状况的方法 Pending CN107395441A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710771830.8A CN107395441A (zh) 2017-08-31 2017-08-31 一种检测网络丢包状况的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710771830.8A CN107395441A (zh) 2017-08-31 2017-08-31 一种检测网络丢包状况的方法

Publications (1)

Publication Number Publication Date
CN107395441A true CN107395441A (zh) 2017-11-24

Family

ID=60347381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710771830.8A Pending CN107395441A (zh) 2017-08-31 2017-08-31 一种检测网络丢包状况的方法

Country Status (1)

Country Link
CN (1) CN107395441A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565024A (zh) * 2021-01-06 2021-03-26 北京网深科技有限公司 一种更精确的网络数据丢包告警的方法

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123571A (zh) * 2006-08-07 2008-02-13 北京三星通信技术研究有限公司 基于自适应抖动缓冲的调度策略的调整方法
CN101686100A (zh) * 2008-09-25 2010-03-31 华为技术有限公司 处理丢包的方法、传输质量控制方法、装置及***
US20110314351A1 (en) * 2010-06-18 2011-12-22 Fujitsu Limited Data transfer device, method, and program
CN103379360A (zh) * 2012-04-23 2013-10-30 华为技术有限公司 一种视频质量评估方法和装置
CN103840917A (zh) * 2014-03-28 2014-06-04 北京邮电大学 一种基于网络编码的多路并行传输方案
CN105591843A (zh) * 2016-02-06 2016-05-18 中国科学院计算技术研究所 Tcp传输流中基于接收端的网络性能检测方法及***
CN106878191A (zh) * 2015-12-14 2017-06-20 华为技术有限公司 一种数据传送方法、发送节点、接收节点及数据传送***

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123571A (zh) * 2006-08-07 2008-02-13 北京三星通信技术研究有限公司 基于自适应抖动缓冲的调度策略的调整方法
CN101686100A (zh) * 2008-09-25 2010-03-31 华为技术有限公司 处理丢包的方法、传输质量控制方法、装置及***
US20110314351A1 (en) * 2010-06-18 2011-12-22 Fujitsu Limited Data transfer device, method, and program
CN103379360A (zh) * 2012-04-23 2013-10-30 华为技术有限公司 一种视频质量评估方法和装置
CN103840917A (zh) * 2014-03-28 2014-06-04 北京邮电大学 一种基于网络编码的多路并行传输方案
CN106878191A (zh) * 2015-12-14 2017-06-20 华为技术有限公司 一种数据传送方法、发送节点、接收节点及数据传送***
CN105591843A (zh) * 2016-02-06 2016-05-18 中国科学院计算技术研究所 Tcp传输流中基于接收端的网络性能检测方法及***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565024A (zh) * 2021-01-06 2021-03-26 北京网深科技有限公司 一种更精确的网络数据丢包告警的方法
CN112565024B (zh) * 2021-01-06 2023-04-07 北京网深科技有限公司 一种对网络数据包丢失进行告警的方法

Similar Documents

Publication Publication Date Title
US11700275B2 (en) Detection of malware and malicious applications
US7773523B2 (en) Network-quality determining method and apparatus for use therewith
KR101664978B1 (ko) 네트워크 송신 용량 측정
CN101699786A (zh) 一种丢包检测的方法、装置和***
Biaz et al. Is the round-trip time correlated with the number of packets in flight?
CN105591843B (zh) Tcp传输流中基于接收端的网络性能检测方法及***
US10355961B2 (en) Network traffic capture analysis
CN105721333B (zh) 一种数据传输装置及方法
WO2017133014A1 (zh) Tcp传输流中基于接收端的网络性能检测方法及***
US20210120068A1 (en) Method for retransmitting lost network packet based on transport stream format and user datagram protocol
WO2012147909A1 (ja) ネットワーク装置、通信システム、異常トラヒックの検出方法およびプログラム
KR102105567B1 (ko) Mmt 시그널링 메시지를 처리하는 장치 및 방법
JP5292444B2 (ja) パケットロス率推定装置及び方法及びプログラム
CN107222403A (zh) 一种数据传输方法、***和电子设备
US20200136944A1 (en) Data Transmission Performance Detection
CN104871487A (zh) 对网络进行探测
CN110199505A (zh) 确定通信链路的带宽
CN105357071A (zh) 一种网络复杂流量识别方法及识别***
CN107395441A (zh) 一种检测网络丢包状况的方法
US20170064489A1 (en) Network system, method for determining communication quality, and analysis apparatus
CN109067625A (zh) 一种业务通道性能的检测方法、设备及***
US7385930B2 (en) Packet discard point probing method and device
CN107911259A (zh) 一种配电自动化终端通信状态诊断方法
CN113890858B (zh) Pmtu的探测方法及装置
CN104506383A (zh) 衡量服务器在tcp传输中对数据处理效率的方法及***

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190326

Address after: 210006 Tongyu Building, 501 Zhongshan South Road, Nanjing City, Jiangsu Province

Applicant after: Tianyi Smart Family Technology Co., Ltd.

Address before: 210000 Tongfu Building, 501 Zhongshan South Road, Nanjing City, Jiangsu Province

Applicant before: Jiangsu Public Information Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124