CN102271137B - a media server - Google Patents
a media server Download PDFInfo
- Publication number
- CN102271137B CN102271137B CN201110239163.1A CN201110239163A CN102271137B CN 102271137 B CN102271137 B CN 102271137B CN 201110239163 A CN201110239163 A CN 201110239163A CN 102271137 B CN102271137 B CN 102271137B
- Authority
- CN
- China
- Prior art keywords
- media
- module
- media server
- rtp
- domain
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1016—IP multimedia subsystem [IMS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1023—Media gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1033—Signalling gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1043—Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
- H04L67/5651—Reducing the amount or size of exchanged application data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种媒体服务器。The invention relates to the technical field of communication, in particular to a media server.
背景技术Background technique
请参考图1,为现有技术中,CS(Circuit Switched,电路交换)域通过IMS(IPMultimedia Subsystem,IP多媒体子系统)与PS(Packet Switched,分组交换)域进行信息通信的网络结构图,具体来讲包括:CS域通信设备、中继网关、MG(Media Gateway,媒体网关)、MGCF(Media Gateway Control Function,媒体资源控制功能)、MS(Media Server,媒体服务器)和PS域通信设备等。Please refer to FIG. 1, which is a network structure diagram of information communication between the CS (Circuit Switched, circuit switched) domain and the PS (Packet Switched, packet switched) domain through the IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) in the prior art, specifically Generally speaking, it includes: CS domain communication equipment, relay gateway, MG (Media Gateway, media gateway), MGCF (Media Gateway Control Function, media resource control function), MS (Media Server, media server) and PS domain communication equipment, etc.
CS域设备数据交换过程为,先建立电路连接(可使用虚拟电路),然后进行数据交换,数据交换结束之后释放电路,而PS域则是把一个数据报分成若干个片段,然后分别同时发送,每个数据片段所经过的线路路由可能是不一样的,每个数据片段走什么路由要根据网络的具体情况和所使用的路由协议来决定。The data exchange process of the CS domain device is to first establish a circuit connection (virtual circuit can be used), and then perform data exchange. After the data exchange is completed, the circuit is released, while the PS domain divides a datagram into several fragments, and then sends them at the same time. The route of each data segment may be different, and the route of each data segment depends on the specific conditions of the network and the routing protocol used.
因两种交换域所采用的数据交换模式不一致,故在网络通信中需要引进MG或VIG(Video Interwork Gateway,视频互通网关)等中间设备,以将CS域的数据信息经由MG或VIG的数据转换处理,传输到PS域,进而实现两种数据交换域的信息通信。Because the data exchange modes adopted by the two exchange domains are inconsistent, it is necessary to introduce intermediate devices such as MG or VIG (Video Interwork Gateway, Video Interwork Gateway) in the network communication to convert the data information of the CS domain through the data conversion of the MG or VIG Processing, transmission to the PS domain, and then realize the information communication of the two data exchange domains.
可见,现有技术中为使CS域和PS域能相互实现通信,进而存在必须对网络进行改造,加入中间设备MG或VIG的技术问题,这个技术问题也直接增加了网络运营商的投资成本,同时在维护正常网络环境时,也增加了网络技术维护的难度和成本。It can be seen that in the prior art, in order to enable the CS domain and the PS domain to communicate with each other, there is a technical problem that the network must be transformed and an intermediate device MG or VIG is added. This technical problem also directly increases the investment cost of the network operator. At the same time, when maintaining a normal network environment, it also increases the difficulty and cost of network technical maintenance.
发明内容Contents of the invention
本发明提供一种支持电路域用户接入媒体服务器的方法及系统,以解决现有技术中为使CS域和PS域能相互实现通信,进而存在必须对网络进行改造,加入中间设备MG或VIG的技术问题。The present invention provides a method and system for supporting circuit domain users to access a media server to solve the problem in the prior art that the CS domain and the PS domain can communicate with each other, and then the network needs to be remodeled, and an intermediate device MG or VIG is added. technical problems.
一方面,本发明通过本申请的一个实施例,提供如下技术方案:On the one hand, the present invention provides the following technical solutions through an embodiment of the application:
一种媒体服务器,所述媒体服务器用于包括有媒体网关控制设备的IP多媒体网络中,包括:A kind of media server, described media server is used in the IP multimedia network that comprises media gateway control device, comprises:
协议处理模块,用于接收所述媒体网关控制设备发送来的基于H.248协议的第一业务请求,所述第一业务请求为在CS域中的主叫用户设备发送给所述媒体网关控制设备的包含有被叫用户信息的请求,还用于基于所述第一业务请求将所述主叫用户设备接入至所述IP多媒体网络;A protocol processing module, configured to receive a first service request based on the H.248 protocol sent by the media gateway control device, the first service request is sent to the media gateway control by the calling user equipment in the CS domain The device's request including the called user information is also used to access the calling user equipment to the IP multimedia network based on the first service request;
媒体颁发模块,用于基于所述第一业务请求,获得与所述第一业务请求对应的基于IP域的第一多媒体流;A media issuing module, configured to obtain, based on the first service request, a first IP domain-based multimedia stream corresponding to the first service request;
VOIP模块,用于接收所述第一多媒体流,并将其转换为基于E1承载的第二多媒体流;A VOIP module, configured to receive the first multimedia stream and convert it into a second multimedia stream based on E1 bearer;
电路交换模块,用于接收所述第二多媒体流,并基于所述第一业务请求,向所述被叫用户设备提供所述第二多媒体流。A circuit switching module, configured to receive the second multimedia stream, and provide the second multimedia stream to the called user equipment based on the first service request.
数据管理模块,与所述协议处理模块连接,用于接收来自所述协议处理模块的控制消息,用于所述多媒体服务器内协议,媒体流处理的配置,以及管理所述媒体服务器的电路资源和IP资源,DSP资源。A data management module, connected to the protocol processing module, for receiving control messages from the protocol processing module, for configuring the protocols in the multimedia server, media stream processing, and managing circuit resources and IP resources, DSP resources.
优选地,所述VOIP模块在基于IP域的媒体流时,采用如下方式封装:按照E1的MTP链路传输协议,将所述IP域的媒体流,解码后,打成E1承载流,以便能在E1物理链路上进行传输。Preferably, when the VOIP module is based on the media flow in the IP domain, it is encapsulated in the following manner: according to the MTP link transmission protocol of E1, after decoding the media flow in the IP domain, it is marked as an E1 bearer flow, so that it can Transmission is carried out on the E1 physical link.
另一方面,本发明通过本申请的另一实施例提供一种处理ADD信令的方法,所述方法应用于包括有媒体网关控制设备的IP多媒体网络中的媒体服务器中,所述方法包括:On the other hand, the present invention provides a method for processing ADD signaling through another embodiment of the present application, the method is applied to a media server in an IP multimedia network including a media gateway control device, and the method includes:
接收由所述媒体网关控制设备发送的基于H.248协议的ADD信令,并基于所述ADD信令建立上下文CONTEXT,其中,所述ADD信令中包括有电路域终端ID;receiving ADD signaling based on the H.248 protocol sent by the media gateway control device, and establishing a context CONTEXT based on the ADD signaling, wherein the ADD signaling includes a circuit domain terminal ID;
将所述终端ID转换为所述媒体服务器内的电路域系统逻辑节点编号,然后给所述电路域系统逻辑节点编号分配对应的中继的终端资源;converting the terminal ID into a circuit domain system logical node number in the media server, and then assigning corresponding relay terminal resources to the circuit domain system logical node number;
基于所述电路域系统逻辑节点编号打开所述媒体服务器中电路交换模块的E1对应的电路域通道和语音转换通道;Opening the circuit domain channel and voice conversion channel corresponding to E1 of the circuit switching module in the media server based on the logical node number of the circuit domain system;
基于所述电路域系统逻辑节点编号,通过所述媒体服务器内数据管理模块的资源管理接口,申请RTP资源;Applying for RTP resources through the resource management interface of the data management module in the media server based on the logic node number of the circuit domain system;
打开所述媒体服务器中媒体颁发模块中的RTP通道;Open the RTP channel in the media issuing module in the media server;
向所述媒体网关控制设备返回用于响应所述ADD信令的响应消息。Returning a response message for responding to the ADD signaling to the media gateway control device.
优选地,所述ADD信令中还包括:RTP端的收发模式,采用的语音压缩算法或视频压缩算法,m行中包括服务对象的媒体需求是音频还是视频,默认打包时长,网络的抖动范围要求,采用的是IPV4还是IPV6的属性信息。Preferably, the ADD signaling also includes: the sending and receiving mode of the RTP end, the voice compression algorithm or video compression algorithm used, the m line includes whether the media requirement of the service object is audio or video, the default packaging duration, and the network jitter range requirements , the attribute information of IPV4 or IPV6 is used.
优选地,在所述将所述用户终端ID转换为所述媒体服务器内的电路域系统逻辑节点编号,然后给所述电路域系统逻辑节点编号分配对应的中继的终端资源之后,还包括:Preferably, after converting the user terminal ID into a circuit domain system logical node number in the media server, and then assigning corresponding relay terminal resources to the circuit domain system logical node number, the method further includes:
基于所述数据管理模块的资源管理接口,请求与所述中继的终端资源对应的所述媒体服务器中VOIP模块的内口IP和Port号。Based on the resource management interface of the data management module, request the internal port IP and Port number of the VOIP module in the media server corresponding to the terminal resource of the relay.
优选地,所述内口IP和Port号按照数据配置的二元对应的规则进行分配。Preferably, the internal port IP and Port number are allocated according to the rule of binary correspondence of data configuration.
优选地,在所述基于所述电路域系统逻辑节点编号打开所述媒体服务器中电路交换模块的E1对应的电路域通道和语音转换通道之后,还包括:Preferably, after opening the circuit domain channel and voice conversion channel corresponding to the E1 of the circuit switching module in the media server based on the logical node number of the circuit domain system, the method further includes:
设置所述VOIP模块本端的音视频压缩算法;Setting the audio and video compression algorithm of the local end of the VOIP module;
设置所述VOIP模块本端的打包时长抖动异常告警属性;Set the packaging duration jitter abnormal alarm attribute of the local end of the VOIP module;
将所述终端加入到上下文CONTEXT中,并在所述媒体服务器的协议处理模块的数据区中记录所述终端和所述电路域系统逻辑节点编号的对应关系。Add the terminal into the context CONTEXT, and record the corresponding relationship between the terminal and the logic node number of the circuit domain system in the data area of the protocol processing module of the media server.
优选地,在所述基于所述电路域系统逻辑节点编号,通过所述媒体服务器内数据管理模块的资源管理接口,申请RTP资源之后,还包括:Preferably, after applying for the RTP resource through the resource management interface of the data management module in the media server based on the logical node number of the circuit domain system, the method further includes:
获得所述RTP资源的内口IP,内口PORT,外口IP,外口PORT,并记录电路域系统逻辑节点编号和RTP系统逻辑节点编号的对应关系。Obtain the internal IP, internal PORT, external IP, and external PORT of the RTP resource, and record the corresponding relationship between the logical node numbers of the circuit domain system and the logical node numbers of the RTP system.
优选地,在打开所述媒体服务器中媒体颁发模块中的RTP通道之后,还包括:Preferably, after opening the RTP channel in the media issuing module in the media server, it also includes:
设置RTP端的收发状态;Set the sending and receiving status of the RTP terminal;
决定是采用IPV4封装媒体包还是采用IPV6封装媒体包;Decide whether to use IPV4 to encapsulate the media package or to use IPV6 to encapsulate the media package;
将RTP终端加入到所述上下文CONTEXT中,并所述PPM将RTP的终端加入到创建的CONTEXT中;并在协议处理模块的数据区中记录RTP终端和电路域系统逻辑节点编号的对应关系。Add the RTP terminal to the context CONTEXT, and the PPM adds the RTP terminal to the created CONTEXT; and record the corresponding relationship between the RTP terminal and the logic node number of the circuit domain system in the data area of the protocol processing module.
另一方面,本发明通过本申请的另一实施例还提供了一种处理MOD信令的方法,所述方法应用于包括有媒体网关控制设备的IP多媒体网络中的媒体服务器中,所述方法包括:On the other hand, the present invention also provides a method for processing MOD signaling through another embodiment of the application, the method is applied to a media server in an IP multimedia network including a media gateway control device, and the method include:
接收由所述媒体网关控制设备发送的基于H.248协议的MOD信令,所述MOD信令包括上下文ID,RTP终端;receiving MOD signaling based on the H.248 protocol sent by the media gateway control device, where the MOD signaling includes a context ID and an RTP terminal;
基于所述上下文ID,查询H.248协议的上下文数据区中记录的所述RTP终端对应的RTP系统逻辑节点编号;Based on the context ID, query the RTP system logical node number corresponding to the RTP terminal recorded in the context data area of the H.248 protocol;
基于所述RTP系统逻辑节点编号,设置所述媒体服务器中数据管理模块对应RTP资源的远端RTP IP地址,端口号;Based on the logical node number of the RTP system, the remote RTP IP address and port number of the data management module corresponding to the RTP resource in the media server are set;
基于所述RTP系统逻辑节点编号,查找所述媒体服务器中协议处理模块中数据区对应的电路域系统逻辑节点编号,并基于所述电路域系统逻辑节点编号,设置所述媒体服务器中VOIP模块对应端口的属性;Based on the logical node number of the RTP system, search for the logical node number of the circuit domain system corresponding to the data area in the protocol processing module in the media server, and set the corresponding logical node number of the VOIP module in the media server based on the logical node number of the circuit domain system properties of the port;
将所述RTP资源的远端RTP IP地址,端口号,VOIP模块对应端口的属性记录到所述媒体服务器中协议处理模块中数据区中,并向所述媒体网关控制设备返回用于响应所述MOD信令的响应消息。Record the remote RTP IP address of the RTP resource, the port number, and the attributes of the port corresponding to the VOIP module into the data area in the protocol processing module in the media server, and return the response to the media gateway control device to the media gateway control device. Response message of MOD signaling.
优选地,所述MOD信令还包括:由所述媒体网关控制设备和消息互通网关协商达到的所述远端RTP IP地址及端口号、远端语音压缩算法、远端打包时长。Preferably, the MOD signaling further includes: the remote RTP IP address and port number negotiated between the media gateway control device and the message interworking gateway, the remote voice compression algorithm, and the remote packaging duration.
优选地,所述的远端RTP IP地址及端口号,是所述媒体服务器的外部服务地址和端口号;所述远端语音压缩算法是所述媒体服务器的语音压缩算法;所述远端打包时长是所述媒体服务器的打包时长。Preferably, the remote RTP IP address and port number are the external service address and port number of the media server; the remote voice compression algorithm is the voice compression algorithm of the media server; the remote package The duration is the packaging duration of the media server.
另一方面,本发明通过本申请的另一实施例还提供了一种处理SUB信令的方法,所述方法应用于包括有媒体网关控制设备的IP多媒体网络中的媒体服务器中,所述方法包括:On the other hand, the present invention also provides a method for processing SUB signaling through another embodiment of the application, the method is applied to a media server in an IP multimedia network including a media gateway control device, and the method include:
接收由所述媒体网关控制设备发送的基于H.248协议的SUB信令,receiving the SUB signaling based on the H.248 protocol sent by the media gateway control device,
所述SUB信令包括有所述上下文ID、所述RTP终端和电路域终端;The SUB signaling includes the context ID, the RTP terminal and the circuit domain terminal;
基于所述上下文ID,查询H.248协议的上下文数据区中记录的所述RTP终端对应的RTP系统逻辑节点编号和所述电路域终端对应的电路域系统逻辑节点编号;Based on the context ID, query the RTP system logical node number corresponding to the RTP terminal and the circuit domain system logical node number corresponding to the circuit domain terminal recorded in the context data area of the H.248 protocol;
基于所述RTP系统逻辑节点编号,关闭所述媒体服务器中的RTP通道;Close the RTP channel in the media server based on the logical node number of the RTP system;
基于所述电路域系统逻辑节点编号,关闭电路域通道及语音转换通道;Closing the circuit domain channel and voice conversion channel based on the logic node number of the circuit domain system;
向所述媒体网关控制设备返回用于响应所述SUB信令的响应消息,并上报统计的媒体流信息。Returning a response message for responding to the SUB signaling to the media gateway control device, and reporting statistical media flow information.
优选地,在所述关闭所述媒体服务器中RTP通道之后还包括:Preferably, after closing the RTP channel in the media server, it also includes:
基于所述RTP系统逻辑节点编号,通过调用所述媒体服务器中数据管理模块的数据管理接口,释放所述RTP系统逻辑节点编号资源,并将所述RTP系统逻辑节点编号对应的数据管理资源通道设置为空闲状态。Based on the logical node number of the RTP system, by calling the data management interface of the data management module in the media server, releasing the logical node number resource of the RTP system, and setting the data management resource channel corresponding to the logical node number of the RTP system is idle.
优选地,在所述基于所述电路域系统逻辑节点编号,关闭电路域通道之后还包括:Preferably, after closing the circuit domain channel based on the logical node number of the circuit domain system, it further includes:
基于所述电路域系统逻辑节点编号,调用所述媒体服务器中数据管理模块的数据管理接口,释放所述电路域系统逻辑节点编号资源,将所述电路域系统系统逻辑节点编号对应的数据管理资源通道设置为空闲状态。Based on the logical node number of the circuit domain system, call the data management interface of the data management module in the media server, release the logical node number resource of the circuit domain system, and set the data management resource corresponding to the logical node number of the circuit domain system The channel is set to idle state.
上述技术方案中的一个或多个技术方案,具有如下技术效果或优点:One or more technical solutions in the above technical solutions have the following technical effects or advantages:
一、通过提供一种媒体服务器,利用所述媒体服务器中各个模块之间的协调处理,将电路域数据格式转换为可在分组交换域上通讯的数据格式,解决现有技术中为使CS域和PS域能相互实现通信,进而存在必须对网络进行改造,加入中间设备MG或VIG的技术问题,从而达到了在简化网络结构,降低了投入成本的前提下,实现了CS域用户能够直接与PS域上的用户进行数据通信的技术效果。1. By providing a media server, using the coordinated processing between the various modules in the media server, the data format of the circuit domain is converted into a data format that can be communicated in the packet switching domain, so as to solve the problem in the prior art that the CS domain Communication with the PS domain can be realized with each other, and there is a technical problem that the network must be transformed and the intermediate equipment MG or VIG is added, so that the CS domain users can directly communicate with the CS domain under the premise of simplifying the network structure and reducing the investment cost. The technical effect of data communication performed by users on the PS domain.
二、同时由于本申请实施例中提供的技术方案具有方便维护的技术特点,所以,还能有效解决现有技术中网络维护复杂的技术问题,进而达到维护简捷方便的技术效果。2. At the same time, because the technical solution provided in the embodiment of the present application has the technical characteristics of convenient maintenance, it can also effectively solve the technical problem of complex network maintenance in the prior art, and then achieve the technical effect of simple and convenient maintenance.
附图说明Description of drawings
图1为现有技术中CS域与PS域数据通信的网络结构图;FIG. 1 is a network structure diagram of data communication between CS domain and PS domain in the prior art;
图2为本申请实施例中媒体服务器的模块结构图;Fig. 2 is the module structural diagram of media server in the embodiment of the present application;
图3为包含有图2中媒体服务器的IMS系统网络结构图;Fig. 3 is a network structure diagram of an IMS system comprising a media server in Fig. 2;
图4为本申请实施例中的媒体服务器处理ADD信令的方法流程图;FIG. 4 is a flowchart of a method for processing ADD signaling by a media server in an embodiment of the present application;
图5为本申请实施例中的媒体服务器处理MOD信令的方法流程图;FIG. 5 is a flowchart of a method for processing MOD signaling by a media server in an embodiment of the present application;
图6为本申请实施例中的媒体服务器处理SUB信令的方法流程图;FIG. 6 is a flowchart of a method for processing SUB signaling by a media server in an embodiment of the present application;
图7为CS域用户实现彩铃业务的具体过程图。FIG. 7 is a specific process diagram of implementing the CRBT service by a CS domain user.
具体实施方式detailed description
请参考图3,为包含有图2中媒体服务器的IMS网络结构图,在所述IMS网络中,MGCF通过中继网关接收CS域用户的业务请求,并基于所述业务请求去控制和管理MS,及所述网络中其他的设备,如:文件服务器等,来实现CS域用户和PS域用户间的数据通信。Please refer to Figure 3, which is a structural diagram of the IMS network including the media server in Figure 2, in the IMS network, the MGCF receives the service request of the CS domain user through the trunk gateway, and controls and manages the MS based on the service request , and other devices in the network, such as file servers, etc., to realize data communication between CS domain users and PS domain users.
相比较现有技术中的的网络结构图,本申请实施例中提供的技术方案可以使CS域中的用户在不经过MG或VIG等中间设备而直接与MS相连接,进而从所述IMS网络中获得数据业务服务,如:彩铃,彩信,视音频媒体文件播放等。Compared with the network structure diagram in the prior art, the technical solution provided in the embodiment of the present application can enable users in the CS domain to directly connect to the MS without going through an intermediate device such as an MG or VIG, and then from the IMS network Obtain data business services, such as: ring tones, multimedia messages, video and audio media file playback, etc.
下面结合说明书附图中的各个附图,对本申请实施例中的技术方案的实现原理、具体实施过程及其对应能够达到的有益效果进行详细、清楚和完整地阐述。The implementation principle, specific implementation process and corresponding beneficial effects of the technical solutions in the embodiments of the present application will be described in detail, clearly and completely in conjunction with each of the accompanying drawings in the description.
如图2所示,为本申请实施例媒体服务器的模块结构图,所述媒体服务器包括:As shown in Figure 2, it is a module structure diagram of the media server of the embodiment of the present application, and the media server includes:
PPM(Protocol Preduce Module,协议处理模块),用于接受所述MGCF发送来的由CS域用户发来的基于H.248协议的第一业务请求,其中,所述第一业务请求对应的业务为多媒体数据业务,如彩铃、彩信、音视频等;所述第一业务请求对应的业务还可以是在网上文件存储系统中进行相关的存储业务,如存储文件、下载文件、上传文件等,所述第一业务请求对应的业务还包括本申请所属技术人员根据上述实施例直接推导或推理得到的与上述实施例等同的业务。PPM (Protocol Preduce Module, protocol processing module), configured to accept the first service request based on the H.248 protocol sent by the CS domain user sent by the MGCF, wherein the service corresponding to the first service request is Multimedia data services, such as color ring tones, multimedia messages, audio and video, etc.; the service corresponding to the first service request can also be related storage services in the online file storage system, such as storing files, downloading files, uploading files, etc. The service corresponding to the first service request also includes the service equivalent to the above embodiment that is directly derived or deduced by those skilled in the present application according to the above embodiment.
具体实现过程中,所述PPM根据所述第一业务请求完成H.248协议的主端到从端的对接,假设所述第一业务请求为彩铃业务请求,所述主端到从端得对接即为,所述MS中PPM模块和彩铃AS系统之间的基于H.248协议的对接,并可实现基于所述协议的编解码和业务驱动等功能。所述PPM基于所述第一业务请求还可将所述第一业务请求接入到E1的MTP链路上传输,其中,所述E1的MTP链路为支持电路域传输模式传输的连接通道。In the specific implementation process, the PPM completes the connection between the master end and the slave end of the H.248 protocol according to the first service request. Assuming that the first service request is a CRBT service request, the connection between the master end and the slave end is It is the interconnection based on the H.248 protocol between the PPM module in the MS and the CRBT AS system, and can realize functions such as encoding and decoding and service driving based on the protocol. Based on the first service request, the PPM may also connect the first service request to the MTP link of E1 for transmission, wherein the MTP link of E1 is a connection channel supporting transmission in circuit domain transmission mode.
MDM(Media Destruct Module,媒体颁发模块),用于基于所述第一业务请求,获得对应的基于IP域的第一多媒体流。MDM (Media Destruct Module, media issuing module), configured to obtain the corresponding first multimedia stream based on the IP domain based on the first service request.
以彩铃业务为例,在具体的实施过程中,即为:所述第一业务请求为彩铃业务请求,所述MDM根据彩铃业务请求,向所述AS系统获取所述彩铃业务请求对应基于IP域的彩铃多媒体信息,所述彩铃多媒体信息即为所述第一多媒体流,当然,当所述第一业务请求为其他业务时,如:彩信,音视频,文件存储,语音识别等等,所述第一多媒体流即为对应的:彩信文件,声音视频文件,存储文件,以及语音多媒体等等。Taking the CRBT service as an example, in the specific implementation process, it is: the first service request is a CRBT service request, and the MDM obtains the IP domain-based IP domain-based IP domain id of the CRBT service request from the AS system according to the CRBT service request. CRBT multimedia information, the CRBT multimedia information is the first multimedia stream, of course, when the first service request is other services, such as: MMS, audio and video, file storage, voice recognition, etc., The first multimedia stream corresponds to: MMS files, audio and video files, stored files, and audio multimedia and so on.
在获得基于IP域的第一多媒体流过程中,MDM通过内部硬件网络处理器,实现IP协议的NAT转发功能。In the process of obtaining the first multimedia stream based on the IP domain, the MDM implements the NAT forwarding function of the IP protocol through an internal hardware network processor.
具体来说包括内部VOIP(Voice over Internet Protocol,)处理后的E1媒体,其中,所述E1媒体为可用于电路域传输的多媒体,即第二多媒体流,将所述第二多媒体流向外部目的路由的转发,还包括外部路由过来的MS的服务媒体向内部VOIP模块的颁发,达到直接向所述E1的TS通道服务的目的。Specifically, it includes E1 media after internal VOIP (Voice over Internet Protocol,) processing, wherein the E1 media is multimedia that can be used for circuit domain transmission, that is, the second multimedia stream, and the second multimedia The forwarding of the flow to the external destination route also includes the issuance of the service medium of the MS from the external route to the internal VOIP module, so as to achieve the purpose of directly serving the TS channel of the E1.
VOIP模块,用于接收所述第一多媒体流,并将其转换为基于E1承载的第二多媒体流。The VOIP module is configured to receive the first multimedia stream and convert it into a second multimedia stream based on E1 bearer.
同样以彩铃业务为例,在具体的实施过程中,所述第一多媒体流即彩铃铃声是基于IP域,VOIP模块将所述彩铃铃声转换为基于电路域承载的彩铃铃声,即第二多媒体流。其中,所述第一多媒体到第二多媒体的转换由一种新型的DSP子卡来完成,所述该DSP子卡含4个主处理DSP芯片,每个DSP芯片含有3个DSP处理核,核0控制DSP信令向核1和核2的转发,所述核1和所述核2完成媒体处理。Also take the CRBT service as an example. In the specific implementation process, the CRBT ring tone of the first multimedia stream is based on the IP domain, and the VOIP module converts the CRBT ring tone into a CRBT ring tone based on the circuit domain, that is, the second Multimedia streaming. Wherein, the conversion from the first multimedia to the second multimedia is completed by a new type of DSP sub-card, the DSP sub-card contains 4 main processing DSP chips, each DSP chip contains 3 DSP For processing cores, core 0 controls the forwarding of DSP signaling to core 1 and core 2, and the core 1 and core 2 complete media processing.
在将所述第一多媒体转换为第二多媒体时,需要将媒体流信息封装成可以在电路域上传输的E1承载包,在将所述媒体流信息封装成可以在电路域上传输的E1承载包的过程中,可以采用如下两种方式:When converting the first multimedia to the second multimedia, it is necessary to encapsulate the media stream information into an E1 bearer packet that can be transmitted on the circuit domain, and then encapsulate the media stream information into a In the process of transmitting E1 bearer packets, the following two methods can be used:
一,按照E1的MTP链路传输协议,将所述IP域的媒体流,解码后,打成E1承载流,以便能在E1物理链路上进行传输;One, according to the MTP link transmission protocol of E1, after decoding, the media stream in the IP domain is marked as an E1 bearer stream, so that it can be transmitted on the E1 physical link;
二,采用符合324M格式的封装方式来封装3G媒体的音视频流或RTP流。Second, adopt the encapsulation method conforming to the 324M format to encapsulate the audio and video stream or RTP stream of 3G media.
CEM(Circuit Exchange Module,电路交换模块),接收所述第二多媒体流,并基于所述第一业务请求,向所述被叫用户设备提供所述第二多媒体流。A CEM (Circuit Exchange Module, circuit exchange module), receives the second multimedia stream, and provides the second multimedia stream to the called user equipment based on the first service request.
同样以彩铃业务为例,在具体的实施过程中,所述CEM模块接收由VOIP模块将基于IP域的彩铃铃声转换为基于电路域的彩铃铃声,并根据第一业务请求即CS域中拨打电话的用户,向拨打电话的用户提供彩铃铃声服务。Also take the CRBT service as an example. In the specific implementation process, the CEM module receives the CRBT ring tone based on the IP domain converted by the VOIP module into the CRBT ring tone based on the circuit domain, and makes a call according to the first service request, that is, in the CS domain. users who make calls, provide ringtone services for users who make calls.
同时,所述CEM还可以实现CS域用户接入MS通道与IP域用户接入通道之间的通道交换、管理功能及LC(Local Connect,本板板内连接)网的连接管理功能。其中,所述LC网的连接管理主要通过对内部E1交换芯片的控制来实现,E1交换芯片和DSP构成的内部硬件由32M的HW线一端连接VOIP处理器的DSP的HW接口,另一端连接E1交换芯片的HW接口,所述E1接入单元和所述VOIP处理单元按照数据配置规则固定连接。At the same time, the CEM can also realize the channel exchange and management functions between the CS domain user access MS channel and the IP domain user access channel, and the connection management function of the LC (Local Connect, local board connection) network. Wherein, the connection management of the LC network is mainly realized through the control of the internal E1 switching chip. The internal hardware composed of the E1 switching chip and DSP is connected to the HW interface of the DSP of the VOIP processor at one end of the 32M HW line, and the other end is connected to the E1 The HW interface of the switch chip, the E1 access unit and the VOIP processing unit are fixedly connected according to data configuration rules.
数据管理模块DMM(Data Manage Module),接受来自所述PPM的控制消息,实现媒体服务器内协议、媒体流处理及管理所述媒体服务器的电路域资源和IP资源,DSP资源。The data management module DMM (Data Manage Module), accepts the control message from the PPM, implements the protocol in the media server, media stream processing and manages the circuit domain resources, IP resources and DSP resources of the media server.
在具体的实施过程中,所述数据管理模块根据来自PPM的控制信息,用来实现服务器内H.248、RTP等协议的管理,并对基于IP域的第一多媒体流和基于电路域的第二多媒体流的做相应的处理,还用来完成对包括DSP资源、IP资源、电路域资源等各种资源的管理工作。In the specific implementation process, the data management module is used to realize the management of protocols such as H.248 and RTP in the server according to the control information from the PPM, and the first multimedia stream based on the IP domain and the first multimedia stream based on the circuit domain The corresponding processing of the second multimedia stream is also used to complete the management of various resources including DSP resources, IP resources, and circuit domain resources.
其中,所述的各种资源管理工作包括:在所述MS提供服务的过程中,实现对所述DSP资源、所述IP资源、所述电路域资源的分配、数据在电路通道上的运行;在所述MS完成提供所述服务后,实现对所述DSP资源、所述IP资源和所述电路域资源等资源的回收,在所述资源管理中,电路域资源通过内部的LC网直接和VOIP处理资源采用固定的连接方式,通过所述固定的连接方式,可以在当电路域资源1~n,通过LC网和VOIP处理资源1~n一一相连时,所述DMM只需要做其中的一个1对1的替换就可,而不用每个都做替换,进而提高了替换的效率;对外连接的网口的RTP资源,采用内部交换板上出外网口的方式,以节约媒体服务器的硬件槽位资源。Wherein, the various resource management tasks include: in the process of providing services by the MS, realizing the allocation of the DSP resources, the IP resources, and the circuit domain resources, and the operation of data on the circuit channel; After the MS completes providing the service, the resources such as the DSP resources, the IP resources, and the circuit domain resources are recovered, and in the resource management, the circuit domain resources are directly connected with the internal LC network The VOIP processing resources adopt a fixed connection mode. Through the fixed connection mode, when the circuit domain resources 1-n are connected to the VOIP processing resources 1-n one by one through the LC network, the DMM only needs to do the A 1-to-1 replacement is enough instead of replacing each one, which improves the efficiency of replacement; the RTP resource of the externally connected network port uses the external network port on the internal switch board to save the hardware of the media server Slot resources.
通过上述的本发明的实施例,可以实现如下技术效果:Through the above-mentioned embodiments of the present invention, the following technical effects can be achieved:
根据第一业务请求,直接从IMS中获得相应的媒体服务,通过MS内各个模块的之间的处理,将基于IP域的第一多媒体流转换为基于电路域的第二多媒体流,解决了在现有技术中,增加中间设备MG或VIG的技术问题,达到了在简化网络结构,降低投入成本的前提下,实现了CS域用户能够直接与媒体服务器传输多媒体信息的技术效果。According to the first service request, directly obtain the corresponding media service from the IMS, and convert the first multimedia stream based on the IP domain into the second multimedia stream based on the circuit domain through the processing between various modules in the MS , solve the technical problem of adding intermediate equipment MG or VIG in the prior art, and achieve the technical effect that CS domain users can directly transmit multimedia information with the media server under the premise of simplifying the network structure and reducing investment costs.
如图4所示,为本申请实施例中,处理ADD信令的方法流程图,在具体实现过程中,所述方法可以在不同的硬件设备中实现,比如:所述的方法可以应用于包括有媒体网关控制设备的IP多媒体网络中的媒体服务器中,所述方法包括如下步骤:As shown in Figure 4, it is a flow chart of the method for processing ADD signaling in the embodiment of the present application. In the specific implementation process, the method can be implemented in different hardware devices, for example: the method can be applied to include In the media server in the IP multimedia network of media gateway control equipment, described method comprises the steps:
步骤401,接收由所述媒体网关控制设备发送的基于H.248协议的ADD信令,并基于所述ADD信令建立上下文CONTEXT。Step 401: Receive the ADD signaling based on the H.248 protocol sent by the media gateway control device, and establish a context CONTEXT based on the ADD signaling.
其中,所述ADD信令中包括有电路域终端ID,在实际应用中,所述的ADD信令还可以包括:RTP端的收发模式,采用的语音压缩算法或视频压缩算法,m行中包括服务对象的媒体需求是音频还是视频,默认打包时长,网络的抖动范围要求,采用的是IPV4还是IPV6的属性信息等等,总之,本申请所属技术领域的技术人员可以根据需求来决定所述ADD信令包括信息的种类。Wherein, the ADD signaling includes the circuit domain terminal ID. In practical applications, the ADD signaling may also include: the sending and receiving mode of the RTP end, the voice compression algorithm or video compression algorithm used, and the m line includes the service Whether the media requirement of the object is audio or video, the default packaging duration, the jitter range requirements of the network, whether the attribute information of IPV4 or IPV6 is used, etc. In short, those skilled in the technical field of this application can determine the ADD signal according to the requirements. order includes the type of information.
步骤402,将所述终端ID转换为所述媒体服务器内的电路域系统逻辑节点编号,然后给所述电路域系统逻辑节点编号分配对应的中继的终端资源。Step 402: Convert the terminal ID into a circuit domain system logical node number in the media server, and then assign corresponding relay terminal resources to the circuit domain system logical node number.
在具体的实现过程中,在所述步骤402之后,还可以进行如下的操作:In a specific implementation process, after the step 402, the following operations can also be performed:
基于所述数据管理模块的资源管理接口,请求与所述中继的终端资源对应的所述媒体服务器中VOIP模块的内口IP和PORT号,其中,对于所述内口IP和PORT号,在分配过程中,可以按照很多规则进行分配,比如:按照数据配置的二元对应的规则进行分配。当然,本申请所属技术领域的技术人员,还可以采用与所述二元对应的规则等同的其他规则进行分配。Based on the resource management interface of the data management module, request the internal port IP and PORT number of the VOIP module in the media server corresponding to the relay terminal resource, wherein, for the internal port IP and PORT number, in During the allocation process, it can be allocated according to many rules, for example, according to the binary corresponding rules of data configuration. Of course, those skilled in the technical field to which the present application belongs may also use other rules equivalent to the binary correspondence rule for allocation.
步骤403,基于所述电路域系统逻辑节点编号打开所述媒体服务器中电路交换模块的E1对应的电路域通道和语音转换通道。Step 403: Open the circuit domain channel and voice conversion channel corresponding to the E1 of the circuit switching module in the media server based on the logical node number of the circuit domain system.
在具体的应用中,本申请实施例还可以在所述步骤30之后,执行如下步骤:In a specific application, the embodiment of the present application may also perform the following steps after the step 30:
设置所述VOIP模块本端的音视频压缩算法,所述音视频压缩算法;其中,所述音视频压缩算法可以是G.711A、G.711U或者G.729等算法;The audio-video compression algorithm of the local end of the VOIP module is set, the audio-video compression algorithm; wherein, the audio-video compression algorithm can be algorithms such as G.711A, G.711U or G.729;
设置VOIP模块本端的打包时长抖动异常告警属性;其中,所述告警属性具体可以包括一个异常告警标识位,抖动阀值,告警码。Set the packet duration jitter abnormal alarm attribute of the local end of the VOIP module; wherein, the alarm attribute may specifically include an abnormal alarm flag, a jitter threshold, and an alarm code.
将所述终端加入到上下文CONTEXT中,并在所述媒体服务器的协议处理模块的数据区中记录所述终端和所述电路域系统逻辑节点编号的对应关系。Add the terminal into the context CONTEXT, and record the corresponding relationship between the terminal and the logic node number of the circuit domain system in the data area of the protocol processing module of the media server.
步骤404,基于所述电路域系统逻辑节点编号,通过所述媒体服务器内数据管理模块的资源管理接口,申请RTP资源;Step 404, based on the logical node number of the circuit domain system, apply for RTP resources through the resource management interface of the data management module in the media server;
步骤405,打开所述媒体服务器中媒体颁发模块中的RTP通道;Step 405, opening the RTP channel in the media issuing module in the media server;
其中,在申请RTP资源之后还包括:获得所述RTP资源的内口IP,内口PORT,外口IP,外口PORT,并记录电路域系统逻辑节点编号和RTP系统逻辑节点编号的对应关系。Wherein, after applying for the RTP resource, it also includes: obtaining the internal IP, internal PORT, external IP, and external PORT of the RTP resource, and recording the corresponding relationship between the logical node number of the circuit domain system and the logical node number of the RTP system.
在所述打开媒体颁发模块中的RTP通道后还包括:After the RTP channel in the media issuing module is opened, it also includes:
设置RTP端的收发状态;Set the sending and receiving status of the RTP terminal;
决定是采用IPV4封装媒体包还是采用IPV6封装媒体包;Decide whether to use IPV4 to encapsulate the media package or to use IPV6 to encapsulate the media package;
将RTP终端加入到所述上下文CONTEXT中,所述PPM将RTP的终端号加入到创建的context中;并在协议处理模块的数据区中记录RTP终端和电路域系统逻辑节点编号的对应关系。The RTP terminal is added to the context CONTEXT, and the PPM adds the RTP terminal number to the created context; and records the corresponding relationship between the RTP terminal and the logic node number of the circuit domain system in the data area of the protocol processing module.
所述记录RTP终端和电路域系统逻辑节点编号的对应关系可以为动态选取,即,在建立媒体通道的时候,选取空闲的RTP端口,并动态的将RTP端口同电路域系统逻辑节点编号的对应关系记录在DMM中;The corresponding relationship between the recorded RTP terminal and the logical node number of the circuit domain system can be dynamically selected, that is, when the media channel is established, an idle RTP port is selected, and the corresponding relationship between the RTP port and the logical node number of the circuit domain system is dynamically selected. Relationships are recorded in the DMM;
步骤406,向所述媒体网关控制设备返回用于响应所述ADD信令的响应消息;Step 406, returning a response message for responding to the ADD signaling to the media gateway control device;
如图5所示,为本申请实施例中,处理MOD信令的方法流程图,在具体实现过程中,所述方法可以在不同的硬件设备中实现,比如:所述的方法可以应用于包括有媒体网关控制设备的IP多媒体网络中的媒体服务器中,所述方法包括如下步骤:As shown in Figure 5, it is a flow chart of the method for processing MOD signaling in the embodiment of the present application. In the specific implementation process, the method can be implemented in different hardware devices, for example: the method can be applied to include In the media server in the IP multimedia network of media gateway control equipment, described method comprises the steps:
步骤501,接收由所述媒体网关控制设备发送的基于H.248协议的MOD信令,所述MOD信令包括上下文ID,RTP终端;Step 501, receiving MOD signaling based on the H.248 protocol sent by the media gateway control device, the MOD signaling includes context ID, RTP terminal;
其中,所述MOD信令还包括:由所述媒体网关控制设备和消息互通网关协商达到的所述远端RTP IP地址及端口号、远端语音压缩算法、远端打包时长。Wherein, the MOD signaling further includes: the remote RTP IP address and port number negotiated between the media gateway control device and the message interworking gateway, the remote voice compression algorithm, and the remote packaging duration.
步骤502,根据所述上下文ID,查询H.248协议的上下文数据区中记录的所述RTP终端对应的RTP系统逻辑节点编号;Step 502, query the RTP system logical node number corresponding to the RTP terminal recorded in the context data area of the H.248 protocol according to the context ID;
步骤503,根据所述RTP系统逻辑节点编号,设置所述媒体服务器中数据管理模块对应RTP资源的远端RTP IP地址,端口号;Step 503, according to the logical node number of the RTP system, set the remote RTP IP address and port number corresponding to the RTP resource of the data management module in the media server;
其中,所述的远端RTP IP地址及端口号,是所述媒体服务器的外部服务地址和端口号;所述远端语音压缩算法是所述媒体服务器的语音压缩算法;所述远端打包时长是所述媒体服务器的打包时长。Wherein, described far-end RTP IP address and port number are external service address and port number of described media server; Described far-end speech compression algorithm is the speech compression algorithm of described media server; Described far-end packing duration is the packaging duration of the media server.
步骤504,根据所述RTP系统逻辑节点编号,查找所述媒体服务器中协议处理模块中数据区对应的电路域系统逻辑节点编号,并基于所述电路域系统逻辑节点编号,设置所述媒体服务器中VOIP模块对应端口的属性;Step 504, according to the logical node number of the RTP system, search for the logical node number of the circuit domain system corresponding to the data area in the protocol processing module in the media server, and set the logical node number in the media server based on the logical node number of the circuit domain system. The properties of the port corresponding to the VOIP module;
步骤505,将所述RTP资源的远端RTP IP地址,端口号,VOIP模块对应端口的属性记录到所述媒体服务器中协议处理模块中数据区中,向所述媒体网关控制设备返回用于响应所述MOD信令的响应消息。Step 505, record the remote RTP IP address of the RTP resource, the port number, and the attribute of the corresponding port of the VOIP module into the data area in the protocol processing module in the media server, and return the response to the media gateway control device A response message of the MOD signaling.
如图6所示,为本申请实施例中,处理SUB信令的方法流程图,在具体实现过程中,所述方法可以在不同的硬件设备中实现,比如:所述的方法可以应用于包括有媒体网关控制设备的IP多媒体网络中的媒体服务器中,所述方法包括如下步骤:As shown in Figure 6, it is a flow chart of the method for processing SUB signaling in the embodiment of the present application. In the specific implementation process, the method can be implemented in different hardware devices, for example: the method can be applied to include In the media server in the IP multimedia network of media gateway control equipment, described method comprises the steps:
步骤601,接收由所述媒体网关控制设备发送的基于H.248协议的SUB信令,Step 601, receiving the SUB signaling based on the H.248 protocol sent by the media gateway control device,
其中,所述SUB信令包括有所述上下文ID、所述RTP终端和电路域终端;Wherein, the SUB signaling includes the context ID, the RTP terminal and the circuit domain terminal;
步骤602,基于所述上下文ID,查询H.248协议的上下文数据区中记录的所述RTP终端对应的RTP系统逻辑节点编号和所述电路域终端对应的电路域系统逻辑节点编号;Step 602, based on the context ID, query the RTP system logical node number corresponding to the RTP terminal and the circuit domain system logical node number corresponding to the circuit domain terminal recorded in the context data area of the H.248 protocol;
步骤603,基于所述RTP系统逻辑节点编号,关闭所述媒体服务器中的RTP通道;Step 603, based on the logical node number of the RTP system, close the RTP channel in the media server;
在具体的实现过程中,在所述步骤603之后,还可以进行如下的操作:In a specific implementation process, after the step 603, the following operations may also be performed:
基于所述RTP系统逻辑节点编号,通过调用所述媒体服务器中数据管理模块的数据管理接口,释放所述RTP系统逻辑节点编号资源,并将所述RTP系统逻辑节点编号对应的数据管理资源通道设置为空闲状态。Based on the logical node number of the RTP system, by calling the data management interface of the data management module in the media server, releasing the logical node number resource of the RTP system, and setting the data management resource channel corresponding to the logical node number of the RTP system is idle.
步骤604,基于所述电路域系统逻辑节点编号,关闭电路域通道及语音转换通道;Step 604, based on the logical node number of the circuit domain system, close the circuit domain channel and the voice conversion channel;
在具体的实现过程中,在所述步骤604之后,还可以进行如下的操作:In a specific implementation process, after the step 604, the following operations may also be performed:
基于所述电路域系统逻辑节点编号,通过调用所述媒体服务器中数据管理模块的数据管理接口,释放所述电路域系统逻辑节点编号资源,并将所述电路域系统逻辑节点编号对应的数据管理资源通道设置为空闲状态。Based on the logical node number of the circuit domain system, by calling the data management interface of the data management module in the media server, release the resource of the logical node number of the circuit domain system, and manage the data corresponding to the logical node number of the circuit domain system The resource channel is set to idle state.
步骤605,向所述媒体网关控制设备返回用于响应所述SUB信令的响应消息,并上报统计的媒体流信息。Step 605: Return a response message for responding to the SUB signaling to the media gateway control device, and report the statistical media flow information.
参考图7,下面就以电路域用户使用IMS中彩铃业务为例,详细说明CS域中用户如何实现彩铃业务的具体过程。Referring to FIG. 7 , the specific process of how the user in the CS domain implements the CRBT service will be described in detail below by taking CS domain users using the CRBT service in the IMS as an example.
步骤1,主叫用户UE1摘机拨号后,MGCF收到主叫交换机的ISUP初始地址消息(IAM),然后向MS的CSAS(Circuit Switched Domain Access System,电路交换域接入系统,)发送Add消息,其中所述ADD消息包括:Step 1, after the calling user UE1 goes off-hook and dials, the MGCF receives the ISUP initial address message (IAM) of the calling switch, and then sends an Add message to the CSAS (Circuit Switched Domain Access System, Circuit Switched Domain Access System) of the MS , wherein the ADD message includes:
在CSAS中创建一个新context,并在context中加入入局中继和RTP终端号,并将RTP的Mode设置为Receiveonly,并设置语音压缩算法;Create a new context in CSAS, and add the incoming trunk and RTP terminal number to the context, and set the RTP Mode to Receiveonly, and set the voice compression algorithm;
其中,所述的语音压缩算法可以采用G.711A、G.711U、G.729、324M等压缩算法;Wherein, the voice compression algorithm can adopt compression algorithms such as G.711A, G.711U, G.729, 324M;
步骤2,所述CSAS为所需Add的RTP分配资源RTP1,并向所述MGCF应答Reply消息,其中,所述Reply消息包括:所述RTP1的IP地址、采用的语音压缩算法和RTP端口号等;Step 2, the CSAS allocates resource RTP1 for the RTP required to Add, and responds to the MGCF with a Reply message, wherein the Reply message includes: the IP address of the RTP1, the voice compression algorithm used, and the RTP port number, etc. ;
步骤3,所述MGCF分配主叫UE1 SDP offer;INVITE请求经彩铃应用服务器后被路由到被叫用户UE2;Step 3, the MGCF distributes the calling UE1 SDP offer; the INVITE request is routed to the called user UE2 after passing through the CRBT application server;
所述被叫用户UE2振铃,发送180响应,并携带对应所述UE1 SDP offer的UE2 SDPanswer;The called user UE2 rings, sends a 180 response, and carries UE2 SDPanswer corresponding to the UE1 SDP offer;
步骤4,彩铃应用服务器向MS的MRF(Media Resource Function,媒体资源功能)申请彩铃媒体资源,彩铃应用服务器路由180响应到所述MGCF,响应中携带所述MRBT SDPanswer;Step 4, the CRBT application server applies for CRBT media resources to the MRF (Media Resource Function) of the MS, and the CRBT application server route 180 responds to the MGCF, carrying the MRBT SDPanswer in the response;
步骤5,所述MGCF后向MS的CSAS发送Mod消息,设置远端RTP地址及端口号、语音压缩算法等;Step 5, the MGCF sends a Mod message to the CSAS of the MS, and sets the remote RTP address and port number, voice compression algorithm, etc.;
步骤6,所述CSAS向所述MGCF返回应答Reply消息,;Step 6, the CSAS returns a Reply message to the MGCF;
步骤7,所述MGCF将180响应转换为ACM(Address Complete Message,地址全消息),发送到所述UE1;所述UE1通过PRACK确认所述180响应;所述UE2对PRACK进行响应;Step 7, the MGCF converts the 180 response into an ACM (Address Complete Message) and sends it to the UE1; the UE1 confirms the 180 response through PRACK; the UE2 responds to the PRACK;
步骤8,彩铃应用服务器发送INFO请求指示MRF播放彩铃;Step 8, the CRBT application server sends an INFO request to instruct the MRF to play the CRBT;
步骤9,所述被叫UE2摘机后,所述彩铃应用服务器使用UPDATE向MGCF发起媒体更新;同时所述彩铃应用服务器发送BYE请求到所述MRF,结束彩铃播放;Step 9: After the called UE2 goes off-hook, the CRBT application server uses UPDATE to initiate a media update to the MGCF; at the same time, the CRBT application server sends a BYE request to the MRF to end the CRBT playing;
步骤10,所述MGCF向CSAS发送MOD消息,将其Mode修改为SendReceive;Step 10, the MGCF sends a MOD message to the CSAS, and modifies its Mode to SendReceive;
步骤11,所述CSAS向所述MGCF返回Reply消息;Step 11, the CSAS returns a Reply message to the MGCF;
步骤12,所述主叫UE1和所述被叫UE2开始通话;Step 12, the calling UE1 and the called UE2 start talking;
步骤13,所述主叫UE1或所述被叫UE2挂机结束通话;Step 13, the calling UE1 or the called UE2 hangs up and ends the call;
步骤14,所述MGCF向CSAS发送SUB消息,释放被叫中继和RTP;Step 14, the MGCF sends a SUB message to the CSAS to release the called relay and RTP;
步骤15,CSAS向MGCF返回Reply,其中上报呼叫的媒体流统计信息,Step 15, the CSAS returns a Reply to the MGCF, which reports the media flow statistics of the call,
其中,所述的媒体流统计信息包括:媒体保持时长,主叫方,被叫方,播放的文件名称信息。Wherein, the media stream statistical information includes: media retention duration, calling party, called party, and file name information to be played.
通过本申请文件中的实施例,至少可以实现如下技术效果:Through the embodiments in this application document, at least the following technical effects can be achieved:
一、通过ADD信令的处理,解决了电路域和中继终端资源的分配和电路域通道、RTP通道及语音转换通道的打开问题;并设置上述处理过程中所涉及的技术细节如:RTP收发模式,压缩算法模式,打包时长,网络抖动范围及异常告警属性,网络协议制式等相关参数,达到了多媒体信息流在通道上进行传输准备和为所对应的参数细节设置准备的技术效果。1. Through the processing of ADD signaling, the allocation of circuit domain and relay terminal resources and the opening of circuit domain channels, RTP channels and voice conversion channels are solved; and the technical details involved in the above processing process are set, such as: RTP sending and receiving Mode, compression algorithm mode, packaging time, network jitter range and abnormal alarm attributes, network protocol standard and other related parameters, to achieve the technical effect of preparing for the transmission of multimedia information streams on the channel and preparing for the corresponding parameter details.
二、通过MOD信令的处理,解决了RTP终端的SLN和RTP的IP地址、端口号、VOIP模块对应的端口属性、远端压缩算法、远端打包时长等的设置问题,达到了媒体服务器中各个模块之间获得了相应的逻辑接口位置的技术效果。2. Through the processing of MOD signaling, the problem of setting the SLN of the RTP terminal and RTP IP address, port number, port attribute corresponding to the VOIP module, remote compression algorithm, and remote packaging time are solved, and the media server has achieved The technical effect of the corresponding logical interface position is obtained between each module.
三、通过SUB信令的处理,解决了RTP的SLN和电路域的SLN所对应的电路域通道、RTP通道和语音转换通道的关闭问题,,为下次媒体服务提供了通道资源和电路域中继资源等。3. Through the processing of SUB signaling, the problem of closing the circuit domain channel, RTP channel, and voice conversion channel corresponding to the SLN of RTP and the SLN of the circuit domain is solved, and channel resources and in the circuit domain are provided for the next media service. Following resources etc.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若对本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (3)
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110239163.1A CN102271137B (en) | 2011-08-19 | 2011-08-19 | a media server |
CN201610705039.2A CN106453240B (en) | 2011-08-19 | 2011-08-19 | A method of processing ADD signaling |
CN201610701648.0A CN106330892B (en) | 2011-08-19 | 2011-08-19 | A method of processing MOD signaling |
CN201610702580.8A CN106330896B (en) | 2011-08-19 | 2011-08-19 | A method of processing SUB signaling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110239163.1A CN102271137B (en) | 2011-08-19 | 2011-08-19 | a media server |
Related Child Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610702580.8A Division CN106330896B (en) | 2011-08-19 | 2011-08-19 | A method of processing SUB signaling |
CN201610701648.0A Division CN106330892B (en) | 2011-08-19 | 2011-08-19 | A method of processing MOD signaling |
CN201610705039.2A Division CN106453240B (en) | 2011-08-19 | 2011-08-19 | A method of processing ADD signaling |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102271137A CN102271137A (en) | 2011-12-07 |
CN102271137B true CN102271137B (en) | 2017-11-10 |
Family
ID=45053300
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110239163.1A Active CN102271137B (en) | 2011-08-19 | 2011-08-19 | a media server |
CN201610701648.0A Active CN106330892B (en) | 2011-08-19 | 2011-08-19 | A method of processing MOD signaling |
CN201610702580.8A Active CN106330896B (en) | 2011-08-19 | 2011-08-19 | A method of processing SUB signaling |
CN201610705039.2A Active CN106453240B (en) | 2011-08-19 | 2011-08-19 | A method of processing ADD signaling |
Family Applications After (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610701648.0A Active CN106330892B (en) | 2011-08-19 | 2011-08-19 | A method of processing MOD signaling |
CN201610702580.8A Active CN106330896B (en) | 2011-08-19 | 2011-08-19 | A method of processing SUB signaling |
CN201610705039.2A Active CN106453240B (en) | 2011-08-19 | 2011-08-19 | A method of processing ADD signaling |
Country Status (1)
Country | Link |
---|---|
CN (4) | CN102271137B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166929B (en) * | 2011-12-15 | 2016-06-08 | 华为技术有限公司 | media playing method and device |
WO2018152772A1 (en) * | 2017-02-24 | 2018-08-30 | 华为技术有限公司 | Network telephone processing method and related network device |
CN109309931A (en) * | 2018-11-23 | 2019-02-05 | 冲石通信技术(北京)有限公司 | Test method, device and the media emulation server of performance of mobile communication system |
CN111404862B (en) * | 2019-01-02 | 2022-09-13 | 中国移动通信有限公司研究院 | Multimedia processing method and equipment |
CN110266902B (en) * | 2019-05-27 | 2021-04-02 | 国家计算机网络与信息安全管理中心 | VoIP signaling and media data association system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756242A (en) * | 2004-09-30 | 2006-04-05 | 华为技术有限公司 | System and method for carrying services by circuit switching in IP multimedia subsystem |
CN101136907A (en) * | 2006-09-01 | 2008-03-05 | 中兴通讯股份有限公司 | Relay media gateway media conversion control method in next generation network |
WO2009049531A1 (en) * | 2007-10-12 | 2009-04-23 | Huawei Technologies Co., Ltd. | A method, a multimedia network gateway control device and an application server for implementing intercommunication of color ring back tone |
CN102137112A (en) * | 2011-04-20 | 2011-07-27 | 中兴通讯股份有限公司 | Method and device for converting media streams |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8036120B2 (en) * | 2003-08-27 | 2011-10-11 | Nortel Networks Limited | Technique for admission control of packet flows |
US7359373B2 (en) * | 2003-10-17 | 2008-04-15 | Nokia Corporation | System, apparatus, and method for establishing circuit-switched communications via packet-switched network signaling |
CN100551168C (en) * | 2006-03-20 | 2009-10-14 | 华为技术有限公司 | The method of connecting multimedia subsystem of circuit field terminal and implement device thereof |
EP2081337A4 (en) * | 2006-11-27 | 2010-03-03 | Huawei Tech Co Ltd | System, method and devices for achieving the multimedia session continuity |
KR101093846B1 (en) * | 2006-12-28 | 2011-12-13 | 노키아 코포레이션 | Method, apparatus and computer readable medium for performing handover between circuit switched call and packet switched call |
CN101068340B (en) * | 2007-06-08 | 2010-06-02 | 华为技术有限公司 | Program network recording method, media processing server and network recording system |
CN101378535B (en) * | 2007-08-27 | 2011-12-07 | 华为技术有限公司 | Method, system and apparatus for controlling message by transmission medium flow |
CN101646254A (en) * | 2009-06-24 | 2010-02-10 | 中国联合网络通信集团有限公司 | Implementation method of mobile video blog and system thereof |
-
2011
- 2011-08-19 CN CN201110239163.1A patent/CN102271137B/en active Active
- 2011-08-19 CN CN201610701648.0A patent/CN106330892B/en active Active
- 2011-08-19 CN CN201610702580.8A patent/CN106330896B/en active Active
- 2011-08-19 CN CN201610705039.2A patent/CN106453240B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756242A (en) * | 2004-09-30 | 2006-04-05 | 华为技术有限公司 | System and method for carrying services by circuit switching in IP multimedia subsystem |
CN101136907A (en) * | 2006-09-01 | 2008-03-05 | 中兴通讯股份有限公司 | Relay media gateway media conversion control method in next generation network |
WO2009049531A1 (en) * | 2007-10-12 | 2009-04-23 | Huawei Technologies Co., Ltd. | A method, a multimedia network gateway control device and an application server for implementing intercommunication of color ring back tone |
CN102137112A (en) * | 2011-04-20 | 2011-07-27 | 中兴通讯股份有限公司 | Method and device for converting media streams |
Also Published As
Publication number | Publication date |
---|---|
CN106330892B (en) | 2019-09-20 |
CN106453240B (en) | 2019-11-08 |
CN102271137A (en) | 2011-12-07 |
CN106330896A (en) | 2017-01-11 |
CN106330896B (en) | 2019-09-20 |
CN106330892A (en) | 2017-01-11 |
CN106453240A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1685691B (en) | Method for transferring call control parameters between media gateway controllers | |
CN102271137B (en) | a media server | |
CN100413351C (en) | A processing method for bearer control | |
WO2008064580A1 (en) | The method, system and application server to avoid the cross-talk of color ringing back tone | |
CN101631084A (en) | Method and system for passing medial control flow message through network address translator | |
CN101547266B (en) | A method, system and gateway for providing intelligent services | |
US7948971B2 (en) | Method and device for controlling media resources, method and system for establishing calls | |
CN101472019B (en) | Method, system and device for mutually communicating outband DTMF signaling | |
CN100589506C (en) | A wide and narrowband network color ring back tone sharing system and method | |
Bates et al. | Converged multimedia networks | |
CN100446602C (en) | A method of transmitting mobile phone key information | |
CN100579253C (en) | Narrowband sound playback equipment used in broadband network systems | |
JP2013012855A (en) | Relay system, and codec selection method for relay network | |
CN100399773C (en) | Method for realizing IP domain cross-domain intercommunication | |
KR20090066062A (en) | SIP-based Internet telephone service system and method | |
CN1319351C (en) | Method for realizing realtime multimedia bi-directional communication by NAT | |
KR100809398B1 (en) | Sms transmission method and system for multicast protocol support | |
CN101754409B (en) | Method for constructing internet protocol (IP) bearer and soft switch adopted by the same | |
CN101110864A (en) | A method of using media server to provide dial-up service | |
CN100361468C (en) | Method for realizing access of access equipment under private network in IP access network | |
CN115242997B (en) | A method for realizing secure access of public network mobile phone to company video conferencing system | |
CN101258717B (en) | Medium gateway system and method for realizing medium gateway internal call | |
CN100499720C (en) | Realization method for providing multi-rate data information loading service | |
KR100938558B1 (en) | Method of providing call service according to subscriber's call priority in VIP network, method of providing call service according to user authentication information in VIP network and recording medium | |
CN100459542C (en) | Method for realizing internet access in next generation network environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |