CN107395441A - A kind of method for detecting Network Packet Loss situation - Google Patents

A kind of method for detecting Network Packet Loss situation 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
Chinese (zh)
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/en
Publication of CN107395441A publication Critical patent/CN107395441A/en
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

Abstract

The invention discloses a kind of method for detecting Network Packet Loss situation, methods described is to carry out detecting Network Packet Loss situation by calculating the value of TCP large-spacings rate=TCP large-spacings number/TCP total linear spacings number, TCP large-spacing numbers refer to the number that TCP intervals are more than interval threshold values, TCP total linear spacings number is the total bag numbers 1 of TCP, pass through the calculating to TCP large-spacing rates, determine whether the numerical value of TCP large-spacing rates more than 0 determines whether Network Packet Loss, the position of failure judgement again, improve IPTV/OTT video quality fault location accuracies, and then improve the accuracy and availability of the monitoring of IPTV/OTT video qualities, carry out for IPTV/OTT business and carry out guarantee.

Description

A kind of method for detecting Network Packet Loss situation
Technical field
The present invention relates to a kind of method for detecting Network Packet Loss situation, and in particular to IPTV/OTT Web TVs technology is led Domain.
Background technology
IPTV/OTT video traffics are emerging services with development of Internet and next, there is provided the video such as live, time shift, program request Service.Because the unstability of internet transmissions, and the end-to-end link of video traffic are more, any one link is asked Topic, may all cause occur the quality problems such as interim card in video display process.
Operator is mainly carried out in user terminal deployment video quality locator, by analyzing network bag data at present Fault location.For the IPTV/OTT video traffics using the reliable transport protocol based on TCP, traditional way is to use Out of order rate is used as the method for judging Network Packet Loss situation.Out of order rate is that have strictly suitable in transmitting procedure using TCP bags The characteristics of sequence, when TCP bag packet losses in network transmission, service end can repeat to send this bag, then the TCP bags that client receives The situation of appearance order entanglement, out of order rate rise.
Out of order rate can be accurately identified when the network architecture from service end to terminal is simple network whether packet loss, but work as net During network complex, routed path difference, the time difference of transmission passed through due to network bag, even if network is all gone well, The higher situation of packet loss occurs.
The content of the invention
For solve the deficiencies in the prior art, it is an object of the invention to provide it is a kind of detect Network Packet Loss situation method, By detecting Network Packet Loss situation, IPTV/OTT video quality fault location accuracies can be improved, and then improves IPTV/OTT and regards The accuracy and availability of frequency quality monitoring, carry out for IPTV/OTT business and carry out guarantee.
In order to realize above-mentioned target, the present invention adopts the following technical scheme that:A kind of method for detecting Network Packet Loss situation, Methods described is to carry out detecting Network Packet Loss shape based on the value for calculating TCP large-spacings rate=TCP large-spacings number/TCP total linear spacings number Condition, there are following three kinds of situations:
I) TCP bags order reaches, and does not occur Network Packet Loss;
Ii) the out of order arrival of TCP bags, it is non-to retransmit bag, do not occur Network Packet Loss;
Iii) the out of order arrival of TCP bags, bag is retransmitted, Network Packet Loss occurs.
A kind of method of foregoing detection Network Packet Loss situation, it is characterised in that:TCP large-spacings number is that TCP receives interval More than the number of interval threshold values;TCP total linear spacings number is the total bag numbers -1 of TCP.
A kind of method of foregoing detection Network Packet Loss situation, it is characterised in that:Though non-retransmit wraps out of order, arrival time Difference is little, receives interval still less than interval threshold.
A kind of method of foregoing detection Network Packet Loss situation, it is characterised in that:
TCP bags order reaches, and does not occur Network Packet Loss:
Because TCP large-spacings number is equal to n-1 equal to 0, TCP total linear spacings number;
Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 0%.
The out of order arrival of TCP bags, it is non-to retransmit bag, do not occur Network Packet Loss:
Because TCP large-spacings number is equal to n-1 equal to 0, TCP total linear spacings number;
Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 0%.
The out of order arrival of TCP bags, bag is retransmitted, Network Packet Loss occurs:
Because TCP large-spacings number is equal to n-1 more than or equal to 1, TCP total linear spacings number;
Therefore, TCP large-spacings rate is more than or equal to TCP large-spacings number/TCP total linear spacings number, i.e. 1/n-1.
The present invention is advantageous in that:By the calculating to TCP large-spacing rates, determining the numerical value of TCP large-spacing rates is It is no to be more than 0 and determine whether Network Packet Loss, then the position of failure judgement, it is accurate to improve IPTV/OTT video qualities fault location Degree, and then the accuracy and availability of the monitoring of IPTV/OTT video qualities are improved, carry out for IPTV/OTT business and carry out guarantee.
Brief description of the drawings
Fig. 1 is that a kind of method TCP bags order for detecting Network Packet Loss situation of the present invention reaches, and does not occur Network Packet Loss signal Figure;
Fig. 2 is a kind of out of order arrival of method TCP bags for detecting Network Packet Loss situation of the present invention, does not occur Network Packet Loss signal Figure
Fig. 3 is a kind of out of order arrival of method TCP bags for detecting Network Packet Loss situation of the present invention, Network Packet Loss schematic diagram occurs
Embodiment
Make specific introduce to the present invention below in conjunction with the drawings and specific embodiments.
Shown in reference picture 1, Fig. 2, Fig. 3, a kind of method for detecting Network Packet Loss situation of the present invention, one kind detection Network Packet Loss The method of situation, methods described are detected based on the value for calculating TCP large-spacings rate=TCP large-spacings number/TCP total linear spacings number Network Packet Loss situation, there are following three kinds of situations:
I) TCP bags order reaches, and does not occur Network Packet Loss;
Because TCP large-spacings number is equal to n-1 equal to 0, TCP total linear spacings number;
Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 0%.
Ii) the out of order arrival of TCP bags, it is non-to retransmit bag, do not occur Network Packet Loss;
Because TCP large-spacings number is equal to n-1 equal to 0, TCP total linear spacings number;
Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 0%.
Iii) the out of order arrival of TCP bags, bag is retransmitted, Network Packet Loss occurs.
Because TCP large-spacings number is equal to n-1 more than or equal to 1, TCP total linear spacings number;
Therefore, TCP large-spacings rate is more than or equal to TCP large-spacings number/TCP total linear spacings number, i.e. 1/n-1.
TCP large-spacings number is that TCP receives the number that interval is more than interval threshold values;TCP total linear spacings number is the total bag numbers -1 of TCP.
Though non-re-transmission bag is out of order, arrival time difference is little, receives interval still less than interval threshold.
A kind of embodiment of the method for detecting Network Packet Loss situation of the present invention:
TCP bags order as shown in Figure 1 reaches, and does not occur Network Packet Loss:
Because TCP large-spacings number is equal to 0, TCP total linear spacings number and is equal to 5.
Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 0%.
The out of order arrival of TCP bags as shown in Figure 2, does not occur Network Packet Loss:
Because TCP large-spacings number is equal to 0, TCP total linear spacings number and is equal to 5.
Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 0%.
, there is Network Packet Loss in the out of order arrival of TCP bags as shown in Figure 3:
Because TCP large-spacings number is equal to 1, TCP total linear spacings number and is equal to 5.
Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 20%.
Advantages of the present invention is as follows:
(1) TCP large-spacing rate indexs are proposed, can accurately identify network whether packet loss;
(2) IPTV/OTT video quality fault location accuracies are improved, the data of OTT video quality monitoring systems more may be used Believe, be more valuable
The present invention determines whether the numerical value of TCP large-spacing rates determines whether more than 0 by the calculating to TCP large-spacing rates There is Network Packet Loss, then the position of failure judgement, improve IPTV/OTT video quality fault location accuracies, and then improve IPTV/ The accuracy and availability of OTT video qualities monitoring, carry out for IPTV/OTT business and carry out guarantee.
The basic principles, principal features and advantages of the present invention have been shown and described above.The technical staff of the industry should Understand, the invention is not limited in any way for above-described embodiment, all to be obtained by the way of equivalent substitution or equivalent transformation Technical scheme, all fall within protection scope of the present invention.

Claims (4)

  1. A kind of 1. method for detecting Network Packet Loss situation, it is characterised in that:Methods described be based on calculate TCP large-spacings rates= The value of TCP large-spacings number/TCP total linear spacings number carries out detecting Network Packet Loss situation, there is following three kinds of situations:
    I) TCP bags order reaches, and does not occur Network Packet Loss;
    Ii) the out of order arrival of TCP bags, it is non-to retransmit bag, do not occur Network Packet Loss;
    Iii) the out of order arrival of TCP bags, bag is retransmitted, Network Packet Loss occurs.
  2. A kind of 2. method for detecting Network Packet Loss situation according to claim 1, it is characterised in that:TCP large-spacing numbers are TCP receives the number that interval is more than interval threshold values;TCP total linear spacings number is the total bag numbers -1 of TCP.
  3. A kind of 3. method for detecting Network Packet Loss situation according to claim 1, it is characterised in that:Though non-retransmit bag disorderly Sequence, but arrival time difference is little, receives interval still less than interval threshold.
  4. A kind of 4. method for detecting Network Packet Loss situation according to claim 1, it is characterised in that:
    TCP bags order reaches, and does not occur Network Packet Loss:
    Because TCP large-spacings number is equal to n-1 equal to 0, TCP total linear spacings number;
    Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 0%.
    The out of order arrival of TCP bags, it is non-to retransmit bag, do not occur Network Packet Loss:
    Because TCP large-spacings number is equal to n-1 equal to 0, TCP total linear spacings number;
    Therefore, TCP large-spacings rate is equal to TCP large-spacings number/TCP total linear spacings number, i.e., and 0%.
    The out of order arrival of TCP bags, bag is retransmitted, Network Packet Loss occurs:
    Because TCP large-spacings number is equal to n-1 more than or equal to 1, TCP total linear spacings number;
    Therefore, TCP large-spacings rate is more than or equal to TCP large-spacings number/TCP total linear spacings number, i.e. 1/n-1.
CN201710771830.8A 2017-08-31 2017-08-31 A kind of method for detecting Network Packet Loss situation Pending CN107395441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710771830.8A CN107395441A (en) 2017-08-31 2017-08-31 A kind of method for detecting Network Packet Loss situation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710771830.8A CN107395441A (en) 2017-08-31 2017-08-31 A kind of method for detecting Network Packet Loss situation

Publications (1)

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

Family

ID=60347381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710771830.8A Pending CN107395441A (en) 2017-08-31 2017-08-31 A kind of method for detecting Network Packet Loss situation

Country Status (1)

Country Link
CN (1) CN107395441A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565024A (en) * 2021-01-06 2021-03-26 北京网深科技有限公司 More accurate network data packet loss warning method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123571A (en) * 2006-08-07 2008-02-13 北京三星通信技术研究有限公司 Adjustment method for scheduling policy based on self-adapted jitter buffer
CN101686100A (en) * 2008-09-25 2010-03-31 华为技术有限公司 Method for disposing lost packet, method for controlling transmission quality, device and system thereof
US20110314351A1 (en) * 2010-06-18 2011-12-22 Fujitsu Limited Data transfer device, method, and program
CN103379360A (en) * 2012-04-23 2013-10-30 华为技术有限公司 Assessment method and device for video quality
CN103840917A (en) * 2014-03-28 2014-06-04 北京邮电大学 Multipath parallel transmission scheme based on network coding
CN105591843A (en) * 2016-02-06 2016-05-18 中国科学院计算技术研究所 Network performance detection method and system based on receiving end in TCP transmission stream
CN106878191A (en) * 2015-12-14 2017-06-20 华为技术有限公司 A kind of data transferring method, sending node, receiving node and data communication system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123571A (en) * 2006-08-07 2008-02-13 北京三星通信技术研究有限公司 Adjustment method for scheduling policy based on self-adapted jitter buffer
CN101686100A (en) * 2008-09-25 2010-03-31 华为技术有限公司 Method for disposing lost packet, method for controlling transmission quality, device and system thereof
US20110314351A1 (en) * 2010-06-18 2011-12-22 Fujitsu Limited Data transfer device, method, and program
CN103379360A (en) * 2012-04-23 2013-10-30 华为技术有限公司 Assessment method and device for video quality
CN103840917A (en) * 2014-03-28 2014-06-04 北京邮电大学 Multipath parallel transmission scheme based on network coding
CN106878191A (en) * 2015-12-14 2017-06-20 华为技术有限公司 A kind of data transferring method, sending node, receiving node and data communication system
CN105591843A (en) * 2016-02-06 2016-05-18 中国科学院计算技术研究所 Network performance detection method and system based on receiving end in TCP transmission stream

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565024A (en) * 2021-01-06 2021-03-26 北京网深科技有限公司 More accurate network data packet loss warning method
CN112565024B (en) * 2021-01-06 2023-04-07 北京网深科技有限公司 Method for alarming network data packet loss

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 (en) Network transmission capacity measurement
US20090109858A1 (en) Communication Quality Determining Apparatus, Communication Quality Determining Method and Its Program
Biaz et al. Is the round-trip time correlated with the number of packets in flight?
US9992117B2 (en) Network apparatus, communication system, abnormal traffic detection method, and program
US10355961B2 (en) Network traffic capture analysis
CN105591843B (en) Network performance detection method and system in TCP transmission stream based on receiving end
WO2014194616A1 (en) Systems and methods for data transmission
CN101247288A (en) Periodic line quality detecting method and device
CN102404069B (en) The method and system of a kind of data encapsulation packet loss of link and out of order statistics
US20210120068A1 (en) Method for retransmitting lost network packet based on transport stream format and user datagram protocol
KR102105567B1 (en) Apparatus and method for processing mmt signaling message
WO2017133014A1 (en) Method and system for network performance detection based on receiving end in tcp transmission stream
US20200136944A1 (en) Data Transmission Performance Detection
CN104871487A (en) Probing a network
JP5292444B2 (en) Packet loss rate estimation apparatus, method, and program
CN107395441A (en) A kind of method for detecting Network Packet Loss situation
CN109067625A (en) A kind of detection method, equipment and the system of service channel performance
CN110838949A (en) Network flow log recording method and device
CN110199505A (en) Determine the bandwidth of communication link
US7385930B2 (en) Packet discard point probing method and device
CN101127692B (en) A method and device for identifying and limiting network traffic
CN107911259A (en) A kind of distribution power automation terminal communications status diagnostic method
CN113890858B (en) PMTU detection method and device

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