CN101394445B - System and method for implementing encoding and decoding conversion function - Google Patents

System and method for implementing encoding and decoding conversion function Download PDF

Info

Publication number
CN101394445B
CN101394445B CN2008102169413A CN200810216941A CN101394445B CN 101394445 B CN101394445 B CN 101394445B CN 2008102169413 A CN2008102169413 A CN 2008102169413A CN 200810216941 A CN200810216941 A CN 200810216941A CN 101394445 B CN101394445 B CN 101394445B
Authority
CN
China
Prior art keywords
encoding
called
calling
decoding conversion
soft switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008102169413A
Other languages
Chinese (zh)
Other versions
CN101394445A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008102169413A priority Critical patent/CN101394445B/en
Publication of CN101394445A publication Critical patent/CN101394445A/en
Application granted granted Critical
Publication of CN101394445B publication Critical patent/CN101394445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a system and a method for realizing the transformation of the NGN codec, the system comprises at least two soft switches belonging to different domains and a media network gateway MG serving the function of virtual network gateway; the method comprises the following steps: firstly dividing the MG into at least two virtual network gateways, and connected each virtual network gateway with the soft switches in the different domains respectively; when callings in the different domains are accessed, the MG distributes resources for the calling/ called party of the callings and determines whether the codec transformation is required between the temporary destination nodes of the calling/ called party, if the codec transformation is required, connecting the corresponding virtual network gateway of the domain, to which the calling/ called party belongs, and activating the DSP unit to carry out the codec transformation; and if the codec transformation is not required, directly establishing the connection for the calling. The invention solves the problems that the codec transformation control process of the soft switch is complicated and not easily realized, thereby improving the applicability of the MG.

Description

A kind of system and method for realizing encoding and decoding conversion function
Technical field
The present invention relates to NGN (Next Generation Network, next generation network) communication field, in particular, is the system and method that encoding and decoding transform among a kind of NGN of realization.
Background technology
Along with the continuous development of VOIP (Voice Over IP, the networking telephone), need the gateway device of tandem (critical point) office aspect to possess encoding and decoding conversion (Trans Coding) function, convert a kind of VOIP code/decode format to other a kind of code/decode format.Main application scenarios has: the encoding and decoding conversion between the different operators; For example between different carrier networks; Configuration encoding and decoding conversion gateway provides the G.711 encoding and decoding that generally are used in fixing soft exchanging network and generally is used in the conversion between the encoding and decoding of EVRC (encoding and decoding of enhancement mode variable Rate) of mobile soft exchanging network; Encoding and decoding conversion between the country is for example used the encoding and decoding conversion gateway at international gateway, changes for the different encoding and decoding of country variant use etc.
Among the NGN, the Call Control Functional Entity Media Gateway Controller is generally arranged, and (MediaGateway Controller MGC) is also referred to as soft switch; With WMG (the Media Gateway that receives soft switch control; MG) form, soft switch is a controlled entity, and MG is controlled entity; Mainly provide media channel, the foundation of accomplishing media channel be connected etc.Under the NGN network architecture; Different soft switch control territories separately is in the scene of cross-domain call, if two code/decode format differences that the territory is supported; Then need increase encoding and decoding conversion equipment; And the soft switch needs that encoding and decoding conversion equipment is subordinate to can be judged the encoding and decoding conversion condition, and initiate the control flow of encoding and decoding conversion, and control encoding and decoding conversion equipment is accomplished encoding and decoding conversion function.The shortcoming of said method is that out soft switch need judge whether the opposite end soft switch that is attached thereto supports the code/decode format in this territory, if do not support; Then need be connected the MG in this territory with encoding and decoding conversion equipment; Need control encoding and decoding conversion equipment simultaneously provides media channel to be used to connect two MG in the territory, promptly need need judge whether encoding and decoding conversion, if desired; Then start the control flow of encoding and decoding conversion; This makes that the control flow of soft switch is complicated, generally also need be specifically designed to the gateway device of encoding and decoding conversion in out side increase, has increased operation cost.
Summary of the invention
Technical problem to be solved by this invention is, a kind of system and method for realizing encoding and decoding conversion function is provided, and the present invention need not soft switch control, and the encoding and decoding conversion control flow that has solved soft switch is complicated, is difficult for the problem that realizes, improves the applicability of MG.
A kind of system that realizes encoding and decoding conversion function comprises soft switch and MG, and said MG comprises DSP (Digital Signal Processing, Digital Signal Processing) unit, and said soft switch is at least two, and belongs to not same area, is used for accomplishing calling out controlling; Said MG is used to provide at least two virtual gateways, and when the calling that is in same area inserts, judges whether said calling needs encoding and decoding conversion; Be said call distribution DSP resource when needing encoding and decoding conversion, accomplish the connection of the required media channel of conversation and activate DSP unit completion encoding and decoding conversion; When not needing encoding and decoding conversion, only accomplish the connection of the required media channel of conversation; Said DSP unit is used to provide the DSP resource and accomplishes encoding and decoding conversion.
A kind of method that realizes encoding and decoding conversion function, said method comprises the steps:
Step 1: MG is divided at least two virtual gateways, and each virtual gateway is connected with the soft switch of same area not respectively;
Step 2: be in when the calling of same area does not insert; MG is the calling and called Resources allocation of said calling, and judges between the temporary destination node of said calling and called whether need encoding and decoding conversion, if; Then connect territory, said calling and called place corresponding virtual gateway, activate the DSP unit and carry out encoding and decoding conversion; Otherwise, directly be that said call setup connects.
In the said step 2, MG is that the calling and called Resources allocation of said calling comprises:
The order that territory, caller place corresponding virtual gateway 1 among the MG sends according to the caller soft switch that receives is for said caller is selected the code/decode format of context, temporary destination node, IP address, port and temporary destination node support and reported said caller soft switch;
The order that territory, called place corresponding virtual gateway 2 among the MG sends according to the called soft switch that receives is for the code/decode format of said called selected context, temporary destination node, IP address, port and temporary destination node support and report said called soft switch.
In the said step 2; MG judges through following method whether said calling and called need encoding and decoding conversion: whether the code/decode format that territory, the called place corresponding virtual gateway 2 among the MG compares the support of calling and called temporary destination node is identical; If then do not need encoding and decoding conversion; Otherwise, need encoding and decoding conversion.
If calling and called need encoding and decoding conversion, then carry out following steps:
Step (1): two DSP passages that said virtual gateway 2 is reserved in the DSP unit, and set up called temporary destination node and being connected of a DSP passage wherein through the inner Ethernet of MG;
Step (2): said virtual gateway 1 with the IP address of callee side temporary destination node, port information as index; Find the DSP resource of reservation; And set up through the inner Ethernet of MG caller temporary destination node and reservation the DSP resource another passage be connected the encoding and decoding conversion function of activation DSP unit;
Step (3): the two passes of said DSP unit is accomplished encoding and decoding conversion.
Said caller soft switch sends to called soft switch with said information after receiving the information that said virtual gateway 1 reports; Said called soft switch sends to the caller soft switch with said information after receiving the information that said virtual gateway 2 reports.
Carry the code/decode format that caller is supported in the order that said called soft switch is sent.
The virtual gateway function that the present invention utilizes MG to provide; Use different virtual gateways to connect and be in the soft switch in the different territories; When cross-domain conversation needs encoding and decoding conversion; Directly judge and carry out encoding and decoding conversion, avoided in soft switch, realizing the cybernetics flow process of complicated encoding and decoding conversion, saved development cost by MG; The present invention simultaneously need not increase special encoding and decoding conversion equipment, and equipment investment cost is saved in common conversation and need the conversation of encoding and decoding conversion all in same gateway, to handle.
Description of drawings
Fig. 1 is that MG is connected sketch map with soft switch among the present invention;
Fig. 2 is interaction diagrams between MG and soft switch in the method for the invention;
Fig. 3 is that the inside connection layout when changing is adorned in MG realization encoding and decoding according to the invention.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment invention is explained further details.
As shown in Figure 1, be that MG is connected sketch map with soft switch among the present invention; System according to the invention comprises soft switch and MG, and said soft switch is at least two, and belongs to not same area, is used for accomplishing calling out controlling; Said MG comprises the DSP unit, is used to provide at least two virtual gateways, and when the calling that is in same area inserts, judges whether said calling needs encoding and decoding conversion; Be said call distribution SDP resource when needing encoding and decoding conversion, accomplish the connection of the required media channel of conversation and activate DSP unit completion encoding and decoding conversion; When not needing encoding and decoding conversion, only accomplish the connection of the required media channel of conversation; Said DSP unit is used to provide the DSP resource and accomplishes encoding and decoding conversion; In the present embodiment; Comprise that two belong to the not soft switch 1 and soft switch 2 of same area, their respectively corresponding virtual gateways 1 and virtual gateway 2, and the DSP unit is activated by the pairing virtual gateway of caller; Dotted line among the figure is represented to connect through control protocol, and solid line is represented to connect through medium.
The method of the invention comprises the steps:
Step (one): MG is divided at least two virtual gateways, and each virtual gateway is connected with the soft switch of same area not respectively;
With reference to figure 1; In the present embodiment, MG is divided into virtual gateway 1 and virtual gateway 2, said virtual gateway 1 is connected with soft switch 1; Said virtual gateway 2 is connected with soft switch 2; Soft switch 1 is in the different territories with soft switch 2, and with soft switch 1 side as Calling Side, with soft switch 2 sides as callee side.
Step (two): be in when the calling of same area does not insert; MG is the calling and called Resources allocation of said calling; And judge between the temporary destination node of said calling and called whether need encoding and decoding conversion; If, then connect territory, said calling and called place corresponding virtual gateway, activate the DSP unit and carry out encoding and decoding conversion; Otherwise, directly be that said call setup connects, the control flow and the common telephone call indifference of soft switch this moment.
As shown in Figure 2, be interaction diagrams between MG and soft switch in the method for the invention, wherein ignored and calling controlled step that encoding and decoding conversion is irrelevant, specific as follows:
Step 201: soft switch 1 is sent the ADD order to virtual gateway 1, requires virtual gateway 1 to select the context and the temporary destination node of caller;
Step 202: virtual gateway 1 is carried out said ADD order, reports soft switch 1 to the code/decode format information of selected context, temporary destination node, IP address, port and said temporary destination node support through response message;
Step 203: the relevant information of the caller that soft switch 1 reports virtual gateway 1 sends to the soft switch 2 in territory, called place;
Step 204: soft switch 2 is sent the ADD order to virtual gateway 2, and the code/decode format information band of supporting the IP address of caller, port, caller temporary destination node is simultaneously given virtual gateway 2, requires virtual gateway 2 to select called context and temporary destination node;
Step 205: virtual gateway 2 is carried out the ADD order that soft switch 2 issues, and reports soft switch 2 to the code/decode format information of selected called context, temporary destination node, IP address, port and said temporary destination node support through response message; And whether the code/decode format that compares the support of calling and called temporary destination node is identical, if, then do not need encoding and decoding conversion, only execution in step 206,207,208; Otherwise, need encoding and decoding conversion, two DSP passages that said virtual gateway 2 is reserved in the DSP unit; And set up called temporary destination node and being connected of a DSP passage wherein through the inner Ethernet of MG; As shown in Figure 3, among the figure, dotted line is represented the IP packet; Solid line is represented pcm stream, carries out next step;
Step 206: soft switch 2 sends to soft switch 1 to the called relevant information that virtual gateway 2 reports;
Step 207: soft switch 1 is sent the MODIFY order to virtual gateway 1, and the code/decode format information band of supporting called IP address, port, called temporary destination node is simultaneously given virtual gateway 1, requires said information notice Calling Side;
Step 208: virtual gateway 1 is carried out the MODIFY order that soft switch 1 issues; As index, find the DSP resource of reservation with the IP address of callee side temporary destination node, port information, and set up through the inner Ethernet of MG being connected of another passage of the DSP resource of caller temporary destination node and reservation;
Step 209: as shown in Figure 3, virtual gateway 1 activates the encoding and decoding conversion function of DSP unit;
Step 210: the two passes of said DSP unit is realized encoding and decoding conversion, calling and called normal talking.
As shown in Figure 3, whether in the said step 205, no matter calling out needs encoding and decoding conversion, and MG carries out following operation:
(1) connected mode with general is consistent, and the permanent destination node of caller is connected through time division switching network with the caller temporary destination node;
(2) connected mode with general is consistent, and called permanent destination node is connected through time division switching network with called temporary destination node.
The present invention has not only reduced hardware device, and does not need soft switch control to realize encoding and decoding conversion, has simplified the development cost of soft switch; The versatility of MG has also obtained enhancing.

Claims (6)

1. a system that realizes encoding and decoding conversion function comprises soft switch and WMG, and said WMG comprises Digital Signal Processing DSP unit, it is characterized in that, said soft switch is at least two, and belongs to not same area, is used for accomplishing calling out controlling; Said WMG is used to provide at least two virtual gateways, and when the calling that is in same area inserts, judges whether said calling needs encoding and decoding conversion; Be said call distribution DSP resource when needing encoding and decoding conversion, accomplish the connection of the required media channel of conversation and activate DSP unit completion encoding and decoding conversion; When not needing encoding and decoding conversion, only accomplish the connection of the required media channel of conversation; Said DSP unit is used to provide the DSP resource and accomplishes encoding and decoding conversion; Said WMG is that the calling and called Resources allocation of said calling comprises:
The order that territory, caller place corresponding virtual gateway 1 in the WMG sends according to the caller soft switch that receives is for said caller is selected the code/decode format of context, temporary destination node, IP address, port and temporary destination node support and reported said caller soft switch;
The order that territory, called place corresponding virtual gateway 2 in the WMG sends according to the called soft switch that receives is for the code/decode format of said called selected context, temporary destination node, IP address, port and temporary destination node support and report said called soft switch.
2. a method that realizes encoding and decoding conversion function is characterized in that, said method comprises the steps:
Step 1: WMG is divided at least two virtual gateways, and each virtual gateway is connected with the soft switch of same area not respectively;
Step 2: be in when the calling of same area does not insert; WMG is the calling and called Resources allocation of said calling; And judge between the temporary destination node of said calling and called whether need encoding and decoding conversion; If, then connect territory, said calling and called place corresponding virtual gateway, activate the DSP unit and carry out encoding and decoding conversion; Otherwise, directly be that said call setup connects; Said WMG is that the calling and called Resources allocation of said calling comprises:
The order that territory, caller place corresponding virtual gateway 1 in the WMG sends according to the caller soft switch that receives is for said caller is selected the code/decode format of context, temporary destination node, IP address, port and temporary destination node support and reported said caller soft switch;
The order that territory, called place corresponding virtual gateway 2 in the WMG sends according to the called soft switch that receives is for the code/decode format of said called selected context, temporary destination node, IP address, port and temporary destination node support and report said called soft switch.
3. the method for realization encoding and decoding conversion function as claimed in claim 2; It is characterized in that; In the said step 2; WMG judges through following method whether said calling and called need encoding and decoding conversion: whether the code/decode format that territory, the called place corresponding virtual gateway 2 in the WMG compares the support of calling and called temporary destination node is identical, if then do not need encoding and decoding conversion; Otherwise, need encoding and decoding conversion.
4. like the method for claim 2 or 3 described realization encoding and decoding conversion functions, it is characterized in that,, then carry out following steps if need encoding and decoding conversion between the temporary destination node of calling and called:
Step (1): two DSP passages that said virtual gateway 2 is reserved in the DSP unit, and set up called temporary destination node and being connected of a DSP passage wherein through the Ethernet of medium gateway internal;
Step (2): said virtual gateway 1 with the IP address of callee side temporary destination node, port information as index; Find the DSP resource of reservation; And being connected of another passage of setting up the DSP resource of caller temporary destination node and reservation through the Ethernet of medium gateway internal, activate the encoding and decoding conversion function of DSP unit;
Step (3): the two passes of said DSP unit is accomplished encoding and decoding conversion.
5. the method for realization encoding and decoding conversion function as claimed in claim 2 is characterized in that, said caller soft switch sends to called soft switch with said information after receiving the information that said virtual gateway 1 reports; Said called soft switch sends to the caller soft switch with said information after receiving the information that said virtual gateway 2 reports.
6. the method for realization encoding and decoding conversion function as claimed in claim 5 is characterized in that, carries the code/decode format that caller is supported in the order that said called soft switch is sent.
CN2008102169413A 2008-10-22 2008-10-22 System and method for implementing encoding and decoding conversion function Active CN101394445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102169413A CN101394445B (en) 2008-10-22 2008-10-22 System and method for implementing encoding and decoding conversion function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102169413A CN101394445B (en) 2008-10-22 2008-10-22 System and method for implementing encoding and decoding conversion function

Publications (2)

Publication Number Publication Date
CN101394445A CN101394445A (en) 2009-03-25
CN101394445B true CN101394445B (en) 2012-05-16

Family

ID=40494511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102169413A Active CN101394445B (en) 2008-10-22 2008-10-22 System and method for implementing encoding and decoding conversion function

Country Status (1)

Country Link
CN (1) CN101394445B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562667B (en) * 2009-05-19 2012-09-05 中兴通讯股份有限公司 Coding/decoding conversion control method, media gateway and system under soft switch architecture
CN113449205B (en) * 2021-08-30 2021-11-09 四川省人工智能研究院(宜宾) Recommendation method and system based on metadata enhancement

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553668A (en) * 2003-06-03 2004-12-08 华为技术有限公司 Method for inter-communication between virtual media gates
US20050085181A1 (en) * 2003-10-16 2005-04-21 Lucent Technologies Inc. Method and system for connecting calls through virtual media gateways
CN1859339A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Communication system and method for realizing IP cross-domain inter communication by edge media gateway
CN1996971A (en) * 2006-12-14 2007-07-11 华为技术有限公司 Method and system for the virtual media gateway to optimize the network connection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553668A (en) * 2003-06-03 2004-12-08 华为技术有限公司 Method for inter-communication between virtual media gates
US20050085181A1 (en) * 2003-10-16 2005-04-21 Lucent Technologies Inc. Method and system for connecting calls through virtual media gateways
CN1859339A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Communication system and method for realizing IP cross-domain inter communication by edge media gateway
CN1996971A (en) * 2006-12-14 2007-07-11 华为技术有限公司 Method and system for the virtual media gateway to optimize the network connection

Also Published As

Publication number Publication date
CN101394445A (en) 2009-03-25

Similar Documents

Publication Publication Date Title
CN1859496B (en) System and method for realizing multimedia color ring service
CN100579113C (en) Method for controlling soft exchange call, and soft exchange equipment
CN101288320B (en) Method and device for establishing and optimizing bearer path
CN101141807B (en) Coding/decoding negotiation method
CN102984404B (en) Voice communication scheduling command system
CN101764802B (en) Method, server and terminal equipment for playing multimedia tone during talking
CN1909577A (en) System and method for realizing fixed network one-code-through color ring service by using soft exchanging technology
CN102111414A (en) Method and system for realizing broadband playback in narrow band service
CN101394445B (en) System and method for implementing encoding and decoding conversion function
CN100463404C (en) Method for implementing telephone conference service by using media resource server
CN100471182C (en) Method and system of providing service of subsystem in IP multimedia for users in circuit switching domain
CN101094086A (en) Method and system for constructing call canter by next generation of network
CN102271137A (en) Media server
WO2005081772A2 (en) Method for efficient bearer traffic routing
CN101795330A (en) Method, server and terminal device for playing multimedia ringing tone during call
CN101350742B (en) Method and system for implementing voice listen of next generation network
CN101102613B (en) An implementation method for final call in IP multimedia subsystem centrally controlled service
CN101127740B (en) A method for supporting inter-office mixing connection
CN102404203B (en) Mobile dispatching switching system and method of carrying out dispatching conversation by adopting same
CN102572742B (en) Call processing method, system and intelligent network platform
CN100450210C (en) R4 network system and method for provoding medium resource
CN101170750B (en) A method for realizing private key call service and mobile switching center
CN101258717B (en) Medium gateway system and method for realizing medium gateway internal call
CN101931907A (en) Method and system for calling user of traditional circuit domain network through packet core network
CN101321316B (en) System and method for providing multimedia background music for both call sides

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