CN107743228A - Video quality detection method, monitoring device and storage medium - Google Patents

Video quality detection method, monitoring device and storage medium Download PDF

Info

Publication number
CN107743228A
CN107743228A CN201711189349.4A CN201711189349A CN107743228A CN 107743228 A CN107743228 A CN 107743228A CN 201711189349 A CN201711189349 A CN 201711189349A CN 107743228 A CN107743228 A CN 107743228A
Authority
CN
China
Prior art keywords
video
packet
detected
video quality
quality detection
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
CN201711189349.4A
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.)
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Software 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 Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Software Co Ltd
Priority to CN201711189349.4A priority Critical patent/CN107743228A/en
Publication of CN107743228A publication Critical patent/CN107743228A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • 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/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of video quality detection method,Monitoring device and storage medium,The present invention captures multiple packets of video to be detected by monitoring device by network interface card,Each packet is parsed,Obtain the sequence of message number and delay time of each packet,The packet drop of the video to be detected is obtained according to the sequence of message number,The jitter time delay situation of the video to be detected is obtained according to the delay time,The video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation,Monitoring device to the multiple packets for capturing video to be detected by carrying out packet loss and delay Analysis,The speed and efficiency of video network transmission quality fault detect can not only be improved,And technical work personnel or non-technical personnel can be quickly and easily assisted tentatively to investigate video service quality problem,The video quality detection method is convenient and swift,Applicability is wide.

Description

Video quality detection method, monitoring device and storage medium
Technical field
The present invention relates to video broadcasting field, more particularly to a kind of video quality detection method, monitoring device and storage to be situated between Matter.
Background technology
At present, network protocol television (Internet Protocol Television, IPTV) quality of service factor is influenceed There is following aspect:Video cardton caused by the packet loss of network and shake and multicast handover delay are longer.Losing in network transmission Bag directly affects the decoding of video/audio, can cause pause or mosaic;Excessive shake can then cause the network equipment , easily there is Caton phenomenon etc. in the overflow and underflow of caching.Generally, technical staff passes through packet catcher or rear number of units According to monitoring come problem analysis, when a problem occurs, technical staff go on business or have a holiday can not timely processing when, easily cause exception Phenomenon wastes time long.Therefore, it is necessary to a kind of auxiliary monitoring instrument is provided so as to assist staff or non-technical personnel Preliminary investigation video service quality problem.
Wherein, analyzing IP TV play service quality typically has three kinds of schemes in the prior art:(1) technical staff is at the scene By capturing set top box network packet, initial analysis media data whether there is packet loss, be delayed, shake;(2) technical staff From each server node working condition of streaming media server angleonly tracking, analyzed in server end crawl media data; (3) check that performance logs are reported, by analyzing packet loss inside Log Report, shake, delay data, make initial question judgement. But all there is the shortcomings that respective in such scheme:The shortcomings that scheme one is that technical staff is live on earth, and captures set top box The mutual message of network bag is, it is necessary to commuting time;The shortcomings that scheme two is to investigate problem from server side, can only be reacted to clothes Business device problem, it is difficult to be reacted to terminal equipment problem;The shortcomings that scheme three is that performance logs report dependence terminal set top box to report, Data accuracy has to be hoisted.
The content of the invention
It is a primary object of the present invention to a kind of video quality detection method, monitoring device and storage medium, it is intended to solve The fault detect of video network transmission quality is slow in the prior art, and failure determines the problem of not accurate enough.
To achieve the above object, the present invention provides a kind of video quality detection method, the video quality detection method bag Include following steps:
Monitoring device captures multiple packets of video to be detected by network interface card;
Each packet is parsed, obtains the sequence of message number and delay time of each packet;
The packet drop of the video to be detected is obtained according to the sequence of message number, institute is obtained according to the delay time The jitter time delay situation of video to be detected is stated, described to be detected regard is determined according to the packet drop and the jitter time delay situation The video quality of frequency.
Preferably, it is described that each packet is parsed, the sequence of message number and delay time of each packet are obtained, specifically Including:
Each packet is identified, obtains the protocol type of each packet;
Each packet is parsed according to the protocol type, obtains the sequence of message number of each packet and described Delay time.
Preferably, the message for being parsed according to the protocol type to each packet, obtaining each packet Sequence number and the delay time, are specifically included:
When the protocol type is IGMP agreements, using first packet as start point data bag, according to the starting point Packet obtains the sequence of message number of each packet and the delay time;
When the protocol type is RTSP agreements, target ip address and port numbers are obtained from each packet, according to institute State target ip address and port numbers find corresponding target data bag, using the target data bag as the start point data Bag, the sequence of message number of each packet and the delay time are obtained according to the start point data bag.
Preferably, the packet drop that the video to be detected is obtained according to the sequence of message number, prolongs according to described When the time obtain the jitter time delay situation of the video to be detected, determined according to the packet drop and the jitter time delay situation The video quality of the video to be detected, is specifically included:
The packet lost in the video to be detected is searched according to the sequence of message number, according to the data of the loss Bag determines the packet drop of the video to be detected;
The chattering frequency and amplitude of the video to be detected are calculated according to the delay time, according to the chattering frequency and Amplitude determines the jitter time delay situation of the video to be detected;
The video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation.
Preferably, the monitoring device captures multiple packets of video to be detected by network interface card, specifically includes:
When the Interface status or monitoring programme that monitor the monitoring device are active, generation monitoring instruction;
Multiple packets of video to be detected are captured by the network interface card according to the monitoring instruction.
Preferably, the packet drop that the video to be detected is obtained according to the sequence of message number, prolongs according to described When the time obtain the jitter time delay situation of the video to be detected, determined according to the packet drop and the jitter time delay situation After the video quality of the video to be detected, the video quality detection method also includes:
The video quality of the video to be detected is shown in default display window.
Preferably, it is described to regard before the video quality by the video to be detected is shown in default display window Frequency quality determining method also includes:
Receive and create display window instruction, according to the establishment display window instruction creates in current display interface Default display window;
The default display window is shown in predeterminable area according to predetermined display parameter.
Preferably, it is described the default display window is shown in predeterminable area according to predetermined display parameter after, institute Stating video quality detection method also includes:
Moving window instruction is received, is instructed according to the moving window and the default display window is moved to target position Put, so that the user checks the default display window on the target location.
In addition, to achieve the above object, the present invention also proposes a kind of monitoring device, and the monitoring device includes:Memory, The video quality detection program that processor and being stored in can be run on the memory and on the processor, the video matter The step of amount detection program is arranged for carrying out video quality detection method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, and video is stored with the storage medium Quality testing program, the video quality detection program realize video quality detection side as described above when being executed by processor The step of method.
Video quality detection method proposed by the present invention, the present invention capture video to be detected by monitoring device by network interface card Multiple packets, each packet is parsed, the sequence of message number and delay time of each packet are obtained, according to the report Literary sequence number obtains the packet drop of the video to be detected, and the shake of the video to be detected is obtained according to the delay time Delay situation, the video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation, monitored Equipment can not only improve video network transmission by carrying out packet loss and delay Analysis to the multiple packets for capturing video to be detected The speed and efficiency of quality fault detection, and can quickly and easily assist technical work personnel or non-technical personnel can be preliminary Video service quality problem is investigated, the video quality detection method is convenient and swift, and applicability is wide.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of video quality detection method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of video quality detection method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of video quality detection method 3rd embodiment of the present invention;
Fig. 4 is the monitoring device structural representation for the hardware running environment that scheme of the embodiment of the present invention is related to.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:The present invention captures video to be detected by monitoring device by network interface card Multiple packets, each packet is parsed, the sequence of message number and delay time of each packet are obtained, according to the report Literary sequence number obtains the packet drop of the video to be detected, and the shake of the video to be detected is obtained according to the delay time Delay situation, the video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation, monitored Equipment can not only improve video network transmission by carrying out packet loss and delay Analysis to the multiple packets for capturing video to be detected The speed and efficiency of quality fault detection, and can quickly and easily assist technical work personnel or non-technical personnel can be preliminary Video service quality problem is investigated, the video quality detection method is convenient and swift, and applicability is wide, solves video in the prior art Network transmission quality fault detect is slow, and failure determines not accurate enough technical problem.
Reference picture 1, Fig. 1 are the schematic flow sheet of video quality detection method first embodiment of the present invention.
In the first embodiment, the video quality detection method comprises the following steps:
Step S10, monitoring device captures multiple packets of video to be detected by network interface card;
It should be noted that the monitoring device can with supervising device that IPTV carries or independently of The terminal device or personal computer of display device, can also be server, can also be that other have video certainly Such as IPTV set top box, the present embodiment is not any limitation as the equipment of network monitoring and analyzing and processing function to this.
It is understood that the monitoring device captures multiple packets of video to be detected, the network interface card by network interface card The data for constantly receiving and sending, multiple packets of video to be detected can be grabbed by the network interface card, for to be checked The video quality analysis for surveying video is prepared, and in practical operation, may be generally based upon network data Packet capturing function library Libpcap storehouses capture the packet of the video to be detected by network interface card, and the libpcap storehouses are a network data Packet capturings Function library, libpcap provide the user class network data Packet capturing interface of system independence, and fully take into account application program Portability, by libpcap storehouses can the more convenient packet to the video to be detected capture;
Further, the step S10 specifically includes following steps:
When the Interface status or monitoring programme that monitor the monitoring device are active, generation monitoring instruction;
Multiple packets of video to be detected are captured by the network interface card according to the monitoring instruction.
It should be noted that the Interface status of the monitoring device refers to the interfaces shape of the monitoring application of monitoring device State, the interface can be the states being turned on or off, and be at the Interface status when the interface is opening In the state of activation, the monitoring instruction, the journey that the monitoring programme starts for the policer operation of the monitoring device are generated Sequence, the Interface status or monitoring programme of the monitoring device can realize the behaviour such as opening and closing by the special key of remote control Make or manually physics is turned on and off the interface or monitoring programme of the monitoring device, can also be certainly logical The Interface status of the monitoring device or monitoring programme are active when crossing other modes, and the present embodiment is not limited this System.
It should be appreciated that after generation monitoring instruction, the monitoring can directly be triggered by the monitoring instruction and set Standby monitoring function, monitoring device capture multiple packets of the video to be detected by the network interface card, using as following The basis of video quality analysis.
Step S20, each packet is parsed, obtains the sequence of message number and delay time of each packet;
It is understood that being parsed to each packet, the sequence of message number and delay time of each packet, institute are obtained The sequence number that sequence of message number is message corresponding to each packet is stated, can be quickly found out by the sequence of message number corresponding Packet, it can facilitate and other processing such as corresponding packet be marked, the delay time is between each packet Delay time, the time of two packets is read, their difference is the delay time of packet, passes through the delay time It can determine caching corresponding to the video to be detected with the presence or absence of overflow or the situation of underflow.
Step S30, the packet drop of the video to be detected is obtained according to the sequence of message number, during according to the delay Between obtain the jitter time delay situation of the video to be detected, according to determining the packet drop and the jitter time delay situation The video quality of video to be detected.
It should be noted that the packet drop of the video to be detected is can determine according to the sequence of message number, according to The sequence of message number finds corresponding packet, and then whether packet corresponding to analysis parses normally, and then according to corresponding The parsing situation of packet can interpolate that whether the packet has been lost, the packet loss of the video to be detected, which can directly affect, to be regarded The decoding of audio, video hiccups or mosaic can be caused, the shake that the video to be detected is obtained according to the delay time is prolonged When situation, i.e., by reading the delay time between each packet, it is determined that the difference of front and rear delay time twice be shake, mistake Big shake can cause the overflow or underflow of the caching of the network equipment, and caching overflow can cause packet loss, and buffer underflow, which can cause, to be regarded The pause of audio decoder.
It is understood that the packet drop of the video to be detected is obtained according to the sequence of message number, according to described Delay time obtains the jitter time delay situation of the video to be detected, after obtaining the packet drop and the jitter time delay situation The video quality of the video to be detected is can determine, the video situation of the video to be detected can be determined more accurately, The speed and efficiency of video network transmission quality fault detect are improved, lifts the accuracy of fault detect.
Further, the step S40 specifically includes following steps:
The packet lost in the video to be detected is searched according to the sequence of message number, according to the data of the loss Bag determines the packet drop of the video to be detected;
The chattering frequency and amplitude of the video to be detected are calculated according to the delay time, according to the chattering frequency and Amplitude determines the jitter time delay situation of the video to be detected;
The video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation.
It should be appreciated that each packet in the video to be detected can be searched according to the sequence of message number, respectively Packet has the different sequence of message number, and the number of loss can be quickly and easily found by the sequence of message number According to bag, the packet drop of the video to be detected is determined according to the packet of the loss, can be counted according to the delay time The chattering frequency and amplitude of the video to be detected are calculated, described to be detected regard can determine according to the chattering frequency and amplitude Whether the shake of frequency is serious, when the frequency and amplitude of the shake of the video to be detected are less than default dithering threshold accordingly, Can only be merely to be recorded and do not processed, when the frequency and amplitude of the shake of the video to be detected are more than or equal to Shake warning information, it is necessary to generate in time during default dithering threshold accordingly and record corresponding data, take corresponding processing behaviour Make, the video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation, certainly can be with It is the processing that other forms are carried out according to the packet drop and the jitter time delay situation, the present embodiment is not limited this System.
The present embodiment captures multiple packets of video to be detected by monitoring device by such scheme by network interface card, Each packet is parsed, obtains the sequence of message number and delay time of each packet, is obtained according to the sequence of message number The packet drop of the video to be detected, the jitter time delay situation of the video to be detected, root are obtained according to the delay time The video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation, monitoring device passes through to grabbing Take multiple packets of video to be detected to carry out packet loss and delay Analysis, video network transmission quality fault detect can not only be improved Speed and efficiency, and can quickly and easily assist technical work personnel or non-technical personnel tentatively to investigate video traffic Quality problems, the video quality detection method is convenient and swift, and applicability is wide.
Further, Fig. 2 is the schematic flow sheet of video quality detection method second embodiment of the present invention, as shown in Fig. 2 Video quality detection method second embodiment of the present invention is proposed based on first embodiment, in the present embodiment, the step S20 is replaced Step S21 and step S22 are changed to, specifically includes following steps:
Step S21, each packet is identified, obtains the protocol type of each packet.
It should be noted that the protocol type of each packet be each packet message data based on agreement Type, in general, live video data are generally based on the Internet Group Management Protocol (Internet Group Management Protocol, IGMP), and program request, review, the video data such as time shift is generally based on real time streaming transport protocol (Real Time Streaming Protocol, RTSP), by the way that each packet is identified, can obtain each packet pair The protocol type answered, and then facilitate the resolving of next step.
Step S22, each packet is parsed according to the protocol type, obtains the sequence of message of each packet Number and the delay time.
It is understood that each packet is parsed according to the protocol type, i.e., for according to the protocol type Find corresponding analysis mode, so it is corresponding each packet is fast and accurately parsed, obtain the described of each packet Sequence of message number and the delay time.
Further, the step S22 specifically includes following steps:
When the protocol type is IGMP agreements, using first packet as start point data bag, according to the starting point Packet obtains the sequence of message number of each packet and the delay time;
When the protocol type is RTSP agreements, target ip address and port numbers are obtained from each packet, according to institute State target ip address and port numbers find corresponding target data bag, using the target data bag as the start point data Bag, the sequence of message number of each packet and the delay time are obtained according to the start point data bag.
It should be appreciated that when the protocol type of each packet of the video to be detected is IGMP agreements, by first For individual packet as start point data bag, first packet is video flowing, receives the start point data bag and reads next The time of individual packet, the delay that the time difference that two packets receive is packet is counted, calculate obtain each number respectively According to the delay time of bag, and obtain the sequence of message number of each packet;When the association of each packet of the video to be detected When view type is RTSP agreements, target ip address and port numbers are obtained from each packet, are typically converged by parsing interaction Total installation packet voice can obtain the target ip address and port numbers, obtain the target ip address and port numbers afterwards can To find corresponding target data bag, using the target data bag as the start point data bag, according to the start point data Bag obtains the sequence of message number of each packet and the delay time.
It is understood that can fast and accurately it be obtained by carrying out parsing to each packet according to different protocol types The sequence of message number of each packet and the delay time are taken, detection time can be saved, improves video network transmission matter The speed and efficiency of fault detect are measured, certain video to be detected can also be in addition to IGMP agreements and RTSP agreements Agreement, the present embodiment are not any limitation as to this.
In the specific implementation, find protocol type corresponding to each packet of the video to be detected for IGMP agreements or After RTSP agreements, typically may further determine that the message in packet is belonged to based on transmission control protocol The message of (Transmission Control Protocol, TCP) is still based on UDP (User Datagram Protocol, UDP) message, when the message in packet for message based on TCP when, can be parsed according to default TCP message Instruction parses to corresponding packet, and then when the sequence of message number of the acquisition target data bag and the delay Between;When the message in packet is the message based on UDP, can be instructed according to default UDP packet parsings to corresponding data Bag is parsed, and then obtains the sequence of message number of the target data bag and the delay time.
The present embodiment, by the way that each packet is identified, obtains the protocol type of each packet, root by such scheme Each packet is parsed according to the protocol type, obtains the sequence of message number of each packet and the delay time, Parsing is oriented for each packet according to different protocol types, being capable of sequence of message corresponding to each packet of quick obtaining Number and delay time, time of video network transmission quality fault detect can be saved, further improve video network transmission matter The speed and efficiency of fault detect are measured, lifts the accuracy of fault detect, makes video quality detection more convenient.
Further, Fig. 3 is the schematic flow sheet of video quality detection method 3rd embodiment of the present invention, as shown in figure 3, Video quality detection method 3rd embodiment of the present invention is proposed based on first embodiment, in the present embodiment, the step S30 it Afterwards, the video quality detection is further comprising the steps of:
Step S40, the video quality of the video to be detected is shown in default display window.
It should be noted that the default display window is to be set up in display device for showing the video to be detected Video quality display window, the display device can be that television display screen or single display are used for The broadcasting situation of monitoring current video in real time, can also be the display screen that monitoring device carries, can also be mobile terminal certainly Display screen or other there is the display device of display function, the present embodiment is not any limitation as to this;By the video to be detected Video quality shown in the default display window, can be shown in the form of clear data code or It is shown in the form of analysis report, can also be and be shown otherwise certainly, the present embodiment is not limited this System.
It is understood that the video quality of the video to be detected is shown in default display window, can be effective Ancillary staff carries out the quality problems of preliminary investigation video traffic and searches corresponding failure, naturally it is also possible to is to set phase The default treatment mechanism answered, when running into corresponding failure, corresponding processing mode is taken in time and then ensures video playback just Often operation, by the way that the video quality of the video to be detected is shown in default display window, analysis video industry can be shortened The analysis time for play quality problem of being engaged in, the speed and efficiency of video network transmission quality fault detect are improved, improves work Efficiency.
Correspondingly, before the step S40, the video quality detection method is further comprising the steps of:
Step S401, receive and create display window instruction, according to the establishment display window instruction in current display interface It is middle to create the default display window.
It should be noted that the establishment display window instruction, can be when the interface shape for monitoring the monitoring device When state or monitoring programme are active, the instruction or the establishment of reception external signal generation that automatically generate are shown Window instructs, for example, the establishment display window that user sends infrared signal control generation by remote control instructs, certainly can be with It is the establishment display window instruction generated by other means, the present embodiment is not any limitation as to this.
Step S402, the default display window is shown in predeterminable area according to predetermined display parameter.
It is understood that the default display is created in current display interface according to the establishment display window instruction After window, the default display window is shown that the predeterminable area is aobvious in predeterminable area according to predetermined display parameter The region for being used to show video quality in showing device, the predeterminable area can be the fixed value of acquiescence, i.e. default size area Domain or the flexible and changeable sizable region pre-set, the present embodiment are not any limitation as to this;It is described default The default display window is for being shown the parameter set, the predetermined display parameter by display parameters in predeterminable area Can be that the preset parameter of acquiescence or the parameter that can be adjusted flexibly, the present embodiment are not any limitation as to this.
Further, after the step S402, the video quality detection method is further comprising the steps of:
Step S403, moving window instruction is received, is moved the default display window according to moving window instruction To target location, so that the user checks the default display window on the target location.
It should be appreciated that the instruction for the movement default display window that the moving window instruction is an externally input, Can receive the instruction for the infrared signal generation that user is exported by remote control or by identifying user gesture or dynamic Make the instruction generated, naturally it is also possible to be the moving window instruction generated by other means, the present embodiment is not limited this System, after the moving window instruction is received, instructed according to the moving window and the default display window is moved to mesh Cursor position, so that the user checks the default display window on the target location, can be by the default display window Mouth is shown in the position for facilitating user to watch, and improves Consumer's Experience.
The present embodiment is created display window instruction by receiving, referred to according to the establishment display window by such scheme Order creates the default display window in current display interface, according to predetermined display parameter by the default display window pre- If being shown in region, moving window instruction is received, is instructed according to the moving window and the default display window is moved to mesh Cursor position, so that the user checks the default display window on the target location, receive and create display window instruction, The default display window is created in current display interface according to the establishment display window instruction, according to predetermined display parameter The default display window is shown in predeterminable area, by by the video quality of the video to be detected in default display window Shown in mouthful, the analysis time of analysis video traffic play quality problem can be shortened, improve video network transmission quality failure The speed and efficiency of detection, operating efficiency is improved, and can be by the default display window in the position for facilitating user to watch It has been shown that, improve Consumer's Experience.
Reference picture 4, Fig. 4 are the monitoring device structural representation for the hardware running environment that scheme of the embodiment of the present invention is related to.
As shown in figure 4, the monitoring device can include:Processor 1001, such as CPU, communication bus 1002, user's termination Mouth 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to realize that the connection between these components is led to Letter.User's end interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user End interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally include standard Wireline interface, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable deposit Reservoir (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of foregoing place Manage the storage device of device 1001.
It will be understood by those skilled in the art that the monitoring device structure shown in Fig. 4 is not formed to the monitoring device Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 4, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network Believe module, user terminal interface module and video quality detection program.
Monitoring device of the present invention calls the video quality stored in memory 1005 to detect program by processor 1001, and Perform following operate:
Monitoring device captures multiple packets of video to be detected by network interface card;
Each packet is parsed, obtains the sequence of message number and delay time of each packet;
The packet drop of the video to be detected is obtained according to the sequence of message number, institute is obtained according to the delay time The jitter time delay situation of video to be detected is stated, described to be detected regard is determined according to the packet drop and the jitter time delay situation The video quality of frequency.
Further, processor 1001 can call the video quality stored in memory 1005 to detect program, also perform Operate below:
Each packet is identified, obtains the protocol type of each packet;
Each packet is parsed according to the protocol type, obtains the sequence of message number of each packet and described Delay time.
Further, processor 1001 can call the video quality stored in memory 1005 to detect program, also perform Operate below:
When the protocol type is IGMP agreements, using first packet as start point data bag, according to the starting point Packet obtains the sequence of message number of each packet and the delay time;
When the protocol type is RTSP agreements, target ip address and port numbers are obtained from each packet, according to institute State target ip address and port numbers find corresponding target data bag, using the target data bag as the start point data Bag, the sequence of message number of each packet and the delay time are obtained according to the start point data bag.
Further, processor 1001 can call the video quality stored in memory 1005 to detect program, also perform Operate below:
The packet lost in the video to be detected is searched according to the sequence of message number, according to the data of the loss Bag determines the packet drop of the video to be detected;
The chattering frequency and amplitude of the video to be detected are calculated according to the delay time, according to the chattering frequency and Amplitude determines the jitter time delay situation of the video to be detected;
The video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation.
Further, processor 1001 can call the video quality stored in memory 1005 to detect program, also perform Operate below:
When the Interface status or monitoring programme that monitor the monitoring device are active, generation monitoring instruction;
Multiple packets of video to be detected are captured by the network interface card according to the monitoring instruction.
Further, processor 1001 can call the video quality stored in memory 1005 to detect program, also perform Operate below:
The video quality of the video to be detected is shown in default display window.
Further, processor 1001 can call the video quality stored in memory 1005 to detect program, also perform Operate below:
Receive and create display window instruction, according to the establishment display window instruction creates in current display interface Default display window;
The default display window is shown in predeterminable area according to predetermined display parameter.
Further, processor 1001 can call the video quality stored in memory 1005 to detect program, also perform Operate below:
Moving window instruction is received, is instructed according to the moving window and the default display window is moved to target position Put, so that the user checks the default display window on the target location.
The present embodiment captures multiple packets of video to be detected by monitoring device by such scheme by network interface card, Each packet is parsed, obtains the sequence of message number and delay time of each packet, is obtained according to the sequence of message number The packet drop of the video to be detected, the jitter time delay situation of the video to be detected, root are obtained according to the delay time The video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation, monitoring device passes through to grabbing Take multiple packets of video to be detected to carry out packet loss and delay Analysis, video network transmission quality fault detect can not only be improved Speed and efficiency, and can quickly and easily assist technical work personnel or non-technical personnel tentatively to investigate video traffic Quality problems, the video quality detection method is convenient and swift, and applicability is wide.
In addition, the embodiment of the present invention also proposes a kind of storage medium, video quality detection is stored with the storage medium Program, the video quality detection program realize following operation when being executed by processor:
Monitoring device captures multiple packets of video to be detected by network interface card;
Each packet is parsed, obtains the sequence of message number and delay time of each packet;
The packet drop of the video to be detected is obtained according to the sequence of message number, institute is obtained according to the delay time The jitter time delay situation of video to be detected is stated, described to be detected regard is determined according to the packet drop and the jitter time delay situation The video quality of frequency.
The present embodiment captures the multiple of video to be detected by monitoring device by such scheme, the present embodiment by network interface card Packet, each packet is parsed, the sequence of message number and delay time of each packet are obtained, according to the sequence of message The packet drop of the video to be detected number is obtained, the jitter time delay feelings of the video to be detected are obtained according to the delay time Condition, the video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation, and monitoring device is led to Cross and packet loss and delay Analysis are carried out to the multiple packets for capturing video to be detected, the event of video network transmission quality can not only be improved Hinder the speed and efficiency of detection, and can quickly and easily assist technical work personnel or non-technical personnel tentatively to investigate and regard Frequency quality of service problem, the video quality detection method is convenient and swift, and applicability is wide.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of video quality detection method, it is characterised in that the video quality detection method includes:
Monitoring device captures multiple packets of video to be detected by network interface card;
Each packet is parsed, obtains the sequence of message number and delay time of each packet;
The packet drop of the video to be detected is obtained according to the sequence of message number, is treated according to obtaining the delay time The jitter time delay situation of video is detected, the video to be detected is determined according to the packet drop and the jitter time delay situation Video quality.
2. video quality detection method as claimed in claim 1, it is characterised in that it is described that each packet is parsed, obtain The sequence of message number and delay time of each packet are taken, is specifically included:
Each packet is identified, obtains the protocol type of each packet;
Each packet is parsed according to the protocol type, obtains the sequence of message number of each packet and the delay Time.
3. video quality detection method as claimed in claim 2, it is characterised in that it is described according to the protocol type to each number Parsed according to bag, obtain the sequence of message number of each packet and the delay time, specifically include:
When the protocol type is IGMP agreements, using first packet as start point data bag, according to the start point data Bag obtains the sequence of message number of each packet and the delay time;
When the protocol type is RTSP agreements, target ip address and port numbers are obtained from each packet, according to the mesh Mark IP address and port numbers find corresponding target data bag, using the target data bag as the start point data bag, root The sequence of message number of each packet and the delay time are obtained according to the start point data bag.
4. video quality detection method as claimed in claim 1, it is characterised in that described to be obtained according to the sequence of message number The packet drop of the video to be detected, the jitter time delay situation of the video to be detected, root are obtained according to the delay time The video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation, is specifically included:
The packet lost in the video to be detected is searched according to the sequence of message number, it is true according to the packet of the loss The packet drop of the fixed video to be detected;
The chattering frequency and amplitude of the video to be detected are calculated according to the delay time, according to the chattering frequency and amplitude Determine the jitter time delay situation of the video to be detected;
The video quality of the video to be detected is determined according to the packet drop and the jitter time delay situation.
5. the video quality detection method as any one of claim 1-4, it is characterised in that the monitoring device passes through Network interface card captures multiple packets of video to be detected, specifically includes:
When the Interface status or monitoring programme that monitor the monitoring device are active, generation monitoring instruction;
Multiple packets of video to be detected are captured by the network interface card according to the monitoring instruction.
6. the video quality detection method as any one of claim 1-4, it is characterised in that described according to the message Sequence number obtains the packet drop of the video to be detected, and the shake that the video to be detected is obtained according to the delay time is prolonged When situation, after determining the video quality of the video to be detected according to the packet drop and the jitter time delay situation, institute Stating video quality detection method also includes:
The video quality of the video to be detected is shown in default display window.
7. video quality detection method as claimed in claim 6, it is characterised in that the video by the video to be detected Before quality is shown in default display window, the video quality detection method also includes:
Receive and create display window instruction, created according to the establishment display window instruction in current display interface described default Display window;
The default display window is shown in predeterminable area according to predetermined display parameter.
8. video quality detection method as claimed in claim 7, it is characterised in that described according to inciting somebody to action predetermined display parameter After default display window is shown in predeterminable area, the video quality detection method also includes:
Moving window instruction is received, is instructed according to the moving window and the default display window is moved to target location, with The user is set to check the default display window on the target location.
9. a kind of monitoring device, it is characterised in that the monitoring device includes:Memory, processor and it is stored in the storage On device and the video quality detection program that can run on the processor, video quality detection program be arranged for carrying out as The step of video quality detection method any one of claim 1 to 8.
10. a kind of storage medium, it is characterised in that video quality detection program, the video are stored with the storage medium The video quality detection method as any one of claim 1 to 8 is realized when quality testing program is executed by processor Step.
CN201711189349.4A 2017-11-24 2017-11-24 Video quality detection method, monitoring device and storage medium Pending CN107743228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711189349.4A CN107743228A (en) 2017-11-24 2017-11-24 Video quality detection method, monitoring device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711189349.4A CN107743228A (en) 2017-11-24 2017-11-24 Video quality detection method, monitoring device and storage medium

Publications (1)

Publication Number Publication Date
CN107743228A true CN107743228A (en) 2018-02-27

Family

ID=61239249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711189349.4A Pending CN107743228A (en) 2017-11-24 2017-11-24 Video quality detection method, monitoring device and storage medium

Country Status (1)

Country Link
CN (1) CN107743228A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005403A (en) * 2018-07-06 2018-12-14 烽火通信科技股份有限公司 The monitoring method and system of MPEG video transmission quality
CN109451348A (en) * 2018-10-29 2019-03-08 视联动力信息技术股份有限公司 A kind of video flow detection method and apparatus
CN109766282A (en) * 2019-01-31 2019-05-17 Oppo广东移动通信有限公司 A kind of Caton detection method, Caton detection device and terminal device
CN110913421A (en) * 2018-09-18 2020-03-24 大唐移动通信设备有限公司 Method and device for determining voice packet number
CN111131756A (en) * 2019-12-26 2020-05-08 视联动力信息技术股份有限公司 Anomaly detection method, device, equipment and medium based on video networking
CN113473111A (en) * 2021-05-29 2021-10-01 江苏网进科技股份有限公司 Method for detecting video blocking phenomenon based on rtsp protocol
CN113727192A (en) * 2020-06-19 2021-11-30 天翼智慧家庭科技有限公司 Method and system for collecting viewing behaviors
CN114640754A (en) * 2022-03-08 2022-06-17 京东科技信息技术有限公司 Video jitter detection method and device, computer equipment and storage medium
CN114697610A (en) * 2020-12-30 2022-07-01 成都鼎桥通信技术有限公司 Video transmission method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483559A (en) * 2008-01-07 2009-07-15 上海未来宽带技术及应用工程研究中心有限公司 Monitoring method for distributed IPTV service transmission quality
CN102064981A (en) * 2010-12-29 2011-05-18 中兴通讯股份有限公司 Bidirectional forwarding detection (BFD) method and system
CN103036707A (en) * 2012-11-27 2013-04-10 赛特斯网络科技(南京)有限责任公司 Portable diagnostic device of internet protocol television (IPTV) business service quality and diagnostic method of IPTV business service quality
EP3013012A1 (en) * 2014-10-21 2016-04-27 Alcatel Lucent Networking device and method for adapting quality of video bitstreaming over a network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483559A (en) * 2008-01-07 2009-07-15 上海未来宽带技术及应用工程研究中心有限公司 Monitoring method for distributed IPTV service transmission quality
CN102064981A (en) * 2010-12-29 2011-05-18 中兴通讯股份有限公司 Bidirectional forwarding detection (BFD) method and system
CN103036707A (en) * 2012-11-27 2013-04-10 赛特斯网络科技(南京)有限责任公司 Portable diagnostic device of internet protocol television (IPTV) business service quality and diagnostic method of IPTV business service quality
EP3013012A1 (en) * 2014-10-21 2016-04-27 Alcatel Lucent Networking device and method for adapting quality of video bitstreaming over a network

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005403A (en) * 2018-07-06 2018-12-14 烽火通信科技股份有限公司 The monitoring method and system of MPEG video transmission quality
CN110913421B (en) * 2018-09-18 2021-10-29 大唐移动通信设备有限公司 Method and device for determining voice packet number
CN110913421A (en) * 2018-09-18 2020-03-24 大唐移动通信设备有限公司 Method and device for determining voice packet number
CN109451348A (en) * 2018-10-29 2019-03-08 视联动力信息技术股份有限公司 A kind of video flow detection method and apparatus
CN109766282A (en) * 2019-01-31 2019-05-17 Oppo广东移动通信有限公司 A kind of Caton detection method, Caton detection device and terminal device
CN111131756A (en) * 2019-12-26 2020-05-08 视联动力信息技术股份有限公司 Anomaly detection method, device, equipment and medium based on video networking
CN111131756B (en) * 2019-12-26 2022-11-01 视联动力信息技术股份有限公司 Anomaly detection method, device, equipment and medium based on video network
CN113727192A (en) * 2020-06-19 2021-11-30 天翼智慧家庭科技有限公司 Method and system for collecting viewing behaviors
CN113727192B (en) * 2020-06-19 2023-09-12 天翼数字生活科技有限公司 Method and system for collecting viewing behaviors
CN114697610A (en) * 2020-12-30 2022-07-01 成都鼎桥通信技术有限公司 Video transmission method and electronic equipment
CN114697610B (en) * 2020-12-30 2023-08-18 成都鼎桥通信技术有限公司 Video transmission method and electronic equipment
CN113473111A (en) * 2021-05-29 2021-10-01 江苏网进科技股份有限公司 Method for detecting video blocking phenomenon based on rtsp protocol
CN114640754A (en) * 2022-03-08 2022-06-17 京东科技信息技术有限公司 Video jitter detection method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107743228A (en) Video quality detection method, monitoring device and storage medium
USRE49126E1 (en) Real-time adaptive processing of network data packets for analysis
Gutterman et al. Requet: Real-time qoe detection for encrypted youtube traffic
CN104488231B (en) Method, apparatus and system for selectively monitoring flow
US9088481B2 (en) Web transaction analysis
US9398347B2 (en) Systems and methods for measuring quality of experience for media streaming
US8494000B1 (en) Intelligent slicing of monitored network packets for storing
CN106656629B (en) Method for predicting streaming media playing quality
JP6743192B2 (en) Video service quality evaluation method and apparatus
CN103166808B (en) A monitoring method for IPTV service quality, Apparatus and system
CN114422451A (en) Network traffic identification method and related equipment
WO2020052110A1 (en) Service quality monitoring method, apparatus, and system
CN109936769B (en) Video jamming detection method, video jamming detection system, mobile terminal and storage device
KR101602189B1 (en) traffic analysis and network monitoring system by packet capturing of 10-giga bit data
CN104735473A (en) Video stream playing detection method and device
CN111200760A (en) Data processing method and device and electronic equipment
CN110061979B (en) Method and device for detecting business object
CN105491158A (en) HTTP content reduction method and HTTP content reduction system based on network data flow
CN102438182B (en) Method and device for analyzing video stream
CN109361546B (en) Program early warning method and device based on video network
CN111327964B (en) Method and device for positioning video playing pause
CN106412661B (en) Method and system for collecting network video playing information of smart television
CN106817619A (en) One kind identification video pause state, the method for improving OTT video quality monitoring accuracies
CN106549794A (en) A kind of mass monitoring system of OTT business, apparatus and method
CA2742038A1 (en) Systems and methods for measuring quality of experience for media streaming

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180227