CN108810522A - A kind of appraisal procedure and device of stream medium data - Google Patents
A kind of appraisal procedure and device of stream medium data Download PDFInfo
- Publication number
- CN108810522A CN108810522A CN201710281530.1A CN201710281530A CN108810522A CN 108810522 A CN108810522 A CN 108810522A CN 201710281530 A CN201710281530 A CN 201710281530A CN 108810522 A CN108810522 A CN 108810522A
- Authority
- CN
- China
- Prior art keywords
- time
- stream medium
- cycle time
- medium data
- target interval
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of appraisal procedure and device of stream medium data, and this method includes:Received in the calculating cycle time/send stream medium data the target interval time, the target interval time be same type data frame lasting reproduction time;According to the cycle time and corresponding target interval time, the fluency of the stream medium data is assessed.Due in the transmission process of stream medium data under flow, received in cycle time/data frame of stream medium data that sends continues reproduction time and cycle time is almost the same, so as to according to received in cycle time/send stream medium data target interval time and cycle time relationship, the assessment of the fluency of stream medium data is carried out, therefore improves the accuracy of the fluency assessment of stream medium data.
Description
Technical field
The present invention relates to the appraisal procedures and device of field of communication technology more particularly to a kind of stream medium data.
Background technology
It is well known that fluency is an important indicator for influencing user experience, the fluency of Streaming Media how is assessed,
Become a problem.The method of existing industry assessment fluency, mainly uses objective quality assessment system to carry out objective comment
Estimate, usually require to be compared with the video frame for playing end using complete original video frame in objective quality assessment system,
To obtain the fluency of video playing;Due to that in net cast field, can not obtain original video frame, therefore can not will be objective
Appearance quality evaluation system is applied in live streaming field.In existing net cast field, usually by eye-observation, i.e., to video
Subjective assessment is carried out, this mode has stronger subjectivity, accuracy relatively low.
Invention content
The embodiment of the present invention provides a kind of appraisal procedure and device of stream medium data, accurate to solve stream medium data assessment
The relatively low problem of exactness.
In a first aspect, an embodiment of the present invention provides a kind of appraisal procedures of stream medium data, including:
Received in the calculating cycle time/target interval time of stream medium data for sending, when the target interval
Between be same type data frame lasting reproduction time;
According to the cycle time and corresponding target interval time, the fluency of the stream medium data is commented
Estimate.
Second aspect, the embodiment of the present invention additionally provide a kind of apparatus for evaluating of stream medium data, which is characterized in that packet
It includes:
Computing module, for received in the calculating cycle time/send stream medium data the target interval time, institute
State the lasting reproduction time that the target interval time is same type data frame;
Processing module is used for according to the cycle time and corresponding target interval time, to the stream medium data
Fluency is assessed.
In this way, in the embodiment of the present invention, by received in the calculating cycle time/target of stream medium data that sends
Interval time, the target interval time are the lasting reproduction time of same type data frame;According to the cycle time with it is right
The target interval time answered, the fluency of the stream medium data is assessed.Due to the stream medium data under flow
Transmission process in, received in cycle time/data frame of stream medium data that sends continues reproduction time and when the period
Between it is almost the same, so as to according to received in cycle time/send stream medium data the target interval time with week
The relationship of time phase, carries out the assessment of the fluency of stream medium data, therefore improve the fluency assessment of stream medium data
Accuracy.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without having to pay creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the appraisal procedure of stream medium data provided in an embodiment of the present invention;
Fig. 2 is the structure chart of the stream medium data transmission system of application of the embodiment of the present invention;
Fig. 3 is the flow chart of the appraisal procedure for the stream medium data that further embodiment of this invention provides;
Fig. 4 be the stream medium data that further embodiment of this invention provides appraisal procedure in cycle time and data frame when
Sequence schematic diagram;
Fig. 5 is the flow chart of the appraisal procedure for the stream medium data that further embodiment of this invention provides;
Fig. 6 be the stream medium data that further embodiment of this invention provides appraisal procedure in reaction time time change the
The schematic diagram of one oscillogram;
Fig. 7 be further embodiment of this invention provide stream medium data appraisal procedure in react target interval time change
The second oscillogram schematic diagram;
The structure chart of the apparatus for evaluating of Fig. 8 stream medium datas provided in an embodiment of the present invention;
The structure chart of the apparatus for evaluating for the stream medium data that Fig. 9 further embodiment of this invention provides;
The structure chart of the apparatus for evaluating for the stream medium data that Figure 10 further embodiment of this invention provides;
The structure chart of the apparatus for evaluating for the stream medium data that Figure 11 further embodiment of this invention provides;
The structure chart of the apparatus for evaluating for the stream medium data that Figure 12 further embodiment of this invention provides;
The structure chart of Figure 13 electronic equipments provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of appraisal procedure of stream medium data, Streaming Media number provided in an embodiment of the present invention
According to appraisal procedure can apply in network side equipment, can also apply in the user terminal.As shown in Figure 1, the Streaming Media
The appraisal procedure of data includes:
Step 101, received in the calculating cycle time/send stream medium data the target interval time, the mesh
Mark the lasting reproduction time that interval time is same type data frame.
The appraisal procedure of stream medium data provided in an embodiment of the present invention be mainly used in the transmission of streaming media data into
Row monitoring and evaluation, for example, can be used for being monitored assessment to the stream medium data that audio and video are broadcast live, it can also be to non-live streaming
The stream medium data of online audio and video playing is monitored assessment.The stream medium data being broadcast live with audio and video in following embodiment
For be described in detail.
Specifically, with reference to Fig. 2, during the transmission of flow media data of audio and video live streaming, first (i.e. by first terminal 01
The plug-flow end of stream medium data) real-time recording audio and video, generate stream medium data;Then the stream medium data of generation is uploaded to
Server 02, server 02 will be pushed to by CDN (Content DeliveryNetwork, content distributing network) or directly
Second terminal 03 (i.e. the broadcasting end of stream medium data) carries out the broadcasting of stream medium data.
Wherein, during the transmission of flow media data of audio and video live streaming, received in the above-mentioned calculating cycle time/hair
The target interval time of the stream medium data sent may include any one following situation:
During the first situation, calculating first terminal 01 send stream medium data to server 02, in cycle time
The target interval time of the stream medium data of transmission;
During the second situation, calculation server 02 receive the stream medium data that first terminal 01 is sent, when the period
The target interval time of the interior stream medium data received;
During the third situation, calculation server 02 send stream medium data to second terminal 03, in cycle time
The target interval time of the stream medium data of transmission;
4th kind of situation calculates during second terminal 03 receives the stream medium data that server 02 is sent, when the period
The target cycle time of the interior stream medium data received.
Wherein, the interval time of above-mentioned cycle time can be configured according to actual needs, not make herein further
It limits, such as can be 5 seconds.
Optionally, it for the different target interval time, can be calculated in corresponding terminal or server 02,
For example, the case where data frame is sent in each cycle time can be recorded by first terminal 01 for the first above-mentioned situation, and
The calculating that the target interval time is carried out on first terminal 01, can be by server 02 for the second situation and the third situation
It records the reception of data frame in each cycle time or sends situation, and carry out the meter of target interval time on server 02
It calculates, the reception condition of data frame in each cycle time can be recorded by second terminal 03 for the 4th kind of situation, and second
The calculating of target interval time is carried out in terminal 03.Further, it is also possible to be unifiedly calculated by server 02, to reduce the negative of terminal
It carries, for example, being directed to the first above-mentioned situation and the 4th kind of situation, can will be recorded by first terminal 01 and second terminal 03 corresponding
Data be reported to server 02, then calculated by server 02.
It should be understood that each data frame all has corresponding reproduction time, the above-mentioned target interval time is same type data
The lasting reproduction time of frame, refer to the reproduction time of first frame data frame and last frame data frame in the cycle time reproduction time it
Between interval time.The reproduction time refers to the time value relative to the initial play time.Wherein, above-mentioned data frame includes audio
Frame and/or video frame, when having audio frame and video frame simultaneously in the same period time, audio frame and video frame exist pair
Answer the target interval time.
Step 102, according to the cycle time and corresponding target interval time, to the fluency of the stream medium data
It is assessed.
In the step, according to cycle time and corresponding target interval time, the fluency of streaming media data is commented
The mode estimated can be configured according to actual needs.It such as in the present embodiment, can be according to cycle time and corresponding mesh
The size for marking the absolute value of the difference between interval time, carries out the assessment of fluency;Can also according to cycle time with it is corresponding
The target interval time ratio size, carry out the assessment of fluency.It should be understood that the fluency for stream medium data is commented
The assessment result estimated may be used advance grade classification and carry out ranking, can also be provided using percentage calculation
The assessed value of body can also show the curve of assessment in the form of drawing.
Below by with the size of the absolute value of the difference between cycle time and corresponding target period interval time, carry out
The mode of fluency assessment is described in detail.
For example, in the present embodiment, the difference between each cycle time and corresponding target period interval time can be calculated
Then the size of the absolute value of value can determine the fluency of current period time according to the absolute value that current period time calculates
(realize that real-time fluency calculates), or determine stream medium data in multiple weeks according to the absolute value that multiple cycle times calculate
Whole fluency in time phase.Other calculations additionally may be used, will not enumerate herein.
In this way, in the embodiment of the present invention, by received in the calculating cycle time/target of stream medium data that sends
Interval time, the target interval time are the lasting reproduction time of same type data frame;According to the cycle time with it is right
The target interval time answered, the fluency of the stream medium data is assessed.Due to the stream medium data under flow
Transmission process in, received in cycle time/data frame of stream medium data that sends continues reproduction time and when the period
Between it is almost the same, so as to according to received in cycle time/send stream medium data the target interval time with week
The relationship of time phase, carries out the assessment of the fluency of stream medium data, therefore improve the fluency assessment of stream medium data
Accuracy.
It should be noted that the appraisal procedure of above-mentioned stream medium data is mainly used in the field of audio and video live streaming, it is right
In non-live streaming field, it is monitored mainly for the fluency of the data frame of transmission.
Optionally, with reference to Fig. 3, for received in the calculating cycle time/target interval of stream medium data that sends
The mode of time can be configured according to actual needs, and in the present embodiment, above-mentioned steps 101 include:
Step 1011, for each cycle time, obtain received in the cycle time/send first number
According to frame timestamp corresponding with last data frame;The first data frame and end data frame are same type data frame;
Step 1012, the difference for calculating the timestamp and the timestamp of the first data frame of the end data frame, is obtained
Obtain the target interval time.
In the step, above-mentioned first terminal can all be beaten when generating each data frame of stream medium data on data frame
Upper timestamp when being played for stream medium data, determines the reproduction time of each data frame.In the present embodiment, stream matchmaker can be obtained
The corresponding timestamp of first data frame and end data frame in volume data within cycle time.Specifically, week can be obtained
When first video frame is with the last corresponding timestamp of video frame and first audio frame corresponding with last audio frame in time phase
Between stab.Then according to the difference of the timestamp and the timestamp of the first data frame of last data frame, when obtaining the corresponding period
Between the target interval time.
It should be understood that in the present embodiment, if not receiving data frame within a cycle time, when above-mentioned target interval
Between be defaulted as 0, a data frame is only received in a cycle time if, when the above-mentioned target interval time can be the period
Between half, or according to receive/time for sending and the boundary value of cycle time determine above-mentioned target interval time, example
Such as receive/data-frame times that send are 1.5 seconds of cycle time, then can determine the target interval time be 1.5 seconds or
3.5 the second.
By taking server receives video frame as an example, it is assumed that the number of the video frame normally received in a cycle time lts
Amount is 5 frames, wherein the timestamp of the first video frame is vt1, the timestamp of the second video frame is vt2, the time of third video frame
Stamp is vt3, the timestamp of the 4th video frame is vt4 and the timestamp of the 5th video frame is vt5.Under normal circumstances when the period
The target interval time vts=vt5-vt1 of interior video frame, the size of vts and the size of lts are almost the same at this time.Such as Fig. 4,
If due to network fluctuation, a frame has been lacked in centre, and server receives a video frame less.This is in calculating cycle time lts
The target interval time of video frame, there will be vts=vt4-vt1;It is general within the next cycle time, if network is normal,
6 video frame vt5~vt10 can be received, at this time the target interval time of the video frame in lts of next cycle time there will be
Vts=vt10-vt5.Therefore, the fluency of target interval time response video frame can be passed through.
It is understood that since the data frame that network fluctuation was sent in a upper cycle time reduces, in order to reach stream
It is smooth to play, it needs to make up the data frame of upper period reduction in next cycle time as possible, therefore send out within next cycle time
The data frame relative increase sent, so as to cause the difference of target interval time and cycle time in former and later two cycle times section
Absolute value it is larger.It should be noted that if the target interval time in cycle time is less than cycle time, then show this week
Fluency in time phase is poor, if the target interval time in cycle time is more than cycle time, when showing a upper period
Interior fluency is poor.
Optionally, it is assessed since different assessment modes may be used in streaming media data, it is corresponding to be assessed
The executive mode of operation is also different, specifically, this is described in detail in the examples below:
With reference to Fig. 5, in a kind of assessment mode, above-mentioned steps 102 include:
Step 1021, it counts in preset time period, all cycle time and the corresponding target interval time
The sum of the absolute value of difference, obtain total value;
Step 1022, according to the ratio of the total value and the time span of the preset time period, the stream matchmaker is determined
The assessed value of volume data fluency.
In the present embodiment, the time set-up mode of above-mentioned preset time period can be configured according to actual needs, for example,
Can from send or receiving stream media data at the beginning of, calculate in each cycle time, the calculating cycle time with it is corresponding
The target interval time difference absolute value;It can also be calculated in for the previous period, often on the basis of current point in time
The absolute value of one cycle time and the difference of the corresponding target interval time.It below will be with transmission or receiving stream media certainly
It at the beginning of data, calculates in each cycle time, the difference of calculating cycle time and the corresponding target interval time
Absolute value for, be described in detail.
Specifically, all cycle time lts and corresponding target interval time vts can be subtracted each other, and take absolutely
To value, then it is added and obtains total value, fluency is waited until with the summation of total value divided by all cycle time lts.For example, can be with
It is calculated using following formula and obtains video fluency A:
Wherein, i indicates that i-th of cycle time, n indicate a total of n cycle time.
It should be noted that in other embodiments, average value can also be used, or increase according to the sequencing of time
Add and calculate the modes such as weight, calculates the assessed value for obtaining fluency.
In conjunction with referring to figure 6 and figure 7, in another assessment mode, can also be realized to fluency by way of drawing
Assessment.Specifically, above-mentioned steps 102 include:
The first waveform figure of time change reaction time is drawn according to each cycle time;
The of reaction target interval time change is drawn according to the target interval time of each same type data frame
Two oscillograms.
In figure 6 and figure 7, abscissa indicates that the time of machine passage, ordinate indicate interval time, and unit is millisecond
(ms).Referring to figure 6 and figure 7, it can be drawn to form cycle time variation waveform according to the time data of each cycle time, it can
Target interval time change waveform is formed to make to draw according to the time data of each cycle time corresponding target interval time.
As shown in fig. 6, since terminal or server are when executing operation, usually there is subtle fluctuation for the determination of time, because
The cycle time of this true statistics may exist subtle fluctuation, but be substantially close to 5 seconds.According to the comparison of Fig. 5 and Fig. 6,
Two waveform registrations are bigger, indicate that stream medium data is more smooth, and two waveform registrations are smaller, indicate that stream medium data more blocks
?.
Optionally, when the appraisal procedure of the stream medium data is applied to server, above-mentioned steps 101 further include before:
Receive the data frame information received and sent in the cycle time and the cycle time that first terminal reports, institute
It is the terminal to stream medium data described in the server push to state first terminal, when the data frame information is used for calculating cycle
The target interval time for the stream medium data that interior first terminal is sent;
Alternatively, receiving the data frame letter received and sent in the cycle time reported by the second terminal and the cycle time
Breath, the second terminal is the terminal for the stream medium data for receiving the server push, and the data frame information is used for
The target interval time for the stream medium data that the second terminal receives in the calculating cycle time.
In the present embodiment, above-mentioned first terminal can record the data frame information sent in each cycle time, the data
Frame information may include the timestamp of the timestamp and end data frame of first data frame, can also include the quantity etc. of data frame
Deng, at regular intervals (such as a cycle time) to server report cycle time and data frame information, can also pass through
Condition triggering first terminal reported (such as receive server transmission report instruction or stream medium data to be sent completely
Deng).
Above-mentioned second terminal can record the data frame information received in each cycle time, which can wrap
The timestamp for including the timestamp and end data frame of first data frame, can also include the quantity etc. of data frame, every certain
Time (such as a cycle time) to server report cycle time and data frame information, can also trigger first by condition
Terminal reported (such as receive server transmission report instruction or stream medium data to be sent completely).
With reference to Fig. 8, the present invention also provides a kind of apparatus for evaluating of stream medium data, the apparatus for evaluating of the stream medium data
Including:
Computing module 801, for received in the calculating cycle time/send stream medium data target interval when
Between, the target interval time is the lasting reproduction time of same type data frame;
Processing module 802 is used for according to the cycle time and corresponding target interval time, to the stream medium data
Fluency assessed.
Optionally, with reference to Fig. 9, the computing module 801 includes:
Acquisition submodule 8011, for for each cycle time, obtain received in the cycle time/hair
The first data frame sent timestamp corresponding with last data frame;The first data frame and end data frame are same type number
According to frame;
Computational submodule 8012, the timestamp of timestamp and the first data frame for calculating the end data frame
Difference, obtain the target interval time.
Optionally, referring to Fig.1 0, the processing module 802 includes:
Statistic submodule 8021, for counting in preset time period, all cycle time and the corresponding mesh
The sum of the absolute value of difference for marking interval time, obtains total value;
Determination sub-module 8022, for the ratio according to the total value and the time span of the preset time period, really
The assessed value of the fixed stream medium data smoothness degree.
Optionally, referring to Fig.1 1, the processing module 802 includes:
First drawing submodule 8023, for drawing the first of time change reaction time according to each cycle time
Oscillogram;
Second drawing submodule 8024, it is anti-for being drawn according to the target interval time of each same type data frame
Answer the second oscillogram of target interval time change.
Optionally, referring to Fig.1 2, when the appraisal procedure of the stream medium data is applied to server, described device is also wrapped
It includes:
Receiving module 803, for receiving sending and receiving in the cycle time and the cycle time that first terminal reports
The data frame information sent, the first terminal are the terminal to stream medium data described in the server push, the data frame
The target interval time for the stream medium data that information is sent for first terminal in the calculating cycle time;Alternatively, receiving second eventually
The data frame information held the cycle time reported and received and sent in the cycle time, the second terminal are reception institute
The terminal of the stream medium data of server push is stated, the data frame information is whole in the calculating cycle time described second
Hold the target interval time of the stream medium data received.
In the embodiment of the present invention, by received in the calculating cycle time/send stream medium data target interval
Time, the target interval time are the lasting reproduction time of same type data frame;According to the cycle time with it is corresponding
The target interval time assesses the fluency of the stream medium data.Due to the biography of the stream medium data under flow
During defeated, received in cycle time/data frame of stream medium data that sends continues reproduction time and cycle time base
This is consistent, so as to according to received in cycle time/target interval time of stream medium data for sending with the period when
Between relationship, carry out the assessment of the fluency of stream medium data, thus improve stream medium data fluency assessment it is accurate
Property.
3, Figure 13 is the structure chart of electronic equipment provided in an embodiment of the present invention, electronic equipment as shown in figure 13 referring to Fig.1
Including:At least one processor 1301, memory 1302, at least one network interface 1304 and user interface 1303.Electronics is set
Various components in standby are coupled by bus system 1305.It is understood that bus system 1305 is for realizing these components
Between connection communication.Bus system 1305 further includes power bus, controlling bus and state letter in addition to including data/address bus
Number bus.But for the sake of clear explanation, various buses are all designated as bus system 1305 in fig. 13.
Wherein, user interface 1303 may include display, keyboard or pointing device (for example, mouse, trace ball
(track ball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1302 in the embodiment of the present invention can be volatile memory or non-volatile memories
Both device, or may include volatile and non-volatile memory.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EP ROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), synchronous dynamic random-access
Memory (Synchronous D RAM, SDRAM), double data speed synchronous dynamic RAM (Double
Data Rate SD RAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SD RAM,
ESDRAM), synchronized links dynamic random access memory (Synch link D RAM, SLDRAM) and direct rambus are random
Access memory (Direct Rambus RAM, DRRAM).The memory 1302 of system and method described herein is intended to
But it is not limited to the memory of these and any other suitable type.
In some embodiments, memory 1302 stores following element, executable modules or data structures, or
Their subset of person or their superset:Operating system 13021 and application program 13022.
Wherein, operating system 13021, including various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 13022, including various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 13022.
In embodiments of the present invention, by the program for calling memory 1302 to store or instruction, specifically, can be application
The program stored in program 13022 or instruction, processor 1301 are used for:Received in the calculating cycle time/send stream matchmaker
The target interval time of volume data, the target interval time are the lasting reproduction time of same type data frame;According to described
Cycle time and corresponding target interval time, the fluency of the stream medium data is assessed.
Optionally, processor 1301 is additionally operable to:For each cycle time, obtains and received in the cycle time
/ the first data frame that sends and the corresponding timestamp of a data frame in end;The first data frame and end data frame are same
Type data frame;The difference of the timestamp and the timestamp of the first data frame of the end data frame is calculated, described in acquisition
The target interval time.
Optionally, processor 1301 is additionally operable to:It counts in preset time period, all cycle time and corresponding institute
The sum of the absolute value of difference for stating the target interval time, obtains total value;According to the total value and the preset time period
The ratio of time span determines the assessed value of the stream medium data smoothness degree.
Optionally, processor 1301 is additionally operable to:The of time change reaction time is drawn according to each cycle time
One oscillogram;The of reaction target interval time change is drawn according to the target interval time of each same type data frame
Two oscillograms.
Optionally, processor 1301 is additionally operable to:When receiving the cycle time and the period that first terminal reports
The interior data frame information received and sent, the first terminal are the terminal to stream medium data described in the server push, institute
State target interval time of the data frame information for the stream medium data that first terminal in the calculating cycle time is sent;Alternatively, connecing
Receive the data frame information received and sent in the cycle time reported by the second terminal and the cycle time, the second terminal
For the terminal of the stream medium data of the reception server push, the data frame information is for institute in the calculating cycle time
State the target interval time of the stream medium data of second terminal reception.
In the embodiment of the present invention, by received in the calculating cycle time/send stream medium data target interval
Time, the target interval time are the lasting reproduction time of same type data frame;According to the cycle time with it is corresponding
The target interval time assesses the fluency of the stream medium data.Due to the biography of the stream medium data under flow
During defeated, received in cycle time/data frame of stream medium data that sends continues reproduction time and cycle time base
This is consistent, so as to according to received in cycle time/target interval time of stream medium data for sending with the period when
Between relationship, carry out the assessment of the fluency of stream medium data, thus improve stream medium data fluency assessment it is accurate
Property.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the meter
Calculation machine program is realized when being executed by processor in the appraisal procedure of the stream medium data in any one above-mentioned embodiment of the method
Step.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can to store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of appraisal procedure of stream medium data, which is characterized in that including:
Received in the calculating cycle time/target interval time of stream medium data for sending, the target interval time is
The lasting reproduction time of same type data frame;
According to the cycle time and corresponding target interval time, the fluency of the stream medium data is assessed.
2. according to the method described in claim 1, it is characterized in that, received in the calculating cycle time/send stream
The step of target interval time of media data, including:
For each cycle time, obtain received in the cycle time/the first data frame that sends and last number
According to the corresponding timestamp of frame;The first data frame and end data frame are same type data frame;
The difference for calculating the timestamp and the timestamp of the first data frame of the end data frame, obtains the target interval
Time.
3. according to the method described in claim 1, it is characterized in that, described according to the cycle time and corresponding target interval
Time, the step of assessment the fluency of the stream medium data, including:
It counts in preset time period, the absolute value of all cycle time and the difference of the corresponding target interval time
The sum of, obtain total value;
According to the ratio of the total value and the time span of the preset time period, the stream medium data smoothness degree is determined
Assessed value.
4. according to the method described in claim 1, it is characterized in that, described according to the cycle time and corresponding target interval
Time, the step of assessment the fluency of the stream medium data, including:
The first waveform figure of time change reaction time is drawn according to each cycle time;
The second wave of reaction target interval time change is drawn according to the target interval time of each same type data frame
Shape figure.
5. method according to any one of claims 1 to 4, which is characterized in that when the appraisal procedure of the stream medium data
Applied to server, received in the calculating cycle time/send stream medium data the target interval time the step of before,
The method further includes:
Receive the data frame information received and sent in cycle time for reporting of first terminal and the cycle time, described the
One terminal is the terminal to stream medium data described in the server push, and the data frame information is in the calculating cycle time
The target interval time for the stream medium data that first terminal is sent;
Alternatively, the data frame information received and sent in the cycle time reported by the second terminal and the cycle time is received,
The second terminal is the terminal for the stream medium data for receiving the server push, and the data frame information is for calculating
The target interval time for the stream medium data that the second terminal receives in cycle time.
6. a kind of apparatus for evaluating of stream medium data, which is characterized in that including:
Computing module, for received in the calculating cycle time/send stream medium data the target interval time, the mesh
Mark the lasting reproduction time that interval time is same type data frame;
Processing module is used for according to the cycle time and corresponding target interval time, to the smoothness of the stream medium data
Degree is assessed.
7. device according to claim 6, which is characterized in that the computing module includes:
Acquisition submodule, for for each cycle time, obtain received in the cycle time/send it is first
Data frame timestamp corresponding with last data frame;The first data frame and end data frame are same type data frame;
Computational submodule, the difference of timestamp and the timestamp of the first data frame for calculating the end data frame,
Obtain the target interval time.
8. device according to claim 6, which is characterized in that the processing module includes:
Statistic submodule, for counting in preset time period, when all cycle time is with the corresponding target interval
Between the sum of the absolute value of difference, obtain total value;
Determination sub-module determines the stream for the ratio according to the total value and the time span of the preset time period
The assessed value of media data smoothness degree.
9. device according to claim 6, which is characterized in that the processing module includes:
First drawing submodule, the first waveform figure for drawing time change reaction time according to each cycle time;
Second drawing submodule, for according between the target interval time of each same type data frame drafting reaction target
Every the second oscillogram of time change.
10. according to claim 6 to 9 any one of them device, which is characterized in that when the appraisal procedure of the stream medium data
Applied to server, described device further includes:
Receiving module, for receiving the data received and sent in the cycle time and the cycle time that first terminal reports
Frame information, the first terminal are the terminal to stream medium data described in the server push, and the data frame information is used for
The target interval time for the stream medium data that first terminal is sent in the calculating cycle time;Alternatively, receiving reported by the second terminal
The data frame information received and sent in the cycle time and the cycle time, the second terminal are to receive the server
The terminal of the stream medium data of push, the data frame information are received for the second terminal in the calculating cycle time
The target interval time of stream medium data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710281530.1A CN108810522B (en) | 2017-04-26 | 2017-04-26 | Method and device for evaluating streaming media data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710281530.1A CN108810522B (en) | 2017-04-26 | 2017-04-26 | Method and device for evaluating streaming media data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108810522A true CN108810522A (en) | 2018-11-13 |
CN108810522B CN108810522B (en) | 2021-07-09 |
Family
ID=64068853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710281530.1A Active CN108810522B (en) | 2017-04-26 | 2017-04-26 | Method and device for evaluating streaming media data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810522B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110418170A (en) * | 2019-07-03 | 2019-11-05 | 腾讯科技(深圳)有限公司 | Detection method and device, storage medium and electronic device |
WO2021233036A1 (en) * | 2020-05-19 | 2021-11-25 | 腾讯科技(深圳)有限公司 | Method and apparatus for collecting indexes of media streaming service, medium, and electronic device |
CN114513385A (en) * | 2022-03-24 | 2022-05-17 | 深圳市元征科技股份有限公司 | Data transmission method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103001961A (en) * | 2012-12-03 | 2013-03-27 | 华为技术有限公司 | Method and device for obtaining streaming media caching parameters |
WO2013130474A1 (en) * | 2012-02-27 | 2013-09-06 | Qualcomm Incorporated | Improved dash client and receiver with playback rate selection |
CN105188079A (en) * | 2015-10-20 | 2015-12-23 | 武汉虹信技术服务有限责任公司 | Streaming media quality evaluation and mobile network quality lifting system and method |
-
2017
- 2017-04-26 CN CN201710281530.1A patent/CN108810522B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013130474A1 (en) * | 2012-02-27 | 2013-09-06 | Qualcomm Incorporated | Improved dash client and receiver with playback rate selection |
CN103001961A (en) * | 2012-12-03 | 2013-03-27 | 华为技术有限公司 | Method and device for obtaining streaming media caching parameters |
CN105188079A (en) * | 2015-10-20 | 2015-12-23 | 武汉虹信技术服务有限责任公司 | Streaming media quality evaluation and mobile network quality lifting system and method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110418170A (en) * | 2019-07-03 | 2019-11-05 | 腾讯科技(深圳)有限公司 | Detection method and device, storage medium and electronic device |
CN110418170B (en) * | 2019-07-03 | 2021-11-19 | 腾讯科技(深圳)有限公司 | Detection method and device, storage medium and electronic device |
WO2021233036A1 (en) * | 2020-05-19 | 2021-11-25 | 腾讯科技(深圳)有限公司 | Method and apparatus for collecting indexes of media streaming service, medium, and electronic device |
US11848841B2 (en) | 2020-05-19 | 2023-12-19 | Tencent Technology (Shenzhen) Company Limited | Metrics collecting method and apparatus for media streaming service, medium, and electronic device |
CN114513385A (en) * | 2022-03-24 | 2022-05-17 | 深圳市元征科技股份有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN114513385B (en) * | 2022-03-24 | 2024-04-02 | 深圳市元征科技股份有限公司 | Data transmission method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108810522B (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11316769B2 (en) | Methods and apparatus to predict end of streaming media using a prediction model | |
CN108810522A (en) | A kind of appraisal procedure and device of stream medium data | |
CN108270738B (en) | Video processing method and network equipment | |
CN101998137B (en) | Video quality parameter acquisition methods and device and electronic equipment | |
DE60211157T2 (en) | Synchronous playback of media packages | |
US20180027040A1 (en) | Apparatus and method for providing content on basis of dash adaptive to bandwidth | |
CN106604050A (en) | Direct broadcast video assessment method and device | |
US8639796B2 (en) | Monitoring the performance of a streaming media server using server-side and client-side measurements | |
CN101309400B (en) | Stream media service pause information acquisition method and device | |
CN104967904B (en) | The method and device of terminal video recording and playback | |
JP2015528226A (en) | Method, apparatus and system for determining viewer response to content elements | |
CN110472879A (en) | A kind of appraisal procedure of resource impact, device, electronic equipment and storage medium | |
US7885514B2 (en) | Apparatus and method for determining rendering duration of video frame | |
CN108174233A (en) | A kind of live broadcasting method, device, server and medium | |
Aguiar et al. | Video quality estimator for wireless mesh networks | |
CN110366032A (en) | Video data handling procedure, device and video broadcasting method, device | |
CN106911927A (en) | Assess method, device and the DPI equipment of Internet video user experience quality | |
Mäki et al. | A layered model for quality estimation of HTTP video from QoS measurements | |
JP2023101606A (en) | Computer program, method, and server device | |
CN103685975B (en) | A kind of audio/video player system and method | |
US20060168288A1 (en) | Identifying failure of a streaming media server to satisfy quality-of-service criteria | |
CN107608593A (en) | A kind of page turning method, device and storage medium | |
US20060136927A1 (en) | Models for monitoring of streaming server performance | |
CN107517401A (en) | multimedia data playing method and device | |
JP2007006203A (en) | Forming device for forming user's physical feeling quality estimating model, quality control device, and program |
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 |