CN102111618A - Method and system for improving correctness of calculating number of video transport stream (TS) packet losses - Google Patents

Method and system for improving correctness of calculating number of video transport stream (TS) packet losses Download PDF

Info

Publication number
CN102111618A
CN102111618A CN 201110022064 CN201110022064A CN102111618A CN 102111618 A CN102111618 A CN 102111618A CN 201110022064 CN201110022064 CN 201110022064 CN 201110022064 A CN201110022064 A CN 201110022064A CN 102111618 A CN102111618 A CN 102111618A
Authority
CN
China
Prior art keywords
video
packet loss
sampling period
rtp
audio
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
CN 201110022064
Other languages
Chinese (zh)
Other versions
CN102111618B (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.)
DEKSCOM TECHNOLOGIES Ltd
Original Assignee
DEKSCOM TECHNOLOGIES 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 DEKSCOM TECHNOLOGIES Ltd filed Critical DEKSCOM TECHNOLOGIES Ltd
Priority to CN 201110022064 priority Critical patent/CN102111618B/en
Publication of CN102111618A publication Critical patent/CN102111618A/en
Application granted granted Critical
Publication of CN102111618B publication Critical patent/CN102111618B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system for improving the correctness of calculating the number of video transport stream (TS) packet losses. The method comprises the following steps: in one sampling period, carrying out statistics on the ratio of the number of video TS packets to audio TS packets in a monitored internet protocol television (IPTV) video stream, namely R=A/B; in one sampling period, respectively calculating the number Nv of the video TS packet losses and the number Na of the audio TS packet losses according to a continuity counter (CC) field; specially identifying whether continuous audio TS packet loss conditions exist at the same time of carrying out audio TS packet loss calculation; after the sampling period is finished, if the continuous audio TS packet loss conditions exist in the sampling period, triggering the fact that the number of the video TS packet losses is corrected through the number of the audio TS packet losses: the final number of the video TS packet losses N=Nv+(Na*R-Nv)&0xFFF0; and if the continuous audio TS packet loss conditions do not happen, being in no need of correcting the number of the video packet TS packet losses, namely N=Nv. By the method and system, the precise of calculating the number of video packet losses in a moving picture experts group (MPEG)-TS layer is improved under the condition that a IPTV media stream transmission protocol stack is MPEG-TS/user datagram protocol (UDP)/ internet protocol (IP)/Ethernet.

Description

Improve video TS number of dropped packets method of accuracy and the system calculated
Technical field
The invention belongs to the communication test technical field, relate to a kind of TS number of dropped packets computational methods, relate in particular to the method for video media video TS number of dropped packets accuracy in computation in a kind of IPTV of raising network; Simultaneously, the invention still further relates to a kind of system of calculating video TS number of dropped packets accuracy that improves.
Background technology
In recent years, along with developing rapidly of IP network and application and increasingly sharpening of Communications Market competition, each big telecom operators in the whole world are just starting the upsurge of one gang IPTV networking and integration of three networks business development.Cable television operators have accelerated the conversion of Digital Television and the transmission of main line programme signal IPization simultaneously.
As a kind of digital video service, IPTV must be with traditional cable TV competition.Because people have been accustomed to cheap expenses standard, the unbroken service availability of cable TV, therefore guarantee that the IPTV user experience quality can reach (or surpassing) cable TV and just become the key element of IPTV success, guarantee that wherein the IP video image quality is particularly important clearly.And on the other hand since IPTV professional based on IP network itself be a kind of towards connectionless unreliable transmission system, can bring packet loss in various degree inevitably, especially when network congestion, also may cause paroxysmal a large amount of packet loss.Show according to correlative study, the medium packet loss of MPEG-TS is the most critical reason that causes IPTV video quality decline (as phenomenons such as mosaic, flower screen, card screen, blank screens), and therefore MPEG-TS packet loss calculating accurately is the core place of estimating the IPTV video quality.
The MPEG-TS transport stream is the video tunneling that extensively adopts in present broadcasting and TV and the IPTV network.The MPEG-TS transmission code stream is made up of the TS bag of one group of 188 continuous byte, and the form of TS bag as shown in Figure 1.
As shown in Figure 1, wherein the PID field is used to identify the content (for example: video, audio frequency or PSI programme information form etc.) that the TS bag transmits.In the TS code stream, video content identifies with different PID respectively with audio content.As the example among Fig. 2, PID is 100 TS bag transmitted video content, and PID is 200 TS bag transmission of audio content.
Because the desired transmission bandwidth of video content is big (H.264 Bian Ma SD program stream bandwidth occupancy is approximately 1.5-2Mb/s), and the desired transmission bandwidth of audio content less relatively (generally about 100-150Mb/s), therefore in the TS code stream of the clear IPTV program of a road sign, video TS bag number is 15-20 times (for high definition IPTV program, this is higher than regular meeting) of audio TS bag number normally.
The field that merits attention in the TS packet format is continuity counter (CC) field in addition, and it is the field of 4 bits, and it is that the TS packet sequence of index carries out the continuity counting to each with the PID field, the continuous T S bag that is about to have identical PID (for example: 0,1,2 is stamped continuous CC label, 3, ..., 14,15,0,1,2 ...).
According in above-mentioned to the analysis of TS data packet format, the CC field is the field that the unique TS of can be used for packet loss calculates in the MPEG-TS layer, the packet loss that the test instrumentation of present most of IPTV all adopts the CC field to carry out the MPEG-TS layer calculates.
Yet,,, can only accurately calculate the packet loss number under the situation that is less than 16 continuous T S packet losses for same PID (being video or audio content) because the CC field has only 4 bits.When continuous T S packet loss number surpasses more than 15, then this packet loss computational methods can cause very big calculation deviation.For example: lose 35 video TS bags continuously as reality in the network, and the video TS packet loss number of calculating in this way has only 3.In the existing IPTV network equipment is realized, 7 MPEG-TS bags of multipotency encapsulation in the IP bag.Therefore, surpass 3 IP bags as long as lose continuously in the network, video TS packet loss just may be above 16.Because the situation of this continuous packet loss is very possible the generation in the IPTV of reality network, the accuracy that therefore how to improve the calculating of MPEG-TS packet loss just becomes very important.
Summary of the invention
Technical problem to be solved by this invention is: provide a kind of raising to calculate video TS number of dropped packets method of accuracy, at IPTV media flow transmission protocol stack is under the MPEG-TS/UDP/IP/Ethernet situation, improves MPEG-TS layer video packet loss number and calculates precision.
In addition, the present invention further provides a kind of system of calculating video TS number of dropped packets accuracy that improves, is under the MPEG-TS/UDP/IP/Ethernet situation at IPTV media flow transmission protocol stack, improves MPEG-TS layer video packet loss number and calculates precision.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
Video TS number of dropped packets method of accuracy is calculated in a kind of raising, and described method comprises the steps:
Step S1, a sampling period, add up in monitored certain IPTV video flowing the ratio R=A/B of video TS bag and audio TS bag number; Wherein: A is a video TS bag sum in the sampling period, and B is a sampling period sound intermediate frequency TS bag sum;
Step S2, in a sampling period, calculate video TS packet loss number Nv and audio TS packet loss number Na respectively according to the CC field; When the audio TS packet loss calculates, identify whether there is continuous audio TS packet drop especially;
Step S3, after the sampling period finishes, if find in this employing cycle, to exist the situation of continuous audio TS packet loss, then trigger by audio frequency packet loss number calibration video TS packet loss number, final video TS number of dropped packets N=Nv+ (Na*R-Nv); 0xFFF0; If continuous audio TS packet loss do not occur, then need not to calibrate video TS packet loss number, N=Nv.
As a preferred embodiment of the present invention, described IPTV media flow transmission protocol stack is MPEG-TS/UDP/IP/Ethernet.
As a preferred embodiment of the present invention, described method further comprises: when described IPTV media flow transmission protocol stack is MPEG-TS/RTP/UDP/IP/Ethernet, accurately calculate the packet loss number of RTP layer, the packet loss number of calibrating the MPEG-TS layer by the sequence-number field in RTP packet header.
As a preferred embodiment of the present invention, when described IPTV media flow transmission protocol stack was MPEG-TS/RTP/UDP/IP/Ethernet, described method comprised:
Step S11, in a sampling period, add up in monitored certain IPTV video flowing the average video TS bag number Nc=A/B that comprises in RTP bag; Wherein, A is a video TS bag sum in the sampling period; B is a RTP bag sum in the sampling period;
Step S12, in a sampling period, calculate total video TS packet loss number Nv according to the CC field of MPEG-TS layer; Calculate total RTP packet loss number Nr according to the sequence-number field of RTP layer, calculate maximum RTP packet loss length N p simultaneously, i.e. the number of continuous RTP packet loss;
Step S13, after the sampling period finishes, exist the value of Np*Nc greater than set point M if find, then judge in this sampling period, there is continuous burst IP packet loss, and can cause video TS number of dropped packets not statistical uncertainty really, at this moment need trigger by the RTP number of dropped packets and calibrate video TS number of dropped packets, final video TS number of dropped packets N '=Nv '+(Nr*Nc-Nv ') ﹠amp; 0xFFF0; Otherwise, need not to calibrate video TS number of dropped packets N ', i.e. N '=Nv '.
A kind of system of calculating video TS number of dropped packets accuracy that improves, described system comprises:
The ration statistics module, in order in monitored certain the IPTV video flowing of sampling period statistics, the ratio R=A/B of video TS bag and audio TS bag number; Wherein: A is a video TS bag sum in the sampling period, and B is a sampling period sound intermediate frequency TS bag sum;
Packet loss number computing module in order in a sampling period, calculates video TS packet loss number Nv and audio TS packet loss number Na respectively according to the CC field; When the audio TS packet loss calculates, identify whether there is continuous audio TS packet drop;
Video packet loss number calibration module is in order to finish back calibration video packet loss number in the sampling period; If find in this employing cycle, to exist the situation of continuous audio TS packet loss, then trigger by audio frequency packet loss number calibration video TS packet loss number: final video TS number of dropped packets N=Nv+ (Na*R-Nv); 0xFFF0; If continuous audio TS packet loss do not occur, then need not to calibrate video TS packet loss number, N=Nv.
As a preferred embodiment of the present invention, described IPTV media flow transmission protocol stack is MPEG-TS/UDP/IP/Ethernet.
As a preferred embodiment of the present invention, described system further comprises packet loss number second calibration module, in order to when described IPTV media flow transmission protocol stack is MPEG-TS/RTP/UDP/IP/Ethernet, accurately calculate the packet loss number of RTP layer, the packet loss number of calibrating the MPEG-TS layer by the sequence-number field in RTP packet header.
As a preferred embodiment of the present invention, when described IPTV media flow transmission protocol stack was MPEG-TS/RTP/UDP/IP/Ethernet, the calibration steps of described packet loss number second calibration module comprised:
Step S11, in a sampling period, add up in monitored certain IPTV video flowing average video TS bag number the Nc=A '/B ' that comprises in RTP bag; Wherein, A ' is a video TS bag sum in the sampling period; B ' is a RTP bag sum in the sampling period;
Step S12, in a sampling period, calculate total video TS packet loss number Nv ' according to the CC field of MPEG-TS layer; Calculate total RTP packet loss number Nr according to the sequence-number field of RTP layer, calculate maximum RTP packet loss length N p simultaneously, i.e. the number of continuous RTP packet loss;
Step S13, after the sampling period finishes, exist the value of Np*Nc greater than set point M if find, then judge in this sampling period, there is continuous burst IP packet loss, and can cause video TS number of dropped packets not statistical uncertainty really, at this moment need trigger by the RTP number of dropped packets and calibrate video TS number of dropped packets, final video TS number of dropped packets N '=Nv '+(Nr*Nc-Nv ') ﹠amp; 0xFFF0; Otherwise, need not to calibrate video TS number of dropped packets N ', i.e. N '=Nv '.
Beneficial effect of the present invention is: video TS number of dropped packets method of accuracy and system are calculated in the raising that the present invention proposes, at IPTV media flow transmission protocol stack is under the MPEG-TS/UDP/IP/Ethernet situation, improves MPEG-TS layer video packet loss number and calculates precision.
Description of drawings
Fig. 1 is the form schematic diagram of TS bag.
Fig. 2 is the sign schematic diagram of video content and audio content in the TS code stream.
Fig. 3 is the flow chart of the inventive method.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
Media flow transmission protocol stack comparatively commonly used mainly contains two kinds in the IPTV network at present: MPEG-TS/RTP/UDP/IP/Ethernet and MPEG-TS/UDP/IP/Ethernet.For preceding a kind of protocol encapsulation mode, can accurately calculate the packet loss number of RTP layer by the sequence-number field (16 bit long) in RTP packet header, the packet loss number of calibrating the MPEG-TS layer.Yet, for a kind of protocol encapsulation mode in back, can't utilize other protocol layer (IP and UDP layer do not comprise sequence number) to calculate packet loss, therefore can only calculate the TS packet loss by the information of MPEG-TS layer self.
According to the description of background technology part, traditional MPEG-TS packet loss algorithm calculates TS packet loss number based on the CC field, and this algorithm is taking place can't accurately to calculate TS packet loss number under the sudden IP network packet drop.Simultaneously, owing to great majority in the IPTV Media Stream are video TS bags, minority is audio TS bag and PSI form TS bag, and therefore sudden IP network packet loss has the greatest impact to video TS packet loss.Just because of this reason, also just big more based on the error rate of the video TS packet loss of CC field.Be illustrated for example below:
Suppose that the ratio that video TS wraps with the audio TS bag in an IPTV Media Stream is 16: 1, can be mingled with an audio TS bag in promptly per 16 video TS bag.If continuous 5 IP packet losses (comprising 7 TS bags in each IP bag), then 33 video TS bags of actual loss are lost 2 audio TS bags.The video TS packet loss number of calculating according to the CC field only is 1 (having serious deviation), and the audio TS packet loss number of calculating is correct (2).This shows that calculate audio TS packet loss number based on the CC field, the ability of resisting sudden IP packet loss is much better than more than video TS packet loss.In this case above, for being less than the individual continuous sudden IP packet loss of 272 (17x16), calculating based on the audio TS packet loss of CC field all is accurately.This shows, for the situation of burst IP packet loss, much more accurate than video TS packet loss technique result based on the audio TS packet loss result of calculation of CC field.
In addition, because in the IPTV environment, the stream rate of sound, video generally is constant, so the TS of Voice ﹠ Video bag ratio also is substantially invariable.According to Principle of Statistics, video that the continuous IP packet loss of burst causes and audio TS packet loss number ratio and the flow proportional between them are also about equally.
Based on above principle, in a sampling period, when continuous audio TS packet loss occurring, can proofread and correct video TS packet loss number during this period of time with audio TS packet loss statistics.
See also Fig. 3, the present invention has disclosed a kind of raising and has calculated video TS number of dropped packets method of accuracy, and when described IPTV media flow transmission protocol stack was MPEG-TS/UDP/IP/Ethernet, described method comprised the steps:
[step S1] a sampling period, adds up in monitored certain IPTV video flowing the ratio R=A/B of video TS bag and audio TS bag number; Wherein: A is a video TS bag sum in the sampling period, and B is a sampling period sound intermediate frequency TS bag sum;
[step S2] calculates video TS packet loss number Nv and audio TS packet loss number Na respectively according to the CC field in a sampling period; When the audio TS packet loss calculates, identify whether there is continuous audio TS packet drop especially; If exist, show the generation of sudden IP packet loss;
[step S3] if find to exist the situation of continuous audio TS packet loss in this employing cycle, then triggers by audio frequency packet loss number calibration video TS packet loss number: final video TS number of dropped packets N=Nv+ (Na*R-Nv) after the sampling period finishes; 0xFFF0; If continuous audio TS packet loss do not occur, then need not to calibrate video TS packet loss number, N=Nv.
When described IPTV media flow transmission protocol stack is MPEG-TS/RTP/UDP/IP/Ethernet, accurately calculate the packet loss number of RTP layer, the packet loss number of calibrating the MPEG-TS layer by the sequence-number field in RTP packet header; At this moment, described method comprises the steps:
[step S11] added up in monitored certain IPTV video flowing in a sampling period, average video TS bag number the Nc=A '/B ' that comprises in RTP bag; Wherein, A ' is a video TS bag sum in the sampling period; B ' is a RTP bag sum in the sampling period;
[step S12] calculates total video TS packet loss number Nv ' according to the CC field of MPEG-TS layer in a sampling period; Calculate total RTP packet loss number Nr according to the sequence-number field of RTP layer, calculate maximum RTP packet loss length N p simultaneously, i.e. the number of continuous RTP packet loss;
[step S13] is after the sampling period finishes, exist the value of Np*Nc greater than set point M (as 15) if find, then judge in this sampling period, there is continuous burst IP packet loss, and can cause video TS number of dropped packets not statistical uncertainty really, at this moment need trigger by the RTP number of dropped packets and calibrate video TS number of dropped packets, final video TS number of dropped packets N '=Nv '+(Nr*Nc-Nv ') ﹠amp; 0xFFF0; Otherwise, need not to calibrate video TS number of dropped packets N ', i.e. N '=Nv '.
More than introduced the present invention and improved calculating video TS number of dropped packets method of accuracy, the present invention has also disclosed a kind of system of calculating video TS number of dropped packets accuracy that improves when disclosing said method.Described system comprises: ration statistics module, packet loss number computing module, video packet loss number calibration module.
The ration statistics module is in order in monitored certain the IPTV video flowing of sampling period statistics, the ratio R=A/B of video TS bag and audio TS bag number; Wherein: A is a video TS bag sum in the sampling period, and B is a sampling period sound intermediate frequency TS bag sum.
Packet loss number computing module calculates video TS packet loss number Nv and audio TS packet loss number Na in order in a sampling period respectively according to the CC field; When the audio TS packet loss calculates, identify whether there is continuous audio TS packet drop.
Video packet loss number calibration module is in order to finish back calibration video packet loss number in the sampling period; If find in this employing cycle, to exist the situation of continuous audio TS packet loss, then trigger by audio frequency packet loss number calibration video TS packet loss number: final video TS number of dropped packets N=Nv+ (Na*R-Nv); 0xFFF0; If continuous audio TS packet loss do not occur, then need not to calibrate video TS packet loss number, N=Nv.
In addition, described system further comprises packet loss number second calibration module, in order to when described IPTV media flow transmission protocol stack is MPEG-TS/RTP/UDP/IP/Ethernet, accurately calculate the packet loss number of RTP layer, the packet loss number of calibrating the MPEG-TS layer by the sequence-number field in RTP packet header.The specific implementation method can be with reference to the description of above-mentioned method.
In sum, video TS number of dropped packets method of accuracy and system are calculated in the raising that the present invention proposes, and are under the MPEG-TS/UDP/IP/Ethernet situation at IPTV media flow transmission protocol stack, improve MPEG-TS layer video packet loss number and calculate precision.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or substantive characteristics, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to disclosed embodiment.

Claims (8)

1. one kind is improved calculating video TS number of dropped packets method of accuracy, it is characterized in that described method comprises the steps:
Step S1, a sampling period, add up in monitored certain IPTV video flowing the ratio R=A/B of video TS bag and audio TS bag number; Wherein: A is a video TS bag sum in the sampling period, and B is a sampling period sound intermediate frequency TS bag sum;
Step S2, in a sampling period, calculate video TS packet loss number Nv and audio TS packet loss number Na respectively according to the CC field; When the audio TS packet loss calculates, identify whether there is continuous audio TS packet drop especially;
Step S3, after the sampling period finishes, if find in this employing cycle, to exist the situation of continuous audio TS packet loss, then trigger by audio frequency packet loss number calibration video TS packet loss number, final video TS number of dropped packets N=Nv+ (Na*R-Nv); 0xFFF0; If continuous audio TS packet loss do not occur, then need not to calibrate video TS packet loss number, N=Nv.
2. video TS number of dropped packets method of accuracy is calculated in raising according to claim 1, it is characterized in that:
Described IPTV media flow transmission protocol stack is MPEG-TS/UDP/IP/Ethernet.
3. video TS number of dropped packets method of accuracy is calculated in raising according to claim 1 and 2, it is characterized in that:
Described method further comprises:
When described IPTV media flow transmission protocol stack is MPEG-TS/RTP/UDP/IP/Ethernet, accurately calculate the packet loss number of RTP layer, the packet loss number of calibrating the MPEG-TS layer by the sequence-number field in RTP packet header.
4. video TS number of dropped packets method of accuracy is calculated in raising according to claim 3, it is characterized in that:
When described IPTV media flow transmission protocol stack was MPEG-TS/RTP/UDP/IP/Ethernet, described method comprised:
Step S11, in a sampling period, add up in monitored certain IPTV video flowing average video TS bag number the Nc=A '/B ' that comprises in RTP bag; Wherein, A ' is a video TS bag sum in the sampling period; B ' is a RTP bag sum in the sampling period;
Step S12, in a sampling period, calculate total video TS packet loss number Nv ' according to the CC field of MPEG-TS layer; Calculate total RTP packet loss number Nr according to the sequence-number field of RTP layer, calculate maximum RTP packet loss length N p simultaneously, i.e. the number of continuous RTP packet loss;
Step S13, after the sampling period finishes, exist the value of Np*Nc greater than set point M if find, then judge in this sampling period, there is continuous burst IP packet loss, and can cause video TS number of dropped packets not statistical uncertainty really, at this moment need trigger by the RTP number of dropped packets and calibrate video TS number of dropped packets, final video TS number of dropped packets N '=Nv '+(Nr*Nc-Nv ') ﹠amp; 0xFFF0; Otherwise, need not to calibrate video TS number of dropped packets N ', i.e. N '=Nv '.
5. one kind is improved the system of calculating video TS number of dropped packets accuracy, it is characterized in that described system comprises:
The ration statistics module, in order in monitored certain the IPTV video flowing of sampling period statistics, the ratio R=A/B of video TS bag and audio TS bag number; Wherein: A is a video TS bag sum in the sampling period, and B is a sampling period sound intermediate frequency TS bag sum;
Packet loss number computing module in order in a sampling period, calculates video TS packet loss number Nv and audio TS packet loss number Na respectively according to the CC field; When the audio TS packet loss calculates, identify whether there is continuous audio TS packet drop;
Video packet loss number calibration module is in order to finish back calibration video packet loss number in the sampling period; If find in this employing cycle, to exist the situation of continuous audio TS packet loss, then trigger by audio frequency packet loss number calibration video TS packet loss number: final video TS number of dropped packets N=Nv+ (Na*R-Nv); 0xFFF0; If continuous audio TS packet loss do not occur, then need not to calibrate video TS packet loss number, N=Nv.
6. the system of video TS number of dropped packets accuracy is calculated in raising according to claim 5, it is characterized in that:
Described IPTV media flow transmission protocol stack is MPEG-TS/UDP/IP/Ethernet.
7. the system of video TS number of dropped packets accuracy is calculated in raising according to claim 5, it is characterized in that:
Described system further comprises packet loss number second calibration module, in order to when described IPTV media flow transmission protocol stack is MPEG-TS/RTP/UDP/IP/Ethernet, accurately calculate the packet loss number of RTP layer, the packet loss number of calibrating the MPEG-TS layer by the sequence-number field in RTP packet header.
8. the system of video TS number of dropped packets accuracy is calculated in raising according to claim 7, it is characterized in that:
When described IPTV media flow transmission protocol stack was MPEG-TS/RTP/UDP/IP/Ethernet, the calibration steps of described packet loss number second calibration module comprised:
Step S11, in a sampling period, add up in monitored certain IPTV video flowing average video TS bag number the Nc=A '/B ' that comprises in RTP bag; Wherein, A ' is a video TS bag sum in the sampling period; B ' is a RTP bag sum in the sampling period;
Step S12, in a sampling period, calculate total video TS packet loss number Nv ' according to the CC field of MPEG-TS layer; Calculate total RTP packet loss number Nr according to the sequence-number field of RTP layer, calculate maximum RTP packet loss length N p simultaneously, i.e. the number of continuous RTP packet loss;
Step S13, after the sampling period finishes, exist the value of Np*Nc greater than set point M if find, then judge in this sampling period, there is continuous burst IP packet loss, and can cause video TS number of dropped packets not statistical uncertainty really, at this moment need trigger by the RTP number of dropped packets and calibrate video TS number of dropped packets, final video TS number of dropped packets N '=Nv '+(Nr*Nc-Nv ') ﹠amp; 0xFFF0; Otherwise, need not to calibrate video TS number of dropped packets N ', i.e. N '=Nv '.
CN 201110022064 2011-01-20 2011-01-20 Method and system for improving correctness of calculating number of video transport stream (TS) packet losses Expired - Fee Related CN102111618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110022064 CN102111618B (en) 2011-01-20 2011-01-20 Method and system for improving correctness of calculating number of video transport stream (TS) packet losses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110022064 CN102111618B (en) 2011-01-20 2011-01-20 Method and system for improving correctness of calculating number of video transport stream (TS) packet losses

Publications (2)

Publication Number Publication Date
CN102111618A true CN102111618A (en) 2011-06-29
CN102111618B CN102111618B (en) 2012-09-05

Family

ID=44175624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110022064 Expired - Fee Related CN102111618B (en) 2011-01-20 2011-01-20 Method and system for improving correctness of calculating number of video transport stream (TS) packet losses

Country Status (1)

Country Link
CN (1) CN102111618B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149022A (en) * 2011-01-20 2011-08-10 德科仕通信(上海)有限公司 Method and system for improving packet loss calculation accuracy at MPEG-TS (moving picture expert group-transmission stream) layer
CN106303752A (en) * 2015-05-25 2017-01-04 德科仕通信(上海)有限公司 A kind of MPEG2-TS/UDP/IP code stream packet loss failure judgment method
CN103686443B (en) * 2013-12-02 2017-02-08 浙江宇视科技有限公司 Method and device for improving TS (transport stream) sorting ability
CN108810524A (en) * 2017-05-05 2018-11-13 德科仕通信(上海)有限公司 The method of IPTV flopover phenomenons detection
RU2774917C1 (en) * 2021-10-11 2022-06-24 Общество С Ограниченной Ответственностью "Компания "Стрим Лабс" Method for automated troubleshooting and monitoring of possible quality degradation in digital television networks based on mpeg ts transport streams

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008017207A (en) * 2006-07-06 2008-01-24 Kddi Corp Image signal receiver
CN101114982A (en) * 2006-07-24 2008-01-30 互联天下科技发展(深圳)有限公司 IP network based audio-video QoS algorithm
CN101695134A (en) * 2009-10-15 2010-04-14 中兴通讯股份有限公司 Terminal, system and method for improving play performance of terminal in weak signal environment
US20100275237A1 (en) * 2009-04-24 2010-10-28 At&T Intellectual Property I, L.P. Method and appartus for model-based recovery of packet loss errors
CN102149022A (en) * 2011-01-20 2011-08-10 德科仕通信(上海)有限公司 Method and system for improving packet loss calculation accuracy at MPEG-TS (moving picture expert group-transmission stream) layer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008017207A (en) * 2006-07-06 2008-01-24 Kddi Corp Image signal receiver
CN101114982A (en) * 2006-07-24 2008-01-30 互联天下科技发展(深圳)有限公司 IP network based audio-video QoS algorithm
US20100275237A1 (en) * 2009-04-24 2010-10-28 At&T Intellectual Property I, L.P. Method and appartus for model-based recovery of packet loss errors
CN101695134A (en) * 2009-10-15 2010-04-14 中兴通讯股份有限公司 Terminal, system and method for improving play performance of terminal in weak signal environment
CN102149022A (en) * 2011-01-20 2011-08-10 德科仕通信(上海)有限公司 Method and system for improving packet loss calculation accuracy at MPEG-TS (moving picture expert group-transmission stream) layer

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149022A (en) * 2011-01-20 2011-08-10 德科仕通信(上海)有限公司 Method and system for improving packet loss calculation accuracy at MPEG-TS (moving picture expert group-transmission stream) layer
CN103686443B (en) * 2013-12-02 2017-02-08 浙江宇视科技有限公司 Method and device for improving TS (transport stream) sorting ability
CN106303752A (en) * 2015-05-25 2017-01-04 德科仕通信(上海)有限公司 A kind of MPEG2-TS/UDP/IP code stream packet loss failure judgment method
CN106303752B (en) * 2015-05-25 2019-03-12 德科仕通信(上海)有限公司 A kind of MPEG2-TS/UDP/IP code stream packet loss failure judgment method
CN108810524A (en) * 2017-05-05 2018-11-13 德科仕通信(上海)有限公司 The method of IPTV flopover phenomenons detection
CN108810524B (en) * 2017-05-05 2020-06-30 德科仕通信(上海)有限公司 IPTV picture fault phenomenon detection method
RU2774917C1 (en) * 2021-10-11 2022-06-24 Общество С Ограниченной Ответственностью "Компания "Стрим Лабс" Method for automated troubleshooting and monitoring of possible quality degradation in digital television networks based on mpeg ts transport streams

Also Published As

Publication number Publication date
CN102111618B (en) 2012-09-05

Similar Documents

Publication Publication Date Title
JP4593895B2 (en) System and method for calculating round-trip delay of a real-time protocol packet stream
CN101616037B (en) Detection method, device and system of packet loss in network communication
US8223807B2 (en) Synchronizing data transmission over wireless networks
CN102137282B (en) Method, device, nodes and system for detecting faulted link
CN101227604B (en) Method for detecting network video quality by network injury tolerance
WO2006047732A2 (en) Network architecture for real time delivery of video over lossy networks from remote locations
US20120014254A1 (en) System and method for creating multiple transportation streams of streaming media network test traffic in packet-based networks
JP2004129275A (en) System and method for monitoring rtp streams using rtcpsr/rr packet information
CN105992040A (en) Multichannel audio data transmitting method, audio data synchronization playing method and devices
CN102572531B (en) Method and system for delimiting packet loss faults of internet protocol television (IPTV) network
CN102196319A (en) Live streaming service system and realization method
CN102111618B (en) Method and system for improving correctness of calculating number of video transport stream (TS) packet losses
WO2009006804A1 (en) A method for transmitting mobile multimedia broadcast service data flow and a multiplexing frame for transmitting
US20110149998A1 (en) Method and system for timestamp inclusion in virtual local area network tag
AU2012207704A2 (en) Apparatus and method for transmitting multimedia data in a broadcast system
US20110255556A1 (en) Method for transport stream synchronizing in a multiplexer comprising an external corpocessor
CN100473171C (en) Clock synchronizing method in broadcast network
CN102149022B (en) Method and system for improving packet loss calculation accuracy at MPEG-TS (moving picture expert group-transmission stream) layer
US20100322084A1 (en) Method and Device for Transport Delay Analysis
US8339986B2 (en) Instrumentation of MPEG-2 transport streams for testing network performance
CN103796079B (en) Channel damage simulation method of terrestrial digital TV transmission distribution network
CN106303752B (en) A kind of MPEG2-TS/UDP/IP code stream packet loss failure judgment method
Kunić et al. Analysis of television technology transformation from SDI to IP production
CN101202921A (en) Clock synchronous system of moving multimedia network
CN101202918B (en) Method of terminal correcting clock

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Patent of Deluxe Communications (Shanghai) Co.,Ltd. The person in charge

Document name: Patent Right Termination Notice

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120905