Video transmission method, multicast management platform, terminal and storage medium
Calculate user experience quality scores through the multicast management platform and terminals, dynamically adjust the bit rate, solve the problem of waste of multi-bit rate live broadcast resources and user experience, realize flexible collaborative transmission of multicast/unicast resources, ensure user experience quality and Cost savings.
Patent Information
- Application Number
- CN202011079013.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-10
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-10-10
AI Technical Summary
When operators have limited multicast resources, multi-code rate live broadcasts lead to a waste of multicast resources, and when user network bandwidth is insufficient, 4K code stream transmission causes lags, making it impossible to guarantee user experience quality.
Obtain the playback popularity of multi-bitrate live video streams through the multicast management platform. If the popularity is greater than or equal to the threshold, multicast resources are allocated. The terminal calculates the user experience quality score and selects the target bitrate. If the popularity is low, unicast transmission is used.
It achieves flexible coordinated transmission of multicast/unicast resources in multi-bit rate scenarios, ensuring user experience quality and saving network resources and maintenance costs.
Smart Images

Figure CN114339269B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of video processing technology, and in particular to a video transmission method, a multicast management platform, a terminal, a video transmission system, and a storage medium. Background Art
[0002] Video service is a new video service built on broadband Internet and mobile Internet. It is a multimedia interactive service technology integrating images, data, etc. In the case of limited multicast resources of operators, if multicast resources are allocated to all bit rates of multi-bitrate live broadcast, it will cause a waste of multicast resources; and if the user's network bandwidth decreases / the terminal buffer capacity is insufficient, if the content is still transmitted according to the 4K bitstream requested by the user, obvious jamming will occur, and the quality of user experience cannot be guaranteed. Summary of the invention
[0003] In view of this, a technical problem to be solved by the present invention is to provide a video transmission method, a multicast management platform, a terminal, a video transmission system and a storage medium.
[0004] According to a first aspect of the present disclosure, a video transmission method is provided, including: a multicast management platform obtains the playback popularity of multiple live video streams that are broadcast live at multiple bit rates; if the playback popularity of the live video stream is greater than or equal to a preset popularity threshold, the multicast management platform allocates multicast resources for the live video stream and configures multicast information; when a user terminal initiates a live service request, the user experience quality score for the multiple live video streams is calculated; the user terminal selects a target bit rate of the live video to be obtained based on the user experience quality score to obtain the next video fragment.
[0005] Optionally, if the playback threshold of the live video stream is less than the heat threshold, the multicast management platform transmits the live video stream in unicast mode and configures unicast information.
[0006] Optionally, the multicast management platform obtains the playback popularity of multiple live video streams broadcast at multiple bit rates, including: the multicast management platform calculates the playback popularity of the live video stream based on the current number of online users and the bit rate corresponding to the live video stream.
[0007] Optionally, the playback heat H=ln(p*r); wherein p is the current number of online users corresponding to the live video stream, and r is the bit rate corresponding to the live video stream.
[0008] Optionally, the calculation of user experience quality scores for the multiple live video streams includes: the user terminal obtains the encoding quality score, bit rate switching amplitude score and jamming score of the mth segment of the live video; the user terminal obtains weighting coefficients corresponding to the encoding quality score, the bit rate switching amplitude score and the jamming score, respectively; the user terminal calculates the weighted sum of the encoding quality score, the bit rate switching amplitude score and the jamming score according to the weighting coefficients as the user experience quality score.
[0009] Optionally, calculate the encoding quality score of the mth slice
[0010]
[0011] Among them, r m is the bit rate of the mth slice, and v0, v1, v2, and v3 are coefficients.
[0012] Optionally, calculate the rate switching amplitude score of the mth slice
[0013]
[0014] Among them, r m-1 is the playback bitrate of the m-1th segment, r m is the code rate of the mth slice.
[0015] Optionally, calculate the jam score for the mth shard
[0016]
[0017]
[0018] Where exp is the exponential function, t m is the duration of the downloaded but unplayed segments in the buffer, r m is the playback bitrate of the mth segment, BW m is the available bandwidth for playing the mth segment, T s The segment length of the live video.
[0019] Optionally, the selecting of the target bit rate of the live video to be obtained to obtain the next video fragment includes: the user terminal selecting the bit rate corresponding to the live video with the highest user experience quality score as the target bit rate; the user terminal determines whether there is a multicast group corresponding to the target bit rate, and if so, joins the multicast group to obtain the next video fragment; if not, obtains the next video fragment corresponding to the target bit rate in a unicast form.
[0020] According to a second aspect of the present disclosure, a multicast management platform is provided, including: a playback heat acquisition module, used to obtain the playback heat of multiple live video streams broadcast at multiple bit rates; a playback resource configuration module, used to allocate multicast resources and configure multicast information for the live video stream if the playback heat of the live video stream is greater than or equal to a preset heat threshold.
[0021] Optionally, the playback resource configuration module is further configured to transmit the live video stream in unicast mode and configure unicast information if the playback threshold of the live video stream is less than the heat threshold.
[0022] Optionally, the playback popularity acquisition module is further used to calculate the playback popularity of the live video stream based on the current number of online users and the bit rate corresponding to the live video stream.
[0023] Optionally, the playback heat H=ln(p*r); wherein p is the current number of online users corresponding to the live video stream, and r is the bit rate corresponding to the live video stream.
[0024] According to a third aspect of the present disclosure, a terminal is provided, comprising: a quality score calculation module, used to calculate the user experience quality score for the multiple live video streams when initiating a live service request; a video fragment acquisition module, used to select a target bit rate of the live video to be acquired based on the user experience quality score, so as to acquire the next video fragment.
[0025] Optionally, the quality score calculation module is used to obtain the encoding quality score, bit rate switching amplitude score and jamming score of the mth segment of the live video; obtain weighting coefficients corresponding to the encoding quality score, the bit rate switching amplitude score and the jamming score respectively; and calculate the weighted sum of the encoding quality score, the bit rate switching amplitude score and the jamming score according to the weighting coefficients as the user experience quality score.
[0026] Optionally, the quality score calculation module is specifically used to calculate the encoding quality score of the mth slice
[0027]
[0028] Among them, r m is the bit rate of the mth slice, and v0, v1, v2, and v3 are coefficients.
[0029] Optionally, the quality score calculation module is specifically used to calculate the bit rate switching amplitude score of the mth slice
[0030]
[0031] Among them, rm-1 is the playback bitrate of the m-1th segment, r m is the code rate of the mth slice.
[0032] Optionally, the quality score calculation module is specifically used to calculate the jam score of the mth shard
[0033]
[0034]
[0035] Where exp is the exponential function, t m is the duration of the downloaded but unplayed segments in the buffer, r m is the playback bitrate of the mth segment, BW m is the available bandwidth for playing the mth segment, T s The segment length of the live video.
[0036] Optionally, the video fragment acquisition module is used to select the bit rate corresponding to the live video with the highest user experience quality score as the target bit rate; determine whether there is a multicast group corresponding to the target bit rate, if so, join this multicast group to obtain the next video fragment, if not, obtain the next video fragment corresponding to the target bit rate in the form of unicast.
[0037] According to a fourth aspect of the present disclosure, a video transmission system is provided, including: the multicast management platform and the terminal as described above.
[0038] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the instructions are executed by a processor as described above.
[0039] The video transmission method, multicast management platform, terminal, video transmission system and storage medium disclosed in the present invention are as follows: the multicast management platform obtains the playback popularity of multiple live video streams broadcasted at multiple bit rates; if the playback popularity of the live video stream is greater than or equal to a preset popularity threshold, multicast resources are allocated to the live video stream and multicast information is configured; the user terminal calculates the user experience quality scores for the multiple live video streams, and selects the target bit rate of the live video to be obtained based on the user experience quality score to obtain the next video segment; by collecting parameters directly related to the live heat change, the live heat situation can be accurately described, and unicast / multicast transmission switching can be performed; factors strongly related to the user experience quality are collected, and when the terminal decides to select the segment bit rate, the buffer state and the network bandwidth conditions can be taken into account, and the segment encoding quality and the playback quality are comprehensively considered, so that the terminal can dynamically adjust the bit rate to achieve the optimization of the user playback experience; it supports better utilization of network resources in multi-bit rate scenarios and saves construction and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0041] Figure 1 is a flow chart of an embodiment of a video transmission method according to the present disclosure;
[0042] Figure 2 A schematic diagram of a process for calculating a user experience quality score in an embodiment of a video transmission method according to the present disclosure;
[0043] Figure 3 A schematic diagram of a process of obtaining video segments in an embodiment of a video transmission method according to the present disclosure;
[0044] Figure 4 is a schematic diagram of information interaction according to another embodiment of the video transmission method disclosed herein;
[0045] Figure 5 A schematic diagram of modules of an embodiment of a multicast management platform according to the present disclosure;
[0046] Figure 6 A schematic diagram of modules of a terminal according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0047] The present disclosure is described more fully below with reference to the accompanying drawings, in which exemplary embodiments of the present disclosure are described. The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure. The technical solutions of the present disclosure are described in many aspects below in conjunction with various figures and embodiments.
[0048] With the development of high-definition video technology, OTT live broadcasts such as online education, large-scale events or concerts tend to use HD / 4K / VR or multi-view video for live broadcast forwarding. The operator's OTT multicast capability platform can introduce third-party OTT live sources and convert unicast into multicast. Only one video stream is needed above the multicast replication point, saving network bandwidth resources.
[0049] However, in the case of limited multicast resources of operators, if multicast resources are allocated to all bit rates of multi-bitrate live broadcasts, it will result in a waste of multicast resources, because users rarely choose to watch standard-definition live broadcasts. In addition, if the user's network bandwidth decreases / the terminal buffer capacity is insufficient, if the content is still transmitted according to the 4K bitstream requested by the user, obvious lag will occur and the user experience quality cannot be guaranteed.
[0050] Figure 1 FIG. 1 is a flow chart of an embodiment of a video transmission method according to the present disclosure. Figure 1 As shown:
[0051] Step 101: The multicast management platform obtains the play popularity of multiple live video streams broadcast at multiple bit rates.
[0052] Step 102: If the playback popularity of the live video stream is greater than or equal to a preset popularity threshold, the multicast management platform allocates multicast resources for the live video stream and configures multicast information.
[0053] If the play heat of the live video stream is less than the heat threshold, the multicast management platform transmits the live video stream in unicast mode and configures unicast information. Existing methods can be used to allocate multicast resources and configure multicast information, transmit the live video stream in unicast mode and configure unicast information.
[0054] Step 103: When the user terminal initiates a live broadcast service request, the user experience quality scores for multiple live broadcast video streams are calculated.
[0055] Step 104: The user terminal selects a target bit rate of the live video to be acquired based on the user experience quality score, so as to acquire the next video segment.
[0056] The video transmission method disclosed in the present invention can solve the problem that the existing OTT video multicast transmission is based on a single-bitrate transmission solution and is not suitable for multi-bitrate HLS and DASH live broadcasts; it can solve the problem that the existing OTT live broadcast resource scheduling does not support automatic resource scheduling based on factors such as network traffic, available bandwidth, and terminal capabilities, thereby causing resource waste and the inability to guarantee user experience quality; it is suitable for various scenarios such as operator multicast platforms carrying third-party multi-bitrate OTT live broadcasts, and provides efficient and flexible multi-bitrate OTT live broadcast service scheduling strategies to achieve flexible collaborative transmission of multicast / unicast (CDN) resources and ensure user experience quality.
[0057] In one embodiment, the multicast management platform may use a variety of methods to obtain the playback popularity of multiple live video streams that are broadcast live at multiple bit rates. For example, the multicast management platform calculates the playback popularity of the live video stream based on the current number of online users and the bit rate corresponding to the live video stream. Playback popularity H = ln(p*r); wherein p is the current number of online users corresponding to the live video stream, and r is the bit rate corresponding to the live video stream. The bit rate is the number of data bits transmitted per unit time during data transmission, and the general unit is kbps, i.e., kilobits per second, such as 40K, 50K, etc. The playback popularity of the live video stream may be calculated by a multicast management platform or a scheduling server.
[0058] In one embodiment, multiple methods may be used to calculate the user experience quality scores for multiple live video streams. Figure 2 FIG. 1 is a flow chart of calculating the user experience quality score in an embodiment of the video transmission method according to the present disclosure. Figure 2 As shown:
[0059] Step 201: The user terminal obtains the encoding quality score, bit rate switching amplitude score and jamming score of the mth segment of the live video.
[0060] Step 202: The user terminal obtains weighting coefficients corresponding to the encoding quality score, the bit rate switching amplitude score, and the jamming score, respectively.
[0061] In step 203, the user terminal calculates the weighted sum of the encoding quality score, the bit rate switching amplitude score and the jamming score according to the weighting coefficient as the user experience quality score.
[0062] Calculate the coding quality score of the mth segment
[0063]
[0064] Among them, r m is the bit rate of the mth slice, and v0, v1, v2, and v3 are coefficients.
[0065] Calculate the rate switching amplitude score of the mth slice
[0066]
[0067] Among them, r m-1 is the playback bitrate of the m-1th segment, r m is the code rate of the mth slice.
[0068] Calculate the jam score of the mth shard
[0069]
[0070]
[0071] Where exp is the exponential function, t m is the duration of the downloaded but unplayed segments in the buffer, r m is the playback bitrate of the mth segment, BW m is the available bandwidth for playing the mth segment, T s The segment length of the live video.
[0072] Figure 3 FIG. 1 is a flow chart of obtaining video segments in an embodiment of a video transmission method according to the present disclosure. Figure 3 As shown:
[0073] Step 301: The user terminal selects the bit rate corresponding to the live video with the highest user experience quality score as the target bit rate.
[0074] Step 302 : The user terminal determines whether there is a multicast group corresponding to the target bit rate. If yes, the process proceeds to step 303 ; if no, the process proceeds to step 304 .
[0075] Step 303: Join the multicast group to obtain the next video segment.
[0076] Step 304: Acquire the next video segment corresponding to the target bit rate in a unicast manner.
[0077] The video transmission method disclosed in the present invention proposes a method for realizing video multi-bitrate transmission. In a multi-bitrate live broadcast scenario, a multicast management platform allocates multicast resources to the bitrate of live videos that reach a heat threshold and configures multicast channel information, otherwise the live video resources are transmitted in unicast mode; when a terminal requests live content, the bitrate corresponding to the next fragment that maximizes the user experience quality score is selected and automatically adjusted. If the multicast group of the selected bitrate is available, the multicast group of the selected bitrate is joined, otherwise the content is obtained in unicast mode.
[0078] In one embodiment, Figure 4 As shown, the calculation module of the user experience quality model Q(m) and the decision module for bit rate switching are deployed in the user terminal. The live broadcast popularity statistics module and the transmission mode decision module are deployed in the scheduling server (multicast scheduling / CDN RR). The live broadcast popularity statistics module and the transmission mode decision module can also be deployed in the multicast management platform.
[0079] The multicast management platform configures multicast information for live videos of a certain bit rate that reaches the heat threshold H0. Existing methods can be used to configure multicast information for live videos of a certain bit rate. When a user requests to play live content through a terminal, the user experience quality is dynamically calculated and a suitable bit rate is automatically selected. After the bit rate selection is completed, the bit rate is switched according to the capability set information of the live broadcast. If the multicast group of the selected bit rate is available, it switches to the multicast stream corresponding to the selected bit rate; if the multicast group of the selected bit rate is not available, a unicast service is provided in CDN mode.
[0080] When the operator's multicast resources are limited, the current live broadcast heat H is calculated. When the traffic volume is large (H≥ heat threshold H0), the hot live broadcast of unicast transmission is dynamically multicasted; when the traffic volume is small (H<heat threshold H0), the live broadcast is directly carried by CDN (unicast). The live broadcast heat model is:
[0081] H = ln(p*r);
[0082] Among them, H is the current live broadcast popularity model; p is the current number of online users of a certain bitrate of a multi-bitrate live video stream, r is a bitrate of a certain live video stream, and ln is a logarithmic function. The higher the online traffic, the greater the actual pressure on the network, and the higher the live broadcast popularity.
[0083] The terminal calculates the corresponding quality score for each bitrate of the mth segment through the Q(m) model, and selects the bitrate that maximizes the Q(m) score of the video segment. Based on the selected bitrate, the terminal automatically requests to join the multicast group corresponding to the selected bitrate or requests content from the CDN through the corresponding unicast method. To ensure user experience, the playback bitrate is adaptively adjusted. The user experience quality score is:
[0084] Q(m)=w1*Q1(m)+w2*Q2(m)+w3*Q3(m);
[0085] Among them, Q(m) is the user experience quality scoring model of the mth video segment to be downloaded, which is composed of three weighted sub-models: Q1(m) is the mth segment encoding quality scoring sub-model; Q2(m) is the rate switching amplitude scoring sub-model of the mth segment; Q3(m) is the stuttering scoring sub-model of the mth segment; w1, w2, and w3 are all constant coefficients.
[0086] Coding quality scoring sub-model Q1(m):
[0087]
[0088] Among them, Q1(m) is the coding quality score of the mth slice, rm is one of the bit rates of the mth slice, v0, v1, v2, and v3 are coefficients used to adjust the value range of the coding quality. The better the coding quality, the better the user experience.
[0089] Coding quality scoring sub-model Q2(m):
[0090]
[0091] Among them, Q2(m) is the bitrate switching amplitude score of the mth segment. The playback bitrate of the previous segment (i.e., the m-1th segment) is rm-1, and rm is one of the bitrates of the mth segment. The smaller the difference with the bitrate of the previous segment, the smoother the playback is and the better the user experience is.
[0092] Caton score sub-model Q3(m):
[0093]
[0094] in,
[0095] Q3(m) is the predicted jamming score of the mth segment, exp is an exponential function, and tm is the predicted duration of the downloaded but unplayed segments in the buffer, in seconds. The size of the buffer increases as the download of the segments is completed and decreases as the video segments are played. The more data cached in the buffer, the lower the probability of jamming in video playback.
[0096] When the mth segment has been downloaded but not played, the size of the buffer is determined by the buffer size tm-1 of the previous stage, the video segment bit rate rm selected in this stage, and the predicted available bandwidth BWm (the average bandwidth of the most recently downloaded segments is used as the predicted bandwidth BWm); the length of the cache to be played when the download of the m+1th segment is completed is the playback cache length when the download of the m+1th segment starts (the cached length in the previous stage) plus the segment length Ts, minus the time required to download the m+1th segment; when the duration tm is equal to zero, it means that there is no video segment available for playback in the buffer, indicating that a freeze has occurred and the user experience is poor.
[0097] The video transmission method disclosed in the present invention can support OTT multi-bitrate live broadcast scenarios, integrate segment encoding quality, buffer size, network bandwidth status, bitrate switching, and dynamically adjust the terminal playback bitrate based on user experience quality prediction, thereby overcoming the problem of user experience quality caused by the single bitrate solution directly using the bitrate requested by the user to transmit the corresponding content to the user; the live broadcast popularity is represented by the comprehensive number of online users and the corresponding live broadcast bitrate, thereby overcoming the problem of unreasonable multicast / unicast resource allocation caused by inaccurate calculation of live broadcast popularity.
[0098] In one embodiment, Figure 5 As shown, the present disclosure provides a multicast management platform 50, including: a playback heat acquisition module 51 and a playback resource configuration module 52. The playback heat acquisition module 51 acquires the playback heat of multiple live video streams broadcasted at multiple bit rates. If the playback heat of the live video stream is greater than or equal to a preset heat threshold, the playback resource configuration module 52 allocates multicast resources for the live video stream and configures multicast information; if the playback threshold of the live video stream is less than the heat threshold, the playback resource configuration module 52 transmits the live video stream in unicast mode and configures unicast information.
[0099] The play heat acquisition module 51 calculates the play heat of the live video stream based on the current number of online users and the bit rate corresponding to the live video stream. Play heat H = ln (p * r); where p is the current number of online users corresponding to the live video stream, and r is the bit rate corresponding to the live video stream.
[0100] In one embodiment, Figure 6 As shown, the present disclosure provides a terminal 60, including: a quality score calculation module 61 and a video segment acquisition module 62. The quality score calculation module 61 calculates the user experience quality scores for multiple live video streams when initiating a live service request. The video segment acquisition module 62 selects the target bit rate of the live video to be acquired based on the user experience quality score to acquire the next video segment.
[0101] The quality score calculation module 61 obtains the encoding quality score, bit rate switching amplitude score and jamming score of the mth segment of the live video; the quality score calculation module 61 obtains the weighting coefficients corresponding to the encoding quality score, bit rate switching amplitude score and jamming score respectively; the quality score calculation module 61 calculates the weighted sum of the encoding quality score, bit rate switching amplitude score and jamming score according to the weighting coefficients as the user experience quality score.
[0102] The quality score calculation module 61 calculates the encoding quality score of the mth slice
[0103]
[0104] Among them, r m is the bit rate of the mth slice, and v0, v1, v2, and v3 are coefficients.
[0105] The quality score calculation module 61 calculates the bit rate switching amplitude score of the mth slice
[0106]
[0107] Among them, r m-1 is the playback bitrate of the m-1th segment, rm is the code rate of the mth slice.
[0108] The quality score calculation module 61 calculates the jam score of the mth shard
[0109]
[0110]
[0111] Where exp is the exponential function, t m is the duration of the downloaded but unplayed segments in the buffer, r m is the playback bitrate of the mth segment, BW m is the available bandwidth for playing the mth segment, T s The segment length of the live video.
[0112] The video fragment acquisition module 62 selects the bit rate corresponding to the live video with the highest user experience quality score as the target bit rate; the video fragment acquisition module 62 determines whether there is a multicast group corresponding to the target bit rate. If so, joins this multicast group to obtain the next video fragment. If not, obtains the next video fragment corresponding to the target bit rate in the form of unicast.
[0113] In one embodiment, the present disclosure provides a video transmission system, including the multicast management platform and terminal in any of the above embodiments.
[0114] In one embodiment, the present disclosure provides a computer-readable storage medium, which stores computer instructions. When the instructions are executed by a processor, the video transmission method in any of the above embodiments is implemented.
[0115] The video transmission method, multicast management platform, terminal, video transmission system and storage medium provided in the above embodiments are as follows: the multicast management platform obtains the playback popularity of multiple live video streams broadcasted at multiple bit rates; if the playback popularity of the live video stream is greater than or equal to a preset popularity threshold, multicast resources are allocated to the live video stream and multicast information is configured; the user terminal calculates the user experience quality scores for the multiple live video streams, and selects the target bit rate of the live video to be obtained based on the user experience quality score to obtain the next video segment; by collecting parameters directly related to the change in live heat, the live heat situation can be accurately described, and unicast / multicast transmission switching can be performed; factors strongly related to user experience quality are collected, and when the terminal decides to select the segment bit rate, the buffer state and network bandwidth conditions can be taken into account, and the segment encoding quality and playback quality are comprehensively considered, so that the terminal can dynamically adjust the bit rate to achieve the optimization of the user playback experience; the deployment is simple and easy to develop and implement; it supports automatic allocation and coordinated transmission of streaming media multicast and unicast resources in multi-bit rate scenarios, thereby better utilizing network resources and saving construction and maintenance costs, and has great practical value.
[0116] The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
[0117] The description of the present disclosure is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the present disclosure to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present disclosure, and to enable those of ordinary skill in the art to understand the present disclosure and thereby design various embodiments with various modifications suitable for specific uses.
Claims
1. A video transmission method, include: The multicast management platform obtains the play popularity of multiple live video streams broadcast at multiple bit rates; If the playback popularity of the live video stream is greater than or equal to a preset popularity threshold, the multicast management platform allocates multicast resources for the live video stream and configures multicast information; When the user terminal initiates a live broadcast service request, calculating the user experience quality scores for the multiple live video streams; The user terminal obtains the encoding quality score, the bit rate switching amplitude score and the jamming score of the mth segment of the live video; the user terminal obtains weighting coefficients corresponding to the encoding quality score, the bit rate switching amplitude score and the jamming score respectively; the user terminal calculates the weighted sum of the encoding quality score, the bit rate switching amplitude score and the jamming score according to the weighting coefficient as the user experience quality score; The user terminal selects a target bit rate of the live video to be acquired based on the user experience quality score, so as to acquire the next video segment; Among them, the jam score of the mth shard is calculated Where exp is the exponential function, t m is the length of the mth segment that has been downloaded but not played in the buffer, r m is the playback bitrate of the mth segment, BW m is the available bandwidth for playing the mth segment, T s The segment length of the live video.
2. The method according to claim 1, further comprising: include: If the playback threshold of the live video stream is less than the heat threshold, the multicast management platform transmits the live video stream in unicast mode and configures unicast information.
3. The method according to claim 1 or 2, wherein the multicast management platform obtains the playback popularity of multiple live video streams broadcast at multiple bit rates. include: The multicast management platform calculates the play popularity of the live video stream based on the current number of online users and the bit rate corresponding to the live video stream.
4. The method according to claim 3, in, The play heat H=ln(p*r); Among them, p is the current number of online users corresponding to the live video stream, and r is the bit rate corresponding to the live video stream.
5. The method according to claim 1, in, Calculate the coding quality score of the mth segment Among them, r m is the code rate of the mth slice, v 0 、v 1 、v 2 , v3 is the coefficient.
6. The method according to claim 1, in, Calculate the rate switching amplitude score of the mth slice Among them, r m-1 is the playback bitrate of the m-1th segment, r m is the code rate of the mth slice.
7. The method according to claim 1, wherein the target bit rate of the live video to be acquired is selected to acquire the next video segment. include: The user terminal selects the bit rate corresponding to the live video with the highest user experience quality score as the target bit rate; The user terminal determines whether there is a multicast group corresponding to the target bit rate, and if so, joins the multicast group to obtain the next video segment, and if not, obtains the next video segment corresponding to the target bit rate in a unicast form.
8. A multicast management platform, include: A playback popularity acquisition module is used to acquire the playback popularity of multiple live video streams broadcast at multiple bit rates; A playback resource configuration module, used to allocate multicast resources and configure multicast information for the live video stream if the playback popularity of the live video stream is greater than or equal to a preset popularity threshold; When initiating a live broadcast service request, the user terminal obtains the encoding quality score, the bit rate switching amplitude score and the jamming score of the mth segment of the live broadcast video; the user terminal obtains weighting coefficients corresponding to the encoding quality score, the bit rate switching amplitude score and the jamming score respectively; the user terminal calculates the weighted sum of the encoding quality score, the bit rate switching amplitude score and the jamming score according to the weighting coefficient as the user experience quality score, which is used to select the target bit rate of the live broadcast video to be obtained and obtain the next video segment; wherein the jamming score of the mth segment is Where exp is the exponential function, t m is the length of the mth segment that has been downloaded but not played in the buffer, r m is the playback bitrate of the mth segment, BW m is the available bandwidth for playing the mth segment, T s The segment duration of the live video.
9. The multicast management platform according to claim 8, in, The playback resource configuration module is also used to transmit the live video stream in unicast mode and configure unicast information if the playback threshold of the live video stream is less than the heat threshold.
10. The multicast management platform according to claim 8 or 9, in, The playback popularity acquisition module is also used to calculate the playback popularity of the live video stream based on the current number of online users and the bit rate corresponding to the live video stream.
11. The multicast management platform according to claim 10, in, The play heat H=ln(p*r); Among them, p is the current number of online users corresponding to the live video stream, and r is the bit rate corresponding to the live video stream.
12. A terminal, include: A quality score calculation module, used to calculate the user experience quality scores for multiple live video streams when initiating a live service request; The quality score calculation module is used to obtain the encoding quality score, bit rate switching amplitude score and jamming score of the mth segment of the live video; obtain weighting coefficients corresponding to the encoding quality score, the bit rate switching amplitude score and the jamming score respectively; and calculate the weighted sum of the encoding quality score, the bit rate switching amplitude score and the jamming score according to the weighting coefficient as the user experience quality score. A video segment acquisition module, used to select a target bit rate of the live video to be acquired based on the user experience quality score, so as to acquire the next video segment; The quality score calculation module is specifically used to calculate the jam score of the mth shard. Where exp is the exponential function, t m is the length of the mth segment that has been downloaded but not played in the buffer, r m is the playback bitrate of the mth segment, BW m is the available bandwidth for playing the mth segment, T s The segment duration of the live video.
13. The terminal according to claim 12, in, The quality score calculation module is specifically used to calculate the encoding quality score of the mth slice Among them, r m is the code rate of the mth slice, v 0 、v 1 、v 2 , v3 is the coefficient.
14. The terminal according to claim 12, in, The quality score calculation module is specifically used to calculate the rate switching amplitude score of the mth slice Among them, r m-1 is the playback bitrate of the m-1th segment, r m is the code rate of the mth slice.
15. The terminal according to claim 12, in, The video fragment acquisition module is used to select the bit rate corresponding to the live video with the highest user experience quality score as the target bit rate; determine whether there is a multicast group corresponding to the target bit rate, if so, join this multicast group to obtain the next video fragment, if not, obtain the next video fragment corresponding to the target bit rate in the form of unicast.
16. A video transmission system, include: The multicast management platform according to any one of claims 8 to 11, and the terminal according to any one of claims 12 to 15. 17 . A computer-readable storage medium, wherein the computer-readable storage medium non-transitorily stores computer instructions, wherein the instructions are executed by a processor to perform the method according to claim 1 .
Citation Information
Patent Citations
Web live video adjustment method and apparatus, electronic device and storage medium
CN108024126A
Playing / decision-making method / system, medium, playing end and server
CN110225420A
Embedded dynamic video playing control method and device based on network throughput
CN110248247A
Live broadcast service scheduling method and device, computing device and storage medium
CN110650355A
Multicast method, apparatus and device, and computer storage medium
CN111372103A
