WO2015010233A1 - Method, apparatus and network media system for playing multiple media contents - Google Patents

Method, apparatus and network media system for playing multiple media contents Download PDF

Info

Publication number
WO2015010233A1
WO2015010233A1 PCT/CN2013/079776 CN2013079776W WO2015010233A1 WO 2015010233 A1 WO2015010233 A1 WO 2015010233A1 CN 2013079776 W CN2013079776 W CN 2013079776W WO 2015010233 A1 WO2015010233 A1 WO 2015010233A1
Authority
WO
WIPO (PCT)
Prior art keywords
code
media content
adaptive
media
code rate
Prior art date
Application number
PCT/CN2013/079776
Other languages
French (fr)
Chinese (zh)
Inventor
匡运生
单振威
朱萸
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to PCT/CN2013/079776 priority Critical patent/WO2015010233A1/en
Priority to CN201380078372.XA priority patent/CN105393533B/en
Publication of WO2015010233A1 publication Critical patent/WO2015010233A1/en

Links

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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2401Monitoring of the client buffer
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43072Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments of the present invention provide a method, an apparatus and a network media system for playing multiple media contents. The method comprises: respectively acquiring a playing bit rate of an adaptive bit stream media content played by each media player in N media players, wherein N>2; and if playing bit rates of M1 adaptive bit stream media contents are less than respective corresponding first bit rate thresholds, and M1<N, adjusting bit rates of adaptive bit stream media contents played by K media players, wherein M1≤K≤N. In the embodiments of the present invention, when playing bit rates of adaptive bit stream media contents played by a part of media players are less than respective corresponding bit rate thresholds, the playing bit rates of adaptive bit stream media contents played by multiple media players can be adjusted, so as to implement fair play, and improve user experience.

Description

播放多 ^^体内容的方法、 装置和网络媒体系统 技术领域  Method, device and network media system for playing multiple ^^ body contents
本发明实施例涉及通信领域, 尤其是一种播放多个媒体内容的方法、 装置和网络媒体系统。 背景技术  Embodiments of the present invention relate to the field of communications, and in particular, to a method, an apparatus, and a network media system for playing multiple media content. Background technique
自适应码流传输技术是一种流媒体传输技术。 MPEG(Moving Pictures Experts Group, 动态图像专家组)标准组织推出了自适应码流传输技术标准 —— DASH(Dynamic Adaptive Streaming over HTTP, HTTP 动态自适应码 流)。 自适应码流传输技术可以统称为 DASH技术。  Adaptive code stream transmission technology is a streaming media transmission technology. The MPEG (Moving Pictures Experts Group) standards organization has introduced the adaptive code stream transmission technology standard - DASH (Dynamic Adaptive Streaming over HTTP). Adaptive code stream transmission technology can be collectively referred to as DASH technology.
DASH技术可以对一个流媒体文件进行转换和扩充, 将一个固定分辨 率和码率的流媒体文件扩充成一族具有不同分辨率和码率、 但播放内容相 同的流媒体文件集, 然后对文件集中的每一个流媒体文件的媒体数据在时 间上进行分片处理(一般一个分片的数据对应媒体文件数秒的播放内容)。 一个流媒体文件集中各个不同码率的流媒体文件的元数据信息和分片信息 组成对应该 υ媒体文件集的 MPD(Media Presentation Description, 媒体展示 描述)文件。 播放器在媒体播放的过程中对网络带宽进行监控, 在网络带宽 充足的情况下, 播放器向服务器请求最高码率的流媒体文件进行播放, 一 旦发现网络带宽不足以支持流媒体文件流畅的播放时, 播放器会根据 MPD 文件向服务器请求低码率的流媒体文件进行播放, 以降低媒体画面分辨率 为代价换取流媒体文件的流畅播放, 从而提高用户体验。  DASH technology can convert and expand a streaming media file, expand a fixed resolution and bitrate streaming media file into a family of streaming media files with different resolutions and bitrates, but play the same content, and then focus on the files. The media data of each streaming media file is fragmented in time (generally one piece of data corresponds to the media file playing for a few seconds). The metadata information and the fragmentation information of the streaming media files of different code rates in a streaming media file set constitute an MPD (Media Presentation Description) file corresponding to the media file set. The player monitors the network bandwidth during the media playback. When the network bandwidth is sufficient, the player requests the streaming media file with the highest bit rate from the server to play, and once the network bandwidth is insufficient, the streaming file is smoothly played. When the player requests a low-rate streaming media file from the server according to the MPD file, the player can play the streaming video file at the cost of reducing the resolution of the media image, thereby improving the user experience.
由于 DASH技术的机制, 在播放多个 DASH媒体内容时, 可能造成为 不同 DASH媒体内容分配的流媒体文件的码率差异较大, 出现不公平播放 的问题。 例如: 一个家庭里有两台媒体播放器 DMR1和 DMR2, DMR1和 DMR2播放电影时的清晰码率门限值分别为 1.6Mbps和 1.2Mbps,即 DMR1 播放码率为 1.6Mbps 及以上的电影时, 图像分辨率和画面质量是较优的, DMR2播放码率为 1.2Mbps及以上的电影时, 图像分辨率和画面质量是较 优的; 其中 DMR1中播放电影 A, DMR2中播放电影 K, 电影 A和电影 K 均为 DASH媒体内容; 家庭网络的总可用带宽为 2.8Mbps; 其中, 电影 A 的分片码率包括 200kbps、 400kbps、 800kbps、 1.2Mbps、 1.6Mbps和 2.2Mbps, 电影 K 的分片码率包括 200kbps , 500kbps , 800kbps, 1.2Mbps, 1.5Mbps 和 1.8Mbps; 电影 A首先在 DMR1上播放,此时由于网络带宽充足, DMR1 播放电影 A的码率为 2.2Mbps , 然后在 DMR2上播放电影 K, 此时由于网 络带宽的限制, DMR2播放电影 K的码率为 500kbps; 由此使得两个 DASH 媒体内容所获得的分片的码率差距很大, 所对应的图像分辨率和画面质量 也会差距很大, 造成了播放的不公平, 影响用户体验。 发明内容 Due to the mechanism of the DASH technology, when playing multiple DASH media content, the code rate of the streaming media files allocated for different DASH media contents may be greatly different, and the problem of unfair play may occur. For example: There are two media players DMR1 and DMR2 in a family. The clear rate thresholds of DMR1 and DMR2 when playing movies are 1.6Mbps and 1.2Mbps respectively, namely DMR1. When playing a movie with a code rate of 1.6 Mbps or higher, the image resolution and picture quality are superior. When the DMR2 plays a movie with a code rate of 1.2 Mbps or higher, the image resolution and picture quality are superior; among them, DMR1 Playing movie A, playing movie K in DMR2, movie A and movie K are both DASH media content; the total available bandwidth of the home network is 2.8 Mbps; wherein, the slice rate of movie A includes 200 kbps, 400 kbps, 800 kbps, 1.2 Mbps, 1.6Mbps and 2.2Mbps, the fragmentation rate of movie K includes 200kbps, 500kbps, 800kbps, 1.2Mbps, 1.5Mbps and 1.8Mbps; Movie A first plays on DMR1, at this time DMR1 plays the code of movie A due to sufficient network bandwidth. The rate is 2.2 Mbps, and then the movie K is played on the DMR2. At this time, due to the limitation of the network bandwidth, the code rate of the movie K played by the DMR2 is 500 kbps; thus, the code rate of the fragments obtained by the two DASH media contents is greatly different. The corresponding image resolution and picture quality will also be very different, resulting in unfair playback and affecting the user experience. Summary of the invention
本发明实施例提供了一种播放多个媒体内容的方法、 装置和网络媒体 系统, 以实现公平播放, 提高用户体验。。  Embodiments of the present invention provide a method, an apparatus, and a network media system for playing multiple media content, so as to achieve fair play and improve user experience. .
第一方面, 一种播放多个自适应码流媒体内容的方法, 包括: 分别获取 N个媒体播放器中每个媒体播放器播放的自适应码流媒体内 容的播放码率, N > 2;  The first aspect, a method for playing a plurality of adaptive code stream media content, comprising: respectively acquiring a play rate of the adaptive code stream media content played by each media player in the N media players, N > 2;
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容 的播放码率, M1 K N; 其中, 每个媒体播放器播放的自适应码流媒体内 容所对应的第一码率门限值是根据每个媒体播放器的设备能力信息和每个 媒体播放器播放的自适应码流媒体内容的描述信息得到的。  If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, adjusting the playback of the adaptive code stream media content played by the K media players a code rate, M1 KN; wherein, the first code rate threshold corresponding to the adaptive stream media content played by each media player is based on device capability information of each media player and played by each media player The description information of the adaptive code stream media content is obtained.
在第一方面的第一种可能的实现方式中,所述若 Ml个所述自适应码流 媒体内容的播放码率低于各自对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容的播放码率, 包括: 若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则根据用于播放所述 N个自适应码流媒体内容的总 带宽和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放 的自适应码流媒体内容分配对应的播放码率; In a first possible implementation manner of the first aspect, if the play rate of the M1 pieces of the adaptive code stream media content is lower than a corresponding first code rate threshold, and M1 < N, Adjusting the play rate of the adaptive stream media content played by the K media players, including: If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, according to the total content for playing the N adaptive code stream media content The bandwidth and the description information of each of the adaptive code stream media content, and the corresponding code rate of the adaptive code stream media content played by the K media players is allocated;
根据为所述 K个媒体播放器播放的自适应码流媒体内容分配的播放码 率, 向媒体服务器发送码率调整命令, 以使所述媒体服务器向所述 K个媒 体播放器发送码率为被分配的传输码率的自适应码流媒体内容。  Transmitting a code rate adjustment command to the media server according to a play rate allocated for the adaptive code stream media content played by the K media players, so that the media server sends a code rate to the K media players The adaptive stream media content of the assigned transmission rate.
结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述根据用于播放所述 N个自适应码流媒体内容的总带宽和每个自适应码 流媒体内容的描述信息, 为所述 K个媒体播放器播放的自适应码流媒体内 容分配对应的播放码率时, 按照以下规则分配播放码率:  With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the total bandwidth and each adaptive code stream media used for playing the N adaptive code stream media content Content description information, when the corresponding code rate is allocated for the adaptive code stream media content played by the K media players, the play rate is allocated according to the following rules:
分配后的 N个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 N个自适应码流媒体内容的总带宽;  And a sum of transmission code rates of the adaptive code stream media content played by the allocated N media players is less than or equal to a total bandwidth used for playing the N adaptive code stream media content;
若所述 N个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 N个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体 内容的总带宽, 则分配后的所述 N个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值;  And if the sum of the first code rate threshold values of the adaptive code stream media content played by the N media players is less than or equal to the total bandwidth for playing the adaptive code stream media content, The play rate of the adaptive code stream media content played by the N media players is greater than or equal to the corresponding first code rate threshold; respectively; if the N media players play the first of the adaptive code stream media content The sum of the code rate thresholds is greater than the total bandwidth used for playing the N pieces of adaptive code stream media, and the played code rate of the adaptive code stream media content played by the allocated N media players Respectively greater than or equal to the corresponding second rate threshold;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。  The second rate threshold corresponding to the adaptive stream media content played by each media player is obtained according to device capability information of each media player and description information of each adaptive stream media content; The first code rate threshold corresponding to the adaptive stream media content played by the media players is greater than the second code rate threshold.
结合第一方面, 在第一方面的第三种可能的实现方式中, 所述若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码率门限值, 且 Ml < N,则调整 K个媒体播放器播放的自适应码流媒体内容的播放码率, 包括: With reference to the first aspect, in a third possible implementation manner of the first aspect, if the play rate of the M1 pieces of the adaptive code stream media content is lower than a corresponding first code rate threshold, And Ml < N, the play rate of the adaptive stream media content played by the K media players is adjusted, including:
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则请求媒体服务器提高所述 Ml个自适应码流媒体 内容对应的数据报文的服务质量等级,以使得所述 Ml个播放码率低于对应 的第一码率门限值的自适应码流媒体内容对应的数据报文被优先发送到对 应的媒体播放器中, 并使得所述 K个自适应码流媒体内容的播放码率被调 整; 其中, N=2, K=2。  If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, requesting the media server to improve the M1 adaptive code stream media content The service quality level of the data packet is such that the data message corresponding to the adaptive code stream media content whose M1 play rate is lower than the corresponding first rate threshold is preferentially sent to the corresponding media player. And causing the play rate of the K adaptive code stream media content to be adjusted; wherein, N=2, K=2.
结合第一方面的第三种可能的实现方式, 在第一方面的第四种可能的 实现方式中,所述请求媒体服务器提高所述 Ml个播放码率低于对应的第一 码率门限值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 所述方法还包括:  In conjunction with the third possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the requesting media server is configured to increase the M1 play rate to be lower than a corresponding first rate threshold After the value of the adaptive code stream media content corresponding to the service quality level of the data message, the method further includes:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 一码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应 码流媒体内容对应的数据报文的服务质量等级; 或者  And if the playback code rate of each of the adaptive code stream media content is greater than or equal to a corresponding first code rate threshold, requesting the media server to restore the corresponding code stream media content corresponding to the improved quality of service level. The quality of service level of the data message; or
若 N个所述自适应码流媒体内容对应的第一码率门限值之和大于所述 用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量 等级的自适应码流媒体内容的播放码率调整至等于对应的第一码率门限值 时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内容 对应的数据报文的服务质量等级。  If the sum of the first code rate thresholds corresponding to the N pieces of the adaptive code stream media content is greater than the total bandwidth for playing the N pieces of adaptive code stream media content, the service quality level is not improved When the play rate of the adaptive code stream media content is adjusted to be equal to the corresponding first code rate threshold, requesting the media server to resume the service of the data message corresponding to the adaptive code stream media content of the improved quality of service level quality level.
结合第一方面, 在第一方面的第五种可能的实现方式中, 所述方法还 包括:  With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes:
若 N个所述自适应码流媒体内容的播放码率均低于各自对应的第一码 率门限值, 则判断每个所述自适应码流媒体内容的播放码率是否低于各自 对应的第二码率门限值; 每个媒体播放器播放的自适应码流媒体内容所对 应的第二码率门限值是根据每个媒体播放器的设备能力信息和每个自适应 码流媒体内容的描述信息得到的; 每个媒体播放器播放的自适应码流媒体 内容所对应的第一码率门限值大于第二码率门限值; If the play rate of the N pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold, determining whether the play rate of each of the adaptive code stream media contents is lower than the corresponding a second rate threshold; a second rate threshold corresponding to the adaptive stream media content played by each media player is based on device capability information and each adaptation of each media player The description information of the code stream media content is obtained; the first code rate threshold corresponding to the adaptive code stream media content played by each media player is greater than the second code rate threshold;
若 M2 个所述自适应码流媒体内容的播放码率低于各自对应的第二码 率门限值, 且 M2 < N, 则请求媒体服务器提高所述 M2个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级, 以使得所述播放码率低于对应的第二码率门限值的自适应码流媒体内 容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 N个自 适应码流媒体内容的播放码率被调整; 其中, N=2。  If the play rate of the M2 adaptive code stream media content is lower than the corresponding second code rate threshold, and M2 < N, requesting the media server to increase the M2 play rate is lower than the corresponding a quality of service level of the data packet corresponding to the adaptive code stream media content of the second code rate threshold, so that the playback code rate is lower than the corresponding code stream media content corresponding to the second code rate threshold The data message is preferentially sent to the corresponding media player, and the play rate of the N adaptive code stream media content is adjusted; wherein N=2.
结合第一方面的第五种可能的实现方式, 在第一方面的第六种可能的 实现方式中,所述请求媒体服务器提高所述 M2个播放码率低于对应的第二 码率门限值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 所述方法还包括:  With reference to the fifth possible implementation manner of the foregoing aspect, in a sixth possible implementation manner of the first aspect, the requesting media server is configured to increase the M2 play rate to be lower than a corresponding second rate threshold After the value of the adaptive code stream media content corresponding to the service quality level of the data message, the method further includes:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 二码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应 码流媒体内容对应的数据报文的服务质量等级; 或者  And if the playback code rate of each of the adaptive code stream media content is greater than or equal to a corresponding second code rate threshold, requesting the media server to restore the corresponding code stream media content corresponding to the improved quality of service level. The quality of service level of the data message; or
若 N个所述自适应码流媒体内容对应的第二码率门限值之和大于所述 用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量 等级的自适应码流媒体内容的播放码率调整至等于对应的第二码率门限值 时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内容 对应的数据报文的服务质量等级。  If the sum of the second code rate thresholds corresponding to the N pieces of the adaptive code stream media content is greater than the total bandwidth for playing the N pieces of adaptive code stream media content, the service quality level is not improved When the play rate of the adaptive code stream media content is adjusted to be equal to the corresponding second code rate threshold, requesting the media server to recover the service of the data message corresponding to the adaptive code stream media content of the improved quality of service level quality level.
第二方面, 一种媒体控制器, 包括:  In a second aspect, a media controller includes:
信息获取单元, 用于分别获取 N个媒体播放器中每个媒体播放器播放 的自适应码流媒体内容的播放码率, N > 2;  An information obtaining unit, configured to respectively acquire a play rate of the adaptive code stream media content played by each media player in the N media players, N>2;
调整单元,用于若 Ml个所述自适应码流媒体内容的播放码率低于各自 对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应 码流媒体内容的播放码率, M1 K N; 其中, 每个媒体播放器播放的自适 应码流媒体内容所对应的第一码率门限值是根据每个媒体播放器的设备能 力信息和每个媒体播放器播放的自适应码流媒体内容的描述信息得到的。 And an adjusting unit, configured to: if the play rate of the M1 pieces of the adaptive code stream media content is lower than a corresponding first code rate threshold, and M1 < N, adjust an adaptive code played by the K media players Play rate of streaming media content, M1 KN; where, each media player plays the adaptive The first rate threshold corresponding to the content of the streaming media is obtained according to the device capability information of each media player and the description information of the adaptive stream media content played by each media player.
在第二方面的第一种可能的实现方式中, 所述调整单元包括: 码率分 配模块和调整触发模块, 和 /或, 第一请求模块;  In a first possible implementation manner of the second aspect, the adjusting unit includes: a rate allocation module and an adjustment trigger module, and/or a first request module;
所述码率分配模块,用于若 Ml个所述自适应码流媒体内容的播放码率 低于各自对应的第一码率门限值, 且 M1 < N, 则根据用于播放所述 N个自 适应码流媒体内容的总带宽和每个自适应码流媒体内容的描述信息, 为所 述 K个媒体播放器播放的自适应码流媒体内容分配对应的播放码率;  The code rate allocation module is configured to: if the play rate of the M1 pieces of the adaptive code stream media content is lower than a corresponding first code rate threshold, and M1 < N, according to the N for playing Assigning a corresponding play rate to the adaptive code stream media content played by the K media players;
所述调整触发模块, 用于根据所述码率分配模块为所述 K个媒体播放 器播放的自适应码流媒体内容分配的播放码率, 向媒体服务器发送码率调 整命令, 以使所述媒体服务器向所述 K个媒体播放器发送码率为被分配的 传输码率的自适应码流媒体内容;  The adjustment triggering module is configured to send a code rate adjustment command to the media server according to a play rate that is allocated by the code rate allocation module for the adaptive code stream media content played by the K media players, so that the Transmitting, by the media server, the adaptive code stream media content whose rate is the assigned transmission code rate to the K media players;
所述第一请求模块,用于若 Ml个所述自适应码流媒体内容的播放码率 低于各自对应的第一码率门限值, 且 M1 < N, 则请求媒体服务器提高所述 Ml 个自适应码流媒体内容对应的数据报文的服务质量等级, 以使得所述 M 1 个播放码率低于对应的第一码率门限值的自适应码流媒体内容对应的 数据报文被优先发送到对应的媒体播放器中, 并使得所述 K个自适应码流 媒体内容的播放码率被调整; 其中, N=2, K=2。  The first requesting module is configured to: if the play rate of the M1 pieces of the adaptive code stream media content is lower than a corresponding first code rate threshold, and M1 < N, request the media server to increase the M1 a service quality level of the data packet corresponding to the content of the adaptive code stream media, such that the M 1 play rate is lower than the data packet corresponding to the corresponding code stream media content of the corresponding first rate threshold It is preferentially sent to the corresponding media player, and the play rate of the K adaptive code stream media content is adjusted; wherein, N=2, K=2.
结合第二方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述码率分配模块在根据播放所述 Ν个自适应码流媒体内容的总带宽和每 个自适应码流媒体内容的描述信息, 为所述 Κ个媒体播放器播放的自适应 码流媒体内容分配对应的播放码率时, 按照以下规则分配播放码率:  With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the code rate allocation module is configured to perform total bandwidth and each adaptation according to the content of the adaptive code stream media The description information of the code stream media content, when the corresponding code rate is allocated for the adaptive code stream media content played by the media players, the play rate is allocated according to the following rules:
分配后的 Ν个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 Ν个自适应码流媒体内容的总带宽;  And a sum of transmission code rates of the adaptive code stream media content played by the allocated media players is less than or equal to a total bandwidth of the media content for playing the ones of the adaptive code streams;
若所述 Ν个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 N个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体 内容的总带宽, 则分配后的所述 N个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值; If the sum of the first rate thresholds of the adaptive stream media content played by the one of the media players is less than or equal to the total bandwidth of the content for playing the adaptive stream media, then the allocated The play rate of the adaptive code stream media content played by the N media players is greater than or equal to the corresponding first code rate threshold; if the N media players play the adaptive code stream media content The sum of the first code rate threshold values is greater than the total bandwidth used for playing the N adaptive code stream media contents, and the allocated content of the adaptive code stream media content played by the N media players is played. The code rate is greater than or equal to the corresponding second rate threshold;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。  The second rate threshold corresponding to the adaptive stream media content played by each media player is obtained according to device capability information of each media player and description information of each adaptive stream media content; The first code rate threshold corresponding to the adaptive stream media content played by the media players is greater than the second code rate threshold.
结合第二方面, 在第二方面的第三种可能的实现方式中, 所述媒体控 制器还包括: 判断模块和第二请求模块;  With reference to the second aspect, in a third possible implementation manner of the second aspect, the media controller further includes: a determining module and a second requesting module;
所述判断模块, 用于若 N个所述自适应码流媒体内容的播放码率均低 于各自对应的第一码率门限值, 则判断每个所述自适应码流媒体内容的播 放码率是否低于各自对应的第二码率门限值; 每个媒体播放器播放的自适 应码流媒体内容所对应的第二码率门限值是根据每个媒体播放器的设备能 力信息和每个自适应码流媒体内容的描述信息得到的; 每个媒体播放器播 放的自适应码流媒体内容所对应的第一码率门限值大于第二码率门限值; 所述第二请求模块,用于若所述判断模块判断 M2个所述自适应码流媒 体内容的播放码率低于各自对应的第二码率门限值, 且 M2 < N, 则请求媒 体服务器提高所述 M2 个播放码率低于对应的第二码率门限值的自适应码 流媒体内容对应的数据报文的服务质量等级, 以使得所述播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文被优先发送到 对应的媒体播放器中, 并使得所述 N个自适应码流媒体内容的播放码率被 调整; 其中, N=2。  The determining module is configured to determine, if the play rate of the N pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold, determine the play of each of the adaptive code stream media content Whether the code rate is lower than the corresponding second code rate threshold; the second code rate threshold corresponding to the adaptive code stream media content played by each media player is based on the device capability information of each media player. And the description information of each adaptive code stream media content; the first code rate threshold corresponding to the adaptive code stream media content played by each media player is greater than the second code rate threshold; a requesting module, configured to: if the determining module determines that a play rate of the M2 pieces of the adaptive code stream media content is lower than a corresponding second code rate threshold, and M2 < N, requesting the media server to improve Determining a service quality level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second code rate threshold, so that the play rate is lower than the corresponding second code rate gate Adaptive code The data message corresponding to the streaming media content is preferentially sent to the corresponding media player, and the play rate of the N adaptive code stream media content is adjusted; wherein, N=2.
结合第二方面的第一种可能的实现方式或第二方面的第三种可能的实 现方式, 在第二方面的第四种可能的实现方式中, 所述媒体控制器还包括: 等级恢复单元; 所述等级恢复单元用于: In conjunction with the first possible implementation of the second aspect, or the third possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the media controller further includes: Level recovery unit; the level recovery unit is used to:
在所述第一请求模块请求媒体服务器提高所述 Ml 个播放码率低于对 应的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级之后, 若每个所述自适应码流媒体内容的播放码率大于或等于各自对应 的第一码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自 适应码流媒体内容对应的数据报文的服务质量等级; 或者  After the first requesting module requests the media server to improve the quality of service level of the data packet corresponding to the adaptive code stream media content of the M1 playback rate that is lower than the corresponding first rate threshold, if each And the playing code rate of the adaptive code stream media content is greater than or equal to the corresponding first code rate threshold, and then requesting the media server to recover the data packet corresponding to the adaptive code stream media content of the improved quality of service level. Quality of service level; or
在所述第一请求模块请求媒体服务器提高所述 Ml 个播放码率低于对 应的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级之后, 若 N个所述自适应码流媒体内容对应的第一码率门限值之和大于 所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务 质量等级的自适应码流媒体内容的播放码率调整至等于对应的第一码率门 限值时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体 内容对应的数据报文的服务质量等级; 或者  After the first requesting module requests the media server to improve the quality of service level of the data packet corresponding to the adaptive code stream media content of the M1 play rate that is lower than the corresponding first rate threshold, if the N is The sum of the first code rate thresholds corresponding to the adaptive code stream media content is greater than the total bandwidth used for playing the N adaptive code stream media content, and is not improved by the improved quality of service level When the play rate of the code stream media content is adjusted to be equal to the corresponding first code rate threshold, requesting the media server to restore the service quality level of the data message corresponding to the adaptive code stream media content of the improved service quality level; Or
在所述第二请求模块请求媒体服务器提高所述 M2 个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级之后, 若每个所述自适应码流媒体内容的播放码率大于或等于各自对应 的第二码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自 适应码流媒体内容对应的数据报文的服务质量等级; 或者  After the second requesting module requests the media server to improve the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second rate threshold, if each And the playback code rate of the adaptive code stream media content is greater than or equal to the corresponding second code rate threshold value, and then requesting the media server to recover the data message corresponding to the adaptive code stream media content of the improved service quality level. Quality of service level; or
在所述第二请求模块请求媒体服务器提高所述 M2 个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级之后, 若 N个所述自适应码流媒体内容对应的第二码率门限值之和大于 所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务 质量等级的自适应码流媒体内容的播放码率调整至等于对应的第二码率门 限值时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体 内容对应的数据报文的服务质量等级。  After the second requesting module requests the media server to improve the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second rate threshold, if the N quality is The sum of the second code rate thresholds corresponding to the adaptive code stream media content is greater than the total bandwidth used for playing the N adaptive code stream media content, and is not improved by the improved quality of service level When the play rate of the code stream media content is adjusted to be equal to the corresponding second code rate threshold, the media server is requested to restore the service quality level of the data message corresponding to the adaptive code stream media content of the improved service quality level.
第三方面, 一种网络媒体系统, 包括: 媒体服务器、 媒体控制器和 N 个媒体播放器, N > 2; In a third aspect, a network media system includes: a media server, a media controller, and a Media players, N >2;
所述媒体播放器, 用于从所述媒体服务器获取自适应码流媒体内容, 并播放获取的自适应码流媒体内容;  The media player is configured to acquire adaptive code stream media content from the media server, and play the acquired adaptive code stream media content;
所述媒体服务器, 用于存储自适应码流媒体内容, 并向所述媒体播放 器提供自适应码流媒体内容和自适应码流媒体内容的描述信息;  The media server is configured to store adaptive code stream media content, and provide the media player with description information of the adaptive code stream media content and the adaptive code stream media content;
所述媒体控制器, 用于分别获取 N个媒体播放器中每个媒体播放器播 放的自适应码流媒体内容的播放码率;若 Ml个所述自适应码流媒体内容的 播放码率低于各自对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播 放器播放的自适应码流媒体内容的播放码率, Ml K N;  The media controller is configured to separately acquire a play rate of the adaptive stream media content played by each media player in the N media players; if the play rate of the M1 adaptive code stream media content is low Adjusting the play rate of the adaptive code stream media content played by the K media players, M1 KN, respectively, corresponding to the first code rate threshold value, and M1 < N;
所述媒体播放器, 还用于根据媒体播放器的设备能力信息和媒体播放 器播放的自适应码流媒体内容的描述信息, 得到媒体播放器播放的自适应 码流媒体内容所对应的第一码率门限值。  The media player is further configured to obtain, according to the device capability information of the media player and the description information of the adaptive code stream media content played by the media player, the first corresponding to the adaptive code stream media content played by the media player. Rate threshold.
在第三方面的第一种可能的实现方式中, 所述媒体控制器在调整 K个 媒体播放器播放的自适应码流媒体内容的播放码率时, 具体用于:  In a first possible implementation manner of the third aspect, the media controller is specifically configured to: when adjusting a play rate of the adaptive code stream media content played by the K media players:
所述媒体控制器根据用于播放所述 N个自适应码流媒体内容的总带宽 和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放的自 适应码流媒体内容分配对应的播放码率;  And the media controller plays the adaptive stream media for the K media players according to a total bandwidth for playing the N adaptive code stream media content and description information of each adaptive code stream media content. The play rate corresponding to the content distribution;
根据为所述 K个媒体播放器播放的自适应码流媒体内容分配的播放码 率, 向所述媒体服务器发送码率调整命令, 以使所述媒体服务器向所述 K 个媒体播放器发送码率为被分配的传输码率的自适应码流媒体内容。  Transmitting a code rate adjustment command to the media server according to a play rate allocated for the adaptive code stream media content played by the K media players, so that the media server sends a code to the K media players The rate is the adaptive stream media content of the assigned transmission rate.
结合第三方面的第一种可能的实现方式, 在第三方面的第二种可能的 实现方式中,  In conjunction with the first possible implementation of the third aspect, in a second possible implementation of the third aspect,
所述媒体控制器根据用于播放所述 N个自适应码流媒体内容的总带宽 和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放的自 适应码流媒体内容分配对应的播放码率时, 按照以下规则分配播放码率: 分配后的 N个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 N个自适应码流媒体内容的总带宽; 若所述 N个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 N个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体 内容的总带宽, 则分配后的所述 N个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值; And the media controller plays the adaptive stream media for the K media players according to a total bandwidth for playing the N adaptive code stream media content and description information of each adaptive code stream media content. When the content is assigned a corresponding play rate, the play rate is allocated according to the following rules: The sum of the transmission code rates of the adaptive code stream media content played by the allocated N media players Less than or equal to the total bandwidth for playing the N adaptive code stream media content; if the sum of the first code rate threshold values of the adaptive code stream media content played by the N media players is less than or Equal to the total bandwidth used for playing the content of the adaptive code stream media, the play rate of the adaptive code stream media content played by the allocated N media players is greater than or equal to the corresponding first code rate gate respectively. a limit value; if the sum of the first rate thresholds of the adaptive stream media content played by the N media players is greater than the total bandwidth used to play the N adaptive stream media content, The play rate of the adaptive code stream media content played by the allocated N media players is greater than or equal to the corresponding second code rate threshold;
所述媒体播放器, 还用于根据媒体播放器的设备能力信息和每个自适 应码流媒体内容的描述信息得到媒体播放器播放的自适应码流媒体内容所 对应的第二码率门限值; 每个媒体播放器播放的自适应码流媒体内容所对 应的第一码率门限值大于第二码率门限值。  The media player is further configured to obtain, according to the device capability information of the media player and the description information of each adaptive code stream media content, a second code rate threshold corresponding to the adaptive code stream media content played by the media player. The first rate threshold corresponding to the adaptive stream media content played by each media player is greater than the second rate threshold.
结合第三方面, 在第三方面的第三种可能的实现方式中, 所述媒体控 制器在调整 κ个媒体播放器播放的自适应码流媒体内容的播放码率时, 具 体用于:  In conjunction with the third aspect, in a third possible implementation manner of the third aspect, the media controller, when adjusting a play rate of the adaptive code stream media content played by the k media players, is specifically configured to:
若 Ml < N, 则所述媒体控制器请求所述媒体服务器提高所述 Ml个播 放码率低于对应的第一码率门限值的自适应码流媒体内容对应的数据报文 的服务质量等级,以使得所述 Ml个播放码率低于对应的第一码率门限值的 自适应码流媒体内容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 K个自适应码流媒体内容的播放码率被调整;其中, N=2, K=2;  If the media controller requests the media server to improve the quality of service of the data packet corresponding to the adaptive code stream media content whose M1 play rate is lower than the corresponding first code rate threshold, Level, such that the data message corresponding to the M1 playback code rate whose content is lower than the corresponding first code rate threshold is preferentially sent to the corresponding media player, and the K is made The playback code rate of the adaptive code stream media content is adjusted; wherein, N=2, K=2;
若 Ml = Ν, 则所述媒体控制器判断每个所述自适应码流媒体内容的播 放码率是否低于各自对应的第二码率门限值;若 Μ2个所述自适应码流媒体 内容的播放码率低于各自对应的第二码率门限值, 且 Μ2 < Ν, 则请求所述 媒体服务器提高所述 Μ2 个播放码率低于对应的第二码率门限值的自适应 码流媒体内容对应的数据报文的服务质量等级, 以使得所述播放码率低于 对应的第二码率门限值的自适应码流媒体内容对应的数据报文被优先发送 到对应的媒体播放器中, 并使得所述 N个自适应码流媒体内容的播放码率 被调整; 其中, N=2; If the M1 is Ν, the media controller determines whether the play rate of each of the adaptive code stream media content is lower than a corresponding second code rate threshold; if the two adaptive code streams are The play rate of the content is lower than the corresponding second rate threshold, and Μ2 < Ν, requesting the media server to increase the 播放2 play rate lower than the corresponding second rate threshold Adapting a service quality level of the data packet corresponding to the content of the code stream media, so that the data packet corresponding to the adaptive code stream media content whose play rate is lower than the corresponding second code rate threshold is sent preferentially Go to the corresponding media player, and adjust the play rate of the N adaptive code stream media content; wherein, N=2;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。  The second rate threshold corresponding to the adaptive stream media content played by each media player is obtained according to device capability information of each media player and description information of each adaptive stream media content; The first code rate threshold corresponding to the adaptive stream media content played by the media players is greater than the second code rate threshold.
结合第三方面的第三种可能的实现方式, 在第三方面的第四种可能的 实现方式中,  In conjunction with the third possible implementation of the third aspect, in a fourth possible implementation of the third aspect,
所述媒体控制器在请求所述媒体服务器提高所述 Ml 个播放码率低于 对应的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量 等级之后, 还用于:  After the media controller requests the media server to improve the quality of service level of the data packet corresponding to the adaptive code stream media content of the M1 play rate that is lower than the corresponding first code rate threshold, the media controller further uses In:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 一码率门限值, 则所述媒体控制器请求所述媒体服务器恢复被提高服务质 量等级的自适应码流媒体内容对应的数据报文的服务质量等级;或者,若 N 个所述自适应码流媒体内容对应的第一码率门限值之和大于所述用于播放 所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自 适应码流媒体内容的播放码率调整至等于对应的第一码率门限值时, 请求 所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数 据报文的服务质量等级;  And if the play rate of each of the adaptive code stream media content is greater than or equal to a corresponding first code rate threshold, the media controller requests the media server to recover an adaptive code of the improved quality of service level. a quality of service level of the data message corresponding to the streaming media content; or, if the sum of the first code rate thresholds corresponding to the N pieces of the adaptive code stream media content is greater than the N adaptive code for playing The total bandwidth of the streaming media content is requested to restore the improved quality of service when the playback code rate of the adaptive stream media content that is not improved by the quality of service level is adjusted to be equal to the corresponding first rate threshold. The quality of service level of the data message corresponding to the level of adaptive code stream media content;
所述媒体控制器在请求所述媒体服务器提高所述 M2 个播放码率低于 对应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量 等级之后, 还用于:  After the media controller requests the media server to improve the quality of service level of the data packet corresponding to the adaptive code stream media content whose M2 play rate is lower than the corresponding second rate threshold, In:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 二码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应 码流媒体内容对应的数据报文的服务质量等级; 或者, 若 N个所述自适应 码流媒体内容对应的第二码率门限值之和大于所述用于播放所述 N个自适 应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应码流媒体 内容的播放码率调整至等于对应的第二码率门限值时, 请求所述媒体服务 器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报文的服务 质量等级。 And if the playback code rate of each of the adaptive code stream media content is greater than or equal to a corresponding second code rate threshold, requesting the media server to restore the corresponding code stream media content corresponding to the improved quality of service level. a quality of service level of the data message; or, if the sum of the second code rate thresholds corresponding to the N pieces of the adaptive code stream media content is greater than the N for playing Requesting the media server recovery to be improved when the total bandwidth of the content of the streaming media content is adjusted to be equal to the corresponding second rate threshold when the playback code rate of the adaptive stream media content that is not improved by the quality of service level is adjusted The quality of service level of the data message corresponding to the adaptive code stream media content of the quality of service level.
第四方面, 一种媒体控制器, 包括:  In a fourth aspect, a media controller includes:
一个或多个处理器;  One or more processors;
存储器;  Memory
一个或多个程序, 其中所述一个或多个程序存储在所述存储器中并被 配置为由所述一个或多个处理器执行, 所述一个或多个程序包括:  One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising:
分别获取 N个媒体播放器中每个媒体播放器播放的自适应码流媒体内 容的播放码率的指令, N > 2;  Obtaining, respectively, an instruction of a play rate of the adaptive stream media content played by each media player in the N media players, N > 2;
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容 的播放码率的指令, M1 K N; 其中, 每个媒体播放器播放的自适应码流 媒体内容所对应的第一码率门限值是根据每个媒体播放器的设备能力信息 和每个媒体播放器播放的自适应码流媒体内容的描述信息得到的。  If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, adjusting the playback of the adaptive code stream media content played by the K media players The code rate command, M1 KN; wherein, the first code rate threshold corresponding to the adaptive stream media content played by each media player is based on device capability information of each media player and each media player The description information of the adaptive code stream media content is played.
在第四方面的第一种可能的实现方式中,所述若 Ml个所述自适应码流 媒体内容的播放码率低于各自对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容的播放码率的指令, 包括: 若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则根据用于播放所述 N个自适应码流媒体内容的总 带宽和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放 的自适应码流媒体内容分配对应的播放码率的指令;  In a first possible implementation manner of the fourth aspect, if the play rate of the M1 pieces of the adaptive code stream media content is lower than a corresponding first code rate threshold, and M1 < N, The instruction for adjusting the play rate of the adaptive code stream media content played by the K media players includes: if the play rate of the M1 pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold And M1 < N, the adaptive code played for the K media players according to the total bandwidth for playing the N adaptive code stream media content and the description information of each adaptive code stream media content An instruction to allocate a corresponding playback rate to the streaming media content;
根据为所述 K个媒体播放器播放的自适应码流媒体内容分配的播放码 率, 向媒体服务器发送码率调整命令, 以使所述媒体服务器向所述 K个媒 体播放器发送码率为被分配的传输码率的自适应码流媒体内容的指令。 结合第四方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述根据用于播放所述 N个自适应码流媒体内容的总带宽和每个自适应码 流媒体内容的描述信息, 为所述 K个媒体播放器播放的自适应码流媒体内 容分配对应的播放码率时, 按照以下规则分配播放码率: Transmitting a code rate adjustment command to the media server according to a play rate allocated for the adaptive code stream media content played by the K media players, so that the media server sends a code rate to the K media players The instruction of the adaptive code stream media content of the assigned transmission rate. With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the total bandwidth and each adaptive code stream media used for playing the N adaptive code stream media content Content description information, when the corresponding code rate is allocated for the adaptive code stream media content played by the K media players, the play rate is allocated according to the following rules:
分配后的 N个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 N个自适应码流媒体内容的总带宽;  And a sum of transmission code rates of the adaptive code stream media content played by the allocated N media players is less than or equal to a total bandwidth used for playing the N adaptive code stream media content;
若所述 N个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 N个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体 内容的总带宽, 则分配后的所述 N个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值;  And if the sum of the first code rate threshold values of the adaptive code stream media content played by the N media players is less than or equal to the total bandwidth for playing the adaptive code stream media content, The play rate of the adaptive code stream media content played by the N media players is greater than or equal to the corresponding first code rate threshold; respectively; if the N media players play the first of the adaptive code stream media content The sum of the code rate thresholds is greater than the total bandwidth used for playing the N pieces of adaptive code stream media, and the played code rate of the adaptive code stream media content played by the allocated N media players Respectively greater than or equal to the corresponding second rate threshold;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。  The second rate threshold corresponding to the adaptive stream media content played by each media player is obtained according to device capability information of each media player and description information of each adaptive stream media content; The first code rate threshold corresponding to the adaptive stream media content played by the media players is greater than the second code rate threshold.
结合第四方面, 在第四方面的第三种可能的实现方式中, 所述若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码率门限值, 且 Ml < N,则调整 K个媒体播放器播放的自适应码流媒体内容的播放码率 的指令, 包括:  With reference to the fourth aspect, in a third possible implementation manner of the fourth aspect, the playback code rate of the M1 pieces of the adaptive code stream media content is lower than a corresponding first code rate threshold, and Ml < N, the instruction to adjust the play rate of the adaptive stream media content played by the K media players, including:
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则请求媒体服务器提高所述 Ml个自适应码流媒体 内容对应的数据报文的服务质量等级,以使得所述 Ml个播放码率低于对应 的第一码率门限值的自适应码流媒体内容对应的数据报文被优先发送到对 应的媒体播放器中, 并使得所述 K个自适应码流媒体内容的播放码率被调 整的指令; 其中, N=2, K=2。 If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, requesting the media server to improve the M1 adaptive code stream media content The service quality level of the data packet is such that the data message corresponding to the adaptive code stream media content whose M1 play rate is lower than the corresponding first rate threshold is preferentially sent to the corresponding media player. And causing the playback rate of the K adaptive code stream media content to be adjusted Entire instruction; where N=2, K=2.
结合第四方面的第三种可能的实现方式, 在第四方面的第四种可能的 实现方式中, 所述一个或多个程序还包括:  In conjunction with the third possible implementation of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the one or more programs further include:
在请求媒体服务器提高所述 Ml 个播放码率低于对应的第一码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若每个所 述自适应码流媒体内容的播放码率大于或等于各自对应的第一码率门限 值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内 容对应的数据报文的服务质量等级的质量; 或者  After the requesting media server increases the quality of service level of the data message corresponding to the adaptive code stream media content of the M1 play rate lower than the corresponding first code rate threshold, if each of the adaptive code streams If the play rate of the media content is greater than or equal to the corresponding first rate threshold, the media server is requested to restore the quality of the service quality level of the data packet corresponding to the adaptive stream media content of the improved quality of service level. ; or
在请求媒体服务器提高所述 Ml 个播放码率低于对应的第一码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若 N个所 述自适应码流媒体内容对应的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应 码流媒体内容的播放码率调整至等于对应的第一码率门限值时, 请求所述 媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报 文的服务质量等级的指令。  After the requesting media server increases the quality of service level of the data message corresponding to the adaptive code stream media content of the M1 play rate lower than the corresponding first code rate threshold, if the N pieces of the adaptive code stream And the sum of the first code rate threshold values corresponding to the media content is greater than the total bandwidth used for playing the N adaptive code stream media content, and the content of the adaptive code stream media content is not improved by the quality of service level When the code rate is adjusted to be equal to the corresponding first rate threshold, the media server is requested to resume the instruction of the quality of service level of the data message corresponding to the adaptive code stream media content of the improved quality of service level.
结合第四方面, 在第四方面的第五种可能的实现方式中, 所述一个或 多个程序还包括:  In conjunction with the fourth aspect, in a fifth possible implementation of the fourth aspect, the one or more programs further includes:
若 N个所述自适应码流媒体内容的播放码率均低于各自对应的第一码 率门限值, 则判断每个所述自适应码流媒体内容的播放码率是否低于各自 对应的第二码率门限值的指令; 每个媒体播放器播放的自适应码流媒体内 容所对应的第二码率门限值是根据每个媒体播放器的设备能力信息和每个 自适应码流媒体内容的描述信息得到的; 每个媒体播放器播放的自适应码 流媒体内容所对应的第一码率门限值大于第二码率门限值;  If the play rate of the N pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold, determining whether the play rate of each of the adaptive code stream media contents is lower than the corresponding The second rate threshold command; the second rate threshold corresponding to the adaptive stream media content played by each media player is based on device capability information and each adaptation of each media player The description information of the code stream media content is obtained; the first code rate threshold corresponding to the adaptive code stream media content played by each media player is greater than the second code rate threshold;
若 M2 个所述自适应码流媒体内容的播放码率低于各自对应的第二码 率门限值, 且 M2 < N, 则请求媒体服务器提高所述 M2个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级, 以使得所述播放码率低于对应的第二码率门限值的自适应码流媒体内 容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 N个自 适应码流媒体内容的播放码率被调整的指令; 其中, N=2。 If the play rate of the M2 adaptive code stream media content is lower than the corresponding second code rate threshold, and M2 < N, requesting the media server to increase the M2 play rate is lower than the corresponding The service quality of the data packet corresponding to the adaptive code stream media content of the second code rate threshold Level, so that the data message corresponding to the adaptive code stream media content whose play rate is lower than the corresponding second code rate threshold is preferentially sent to the corresponding media player, and the N self is made An instruction adapted to adjust the play rate of the code stream media content; wherein, N=2.
结合第四方面的第五种可能的实现方式, 在第四方面的第六种可能的 实现方式中, 所述一个或多个程序还包括:  In conjunction with the fifth possible implementation of the fourth aspect, in a sixth possible implementation of the fourth aspect, the one or more programs further includes:
在请求媒体服务器提高所述 M2 个播放码率低于对应的第二码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若每个所 述自适应码流媒体内容的播放码率大于或等于各自对应的第二码率门限 值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内 容对应的数据报文的服务质量等级的指令; 或者  After the requesting media server increases the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second code rate threshold, if each of the adaptive code streams If the play rate of the media content is greater than or equal to the corresponding second rate threshold, the media server is requested to resume the service quality level of the data message corresponding to the adaptive code stream media content of the improved service quality level. ; or
在请求媒体服务器提高所述 M2 个播放码率低于对应的第二码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若 N个所 述自适应码流媒体内容对应的第二码率门限值之和大于所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应 码流媒体内容的播放码率调整至等于对应的第二码率门限值时, 请求所述 媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报 文的服务质量等级的指令。  After the requesting media server increases the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second rate threshold, if the N pieces of the adaptive code stream And the sum of the second code rate thresholds corresponding to the media content is greater than the total bandwidth used for playing the N adaptive code stream media content, and the content of the adaptive code stream media content is not improved by the quality of service level When the code rate is adjusted to be equal to the corresponding second rate threshold, the media server is requested to resume the instruction of the quality of service level of the data message corresponding to the adaptive code stream media content of the improved quality of service level.
本发明实施例, 媒体控制器可以获取每个媒体播放器播放的自适应码 流媒体内容的播放码率, 当有部分媒体播放器播放的自适应码流媒体内容 的播放码率低于对应的码率门限值时, 媒体控制器可以调整多个媒体播放 器播放的自适应码流媒体内容的播放码率, 从而可以实现公平播放, 提高 用户体验。 附图说明  In the embodiment of the present invention, the media controller may obtain a play rate of the adaptive stream media content played by each media player, and when the playback rate of the adaptive stream media content played by a part of the media player is lower than the corresponding When the code rate threshold is used, the media controller can adjust the play rate of the adaptive code stream media content played by the plurality of media players, thereby achieving fair play and improving the user experience. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动 性的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only Some embodiments of the invention may be obtained by those of ordinary skill in the art in view of the drawings without additional inventive labor.
图 1 为本发明实施例的一种播放多个自适应码流媒体内容的方法的流 程图;  FIG. 1 is a flow chart of a method for playing a plurality of adaptive code stream media contents according to an embodiment of the present invention; FIG.
图 2为本发明实施例的另一种播放多个自适应码流媒体内容的方法的 流程图;  2 is a flowchart of another method for playing multiple adaptive code stream media content according to an embodiment of the present invention;
图 3 为本发明实施例的另一种播放多个自适应码流媒体内容的方法的 流程图;  FIG. 3 is a flowchart of another method for playing multiple adaptive code stream media content according to an embodiment of the present invention; FIG.
图 4为本发明实施例的另一种播放多个自适应码流媒体内容的方法的 流程图;  4 is a flowchart of another method for playing multiple adaptive code stream media content according to an embodiment of the present invention;
图 5 为本发明实施例的另一种播放多个自适应码流媒体内容的方法的 流程图;  FIG. 5 is a flowchart of another method for playing multiple adaptive code stream media content according to an embodiment of the present invention; FIG.
图 6为本发明实施例的一种媒体控制器的示意图;  6 is a schematic diagram of a media controller according to an embodiment of the present invention;
图 7为本发明实施例的另一种媒体控制器的示意图;  FIG. 7 is a schematic diagram of another media controller according to an embodiment of the present invention; FIG.
图 8为本发明实施例的一种网络媒体系统的示意图。 具体实施方式  FIG. 8 is a schematic diagram of a network media system according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
当本发明实施例提及 "第一"、 "第二,, 等序数词时, 除非根据上下文 其确实表达顺序之意, 应当理解为仅仅是起区分之用。  When the embodiments of the present invention refer to "first", "second," or the like, unless the meaning of the order is actually expressed according to the context, it should be understood as merely distinguishing.
图 1 为本发明实施例的一种播放多个自适应码流媒体内容的方法的流 程图, 如图 1所示, 该方法包括: 步骤 101、 媒体控制器分别获取 N个媒体播放器中每个媒体播放器播 放的自适应码流媒体内容的播放码率, N > 2。 FIG. 1 is a flowchart of a method for playing multiple adaptive code stream media content according to an embodiment of the present invention. As shown in FIG. 1, the method includes: Step 101: The media controller separately obtains a play rate of the adaptive code stream media content played by each media player in the N media players, where N>2.
本实施例可以应用于一网络媒体系统中, 该网络媒体系统中可以包括 媒体服务器、 媒体控制器和多个媒体播放器。  This embodiment can be applied to a network media system, which can include a media server, a media controller, and a plurality of media players.
媒体服务器, 用于存储媒体文件, 例如自适应码流媒体内容, 并向媒 体播放器提供自适应码流媒体内容和自适应码流媒体内容的描述信息。 常 用的媒体服务器可以为手机、 个人计算机、 数码照相机、 平板电脑等能够 生成、 存储照片、 视频等媒体文件的网络设备。 当媒体播放器播放的媒体 内容为 DASH媒体内容时, 媒体服务器具有存储该 DASH媒体内容所对应 媒体文件集的分片数据以及对应的 MPD文件的功能。  The media server is configured to store media files, such as adaptive code streaming media content, and provide the media player with description information of the adaptive stream media content and the adaptive stream media content. A commonly used media server can be a network device capable of generating and storing media files such as photos, videos, and the like, such as a mobile phone, a personal computer, a digital camera, or a tablet. When the media content played by the media player is DASH media content, the media server has the function of storing the fragment data of the media file set corresponding to the DASH media content and the corresponding MPD file.
媒体播放器, 能够对图像文件进行解码并展示或播放图像, 例如从媒 体服务器获取自适应码流媒体内容, 并播放获取的自适应码流媒体内容。 本发明实施例中的媒体播放器例如可以为电视、 个人计算机、 手机、 平板 电脑等。 媒体播放器能够实时监测网络带宽、 该媒体播放器的 CPU处理能 力等指标,并根据监测到的结果和获得的 MPD文件向媒体服务器请求适合 播放的媒体分片。  The media player is capable of decoding an image file and displaying or playing an image, such as obtaining adaptive stream media content from a media server, and playing the acquired adaptive stream media content. The media player in the embodiment of the present invention may be, for example, a television, a personal computer, a mobile phone, a tablet computer or the like. The media player can monitor the network bandwidth, the CPU processing capability of the media player, and the like in real time, and request media media suitable for playing according to the monitored result and the obtained MPD file.
媒体控制器, 能够调用媒体服务器和媒体播放器上的相关控制命令对 媒体内容的传输和展示进行控制。 媒体控制器还可以获取媒体播放器的状 态信息和媒体播放器所播放的媒体内容的状态信息。 需要说明的是, 媒体 控制器可以是一个不同于媒体服务器和媒体播放器的物理设备, 也可以与 媒体服务器或者媒体播放器共同组成一个物理设备。  The media controller is capable of invoking control commands on the media server and media player to control the transmission and presentation of media content. The media controller can also obtain status information of the media player and status information of the media content played by the media player. It should be noted that the media controller may be a physical device different from the media server and the media player, or may be combined with the media server or the media player to form a physical device.
每个媒体播放器播放的自适应媒体内容具有一定的码率。 媒体控制器 可以获取到每个媒体播放器播放的自适应媒体内容的码率。  The adaptive media content played by each media player has a certain code rate. The media controller can obtain the bit rate of the adaptive media content played by each media player.
步骤 102、若 Ml个自适应码流媒体内容的播放码率低于各自对应的第 一码率门限值, 且 M1 < N, 则媒体控制器调整 K个媒体播放器播放的自适 应码流媒体内容的播放码率, M 1 K N。 其中, 每个媒体播放器播放的自适应码流媒体内容所对应的第一码率 门限值可以是根据每个媒体播放器的设备能力信息和每个媒体播放器播放 的自适应码流媒体内容的描述信息得到的。 第一码率门限值可以是媒体播 放器根据设备能力信息和描述信息得到的。 Step 102: If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, the media controller adjusts the adaptive code stream played by the K media players. The playback rate of the media content, M 1 KN. The first rate threshold corresponding to the adaptive stream media content played by each media player may be based on device capability information of each media player and adaptive code stream media played by each media player. The description of the content is obtained. The first rate threshold may be obtained by the media player based on device capability information and description information.
媒体播放器的设备能力信息可以包括该媒体播放器的屏幕尺寸、 分辨 率大小、 可支持的音视频编解码格式等。 自适应码流媒体内容的描述信息 中可以包括该媒体内容对应的多个码率信息。 媒体服务器上存储有同一个 媒体内容的多个不同码率的文件, 在媒体内容的描述信息中包括这些码率 的信息。 同一个媒体内容在不同的媒体播放器中播放时, 由于每个媒体播 放器的设备能力不同, 所以为了达到相同的效果, 所需的码率可能不同; 例如: 同一个电影在手机上播放时, 采用相对较低的码率就可以达到较好 的播放效果, 而在电视上播放时, 需要采用相对较高的码率才能达到较好 的播放效果。 也就是说, 同一个媒体内容在不同的媒体播放器中播放时, 为了达到相同的效果, 所需的码率可能不同。  The device capability information of the media player may include the screen size of the media player, the resolution size, the supported audio and video codec format, and the like. The description information of the adaptive code stream media content may include a plurality of code rate information corresponding to the media content. The media server stores a plurality of files of different code rates of the same media content, and includes information of the bitrates in the description information of the media content. When the same media content is played in different media players, the required code rate may be different in order to achieve the same effect due to the different device capabilities of each media player; for example: when the same movie is played on the mobile phone A relatively low bit rate can achieve a better playback effect, and when playing on a TV, a relatively high bit rate is required to achieve a better playback effect. That is to say, when the same media content is played in different media players, the required code rate may be different in order to achieve the same effect.
可以根据每个媒体播放器的设备能力信息和每个媒体播放器播放的自 适应码流媒体内容的描述信息, 得到每个媒体播放器播放的自适应码流媒 体内容所对应的第一码率门限值。 例如: 播放器 A1播放自适应码流媒体内 容 al , 根据播放器 A1的设备能力信息和自适应码流媒体内容 al的描述信 息, 得到播放器 A1播放自适应码流媒体内容 al时的第一码率门限值。 同 一个媒体播放器播放不同的自适应码流媒体内容的第一码率门限值可以不 同; 例如: 自适应码流媒体内容 al和 a2具有的多个码率信息不同,媒体内 容 al的码率有 2.2Mbps、 1.6Mbps , 1.2Mbps , 800Kbps, 400Kbps, 200Kbps, 媒体内容 a2的码率有 l.lMbps、 800Kbps , 500Kbps, 200Kbps; 如果为了 在播放器 Al上达到较好的效果,需要媒体内容的码率大于或等于 1.2Mbps, 那么, 当播放器 A1播放媒体内容 al时, 第一码率门限值为 1.2Mbps, 但 是对于媒体内容 a2, 最大的码率只有 1.1Mbps , 所以当播放器 Al播放媒体 内容 a2时, 第一码率门限值为 l.lMbps。 不同的媒体播放器播放同一个自 适应码流媒体内容的第一码率门限值也可以不同; 例如: 由于手机和电视 的屏幕尺寸、 分辨率大小均不同, 所以同一个自适应码流媒体内容分别在 手机和电视上播放时, 第一码率门限值是不同的。 The first code rate corresponding to the adaptive stream media content played by each media player may be obtained according to the device capability information of each media player and the description information of the adaptive stream media content played by each media player. Threshold. For example, the player A1 plays the adaptive code stream media content a1, and according to the device capability information of the player A1 and the description information of the adaptive code stream media content a1, the first time when the player A1 plays the adaptive code stream media content a1 is obtained. Rate threshold. The first rate threshold of the same media player playing different adaptive stream media content may be different; for example: the adaptive code stream media content a1 and a2 have different code rate information, and the code of the media content a1 The rate is 2.2Mbps, 1.6Mbps, 1.2Mbps, 800Kbps, 400Kbps, 200Kbps, and the media content a2 has a bit rate of l.lMbps, 800Kbps, 500Kbps, 200Kbps; if you want to achieve better results on the player Al, you need media content. The code rate is greater than or equal to 1.2 Mbps. Then, when the player A1 plays the media content a1, the first code rate threshold is 1.2 Mbps, but for the media content a2, the maximum code rate is only 1.1 Mbps, so when the player Al play media When the content is a2, the first code rate threshold is 1.1 Mbps. The first rate threshold of different media players playing the same adaptive stream media content may also be different; for example: because the screen size and resolution of the mobile phone and the TV are different, the same adaptive stream media When the content is played on the mobile phone and the TV respectively, the first code rate threshold is different.
当媒体控制器获取到部分媒体播放器播放的自适应码流媒体内容低于 各自对应的第一码率门限值时, 媒体控制器调整部分或全部媒体播放器播 放的自适应码流媒体内容的播放码率。  When the media controller obtains that the adaptive code stream media content played by the part of the media player is lower than the corresponding first code rate threshold, the media controller adjusts the adaptive stream media content played by some or all of the media players. Play rate.
媒体控制器调整媒体播放器播放的自适应码流媒体内容的播放码率的 方式可以包括: ( 1 )媒体控制器根据用于播放 N个自适应码流媒体内容的 总带宽和每个自适应码流媒体内容的描述信息, 为每个媒体播放器播放的 自适应码流媒体内容分配对应的播放码率, 并向媒体服务器发送码率调整 命令, 以使媒体服务器向每个媒体播放器发送码率为被分配的传输码率的 自适应码流媒体内容; 或者, (2 )媒体控制器可以调整被播放的自适应码 流媒体内容的服务质量等级, 当某个自适应码流媒体内容的服务质量等级 被调高后, 根据自适应码流自身的特性, 该自适应码流媒体内容的码率可 以被提高。  The manner in which the media controller adjusts the play rate of the adaptive stream media content played by the media player may include: (1) the media controller according to the total bandwidth and each adaptation for playing the N adaptive code stream media content Decoding information of the content of the code stream, assigning a corresponding play rate to the adaptive stream media content played by each media player, and sending a code rate adjustment command to the media server, so that the media server sends to each media player The code rate is the adaptive code stream media content of the assigned transmission code rate; or, (2) the media controller can adjust the quality of service level of the played adaptive code stream media content, when an adaptive code stream media content After the quality of service level is adjusted, the code rate of the adaptive code stream media content can be increased according to the characteristics of the adaptive code stream itself.
本发明实施例, 媒体控制器可以获取每个媒体播放器播放的自适应码 流媒体内容的播放码率, 当有部分媒体播放器播放的自适应码流媒体内容 的播放码率低于对应的码率门限值时, 媒体控制器可以调整多个媒体播放 器播放的自适应码流媒体内容的播放码率, 从而可以实现公平播放, 提高 用户体验。 图 2为本发明实施例的另一种播放多个自适应码流媒体内容的方法的 流程图, 在图 1所示实施例的基础上, 如图 2所示, 该方法包括:  In the embodiment of the present invention, the media controller may obtain a play rate of the adaptive stream media content played by each media player, and when the playback rate of the adaptive stream media content played by a part of the media player is lower than the corresponding When the code rate threshold is used, the media controller can adjust the play rate of the adaptive code stream media content played by the plurality of media players, thereby achieving fair play and improving the user experience. FIG. 2 is a flowchart of another method for playing multiple adaptive code stream media content according to an embodiment of the present invention. On the basis of the embodiment shown in FIG. 1, as shown in FIG. 2, the method includes:
步骤 201、 媒体控制器分别获取 N个媒体播放器中每个媒体播放器播 放的自适应码流媒体内容的播放码率, N > 2。 该网络媒体系统中处于播放状态的媒体播放器的个数为 N, 即该网络 媒体系统中包括 N个正在播放自适应码率媒体内容的媒体播放器。 Step 201: The media controller separately obtains a play rate of the adaptive code stream media content played by each media player in the N media players, where N>2. The number of media players in the playing state in the network media system is N, that is, the network media system includes N media players that are playing adaptive code rate media content.
在媒体控制器获取到每个媒体播放器播放的自适应码流媒体内容的播 放码率之后,若 Ml个自适应码流媒体内容的播放码率低于各自对应的第一 码率门限值, 且 M1 < N, 则媒体控制器可以调整 K个媒体播放器播放的自 适应码流媒体内容的播放码率, Ml K N;下面对调整的过程做具体说明。  After the media controller obtains the play rate of the adaptive stream media content played by each media player, if the play rate of the M1 adaptive stream media content is lower than the corresponding first code rate threshold , and M1 < N, the media controller can adjust the play rate of the adaptive code stream media content played by the K media players, Ml KN; the following describes the adjustment process.
步骤 202、若 Ml个自适应码流媒体内容的播放码率低于各自对应的第 一码率门限值, 且 M1 < N, 则媒体控制器根据用于播放 N个自适应码流媒 体内容的总带宽和每个自适应码流媒体内容的描述信息, 为 K个媒体播放 器播放的自适应码流媒体内容分配对应的播放码率。  Step 202: If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, the media controller is configured to play the N adaptive code stream media content. The total bandwidth and the description information of each adaptive code stream media content are assigned corresponding play rate rates for the adaptive code stream media content played by the K media players.
其中, 每个媒体播放器播放的自适应码流媒体内容所对应的第一码率 门限值是根据每个媒体播放器的设备能力信息和每个媒体播放器播放的自 适应码流媒体内容的描述信息得到的。 其中, 当某个媒体播放器播放某个 自适应码流媒体内容的播放码率大于或等于对应的第一码率门限值时, 该 媒体播放器播放该自适应码流媒体内容的播放效果较佳。 例如: 自适应码 流媒体内容 al对应有码率分别为 f0、 fl、 f2、 β的文件, 其中 f0、 fl、 f2、 f3的码率值依次升高; 当播放器 A1播放自适应码流媒体内容 al时, 为达 到较好的效果, 自适应码流媒体内容 al的码率最低为 fl , 即当播放器 Al 播放自适应码流媒体内容 al时, 第一码率门限值为 f 1; 当播放器 A2播放 自适应码流媒体内容 al 时, 为达到较好的效果, 自适应码流媒体内容 al 的码率最低为 f2, 即当播放器 A2播放自适应码流媒体内容 al时, 第一码 率门限值为 f2; 因为播放器 Al和播放器 A2的设备能力不同, 所以上述两 个第一码率门限值不同。  The first rate threshold corresponding to the adaptive stream media content played by each media player is based on the device capability information of each media player and the adaptive stream media content played by each media player. The description of the information was obtained. When the play rate of a certain media player playing an adaptive code stream media content is greater than or equal to the corresponding first code rate threshold, the media player plays the play effect of the adaptive code stream media content. Preferably. For example: the adaptive code stream media content a corresponds to a file with code rates of f0, fl, f2, β, respectively, wherein the code rate values of f0, fl, f2, and f3 are sequentially increased; when the player A1 plays the adaptive code stream When the media content is al, in order to achieve a better effect, the code rate of the adaptive code stream media a is at least fl, that is, when the player Al plays the adaptive code stream media content a1, the first code rate threshold is f. 1; When the player A2 plays the adaptive code stream media content al, in order to achieve a better effect, the code rate of the adaptive code stream media content a is at least f2, that is, when the player A2 plays the adaptive code stream media content. The first code rate threshold is f2; because the device capabilities of the player A1 and the player A2 are different, the two first code rate thresholds are different.
需要说明的是, 第一码率门限值可以由媒体控制器实时获取, 也可以 预先存放在记录表中, 由媒体控制器查表得到。  It should be noted that the first rate threshold may be obtained by the media controller in real time, or may be pre-stored in the record table and obtained by the media controller.
在获取到部分媒体播放器播放的自适应码流媒体内容的播放码率低于 对应的第一码率门限值时, 媒体控制器可以根据用于播放自适应码流媒体 内容的总带宽和每个自适应码流媒体内容的描述信息, 为每个媒体播放器 播放的自适应码流媒体内容分配对应的播放码率, 以使得每个媒体播放器 播放的自适应码流媒体内容能达到较好的播放效果。 The playback code rate of the adaptive stream media content played by the partial media player is lower than Corresponding to the first rate threshold, the media controller may play the content for each media player according to the total bandwidth used for playing the adaptive stream media content and the description information of each adaptive stream media content. The code rate corresponding to the code stream media content is allocated, so that the adaptive code stream media content played by each media player can achieve a better playback effect.
在具体的实施方式中, 媒体控制器根据用于播放 N个自适应码流媒体 内容的总带宽和每个自适应码流媒体内容的描述信息, 为每个媒体播放器 播放的自适应码流媒体内容分配对应的播放码率时, 按照以下规则一和规 则二分配播放码率:  In a specific implementation manner, the media controller plays the adaptive code stream for each media player according to the total bandwidth for playing the N adaptive code stream media content and the description information of each adaptive code stream media content. When the media content is assigned a corresponding play rate, the play rate is allocated according to the following rules 1 and 2:
规制一、 分配后的 N个媒体播放器播放的自适应码流媒体内容的传输 码率之和小于或等于所述用于播放 N个自适应码流媒体内容的总带宽。  The first transmission rate of the adaptive code stream media content played by the allocated N media players is less than or equal to the total bandwidth of the N adaptive media stream media content.
在一网络媒体系统中, 用于播放自适应码流媒体内容的总带宽是一定 的, 所以分配后每个媒体播放器播放的自适应码流媒体内容的传输码率之 和不能大于上述总带宽。  In a network media system, the total bandwidth for playing the adaptive code stream media content is fixed, so the sum of the transmission code rates of the adaptive code stream media content played by each media player after allocation cannot be greater than the above total bandwidth. .
规制二、 若 N个媒体播放器播放的自适应码流媒体内容的第一码率门 限值之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配 后的 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若 N个媒体播放器播放的自适应码流媒体内 容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体内容 的总带宽, 则分配后的 N个媒体播放器播放的自适应码流媒体内容的播放 码率分别大于或者等于对应的第二码率门限值。  The second step is that if the sum of the first rate thresholds of the adaptive stream media content played by the N media players is less than or equal to the total bandwidth of the content used for playing the adaptive stream media, the allocated N The play rate of the adaptive code stream media content played by the media players is greater than or equal to the corresponding first code rate threshold; if the first code rate gate of the adaptive code stream media content played by the N media players The sum of the limit values is greater than the total bandwidth for playing the N adaptive code stream media content, and the play code rates of the adaptive code stream media content played by the allocated N media players are respectively greater than or equal to corresponding The second rate threshold.
其中, 每个媒体播放器播放的自适应码流媒体内容所对应的第二码率 门限值是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容 的描述信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的 第一码率门限值大于第二码率门限值。  The second rate threshold corresponding to the adaptive stream media content played by each media player is obtained according to device capability information of each media player and description information of each adaptive stream media content. The first code rate threshold corresponding to the adaptive stream media content played by each media player is greater than the second code rate threshold.
需要说明的是, 第一码率门限值指的是: 为了达到较好的播放效果, 媒体播放器播放的自适应码流媒体内容所需的码率; 第二码率门限值指的 是: 当第一码率门限值无法满足时, 为了达到能够观看的播放效果(比第 一码率门限值的效果差), 媒体播放器播放的自适应码流媒体内容所需的码 进一步的, 在满足规则一和规则二的前提下, 当有多种分配方案时, 为了达到较好的效果, 可以选择 N个媒体播放器播放的自适应码流媒体内 容的传输码率之和最大的一种分配方案。 It should be noted that the first code rate threshold refers to: a code rate required for the adaptive code stream media content played by the media player in order to achieve a better playback effect; the second code rate threshold value refers to Yes: When the first rate threshold cannot be met, the code required for the adaptive stream media content played by the media player is to achieve a viewable playback effect (less than the first rate threshold). Further, under the premise of satisfying the rules 1 and 2, when there are multiple allocation schemes, in order to achieve better results, the sum of the transmission rate of the adaptive stream media content played by the N media players may be selected. The largest distribution scheme.
步骤 203、媒体控制器根据为每个媒体播放器播放的自适应码流媒体内 容分配的播放码率, 向媒体服务器发送码率调整命令, 以使所述媒体服务 器向所述每个媒体播放器发送码率为被分配的传输码率的自适应码流媒体 内容。  Step 203: The media controller sends a code rate adjustment command to the media server according to a play rate that is allocated for the adaptive code stream media content played by each media player, so that the media server sends the media server to each media player. The transmit code rate is the adaptive stream media content of the assigned transport rate.
步骤 204、媒体服务器接收到媒体控制器发送的码率调整命令后, 向每 个媒体播放器发送码率为被媒体控制器分配的传输码率的自适应码流媒体 内容。  Step 204: After receiving the code rate adjustment command sent by the media controller, the media server sends, to each media player, an adaptive code stream media content whose code rate is a transmission code rate allocated by the media controller.
本发明实施例, 媒体控制器可以获取每个媒体播放器播放的自适应码 流媒体内容的播放码率, 当有部分媒体播放器播放的自适应码流媒体内容 的播放码率低于对应的码率门限值时, 媒体控制器可以调整多个媒体播放 器播放的自适应码流媒体内容的播放码率; 具体的, 媒体控制器可以根据 总带宽、 自适应码流媒体内容的描述信息, 为每个媒体播放器播放的自适 应码流媒体内容分配合适的播放码率, 从而可以实现公平播放, 提高用户 体验。 下面通过图 3所述的实施例具体说明另一种调整方式。  In the embodiment of the present invention, the media controller may obtain a play rate of the adaptive stream media content played by each media player, and when the playback rate of the adaptive stream media content played by a part of the media player is lower than the corresponding The media controller can adjust the play rate of the adaptive code stream media content played by the plurality of media players. Specifically, the media controller can describe the information according to the total bandwidth and the adaptive code stream media content. A suitable playback bit rate is allocated for the adaptive stream media content played by each media player, thereby achieving fair play and improving the user experience. Another adjustment mode will be specifically described below by way of the embodiment described in FIG.
图 3 为本发明实施例的另一种播放多个自适应码流媒体内容的方法的 流程图, 在图 1所示实施例的基础上, 如图 3所示, 该方法包括:  FIG. 3 is a flowchart of another method for playing multiple adaptive code stream media content according to an embodiment of the present invention. On the basis of the embodiment shown in FIG. 1, as shown in FIG. 3, the method includes:
步骤 301、 媒体控制器分别获取 N个媒体播放器中每个媒体播放器播 放的自适应码流媒体内容的播放码率, N > 2; 若 Ml个所述自适应码流媒 体内容的播放码率低于各自对应的第一码率门限值, 且 M1 < N, 则执行步 骤 302;若 Ml个所述自适应码流媒体内容的播放码率低于对应的第一码率 门限值, 且 M1 = N, 则执行步骤 306。 Step 301: The media controller separately obtains a play rate of the adaptive code stream media content played by each media player in the N media players, where N>2; if the M1 pieces of the adaptive code stream media If the play rate of the content is lower than the corresponding first rate threshold, and M1 < N, step 302 is performed; if the play rate of the M1 pieces of the adaptive stream media content is lower than the corresponding first The code rate threshold, and M1 = N, then step 306 is performed.
该网络媒体系统中处于播放状态的媒体播放器的个数为 N, 即该网络 媒体系统中包括 N个正在播放自适应码率媒体内容的媒体播放器。  The number of media players in the playback state of the network media system is N, that is, the network media system includes N media players that are playing adaptive code rate media content.
在媒体控制器获取到每个媒体播放器播放的自适应码流媒体内容的播 放码率之后,若 Ml个自适应码流媒体内容的播放码率低于对应的第一码率 门限值, JL MKN , 则媒体控制器可以调整 K个媒体播放器播放的自适应 码流媒体内容的播放码率, K N; 下面对调整的过程做具体说明。  After the media controller obtains the play rate of the adaptive code stream media content played by each media player, if the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, JL MKN, the media controller can adjust the play rate of the adaptive code stream media content played by the K media players, KN; the following describes the adjustment process.
步骤 302、媒体控制器请求媒体服务器提高所述 Ml个播放码率低于对 应的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级,以使得所述 Ml个播放码率低于对应的第一码率门限值的自适应码流媒 体内容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 K 个自适应码流媒体内容的播放码率被调整。  Step 302: The media controller requests the media server to improve the quality of service level of the data packet corresponding to the adaptive code stream media content of the M1 play rate that is lower than the corresponding first rate threshold, so that the M1 is The data packets corresponding to the adaptive code stream media content whose play rate is lower than the corresponding first code rate threshold are preferentially sent to the corresponding media player, and the K adaptive code stream media content is caused. The play rate is adjusted.
当媒体服务器向多个媒体播放器发送自适应码流媒体内容对应的数据 报文时, 媒体服务器可以通过网关向媒体播放器发送数据报文; 网关在向 多个媒体播放器转发数据报文时,会优先转发服务质量( Quality of Service, QoS )等级高的数据报文。 由此, 当媒体控制器请求媒体服务器提高某个媒 体播放器(例如媒体播放器 A )播放的自适应码流媒体内容对应的数据报 文的 QoS等级之后, 网关会优先转发该数据报文, 而发送给其他媒体播放 器的数据报文会造成一定程度的阻塞, 导致其他媒体播放器认为网络带宽 不够, 根据 DASH技术的策略, 其他媒体播放器自动向媒体服务器请求较 低码率的数据报文, 节约出的网络带宽可以供媒体播放器 A去申请较高码 率的数据报文, 从而使得多个自适应码流媒体内容的播放码率可以被调整。  When the media server sends the data message corresponding to the adaptive code stream media content to the plurality of media players, the media server may send the data message to the media player through the gateway; when the gateway forwards the data message to the multiple media players Priority is given to forwarding data packets with a high Quality of Service (QoS) level. Therefore, after the media controller requests the media server to increase the QoS level of the data packet corresponding to the adaptive stream media content played by a media player (for example, the media player A), the gateway preferentially forwards the data packet. The data packets sent to other media players may cause a certain degree of blocking, causing other media players to think that the network bandwidth is insufficient. According to the DASH technology policy, other media players automatically request a lower rate data report from the media server. The saved network bandwidth can be used by the media player A to apply for a higher rate data packet, so that the playback rate of the multiple adaptive stream media content can be adjusted.
在某一具体实施方式中, 本实施例中的 N=2。  In a specific embodiment, N = 2 in this embodiment.
需要说明的是,提高所述 Ml个自适应码流媒体内容对应的数据报文的 QoS等级, 相当于降低其它自适应码流媒体内容对应的数据报文的 QoS等 级。 由此, 在具体实施方式中, 步骤 302 中可以通过降低其它自适应码流 媒体内容对应的数据报文的 QoS等级, 来实现提高所述 Ml个自适应码流 媒体内容对应的数据报文的 QoS等级。 It should be noted that, the data packet corresponding to the M1 adaptive code stream media content is improved. The QoS level is equivalent to reducing the QoS level of data packets corresponding to other adaptive code stream media content. Therefore, in a specific implementation, in step 302, the QoS level of the data packet corresponding to the content of the other adaptive code stream media may be reduced, so as to improve the data packet corresponding to the M1 adaptive code stream media content. QoS level.
在步骤 302之后, 还可以包括步骤 303。  After step 302, step 303 may also be included.
步骤 303、媒体控制器获取每个自适应码流媒体内容的播放码率; 若每 个自适应码流媒体内容的播放码率大于或等于对应的第一码率门限值, 则 执行步骤 304; 若 N个自适应码流媒体内容对应的第一码率门限值之和大 于用于播放 N个自适应码流媒体内容的总带宽, 则执行步骤 305。  Step 303: The media controller acquires a play rate of each of the adaptive code stream media content. If the play rate of each of the adaptive code stream media content is greater than or equal to the corresponding first code rate threshold, step 304 is performed. If the sum of the first rate thresholds corresponding to the N adaptive stream media content is greater than the total bandwidth for playing the N adaptive stream media content, step 305 is performed.
步骤 304、媒体控制器请求媒体服务器恢复被提高服务质量等级的自适 应码流媒体内容对应的数据报文的服务质量等级, 结束, 或者, 重复执行 步骤 301。  Step 304: The media controller requests the media server to restore the quality of service level of the data packet corresponding to the content stream media content of the improved service quality level, and ends, or repeats step 301.
在媒体控制器调整数据报文的 QoS等级之后, 若每个自适应码流媒体 内容的播放码率均大于或等于对应的第一码率门限值, 则可以停止调整; 当调整的 QoS等级被恢复后, 所有数据报文的 QoS等级相同, 此时网关按 照接收的先后顺序转发数据报文, 从而各个自适应码流媒体内容的播放码 率不会继续被调整。  After the media controller adjusts the QoS level of the data packet, if the play rate of each adaptive code stream media content is greater than or equal to the corresponding first code rate threshold, the adjustment may be stopped; when the adjusted QoS level After being restored, the QoS levels of all data packets are the same. At this time, the gateway forwards the data packets according to the received sequence, so that the playback bit rate of each adaptive code stream media content will not be adjusted.
步骤 305、媒体控制器在未被提高服务质量等级的自适应码流媒体内容 的播放码率调整至等于对应的第一码率门限值时, 请求所述媒体服务器恢 复被提高服务质量等级的自适应码流媒体内容对应的数据报文的服务质量 等级。  Step 305: The media controller requests the media server to resume the improved quality of service level when the playback code rate of the adaptive code stream media content that is not improved by the service quality level is adjusted to be equal to the corresponding first code rate threshold. The quality of service level of the data message corresponding to the adaptive code stream media content.
若 N个自适应码流媒体内容对应的第一码率门限值之和大于用于播放 N个自适应码流媒体内容的总带宽, 则无法调整到每个自适应码流媒体内 容的播放码率均大于或等于对应的第一码率门限值。 该情况下, 当原本播 放效果好的自适应码流媒体内容的播放码率被调整到对应的第一码率门限 值时, 停止调整。 其中, 未被提高 QoS等级的自适应码流媒体内容即为原 本播放效果好的自适应码流媒体内容, 也就是调整前的播放码率就大于或 等于对应的第一码率门限值的自适应码流媒体内容。 If the sum of the first rate thresholds corresponding to the N adaptive stream media content is greater than the total bandwidth for playing the N adaptive stream media content, the playback of each adaptive stream media content cannot be adjusted. The code rate is greater than or equal to the corresponding first rate threshold. In this case, when the play rate of the adaptive code stream media content with good original playback effect is adjusted to the corresponding first code rate threshold, the adjustment is stopped. Among them, the adaptive stream media content that is not improved in QoS level is the original The adaptive code stream media content with good playback effect, that is, the adaptive code stream media content whose pre-adjustment play rate is greater than or equal to the corresponding first code rate threshold.
在步骤 305之后, 可以结束, 或者, 重复执行步骤 301。  After step 305, it may end, or step 301 may be repeated.
步骤 306、媒体控制器判断每个自适应码流媒体内容的播放码率是否低 于各自对应的第二码率门限值;若 M2个自适应码流媒体内容的播放码率低 于对应的第二码率门限值, 且 M2 < N , 则执行步骤 307。 其中, Ml和 M2 可以相同, 也可以不同。 在某一具体实施方式中, 本实施例中的 N=2。  Step 306: The media controller determines whether the play rate of each of the adaptive code stream media content is lower than a corresponding second code rate threshold; if the play rate of the M2 adaptive code stream media content is lower than the corresponding The second code rate threshold, and M2 < N, then step 307 is performed. Among them, Ml and M2 may be the same or different. In a specific embodiment, N = 2 in this embodiment.
步骤 307、媒体控制器请求媒体服务器提高所述 M2个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级, 以使得所述播放码率低于对应的第二码率门限值的自适应码流媒体内 容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 K个自 适应码流媒体内容的播放码率被调整。  Step 307: The media controller requests the media server to improve the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second code rate threshold, so that the play The data message corresponding to the adaptive code stream media content whose code rate is lower than the corresponding second code rate threshold value is preferentially sent to the corresponding media player, and the K adaptive code stream media content is played. The code rate is adjusted.
步骤 308、媒体控制器获取每个自适应码流媒体内容的播放码率; 若每 个所述自适应码流媒体内容的播放码率大于或等于对应的第二码率门限 值, 则执行步骤 309; 若 N个所述自适应码流媒体内容对应的第二码率门 限值之和大于所述用于播放所述 N个自适应码流媒体内容的总带宽, 则执 行步骤 310。  Step 308: The media controller acquires a play rate of each of the adaptive code stream media content. If the play rate of each of the adaptive code stream media content is greater than or equal to a corresponding second code rate threshold, executing Step 309: If the sum of the second code rate thresholds corresponding to the N pieces of the adaptive code stream media content is greater than the total bandwidth of the N pieces of adaptive code stream media content, step 310 is performed.
步骤 309、媒体控制器请求所述媒体服务器恢复被提高服务质量等级的 自适应码流媒体内容对应的数据报文的服务质量等级, 结束, 或者, 重复 执行步骤 306。  Step 309: The media controller requests the media server to restore the quality of service level of the data packet corresponding to the adaptive code stream media content of the improved quality of service level, and ends, or repeats step 306.
步骤 310、媒体控制器在未被提高服务质量等级的自适应码流媒体内容 的播放码率调整至等于对应的第二码率门限值时, 请求所述媒体服务器恢 复被提高服务质量等级的自适应码流媒体内容对应的数据报文的服务质量 等级。  Step 310: The media controller requests the media server to resume the improved quality of service level when the play rate of the adaptive code stream media content that is not improved by the service quality level is adjusted to be equal to the corresponding second code rate threshold. The quality of service level of the data message corresponding to the adaptive code stream media content.
需要说明的是, 步骤 307-步骤 310的调整过程与步骤 302-步骤 305的 调整过程类似, 区别在于作为判断基准的码率门限值不同。 本发明实施例, 媒体控制器可以获取每个媒体播放器播放的自适应码 流媒体内容的播放码率, 当有部分或全部媒体播放器播放的自适应码流媒 体内容的播放码率低于对应的码率门限值时, 媒体控制器可以调整多个媒 体播放器播放的自适应码流媒体内容的播放码率; 具体的, 媒体控制器可 以通过部分调整自适应码流媒体内容的数据报文的 QoS等级, 来调整自适 应码流媒体内容的播放码率, 从而可以实现公平播放, 提高用户体验。 下面结合图 4和图 5 , 对本发明实施例进行举例说明。 It should be noted that the adjustment process of step 307-step 310 is similar to the adjustment process of step 302-step 305, except that the code rate threshold value as the criterion for judgment is different. In the embodiment of the present invention, the media controller may obtain a play rate of the adaptive code stream media content played by each media player, and when the playback code rate of the adaptive code stream media content played by some or all of the media players is lower than When the corresponding code rate threshold is used, the media controller may adjust the play rate of the adaptive code stream media content played by the plurality of media players. Specifically, the media controller may partially adjust the data of the adaptive code stream media content. The QoS level of the message is used to adjust the play rate of the adaptive code stream media content, thereby achieving fair play and improving the user experience. The embodiments of the present invention are exemplified below with reference to FIG. 4 and FIG. 5.
图 4为本发明实施例的另一种播放多个自适应码流媒体内容的方法的 流程图, 本实施例以 N=2为例进行说明, 如图 4所示, 该方法包括:  FIG. 4 is a flowchart of another method for playing multiple adaptive code stream media content according to an embodiment of the present invention. This embodiment uses N=2 as an example for description. As shown in FIG. 4, the method includes:
步骤 401、 数字媒体播放器 DMRl ( Digital Media Renderer ) 向数字媒 体服务器( Digital Media Server, DMS )获取自适应码流媒体内容 Media#l 的媒体数据, 并在 DMR1上播放。  Step 401: The digital media player DMR1 (Digital Media Renderer) acquires the media data of the adaptive stream media content Media#1 from the digital media server (DMS) and plays it on the DMR1.
DMS、 数字媒体控制器 DMC、 2个数字媒体播放器 DMR1和 DMR2 同属于网络系统中的同一个子网内, 这些设备可以互联互通, 并且上述设 备所发出和接收的所有数据报文都需要通过网关转发, 即 DMS与 DMR之 间通过网关传输数据报文。  DMS, digital media controller DMC, two digital media players DMR1 and DMR2 belong to the same subnet in the network system. These devices can be interconnected, and all data packets sent and received by the above devices need to pass through the gateway. Forwarding, that is, the DMS and the DMR transmit data packets through the gateway.
DMR1向 DMS发起建立媒体传输会话请求, 并接收 DMS发给 DMR1 的关于所要播放的自适应码流媒体内容 Media#l 所对应的媒体展示描述 ( Media Presentation Description, MPD )文件, MPD文件即所述的媒体数 据。 DMR1接收到媒体内容 Media#l的 MPD文件后,按照传统自适应码流 媒体的处理方法, 评估当前的网络带宽状况, 在 MPD文件中选择适合当前 网络状况传输的码率所对应的媒体文件,并向 DMS请求该码率对应媒体文 件的分片数据, DMS将所请求的分片数据发送给 DMR1 , 并在 DMR1上播 放。 所述的分片数据相当于上述实施例中的数据报文; MPD文件相当于上 述实施例中的媒体内容描述信息。 步骤 402、 DMR2向 DMS获取自适应码流媒体内容 Media#2的媒体数 据, 并在 DMR2上播放。 The DMR1 initiates a media transmission session request to the DMS, and receives a Media Presentation Description (MPD) file corresponding to the adaptive code stream media content Media#1 that the DMS sends to the DMR1, and the MPD file is described. Media data. After receiving the MPD file of the media content Media#1, the DMR1 evaluates the current network bandwidth status according to the traditional adaptive code stream processing method, and selects a media file corresponding to the code rate suitable for the current network condition transmission in the MPD file. And requesting the DMS to correspond to the fragment data of the media file corresponding to the code rate, and the DMS sends the requested fragmentation data to the DMR1 and plays it on the DMR1. The fragment data is equivalent to the data packet in the foregoing embodiment; the MPD file is equivalent to the media content description information in the foregoing embodiment. Step 402: The DMR2 acquires the media data of the adaptive code stream media content Media#2 from the DMS, and plays the data on the DMR2.
步骤 402与步骤 401的过程类似, 并且不限定步骤 401和步骤 402的 先后顺序。  Step 402 is similar to the process of step 401 and does not limit the order of steps 401 and 402.
步骤 403、 数字媒体控制器 (Digital Media Controller, DMC ) 向 DMS 发出请求, 从 DMS分别获取媒体内容 Media#l的 MPD文件和 Media#2的 MPD文件。  Step 403: The Digital Media Controller (DMC) sends a request to the DMS to obtain the MPD file of the media content Media#1 and the MPD file of the Media#2 from the DMS.
步骤 404、 DMR1和 DMR2根据各自播放器的设备能力信息以及所播 放的媒体内容 Media#l和 Media#2的描述信息, 计算出各自媒体播放器播 放媒体内容的码率门限值, 并将该码率门限值上报至 DMC。  Step 404: The DMR1 and the DMR2 calculate the code rate threshold values of the media content played by the respective media players according to the device capability information of the respective players and the description information of the played media contents Media#1 and Media#2, and the The rate threshold is reported to the DMC.
本实施例也不限定步骤 403和步骤 404的先后顺序。  This embodiment also does not limit the sequence of steps 403 and 404.
其中, 设备能力信息可以包括播放器的屏幕分辨率信息。 若所播放的 自适应码流媒体内容的码率等于或者高于对应的码率门限值, 则说明自适 应码流媒体内容适合在对应的播放器上播放, 并且可以获得较好的视觉体 验效果。 例如: 网络系统中有两台数字媒体播放器 DMR1和 DMR2 , 分别 播放自适应码流媒体内容 movie A和 movie K。 其中, DMR1为一台智能手 机, 其屏幕分辨率为 800 x 600 , DMR2为一台高清电视, 其屏幕分辨率为 1920 X 1080; movie A的描述信息为 movie A所提供的码流分片的码率有 2.2Mbps、 1.6Mbps、 1.2Mbps、 800Kbps、 400Kbps、 200Kbps, movie K的 描述信息为 movie K 所提供的码流分片的码率有 1.8Mbps、 1.5Mbps , 1.1Mbps、 800Kbps、 500Kbps、 200Kbps。 根据 DMR1和 DMR2两台媒体 播放器的屏幕分辨率、两个自适应码流媒体内容 movie A和 movie K的媒体 内容描述信息, 可以计算出 DMR1 在播放 movie A 时的码率门限值为 800Kbps , DMR2在播放 movie K时的码率门限值 1.5Mbps , 并将这些门限 值上报给 DMC。 具体的, 可以根据描述信息中不同码率与媒体内容画面分 辨率的对应关系, 得到码率门限值。 本实施例中的码率门限值相当于上述实施例中的第一码率门限值。 步骤 405、 DMC获取 DMR1和 DMR2中播放的媒体内容的播放码率, 并判断 DMR1和 DMR2中播放的媒体内容的播放码率是否小于对应的码率 门限值, 若某一个播放器中播放的媒体内容的播放码率小于对应的码率门 限值, 则执行步骤 406。 The device capability information may include screen resolution information of the player. If the code rate of the adaptive code stream media content is equal to or higher than the corresponding code rate threshold, the adaptive code stream media content is suitable for playing on the corresponding player, and a better visual experience can be obtained. effect. For example: There are two digital media players DMR1 and DMR2 in the network system, which play the adaptive stream media content movie A and movie K respectively. Among them, DMR1 is a smart phone with a screen resolution of 800 x 600, DMR2 is a high-definition TV, and its screen resolution is 1920 X 1080; the description of movie A is the stream segmentation provided by movie A. The code rate is 2.2Mbps, 1.6Mbps, 1.2Mbps, 800Kbps, 400Kbps, 200Kbps. The description of movie K is that the code rate provided by movie K is 1.8Mbps, 1.5Mbps, 1.1Mbps, 800Kbps, 500Kbps. 200Kbps. According to the screen resolution of two media players of DMR1 and DMR2, and the media content description information of two adaptive stream media contents movie A and movie K, it can be calculated that the code rate threshold of DMR1 when playing movie A is 800Kbps. The DMR2 has a code rate threshold of 1.5 Mbps when playing movie K, and reports these thresholds to the DMC. Specifically, the code rate threshold value may be obtained according to a correspondence between different code rates in the description information and a resolution of the media content screen. The code rate threshold value in this embodiment is equivalent to the first code rate threshold value in the above embodiment. Step 405: The DMC obtains a play rate of the media content played in the DMR1 and the DMR2, and determines whether the play rate of the media content played in the DMR1 and the DMR2 is less than a corresponding code rate threshold, if played in a certain player. If the play rate of the media content is less than the corresponding code rate threshold, step 406 is performed.
步骤 406、 DMC根据用于播放的总带宽、 媒体内容的描述信息和码率 门限值, 计算出对两媒体播放器所播放自适应码流媒体内容的最佳分配码 计算的具体操作步骤可以为: DMC根据两媒体播放器 DMR1和 DMR2 分别播放媒体内容 movie A和 movie K时的码率门限值,从媒体内容 movie A的 MPD文件中抽取 movie A在 DMR1中播放的码率门限值附近的码率, 从媒体内容 movie K的 MPD文件中抽取 movie K在 DMR2中播放的码率门 限值附近的码率, 进行排列组合, 构成所有可能方案。 然后按照下面所列 的原则进行筛选, 从而计算出最佳码率分配方案。 具体的筛选原则如下: Step 406: The DMC calculates, according to the total bandwidth for playing, the description information of the media content, and the code rate threshold, the specific operation steps for calculating the optimal allocation code of the adaptive code stream media content played by the two media players. The DMC extracts the code rate threshold of the movie A in the DMR1 from the MPD file of the media content movie A according to the code rate thresholds when the media contents movie A and movie K are respectively played by the two media players DMR1 and DMR2. At a nearby code rate, the code rate near the code rate threshold of the movie K played in DMR2 is extracted from the MPD file of the media content movie K, and arranged and combined to constitute all possible solutions. Then filter according to the principles listed below to calculate the optimal rate allocation scheme. The specific screening principles are as follows:
(1)调整之后两媒体播放器播放的自适应码流媒体内容的码率之和不得 大于用于播放的总带宽; (1) The sum of the code rates of the adaptive stream media content played by the two media players after the adjustment is not greater than the total bandwidth for playing;
(2)在满足条件 (1)后, 调整之后两媒体播放器播放的自适应码流媒体内 容的码率大于或者等于对应播放器的码率门限值;  (2) After the condition (1) is satisfied, the code rate of the adaptive code stream content played by the two media players after the adjustment is greater than or equal to the code rate threshold of the corresponding player;
(3)在满足条件 (1)和 ( 后, 取调整之后两媒体播放器播放的自适应码流 媒体内容的码率之和最高的一组分配方案。  (3) A set of allocation schemes having the highest sum of the code rates of the adaptive stream media content played by the two media players after the conditions (1) and (after the adjustment) are satisfied.
例如:在本实施例中,所选取的 movie A的码率为 1.2Mbps和 800Kbps, 所选取的 movie K的码率为 1.8Mbps和 1.5Mbps。经过排列组合并且满足条 件(1 )和(2 )后, 有如下 3种分配方案:  For example, in this embodiment, the selected movie A has a code rate of 1.2 Mbps and 800 Kbps, and the selected movie K has a code rate of 1.8 Mbps and 1.5 Mbps. After arranging and combining and satisfying conditions (1) and (2), there are three distribution schemes as follows:
< 1 >mo vie A: 1.2Mbps; movie K: 1.5Mbps;  < 1 >mo vie A: 1.2Mbps; movie K: 1.5Mbps;
<2>movie A: 800Kbps; movie K: 1.8Mbps;  <2>movie A: 800Kbps; movie K: 1.8Mbps;
<3>movie A: 800Kbps; movie K: 1.5Mbps; 然后在根据条件 (3), 得到最佳的分配方案为 movie A:1.2Mbps , movie K:l.5Mbps。 <3>movie A: 800Kbps; movie K: 1.5Mbps; Then, according to the condition (3), the best distribution scheme is obtained as movie A: 1.2 Mbps and movie K: 1.5 Mbps.
步骤 407、根据 DMC计算出来的最佳分配方案, DMC向 DMS发出请 求, 以使 DMS按照最佳分配方案中的码率向 DMR1和 DMR2分发自适应 码流媒体内容的码流分片。  Step 407: According to the optimal allocation scheme calculated by the DMC, the DMC sends a request to the DMS, so that the DMS distributes the stream fragmentation of the adaptive stream media content to the DMR1 and the DMR2 according to the code rate in the optimal allocation scheme.
本发明实施例, 各媒体播放器可以将播放器的屏幕分辨率信息、 所播 放自适应码流媒体内容的描述信息以及播放器的码率门限值上报给 DMC, DMC根据上述信息计算出最优的码率分配方案, 并根据该方案向 DMS发 出请求,请求 DMS向各媒体播放器发送最优码率分配方案所示的码率的媒 体码流, 从而可以实现公平播放, 提高用户体验。 图 5 为本发明实施例的另一种播放多个自适应码流媒体内容的方法的 流程图, 本实施例以 N=2为例进行说明, 如图 5所示, 该方法包括:  In the embodiment of the present invention, each media player can report the screen resolution information of the player, the description information of the played adaptive code stream media content, and the code rate threshold value of the player to the DMC, and the DMC calculates the most based on the above information. An excellent rate allocation scheme is provided, and a request is sent to the DMS according to the scheme, and the DMS is requested to send the media code stream of the code rate indicated by the optimal code rate allocation scheme to each media player, thereby achieving fair play and improving the user experience. FIG. 5 is a flowchart of another method for playing multiple adaptive code stream media content according to an embodiment of the present invention. In this embodiment, N=2 is taken as an example. As shown in FIG. 5, the method includes:
步骤 501、 DMR1向 DMS获取自适应码流媒体内容 Media#l的媒体数 据, 并在 DMR1上播放。  Step 501: The DMR1 acquires the media data of the adaptive stream media content Media#1 from the DMS, and plays the data on the DMR1.
步骤 502、 DMR2向 DMS获取自适应码流媒体内容 Media#2的媒体数 据, 并在 DMR2上播放。  Step 502: The DMR2 acquires the media data of the adaptive stream media content Media#2 from the DMS, and plays the data on the DMR2.
步骤 501与步骤 502与图 4所示实施例中的步骤 401、 步骤 402相同。 步骤 503、 DMC获取 DMR1的设备能力信息。  Step 501 and step 502 are the same as steps 401 and 402 in the embodiment shown in FIG. Step 503: The DMC acquires device capability information of the DMR1.
DMC向 DMR1调用 AVT::GetDeviceCapabilities()命令, 通知 DMR1返 回其设备的设备能力信息。 DMR1根据 MDMC的请求命令发送响应消息, 响应消息中包含了 DMR1的设备能力信息, 可以包括设备的屏幕尺寸、 分 辨率大小、 可支持的音视频编解码格式等。  The DMC calls the AVT::GetDeviceCapabilities() command to DMR1 to inform DMR1 of the device capability information of its device. The DMR1 sends a response message according to the request command of the MDMC. The response message includes device capability information of the DMR1, which may include the screen size of the device, the resolution size, and the supported audio and video codec format.
步骤 504、 DMC获取 DMR2的设备能力信息。  Step 504: The DMC acquires device capability information of the DMR2.
步骤 504与步骤 503类似, 本实施例并不限定步骤 503和步骤 504的 先后顺序。 步骤 505、 DMC分别获取 DMRl和 DMR2所播放媒体内容的状态信息。 DMC分别向 DMR1和 DMR2调用 AVT::GetTransportInfo()命令, 通知 DMR1和 DMR2返回其设备上所播放媒体内容的状态信息。 DMR1和 DMR2 根据 DMC的请求命令发送响应消息, 响应消息中包含了 DMR1和 DMR2 所播放的媒体 Media#l和 Media#2当前的播放状态信息, 可以包括所播放 媒体的名称、 媒体格式、 传输码率等信息。 Step 504 is similar to step 503. This embodiment does not limit the sequence of steps 503 and 504. Step 505: The DMC acquires state information of the media content played by the DMR1 and the DMR2, respectively. The DMC calls the AVT::GetTransportInfo() command to DMR1 and DMR2 to notify DMR1 and DMR2 to return status information of the media content played on their device. The DMR1 and the DMR2 send a response message according to the request command of the DMC. The response message includes the current play status information of the media Media#1 and Media#2 played by the DMR1 and the DMR2, and may include the name of the played media, the media format, and the transmission code. Rate and other information.
需要说明的是, 步骤 505可以在步骤 503之前, 也可以在步骤 503之 后。  It should be noted that step 505 may be before step 503 or after step 503.
步骤 506、 DMR1和 DMR2根据各自播放器的设备能力信息、 所播放 的自适应码流媒体内容的描述信息以及播放状态信息, 计算出各自媒体播 放器播放自适应码流媒体内容的第一码率门限值 (理想播放的码率)和第 二码率门限值 (容忍播放的码率), 并将该第一码率门限值和第二码率门限 值上 4艮至 DMC。  Step 506: The DMR1 and the DMR2 calculate the first code rate of the content of the adaptive code stream media by the respective media player according to the device capability information of the respective player, the description information of the played adaptive code stream media content, and the playing state information. The threshold value (the ideal playback rate) and the second rate threshold (tolerate the playback rate), and the first rate threshold and the second rate threshold are 4 艮 to DMC.
在本实施例中,设家庭网络中有两台数字媒体播放器 DMR1和 DMR2, 分别播放自适应码流媒体内容 movie A和 movie K。 其中, DMRl为一台智 能手机, 其屏幕分辨率为 800 X 600, DMR2为一台高清电视, 其屏幕分辨 率为 1920 X 1080; movie A的描述信息为 movie A所提供的码流分片的码率 有 2.2Mbps、 1.6Mbps、 1.2Mbps、 800Kbps、 400Kbps、 200Kbps, movie K 的描述信息为 movie K所提供的码流分片的码率有 1.8Mbps、 1.5Mbps, 1.1Mbps、 800Kbps、 500Kbps、 200Kbps。 根据 DMRl和 DMR2两台媒体 播放器的屏幕分辨率、两个自适应码流媒体内容 movie A和 movie K的媒体 内容描述信息, 计算出 DMR1和 DMR2在播放 movie A和 movie K时的第 一码率门限值分别为 800Kbps和 1.5Mbps ,第二码率门限值分别为 200Kbps 和 500Kbps , 并将该第一码率门限值和第二码率门限值上报给 DMC。  In this embodiment, there are two digital media players DMR1 and DMR2 in the home network, and the adaptive stream media contents movie A and movie K are respectively played. Among them, DMRl is a smart phone with a screen resolution of 800 X 600, DMR2 is a high-definition TV with a screen resolution of 1920 X 1080; the description of movie A is the stream segmentation provided by movie A. The code rate is 2.2Mbps, 1.6Mbps, 1.2Mbps, 800Kbps, 400Kbps, 200Kbps. The description information of movie K is that the code rate of the stream stream provided by movie K is 1.8Mbps, 1.5Mbps, 1.1Mbps, 800Kbps, 500Kbps, 200Kbps. According to the screen resolution of two media players of DMR1 and DMR2, and the media content description information of two adaptive stream media contents movie A and movie K, the first code of DMR1 and DMR2 when playing movie A and movie K is calculated. The thresholds are respectively 800 Kbps and 1.5 Mbps, and the second rate thresholds are 200 Kbps and 500 Kbps, respectively, and the first rate threshold and the second rate threshold are reported to the DMC.
步骤 507、 DMC根据获取到的不同媒体播放器所播放自适应码流媒体 内容的第一码率门限值、 第二码率门限值以及所播放媒体的状态信息, 判 断是否需要进行码率的调整; 若需要调整, 则执行步骤 508。 Step 507: The DMC judges according to the obtained first code rate threshold value, the second code rate threshold value, and the state information of the played media of the adaptive code stream media content played by different media players. Whether to adjust the code rate is required; if adjustment is needed, step 508 is performed.
具体判断过程参见图 6, 如图 6所示, 首先, DMC获取所播放的自适 应码流媒体内容对应的第一码率门限值和第二码率门限值, 并周期性的获 取各个媒体内容的播放状态信息, 包括媒体内容的播放码率信息。 在 DMC 获取到上述信息后, 会对媒体的播放状态信息与码率门限值进行比较, 并 分情况对各个媒体播放器上播放的自适应码流媒体的码率进行调整:  For the specific judgment process, refer to FIG. 6. As shown in FIG. 6, first, the DMC acquires a first code rate threshold value and a second code rate threshold value corresponding to the content of the played adaptive code stream media, and periodically acquires each The playing status information of the media content, including the playing rate information of the media content. After the DMC obtains the above information, the playback status information of the media is compared with the code rate threshold, and the code rate of the adaptive code stream played on each media player is adjusted according to the situation:
(1)播放器播放的媒体码流的码率均高于对应的第一码率门限值; (1) The code rate of the media stream played by the player is higher than the corresponding first rate threshold;
(2)部分播放器播放的媒体码流的码率低于对应的第一码率门限值;(2) The code rate of the media stream played by the partial player is lower than the corresponding first code rate threshold;
(3)播放器播放的媒体码流的码率均低于对应的第一码率门限值。 (3) The code rate of the media stream played by the player is lower than the corresponding first rate threshold.
针对情况 (1), 所有的播放器播放的自适应码流媒体内容的码率均高于 对应的第一码率门限值, 表示所有播放器播放的媒体内容均可让用户获得 理想的视觉体验, 因此这种情况无需对码流进行调整, 照常播放即可。 针 对情况 (2), 有部分播放器播放的自适应码流媒体内容的码率低于对应的第 一码率门限值, 表示这部分播放器播放的媒体内容不能让用户获得较为理 想的视觉体验, 因此需要调整, 调高那些低于其第一码率门限值的媒体码 流的码率, 使其高于其对应的第一码率门限值。 但是在调整的过程中会降 低原有高于其对应第一码率门限值的那些播放媒体码流的码率, 有可能使 其低于对应的第一码率门限值。 因此, 在无法满足调整后所有的播放媒体 码流的码率均高于对应的第一码率门限值的情况下, 应保证那些原有高于 其第一码率门限值的媒体码流调整后其码率不低于对应的第一码率门限 值。 针对情况 (3), 所有播放器播放的自适应码流媒体内容均不能让用户获 得较为理想的视觉体验, 在这种情况下, DMC查看是否播放器播放的媒体 码流的码率均高于对应的第二码率门限值, 若是, 则照常播放; 若不是, 则调高那些低于对应第二码率门限值的媒体码流的码率, 以保证所有播放 的媒体码流的码率均高于对应的第二码率门限值。  For case (1), the code rate of the adaptive stream media content played by all players is higher than the corresponding first rate threshold, indicating that the media content played by all players can give the user the desired vision. Experience, so this situation does not need to adjust the code stream, you can play as usual. For case (2), the code rate of the adaptive stream media content played by some players is lower than the corresponding first code rate threshold, indicating that the media content played by the player does not allow the user to obtain a better vision. Experience, so adjustments need to be made to increase the bitrate of the media stream below its first rate threshold above its corresponding first rate threshold. However, during the adjustment process, the code rate of those playing media streams higher than the corresponding first rate threshold may be lowered, which may be lower than the corresponding first rate threshold. Therefore, if the code rate of all the playing media streams after the adjustment cannot be satisfied is higher than the corresponding first rate threshold, the media codes that are higher than the first rate threshold should be guaranteed. After the stream is adjusted, the code rate is not lower than the corresponding first rate threshold. For the case (3), the adaptive stream media content played by all players does not allow the user to obtain a more ideal visual experience. In this case, the DMC checks whether the media stream of the player plays a higher bit rate than the media stream. Corresponding second rate threshold, if yes, playing as usual; if not, increasing the bit rate of the media stream lower than the corresponding second rate threshold to ensure that all played media streams are The code rate is higher than the corresponding second rate threshold.
在本实施例中, 媒体播放器 DMR1 目前播放的自适应码流媒体内容 Movie A的码率为 2.2Mbps ,媒体播放器 DMR2目前播放的自适应码流媒体 内容 Movie K的码率为 500Kbps , 分别与 DMR1和 DMR2的第一码率门限 值和第二码率门限值作比较,可以得出此情形属于情况 (2),需要调高 DMR2 所播放的媒体 Movie K 的码率, 使其高于 DMR2 的第一码率门限值 1.5Mbps,但是前提是调整后 DMR1上播放的媒体 Movie A的码率不能下降 至低于 DMR1的第一码率门限值 800Kbps。 In this embodiment, the adaptive stream media content currently played by the media player DMR1 The code rate of Movie A is 2.2 Mbps, and the code rate of the adaptive code stream media content of the media player DMR2 is 500 Kbps, and the first rate threshold and the second code rate threshold of DMR1 and DMR2, respectively. Comparing the values, it can be concluded that this situation belongs to the situation (2). It is necessary to increase the code rate of the media player K played by DMR2, which is higher than the first rate threshold of DMR2 by 1.5 Mbps, but the premise is that after adjustment The code rate of the media Movie A played on the DMR1 cannot be lowered below the first code rate threshold of 800 Kbps of DMR1.
下面是具体的调整过程。  The following is the specific adjustment process.
步骤 508、 DMC请求 DMS升高发送给 DMR2的数据报文的服务质量 (QoS)等级, DMS接到指令后, 增加发送给 DMR2的分片码流报文的 IP报 头中的差分服务代码点 (DSCP)字段的值, 提升发送给 DMR2的数据报文的 QoS等级。  Step 508: The DMC requests the DMS to increase the quality of service (QoS) level of the data packet sent to the DMR2, and after receiving the command, the DMS increases the differential service code point in the IP header of the fragmented stream message sent to the DMR2 ( The value of the DSCP field increases the QoS level of the data message sent to DMR2.
差分服务代码点 (DSCP)字段是 IP报头中用以标识报文服务质量 (QoS) 优先级的字段。 DSCP字段的数值越大, QoS优先级等级越高, 网关就会优 先处理 QoS等级高的报文。 这样, 当 DMS发送给 DMR2的 DASH媒体分 片的数据报文的 QoS等级高于发送给 DMR1的数据报文的 QoS等级,网关 在处理时就会优先转发发送给 DMR2的媒体分片。 而发送给 DMR1的媒体 流就会造成一定程度的阻塞, 导致 DMR1认为网络带宽不够, 根据 DASH 技术的策略, DMR1 自动向 DMS请求较低码率的媒体分片, 从而节约出的 带宽可以供 DMR2去申请较高码率的媒体分片, 从而缩小了两者分片码率 的差距。  The Differentiated Services Code Point (DSCP) field is a field in the IP header that identifies the Quality of Service (QoS) priority of the message. The larger the value of the DSCP field, the higher the QoS priority level, and the gateway will preferentially process packets with a high QoS class. In this way, when the QoS level of the data packet of the DASH media fragment sent by the DMS to the DMR2 is higher than the QoS level of the data packet sent to the DMR1, the gateway preferentially forwards the media fragment sent to the DMR2 during processing. The media stream sent to DMR1 will cause a certain degree of blocking, which causes DMR1 to think that the network bandwidth is insufficient. According to the DASH technology policy, DMR1 automatically requests the lower-rate media fragment from the DMS, so that the saved bandwidth can be used for DMR2. To apply for higher-rate media segments, which narrows the gap between the two chip rates.
步骤 509、 DMC实时监测所播放媒体的状态信息, 当判断网络系统中 DASH媒体内容的播放时公平的, DMC向 DMS发出请求, 恢复原来的发 送给 DMR2的数据报文的 QoS等级,使 DMS发送给 DMR1和 DMR2的数 据 ·^艮文的 QoS等级恢复相同。  Step 509: The DMC monitors the status information of the played media in real time. When it is determined that the DASH media content in the network system is played fairly, the DMC sends a request to the DMS to restore the QoS level of the original data message sent to the DMR2, so that the DMS sends the DMS. The QoS level recovery for the data of DMR1 and DMR2 is the same.
本发明实施例, 媒体控制器可以获取每个媒体播放器播放的自适应码 流媒体内容的播放码率, 当有部分或全部媒体播放器播放的自适应码流媒 体内容的播放码率低于对应的码率门限值时, 媒体控制器可以调整多个媒 体播放器播放的自适应码流媒体内容的播放码率; 具体的, 媒体控制器可 以通过部分调整自适应码流媒体内容的数据报文的 QoS等级, 来调整自适 应码流媒体内容的播放码率, 从而可以实现公平播放, 提高用户体验。 图 6为本发明实施例的一种媒体控制器的示意图, 如图 6所示, 该媒 体控制器 600包括: 信息获取单元 61和调整单元 63。 In the embodiment of the present invention, the media controller may obtain a play rate of the adaptive stream media content played by each media player, and when there are some or all media players playing the adaptive code stream media When the play rate of the volume content is lower than the corresponding code rate threshold, the media controller may adjust the play rate of the adaptive stream media content played by the plurality of media players; specifically, the media controller may partially adjust The QoS level of the data message of the adaptive code stream media content is adjusted to adjust the play rate of the adaptive code stream media content, thereby achieving fair play and improving the user experience. FIG. 6 is a schematic diagram of a media controller according to an embodiment of the present invention. As shown in FIG. 6, the media controller 600 includes: an information acquiring unit 61 and an adjusting unit 63.
信息获取单元 61 , 用于分别获取 N个媒体播放器中每个媒体播放器播 放的自适应码流媒体内容的播放码率, N > 2。  The information obtaining unit 61 is configured to respectively acquire a play rate of the adaptive code stream media content played by each media player in the N media players, where N>2.
调整单元 63 , 用于若 Ml个所述自适应码流媒体内容的播放码率低于 各自对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自 适应码流媒体内容的播放码率, M1 K N; 其中, 每个媒体播放器播放的 自适应码流媒体内容所对应的第一码率门限值是根据每个媒体播放器的设 备能力信息和每个媒体播放器播放的自适应码流媒体内容的描述信息得到 的。  The adjusting unit 63 is configured to: if the play rate of the M1 pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, adjust the adaptive play of the K media players The play rate of the code stream media content, M1 KN; wherein, the first code rate threshold corresponding to the adaptive code stream media content played by each media player is based on the device capability information of each media player and each The description information of the adaptive code stream media content played by the media player is obtained.
进一步的, 在另一实施方式中, 调整单元 63可以包括: 码率分配模块 631和调整触发模块 633;或者,调整单元 63可以包括:第一请求模块 635; 或者, 调整单元 63可以包括: 码率分配模块 631和调整触发模块 633 , 以 及第一请求模块 635。  Further, in another embodiment, the adjusting unit 63 may include: a code rate allocation module 631 and an adjustment triggering module 633; or, the adjusting unit 63 may include: a first requesting module 635; or, the adjusting unit 63 may include: The rate allocation module 631 and the adjustment trigger module 633, and the first request module 635.
码率分配模块 631 ,用于若 Ml个所述自适应码流媒体内容的播放码率 低于各自对应的第一码率门限值, 且 M1 < N, 则根据用于播放所述 N个自 适应码流媒体内容的总带宽和每个自适应码流媒体内容的描述信息, 为所 述 K个媒体播放器播放的自适应码流媒体内容分配对应的播放码率。  The rate allocation module 631 is configured to: if the play rate of the M1 pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, according to the N used for playing The total bandwidth of the adaptive code stream media content and the description information of each of the adaptive code stream media content are allocated corresponding play rate rates for the adaptive code stream media content played by the K media players.
调整触发模块 633 , 用于根据所述码率分配模块 631为所述 K个媒体 播放器播放的自适应码流媒体内容分配的播放码率, 向媒体服务器发送码 率调整命令, 以使所述媒体服务器向所述 K个媒体播放器发送码率为被分 配的传输码率的自适应码流媒体内容。 The adjustment triggering module 633 is configured to send a code rate adjustment command to the media server according to the play rate of the adaptive code stream media content played by the code rate allocation module 631 for the K media players, so that the The media server sends the code rate to the K media players. The adaptive code stream media content of the assigned transmission rate.
第一请求模块 635,用于若 Ml个所述自适应码流媒体内容的播放码率 低于各自对应的第一码率门限值, 且 M1 < N, 则请求媒体服务器提高所述 Ml 个自适应码流媒体内容对应的数据报文的服务质量等级, 以使得所述 M 1 个播放码率低于对应的第一码率门限值的自适应码流媒体内容对应的 数据报文被优先发送到对应的媒体播放器中, 并使得所述 K个自适应码流 媒体内容的播放码率被调整; 其中, N=2, K=2。  The first requesting module 635 is configured to: if the play rate of the M1 pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, request the media server to increase the M1 The QoS level of the data packet corresponding to the code stream media content is such that the M1 message data rate corresponding to the adaptive code stream media content of the corresponding first code rate threshold is Priority is sent to the corresponding media player, and the play rate of the K adaptive code stream media content is adjusted; wherein, N=2, K=2.
进一步的, 码率分配模块 631在根据播放所述 Ν个自适应码流媒体内 容的总带宽和每个自适应码流媒体内容的描述信息, 为所述 Κ个媒体播放 器播放的自适应码流媒体内容分配对应的播放码率时, 按照以下规则分配 播放码率:  Further, the code rate allocation module 631 is configured to play the adaptive code for the media player according to the total bandwidth of the two pieces of adaptive code stream media content and the description information of each of the adaptive code stream media contents. When the streaming content is assigned to the corresponding playback rate, the playback rate is assigned according to the following rules:
分配后的 Ν个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 Ν个自适应码流媒体内容的总带宽;  And a sum of transmission code rates of the adaptive code stream media content played by the allocated media players is less than or equal to a total bandwidth of the media content for playing the ones of the adaptive code streams;
若所述 Ν个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 Ν个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 Ν个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 Ν个自适应码流媒体 内容的总带宽, 则分配后的所述 Ν个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值;  And if the sum of the first rate thresholds of the adaptive stream media content played by the one of the media players is less than or equal to the total bandwidth of the content for playing the adaptive stream media, The play rate of the adaptive stream media content played by the media player is greater than or equal to the corresponding first rate threshold; if the content of the adaptive stream media played by the media player is the first The sum of the code rate thresholds is greater than the total bandwidth used for playing the content of the adaptive code stream media, and the played bit rate of the adaptive code stream media content played by the allocated media players Respectively greater than or equal to the corresponding second rate threshold;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。  The second rate threshold corresponding to the adaptive stream media content played by each media player is obtained according to device capability information of each media player and description information of each adaptive stream media content; The first code rate threshold corresponding to the adaptive stream media content played by the media players is greater than the second code rate threshold.
进一步的, 媒体控制器 600还可以包括: 判断模块 65和第二请求模块 Further, the media controller 600 may further include: a determining module 65 and a second requesting module
67。 判断模块 65 , 用于若 N个所述自适应码流媒体内容的播放码率均低于 各自对应的第一码率门限值, 则判断每个所述自适应码流媒体内容的播放 码率是否低于各自对应的第二码率门限值; 每个媒体播放器播放的自适应 码流媒体内容所对应的第二码率门限值是根据每个媒体播放器的设备能力 信息和每个自适应码流媒体内容的描述信息得到的; 每个媒体播放器播放 的自适应码流媒体内容所对应的第一码率门限值大于第二码率门限值; 第二请求模块 67,用于若判断模块 65判断 M2个所述自适应码流媒体 内容的播放码率低于各自对应的第二码率门限值, 且 M2 < N, 则请求媒体 服务器提高所述 M2 个播放码率低于对应的第二码率门限值的自适应码流 媒体内容对应的数据报文的服务质量等级, 以使得所述播放码率低于对应 的第二码率门限值的自适应码流媒体内容对应的数据报文被优先发送到对 应的媒体播放器中, 并使得所述 N个自适应码流媒体内容的播放码率被调 整; 其中, N=2。 67. The determining module 65 is configured to determine, if the play rate of the N pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold, determine a play code of each of the adaptive code stream media content Whether the rate is lower than the corresponding second rate threshold; the second rate threshold corresponding to the adaptive stream media content played by each media player is based on the device capability information of each media player and The description information of each adaptive code stream media content is obtained; the first code rate threshold corresponding to the adaptive code stream media content played by each media player is greater than the second code rate threshold; the second request module 67. If the determining module 65 determines that the play rate of the M2 pieces of the adaptive code stream media content is lower than the corresponding second code rate threshold, and M2 < N, requesting the media server to increase the M2 And playing a service quality level corresponding to the data packet corresponding to the adaptive code stream media content of the corresponding second rate threshold, so that the play rate is lower than the corresponding second rate threshold. The number corresponding to the adaptive stream media content Packets are preferentially transmitted to the corresponding media player, and so that the N adaptive codebook bit rate of streaming media content play is adjusted; where, N = 2.
进一步的, 媒体控制器还可以包括: 等级恢复单元 69。  Further, the media controller may further include: a level recovery unit 69.
等级恢复单元 69用于:  Level recovery unit 69 is used to:
在第一请求模块 635请求媒体服务器提高所述 M 1个播放码率低于对应 的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量等级 之后, 若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的 第一码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适 应码流媒体内容对应的数据报文的服务质量等级; 或者  After the first requesting module 635 requests the media server to improve the quality of service level of the data message corresponding to the adaptive code stream media content of the M1 play rate lower than the corresponding first rate threshold, if each And the playing code rate of the adaptive code stream media content is greater than or equal to the corresponding first code rate threshold, and then requesting the media server to recover the data packet corresponding to the adaptive code stream media content of the improved quality of service level. Quality of service level; or
在第一请求模块 635请求媒体服务器提高所述 M 1个播放码率低于对应 的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量等级 之后, 若 N个所述自适应码流媒体内容对应的第一码率门限值之和大于所 述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质 量等级的自适应码流媒体内容的播放码率调整至等于对应的第一码率门限 值时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内 容对应的数据报文的服务质量等级; 或者 After the first requesting module 635 requests the media server to improve the quality of service level of the data message corresponding to the adaptive code stream media content of the corresponding first rate threshold value, The sum of the first code rate thresholds corresponding to the adaptive code stream media content is greater than the total bandwidth used for playing the N adaptive code stream media content, and is not improved by the improved quality of service level When the play rate of the code stream media content is adjusted to be equal to the corresponding first code rate threshold, requesting the media server to restore the improved code quality level in the adaptive code stream media The quality of service level of the corresponding data message; or
在第二请求模块 67请求媒体服务器提高所述 M2个播放码率低于对应 的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等级 之后, 若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的 第二码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适 应码流媒体内容对应的数据报文的服务质量等级; 或者  After the second requesting module 67 requests the media server to improve the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second code rate threshold, If the play rate of the adaptive code stream media content is greater than or equal to the corresponding second code rate threshold, requesting the media server to recover the data message corresponding to the adaptive code stream media content of the improved quality of service level. Quality of service level; or
在第二请求模块 67请求媒体服务器提高所述 M2个播放码率低于对应 的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等级 之后, 若 N个所述自适应码流媒体内容对应的第二码率门限值之和大于所 述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质 量等级的自适应码流媒体内容的播放码率调整至等于对应的第二码率门限 值时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内 容对应的数据报文的服务质量等级。 图 7为本发明实施例的另一种媒体控制器的示意图, 如图 7所示, 该 媒体控制器 700包括:  After the second requesting module 67 requests the media server to improve the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second rate threshold, if the N quality is The sum of the second rate thresholds corresponding to the adaptive code stream media content is greater than the total bandwidth used to play the N adaptive code stream media content, and the adaptive code is not improved in the quality of service level. When the play rate of the streaming media content is adjusted to be equal to the corresponding second rate threshold, the media server is requested to restore the quality of service level of the data packet corresponding to the adaptive stream media content of the improved quality of service level. FIG. 7 is a schematic diagram of another media controller according to an embodiment of the present invention. As shown in FIG. 7, the media controller 700 includes:
一个或多个处理器 71 ;  One or more processors 71;
存储器 72;  Memory 72;
一个或多个程序, 其中所述一个或多个程序存储在所述存储器 72中并 被配置为由所述一个或多个处理器 71执行, 所述一个或多个程序包括: 分别获取 N个媒体播放器中每个媒体播放器播放的自适应码流媒体内 容的播放码率的指令, N > 2;  One or more programs, wherein the one or more programs are stored in the memory 72 and configured to be executed by the one or more processors 71, the one or more programs comprising: acquiring N An instruction to play the code rate of the adaptive stream media content played by each media player in the media player, N > 2;
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容 的播放码率的指令, M1 K N; 其中, 每个媒体播放器播放的自适应码流 媒体内容所对应的第一码率门限值是根据每个媒体播放器的设备能力信息 和每个媒体播放器播放的自适应码流媒体内容的描述信息得到的。 If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, adjusting the playback of the adaptive code stream media content played by the K media players The code rate command, M1 KN; wherein, the first code rate threshold corresponding to the adaptive code stream media content played by each media player is based on device capability information of each media player And the description information of the adaptive stream media content played by each media player is obtained.
进一步的 ,所述若 Ml个所述自适应码流媒体内容的播放码率低于各自 对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应 码流媒体内容的播放码率的指令, 包括:  Further, if the play rate of the M1 pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold value, and M1 < N, the adaptive code played by the K media players is adjusted. Instructions for playing bit rate of streaming media content, including:
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则根据用于播放所述 N个自适应码流媒体内容的总 带宽和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放 的自适应码流媒体内容分配对应的播放码率的指令;  If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, according to the total content for playing the N adaptive code stream media content a description of the bandwidth and the content of each of the adaptive code stream media, and an instruction for assigning a corresponding play rate to the adaptive stream media content played by the K media players;
根据为所述 K个媒体播放器播放的自适应码流媒体内容分配的播放码 率, 向媒体服务器发送码率调整命令, 以使所述媒体服务器向所述 K个媒 体播放器发送码率为被分配的传输码率的自适应码流媒体内容的指令。  Transmitting a code rate adjustment command to the media server according to a play rate allocated for the adaptive code stream media content played by the K media players, so that the media server sends a code rate to the K media players The instruction of the adaptive code stream media content of the assigned transmission rate.
进一步的, 所述根据用于播放所述 N个自适应码流媒体内容的总带宽 和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放的自 适应码流媒体内容分配对应的播放码率时, 按照以下规则分配播放码率: 分配后的 N个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 N个自适应码流媒体内容的总带宽;  Further, the adaptive code stream media played by the K media players according to the total bandwidth for playing the N adaptive code stream media contents and the description information of each adaptive code stream media content When content rate corresponding to the play rate, the play rate is allocated according to the following rules: the sum of the transmission code rates of the adaptive code stream media content played by the allocated N media players is less than or equal to the N for playing The total bandwidth of the adaptive code stream media content;
若所述 N个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 N个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体 内容的总带宽, 则分配后的所述 N个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值;  And if the sum of the first code rate threshold values of the adaptive code stream media content played by the N media players is less than or equal to the total bandwidth for playing the adaptive code stream media content, The play rate of the adaptive code stream media content played by the N media players is greater than or equal to the corresponding first code rate threshold; respectively; if the N media players play the first of the adaptive code stream media content The sum of the code rate thresholds is greater than the total bandwidth used for playing the N pieces of adaptive code stream media, and the played code rate of the adaptive code stream media content played by the allocated N media players Respectively greater than or equal to the corresponding second rate threshold;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。 The second rate threshold corresponding to the adaptive stream media content played by each media player is obtained according to device capability information of each media player and description information of each adaptive stream media content; The first code corresponding to the adaptive stream media content played by the media player The rate threshold is greater than the second rate threshold.
进一步的 ,所述若 Ml个所述自适应码流媒体内容的播放码率低于各自 对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应 码流媒体内容的播放码率的指令, 包括:  Further, if the play rate of the M1 pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold value, and M1 < N, the adaptive code played by the K media players is adjusted. Instructions for playing bit rate of streaming media content, including:
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则请求媒体服务器提高所述 Ml个自适应码流媒体 内容对应的数据报文的服务质量等级,以使得所述 Ml个播放码率低于对应 的第一码率门限值的自适应码流媒体内容对应的数据报文被优先发送到对 应的媒体播放器中, 并使得所述 K个自适应码流媒体内容的播放码率被调 整的指令; 其中, N=2, K=2。  If the play rate of the M1 adaptive code stream media content is lower than the corresponding first code rate threshold, and M1 < N, requesting the media server to improve the M1 adaptive code stream media content The service quality level of the data packet is such that the data message corresponding to the adaptive code stream media content whose M1 play rate is lower than the corresponding first rate threshold is preferentially sent to the corresponding media player. And causing the instruction code rate of the K adaptive code stream media contents to be adjusted; wherein, N=2, K=2.
进一步的, 所述一个或多个程序还包括:  Further, the one or more programs further include:
在请求媒体服务器提高所述 Ml 个播放码率低于对应的第一码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若每个所 述自适应码流媒体内容的播放码率大于或等于各自对应的第一码率门限 值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内 容对应的数据报文的服务质量等级的质量; 或者  After the requesting media server increases the quality of service level of the data message corresponding to the adaptive code stream media content of the M1 play rate lower than the corresponding first code rate threshold, if each of the adaptive code streams If the play rate of the media content is greater than or equal to the corresponding first rate threshold, the media server is requested to restore the quality of the service quality level of the data packet corresponding to the adaptive stream media content of the improved quality of service level. ; or
在请求媒体服务器提高所述 Ml 个播放码率低于对应的第一码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若 N个所 述自适应码流媒体内容对应的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应 码流媒体内容的播放码率调整至等于对应的第一码率门限值时, 请求所述 媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报 文的服务质量等级的指令。  After the requesting media server increases the quality of service level of the data message corresponding to the adaptive code stream media content of the M1 play rate lower than the corresponding first code rate threshold, if the N pieces of the adaptive code stream And the sum of the first code rate threshold values corresponding to the media content is greater than the total bandwidth used for playing the N adaptive code stream media content, and the content of the adaptive code stream media content is not improved by the quality of service level When the code rate is adjusted to be equal to the corresponding first rate threshold, the media server is requested to resume the instruction of the quality of service level of the data message corresponding to the adaptive code stream media content of the improved quality of service level.
进一步的, 所述一个或多个程序还包括:  Further, the one or more programs further include:
若 N个所述自适应码流媒体内容的播放码率均低于各自对应的第一码 率门限值, 则判断每个所述自适应码流媒体内容的播放码率是否低于各自 对应的第二码率门限值的指令; 每个媒体播放器播放的自适应码流媒体内 容所对应的第二码率门限值是根据每个媒体播放器的设备能力信息和每个 自适应码流媒体内容的描述信息得到的; 每个媒体播放器播放的自适应码 流媒体内容所对应的第一码率门限值大于第二码率门限值; If the play rate of the N pieces of the adaptive code stream media content is lower than the corresponding first code rate threshold, determining whether the play rate of each of the adaptive code stream media contents is lower than the respective Corresponding second code rate threshold instruction; the second code rate threshold corresponding to the adaptive code stream media content played by each media player is based on device capability information of each media player and each self Obtaining the description information of the content of the code stream media; the first code rate threshold corresponding to the adaptive code stream media content played by each media player is greater than the second code rate threshold;
若 M2 个所述自适应码流媒体内容的播放码率低于各自对应的第二码 率门限值, 且 M2 < N, 则请求媒体服务器提高所述 M2个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级, 以使得所述播放码率低于对应的第二码率门限值的自适应码流媒体内 容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 N个自 适应码流媒体内容的播放码率被调整的指令; 其中, N=2。  If the play rate of the M2 adaptive code stream media content is lower than the corresponding second code rate threshold, and M2 < N, requesting the media server to increase the M2 play rate is lower than the corresponding a quality of service level of the data packet corresponding to the adaptive code stream media content of the second code rate threshold, so that the playback code rate is lower than the corresponding code stream media content corresponding to the second code rate threshold The data message is preferentially sent to the corresponding media player, and the instruction that the play rate of the N adaptive code stream media content is adjusted; wherein N=2.
进一步的, 所述一个或多个程序还包括:  Further, the one or more programs further include:
在请求媒体服务器提高所述 M2 个播放码率低于对应的第二码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若每个所 述自适应码流媒体内容的播放码率大于或等于各自对应的第二码率门限 值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内 容对应的数据报文的服务质量等级的指令; 或者  After the requesting media server increases the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second code rate threshold, if each of the adaptive code streams If the play rate of the media content is greater than or equal to the corresponding second rate threshold, the media server is requested to resume the service quality level of the data message corresponding to the adaptive code stream media content of the improved service quality level. ; or
在请求媒体服务器提高所述 M2 个播放码率低于对应的第二码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若 N个所 述自适应码流媒体内容对应的第二码率门限值之和大于所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应 码流媒体内容的播放码率调整至等于对应的第二码率门限值时, 请求所述 媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报 文的服务质量等级的指令。  After the requesting media server increases the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second rate threshold, if the N pieces of the adaptive code stream And the sum of the second code rate thresholds corresponding to the media content is greater than the total bandwidth used for playing the N adaptive code stream media content, and the content of the adaptive code stream media content is not improved by the quality of service level When the code rate is adjusted to be equal to the corresponding second rate threshold, the media server is requested to resume the instruction of the quality of service level of the data message corresponding to the adaptive code stream media content of the improved quality of service level.
图 6或图 7所示实施例提供的媒体控制器, 用于实现上述各方法实施 例中的方法, 具体的工作原理和工作流程可以参见上述各方法实施例。  The media controller provided in the embodiment shown in FIG. 6 or FIG. 7 is used to implement the method in the foregoing method embodiments. For the specific working principle and workflow, refer to the foregoing method embodiments.
图 6或图 7所示实施例中, 媒体控制器可以获取每个媒体播放器播放 的自适应码流媒体内容的播放码率, 当有部分媒体播放器播放的自适应码 流媒体内容的播放码率低于对应的码率门限值时, 媒体控制器可以调整多 个媒体播放器播放的自适应码流媒体内容的播放码率; 具体的, 媒体控制 器可以根据总带宽、 自适应码流媒体内容的描述信息, 为每个媒体播放器 播放的自适应码流媒体内容分配合适的播放码率, 或者, 媒体控制器可以 通过部分调整自适应码流媒体内容的数据报文的 QoS等级, 来调整自适应 码流媒体内容的播放码率, 从而可以实现公平播放, 提高用户体验。 图 8为本发明实施例的一种网络媒体系统的示意图, 如图 8所示, 该 网络媒体系统, 包括: 媒体服务器 81、 媒体控制器 83和 N个媒体播放器 85 , N > 2。 In the embodiment shown in FIG. 6 or FIG. 7, the media controller can acquire each media player to play. The playback code rate of the adaptive code stream media content, when the playback code rate of the adaptive code stream media content played by a part of the media player is lower than the corresponding code rate threshold, the media controller can adjust the multiple media play The playback code rate of the adaptive code stream media content played by the device; specifically, the media controller may allocate the adaptive code stream media content for each media player according to the total bandwidth and the description information of the adaptive code stream media content. For a suitable playback rate, the media controller can adjust the playback rate of the adaptive stream media content by partially adjusting the QoS level of the data packet of the adaptive stream media content, thereby achieving fair play and improving the user. Experience. FIG. 8 is a schematic diagram of a network media system according to an embodiment of the present invention. As shown in FIG. 8, the network media system includes: a media server 81, a media controller 83, and N media players 85, N>2.
媒体播放器 85 , 用于从所述媒体服务器 81获取自适应码流媒体内容, 并播放获取的自适应码流媒体内容。  The media player 85 is configured to obtain the adaptive code stream media content from the media server 81, and play the acquired adaptive code stream media content.
媒体服务器 81 , 用于存储自适应码流媒体内容, 并向媒体播放器 85提 供自适应码流媒体内容和自适应码流媒体内容的描述信息。  The media server 81 is configured to store the adaptive code stream media content, and provide the media player 85 with description information of the adaptive code stream media content and the adaptive code stream media content.
媒体控制器 83 , 用于分别获取 N个媒体播放器 85中每个媒体播放器 播放的自适应码流媒体内容的播放码率;若 Ml个所述自适应码流媒体内容 的播放码率低于各自对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体 播放器播放的自适应码流媒体内容的播放码率, Ml K N。  The media controller 83 is configured to separately acquire a play rate of the adaptive stream media content played by each media player of the N media players 85; if the playback rate of the M1 media stream media content is low At respective first code rate thresholds, and M1 < N, the play rate of the adaptive code stream media content played by the K media players is adjusted, M1 KN.
媒体播放器 85 ,还用于根据媒体播放器 85的设备能力信息和媒体播放 器播放的自适应码流媒体内容的描述信息, 得到媒体播放器 85播放的自适 应码流媒体内容所对应的第一码率门限值。  The media player 85 is further configured to obtain, according to the device capability information of the media player 85 and the description information of the adaptive code stream media content played by the media player, the corresponding content of the adaptive code stream media content played by the media player 85. A code rate threshold.
进一步的,所述媒体控制器 83在调整 K个媒体播放器播放的自适应码 流媒体内容的播放码率时, 具体用于:  Further, when the media controller 83 adjusts the play rate of the adaptive stream media content played by the K media players, the media controller 83 is specifically configured to:
所述媒体控制器 83根据用于播放所述 N个自适应码流媒体内容的总带 宽和每个自适应码流媒体内容的描述信息,为所述 K个媒体播放器 85播放 的自适应码流媒体内容分配对应的播放码率; The media controller 83 plays the K media players 85 according to the total bandwidth for playing the N adaptive code stream media contents and the description information of each adaptive code stream media content. The adaptive code stream media content is allocated corresponding to the play rate;
根据为所述 K个媒体播放器 85播放的自适应码流媒体内容分配的播放 码率, 向所述媒体服务器 81 发送码率调整命令, 以使所述媒体服务器 81 向所述 K个媒体播放器 85发送码率为被分配的传输码率的自适应码流媒体 内容。  Transmitting a rate adjustment command to the media server 81 according to a play rate allocated for the adaptive stream media content played by the K media players 85 to cause the media server 81 to play the K media. The processor 85 transmits the adaptive stream media content of the assigned transmission rate.
进一步的,媒体控制器 83根据用于播放所述 N个自适应码流媒体内容 的总带宽和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器 85播放的自适应码流媒体内容分配对应的播放码率时, 按照以下规则分配 播放码率:  Further, the media controller 83 adaptively plays the K media players 85 according to the total bandwidth for playing the N adaptive code stream media contents and the description information of each of the adaptive code stream media contents. When the code stream media content is assigned a corresponding play rate, the play rate is assigned according to the following rules:
分配后的 N个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 N个自适应码流媒体内容的总带宽;  And a sum of transmission code rates of the adaptive code stream media content played by the allocated N media players is less than or equal to a total bandwidth used for playing the N adaptive code stream media content;
若所述 N个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 N个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体 内容的总带宽, 则分配后的所述 N个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值;  And if the sum of the first code rate threshold values of the adaptive code stream media content played by the N media players is less than or equal to the total bandwidth for playing the adaptive code stream media content, The play rate of the adaptive code stream media content played by the N media players is greater than or equal to the corresponding first code rate threshold; respectively; if the N media players play the first of the adaptive code stream media content The sum of the code rate thresholds is greater than the total bandwidth used for playing the N pieces of adaptive code stream media, and the played code rate of the adaptive code stream media content played by the allocated N media players Respectively greater than or equal to the corresponding second rate threshold;
所述媒体播放器, 还用于根据媒体播放器的设备能力信息和每个自适 应码流媒体内容的描述信息得到媒体播放器播放的自适应码流媒体内容所 对应的第二码率门限值; 每个媒体播放器播放的自适应码流媒体内容所对 应的第一码率门限值大于第二码率门限值。  The media player is further configured to obtain, according to the device capability information of the media player and the description information of each adaptive code stream media content, a second code rate threshold corresponding to the adaptive code stream media content played by the media player. The first rate threshold corresponding to the adaptive stream media content played by each media player is greater than the second rate threshold.
进一步的,所述媒体控制器 83在调整 K个媒体播放器播放的自适应码 流媒体内容的播放码率时, 具体用于:  Further, when the media controller 83 adjusts the play rate of the adaptive stream media content played by the K media players, the media controller 83 is specifically configured to:
若 Ml < N, 则所述媒体控制器请求所述媒体服务器提高所述 Ml个播 放码率低于对应的第一码率门限值的自适应码流媒体内容对应的数据报文 的服务质量等级,以使得所述 Ml个播放码率低于对应的第一码率门限值的 自适应码流媒体内容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 K个自适应码流媒体内容的播放码率被调整;其中, N=2, K=2; If the media controller requests the media server to increase the M1 data packets corresponding to the adaptive code stream media content whose play rate is lower than the corresponding first rate threshold. a quality of service level, such that the data message corresponding to the adaptive code stream media content whose M1 play rate is lower than the corresponding first rate threshold is preferentially sent to the corresponding media player, and The play rate of the K adaptive code stream media content is adjusted; wherein, N=2, K=2;
若 Ml = Ν, 则所述媒体控制器判断每个所述自适应码流媒体内容的播 放码率是否低于各自对应的第二码率门限值;若 Μ2个所述自适应码流媒体 内容的播放码率低于各自对应的第二码率门限值, 且 Μ2 < Ν, 则请求所述 媒体服务器提高所述 Μ2 个播放码率低于对应的第二码率门限值的自适应 码流媒体内容对应的数据报文的服务质量等级, 以使得所述播放码率低于 对应的第二码率门限值的自适应码流媒体内容对应的数据报文被优先发送 到对应的媒体播放器中, 并使得所述 Ν个自适应码流媒体内容的播放码率 被调整; 其中, Ν=2;  If the M1 is Ν, the media controller determines whether the play rate of each of the adaptive code stream media content is lower than a corresponding second code rate threshold; if the two adaptive code streams are The play rate of the content is lower than the corresponding second rate threshold, and Μ2 < Ν, requesting the media server to increase the 播放2 play rate lower than the corresponding second rate threshold Adapting the service quality level of the data packet corresponding to the code stream media content, so that the data packet corresponding to the adaptive code stream media content whose play rate is lower than the corresponding second code rate threshold is preferentially sent to the corresponding In the media player, and the playback rate of the content of the adaptive code stream media is adjusted; wherein, Ν=2;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。  The second rate threshold corresponding to the adaptive stream media content played by each media player is obtained according to device capability information of each media player and description information of each adaptive stream media content; The first code rate threshold corresponding to the adaptive stream media content played by the media players is greater than the second code rate threshold.
进一步的,所述媒体控制器 83在请求所述媒体服务器 81提高所述 Ml 个播放码率低于对应的第一码率门限值的自适应码流媒体内容对应的数据 报文的服务质量等级之后, 还用于:  Further, the media controller 83 requests the media server 81 to improve the quality of service of the data packet corresponding to the adaptive code stream media content whose M1 play rate is lower than the corresponding first rate threshold. After the level, it is also used to:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 一码率门限值, 则所述媒体控制器请求所述媒体服务器恢复被提高服务质 量等级的自适应码流媒体内容对应的数据报文的服务质量等级;或者,若 N 个所述自适应码流媒体内容对应的第一码率门限值之和大于所述用于播放 所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自 适应码流媒体内容的播放码率调整至等于对应的第一码率门限值时, 请求 所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数 据报文的服务质量等级; 所述媒体控制器 83在请求所述媒体服务器 81提高所述 M2个播放码率 低于对应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务 质量等级之后, 还用于: And if the play rate of each of the adaptive code stream media content is greater than or equal to a corresponding first code rate threshold, the media controller requests the media server to recover an adaptive code of the improved quality of service level. a quality of service level of the data message corresponding to the streaming media content; or, if the sum of the first code rate thresholds corresponding to the N pieces of the adaptive code stream media content is greater than the N adaptive code for playing The total bandwidth of the streaming media content is requested to restore the improved quality of service when the playback code rate of the adaptive stream media content that is not improved by the quality of service level is adjusted to be equal to the corresponding first rate threshold. The quality of service level of the data message corresponding to the level of adaptive code stream media content; After the media controller 83 requests the media server 81 to improve the quality of service level of the data message corresponding to the adaptive code stream media content of the M2 play rate lower than the corresponding second code rate threshold, Also used for:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 二码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应 码流媒体内容对应的数据报文的服务质量等级; 或者, 若 N个所述自适应 码流媒体内容对应的第二码率门限值之和大于所述用于播放所述 N个自适 应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应码流媒体 内容的播放码率调整至等于对应的第二码率门限值时, 请求所述媒体服务 器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报文的服务 质量等级。  And if the playback code rate of each of the adaptive code stream media content is greater than or equal to a corresponding second code rate threshold, requesting the media server to restore the corresponding code stream media content corresponding to the improved quality of service level. a quality of service level of the data message; or, if the sum of the second code rate thresholds corresponding to the N pieces of the adaptive code stream media content is greater than the total amount of the media content for playing the N adaptive code streams The bandwidth is requested to request the media server to recover the adaptive code of the improved quality of service level when the play rate of the adaptive stream media content that is not improved by the quality of service level is adjusted to be equal to the corresponding second rate threshold. The quality of service level of the data message corresponding to the streaming media content.
本发明实施例提供的媒体控制器、 媒体服务器、 媒体播放器, 用于实 现上述各方法实施例中的方法, 具体的工作原理和工作流程可以参见上述 各方法实施例。  The media controller, the media server, and the media player provided by the embodiments of the present invention are used to implement the methods in the foregoing method embodiments. For specific working principles and workflows, refer to the foregoing method embodiments.
本实施例中, 媒体控制器可以获取每个媒体播放器播放的自适应码流 媒体内容的播放码率, 当有部分媒体播放器播放的自适应码流媒体内容的 播放码率低于对应的码率门限值时, 媒体控制器可以调整多个媒体播放器 播放的自适应码流媒体内容的播放码率; 具体的, 媒体控制器可以根据总 带宽、 自适应码流媒体内容的描述信息, 为每个媒体播放器播放的自适应 码流媒体内容分配合适的播放码率, 或者, 媒体控制器可以通过部分调整 自适应码流媒体内容的数据报文的 QoS等级, 来调整自适应码流媒体内容 的播放码率, 从而可以实现公平播放, 提高用户体验。  In this embodiment, the media controller may obtain a play rate of the adaptive code stream media content played by each media player, and when a part of the media player plays the adaptive code stream media content, the play rate is lower than the corresponding The media controller can adjust the play rate of the adaptive code stream media content played by the plurality of media players. Specifically, the media controller can describe the information according to the total bandwidth and the adaptive code stream media content. And assigning an appropriate play rate to the adaptive stream media content played by each media player, or the media controller may adjust the adaptive code by partially adjusting the QoS level of the data message of the adaptive code stream media content. The playback rate of the streaming media content enables fair play and improves the user experience.
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到 本发明可以用硬件实现, 或固件实现, 或它们的组合方式来实现。 当使用 软件实现时, 可以将上述功能存储在计算机可读介质中或作为计算机可读 介质上的一个或多个指令或代码进行传输。 计算机可读介质包括计算机存 储介质和通信介质, 其中通信介质包括便于从一个地方向另一个地方传送 计算机程序的任何介质。 存储介质可以是计算机能够存取的任何可用介质。 以此为例但不限于: 计算机可读介质可以包括 RAM, ROM, EEPROM、 CD-ROM或其他光盘存储、 磁盘存储介质或者其他磁存储设备、 或者能够 用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算 机存取的任何其他介质。 此外, 任何连接可以适当的成为计算机可读介质。 例如, 如果软件是使用同轴电缆、 光纤光缆、 双绞线、 数字用户线(DSL ) 或者诸如红外线、 无线电和微波之类的无线技术从网站、 服务器或者其他 远程源传输的, 那么同轴电缆、 光纤光缆、 双绞线、 DSL或者诸如红外线、 无线电和微波之类的无线技术包括在所属介质的定影中。 如本发明所使用 的, 盘 (disk )和碟(disc ) 包括压缩光碟( CD )、 激光碟、 光碟、 数字通 用光碟(DVD )、 软盘和蓝光光碟, 其中盘通常磁性的复制数据, 而碟则用 激光来光学的复制数据。 上面的组合也应当包括在计算机可读介质的保护 范围之内。 Through the description of the above embodiments, it will be apparent to those skilled in the art that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable medium including computer storage Storage medium and communication medium, wherein the communication medium includes any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. By way of example and not limitation, computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure. The desired program code and any other medium that can be accessed by the computer. In addition, any connection may suitably be a computer readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the fixing of the associated media. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disc, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明 的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  In conclusion, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求 Rights request
1、 一种播放多个自适应码流媒体内容的方法, 其特征在于, 包括: 分别获取 N个媒体播放器中每个媒体播放器播放的自适应码流媒体内 容的播放码率, N > 2; 1. A method for playing multiple adaptive code streaming media contents, characterized by: obtaining the playback code rate of the adaptive code streaming media content played by each of N media players, N > 2;
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容 的播放码率, M1 K N; 其中, 每个媒体播放器播放的自适应码流媒体内 容所对应的第一码率门限值是根据每个媒体播放器的设备能力信息和每个 媒体播放器播放的自适应码流媒体内容的描述信息得到的。 If the playback code rates of the M1 adaptive code streaming media contents are lower than their corresponding first code rate thresholds, and M1 < N, then adjust the playback of the adaptive code streaming media content played by K media players Code rate, M1 K N; Among them, the first code rate threshold value corresponding to the adaptive code streaming media content played by each media player is based on the device capability information of each media player and the data played by each media player. The description information of the adaptive code streaming media content is obtained.
2、 根据权利要求 1所述的方法, 其特征在于, 所述若 Ml个所述自适 应码流媒体内容的播放码率低于各自对应的第一码率门限值, 且 M 1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容的播放码率, 包括: 若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则根据用于播放所述 N个自适应码流媒体内容的总 带宽和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放 的自适应码流媒体内容分配对应的播放码率; 2. The method according to claim 1, characterized in that if the playback code rates of the M1 adaptive code streaming media contents are lower than their corresponding first code rate thresholds, and M 1 < N , then adjust the playback code rate of the adaptive code streaming media content played by K media players, including: If the playback code rate of the Ml adaptive code streaming media content is lower than the corresponding first code rate threshold , and M1 < N, then according to the total bandwidth used to play the N adaptive code stream media content and the description information of each adaptive code stream media content, is the adaptive code played by the K media players The playback bit rate corresponding to the distribution of streaming media content;
根据为所述 K个媒体播放器播放的自适应码流媒体内容分配的播放码 率, 向媒体服务器发送码率调整命令, 以使所述媒体服务器向所述 K个媒 体播放器发送码率为被分配的传输码率的自适应码流媒体内容。 Send a code rate adjustment command to the media server according to the playback code rate assigned to the adaptive code streaming media content played by the K media players, so that the media server sends the code rate to the K media players. The allocated transmission bit rate for adaptive code streaming of media content.
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据用于播放所述 N个自适应码流媒体内容的总带宽和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放的自适应码流媒体内容分配对应的播放码率 时, 按照以下规则分配播放码率: 3. The method according to claim 2, characterized in that, based on the total bandwidth used to play the N adaptive code streaming media contents and the description information of each adaptive code streaming media content, When allocating corresponding playback bitrates to the adaptive streaming media content played by K media players, the playback bitrates are allocated according to the following rules:
分配后的 N个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 N个自适应码流媒体内容的总带宽; 若所述 N个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 N个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体 内容的总带宽, 则分配后的所述 N个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值; The sum of the transmission bit rates of the allocated adaptive code streaming media content played by the N media players is less than or equal to the total bandwidth used to play the N adaptive code streaming media content; If the sum of the first code rate threshold values of the adaptive code streaming media content played by the N media players is less than or equal to the total bandwidth used to play the adaptive code streaming media content, then the allocated The playback code rates of the adaptive code streaming media content played by the N media players are respectively greater than or equal to the corresponding first code rate threshold; if the first code rate of the adaptive code streaming media content played by the N media players If the sum of the code rate thresholds is greater than the total bandwidth used to play the N adaptive code stream media content, then the allocated playback code rate of the adaptive code stream media content played by the N media players are respectively greater than or equal to the corresponding second code rate threshold;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。 The second code rate threshold value corresponding to the adaptive code stream media content played by each media player is obtained based on the device capability information of each media player and the description information of each adaptive code stream media content; each The first code rate threshold value corresponding to the adaptive code streaming media content played by the media player is greater than the second code rate threshold value.
4、 根据权利要求 1所述的方法, 其特征在于, 所述若 Ml个所述自适 应码流媒体内容的播放码率低于各自对应的第一码率门限值, 且 M 1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容的播放码率, 包括: 若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则请求媒体服务器提高所述 Ml个自适应码流媒体 内容对应的数据报文的服务质量等级,以使得所述 Ml个播放码率低于对应 的第一码率门限值的自适应码流媒体内容对应的数据报文被优先发送到对 应的媒体播放器中, 并使得所述 K个自适应码流媒体内容的播放码率被调 整; 其中, N=2, K=2。 4. The method according to claim 1, characterized in that if the playback code rates of the M1 adaptive code streaming media contents are lower than their corresponding first code rate thresholds, and M 1 < N , then adjust the playback code rate of the adaptive code streaming media content played by K media players, including: If the playback code rate of the Ml adaptive code streaming media content is lower than the corresponding first code rate threshold , and M1 < N, then the media server is requested to improve the service quality level of the data packets corresponding to the M1 adaptive code stream media contents, so that the M1 playback code rates are lower than the corresponding first code rate threshold The data packet corresponding to the adaptive code stream media content of the value is sent to the corresponding media player first, and the playback code rate of the K adaptive code stream media content is adjusted; where, N=2, K =2.
5、 根据权利要求 4所述的方法, 其特征在于, 所述请求媒体服务器提 高所述 Ml 个播放码率低于对应的第一码率门限值的自适应码流媒体内容 对应的数据报文的服务质量等级之后, 所述方法还包括: 5. The method according to claim 4, wherein the request media server increases the datagrams corresponding to the M1 adaptive code stream media contents whose playback code rates are lower than the corresponding first code rate threshold. After determining the service quality level of the document, the method further includes:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 一码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应 码流媒体内容对应的数据报文的服务质量等级; 或者 若 N个所述自适应码流媒体内容对应的第一码率门限值之和大于所述 用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量 等级的自适应码流媒体内容的播放码率调整至等于对应的第一码率门限值 时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内容 对应的数据报文的服务质量等级。 If the playback code rate of each adaptive code stream media content is greater than or equal to the corresponding first code rate threshold, the media server is requested to restore the code corresponding to the adaptive code stream media content with an improved service quality level. Quality of service level of data packets; or If the sum of the first code rate threshold values corresponding to the N adaptive code streaming media contents is greater than the total bandwidth used to play the N adaptive code streaming media contents, then the service quality level is not improved. When the playback code rate of the adaptive code streaming media content is adjusted to be equal to the corresponding first code rate threshold value, request the media server to restore the service of the data packet corresponding to the adaptive code streaming media content with an improved service quality level. quality level.
6、 根据权利要求 1所述的方法, 其特征在于, 还包括: 6. The method according to claim 1, further comprising:
若 N个所述自适应码流媒体内容的播放码率均低于各自对应的第一码 率门限值, 则判断每个所述自适应码流媒体内容的播放码率是否低于各自 对应的第二码率门限值; 每个媒体播放器播放的自适应码流媒体内容所对 应的第二码率门限值是根据每个媒体播放器的设备能力信息和每个自适应 码流媒体内容的描述信息得到的; 每个媒体播放器播放的自适应码流媒体 内容所对应的第一码率门限值大于第二码率门限值; If the playback code rates of the N adaptive code streaming media contents are all lower than their corresponding first code rate thresholds, then determine whether the playback code rate of each of the adaptive code streaming media contents is lower than their respective corresponding first code rate thresholds. The second code rate threshold value; the second code rate threshold value corresponding to the adaptive code stream media content played by each media player is based on the device capability information of each media player and each adaptive code stream The description information of the media content is obtained; the first code rate threshold corresponding to the adaptive code stream media content played by each media player is greater than the second code rate threshold;
若 M2 个所述自适应码流媒体内容的播放码率低于各自对应的第二码 率门限值, 且 M2 < N, 则请求媒体服务器提高所述 M2个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级, 以使得所述播放码率低于对应的第二码率门限值的自适应码流媒体内 容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 N个自 适应码流媒体内容的播放码率被调整; 其中, N=2。 If the playback code rate of the M2 adaptive code streaming media contents is lower than the corresponding second code rate threshold, and M2 < N, then the media server is requested to increase the playback code rate of the M2 pieces below the corresponding second code rate threshold. The service quality level of the data packet corresponding to the adaptive code streaming media content with the second code rate threshold value, so that the playback code rate is lower than the corresponding data packet quality level corresponding to the adaptive code streaming media content with the corresponding second code rate threshold value. The data packet is sent to the corresponding media player with priority, and the playback code rate of the N adaptive code stream media content is adjusted; where, N=2.
7、 根据权利要求 6所述的方法, 其特征在于, 所述请求媒体服务器提 高所述 M2 个播放码率低于对应的第二码率门限值的自适应码流媒体内容 对应的数据报文的服务质量等级之后, 所述方法还包括: 7. The method according to claim 6, wherein the request media server increases the datagrams corresponding to the M2 adaptive code stream media contents whose playback code rates are lower than the corresponding second code rate threshold. After determining the service quality level of the document, the method further includes:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 二码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应 码流媒体内容对应的数据报文的服务质量等级; 或者 If the playback code rate of each adaptive code stream media content is greater than or equal to the corresponding second code rate threshold, the media server is requested to restore the code corresponding to the adaptive code stream media content with an improved service quality level. Quality of service level of data packets; or
若 N个所述自适应码流媒体内容对应的第二码率门限值之和大于所述 用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量 等级的自适应码流媒体内容的播放码率调整至等于对应的第二码率门限值 时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内容 对应的数据报文的服务质量等级。 If the sum of the second code rate threshold values corresponding to the N adaptive code streaming media contents is greater than the total bandwidth used to play the N adaptive code streaming media contents, then the service quality is not improved. When the playback code rate of the adaptive code streaming media content of the level is adjusted to be equal to the corresponding second code rate threshold value, the media server is requested to restore the data packet corresponding to the adaptive code streaming media content with an improved service quality level. Service quality level.
8、 一种媒体控制器, 其特征在于, 包括: 8. A media controller, characterized by including:
信息获取单元, 用于分别获取 N个媒体播放器中每个媒体播放器播放 的自适应码流媒体内容的播放码率, N > 2; The information acquisition unit is used to obtain the playback code rate of the adaptive code streaming media content played by each of the N media players, N > 2;
调整单元,用于若 Ml个所述自适应码流媒体内容的播放码率低于各自 对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应 码流媒体内容的播放码率, M1 K N; 其中, 每个媒体播放器播放的自适 应码流媒体内容所对应的第一码率门限值是根据每个媒体播放器的设备能 力信息和每个媒体播放器播放的自适应码流媒体内容的描述信息得到的。 Adjustment unit, used to adjust the adaptive codes played by K media players if the playback code rates of the M1 adaptive code streaming media contents are lower than their corresponding first code rate thresholds, and M1 < N The playback code rate of streaming media content, M1 K N; where, the first code rate threshold value corresponding to the adaptive code streaming media content played by each media player is based on the device capability information of each media player and each The description information of the adaptive code streaming media content played by the media player is obtained.
9、 根据权利要求 8所述的媒体控制器, 其特征在于, 所述调整单元包 括: 码率分配模块和调整触发模块, 和 /或, 第一请求模块; 9. The media controller according to claim 8, wherein the adjustment unit includes: a code rate allocation module and an adjustment trigger module, and/or a first request module;
所述码率分配模块,用于若 Ml个所述自适应码流媒体内容的播放码率 低于各自对应的第一码率门限值, 且 M1 < N, 则根据用于播放所述 N个自 适应码流媒体内容的总带宽和每个自适应码流媒体内容的描述信息, 为所 述 K个媒体播放器播放的自适应码流媒体内容分配对应的播放码率; The code rate allocation module is used to play the N according to The total bandwidth of the adaptive code streaming media content and the description information of each adaptive code streaming media content, and assign a corresponding playback code rate to the adaptive code streaming media content played by the K media players;
所述调整触发模块, 用于根据所述码率分配模块为所述 K个媒体播放 器播放的自适应码流媒体内容分配的播放码率, 向媒体服务器发送码率调 整命令, 以使所述媒体服务器向所述 K个媒体播放器发送码率为被分配的 传输码率的自适应码流媒体内容; The adjustment trigger module is configured to send a code rate adjustment command to the media server according to the playback code rate allocated by the code rate allocation module to the adaptive code streaming media content played by the K media players, so that the The media server sends adaptive code streaming media content with a code rate of an allocated transmission code rate to the K media players;
所述第一请求模块,用于若 Ml个所述自适应码流媒体内容的播放码率 低于各自对应的第一码率门限值, 且 M1 < N, 则请求媒体服务器提高所述 The first request module is used to request the media server to increase the playback code rate of the M1 adaptive code streaming media content if it is lower than the corresponding first code rate threshold value, and M1 < N.
Ml 个自适应码流媒体内容对应的数据报文的服务质量等级, 以使得所述The service quality level of the data packets corresponding to the Ml adaptive code stream media content, so that the
M 1 个播放码率低于对应的第一码率门限值的自适应码流媒体内容对应的 数据报文被优先发送到对应的媒体播放器中, 并使得所述 K个自适应码流 媒体内容的播放码率被调整; 其中, N=2, K=2。 Data packets corresponding to M 1 adaptive code stream media contents whose playback code rates are lower than the corresponding first code rate threshold are sent to the corresponding media players with priority, and the K adaptive code streams are The playback bit rate of the media content is adjusted; where, N=2, K=2.
10、 根据权利要求 9所述的媒体控制器, 其特征在于, 所述码率分配 模块在根据播放所述 Ν个自适应码流媒体内容的总带宽和每个自适应码流 媒体内容的描述信息, 为所述 Κ个媒体播放器播放的自适应码流媒体内容 分配对应的播放码率时, 按照以下规则分配播放码率: 10. The media controller according to claim 9, wherein the code rate allocation module determines the total bandwidth for playing the N adaptive code stream media contents and the description of each adaptive code stream media content. Information, when allocating the corresponding playback code rate for the adaptive code streaming media content played by the K media players, the playback code rate is allocated according to the following rules:
分配后的 Ν个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 Ν个自适应码流媒体内容的总带宽; The sum of the transmission bit rates of the allocated adaptive code streaming media content played by the N media players is less than or equal to the total bandwidth used to play the N adaptive code streaming media content;
若所述 Ν个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 Ν个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 Ν个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 Ν个自适应码流媒体 内容的总带宽, 则分配后的所述 Ν个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值; If the sum of the first code rate threshold values of the adaptive code streaming media content played by the N media players is less than or equal to the total bandwidth used to play the adaptive code streaming media content, then the allocated The playback code rates of the adaptive code streaming media content played by the N media players are respectively greater than or equal to the corresponding first code rate threshold; if the first code rate of the adaptive code streaming media content played by the N media players is If the sum of the code rate thresholds is greater than the total bandwidth used to play the N adaptive code streaming media content, then the allocated playback code rate of the adaptive code streaming media content played by the N media players are respectively greater than or equal to the corresponding second code rate threshold;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。 The second code rate threshold value corresponding to the adaptive code stream media content played by each media player is obtained based on the device capability information of each media player and the description information of each adaptive code stream media content; each The first code rate threshold value corresponding to the adaptive code streaming media content played by the media player is greater than the second code rate threshold value.
11、 根据权利要求 8所述的媒体控制器, 其特征在于, 还包括: 判断 模块和第二请求模块; 11. The media controller according to claim 8, further comprising: a judgment module and a second request module;
所述判断模块, 用于若 Ν个所述自适应码流媒体内容的播放码率均低 于各自对应的第一码率门限值, 则判断每个所述自适应码流媒体内容的播 放码率是否低于各自对应的第二码率门限值; 每个媒体播放器播放的自适 应码流媒体内容所对应的第二码率门限值是根据每个媒体播放器的设备能 力信息和每个自适应码流媒体内容的描述信息得到的; 每个媒体播放器播 放的自适应码流媒体内容所对应的第一码率门限值大于第二码率门限值; 所述第二请求模块,用于若所述判断模块判断 M2个所述自适应码流媒 体内容的播放码率低于各自对应的第二码率门限值, 且 M2 < N, 则请求媒 体服务器提高所述 M2 个播放码率低于对应的第二码率门限值的自适应码 流媒体内容对应的数据报文的服务质量等级, 以使得所述播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文被优先发送到 对应的媒体播放器中, 并使得所述 N个自适应码流媒体内容的播放码率被 调整; 其中, N=2。 The determination module is configured to determine the playback rate of each adaptive code streaming media content if the playback code rate of the three adaptive code streaming media contents is lower than the corresponding first code rate threshold. Whether the code rate is lower than the corresponding second code rate threshold; the second code rate threshold corresponding to the adaptive code streaming media content played by each media player is based on the device capability information of each media player and the description information of each adaptive code stream media content; the first code rate threshold corresponding to the adaptive code stream media content played by each media player is greater than the second code rate threshold; The second request module is used to request media if the judgment module determines that the playback code rates of M2 adaptive code streaming media contents are lower than their corresponding second code rate thresholds, and M2 < N. The server improves the service quality level of the data packets corresponding to the M2 adaptive code streaming media contents whose playback code rates are lower than the corresponding second code rate threshold, so that the playback code rate is lower than the corresponding second code rate threshold. The data packets corresponding to the adaptive code stream media content with the code rate threshold value are sent to the corresponding media player with priority, and the playback code rate of the N adaptive code stream media content is adjusted; wherein, N =2.
12、 根据权利要求 9或 11所述的媒体控制器, 其特征在于, 还包括: 等级恢复单元; 所述等级恢复单元用于: 12. The media controller according to claim 9 or 11, further comprising: a level recovery unit; the level recovery unit is used for:
在所述第一请求模块请求媒体服务器提高所述 Ml 个播放码率低于对 应的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级之后, 若每个所述自适应码流媒体内容的播放码率大于或等于各自对应 的第一码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自 适应码流媒体内容对应的数据报文的服务质量等级; 或者 After the first request module requests the media server to improve the service quality level of the data packets corresponding to the M1 adaptive code stream media content whose playback code rate is lower than the corresponding first code rate threshold, if each If the playback code rate of the adaptive code streaming media content is greater than or equal to the corresponding first code rate threshold, the media server is requested to restore the data message corresponding to the adaptive code streaming media content with an improved service quality level. service quality level; or
在所述第一请求模块请求媒体服务器提高所述 Ml 个播放码率低于对 应的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级之后, 若 N个所述自适应码流媒体内容对应的第一码率门限值之和大于 所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务 质量等级的自适应码流媒体内容的播放码率调整至等于对应的第一码率门 限值时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体 内容对应的数据报文的服务质量等级; 或者 After the first request module requests the media server to improve the service quality level of the data packets corresponding to the M1 adaptive code stream media content whose playback code rate is lower than the corresponding first code rate threshold, if N If the sum of the first code rate threshold values corresponding to the adaptive code stream media content is greater than the total bandwidth used to play the N adaptive code stream media content, then the adaptive code stream without improving the service quality level When the playback code rate of the code stream media content is adjusted to be equal to the corresponding first code rate threshold value, request the media server to restore the service quality level of the data packet corresponding to the adaptive code stream media content whose service quality level is improved; or
在所述第二请求模块请求媒体服务器提高所述 M2 个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级之后, 若每个所述自适应码流媒体内容的播放码率大于或等于各自对应 的第二码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自 适应码流媒体内容对应的数据报文的服务质量等级; 或者 在所述第二请求模块请求媒体服务器提高所述 M2 个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级之后, 若 N个所述自适应码流媒体内容对应的第二码率门限值之和大于 所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务 质量等级的自适应码流媒体内容的播放码率调整至等于对应的第二码率门 限值时, 请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体 内容对应的数据报文的服务质量等级。 After the second request module requests the media server to increase the service quality level of the data packets corresponding to the M2 adaptive code stream media content whose playback code rate is lower than the corresponding second code rate threshold, if each If the playback code rate of the adaptive code streaming media content is greater than or equal to the corresponding second code rate threshold, the media server is requested to restore the data message corresponding to the adaptive code streaming media content with an improved service quality level. service quality level; or After the second request module requests the media server to improve the service quality level of the data packets corresponding to the M2 adaptive code stream media content whose playback code rate is lower than the corresponding second code rate threshold, if N If the sum of the second code rate threshold values corresponding to the adaptive code stream media content is greater than the total bandwidth used to play the N adaptive code stream media content, then the adaptive code stream without improving the service quality level When the playback code rate of the stream media content is adjusted to be equal to the corresponding second code rate threshold, the media server is requested to restore the service quality level of the data packet corresponding to the adaptive code stream media content whose service quality level has been improved.
13、 一种网络媒体系统, 其特征在于, 包括: 媒体服务器、 媒体控制 器和 N个媒体播放器, N > 2; 13. A network media system, characterized by including: a media server, a media controller and N media players, N > 2;
所述媒体播放器, 用于从所述媒体服务器获取自适应码流媒体内容, 并播放获取的自适应码流媒体内容; The media player is used to obtain adaptive code streaming media content from the media server, and play the obtained adaptive code streaming media content;
所述媒体服务器, 用于存储自适应码流媒体内容, 并向所述媒体播放 器提供自适应码流媒体内容和自适应码流媒体内容的描述信息; The media server is configured to store adaptive code streaming media content and provide adaptive code streaming media content and description information of the adaptive code streaming media content to the media player;
所述媒体控制器, 用于分别获取 N个媒体播放器中每个媒体播放器播 放的自适应码流媒体内容的播放码率;若 Ml个所述自适应码流媒体内容的 播放码率低于各自对应的第一码率门限值, 且 M1 < N, 则调整 K个媒体播 放器播放的自适应码流媒体内容的播放码率, Ml K N; The media controller is used to respectively obtain the playback code rate of the adaptive code streaming media content played by each of the N media players; if the playback code rate of the M1 adaptive code streaming media content is low Based on the corresponding first bit rate threshold value, and M1 < N, then adjust the playback bit rate of the adaptive code streaming media content played by K media players, Ml K N;
所述媒体播放器, 还用于根据媒体播放器的设备能力信息和媒体播放 器播放的自适应码流媒体内容的描述信息, 得到媒体播放器播放的自适应 码流媒体内容所对应的第一码率门限值。 The media player is also used to obtain the first code corresponding to the adaptive code stream media content played by the media player based on the device capability information of the media player and the description information of the adaptive code stream media content played by the media player. Code rate threshold.
14、 根据权利要求 13所述的网络媒体系统, 其特征在于, 所述媒体控 制器在调整 K个媒体播放器播放的自适应码流媒体内容的播放码率时, 具 体用于: 14. The network media system according to claim 13, characterized in that when the media controller adjusts the playback code rate of the adaptive streaming media content played by K media players, it is specifically used to:
所述媒体控制器根据用于播放所述 N个自适应码流媒体内容的总带宽 和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放的自 适应码流媒体内容分配对应的播放码率; 根据为所述 K个媒体播放器播放的自适应码流媒体内容分配的播放码 率, 向所述媒体服务器发送码率调整命令, 以使所述媒体服务器向所述 Κ 个媒体播放器发送码率为被分配的传输码率的自适应码流媒体内容。 The media controller determines the adaptive code stream media played by the K media players based on the total bandwidth used to play the N adaptive code stream media contents and the description information of each adaptive code stream media content. Playback code rate corresponding to content distribution; According to the playback code rate allocated for the adaptive code streaming media content played by the K media players, a code rate adjustment command is sent to the media server, so that the media server sends a code rate to the K media players. The rate is the adaptive code streaming media content at the assigned transmission bit rate.
15、 根据权利要求 14所述的网络媒体系统, 其特征在于: 15. The network media system according to claim 14, characterized in that:
所述媒体控制器根据用于播放所述 Ν个自适应码流媒体内容的总带宽 和每个自适应码流媒体内容的描述信息, 为所述 Κ个媒体播放器播放的自 适应码流媒体内容分配对应的播放码率时, 按照以下规则分配播放码率: 分配后的 Ν个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 Ν个自适应码流媒体内容的总带宽; The media controller determines the adaptive code stream media played by the K media players based on the total bandwidth used to play the N adaptive code stream media content and the description information of each adaptive code stream media content. When the corresponding playback code rate is allocated to the content, the playback code rate is allocated according to the following rules: The sum of the transmission code rates of the adaptive code streaming media content played by the N media players after the allocation is less than or equal to the one used to play the N The total bandwidth of adaptive code streaming media content;
若所述 Ν个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 Ν个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 Ν个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 Ν个自适应码流媒体 内容的总带宽, 则分配后的所述 Ν个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值; If the sum of the first code rate threshold values of the adaptive code streaming media content played by the N media players is less than or equal to the total bandwidth used to play the adaptive code streaming media content, then the allocated The playback code rates of the adaptive code streaming media content played by the N media players are respectively greater than or equal to the corresponding first code rate threshold; if the first code rate of the adaptive code streaming media content played by the N media players is If the sum of the code rate thresholds is greater than the total bandwidth used to play the N adaptive code streaming media content, then the allocated playback code rate of the adaptive code streaming media content played by the N media players are respectively greater than or equal to the corresponding second code rate threshold;
所述媒体播放器, 还用于根据媒体播放器的设备能力信息和每个自适 应码流媒体内容的描述信息得到媒体播放器播放的自适应码流媒体内容所 对应的第二码率门限值; 每个媒体播放器播放的自适应码流媒体内容所对 应的第一码率门限值大于第二码率门限值。 The media player is also configured to obtain the second code rate threshold corresponding to the adaptive code stream media content played by the media player based on the device capability information of the media player and the description information of each adaptive code stream media content. value; the first bit rate threshold value corresponding to the adaptive code streaming media content played by each media player is greater than the second bit rate threshold value.
16、 根据权利要求 13所述的网络媒体系统, 其特征在于, 所述媒体控 制器在调整 Κ个媒体播放器播放的自适应码流媒体内容的播放码率时, 具 体用于: 16. The network media system according to claim 13, characterized in that when the media controller adjusts the playback code rate of the adaptive streaming media content played by K media players, it is specifically used to:
若 Ml < Ν, 则所述媒体控制器请求所述媒体服务器提高所述 Ml个播 放码率低于对应的第一码率门限值的自适应码流媒体内容对应的数据报文 的服务质量等级,以使得所述 Ml个播放码率低于对应的第一码率门限值的 自适应码流媒体内容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 K个自适应码流媒体内容的播放码率被调整;其中, N=2, K=2; If M1 < N, then the media controller requests the media server to improve the service quality of the data packets corresponding to the M1 adaptive code stream media content whose playback code rate is lower than the corresponding first code rate threshold. level, so that the M1 playback code rates are lower than the corresponding first code rate threshold The data packets corresponding to the adaptive code streaming media content are sent to the corresponding media player first, and the playback code rate of the K adaptive code streaming media content is adjusted; where, N=2, K=2 ;
若 Ml = Ν, 则所述媒体控制器判断每个所述自适应码流媒体内容的播 放码率是否低于各自对应的第二码率门限值;若 Μ2个所述自适应码流媒体 内容的播放码率低于各自对应的第二码率门限值, 且 Μ2 < Ν, 则请求所述 媒体服务器提高所述 Μ2 个播放码率低于对应的第二码率门限值的自适应 码流媒体内容对应的数据报文的服务质量等级, 以使得所述播放码率低于 对应的第二码率门限值的自适应码流媒体内容对应的数据报文被优先发送 到对应的媒体播放器中, 并使得所述 Ν个自适应码流媒体内容的播放码率 被调整; 其中, Ν=2; If M1 = N, then the media controller determines whether the playback code rate of each adaptive code streaming media content is lower than the respective corresponding second code rate threshold; if M2 of the adaptive code streaming media If the playback code rate of the content is lower than the corresponding second code rate threshold, and M2 < N, then the media server is requested to increase the M2 automatic playback code rate that is lower than the corresponding second code rate threshold. Adapt the service quality level of the data packets corresponding to the code stream media content, so that the data packets corresponding to the adaptive code stream media content whose playback code rate is lower than the corresponding second code rate threshold are preferentially sent to the corresponding In the media player, and the playback code rate of the N adaptive code stream media content is adjusted; wherein, N=2;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。 The second code rate threshold value corresponding to the adaptive code stream media content played by each media player is obtained based on the device capability information of each media player and the description information of each adaptive code stream media content; each The first code rate threshold value corresponding to the adaptive code streaming media content played by the media player is greater than the second code rate threshold value.
17、 根据权利要求 16所述的网络媒体系统, 其特征在于: 17. The network media system according to claim 16, characterized in that:
所述媒体控制器在请求所述媒体服务器提高所述 Ml 个播放码率低于 对应的第一码率门限值的自适应码流媒体内容对应的数据报文的服务质量 等级之后, 还用于: After requesting the media server to improve the service quality level of the data packets corresponding to the M1 adaptive code stream media content whose playback code rates are lower than the corresponding first code rate threshold, the media controller also uses At:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 一码率门限值, 则所述媒体控制器请求所述媒体服务器恢复被提高服务质 量等级的自适应码流媒体内容对应的数据报文的服务质量等级;或者,若 N 个所述自适应码流媒体内容对应的第一码率门限值之和大于所述用于播放 所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自 适应码流媒体内容的播放码率调整至等于对应的第一码率门限值时, 请求 所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数 据报文的服务质量等级; 所述媒体控制器在请求所述媒体服务器提高所述 M2 个播放码率低于 对应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量 等级之后, 还用于: If the playback code rate of each adaptive code streaming media content is greater than or equal to the corresponding first code rate threshold, the media controller requests the media server to restore the adaptive code with an improved service quality level. The service quality level of the data packet corresponding to the streaming media content; or, if the sum of the first code rate thresholds corresponding to the N adaptive code streaming media content is greater than the first code rate threshold used for playing the N adaptive code The total bandwidth of the streaming media content, then when the playback code rate of the adaptive code streaming media content whose service quality level has not been improved is adjusted to equal the corresponding first code rate threshold, the media server is requested to resume the improved service quality The service quality level of the data packet corresponding to the level of adaptive code streaming media content; After requesting the media server to improve the service quality level of the data packets corresponding to the M2 adaptive code stream media content whose playback code rates are lower than the corresponding second code rate threshold, the media controller also uses At:
若每个所述自适应码流媒体内容的播放码率大于或等于各自对应的第 二码率门限值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应 码流媒体内容对应的数据报文的服务质量等级; 或者, 若 N个所述自适应 码流媒体内容对应的第二码率门限值之和大于所述用于播放所述 N个自适 应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应码流媒体 内容的播放码率调整至等于对应的第二码率门限值时, 请求所述媒体服务 器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报文的服务 质量等级。 If the playback code rate of each adaptive code stream media content is greater than or equal to the corresponding second code rate threshold, the media server is requested to restore the code corresponding to the adaptive code stream media content with an improved service quality level. The service quality level of the data packet; or, if the sum of the second code rate thresholds corresponding to the N adaptive code streaming media contents is greater than the total code rate used to play the N adaptive code streaming media contents. bandwidth, then when the playback code rate of the adaptive code streaming media content that has not improved the service quality level is adjusted to equal the corresponding second code rate threshold value, request the media server to restore the adaptive code that has improved the service quality level. The service quality level of the data packet corresponding to the streaming media content.
18、 一种媒体控制器, 其特征在于, 包括: 18. A media controller, characterized by including:
一个或多个处理器; one or more processors;
存储器; memory;
一个或多个程序, 其中所述一个或多个程序存储在所述存储器中并被 配置为由所述一个或多个处理器执行, 所述一个或多个程序包括: One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs include:
分别获取 N个媒体播放器中每个媒体播放器播放的自适应码流媒体内 容的播放码率的指令, N > 2; Obtain the instructions for the playback bit rate of the adaptive streaming media content played by each of the N media players, N > 2;
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则调整 K个媒体播放器播放的自适应码流媒体内容 的播放码率的指令, M1 K N; 其中, 每个媒体播放器播放的自适应码流 媒体内容所对应的第一码率门限值是根据每个媒体播放器的设备能力信息 和每个媒体播放器播放的自适应码流媒体内容的描述信息得到的。 If the playback code rates of the M1 adaptive code streaming media contents are lower than their corresponding first code rate thresholds, and M1 < N, then adjust the playback of the adaptive code streaming media content played by K media players Code rate instruction, M1 K N; where, the first code rate threshold value corresponding to the adaptive code streaming media content played by each media player is based on the device capability information of each media player and the The description information of the played adaptive code streaming media content is obtained.
19、 根据权利要求 18所述的媒体控制器, 其特征在于, 所述若 Ml个 所述自适应码流媒体内容的播放码率低于各自对应的第一码率门限值, 且 Ml < N, 则调整 K个媒体播放器播放的自适应码流媒体内容的播放码率的 指令, 包括: 19. The media controller according to claim 18, wherein if the playback code rates of the M1 adaptive code streaming media contents are lower than their corresponding first code rate thresholds, and M1 < N, then adjust the playback code rate of the adaptive code streaming media content played by K media players. Instructions, including:
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则根据用于播放所述 N个自适应码流媒体内容的总 带宽和每个自适应码流媒体内容的描述信息, 为所述 K个媒体播放器播放 的自适应码流媒体内容分配对应的播放码率的指令; If the playback code rates of the M1 adaptive code stream media contents are lower than their corresponding first code rate thresholds, and M1 < N, then according to the total code used to play the N adaptive code stream media contents Bandwidth and description information of each adaptive code streaming media content, and instructions for assigning corresponding playback code rates to the adaptive code streaming media content played by the K media players;
根据为所述 K个媒体播放器播放的自适应码流媒体内容分配的播放码 率, 向媒体服务器发送码率调整命令, 以使所述媒体服务器向所述 K个媒 体播放器发送码率为被分配的传输码率的自适应码流媒体内容的指令。 Send a code rate adjustment command to the media server according to the playback code rate assigned to the adaptive code streaming media content played by the K media players, so that the media server sends the code rate to the K media players. Instructions for adaptive code streaming of media content at the allocated transmission bit rate.
20、 根据权利要求 19所述的媒体控制器, 其特征在于, 所述根据用于 播放所述 N个自适应码流媒体内容的总带宽和每个自适应码流媒体内容的 描述信息, 为所述 K个媒体播放器播放的自适应码流媒体内容分配对应的 播放码率时, 按照以下规则分配播放码率: 20. The media controller according to claim 19, characterized in that, based on the total bandwidth used to play the N adaptive code streaming media contents and the description information of each adaptive code streaming media content, is When the adaptive code streaming media content played by the K media players is assigned a corresponding playback code rate, the playback code rate is allocated according to the following rules:
分配后的 N个媒体播放器播放的自适应码流媒体内容的传输码率之和 小于或等于所述用于播放所述 N个自适应码流媒体内容的总带宽; The sum of the transmission bit rates of the allocated adaptive code streaming media content played by the N media players is less than or equal to the total bandwidth used to play the N adaptive code streaming media content;
若所述 N个媒体播放器播放的自适应码流媒体内容的第一码率门限值 之和小于或等于所述用于播放自适应码流媒体内容的总带宽, 则分配后的 所述 N个媒体播放器播放的自适应码流媒体内容的播放码率分别大于或者 等于对应的第一码率门限值; 若所述 N个媒体播放器播放的自适应码流媒 体内容的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体 内容的总带宽, 则分配后的所述 N个媒体播放器播放的自适应码流媒体内 容的播放码率分别大于或者等于对应的第二码率门限值; If the sum of the first code rate threshold values of the adaptive code streaming media content played by the N media players is less than or equal to the total bandwidth used to play the adaptive code streaming media content, then the allocated The playback code rates of the adaptive code streaming media content played by the N media players are respectively greater than or equal to the corresponding first code rate threshold; if the first code rate of the adaptive code streaming media content played by the N media players If the sum of the code rate thresholds is greater than the total bandwidth used to play the N adaptive code stream media content, then the allocated playback code rate of the adaptive code stream media content played by the N media players respectively greater than or equal to the corresponding second code rate threshold;
每个媒体播放器播放的自适应码流媒体内容所对应的第二码率门限值 是根据每个媒体播放器的设备能力信息和每个自适应码流媒体内容的描述 信息得到的; 每个媒体播放器播放的自适应码流媒体内容所对应的第一码 率门限值大于第二码率门限值。 The second code rate threshold value corresponding to the adaptive code stream media content played by each media player is obtained based on the device capability information of each media player and the description information of each adaptive code stream media content; each The first code rate threshold value corresponding to the adaptive code streaming media content played by the media player is greater than the second code rate threshold value.
21、 根据权利要求 18所述的媒体控制器, 其特征在于, 所述若 Ml个 所述自适应码流媒体内容的播放码率低于各自对应的第一码率门限值, 且 21. The media controller according to claim 18, characterized in that, the M1 The playback code rate of the adaptive code streaming media content is lower than the corresponding first code rate threshold, and
Ml < N, 则调整 K个媒体播放器播放的自适应码流媒体内容的播放码率的 指令, 包括: Ml < N, then the instructions for adjusting the playback bit rate of adaptive streaming media content played by K media players include:
若 Ml 个所述自适应码流媒体内容的播放码率低于各自对应的第一码 率门限值, 且 M1 < N, 则请求媒体服务器提高所述 Ml个自适应码流媒体 内容对应的数据报文的服务质量等级,以使得所述 Ml个播放码率低于对应 的第一码率门限值的自适应码流媒体内容对应的数据报文被优先发送到对 应的媒体播放器中, 并使得所述 K个自适应码流媒体内容的播放码率被调 整的指令; 其中, N=2, K=2。 If the playback code rates of the M1 adaptive code stream media contents are lower than their corresponding first code rate thresholds, and M1 < N, then the media server is requested to increase the playback code rate corresponding to the M1 adaptive code stream media contents. The service quality level of the data packets is such that the data packets corresponding to the M1 adaptive code stream media contents whose playback code rates are lower than the corresponding first code rate threshold are sent to the corresponding media player with priority , and an instruction to adjust the playback code rate of the K adaptive code streaming media contents; where, N=2, K=2.
22、 根据权利要求 21所述的媒体控制器, 其特征在于, 所述一个或多 个程序还包括: 22. The media controller according to claim 21, wherein the one or more programs further include:
在请求媒体服务器提高所述 Ml 个播放码率低于对应的第一码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若每个所 述自适应码流媒体内容的播放码率大于或等于各自对应的第一码率门限 值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内 容对应的数据报文的服务质量等级的质量; 或者 After requesting the media server to improve the service quality level of the data packets corresponding to the media content of the M1 adaptive code streams whose playback code rates are lower than the corresponding first code rate threshold, if each of the adaptive code streams If the playback code rate of the media content is greater than or equal to the corresponding first code rate threshold, the media server is requested to restore the quality of the service quality level of the data packet corresponding to the adaptive code stream media content whose service quality level is improved. ; or
在请求媒体服务器提高所述 Ml 个播放码率低于对应的第一码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若 N个所 述自适应码流媒体内容对应的第一码率门限值之和大于所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应 码流媒体内容的播放码率调整至等于对应的第一码率门限值时, 请求所述 媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报 文的服务质量等级的指令。 After requesting the media server to improve the service quality level of the data packets corresponding to the media content of the M1 adaptive code streams whose playback code rates are lower than the corresponding first code rate threshold, if the N adaptive code streams If the sum of the first code rate threshold values corresponding to the media content is greater than the total bandwidth used to play the N adaptive code stream media contents, then the playback of the adaptive code stream media content without improving the service quality level When the code rate is adjusted to be equal to the corresponding first code rate threshold, the media server is requested to restore the service quality level of the data packet corresponding to the adaptive code stream media content whose service quality level is improved.
23、 根据权利要求 18所述的媒体控制器, 其特征在于, 所述一个或多 个程序还包括: 23. The media controller according to claim 18, characterized in that the one or more programs further include:
若 N个所述自适应码流媒体内容的播放码率均低于各自对应的第一码 率门限值, 则判断每个所述自适应码流媒体内容的播放码率是否低于各自 对应的第二码率门限值的指令; 每个媒体播放器播放的自适应码流媒体内 容所对应的第二码率门限值是根据每个媒体播放器的设备能力信息和每个 自适应码流媒体内容的描述信息得到的; 每个媒体播放器播放的自适应码 流媒体内容所对应的第一码率门限值大于第二码率门限值; If the playback code rate of the N adaptive code streaming media contents is lower than the corresponding first code rate threshold, then determine whether the playback code rate of each adaptive code streaming media content is lower than the corresponding second code rate threshold; the adaptive code streaming media content played by each media player The corresponding second code rate threshold is obtained based on the device capability information of each media player and the description information of each adaptive code stream media content; the adaptive code stream media content played by each media player is The corresponding first code rate threshold is greater than the second code rate threshold;
若 M2 个所述自适应码流媒体内容的播放码率低于各自对应的第二码 率门限值, 且 M2 < N, 则请求媒体服务器提高所述 M2个播放码率低于对 应的第二码率门限值的自适应码流媒体内容对应的数据报文的服务质量等 级, 以使得所述播放码率低于对应的第二码率门限值的自适应码流媒体内 容对应的数据报文被优先发送到对应的媒体播放器中, 并使得所述 N个自 适应码流媒体内容的播放码率被调整的指令; 其中, N=2。 If the playback code rate of the M2 adaptive code streaming media contents is lower than the corresponding second code rate threshold, and M2 < N, then the media server is requested to increase the playback code rate of the M2 pieces below the corresponding second code rate threshold. The service quality level of the data packet corresponding to the adaptive code streaming media content with the second code rate threshold value, so that the playback code rate is lower than the corresponding data packet quality level corresponding to the adaptive code streaming media content with the corresponding second code rate threshold value. The data packet is sent to the corresponding media player with priority, and the instruction for adjusting the playback code rate of the N adaptive code streaming media content is provided; wherein, N=2.
24、 根据权利要求 23所述的媒体控制器, 其特征在于, 所述一个或多 个程序还包括: 24. The media controller according to claim 23, wherein the one or more programs further include:
在请求媒体服务器提高所述 M2 个播放码率低于对应的第二码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若每个所 述自适应码流媒体内容的播放码率大于或等于各自对应的第二码率门限 值, 则请求所述媒体服务器恢复被提高服务质量等级的自适应码流媒体内 容对应的数据报文的服务质量等级的指令; 或者 After requesting the media server to improve the service quality level of the data packets corresponding to the media content of the M2 adaptive code streams whose playback code rates are lower than the corresponding second code rate threshold, if each of the adaptive code streams If the playback code rate of the media content is greater than or equal to the corresponding second code rate threshold, then the media server is requested to restore the service quality level of the data packet corresponding to the adaptive code stream media content with an improved service quality level. ; or
在请求媒体服务器提高所述 M2 个播放码率低于对应的第二码率门限 值的自适应码流媒体内容对应的数据报文的服务质量等级之后, 若 N个所 述自适应码流媒体内容对应的第二码率门限值之和大于所述用于播放所述 N个自适应码流媒体内容的总带宽, 则在未被提高服务质量等级的自适应 码流媒体内容的播放码率调整至等于对应的第二码率门限值时, 请求所述 媒体服务器恢复被提高服务质量等级的自适应码流媒体内容对应的数据报 文的服务质量等级的指令。 After requesting the media server to improve the service quality level of the data packets corresponding to the M2 adaptive code streams whose playback code rates are lower than the corresponding second code rate threshold, if N adaptive code streams If the sum of the second code rate threshold values corresponding to the media content is greater than the total bandwidth used to play the N adaptive code stream media contents, then the playback of the adaptive code stream media content without improving the service quality level When the code rate is adjusted to be equal to the corresponding second code rate threshold, the media server is requested to restore the service quality level of the data packet corresponding to the adaptive code stream media content whose service quality level is improved.
PCT/CN2013/079776 2013-07-22 2013-07-22 Method, apparatus and network media system for playing multiple media contents WO2015010233A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/079776 WO2015010233A1 (en) 2013-07-22 2013-07-22 Method, apparatus and network media system for playing multiple media contents
CN201380078372.XA CN105393533B (en) 2013-07-22 2013-07-22 Play the method, apparatus and network media system of multiple media contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/079776 WO2015010233A1 (en) 2013-07-22 2013-07-22 Method, apparatus and network media system for playing multiple media contents

Publications (1)

Publication Number Publication Date
WO2015010233A1 true WO2015010233A1 (en) 2015-01-29

Family

ID=52392558

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079776 WO2015010233A1 (en) 2013-07-22 2013-07-22 Method, apparatus and network media system for playing multiple media contents

Country Status (2)

Country Link
CN (1) CN105393533B (en)
WO (1) WO2015010233A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981532A (en) * 2017-12-27 2019-07-05 中移(杭州)信息技术有限公司 A kind of transmission method and server of media file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977185A (en) * 2010-10-14 2011-02-16 杭州海康威视数字技术股份有限公司 Digital video recorder in video monitoring system and network connection control method thereof
WO2012059376A1 (en) * 2010-11-02 2012-05-10 Telefonaktiebolaget L M Ericsson (Publ) Methods and devices for media description delivery

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009051533A1 (en) * 2007-10-19 2009-04-23 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for scheduling data packets in a communication network system
JP5803306B2 (en) * 2011-06-10 2015-11-04 ソニー株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977185A (en) * 2010-10-14 2011-02-16 杭州海康威视数字技术股份有限公司 Digital video recorder in video monitoring system and network connection control method thereof
WO2012059376A1 (en) * 2010-11-02 2012-05-10 Telefonaktiebolaget L M Ericsson (Publ) Methods and devices for media description delivery

Also Published As

Publication number Publication date
CN105393533B (en) 2018-11-30
CN105393533A (en) 2016-03-09

Similar Documents

Publication Publication Date Title
US10225620B1 (en) System and method for effectuating selective ABR segment delivery for ABR bandwidth control
US20190069038A1 (en) System and method for providing fast abr startup with selective abr segment delivery
US10356149B2 (en) Adjusting encoding parameters at a mobile device based on a change in available network bandwidth
JP4558802B2 (en) Method and apparatus for adaptive buffering
EP3172864B1 (en) Management of heterogeneous client device groups
US20190028523A1 (en) Method and apparatus for improving quality of multimedia streaming service
KR101699656B1 (en) Devices, systems, and methods for managing and adjusting adaptive streaming traffic
KR101912072B1 (en) Methods for quality-aware adaptive streaming over hypertext transfer protocol
KR101922281B1 (en) Method for controlling bandwidth and corresponding device
US10848766B2 (en) Adjusting encoding frame size based on available network bandwith
US7693155B2 (en) Method and system for transmitting streaming data
US10298965B2 (en) Selection of a content source based on performance data
US20220070519A1 (en) Systems and methods for achieving optimal network bitrate
WO2013127172A1 (en) Streaming media transmitting method, device and system
EP3063918B1 (en) Method and device for reserving bandwidth for an adaptive streaming client
JP2006050604A (en) Method and apparatus for flexibly adjusting buffer amount when receiving av data depending on content attribute
KR20130005873A (en) Method and apparatus for receiving contents in broadcast system
WO2016014737A1 (en) Generating and utilizing contextual network analytics
WO2012094998A1 (en) Method, system and device for transferring streaming media
WO2015010233A1 (en) Method, apparatus and network media system for playing multiple media contents

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380078372.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13890045

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13890045

Country of ref document: EP

Kind code of ref document: A1