CN108769754B - Video playback method and system based on video playback terminal - Google Patents

Video playback method and system based on video playback terminal Download PDF

Info

Publication number
CN108769754B
CN108769754B CN201810457690.1A CN201810457690A CN108769754B CN 108769754 B CN108769754 B CN 108769754B CN 201810457690 A CN201810457690 A CN 201810457690A CN 108769754 B CN108769754 B CN 108769754B
Authority
CN
China
Prior art keywords
video
code rate
function
video playback
user
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
CN201810457690.1A
Other languages
Chinese (zh)
Other versions
CN108769754A (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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201810457690.1A priority Critical patent/CN108769754B/en
Publication of CN108769754A publication Critical patent/CN108769754A/en
Application granted granted Critical
Publication of CN108769754B publication Critical patent/CN108769754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2543Billing, e.g. for subscription services
    • H04N21/25435Billing, e.g. for subscription services involving characteristics of content or additional data, e.g. video resolution or the amount of advertising
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25825Management of client data involving client display capabilities, e.g. screen resolution of a mobile phone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4516Management of client data or end-user data involving client characteristics, e.g. Set-Top-Box type, software version or amount of memory available

Abstract

The invention relates to a video playback method and a system based on a video playback terminal, comprising the following steps: acquiring the resolution of a screen of a video playing terminal and rate information of mobile network flow, obtaining a user experience quality function by fitting the relation between the user watching quality and the video code rate under the resolution, and subtracting the cost coefficient from the user experience quality function by taking the multiplication result of the rate information and the video code rate as a cost coefficient to construct a benefit function for watching the video; and according to the resolution and the rate information, obtaining the code rate corresponding to the maximum benefit function by adopting a gradient descent method, taking the code rate corresponding to the maximum benefit function as the optimal code rate, and requesting and playing the video from the video server by the video playback terminal according to the optimal code rate. Therefore, the traffic charge and the video experience can be balanced, and the purpose of saving the traffic is achieved.

Description

Video playback method and system based on video playback terminal
Technical Field
The present invention relates to the field of mobile streaming media technologies, and in particular, to a video playback method and system based on a video playback terminal.
Background
With the continuous development of mobile network bandwidth, the number of mobile video users is also increasing year by year. In the process of playing the mobile video, the user receives the video through a flow charging network provided by a mobile operator, and finally watches the video on mobile equipment such as a mobile phone, a tablet computer and the like.
But as mobile network rates increase, users demand higher and higher video quality. If the user wants to watch the video with higher quality, the user needs more traffic to receive the video, so the user needs to pay more traffic cost. Too high a traffic cost may reduce the user's viewing experience, and studies have shown that when the user experience is reduced to a certain extent, the user may choose to stop viewing the video. Therefore, the contradiction between the demand of users for high quality video and the traffic cost is an important factor affecting the benefit of mobile video service providers.
To resolve the conflict between video quality and traffic cost, there are two main methods at present:
(1) the video service provider pays a certain fee to the mobile network provider, and the user purchases the oriented traffic from the video service provider to watch the video provided by the video service provider.
(2) Users pay a large amount directly to mobile network providers to purchase unlimited traffic services.
In the first method, although the user can obtain the traffic-free video from the designated video service provider for a small fee, the user still needs to pay a fee again if the user wants to watch the video of other video service providers. This approach is not suitable for users who obtain video from an unfixed video service provider.
In the second method, the user needs to pay a very high fee at a time to obtain unlimited traffic service, which is expensive for the ordinary user. This method therefore does not have the generally applicable characteristics.
The two methods do not consider the relationship between the quality and the code rate of the video watched by the user under different equipment resolutions. Studies have shown that as the resolution increases, the higher the video bitrate required to achieve the same viewing quality. Therefore, by considering the correlation characteristic between the video quality and the resolution, a user using low-resolution equipment can be prevented from watching the video with high code rate, and the purpose of saving the flow is achieved.
Disclosure of Invention
The invention aims to provide a video flow cost saving method which is easy to realize and is suitable for a mobile video user of a common flow charging network. The method considers the relation between the resolution ratio of the user equipment and the video quality, establishes a code rate self-adaptive model related to the equipment resolution ratio by utilizing the relation, and achieves the purpose of saving flow cost by solving the model to obtain the optimal code rate without purchasing additional service from a mobile network operator by a user.
In order to achieve the above object, the present invention provides a video playback method based on a video playback terminal, which includes:
step 1, obtaining the resolution of a video playing terminal screen and rate information of mobile network flow, obtaining a user experience quality function by fitting the relation between the user watching quality and the video code rate under the resolution, taking the multiplication result of the rate information and the video code rate as a cost coefficient, and subtracting the cost coefficient from the user experience quality function to construct a benefit function for watching the video;
and 2, according to the resolution and the rate information, obtaining a code rate corresponding to the maximum benefit function by adopting a gradient descent method, taking the code rate corresponding to the maximum benefit function as an optimal code rate, and requesting and playing a video from a video server by the video playback terminal according to the optimal code rate.
The video playback method based on the video playback terminal, wherein the step 1 comprises the following steps: fitting the relation between the user watching quality and the video code rate under the resolution by adopting a logarithmic function, wherein the user experience quality function is as follows:
Figure BDA0001660090280000021
wherein α is a parameter determined according to the resolution of the video playback terminal, q (r)k) Viewing quality r for the user viewing the k-th video bit ratekRepresenting the k-th video code rate.
The video playback method based on the video playback terminal, wherein the step 1 further comprises:
step 11, acquiring the bandwidth of the video playback terminal accessed to the network at the current moment, inputting the bandwidth to a sliding autoregressive average model to estimate the bandwidth data when the next section of video is received, and acquiring the estimated bandwidth;
step 12, according to the estimated bandwidth, constructing a re-caching waiting time function:
Figure BDA0001660090280000031
in the formula CkFor the estimated bandwidth, (.)+Represents taking a positive number, LkRepresents the duration of the k-th video segment, BkThe size of a playing buffer area when the kth segmented video is played;
step 13, calculating a picture quality jitter degree function according to the following formula:
Figure BDA0001660090280000032
step 14, constructing the benefit function according to the user experience quality function, the picture quality jitter degree function, the re-caching waiting time function and the cost coefficient:
Figure BDA0001660090280000033
in the formula, λ is a sensitive factor of a user to video quality fluctuation, μ is a sensitive factor of the user to re-caching latency, and K represents the number of segments required to be received for playing a complete video.
The video playback method based on the video playback terminal, wherein the step 11 comprises: order to
Figure BDA0001660090280000034
Representing the bandwidth to be estimated, the sliding autoregressive average model is represented by:
Figure BDA0001660090280000035
where gamma is a constant term, phi is a timing hysteresis factor and phi ∈ [ -1,1 [ ]]Theta is an error hysteresis factor and is defined by [ -1,1 [ ]]Between Gaussian noise, error
Figure BDA0001660090280000036
Representing the difference between the predicted bandwidth and the actual bandwidth of the k step.
The video playback method based on the video playback terminal, wherein the step 2 comprises the following steps: the video server provides videos under multiple code rates, the code rate closest to the optimal code rate is selected from the multiple code rates to serve as a final playing code rate, and the video playback terminal receives and plays back the videos under the final playing code rate from the video server.
The invention also provides a video playback system based on the video playback terminal, which comprises:
the system comprises a benefit function construction module, a video playing terminal and a video processing module, wherein the benefit function construction module is used for acquiring the resolution of a video playing terminal screen and the rate information of mobile network flow, obtaining a user experience quality function by fitting the relation between the user watching quality and the video code rate under the resolution, and constructing a benefit function for watching a video by taking the multiplication result of the rate information and the video code rate as a cost coefficient and subtracting the cost coefficient from the user experience quality function;
and the video playing module is used for obtaining the code rate corresponding to the maximum benefit function by adopting a gradient descent method according to the resolution and the rate information, taking the code rate corresponding to the maximum benefit function as the optimal code rate, and requesting and playing the video from the video server by the video playback terminal according to the optimal code rate.
The video playback system based on the video playback terminal, wherein the benefit function constructing module comprises: fitting the relation between the user watching quality and the video code rate under the resolution by adopting a logarithmic function, wherein the user experience quality function is as follows:
Figure BDA0001660090280000041
wherein α is a parameter determined according to the resolution of the video playback terminal, q (r)k) Viewing quality r for the user viewing the k-th video bit ratekRepresenting the k-th video code rate.
The video playback system based on the video playback terminal, wherein the benefit function constructing module further comprises:
acquiring the bandwidth of the video playback terminal accessed to the network at the current moment, inputting the bandwidth to a sliding autoregressive average model to estimate the bandwidth data when the next section of video is received, and acquiring the estimated bandwidth;
according to the estimated bandwidth, constructing a re-caching waiting time function:
Figure BDA0001660090280000042
in the formula CkFor the estimated bandwidth, (.)+Represents taking a positive number, LkRepresents the duration of the k-th video segment, BkThe size of a playing buffer area when the kth segmented video is played;
the picture quality judder level function is calculated by:
Figure BDA0001660090280000043
constructing the benefit function according to the user experience quality function, the picture quality jitter degree function, the re-caching waiting time function and the cost coefficient:
Figure BDA0001660090280000051
in the formula, λ is a sensitive factor of a user to video quality fluctuation, μ is a sensitive factor of the user to re-caching latency, and K represents the number of segments required to be received for playing a complete video.
The video playback system based on the video playback terminal, wherein the order is
Figure BDA0001660090280000052
Representing the bandwidth to be estimated, the sliding autoregressive average model is represented by:
Figure BDA0001660090280000053
where gamma is a constant term, phi is a timing hysteresis factor and phi ∈ [ -1,1 [ ]]Theta is an error hysteresis factor and is defined by [ -1,1 [ ]]Between Gaussian noise, error
Figure BDA0001660090280000054
Representing the difference between the predicted bandwidth and the actual bandwidth of the k step.
The video playback system based on the video playback terminal, wherein the video playing module comprises: the video server provides videos under multiple code rates, the code rate closest to the optimal code rate is selected from the multiple code rates to serve as a final playing code rate, and the video playback terminal receives and plays back the videos under the final playing code rate from the video server.
Through the steps and the system, the balance between the traffic charge and the video experience can be realized, and the purpose of saving the traffic is achieved.
Drawings
Fig. 1 is a diagram of an overall video delivery model for dynamic HTTP adaptive streaming over media (DASH);
FIG. 2 is a schematic diagram showing the relationship between the average viewing experience of a user and the video bitrate under the conditions of QCIF, CIF and VGA resolutions;
FIG. 3 is a chart of parameter values for user quality of experience at the resolution of a mobile device;
FIG. 4 is a diagram illustrating a receiving segment and a buffer status.
Detailed Description
The invention provides a video playback method based on a video playback terminal, which comprises the following steps:
step 1, obtaining the resolution of a video playing terminal screen and rate information of mobile network flow, obtaining a user experience quality function by fitting the relation between the user watching quality and the video code rate under the resolution, taking the multiplication result of the rate information and the video code rate as a cost coefficient, and subtracting the cost coefficient from the user experience quality function to construct a benefit function for watching the video;
and 2, according to the resolution and the rate information, obtaining a code rate corresponding to the maximum benefit function by adopting a gradient descent method, taking the code rate corresponding to the maximum benefit function as an optimal code rate, and requesting and playing a video from a video server by the video playback terminal according to the optimal code rate.
The video playback method based on the video playback terminal, wherein the step 1 comprises the following steps: fitting the relation between the user watching quality and the video code rate under the resolution by adopting a logarithmic function, wherein the user experience quality function is as follows:
Figure BDA0001660090280000061
wherein α is a parameter determined according to the resolution of the video playback terminal, q (r)k) Viewing quality r for the user viewing the k-th video bit ratekRepresenting the k-th video code rate.
The video playback method based on the video playback terminal, wherein the step 1 further comprises:
step 11, acquiring the bandwidth of the video playback terminal accessed to the network at the current moment, inputting the bandwidth to a sliding autoregressive average model to estimate the bandwidth data when the next section of video is received, and acquiring the estimated bandwidth;
step 12, according to the estimated bandwidth, constructing a re-caching waiting time function:
Figure BDA0001660090280000062
in the formula CkFor the estimated bandwidth, (.)+Represents taking a positive number, LkRepresents the duration of the k-th video segment, BkThe size of a playing buffer area when the kth segmented video is played;
step 13, calculating a picture quality jitter degree function according to the following formula:
Figure BDA0001660090280000063
step 14, constructing the benefit function according to the user experience quality function, the picture quality jitter degree function, the re-caching waiting time function and the cost coefficient:
Figure BDA0001660090280000064
in the formula, λ is a sensitive factor of a user to video quality fluctuation, μ is a sensitive factor of the user to re-caching latency, and K represents the number of segments required to be received for playing a complete video.
The video playback method based on the video playback terminal, wherein the step 11 comprises: order to
Figure BDA0001660090280000071
Representing the bandwidth to be estimated, the sliding autoregressive average model is represented by:
Figure BDA0001660090280000072
where gamma is a constant term, phi is a timing hysteresis factor and phi ∈ [ -1,1 [ ]]Theta is an error hysteresis factor and is defined by [ -1,1 [ ]]Between Gaussian noise, error
Figure BDA0001660090280000073
Representing the difference between the predicted bandwidth and the actual bandwidth of the k step.
The video playback method based on the video playback terminal, wherein the step 2 comprises the following steps: the video server provides videos under multiple code rates, the code rate closest to the optimal code rate is selected from the multiple code rates to serve as a final playing code rate, and the video playback terminal receives and plays back the videos under the final playing code rate from the video server.
In order to make the aforementioned features and effects of the present invention more comprehensible, embodiments accompanied with figures are described in detail below.
Step s1, obtaining resolution RS [ W, H ] of the mobile device]Access network at time tBandwidth CtAnd mobile network traffic rate information pcIt should be noted that the present invention can be applied not only to mobile terminals, but also to any device that consumes mobile traffic to view video;
step s2, solving the bandwidth estimation model and the user benefit model to obtain the optimal code rate r suitable for the current state of the user*
And step s3, transmitting the video between the video service provider and the user by using the optimal code rate.
The device resolution in step s1 is obtained through an API provided by an operating system of the mobile device, the access network bandwidth is a data volume downloaded within one second of the device, and the mobile network traffic rate is obtained from a traffic packet fee provided by a mobile network operator.
Said step s2 comprises:
step s21, predicting the access network bandwidth of the user in a period of time in the future by using the bandwidth estimation model according to the currently obtained access network bandwidth data;
step s22, constructing a user experience quality model related to the device resolution according to the current mobile device resolution;
step s23, according to the flow rate information of the mobile network and the state of the user playing cache, establishing and determining a user benefit model;
step s24, solving a code rate self-adaptive model by using a gradient descent method;
and step s25, selecting the code rate closest to the optimal code rate from the code rate set of the video service provider according to the code rate obtained in step s 24.
The step s of establishing a device resolution-dependent user quality of experience model in step s22 includes:
step s221, acquiring experience data of the relationship between the user experience and the video code rate under different resolutions;
step s222, fitting by using a nonlinear least square method according to empirical data of the relationship between the user experience and the video code rate under different resolutions, wherein the fitting function uses a logarithmic function α ln (1+ β r), and further parameters α and β in the functional relationship are determined;
the step s of determining parameters in the rate adaptation model in step s23 includes:
step s231, setting mobile network rate according to the flow charge of the operator of the mobile network where the user is located;
step s232, taking the mobile network rate as a coefficient of the cost of the user for watching the video, that is, the cost of the user for watching the video is the mobile network cost multiplied by the code rate, that is, Pay is pcr;
In step s233, the influence of picture quality jitter and the buffering waiting time during playing the video are measured.
In the step s3, the video service provider provides different bit rates, and the user selects the corresponding video service provider to provide the bit rate according to the optimal bit rate in the step s2, receives the video and plays the video.
In order to make the aforementioned features and effects of the present invention more comprehensible, embodiments accompanied with figures are described in detail below.
To facilitate understanding of the working of the present invention, before describing the method of the present invention in detail, a mobile video transmission system, i.e. dynamic HTTP adaptive streaming (DASH), to which the present invention is possibly applied is first presented. As shown in FIG. 1, in DASH, video V is sent to N users, V being sent at different bitrate rkEncoding into K segments, each segment having a duration LkWherein r isk∈{r1,r2,…,rK}. The user downloads the video by parsing a media presentation description (MediaPresentationDescription) file, and for simplicity of analysis, it is assumed here that the user requests the next segment from the server only after downloading of one segment of the video is completed. The user maintains a maximum time length B in the process of playing the videomaxThe playing buffer area of (1), the playing buffer area of the user when playing the kth segment is BkWhen the next segment is downloaded, the user-maintained play-out buffer is updated as follows:
Figure BDA0001660090280000081
this formula is used to calculate the buffer status of the user after receiving the video that completes the kth segment. In the formula CkThe bandwidth of the user downloading the (k + 1) th segment is shown, when the size of the playing buffer area is 0, the user has to wait for the arrival of a new video segment, and at this time, the user may have a re-buffering event, which shows that the playing picture stops and waits for buffering.
From the user's perspective, the user's benefit can be defined as two components, namely the user's viewing experience (QoE) and the traffic charges the user pays to see the video. Now assume that the user usage resolution is RS [ W, H]The video is watched by the device, wherein W and H are the width and height of the resolution of the device respectively, then the code rate r of the video segmentation is the momentkWill have an impact on the sharpness of the video. There are studies showing that the relationship between the average viewing experience of the user and the video bitrate at different resolutions is shown in fig. 2. Fig. 2 shows the relationship between the average viewing experience (vertical axis in fig. 2) and the video bitrate (horizontal axis in fig. 2) of the user under the condition that the resolutions are QCIF, CIF and VGA, respectively, and it can be seen that the higher the resolution of the user equipment is, the higher the bitrate required for achieving the same viewing experience is. This relationship can be fitted with a logarithmic function, and the user's viewing quality q (r) can then be definedk) And using the model as a user experience quality model:
Figure BDA0001660090280000091
and in the formula, alpha and beta are corresponding resolution parameters under different resolutions and change along with the change of the resolution of the user equipment. The table shown in fig. 3 is a common value of α and β for mobile device resolution.
As shown in fig. 4, factors affecting the quality of the user experience are picture quality jitter and user waiting for a re-buffering time, in addition to the user's viewing experience. The degree of picture quality judder can be calculated by: r iss,k+1Meaning the bitrate of the next segment that the client needs to receive.
Figure BDA0001660090280000092
The user's rebuffering latency due to network factors can be calculated by the following equation:
Figure BDA0001660090280000093
in the formula CkAverage bandwidth of the device when the kth segment is downloaded, (-)+Indicating a positive number, each video segment having a duration of LkThe playing buffer area of the user when playing the kth segment is Bk
For general flow users, the flow rate is generally fixed, and a constant p can be usedcTo indicate. Then, considering the traffic fee generated when the user watches the video, the complete benefit that the user can obtain during watching the video can be calculated by the following equation:
Figure BDA0001660090280000101
in the above equation, λ is a factor of sensitivity of the user to video quality fluctuation, and μ is a factor of sensitivity of the user to re-buffering latency. λ and μ are set according to the preference of the video user, the larger λ is, the less the user wants the change of video quality, and the larger μ is, the less the user can endure the stagnation of the picture playing during the re-caching. K represents the number of segments that need to be received to play the complete video, rkCode rate for the kth video segment.
To solve ProfituThe future bandwidth information needs to be estimated according to the existing bandwidth information, because the bandwidth when receiving the video is needed to be obtained when the current optimal bit rate is obtained, but the bandwidth cannot be measured at this moment, and only the estimation can be performed according to the previous bandwidth data, C in equation 5kThe estimated bandwidth is used for inputting the bandwidth of the access network at the current moment into the sliding autoregressive averageAnd modeling to obtain the estimated bandwidth. The technique uses a sliding autoregressive average model (ARIMA) to derive future bandwidth information from existing bandwidth information. Order to
Figure BDA0001660090280000102
Representing the bandwidth that needs to be estimated, the ARIMA model used in the present technique can be represented by:
Figure BDA0001660090280000103
where gamma is a constant term, phi is a timing hysteresis factor and phi ∈ [ -1,1 [ ]]Theta is an error hysteresis factor and is defined by [ -1,1 [ ]]Between Gaussian noise, error
Figure BDA0001660090280000104
Representing the difference between the predicted bandwidth and the actual bandwidth at step k. When a user starts playing a video, the user firstly waits for the successful reception of the first video segment and records the bandwidth data when the first video segment is received. The bandwidth prediction algorithm then begins to evaluate the bandwidth data for the next segment of video to be received.
Then, Profit in the formula (5) is neededuThe solution is performed, and as can be seen from fig. 3, the benefit function of the user shows a concave function trend along with the change of the code rate, i.e. ProfituSecond derivative of (2)
Figure BDA0001660090280000105
So that formula (5) has one rkSo that ProfituAnd max. Due to ProfituEquation of optimal solution of
Figure BDA0001660090280000106
Since the analytical solution cannot be obtained, the optimal solution of equation (5) is obtained by the gradient descent method. The solution of the gradient descent method is as follows:
1. get rkHas an initial value of
Figure BDA0001660090280000111
Descending stepLength η, and accuracy Profit calculated according to equation (4)uAnd is denoted as P.
2. Calculating a current point
Figure BDA0001660090280000112
Gradient (2):
Figure BDA0001660090280000113
3. update rkHas a value of
Figure BDA0001660090280000114
4. Examination of | P1-P0If | is less than, if yes, then go to step 5, otherwise, get
Figure BDA0001660090280000115
And returning to the step 1.
5. Code rate set from server
Figure BDA0001660090280000116
Is selected to be closest to
Figure BDA0001660090280000117
Code rate of (i.e.
Figure BDA0001660090280000118
Figure BDA0001660090280000119
Find out the optimal code rate
Figure BDA00016600902800001110
Then, the user requests the video server to receive the video with the code rate for playing. After a segment is downloaded, the program re-runs all the steps s to further obtain the optimal code rate of the next segment of video required to be requested by the user, so as to balance the traffic charge and the video experience and achieve the purpose of saving the traffic.
The following are system examples corresponding to the above method examples, and this embodiment can be implemented in cooperation with the above embodiments. The related technical details mentioned in the above embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the above-described embodiments.
The invention also provides a video playback system based on the video playback terminal, which comprises:
the system comprises a benefit function construction module, a video playing terminal and a video processing module, wherein the benefit function construction module is used for acquiring the resolution of a video playing terminal screen and the rate information of mobile network flow, obtaining a user experience quality function by fitting the relation between the user watching quality and the video code rate under the resolution, and constructing a benefit function for watching a video by taking the multiplication result of the rate information and the video code rate as a cost coefficient and subtracting the cost coefficient from the user experience quality function;
and the video playing module is used for obtaining the code rate corresponding to the maximum benefit function by adopting a gradient descent method according to the resolution and the rate information, taking the code rate corresponding to the maximum benefit function as the optimal code rate, and requesting and playing the video from the video server by the video playback terminal according to the optimal code rate.
The video playback system based on the video playback terminal, wherein the benefit function constructing module comprises: fitting the relation between the user watching quality and the video code rate under the resolution by adopting a logarithmic function, wherein the user experience quality function is as follows:
Figure BDA0001660090280000121
wherein α is a parameter determined according to the resolution of the video playback terminal, q (r)k) Viewing quality r for the user viewing the k-th video bit ratekRepresenting the k-th video code rate.
The video playback system based on the video playback terminal, wherein the benefit function constructing module further comprises:
acquiring the bandwidth of the video playback terminal accessed to the network at the current moment, inputting the bandwidth to a sliding autoregressive average model to estimate the bandwidth data when the next section of video is received, and acquiring the estimated bandwidth;
according to the estimated bandwidth, constructing a re-caching waiting time function:
Figure BDA0001660090280000122
in the formula CkFor the estimated bandwidth, (.)+Represents taking a positive number, LkRepresents the duration of the k-th video segment, BkThe size of a playing buffer area when the kth segmented video is played;
the picture quality judder level function is calculated by:
Figure BDA0001660090280000123
constructing the benefit function according to the user experience quality function, the picture quality jitter degree function, the re-caching waiting time function and the cost coefficient:
Figure BDA0001660090280000124
in the formula, λ is a sensitive factor of a user to video quality fluctuation, μ is a sensitive factor of the user to re-caching latency, and K represents the number of segments required to be received for playing a complete video.
The video playback system based on the video playback terminal, wherein the order is
Figure BDA0001660090280000125
Representing the bandwidth to be estimated, the sliding autoregressive average model is represented by:
Figure BDA0001660090280000131
where gamma is a constant term, phi is a timing hysteresis factor and phi ∈ [ -1,1 [ ]]Theta is an error hysteresis factor and is defined by [ -1,1 [ ]]Between Gaussian noise, error
Figure BDA0001660090280000132
Representing the difference between the predicted bandwidth and the actual bandwidth of the k step.
The video playback system based on the video playback terminal, wherein the video playing module comprises: the video server provides videos under multiple code rates, the code rate closest to the optimal code rate is selected from the multiple code rates to serve as a final playing code rate, and the video playback terminal receives and plays back the videos under the final playing code rate from the video server.

Claims (8)

1. A video playback method based on a video playback terminal is characterized by comprising the following steps:
step 1, obtaining the resolution of a video playing terminal screen and rate information of mobile network flow, obtaining a user experience quality function by fitting the relation between the user watching quality and the video code rate under the resolution, taking the multiplication result of the rate information and the video code rate as a cost coefficient, and subtracting the cost coefficient from the user experience quality function to construct a benefit function for watching the video;
step 2, according to the resolution and the rate information, obtaining a code rate corresponding to the maximum benefit function by adopting a gradient descent method, taking the code rate corresponding to the maximum benefit function as an optimal code rate, and requesting and playing a video from a video server by the video playback terminal according to the optimal code rate;
wherein, the step 1 comprises: fitting the relation between the user watching quality and the video code rate under the resolution by adopting a logarithmic function, wherein the user experience quality function is as follows:
Figure FDA0002448158290000011
wherein α is a parameter determined according to the resolution of the video playback terminal, q (r)k) Viewing quality r for the user viewing the k-th video bit ratekRepresenting the code rate of the k-th video。
2. The video playback method based on the video playback terminal as claimed in claim 1, wherein the step 1 further comprises:
step 11, acquiring the bandwidth of the video playback terminal accessed to the network at the current moment, inputting the bandwidth to a sliding autoregressive average model to estimate the bandwidth data when the next section of video is received, and acquiring the estimated bandwidth;
step 12, according to the estimated bandwidth, constructing a re-caching waiting time function:
Figure FDA0002448158290000012
in the formula CkFor the estimated bandwidth, (.)+Represents taking a positive number, LkRepresents the duration of the k-th video segment, BkThe size of a playing buffer area when the kth segmented video is played;
step 13, calculating a picture quality jitter degree function according to the following formula:
Figure FDA0002448158290000021
step 14, constructing the benefit function according to the user experience quality function, the picture quality jitter degree function, the re-caching waiting time function and the cost coefficient:
Figure FDA0002448158290000022
in the formula, lambda is a sensitive factor of a user to video quality fluctuation, mu is a sensitive factor of the user to the re-caching waiting time, K represents the number of segments required to be received for playing the complete video, and pcRate information for mobile network traffic.
3. The video playback method based on the video playback terminal of claim 2, wherein the step 11 comprises: order to
Figure FDA0002448158290000023
Representing the bandwidth to be estimated, the sliding autoregressive average model is represented by:
Figure FDA0002448158290000024
where gamma is a constant term, phi is a timing hysteresis factor and phi ∈ [ -1,1 [ ]]Theta is an error hysteresis factor and is defined by [ -1,1 [ ]]Between Gaussian noise, error
Figure FDA0002448158290000025
Representing the difference between the predicted bandwidth and the actual bandwidth of the k step.
4. The video playback method based on the video playback terminal of claim 1, wherein the step 2 comprises: the video server provides videos under multiple code rates, the code rate closest to the optimal code rate is selected from the multiple code rates to serve as a final playing code rate, and the video playback terminal receives and plays back the videos under the final playing code rate from the video server.
5. A video playback system based on a video playback terminal, comprising:
the system comprises a benefit function construction module, a video playing terminal and a video processing module, wherein the benefit function construction module is used for acquiring the resolution of a video playing terminal screen and the rate information of mobile network flow, obtaining a user experience quality function by fitting the relation between the user watching quality and the video code rate under the resolution, and constructing a benefit function for watching a video by taking the multiplication result of the rate information and the video code rate as a cost coefficient and subtracting the cost coefficient from the user experience quality function;
the video playing module is used for obtaining the code rate corresponding to the maximum benefit function by adopting a gradient descent method according to the resolution and the rate information, taking the code rate corresponding to the maximum benefit function as the optimal code rate, and requesting and playing a video from a video server by the video playback terminal according to the optimal code rate;
wherein, the benefit function constructing module comprises: fitting the relation between the user watching quality and the video code rate under the resolution by adopting a logarithmic function, wherein the user experience quality function is as follows:
Figure FDA0002448158290000031
wherein α is a parameter determined according to the resolution of the video playback terminal, q (r)k) Viewing quality r for the user viewing the k-th video bit ratekRepresenting the k-th video code rate.
6. The video playback system based on the video playback terminal of claim 5, wherein the benefit function constructing module further comprises:
acquiring the bandwidth of the video playback terminal accessed to the network at the current moment, inputting the bandwidth to a sliding autoregressive average model to estimate the bandwidth data when the next section of video is received, and acquiring the estimated bandwidth;
according to the estimated bandwidth, constructing a re-caching waiting time function:
Figure FDA0002448158290000032
in the formula CkFor the estimated bandwidth, (.)+Represents taking a positive number, LkRepresents the duration of the k-th video segment, BkThe size of a playing buffer area when the kth segmented video is played;
the picture quality judder level function is calculated by:
Figure FDA0002448158290000033
constructing the benefit function according to the user experience quality function, the picture quality jitter degree function, the re-caching waiting time function and the cost coefficient:
Figure FDA0002448158290000034
in the formula, lambda is a sensitive factor of a user to video quality fluctuation, mu is a sensitive factor of the user to the re-caching waiting time, K represents the number of segments required to be received for playing the complete video, and pcRate information for mobile network traffic.
7. The video playback system based on the video playback terminal of claim 6, wherein the command is to
Figure FDA0002448158290000041
Representing the bandwidth to be estimated, the sliding autoregressive average model is represented by:
Figure FDA0002448158290000042
where gamma is a constant term, phi is a timing hysteresis factor and phi ∈ [ -1,1 [ ]]Theta is an error hysteresis factor and is defined by [ -1,1 [ ]]Between Gaussian noise, error
Figure FDA0002448158290000043
Representing the difference between the predicted bandwidth and the actual bandwidth of the k step.
8. The video playback system based on the video playback terminal of claim 5, wherein the video playing module comprises: the video server provides videos under multiple code rates, the code rate closest to the optimal code rate is selected from the multiple code rates to serve as a final playing code rate, and the video playback terminal receives and plays back the videos under the final playing code rate from the video server.
CN201810457690.1A 2018-05-14 2018-05-14 Video playback method and system based on video playback terminal Active CN108769754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810457690.1A CN108769754B (en) 2018-05-14 2018-05-14 Video playback method and system based on video playback terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810457690.1A CN108769754B (en) 2018-05-14 2018-05-14 Video playback method and system based on video playback terminal

Publications (2)

Publication Number Publication Date
CN108769754A CN108769754A (en) 2018-11-06
CN108769754B true CN108769754B (en) 2020-10-13

Family

ID=64006806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810457690.1A Active CN108769754B (en) 2018-05-14 2018-05-14 Video playback method and system based on video playback terminal

Country Status (1)

Country Link
CN (1) CN108769754B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719457B (en) * 2019-09-17 2020-10-30 北京达佳互联信息技术有限公司 Video coding method and device, electronic equipment and storage medium
CN113411643B (en) * 2021-05-26 2022-11-11 中国人民解放军国防科技大学 Video quality optimization method, system, electronic equipment and storage medium
CN114554208A (en) * 2022-01-14 2022-05-27 百果园技术(新加坡)有限公司 Video coding configuration method, system, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015520548A (en) * 2012-04-23 2015-07-16 華為技術有限公司Huawei Technologies Co.,Ltd. Method and apparatus for evaluating multimedia quality
CN105915628A (en) * 2016-05-31 2016-08-31 珠海金山网络游戏科技有限公司 Mobile phone system remote-controlled debugging method, mobile phone system remote-controlled debugging system and mobile phone system remote-controlled debugging device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015520548A (en) * 2012-04-23 2015-07-16 華為技術有限公司Huawei Technologies Co.,Ltd. Method and apparatus for evaluating multimedia quality
CN105915628A (en) * 2016-05-31 2016-08-31 珠海金山网络游戏科技有限公司 Mobile phone system remote-controlled debugging method, mobile phone system remote-controlled debugging system and mobile phone system remote-controlled debugging device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Profit Optimization for Wireless Video Broadcasting Systems Based on Polymatroidal Analysis;Wen Ji,et.al;《IEEE TRANSACTIONS ON MULTIMEDIA》;20151231;第17卷(第12期);摘要,正文第二部分 *

Also Published As

Publication number Publication date
CN108769754A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
JP7274564B2 (en) Coding profile optimization for media streaming
US10032199B2 (en) Aggregation of multiple media streams to a user
EP3210385B1 (en) Dynamic programming across multiple streams
Joseph et al. NOVA: QoE-driven optimization of DASH-based video delivery in networks
US9325597B1 (en) Bandwidth upgrade recommendation
CN109618565B (en) Method and system for automatically measuring experience quality of streaming video user
US8880722B2 (en) Dynamic media bit rates based on enterprise data transfer policies
CN108769754B (en) Video playback method and system based on video playback terminal
Wang et al. Joint online transcoding and geo-distributed delivery for dynamic adaptive streaming
CN110268717A (en) The bit rate of more presentation codes is optimized using statistical information is played
US9544623B2 (en) Quota aware video adaptation
CN111404966B (en) Data processing method of expressway video monitoring system
Hoßfeld et al. To each according to his needs: Dimensioning video buffer for specific user profiles and behavior
CN112135169B (en) Media content loading method, device, equipment and medium
WO2017094847A1 (en) Quality of experience optimizing device, network quality estimating device, mobile terminal, quality of experience optimizing method, network quality estimating method, and program
CN112954354B (en) Video transcoding method, device, equipment and medium
Xiao et al. Two-phase rate adaptation strategy for improving real-time video QoE in mobile networks
CN105208409B (en) A kind of information recommendation method and device
US9813777B1 (en) Time shifting content for network DVR and trick play keys
CN111757145A (en) Method for processing monitoring videos with balanced multipath loads in batch
CN115842937A (en) Video playing method, device, equipment and storage medium
CN116074256A (en) Content distribution network node bandwidth optimization method and device, electronic equipment and medium
EP4013060A1 (en) Multiple protocol prediction and in-session adaptation in video streaming
US10003546B1 (en) Bandwidth override
US20240137585A1 (en) Multiple protocol prediction and in-session adaptation in video streaming

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant