[go: up one dir, main page]

CN1633129A - A Media Server Based on Softswitch - Google Patents

A Media Server Based on Softswitch Download PDF

Info

Publication number
CN1633129A
CN1633129A CN 200510002059 CN200510002059A CN1633129A CN 1633129 A CN1633129 A CN 1633129A CN 200510002059 CN200510002059 CN 200510002059 CN 200510002059 A CN200510002059 A CN 200510002059A CN 1633129 A CN1633129 A CN 1633129A
Authority
CN
China
Prior art keywords
module
message
resource
protocol
control
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.)
Granted
Application number
CN 200510002059
Other languages
Chinese (zh)
Other versions
CN100372346C (en
Inventor
廖建新
王晶
王纯
李炜
朱晓民
吴乃星
雷正雄
徐鹏
沙振宇
武家春
张磊
樊利民
程莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Hangzhou Dongxin Beiyou Information Technology Co Ltd
Original Assignee
Beijing University of Posts and Telecommunications
Hangzhou Dongxin Beiyou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications, Hangzhou Dongxin Beiyou Information Technology Co Ltd filed Critical Beijing University of Posts and Telecommunications
Priority to CNB2005100020595A priority Critical patent/CN100372346C/en
Publication of CN1633129A publication Critical patent/CN1633129A/en
Application granted granted Critical
Publication of CN100372346C publication Critical patent/CN100372346C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

A soft-switch media server includes: a preset unit as the host, multiple post sets as the slave units and multiple operation maintenance sets, among which, the preset device is composed of a general information module, a protocol stack module, a resource control module, an operation maintenance access module and a selective resource process module connected with said general information module separately, each post set includes mutually connected general information module and a resource process module, communication wires are used to realize information interaction between the preset unit and the post general information modules, the operation maintenance access modules of the preset unit and operation maintenance sets.

Description

一种基于软交换的媒体服务器A Media Server Based on Softswitch

技术领域technical field

本发明涉及一种基于软交换的媒体服务器,确切地说,涉及一种在下一代网络(NGN,Next Generation Network)中用于提供各种媒体资源的服务器;属于电信网络中的媒体信息处理装置技术领域。The present invention relates to a kind of media server based on soft exchange, relate to a kind of server that is used for providing various media resources in the next generation network (NGN, Next Generation Network) exactly; Belong to the media information processing device in the telecommunication network technology field.

背景技术Background technique

在各种电信业务中,有相当一部分业务需要一些特殊的媒体资源进行配合(例如:放音资源、录音资源、语音合成资源等),因此,在电信网络中,用于提供各种媒体资源的设备是不可或缺的重要网元。In various telecommunication services, quite a few services require the cooperation of some special media resources (for example: playback resources, recording resources, speech synthesis resources, etc.). Therefore, in the telecommunication network, the Devices are indispensable and important network elements.

交互式语音应答系统(IVR,Interactive Voice Response)和智能外设(IP,Intelligent Peripheral)是当前电信网络中用于提供多种媒体资源的两种典型设备。该两者都能提供放音资源、录音资源、语音合成资源、文语转换资源、电话会议桥等五种资源,其中智能外设还具有提供传真、电视会议桥、导航菜单、协议转换器、视频服务器、呼叫承载控制网关等资源的能力。Interactive Voice Response (IVR, Interactive Voice Response) and Intelligent Peripheral (IP, Intelligent Peripheral) are two typical devices used to provide various media resources in current telecommunication networks. Both of them can provide five kinds of resources, including playback resources, recording resources, speech synthesis resources, text-to-speech conversion resources, and conference call bridges. Among them, the intelligent peripherals also provide fax, video conference bridge, navigation menu, protocol converter, Capabilities of resources such as video server and call bearer control gateway.

但是,交互式语音应答系统属于传统固定电信网络的边缘技术,智能外设属于传统智能网体系,它们两者所支持的网络体系结构、协议、功能和性能等都与下一代网络体系不符合。例如:首先,交互式语音应答系统和智能外设都是使用7号信令,尚不支持基于互联网协议IP的新型协议,例如会话初始协议(SIP,Session Initiation Protocol)、信令传输H.248协议族(SIGTRAN,SignalingTransport)等。其次,交互式语音应答系统和智能外设在业务提供上属于封闭型,只对运营商开放,不符合下一代网络所要求的业务开发能力向第三方开放的发展趋势。再者,交互式语音应答系统和智能外设都是基于电路交换,不能应用于基于分组交换的下一代网络环境中。另外,从物理层和数据链路层来说,交互式语音应答系统和智能外设对外的信令和承载接口一般是E1接口,而该类接口在从传统网络向下一代网络的演进过程中将会被逐步淘汰。因此,交互式语音应答系统和智能外设已经不能满足以互联网协议IP为基础、基于分组交换的下一代网络的要求。However, the interactive voice response system belongs to the edge technology of the traditional fixed telecommunication network, and the intelligent peripheral device belongs to the traditional intelligent network system. The network architecture, protocol, function and performance supported by both of them are not in line with the next generation network system. For example: First, the interactive voice response system and the intelligent peripherals both use SS7, and do not yet support new protocols based on Internet Protocol IP, such as Session Initiation Protocol (SIP, Session Initiation Protocol), signaling transmission H.248 Protocol family (SIGTRAN, SignalingTransport), etc. Secondly, the interactive voice response system and intelligent peripherals are closed in terms of service provision and are only open to operators, which does not meet the development trend of opening the service development capabilities required by the next generation network to third parties. Furthermore, both the interactive voice response system and the intelligent peripherals are based on circuit switching, and cannot be applied to the next-generation network environment based on packet switching. In addition, from the perspective of the physical layer and the data link layer, the external signaling and bearer interfaces of the interactive voice response system and intelligent peripherals are generally E1 interfaces. will be phased out. Therefore, interactive voice response systems and intelligent peripherals can no longer meet the requirements of the next-generation network based on Internet Protocol IP and packet switching.

虽然,中国发明专利申请《无缝、可扩缩的分布式媒体服务器》(公开号:CN1324461A)提供了一种用于因特网领域的多媒体服务器,以便降低系统的瓶颈效应。但是,该发明专利申请解决的问题是针对因特网领域的,不适用于电信网络,尤其不适用于下一代电信网络对媒体服务器的特殊技术要求。因此,研究和开发一种基于软交换的媒体服务器,以适应电信网络向下一代网络NGN的发展方向,已经成为一个急需解决的技术问题。Although, Chinese invention patent application "seamless, scalable distributed media server" (publication number: CN1324461A) provides a kind of multimedia server that is used in Internet field, so that reduce the bottleneck effect of system. However, the problem solved by this invention patent application is aimed at the Internet field, not applicable to the telecommunication network, especially not applicable to the special technical requirements of the media server in the next generation telecommunication network. Therefore, the research and development of a softswitch-based media server to adapt to the development direction of the telecommunication network to the next-generation network NGN has become an urgent technical problem to be solved.

发明内容Contents of the invention

有鉴于此,本发明的目的是提供一种基于软交换的媒体服务器,该媒体服务器能够支持下一代网络中的各种信令协议,为下一代网络中的各种基本电信业务和增值业务提供广泛的媒体资源的支持。In view of this, the purpose of the present invention is to provide a media server based on softswitch, which can support various signaling protocols in the next generation network, and provide Extensive media resource support.

为了达到上述目的,本发明提供了一种基于软交换的媒体服务器,其技术方案是:该装置包括有:一台用作主机的前置机、多台用作从机的后置机和多台操作维护机;所述前置机包括有:通用消息模块,以及与该通用消息模块分别连接的协议栈模块、资源控制模块和操作维护接入模块;后置机包括有:相互连接的通用消息模块和资源处理模块;其中前置机与各个后置机的通用消息模块之间,以及前置机的操作维护接入模块与各个操作维护机之间都通过通信线路实现信息交互。In order to achieve the above-mentioned purpose, the present invention provides a kind of media server based on soft switch, and its technical scheme is: this device includes: a front-end machine used as the master, a plurality of back-end machines used as slaves and multiple An operation and maintenance machine; the front-end machine includes: a general message module, and a protocol stack module, a resource control module, and an operation and maintenance access module respectively connected to the general message module; the back-end machine includes: a general message module connected to each other The message module and the resource processing module; among them, information exchange is realized through communication lines between the general message module of the front-end machine and each back-end machine, and between the operation and maintenance access module of the front-end machine and each operation and maintenance machine.

所述前置机的功能是:通过协议栈模块与外部网络实体进行包括但不限于SIP信令或H.248信令的收发传送;对该媒体服务器的各种媒体资源进行统一管理、分配和控制;对各个后置机进行流量控制和负荷均衡控制;通过操作维护接入模块与操作维护机进行信息交互,接收并执行操作维护机发出的针对前置机的各种操作/维护命令,并返回执行结果;并代表后置机接收操作维护机发出的针对后置机的各种操作/维护命令,并转发给相应的后置机。The function of the front-end processor is: through the protocol stack module and the external network entity, including but not limited to the sending and receiving of SIP signaling or H.248 signaling; performing unified management, distribution and processing of various media resources of the media server control; perform flow control and load balancing control on each back-end machine; exchange information with the operation and maintenance machine through the operation and maintenance access module, receive and execute various operation/maintenance commands for the front-end machine issued by the operation and maintenance machine, and Return the execution result; and receive various operation/maintenance commands for the back-end machine from the operation and maintenance machine on behalf of the back-end machine, and forward them to the corresponding back-end machine.

所述前置机可以选配资源处理模块,该资源处理模块的功能是:用于提供各种媒体资源,并与外部网络实体进行至少包括实时传输协议RTP(Real-timeTransport Protocol)和实时传输控制协议RTCP(Real-time Transport ControlProtocol)媒体承载协议消息的接收和发送,实现音频/视频媒体信息的双向交换;接受资源控制模块的控制,通过底层硬件板卡资源或者调用软件型式的数字信号处理DSP的应用编程接口API(Application Programming Interface)来控制媒体资源的使用,使得资源控制模块能够适应各种不同的底层应用编程接口API。The front-end processor can be equipped with a resource processing module, and the function of the resource processing module is: to provide various media resources, and to perform at least real-time transport protocol RTP (Real-time Transport Protocol) and real-time transport control with external network entities The protocol RTCP (Real-time Transport Control Protocol) receives and sends media bearer protocol messages to realize the two-way exchange of audio/video media information; accepts the control of the resource control module, and uses the underlying hardware board resources or calls the digital signal processing DSP of the software type The application programming interface API (Application Programming Interface) is used to control the use of media resources, so that the resource control module can adapt to various underlying application programming interface APIs.

所述协议栈模块包括两个子模块:完成标准信令消息的传输层及以下协议层的消息包处理的协议栈前端子模块,以及完成标准信令消息的编解码的协议栈代理子模块;该协议栈模块的功能是:在外部控制实体和内部资源控制模块之间进行协议转换,完成信令消息的编解码。The protocol stack module includes two submodules: the front-end submodule of the protocol stack that completes the transport layer of the standard signaling message and the message packet processing of the following protocol layers, and the proxy submodule of the protocol stack that completes the encoding and decoding of the standard signaling message; The function of the protocol stack module is to perform protocol conversion between the external control entity and the internal resource control module, and complete the encoding and decoding of signaling messages.

所述协议栈代理子模块由H.248协议栈代理子模块H248PAM(H.248Protocol stack Agent Module)和SIP协议栈代理子模块SIPPAM(SIP Protocolstack Agent Module)两部分组成,该两个协议栈代理子模块利用通用消息协议GMP分别对解码以后的H.248协议消息或SIP协议消息进行封装,并通过通用消息模块分别提供给H.248应用子模块H248AppM或SIP应用子模块SIPPAM;H248应用子模块H248AppM或SIP应用子模块SIPAppM用GMP对自身产生的未经过编码的H.248协议消息或SIP协议消息的必需信息分别进行封装,并通过通用消息模块分别传送给该两个协议代理子模块,再由该两个协议代理子模块将消息进行编码后发给媒体服务器的控制设备。Described protocol stack agent submodule is made up of H.248 protocol stack agent submodule H248PAM (H.248Protocol stack Agent Module) and SIP protocol stack agent submodule SIPPAM (SIP Protocolstack Agent Module). The module uses the general message protocol GMP to encapsulate the decoded H.248 protocol messages or SIP protocol messages, and provides them to the H.248 application sub-module H248AppM or SIP application sub-module SIPPAM through the general message module; H248 application sub-module H248AppM Or the SIP application sub-module SIPAppM encapsulates the unencoded H.248 protocol message or the necessary information of the SIP protocol message generated by itself with GMP, and sends them to the two protocol agent sub-modules respectively through the general message module, and then the The two protocol agent sub-modules encode the message and send it to the control device of the media server.

所述前置机的通用消息模块包括两个子模块:完成信令及其它实时消息的分发和路由控制的实时消息子模块,以及完成至少包括操作维护消息和网管消息的分发和路由控制的非实时消息子模块;该通用消息模块功能是作为前置机各个模块之间和前置机与后置机之间的通信枢纽,为各个模块之间的通信提供路由并转发消息。The general message module of the front-end processor includes two sub-modules: the real-time message sub-module that completes the distribution and routing control of signaling and other real-time messages, and the non-real-time message sub-module that completes the distribution and routing control of at least operation and maintenance messages and network management messages. Message sub-module; the function of this general message module is to serve as the communication hub between each module of the front-end processor and between the front-end processor and the rear-end processor, providing routing and forwarding messages for the communication between the various modules.

所述资源控制模块包括:The resource control module includes:

资源管理子模块RMM(Resource Management Module),用于管理该装置中涉及SIP和H.248资源能力的管理和控制协议本身的各种资源;该子模块通过资源配置文件获得媒体服务器的硬件板卡能力和软件形式的数字信号处理DSP能力的加载;并为H.248应用子模块H248AppM和SIP应用子模块SIPAppM提供资源的各种描述(例如根据拨号音,忙音等语音的标识符toneId获得语音文件的名字,存取用于承载实时传输协议RTP的传输层协议即用户数据报协议UDP的端口号,存取前述端口的编解码能力等)以及与协议相关的资源(例如H.248协议的终结点标识terminationId,上下文标识contextId,预先加载的电话拨号数字串格式digitMap等);The resource management sub-module RMM (Resource Management Module) is used to manage various resources in the device involving the management and control protocols of SIP and H.248 resource capabilities; this sub-module obtains the hardware board of the media server through the resource configuration file Capability and the loading of digital signal processing DSP capability in software form; and provide various descriptions of resources for H.248 application submodule H248AppM and SIP application submodule SIPAppM (for example, obtain voice files according to the identifier toneId of voices such as dial tone and busy tone The name of the transport layer protocol used to carry the real-time transport protocol RTP, that is, the port number of the user datagram protocol UDP, the codec capability of the aforementioned port, etc.) and protocol-related resources (such as the termination of the H.248 protocol point identifier terminationId, context identifier contextId, pre-loaded telephone dial digit string format digitMap, etc.);

H.248应用子模块H248AppM(H.248 Application Module),负责实现H.248的协议功能,指挥资源处理模块实现媒体服务器的资源功能;对从H.248协议栈代理子模块H248PAM送来的H.248消息进行解释,并将该子模块与资源部分进行相关操作形成的内部资源控制协议IRCP消息发送给资源处理模块;该模块还包含各种与呼叫和协议相关的数据结构,能在媒体服务器的外部控制实体的控制下对呼叫进行管理;The H.248 application sub-module H248AppM (H.248 Application Module) is responsible for realizing the protocol function of H.248, directing the resource processing module to realize the resource function of the media server; .248 message, and send the internal resource control protocol IRCP message formed by the sub-module and the resource part to the resource processing module; this module also contains various data structures related to calls and protocols, which can be used in the media server management of the call under the control of an external controlling entity;

SIP应用子模块SIPAppM(SIP Application Module),负责实现SIP的协议功能,指挥资源处理模块实现媒体服务器的资源功能;对从SIP协议栈代理子模块SIPPAM送来的SIP消息进行解释,并将该子模块与资源部分进行相关操作形成的IRCP消息发送给资源处理模块;该模块还包含各种与呼叫和协议相关的数据结构,能在媒体服务器的外部控制实体的控制下对呼叫进行管理;The SIP application sub-module SIPAppM (SIP Application Module) is responsible for realizing the protocol function of SIP, directing the resource processing module to realize the resource function of the media server; interpreting the SIP message sent from the SIP protocol stack agent sub-module SIPPAM, and sending the sub-module The IRCP message formed by the related operations between the module and the resource part is sent to the resource processing module; this module also contains various data structures related to calls and protocols, and can manage calls under the control of the external control entity of the media server;

通用消息封装子模块GMEM(General Message Encapsulation Module),负责将IRCP消息封装成通用消息协议GMP(General Message Protocol)消息,并负责将GMP消息解包成IRCP消息,提供给IRCP消息使用者;The general message encapsulation sub-module GMEM (General Message Encapsulation Module) is responsible for encapsulating IRCP messages into general message protocol GMP (General Message Protocol) messages, and unpacking GMP messages into IRCP messages for IRCP message users;

总控子模块(OCM,Overall Control Module),作为总体运行调度子模块,负责其他各个子模块的初始化,然后以轮询方式分别调用H248AppM和SIPAppM,检查各个输入消息流,并进行相应的处理。The overall control sub-module (OCM, Overall Control Module), as the overall operation scheduling sub-module, is responsible for the initialization of other sub-modules, and then calls H248AppM and SIPAppM respectively in a polling manner, checks each input message flow, and performs corresponding processing.

所述资源控制模块的功能是:负责所有媒体资源的分配和释放;对经由通用消息模块封装后的信令消息进行后台分布式处理;对经由与协议栈模块交互后所获取的外部控制设备发送的命令进行处理,然后,再与资源处理模块进行交互,控制媒体资源的使用,以使资源处理模块能够适应各种不同的外部控制协议。The functions of the resource control module are: responsible for the allocation and release of all media resources; background distributed processing of signaling messages encapsulated by the general message module; sending external control devices obtained through interaction with the protocol stack module The command is processed, and then interacts with the resource processing module to control the use of media resources, so that the resource processing module can adapt to various external control protocols.

所述操作维护接入模块的功能是:接收操作维护机发来的操作维护命令,通过和通用消息模块的交互实现对各个其他模块的操作维护功能。The function of the operation and maintenance access module is to receive the operation and maintenance command sent by the operation and maintenance machine, and realize the operation and maintenance function of each other module through the interaction with the general message module.

所述后置机的功能是:接受前置机的控制,根据前置机的指令对媒体资源执行分配、回收、标识和其它操作,并返回操作结果;按照设定策略向前置机报告各个后置机当前的各种工作状态,以配合前置机实现负载均衡和流量控制;接收和执行由前置机转发来的操作维护命令,并返回执行结果;通过例检消息发现前置机发生单机故障时,选择其中一台后置机作为主机,并启动主机进程,重新向外部控制实体注册。The functions of the post-processor are: to accept the control of the front-end processor, perform allocation, recycling, identification and other operations on media resources according to the instructions of the front-end processor, and return the operation result; The current working status of the rear-end processor is used to cooperate with the front-end processor to achieve load balancing and flow control; receive and execute the operation and maintenance commands forwarded by the front-end processor, and return the execution result; through the case inspection message, it is found that the front-end When a single machine fails, select one of the backend machines as the host, start the host process, and re-register with the external control entity.

所述后置机的通用消息模块包括两个子模块:完成信令及其它实时消息的分发和路由控制的实时消息子模块,以及完成至少包括操作维护消息和网管消息的分发和路由控制的非实时消息子模块;该通用消息模块功能是:与前置机中的通用消息模块进行通信交互,在前置机和后置机之间转发消息。The general message module of the back-end machine includes two sub-modules: the real-time message sub-module that completes the distribution and routing control of signaling and other real-time messages, and the non-real-time message sub-module that completes the distribution and routing control of at least operation and maintenance messages and network management messages. A message sub-module; the function of the general message module is to communicate and interact with the general message module in the front-end processor, and to forward messages between the front-end processor and the rear processor.

所述后置机的资源处理模块的功能是:用于提供各种媒体资源,并与外部网络实体进行至少包括实时传输协议RTP和实时传输控制协议RTCP媒体承载协议消息的接收和发送,实现音频/视频媒体信息的双向交换;接受前置机的资源控制模块的控制,通过底层硬件板卡资源或者调用软件形式的数字信号处理DSP的应用编程接口API来控制媒体资源的使用,使得前置机的资源控制模块能够适应各种不同的底层应用编程接口API。The function of the resource processing module of the post-installation machine is: to provide various media resources, and at least include the receiving and sending of Real-time Transport Protocol RTP and Real-time Transport Control Protocol RTCP media bearer protocol messages with external network entities, and realize audio /Two-way exchange of video media information; accept the control of the resource control module of the front-end processor, control the use of media resources through the underlying hardware board resources or call the application programming interface API of the digital signal processing DSP in the form of software, so that the front-end The resource control module can adapt to a variety of different underlying application programming interface APIs.

所述操作维护机的功能是:对前置机和后置机进行操作与维护,通过操作维护接入模块接入前置机,将所有命令都发送给前置机,由前置机判断命令的最终接收者;用作操作维护人员的人机界面。The function of the operation and maintenance machine is: to operate and maintain the front-end machine and the back-end machine, access the front-end machine through the operation and maintenance access module, send all commands to the front-end machine, and judge the order by the front-end machine The ultimate recipient; used as a human-machine interface for operation and maintenance personnel.

所述H.248应用子模块H248AppM与资源处理模块之间和SIP应用子模块SIPAppM与资源处理模块之间采用自定义的内部资源控制协议IRCP(InternalResource Control Protocol)进行通信;该媒体服务器的其余各个模块之间采用自定义的通用消息协议GMP(General Message Protocol)进行通信。The H.248 application sub-module H248AppM and the resource processing module and the SIP application sub-module SIPAppM and the resource processing module adopt a self-defined internal resource control protocol IRCP (Internal Resource Control Protocol) to communicate; the rest of the media server The modules use the custom general message protocol GMP (General Message Protocol) to communicate.

本发明是一种基于软交换的媒体服务器,其结构特点是采用前置机和后置机的组合形式,配置灵活、方便,工作可靠。既能够保证在系统容量需求提高时,可以动态增加后置机的数量来实现服务器的可扩展性;又能够在前置机一旦发生单机故障,而其他后置机通过例检消息发现该故障时,系统可以选择其中一台后置机替代原来的前置机,再通过必要的模块配置,启动前置机所需进程,重新向外部控制实体注册成为功能完好的媒体服务器,保证电信业务的畅通。The present invention is a media server based on soft switch, and its structural feature is that it adopts the combined form of the front-end machine and the back-end machine, which is flexible and convenient in configuration and reliable in operation. It can not only ensure that when the demand for system capacity increases, the number of back-end machines can be dynamically increased to achieve server scalability; but also, once a single machine failure occurs in the front-end machine, and other back-end machines find the fault through routine inspection messages , the system can select one of the back-end machines to replace the original front-end machine, and then through the necessary module configuration, start the process required by the front-end machine, and re-register with the external control entity as a fully functional media server to ensure the smooth flow of telecommunication services .

本发明后置机中的资源处理模块是必选的,与此不同的是,前置机中的资源处理模块则是可选的。这样,在话务量较低时,前置机可以激活该模块,保证了资源控制模块和资源处理模块在同一台物理计算机中,减少了两个模块之间的通信开销,进一步提高了媒体服务器的处理功能和效率;而当话务量增加较多时,前置机可以不再激活该模块,减少了前置机的工作量,同时将资源处理模块放在具有可扩展性的后置机中,大大提高了媒体服务器的总体处理能力。In the present invention, the resource processing module in the back-end machine is mandatory, and the difference is that the resource processing module in the front-end machine is optional. In this way, when the traffic volume is low, the front-end processor can activate the module, which ensures that the resource control module and the resource processing module are in the same physical computer, reduces the communication overhead between the two modules, and further improves the performance of the media server. The processing function and efficiency; when the traffic volume increases, the front-end processor can no longer activate the module, reducing the workload of the front-end processor, and at the same time, the resource processing module is placed in the scalable rear-end processor , greatly improving the overall processing capability of the media server.

本发明后置机的操作维护命令是由前置机通过其操作维护接入模块接收来自操作维护机的命令后,再转发给后置机;而不是由操作维护机直接与后置机交互,保证了前置机与后置机组成的统一体的内部配置结构对操作维护机的透明性,也保证了操作维护机的单点接入,简化了接入过程。In the present invention, the operation and maintenance command of the rear machine is forwarded to the rear machine after the front machine receives the command from the operation and maintenance access module through its operation and maintenance access module; instead of the operation and maintenance machine directly interacting with the rear machine, It ensures the transparency of the internal configuration structure of the unit composed of the front-end machine and the back-end machine to the operation and maintenance machine, and also ensures the single-point access of the operation and maintenance machine, which simplifies the access process.

本发明对于资源控制模块与资源处理模块之间的信息交互采用自定义的内部资源控制协议IRCP消息,使得资源控制模块对于资源处理模块来说,可以屏蔽外部控制协议的差异;即资源处理模块不会感知媒体服务器与外部设备交互所使用的信令协议的具体类型(如SIP和H.248),资源处理模块都以统一方式进行处理,使得资源处理模块与具体的信令协议无关,减少了信令协议的升级维护工作量。同时,在资源控制模块与资源处理模块之间采用IRCP协议,使得资源处理模块对于资源控制模块来说,可以屏蔽底层API的差异;即资源控制模块不会感知当前资源处理模块所使用的具体API类型(如硬件板卡资源API或者软件DSPAPI),资源控制模块都以统一方式进行处理,减少了媒体资源的升级维护工作量。The present invention adopts a self-defined internal resource control protocol IRCP message for the information interaction between the resource control module and the resource processing module, so that the resource control module can shield the difference of the external control protocol for the resource processing module; that is, the resource processing module does not It will perceive the specific type of signaling protocol (such as SIP and H.248) used by the media server to interact with external devices, and the resource processing module will process it in a unified manner, making the resource processing module independent of the specific signaling protocol, reducing The upgrade and maintenance workload of the signaling protocol. At the same time, the IRCP protocol is adopted between the resource control module and the resource processing module, so that the resource processing module can shield the difference of the underlying API for the resource control module; that is, the resource control module will not perceive the specific API used by the current resource processing module Types (such as hardware board resource API or software DSP API), resource control modules are processed in a unified manner, reducing the workload of upgrading and maintaining media resources.

此外,本发明在该装置内部使用的自定义的通用消息协议GMP消息和内部资源控制协议的IRCP消息,使得该装置可以根据将来的需要,灵活地增加对新的信令协议(例如媒体网关控制协议MGCP)的支持,保证了媒体服务器对标准信令协议的透明性。In addition, the self-defined general message protocol GMP message and the IRCP message of the internal resource control protocol used in the device by the present invention enable the device to flexibly add new signaling protocols (such as media gateway control) according to future needs. The support of the protocol MGCP ensures the transparency of the media server to the standard signaling protocol.

附图说明Description of drawings

图1是本发明基于软交换的媒体服务器的结构组成示意图;Fig. 1 is the structural composition schematic diagram of the media server based on soft switch of the present invention;

图2是本发明基于软交换的媒体服务器与其他网络设备的连接关系示意图;Fig. 2 is a schematic diagram of the connection relationship between the media server based on softswitch and other network equipment in the present invention;

图3是本发明实施例中的基于软交换的媒体服务器的内部网络连接示意图;Fig. 3 is the internal network connection schematic diagram of the media server based on soft switch in the embodiment of the present invention;

图4是本发明基于软交换的媒体服务器中IRCP/GMP协议栈结构示意图。FIG. 4 is a schematic structural diagram of the IRCP/GMP protocol stack in the softswitch-based media server 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 and embodiments.

参见图1,本发明是一种基于软交换的媒体服务器,该装置包括有:一台用作主机的前置机1、多台用作从机的后置机(图中展示有三台,分别标注为:2、3、4)和多台操作维护机(图中展示有两台,分别标注为:5、6);其中前置机1包括有:通用消息模块12,以及与该通用消息模块12分别连接的协议栈模块11、资源控制模块13、操作维护接入模块14和可选配的资源处理模块15;后置机2、3、4分别包括有:相互连接的通用消息模块21、31、41和资源处理模块22、32、42;其中前置机1的通用消息模块12与各个后置机2、3、4的通用消息模块21、31、41之间,以及前置机1的操作维护接入模块14与各个操作维护机5、6之间都通过通信线路实现信息交互。Referring to Fig. 1, the present invention is a kind of media server based on softswitch, and this device includes: a front-end machine 1 used as host, many back-end machines (shown in the figure as three, respectively) as slave Marked as: 2, 3, 4) and multiple operation and maintenance machines (two are shown in the figure, marked as: 5, 6 respectively); wherein the front-end machine 1 includes: a general message module 12, and a The protocol stack module 11, the resource control module 13, the operation and maintenance access module 14 and the optional resource processing module 15 connected to the module 12 respectively; the rear machines 2, 3 and 4 respectively include: a general message module 21 connected to each other . The operation and maintenance access module 14 of 1 realizes information interaction with each operation and maintenance machine 5, 6 through communication lines.

本发明的前置机1功能主要包括:通过协议栈模块11与外部网络实体进行SIP,H.248等信令的接收和发送;统一管理、分配和控制整个媒体服务器的各种媒体资源(如收号器,混音设备,视频编解码器等)。如当有呼叫进入媒体服务器时,前置机就会分配合适种类、合适数量的空闲的媒体资源给该呼叫使用,并在呼叫进行过程中,前置机也会按照需要和设定的算法增减该呼叫使用的媒体资源,而在呼叫结束时,前置机就会回收此前分配的媒体资源,并使之处于空闲状态,以供后续的其他呼叫使用。在媒体资源发生故障时,前置机1将该资源标识为不可用状态,当失效的媒体资源被修复后,又将其标识为可用状态。对各后置机进行负荷均衡控制和流量控制;具体做法是:前置机根据当前各个后置机的总的处理能力、各个后置机的空闲处理能力、新接入呼叫所需的处理能力等因素进行综合处理,以决定将当前新接入的呼叫分配给哪个后置机处理,以实现各个后置机间的负荷均衡,提高媒体服务器总的吞吐量,避免发生某些后置机负荷过重而另一些后置机负荷较轻的情况。当进入媒体服务器的呼叫量很大时,前置机会根据当前各后置机的负荷情况,按照设定策略和算法有选择地接纳一部分新呼叫,并转发给后置机,以保证后置机不会因为负荷太大而瘫痪。与操作维护机进行交互,接收和执行操作维护机针对前置机的各种操作与维护命令,并返回执行结果;同时代表后置机接收针对后置机的各种操作与维护命令,并转发给相应的后置机,并由相应的后置机负责具体执行。其中可选配的资源处理模块用于提供各种媒体资源,并与外部的网络实体进行实时传输协议RTP/实时传输控制协议RTCP等媒体承载协议消息的接收和发送,达到双向交换音频、视频等媒体信息的目的。Front-end processor 1 function of the present invention mainly comprises: carry out SIP by protocol stack module 11 with external network entity, the receiving and sending of signaling such as H.248; Unified management, distribution and control various media resources (such as receivers, audio mixing devices, video codecs, etc.). For example, when a call enters the media server, the front-end processor will allocate an appropriate type and amount of idle media resources for the call, and during the call, the front-end processor will also increase Subtract the media resources used by the call, and when the call ends, the front-end processor will reclaim the previously allocated media resources and make them idle for use by other subsequent calls. When a media resource fails, the front-end processor 1 marks the resource as unavailable, and marks it as available again after the failed media resource is repaired. Carry out load balancing control and flow control on each back-end machine; the specific method is: the front-end machine bases the current total processing capacity of each back-end machine, the idle processing capacity of each back-end machine, and the processing capacity required for new incoming calls and other factors to determine which back-end machine to assign the current new incoming call to, so as to achieve load balancing between each back-end machine, improve the total throughput of the media server, and avoid certain back-end machine loads Overweight and other rear-mounted machines with lighter loads. When there is a large amount of calls entering the media server, the front-end machine will selectively accept a part of the new calls according to the current load of each back-end machine according to the set strategy and algorithm, and forward them to the back-end machine to ensure that the back-end machine Will not be paralyzed by too much load. Interact with the operation and maintenance machine, receive and execute various operation and maintenance commands of the operation and maintenance machine for the front-end machine, and return the execution results; at the same time, receive various operation and maintenance commands for the back-end machine on behalf of the back-end machine, and forward them To the corresponding back-end machine, and the corresponding back-end machine is responsible for the specific implementation. The optional resource processing module is used to provide various media resources, and receive and send media bearer protocol messages such as real-time transport protocol RTP/real-time transport control protocol RTCP with external network entities to achieve two-way exchange of audio, video, etc. Purpose of Media Information.

后置机的功能主要包括:设有资源处理模块用于提供各种媒体资源,并与外部的网络实体进行RTP/RTCP等媒体承载协议消息的接收和发送,达到双向交换音频,视频等媒体信息的目的。接受前置机的控制,根据前置机的指令执行媒体资源的分配、回收、标识等具体操作,并返回操作结果。按照设定策略向前置机报告各个后置机当前的状态,如正常态,故障态,轻负荷态,过负荷态等,以配合前置机实现负载均衡、流量控制等机制;接收由前置机转发过来的操作维护命令并执行,返回执行结果。如果前置机发生了单机故障,则其他后置机通过例检消息发现该故障,并且选择其中一台作为主机,启动主机所需进程,重新向外部控制实体注册。The functions of the backend machine mainly include: a resource processing module is used to provide various media resources, and receive and send media bearer protocol messages such as RTP/RTCP with external network entities to achieve two-way exchange of audio, video and other media information the goal of. Accept the control of the front-end processor, perform specific operations such as allocation, recycling, and identification of media resources according to the instructions of the front-end processor, and return the operation result. According to the set policy, report the current state of each back-end machine to the front-end machine, such as normal state, fault state, light load state, overload state, etc., so as to cooperate with the front-end machine to realize load balancing, flow control and other mechanisms; The operation and maintenance command forwarded by the machine is executed and executed, and the execution result is returned. If a single machine failure occurs in the front-end machine, the other back-end machines will find the failure through routine inspection messages, and select one of them as the master, start the process required by the master, and re-register with the external control entity.

操作维护机的功能主要是:对前置机和后置机进行操作与维护,按需接入前置机,所有命令都发给前置机,由前置机判断命令的最终接收者;用作操作维护人员的人机界面。The main functions of the operation and maintenance machine are: to operate and maintain the front-end processor and the rear-end processor, access the front-end processor as needed, send all commands to the front-end processor, and determine the final receiver of the command by the front-end processor; Man-machine interface for operation and maintenance personnel.

本发明的媒体服务器在网络系统中的安装位置如图2所示。软交换设备可以控制媒体服务器,应用服务器通过Parlay网关同样也可以控制媒体服务器。媒体服务器在控制设备(例如软交换设备,或应用服务器/Parlay网关)的控制下,可以与语音可扩展标记语言VoiceXML文档服务器交互通信,获取VoiceXML形式的业务逻辑,以指示下一步对媒体资源的操作;也可以与文语转换TTS(Text To Speech)/自动语音识别ASR(Automatic Speech Recognition)服务器交互通信,以完成文语转换或者自动语音识别功能。媒体服务器还可以通过媒体网关与传统网络中的终端进行通信,双向传递各种媒体信息,也可以在该媒体服务器与下一代网络中支持IP协议的终端之间建立直接承载通道。The installation position of the media server of the present invention in the network system is shown in FIG. 2 . The softswitch device can control the media server, and the application server can also control the media server through the Parlay gateway. Under the control of a control device (such as a softswitch, or an application server/Parlay gateway), the media server can interact with the VoiceXML document server to obtain business logic in the form of VoiceXML to instruct the next step on media resources. Operation; it can also interact with the text-to-speech TTS (Text To Speech)/Automatic Speech Recognition ASR (Automatic Speech Recognition) server to complete the text-to-speech or automatic speech recognition function. The media server can also communicate with the terminals in the traditional network through the media gateway to transmit various media information in both directions, and can also establish a direct bearer channel between the media server and the terminal supporting the IP protocol in the next-generation network.

参见图3,本发明已经在北京邮电大学网络与交换国家重点实验室中进行了试验实施,该媒体服务器试验样机的前置机1采用1台HP小型机RP3410(2个CPU,CPU主频为800MHz,操作系统为HPUX 11i,内存为1G,硬盘为2×72G)组成,后置机2、3、4有3台,分别采用1台凌华CSP-9801工控机(CPU为Intel奔腾III 1GHz,操作系统为solaris 8,内存为512M,硬盘为36G,资源板卡为NMS CG6000)组成,操作维护机5采用1台PC机(CPU主频为Intel2.2GHz,操作系统为Windows XP,内存为256M,硬盘为40G)。其中前置机1、后置机2、3、4以及操作维护机5之间都通过一个以太网交换机7构成一个局域网,以实现前置机1与后置机2、3、4、前置机1与操作维护机5之间的通信。Referring to Fig. 3, the present invention has carried out experiment and implemented in Beijing University of Posts and Telecommunications Network and Exchange State Key Laboratory, and the front-end machine 1 of this media server test prototype adopts 1 HP minicomputer RP3410 (2 CPUs, CPU main frequency is 800MHz, the operating system is HPUX 11i, the memory is 1G, the hard disk is 2×72G), there are 3 sets of rear machines 2, 3, and 4, each using 1 ADLINK CSP-9801 industrial computer (CPU is Intel Pentium III 1GHz , the operating system is solaris 8, the memory is 512M, the hard disk is 36G, and the resource board is NMS CG6000), and the operation and maintenance machine 5 uses a PC (the main frequency of the CPU is Intel2.2GHz, the operating system is Windows XP, and the memory is 256M, the hard disk is 40G). Among them, the front-end machine 1, the back-end machines 2, 3, 4 and the operation and maintenance machine 5 form a local area network through an Ethernet switch 7, so as to realize the front-end machine 1 and the back-end machines 2, 3, 4, front-end Communication between machine 1 and operation and maintenance machine 5.

再参见图1,下面以一个基本的放音收号过程为例,具体介绍本发明媒体服务器内部各个模块的配合过程:Referring to Fig. 1 again, take a basic broadcasting and number collection process as an example below to specifically introduce the cooperation process of each module inside the media server of the present invention:

当前置机1中的协议栈模块11从外部控制实体接收到一个要求建立新呼叫的消息(第1条消息)时,协议栈模块11将该消息用GMP协议封装后,发送给通用消息模块12;通用消息模块12根据GMP消息头中的信息将该消息转发给资源控制模块13;资源控制模块13对接收到的GMP消息进行解封装,再根据当前所掌握的全局资源使用情况的数据,使用负荷均衡机制和流量控制机制,以决定是否要将该新呼叫分配给资源处理模块进行处理,以及分配给哪个资源处理模块;假设上述两个机制的控制处理结果是将该新呼叫分配给后置机3中的资源处理模块32,则资源控制模块13首先更新由自身管理的呼叫实例动态数据,将拟分配的媒体资源状态标记为占用,然后用GMP协议封装IRCP消息,发送给通用消息模块12;前置机1中的通用消息模块12根据GMP消息头中的信息将该消息转发给后置机3中的通用消息模块31;通用消息模块31将该消息进一步转发给资源处理模块32,资源处理模块32解封装接收到的GMP消息,并根据接收到的IRCP消息给该新呼叫分配合适的放音资源,建立一个RTP的收发端口。操作成功之后,资源处理模块32返回操作结果:首先用GMP协议封装携带操作结果的IRCP消息,然后发送给通用消息模块31;后续的消息传递路径与刚才建立新呼叫的消息传递路径相同,但方向正好相反,在此不再赘述。When the protocol stack module 11 in the front-end processor 1 receives a message (the first message) requiring to set up a new call from the external control entity, the protocol stack module 11 sends the message to the general message module 12 after encapsulating the message with the GMP protocol The general message module 12 forwards the message to the resource control module 13 according to the information in the GMP message header; the resource control module 13 decapsulates the received GMP message, and uses Load balancing mechanism and flow control mechanism to decide whether to assign the new call to the resource processing module for processing, and which resource processing module to assign to; suppose the result of the control processing of the above two mechanisms is to assign the new call to the rear resource processing module 32 in the machine 3, then the resource control module 13 first updates the call instance dynamic data managed by itself, marks the state of the media resource to be allocated as occupied, then encapsulates the IRCP message with the GMP protocol, and sends it to the general message module 12 The general message module 12 in the front-end machine 1 forwards the message to the general message module 31 in the back-end machine 3 according to the information in the GMP message header; the general message module 31 further forwards the message to the resource processing module 32, and the resource The processing module 32 decapsulates the received GMP message, allocates appropriate playback resources to the new call according to the received IRCP message, and establishes an RTP transceiver port. After the operation is successful, the resource processing module 32 returns the operation result: first encapsulate the IRCP message carrying the operation result with the GMP protocol, and then send it to the general message module 31; On the contrary, it will not be repeated here.

当前置机1中的协议栈模块11从外部控制实体接收到一个要求放音并收号的消息(第2条消息)时,其消息转发过程与上述第1条消息的转发过程类似,所不同的是资源控制模块13不再使用负荷均衡机制和流量控制机制,而是查询自身管理的呼叫实例动态数据,将该消息发送给处理该呼叫的后置机3的资源处理模块32;资源处理模块32解封装接收到的GMP消息,并根据接收到的IRCP消息向已经建立的RTP端口播送指定的语音文件;同样,操作成功之后资源处理模块32返回操作结果,其过程与返回第1条消息对应的操作结果的传递过程相同,不再赘述。When the protocol stack module 11 in the front-end processor 1 receives a message (the second message) that requires playing and receiving the number from the external control entity, its message forwarding process is similar to the forwarding process of the above-mentioned first message, the difference What is more important is that the resource control module 13 no longer uses the load balancing mechanism and the flow control mechanism, but inquires about the call instance dynamic data managed by itself, and sends the message to the resource processing module 32 of the backend machine 3 that processes the call; the resource processing module 32 decapsulate the received GMP message, and broadcast the specified voice file to the established RTP port according to the received IRCP message; similarly, after the operation is successful, the resource processing module 32 returns the operation result, and its process corresponds to returning the first message The transfer process of the operation result is the same and will not be repeated here.

此时,业务用户就可以听到媒体服务器发送的语音提示了;如果此时用户通过终端的键盘输入双音多频数字信号,媒体服务器的资源处理模块32就能从与该呼叫相关联的RTP端口中接收到输入的数字信号;资源处理模块32接收到完整的数字信号之后,就将这些数字放在IRCP消息包中,沿着返回操作结果的传递路径,将它们发送给外部控制实体。At this point, the business user can hear the voice prompt sent by the media server; if the user inputs a DTMF digital signal through the keyboard of the terminal at this time, the resource processing module 32 of the media server can start from the RTP associated with the call. The input digital signal is received in the port; after the resource processing module 32 receives the complete digital signal, it puts these numbers in the IRCP message packet, and sends them to the external control entity along the transmission path of returning the operation result.

当前置机1中的协议栈模块11从外部控制实体接收到一个要求结束呼叫的消息(第3条消息)时,其消息转发过程与第2条消息的转发过程类似,所不同的是当资源处理模块32接收到对应的IRCP消息时,将释放分配给该呼叫的媒体资源,并返回操作结果。资源控制模块13在接收到资源处理模块32发出的操作结果消息时,更新自身管理的呼叫实例动态数据,将对应的媒体资源状态标记为空闲;媒体服务器最终通过协议栈模块11将第3条消息的操作结果返回给外部控制实体。When the protocol stack module 11 in the front-end processor 1 receives a message (the third message) requiring to end the call from the external control entity, its message forwarding process is similar to the forwarding process of the second message, the difference is that when the resource When the processing module 32 receives the corresponding IRCP message, it will release the media resource allocated to the call and return the operation result. When the resource control module 13 receives the operation result message sent by the resource processing module 32, it updates the dynamic data of the call instance it manages, and marks the corresponding media resource state as idle; the media server finally sends the third message through the protocol stack module 11. The result of the operation is returned to the external control entity.

参见图4,以前置机1中的资源控制模块13与后置机3中的资源处理模块32之间的信息交互为例,简要介绍本发明基于软交换的媒体服务器中的IRCP/GMP协议栈结构:通用消息协议GMP是由IP协议之上的传输控制协议TCP承载,内部资源控制协议IRCP则进一步由GMP承载。资源控制模块13和资源处理模块32之间不仅要处理GMP协议,还需要同时处理IRCP协议;而它们的通用消息模块12和31之间只需要处理GMP协议,也即对于这两个通用消息模块来说,IRCP协议的内容是透明的,不可见的。GMP是一个逐跳处理(hop by hop)的协议,而IRCP是一个端到端(end to end)的协议。Referring to Fig. 4, taking the information interaction between the resource control module 13 in the front-end machine 1 and the resource processing module 32 in the back-end machine 3 as an example, briefly introduce the IRCP/GMP protocol stack in the media server based on softswitch of the present invention Structure: The general message protocol GMP is carried by the transmission control protocol TCP above the IP protocol, and the internal resource control protocol IRCP is further carried by GMP. Not only the GMP protocol must be processed between the resource control module 13 and the resource processing module 32, but also the IRCP protocol needs to be processed simultaneously; and only the GMP protocol needs to be processed between their general message modules 12 and 31, that is, for these two general message modules Generally speaking, the content of the IRCP protocol is transparent and invisible. GMP is a hop by hop protocol, while IRCP is an end-to-end protocol.

Claims (14)

1, a kind of media server based on soft switch, it is characterized in that: this device includes: a front end processor as main frame, many rearmounted machine and Duo Tai Operation and Maintenance machines as slave; Described front end processor includes: universal information module, and the protocol stack module, resource control module and the Operation and Maintenance access module that are connected respectively with this universal information module; Rearmounted machine includes: interconnective universal information module and resource processing module; All realize information interaction wherein between the universal information module of front end processor and each rearmounted machine, and between the Operation and Maintenance access module of front end processor and each Operation and Maintenance machine by communication line.
2, media server according to claim 1 is characterized in that: the function of described front end processor is: include but not limited to SIP signaling or the H.248 transmitting-receiving transmission of signaling by protocol stack module and external network entity; Various media resources to this media server carry out unified management, distribution and control; Each rearmounted machine is carried out flow control and load balancing control; Carry out information interaction by Operation and Maintenance access module and Operation and Maintenance machine, various operation/maintenance commands that reception and executable operations maintenance machine send at front end processor, and return execution result; And represent rearmounted machine to receive various operation/maintenance commands that the Operation and Maintenance machine sends, and be transmitted to corresponding rearmounted machine at rearmounted machine.
3, media server according to claim 1 and 2, it is characterized in that: described front end processor can be matched the resource processing module, the function of this resource processing module is: be used to provide various media resources, and comprise the reception and the transmission of realtime transmission protocol RTP and RTCP Real-time Transport Control Protocol RTCP media bearer protocol message at least with external network entity, realize the two-way exchange of audio/video media information; Accept the control of resource control module, control the use of media resource by bottom hardware integrated circuit board resource or the API API that calls the Digital Signal Processing DSP of form of software, make the resource control module can adapt to various bottom API API.
4, media server according to claim 1, it is characterized in that: described protocol stack module comprises two submodules: finish the protocol stack front terminal module that the message bag of the transport layer of standard signaling message and following protocol layer is handled, and the protocol stack of finishing the encoding and decoding of standard signaling message is acted on behalf of submodule; The function of this protocol stack module is: externally carry out protocol conversion between controlled entity and the internal resource control module, finish the encoding and decoding of signaling message.
5, media server according to claim 4, it is characterized in that: described protocol stack is acted on behalf of submodule and is acted on behalf of submodule H248PAM and Session Initiation Protocol stack by protocol stack H.248 and act on behalf of submodule SIPPAM two parts and form, these two protocol stacks are acted on behalf of submodule and are utilized universal information agreement GMP respectively decode later H.248 protocol message or Session Initiation Protocol message to be encapsulated, and offer respectively by the universal information module and H.248 to use submodule H248AppM or SIP and use submodule SIPPAM; The H.248 protocol message that the process that H248 application submodule H248AppM or SIP application submodule SIPAppM produce self with GMP is encoded or the essential information of Session Initiation Protocol message do not encapsulate respectively, and send this two agency by agreement submodules respectively to by the universal information module, issue the control appliance of media server after by these two agency by agreement submodules message being encoded again.
6, media server according to claim 1, it is characterized in that: the universal information module of described front end processor comprises two submodules: finish the real-time messages submodule of the distribution of signaling and other real-time messages and route control, and finish the distribution that comprises Operation and Maintenance message and webmaster message at least and the non real-time message submodule of route control; This universal information functions of modules is as between each module of front end processor and the signal centre between front end processor and the rearmounted machine, for the communication between each module provides route and transmits message.
7, media server according to claim 1 is characterized in that: described resource control module comprises:
Resource management submodule RMM is used for managing this device and relates to SIP and the H.248 management of resource capability and the various resources of control protocol itself; This submodule obtains the loading of the Digital Signal Processing DSP ability of the hardware integrated circuit board ability of media server and form of software by the resource distribution file; And for H.248 use submodule H248AppM and SIP use submodule SIPAppM provide resource various descriptions and with protocol-dependent resource;
H.248 use submodule H248AppM, responsible realization protocol function H.248, the resource function of commander's resource processing modules implement media server; Make an explanation to act on behalf of the H.248 message that submodule H248PAM sends here from protocol stack H.248, and this submodule and resource part are carried out the internal resource control protocol IRCP message that associative operation forms send to the resource processing module; This module also comprises various and calling and protocol-dependent data structure, can manage calling under the control of the external control entity of media server;
SIP uses submodule SIPAppM, is responsible for realizing the protocol function of SIP, the resource function of commander's resource processing modules implement media server; Make an explanation to act on behalf of the sip message that submodule SIPPAM sends here from the Session Initiation Protocol stack, and this submodule and resource part are carried out the IRCP message that associative operation forms send to the resource processing module; This module also comprises various and calling and protocol-dependent data structure, can manage calling under the control of the external control entity of media server;
Universal information encapsulation submodule GMEM is responsible for IRCP message is packaged into universal information agreement GMP message, and is responsible for GMP message separated and is bundled into IRCP message, offers IRCP message user;
Master control submodule OCM as overall operation scheduling sublayer module, is responsible for the initialization of other each submodules, calls H248AppM and SIPAppM respectively with polling mode then, checks each input message flow, and handles accordingly.
8, according to claim 1 or 7 described media servers, it is characterized in that: the function of described resource control module is: be responsible for the distribution and the release of all media resources; To carrying out the backstage distributed treatment via the signaling message after the universal information module package; The order that sends via the external control devices that is obtained after mutual with protocol stack module is handled, then, carry out alternately with the resource processing module, the use of control media resource is so that the resource processing module can adapt to various external control agreement again.
9, media server according to claim 1, it is characterized in that: the function of described Operation and Maintenance access module is: receive the operational maintenance command that the Operation and Maintenance machine is sent, by with the mutual realization of universal information module Operation and Maintenance function to each other modules.
10, media server according to claim 1 is characterized in that: the function of described rearmounted machine is: accept the control of front end processor, according to the instruction of front end processor media resource is carried out and distributed, reclaim, identify and other operation, and the return result; Report the various operating states that each rearmounted machine is current according to setting strategy to front end processor, realize load balancing and flow control to cooperate front end processor; Receive and carry out by front end processor and transmit the operational maintenance command of coming, and return execution result; When finding front end processor generation unit fault, select wherein a rearmounted machine as main frame, and start the main frame process, again to outside controlled entity registration by example inspection message.
11, according to claim 1 or 10 described media servers, it is characterized in that: the universal information module of described rearmounted machine comprises two submodules: finish the real-time messages submodule of the distribution of signaling and other real-time messages and route control, and finish the distribution that comprises Operation and Maintenance message and webmaster message at least and the non real-time message submodule of route control; This universal information functions of modules is: communicate alternately with the universal information module in the front end processor, transmit message between front end processor and rearmounted machine.
12, according to claim 1 or 10 described media servers, it is characterized in that: the function of the resource processing module of described rearmounted machine is: be used to provide various media resources, and comprise the reception and the transmission of realtime transmission protocol RTP and/or RTCP Real-time Transport Control Protocol RTCP media bearer protocol message at least with external network entity, realize the two-way exchange of audio/video media information; Accept the control of the resource control module of front end processor, control the use of media resource by bottom hardware integrated circuit board resource or the API API that calls the Digital Signal Processing DSP of form of software, make the resource control module of front end processor can adapt to various bottom API API.
13, media server according to claim 1, it is characterized in that: the function of described Operation and Maintenance machine is: front end processor and rearmounted machine are carried out operation and maintenance, insert front end processor by the Operation and Maintenance access module, all orders are all sent to front end processor, judge the final recipient of order by front end processor; Man-machine interface as the Operation and Maintenance personnel.
14, media server according to claim 1 is characterized in that: describedly H.248 use between submodule H248AppM and the resource processing module and SIP uses that the self-defining internal resource control protocol IRCP of employing communicates between submodule SIPAppM and the resource processing module; Adopt self-defining universal information agreement GMP to communicate between each module of all the other of this media server.
CNB2005100020595A 2005-01-12 2005-01-12 A Media Server Based on Softswitch Expired - Fee Related CN100372346C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100020595A CN100372346C (en) 2005-01-12 2005-01-12 A Media Server Based on Softswitch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100020595A CN100372346C (en) 2005-01-12 2005-01-12 A Media Server Based on Softswitch

Publications (2)

Publication Number Publication Date
CN1633129A true CN1633129A (en) 2005-06-29
CN100372346C CN100372346C (en) 2008-02-27

Family

ID=34852921

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100020595A Expired - Fee Related CN100372346C (en) 2005-01-12 2005-01-12 A Media Server Based on Softswitch

Country Status (1)

Country Link
CN (1) CN100372346C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007079652A1 (en) * 2006-01-11 2007-07-19 Huawei Technologies Co., Ltd. Method and system for interacting with media servers based on the sip protocol
CN100442928C (en) * 2005-10-19 2008-12-10 华为技术有限公司 Mobile session control device, mobile communication network and session bearer establishment method
CN101277505B (en) * 2008-05-09 2011-11-30 北京邮电大学 Method and apparatus for optimization of protocol stack of communication system based on subassembly
CN102957817A (en) * 2011-08-22 2013-03-06 北京百通天下科技发展有限公司 Network communication and voice communication integrated all-in-one office machine
CN103151041A (en) * 2013-01-28 2013-06-12 中兴通讯股份有限公司 Method and system for achieving automatic speech recognition business and media server
CN101610488B (en) * 2008-06-20 2014-06-11 杭州世导科技有限公司 Internet communication tool uniformly coding and dialing system and internet communication tool uniformly coding and dialing method
CN107682301A (en) * 2016-08-02 2018-02-09 中国电信股份有限公司 For realizing the methods, devices and systems of traffic control

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061720A (en) * 1998-10-27 2000-05-09 Panasonic Technologies, Inc. Seamless scalable distributed media server
KR20030012682A (en) * 2001-08-03 2003-02-12 (주)엠디엠아이앤씨 Connection Module of Unified Messaging System and Data Send/Receive Method
CN1464709A (en) * 2002-06-18 2003-12-31 北京中星微电子有限公司 Multimedia service system and method
CN100401730C (en) * 2002-10-16 2008-07-09 中兴通讯股份有限公司 Method for Realizing User-Defined Recording Using Media Gateway Control Protocol
US7110763B2 (en) * 2002-12-12 2006-09-19 Alcatel Graphical proxy for less capable terminals

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442928C (en) * 2005-10-19 2008-12-10 华为技术有限公司 Mobile session control device, mobile communication network and session bearer establishment method
WO2007079652A1 (en) * 2006-01-11 2007-07-19 Huawei Technologies Co., Ltd. Method and system for interacting with media servers based on the sip protocol
CN101277505B (en) * 2008-05-09 2011-11-30 北京邮电大学 Method and apparatus for optimization of protocol stack of communication system based on subassembly
CN101610488B (en) * 2008-06-20 2014-06-11 杭州世导科技有限公司 Internet communication tool uniformly coding and dialing system and internet communication tool uniformly coding and dialing method
CN102957817A (en) * 2011-08-22 2013-03-06 北京百通天下科技发展有限公司 Network communication and voice communication integrated all-in-one office machine
CN103151041A (en) * 2013-01-28 2013-06-12 中兴通讯股份有限公司 Method and system for achieving automatic speech recognition business and media server
WO2013189430A3 (en) * 2013-01-28 2014-02-20 中兴通讯股份有限公司 Method, system, and media server for implementing automatic speech recognition service
CN103151041B (en) * 2013-01-28 2016-02-10 中兴通讯股份有限公司 A kind of implementation method of automatic speech recognition business, system and media server
CN107682301A (en) * 2016-08-02 2018-02-09 中国电信股份有限公司 For realizing the methods, devices and systems of traffic control
CN107682301B (en) * 2016-08-02 2020-05-01 中国电信股份有限公司 Method, device and system for realizing traffic control

Also Published As

Publication number Publication date
CN100372346C (en) 2008-02-27

Similar Documents

Publication Publication Date Title
KR100889977B1 (en) Media session framework using protocol independent control module for application and service server management
EP1676370B1 (en) Method and media gateway for per-session network address translation (NAT) learning and firewall filtering in media gateway
EP1595372B1 (en) Shared risk group handling within a media gateway
CN101305560B (en) Method and communication system for selecting a transmission mode for transmitting useful data
CN1595887A (en) A next generation network system and resource management method
CN101291293A (en) Media resource adaptation method, media gateway controller and server
US7002987B2 (en) Common services and applications agent
CN1633129A (en) A Media Server Based on Softswitch
US7633932B2 (en) Accelerated removal from service of a signal processor at a media gateway
CN101242458B (en) Media gateway and control method thereof
CN1497903A (en) Method and system for providing control and monitoring functions in the field of telecommunications switching
CN1874349A (en) Method for implementing internal connection in media gateway
EP2025102A2 (en) Techniques for message waiting indication support across different protocols
US8873374B2 (en) Accelerated recovery during negotiation between a media gateway and a media gateway controller
CN101616157A (en) A kind of coding-decoding switch system and method based on media gateway device
CN101087302A (en) Method for media resource control and call establishment
CN1645861A (en) Flexible exchanging network method for passing fire wall
CN1716945A (en) Media streaming service quality detection method
CN1663291A (en) Method for providing services located in a connectionless data packet network to a connection-oriented communication network terminal
CN1309230C (en) System and method for delivery of telecom signalling messages by passing private net boundary
CN1595898A (en) System and method for convergence access of intelligent terminal
KR100809398B1 (en) Sms transmission method and system for multicast protocol support
CN1836432B (en) More economical use of resources in user interaction with voice dialog systems in packet networks by simplifying the handling of signaling information
CN1457187A (en) IP calling method through network address switching facilities
CN108989353B (en) Soft switch calling method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080227

Termination date: 20140112