CN101127697A - Flow control method and system under the framework of separation of media control and processing - Google Patents
Flow control method and system under the framework of separation of media control and processing Download PDFInfo
- Publication number
- CN101127697A CN101127697A CNA2006101211306A CN200610121130A CN101127697A CN 101127697 A CN101127697 A CN 101127697A CN A2006101211306 A CNA2006101211306 A CN A2006101211306A CN 200610121130 A CN200610121130 A CN 200610121130A CN 101127697 A CN101127697 A CN 101127697A
- Authority
- CN
- China
- Prior art keywords
- decoding
- encoding
- media
- media stream
- processing device
- 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.)
- Pending
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
本发明涉及通信领域,公开了一种媒体控制与处理分离构架下的流控方法及其系统,使得CS网络质量较差时业务不会被中断。本发明中,如果CS侧要求的最高速率低于媒体流当前编解码的最低速率,则根据CS侧要求更新媒体流的编解码。在H.245消息包中增加选择编解码值的事件描述符和观测事件描述符。可以由媒体处理设备或媒体控制设备为媒体流选择编解码,并通知相关设备为该媒体流修改编解码。也可以通过双向关闭媒体控制设备与CS侧之间原先的逻辑通道,再为该媒体流开启新的逻辑通道,触发相关设备为该媒体流重新协商新的编解码。
The invention relates to the field of communication, and discloses a flow control method and system under the framework of separation of media control and processing, so that the service will not be interrupted when the quality of the CS network is poor. In the present invention, if the highest rate required by the CS side is lower than the lowest rate of the current codec of the media stream, the codec of the media stream is updated according to the requirement of the CS side. In the H.245 message packet, the event descriptor and the observation event descriptor for selecting the codec value are added. The media processing device or the media control device may select a codec for the media stream, and notify related devices to modify the codec for the media stream. It is also possible to bidirectionally close the original logical channel between the media control device and the CS side, and then open a new logical channel for the media stream, triggering related devices to renegotiate a new codec for the media stream.
Description
技术领域 technical field
本发明涉及通信领域,特别涉及媒体控制与处理分离构架下的流控技术。The invention relates to the communication field, in particular to the flow control technology under the framework of separation of media control and processing.
背景技术 Background technique
传统网络是基于时分多路复用(Time Division Multiplexing,简称“TDM”)的公用电话交换网(Public Switched Telephone Network,简称“PSTN”)话音网,以电路交换(Circuits Switch,简称“CS”)为主,当初主要是为了传输语音、保证语音质量、承担语音业务而设计建造的,其业务和控制都由交换机完成。The traditional network is based on Time Division Multiplexing (Time Division Multiplexing, referred to as "TDM") public switched telephone network (Public Switched Telephone Network, referred to as "PSTN") voice network, with circuit switching (Circuits Switch, referred to as "CS") Mainly, it was originally designed and constructed for transmitting voice, ensuring voice quality, and undertaking voice services, and its services and controls are completed by switches.
随着通信技术的不断发展,互联网、移动通信网以及固定电话通信网的各种业务不断渗透和融合,出现了诸如网间互联协议(Internet Protocol,简称“IP”)电话、无线应用协议(Wireless Application Protocol,简称“WAP”)以及视频会议等新兴业务类型。With the continuous development of communication technology, various services of the Internet, mobile communication network, and fixed-line communication network continue to infiltrate and merge. Application Protocol, referred to as "WAP") and video conferencing and other emerging business types.
为了提高了网络传输速率,丰富了网络业务种类,新一代的网络构架将媒体控制设备和媒体处理设备相分离,如图1所示。由媒体控制设备完成呼叫控制,并指示媒体处理设备操作媒体资源。媒体处理设备提供媒体资源,并按照媒体控制设备的指示操作媒体资源。媒体控制设备和媒体处理设备之间通过媒体控制协议进行交互,如H.248协议。媒体控制设备包括但不限于媒体网关控制器(Media Gateway Controller,简称“MGC”)、移动业务交换中心(Mobile services Switching Center,简称“MSC”)服务器、和多媒体资源功能控制器(Multimedia Resource Function Controller,简称“MRFC”)等,媒体处理设备包括但不限于媒体网关(Media GateWay,简称“MGW”)和多媒体资源功能处理器(Multimedia Resource Function Processor,简称“MRFP”)等。In order to increase the network transmission rate and enrich the types of network services, the new-generation network architecture separates the media control device from the media processing device, as shown in Figure 1. The media control device completes call control and instructs the media processing device to operate media resources. The media processing device provides media resources and operates the media resources according to the instructions of the media control device. The media control device and the media processing device interact through a media control protocol, such as the H.248 protocol. Media control devices include but are not limited to Media Gateway Controller (Media Gateway Controller, "MGC"), Mobile Services Switching Center (Mobile services Switching Center, "MSC") server, and Multimedia Resource Function Controller (Multimedia Resource Function Controller) , referred to as "MRFC"), etc. Media processing equipment includes but is not limited to Media Gateway (Media GateWay, referred to as "MGW") and Multimedia Resource Function Processor (Multimedia Resource Function Processor, referred to as "MRFP").
下面对媒体控制设备和媒体处理设备之间采用的媒体控制协议,H.248协议,以及CS网络采用的多媒体通信控制协议H.245协议进行介绍。The media control protocol adopted between the media control device and the media processing device, the H.248 protocol, and the multimedia communication control protocol H.245 protocol adopted by the CS network are introduced below.
H.248协议是国际电信联盟标准部(International TelecommunicationUnion Telecommunication Standardization Sector,简称“ITU-T”)SG 16标准组织定义的,专门用于媒体资源控制的协议。The H.248 protocol is defined by the International Telecommunication Union Telecommunication Standardization Sector ("ITU-T" for short) SG 16 standard organization, and is a protocol specially used for media resource control.
H.248协议的基本原理是:把媒体处理设备上的各种资源抽象为网络,该网络又分为物理网络和临时网络。物理网络代表一些具有半永久存在性的物理实体,如TDM时隙;临时网络代表临时申请使用后释放的公共资源,如实时传输协议(RealTime Transfer Protocol,简称“RTP”)流。网络之间的组合被抽象为上下文,用拓扑来描述网络之间的关系。基于这些抽象,呼叫接续实际上是对网络和上下文的操作,通过媒体控制设备和媒体处理设备之间的命令请求和响应来完成,命令包括增加、修改、删除、通知等;命令参数称为描述符,包括属性(Property)、信号(Signal)、事件(Event)、统计(Statistic),具有业务相关性的参数逻辑上被聚合为一个包(Package)。包是H.248协议提供的扩展协议功能的方法。H.248协议通过包来扩展协议的功能,向协议中增加新的功能,一般不需要修改协议本体,而只需定义新的包(Package)。一个包可以看成是一个独立特性的封装,当媒体处理设备声称支持这个包时,也就等于它支持这个特性,媒体控制设备可以使用包中定义的属性、事件、信号、统计,来操作媒体处理设备上的媒体资源,实现对应的业务逻辑。The basic principle of the H.248 protocol is to abstract various resources on the media processing device into a network, which is further divided into a physical network and a temporary network. The physical network represents some semi-permanent physical entities, such as TDM time slots; the temporary network represents the public resources released after temporary application and use, such as RealTime Transfer Protocol (RealTime Transfer Protocol, referred to as "RTP") flow. The combination of networks is abstracted as context, and topology is used to describe the relationship between networks. Based on these abstractions, call connection is actually an operation on the network and context, and is completed through command requests and responses between the media control device and the media processing device. Commands include addition, modification, deletion, notification, etc.; command parameters are called descriptions Symbols, including properties (Property), signals (Signal), events (Event), statistics (Statistic), parameters with business relevance are logically aggregated into a package (Package). A packet is a method provided by the H.248 protocol to extend protocol functions. The H.248 protocol expands the functions of the protocol through the package, and adds new functions to the protocol. Generally, it is not necessary to modify the protocol body, but only need to define a new package (Package). A package can be regarded as an encapsulation of an independent feature. When a media processing device claims to support this package, it means that it supports this feature. The media control device can use the properties, events, signals, and statistics defined in the package to operate the media. Process the media resources on the device and implement the corresponding business logic.
H.245协议是ITU-T制定的多媒体通信的控制协议。The H.245 protocol is a control protocol for multimedia communication formulated by ITU-T.
H.245协议定义了在通讯开始或通讯过程中进行带内协商时使用的一系列过程,利用这些过程来实现:交换语音、视频以及数据能力;请求传输特殊的语音、视频或者数据模式;管理用来传输语音、视频以及数据信息的逻辑通道;进行主从确定;传送各种控制和指示信号;控制单个逻辑通道或者整个复用的比特率;以及计算环回时延。The H.245 protocol defines a series of procedures used for in-band negotiation at the beginning of the communication or during the communication process. These procedures are used to realize: exchanging voice, video and data capabilities; requesting the transmission of special voice, video or data modes; management Logical channels used to transmit voice, video, and data information; perform master-slave determination; transmit various control and indication signals; control the bit rate of a single logical channel or the entire multiplex; and calculate the loopback delay.
H.245协议还定义了网络消息的语法和语义。这些消息覆盖了接收和发送能力、接收端的模式优先、逻辑通道信令、控制和指示等。采用应答信令过程以保证可靠的音视频和数据通讯。The H.245 protocol also defines the syntax and semantics of network messages. These messages cover receiving and sending capabilities, mode priority at the receiving end, logical channel signaling, control and indication, etc. Response signaling process is adopted to ensure reliable audio, video and data communication.
H.245协议包括Command类消息,用于呼叫建立后,要求对端按照本端的命令执行某种操作。Command类消息包括“flow control command”消息。用于在呼叫建立后,本端网络质量改变时通知对端,要求对端对发送到本端的某个媒体流或者整个复用流的比特率进行流控。The H.245 protocol includes Command messages, which are used to request the peer end to perform certain operations according to the commands of the local end after the call is established. Command class messages include "flow control command" messages. It is used to notify the peer end when the network quality of the local end changes after the call is established, and requires the peer end to control the bit rate of a certain media stream or the entire multiplexed stream sent to the local end.
为了使现有的CS业务能够在未来的IP网络中延续,第三代移动通信合作伙伴项目(3rd Generation Partnership Project,简称“3GPP”)在R5/R6标准提出了基于IP的多媒体子系统(IP based Multimedia Subsystem,简称“IMS”),IMS是专门为下一代全IP的多媒体移动网络设计的系统,着眼于用IP网络承载移动多媒体业务,3GPP规范引入了IMS这一概念,主要是希望通过IP的形式提供传统的CS服务(如语音服务),以及希望通过这个IMS系统实现向用户提供的所有多媒体服务。IMS采用IP分组域作为其控制信令和媒体传输的承载通道,采用会话发起协议(Session Initiation Protocol,简称“SIP”)作为呼叫控制信令,建立、保持和终止语音及多媒体进程,实现了业务管理、会话控制及承载接入的三者分离。In order to enable the existing CS service to continue in the future IP network, the 3rd Generation Partnership Project (3rd Generation Partnership Project, referred to as "3GPP") proposed an IP-based multimedia subsystem (IP based Multimedia Subsystem, referred to as "IMS"), IMS is a system specially designed for the next-generation all-IP multimedia mobile network, focusing on using IP networks to carry mobile multimedia services. The 3GPP specification introduces the concept of IMS, mainly hoping to Provide traditional CS services (such as voice services) in the form of IMS, and hope to realize all multimedia services provided to users through this IMS system. IMS uses the IP packet domain as the bearer channel for its control signaling and media transmission, and uses the Session Initiation Protocol (SIP) as the call control signaling to establish, maintain and terminate voice and multimedia processes, realizing business Management, session control, and bearer access are separated.
IMS与CS网络建立多媒体会话时,需要通过媒体控制设备和媒体处理设备完成IMS网络与CS网络之间信令互通和用户数据互通。一般IMS网络采用SIP协议作为控制信令,CS网络采用H.245协议作为多媒体通信控制协议。其中,IMS网络的SIP控制信令在媒体控制设备终结,CS网络的H.245媒体控制信令可以在媒体控制设备终结也可以在媒体处理设备终结。When establishing a multimedia session between the IMS and the CS network, signaling intercommunication and user data intercommunication between the IMS network and the CS network need to be completed through a media control device and a media processing device. Generally, the IMS network uses the SIP protocol as the control signaling, and the CS network uses the H.245 protocol as the multimedia communication control protocol. Wherein, the SIP control signaling of the IMS network is terminated at the media control device, and the H.245 media control signaling of the CS network can be terminated at the media control device or at the media processing device.
一般的,IMS与CS网络多媒体会话建立时,需要经过以下过程:Generally, the establishment of a multimedia session between the IMS and the CS network requires the following procedures:
1)、IMS与媒体控制设备之间通过控制协议,如SIP协议,建立通信;1) Establish communication between the IMS and the media control device through a control protocol, such as the SIP protocol;
2)、媒体控制设备通过媒体控制协议,如H.248协议,要求媒体处理设备为IMS端点预留媒体资源;2), the media control device requires the media processing device to reserve media resources for the IMS endpoint through a media control protocol, such as the H.248 protocol;
3)、媒体控制设备通过媒体控制协议,如H.248协议,要求媒体处理设备为CS端点预留媒体资源;3), the media control device requires the media processing device to reserve media resources for the CS endpoint through a media control protocol, such as the H.248 protocol;
4)、在媒体处理设备终结H.245消息时,媒体处理设备打开媒体处理设备到CS的单向逻辑通道,CS打开CS到媒体处理设备的单向逻辑通道;在媒体控制设备终结H.245消息时,媒体控制设备打开媒体控制设备到CS的单向逻辑通道,CS打开CS到媒体控制设备的单向逻辑通道。4), when the media processing device terminates the H.245 message, the media processing device opens the one-way logical channel from the media processing device to the CS, and the CS opens the one-way logical channel from the CS to the media processing device; the media control device terminates the H.245 When receiving a message, the media control device opens a one-way logical channel from the media control device to the CS, and the CS opens a one-way logical channel from the CS to the media control device.
IMS与CS多媒体会话中,当CS网络质量降低时,为了保证传输质量,CS侧将对接收到的媒体流进行流控,通过H.245协议的“flow controlcommand”流控消息要求对端降低该媒体流的发送速率。In the multimedia session between IMS and CS, when the quality of the CS network decreases, in order to ensure the transmission quality, the CS side will perform flow control on the received media stream, and the "flow control command" flow control message of the H. The sending rate of the media stream.
根据H.245消息在媒体处理设备和在媒体控制设备终结的不同情况,对媒体流进行流控时也有两种不同的处理。According to the different conditions of the termination of the H.245 message in the media processing device and the media control device, there are two different processes for flow control of the media stream.
H.245协议的“flow control command”消息在媒体处理设备终结的情况:When the "flow control command" message of the H.245 protocol is terminated in the media processing device:
多媒体会话建立后,当CS网络质量降低时,CS侧向媒体处理设备发送H.245的“flow control command”消息,用于限定远端单个逻辑通道或者整个复用逻辑通道的比特率上限。媒体处理设备将该消息通过媒体控制协议,如H.248.12,上报给媒体控制设备。媒体控制设备接收到CS侧发送的“flowcontrol command”消息后,根据“flow control command”消息中包含的逻辑通道中媒体流比特率上限,要求媒体处理设备修改CS复用端点和IMS端点该媒体流的比特率上限。媒体处理设备根据媒体控制设备的指示,对媒体流进行流控,后续业务不受影响。在CS侧对该媒体流限定的最高比特率低于媒体处理设备发送该媒体流到CS侧的最低比特率时,媒体处理设备停止传送该媒体流。After the multimedia session is established, when the quality of the CS network decreases, the CS side sends the H.245 "flow control command" message to the media processing device to limit the upper limit of the bit rate of a single logical channel or the entire multiplexed logical channel at the remote end. The media processing device reports the message to the media control device through a media control protocol, such as H.248.12. After receiving the "flowcontrol command" message sent by the CS side, the media control device requires the media processing device to modify the media stream at the CS multiplexing endpoint and IMS endpoint according to the upper limit of the bit rate of the media stream in the logical channel contained in the "flow control command" message. bitrate cap. The media processing device performs flow control on the media stream according to the instructions of the media control device, and subsequent services are not affected. When the highest bit rate defined by the CS side for the media stream is lower than the lowest bit rate for the media processing device to send the media stream to the CS side, the media processing device stops transmitting the media stream.
H.245协议的“flow control command”消息在媒体控制设备终结的情况:When the "flow control command" message of the H.245 protocol is terminated in the media control device:
多媒体会话建立后,当CS网络质量降低时,CS侧向媒体控制设备发送H.245协议的“flow control command”消息,用于限定远端单个逻辑通道或者整个复用逻辑通道的比特率上限。媒体控制设备接收到CS侧发送的“flowcontrol command”消息后,根据“flow control command”消息中包含的逻辑通道中媒体流比特率上限,要求媒体处理设备修改CS复用端点和IMS端点媒体流的比特率上限。媒体处理设备根据媒体控制设备的指示,对媒体流进行流控,后续业务不受影响。在CS侧对该媒体流限定的最高比特率低于媒体处理设备发送该媒体流到CS侧的最低比特率时,媒体控制设备要求媒体处理设备停止传送该媒体流。After the multimedia session is established, when the quality of the CS network deteriorates, the CS side sends a "flow control command" message of the H.245 protocol to the media control device to limit the upper limit of the bit rate of a single logical channel or the entire multiplexed logical channel at the remote end. After the media control device receives the "flowcontrol command" message sent by the CS side, according to the upper limit of the media stream bit rate in the logical channel contained in the "flow control command" message, the media processing device is required to modify the CS multiplexing endpoint and the IMS endpoint media stream. bitrate cap. The media processing device performs flow control on the media stream according to the instructions of the media control device, and subsequent services are not affected. When the highest bit rate defined by the CS side for the media stream is lower than the lowest bit rate for the media processing device to send the media stream to the CS side, the media control device requires the media processing device to stop transmitting the media stream.
在实际应用中,存在以下问题:CS网络质量较差时业务可能会被中断。In practical application, there is the following problem: when the quality of the CS network is poor, the service may be interrupted.
造成这种情况的主要原因在于,CS网络在其网络质量较差时,将限定远端单个逻辑通道或者整个复用逻辑通道的传输比特率,在CS侧对媒体流限定的最高比特率低于媒体处理设备发送该媒体流到CS侧的最低比特率时,媒体处理设备会停止该媒体流的传送,导致其业务的中断。The main reason for this situation is that when the network quality of the CS network is poor, the transmission bit rate of a single logical channel or the entire multiplexed logical channel at the remote end is limited, and the maximum bit rate limited for media streams on the CS side is lower than When the media processing device sends the media stream to the lowest bit rate on the CS side, the media processing device will stop the transmission of the media stream, resulting in interruption of its services.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种媒体控制与处理分离构架下的流控方法及其系统,使得CS网络质量较差时业务不会被中断。In view of this, the main purpose of the present invention is to provide a flow control method and system under the framework of separation of media control and processing, so that services will not be interrupted when the quality of the CS network is poor.
为实现上述目的,本发明提供了一种媒体控制与处理分离构架下的流控方法,包含以下步骤:In order to achieve the above object, the present invention provides a flow control method under the framework of separation of media control and processing, comprising the following steps:
如果电路交换CS侧流控要求的最高速率低于媒体流当前编解码的最低速率,则将媒体处理设备到IP多媒体子系统IMS、媒体处理设备到CS侧的媒体流的编解码分别更新为符合所述CS侧流控要求的编解码。If the highest rate required by flow control on the CS side of circuit switching is lower than the lowest rate of the current codec of the media stream, update the codec of the media stream from the media processing device to the IP multimedia subsystem IMS, and from the media processing device to the CS side to comply with The codec required by the flow control on the CS side.
其中,所述更新编解码的步骤包含以下子步骤:Wherein, the step of updating codec includes the following sub-steps:
所述媒体处理设备分别为本端到CS侧和IMS到本端的媒体流选择符合所述CS侧流控要求的第一编解码和第二编解码;The media processing device respectively selects a first codec and a second codec that meet the flow control requirements of the CS side for the media streams from the local end to the CS side and from the IMS to the local end;
所述媒体处理设备通过所述媒体控制设备通知IMS将所述媒体流的编解码修改为第二编解码;The media processing device notifies the IMS through the media control device to modify the codec of the media stream to a second codec;
所述媒体处理设备关闭原先为所述媒体流开启的逻辑通道,再为该媒体流开启新的逻辑通道,在该新的逻辑通道使用第一编解码。The media processing device closes the logical channel originally opened for the media stream, and then opens a new logical channel for the media stream, and uses the first codec on the new logical channel.
此外在所述方法中,所述媒体控制设备通过选择编解码值事件,指示所述媒体处理设备在检测到电路交换CS侧流控要求的最高速率低于媒体流当前编解码的最低速率,且该媒体处理设备能够分别为本端到CS侧和IMS到本端的媒体流选择符合所述CS侧流控要求的第一编解码和第二编解码时,上报相应观测事件并携带选择的编解码。In addition, in the method, the media control device instructs the media processing device to detect that the highest rate required by the CS side flow control is lower than the lowest rate of the current codec of the media stream by selecting the codec value event, and When the media processing device can respectively select the first codec and the second codec that meet the flow control requirements of the CS side for the media stream from the local end to the CS side and the IMS to the local end, report the corresponding observation event and carry the selected codec .
此外在所述方法中,所述更新编解码的步骤包含以下子步骤:In addition, in the method, the step of updating the codec includes the following sub-steps:
所述媒体处理设备分别为本端到CS侧和IMS到本端的媒体流选择符合所述CS侧流控要求的第一编解码和第二编解码的候选集;The media processing device respectively selects a first codec and a second codec candidate set that meet the flow control requirements of the CS side for media streams from the local end to the CS side and from the IMS to the local end;
所述媒体处理设备通过所述媒体控制设备通知IMS第二编解码的候选集,IMS从该候选集中选择一种作为第二编解码,在本端将所述媒体流的编解码修改为第二编解码,并通过所述媒体控制设备通知所述媒体处理设备将IMS端点中所述媒体流的编解码修改为第二编解码;The media processing device notifies the IMS of the candidate set of the second codec through the media control device, and the IMS selects one of the candidate sets from the candidate set as the second codec, and modifies the codec of the media stream to the second codec at the local end. Codec, and notify the media processing device to modify the codec of the media stream in the IMS endpoint to a second codec through the media control device;
所述媒体处理设备关闭原先为所述媒体流开启的逻辑通道,再为该媒体流开启新的逻辑通道,在该新的逻辑通道使用第一编解码。The media processing device closes the logical channel originally opened for the media stream, and then opens a new logical channel for the media stream, and uses the first codec on the new logical channel.
此外在所述方法中,所述更新编解码的步骤包含以下子步骤:In addition, in the method, the step of updating the codec includes the following sub-steps:
所述媒体控制设备分别为媒体处理设备到CS侧和IMS到媒体处理设备的媒体流选择符合所述CS侧流控要求的第一编解码和第二编解码;The media control device respectively selects a first codec and a second codec that meet the flow control requirements of the CS side for the media streams from the media processing device to the CS side and from the IMS to the media processing device;
所述媒体控制设备通知所述媒体处理设备将CS复用端点和IMS端点中所述媒体流的编解码分别修改为第一编解码和第二编解码;The media control device notifies the media processing device to modify the codec of the media stream in the CS multiplexing endpoint and the IMS endpoint to the first codec and the second codec respectively;
所述媒体控制设备关闭原先为所述媒体流开启的逻辑通道,再为该媒体流开启新的逻辑通道,在该新的逻辑通道使用第一编解码;The media control device closes the logical channel originally opened for the media stream, and then opens a new logical channel for the media stream, and uses the first codec on the new logical channel;
所述媒体控制设备通知IMS将所述媒体流的编解码修改为第二编解码。The media control device notifies the IMS to modify the codec of the media stream to the second codec.
此外在所述方法中,所述更新编解码的步骤包含以下子步骤:In addition, in the method, the step of updating the codec includes the following sub-steps:
所述媒体控制设备分别为媒体处理设备到CS侧和IMS到媒体处理设备的媒体流选择符合所述CS侧流控要求的第一编解码和第二编解码的候选集;The media control device respectively selects a first codec and a second codec candidate set that meet the flow control requirements of the CS side for media streams from the media processing device to the CS side and from the IMS to the media processing device;
所述媒体控制设备通知IMS第二编解码的候选集,IMS从该候选集中选择一种作为第二编解码,在本端将所述媒体流的编解码修改为第二编解码,并通知所述媒体控制设备所选的第二编解码;The media control device notifies the IMS of the candidate set of the second codec, and the IMS selects one of the candidate sets as the second codec, modifies the codec of the media stream to the second codec at the local end, and notifies all The second codec selected by the media control device;
所述媒体控制设备通知所述媒体处理设备将CS复用端点和IMS端点中所述媒体流的编解码分别修改为第一编解码和第二编解码;The media control device notifies the media processing device to modify the codec of the media stream in the CS multiplexing endpoint and the IMS endpoint to the first codec and the second codec respectively;
所述媒体控制设备关闭原先为所述媒体流开启的逻辑通道,再为该媒体流开启新的逻辑通道,在该新的逻辑通道使用第一编解码。The media control device closes the logical channel originally opened for the media stream, and then opens a new logical channel for the media stream, and uses the first codec on the new logical channel.
此外在所述方法中,所述CS侧与所述媒体处理设备通过交互,在双向均关闭所述CS侧与所述媒体处理设备之间原先为所述媒体流开启的逻辑通道,再为该媒体流开启新的逻辑通道,触发所述媒体处理设备重新协商新的编解码。In addition, in the method, the CS side and the media processing device interact to close the logical channel originally opened for the media stream between the CS side and the media processing device in both directions, and then for the media stream The media stream opens a new logical channel, triggering the media processing device to renegotiate a new codec.
此外在所述方法中,所述CS侧与所述媒体控制设备通过交互,在双向均关闭所述CS侧与所述媒体处理设备之间原先为所述媒体流开启的逻辑通道,再为该媒体流开启新的逻辑通道,触发所述媒体控制设备重新协商新的编解码。In addition, in the method, the CS side and the media control device interact to close the logical channel originally opened for the media stream between the CS side and the media processing device in both directions, and then for the media stream The media stream opens a new logical channel, triggering the media control device to renegotiate a new codec.
此外在所述方法中,所述媒体控制设备通过SIP消息通知IMS将所述媒体流的编解码修改为第二编解码。In addition, in the method, the media control device notifies the IMS through a SIP message to modify the codec of the media stream to the second codec.
此外在所述方法中,通过H.245命令开启和关闭所述逻辑通道。Furthermore, in the method, the logical channels are opened and closed by H.245 commands.
此外在所述方法中,所述媒体处理设备或媒体控制设备,根据来自所述CS侧的流控命令,判断CS侧流控要求的最高速率是否低于媒体流当前编解码的最低速率。In addition, in the method, the media processing device or media control device judges whether the highest rate required by the CS side for flow control is lower than the lowest rate of the current codec of the media stream according to the flow control command from the CS side.
本发明还提供了一种媒体控制与处理分离构架下的流控系统,包含:The present invention also provides a flow control system under the framework of separation of media control and processing, including:
用于检测CS侧流控要求的最高速率是否低于媒体流当前编解码的最低速率的设备;A device for detecting whether the maximum rate required by the flow control on the CS side is lower than the minimum rate of the current codec of the media stream;
用于在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率时,将媒体处理设备到IMS和媒体处理设备到CS侧的媒体流的编解码分别更新为符合所述CS侧流控要求的编解码的设备。It is used to update the codec of the media stream from the media processing device to the IMS and from the media processing device to the CS side to comply with the CS side when the highest rate required by the flow control on the CS side is lower than the minimum rate of the current codec of the media stream Codec device required by flow control.
通过比较可以发现,本发明的技术方案与现有技术的主要区别在于,如果CS侧要求的最高速率低于媒体流当前编解码的最低速率,则根据CS侧要求更新媒体流的编解码。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。Through comparison, it can be found that the main difference between the technical solution of the present invention and the prior art is that if the highest rate required by the CS side is lower than the minimum rate of the current codec of the media stream, the codec of the media stream is updated according to the CS side requirement. By updating the codec, the media stream can meet the flow control requirements at a rate greater than 0, thereby maintaining service continuity.
通过在H.245消息包中增加选择编解码值的事件描述符和观测事件描述符,使得媒体处理设备可以在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率、并且本端有能力选择符合CS侧流控要求的编解码时,向媒体控制设备上报为本端到CS侧和IMS到本端的媒体流选择的新的编解码。By adding the event descriptor for codec value selection and the observation event descriptor in the H.245 message packet, the media processing device can make the maximum rate required by the flow control on the CS side lower than the minimum rate of the current codec of the media stream, and this When the terminal has the ability to select a codec that meets the flow control requirements of the CS side, it reports to the media control device the new codec selected for the media stream from the local end to the CS side and from the IMS to the local end.
可以由媒体处理设备或媒体控制设备为媒体流选择编解码,并通知相关设备为该媒体流修改编解码。这种方案对相对于现有技术只涉及媒体处理设备和媒体控制设备的改动,能够与现有CS侧设备和IMS设备较好兼容。The media processing device or the media control device may select a codec for the media stream, and notify related devices to modify the codec for the media stream. Compared with the prior art, this solution only involves the modification of the media processing device and the media control device, and can be better compatible with the existing CS side device and IMS device.
媒体处理设备或媒体控制设备可以为IMS选择一个编解码的候选集,由IMS从候选集中选择最适合的编解码。这种方案实质上增加了媒体处理设备或媒体控制设备与IMS之间就新编解码的协商过程,从而可以综合地根据媒体处理设备或媒体控制设备和IMS的实际情况决定最佳的编解码。The media processing device or the media control device may select a codec candidate set for the IMS, and the IMS selects the most suitable codec from the candidate set. This solution substantially increases the negotiation process on the new codec between the media processing device or media control device and the IMS, so that the best codec can be comprehensively determined according to the actual conditions of the media processing device or media control device and the IMS.
也可以由CS侧通过与媒体处理设备或媒体控制设备的交互,在双向均关闭CS侧与媒体处理设备之间原先的逻辑通道,再为该媒体流开启新的逻辑通道,触发为该媒体流重新协商新的编解码。这种方案对媒体处理设备和媒体控制设备的变动较小。It is also possible for the CS side to close the original logical channel between the CS side and the media processing device in both directions by interacting with the media processing device or the media control device, and then open a new logical channel for the media stream to trigger the media stream Renegotiate the new codec. This solution requires less changes to the media processing device and the media control device.
附图说明 Description of drawings
图1是现有技术中媒体控制设备与媒体处理设备分离的示意图;FIG. 1 is a schematic diagram of separation of a media control device and a media processing device in the prior art;
图2是根据本发明第一实施方式的媒体控制与处理分离构架下的流控方法流程图;FIG. 2 is a flowchart of a flow control method under the framework of separation of media control and processing according to the first embodiment of the present invention;
图3是根据本发明第一实施方式的媒体控制与处理分离构架下的流控方法中媒体控制设备与媒体处理设备间的交互示意图;3 is a schematic diagram of interaction between a media control device and a media processing device in a stream control method under a media control and processing separation framework according to a first embodiment of the present invention;
图4是根据本发明第三实施方式的媒体控制与处理分离构架下的流控方法流程图;FIG. 4 is a flowchart of a flow control method under the framework of separation of media control and processing according to the third embodiment of the present invention;
图5是根据本发明第五实施方式的媒体控制与处理分离构架下的流控方法流程图;FIG. 5 is a flowchart of a flow control method under the framework of separation of media control and processing according to the fifth embodiment of the present invention;
图6是根据本发明第七实施方式的媒体控制与处理分离构架下的流控方法流程图。Fig. 6 is a flowchart of a flow control method under the framework of separation of media control and processing according to the seventh embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
本发明的核心在于,在CS侧要求的最高速率低于媒体流当前编解码的最低速率时,根据CS侧要求更新媒体处理设备到IMS、媒体处理设备到CS侧的媒体流的编解码。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。The core of the present invention is that when the highest rate required by the CS side is lower than the lowest rate of the current codec of the media stream, the codec of the media stream from the media processing device to the IMS and from the media processing device to the CS side is updated according to the CS side requirements. By updating the codec, the media stream can meet the flow control requirements at a rate greater than 0, thereby maintaining service continuity.
下面根据发明原理对本发明第一实施方式媒体控制与处理分离构架下的流控方法进行说明。在本实施方式中,H.245消息在媒体处理设备终结。The flow control method under the framework of separation of media control and processing in the first embodiment of the present invention will be described below according to the principle of the invention. In this embodiment, the H.245 message is terminated at the media processing device.
如图2所示,在步骤201中,媒体控制设备通过选择编解码值事件,指示媒体处理设备在检测到电路交换CS侧流控要求的最高速率低于媒体流当前编解码的最低速率,且该媒体处理设备能够分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码时,上报相应观测事件并携带选择的编解码。As shown in FIG. 2, in
其中,选择编解码值事件是针对媒体处理设备在检测到电路交换CS侧流控要求的最高速率低于媒体流当前编解码的最低速率这一情况,新定义的事件。具体定义如下所示:Among them, the selected codec value event is a newly defined event for the situation that the media processing device detects that the maximum rate required by the CS side flow control is lower than the minimum rate of the current codec of the media stream. The specific definition is as follows:
Event Name(事件名称) :ChoiceCodecValue(选择编解码值)Event Name (event name) : ChoiceCodecValue (choice codec value)
EventID(事件标识) :ccv(0x0001)EventID (event ID) : ccv(0x0001)
Description(描述符) :指示媒体处理设备在检测到电路交换CS侧流控要求的最高速率低于媒体流当前编解码的最低速率,且该媒体处理设备能够分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码时,上报相应观测事件并携带选择的编解码。Description (descriptor) : Indicates that the media processing device detects that the maximum rate required by the flow control on the circuit switching CS side is lower than the minimum rate of the current codec of the media stream, and the media processing device can respectively connect from the local end to the CS side and from the IMS to the IMS side. When the media stream at the local end selects the first codec and the second codec that meet the flow control requirements of the CS side, report the corresponding observation event and carry the selected codec.
根据该新定义的选择编解码值事件,针对H.245消息在媒体处理设备终结的情况,在现有的H.248.12协议中的H.245消息包中增加一个事件描述符,媒体控制设备通过该选择编解码值事件的描述符,通知媒体处理设备进行速率的比较以及编解码的选择,该事件描述符的具体定义如下所示:According to the newly defined selected codec value event, for the case where the H.245 message is terminated in the media processing device, an event descriptor is added to the H.245 message packet in the existing H.248.12 protocol, and the media control device passes The descriptor of the selected codec value event notifies the media processing device to compare the rate and select the codec. The specific definition of the event descriptor is as follows:
Events Descriptor(事件描述符)Events Descriptor (event descriptor)
Parameter Name(参数名称):ChoiceCodecValue(选择编解码值)Parameter Name (parameter name): ChoiceCodecValue (choose codec value)
ParameterID(参数标识) :ccv(0x0001)ParameterID (parameter identification) : ccv(0x0001)
Description(描述符) :指示媒体处理设备检测电路交换CS侧流控要求的最高速率是否低于媒体流当前编解码的最低速率,且在低于媒体流当前编解码最低速率时,分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码,并上报相应观测事件,携带选择的编解码。Description (descriptor) : Instructs the media processing device to detect whether the maximum rate required by the circuit switching CS side flow control is lower than the minimum rate of the current codec of the media stream, and when it is lower than the minimum rate of the current codec of the media stream, it is the local end respectively Select the first codec and the second codec that meet the flow control requirements of the CS side for the media stream to the CS side and the IMS to the local end, and report the corresponding observation event, carrying the selected codec.
Type(类型) :枚举Type (type) : enumeration
Optional(是否可选) :是Optional (whether optional) : yes
Possible values(可能值):一种符合要求的编解码Possible values (possible values): a codec that meets the requirements
Default(缺省值) :无Default (default value): None
除了在H.245消息包中增加一个事件描述符之外还需增加一个观测事件描述符,媒体处理设备通过观测事件描述符中包含参数值“ChoiceCodecValue”,上报其选择的编解码。该观测事件描述符的具体定义如下所示:In addition to adding an event descriptor in the H.245 message packet, an observation event descriptor needs to be added. The media processing device reports the codec it chooses by including the parameter value "ChoiceCodecValue" in the observation event descriptor. The specific definition of the observation event descriptor is as follows:
Observed Events Descriptor(观测事件描述符)Observed Events Descriptor (observation event descriptor)
Parameter Name(参数名称):ChoiceCodecValue(选择编解码值)Parameter Name (parameter name): ChoiceCodecValue (choose codec value)
Parameter ID(参数标识) :ccv(0x0001)Parameter ID (parameter identification): ccv(0x0001)
Description(描述符) :媒体处理设备在检测到电路交换CS侧流控要求的最高速率低于媒体流当前编解码的最低速率,且该媒体处理设备能够分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码时,上报相应观测事件并携带选择的编解码。Description (descriptor) : The media processing device detects that the maximum rate required by the flow control on the circuit switching CS side is lower than the minimum rate of the current codec of the media stream, and the media processing device can respectively connect the local end to the CS side and the IMS to the local end. When the media stream at the end selects the first codec and the second codec that meet the flow control requirements of the CS side, report the corresponding observation event and carry the selected codec.
Type (类型) :枚举Type (type) : enumeration
Optional (是否可选) :是Optional (whether optional) : yes
Possible values(可能值) :一种符合要求的编解码Possible values (possible values): a codec that meets the requirements
Default(缺省值) :无Default (default value): None
通过在H.245消息包中增加选择编解码值的事件描述符和观测事件描述符,使得媒体处理设备可以在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率、并且本端有能力选择符合CS侧流控要求的编解码时,向媒体控制设备上报为本端到CS侧和IMS到本端的媒体流选择的新的编解码。By adding the event descriptor for codec value selection and the observation event descriptor in the H.245 message packet, the media processing device can make the maximum rate required by the flow control on the CS side lower than the minimum rate of the current codec of the media stream, and this When the terminal has the ability to select a codec that meets the flow control requirements of the CS side, it reports to the media control device the new codec selected for the media stream from the local end to the CS side and from the IMS to the local end.
接着进入步骤202,媒体处理设备根据媒体控制设备的指示进行监测,在接收到CS侧发送的H.245协议的“flow control command”消息时,媒体处理设备向媒体控制设备上报该“flow control command”消息。Then enter step 202, the media processing device monitors according to the instructions of the media control device, and when receiving the "flow control command" message of the H.245 protocol sent by the CS side, the media processing device reports the "flow control command" to the media control device "information.
接着进入步骤203,媒体处理设备判断“flow control command”消息中指示的CS侧对媒体流限定的最高速率是否低于该媒体流当前编解码的最低速率,如果是则分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。Then enter
接着进入步骤204,媒体处理设备发送H.245CLC关闭逻辑通道消息给CS侧,关闭原先为该媒体流开启的逻辑通道。Then enter
接着进入步骤205,媒体处理设备向媒体控制设备上报选择编解码值事件,在上报的选择编解码值事件的ChoiceCodecValue(选择编解码值)参数中包含选定的第一编解码和第二编解码。Then enter
接着进入步骤206,媒体控制设备根据媒体处理设备上报的第二编解码,更新会话描述协议(Session Description Protocol,简称“SDP”)中该媒体流对应的编解码后,向IMS发送SIP消息,通知IMS将该媒体流的编解码修改为第二编解码。Then enter
接着进入步骤207,IMS接收到来自媒体控制设备的消息后,将本端SDP中该媒体流对应的编解码更新为第二编解码,并返回SIP消息给媒体控制设备。Then enter
接着进入步骤208,媒体控制设备接收到该SIP消息后,通知媒体处理设备将CS复用端点和IMS端点中该媒体流的编解码分别修改为第一编解码和第二编解码。由于通过媒体处理设备为媒体流选择编解码,并通知相关设备为该媒体流修改编解码,相对于现有技术,只涉及媒体处理设备的改动,能够与现有CS侧设备和IMS设备较好兼容。Then enter
接着进入步骤209,媒体处理设备向CS侧发送H.245OLC开启逻辑通道消息,为该媒体流开启新的逻辑通道,在该新的逻辑通道使用第一编解码。Then enter
以上是本实施方式媒体控制与处理分离构架下的流控方法流程,下面根据该流程,对H.245消息在媒体处理设备终结的情况下,媒体处理设备与媒体控制设备间的交互进行示例说明。The above is the process flow of the flow control method under the framework of the separation of media control and processing in this embodiment. According to the process, the interaction between the media processing device and the media control device will be described as an example when the H.245 message is terminated by the media processing device. .
其交互如图3所示,其中媒体控制设备是MGCF,媒体处理设备是IM-MGW。首先在步骤301中,MGCF通过H.248修改/事件描述符,指示IM-MGW在检测到电路交换CS侧流控要求的最高速率低于媒体流当前编解码的最低速率,且该IM-MGW能够分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码时,上报相应观测事件并携带选择的编解码。IM-MGW收到该修改/事件描述符后,返回相应的应答。The interaction is shown in Figure 3, where the media control device is the MGCF, and the media processing device is the IM-MGW. First, in
接着在步骤302中,IM-MGW根据MGCF的指示进行监测,在接收到CS侧发送的H.345协议的“flow control command”消息时,IM-MGW向MGCF发送H.248通报事件/流量控制命令,上报该“flow control command”消息。MGCF返回相应的应答。Then in
接着在步骤303中,IM-MGW判断“flow control command”消息中指示的CS侧对媒体流限定的最高速率是否低于该媒体流当前编解码的最低速率,如果是则分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码,并通过H.248通报事件/编码向MGCF上报该第一编解码和第二编解码。MGCF返回相应的应答。Then in
接着在步骤304中,MGCF通过H.248修改/远程描述符通知IM-MGW将CS复用端点和IMS端点中该媒体流的编解码分别修改为第一编解码和第二编解码。IM-MGW收到后返回相应应答。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。Then in
本发明第二实施方式媒体控制与处理分离构架下的流控方法与第一实施方式大致相同,其区别仅在于,在第一实施方式中,在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率时,媒体处理设备分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码;而在本实施方式中,在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率时,媒体处理设备分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码、和第二编解码的候选集,媒体处理设备通过媒体控制设备通知IMS第二编解码的候选集,IMS从该候选集中选择一种作为第二编解码,在本端将该媒体流的编解码修改为第二编解码,并通过媒体控制设备通知媒体处理设备将IMS端点中该媒体流的编解码修改为第二编解码。该方案实质上增加了媒体处理设备或媒体控制设备与IMS之间就新编解码的协商过程,从而可以综合地根据媒体处理设备或媒体控制设备和IMS的实际情况决定最佳的编解码。The flow control method under the separation framework of media control and processing in the second embodiment of the present invention is roughly the same as that in the first embodiment, the only difference is that in the first embodiment, the maximum rate required for flow control on the CS side is lower than that of the media flow When the current codec is at the lowest rate, the media processing device selects the first codec and the second codec that meet the flow control requirements of the CS side for the media streams from the local end to the CS side and from the IMS to the local end; and in this embodiment, When the highest rate required by the flow control on the CS side is lower than the lowest rate of the current codec of the media stream, the media processing device selects the first codec that meets the flow control requirements on the CS side for the media stream from the local end to the CS side and from the IMS to the local end. , and the second codec candidate set, the media processing device notifies the IMS of the second codec candidate set through the media control device, and the IMS selects one from the candidate set as the second codec, and the codec of the media stream at the local end The decoding is modified to the second codec, and the media processing device is notified by the media control device to modify the codec of the media stream in the IMS endpoint to the second codec. This solution substantially increases the negotiation process on the new codec between the media processing device or the media control device and the IMS, so that the best codec can be comprehensively determined according to the actual conditions of the media processing device or the media control device and the IMS.
下面对本发明第三实施方式媒体控制与处理分离构架下的流控方法进行说明。在本实施方式中,H.245消息在媒体控制设备终结。The flow control method under the framework of separation of media control and processing according to the third embodiment of the present invention will be described below. In this embodiment, the H.245 message is terminated at the media control device.
如图4所示,在步骤401中,媒体控制设备接收到CS侧发送的H.245协议的“flow control command”消息时,判断该消息中指示的CS侧对媒体流限定的最高速率是否低于该媒体流当前编解码的最低速率,如果是则分别为媒体处理设备到CS侧和IMS到媒体处理设备的媒体流选择符合CS侧流控要求的第一编解码和第二编解码。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。As shown in Figure 4, in
接着进入步骤402,媒体控制设备发送H.245CLC关闭逻辑通道消息给CS侧,关闭原先为该媒体流开启的逻辑通道。Then enter
接着进入步骤403,媒体控制设备更新SDP中该媒体流对应的编解码为第二编解码后,向IMS发送SIP消息,通知IMS将该媒体流的编解码修改为第二编解码。Then enter
接着进入步骤404,IMS接收到来自媒体控制设备的消息后,将本端SDP中该媒体流对应的编解码更新为第二编解码,并发送SIP消息给媒体控制设备。Then enter
接着进入步骤405,媒体控制设备接收到该SIP消息后,通知媒体处理设备将CS复用端点和IMS端点中该媒体流的编解码分别修改为第一编解码和第二编解码。由于仅通过媒体控制设备为媒体流选择编解码,并通知相关设备为该媒体流修改编解码,相对于现有技术,只涉及媒体控制设备的改动,能够与现有CS侧设备和IMS设备较好兼容。Then enter step 405, after receiving the SIP message, the media control device notifies the media processing device to modify the codec of the media stream in the CS multiplexing endpoint and the IMS endpoint to the first codec and the second codec respectively. Since the media control device only selects the codec for the media stream and notifies the relevant devices to modify the codec for the media stream, compared with the prior art, only the modification of the media control device is involved, and it can be compared with the existing CS side equipment and IMS equipment. Very compatible.
接着进入步骤406,媒体控制设备向CS侧发送H.245OLC开启逻辑通道消息,为该媒体流开启新的逻辑通道,在该新的逻辑通道使用第一编解码。Then enter
本发明第四实施方式媒体控制与处理分离构架下的流控方法与第三实施方式大致相同,其区别仅在于,在第三实施方式中,在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率时,媒体控制设备分别为媒体处理设备到CS侧和IMS到媒体处理设备的媒体流选择符合CS侧流控要求的第一编解码和第二编解码;而在本实施方式中,在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率时,媒体处理设备分别为媒体处理设备到CS侧和IMS到媒体处理设备的媒体流选择符合CS侧流控要求的第一编解码、和第二编解码的候选集,媒体控制设备通知IMS第二编解码的候选集,IMS从该候选集中选择一种作为第二编解码,在本端将该媒体流的编解码修改为第二编解码,并将选定的第二编解码通知媒体控制设备。由媒体控制设备通知媒体处理设备将CS复用端点和IMS端点中该媒体流的编解码分别修改为第一编解码和该选定的第二编解码。该方案实质上增加了媒体处理设备或媒体控制设备与IMS之间就新编解码的协商过程,从而可以综合地根据媒体处理设备或媒体控制设备和IMS的实际情况决定最佳的编解码。The flow control method under the framework of separation of media control and processing in the fourth embodiment of the present invention is roughly the same as that in the third embodiment, the only difference is that in the third embodiment, the maximum rate required for flow control on the CS side is lower than that of the media stream When the current codec is at the lowest rate, the media control device selects the first codec and the second codec that meet the flow control requirements of the CS side for the media streams from the media processing device to the CS side and from the IMS to the media processing device; and in this implementation In this mode, when the highest rate required by the flow control on the CS side is lower than the minimum rate of the current encoding and decoding of the media stream, the media processing device selects the media streams that comply with the CS side flow control for the media streams from the media processing device to the CS side and from the IMS to the media processing device. The required first codec and the candidate set of the second codec, the media control device notifies the IMS of the candidate set of the second codec, and the IMS selects one from the candidate set as the second codec, and sends the media stream at the local end The codec of the codec is changed to the second codec, and the selected second codec is notified to the media control device. The media control device notifies the media processing device to modify the codec of the media stream in the CS multiplexing endpoint and the IMS endpoint respectively to the first codec and the selected second codec. This solution substantially increases the negotiation process on the new codec between the media processing device or the media control device and the IMS, so that the best codec can be comprehensively determined according to the actual conditions of the media processing device or the media control device and the IMS.
下面对本发明第五实施方式媒体控制与处理分离构架下的流控方法进行说明。本实施方式中,主要由CS侧通过与媒体处理设备或媒体控制设备的交互,在双向均关闭CS侧与媒体处理设备之间原先的逻辑通道,再为该媒体流开启新的逻辑通道,触发为该媒体流重新协商新的编解码。这种方案对媒体处理设备和媒体控制设备的变动较小。在本实施方式中,H.245消息在媒体处理设备终结。The flow control method under the framework of separation of media control and processing according to the fifth embodiment of the present invention will be described below. In this embodiment, the CS side mainly closes the original logical channel between the CS side and the media processing device in both directions through the interaction with the media processing device or the media control device, and then opens a new logical channel for the media stream to trigger Renegotiate a new codec for this media stream. This solution requires less changes to the media processing device and the media control device. In this embodiment, the H.245 message is terminated at the media processing device.
如图5所示,在步骤501中,媒体控制设备通过选择编解码值事件,指示媒体处理设备在监测到电路交换CS侧流控要求的最高速率低于媒体流当前编解码的最低速率,且该媒体处理设备能够分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码时,上报相应观测事件并携带选择的编解码。As shown in Figure 5, in
在步骤502中,CS侧在网络质量降低时,向媒体处理设备发送H.245协议的“flow control command”消息,限定CS侧流控要求的最高速率。In
接着进入步骤503,媒体处理设备通过现有技术上报该事件给媒体控制设备,同时媒体处理设备停止发送该媒体流。Then enter
接着进入步骤504,媒体处理设备判断“flow control command”消息中指示的CS侧对媒体流限定的最高速率是否低于该媒体流当前编解码的最低速率,如果是则向CS侧发送“flow control indication”消息,指示此时的速率为0。Then enter
接着进入步骤505,在收到来自媒体处理设备的“flow control indication”消息后,CS侧向媒体处理设备发送“request mode”消息,关闭本端到媒体处理设备之间为该媒体流开启的逻辑通道。Then enter
接着进入步骤506,CS侧向媒体处理设备发送CLC关闭逻辑通道消息,选择新的编解码。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。Then enter
接着进入步骤507,CS侧向媒体处理设备发送OLC打开逻辑通道消息,为该媒体流开启本端到媒体处理设备之间新的逻辑通道。Then enter
接着进入步骤508,媒体处理设备上报CS侧发送的“request mode”消息、CLC关闭逻辑通道消息、和OLC打开逻辑通道消息。Then enter
接着进入步骤509,媒体处理设备发送CLC关闭逻辑通道消息,关闭本端到CS侧为该媒体流开启的逻辑通道。Then enter
接着进入步骤510,媒体处理设备向媒体控制设备上报选择编解码值事件,在上报的选择编解码值事件的ChoiceCodecValue(选择编解码值)参数中包含媒体处理设备为该媒体流选择的本端到CS侧的第一编解码和IMS侧到本端的第二编解码。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。Then enter step 510, the media processing device reports the selected codec value event to the media control device, and the ChoiceCodecValue (selected codec value) parameter of the selected codec value event of the report includes the local terminal to which the media processing device selects for the media stream. The first codec on the CS side and the second codec on the IMS side to the local end. By updating the codec, the media stream can meet the flow control requirements at a rate greater than 0, thereby maintaining service continuity.
接着进入步骤511,媒体控制设备根据媒体处理设备上报的第二编解码,更新SDP中该媒体流对应的编解码后,向IMS发送SIP消息,通知IMS将该媒体流的编解码修改为第二编解码。Then enter
接着进入步骤512,IMS接收到来自媒体控制设备的消息后,将本端SDP中该媒体流对应的编解码更新为第二编解码,并返回SIP消息给媒体控制设备。Then enter
接着进入步骤513,媒体控制设备接收到该SIP消息后,通知媒体处理设备修改CS复用端点、IMS端点的该媒体流对应的SDP,将CS复用端点和IMS端点的该媒体流采用的编解码分别修改为第一编解码和第二编解码。Then enter
接着进入步骤514,媒体处理设备向CS侧发送OLC打开逻辑通道消息,开启本端到CS侧的单向逻辑通道。Then enter
本发明第六实施方式媒体控制与处理分离构架下的流控方法与第五实施方式大致相同,其区别仅在于,在第五实施方式中,在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率时,媒体处理设备分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码和第二编解码;而在本实施方式中,在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率时,媒体处理设备分别为本端到CS侧和IMS到本端的媒体流选择符合CS侧流控要求的第一编解码、和第二编解码的候选集,媒体处理设备通过媒体控制设备通知IMS第二编解码的候选集,IMS从该候选集中选择一种作为第二编解码,在本端将该媒体流的编解码修改为第二编解码,并通过媒体控制设备通知媒体处理设备将IMS端点中该媒体流的编解码修改为第二编解码。该方案实质上增加了媒体处理设备或媒体控制设备与IMS之间就新编解码的协商过程,从而可以综合地根据媒体处理设备或媒体控制设备和IMS的实际情况决定最佳的编解码。The flow control method under the framework of separation of media control and processing in the sixth embodiment of the present invention is roughly the same as that in the fifth embodiment, the only difference is that in the fifth embodiment, the maximum rate required for flow control on the CS side is lower than that of the media stream When the current codec is at the lowest rate, the media processing device selects the first codec and the second codec that meet the flow control requirements of the CS side for the media streams from the local end to the CS side and from the IMS to the local end; and in this embodiment, When the highest rate required by the flow control on the CS side is lower than the lowest rate of the current codec of the media stream, the media processing device selects the first codec that meets the flow control requirements on the CS side for the media stream from the local end to the CS side and from the IMS to the local end. , and the second codec candidate set, the media processing device notifies the IMS of the second codec candidate set through the media control device, and the IMS selects one from the candidate set as the second codec, and the codec of the media stream at the local end The decoding is modified to the second codec, and the media processing device is notified by the media control device to modify the codec of the media stream in the IMS endpoint to the second codec. This solution substantially increases the negotiation process on the new codec between the media processing device or the media control device and the IMS, so that the best codec can be comprehensively determined according to the actual conditions of the media processing device or the media control device and the IMS.
下面对本发明第七实施方式媒体控制与处理分离构架下的流控方法进行说明。本实施方式中,主要由CS侧通过与媒体处理设备或媒体控制设备的交互,在双向均关闭CS侧与媒体处理设备之间原先的逻辑通道,再为该媒体流开启新的逻辑通道,触发为该媒体流重新协商新的编解码。这种方案对媒体处理设备和媒体控制设备的变动较小。在本实施方式中,H.245消息在媒体控制设备终结。The flow control method under the framework of separation of media control and processing according to the seventh embodiment of the present invention will be described below. In this embodiment, the CS side mainly closes the original logical channel between the CS side and the media processing device in both directions through the interaction with the media processing device or the media control device, and then opens a new logical channel for the media stream to trigger Renegotiate a new codec for this media stream. This solution requires less changes to the media processing device and the media control device. In this embodiment, the H.245 message is terminated at the media control device.
如图6所示,在步骤601中,CS侧在网络质量降低时,向媒体控制设备发送H.245协议的“flow control command”消息,限定CS侧流控要求的最高速率。As shown in FIG. 6, in step 601, when the network quality is degraded, the CS side sends a "flow control command" message of the H.245 protocol to the media control device to limit the maximum rate required by the CS side flow control.
接着进入步骤602,媒体控制设备判断“flow control command”消息中指示的CS侧对媒体流限定的最高速率是否低于该媒体流当前编解码的最低速率,如果是则指示媒体处理设备停止发送该媒体流。Then enter step 602, the media control device judges whether the maximum rate limited to the media stream by the CS side indicated in the "flow control command" message is lower than the minimum rate of the current codec of the media stream, and if so, instructs the media processing device to stop sending the media stream media stream.
接着进入步骤603,媒体控制设备向CS侧发送“flow control indication”消息,指示此时的速率为0。Then enter step 603, the media control device sends a "flow control indication" message to the CS side, indicating that the rate at this time is 0.
接着进入步骤604,在收到来自媒体控制设备的“flow control indication”消息后,CS侧向媒体控制设备发送“request mode”消息,关闭本端到媒体控制设备之间为该媒体流开启的逻辑通道。Then enter step 604, after receiving the "flow control indication" message from the media control device, the CS side sends a "request mode" message to the media control device to close the logic opened for the media flow between the local end and the media control device aisle.
接着进入步骤605,CS侧向媒体控制设备发送CLC关闭逻辑通道消息,选择新的编解码。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。Then enter step 605, the CS side sends a CLC close logical channel message to the media control device, and selects a new codec. By updating the codec, the media stream can meet the flow control requirements at a rate greater than 0, thereby maintaining service continuity.
接着进入步骤606,CS侧向媒体控制设备发送OLC打开逻辑通道消息,为该媒体流开启本端到媒体控制设备之间新的逻辑通道。Then enter step 606, the CS side sends an OLC open logical channel message to the media control device to open a new logical channel between the local end and the media control device for the media stream.
接着进入步骤607,媒体控制设备发送CLC关闭逻辑通道消息,关闭本端到CS侧为该媒体流开启的逻辑通道。Then enter step 607, the media control device sends a CLC close logical channel message to close the logical channel opened for the media stream from the local end to the CS side.
接着进入步骤608,媒体控制设备为媒体处理设备与IMS之间的该媒体流选择更新的第二编解码,并通过SIP消息将选择的第二编解码发送给IMS。Then enter step 608, the media control device selects an updated second codec for the media stream between the media processing device and the IMS, and sends the selected second codec to the IMS through a SIP message.
接着进入步骤609,IMS接收到来自媒体控制设备的消息后,将本端中该媒体流对应的编解码更新为第二编解码,并返回SIP消息给媒体控制设备。Then enter step 609, after receiving the message from the media control device, the IMS updates the codec corresponding to the media stream at the local end to the second codec, and returns a SIP message to the media control device.
接着进入步骤610,媒体控制设备接收到该SIP消息后,通知媒体处理设备修改CS复用端点、IMS端点的该媒体流对应的SDP,将CS复用端点和IMS端点的该媒体流采用的编解码分别修改为第一编解码和第二编解码。Then enter step 610, after the media control device receives the SIP message, it notifies the media processing device to revise the SDP corresponding to the media stream of the CS multiplexing endpoint and the IMS endpoint, and the coded code adopted by the media stream of the CS multiplexing endpoint and the IMS endpoint The decoding is modified to the first codec and the second codec respectively.
接着进入步骤611,媒体控制设备向CS侧发送OLC打开逻辑通道消息,开启本端到CS侧的单向逻辑通道。Then enter step 611, the media control device sends an OLC open logical channel message to the CS side, and opens a one-way logical channel from the local end to the CS side.
本发明第八实施方式媒体控制与处理分离构架下的流控方法与第七实施方式大致相同,其区别仅在于,在第七实施方式中,媒体控制设备为媒体处理设备与IMS之间的该媒体流选择符合CS要求的第二编解码,并通过SIP消息将选择的第二编解码发送给IMS;而在本实施方式中,媒体控制设备为媒体处理设备与IMS之间的该媒体流选择符合CS要求的第二编解码候选集,并通过SIP消息将选择的第二编解码候选集发送给IMS,由IMS从该候选集中选择一种作为第二编解码,在本端将该媒体流的编解码修改为第二编解码,并将选定的第二编解码通知媒体控制设备。该方案实质上增加了媒体处理设备或媒体控制设备与IMS之间就新编解码的协商过程,从而可以综合地根据媒体处理设备或媒体控制设备和IMS的实际情况决定最佳的编解码。The flow control method under the media control and processing separation framework of the eighth embodiment of the present invention is roughly the same as the seventh embodiment, the only difference is that in the seventh embodiment, the media control device is the media processing device and the IMS The media stream selects a second codec that meets the requirements of the CS, and sends the selected second codec to the IMS through a SIP message; and in this embodiment, the media control device selects a second codec for the media stream between the media processing device and the IMS. The second codec candidate set that meets the CS requirements, and sends the selected second codec candidate set to the IMS through a SIP message, and the IMS selects one from the candidate set as the second codec, and sends the media stream at the local end The codec of the codec is changed to the second codec, and the selected second codec is notified to the media control device. This solution substantially increases the negotiation process on the new codec between the media processing device or the media control device and the IMS, so that the best codec can be comprehensively determined according to the actual conditions of the media processing device or the media control device and the IMS.
本发明第九实施方式媒体控制与处理分离构架下的流控系统,包含用于检测CS侧流控要求的最高速率是否低于媒体流当前编解码的最低速率的设备;以及,用于在CS侧流控要求的最高速率低于媒体流当前编解码的最低速率时,将媒体处理设备到IMS和媒体处理设备到CS侧的媒体流的编解码分别更新为符合CS侧流控要求的编解码的设备。通过更新编解码,使得媒体流可以以大于0的速率满足流控的要求,从而保持业务的连续性。In the ninth embodiment of the present invention, the flow control system under the framework of separation of media control and processing includes a device for detecting whether the highest rate required by the flow control on the CS side is lower than the lowest rate of the current codec of the media stream; When the maximum rate required by the side flow control is lower than the minimum rate of the current codec of the media stream, update the codec of the media stream from the media processing device to the IMS and from the media processing device to the CS side to the codec that meets the flow control requirements of the CS side device of. By updating the codec, the media stream can meet the flow control requirements at a rate greater than 0, thereby maintaining service continuity.
本发明所称的媒体处理设备和媒体控制设备在不同的应用环境中也可以有其它的称呼,但其功能是一样的。例如,媒体处理设备常被称为媒体网关等,媒体控制设备常被称为媒体网关控制器、软交换等。The media processing device and media control device referred to in the present invention may also have other names in different application environments, but their functions are the same. For example, a media processing device is often called a media gateway, and a media control device is often called a media gateway controller, a soft switch, and the like.
虽然通过参照本发明的某些优选实施方式,已经对本发明进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Although the present invention has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the present invention. The spirit and scope of the invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2006101211306A CN101127697A (en) | 2006-08-18 | 2006-08-18 | Flow control method and system under the framework of separation of media control and processing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2006101211306A CN101127697A (en) | 2006-08-18 | 2006-08-18 | Flow control method and system under the framework of separation of media control and processing |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101127697A true CN101127697A (en) | 2008-02-20 |
Family
ID=39095624
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2006101211306A Pending CN101127697A (en) | 2006-08-18 | 2006-08-18 | Flow control method and system under the framework of separation of media control and processing |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101127697A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009039781A1 (en) * | 2007-09-20 | 2009-04-02 | Huawei Technologies Co., Ltd. | Video data update method and system |
-
2006
- 2006-08-18 CN CNA2006101211306A patent/CN101127697A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009039781A1 (en) * | 2007-09-20 | 2009-04-02 | Huawei Technologies Co., Ltd. | Video data update method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3113468B1 (en) | Voice communication terminal, intermediate node, processing device, connection method, and program | |
| JP5238044B2 (en) | Method for transferring signaling data to a network migration unit and a control unit and the unit to which it belongs | |
| EP1551135B1 (en) | Interworking between domains of a communication network operated based on different switching principles | |
| US20070297424A1 (en) | Method for IP-based service transport | |
| KR100880992B1 (en) | Interworking system and method between IMS network and H.323 network | |
| CN101686178A (en) | Method and system for improving multi-media connection quality, media control and processing equipment | |
| CN101292497A (en) | Method for establishing a video telephony connection and/or a multimedia telephony connection in a data network | |
| CN101292495A (en) | Signaling about establishing H.324 video telephony between media gateway and controller | |
| CN101651815B (en) | Visual telephone and method for enhancing video quality by utilizing same | |
| CN100536475C (en) | Method for consulting multimedia coding and decoding capacity of 3G audio frequency gateway | |
| CN101547266B (en) | Method and system for providing intelligent service and gateway | |
| WO2007101383A1 (en) | Method and apparatus to implement media gateway internal connection | |
| CN102271137B (en) | a media server | |
| EP2514143B1 (en) | Connection analysis in communication systems | |
| EP2264959B1 (en) | Media gateway, media gateway controller, method and system for communication of multimedia phones | |
| CN101567876B (en) | Method, media gateway and system for reporting session status | |
| CN100493069C (en) | Method for detecting medium flow service quality | |
| EP2104303B1 (en) | Method, device and system for the initiator and the receiver dismantling the call | |
| WO2012063890A1 (en) | Core network and communication system | |
| CN101378535B (en) | Method, system and apparatus for controlling message by transmission medium flow | |
| CN101114985A (en) | Codec conversion system and method | |
| CN101127697A (en) | Flow control method and system under the framework of separation of media control and processing | |
| CN100473059C (en) | A method for switching media stream codec format | |
| CN101031006B (en) | Multi-service transmission method of tandem office based on IP | |
| CN101119292B (en) | A method for negotiating and transmitting data services between gateways |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20080220 |