CN102726096A - Method and device for codec negotiation - Google Patents

Method and device for codec negotiation Download PDF

Info

Publication number
CN102726096A
CN102726096A CN2011800036667A CN201180003666A CN102726096A CN 102726096 A CN102726096 A CN 102726096A CN 2011800036667 A CN2011800036667 A CN 2011800036667A CN 201180003666 A CN201180003666 A CN 201180003666A CN 102726096 A CN102726096 A CN 102726096A
Authority
CN
China
Prior art keywords
decoding
encoding
calling
tabulation
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011800036667A
Other languages
Chinese (zh)
Other versions
CN102726096B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102726096A publication Critical patent/CN102726096A/en
Application granted granted Critical
Publication of CN102726096B publication Critical patent/CN102726096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate

Abstract

The invention provides a method and a device for codec negotiation. The method for codec negotiation comprises: receiving a first supported codec list, sending the first supported codec list from a call transit node to a call end node, the first supported codec list comprising codecs that are supported by a call initial node and the call transit node; comparing the first supported codec list with a second supported codec list to obtain a first codec and a second codec, wherein, the second supported codec list comprising codecs that are supported by the call end node, the first codec being located in the second supported codec list, the second codec being located in the first supported codec list, and the first codec and the second codec are compatible; setting the first codec as a codec loaded by the call end node of the call, and setting the second codec as a selected codec of the call; and sending the selected codec from the call transit node to the call initial node.

Description

Coding/decoding negotiation method and equipment
Technical field
The present invention relates to encoding and decoding technique, relate in particular to a kind of coding/decoding negotiation method and equipment, belong to communication technical field.
Background technology
Network interconnection fidonetFido (Internet Protocol, IP) changing is the direction that communication network is built evolution, the demand for development operator of the new business of carrying based on IP provides and is fit to IP operation carrying, high bandwidth, high efficiency, IP communication network cheaply.In the IP communication network, in order to save valuable wireless network and transmission network, Media Stream generally is to accomplish the transmission between end-to-end through specific coding and decoding technology.When carrying out media stream delivery based on the IP communication network; To in one is called out end to end, realize compatible encode/decode-free operation (Transcoder Free Operation; TrFO), must in the TrFO of call establishment negotiations process, define clear and definite principle.
Fig. 1 is that the TrFO of prior art consults schematic flow sheet.As shown in Figure 1, comprise following flow process: call out origination node (MSC-O) to call out intermediate node (MSC-I) send the address initial message that carries the encoding and decoding tabulations (Supported Codec List) that local exchange supports (Initial Address Message, IAM); MSC-I deletes self unsupported code/decode type from the encoding and decoding tabulation of supporting after receiving IAM message, and IAM forwards to the call ending node (MSC-T) after will deleting; MSC-T is the unsupported code/decode type of deletion self from the encoding and decoding tabulation of supporting; Confirm the first-selected encoding and decoding (Selected Codec) of calling according to called access side situation; And the available encoding and decoding tabulations (Available Codec list) of last negotiation; And with negotiation result to call originate to transmission so that MSC-I and MSC-O carry out record to the first-selected encoding and decoding of negotiation result and available encoding and decoding tabulation, the carrying that is used for this calling is set up.
When carrying out coding/decoding negotiation, do not take the compatibility relation between the different encoding and decoding into consideration, thereby can't utilize compatible encoding and decoding to realize more excellent coding/decoding negotiation based on above-mentioned flow process.
Summary of the invention
To the defective that exists in the prior art, the embodiment of the invention provides coding/decoding negotiation method and equipment, realizes the coding/decoding negotiation of optimizing in order to utilize compatible encoding and decoding.
According to the one side of the embodiment of the invention, a kind of coding/decoding negotiation method is provided, comprising:
Receive first and support the encoding and decoding tabulation, said first supports the encoding and decoding tabulation to be sent to the call ending node by calling out transit node, and said first supports the encoding and decoding tabulation to comprise calls out start node and call out the encoding and decoding that transit node is all supported;
Support encoding and decoding tabulation and second to support the encoding and decoding tabulation to compare with said first; Obtain first encoding and decoding and second encoding and decoding; Wherein said second supports the encoding and decoding tabulation to comprise the encoding and decoding that the call ending node is supported; Said first encoding and decoding are arranged in said second and support the encoding and decoding tabulation, and said second encoding and decoding are positioned at said first and support the encoding and decoding tabulation, and said first encoding and decoding and said second encoding and decoding compatibility;
The call ending node that said first encoding and decoding are set to this calling carries encoding and decoding, and said second encoding and decoding are set to the first-selected encoding and decoding of this calling;
Said first-selected encoding and decoding are sent to the calling origination node via said calling transfer node.
According to the embodiment of the invention on the other hand, a kind of coding/decoding negotiation equipment is provided, comprises:
First receiver module; Be used to receive first and support the encoding and decoding tabulation; Said first supports the encoding and decoding tabulation to be sent to the call ending node by calling out transit node, and said first supports the encoding and decoding tabulation to comprise calls out start node and call out the encoding and decoding that transit node is all supported;
First acquisition module; Be used for supporting encoding and decoding tabulation and second to support the encoding and decoding tabulation to compare with said first; Obtain first encoding and decoding and second encoding and decoding, wherein said second supports the encoding and decoding tabulation to comprise the encoding and decoding that the call ending node is supported, said first encoding and decoding are arranged in said second and support the encoding and decoding tabulation; Said second encoding and decoding are positioned at said first and support the encoding and decoding tabulation, and said first encoding and decoding and said second encoding and decoding compatibility;
First negotiation module be used for the call ending node carrying encoding and decoding that said first encoding and decoding are set to this calling, and said second encoding and decoding is set to the first-selected encoding and decoding of this calling;
Sending module is used for said first-selected encoding and decoding are sent to the calling origination node via said calling transfer node.
Coding/decoding negotiation method and equipment according to the above-mentioned aspect of the embodiment of the invention; Because MSC-T is when selecting first-selected encoding and decoding according to MSC-I, MSC-O and the encoding and decoding self supported; It is taken first into consideration and supports encoding and decoding tabulation and second to support to comprise in the encoding and decoding tabulation compatibility relation of encoding and decoding; And compatible encoding and decoding are set to the first-selected encoding and decoding that the call ending node carries encoding and decoding and this calling respectively; Make to exist under the scene of compatible encoding and decoding, can realize optimization coding/decoding negotiation based on compatible encoding and decoding.
Another aspect according to the embodiment of the invention provides another kind of coding/decoding negotiation method, comprising:
Receive this call preference encoding and decoding; Wherein said these call preference encoding and decoding are consulted to be provided with through calling out start node, calling transfer node and call ending node, and said these call preference encoding and decoding are sent to said calling start node by said calling transit node;
Support the encoding and decoding tabulation to compare said first-selected encoding and decoding and the 3rd, the wherein said the 3rd supports the encoding and decoding tabulation to comprise the encoding and decoding that said calling start node is supported, obtains and the 3rd compatible encoding and decoding of said first-selected encoding and decoding;
Obtain the priority of said first-selected encoding and decoding and said the 3rd encoding and decoding according to preset priority list; If the priority of said the 3rd encoding and decoding is higher than the priority of said first-selected encoding and decoding, the calling start node that then said the 3rd encoding and decoding are set to this calling carries encoding and decoding.
One side again according to the embodiment of the invention provides another kind of coding/decoding negotiation equipment, comprising:
Second receiver module; Be used to receive this call preference encoding and decoding; Wherein said these call preference encoding and decoding are consulted to be provided with through calling out start node, calling transfer node and call ending node, and said these call preference encoding and decoding are sent to said calling start node by said calling transit node;
Second acquisition module is used for supporting the encoding and decoding tabulation to compare said first-selected encoding and decoding and the 3rd that the wherein said the 3rd supports the encoding and decoding tabulation to comprise the encoding and decoding that said calling start node is supported, obtains and the 3rd compatible encoding and decoding of said first-selected encoding and decoding;
Second negotiation module is used for obtaining the priority of said first-selected encoding and decoding and said the 3rd encoding and decoding according to preset priority list; If the priority of said the 3rd encoding and decoding is higher than the priority of said first-selected encoding and decoding, the calling start node that then said the 3rd encoding and decoding are set to this calling carries encoding and decoding.
Coding/decoding negotiation method and equipment according to the above-mentioned aspect of the embodiment of the invention; The call ending node with call out intermediate node and do not carry out compatible TrFO when handling; Realize the processing of compatible TrFO calling out origination node, take the compatibility relation between the first-selected encoding and decoding of the local encoding and decoding of supporting and this calling into consideration, thereby exist under the scene of compatible encoding and decoding; Select the higher encoding and decoding of priority to insert the encoding and decoding of the carrying foundation of side, thereby improve voice quality as this node.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is that the TrFO of prior art consults schematic flow sheet;
Fig. 2 is the schematic flow sheet of the coding/decoding negotiation method of the embodiment of the invention one;
Fig. 3 is the signaling diagram of applying examples one of the coding/decoding negotiation method of the embodiment of the invention one;
Fig. 4 is the signaling diagram of applying examples two of the coding/decoding negotiation method of the embodiment of the invention one;
Fig. 5 is the signaling diagram of applying examples three of the coding/decoding negotiation method of the embodiment of the invention one;
Fig. 6 is the structural representation of the coding/decoding negotiation equipment of the embodiment of the invention two;
Fig. 7 is the schematic flow sheet of the coding/decoding negotiation method of the embodiment of the invention three;
Fig. 8 is the signaling diagram of applying examples of the coding/decoding negotiation method of the embodiment of the invention three;
Fig. 9 is the structural representation of the coding/decoding negotiation equipment of the embodiment of the invention four.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The coding/decoding negotiation method of the embodiment of the invention is used to realize calling out start node, call out the coding/decoding negotiation between transit node and the call ending node three; Wherein the call ending node for example is equipment such as mobile switching centre (MSC) or gateway, is not limited to terminal called.With a typical station to station call is example; The calling start node be office of mobile switching centre-initial (MSC-Original, MSC-O), calling out transit node is mobile switching centre-intermediate office (MSC-Intermediate; MSC-I); The calling transit node is that (MSC-Terminate MSC-T), describes as example mobile switching centre-landing office below.
Embodiment one
The coding/decoding negotiation method of the embodiment of the invention one is carried out by MSC-T.
Fig. 2 is the schematic flow sheet of the coding/decoding negotiation method of the embodiment of the invention one.As shown in Figure 2, this method comprises:
Step S201 receives first and supports the encoding and decoding tabulation, and said first supports the encoding and decoding tabulation to be sent to MSC-T by MSC-I, and said first supports the encoding and decoding tabulation to comprise the encoding and decoding that MSC-O and MSC-I all support;
Particularly, MSC-O sends IAM message to MSC-I, and this IAM message carries the start node of the whole encoding and decoding that comprise that the calling start node is supported and supports the encoding and decoding tabulation; After MSC-I receives IAM message from MSC-O; Support encoding and decoding tabulation and the support encoding and decoding tabulation of self to compare start node entrained in the IAM message; Support the encoding and decoding that exist MSC-I not support in the encoding and decoding tabulation if know start node; Then corresponding encoding and decoding are supported deletion the encoding and decoding tabulation from start node, form first and support the encoding and decoding tabulation, and this first is supported encoding and decoding tabulation to be carried in the IAM message to be forwarded to MSC-T.
Step S202; Support encoding and decoding tabulation and second to support the encoding and decoding tabulation to compare with said first; Obtain first encoding and decoding and second encoding and decoding, wherein said second supports the encoding and decoding tabulation to comprise the encoding and decoding that MSC-T supports, said first encoding and decoding are arranged in said second and support the encoding and decoding tabulation; Said second encoding and decoding are positioned at said first and support the encoding and decoding tabulation, and said first encoding and decoding and said second encoding and decoding compatibility;
Particularly; MSC-T is after the support encoding and decoding tabulation that receives the MSC-O transmission; Support encoding and decoding tabulation and the support encoding and decoding of self to tabulate with first; Promptly second support the encoding and decoding tabulation to compare, obtain first and support encoding and decoding tabulation and second to support at least one pair of encoding and decoding that has compatibility relation in the encoding and decoding tabulation, i.e. first encoding and decoding and second encoding and decoding.First encoding and decoding are the encoding and decoding that MSC-T supported, second encoding and decoding are the encoding and decoding that MSC-O and MSC-I supported, the wherein encoding and decoding that also can all support for MSC-O, MSC-I and MSC-T three of first encoding and decoding.
Step S203, the call ending node that said first encoding and decoding are set to this calling carries encoding and decoding, and said second encoding and decoding are set to the first-selected encoding and decoding of this calling;
Step S204 is sent to MSC-O with first-selected encoding and decoding via MSC-I.
Particularly; MSC-T to call initiator to returning APM message; Carry the selected first-selected encoding and decoding of MSC-T in this APM message; Also portability can be tabulated with encoding and decoding, and this available encoding and decoding tabulation for example comprises first encoding and decoding, second encoding and decoding and is included in first simultaneously supports encoding and decoding tabulation and second to support other encoding and decoding in the encoding and decoding tabulation.
Coding/decoding negotiation method according to the foregoing description; Because MSC-T is when selecting first-selected encoding and decoding according to MSC-I, MSC-O and the encoding and decoding self supported; It is taken first into consideration and supports encoding and decoding tabulation and second to support to comprise in the encoding and decoding tabulation compatibility relation of encoding and decoding; And compatible encoding and decoding are set to the first-selected encoding and decoding that the call ending node carries encoding and decoding and this calling respectively; Make to exist under the scene of compatible encoding and decoding, can realize optimization coding/decoding negotiation based on compatible encoding and decoding.
Further, in the coding/decoding negotiation method of the foregoing description, the call ending node that said first encoding and decoding are set to this calling carries encoding and decoding, and the first-selected encoding and decoding that said second encoding and decoding are set to this calling specifically comprise:
Obtain the priority of said first encoding and decoding and said second encoding and decoding according to preset priority list; The priority of said second encoding and decoding is higher than the priority of said first encoding and decoding, and the call ending node that then said first encoding and decoding are set to this calling carries encoding and decoding, and said second encoding and decoding are set to the first-selected encoding and decoding of this calling;
Particularly, be preset with priority list among the MSC-T, the priority of each encoding and decoding that this priority list comprises MSC-T at least to be supported, and the encoding and decoding of being supported with the MSC-T priority of compatible encoding and decoding mutually.Wherein, the priority of encoding and decoding can be set according to preset rules as required, is that encoding and decoding distribute priority according to encoding and decoding voice quality effect for example.In addition, this priority list can directly be provided with in MSC-T, but also MSC-O, MSC-I or arbitrarily other network equipments be sent to MSC-T, said encoding and decoding priority can be that encoding and decoding distribute priority according to encoding and decoding voice quality effect.
MSC-T can be known first encoding and decoding and the second encoding and decoding corresponding priorities through with first encoding and decoding and second encoding and decoding and priority list comparison.Relatively the priority of first encoding and decoding and second encoding and decoding if the priority of second encoding and decoding is higher than the priority of first encoding and decoding, then is the first-selected encoding and decoding of this calling with second coding/decoding apparatus.
In addition; If exist many to the first compatible encoding and decoding and second encoding and decoding; Or existence and compatible a plurality of first encoding and decoding or existence and compatible a plurality of second encoding and decoding of same first encoding and decoding of same second encoding and decoding; Then can search the priority of each first encoding and decoding and second encoding and decoding respectively; And select the second the highest encoding and decoding of priority, and select and the call ending node carrying encoding and decoding of higher relatively first encoding and decoding of the compatible a plurality of first encoding and decoding medium priorities of the highest second encoding and decoding of this priority as this calling as first-selected encoding and decoding.
Coding/decoding negotiation method according to the foregoing description; Because MSC-T is when selecting first-selected encoding and decoding according to MSC-I, MSC-O and the encoding and decoding self supported; It is taken first into consideration and supports encoding and decoding tabulation and second to support to comprise in the encoding and decoding tabulation compatibility relation of encoding and decoding; And according to the priority that the priority list that is provided with is in advance inquired about a pair of encoding and decoding that have compatibility relation, select the higher encoding and decoding of priority, make to exist under the scene of compatible encoding and decoding as first-selected encoding and decoding; The negotiable encoding and decoding of selecting optimum are as first-selected encoding and decoding, thus the voice quality in the lifting audio call process.
Fig. 3 is the signaling diagram of applying examples one of the coding/decoding negotiation method of the embodiment of the invention one.As shown in Figure 3, the encoding and decoding that MSC-O supported comprise encoding and decoding a, b, c and d, and MSC-I does not support encoding and decoding d; MSC-T only supports encoding and decoding b and c; Wherein, encoding and decoding a and b are compatible, and the voice quality priority of encoding and decoding a, b, c, d is a>b>c>d.Particularly, may further comprise the steps:
Step S301, the MSC-O coding/decoding negotiation that makes a call carries the encoding and decoding tabulations of self supporting (supported Codeclist) in the IAM message, comprise encoding and decoding a, b, c and d;
Step S302, the unsupported encoding and decoding d of MSC-I deletion self to the MSC-T coding/decoding negotiation that makes a call, carries the encoding and decoding tabulation of self supporting in the IAM message, comprise encoding and decoding a, b and c;
Step S303, MSC-T does the a-b compatible processing at this node;
Particularly; Encoding and decoding tabulations of relatively self supporting (comprising encoding and decoding b and c) and the encoding and decoding tabulations (comprising encoding and decoding a, b and c) in the IAM incoming message; Identification exists encoding and decoding a and b compatibility, and the priority of checking encoding and decoding a and encoding and decoding b, knows that the voice quality priority of encoding and decoding a is higher than encoding and decoding b; Then encoding and decoding b is carried the encoding and decoding of setting up as called access side, and first-selected encoding and decoding are set to encoding and decoding a;
Step S304, with first-selected encoding and decoding return to call originate to.And, also tabulate to returning available encoding and decoding to call originate, comprise encoding and decoding a, b and c; MSC-I and MSC-O do not revise first-selected encoding and decoding;
Step S305 sets up carrying according to first-selected encoding and decoding, realizes that the compatible TrFO of encoding and decoding a-b calls out.
Coding/decoding negotiation method according to the foregoing description; Because in MSC-I and MSC-O; Encoding and decoding a is the highest encoding and decoding of priority; Give tacit consent to a collection of selected materials decoding headed by it, so, reduced the flow process of the first-selected encoding and decoding of reverse modification of origination node and intermediate node in the coding/decoding negotiation flow process through in above-mentioned application scenarios, carrying out compatible processing by MSC-T.
Fig. 4 is the signaling diagram of applying examples two of the coding/decoding negotiation method of the embodiment of the invention one.As shown in Figure 4, the encoding and decoding that MSC-O supported comprise encoding and decoding a, c and d, and MSC-I does not support encoding and decoding d, and MSC-T only supports encoding and decoding b and c, and wherein, encoding and decoding a and b are compatible, and the voice quality priority of encoding and decoding a, b, c, d is a>b>c>d.Particularly, comprise following flow process:
Step S401, the MSC-O coding/decoding negotiation that makes a call carries the encoding and decoding tabulation of self supporting in the IAM message, comprise encoding and decoding a, c and d;
Step S402, the unsupported encoding and decoding d of MSC-I deletion self to the MSC-T coding/decoding negotiation that makes a call, carries the encoding and decoding tabulation of self supporting in the IAM message, comprise encoding and decoding a and c;
Step S403; Encoding and decoding tabulations (comprising encoding and decoding b and c) that MSC-T relatively self supports and the encoding and decoding tabulations (comprising encoding and decoding a and c) in the IAM incoming message; Identification exists encoding and decoding a and b compatibility, and the priority of checking encoding and decoding a and encoding and decoding b, knows that the voice quality priority of encoding and decoding a is higher than encoding and decoding b; Then encoding and decoding b is carried the encoding and decoding of setting up as called access side, and first-selected encoding and decoding are set to encoding and decoding a;
Step S404, with first-selected encoding and decoding return to call originate to.And, also tabulate to returning available encoding and decoding to call originate, comprise encoding and decoding a and c;
Step S405 sets up according to first-selected encoding and decoding and to carry, and realizes that the compatible TrFO of encoding and decoding a-b calls out, and voice quality is superior to adopting the voice quality of the TrFO that encoding and decoding c reaches.
Coding/decoding negotiation method according to the foregoing description; Because the voice quality priority of encoding and decoding a is higher than the voice quality priority of encoding and decoding c; So through in above-mentioned application scenarios, carrying out compatible processing by MSC-T; Avoid the encoding and decoding of selection suboptimum to set up and called out, thereby improved the voice quality in the calling procedure.
Fig. 5 is the signaling diagram of applying examples three of the coding/decoding negotiation method of the embodiment of the invention one.As shown in Figure 5, the encoding and decoding that MSC-O supported comprise encoding and decoding a, and MSC-I also supports encoding and decoding a, and MSC-T only supports encoding and decoding b and c, and wherein, encoding and decoding a and b are compatible, and the voice quality priority of encoding and decoding a, b, c is a>b>c.Particularly, comprise following flow process:
Step S501, the MSC-O coding/decoding negotiation that makes a call carries the encoding and decoding tabulation of self supporting in the IAM message, comprise encoding and decoding a;
Step S502, MSC-I also support encoding and decoding a, to the MSC-T coding/decoding negotiation that makes a call, carry the encoding and decoding tabulation of self supporting in the IAM message, comprise encoding and decoding a;
Step S503; Encoding and decoding tabulations (comprising encoding and decoding b and c) that MSC-T relatively self supports and the encoding and decoding tabulation in the IAM incoming message (comprise encoding and decoding a); Identification exists encoding and decoding a and b compatibility; Then encoding and decoding b is carried the encoding and decoding of setting up as called access side, and first-selected encoding and decoding are set to encoding and decoding a;
Step S504, with first-selected encoding and decoding a return to call originate to.And, also tabulate to returning available encoding and decoding to call originate, comprise encoding and decoding a;
Step S505 sets up carrying according to first-selected encoding and decoding, realizes that the compatible TrFO of encoding and decoding a-b calls out, and need not to insert codec (TC) in the calling.
According to the coding/decoding negotiation method of the foregoing description, exist under the scene of compatible encoding and decoding, can avoid causing the voice quality of calling procedure lower, and need extra insertion codec and the defective that expends the encoding and decoding resource that causes because of consulting failure.
Embodiment two
Fig. 6 is the structural representation of the coding/decoding negotiation equipment of the embodiment of the invention two.As shown in Figure 6, this coding/decoding negotiation equipment comprises:
First receiver module 61; Be used to receive first and support the encoding and decoding tabulation; Said first supports the encoding and decoding tabulation to be sent to the call ending node by calling out transit node, and said first supports the encoding and decoding tabulation to comprise calls out start node and call out the encoding and decoding that transit node is all supported;
First acquisition module 62; Be used for supporting encoding and decoding tabulation and second to support the encoding and decoding tabulation to compare with said first; Obtain first encoding and decoding and second encoding and decoding, wherein said second supports the encoding and decoding tabulation to comprise the encoding and decoding that the call ending node is supported, said first encoding and decoding are arranged in said second and support the encoding and decoding tabulation; Said second encoding and decoding are positioned at said first and support the encoding and decoding tabulation, and said first encoding and decoding and said second encoding and decoding compatibility;
First negotiation module 63 be used for the call ending node carrying encoding and decoding that said first encoding and decoding are set to this calling, and said second encoding and decoding is set to the first-selected encoding and decoding of this calling;
Sending module 64 is used for said first-selected encoding and decoding are sent to the calling origination node via said calling transfer node.
The coding/decoding negotiation equipment of the embodiment of the invention two is for example integrated to be arranged on the call ending node.
The idiographic flow that the coding/decoding negotiation equipment of the foregoing description is carried out coding/decoding negotiation is identical with the coding/decoding negotiation method of the embodiment of the invention one, so locate to repeat no more.
Coding/decoding negotiation equipment according to the foregoing description; Because when selecting first-selected encoding and decoding according to MSC-I, MSC-O and the encoding and decoding self supported; It is taken first into consideration and supports encoding and decoding tabulation and second to support to comprise in the encoding and decoding tabulation compatibility relation of encoding and decoding; And compatible encoding and decoding are set to the first-selected encoding and decoding that the call ending node carries encoding and decoding and this calling respectively; Make to exist under the scene of compatible encoding and decoding, can realize optimization coding/decoding negotiation based on compatible encoding and decoding.
Further, in the coding/decoding negotiation equipment of the foregoing description, first negotiation module also is used for: obtain the priority of said first encoding and decoding and said second encoding and decoding according to preset priority list; If the priority of said second encoding and decoding is higher than the priority of said first encoding and decoding, the call ending node that then said first encoding and decoding are set to this calling carries encoding and decoding, and said second encoding and decoding are set to the first-selected encoding and decoding of this calling.
Coding/decoding negotiation equipment according to the foregoing description; Because when selecting first-selected encoding and decoding according to MSC-I, MSC-O and the encoding and decoding self supported; It is taken first into consideration and supports encoding and decoding tabulation and second to support to comprise in the encoding and decoding tabulation compatibility relation of encoding and decoding; And according to the priority that the priority list that is provided with is in advance inquired about a pair of encoding and decoding that have compatibility relation, select the higher encoding and decoding of priority, make to exist under the scene of compatible encoding and decoding as first-selected encoding and decoding; The negotiable encoding and decoding of selecting optimum are as first-selected encoding and decoding, thus the voice quality in the lifting audio call process.
Further, in the coding/decoding negotiation equipment of the foregoing description, said first encoding and decoding are arranged in said second and support encoding and decoding tabulation and said first to support the encoding and decoding tabulation, or only are arranged in the said second support encoding and decoding tabulation.
Further; In the coding/decoding negotiation equipment of the foregoing description; Said first negotiation module also is used for if there are two said first encoding and decoding compatible with said second encoding and decoding at least; Then obtain the priority of said at least two first encoding and decoding tabulations, and the first the highest encoding and decoding of priority are set to the call ending node carrying encoding and decoding of this calling according to said preset priority list.
Embodiment three
The coding/decoding negotiation method of the embodiment of the invention three is carried out by MSC-O.
Fig. 7 is the schematic flow sheet of the coding/decoding negotiation method of the embodiment of the invention three.As shown in Figure 7, this method comprises:
Step S701; Receive this call preference encoding and decoding; Wherein said these call preference encoding and decoding are consulted to be provided with through calling out start node, calling transfer node and call ending node, and said these call preference encoding and decoding are sent to said calling start node by said calling transit node;
Particularly, MSC-O receives the APM message of being returned by MSC-T via MSC-I, carries the first-selected encoding and decoding of this calling of MSC-T selection in this APM message, also can comprise the available encoding and decoding tabulation that MSC-O, MSC-I and MSC-T all support.
Step S702 supports the encoding and decoding tabulation to compare said first-selected encoding and decoding and the 3rd, and the wherein said the 3rd supports the encoding and decoding tabulation to comprise the encoding and decoding that said calling start node is supported, obtains and the 3rd compatible encoding and decoding of said first-selected encoding and decoding;
Step S703 obtains the priority of said first-selected encoding and decoding and said the 3rd encoding and decoding according to preset priority list; If the priority of said the 3rd encoding and decoding is higher than the priority of said first-selected encoding and decoding, the calling start node that then said the 3rd encoding and decoding are set to this calling carries encoding and decoding.
Particularly, be preset with priority list among the MSC-O, the priority of each encoding and decoding that this priority list comprises MSC-O at least to be supported, and the encoding and decoding of being supported with the MSC-O priority of compatible encoding and decoding mutually.Wherein, the priority of encoding and decoding can be set according to preset rules as required, is that encoding and decoding distribute priority according to encoding and decoding voice quality effect for example.
Coding/decoding negotiation method according to the foregoing description; The call ending node with call out intermediate node and do not carry out compatible TrFO when handling; Realize the processing of compatible TrFO calling out origination node, take the compatibility relation between the first-selected encoding and decoding of the local encoding and decoding of supporting and this calling into consideration, thereby exist under the scene of compatible encoding and decoding; Select the higher encoding and decoding of priority to insert the encoding and decoding of the carrying foundation of side, thereby improve voice quality as this node.
Fig. 8 is the signaling diagram of applying examples of the coding/decoding negotiation method of the embodiment of the invention three.As shown in Figure 8, the encoding and decoding that MSC-O supported comprise encoding and decoding a, b, c and d, and MSC-I does not support encoding and decoding d; MSC-T only supports encoding and decoding b and c; Wherein, encoding and decoding a and b are compatible, and the voice quality priority of encoding and decoding a, b, c, d is a>b>c>d.Particularly, comprise following flow process:
Step S801, the MSC-O coding/decoding negotiation that makes a call carries the encoding and decoding tabulations of self supporting (supported Codeclist) in the IAM message, comprise encoding and decoding a, b, c and d;
Step S802, the unsupported encoding and decoding d of MSC-I deletion self to the MSC-T coding/decoding negotiation that makes a call, carries the encoding and decoding tabulation of self supporting in the IAM message, comprise encoding and decoding a, b and c;
Step S803, encoding and decoding tabulations (comprising encoding and decoding b and c) that MSC-T relatively self supports and the encoding and decoding tabulations (comprising encoding and decoding a, b and c) in the IAM incoming message adopt encoding and decoding b to carry the encoding and decoding and the first-selected encoding and decoding of setting up as called access side;
Step S804, with first-selected encoding and decoding be carried at return in the negotiate response message (APM) call originate to.And, also tabulate to returning available encoding and decoding to call originate, comprise encoding and decoding b and c;
Step S805; MSC-O does the a-b compatible processing at this node after receiving the APM message that carries first-selected encoding and decoding b, and first-selected encoding and decoding and local supported encoding and decoding tabulations (comprising encoding and decoding a, b, c and d) are compared; It is compatible to identify encoding and decoding a and first-selected encoding and decoding b; And the priority of encoding and decoding a is higher than the priority of encoding and decoding b, then realizes compatible TrFO at this node, encoding and decoding a is inserted the encoding and decoding of the carrying foundation of side as this node; Be the encoding and decoding that caller inserts the carrying foundation of side, local terminal WMG (MGW) realizes that a-b is compatible;
Step S806 sets up carrying according to compatible encoding and decoding a-b, realizes that the compatible TrFO of encoding and decoding a-b calls out.
Embodiment four
Fig. 9 is the structural representation of the coding/decoding negotiation equipment of the embodiment of the invention four.As shown in Figure 9, this coding/decoding negotiation equipment comprises:
Second receiver module 91; Be used to receive this call preference encoding and decoding; Wherein said these call preference encoding and decoding are consulted to be provided with through calling out start node, calling transfer node and call ending node, and said these call preference encoding and decoding are sent to said calling start node by said calling transit node;
Second acquisition module 92; Be used for supporting the encoding and decoding tabulation to compare said first-selected encoding and decoding and the 3rd; The wherein said the 3rd supports the encoding and decoding tabulation to comprise the encoding and decoding that said calling start node is supported, obtains and the 3rd compatible encoding and decoding of said first-selected encoding and decoding;
Second negotiation module 93 is used for obtaining the priority of said first-selected encoding and decoding and said the 3rd encoding and decoding according to preset priority list; If the priority of said the 3rd encoding and decoding is higher than the priority of said first-selected encoding and decoding, the calling start node that then said the 3rd encoding and decoding are set to this calling carries encoding and decoding.
For example integrated being arranged on of the coding/decoding negotiation equipment of the embodiment of the invention four called out on the start node.
The idiographic flow that the coding/decoding negotiation equipment of the foregoing description is carried out coding/decoding negotiation is identical with the coding/decoding negotiation method of the embodiment of the invention three, so locate to repeat no more.
Coding/decoding negotiation equipment according to the foregoing description; The call ending node with call out intermediate node and do not carry out compatible TrFO when handling; Realize the processing of compatible TrFO calling out origination node, take the compatibility relation between the first-selected encoding and decoding of the local encoding and decoding of supporting and this calling into consideration, thereby exist under the scene of compatible encoding and decoding; Select the higher encoding and decoding of priority to insert the encoding and decoding of the carrying foundation of side, thereby improve voice quality as this node.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each method embodiment can be accomplished through the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program the step that comprises above-mentioned each method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.What should explain at last is: above each embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although the present invention has been carried out detailed explanation with reference to aforementioned each embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, perhaps to wherein part or all technical characteristic are equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (10)

1. a coding/decoding negotiation method is characterized in that, comprising:
Receive first and support the encoding and decoding tabulation, said first supports the encoding and decoding tabulation to be sent to the call ending node by calling out transit node, and said first supports the encoding and decoding tabulation to comprise calls out start node and call out the encoding and decoding that transit node is all supported;
Support encoding and decoding tabulation and second to support the encoding and decoding tabulation to compare with said first; Obtain first encoding and decoding and second encoding and decoding; Wherein said second supports the encoding and decoding tabulation to comprise the encoding and decoding that the call ending node is supported; Said first encoding and decoding are arranged in said second and support the encoding and decoding tabulation, and said second encoding and decoding are positioned at said first and support the encoding and decoding tabulation, and said first encoding and decoding and said second encoding and decoding compatibility;
The call ending node that said first encoding and decoding are set to this calling carries encoding and decoding, and said second encoding and decoding are set to the first-selected encoding and decoding of this calling;
Said first-selected encoding and decoding are sent to the calling origination node via said calling transfer node.
2. coding/decoding negotiation method according to claim 1 is characterized in that, the call ending node that said first encoding and decoding are set to this calling carries encoding and decoding, and the first-selected encoding and decoding that said second encoding and decoding are set to this calling specifically comprise:
Obtain the priority of said first encoding and decoding and said second encoding and decoding according to preset priority list; If the priority of said second encoding and decoding is higher than the priority of said first encoding and decoding, the call ending node that then said first encoding and decoding are set to this calling carries encoding and decoding, and said second encoding and decoding are set to the first-selected encoding and decoding of this calling.
3. according to claim 1 or 2 said coding/decoding negotiation methods, it is characterized in that said first encoding and decoding are arranged in said second and support encoding and decoding tabulation and said first to support the encoding and decoding tabulation, or only be arranged in the said second support encoding and decoding tabulation.
4. according to the said coding/decoding negotiation method of claim 2; It is characterized in that; If there are at least two said first encoding and decoding compatible with said second encoding and decoding; Then obtain the priority of said at least two first encoding and decoding tabulations, and the first the highest encoding and decoding of priority are set to the call ending node carrying encoding and decoding of this calling according to said preset priority list.
5. a coding/decoding negotiation equipment is characterized in that, comprising:
First receiver module; Be used to receive first and support the encoding and decoding tabulation; Said first supports the encoding and decoding tabulation to be sent to the call ending node by calling out transit node, and said first supports the encoding and decoding tabulation to comprise calls out start node and call out the encoding and decoding that transit node is all supported;
First acquisition module; Be used for supporting encoding and decoding tabulation and second to support the encoding and decoding tabulation to compare with said first; Obtain first encoding and decoding and second encoding and decoding, wherein said second supports the encoding and decoding tabulation to comprise the encoding and decoding that the call ending node is supported, said first encoding and decoding are arranged in said second and support the encoding and decoding tabulation; Said second encoding and decoding are positioned at said first and support the encoding and decoding tabulation, and said first encoding and decoding and said second encoding and decoding compatibility;
First negotiation module be used for the call ending node carrying encoding and decoding that said first encoding and decoding are set to this calling, and said second encoding and decoding is set to the first-selected encoding and decoding of this calling;
Sending module is used for said first-selected encoding and decoding are sent to the calling origination node via said calling transfer node.
6. coding/decoding negotiation equipment according to claim 5 is characterized in that, said first negotiation module also is used for: obtain the priority of said first encoding and decoding and said second encoding and decoding according to preset priority list; If the priority of said second encoding and decoding is higher than the priority of said first encoding and decoding, the call ending node that then said first encoding and decoding are set to this calling carries encoding and decoding, and said second encoding and decoding are set to the first-selected encoding and decoding of this calling.
7. according to claim 5 or 6 described coding/decoding negotiation equipment, it is characterized in that said first encoding and decoding are arranged in said second and support encoding and decoding tabulation and said first to support the encoding and decoding tabulation, or only be arranged in the said second support encoding and decoding tabulation.
8. coding/decoding negotiation equipment according to claim 6; It is characterized in that; Said first negotiation module also is used for if there are two said first encoding and decoding compatible with said second encoding and decoding at least; Then obtain the priority of said at least two first encoding and decoding tabulations, and the first the highest encoding and decoding of priority are set to the call ending node carrying encoding and decoding of this calling according to said preset priority list.
9. a coding/decoding negotiation method is characterized in that, comprising:
Receive this call preference encoding and decoding; Wherein said these call preference encoding and decoding are consulted to be provided with through calling out start node, calling transfer node and call ending node, and said these call preference encoding and decoding are sent to said calling start node by said calling transit node;
Support the encoding and decoding tabulation to compare said first-selected encoding and decoding and the 3rd, the wherein said the 3rd supports the encoding and decoding tabulation to comprise the encoding and decoding that said calling start node is supported, obtains and the 3rd compatible encoding and decoding of said first-selected encoding and decoding;
Obtain the priority of said first-selected encoding and decoding and said the 3rd encoding and decoding according to preset priority list; If the priority of said the 3rd encoding and decoding is higher than the priority of said first-selected encoding and decoding, the calling start node that then said the 3rd encoding and decoding are set to this calling carries encoding and decoding.
10. a coding/decoding negotiation equipment is characterized in that, comprising:
Second receiver module; Be used to receive this call preference encoding and decoding; Wherein said these call preference encoding and decoding are consulted to be provided with through calling out start node, calling transfer node and call ending node, and said these call preference encoding and decoding are sent to said calling start node by said calling transit node;
Second acquisition module is used for supporting the encoding and decoding tabulation to compare said first-selected encoding and decoding and the 3rd that the wherein said the 3rd supports the encoding and decoding tabulation to comprise the encoding and decoding that said calling start node is supported, obtains and the 3rd compatible encoding and decoding of said first-selected encoding and decoding;
Second negotiation module is used for obtaining the priority of said first-selected encoding and decoding and said the 3rd encoding and decoding according to preset priority list; If the priority of said the 3rd encoding and decoding is higher than the priority of said first-selected encoding and decoding, the calling start node that then said the 3rd encoding and decoding are set to this calling carries encoding and decoding.
CN201180003666.7A 2011-12-27 2011-12-27 Coding/decoding negotiation method and equipment Active CN102726096B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/084733 WO2013097090A1 (en) 2011-12-27 2011-12-27 Codec negotiation method and device

Publications (2)

Publication Number Publication Date
CN102726096A true CN102726096A (en) 2012-10-10
CN102726096B CN102726096B (en) 2015-07-29

Family

ID=46950501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180003666.7A Active CN102726096B (en) 2011-12-27 2011-12-27 Coding/decoding negotiation method and equipment

Country Status (2)

Country Link
CN (1) CN102726096B (en)
WO (1) WO2013097090A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018537A (en) * 2017-03-30 2017-08-04 努比亚技术有限公司 A kind of voice communication method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959320A (en) * 2010-10-12 2011-01-26 中兴通讯股份有限公司 Method and device for realizing compatibility of codec types among calling stations

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004019988B4 (en) * 2004-04-23 2006-07-27 Siemens Ag Codec mode configuration selection for transcoder-free operations
US7835346B2 (en) * 2006-01-17 2010-11-16 Genband Us Llc Methods, systems, and computer program products for providing transcoder free operation (TrFO) and interworking between unlicensed mobile access (UMA) and universal mobile telecommunications system (UMTS) call legs using a media gateway
CN101562910B (en) * 2008-04-18 2011-12-14 中国移动通信集团公司 Voice data transmission method as well as system and media gateway
CN101635994B (en) * 2008-07-25 2013-03-20 中兴通讯股份有限公司 Method for acquiring speech coding capacity of wireless network and realizing TrFO by core network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959320A (en) * 2010-10-12 2011-01-26 中兴通讯股份有限公司 Method and device for realizing compatibility of codec types among calling stations

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018537A (en) * 2017-03-30 2017-08-04 努比亚技术有限公司 A kind of voice communication method and device
CN107018537B (en) * 2017-03-30 2020-03-17 努比亚技术有限公司 Voice communication method and device

Also Published As

Publication number Publication date
WO2013097090A1 (en) 2013-07-04
CN102726096B (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN101471804B (en) Method, system and control server for processing audio
CN101729424B (en) Flow forwarding method, devices and system
AU2014370307B2 (en) Tunneling VoIP call control on cellular networks
CN104519075A (en) Data transmission method and device
CN102308560A (en) Transmission method and device of media stream data in cloud calculative system
JP2007049415A (en) Voice data conversion apparatus, network system, and control method and program
CN101895647A (en) Method of handling single radio voice call continuity (SRVCC) handover in wireless communication system
CN102421145A (en) Method and system for carrying out direct communication of data among base stations
CN103124380A (en) Real time streaming media packet loss processing scheme based on H264
CN101888377A (en) Communication method, media server and communication system
CN101651816A (en) Method, device and system for creating videophone session
CN102137093A (en) Method for processing media stream and media gateway
CN102647402A (en) Consultation method for multimedia session, relevant equipment and system
CN103795958A (en) Multimedia call negotiation method, system and video interworking gateway, multimedia terminal
CN102726096A (en) Method and device for codec negotiation
CN105099802A (en) Traffic identification method, terminal, and network element equipment
CN103491579A (en) IMS service call method and IMS service achieving method and device
CN102984813A (en) Data straight-through processing method, equipment and system
CN105100520A (en) Terminal call forwarding method and device thereof
CN103414797A (en) Port assignment method and device of NAT traversing server
CN103781119A (en) MGW selection method and device
CN102131163A (en) Method and equipment for interacting control information between circuit domain access terminal and AS (Application Sever)
CN116133159B (en) GTP data packet processing method, device, computer equipment and storage medium
CN113098829B (en) Communication method between wide and narrow networks, terminal, server and storage medium
CN102137510B (en) Method and device for load bearing modification

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