CN101854671B - Configuration processing method and device - Google Patents
Configuration processing method and device Download PDFInfo
- Publication number
- CN101854671B CN101854671B CN 200910081117 CN200910081117A CN101854671B CN 101854671 B CN101854671 B CN 101854671B CN 200910081117 CN200910081117 CN 200910081117 CN 200910081117 A CN200910081117 A CN 200910081117A CN 101854671 B CN101854671 B CN 101854671B
- Authority
- CN
- China
- Prior art keywords
- code
- decode format
- terminal
- calling terminal
- terminal called
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention relates to a configuration processing method. The method comprises the following steps: selecting a coder and decoder format according to the demand of the service or network quality; and determining the coder and decoder format in a coder and decoder format set supported by a calling terminal and a called terminal, and selecting the coder and decoder format as a communication coder and decoder format between the calling terminal and the called terminal. The embodiment of the invention also relates to a configuration processing device, which comprises a selection module and a determination module, wherein the selection module is used for selecting the coder and decoder format; the determination module is used for determining that the coder and decoder format is in the coder and decoder format set supported by the calling terminal and the called terminal; and the selected coder and decoder format is the communication coding format between the calling terminal and the called terminal. The configuration processing method and the device of the embodiment of the invention judge and select the coder and decoder format used in the communication according to the coder and decoder format of the calling terminal and the called terminal in a mapping table or by combing with the current serve demand and the network quality instead of self-selection of the calling and called terminal, so that the coder and decoder format used by the terminals can be controlled.
Description
Technical field
The embodiment of the invention relates to moving communicating field, especially a kind of configuration processing method and device.
Background technology
The call center need to process the operation operation of a large amount of and different phone incoming calls and call business and service.Comprise queue machine (server), interactive voice response system (Interactive Voice Response, IVR), the system of automatic call dispatching (Automatic Call Distribution, ACD), Computers and Communication integrated (Computer Telecommunication Integration, CTI), the software etc. of attending a banquet.
Between attending a banquet when conversation voice code/decode format have G.711, G.723, G.729 wait, the voice quality of every kind of code/decode format is different, occupied bandwidth is also different.The occupied bandwidth that voice quality is good is large, and the poor bandwidth that takies of voice quality is little.In long-range networking of attending a banquet, owing to attend a banquet and zoom out, thus under not being very high situation, voice quality can not reduce bandwidth with the little code encoding/decoding mode of capacity, to utilize existing Internet resources.
Wherein G.711 code/decode format occupied bandwidth is 8 times of form occupied bandwidth G.729.Corresponding time delay is than G.729 fast a lot, so its voice quality is good.And G.729 time delay is large, and the bandwidth that takies is little, so that voice quality is compared is G.711 less better.
The collocation method of existing code/decode format is the coding/decoding capability supported of configurating terminal as required.When calling terminal makes a call, directly hold consultation with terminal called with the coding/decoding capability (as G.729) of upper support.Terminal A initiates to invite (invite) to call out to terminal B, and with the code/decode format of upper its support, this code/decode format is the terminal acquiescence in the message, and priority can be configured by terminal.
The calling that terminal A initiates, when terminal B echoes at once, 200 or the needs of the agreement such as ack regulation when carrying out the message of media negotiation, the code/decode format that the code/decode format that terminal A supports and terminal B support compares and consults, and determines that these voice (fax or video) call out employed code/decode format.
But the inventor finds in the invention process: existing configuration processing method is the negotiation between terminal and the terminal, and the code/decode format of specifically selecting is determined by the calling and called terminal, and server can't determine the employed code/decode format of terminal in this business.
Summary of the invention
The embodiment of the invention provides a kind of configuration processing method and device, to realize determining the code/decode format that terminal is used by server, perhaps determines the code/decode format of use according to the quality of current network.
The embodiment of the invention provides a kind of configuration processing method, comprising:
According to demand or the network quality of business, select code/decode format;
Determine described code/decode format in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is the code/decode format of communicating by letter between described calling terminal and the terminal called;
Also comprise: according to demand or the network quality of business, create the encoding and decoding mapping table, described encoding and decoding mapping table comprises terminal iidentification and code/decode format; Described demand or network quality according to business are selected code/decode format, are specially: according to demand or the network quality of business, select code/decode format from described encoding and decoding mapping table;
Described demand or network quality according to business, from described encoding and decoding mapping table, select code/decode format, comprise: in described encoding and decoding mapping table, search calling terminal identification and terminal called sign, if there is described calling terminal identification and terminal called sign in the described mapping table, from described encoding and decoding mapping table, search code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign; Describedly determine that described code/decode format is in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is communication service coded format between described calling terminal and the terminal called, comprise: determine that code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign is identical, and determine described code/decode format in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is the coded format of communication service between described calling terminal and the terminal called; Determine that perhaps code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign is different, then select wherein a kind of code/decode format according to described business demand or network quality, and the code/decode format of determining described selection is in the code/decode format set that calling terminal and terminal called are supported, the code/decode format of selecting described selection is the coded format of communication service between described calling terminal and the terminal called;
Perhaps, described demand or network quality according to business, from described encoding and decoding mapping table, select code/decode format, comprise: in described encoding and decoding mapping table, search calling terminal identification and terminal called sign, if only there is described calling terminal identification or described terminal called sign in the described mapping table, then search code/decode format corresponding to code/decode format corresponding to described calling terminal identification or described terminal called sign; Describedly determine that described code/decode format is in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is communication code form between described calling terminal and the terminal called, comprise: determine the described code/decode format of searching in the code/decode format set that calling terminal and terminal called are supported, selecting the described code/decode format of searching is communication code form between described calling terminal and the terminal called.
The embodiment of the invention provides a kind of configuration process device, comprising:
Select module, be used for demand or network quality according to business, select code/decode format;
Determination module be used for to be determined the code/decode format set that described code/decode format is supported at calling terminal and terminal called, and selecting described code/decode format is the code/decode format of communicating by letter between described calling terminal and the terminal called;
Also comprise: creation module, be used for demand or network quality according to business, create the encoding and decoding mapping table, described encoding and decoding mapping table comprises terminal iidentification and code/decode format; Described selection module, concrete demand or the network quality that is used for according to business selected code/decode format from described encoding and decoding mapping table;
Also comprise: search module, be used for searching calling terminal identification and terminal called sign at described encoding and decoding mapping table, if there is described calling terminal identification and/or terminal called sign in the described mapping table, then search code/decode format corresponding to described calling terminal identification and/or terminal called sign;
Described determination module, it is identical specifically to be used for code/decode format corresponding to code/decode format corresponding to definite described calling terminal identification and terminal called sign, and determine described code/decode format in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is the coded format of communication service between described calling terminal and the terminal called; Determine that perhaps code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign is different, then select wherein a kind of code/decode format according to described business demand or network quality, and the code/decode format of determining described selection is in the code/decode format set that calling terminal and terminal called are supported, the code/decode format of selecting described selection is the coded format of communication service between described calling terminal and the terminal called; Perhaps determine only to exist in the described mapping table described calling terminal identification or described terminal called sign, then search code/decode format corresponding to code/decode format corresponding to described calling terminal identification or described terminal called sign, and determine the described code/decode format of searching in the code/decode format set that calling terminal and terminal called are supported, selecting the described code/decode format of searching is communication code form between described calling terminal and the terminal called.
Therefore, embodiment of the invention configuration processing method and device, according to business demand or network quality, determine that calling terminal and terminal called carry out professional employed code/decode format, but not selected voluntarily by two calling and called terminals, so server can be according to business demand or network quality, select code/decode format that terminal is used, when or business demand not good enough in network quality is low, can select the ropy form of encoding and decoding like this, thereby saving bandwidth resources, and can select the high form of encoding and decoding quality when good or business demand is high when network quality the time, guarantee professional quality, improve the user and experience.
Description of drawings
Fig. 1 is the flow chart of a kind of configuration processing method of the embodiment of the invention;
Fig. 2 is the flow chart of the another kind of configuration processing method of the embodiment of the invention;
Fig. 3 is the flow chart of another configuration processing method of the embodiment of the invention;
Fig. 4 is also a kind of flow chart of configuration processing method of the embodiment of the invention;
Fig. 5 is the structural representation of embodiment of the invention configuration process device;
Fig. 6 is the structural representation of another configuration process device of the embodiment of the invention.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
As shown in Figure 1, the flow chart for a kind of configuration processing method of the embodiment of the invention specifically comprises the steps:
Step 101 according to demand or the network quality of business, is selected code/decode format;
Concrete: according to demand or the network quality of business, create the encoding and decoding mapping table, described encoding and decoding mapping table comprises terminal iidentification and code/decode format.
And in described encoding and decoding mapping table, search calling terminal identification and terminal called sign, if there is described calling terminal identification and terminal called sign in the described mapping table, from described encoding and decoding mapping table, search code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign; Perhaps in described encoding and decoding mapping table, search calling terminal identification and terminal called sign, if only there is described calling terminal identification or described terminal called sign in the mapping table, then search code/decode format corresponding to code/decode format corresponding to described calling terminal identification or described terminal called sign.
Step 102 is determined described code/decode format in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is the code/decode format of communicating by letter between described calling terminal and the terminal called.
Concrete: determine that code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign is identical, and determine described code/decode format in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is the coded format of communication service between described calling terminal and the terminal called; Perhaps
Determine that code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign is different, then select wherein a kind of code/decode format according to described business demand or network quality, and the code/decode format of determining described selection is in the code/decode format set that calling terminal and terminal called are supported, the code/decode format of selecting described selection is the coded format of communication service between described calling terminal and the terminal called; Perhaps
When in mapping table, only having described calling terminal identification or described terminal called sign, determine the described code/decode format of searching in the code/decode format set that calling terminal and terminal called are supported, selecting the described code/decode format of searching is communication code form between described calling terminal and the terminal called.
Therefore, embodiment of the invention configuration processing method, the code/decode format in mapping table according to calling terminal and terminal called, judge and select two terminals employed code/decode format of conversing, but not selected voluntarily by two calling and called terminals, so can the control terminal conversation code/decode format that uses.When or business demand not good enough in network quality is low, can select the ropy form of encoding and decoding like this, thereby saving bandwidth resources, and can select the high form of encoding and decoding quality when good or business demand is high when network quality the time, guarantee professional quality, improve the user and experience.
Optionally, the inventive embodiments configuration processing method also comprises: receive the calling that carries code/decode format that calling terminal is supported set that calling terminal is initiated; Make a call to terminal called, and preserve code/decode format that described calling terminal is supported set; Receive the response that carries code/decode format that terminal called is supported set that terminal called returns, and preserve code/decode format that described terminal called is supported set.
The another kind of configuration processing method of the embodiment of the invention, that server is at first to each terminal, for example sip terminal creates the mapping table of encoding and decoding, in mapping table, each terminal is set code/decode format, can set according to concrete network quality situation or the demand of terminal traffic during setting, thus when calling terminal A(hereinafter to be referred as terminal A) and terminal called B(hereinafter to be referred as terminal B) between make a call, voice for example, the code/decode format of two terminals that fax or during video, server are set in can the mapping table according to encoding and decoding is set this time professional employed code/decode format.
As shown in Figure 2, the flow chart of the another kind of configuration processing method of the embodiment of the invention specifically comprises the steps:
Step 201, server create terminal encoding and decoding mapping table;
Server can create according to the difference of actual conditions terminal encoding and decoding mapping table, in actual applications, the situation of the business that terminal is used is a lot, different business may need different code/decode formats, the communication efficiency that the quality of some service needed is high, need high-quality code/decode format, and some quality of service low communication effect is just passable, as long as can guarantee basic business, can select low-quality code/decode format, class of business has multiple, as: speech business, video traffic, facsimile service etc., wherein every kind of business can also have the demand of different levels, such as: the video effect height is professional, the business that video effect is general, the business that video effect is low, this just need to be for different business configuration different code/decode formats.Concrete server can according to the difference of the needed voice quality requirement of concrete terminal, create terminal encoding and decoding mapping table.Such as: if be chosen as high voice quality requirement, the encoding and decoding that then can give tacit consent to terminal are set to the code/decode format that occupied bandwidth is large, voice quality is good, as G.711, if be chosen as low voice quality requirement, then the code/decode format with terminal can be set to the code/decode format that occupied bandwidth is little, voice quality is poor, for example G.729, pass through like this terminal encoding and decoding mapping table of configuration integrate server requirement.
Server can also be according to concrete network quality in addition, when network quality is good, the preferential high-quality code/decode format of option and installment, opposite some low-quality code/decode formats of when network quality is poor, selecting, server can create to the code/decode format of each terminal the mapping table of encoding and decoding, table one for example is depicted as the encoding and decoding mapping table that the appointment of server end is set up in configuration:
Sequence number | Terminal iidentification | Code/decode format |
1 | 6666 | G.729 |
2 | 7777 | G.711 |
3 | 8888 | G.729 |
... | ... | ... |
Table one
Corresponding code/decode format of terminal iidentification in the table one is 6666 terminal code/decode format such as terminal iidentification for G.729, terminal iidentification can for termination number or terminal in the numbering of server etc.; Certain terminal iidentification also can corresponding a plurality of code/decode formats.
Server can be that the code/decode format of 6666 terminal is for G.729 by the command configuration terminal iidentification, as mentioned above, server can consider that to the code/decode format of terminal configuration the employed business of terminal is to the specific requirement of encoding and decoding quality, for example: server by as issue orders to dispose user's coding/decoding capability of 6666:
Config modify phonenumber 6666 codec G.729
After server has configured terminal coding/decoding capability table, if when have a terminal to make a call this moment, then carry out following process:
Step 202, calling terminal A makes a call to server, has carried the encoding and decoding set that terminal A supports in this calling.For example conversation initialized protocol (Session Initiation Protocol, SIP) terminal to server makes a call, and this calling is specially invite and calls out, and has carried the encoding and decoding set that terminal A supports in the SDP information that invite calls out
Step 203, server are received the calling of terminal A, obtain the code/decode format set of terminal A, and preserve the code/decode format set of this terminal A; Make a call to terminal called B simultaneously.
Step 204, terminal B responds this calling, returns call to server, and this call has carried the encoding and decoding set that terminal B supports.
Step 205, the call of server receiving terminal B obtains the set of terminal code/decode format that B supports, and the set of preserving terminal code/decode format that B supports.
Step 206, when server receives the response message of terminal A or terminal B transmission, when the needs of the agreements such as the ack regulation that the 200OK that sends such as terminal B under the s ip agreement or terminal A send carried out message that media select to process, server was searched the terminal iidentification of calling terminal and terminal called in the encoding and decoding mapping table.
Step 207, server is judged the terminal iidentification that whether has two terminals in the encoding and decoding mapping table, if have the terminal iidentification of two terminals then execution in step 210, if have the terminal iidentification of arbitrary terminal then execution in step 220, if one does not exist, then select to process unsuccessfully, for example server returns call failure message to terminal, perhaps select other to select processing mode, for example utilize existing method, two terminals oneself are consulted, and the calling and called terminal utilizes self-contained encoding and decoding code form set to hold consultation.
Whether step 210, server are searched terminal A, B in the encoding and decoding mapping table the corresponding code/decode format of terminal iidentification is identical, and if the same execution in step 211; If difference then execution in step 212.
Step 211, server judges that this code/decode format is whether in the code/decode format set of above-mentioned two terminals of having stored, if exist, then select the code/decode format of this code/decode format for communicating by letter between this calling terminal and the terminal called, if there is no, then select to process unsuccessfully, for example server returns call failure message to terminal, perhaps select other to select processing mode, for example utilize existing method, two terminals oneself are consulted, and the calling and called terminal utilizes self-contained encoding and decoding code form set to hold consultation.
Step 212, server is searched terminal A in the encoding and decoding mapping table, the corresponding code/decode format of the terminal iidentification of B is not identical, server is specified code/decode format according to demand or other factors of business, and judge that the code/decode format of this appointment is whether in the code/decode format set of two terminals, for example specify the little code/decode format of occupied bandwidth or the large code/decode format of occupied bandwidth, then judge that above-mentioned code/decode format is whether in the code/decode format set of two terminals, if code/decode format that the code/decode format of selecting this appointment is communicated by letter between for this calling terminal and terminal called, if not select to process unsuccessfully, for example server returns call failure message to terminal, perhaps select other to select processing mode, for example utilize existing method, two terminals oneself are consulted, and the calling and called terminal utilizes self-contained encoding and decoding code form set to hold consultation.
Step 220, if exist the terminal iidentification of arbitrary terminal in the encoding and decoding mapping table, then server is searched the code/decode format of this terminal in the encoding and decoding mapping table, judge that this code/decode format is whether in the code/decode format set of two terminals of having stored, if would select the code/decode format of this code/decode format for communicating by letter between this calling terminal and the terminal called, if not select to process unsuccessfully, for example server returns call failure message to terminal, perhaps select other to select processing mode, for example utilize existing method, two terminals oneself are consulted, and the calling and called terminal utilizes self-contained encoding and decoding code form set to hold consultation.
The configuration processing method of the embodiment of the invention, created the encoding and decoding mapping table of terminal by server, and the code/decode format in mapping table is judged and is selected two employed code/decode formats of terminal according to calling terminal and terminal called, but not selected voluntarily by two calling and called terminals, so can be by code/decode format that control terminal uses.In unnecessary, can select the ropy format section bandwidth-saving of encoding and decoding resource, and when needing the demanding form of encoding and decoding, guarantee professional quality.
As shown in Figure 3, the flow chart for another configuration processing method of the embodiment of the invention specifically comprises the steps:
Step 301 according to demand or the network quality of business, creates the encoding and decoding mapping table, and described encoding and decoding mapping table comprises terminal iidentification and code/decode format;
Step 302 is selected code/decode format according to demand or the network quality of business; If network quality is good or business demand is high, then select the large code/decode format of occupied bandwidth, judge this code/decode format whether in the code/decode format set of two terminals of calling and called, if would select this code/decode format;
Step 303 if network quality is poor or business demand is low, is then selected the little code/decode format of occupied bandwidth, judges this code/decode format whether in the code/decode format set of two terminals of calling and called, if would select this code/decode format.
Therefore, configuration processing method embodiment three of the present invention, the code/decode format in mapping table according to calling terminal and terminal called, and in conjunction with professional need body and current network quality, judge and select two employed code/decode formats of terminal, but not selected voluntarily by two calling and called terminals, so can code/decode format that control terminal uses.
The embodiment of the invention is a kind of configuration processing method also, that server is at first to each terminal, for example sip terminal creates the mapping table of encoding and decoding, in mapping table, each terminal is set code/decode format, can set according to concrete network quality situation or the demand of terminal traffic during setting, between calling terminal (hereinafter to be referred as terminal A) and terminal called (hereinafter to be referred as terminal B), make a call thus, voice for example, when fax or video, server can be according to the demand of business or current network quality, and the code/decode format of two terminals setting in the mapping table of encoding and decoding is set this time professional employed code/decode format.
As shown in Figure 4, for the embodiment of the invention a kind of flow chart of configuration processing method also, specifically comprise the steps:
Step 401-step 405 with step 201-step 205, repeats no more here.
Step 406, when server receives the message of terminal A or terminal B transmission, such as terminal called under the sip agreement send in 200 or the needs of the agreements such as the ack regulation that sends of calling terminal when carrying out message that media select to process, in the encoding and decoding mapping table, search the termination number of calling terminal and terminal called.
Step 407, demand or network quality according to business are selected code/decode format, server judge current business demand or the current network quality, for example server judgement current network quality can be judged by the wait feedback of giving out a contract for a project the mode of the time delay of network, perhaps judge the quality of current network by the height of judging packet loss, if the current network quality is good, perhaps current business demand high execution in step 410 then; If current network is of poor quality, perhaps the current business demand is hanged down then execution in step 420.
Step 410, if the current network quality is high, perhaps the current business demand is high, server is selected the large code/decode format of occupied bandwidth, judge that this code/decode format is whether in the code/decode format set of two terminals of calling and called of having stored, if, then select the large code/decode format of this occupied bandwidth, if not select to process unsuccessfully, for example server returns call failure message to terminal, perhaps selects other to select processing mode, for example utilizes existing method, two terminals oneself are consulted, and the calling and called terminal utilizes self-contained encoding and decoding code form set to hold consultation.
If the current network quality is good, when perhaps the current business demand is high, can pay the utmost attention to the good code/decode format of speech quality, so select speech quality good, the network bandwidth takies many code/decode formats, for example G.711.
Step 420, if current network is of poor quality, perhaps the current business demand is low, server is selected the little code/decode format of occupied bandwidth, judge that this code/decode format is whether in the code/decode format set of two terminals of calling and called, if would select the little code/decode format of this occupied bandwidth, if not select to process unsuccessfully, for example server returns call failure message to terminal, perhaps select other to select processing mode, for example utilize existing method, two terminals oneself are consulted, and the calling and called terminal utilizes self-contained encoding and decoding code form set to hold consultation.
When if current network is ropy, perhaps the current business demand is low, can preferentially examine the network bandwidth and take few code/decode format, so select speech quality poor, the network bandwidth takies few code/decode format, for example G.729;
The configuration processing method of the embodiment of the invention, created the encoding and decoding mapping table of terminal by server, and the code/decode format in mapping table according to calling terminal and terminal called, and current business demand and network quality, judge dynamically and select two employed code/decode formats of terminal, but not selected voluntarily by two calling and called terminals, can code/decode format that control terminal uses.Can select the ropy format section bandwidth-saving of encoding and decoding resource when not good enough or business demand is low in network quality, and the quality of assurance business can select the high form of encoding and decoding quality when good or business demand is high when network quality the time.
As shown in Figure 5, the structural representation for embodiment of the invention configuration process device specifically comprises:
Wherein, the related code/decode format of present embodiment, encoding and decoding mapping table, code/decode format set and related specific works process can with reference to the related content of the related embodiment exposure of above-mentioned Fig. 2 and Fig. 4, not repeat them here.
Therefore, embodiment of the invention configuration process device, the code/decode format in mapping table according to calling terminal and terminal called is judged and is selected two employed code/decode formats of terminal, but not selected voluntarily by two calling and called terminals, so can code/decode format that control terminal uses.When or business demand not good enough in network quality is low, can select the ropy form of encoding and decoding like this, thereby saving bandwidth resources, and can select the high form of encoding and decoding quality when good or business demand is high when network quality the time, guarantee professional quality, improve the user and experience.
As shown in Figure 6, the structural representation for another configuration process device of the embodiment of the invention specifically comprises:
Wherein, the related code/decode format of present embodiment, encoding and decoding mapping table, code/decode format set and related specific works process can with reference to the related content of the related embodiment exposure of above-mentioned Fig. 2 and Fig. 4, not repeat them here.
Therefore, another configuration process device of the embodiment of the invention, the code/decode format in mapping table according to calling terminal and terminal called, and in conjunction with current network quality, judge and select two employed code/decode formats of terminal, but not selected voluntarily by two calling and called terminals, so can code/decode format that control terminal uses.When or business demand not good enough in network quality is low, can select the ropy form of encoding and decoding like this, thereby saving bandwidth resources, and can select the high form of encoding and decoding quality when good or business demand is high when network quality the time, guarantee professional quality, improve the user and experience.
By the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that the technical scheme of the embodiment of the invention contributes to prior art in essence in other words can embody with the form of software product, this software product is stored in the storage medium, comprise that some instructions are with so that mobile device (can be mobile phone, personal computer, media player etc.) the described method of execution each embodiment of the present invention.Here alleged storage medium, as: ROM/RAM, disk, CD etc.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.
Claims (4)
1. configuration processing method is characterized in that comprising:
According to demand or the network quality of business, select code/decode format;
Determine described code/decode format in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is the code/decode format of communicating by letter between described calling terminal and the terminal called;
Also comprise: according to demand or the network quality of business, create the encoding and decoding mapping table, described encoding and decoding mapping table comprises terminal iidentification and code/decode format; Described demand or network quality according to business are selected code/decode format, are specially: according to demand or the network quality of business, select code/decode format from described encoding and decoding mapping table;
Described demand or network quality according to business, from described encoding and decoding mapping table, select code/decode format, comprise: in described encoding and decoding mapping table, search calling terminal identification and terminal called sign, if there is described calling terminal identification and terminal called sign in the described mapping table, from described encoding and decoding mapping table, search code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign; Describedly determine that described code/decode format is in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is communication service coded format between described calling terminal and the terminal called, comprise: determine that code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign is identical, and determine described code/decode format in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is the coded format of communication service between described calling terminal and the terminal called; Determine that perhaps code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign is different, then select wherein a kind of code/decode format according to described business demand or network quality, and the code/decode format of determining described selection is in the code/decode format set that calling terminal and terminal called are supported, the code/decode format of selecting described selection is the coded format of communication service between described calling terminal and the terminal called;
Perhaps, described demand or network quality according to business, from described encoding and decoding mapping table, select code/decode format, comprise: in described encoding and decoding mapping table, search calling terminal identification and terminal called sign, if only there is described calling terminal identification or described terminal called sign in the described mapping table, then search code/decode format corresponding to code/decode format corresponding to described calling terminal identification or described terminal called sign; Describedly determine that described code/decode format is in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is communication code form between described calling terminal and the terminal called, comprise: determine the described code/decode format of searching in the code/decode format set that calling terminal and terminal called are supported, selecting the described code/decode format of searching is communication code form between described calling terminal and the terminal called.
2. configuration processing method according to claim 1 is characterized in that, also comprises:
Receive the calling that carries code/decode format that calling terminal is supported set that calling terminal is initiated;
Make a call to terminal called, and preserve code/decode format that described calling terminal is supported set;
Receive the response that carries code/decode format that terminal called is supported set that terminal called returns, and preserve code/decode format that described terminal called is supported set.
3. a configuration process device is characterized in that, comprising:
Select module, be used for demand or network quality according to business, select code/decode format;
Determination module be used for to be determined the code/decode format set that described code/decode format is supported at calling terminal and terminal called, and selecting described code/decode format is the code/decode format of communicating by letter between described calling terminal and the terminal called;
Also comprise: creation module, be used for demand or network quality according to business, create the encoding and decoding mapping table, described encoding and decoding mapping table comprises terminal iidentification and code/decode format; Described selection module, concrete demand or the network quality that is used for according to business selected code/decode format from described encoding and decoding mapping table;
Also comprise: search module, be used for searching calling terminal identification and terminal called sign at described encoding and decoding mapping table, if there is described calling terminal identification and/or terminal called sign in the described mapping table, then search code/decode format corresponding to described calling terminal identification and/or terminal called sign;
Described determination module, it is identical specifically to be used for code/decode format corresponding to code/decode format corresponding to definite described calling terminal identification and terminal called sign, and determine described code/decode format in the code/decode format set that calling terminal and terminal called are supported, selecting described code/decode format is the coded format of communication service between described calling terminal and the terminal called; Determine that perhaps code/decode format corresponding to code/decode format corresponding to described calling terminal identification and terminal called sign is different, then select wherein a kind of code/decode format according to described business demand or network quality, and the code/decode format of determining described selection is in the code/decode format set that calling terminal and terminal called are supported, the code/decode format of selecting described selection is the coded format of communication service between described calling terminal and the terminal called; Perhaps determine only to exist in the described mapping table described calling terminal identification or described terminal called sign, then search code/decode format corresponding to code/decode format corresponding to described calling terminal identification or described terminal called sign, and determine the described code/decode format of searching in the code/decode format set that calling terminal and terminal called are supported, selecting the described code/decode format of searching is communication code form between described calling terminal and the terminal called.
4. configuration process device according to claim 3 is characterized in that, also comprises:
Memory module is used for receiving the calling that carries code/decode format that calling terminal is supported set that calling terminal is initiated; Make a call to terminal called, and preserve code/decode format that described calling terminal is supported set; Receive the response that carries code/decode format that terminal called is supported set that terminal called returns, and preserve code/decode format that described terminal called is supported set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910081117 CN101854671B (en) | 2009-04-02 | 2009-04-02 | Configuration processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910081117 CN101854671B (en) | 2009-04-02 | 2009-04-02 | Configuration processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101854671A CN101854671A (en) | 2010-10-06 |
CN101854671B true CN101854671B (en) | 2013-03-20 |
Family
ID=42805877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910081117 Expired - Fee Related CN101854671B (en) | 2009-04-02 | 2009-04-02 | Configuration processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101854671B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686227B (en) * | 2012-09-17 | 2018-03-20 | 南京中兴力维软件有限公司 | Audio-video collection coding method, apparatus and system for mobile terminal |
CN104539588B (en) * | 2014-12-09 | 2019-04-12 | 华为技术有限公司 | A kind of method and Call- Control1 network element of determining media capability |
CN107154997A (en) * | 2016-03-04 | 2017-09-12 | 中兴通讯股份有限公司 | A kind of call handling method, device and terminal |
CN117135272A (en) * | 2023-02-08 | 2023-11-28 | 荣耀终端有限公司 | Method and device for determining coding and decoding modes during conversation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003032585A1 (en) * | 2001-10-09 | 2003-04-17 | Nokia Corporation | Transcoding arrangement in a session initiation |
KR20050080619A (en) * | 2004-02-10 | 2005-08-17 | 주식회사 케이티 | System for processing call using subscriber codec providing server in session initiation protocol and method for codec matching the same |
CN1893427A (en) * | 2005-07-07 | 2007-01-10 | 华为技术有限公司 | Method for conducting business support ability consultation |
CN1988544A (en) * | 2006-12-19 | 2007-06-27 | 中兴通讯股份有限公司 | Method for consulting multimedia coding and decoding capacity of 3G audio frequency gateway |
CN101027926A (en) * | 2004-09-21 | 2007-08-29 | 艾利森电话股份有限公司 | Apparatus and method providing push to talk over cellular (poc) dynamic service options |
-
2009
- 2009-04-02 CN CN 200910081117 patent/CN101854671B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003032585A1 (en) * | 2001-10-09 | 2003-04-17 | Nokia Corporation | Transcoding arrangement in a session initiation |
KR20050080619A (en) * | 2004-02-10 | 2005-08-17 | 주식회사 케이티 | System for processing call using subscriber codec providing server in session initiation protocol and method for codec matching the same |
CN101027926A (en) * | 2004-09-21 | 2007-08-29 | 艾利森电话股份有限公司 | Apparatus and method providing push to talk over cellular (poc) dynamic service options |
CN1893427A (en) * | 2005-07-07 | 2007-01-10 | 华为技术有限公司 | Method for conducting business support ability consultation |
CN1988544A (en) * | 2006-12-19 | 2007-06-27 | 中兴通讯股份有限公司 | Method for consulting multimedia coding and decoding capacity of 3G audio frequency gateway |
Also Published As
Publication number | Publication date |
---|---|
CN101854671A (en) | 2010-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6940587B2 (en) | Methods and equipment for the use of compact parallel codecs in multimedia communications | |
US7761876B2 (en) | Method and system for balancing the load on media processors based upon CPU utilization information | |
US20080101338A1 (en) | METHODS AND APPARATUS TO IMPLEMENT HIGHER DATA RATE VOICE OVER INTERNET PROTOCOL (VoIP) SERVICES | |
US7617319B2 (en) | Method and system for optimizing transcoder resources | |
CN101035360A (en) | Method for implementing calling in the multimedia communication call control | |
US8774388B2 (en) | Telephone terminal, telephone communication system, and telephone terminal configuration program | |
CN102143139A (en) | Priority-based, dynamic optimization of utilized bandwidth | |
CN102893603B (en) | Video conferencing processing method, apparatus and communication system | |
CN1871843A (en) | Vocoder selection method | |
CN101854671B (en) | Configuration processing method and device | |
WO2012063889A1 (en) | Core network and communication system | |
WO2012063888A1 (en) | Core network and communication system | |
US9961209B2 (en) | Codec selection optimization | |
CN102231734A (en) | Method, device and system for realizing audio transcoding of TTS (Text To Speech) | |
KR20050068108A (en) | Conversion system and method for multimedia data in multimedia messaging services | |
US20190068655A1 (en) | Resource-managed codec selection | |
US20150195778A1 (en) | Wireless communication system providing optimal network performance | |
CN101465926B (en) | Method and device for processing call through network telephone gateway | |
US20130231103A1 (en) | Core network and communication system | |
CN102710617A (en) | Negotiation method for SDP (session description protocol) of SIP (session initiation protocol) terminal | |
CN102780986A (en) | Call reconnection method and application server | |
CN113905132A (en) | Video color ring playing method and device and computer readable storage medium | |
CN113453081A (en) | Video transmission method, system, related equipment and storage medium | |
CN100571164C (en) | Customer service terminal system in the NGN system | |
JP4977222B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD AND COMMUNICATION DEVICE |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130320 Termination date: 20170402 |