[go: up one dir, main page]

CN112188239B - Audio and video stream transmission method, media server and wireless access network entity - Google Patents

Audio and video stream transmission method, media server and wireless access network entity Download PDF

Info

Publication number
CN112188239B
CN112188239B CN202011062843.6A CN202011062843A CN112188239B CN 112188239 B CN112188239 B CN 112188239B CN 202011062843 A CN202011062843 A CN 202011062843A CN 112188239 B CN112188239 B CN 112188239B
Authority
CN
China
Prior art keywords
target
media
qos configuration
configuration parameters
encoding format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011062843.6A
Other languages
Chinese (zh)
Other versions
CN112188239A (en
Inventor
张伦泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011062843.6A priority Critical patent/CN112188239B/en
Publication of CN112188239A publication Critical patent/CN112188239A/en
Application granted granted Critical
Publication of CN112188239B publication Critical patent/CN112188239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses an audio and video stream transmission method, a media server and a wireless access network entity. The method comprises the following steps: sending media stream configuration parameters to a wireless network, wherein the media stream configuration parameters comprise a QoS (quality of service) configuration table of media contents and a current coding format being used by a user; the QoS configuration table comprises the corresponding relation of the entry serial number, the coding format and the QoS parameter; receiving target QoS configuration parameters determined by a wireless network; the target QoS configuration parameters are determined by the wireless network based on the transmission quality of the media stream, and comprise target entry sequence numbers; and adjusting the current coding format of the media stream to the target coding format corresponding to the target entry sequence number, and transmitting the media content according to the target coding format. The method effectively utilizes network resources, and realizes the self-adaptive transmission of the audio and video stream code stream under the condition of not increasing the expenses of a media server and a terminal.

Description

音视频流传输方法、媒体服务器及无线接入网络实体Audio and video stream transmission method, media server and wireless access network entity

技术领域technical field

本申请涉及通信技术领域,具体涉及一种音视频流传输方法、媒体服务器及无线接入网络实体。The present application relates to the field of communication technologies, and in particular to an audio and video stream transmission method, a media server and a wireless access network entity.

背景技术Background technique

使用手机等终端观看音视频节目时,无线信号的质量变化会对用户体验产生不良影响。为了提高用户体验,可以通过媒体传输协议提供的功能以适应网络传输质量的变化,同时需要依靠终端自行监测当前的可用带宽并据此选择合适的媒体节目源。这种方式将导致终端消耗较大的资源。而且,终端会在同一个数据流中不断变化实际所需承载的数据流码率,即不断地变化对带宽的需求;另一方面,媒体服务器提供的节目源的编码速率是阶梯变化的。但在5G(5th-Generation)无线网络中,为了保证QoS(Quality of Service,服务质量),5G无线网络总会尝试最大化满足用户的需求。这就造成了媒体服务器和终端的失配,导致网络资源的浪费。When using terminals such as mobile phones to watch audio and video programs, changes in the quality of wireless signals will have a negative impact on user experience. In order to improve user experience, the functions provided by the media transmission protocol can be used to adapt to changes in network transmission quality, and at the same time, it is necessary to rely on the terminal to monitor the current available bandwidth and select an appropriate media program source accordingly. This way will cause the terminal to consume relatively large resources. Moreover, the terminal will constantly change the bit rate of the data stream that actually needs to be carried in the same data stream, that is, the demand for bandwidth is constantly changing; on the other hand, the encoding rate of the program source provided by the media server changes in steps. But in the 5G (5th-Generation) wireless network, in order to ensure QoS (Quality of Service, quality of service), the 5G wireless network will always try to meet the needs of users to the maximum extent. This causes a mismatch between the media server and the terminal, resulting in a waste of network resources.

例如,媒体服务器提供的(同一)节目源分为500kbps和200kps两种码流。当无线网络能够支持的净传输速率由500kbps下降为400kbps时,会向客户端提供400kbps的带宽。然而,在完全由终端自主选择节目源码率时,终端只能选择200kbps的码流,这就造成了大量的资源浪费。For example, the (same) program source provided by the media server is divided into two streams of 500kbps and 200kps. When the net transmission rate supported by the wireless network drops from 500kbps to 400kbps, a bandwidth of 400kbps will be provided to the client. However, when the source code rate of the program is completely selected by the terminal, the terminal can only select a code stream of 200 kbps, which causes a lot of waste of resources.

申请内容application content

为此,本申请提供一种音视频流传输方法、媒体服务器及无线接入网络实体,以解决现有技术中由于媒体服务器和终端的失配而导致的网络资源浪费的问题。To this end, the present application provides an audio and video stream transmission method, a media server and a wireless access network entity, so as to solve the problem of wasting network resources caused by the mismatch between the media server and the terminal in the prior art.

为了实现上述目的,本申请第一方面提供一种音视频流传输方法,应用于媒体服务器,所述方法包括:In order to achieve the above purpose, the first aspect of the present application provides an audio and video stream transmission method, which is applied to a media server, and the method includes:

向无线网络发送媒体流配置参数,其中,所述媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式;所述服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系;Send media flow configuration parameters to the wireless network, wherein the media flow configuration parameters include the quality of service QoS configuration table of the media content and the current encoding format that the user is using; the quality of service QoS configuration table includes entry serial number, encoding format and QoS Correspondence of parameters;

接收无线网络确定的目标QoS配置参数;其中,所述目标QoS配置参数是无线网络基于媒体流的传输质量确定的,所述目标QoS配置参数包括目标条目序号;Receiving target QoS configuration parameters determined by the wireless network; wherein, the target QoS configuration parameters are determined by the wireless network based on the transmission quality of the media stream, and the target QoS configuration parameters include a target entry sequence number;

将所述媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,并按照所述目标编码格式传输媒体内容。Adjust the current encoding format of the media stream to the target encoding format corresponding to the target entry number, and transmit the media content according to the target encoding format.

其中,所述媒体流配置参数还包括用户标识、所述媒体流的五元组以及媒体内容标识。Wherein, the media stream configuration parameters further include a user identifier, a quintuple of the media stream, and a media content identifier.

其中,所述目标QoS配置参数包括条目序号及对应的服务质量流标识QFI。Wherein, the target QoS configuration parameters include an entry sequence number and a corresponding quality of service flow identifier QFI.

第二方面,本申请实施例提供一种音视频流传输方法,应用于网络侧,所述方法包括:In the second aspect, the embodiment of the present application provides an audio and video stream transmission method, which is applied to the network side, and the method includes:

监测当前用户使用的媒体流的传输质量,获得监测结果;Monitor the transmission quality of the media stream used by the current user and obtain the monitoring results;

当所述监测结果为无线网络的传输能力与所述媒体流的实际传输需求不匹配时,获取与所述无线网络传输能力相匹配的目标服务质量QoS配置参数;When the monitoring result is that the transmission capability of the wireless network does not match the actual transmission requirement of the media stream, acquiring a target quality of service QoS configuration parameter that matches the transmission capability of the wireless network;

将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数将编码格式变更为目标编码格式;Send the target QoS configuration parameters to the media server, so that the media server can change the encoding format to the target encoding format according to the target QoS configuration parameters;

接收媒体服务器发送的按照所述目标编码格式传输媒体流。Receive the media stream transmitted by the media server according to the target encoding format.

其中,所述将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数传输媒体内容,包括:Wherein, the sending the target QoS configuration parameters to the media server for the media server to transmit media content according to the target QoS configuration parameters includes:

将所述目标QoS配置参数发送至会话管理功能实体,以供所述会话管理功能实体基于所述目标QoS配置参数中的服务质量流标识确定正在传输的媒体内容的标识及对应的目标条目序号;Sending the target QoS configuration parameter to the session management function entity, so that the session management function entity determines the identifier of the media content being transmitted and the corresponding target entry sequence number based on the service quality flow identifier in the target QoS configuration parameter;

所述会话管理功能实体通过网络功能开放实体将所述媒体内容的标识及对应的所述目标条目序号发送给所述媒体服务器,以供所述媒体服务器按照所述目标条目序号对应的目标编码格式传输媒体内容。The session management function entity sends the identifier of the media content and the corresponding target entry number to the media server through the network function opening entity, so that the media server can follow the target encoding format corresponding to the target entry number Transfer media content.

其中,所述监测当前用户使用的媒体流的传输质量,获得监测结果之前,还包括:Wherein, the monitoring of the transmission quality of the media stream used by the current user, before obtaining the monitoring result, also includes:

接收所述媒体服务器发送的正在使用无线网络的用户标识、媒体流的五元组、媒体内容的标识、媒体内容的配置表以及所述媒体流使用的当前条目序号。Receive the user identifier using the wireless network, the quintuple of the media stream, the identifier of the media content, the configuration table of the media content and the current entry number used by the media stream sent by the media server.

其中,当所述监测结果为无线网络的传输能力无法满足所述媒体流的实际传输需求时,所述接收媒体服务器发送的按照所述目标编码格式传输媒体流之后,还包括:Wherein, when the monitoring result is that the transmission capability of the wireless network cannot meet the actual transmission requirements of the media stream, after receiving the media stream transmitted by the media server according to the target encoding format, further includes:

接收媒体服务器以所述目标编码格式传输的媒体流;receiving the media stream transmitted by the media server in the target encoding format;

将QoS配置参数调整为所述目标编码格式对应的QoS配置参数,并按照调整后的QoS配置参数传输所述媒体流。Adjusting the QoS configuration parameters to the QoS configuration parameters corresponding to the target encoding format, and transmitting the media stream according to the adjusted QoS configuration parameters.

其中,当所述监测结果为无线网络的传输能力超过所述媒体流的实际传输需求时,所述接收媒体服务器发送的按照所述目标编码格式传输媒体流之前,还包括:Wherein, when the monitoring result is that the transmission capability of the wireless network exceeds the actual transmission requirement of the media stream, before the receiving media server transmits the media stream according to the target encoding format, it also includes:

将QoS配置参数调整为所述目标编码格式对应的QoS配置参数,并按照调整后的QoS配置参数传输所述媒体流。Adjusting the QoS configuration parameters to the QoS configuration parameters corresponding to the target encoding format, and transmitting the media stream according to the adjusted QoS configuration parameters.

第三方面,本申请实施例提供一种媒体服务器,包括:In a third aspect, the embodiment of the present application provides a media server, including:

发送模块,用于向无线网络发送媒体流配置参数,其中,所述媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式;所述服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系;A sending module, configured to send media stream configuration parameters to the wireless network, wherein the media stream configuration parameters include a quality of service QoS configuration table of media content and the current encoding format that the user is using; the quality of service QoS configuration table includes an entry sequence number , the corresponding relationship between the encoding format and the QoS parameter;

接收模块,用于接收无线网络确定的目标QoS配置参数;其中,所述目标QoS配置参数是无线网络基于媒体流的传输质量确定的,所述目标QoS配置参数包括目标条目序号;A receiving module, configured to receive a target QoS configuration parameter determined by the wireless network; wherein the target QoS configuration parameter is determined by the wireless network based on the transmission quality of the media stream, and the target QoS configuration parameter includes a target entry number;

调整模块,用于将所述媒体流的当前编码格式调整为目标条目序号对应的目标编码格式;An adjustment module, configured to adjust the current encoding format of the media stream to the target encoding format corresponding to the target entry number;

传输模块,用于按照所述目标编码格式传输媒体内容。A transmission module, configured to transmit media content according to the target encoding format.

第四方面,本申请实施例提供一种无线接入网实体,包括:In a fourth aspect, the embodiment of the present application provides a wireless access network entity, including:

监测模块,用于监测当前用户使用的媒体流的传输质量,获得监测结果;The monitoring module is used to monitor the transmission quality of the media stream used by the current user and obtain the monitoring result;

获取模块,用于当所述监测结果为无线网络的传输能力与所述媒体流的实际传输需求不匹配时,获取与所述无线网络传输能力相匹配的目标服务质量QoS配置参数;An acquisition module, configured to acquire a target quality of service QoS configuration parameter matching the wireless network transmission capability when the monitoring result is that the transmission capability of the wireless network does not match the actual transmission requirement of the media stream;

发送模块,用于将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数将编码格式变更为目标编码格式;A sending module, configured to send the target QoS configuration parameters to a media server, so that the media server can change the encoding format to a target encoding format according to the target QoS configuration parameters;

接收模块,用于接收媒体服务器发送的按照所述目标编码格式传输媒体流。The receiving module is configured to receive the media stream transmitted by the media server according to the target coding format.

本申请具有如下优点:This application has the following advantages:

本申请实施例提供的音视频流传输方法,向无线网络发送媒体流配置参数,其中,媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式;服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系;接收无线网络确定的目标QoS配置参数;其中,目标QoS配置参数是无线网络基于媒体流的传输质量确定的,目标QoS配置参数包括目标条目序号;将媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,并按照目标编码格式传输媒体内容。该方法有效地利用了网络资源,而且,在不增加媒体服务器和终端的开销的情况下,实现了音视频流码流的自适应传送。The audio and video stream transmission method provided by the embodiment of the present application sends media stream configuration parameters to the wireless network, wherein the media stream configuration parameters include the quality of service QoS configuration table of the media content and the current encoding format that the user is using; the quality of service QoS configuration table Including the corresponding relationship between the entry number, encoding format and QoS parameters; receiving the target QoS configuration parameters determined by the wireless network; wherein, the target QoS configuration parameters are determined by the wireless network based on the transmission quality of the media stream, and the target QoS configuration parameters include the target entry number; Adjust the current encoding format of the media stream to the target encoding format corresponding to the target entry number, and transmit the media content according to the target encoding format. The method effectively utilizes network resources, and realizes self-adaptive transmission of audio and video stream code streams without increasing the overhead of media servers and terminals.

附图说明Description of drawings

附图是用来提供对本申请的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本申请,但并不构成对本申请的限制。The accompanying drawings are used to provide a further understanding of the present application, and constitute a part of the description, together with the following specific embodiments, are used to explain the present application, but do not constitute a limitation to the present application.

图1为本申请实施例提供的一种音视频流传输方法的流程图;Fig. 1 is the flow chart of a kind of audio and video stream transmission method that the embodiment of the present application provides;

图2为本申请实施例提供的一种音视频流传输方法的流程图;FIG. 2 is a flow chart of an audio and video stream transmission method provided by an embodiment of the present application;

图3为本申请实施例提供的音视频流传输方法中将目标QoS配置参数发送至媒体服务器的流程图;Fig. 3 is the flow chart of sending the target QoS configuration parameter to the media server in the audio-video stream transmission method that the embodiment of the present application provides;

图4为本申请实施例提供的一种媒体服务器的原理框图;FIG. 4 is a functional block diagram of a media server provided by an embodiment of the present application;

图5为本申请实施例提供的一种无线接入网实体的原理框图;FIG. 5 is a functional block diagram of a wireless access network entity provided by an embodiment of the present application;

图6为本申请实施例提供的一种音视频流传输方法的流程图。FIG. 6 is a flow chart of an audio and video stream transmission method provided by an embodiment of the present application.

具体实施方式detailed description

以下结合附图对本申请的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本申请,并不用于限制本申请。The specific implementation manners of the present application will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementations described here are only used to illustrate and explain the present application, and are not intended to limit the present application.

如本公开所使用的,术语“和/或”包括一个或多个相关列举条目的任何和全部组合。As used in this disclosure, the term "and/or" includes any and all combinations of one or more of the associated listed items.

本公开所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本公开所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。The terms used in the present disclosure are for describing specific embodiments only, and are not intended to limit the present disclosure. As used in this disclosure, the singular forms "a" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.

当本公开中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。When the terms "comprising" and/or "consisting of" are used in the present disclosure, it specifies the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other Features, integers, steps, operations, elements, components and/or groups thereof.

除非另外限定,否则本公开所用的全部术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本公开明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant art and the present disclosure, and will not be interpreted as having idealized or excessive formal meanings, Unless the disclosure expressly so limited.

第一方面,本申请实施例提供的音视频流传输方法,可应用于媒体服务器。In the first aspect, the audio and video stream transmission method provided in the embodiment of the present application can be applied to a media server.

图1为本申请实施例提供的一种音视频流传输方法的流程图。如图1所示,应用于媒体服务器,包括:FIG. 1 is a flowchart of an audio and video stream transmission method provided by an embodiment of the present application. As shown in Figure 1, it is applied to the media server, including:

步骤101,向无线网络发送媒体流配置参数。Step 101, sending media stream configuration parameters to a wireless network.

在一些实施例中,媒体服务器在向终端传送媒体内容时,可以向无线网络发送该媒体内容的对应的媒体流的配置参数。In some embodiments, when the media server transmits the media content to the terminal, it may send the configuration parameters of the media stream corresponding to the media content to the wireless network.

其中,媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式。其中的服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系。Wherein, the media stream configuration parameters include the quality of service QoS configuration table of the media content and the current encoding format being used by the user. The quality of service QoS configuration table includes the corresponding relationship between the entry sequence number, encoding format and QoS parameters.

表1为媒体内容的QoS配置表Table 1 is the QoS configuration table for media content

Figure BDA0002712918370000061
Figure BDA0002712918370000061

在一些实施例中,IP层网络QoS参数组中包括但不限于带宽、时延、丢包、用户体验等。In some embodiments, the IP layer network QoS parameter group includes but is not limited to bandwidth, delay, packet loss, user experience, and the like.

在一些实施例中,媒体流配置参数还包括用户标识、与用户建立的媒体流的五元组和媒体内容的标识。这里的用户是指与媒体服务器进行媒体内容传输的用户,用户标识是指能够识别用户身份的标识。媒体流的五元组包括源IP地址、目的IP地址、源端口号、目的端口号和输出层协议类型。媒体内容的标识是指能够识别媒体内容的标识。In some embodiments, the media stream configuration parameters further include a user identifier, a quintuple of the media stream established with the user, and an identifier of the media content. The user here refers to the user who transmits media content with the media server, and the user identifier refers to an identifier capable of identifying the identity of the user. The five-tuple of the media stream includes source IP address, destination IP address, source port number, destination port number and output layer protocol type. The identifier of the media content refers to an identifier capable of identifying the media content.

在一些实施例中,媒体服务器通过网络功能开放实体NEF向策略控制功能实体PCF发送媒体流配置参数,媒体配置参数包括用户标识、与用户建立的媒体流的五元组、媒体内容的标识QoS配置表和用户正在使用的当前编码格式。In some embodiments, the media server sends the media flow configuration parameters to the policy control function entity PCF through the network function opening entity NEF, and the media configuration parameters include the user identification, the quintuple of the media flow established with the user, and the identification QoS configuration of the media content The table and the current encoding format the user is using.

策略控制功能实体根据媒体内容的QoS配置表生成QoS配置信息,并将当前编码格式与QoS配置信息中条目序号相对应,同时,确保QoS配置信息中的条目序号与QoS配置表中的条目序号一致。策略控制功能实体依据用户标识和媒体流五元组获得为该媒体流提供服务的会话管理功能实体SMF,并将QoS配置信息、条目序号、媒体流五元组和媒体内容标识发送给该会话管理功能实体。The policy control function entity generates QoS configuration information according to the QoS configuration table of the media content, and corresponds the current encoding format to the entry number in the QoS configuration information, and at the same time, ensures that the entry number in the QoS configuration information is consistent with the entry number in the QoS configuration table . The policy control function entity obtains the session management function entity SMF that provides services for the media stream according to the user identifier and the media stream quintuple, and sends the QoS configuration information, the entry sequence number, the media stream quintuple and the media content identifier to the session management functional entities.

会话管理功能实体根据媒体流五元组识别出当前的服务质量流标识QFI,并将QoS配置信息和条目序号发送给无线接入网络实体RAN。无线接入网络实体根据当前的服务质量流标识和QoS配置信息对本地的QoS参数配置,并且为服务质量流标识对应的媒体流应用QoS配置表所指向的QoS配置条目。The session management function entity identifies the current quality of service flow identifier QFI according to the media flow quintuple, and sends the QoS configuration information and the entry sequence number to the radio access network entity RAN. The radio access network entity configures local QoS parameters according to the current QoS flow identifier and QoS configuration information, and applies the QoS configuration entry pointed to by the QoS configuration table to the media flow corresponding to the QoS flow identifier.

步骤102,接收无线网络确定的目标QoS配置参数。Step 102, receiving target QoS configuration parameters determined by the wireless network.

其中,目标QoS配置参数是无线网络基于媒体流的传输质量确定的,目标QoS配置参数包括目标条目序号。Wherein, the target QoS configuration parameter is determined by the wireless network based on the transmission quality of the media stream, and the target QoS configuration parameter includes a target entry number.

在一些实施例中,当无线网络中的无线接入网络实体判断当前媒体流因无线信号质量或更优先级业务等原因,导致当前的服务质量流标识QFI所指向的媒体流的QoS参数无法满足传输要求时,选出下一个可满足的条目序号,即能够满足传输要求的目标QoS配置参数。In some embodiments, when the radio access network entity in the wireless network judges that the current media stream is due to reasons such as wireless signal quality or higher priority services, the QoS parameters of the media stream pointed to by the current quality of service flow identifier QFI cannot meet the requirements. When transmitting the requirements, select the next satisfying entry sequence number, that is, the target QoS configuration parameters that can meet the transmission requirements.

在一些实施例中,无线接入网络实体向会话管理功能实体发送可满足传输需求的条目序号和对应的服务质量流标识。会话管理功能实体根据服务质量流标识获得媒体内容标识,然后通过网络功能开放实体向媒体服务器发送目标QoS配置参数以及目标媒体流五元组。In some embodiments, the radio access network entity sends the entry sequence number that can meet the transmission requirement and the corresponding QoS flow identifier to the session management function entity. The session management function entity obtains the media content ID according to the QoS stream ID, and then sends the target QoS configuration parameters and the target media stream quintuple to the media server through the network function opening entity.

步骤103,将媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,并按照目标编码格式传输媒体内容。Step 103: Adjust the current encoding format of the media stream to the target encoding format corresponding to the target entry number, and transmit the media content according to the target encoding format.

在一些实施例中,媒体服务器收到无线接入网络实体确定的目标QoS配置参数,根据目标条目序号获得目标编码格式,然后将将媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,并按照目标编码格式传输媒体内容。In some embodiments, the media server receives the target QoS configuration parameters determined by the wireless access network entity, obtains the target encoding format according to the target entry number, and then adjusts the current encoding format of the media stream to the target encoding format corresponding to the target entry number , and transmit the media content in accordance with the target encoding format.

本实施例提供的音视频流传输方法,向无线网络发送媒体流配置参数,其中,媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式;服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系;接收无线网络确定的目标QoS配置参数;其中,目标QoS配置参数是无线网络基于媒体流的传输质量确定的,目标QoS配置参数包括目标条目序号;将媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,并按照目标编码格式传输媒体内容。该方法有效地利用了网络资源,而且,在不增加媒体服务器和终端的开销的情况下,实现了音视频流码流的自适应传送。The audio and video stream transmission method provided by this embodiment sends media stream configuration parameters to the wireless network, wherein the media stream configuration parameters include the quality of service QoS configuration table of media content and the current encoding format that the user is using; the quality of service QoS configuration table includes The corresponding relationship between the entry sequence number, encoding format and QoS parameter; receiving the target QoS configuration parameter determined by the wireless network; wherein, the target QoS configuration parameter is determined by the wireless network based on the transmission quality of the media stream, and the target QoS configuration parameter includes the target entry sequence number; The current encoding format of the media stream is adjusted to the target encoding format corresponding to the target entry number, and the media content is transmitted according to the target encoding format. The method effectively utilizes network resources, and realizes self-adaptive transmission of audio and video stream code streams without increasing the overhead of media servers and terminals.

第二方面,本申请实施例提供一种音视频流传输方法,应用于网络侧,例如应用于无线接入网络实体。In a second aspect, the embodiment of the present application provides an audio and video stream transmission method, which is applied to a network side, for example, to a wireless access network entity.

图2为申请实施例提供一种音视频流传输方法的流程图。如图2所示,音视频流传输方法包括:Fig. 2 is a flowchart of an audio and video stream transmission method provided by an embodiment of the application. As shown in Figure 2, audio and video stream transmission methods include:

步骤201,监测当前用户使用的媒体流的传输质量,获得监测结果。Step 201, monitor the transmission quality of the media stream used by the current user, and obtain the monitoring result.

无线接入网络实体监测当前用户使用的媒体流的传输质量,获得监测结果。其中,媒体流是媒体服务器向终端传送的媒体内容的数据流。The radio access network entity monitors the transmission quality of the media stream currently used by the user, and obtains a monitoring result. Wherein, the media stream is a data stream of media content transmitted by the media server to the terminal.

在一些实施例中,当媒体服务器向终端发送媒体内容时,可以同时向无线网络发送媒体流配置参数。其中,媒体流配置参数包括媒体内容的服务质量QoS配置表、用户正在使用的当前编码格式、用户标识、与用户建立的媒体流的五元组和媒体内容的标识。其中的服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系。用户标识是指能够识别用户身份的标识。媒体流的五元组包括源IP地址、目的IP地址、源端口号、目的端口号和输出层协议类型。媒体内容的标识是指能够识别媒体内容的标识。In some embodiments, when the media server sends the media content to the terminal, it can simultaneously send the media stream configuration parameters to the wireless network. Wherein, the media stream configuration parameters include the quality of service QoS configuration table of the media content, the current encoding format being used by the user, the user identification, the quintuple of the media stream established with the user, and the identification of the media content. The quality of service QoS configuration table includes the corresponding relationship between the entry sequence number, encoding format and QoS parameters. User ID refers to an ID that can identify a user. The five-tuple of the media stream includes source IP address, destination IP address, source port number, destination port number and output layer protocol type. The identifier of the media content refers to an identifier capable of identifying the media content.

在一些实施例中,媒体服务器通过网络功能开放实体NEF向策略控制功能实体PCF发送媒体流配置参数,媒体配置参数包括用户标识、与用户建立的媒体流的五元组、媒体内容的标识QoS配置表和用户正在使用的当前编码格式。In some embodiments, the media server sends the media flow configuration parameters to the policy control function entity PCF through the network function opening entity NEF, and the media configuration parameters include the user identification, the quintuple of the media flow established with the user, and the identification QoS configuration of the media content The table and the current encoding format the user is using.

策略控制功能实体根据媒体内容的QoS配置表生成QoS配置信息,并将当前编码格式与QoS配置信息中条目序号相对应,同时,确保QoS配置信息中的条目序号与QoS配置表中的条目序号一致。策略控制功能实体依据用户标识和媒体流五元组获得为该媒体流提供服务的会话管理功能实体SMF,并将QoS配置信息、条目序号、媒体流五元组和媒体内容标识发送给该会话管理功能实体。The policy control function entity generates QoS configuration information according to the QoS configuration table of the media content, and corresponds the current encoding format to the entry number in the QoS configuration information, and at the same time, ensures that the entry number in the QoS configuration information is consistent with the entry number in the QoS configuration table . The policy control function entity obtains the session management function entity SMF that provides services for the media stream according to the user identifier and the media stream quintuple, and sends the QoS configuration information, the entry sequence number, the media stream quintuple and the media content identifier to the session management functional entities.

会话管理功能实体根据媒体流五元组识别出当前的服务质量流标识QFI,并将QoS配置信息和条目序号发送给无线接入网络实体RAN。无线接入网络实体根据当前的服务质量流标识和QoS配置信息对本地的QoS参数配置,并且为服务质量流标识对应的媒体流应用QoS配置表所指向的QoS配置条目。至此,完成了无线网络资源与媒体内容对资源的需求的配置。The session management function entity identifies the current quality of service flow identifier QFI according to the media flow quintuple, and sends the QoS configuration information and the entry sequence number to the radio access network entity RAN. The radio access network entity configures local QoS parameters according to the current QoS flow identifier and QoS configuration information, and applies the QoS configuration entry pointed to by the QoS configuration table to the media flow corresponding to the QoS flow identifier. So far, configuration of wireless network resources and resource requirements of media content is completed.

步骤202,当监测结果为无线网络的传输能力与媒体流的实际传输需求不匹配时,获取与无线网络传输能力相匹配的目标服务质量QoS配置参数。Step 202, when the monitoring result shows that the transmission capability of the wireless network does not match the actual transmission requirement of the media stream, acquire the target quality of service QoS configuration parameters that match the transmission capability of the wireless network.

在一些实施例中,当监测结果为无线网络的传输能力与媒体流的实际传输需求不匹配时,获取与当前无线网络传输能力相匹配的目标服务质量QoS配置参数。其中,目标服务质量QoS配置参数包括目标条目序号。In some embodiments, when the monitoring result shows that the transmission capability of the wireless network does not match the actual transmission requirement of the media stream, the target quality of service QoS configuration parameters matching the current transmission capability of the wireless network are acquired. Wherein, the target QoS configuration parameter includes a target entry sequence number.

例如,当无线网络中的无线接入网络实体判断当前媒体流因无线信号质量或更优先级业务等原因,导致当前的服务质量流标识QFI所指向的媒体流的QoS参数无法满足传输要求时,选出下一个可满足的条目序号,即能够满足传输要求的目标QoS配置参数。For example, when the radio access network entity in the wireless network judges that the QoS parameters of the media stream pointed to by the current quality of service flow identifier QFI cannot meet the transmission requirements due to reasons such as wireless signal quality or higher priority services of the current media stream, Select the next satisfying entry sequence number, that is, the target QoS configuration parameter that can meet the transmission requirements.

步骤203,将目标QoS配置参数发送至媒体服务器,以供媒体服务器按照目标QoS配置参数将编码格式变更为目标编码格式。Step 203, sending the target QoS configuration parameters to the media server, so that the media server can change the encoding format to the target encoding format according to the target QoS configuration parameters.

在一些实施例中,无线接入网络实体向会话管理功能实体发送可满足传输需求的条目序号和对应的服务质量流标识。会话管理功能实体根据服务质量流标识获得媒体内容标识,然后通过网络功能开放实体向媒体服务器发送目标QoS配置参数以及目标媒体流五元组。In some embodiments, the radio access network entity sends the entry sequence number that can meet the transmission requirement and the corresponding QoS flow identifier to the session management function entity. The session management function entity obtains the media content ID according to the QoS stream ID, and then sends the target QoS configuration parameters and the target media stream quintuple to the media server through the network function opening entity.

在一些实施例中,媒体服务器收到无线接入网络实体确定的目标QoS配置参数,根据目标条目序号获得目标编码格式,然后将将媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,并按照目标编码格式传输媒体内容。In some embodiments, the media server receives the target QoS configuration parameters determined by the wireless access network entity, obtains the target encoding format according to the target entry number, and then adjusts the current encoding format of the media stream to the target encoding format corresponding to the target entry number , and transmit the media content in accordance with the target encoding format.

步骤204,接收媒体服务器发送的按照目标编码格式传输媒体流。Step 204, receiving the media stream transmitted by the media server according to the target coding format.

当媒体服务器收到会话管理功能实体确定的目标条目序号时,根据目标条目序号查找媒体内容的QoS配置表获得QoS参数,并对媒体内容更换新的编码格式,即为媒体流五元组对应的媒体内容更换新的编码格式,然后以更新后的编码格式传输媒体内容。When the media server receives the target entry sequence number determined by the session management function entity, it searches the QoS configuration table of the media content according to the target entry sequence number to obtain the QoS parameters, and replaces the media content with a new encoding format, which is corresponding to the media stream quintuple The media content is replaced with a new encoding format, and then the media content is transmitted in the updated encoding format.

在一些实施例中,如图3所示,步骤203具体包括:In some embodiments, as shown in FIG. 3, step 203 specifically includes:

步骤301,将目标QoS配置参数发送至会话管理功能实体,以供会话管理功能实体基于目标QoS配置参数中的服务质量流标识确定正在传输的媒体内容的标识及对应的目标条目序号。Step 301: Send the target QoS configuration parameter to the session management function entity, so that the session management function entity determines the identifier of the media content being transmitted and the corresponding target entry sequence number based on the QoS stream identifier in the target QoS configuration parameter.

在一些实施例中,无线接入网络实体将目标QoS配置参数发送至会话管理功能实体,会话管理功能实体基于目标QoS配置参数中的服务质量流标识确定正在传输的媒体内容的标识,以及该媒体内容标识对应的条目序号,即目标条目序号。In some embodiments, the radio access network entity sends the target QoS configuration parameter to the session management function entity, and the session management function entity determines the identifier of the media content being transmitted based on the quality of service flow identifier in the target QoS configuration parameter, and the media content The serial number of the entry corresponding to the content identifier, that is, the serial number of the target entry.

步骤302,会话管理功能实体通过网络功能开放实体将媒体内容的标识及对应的目标条目序号发送给媒体服务器,以供媒体服务器按照目标条目序号对应的目标编码格式传输媒体内容。Step 302, the session management function entity sends the media content identifier and the corresponding target entry number to the media server through the network function opening entity, so that the media server can transmit the media content according to the target encoding format corresponding to the target entry number.

在一些实施例中,会话管理功能实体通过网络功能开放实体将媒体内容的标识及对应的目标条目序号发送给媒体服务器,媒体服务器按照目标条目序号从QoS配置表中获得对应的目标编码格式。In some embodiments, the session management function entity sends the identifier of the media content and the corresponding target entry number to the media server through the network function opening entity, and the media server obtains the corresponding target encoding format from the QoS configuration table according to the target entry number.

在一些实施例中,在步骤201之前,还包括:In some embodiments, before step 201, it also includes:

接收媒体服务器发送的正在使用无线网络的用户标识、媒体流的五元组、媒体内容的标识、媒体内容的配置表以及媒体流使用的当前条目序号。Receive the user ID of the wireless network being used, the quintuple of the media stream, the ID of the media content, the configuration table of the media content and the serial number of the current entry used by the media stream sent by the media server.

在一些实施例中,媒体服务器在向用户终端发送媒体内容时,向无线网络发送用户标识、媒体流的五元组、媒体内容的标识、媒体内容的配置表以及媒体流使用的当前条目序号。In some embodiments, when the media server sends the media content to the user terminal, it sends the user identifier, the quintuple of the media stream, the identifier of the media content, the configuration table of the media content, and the current entry number used by the media stream to the wireless network.

需要说明的是,对于同一媒体内容,如果媒体服务器已经向无线网络中的策略控制功能实体发送用户标识、媒体流的五元组、媒体内容的标识、媒体内容的配置表以及媒体流使用的当前条目序号,则不再重复发送,换言之,媒体服务器只向策略控制功能实体发送一次。It should be noted that, for the same media content, if the media server has sent the user identifier, the quintuple of the media stream, the identifier of the media content, the configuration table of the media content, and the current The entry sequence number is not sent repeatedly, in other words, the media server only sends it once to the policy control functional entity.

在一些实施例中,当监测结果为无线网络的传输能力无法满足媒体流的实际传输需求时,在步骤204之后,还包括:In some embodiments, when the monitoring result is that the transmission capability of the wireless network cannot meet the actual transmission requirements of the media stream, after step 204, further includes:

接收媒体服务器以目标编码格式传输的媒体流;将QoS配置参数调整为目标编码格式对应的QoS配置参数,并按照调整后的QoS配置参数传输媒体流。Receive the media stream transmitted by the media server in the target encoding format; adjust the QoS configuration parameters to the QoS configuration parameters corresponding to the target encoding format, and transmit the media stream according to the adjusted QoS configuration parameters.

在一些实施例中,在媒体服务器发送新的编码格式的媒体流之前,无线网络使用最大化满足旧媒体流编码格式所需的QoS参数传输媒体流,直到收到媒体服务器以目标编码格式传输的媒体流,然后,将QoS配置参数调整为目标编码格式对应的QoS配置参数,并按照调整后的QoS配置参数传输媒体流。In some embodiments, before the media server sends the media stream in the new encoding format, the wireless network transmits the media stream using the QoS parameters required to satisfy the encoding format of the old media stream to the maximum extent, until the media server transmits the media stream in the target encoding format. The media stream then adjusts the QoS configuration parameters to the QoS configuration parameters corresponding to the target encoding format, and transmits the media stream according to the adjusted QoS configuration parameters.

例如,当因为无线信号的质量下降或其他原因更换了较低等级的QoS配置时,或者,因无线信号质量恢复或其他原因可以恢复到初始或更高等级的QoS配置时,无线网络在接收媒体服务器以目标编码格式传输的媒体流之后,将QoS配置参数调整为目标编码格式对应的QoS配置参数,并按照调整后的QoS配置参数传输媒体流。For example, when the lower-level QoS configuration is replaced due to the degradation of wireless signal quality or other reasons, or when the original or higher-level QoS configuration can be restored due to wireless signal quality recovery or other reasons, the wireless network receives the media After transmitting the media stream in the target encoding format, the server adjusts the QoS configuration parameters to the QoS configuration parameters corresponding to the target encoding format, and transmits the media stream according to the adjusted QoS configuration parameters.

在一些实施例中,当监测结果为无线网络的传输能力超过媒体流的实际传输需求时,在步骤204之前,还包括:In some embodiments, when the monitoring result is that the transmission capability of the wireless network exceeds the actual transmission requirement of the media stream, before step 204, the method further includes:

将QoS配置参数调整为目标编码格式对应的QoS配置参数,并按照调整后的QoS配置参数传输媒体流。Adjust the QoS configuration parameters to the QoS configuration parameters corresponding to the target encoding format, and transmit the media stream according to the adjusted QoS configuration parameters.

例如,当无线信号的质量上升或者因其他原因更换了更高等级的QoS配置时,无线网络立即启用高等级的QoS配置,不必等到新的编码格式的媒体流后再进行调整。For example, when the quality of the wireless signal improves or a higher-level QoS configuration is replaced due to other reasons, the wireless network immediately enables the high-level QoS configuration without waiting for the media stream of the new encoding format to make adjustments.

本申请实施例提供的音视频流传输方法,监测当前用户使用的媒体流的传输质量,获得监测结果;当所述监测结果为无线网络的传输能力与所述媒体流的实际传输需求不匹配时,获取与所述无线网络传输能力相匹配的目标服务质量QoS配置参数;将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数将编码格式变更为目标编码格式;接收媒体服务器发送的按照所述目标编码格式传输媒体流。该方法有效地利用了网络资源,而且,在不增加媒体服务器和终端的开销的情况下,实现了音视频流码流的自适应传送。The audio and video stream transmission method provided by the embodiment of the present application monitors the transmission quality of the media stream used by the current user and obtains the monitoring result; when the monitoring result is that the transmission capability of the wireless network does not match the actual transmission requirement of the media stream , acquiring a target quality of service QoS configuration parameter matching the wireless network transmission capability; sending the target QoS configuration parameter to a media server, so that the media server can change the encoding format to the target QoS configuration parameter according to the target QoS configuration parameter Coding format: receive the media stream sent by the media server and transmit the media stream according to the target coding format. The method effectively utilizes network resources, and realizes self-adaptive transmission of audio and video stream code streams without increasing the overhead of media servers and terminals.

第三方面,本申请实施例提供一种媒体服务器。图4为本申请实施例提供的一种媒体服务器的原理框图。如图4所示,媒体服务器包括:In a third aspect, the embodiment of the present application provides a media server. Fig. 4 is a functional block diagram of a media server provided by an embodiment of the present application. As shown in Figure 4, the media server includes:

发送模块401,用于向无线网络发送媒体流配置参数。The sending module 401 is configured to send media stream configuration parameters to the wireless network.

其中,媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式;服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系。Among them, the media stream configuration parameters include the quality of service QoS configuration table of the media content and the current encoding format used by the user; the quality of service QoS configuration table includes the corresponding relationship between the entry number, encoding format and QoS parameters.

在一些实施例中,媒体服务器在向终端传送媒体内容时,可以向无线网络发送该媒体内容的对应的媒体流的配置参数。In some embodiments, when the media server transmits the media content to the terminal, it may send the configuration parameters of the media stream corresponding to the media content to the wireless network.

在一些实施例中,IP层网络QoS参数组中包括但不限于带宽、时延、丢包、用户体验等。In some embodiments, the IP layer network QoS parameter group includes but is not limited to bandwidth, delay, packet loss, user experience, and the like.

在一些实施例中,媒体流配置参数还包括用户标识、与用户建立的媒体流的五元组和媒体内容的标识。这里的用户是指与媒体服务器进行媒体内容传输的用户,用户标识是指能够识别用户身份的标识。媒体流的五元组包括源IP地址、目的IP地址、源端口号、目的端口号和输出层协议类型。媒体内容的标识是指能够识别媒体内容的标识。In some embodiments, the media stream configuration parameters further include a user identifier, a quintuple of the media stream established with the user, and an identifier of the media content. The user here refers to the user who transmits media content with the media server, and the user identifier refers to an identifier capable of identifying the identity of the user. The five-tuple of the media stream includes source IP address, destination IP address, source port number, destination port number and output layer protocol type. The identifier of the media content refers to an identifier capable of identifying the media content.

在一些实施例中,媒体服务器通过网络功能开放实体NEF向策略控制功能实体PCF发送媒体流配置参数,媒体配置参数包括用户标识、与用户建立的媒体流的五元组、媒体内容的标识QoS配置表和用户正在使用的当前编码格式。In some embodiments, the media server sends the media flow configuration parameters to the policy control function entity PCF through the network function opening entity NEF, and the media configuration parameters include the user identification, the quintuple of the media flow established with the user, and the identification QoS configuration of the media content The table and the current encoding format the user is using.

策略控制功能实体根据媒体内容的QoS配置表生成QoS配置信息,并将当前编码格式与QoS配置信息中条目序号相对应,同时,确保QoS配置信息中的条目序号与QoS配置表中的条目序号一致。策略控制功能实体依据用户标识和媒体流五元组获得为该媒体流提供服务的会话管理功能实体SMF,并将QoS配置信息、条目序号、媒体流五元组和媒体内容标识发送给该会话管理功能实体。The policy control function entity generates QoS configuration information according to the QoS configuration table of the media content, and corresponds the current encoding format to the entry number in the QoS configuration information, and at the same time, ensures that the entry number in the QoS configuration information is consistent with the entry number in the QoS configuration table . The policy control function entity obtains the session management function entity SMF that provides services for the media stream according to the user identifier and the media stream quintuple, and sends the QoS configuration information, the entry sequence number, the media stream quintuple and the media content identifier to the session management functional entities.

会话管理功能实体根据媒体流五元组识别出当前的服务质量流标识QFI,并将QoS配置信息和条目序号发送给无线接入网络实体RAN。无线接入网络实体根据当前的服务质量流标识和QoS配置信息对本地的QoS参数配置,并且为服务质量流标识对应的媒体流应用QoS配置表所指向的QoS配置条目。The session management function entity identifies the current quality of service flow identifier QFI according to the media flow quintuple, and sends the QoS configuration information and the entry sequence number to the radio access network entity RAN. The radio access network entity configures local QoS parameters according to the current QoS flow identifier and QoS configuration information, and applies the QoS configuration entry pointed to by the QoS configuration table to the media flow corresponding to the QoS flow identifier.

接收模块402,用于接收无线网络确定的目标QoS配置参数。The receiving module 402 is configured to receive target QoS configuration parameters determined by the wireless network.

其中,目标QoS配置参数是无线网络基于媒体流的传输质量确定的,目标QoS配置参数包括目标条目序号。Wherein, the target QoS configuration parameter is determined by the wireless network based on the transmission quality of the media stream, and the target QoS configuration parameter includes a target entry number.

在一些实施例中,当无线网络中的无线接入网络实体判断当前媒体流因无线信号质量或更优先级业务等原因,导致当前的服务质量流标识QFI所指向的媒体流的QoS参数无法满足传输要求时,选出下一个可满足的条目序号,即能够满足传输要求的目标QoS配置参数。In some embodiments, when the radio access network entity in the wireless network judges that the current media stream is due to reasons such as wireless signal quality or higher priority services, the QoS parameters of the media stream pointed to by the current quality of service flow identifier QFI cannot meet the requirements. When transmitting the requirements, select the next satisfying entry sequence number, that is, the target QoS configuration parameters that can meet the transmission requirements.

在一些实施例中,无线接入网络实体向会话管理功能实体发送可满足传输需求的条目序号和对应的服务质量流标识。会话管理功能实体根据服务质量流标识获得媒体内容标识,然后通过网络功能开放实体向媒体服务器发送目标QoS配置参数以及目标媒体流五元组。In some embodiments, the radio access network entity sends the entry sequence number that can meet the transmission requirement and the corresponding QoS flow identifier to the session management function entity. The session management function entity obtains the media content ID according to the QoS stream ID, and then sends the target QoS configuration parameters and the target media stream quintuple to the media server through the network function opening entity.

调整模块403,用于将媒体流的当前编码格式调整为目标条目序号对应的目标编码格式。The adjustment module 403 is configured to adjust the current encoding format of the media stream to the target encoding format corresponding to the target entry number.

在一些实施例中,媒体服务器收到无线接入网络实体确定的目标QoS配置参数,根据目标条目序号获得目标编码格式,然后将将媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,并按照目标编码格式传输媒体内容。In some embodiments, the media server receives the target QoS configuration parameters determined by the wireless access network entity, obtains the target encoding format according to the target entry number, and then adjusts the current encoding format of the media stream to the target encoding format corresponding to the target entry number , and transmit the media content in accordance with the target encoding format.

传输模块404,用于按照目标编码格式传输媒体内容。The transmission module 404 is configured to transmit media content according to the target coding format.

本实施例提供的媒体服务器,发送模块向无线网络发送媒体流配置参数,其中,媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式;服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系;接收模块接收无线网络确定的目标QoS配置参数;其中,目标QoS配置参数是无线网络基于媒体流的传输质量确定的,目标QoS配置参数包括目标条目序号;调整模块将媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,传输模块按照目标编码格式传输媒体内容。该媒体服务器有效地利用了网络资源,而且,在不增加媒体服务器和终端的开销的情况下,实现了音视频流码流的自适应传送。In the media server provided by this embodiment, the sending module sends media stream configuration parameters to the wireless network, wherein the media stream configuration parameters include the quality of service QoS configuration table of the media content and the current encoding format that the user is using; the quality of service QoS configuration table includes entries Correspondence between sequence number, encoding format and QoS parameter; receiving module receives the target QoS configuration parameter determined by the wireless network; wherein, the target QoS configuration parameter is determined by the wireless network based on the transmission quality of the media stream, and the target QoS configuration parameter includes the target entry sequence number; The adjustment module adjusts the current encoding format of the media stream to the target encoding format corresponding to the target entry number, and the transmission module transmits the media content according to the target encoding format. The media server effectively utilizes network resources, and realizes adaptive transmission of audio and video stream code streams without increasing the overhead of the media server and the terminal.

第四方面,本申请实施例提供一种无线接入网实体。图5为本申请实施例提供的一种无线接入网实体的原理框图。如图5所示,无线接入网实体包括:In a fourth aspect, the embodiment of the present application provides a radio access network entity. FIG. 5 is a functional block diagram of a radio access network entity provided by an embodiment of the present application. As shown in Figure 5, radio access network entities include:

监测模块501,用于监测当前用户使用的媒体流的传输质量,获得监测结果。The monitoring module 501 is configured to monitor the transmission quality of the media stream currently used by the user, and obtain a monitoring result.

获取模块502,用于当所述监测结果为无线网络的传输能力与所述媒体流的实际传输需求不匹配时,获取与所述无线网络传输能力相匹配的目标服务质量QoS配置参数。The acquiring module 502 is configured to acquire target quality of service QoS configuration parameters matching the wireless network transmission capability when the monitoring result is that the transmission capability of the wireless network does not match the actual transmission requirement of the media stream.

发送模块503,用于将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数将编码格式变更为目标编码格式。The sending module 503 is configured to send the target QoS configuration parameters to the media server, so that the media server can change the encoding format to the target encoding format according to the target QoS configuration parameters.

接收模块504,用于接收媒体服务器发送的按照所述目标编码格式传输媒体流。The receiving module 504 is configured to receive the media stream transmitted by the media server according to the target coding format.

本申请实施例提供的无线网络接入实体,监测模块用于监测当前用户使用的媒体流的传输质量,获得监测结果;获取模块用于当监测结果为无线网络的传输能力与媒体流的实际传输需求不匹配时,获取与无线网络传输能力相匹配的目标服务质量QoS配置参数;发送模块用于将目标QoS配置参数发送至媒体服务器,以供媒体服务器按照目标QoS配置参数将编码格式变更为目标编码格式;接收模块用于接收媒体服务器发送的按照目标编码格式传输媒体流。该方法有效地利用了网络资源,而且,在不增加媒体服务器和终端的开销的情况下,实现了音视频流码流的自适应传送。In the wireless network access entity provided by the embodiment of the present application, the monitoring module is used to monitor the transmission quality of the media stream used by the current user, and obtains the monitoring result; the acquisition module is used when the monitoring result is the transmission capability of the wireless network and the actual transmission of the media stream When the requirements do not match, obtain the target quality of service QoS configuration parameters that match the wireless network transmission capabilities; the sending module is used to send the target QoS configuration parameters to the media server, so that the media server can change the encoding format to the target QoS configuration parameters according to the target QoS configuration parameters Coding format; the receiving module is used to receive the media stream transmitted by the media server according to the target coding format. The method effectively utilizes network resources, and realizes self-adaptive transmission of audio and video stream code streams without increasing the overhead of media servers and terminals.

为了更好地理解本申请提供的音视频流传输方法、媒体服务器及无线接入网络实体,下面以媒体服务器及无线接入网络实体为基础,详细介绍音视频流传输方法。In order to better understand the audio and video stream transmission method, media server and wireless access network entity provided in this application, the audio and video stream transmission method will be introduced in detail below based on the media server and wireless access network entity.

图6为本申请实施例提供的一种音视频流传输方法的流程图。如图6所示,音视频流传输方法包括:FIG. 6 is a flow chart of an audio and video stream transmission method provided by an embodiment of the present application. As shown in Figure 6, the audio and video stream transmission methods include:

步骤601,用户设备向媒体服务器发送请求媒体内容的第一请求。其中,第一请求中包括用户标识。其中的用户标识可以是手机号码、手机号码的哈希值、临时用户识别码TMSI(Temporary Mobile Subscriber Identity))以及TMSI的哈希值。Step 601, the user equipment sends a first request for media content to the media server. Wherein, the first request includes the user identifier. The user identifier may be a mobile phone number, a hash value of the mobile phone number, a Temporary Mobile Subscriber Identity (TMSI) and a hash value of the TMSI.

步骤602,媒体服务器向用户设备发送媒体内容。Step 602, the media server sends media content to the user equipment.

步骤603,媒体服务器通过网络功能开放实体向策略控制功能实体发送用户标识、与用户建立的媒体流的五元组、媒体内容的标识、媒体内容的QoS配置表、媒体流当前使用的条目序号(编码速率)。Step 603, the media server sends the user identification, the quintuple of the media flow established with the user, the identification of the media content, the QoS configuration table of the media content, the entry sequence number ( encoding rate).

步骤604,策略控制功能实体进行处理。Step 604, the policy control function entity performs processing.

在一些实施例中,策略控制功能实体根据媒体内容的QoS配置表生成QoS配置信息,将编码速率对应到QoS配置信息中对应的条目序号,且保证QoS配置条目序号与QoS配置表中对应项的序号相等。依据用户标识和媒体流五元组查询出(例如通过UDR)正在为此媒体流提供会话管理的会话管理功能实体。将QoS配置信息、当前媒体流使用的条目序号、媒体流五元组和媒体内容的标识发送给会话管理功能实体。In some embodiments, the policy control function entity generates QoS configuration information according to the QoS configuration table of the media content, corresponds the encoding rate to the corresponding entry sequence number in the QoS configuration information, and ensures that the QoS configuration entry sequence number is consistent with the corresponding item in the QoS configuration table The sequence numbers are equal. The session management function entity that is providing session management for this media stream is queried (for example, through UDR) according to the user identifier and the media stream 5-tuple. Send the QoS configuration information, the entry sequence number used by the current media stream, the media stream quintuple and the identifier of the media content to the session management functional entity.

步骤605,会话管理功能实体根据媒体流五元组识别出当前的QoS流标识,并将QoS配置信息、当前媒体流使用的条目序号、当前的QoS流标识发送给无线接入网络实体。Step 605, the session management function entity identifies the current QoS flow ID according to the media stream quintuple, and sends the QoS configuration information, the entry number used by the current media stream, and the current QoS flow ID to the radio access network entity.

步骤606,无线接入网络实体根据当前的QoS流标识和QoS配置信息对本地的QoS参数进行配置,并为对应的媒体流应用当前媒体流使用的条目序号所指向的QoS配置条目。Step 606, the radio access network entity configures local QoS parameters according to the current QoS flow identifier and QoS configuration information, and applies the QoS configuration entry pointed to by the entry number used by the current media flow to the corresponding media flow.

步骤607,当无线接入网络实体发现无线网络出现异常,导致当前的QoS流标识指向的媒体流的QoS参数不能得到满足时,选出下一个可满足的QoS配置条目序号,即目标QoS配置参数。Step 607, when the wireless access network entity finds that the wireless network is abnormal, causing the QoS parameters of the media flow pointed to by the current QoS flow identifier to be unsatisfied, select the next satisfying QoS configuration entry sequence number, that is, the target QoS configuration parameter .

步骤608,无线接入网络实体向会话管理功能实体发送选出目标QoS配置参数和对应的QoS流标识。Step 608, the radio access network entity sends the selected target QoS configuration parameters and the corresponding QoS flow identifier to the session management function entity.

步骤609,会话管理功能实体根据QoS流标识找到对应的媒体内容标识,通过网络功能开放实体向媒体服务器发送修改媒体内容标识指向的媒体内容的编码格式,即目标QoS配置条目序号。Step 609, the session management functional entity finds the corresponding media content ID according to the QoS flow ID, and sends the code format of the media content pointed to by the modified media content ID to the media server through the network function opening entity, that is, the sequence number of the target QoS configuration entry.

步骤610,媒体服务器根据会话管理功能实体的指示,为媒体流五元组对应的媒体流更换新的编码格式,即按照目标QoS配置条目序号为媒体流更换新的编码格式。Step 610, the media server replaces the media stream with a new encoding format for the media stream corresponding to the media stream quintuple according to the instruction of the session management function entity, that is, replaces the media stream with a new encoding format for the media stream according to the sequence number of the target QoS configuration entry.

步骤611,无线接入网络按照目标编码格式传输媒体流。Step 611, the wireless access network transmits the media stream according to the target coding format.

需要说明的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施方式中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It should be noted that all the modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, or a part of a physical unit, or multiple physical units combination is realized. In addition, in order to highlight the innovative part of the present application, units that are not closely related to solving the technical problems proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.

本实施例还提供一种电子设备,包括一个或多个处理器;存储装置,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本实施例提供的音视频流传输方法,为避免重复描述,在此不再赘述音视频流传输方法的具体步骤。This embodiment also provides an electronic device, including one or more processors; a storage device, on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, The one or more processors are made to implement the method for transmitting audio and video streams provided in this embodiment. In order to avoid repeated descriptions, the specific steps of the method for transmitting audio and video streams are not repeated here.

本实施例还提供一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现本实施例提供的音视频流传输方法,为避免重复描述,在此不再赘述音视频流传输方法的具体步骤。This embodiment also provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the audio and video stream transmission method provided by this embodiment is implemented. To avoid repeated descriptions, the audio and video streams will not be repeated here Concrete steps of the video stream transmission method.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本实施例的范围之内并且形成不同的实施例。Those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the embodiments. and form different embodiments.

可以理解的是,以上实施方式仅仅是为了说明本申请的原理而采用的示例性实施方式,然而本申请并不局限于此。对于本领域内的普通技术人员而言,在不脱离本申请的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本申请的保护范围。It can be understood that the above implementations are only exemplary implementations adopted to illustrate the principles of the present application, but the present application is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the application, and these modifications and improvements are also regarded as the protection scope of the application.

Claims (9)

1.一种音视频流传输方法,应用于媒体服务器,其特征在于,所述方法包括:1. A method for transmitting audio and video streams, which is applied to a media server, is characterized in that the method comprises: 向无线网络发送媒体流配置参数,其中,所述媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式;所述服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系;Send media flow configuration parameters to the wireless network, wherein the media flow configuration parameters include the quality of service QoS configuration table of the media content and the current encoding format that the user is using; the quality of service QoS configuration table includes entry serial number, encoding format and QoS Correspondence of parameters; 接收无线网络确定的目标QoS配置参数;其中,所述目标QoS配置参数是无线网络基于媒体流的传输质量确定的,所述无线网络将所述目标QoS配置参数发送至会话管理功能实体,以供所述会话管理功能实体基于所述目标QoS配置参数中的服务质量流标识确定正在传输的媒体内容的标识及对应的目标条目序号;所述会话管理功能实体通过网络功能开放实体将所述媒体内容的标识及对应的所述目标条目序号发送给所述媒体服务器,所述目标QoS配置参数包括目标条目序号;receiving target QoS configuration parameters determined by the wireless network; wherein the target QoS configuration parameters are determined by the wireless network based on the transmission quality of the media stream, and the wireless network sends the target QoS configuration parameters to the session management function entity for The session management function entity determines the identifier of the media content being transmitted and the corresponding target entry sequence number based on the quality of service flow identifier in the target QoS configuration parameter; the session management function entity sends the media content to the network function opening entity and the corresponding target entry serial number are sent to the media server, and the target QoS configuration parameters include the target entry serial number; 将所述媒体流的当前编码格式调整为目标条目序号对应的目标编码格式,并按照所述目标编码格式传输媒体内容。Adjust the current encoding format of the media stream to the target encoding format corresponding to the target entry number, and transmit the media content according to the target encoding format. 2.根据权利要求1所述的方法,其特征在于,所述媒体流配置参数还包括用户标识、所述媒体流的五元组以及媒体内容标识。2. The method according to claim 1, wherein the media stream configuration parameters further include a user identifier, a quintuple of the media stream, and a media content identifier. 3.根据权利要求1所述的方法,其特征在于,所述目标QoS配置参数包括条目序号及对应的服务质量流标识QFI。3. The method according to claim 1, wherein the target QoS configuration parameters include an entry sequence number and a corresponding quality of service flow identifier (QFI). 4.一种音视频流传输方法,应用于网络侧,其特征在于,所述方法包括:4. A method for transmitting audio and video streams, applied to the network side, characterized in that the method comprises: 监测当前用户使用的媒体流的传输质量,获得监测结果;Monitor the transmission quality of the media stream used by the current user and obtain the monitoring results; 当所述监测结果为无线网络的传输能力与所述媒体流的实际传输需求不匹配时,获取与所述无线网络传输能力相匹配的目标QoS配置参数;When the monitoring result is that the transmission capability of the wireless network does not match the actual transmission requirement of the media stream, acquiring target QoS configuration parameters that match the transmission capability of the wireless network; 将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数将编码格式变更为目标编码格式;Send the target QoS configuration parameters to the media server, so that the media server can change the encoding format to the target encoding format according to the target QoS configuration parameters; 接收媒体服务器发送的按照所述目标编码格式传输媒体流;所述将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数传输媒体内容,包括:Receiving the media stream sent by the media server according to the target encoding format; sending the target QoS configuration parameters to the media server for the media server to transmit media content according to the target QoS configuration parameters, including: 将所述目标QoS配置参数发送至会话管理功能实体,以供所述会话管理功能实体基于所述目标QoS配置参数中的服务质量流标识确定正在传输的媒体内容的标识及对应的目标条目序号;Sending the target QoS configuration parameter to the session management function entity, so that the session management function entity determines the identifier of the media content being transmitted and the corresponding target entry sequence number based on the service quality flow identifier in the target QoS configuration parameter; 所述会话管理功能实体通过网络功能开放实体将所述媒体内容的标识及对应的所述目标条目序号发送给所述媒体服务器,以供所述媒体服务器按照所述目标条目序号对应的目标编码格式传输媒体内容。The session management function entity sends the identifier of the media content and the corresponding target entry number to the media server through the network function opening entity, so that the media server can follow the target encoding format corresponding to the target entry number Transfer media content. 5.根据权利要求4所述的方法,其特征在于,所述监测当前用户使用的媒体流的传输质量,获得监测结果之前,还包括:5. The method according to claim 4, wherein the monitoring of the transmission quality of the media stream used by the current user, before obtaining the monitoring result, further includes: 接收所述媒体服务器发送的正在使用无线网络的用户标识、媒体流的五元组、媒体内容的标识、媒体内容的配置表以及所述媒体流使用的当前条目序号。Receive the user identifier using the wireless network, the quintuple of the media stream, the identifier of the media content, the configuration table of the media content and the current entry number used by the media stream sent by the media server. 6.根据权利要求4所述的方法,其特征在于,当所述监测结果为无线网络的传输能力无法满足所述媒体流的实际传输需求时,所述接收媒体服务器发送的按照所述目标编码格式传输媒体流之后,还包括:6. The method according to claim 4, characterized in that, when the monitoring result shows that the transmission capability of the wireless network cannot meet the actual transmission requirements of the media stream, the receiving media server sends the code according to the target After the format transmits the media stream, it also includes: 接收媒体服务器以所述目标编码格式传输的媒体流;receiving the media stream transmitted by the media server in the target encoding format; 将QoS配置参数调整为所述目标编码格式对应的QoS配置参数,并按照调整后的QoS配置参数传输所述媒体流。Adjusting the QoS configuration parameters to the QoS configuration parameters corresponding to the target encoding format, and transmitting the media stream according to the adjusted QoS configuration parameters. 7.根据权利要求4所述的方法,其特征在于,当所述监测结果为无线网络的传输能力超过所述媒体流的实际传输需求时,所述接收媒体服务器发送的按照所述目标编码格式传输媒体流之前,还包括:7. The method according to claim 4, characterized in that, when the monitoring result shows that the transmission capacity of the wireless network exceeds the actual transmission demand of the media stream, the received media server sends the code according to the target encoding format Before streaming, also include: 将QoS配置参数调整为所述目标编码格式对应的QoS配置参数,并按照调整后的QoS配置参数传输所述媒体流。Adjusting the QoS configuration parameters to the QoS configuration parameters corresponding to the target encoding format, and transmitting the media stream according to the adjusted QoS configuration parameters. 8.一种媒体服务器,其特征在于,包括:8. A media server, characterized in that, comprising: 发送模块,用于向无线网络发送媒体流配置参数,其中,所述媒体流配置参数包括媒体内容的服务质量QoS配置表和用户正在使用的当前编码格式;所述服务质量QoS配置表包括条目序号、编码格式和QoS参数的对应关系;A sending module, configured to send media stream configuration parameters to the wireless network, wherein the media stream configuration parameters include a quality of service QoS configuration table of media content and the current encoding format that the user is using; the quality of service QoS configuration table includes an entry sequence number , the corresponding relationship between the encoding format and the QoS parameter; 接收模块,用于接收无线网络确定的目标QoS配置参数;其中,所述目标QoS配置参数是无线网络基于媒体流的传输质量确定的,所述无线网络将所述目标QoS配置参数发送至会话管理功能实体,以供所述会话管理功能实体基于所述目标QoS配置参数中的服务质量流标识确定正在传输的媒体内容的标识及对应的目标条目序号;所述会话管理功能实体通过网络功能开放实体将所述媒体内容的标识及对应的所述目标条目序号发送给所述媒体服务器,所述目标QoS配置参数包括目标条目序号;The receiving module is configured to receive the target QoS configuration parameters determined by the wireless network; wherein, the target QoS configuration parameters are determined by the wireless network based on the transmission quality of the media stream, and the wireless network sends the target QoS configuration parameters to the session management A functional entity for the session management functional entity to determine the identifier of the media content being transmitted and the corresponding target entry sequence number based on the service quality flow identifier in the target QoS configuration parameter; the session management functional entity uses the network function opening entity Send the identifier of the media content and the corresponding target entry serial number to the media server, and the target QoS configuration parameters include the target entry serial number; 调整模块,用于将所述媒体流的当前编码格式调整为目标条目序号对应的目标编码格式;An adjustment module, configured to adjust the current encoding format of the media stream to the target encoding format corresponding to the target entry number; 传输模块,用于按照所述目标编码格式传输媒体内容。A transmission module, configured to transmit media content according to the target encoding format. 9.一种无线接入网实体,其特征在于,包括:9. A radio access network entity, characterized in that, comprising: 监测模块,用于监测当前用户使用的媒体流的传输质量,获得监测结果;The monitoring module is used to monitor the transmission quality of the media stream used by the current user and obtain the monitoring result; 获取模块,用于当所述监测结果为无线网络的传输能力与所述媒体流的实际传输需求不匹配时,获取与所述无线网络传输能力相匹配的目标QoS配置参数;An acquisition module, configured to acquire target QoS configuration parameters that match the transmission capabilities of the wireless network when the monitoring result is that the transmission capabilities of the wireless network do not match the actual transmission requirements of the media stream; 发送模块,用于将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数将编码格式变更为目标编码格式;A sending module, configured to send the target QoS configuration parameters to a media server, so that the media server can change the encoding format to a target encoding format according to the target QoS configuration parameters; 所述将所述目标QoS配置参数发送至媒体服务器,以供所述媒体服务器按照所述目标QoS配置参数传输媒体内容,包括:The sending the target QoS configuration parameters to the media server for the media server to transmit media content according to the target QoS configuration parameters includes: 将所述目标QoS配置参数发送至会话管理功能实体,以供所述会话管理功能实体基于所述目标QoS配置参数中的服务质量流标识确定正在传输的媒体内容的标识及对应的目标条目序号;Sending the target QoS configuration parameter to the session management function entity, so that the session management function entity determines the identifier of the media content being transmitted and the corresponding target entry sequence number based on the service quality flow identifier in the target QoS configuration parameter; 所述会话管理功能实体通过网络功能开放实体将所述媒体内容的标识及对应的所述目标条目序号发送给所述媒体服务器,以供所述媒体服务器按照所述目标条目序号对应的目标编码格式传输媒体内容;The session management function entity sends the identifier of the media content and the corresponding target entry number to the media server through the network function opening entity, so that the media server can follow the target encoding format corresponding to the target entry number transmit media content; 接收模块,用于接收媒体服务器发送的按照所述目标编码格式传输媒体流。The receiving module is configured to receive the media stream transmitted by the media server according to the target encoding format.
CN202011062843.6A 2020-09-30 2020-09-30 Audio and video stream transmission method, media server and wireless access network entity Active CN112188239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011062843.6A CN112188239B (en) 2020-09-30 2020-09-30 Audio and video stream transmission method, media server and wireless access network entity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011062843.6A CN112188239B (en) 2020-09-30 2020-09-30 Audio and video stream transmission method, media server and wireless access network entity

Publications (2)

Publication Number Publication Date
CN112188239A CN112188239A (en) 2021-01-05
CN112188239B true CN112188239B (en) 2022-12-20

Family

ID=73949234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011062843.6A Active CN112188239B (en) 2020-09-30 2020-09-30 Audio and video stream transmission method, media server and wireless access network entity

Country Status (1)

Country Link
CN (1) CN112188239B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105531968A (en) * 2013-09-11 2016-04-27 思科技术公司 Adaptive network-based rate limiting
CN107734550A (en) * 2016-08-12 2018-02-23 中国移动通信有限公司研究院 A kind of information transferring method, device, system and relevant device
CN107800665A (en) * 2016-08-31 2018-03-13 华为技术有限公司 Multimedia transmission method, access network equipment and terminal
CN108028946A (en) * 2015-09-15 2018-05-11 华为技术有限公司 Method of adjustment, system and the relevant device of media auto-adaptive parameter

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2550259A1 (en) * 2000-03-24 2001-10-04 Dategrity Corporation Verifiable, secret shuffles of encrypted data, such as elgamal encrypted data for secure multi-authority elections
CN101068236B (en) * 2007-04-13 2011-10-26 华为技术有限公司 Streaming media bit rate control method, system and equipment
CN101094406B (en) * 2007-07-23 2010-09-29 北京中星微电子有限公司 Method and device for transferring video data stream
CN101127875B (en) * 2007-09-13 2012-01-04 深圳市融创天下科技股份有限公司 An audience interaction method for broadcasting video stream media program
US9942580B2 (en) * 2011-11-18 2018-04-10 At&T Intellecutal Property I, L.P. System and method for automatically selecting encoding/decoding for streaming media
CN102624712B (en) * 2012-02-28 2015-03-25 大唐移动通信设备有限公司 Method for optimizing quality of service of wireless streaming media and device
CN103338150B (en) * 2013-07-19 2016-06-15 中国人民解放军信息工程大学 Communication network architecture method for building up, device, server and router
KR101647938B1 (en) * 2016-03-08 2016-08-11 (주)아크로비젼 Method and System for Providing Media Streaming By Interworking Heterogeneous Network through a Mobile Communication Network
CN106060605B (en) * 2016-05-25 2019-03-26 清华大学深圳研究生院 A kind of live stream adaptive approach and system based on CDN
CN107770633B (en) * 2017-09-14 2020-09-29 华为技术有限公司 Code rate adaptive algorithm optimization system, method and terminal
CN110086746A (en) * 2018-01-25 2019-08-02 中兴通讯股份有限公司 Fusion device media control method, device, conversation controller and communication terminal
CN109040801B (en) * 2018-07-19 2019-07-09 北京达佳互联信息技术有限公司 Media rate adaptation method, device, computer equipment and storage medium
CN109218759A (en) * 2018-09-27 2019-01-15 广州酷狗计算机科技有限公司 Push method, apparatus, server and the storage medium of Media Stream

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105531968A (en) * 2013-09-11 2016-04-27 思科技术公司 Adaptive network-based rate limiting
CN108028946A (en) * 2015-09-15 2018-05-11 华为技术有限公司 Method of adjustment, system and the relevant device of media auto-adaptive parameter
CN107734550A (en) * 2016-08-12 2018-02-23 中国移动通信有限公司研究院 A kind of information transferring method, device, system and relevant device
CN107800665A (en) * 2016-08-31 2018-03-13 华为技术有限公司 Multimedia transmission method, access network equipment and terminal

Also Published As

Publication number Publication date
CN112188239A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US20240348517A1 (en) Packet signature based quality of service (qos) classification
EP4132213B1 (en) Method for controlling media streaming service transmission, user terminal, network node, system, storage medium, and electronic device
CN103875304B (en) Wireless telecom equipment and the method that content is retrieved by wireless telecom equipment
CN113784396B (en) Data processing method, device and readable storage medium
US6888807B2 (en) Applying session services based on packet flows
CN116349289A (en) Data processing method and device, storage medium
JP2021510278A (en) Methods, network elements, and systems for determining network quality of service flow
US8838156B2 (en) Multi-bearer rate control for transporting user plane data
CN107743698A (en) Method and apparatus for multipath media delivery
US10349303B2 (en) Optimization of data delivery in mobile networks
EP4131808A1 (en) Method for controlling media stream service transmission, electronic device, user terminal, network node, system, and storage medium
WO2023035895A1 (en) Data processing method, device, readable storage medium, and program product
US8774207B2 (en) Methods for bearer reservation, maintenance, and use in a communication system
US20120102162A1 (en) Dynamic bandwidth adjustment for multiple service support
US20140379933A1 (en) Handling of auxiliary nas
EP2348730B1 (en) Method, device and system for video stream transmission
CN112188239B (en) Audio and video stream transmission method, media server and wireless access network entity
CN118803741A (en) Business transmission method, network function and storage medium
US11627358B2 (en) Communication entity and a method for transmitting a video data stream
CN105210347A (en) Monitoring server, parsing server, request device and node selection method
US20240137802A1 (en) Transmission method, apparatus, device, and storage medium
US20180324231A1 (en) Multicast adaptive bitrate channel selection in access networks
US11283722B2 (en) Packet prioritization for frame generation
CN120614654A (en) Data processing method, device, core network equipment, storage medium and program product
CN120710999A (en) Multiplexed data stream processing method, device, communication equipment and storage medium

Legal Events

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