WO2010133148A1 - 软交换架构下的编解码转换控制方法、媒体网关及系统 - Google Patents

软交换架构下的编解码转换控制方法、媒体网关及系统 Download PDF

Info

Publication number
WO2010133148A1
WO2010133148A1 PCT/CN2010/072746 CN2010072746W WO2010133148A1 WO 2010133148 A1 WO2010133148 A1 WO 2010133148A1 CN 2010072746 W CN2010072746 W CN 2010072746W WO 2010133148 A1 WO2010133148 A1 WO 2010133148A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
codec
softswitch
channel
codec algorithm
Prior art date
Application number
PCT/CN2010/072746
Other languages
English (en)
French (fr)
Inventor
陈昊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2010133148A1 publication Critical patent/WO2010133148A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0072Speech codec negotiation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • H04L65/103Media gateways in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/12Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
    • H04M7/1205Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
    • H04M7/125Details of gateway equipment
    • H04M7/1255Details of gateway equipment where the switching fabric and the switching logic are decomposed such as in Media Gateway Control

Definitions

  • the present invention relates to a H248 protocol related to a voice over internet protocol (VOIP) call, and in particular to a codec conversion control method, a media gateway and a system under a softswitch architecture.
  • VOIP voice over internet protocol
  • the Next Generation Network is a comprehensive open network architecture that provides services such as voice, data and multimedia.
  • Softswitch is the control function entity of the network, providing NGN with call control and connection control functions for services with real-time requirements.
  • the current NGN network is based on the existing network, adding softswitch system equipment, such as Media Gateway Controller (MGC, Media Gateway Controller), Media Gateway (MG, Media Gateway), etc., so as to achieve the existing network.
  • MGC Media Gateway Controller
  • MG Media Gateway Controller
  • MG Media Gateway
  • H248 protocol is The protocol used to transport traffic between the MGC and the MG.
  • the codec algorithm supported by the calling party may not be supported by the called party; and the codec algorithm supported by the called party has the calling code May not be supported. Therefore, in order to implement VOIP calls between the calling and called users, it is necessary to provide codec conversion capability between the master and the called party to ensure that the media streams of the master and the called party use their respective supported codec algorithms.
  • the codec conversion function called is called the Transcoding function.
  • VTCs Voice Transcoder Card
  • the function of the VTC channel is to convert the data passing through the channel into a voice pattern and output the converted data.
  • no codec conversion is required. It wastes valuable VTC resources, increases equipment cost and maintenance cost; Moreover, because of increasing the time for operating the VTC channel, communication efficiency is reduced, and VTC operation may time out or fail, which reduces communication connection. rate. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a codec conversion control method, a media gateway and a system under a softswitch architecture that saves VTC resources.
  • an embodiment of the present invention provides a codec conversion control method in a softswitch architecture, including:
  • the media gateway acquires a codec algorithm capability set supported by the first terminal
  • the media gateway acquires a codec algorithm used by the second terminal
  • the media gateway determines whether the obtained codec algorithm used by the second terminal is concentrated in the codec algorithm capability supported by the first terminal, and if not, does not apply for the VTC channel of the voice pattern conversion board, and directly services the first terminal and the second terminal.
  • the transparent transmission is performed; otherwise, the VTC channel is applied, and the coded algorithm of the first terminal and the second terminal is converted by the applied VTC channel, and the converted service is transmitted.
  • the codec algorithm used by the media gateway to acquire the second terminal includes:
  • the media gateway receives the context of the softswitch from the first terminal;
  • the context is that the first terminal softswitch is created according to the call request message of the first terminal, and the context carries a conversion flag carrying the codec algorithm a first terminal termination point and a second terminal termination point, where the first terminal termination point corresponds to one real-time transmission protocol RTP resource, and the second terminal termination point corresponds to one RTP resource;
  • the media gateway acquires a codec algorithm used by the second terminal from the first terminal softswitch according to the negotiation result of the first terminal softswitch and the second terminal softswitch negotiation.
  • the process of the first terminal softswitch and the second terminal softswitch negotiation includes:
  • the first terminal softswitch sends a call request message to the second terminal softswitch, and the call request message carries the second codec algorithm capability set;
  • the second terminal softswitch matches the second codec algorithm capability set with its own supported codec algorithm capability set, generates a matching result, and determines a codec algorithm used by the second terminal in the generated matching result. And reverting the codec algorithm used by the second terminal to the first terminal softswitch.
  • the codec algorithm used by the media gateway to obtain the second terminal from the first terminal softswitch includes:
  • the second terminal termination point in the media gateway receives the modification message from the first terminal softswitch, and the modification message carries the codec algorithm used by the second terminal;
  • the second terminal termination point determines that the codec algorithm capability set supported by the remote end of the second terminal termination point is: the codec algorithm used by the second terminal, and the remote end support of the second terminal termination point
  • the decoding algorithm capability set is sent to the first terminal softswitch, and the far-end supported codec algorithm capability set of the second terminal endpoint is written into the data area of the first terminal termination point.
  • the capability of the media gateway to obtain the codec algorithm supported by the first terminal includes:
  • the first terminal termination point in the media gateway receives the first terminal softswitch sending modification message, where the modification message carries the codec algorithm capability set supported by the remote end of the first terminal termination point, where the first terminal
  • the capability of the codec algorithm supported by the remote end of the endpoint is: the codec algorithm capability set supported by the first terminal obtained by the first terminal softswitch from the call request message of the first terminal.
  • the services of the first terminal and the second terminal are directly transmitted through the media IP interface board (NIPI channel); or the converted service is transmitted through the NIPI channel.
  • NIPI channel media IP interface board
  • the preset timer is further included;
  • the transparent transmission of the services of the first terminal and the second terminal by using the media IP interface board NIPI channel includes:
  • the first terminal termination point opens the NIPI channel, and notifies the second terminal end point to perform transparent transmission of the services of the first terminal and the second terminal;
  • the second terminal termination point opens the NIPI channel successfully, the response to the first terminal termination point is successful, and when the NIPI channel fails to open or times out, the first terminal termination point fails to be returned;
  • the method further includes: presetting the timer;
  • the codec algorithm is used to convert the services of the first terminal and the second terminal by using the VTC channel, and the converted service is transmitted through the NIPI channel, including:
  • the first terminal termination point opens the VTC channel and the NIPI channel, and notifies the second terminal end point to perform a codec algorithm conversion
  • the reply to the first terminal endpoint is successful, and when the VTC channel and the NIPI channel fail to be opened or timed out, the first terminal termination point fails to be returned;
  • the first terminal softswitch replies successfully, otherwise, the first terminal softswitch replies with a failure. It is characterized in that
  • the first terminal termination point After the first terminal and the second terminal enter the transparent transmission, if the first terminal termination point receives the modification message of the first terminal softswitch, it is determined that the codec algorithm used by the second terminal is not in the The codec algorithm supported by the first terminal is centralized, and when the codec algorithm is required to be converted, the services of the first terminal termination point and the second terminal termination point are switched from transparent transmission to codec algorithm conversion.
  • the converting the services of the first terminal end point and the second terminal end point from the transparent transmission to the codec algorithm comprises:
  • the first terminal termination point opens a VTC channel, modifies the NIPI channel, and notifies the second terminal termination point to perform a codec algorithm conversion;
  • the first terminal termination point and the second terminal termination point use the VTC channel to perform codec conversion, and the converted by the NIPI channel pair The service is transmitted.
  • the first terminal is a calling party
  • the second terminal is a called party.
  • a media gateway including:
  • a first acquiring module configured to acquire a codec algorithm capability set supported by the first terminal
  • a second acquiring module configured to acquire a codec algorithm used by the second terminal
  • a codec conversion control module configured to determine whether a codec algorithm used by the second terminal is concentrated in a codec algorithm capability supported by the first terminal, and if not, a voice code conversion board VTC channel is not applied, directly
  • the services of the first terminal and the second terminal are transparently transmitted; if not, the VTC channel is applied, and the services of the first terminal and the second terminal are coded and converted by using the VTC channel, And transfer the converted business.
  • the second obtaining module includes:
  • a receiving module configured to receive a context sent by the first terminal softswitch, where the context is that the first terminal softswitch is created according to the call request message of the first terminal, where the context is The first terminal termination point and the second terminal termination point carrying the codec algorithm conversion flag are added, the first terminal termination point corresponds to a real-time transmission protocol RTP resource, and the second terminal termination point corresponds to one RTP resource;
  • a sending module configured to: according to the codec conversion flag, reply to the first terminal softswitch, the first codec algorithm capability set supported by the first terminal endpoint, and the second terminal endpoint support Second codec algorithm capability set;
  • an obtaining submodule configured to acquire, according to the negotiation result of the first terminal softswitch and the second terminal softswitch negotiation, the codec algorithm used by the second terminal from the first terminal softswitch.
  • the obtaining submodule is specifically:
  • a second terminal termination module configured to receive a modification message sent by the first terminal softswitch, where the modification message carries a codec algorithm used by the second terminal, and determines a termination point of the second terminal
  • the codec algorithm capability set supported by the remote terminal is: a codec algorithm used by the second terminal, and sends a codec algorithm capability set supported by the remote end of the second terminal termination point, to the first terminal softswitch And writing, by the far-end supported codec algorithm capability set of the second terminal endpoint, the data area of the first terminal termination point.
  • the first acquiring module is specifically:
  • a first terminal termination module configured to receive the first terminal softswitch sending modification message, where the modification message carries a codec algorithm capability set supported by the remote end of the first terminal termination point, where the first The capability of the codec algorithm supported by the remote terminal of the terminal is: the codec algorithm capability set supported by the first terminal that is obtained by the first terminal softswitch from the call request message of the first terminal.
  • a switching module configured to: after the first terminal and the second terminal enter the transparent transmission, if the first terminal termination point receives the modification message of the first terminal softswitch, determine the The codec algorithm used by the second terminal is not centralized in the codec algorithm capability supported by the first terminal, and when the codec algorithm needs to be converted, the services of the first terminal termination point and the second terminal termination point are transparent. Transfer to the codec algorithm conversion.
  • a codec conversion control system under a softswitch architecture comprising:
  • a first terminal softswitch configured to acquire a codec algorithm capability set supported by the first terminal corresponding to the first terminal softswitch
  • a second terminal softswitch configured to acquire a codec algorithm used by the second terminal corresponding to the second terminal softswitch
  • a media gateway configured to determine whether a codec algorithm used by the second terminal is concentrated in a codec algorithm capability supported by the first terminal, and if not, a voice code conversion board VTC channel is not applied, directly to the first
  • the service of the terminal and the second terminal is transparently transmitted; if not, the VTC channel is applied, and the services of the first terminal and the second terminal are converted and decoded by the VTC channel, and converted. After the business is transmitted.
  • the media gateway determines whether the codec algorithm used by the second terminal (ie, the called party) is concentrated in the codec algorithm supported by the first terminal (ie, the calling party), and the codec algorithm and the master to be used by the called party.
  • the matched codec algorithm capability set is matched. If the match is successful, the VTC channel resource does not need to be applied for direct transmission of the service.
  • the codec conversion control method in the softswitch architecture provided by the present invention saves VTC channel resources, reduces equipment cost and maintenance cost, and improves communication between the master and the called, compared with the prior art method. Efficiency and connection rate. DRAWINGS
  • FIG. 1 is a schematic flow chart of an embodiment of a codec conversion control method in a softswitch architecture according to the present invention
  • FIG. 2 is a schematic diagram of a specific implementation process of the first embodiment of the method shown in FIG. 1; 3 is a schematic diagram of a specific implementation process of the second embodiment of the method shown in FIG. 2.
  • FIG. 4 is a schematic diagram of a specific implementation process of the third embodiment of the method shown in FIG. 3.
  • FIG. 6 is a schematic structural diagram of an embodiment of a media gateway according to the present invention;
  • FIG. 7 is a schematic structural diagram of a specific embodiment of a media gateway shown in FIG. 6.
  • FIG. 8 is a schematic structural diagram of a second embodiment of the media gateway shown in FIG. 7.
  • FIG. 10 is a schematic structural diagram of a media gateway in FIG. 6 to FIG. 9 having a switching module;
  • FIG. 11 is a schematic diagram of a codec conversion control system in a softswitch architecture according to the present invention; Schematic. DETAILED DESCRIPTION OF THE EMBODIMENTS
  • the present invention is directed to the problem that the codec algorithm of the master and the called party converts the Transcoding function and wastes the VTC resource when the VOIP call is implemented by the master and the called party in the existing NGN network, and provides a codec under the softswitch architecture that saves the VTC resource. Conversion control method, media gateway and system.
  • FIG. 1 is a flowchart of an embodiment of a codec conversion control method in a softswitch architecture according to the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step 11 The media gateway acquires a codec algorithm capability set supported by the first terminal.
  • Step 12 The media gateway acquires a codec algorithm used by the second terminal.
  • Step 13 The media gateway determines whether the codec algorithm used by the second terminal is concentrated in the codec algorithm capability supported by the first terminal. If yes, go to step 14, otherwise go to step 15.
  • Step 14 The VTC channel is not applied to the voice pattern conversion board, and the services of the first terminal and the second terminal are directly transmitted. End this process.
  • Step 15 Apply for a VTC channel, perform codec conversion on the services of the first terminal and the second terminal by using the applied VTC channel, and transmit the converted service.
  • the first terminal and the second terminal are two entities that are peers, and the first terminal may be a calling party or a called party; the second terminal may be a called party or a calling party.
  • the first terminal is called as the calling terminal, and the second terminal is called as the example for description; of course, the codec control method for the first terminal is called and the second terminal is called
  • the control method is the same as the first terminal
  • the second terminal is the same as the control method of the called terminal, and details are not described herein again, but the solution of the present invention should include the first terminal being Called, the second terminal is called the codec control method embodiment.
  • the media gateway determines whether the codec algorithm used by the second terminal (ie, the called party) is concentrated in the codec algorithm supported by the first terminal (ie, the calling party), and is used by the called party.
  • the decoding algorithm matches the capability set of the codec algorithm supported by the calling party. If the matching is successful, the VTC channel resource does not need to be applied, so that the primary and the called party directly transmit the transparent transmission of the service. If not, the matching is unsuccessful. The VTC channel resource is applied again, and the codec algorithm is converted to the main and called services, and the converted service is transmitted;
  • the VTC resource needs to be applied for the conversion of the codec algorithm of the master and the called party. It can be seen that the above embodiment of the present invention is compared with the existing one. The method saves VTC channel resources, reduces costs, and improves communication efficiency and connection rate of the main and called parties.
  • the first terminal softswitch may be the calling softswitch
  • the first terminal termination point may be the calling terminal termination point
  • the second terminal softswitch may be The called softswitch
  • the second terminal endpoint can be the called endpoint
  • step 12 may specifically include the following steps: Step 121: The media gateway receives a context sent by the first terminal softswitch, where the context is a first terminal softswitch according to the first terminal. Created by the call request message, the first terminal end point and the second terminal end point carrying the codec conversion flag are added in the context, where the first terminal end point corresponds to a real-time transport protocol (RTP) resource, Two terminal endpoints correspond to one Specifically, the specific implementation process of the first terminal as the called party and the second terminal as the called party is as follows:
  • the calling softswitch is configured according to the call request message of the calling party, and the session request protocol (SDP, Session Description Protocol) descriptor carries the codec algorithm capability set supported by the calling party, and sends a context (Context) to the media gateway.
  • SDP Session Description Protocol
  • a calling endpoint and a called endpoint carrying a codec algorithm conversion flag (Transcoding) are added in the context, and the calling endpoint corresponds to a real-time transport protocol RTP resource, and the called endpoint corresponds to an RTP resource;
  • the calling party initiates a call request message to the calling softswitch, and after the calling softswitch receives the call request message, it considers that a calling and called calling process is initiated, and the calling softswitch creates a context ( Context ), the context is the connection between some terminals, which describes the topology relationship between the terminals and the parameters of the media mixing/exchange.
  • Step 122 The media gateway returns, according to the codec conversion flag, the first codec algorithm capability set supported by the first terminal termination point and the second codec algorithm capability set supported by the second terminal termination point to the first terminal softswitch. .
  • Step 123 The media gateway acquires a codec algorithm used by the second terminal from the first terminal softswitch according to the negotiation result of the first terminal softswitch and the second terminal softswitch negotiation.
  • the specific implementation process in which the first terminal is the calling party and the second terminal is the called party is:
  • the calling softswitch negotiates with the called softswitch according to the first codec algorithm capability set and the second codec algorithm capability set to generate a negotiation result; the purpose is to obtain a codec algorithm used by the called party, so as to follow the main
  • the supported codec algorithm capability set is matched to determine whether the codec algorithms of the master and the called party are consistent.
  • the media gateway obtains the codec algorithm used by the called party according to the negotiation result.
  • the process of the first terminal softswitch and the second terminal softswitch negotiation may specifically include the following steps:
  • Step 1231 The first terminal softswitch sends a call request message to the second terminal softswitch, where the call request message carries the codec algorithm capability set supported by the second terminal termination point: that is, the second codec algorithm capability set;
  • Step 1232 The second terminal softswitch matches the second codec algorithm capability set with the codec algorithm capability set supported by the second terminal, and generates a matching result, that is, the matching result is the second codec algorithm capability set and the second terminal.
  • the intersection of the supported codec algorithm capability set, the intersection may be a set of codec algorithm capability sets, or may be a codec algorithm, but in the negotiation process, the codec algorithm used by the second terminal is the intersection a codec algorithm, therefore, the second terminal softswitch further needs to determine a codec algorithm used by the second terminal in the matching result, and reply the codec algorithm used by the second terminal to the first terminal softswitch. .
  • the obtaining, by the media gateway, the codec algorithm used by the second terminal from the first terminal softswitch may specifically include:
  • Step 1233 The first terminal softswitch sends a modification message to the second terminal termination point in the media gateway, where the modification message carries the codec algorithm used by the second terminal obtained in step 1232.
  • Step 1234 The second terminal termination point determines, according to the modification message, that the codec algorithm capability set supported by the remote end of the second terminal termination point is: the codec algorithm used by the second terminal, and sends a reply message to the first terminal softswitch.
  • the reply message carries: a codec algorithm capability set supported by the remote end of the second terminal termination point, and a codec algorithm capability set supported by the second terminal termination point and the remote end of the second terminal termination point Writing to the data area of the first terminal termination point, so that the first terminal termination point matches the codec algorithm capability set supported by the first terminal with the codec algorithm used by the second terminal.
  • the Step 11 may specifically include:
  • Step 111 The first terminal softswitch obtains a call request message of the first terminal from the foregoing step 121, and obtains a codec algorithm capability set supported by the first terminal from the call request message.
  • Step 112 The first terminal termination point in the media gateway receives the modification message sent by the first terminal softswitch, where the modification message carries the codec algorithm capability set supported by the remote end of the first terminal termination point, and the first terminal terminates.
  • the codec algorithm capability set supported by the far end of the point is: the codec algorithm capability set supported by the first terminal.
  • the first terminal termination point obtains the codec algorithm capability set supported by the first terminal and the codec algorithm used by the second terminal
  • the first terminal termination point obtains the codec algorithm capability set supported by the first terminal.
  • the two are matched to determine whether the codec algorithm used by the second terminal is concentrated in the codec algorithm supported by the first terminal, and if not, the VTC channel is not applied, directly
  • the services of the first terminal and the second terminal are transparently transmitted (that is, the transmission between the primary and the called services without any processing), if not, the VTC channel and the transparent transmission channel are applied, and the VTC channel is used for the first terminal, After the codec conversion of the service of the second terminal is performed, the transparent transmission channel is used for transparent transmission, so that the VTC channel is applied, which saves VTC channel resources and improves compared with the existing codec algorithms of the master and the called.
  • the services of the first terminal and the second terminal are directly transparently transmitted; or the step of transmitting the converted service may be specifically:
  • the services of the first terminal and the second terminal are directly transmitted through the NIPI channel (media IP interface board); or the converted service is transmitted through the NIPI channel.
  • NIPI channel media IP interface board
  • the VTC channel resource does not need to be applied, and the first terminal termination point opens the NIPI channel, and sets a timer to notify the second terminal end point to transparently transmit the services of the first terminal and the second terminal.
  • the reply to the first terminal endpoint is successful.
  • the NIPI channel fails to open or times out, the first terminal endpoint fails to reply;
  • the first terminal endpoint When the first terminal endpoint receives a successful reply from the second terminal endpoint, the first terminal softswitch replies successfully, otherwise, the softswitch reply to the first terminal fails.
  • the VTC channel resource is requested to perform the codec algorithm conversion
  • the first terminal termination point opens the VTC channel and the NIPI channel, and sets a timer to notify the second terminal end point to perform codec conversion;
  • the second terminal endpoint opens the VTC channel and the NIPI channel successfully, the first terminal end point is successfully replied, and when the VTC channel and the NIPI channel fail to be opened or timed out, the first terminal end point reply fails;
  • the first terminal endpoint When the first terminal endpoint receives a successful reply from the second terminal endpoint, the first terminal softswitch replies successfully, otherwise, the softswitch reply to the first terminal fails.
  • the codec algorithms of the first terminal and the second terminal may be inconsistently matched, and a handover from the transparent transmission to the codec algorithm conversion is required.
  • the first terminal end point receives the modification message of the first terminal softswitch, it is determined that the codec algorithm used by the second terminal is not supported by the first terminal.
  • the codec algorithm is centralized, and when the codec algorithm needs to be converted, the first terminal end point and the second terminal end point switch the service from the transparent transmission to the codec algorithm conversion;
  • the steps of the first terminal termination point and the second terminal termination point to switch the service from the transparent transmission to the codec algorithm include:
  • the first terminal termination point opens the VTC channel, modifies the NIPI channel, and notifies the second terminal termination point to perform codec conversion;
  • the first terminal termination point and the second terminal termination point use the VTC channel to perform codec conversion, and the converted service is transmitted through the NIPI channel.
  • FIG. 5 is mainly added to the Session Description Protocol (SDP) descriptor of the control protocol H248 protocol between the primary and the called softswitch and the media gateway.
  • SDP Session Description Protocol
  • a Transcoding attribute is used to instruct the media gateway to perform the Transcoding process.
  • the specific implementation includes:
  • Step 51 The calling party (ie, the first terminal) sends an Invite message to the calling softswitch (that is, the first terminal softswitch), and the Invite message is used to: initiate a call request, and the SDP descriptor in the Invite message is S1, the S1 represents a codec algorithm capability set supported by the calling party.
  • Step 52 After the calling softswitch receives the Invite message, it sends a command to the media gateway.
  • the two RTPs may be Ra and Rb respectively, where Ra may represent the RTP resource corresponding to the calling endpoint (ie, the first terminal endpoint), and Rb may represent the called endpoint (ie, the second terminal terminates above) Point) corresponding RTP resources, where Ra and Rb are named for convenience, and the RTP resource of the calling endpoint is not limited to Ra, but also Rb.
  • Rb is not limited to the The RTP resource called the endpoint, and the RTP resource corresponding to the called endpoint may also be Ra.
  • Step 53 After receiving the Add command of the calling softswitch, the media gateway returns to the calling softswitch.
  • Step 54 The calling softswitch sends an Invite message to the called softswitch (that is, the second terminal softswitch), and the Invite message is used to: initiate a call request to the called softswitch, and the SDP descriptor in the Invite message is Sb, the second codec algorithm capability set Sb supported by the called endpoint, tells the called softswitch; in this step, if the codec algorithm capability set supported by the called endpoint is Sa, the Invite The SDP descriptor in the message can also be Sa.
  • Step 55 The called softswitch matches Sb with the codec algorithm capability set supported by itself, and if there is an intersection, the called softswitch determines a codec used by the called party (ie, the second terminal) in the intersection.
  • Algorithm S2 if the intersection is represented by an array, the algorithm used by the called party is usually the first codec algorithm in the array; the called softswitch replies to the calling softswitch (180Ring) or A response message such as PRACK or 200 OK, where the SDP descriptor is S2, and the codec algorithm used by the called party is replied to the calling softswitch. If the called softswitch matches Sb with the codec algorithm capability set supported by itself, there is no match. At the intersection, the negotiation of the calling softswitch failed.
  • Step 56 The calling softswitch sends a first Modify message to the called endpoint Rb in the media gateway.
  • MF C1
  • S2 The capability set of the codec algorithm supported by the far end is S2.
  • Mode Reply a first modification response
  • SDP descriptor is S2
  • write the S2 into the data area of the calling end point Ra so that the main and called codec algorithms are matched after Ra.
  • the function of the command is to send the codec algorithm capability set supported by the remote end of the calling endpoint Ra to the calling endpoint Ra.
  • the capability of the encoding and decoding algorithm supported by the far end of the Ra is: Codec algorithm capability set S1;
  • Step 59 The calling end point Ra in the media gateway is compared according to the S2 in the data area and the codec algorithm capability set S1 supported by the remote end. If S2 is in the S1, the master and the called party are successfully matched. Ra and Rb do not need to perform codec conversion. You do not need to apply for VTC channel resources. You can directly use the NIPI channel to transparently transmit the primary and called services. If S2 is not in S1, the primary and the called matches are unsuccessful. , indicating that Ra and Rb need to perform codec algorithm conversion, need to apply for VTC channel resources and NIPI channel resources, and perform codec algorithm conversion. Ra in the media gateway also has its own codec algorithm capability set Sa, and the SI Matching is performed.
  • Step 510 The calling softswitch replies to the calling party with a response message such as Ring or PRACK or 200 OK, and returns Sa to the calling party.
  • the calling party performs the codec conversion of the primary and the called service through the VTC channel according to the Sa algorithm. Convert to a common format, such as TDM (Time Division Multiplexing) format, use the NIPI channel to convert the converted service to the called party, and then convert the general format service into the format supported by the called party; The called party enters the normal call process.
  • TDM Time Division Multiplexing
  • the foregoing embodiment of the present invention adds a Transcoding flag to the SDP descriptor of the H248 protocol, instructing the media gateway to match the codec algorithms of the master and the called party, and if the called codec algorithm and calling party support are used. If the codec algorithm capability set is successfully matched, the VTC channel resource is not applied, and the codec conversion of the primary and the called service is not performed, thereby saving valuable VTC channel resources. While expanding the H248 protocol packet, the method of the present invention makes The communication efficiency and connection rate of the main and called parties are improved, and the network cost is reduced.
  • the embodiment of the present invention further provides a media gateway 60, which is applied to a master/slave codec conversion control method in a softswitch architecture, and the media gateway 60 specifically includes:
  • the first obtaining module 61 is configured to acquire a codec algorithm capability set supported by the first terminal
  • the second acquiring module 62 is configured to acquire a codec algorithm used by the second terminal.
  • the codec conversion control module 63 is configured to determine whether the codec algorithm used by the second terminal is concentrated in the codec algorithm capability supported by the first terminal, and if not, the VTC channel of the voice pattern conversion board is not applied, directly to the first The services of the terminal and the second terminal are transparently transmitted; if not, the VTC channel is applied, and the services of the first terminal and the second terminal are converted and coded by the VTC channel, and the converted service is transmitted.
  • the first terminal may be the calling party or the called party; the second terminal may be the called party or the calling party; in the following embodiment of the media gateway of the present invention, the first terminal
  • the terminal is called as the calling party, and the second terminal is called as the example for description.
  • the second terminal is also applicable to all the following embodiments, and the control method and the first terminal are mainly used.
  • the control method of the second terminal is the same as that of the called terminal, and is not described in detail below.
  • the solution of the present invention should include an embodiment in which the first terminal is called and the second terminal is called.
  • the second obtaining module 62 in FIG. 6 may specifically include:
  • the receiving module 621 is configured to receive a context sent by the first terminal softswitch, where the context is that the first terminal softswitch is created according to the call request message of the first terminal, and the context is added a first terminal termination point and a second terminal termination point with a codec conversion flag, the first terminal termination point corresponding to a real-time transmission protocol RTP resource, and the second terminal termination point corresponding to an RTP resource;
  • the sending module 622 is configured to: according to the received codec conversion flag, reply to the first terminal softswitch, the first codec algorithm capability set supported by the first terminal endpoint, and the second codec algorithm supported by the second terminal termination point. Capacity set
  • the obtaining sub-module 623 is configured to obtain, according to the negotiation result of the first terminal softswitch and the second terminal softswitch negotiation, the codec algorithm used by the second terminal from the first terminal softswitch.
  • the process of the first terminal softswitch and the second terminal softswitch negotiation may specifically include the following:
  • the first terminal softswitch sends a call request message to the second terminal softswitch, where the call request message carries the codec algorithm capability set supported by the second terminal termination point: that is, the second codec algorithm capability set;
  • the second terminal softswitch matches the second codec algorithm capability set with the codec algorithm capability set supported by the second terminal, and generates a matching result, that is, the matching result is the second codec algorithm capability set and the second terminal support.
  • the intersection of the codec algorithm capability set, the intersection may be a set of codec algorithm capability sets, or may be a codec algorithm, but in the negotiation process, the codec algorithm used by the second terminal is the intersection A codec algorithm, therefore, the second terminal softswitch further needs to determine a codec algorithm used by the second terminal in the matching result, and reply the codec algorithm used by the second terminal to the first terminal softswitch.
  • the obtaining sub-module 623 in FIG. 7 may be specifically a second terminal termination module, configured to receive a modification message sent by the first terminal softswitch, where the modification message carries the codec used by the second terminal. And determining, by the far end, the codec algorithm capability set supported by the second terminal termination point is: a codec algorithm used by the second terminal, and sending a codec algorithm capability set supported by the far end of the second terminal termination point to The first terminal softswitches and the far end of the second terminal The codec algorithm capability set supported by the terminal is written in the data area of the first terminal termination point.
  • the first acquiring module 61 in FIG. 7 is specifically a first terminal termination module, configured to receive a first terminal softswitch sending modification message, where the modification message carries a remote end of the first terminal termination point.
  • the codec algorithm capability set supported by the first terminal end point is: the codec algorithm supported by the first terminal obtained by the first terminal softswitch from the call request message of the first terminal Ability set.
  • the media gateway 60 shown in FIG. 6 to FIG. 9 further includes: a switching module 64, configured to: after the first terminal and the second terminal enter the transparent transmission, if the first terminal ends Receiving a modification message of the first terminal softswitch, determining that the codec algorithm used by the second terminal is not in the capability of the codec algorithm supported by the first terminal, and when the codec algorithm is required to be converted, the first terminal termination point is The service of the second terminal termination point is switched from transparent transmission to codec algorithm conversion;
  • a switching module 64 configured to: after the first terminal and the second terminal enter the transparent transmission, if the first terminal ends Receiving a modification message of the first terminal softswitch, determining that the codec algorithm used by the second terminal is not in the capability of the codec algorithm supported by the first terminal, and when the codec algorithm is required to be converted, the first terminal termination point is The service of the second terminal termination point is switched from transparent transmission to codec algorithm conversion;
  • the switching process specifically includes:
  • the first terminal termination point opens the VTC channel, modifies the NIPI channel, and notifies the second terminal end point to perform codec conversion;
  • the first terminal termination point and the second terminal termination point use the VTC channel to perform codec conversion, and the converted service is transmitted through the NIPI channel.
  • the codec conversion control module 63 in the embodiment of the media gateway of the present invention determines that the codec algorithm used by the second terminal (ie, the called party) is concentrated in the codec algorithm supported by the first terminal (ie, the calling party), and is about to be The codec algorithm used is matched with the codec algorithm capability set supported by the calling party. If the match is successful, the VTC channel resource does not need to be applied, so that the master and the called party directly transmit the service transparently. If not, If the matching is unsuccessful, the VTC channel resource is applied again, and the codec algorithm is converted to the main and called services, and the converted service is transmitted.
  • the VTC needs to be applied.
  • the resource performs the conversion of the codec algorithm of the master and the called party. It can be seen that the foregoing embodiment of the present invention saves the VTC channel resources, reduces the cost, and improves the communication efficiency and connection of the master and the called party compared with the existing method. Pass rate.
  • the present invention further provides an embodiment of a codec conversion control system in a softswitch architecture, including:
  • a first terminal softswitch configured to acquire a codec algorithm capability set supported by the first terminal corresponding to the first terminal softswitch
  • a second terminal softswitch configured to acquire a codec algorithm used by the second terminal corresponding to the second terminal softswitch
  • a media gateway configured to determine whether the codec algorithm used by the second terminal is concentrated in the codec algorithm capability supported by the first terminal, and if not, the voice code conversion board VTC channel is not applied, directly to the first terminal, the second The service of the terminal is transparently transmitted; if not, the VTC channel is applied, and the VTC channel is used to convert the codec algorithm of the services of the first terminal and the second terminal, and the converted service is transmitted.
  • the first terminal softswitch ie, the calling softswitch
  • the second terminal softswitch ie, the called softswitch
  • the media gateway in the codec control method in the softswitch architecture. All the interaction processes between the two are applicable to the system embodiment, and are not described here.
  • the media gateway in the system embodiment of the present invention determines whether the codec algorithm used by the second terminal (ie, the called party) is concentrated in the codec algorithm capability supported by the first terminal (ie, the calling party), and the codec algorithm used by the called party is used. Matching with the codec algorithm capability set supported by the calling party. If the matching is successful, the VTC channel resource does not need to be applied, so that the primary and the called party directly transmit the service transparently. If not, the matching is unsuccessful, and then apply again. The VTC channel resource converts the codec algorithm of the primary and the called services, and transmits the converted service;
  • the VTC needs to be applied.
  • the resource performs the conversion of the codec algorithm of the master and the called party. It can be seen that the foregoing embodiment of the present invention saves the VTC channel resources, reduces the cost, and improves the communication efficiency and connection of the master and the called party compared with the existing method. Pass rate.

Description

软交换架构下的编解码转换控制方法、 媒体网关及系统 技术领域
本发明涉及一种互联网协议语音技术 ( VOIP , Voice over Internet Protocol, , 筒称网络电话)呼叫相关的 H248协议, 特别是指一种软交换架 构下的编解码转换控制方法、 媒体网关及系统。 背景技术
下一代网络( NGN , Next Generation Network )是一种可以提供包括话 音、 数据和多媒体等业务的综合开放的网络构架。 软交换是该网络的控制 功能实体, 为 NGN提供具有实时性要求的业务的呼叫控制和连接控制功 能。 目前的 NGN网络, 是在已有网络基础上添加了软交换系统设备, 如媒 体网关控制器( MGC, Media Gateway Controller )、 媒体网关( MG, Media Gateway )等, 从而达到在现有网络基础上提供软交换业务的目的; 其中, MGC也叫做呼叫代理或软交换, 如主叫软交换或者被叫软交换, 应用在 IP 语音架构的系统,来控制 ^艮多终端和媒体网关, H248协议就是 MGC和 MG 之间传输业务所采用的协议。
但是, 目前在 NGN网络中, 由于主、 被叫用户支持的编解码算法可能 不一样, 主叫支持的编解码算法, 被叫有可能不支持; 而被叫支持的编解 码算法, 主叫有可能不支持。 因此, 为了实现主、 被叫用户的 VOIP通话, 需要在主、 被叫之间提供编解码转换能力, 以保证主、 被叫的媒体流均使 用各自支持的编解码算法, 这种主、 被叫的编解码转换功能被称为 Transcoding功能。
目前的 Transcoding功能存在以下不足:
在主、 被叫编解码算法一致时, 也会占用 2条语音码型转换板(VTC, Voice Transcoder Card )通道, 该 VTC通道的作用是将经过该通道的数据进 行语音码型转换, 输出转换后的数据; 而此时由于主、 被叫编解码算法一 样, 并不需要进行编解码转换, 浪费了宝贵的 VTC资源, 增加了设备成本 和维护成本; 而且, 因为增加了操作 VTC通道的时间, 也就降低了通讯效 率, 而 VTC操作有可能超时或者失败, 也就降低了通讯接通率。 发明内容
本发明要解决的技术问题是提供一种节省 VTC资源的软交换架构下的 编解码转换控制方法、 媒体网关及系统。
为解决上述技术问题, 本发明的实施例提供一种软交换架构下的编解 码转换控制方法, 包括:
媒体网关获取第一终端支持的编解码算法能力集;
媒体网关获取第二终端使用的编解码算法;
媒体网关判断获得的第二终端使用的编解码算法是否在第一终端支持 的编解码算法能力集中, 若是, 则不申请语音码型变换板 VTC通道, 直接 对第一终端、 第二终端的业务进行透传; 否则, 申请 VTC通道, 利用申请 到的 VTC通道对第一终端、 第二终端的业务进行编解码算法转换, 并对转 换后的业务进行传输。
所述媒体网关获取第二终端使用的编解码算法包括:
所述媒体网关接收来自第一终端软交换的上下文; 所述上下文是所述 第一终端软交换根据第一终端的呼叫请求消息创建的, 所述上下文中添加 了携带有编解码算法转换标记的第一终端终结点和第二终端终结点, 其中, 第一终端终结点对应一个实时传输协议 RTP资源, 所述第二终端终结点对 应一个 RTP资源;
所述媒体网关根据所述编解码算法转换标记, 向所述第一终端软交换 回复第一终端终结点支持的第一编解码算法能力集和第二终端终结点支持 的第二编解码算法能力集;
所述媒体网关根据第一终端软交换和第二终端软交换协商的协商结 果, 从所述第一终端软交换获取所述第二终端使用的编解码算法。
所述第一终端软交换和第二终端软交换协商的过程包括:
所述第一终端软交换发送呼叫请求消息给第二终端软交换, 在呼叫请 求消息中携带有所述第二编解码算法能力集;
所述第二终端软交换将第二编解码算法能力集与其自身支持的编解码 算法能力集进行匹配, 产生匹配结果, 并在产生的匹配结果中确定一个所 述第二终端使用的编解码算法, 并将所述第二终端使用的编解码算法回复 给所述第一终端软交换。
所述媒体网关从第一终端软交换获取第二终端使用的编解码算法包 括:
所述媒体网关中的第二终端终结点接收来自第一终端软交换的修改消 息, 在修改消息中携带有所述第二终端使用的编解码算法;
所述第二终端终结点确定第二终端终结点的远端支持的编解码算法能 力集为: 所述第二终端使用的编解码算法, 将所述第二终端终结点的远端 支持的编解码算法能力集发送给第一终端软交换, 并将所述第二终端终结 点的远端支持的编解码算法能力集写入第一终端终结点的数据区中。
所述媒体网关获取第一终端支持的编解码算法能力集包括:
所述媒体网关中的第一终端终结点接收第一终端软交换发送修改消 息, 在修改消息中携带有所述第一终端终结点的远端支持的编解码算法能 力集, 所述第一终端终结点的远端支持的编解码算法能力集为: 所述第一 终端软交换从所述第一终端的呼叫请求消息中获取的所述第一终端支持的 编解码算法能力集。
所述直接对所述第一终端、 所述第二终端的业务进行透传; 或者对转 换后的业务进行传输的具体为:
通过媒体 IP接口板 NIPI通道直接对所述第一终端、所述第二终端的业 务进行透传; 或者通过 NIPI通道对转换后的业务进行传输。
所述通过媒体 IP接口板 NIPI通道直接对所述第一终端、所述第二终端 的业务进行透传之前, 还包括预先设定时器;
所述通过媒体 IP接口板 NIPI通道直接对所述第一终端、所述第二终端 的业务进行透传包括:
所述第一终端终结点打开 NIPI通道, 通知所述第二终端终结点进行所 述第一终端、 所述第二终端的业务的透传;
若所述第二终端终结点打开 NIPI通道成功, 则向所述第一终端终结点 回复成功, 打开 NIPI通道失败或者超时时, 给所述第一终端终结点回复失 败;
所述第一终端终结点收到所述第二终端终结点成功回复时, 向所述第 一终端软交换回复成功, 否则, 向所述第一终端软交换回复失败。
所述通过 NIPI通道对转换后的业务进行传输之前, 还包括: 预先设定 时器;
利用所述 VTC通道对所述第一终端、 所述第二终端的业务进行编解码 算法转换, 通过 NIPI通道对转换后的业务进行传输包括:
所述第一终端终结点打开 VTC通道和 NIPI通道, 通知所述第二终端 终结点进行编解码算法转换;
若所述第二终端终结点打开 VTC通道和 NIPI通道成功, 则向所述第 一终端终结点回复成功, 打开 VTC通道和 NIPI通道失败或者超时时, 给 所述第一终端终结点回复失败;
所述第一终端终结点收到所述第二终端终结点成功回复时, 向所述第 一终端软交换回复成功, 否则, 向所述第一终端软交换回复失败。 其特征在于,
所述第一终端、 第二终端的业务进入透传后, 若所述第一终端终结点 收到所述第一终端软交换的修改消息, 判断所述第二终端使用的编解码算 法不在所述第一终端支持的编解码算法能力集中, 需要进行编解码算法转 换时, 则将所述第一终端终结点和所述第二终端终结点的业务从透传切换 到编解码算法转换。
所述将第一终端终结点和第二终端终结点的业务从透传切换到编解码 算法转换包括:
所述第一终端终结点打开 VTC通道, 修改 NIPI通道, 通知所述第二 终端终结点进行编解码算法转换;
所述第二终端终结点打开 VTC通道和修改 NIPI通道成功后, 所述第 一终端终结点和所述第二终端终结点利用 VTC通道进行编解码算法转换, 通过所述 NIPI通道对转换后的业务进行传输。
所述第一终端为主叫, 所述第二终端为被叫。
一种媒体网关, 包括:
第一获取模块, 用于获取第一终端支持的编解码算法能力集; 第二获取模块, 用于获取第二终端使用的编解码算法;
编解码转换控制模块, 用于判断所述第二终端使用的编解码算法是否 在所述第一终端支持的编解码算法能力集中, 若在, 则不申请语音码型变 换板 VTC通道, 直接对所述第一终端、 所述第二终端的业务进行透传; 若 不在, 则申请 VTC通道, 利用所述 VTC通道对所述第一终端、 所述第二 终端的业务进行编解码算法转换, 并对转换后的业务进行传输。
所述第二获取模块包括:
接收模块, 用于接收第一终端软交换发送的上下文, 所述上下文是所 述第一终端软交换根据所述第一终端的呼叫请求消息创建的, 所述上下文 中添加了携带有编解码算法转换标记的第一终端终结点和第二终端终结 点, 所述第一终端终结点对应一个实时传输协议 RTP资源, 所述第二终端 终结点对应一个 RTP资源;
发送模块, 用于根据所述编解码算法转换标记, 向所述第一终端软交 换回复所述第一终端终结点支持的第一编解码算法能力集和所述第二终端 终结点支持的第二编解码算法能力集;
获取子模块, 用于根据所述第一终端软交换和所述第二终端软交换协 商的协商结果, 从所述第一终端软交换获取所述第二终端使用的编解码算 法。
所述获取子模块具体为:
第二终端终结点模块, 用于接收所述第一终端软交换发送的修改消息, 所述修改消息中携带有所述第二终端使用的编解码算法; 并确定所述第二 终端终结点的远端支持的编解码算法能力集为: 所述第二终端使用的编解 码算法, 并发送所述第二终端终结点的远端支持的编解码算法能力集, 给 所述第一终端软交换, 并将所述第二终端终结点的远端支持的编解码算法 能力集写入所述第一终端终结点的数据区中。
所述第一获取模块具体为:
第一终端终结点模块, 用于接收所述第一终端软交换发送修改消息, 所述修改消息中携带有所述第一终端终结点的远端支持的编解码算法能力 集, 所述第一终端终结点的远端支持的编解码算法能力集为: 所述第一终 端软交换从所述第一终端的呼叫请求消息中获取的所述第一终端支持的编 解码算法能力集。
还包括:
切换模块, 用于在所述第一终端、 所述第二终端的业务进入透传后, 若所述第一终端终结点收到所述第一终端软交换的修改消息, 判断所述第 二终端使用的编解码算法不在所述第一终端支持的编解码算法能力集中, 需要进行编解码算法转换时, 则将所述第一终端终结点和所述第二终端终 结点的业务从透传切换到编解码算法转换。
一种软交换架构下的编解码转换控制系统, 包括:
第一终端软交换, 用于获取与所述第一终端软交换对应的第一终端支 持的编解码算法能力集;
第二终端软交换, 用于获取与所述第二终端软交换对应的第二终端使 用的编解码算法;
媒体网关, 用于判断所述第二终端使用的编解码算法是否在所述第一 终端支持的编解码算法能力集中, 若在, 则不申请语音码型变换板 VTC通 道, 直接对所述第一终端、 所述第二终端的业务进行透传; 若不在, 则申 请 VTC通道, 利用所述 VTC通道对所述第一终端、 所述第二终端的业务 进行编解码算法转换, 并对转换后的业务进行传输。
本发明方案中, 媒体网关通过判断第二终端 (即被叫 )使用的编解码 算法是否在第一终端 (即主叫) 支持的编解码算法能力集中, 即将被叫使 用的编解码算法与主叫支持的编解码算法能力集进行匹配, 若在, 即匹配 成功, 不需要申请 VTC通道资源, 直接进行业务的透传; 而现有技术中, 无论主、被叫的编解码算法是否一致,都需要申请 VTC通道资源,进行主、 被叫的编解码算法转换。 由此可见, 本发明提供的软交换架构下的编解码 转换控制方法相比于现有技术中的方法, 节省了 VTC通道资源, 降低了设 备成本和维护成本, 提高了主、 被叫的通讯效率和接通率。 附图说明
图 1 为本发明软交换架构下的编解码转换控制方法的实施例的流程示 意图;
图 2为图 1所示的方法的第一实施例的具体实现流程示意图; 图 3为图 2所示的方法的第二实施例的具体实现流程示意图; 图 4为图 3所示的方法的第三实施例的具体实现流程示意图; 图 5为图 1 -图 4所示方法应用到 NGN网络中的具体流程示意图; 图 6为本发明媒体网关的的实施例的结构示意图;
图 7为图 6所示媒体网关的第一实施例的具体实施例结构示意图; 图 8为图 7所示媒体网关的第二实施例的具体实施例结构示意图; 图 9为图 8所示媒体网关的第三实施例的具体实施例结构示意图; 图 10为图 6 -图 9所示媒体网关中具有切换模块的结构示意图; 图 11为本发明的软交换架构下的编解码转换控制系统的结构示意图。 具体实施方式 为使本发明要解决的技术问题、 技术方案和优点更加清楚, 下面将结 合附图及具体实施例进行详细描述。
本发明针对现有的 NGN网络中主、 被叫实现 VOIP通话时, 主、 被叫 的编解码算法转换 Transcoding功能, 浪费 VTC资源的问题, 提供一种节 省 VTC资源的软交换架构下的编解码转换控制方法、 媒体网关及系统。
图 1为本发明软交换架构下的编解码转换控制方法的实施例的流程图, 如图 1所示, 包括以下步骤:
步骤 11 , 媒体网关获取第一终端支持的编解码算法能力集。
步骤 12, 媒体网关获取第二终端使用的编解码算法。
步骤 13, 媒体网关判断第二终端使用的编解码算法是否在第一终端支 持的编解码算法能力集中, 若是, 转向步骤 14, 否则转向步骤 15。
步骤 14, 不申请语音码型变换板 VTC通道, 直接对第一终端、 第二终 端的业务进行透传。 结束本流程。
步骤 15, 申请 VTC通道, 利用申请到的 VTC通道对第一终端、 第二 终端的业务进行编解码算法转换, 并对转换后的业务进行传输。 图 1 所示流程中, 第一终端与第二终端是对等的两个实体, 第一终端 可以为主叫, 也可以为被叫; 第二终端可以为被叫, 也可以为主叫。 在本 发明的以下实施例中, 以该第一终端为主叫, 第二终端为被叫为例进行说 明; 当然, 对于第一终端为被叫, 第二终端为主叫的编解码控制方法, 同 样适用于以下所有的实施例, 其控制方法与第一终端为主叫, 第二终端为 被叫的控制方法相同, 下文中不再赘述, 但本发明的方案应当包括第一终 端为被叫, 第二终端为主叫的编解码控制方法实施例。
图 1 所示的实施例中, 媒体网关通过判断第二终端 (即被叫)使用的 编解码算法是否在第一终端 (即主叫) 支持的编解码算法能力集中, 即将 被叫使用的编解码算法与主叫支持的编解码算法能力集进行匹配, 若在, 即匹配成功, 不需要申请 VTC通道资源, 这样主、 被叫就直接进行业务的 透传, 若不在, 即匹配不成功, 再申请 VTC通道资源, 对主、 被叫的业务 进行编解码算法转换, 对转换后的业务进行传输;
而现有技术中,无论主、被叫的编解码算法是否一致,都需要申请 VTC 资源, 进行主、 被叫的编解码算法转换; 由此可见, 本发明的上述实施例 相比于现有的方法, 节省了 VTC通道资源, 降低了成本, 提高了主、 被叫 的通讯效率和接通率。
在第一终端为主叫, 第二终端为被叫时, 下述的第一终端软交换可以 为主叫软交换, 第一终端终结点可以为主叫终结点, 第二终端软交换可以 为被叫软交换, 第二终端终结点可以为被叫终结点;
如图 2所示, 上述图 1所示实施例中, 步骤 12具体可包括以下步骤: 步骤 121 ,媒体网关接收第一终端软交换发送的上下文, 该上下文是第 一终端软交换根据第一终端的呼叫请求消息创建的, 该上下文中添加了携 带有编解码算法转换标记的第一终端终结点和第二终端终结点, 其中, 第 一终端终结点对应一个实时传输协议(RTP )资源, 第二终端终结点对应一 个 RTP资源; 具体来讲, 以第一终端为主叫, 第二终端为被叫的具体实现 过程为:
主叫软交换根据主叫的呼叫请求消息, 该呼叫请求消息中通过会话描 述协议( SDP, Session Description Protocol )描述符携带主叫支持的编解码 算法能力集, 向媒体网关发送上下文(Context ), 该上下文中添加了携带有 编解码算法转换标记(Transcoding ) 的主叫终结点和被叫终结点, 该主叫 终结点对应一个实时传输协议 RTP资源,该被叫终结点对应一个 RTP资源; 该步骤中, 主叫向主叫软交换发起一呼叫请求消息, 主叫软交换收到 该呼叫请求消息后, 认为要发起一个主、 被叫呼叫流程, 该主叫软交换就 会创建一个上下文(Context ), 上下文是一些终端间的联系, 它描述终端之 间的拓朴关系及媒体混合 /交换的参数, 该上下文中添加了两个 RTP资源, 其中一个为主叫终结点, 另一个为被叫终结点, 这两个 RTP资源分别被添 加了编解码算法转换标记( Transcoding ) ,媒体网关在接收到该两个 RTP资 源时, 就会根据该编解码算法转换标记进入编解码转换控制流程。
步骤 122,媒体网关根据该编解码算法转换标记, 向第一终端软交换回 复该第一终端终结点支持的第一编解码算法能力集和第二终端终结点支持 的第二编解码算法能力集。
步骤 123 ,媒体网关根据第一终端软交换和第二终端软交换协商的协商 结果, 从第一终端软交换获取第二终端使用的编解码算法。 具体来讲, 以 第一终端为主叫, 第二终端为被叫的具体实现过程为:
主叫软交换根据该第一编解码算法能力集和该第二编解码算法能力集 与被叫软交换进行协商, 产生协商结果; 目的是为了获得被叫使用的编解 码算法, 以便后续与主叫支持的编解码算法能力集进行匹配, 判断主、 被 叫的编解码算法是否一致; 媒体网关根据该协商结果获取被叫使用的编解 码算法。 如图 3所示, 上述图 2所示流程中, 步骤 123中, 第一终端软交换和 第二终端软交换协商的过程可具体包括如下步骤:
步骤 1231 , 第一终端软交换发送呼叫请求消息给第二终端软交换, 该 呼叫请求消息中携带有第二终端终结点支持的编解码算法能力集: 即第二 编解码算法能力集;
步骤 1232, 第二终端软交换将该第二编解码算法能力集与其自身支持 的编解码算法能力集进行匹配, 产生匹配结果, 即该匹配结果是该第二编 解码算法能力集与第二终端支持的编解码算法能力集的交集, 该交集可能 是一个编解码算法能力集的集合, 也可能是一个编解码算法, 但在该协商 过程中, 第二终端使用的编解码算法为该交集中的一个编解码算法, 因此, 第二终端软交换还需要在该匹配结果中确定一个该第二终端使用的编解码 算法, 并将该第二终端使用的编解码算法回复给第一终端软交换。
相应的, 上述步骤 123 中, 媒体网关从第一终端软交换获取第二终端 使用的编解码算法可具体包括:
步骤 1233 , 第一终端软交换发送修改消息给媒体网关中的第二终端终 结点, 该修改消息中携带有上述步骤 1232中获得的第二终端使用的编解码 算法;
步骤 1234, 第二终端终结点根据该修改消息确定该第二终端终结点的 远端支持的编解码算法能力集为: 该第二终端使用的编解码算法, 发送回 复消息给第一终端软交换, 该回复消息中携带有: 第二终端终结点的远端 支持的编解码算法能力集, 同时, 该第二终端终结点并将该第二终端终结 点的远端支持的编解码算法能力集写入第一终端终结点的数据区中, 以便 第一终端终结点将第一终端支持的编解码算法能力集与该第二终端使用的 编解码算法进行匹配。
如图 4所示, 结合上述图 1、 图 2、 图 3所示的具体实施例, 图 1中的 步骤 11可具体包括:
步骤 111 , 第一终端软交换从上述步骤 121中, 获得第一终端的呼叫请 求消息, 并从该呼叫请求消息中获取第一终端支持的编解码算法能力集。
步骤 112,媒体网关中的第一终端终结点接收第一终端软交换发送的修 改消息, 该修改消息中携带有第一终端终结点的远端支持的编解码算法能 力集, 该第一终端终结点的远端支持的编解码算法能力集为: 第一终端支 持的编解码算法能力集。
这样, 该第一终端终结点就获得了第一终端支持的编解码算法能力集 和第二终端使用的编解码算法, 该第一终端终结点获得了第一终端支持的 编解码算法能力集和第二终端使用的编解码算法之后, 对二者进行匹配, 判断第二终端使用的编解码算法是否在该第一终端支持的编解码算法能力 集中, 若在, 就不申请 VTC通道, 直接对第一终端、 第二终端的业务进行 透传 (即对主、 被叫之间的业务不经过任何处理的传输), 若不在, 申请 VTC通道和透传通道, 利用 VTC通道对第一终端、 第二终端的业务进行编 解码转换后, 利用透传通道进行透传, 这样相比于现有的无论主、 被叫的 编解码算法是否一致, 都申请 VTC通道, 节省了 VTC通道资源, 提高了 主、 被叫业务的通讯效率和接通率。
另外, 在上述所有实施例中, 直接对第一终端、 第二终端的业务进行 透传; 或者对转换后的业务进行传输的步骤可具体为:
通过 NIPI通道(媒体 IP接口板)直接对第一终端、 第二终端的业务进 行透传; 或者通过 NIPI通道对转换后的业务进行传输。
第一终端终结点、 第二终端终结点在利用 NIPI通道直接对第一终端、 第二终端的业务进行透传时, 具有以下三种情况:
( 1 ) 不需要编解码转换的透传。
当第一终端终结点判断第二终端使用的编解码算法跟自己的远端支持 的编解码算法能力集有交集时, 不需要申请 VTC通道资源, 第一终端终结 点打开 NIPI通道, 设定时器, 通知第二终端终结点进行第一终端、 第二终 端的业务的透传;
若第二终端终结点打开 NIPI通道成功,则向第一终端终结点回复成功, 打开 NIPI通道失败或者超时时, 向第一终端终结点回复失败;
第一终端终结点收到第二终端终结点成功回复时, 向第一终端软交换 回复成功, 否则, 向第一终端软交换回复失败。
( 2 ) 需要编解码算法转换的透传。
当第一终端终结点判断第二终端使用的编解码算法跟自己的远端支持 的编解码算法能力集没有交集时, 要申请 VTC通道资源进行编解码算法转 换;
第一终端终结点打开 VTC通道和 NIPI通道, 设定时器, 通知第二终 端终结点进行编解码算法转换;
若第二终端终结点打开 VTC通道和 NIPI通道成功, 则向第一终端终 结点回复成功, 打开 VTC通道和 NIPI通道失败或者超时时, 给第一终端 终结点回复失败;
第一终端终结点收到第二终端终结点成功回复时, 向第一终端软交换 回复成功, 否则, 向第一终端软交换回复失败。
( 3 )如果有第一终端软交换向媒体网关发送新的编解码算法能力集, 第一终端和第二终端的编解码算法可能匹配不一致, 则需要从透传到编解 码算法转换的切换。
具体来讲, 在第一终端、 第二终端的业务进入透传后, 若第一终端终 结点收到第一终端软交换的修改消息, 判断第二终端使用的编解码算法不 在第一终端支持的编解码算法能力集中, 需要进行编解码算法转换时, 则 第一终端终结点和第二终端终结点将业务从透传切换到编解码算法转换; 该第一终端终结点和第二终端终结点将业务从透传切换到编解码算法 转换的步骤包括:
第一终端终结点打开 VTC通道, 修改 NIPI通道, 通知第二终端终结 点进行编解码算法转换;
第二终端终结点打开 VTC通道和修改 NIPI通道成功后, 第一终端终 结点和第二终端终结点利用 VTC通道进行编解码算法转换, 通过 NIPI通 道对转换后的业务进行传输。
下面再结合图 5对本发明方法在具体的 NGN网络的应用进行描述,该 方法主要是在主、被叫软交换与媒体网关之间的控制协议 H248协议的会话 描述协议( SDP )描述符中增加一个 Transcoding属性, 用于指示媒体网关 进行 Transcoding流程, 如图 5所示, 具体实现包括:
步骤 51 : 主叫 (即上述第一终端)发送 Invite消息给主叫软交换 (即 上述第一终端软交换), 该 Invite消息的作用是: 发起呼叫请求, 该 Invite 消息中的 SDP描述符为 S1 , 该 S1表示该主叫支持的编解码算法能力集。
步骤 52 : 主叫软交换收到 Invite 消息后, 向媒体网关发送命令
Add(C=$,A=$,Codec=c,A=$,Codec=c,a=transcoding), 该命令的作用是: 创建 一个上下文( Context ),并在该上下文中添加 2个 RTP资源,带上 Transcoding 标记(编解码算法转换标记), 指示媒体网关进入 Transcoding流程。 这里, 2个 RTP如可以分别为 Ra和 Rb , 其中, Ra可以代表主叫终结点 (即上述 第一终端终结点)对应的 RTP资源, Rb可以代表被叫终结点(即上述第二 终端终结点)对应的 RTP资源, 这里的 Ra和 Rb是为表示方便而被命名, 并不限定该主叫终结点的 RTP资源必须是 Ra, 也可以是 Rb, 同理, Rb也 不限定是该被叫终结点的 RTP资源, 被叫终结点对应的 RTP资源也可以是 Ra。
步骤 53: 媒体网关在收到主叫软交换的 Add命令后, 向主叫软交换回 复 Reply(C=Cl , A=Ra(SDP=Sa,), A=Rb(SDP=Sb,))消息, 该消息的作用是: 回复主叫终结点支持的编解码算法能力集和被叫终结点支持的编解码算法 能力集给主叫软交换。 这里, 主叫终结点和被叫终结点支持的编解码算法 能力集均是该媒体网关支持的编解码算法能力集, 其中, C1为该上下文的 编号, A = Ra(SDP=Sa,), 表示主叫终结点 Ra 支持的编解码算法能力集为 Sa,, 即上述实施例中的主叫终结点支持的第一编解码算法能力集; A = Rb(SDP=Sb,), 表示被叫终结点 Rb支持的编解码算法能力集为 Sb,, 即上 述实施例中的被叫终结点支持的第二编解码算法能力集, 其中该 Sa,和该 Sb,为相同的集合, 因为它们均是媒体网关支持的编解码算法能力集;
步骤 54: 主叫软交换发送 Invite消息给被叫软交换(即上述第二终端 软交换), 该 Invite消息的作用是: 向被叫软交换发起呼叫请求, 该 Invite 消息中的 SDP描述符为 Sb,, 即将被叫终结点支持的第二编解码算法能力 集 Sb,告诉被叫软交换; 该步骤中, 若上述被叫终结点支持的编解码算法能 力集为 Sa,表示, 那么该 Invite消息中的 SDP描述符也可以为 Sa,。
步骤 55: 被叫软交换将 Sb,和自身支持的编解码算法能力集进行匹配, 若有交集, 则被叫软交换在该交集中确定一个被叫 (即上述第二终端)使 用的编解码算法 S2; 若该交集用数组进行表示, 那么该被叫使用的编解法 算法通常就是该数组中的第一个编解码算法; 被叫软交换并向主叫软交换 回复响铃 ( 180Ring )或 PRACK或 200OK等响应消息, 其中 SDP描述符 为 S2,即将被叫使用的编解码算法回复给主叫软交换,若被叫软交换将 Sb, 和自身支持的编解码算法能力集进行匹配, 没有交集时, 就向主叫软交换 回复协商失败。
步骤 56: 主叫软交换发送第一修改(Modify ) 消息给媒体网关中的被 叫 终结 点 Rb , 第 一 Modify 消 息 用 命令: MF(C = C1 , MF=Rb(MO=SR,Remote=S2))表示, 该命令的作用是确定被叫终结点 Rb的 远端支持的编解码算法能力集为 S2。
步骤 57: 媒体网关中的被叫终结点 Rb向主叫软交换回复第一修改响应 ( Modify Reply ), 命令为 Reply(C=Cl,MF=Rb(SDP=S2)), 其中 SDP描述符 为 S2, 并将该 S2写入主叫终结点 Ra的数据区, 以便 Ra以后进行主、 被叫编 解码算法匹配。
步骤 58:主叫软交换发送第二 Modify消息给媒体网关中的主叫终结点 Ra, 第二 Modify 消息用命令: MF(C = C1 , MF=Ra(MO=SR,Remote=Sl)) 表示,该命令的作用是将主叫终结点 Ra的远端支持的编解码算法能力集发 送给主叫终结点 Ra, 其中该 Ra的远端支持的编解码算法能力集为: 该主 叫支持的编解码算法能力集 S1;
步骤 59: 媒体网关中的主叫终结点 Ra根据其数据区中的 S2和其远端支 持的编解码算法能力集 S1进行比较, 如果 S2在该 S1中, 则主、 被叫匹配成 功, 说明 Ra和 Rb不需要进行编解码算法转换, 不需要申请 VTC通道资源, 直接使用 NIPI通道对主、 被叫的业务进行透传即可; 如果 S2不在该 S1中, 则主、 被叫匹配不成功, 说明 Ra和 Rb需要进行编解码算法转换, 需要申请 VTC通道资源和 NIPI通道资源, 进行编解码算法转换, 该媒体网关中的 Ra 还将其自身支持的编解码算法能力集 Sa,与该 SI进行匹配, 若匹配成功, 即 Sa,与该 S1有交集, 则在该交集中确定一个编解码算法 Sa, 回复给主叫软交 换, 命令为 Reply(C=Cl,MF=Ra(SDP=Sa)); 若匹配不成功, 则向主叫软交换 回复失败。
步骤 510: 主叫软交换向主叫回复 Ring或 PRACK或 200OK等响应消 息,将 Sa回复给主叫,主叫根据该 Sa算法将其业务通过 VTC通道进行主、 被叫业务的编解码转换, 转换为一种通用的格式, 如 TDM (时分复用)格 式, 利用 NIPI通道对转换后的业务传输到被叫时, 再将该通用格式的业务 转换为被叫支持的格式; 从而使主、 被叫进入正常通话流程。 综上, 本发明的上述实施例通过在 H248协议的 SDP描述符中增加一 个 Transcoding标记, 指示媒体网关对主、 被叫的编解码算法进行匹配, 若 被叫使用的编解码算法与主叫支持的编解码算法能力集匹配成功, 则不申 请 VTC通道资源, 不进行主、 被叫业务的编解码转换, 这样就节省了宝贵 的 VTC通道资源, 在扩充 H248协议包的同时, 本发明方法使得主、 被叫 的通讯效率和接通率得到了提高, 而且降低了网络成本。
如图 6所示, 本发明的实施例还提供一种媒体网关 60 , 该媒体网关 60 应用在软交换架构下的主、 被叫的编解码转换控制方法中, 该媒体网关 60 具体包括:
第一获取模块 61 , 用于获取第一终端支持的编解码算法能力集; 第二获取模块 62, 用于获取第二终端使用的编解码算法;
编解码转换控制模块 63, 用于判断第二终端使用的编解码算法是否在 第一终端支持的编解码算法能力集中,若在,则不申请语音码型变换板 VTC 通道, 直接对该第一终端、第二终端的业务进行透传; 若不在,则申请 VTC 通道, 利用所述 VTC通道对该第一终端、 第二终端的业务进行编解码算法 转换, 并对转换后的业务进行传输。
该实施例中, 第一终端可以为主叫, 也可以为被叫; 该第二终端可以 为被叫, 也可以为主叫; 在本发明的媒体网关的以下实施例中, 以该第一 终端为主叫, 第二终端为被叫为例进行说明; 当然, 对于第一终端为被叫, 第二终端为主叫同样适用于以下所有的实施例, 其控制方法与第一终端为 主叫, 第二终端为被叫的控制方法相同, 下文中不再赘述, 但本发明的方 案应当包括第一终端为被叫, 第二终端为主叫的实施例;
如图 7所示, 图 6中第二获取模块 62可具体包括:
接收模块 621 , 用于接收第一终端软交换发送的上下文, 该上下文是第 一终端软交换根据第一终端的呼叫请求消息创建的, 该上下文中添加了携 带有编解码算法转换标记的第一终端终结点和第二终端终结点, 该第一终 端终结点对应一个实时传输协议 RTP资源, 第二终端终结点对应一个 RTP 资源;
发送模块 622, 用于根据接收到的编解码算法转换标记, 向第一终端软 交换回复第一终端终结点支持的第一编解码算法能力集和第二终端终结点 支持的第二编解码算法能力集;
获取子模块 623 ,用于根据该第一终端软交换和第二终端软交换协商的 协商结果, 从第一终端软交换获取第二终端使用的编解码算法。
具体来讲, 该第一终端软交换和第二终端软交换协商的过程可具体包 括如下:
首先, 第一终端软交换发送呼叫请求消息给第二终端软交换, 该呼叫 请求消息中携带有第二终端终结点支持的编解码算法能力集: 即第二编解 码算法能力集;
然后, 第二终端软交换将该第二编解码算法能力集与其自身支持的编 解码算法能力集进行匹配, 产生匹配结果, 即该匹配结果是该第二编解码 算法能力集与第二终端支持的编解码算法能力集的交集, 该交集可能是一 个编解码算法能力集的集合, 也可能是一个编解码算法, 但在该协商过程 中, 第二终端使用的编解码算法为该交集中的一个编解码算法, 因此, 第 二终端软交换还需要在该匹配结果中确定一个该第二终端使用的编解码算 法, 并将该第二终端使用的编解码算法回复给第一终端软交换。
如图 8所示, 图 7中的获取子模块 623可具体为第二终端终结点模块, 用于接收第一终端软交换发送的修改消息, 该修改消息中携带有第二终端 使用的编解码算法; 并确定该第二终端终结点的远端支持的编解码算法能 力集为: 第二终端使用的编解码算法, 并发送该第二终端终结点的远端支 持的编解码算法能力集给该第一终端软交换, 并将该第二终端终结点的远 端支持的编解码算法能力集写入第一终端终结点的数据区中。
如图 9所示, 图 7中的第一获取模块 61具体为第一终端终结点模块, 用于接收第一终端软交换发送修改消息, 该修改消息中携带有第一终端终 结点的远端支持的编解码算法能力集, 该第一终端终结点的远端支持的编 解码算法能力集为: 第一终端软交换从第一终端的呼叫请求消息中获取的 第一终端支持的编解码算法能力集。
如图 10所示, 上述图 6 -图 9所示的媒体网关 60中, 还包括: 切换模块 64, 用于在第一终端、 第二终端的业务进入透传后, 若该第 一终端终结点收到第一终端软交换的修改消息, 判断该第二终端使用的编 解码算法不在第一终端支持的编解码算法能力集中, 需要进行编解码算法 转换时, 则将第一终端终结点和第二终端终结点的业务从透传切换到编解 码算法转换;
切换过程具体包括:
首先, 第一终端终结点打开 VTC通道, 修改 NIPI通道, 通知第二终 端终结点进行编解码算法转换;
然后, 第二终端终结点打开 VTC通道和修改 NIPI通道成功后, 第一 终端终结点和第二终端终结点利用 VTC通道进行编解码算法转换, 通过 NIPI通道对转换后的业务进行传输。
本发明媒体网关的实施例中的编解码转换控制模块 63通过判断第二终 端 (即被叫)使用的编解码算法是否在第一终端 (即主叫) 支持的编解码 算法能力集中, 即将被叫使用的编解码算法与主叫支持的编解码算法能力 集进行匹配, 若在, 即匹配成功, 不需要申请 VTC通道资源, 这样主、 被 叫就直接进行业务的透传, 若不在, 即匹配不成功,再申请 VTC通道资源, 对主、 被叫的业务进行编解码算法转换, 对转换后的业务进行传输;
而现有技术中,无论主、被叫的编解码算法是否一致,都需要申请 VTC 资源, 进行主、 被叫的编解码算法转换; 由此可见, 本发明的上述实施例 相比于现有的方法, 节省了 VTC通道资源, 降低成本, 提高主、 被叫的通 讯效率和接通率。
如图 11所示, 本发明还提供一种软交换架构下的编解码转换控制系统 的实施例, 包括:
第一终端软交换, 用于获取与第一终端软交换对应的第一终端支持的 编解码算法能力集;
第二终端软交换, 用于获取与第二终端软交换对应的第二终端使用的 编解码算法;
媒体网关, 用于判断该第二终端使用的编解码算法是否在第一终端支 持的编解码算法能力集中, 若在, 则不申请语音码型变换板 VTC通道, 直 接对第一终端、 第二终端的业务进行透传; 若不在, 则申请 VTC通道, 利 用 VTC通道对第一终端、 第二终端的业务进行编解码算法转换, 并对转换 后的业务进行传输。
本发明的该系统实施例中, 上述软交换架构下的编解码控制方法中的 有关第一终端软交换(即主叫软交换)和第二终端软交换(即被叫软交换) 以及媒体网关之间的所有交互流程, 均适用于该系统实施例中, 在此不再 赘述。
本发明系统实施例中的媒体网关通过判断第二终端 (即被叫 )使用的 编解码算法是否在第一终端 (即主叫) 支持的编解码算法能力集中, 即将 被叫使用的编解码算法与主叫支持的编解码算法能力集进行匹配, 若在, 即匹配成功, 不需要申请 VTC通道资源, 这样主、 被叫就直接进行业务的 透传, 若不在, 即匹配不成功, 再申请 VTC通道资源, 对主、 被叫的业务 进行编解码算法转换, 对转换后的业务进行传输;
而现有技术中,无论主、被叫的编解码算法是否一致,都需要申请 VTC 资源, 进行主、 被叫的编解码算法转换; 由此可见, 本发明的上述实施例 相比于现有的方法, 节省了 VTC通道资源, 降低成本, 提高主、 被叫的通 讯效率和接通率。
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明所述原理的前提下, 还可以做出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。

Claims

权利要求书
1. 一种软交换架构下的编解码转换控制方法, 其特征在于, 包括: 媒体网关获取第一终端支持的编解码算法能力集;
媒体网关获取第二终端使用的编解码算法;
媒体网关判断获得的第二终端使用的编解码算法是否在第一终端支持 的编解码算法能力集中, 若是, 则不申请语音码型变换板 VTC通道, 直接 对第一终端、 第二终端的业务进行透传; 否则, 申请 VTC通道, 利用申请 到的 VTC通道对第一终端、 第二终端的业务进行编解码算法转换, 并对转 换后的业务进行传输。
2. 根据权利要求 1所述的编解码转换控制方法, 其特征在于, 所述媒 体网关获取第二终端使用的编解码算法包括:
所述媒体网关接收来自第一终端软交换的上下文; 所述上下文是所述 第一终端软交换根据第一终端的呼叫请求消息创建的, 所述上下文中添加 了携带有编解码算法转换标记的第一终端终结点和第二终端终结点, 其中, 第一终端终结点对应一个实时传输协议 RTP资源, 所述第二终端终结点对 应一个 RTP资源;
所述媒体网关根据所述编解码算法转换标记, 向所述第一终端软交换 回复第一终端终结点支持的第一编解码算法能力集和第二终端终结点支持 的第二编解码算法能力集;
所述媒体网关根据第一终端软交换和第二终端软交换协商的协商结 果, 从所述第一终端软交换获取所述第二终端使用的编解码算法。
3. 根据权利要求 2所述的编解码转换控制方法, 其特征在于, 所述第 一终端软交换和第二终端软交换协商的过程包括:
所述第一终端软交换发送呼叫请求消息给第二终端软交换, 在呼叫请 求消息中携带有所述第二编解码算法能力集; 所述第二终端软交换将第二编解码算法能力集与其自身支持的编解码 算法能力集进行匹配, 产生匹配结果, 并在产生的匹配结果中确定一个所 述第二终端使用的编解码算法, 并将所述第二终端使用的编解码算法回复 给所述第一终端软交换。
4. 根据权利要求 3所述的编解码转换控制方法, 其特征在于, 所述媒 体网关从第一终端软交换获取第二终端使用的编解码算法包括:
所述媒体网关中的第二终端终结点接收来自第一终端软交换的修改消 息, 在修改消息中携带有所述第二终端使用的编解码算法;
所述第二终端终结点确定第二终端终结点的远端支持的编解码算法能 力集为: 所述第二终端使用的编解码算法, 将所述第二终端终结点的远端 支持的编解码算法能力集发送给第一终端软交换, 并将所述第二终端终结 点的远端支持的编解码算法能力集写入第一终端终结点的数据区中。
5. 根据权利要求 4所述的编解码转换控制方法, 其特征在于, 所述媒 体网关获取第一终端支持的编解码算法能力集包括:
所述媒体网关中的第一终端终结点接收第一终端软交换发送修改消 息, 在修改消息中携带有所述第一终端终结点的远端支持的编解码算法能 力集, 所述第一终端终结点的远端支持的编解码算法能力集为: 所述第一 终端软交换从所述第一终端的呼叫请求消息中获取的所述第一终端支持的 编解码算法能力集。
6. 根据权利要求 2所述的编解码转换控制方法, 其特征在于, 所述直 接对所述第一终端、 所述第二终端的业务进行透传; 或者对转换后的业务 进行传输的具体为:
通过媒体 IP接口板 NIPI通道直接对所述第一终端、所述第二终端的业 务进行透传; 或者通过 NIPI通道对转换后的业务进行传输。
7. 根据权利要求 6所述的编解码转换控制方法, 其特征在于, 所述通 过媒体 IP接口板 NIPI通道直接对所述第一终端、所述第二终端的业务进行 透传之前, 还包括预先设定时器;
所述通过媒体 IP接口板 NIPI通道直接对所述第一终端、所述第二终端 的业务进行透传包括:
所述第一终端终结点打开 NIPI通道, 通知所述第二终端终结点进行所 述第一终端、 所述第二终端的业务的透传;
若所述第二终端终结点打开 NIPI通道成功, 则向所述第一终端终结点 回复成功, 打开 NIPI通道失败或者超时时, 给所述第一终端终结点回复失 败;
所述第一终端终结点收到所述第二终端终结点成功回复时, 向所述第 一终端软交换回复成功, 否则, 向所述第一终端软交换回复失败。
8. 根据权利要求 6所述的编解码转换控制方法, 其特征在于, 所述通 过 NIPI通道对转换后的业务进行传输之前, 还包括: 预先设定时器; 利用所述 VTC通道对所述第一终端、 所述第二终端的业务进行编解码 算法转换, 通过 NIPI通道对转换后的业务进行传输包括:
所述第一终端终结点打开 VTC通道和 NIPI通道, 通知所述第二终端 终结点进行编解码算法转换;
若所述第二终端终结点打开 VTC通道和 NIPI通道成功, 则向所述第 一终端终结点回复成功, 打开 VTC通道和 NIPI通道失败或者超时时, 给 所述第一终端终结点回复失败;
所述第一终端终结点收到所述第二终端终结点成功回复时, 向所述第 一终端软交换回复成功, 否则, 向所述第一终端软交换回复失败。
9. 根据权利要求 1 - 8任一项所述的编解码转换控制方法, 其特征在 于,
所述第一终端、 第二终端的业务进入透传后, 若所述第一终端终结点 收到所述第一终端软交换的修改消息, 判断所述第二终端使用的编解码算 法不在所述第一终端支持的编解码算法能力集中, 需要进行编解码算法转 换时, 则将所述第一终端终结点和所述第二终端终结点的业务从透传切换 到编解码算法转换。
10. 根据权利要求 9所述的编解码转换控制方法, 其特征在于, 所述 将第一终端终结点和第二终端终结点的业务从透传切换到编解码算法转换 包括:
所述第一终端终结点打开 VTC通道, 修改 NIPI通道, 通知所述第二 终端终结点进行编解码算法转换;
所述第二终端终结点打开 VTC通道和修改 NIPI通道成功后, 所述第 一终端终结点和所述第二终端终结点利用 VTC通道进行编解码算法转换, 通过所述 NIPI通道对转换后的业务进行传输。
11. 根据权利要求 10所述的编解码转换控制方法, 其特征在于, 所述 第一终端为主叫, 所述第二终端为被叫。
12. 一种媒体网关, 其特征在于, 包括:
第一获取模块, 用于获取第一终端支持的编解码算法能力集; 第二获取模块, 用于获取第二终端使用的编解码算法;
编解码转换控制模块, 用于判断所述第二终端使用的编解码算法是否 在所述第一终端支持的编解码算法能力集中, 若在, 则不申请语音码型变 换板 VTC通道, 直接对所述第一终端、 所述第二终端的业务进行透传; 若 不在, 则申请 VTC通道, 利用所述 VTC通道对所述第一终端、 所述第二 终端的业务进行编解码算法转换, 并对转换后的业务进行传输。
13. 根据权利要求 12所述的媒体网关, 其特征在于, 所述第二获取模 块包括:
接收模块, 用于接收第一终端软交换发送的上下文, 所述上下文是所 述第一终端软交换根据所述第一终端的呼叫请求消息创建的, 所述上下文 中添加了携带有编解码算法转换标记的第一终端终结点和第二终端终结 点, 所述第一终端终结点对应一个实时传输协议 RTP资源, 所述第二终端 终结点对应一个 RTP资源;
发送模块, 用于根据所述编解码算法转换标记, 向所述第一终端软交 换回复所述第一终端终结点支持的第一编解码算法能力集和所述第二终端 终结点支持的第二编解码算法能力集;
获取子模块, 用于根据所述第一终端软交换和所述第二终端软交换协 商的协商结果, 从所述第一终端软交换获取所述第二终端使用的编解码算 法。
14. 根据权利要求 13所述的媒体网关, 其特征在于, 所述获取子模块 具体为:
第二终端终结点模块, 用于接收所述第一终端软交换发送的修改消息, 所述修改消息中携带有所述第二终端使用的编解码算法; 并确定所述第二 终端终结点的远端支持的编解码算法能力集为: 所述第二终端使用的编解 码算法, 并发送所述第二终端终结点的远端支持的编解码算法能力集, 给 所述第一终端软交换, 并将所述第二终端终结点的远端支持的编解码算法 能力集写入所述第一终端终结点的数据区中。
15. 根据权利要求 12~14任一项所述的媒体网关, 其特征在于, 所述 第一获取模块具体为:
第一终端终结点模块, 用于接收所述第一终端软交换发送修改消息, 所述修改消息中携带有所述第一终端终结点的远端支持的编解码算法能力 集, 所述第一终端终结点的远端支持的编解码算法能力集为: 所述第一终 端软交换从所述第一终端的呼叫请求消息中获取的所述第一终端支持的编 解码算法能力集。
16. 根据权利要求 13 - 14任一项所述的媒体网关, 其特征在于, 还包 括:
切换模块, 用于在所述第一终端、 所述第二终端的业务进入透传后, 若所述第一终端终结点收到所述第一终端软交换的修改消息, 判断所述第 二终端使用的编解码算法不在所述第一终端支持的编解码算法能力集中, 需要进行编解码算法转换时, 则将所述第一终端终结点和所述第二终端终 结点的业务从透传切换到编解码算法转换。
17. 一种软交换架构下的编解码转换控制系统, 其特征在于, 包括: 第一终端软交换, 用于获取与所述第一终端软交换对应的第一终端支 持的编解码算法能力集;
第二终端软交换, 用于获取与所述第二终端软交换对应的第二终端使 用的编解码算法;
媒体网关, 用于判断所述第二终端使用的编解码算法是否在所述第一 终端支持的编解码算法能力集中, 若在, 则不申请语音码型变换板 VTC通 道, 直接对所述第一终端、 所述第二终端的业务进行透传; 若不在, 则申 请 VTC通道, 利用所述 VTC通道对所述第一终端、 所述第二终端的业务 进行编解码算法转换, 并对转换后的业务进行传输。
PCT/CN2010/072746 2009-05-19 2010-05-13 软交换架构下的编解码转换控制方法、媒体网关及系统 WO2010133148A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910084784.X 2009-05-19
CN 200910084784 CN101562667B (zh) 2009-05-19 2009-05-19 软交换架构下的编解码转换控制方法、媒体网关及系统

Publications (1)

Publication Number Publication Date
WO2010133148A1 true WO2010133148A1 (zh) 2010-11-25

Family

ID=41221273

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072746 WO2010133148A1 (zh) 2009-05-19 2010-05-13 软交换架构下的编解码转换控制方法、媒体网关及系统

Country Status (2)

Country Link
CN (1) CN101562667B (zh)
WO (1) WO2010133148A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135409A1 (zh) * 2014-03-14 2015-09-17 华为技术有限公司 一种会话建立方法、终端及系统
CN111565257A (zh) * 2020-04-14 2020-08-21 深圳震有科技股份有限公司 一种传真终端的转码方法、设备、系统和介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562667B (zh) * 2009-05-19 2012-09-05 中兴通讯股份有限公司 软交换架构下的编解码转换控制方法、媒体网关及系统
CN102215210A (zh) * 2010-04-02 2011-10-12 中兴通讯股份有限公司 在ip多媒体子系统中建立会话的方法和装置
CN103095653B (zh) * 2011-11-02 2016-08-10 中国移动通信集团公司 在多个通信端点之间切换媒体能力的方法与装置
CN103503410B (zh) * 2011-12-23 2016-10-12 华为技术有限公司 云计算系统中的媒体流数据的传输方法及物理服务器
CN103151045B (zh) * 2012-10-30 2015-05-06 贵阳朗玛信息技术股份有限公司 语音服务器及其语音处理方法
CN104618089B (zh) 2013-11-04 2019-05-10 华为技术有限公司 安全算法的协商处理方法、控制网元和系统
CN106790300A (zh) * 2017-03-21 2017-05-31 青岛海信宽带多媒体技术有限公司 一种进行通话的方法和装置
CN112860426B (zh) * 2019-11-28 2024-03-01 杭州海康消防科技有限公司 智能分析方法、装置、电子设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1650928A2 (en) * 1999-06-07 2006-04-26 Nortel Networks Limited Method for interworking between internet protocol (IP) telephony protocols
CN1870592A (zh) * 2006-03-30 2006-11-29 华为技术有限公司 一种优选编解码的解决方法
CN101160886A (zh) * 2005-09-30 2008-04-09 华为技术有限公司 下一代网络中的ip互通网关及其实现ip域互通的方法
CN101394445A (zh) * 2008-10-22 2009-03-25 中兴通讯股份有限公司 一种实现编解码转换功能的系统和方法
CN101562667A (zh) * 2009-05-19 2009-10-21 中兴通讯股份有限公司 软交换架构下的编解码转换控制方法、媒体网关及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100539723C (zh) * 2007-05-11 2009-09-09 华为技术有限公司 Ip多媒体子系统及其编解码转换控制方法
CN101141807B (zh) * 2007-08-25 2011-10-26 中兴通讯股份有限公司 一种编解码协商方法
CN101170792B (zh) * 2007-11-29 2011-12-07 中兴通讯股份有限公司 一种全球移动通信系统模拟大话务测试系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1650928A2 (en) * 1999-06-07 2006-04-26 Nortel Networks Limited Method for interworking between internet protocol (IP) telephony protocols
CN101160886A (zh) * 2005-09-30 2008-04-09 华为技术有限公司 下一代网络中的ip互通网关及其实现ip域互通的方法
CN1870592A (zh) * 2006-03-30 2006-11-29 华为技术有限公司 一种优选编解码的解决方法
CN101394445A (zh) * 2008-10-22 2009-03-25 中兴通讯股份有限公司 一种实现编解码转换功能的系统和方法
CN101562667A (zh) * 2009-05-19 2009-10-21 中兴通讯股份有限公司 软交换架构下的编解码转换控制方法、媒体网关及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135409A1 (zh) * 2014-03-14 2015-09-17 华为技术有限公司 一种会话建立方法、终端及系统
CN111565257A (zh) * 2020-04-14 2020-08-21 深圳震有科技股份有限公司 一种传真终端的转码方法、设备、系统和介质

Also Published As

Publication number Publication date
CN101562667A (zh) 2009-10-21
CN101562667B (zh) 2012-09-05

Similar Documents

Publication Publication Date Title
WO2010133148A1 (zh) 软交换架构下的编解码转换控制方法、媒体网关及系统
JP3633546B2 (ja) シグナリング中継システムおよびシグナリング中継方法
US7746845B2 (en) Support for fax and modem in SIP/SIP-T networks and the interworking of these networks with ISUP+/BICC
JP5238044B2 (ja) シグナリングデータをネットワーク移行ユニットおよび制御ユニット並びに所属のユニットに転送するための方法
CN103430524B (zh) 一种用于使得使用sip的企业网络能够存活的备用sip服务器
WO2009059559A1 (fr) Procédé de commande d'appel de session multimédia et serveur d'application
WO2004034637A1 (fr) Procede et systeme d'interconnexion de teleservices de reseaux heterogenes a large bande
WO2007022681A1 (fr) Procede pour la transmission de service base sur ip
WO2009012665A1 (fr) Procédé pour assurer une continuité d'appel multimédia, équipement et système associés
WO2011130987A1 (zh) 一种基于voip的传真方法及其系统
WO2007019777A1 (fr) Méthode d’établissement de session et nœud de contrôle de session
WO2008003233A1 (fr) Procédé et dispositif d'interconnexion d'appels multimedia entre le domaine cs et le domaine ims
CN101119292A (zh) 一种网关之间协商传送数据业务的方法
CN101668092B (zh) 一种网络多媒体终端实现补充业务拨号音的方法和装置
CN101415249B (zh) 会话初始化协议数据业务信令协商的方法、系统及装置
WO2009026757A1 (fr) Système de gestion d'appels, procédé appliqué à des terminaux ims et terminal ims
KR100418397B1 (ko) 이종 프로토콜간의 인터페이스를 수행하는 소프트 스위치
JP2008148019A (ja) Pbx装置およびその呼制御方法
WO2010012141A1 (zh) 一种媒体网关间的双音多频信号的参数协商方法及系统
WO2008049371A1 (fr) Procédé et système pour transférer un événement de service
WO2009079810A1 (fr) Procédé de négociation de transmission redondante
KR100666956B1 (ko) 네트워크에서의 미디어 전송 장치 및 방법
WO2011026339A1 (zh) 实现视频互通网关功能的视频媒体服务器及视频互通方法
WO2010031284A1 (zh) 用户终端、应用服务器以及呼叫建立方法
WO2007059650A1 (fr) Systeme de passerelle multimedia et procede permettant l'appel interne de la passerelle multimedia

Legal Events

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

Ref document number: 10777351

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 8916/DELNP/2011

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10777351

Country of ref document: EP

Kind code of ref document: A1