CN108282491B - Method and device for evaluating plug flow quality - Google Patents

Method and device for evaluating plug flow quality Download PDF

Info

Publication number
CN108282491B
CN108282491B CN201810162515.XA CN201810162515A CN108282491B CN 108282491 B CN108282491 B CN 108282491B CN 201810162515 A CN201810162515 A CN 201810162515A CN 108282491 B CN108282491 B CN 108282491B
Authority
CN
China
Prior art keywords
audio
plug flow
video stream
flow quality
parameter
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.)
Active
Application number
CN201810162515.XA
Other languages
Chinese (zh)
Other versions
CN108282491A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810162515.XA priority Critical patent/CN108282491B/en
Publication of CN108282491A publication Critical patent/CN108282491A/en
Application granted granted Critical
Publication of CN108282491B publication Critical patent/CN108282491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention provides a method and a device for evaluating push stream quality, and belongs to the technical field of live broadcast. The method comprises the following steps: in the stream pushing process, sampling parameter values of audio and video stream characteristic parameters according to a preset time interval and sampling points; calculating the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters; calculating a characteristic discrete coefficient according to the mean square error and the mean value; and determining and outputting the parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm. The method and the device can improve the accuracy of estimating the plug flow quality.

Description

Method and device for evaluating plug flow quality
Technical Field
The invention relates to the technical field of live broadcasting, in particular to a method and a device for evaluating push stream quality.
Background
In the live video broadcasting of a show field and games, streaming refers to that a main broadcast transmits audio and video streams to a Content Delivery Network (CDN) server, and if data is lost in the streaming process and transmission is unstable, video quality is not clear, video is not smooth, and customer experience is affected. The plug flow quality reflects the direct seeding effect. It is therefore necessary to assess the quality of the plug flow.
In the prior art, technicians often observe the pause condition of a video at a playing end to determine the plug flow quality. Technical personnel watch the live video at a playing end, count the blocking times of the live video within a certain time, and indicate the quality of the plug flow according to the blocking times. The more the number of times of blockage is, the worse the plug flow quality is; the smaller the number of clicks, the better the plug flow quality.
However, the video on the playing side is not affected by the quality of the push stream alone, and the video on the playing side is blocked due to poor network environment of the playing side. Therefore, the accuracy of determining the quality of the plug flow is poor based on the prior art processing method.
Disclosure of Invention
The embodiment of the invention aims to provide a method for evaluating plug flow quality, which can directly evaluate the plug flow quality. The specific technical scheme is as follows:
in a first aspect, a method for evaluating plug flow quality is provided, the method comprising:
in the stream pushing process, sampling parameter values of audio and video stream characteristic parameters according to a preset time interval and sampling points;
calculating the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters;
calculating a characteristic discrete coefficient according to the mean square error and the mean value;
and determining and outputting the parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm.
Optionally, the determining and outputting a parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm includes:
calculating the product of the discrete coefficient and a preset adjusting coefficient to obtain the characteristic fluctuation rate of the audio/video stream;
determining a target parameter value of the plug flow quality parameter corresponding to the calculated audio and video stream characteristic fluctuation rate according to a pre-stored corresponding relation between the audio and video stream characteristic fluctuation rate and the plug flow quality parameter;
outputting the target parameter value of the plug flow quality parameter.
Optionally, the determining, according to a pre-stored correspondence between the characteristic fluctuation rate of the audio/video stream and the plug flow quality parameter, a target parameter value of the plug flow quality parameter corresponding to the calculated characteristic fluctuation rate of the audio/video stream includes:
and taking the calculated characteristic fluctuation rate of the audio and video stream as a target parameter value of the plug flow quality parameter.
Optionally, the determining, according to a pre-stored correspondence between the characteristic fluctuation rate of the audio/video stream and the plug flow quality parameter, a target parameter value of the plug flow quality parameter corresponding to the calculated characteristic fluctuation rate of the audio/video stream includes:
determining a preset value interval to which the characteristic fluctuation rate of the audio and video stream belongs;
and determining a target plug flow quality grade corresponding to the belonged preset value interval of the characteristic fluctuation rate of the audio and video stream according to the corresponding relation between the belonged preset value interval and the preset plug flow quality grade, and taking the target plug flow quality grade as a target parameter value of the plug flow quality parameter.
Optionally, the audio/video stream characteristic parameters include:
the characteristic parameter of the audio and video stream is a code rate or a frame rate.
In a second aspect, an apparatus for evaluating plug flow quality is provided, the apparatus comprising:
the data acquisition module is used for sampling parameter values of the audio and video stream characteristic parameters according to preset time intervals and sampling points in the stream pushing process;
the first calculation module is used for calculating the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters;
the second calculation module is used for calculating a characteristic discrete coefficient according to the mean square error and the mean value;
and the determination output module is used for determining and outputting the parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm.
Optionally, the determining and outputting module includes:
the first calculation unit is used for calculating the product of the discrete coefficient and a preset adjustment coefficient to obtain the characteristic fluctuation rate of the audio and video stream;
the first determining unit is used for determining a target parameter value of the plug flow quality parameter corresponding to the calculated audio and video stream characteristic fluctuation rate according to the corresponding relation between the pre-stored audio and video stream characteristic fluctuation rate and the plug flow quality parameter;
and the first output unit outputs the target parameter value of the plug flow quality parameter.
Optionally, the first determining unit is further configured to:
and taking the calculated characteristic fluctuation rate of the audio and video stream as a target parameter value of the plug flow quality parameter.
Optionally, the first determining unit is further configured to:
determining a preset value interval to which the characteristic fluctuation rate of the audio and video stream belongs;
and determining a target plug flow quality grade corresponding to the belonged preset value interval of the characteristic fluctuation rate of the audio and video stream according to the corresponding relation between the belonged preset value interval and the preset plug flow quality grade, and taking the target plug flow quality grade as a target parameter value of the plug flow quality parameter.
Optionally, the audio/video stream characteristic parameters further include:
the characteristic parameter of the audio and video stream is a code rate or a frame rate.
In a third aspect, a computer-readable storage medium is provided, having stored therein a computer program which, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
According to the method provided by the embodiment of the invention, in the stream pushing process, the characteristic parameters of the audio and video stream are sampled according to the preset time interval and the number of sampling points, so that a group of characteristic numerical values of the audio and video stream are obtained; calculating the mean square error of the group of audio and video stream characteristic values; calculating the average value of the group of audio and video stream values; calculating the mean square error to be divided by the mean value to obtain an audio and video stream characteristic discrete coefficient; and determining and outputting the parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm. The method only evaluates the plug flow quality according to the characteristic parameters of the audio and video flow in the plug flow process, solves the problem that the evaluation of the plug flow quality in the prior art is influenced by the reason that the network environment of the playing end is poor and the like, and improves the accuracy of evaluating the plug flow quality.
Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a flow chart of a method for evaluating plug flow quality according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining and outputting a parameter value of a plug flow quality parameter according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method of determining a push flow quality parameter in accordance with an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for evaluating plug flow quality according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In the prior art, technicians often determine the quality of the plug flow by observing the pause condition of the video at the playing end. Technical personnel watch the live video at a playing end, count the blocking times of the live video within a certain time, and indicate the quality of the plug flow according to the blocking times. The more the number of times of blockage is, the worse the plug flow quality is; the smaller the number of clicks, the better the plug flow quality. However, the video on the playing side is not only affected by the quality of the push stream, but also suffers from poor network environment on the playing side. Therefore, the accuracy of determining the quality of the plug flow is poor based on the prior art processing method.
Based on the above considerations, the present invention provides a method, an apparatus, an electronic device and a computer-readable storage medium for evaluating push flow quality. The method can be applied to a terminal capable of acquiring the characteristic parameters of the audio and video stream in the stream pushing process, and comprises the steps that the terminal can sample the parameter values of the characteristic parameters of the audio and video stream according to the preset time interval and the number of sampling points in the stream pushing process; the terminal can calculate the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters; the terminal can calculate a characteristic discrete coefficient according to the mean square error and the mean value; the terminal can determine and output the parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm. By using the method provided by the embodiment of the invention, the plug flow quality can be evaluated based on the characteristic parameters of the audio/video flow in the plug flow process, and the method is not influenced by the reasons of poor network environment of a playing end and the like. Compared with the prior art that the plug flow quality is fed back through the video blocking condition of the playing end influenced by the reasons of poor network environment of the playing end and the like, the method provided by the embodiment of the invention can improve the accuracy of evaluating the plug flow quality.
The above method is described below with specific examples.
Referring to fig. 1, fig. 1 is a flowchart of a method for evaluating plug flow quality according to an embodiment of the present invention, including the following steps:
step 101, in the plug flow process, according to a preset time interval and the number of sampling points, sampling a parameter value of an audio/video stream characteristic parameter.
Specifically, the characteristic parameter of the audio/video stream is a code rate or a frame rate.
In one implementation mode, in the stream pushing process, a terminal samples parameter values of audio and video stream characteristic parameters according to preset time intervals and sampling points to obtain a group of parameter values { x ] of time-continuous audio and video stream characteristic parameters1,x1,x1,……,xnN is the number of preset sampling points. Illustratively, the characteristic parameter of the audio/video stream is a code rate, the code rate is sampled according to a preset time interval and a sampling point number, and if the time interval is 5 seconds, the sampling point number is 10, and the sampling data of the code rate is {5,6,4,3,5,6,5,5,7,5}, then the parameter value of the sampled characteristic parameter of the audio/video stream is {5,6,4,3,5,6,5,5,7,5 }.
And 102, calculating the mean square deviation and the mean value of the acquired parameter values of the audio and video stream characteristic parameters.
In one implementation mode, the terminal calculates the mean value of the parameter values of the audio/video stream characteristic parameters according to a formula (1).
Figure BDA0001583433310000051
Wherein mu is the average value of the parameter values of the characteristic parameters of the audio and video stream, N is the number of sampling points, xiThe parameter values of the characteristic parameters of the sampled audio and video stream are obtained.
And the terminal calculates the mean square error of the parameter values of the audio and video stream characteristic parameters through a formula (2) according to the parameter values of the sampled audio and video stream characteristic parameters and the mean value of the parameter values of the audio and video stream characteristic parameters.
Figure BDA0001583433310000061
Wherein, sigma is the mean square error of the parameter value of the audio and video stream characteristic parameter, N is the number of points, mu is the mean value of the parameter value of the audio and video stream characteristic parameter, and xiThe parameter values of the characteristic parameters of the sampled audio and video stream are obtained.
For example, assuming that the characteristic parameter of the audio/video stream is a code rate, and the parameter value of the sample is {5,6,4,3,5,6,5,5,7,5}, then the mean value of the parameter values of the characteristic parameter of the audio/video stream calculated according to the formula (1) is 5.1, and the mean square error of the parameter value of the characteristic parameter of the audio/video stream calculated according to the formula (2) is 1.044.
And 103, calculating a characteristic discrete coefficient according to the mean square error and the mean value.
In one implementation, the terminal calculates the mean square error of the parameter values of the audio/video stream characteristic parameters divided by the mean value of the parameter values of the audio/video stream characteristic parameters, and the obtained result is the characteristic dispersion coefficient. For example, assuming that the mean square error of the parameter values of the audio/video stream characteristic parameter is 1.044 and the mean value of the parameter values of the audio/video stream characteristic parameter is 5.1, the characteristic dispersion coefficient is the result of dividing 1.04 by 5.1, and the characteristic dispersion coefficient is 0.2.
And 104, determining and outputting parameter values of the plug flow quality parameters according to the characteristic discrete coefficients and a preset plug flow quality algorithm.
In one implementation mode, the terminal calculates and determines a parameter value of the plug flow quality parameter by using a preset plug flow quality algorithm according to the characteristic discrete coefficient, and outputs the determined parameter value of the plug flow quality parameter. For example, the predetermined plug flow quality algorithm may be that the characteristic discrete coefficient is multiplied by 100 to represent a plug flow quality parameter, and assuming that the discrete coefficient is 0.2, the parameter value of the plug flow quality parameter is the result of multiplying 100 by 0.2, and the parameter value of the plug flow quality parameter is 20. Illustratively, the terminal may send the parameter value 20 of the push flow quality parameter to the user by means of a short message.
Therefore, by using the method provided by the embodiment of the invention, the terminal can determine the plug flow quality based on the audio and video stream characteristic parameters, the obtained result is not influenced by the network environment of the playing end, and the accuracy of evaluating the plug flow quality can be improved.
Specifically, referring to fig. 2, fig. 2 is a flowchart of a method for determining and outputting a parameter value of a plug flow quality parameter according to an embodiment of the present invention, where the method includes the following steps:
and step 201, calculating the product of the discrete coefficient and a preset adjustment coefficient to obtain the characteristic fluctuation rate of the audio and video stream.
In one implementation, the terminal calculates a product of the discrete coefficient and a preset adjustment coefficient, and uses a calculation result as a characteristic fluctuation rate of the audio/video stream, where the preset adjustment coefficient is a non-zero constant. For example, if the discrete coefficient is 0.2 and the preset adjustment coefficient is 100, the characteristic fluctuation rate of the audio/video stream is a result of multiplying 0.2 by 100, and the characteristic fluctuation rate of the audio/video stream is 20.
Step 202, determining a target parameter value of the plug flow quality parameter corresponding to the calculated audio and video stream characteristic fluctuation rate according to a pre-stored corresponding relation between the audio and video stream characteristic fluctuation rate and the plug flow quality parameter.
In one implementation mode, the terminal determines a target parameter of the plug flow quality parameter according to the calculated audio and video characteristic fluctuation rate and a pre-stored corresponding relation between the audio and video stream characteristic fluctuation rate and the plug flow quality parameter.
And 203, outputting the target parameter value of the plug flow quality parameter.
In one implementation, the terminal may output the target parameter value of the push stream quality parameter through a text popup or a voice mode, or may notify the user through an email or a short message.
Therefore, by using the method provided by the embodiment of the invention, the terminal can determine the plug flow quality based on the relation between the characteristic fluctuation rate of the audio and video stream and the preset plug flow quality. Because the characteristic fluctuation rate of the audio and video stream is a specific numerical value rather than a value range, the plug flow quality is determined by the characteristic fluctuation rate of the audio and video stream with the specific numerical value, and the accuracy of evaluating the plug flow quality can be improved.
Specifically, the terminal may use the calculated characteristic fluctuation rate of the audio/video stream as a target parameter value of the plug flow quality parameter.
In one implementation, the terminal may use the calculated characteristic fluctuation rate of the audio/video stream as a target parameter value of the plug flow quality parameter. Illustratively, assuming that the characteristic fluctuation rate of the audio/video stream is 20, the target parameter value of the plug flow quality parameter is also 20.
Therefore, by using the method provided by the embodiment of the invention, the terminal can directly use the characteristic baud rate of the audio/video stream to represent the plug flow quality parameter, the smaller the characteristic baud rate of the audio/video stream is, the better the plug flow quality is, the larger the characteristic baud rate of the audio/video stream is, the worse the plug flow quality is, and the plug flow quality is compared by using the characteristic baud rate value of the audio/video stream, so that the method is simple and convenient, and is convenient for different plug flow devices to compare the plug flow quality.
Specifically, referring to fig. 3, fig. 3 is a flowchart of a method for determining a plug flow quality parameter according to an embodiment of the present invention, including the following steps:
step 301, determining a preset value range to which the characteristic fluctuation rate of the audio/video stream belongs;
in one implementation mode, the terminal divides different intervals between the maximum value and the minimum value which are possibly taken by the characteristic fluctuation rate of the audio and video stream, the intervals are called as preset value intervals, and the preset value interval to which the characteristic fluctuation rate of the current audio and video stream belongs is determined by comparing the characteristic fluctuation rate of the current audio and video stream with the upper limit value and the lower limit value of the corresponding preset interval. For example, assuming that the maximum value and the minimum value that may be obtained by the characteristic fluctuation rate of the audio/video stream are 100 and 0, respectively, the preset value interval is divided into four intervals, where the four intervals are [0,25 ], [25,50 ], [50,75), [75,100], and assuming that the characteristic fluctuation rate of the audio/video stream is 20, the interval to which the current characteristic fluctuation rate of the audio/video stream is 20 is [0,25 ].
Step 302, determining a target plug flow quality grade corresponding to the belonging preset value section of the audio/video stream characteristic fluctuation rate according to the corresponding relation between the belonging preset value section and the preset plug flow quality grade, and taking the target plug flow quality grade as a target parameter value of the plug flow quality parameter.
In one implementation mode, each preset value interval is preset by the terminal to correspond to a plug flow quality grade, and the plug flow quality grade can be determined according to the preset value interval to which the current audio and video characteristic fluctuation rate belongs. And the plug flow quality grade is a target parameter value of the plug flow quality parameter. For example, assuming that the preset value intervals [0,25 ], [25,50 ], [50,75 ]) and [75,100] respectively correspond to level intervals of good, medium and poor, the plug flow quality level with the audio/video stream characteristic fluctuation rate of 20 is good, that is, the target parameter value of the plug flow quality parameter is good.
Therefore, by using the method provided by the embodiment of the invention, the terminal can directly represent the plug flow quality by different grades, and a user can conveniently and clearly know the quality of the plug flow quality.
Based on the same technical concept, corresponding to the embodiment of the method shown in fig. 1, the embodiment of the present invention further provides an apparatus for evaluating plug flow quality, as shown in fig. 2, the apparatus includes:
the data acquisition module 401 is configured to sample a parameter value of an audio/video stream characteristic parameter according to a preset time interval and a sampling point number in a stream pushing process;
a first calculating module 402, configured to calculate a mean square error and a mean value of the acquired parameter values of the audio/video stream characteristic parameters;
a second calculating module 403, configured to calculate a characteristic discrete coefficient according to the mean square error and the mean;
and a determining and outputting module 404, configured to determine and output a parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm.
In an embodiment of the present invention, the determination output module includes:
the first calculation unit is used for calculating the product of the discrete coefficient and a preset adjustment coefficient to obtain the characteristic fluctuation rate of the audio and video stream;
the first determining unit is used for determining a target parameter value of the plug flow quality parameter corresponding to the calculated audio and video stream characteristic fluctuation rate according to the corresponding relation between the pre-stored audio and video stream characteristic fluctuation rate and the plug flow quality parameter;
and the first output unit outputs the target parameter value of the plug flow quality parameter.
In the embodiment of the present invention, the first determining unit is specifically configured to use the calculated fluctuation rate of the audio/video stream characteristic as a target parameter value of the plug flow quality parameter.
In the embodiment of the present invention, the first determining unit is further specifically configured to determine a preset value range to which the characteristic fluctuation rate of the audio/video stream belongs. And determining a target plug flow quality grade corresponding to the belonged preset value interval of the characteristic fluctuation rate of the audio and video stream according to the corresponding relation between the belonged preset value interval and the preset plug flow quality grade, and taking the target plug flow quality grade as a target parameter value of the plug flow quality parameter.
In the embodiment of the present invention, the audio/video stream characteristic parameters include:
the characteristic parameter of the audio and video stream is a code rate or a frame rate.
The embodiment of the present invention further provides an electronic device, as shown in fig. 5, including a processor 501, a communication interface 502, a memory 503 and a communication bus 504, where the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504;
a memory 503 for storing a computer program;
the processor 501 is configured to implement the method for evaluating the quality of the plug flow according to the embodiment of the present invention when executing the program stored in the memory 503.
Specifically, the method for evaluating the plug flow quality includes:
in the stream pushing process, sampling parameter values of audio and video stream characteristic parameters according to a preset time interval and sampling points;
calculating the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters;
calculating a characteristic discrete coefficient according to the mean square error and the mean value;
and determining and outputting the parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm.
The communication bus 504 of the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 503 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory 503 may also be at least one storage device located remotely from the aforementioned processor.
The Processor 501 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
The electronic equipment provided by the embodiment of the invention can determine the plug flow quality based on the characteristic parameters of the audio and video stream when evaluating the plug flow quality, the obtained result is not influenced by the network environment of the playing end, and the accuracy of evaluating the plug flow quality can be improved.
In yet another embodiment of the present invention, a computer-readable storage medium is provided, which has instructions stored therein, and when the instructions are executed on a computer, the computer is caused to execute the method for evaluating the quality of the plug flow described in any of the above embodiments.
Specifically, the method for evaluating the plug flow quality includes:
in the stream pushing process, sampling parameter values of audio and video stream characteristic parameters according to a preset time interval and sampling points;
calculating the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters;
calculating a characteristic discrete coefficient according to the mean square error and the mean value;
and determining and outputting the parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm.
In yet another embodiment, a computer program product containing instructions is provided, which when run on a computer, causes the computer to perform the method for estimating plug flow quality as described in any of the above embodiments.
Specifically, the method for evaluating the plug flow quality includes:
in the stream pushing process, sampling parameter values of audio and video stream characteristic parameters according to a preset time interval and sampling points;
calculating the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters;
calculating a characteristic discrete coefficient according to the mean square error and the mean value;
and determining and outputting the parameter value of the plug flow quality parameter according to the characteristic discrete coefficient and a preset plug flow quality algorithm.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

Claims (9)

1. A method of assessing push flow quality, the method comprising:
in the stream pushing process, sampling parameter values of audio and video stream characteristic parameters according to a preset time interval and sampling points;
calculating the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters;
calculating a characteristic discrete coefficient according to the mean square error and the mean value;
calculating the product of the discrete coefficient and a preset adjusting coefficient to obtain the characteristic fluctuation rate of the audio/video stream;
determining a target parameter value of the plug flow quality parameter corresponding to the calculated audio and video stream characteristic fluctuation rate according to a pre-stored corresponding relation between the audio and video stream characteristic fluctuation rate and the plug flow quality parameter;
outputting the target parameter value of the plug flow quality parameter.
2. The method according to claim 1, wherein the determining the target parameter value of the plug flow quality parameter corresponding to the calculated audio/video stream characteristic fluctuation rate according to the pre-stored corresponding relationship between the audio/video stream characteristic fluctuation rate and the plug flow quality parameter comprises:
and taking the calculated characteristic fluctuation rate of the audio and video stream as a target parameter value of the plug flow quality parameter.
3. The method according to claim 1, wherein the determining the target parameter value of the plug flow quality parameter corresponding to the calculated audio/video stream characteristic fluctuation rate according to the pre-stored corresponding relationship between the audio/video stream characteristic fluctuation rate and the plug flow quality parameter comprises:
determining a preset value interval to which the characteristic fluctuation rate of the audio and video stream belongs;
and determining a target plug flow quality grade corresponding to the belonged preset value interval of the characteristic fluctuation rate of the audio and video stream according to the corresponding relation between the belonged preset value interval and the preset plug flow quality grade, and taking the target plug flow quality grade as a target parameter value of the plug flow quality parameter.
4. The method according to claim 1, wherein the audio-video stream feature parameters include:
the characteristic parameter of the audio and video stream is a code rate or a frame rate.
5. An apparatus for assessing plug flow quality, the apparatus comprising:
the data acquisition module is used for sampling parameter values of the audio and video stream characteristic parameters according to preset time intervals and sampling points in the stream pushing process;
the first calculation module is used for calculating the mean square error and the mean value of the acquired parameter values of the audio and video stream characteristic parameters;
the second calculation module is used for calculating a characteristic discrete coefficient according to the mean square error and the mean value;
a determination output module comprising:
the first calculation unit is used for calculating the product of the discrete coefficient and a preset adjustment coefficient to obtain the characteristic fluctuation rate of the audio and video stream;
the first determining unit is used for determining a target parameter value of the plug flow quality parameter corresponding to the calculated audio and video stream characteristic fluctuation rate according to the corresponding relation between the pre-stored audio and video stream characteristic fluctuation rate and the plug flow quality parameter;
and the first output unit outputs the target parameter value of the plug flow quality parameter.
6. The apparatus of claim 5, wherein the first determining unit is further configured to:
and taking the calculated characteristic fluctuation rate of the audio and video stream as a target parameter value of the plug flow quality parameter.
7. The apparatus of claim 5, wherein the first determining unit is further configured to:
determining a preset value interval to which the characteristic fluctuation rate of the audio and video stream belongs;
and determining a target plug flow quality grade corresponding to the belonged preset value interval of the characteristic fluctuation rate of the audio and video stream according to the corresponding relation between the belonged preset value interval and the preset plug flow quality grade, and taking the target plug flow quality grade as a target parameter value of the plug flow quality parameter.
8. The apparatus of claim 5, wherein the audio-video stream feature parameters include:
the characteristic parameter of the audio and video stream is a code rate or a frame rate.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 4 when executing a program stored in the memory.
CN201810162515.XA 2018-02-27 2018-02-27 Method and device for evaluating plug flow quality Active CN108282491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810162515.XA CN108282491B (en) 2018-02-27 2018-02-27 Method and device for evaluating plug flow quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810162515.XA CN108282491B (en) 2018-02-27 2018-02-27 Method and device for evaluating plug flow quality

Publications (2)

Publication Number Publication Date
CN108282491A CN108282491A (en) 2018-07-13
CN108282491B true CN108282491B (en) 2020-10-02

Family

ID=62808702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810162515.XA Active CN108282491B (en) 2018-02-27 2018-02-27 Method and device for evaluating plug flow quality

Country Status (1)

Country Link
CN (1) CN108282491B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140296080A1 (en) * 2013-03-14 2014-10-02 Life Technologies Corporation Methods, Systems, and Computer Readable Media for Evaluating Variant Likelihood
CN105144711B (en) * 2014-01-14 2017-10-10 华为技术有限公司 A kind of method and relevant device for assessing video quality
CN107026856A (en) * 2017-03-30 2017-08-08 上海七牛信息技术有限公司 The optimization method and optimization system of a kind of network plug-flow quality

Also Published As

Publication number Publication date
CN108282491A (en) 2018-07-13

Similar Documents

Publication Publication Date Title
CN108062409B (en) Live video abstract generation method and device and electronic equipment
US10997229B2 (en) Content recommendation system
US9960984B2 (en) Device performance monitoring
US20200259723A1 (en) Network Quality Determining Method and Apparatus and Storage Medium
US20130188482A1 (en) Adaptive buffer control
CN109685144B (en) Method and device for evaluating video model and electronic equipment
CN110213653B (en) Method and device for playing video
EP3479579A1 (en) Quality estimation of adaptive multimedia streaming
US9438500B2 (en) Transactional integrity assessment
CN112152833B (en) Network abnormity alarm method and device and electronic equipment
CN108282491B (en) Method and device for evaluating plug flow quality
CN115001747A (en) Device control method, device, electronic device and storage medium
US20190089795A1 (en) Communication analysis device, communication analysis method, and program recording medium
CN111079061A (en) Data processing method and electronic equipment
CN114338516B (en) Traffic forwarding and policy determining method and device
JP4634339B2 (en) User experience quality estimation apparatus, method, and program
CN111683143B (en) Message pushing method and device, electronic equipment and computer readable storage medium
CN111669656A (en) Method and device for determining wonderful degree of video clip
CN114650431A (en) Live broadcast room heat degree determination method and device, electronic equipment and storage medium
CN114189715A (en) Download address switching method and related equipment
CN110868622A (en) Canton analysis method and device, electronic equipment and storage medium
Cotanis Performance evaluation of objective QoE models for mobile voice and video-audio services
CN112115298B (en) Video recommendation method and device, electronic equipment and storage medium
CN109600639A (en) User's similarity calculating method, device, equipment and medium based on user preference
US11757734B1 (en) Quality of experience (QoE) scoring in a service provider network

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
GR01 Patent grant
GR01 Patent grant