Summary of the invention
Main purpose of the present invention is to provide a kind of audio-frequency processing method and bimodule digital mobile communication terminal, to solve in the above-mentioned double-mode digital mobile terminal two wireless modules to bus interface audio frequency peripheral hardware requirement mode when inconsistent, cause wireless module to switch and produce big time delay, can't realize in real time the problem that " seamless " switches.
To achieve these goals, according to an aspect of the present invention, provide a kind of audio-frequency processing method.
Audio-frequency processing method according to the present invention comprises: first wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode are first mode, second wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode are second mode, and first wireless module and second wireless module are positioned on the same bimodule digital mobile communication terminal; When first mode and second mode were inconsistent, first wireless module used first mode to carry out voice communication, and second wireless module is realized voice communication by the audio coding decoding module transfer that links to each other with bus interface audio frequency peripheral hardware.
Further, when first mode and second mode were inconsistent, second wireless module realizes that by the audio coding decoding module transfer that links to each other with bus interface audio frequency peripheral hardware voice communication comprises: the analog audio data that bus interface audio frequency peripheral hardware is received was converted to digital audio-frequency data by A/D; Digital audio-frequency data is sent to the audio coding decoding module carries out the D/A conversion; Digital audio-frequency data after the conversion is sent to second wireless module carries out the radio frequency transmission.
Further in, when first mode and second mode were inconsistent, second wireless module realizes that by the audio coding decoding module transfer that links to each other with bus interface audio frequency peripheral hardware voice communication comprises: the analog audio data that second wireless module is received was converted to digital audio and video signals by A/D; Digital audio and video signals is sent to the audio coding decoding module carries out the D/A conversion; Digital audio channels after the conversion is sent to bus interface audio frequency peripheral hardware to be play.
Further, when the audio physical passage of first wireless module and second wireless module and logical channel are in separated position, also comprise: receive and correspond respectively to a plurality of voice applications pattern protocol instruction AT; Set up response channel corresponding and a plurality of voice applications patterns respectively according to AT, wherein, the voice applications pattern comprises: hand-held, bluetooth, earphone and hands-free; In response channel, will be mapped to the audio frequency parameter that also disposes respectively in the same physical channel corresponding to logical channel from the audio signal of different physical channels.
Further, the audio physical passage of first wireless module and second wireless module and logical channel are in can not separated position the time, also comprise: receive and correspond respectively to a plurality of voice applications pattern protocol instruction AT; Set up response channel corresponding and a plurality of voice applications patterns respectively according to AT, wherein, the voice applications pattern comprises: hand-held, bluetooth, earphone and hands-free; In response channel, will be mapped to from the audio signal of different physical channels in the same physical channel, and dispose audio frequency parameter percentage respectively corresponding to the voice applications pattern.
Further, the bus interface audio frequency is made as bluetooth outward; First wireless module and second wireless module are one of following: global mobile communication (Global system for Mobile Communication, abbreviate GSM as), code division multiple access (Code DivisionMultiple Access, abbreviate CDMA as), TD SDMA (Time Division-Synchronous CodeDivision Multiple Access, abbreviate TD-SCDMA as), CDMA2000, Wideband Code Division Multiple Access (WCDMA) (WCDMA), Long Term Evolution (Long Term Evolution abbreviates LTE as).
To achieve these goals, according to a further aspect in the invention, also provide a kind of bimodule digital mobile communication terminal.
Bimodule digital mobile communication terminal according to the present invention comprises: first wireless module, be used for when first mode and second mode are inconsistent, use first mode to carry out voice communication, wherein, first mode is first wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode, and second mode is second wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode; Second wireless module is used for realizing voice communication by the audio coding decoding module transfer that links to each other with bus interface audio frequency peripheral hardware.
Further, second wireless module comprises: first modular converter is used for the analog audio data that bus interface audio frequency peripheral hardware receives is converted to digital audio-frequency data by A/D; First sending module is used for that digital audio-frequency data is sent to the audio coding decoding module and carries out the D/A conversion; Second sending module is used for that second wireless module that the digital audio-frequency data after the conversion is sent to its place is carried out radio frequency and sends.
Further, second wireless module comprises: second modular converter is used for the analog audio data that second wireless module with its place receives and is converted to digital audio and video signals by A/D; The 3rd sending module is used for that digital audio and video signals is sent to the audio coding decoding module and carries out the D/A conversion; The 4th sending module is used for that the digital audio channels after the conversion is sent to bus interface audio frequency peripheral hardware and plays.
Further, bimodule digital mobile communication terminal also comprises: the first command reception module, be used for when the audio physical passage of first module or second module and logical channel are in separated position, receive and corresponding respectively to a plurality of voice applications pattern protocol instruction AT; First sets up module, is used for setting up response channel corresponding and a plurality of voice applications patterns respectively according to AT, and wherein, the voice applications pattern comprises: hand-held, bluetooth, earphone and hands-free; First processing module is used in response channel, will be mapped to the audio frequency parameter that also disposes respectively in the same physical channel corresponding to logical channel from the audio signal of different physical channels.
Bimodule digital mobile communication terminal, bimodule digital mobile communication terminal also comprises: the second command reception module, be used for being in can not separated position the time, receive and correspond respectively to a plurality of voice applications pattern protocol instruction AT in the audio physical passage of first module or second module and logical channel; Second sets up module, is used for setting up response channel corresponding and a plurality of voice applications patterns respectively according to AT, and wherein, the voice applications pattern comprises: hand-held, bluetooth, earphone and hands-free; Second processing module is used in response channel, will be mapped to from the audio signal of different physical channels in the same physical channel and also dispose audio frequency parameter percentage respectively corresponding to the voice applications pattern.
By the present invention, adopt when wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode for not simultaneously, one of them wireless module uses its DeviceMode corresponding to bus interface audio frequency peripheral hardware to carry out voice communication, the another one wireless module is realized voice communication by the single or multiple modules with digital audio processing function (individual module the is generally the audio coding decoding module) transfer that links to each other with bus interface audio frequency peripheral hardware, two wireless modules have been solved in the double-mode digital mobile terminal to wireless device requirement mode when inconsistent, cause wireless module to switch and produce big time delay, the problem that " seamless " that can't realize switches, and then realized the seamless switching of bimodule mobile communication terminal audio frequency, reached the effect that improves the audio frequency switching efficiency.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Present embodiment provides a kind of audio-frequency processing method, and Fig. 1 is the flow chart according to the audio-frequency processing method of the embodiment of the invention, and as shown in Figure 1, this method comprises:
Step S102: when first mode and second mode were inconsistent, first wireless module used first mode to carry out voice communication;
Step S104: second wireless module is realized voice communication by the audio coding decoding module transfer that links to each other with bus interface audio frequency peripheral hardware.
Wherein, first wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode are first mode, second wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode are second mode, and first wireless module and second wireless module are positioned on the same bimodule digital mobile communication terminal.
Pass through above-mentioned steps, in first wireless module and bus interface audio frequency peripheral hardware corresponding equipment pattern and second wireless module and bus interface audio frequency peripheral hardware corresponding equipment pattern not simultaneously, it is consistent with bus interface audio frequency peripheral apparatus pattern to set first module, thereby first wireless module adopt the mutual existing scheme of direct voice data to carry out Audio Processing, second wireless module adopts the audio coding decoding module transfer that links to each other with this bus interface audio frequency peripheral hardware to carry out Audio Processing, two wireless modules have been overcome in the correlation technique in double-mode digital mobile terminal to wireless device requirement mode when inconsistent, cause wireless module to switch and produce big time delay, the problem that " seamless " that can't realize switches, and then realized the seamless switching of bimodule mobile communication terminal audio frequency, reached the effect that improves the audio frequency switching efficiency.
Preferably, below one among the step S104 is preferred embodiment described.The analog audio data that bus interface audio frequency peripheral hardware is received is converted to digital audio-frequency data by analog/digital A/D; Digital audio-frequency data is sent to the audio coding decoding module carries out digital-to-analog D/A conversion; Digital audio-frequency data after the conversion is sent to second wireless module carries out the radio frequency transmission.By this preferred implementation, second wireless module has been realized the processing of upstream tones data.Improved the efficient that upstream tones is switched.
Preferably, below one among the step S104 is preferred embodiment described.The analog audio data that second wireless module is received is converted to digital audio and video signals by A/D; Digital audio and video signals is sent to the audio coding decoding module carries out the D/A conversion; Digital audio channels after the conversion is sent to bus interface audio frequency peripheral hardware to be play.By this preferred implementation, second wireless module has been realized the processing of downstream tones data.Improved the efficient that downstream tones is switched.
Preferably, when the audio physical passage of first wireless module or second wireless module and logical channel are in separated position, said method also comprises: receiving and corresponding respectively to a plurality of voice applications pattern protocol instruction AT (is Attention, be used for the serial protocols instruction that computer is controlled wireless module in the present embodiment, smart mobile phone utilizes it to realize the control of application processing module to wireless module, this AT order is by the USB between application processing module and the wireless module, and concrete interface channel such as UART transmits); Set up response channel corresponding and a plurality of voice applications patterns respectively according to AT, wherein, the voice applications pattern comprises: hand-held, bluetooth, earphone and hands-free; In response channel, will be mapped to the audio frequency parameter that also disposes respectively in the same physical channel corresponding to logical channel from the audio signal of different physical channels.By the preferred embodiment, having only between audio coding module and the wireless module under the situation of a voice-frequency channel, hand-held, bluetooth (directly and wireless module through PCM mutual except), earphone and multiple voice applications pattern such as hands-free all walk same passage.Under the situation that physical channel and logical channel can be divided, realized that the differentiation of multiple audio mode is regulated.
Preferably, the audio physical passage of first wireless module or second wireless module and logical channel are in can not separated position the time, and said method also comprises: receive and correspond respectively to a plurality of voice applications pattern protocol instruction AT; Set up response channel corresponding and a plurality of voice applications patterns respectively according to AT, wherein, the voice applications pattern comprises: hand-held, bluetooth, earphone and hands-free; In response channel, will be mapped to from the audio signal of different physical channels in the same physical channel, and dispose audio frequency parameter percentage respectively corresponding to the voice applications pattern.By the preferred embodiment, having only between audio coding module and the wireless module under the situation of a voice-frequency channel, hand-held, bluetooth (directly and wireless module through PCM mutual except), earphone and multiple voice applications pattern such as hands-free all walk same passage.Under physical channel and the inseparable situation of logical channel, realized that the differentiation of multiple audio mode is regulated.
Preferably, the bus interface audio frequency is made as bluetooth earphone outward; First wireless module and second wireless module are one of following: GSM, code division multiple access CDMA, TD SDMA TD_SCDMA, CDMA2000, Wideband Code Division Multiple Access (WCDMA) WCDMA, Long Term Evolution LTE.By the preferred embodiment, use bluetooth earphone in various wireless standard corresponding audio, to switch easily, improved the flexibility of audio-frequency processing method.
Present embodiment provides a kind of bimodule mobile communication terminal, Fig. 2 is the structured flowchart according to the bimodule digital mobile communication terminal of the embodiment of the invention, as shown in Figure 2, this terminal comprises: first wireless module 22 and second wireless module 24 are elaborated to said structure below.
First wireless module 22 is used for using first mode to carry out voice communication when first mode and second mode are inconsistent; Second wireless module 24, be used for realizing voice communication by the audio coding decoding module transfer that links to each other with bus interface audio frequency peripheral hardware, wherein, first mode is first wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode, and second mode is second wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode.
Fig. 3 is the preferred construction block diagram according to the bimodule digital mobile communication terminal of the embodiment of the invention, as shown in Figure 3, except first wireless module 22 and second wireless module 24, also comprise: the first command reception module 31, first sets up module 32, the first processing modules 33, the second command reception modules 34, second sets up module 35, the second processing modules 36; Wherein, second wireless module 24 comprises: first modular converter, 241, the first sending modules, 242, the second sending modules, 243, the second modular converters, 244, the three sending modules, 245, the four sending modules 246.Below said structure is described in detail:
Second wireless module 24 comprises: first modular converter 241 is used for the analog audio data that bus interface audio frequency peripheral hardware receives is converted to digital audio-frequency data by analog/digital A/D; First sending module 242 is connected to first modular converter 241, is used for that first modular converter, 241 conversion back digital audio-frequency datas are sent to the audio coding decoding module and carries out digital-to-analog D/A conversion; Second sending module 243 is connected to first sending module 242, is used for first sending module 242, is sent to second wireless module that digital audio-frequency data after the audio coding decoding module converts is sent to its place and carries out radio frequency and send.
Second wireless module 24 comprises: second modular converter 244 is used for the analog audio data that second wireless module with its place receives and is converted to digital audio and video signals by A/D; The 3rd sending module 245 is connected to second modular converter 244, is used for that the digital audio and video signals after 244 conversions of second modular converter is sent to the audio coding decoding module and carries out the D/A conversion; The 4th sending module 246 is connected to the 3rd sending module 245, is used for the 3rd sending module 245, is sent to digital audio channels after the audio coding decoding module is changed and is sent to bus interface audio frequency peripheral hardware and plays.
Above-mentioned terminal also comprises: the first command reception module 31 is used for receiving and corresponding respectively to a plurality of voice applications pattern protocol instruction AT when the audio physical passage of second module and logical channel are in separated position; First sets up module 32, be connected to the first command reception module 31, be used for setting up response channel corresponding and a plurality of voice applications patterns respectively according to the AT that the first command reception module 31 receives, wherein, the voice applications pattern comprises: hand-held, bluetooth, earphone and hands-free; First processing module 33 is connected to first and sets up module 32, is used for setting up the response channel that module 32 is set up first, will be mapped to the audio frequency parameter that also disposes respectively in the same physical channel corresponding to logical channel from the audio signal of different physical channels.
Above-mentioned terminal also comprises: the second command reception module 34, be used for being in can not separated position the time in the audio physical passage of second module and logical channel, and receive and correspond respectively to a plurality of voice applications pattern protocol instruction AT; Second sets up module 35, be connected to the second command reception module 34, be used for setting up response channel corresponding and a plurality of voice applications patterns respectively according to the AT that the second command reception module 34 receives, wherein, the voice applications pattern comprises: hand-held, bluetooth, earphone and hands-free; Second processing module 36, be connected to second and set up module 35, be used for setting up the response channel that module 35 is set up, will be mapped to from the audio signal of different physical channels in the same physical channel and also dispose audio frequency parameter percentage respectively corresponding to the voice applications pattern second.
Need to prove that above-mentioned voice applications pattern can further expand, comprise be not limited to hand, bluetooth, earphone and hands-free, can expand to FM, VOIP etc.
Embodiment one
In the present embodiment, a kind of bimodule mobile communication terminal is provided, Fig. 4 is the structured flowchart according to the dual-mode handset of the embodiment of the invention, as shown in Figure 4, this dual-mode handset comprises: application processing module, wireless module A, wireless module B, bluetooth module, audio coding decoding module and and the audio frequency that is attached thereto receive and send electro-acoustic element.Two wireless modules link to each other with bluetooth, audio coding decoding module by analog switch respectively, application processing module is by realizing that to the control of analog switch (application processing module can be an independent hardware entities to the switching of public audio resource to two wireless modules, can be same hardware entities (powerful application processing function is independent of the wireless module of concrete pattern) also with wireless module A or wireless module B), below said structure is described in detail:
This terminal is by wireless module A1, wireless module B2, application processing module (APP) 3, audio coding decoding module (CODEC) 4, bluetooth module (BT) 5, analog switch A6, analog switch B7, hand-held receiver REC8, hand microphone MIC9, headset earpiece REC10, earphone microphone MIC11, power amplifier PA12, loud speaker SPKR13 forms.
Wireless module A1 and wireless module B2 be each self-contained radio frequency and baseband portion all, baseband portion all includes audio codec separately, and that so just can come being switched by analog switch is handled and be modulated to radio frequency then and send from being attached thereto the received audio-frequency information of letter by the audio coding decoding module; Simultaneously, also can handle the audio-frequency information that receives from radio frequency and demodulation is amplified after the analog switch switching is further delivered to the receiver broadcast by the audio coding decoding module.
Application processing module (APP) 3 is responsible for handling the relevant function of intelligent use, specific to audio frequency this part, then be to be responsible for the control audio coding/decoding module between two wireless modules, and bluetooth module switch between two wireless modules and processing accordingly.This switching is actual to be to be undertaken by analog switch A6 and the analog switch B7 that controls on its passage.
Only have only a data channel (also can be differential pair) between audio coding decoding module and wireless module, this feasible between the two analog switch B7 is from specifically quantitatively only satisfying the switching requirement with an analog switch (words of differential pair just need to increase an analog switch or the more multichannel analog switch of employing).
Audio coding decoding module (CODEC) 4 is responsible for receiving and send audio-frequency information to the receiver in the external world and microphone and simply process mutual with wireless module on the one hand to these information again, be connected with application processing module (APP) 3 by the I2S data wire on the other hand, realize such as functions such as streaming media playing, recording.
Bluetooth module (BT) 5 can receive/send the bluetooth earphone audio-frequency information on the one hand by wireless mode, these audio-frequency informations are by PCM (Pulse Code Modulation then, pulse code modulation) path switches to different wireless modules via analog switch A6, also can pass through HCI (Host Controller Interface on the other hand, host controller interface, can be USB, UART, RS232 (one of communication interface on the personal computer, by Electronic Industries Association's (ElectronicIndustries Association, asynchronous transmission standard interface of EIA) being formulated) interface one of them) passage realizes that information interaction with application processing module realizes data function such as biography mutually.
Hand-held receiver REC8, the up-downgoing voice frequency terminal of the corresponding hand-held audio frequency of hand microphone MIC9.
Headset earpiece REC10, and the up-downgoing voice frequency terminal of the corresponding earpiece audio of achievement microphone MIC11.
Power amplifier PA12, the downstream tones terminal of the corresponding hands-free audio of loud speaker SPKR13.
Above-mentioned voice frequency terminal all is connected to audio coding decoding module (CODEC) 4.
Embodiment two
A kind of bimodule mobile communication terminal is provided in the present embodiment, present embodiment combines the foregoing description and preferred implementation wherein, in the present embodiment, master slave mode was inconsistent when two wireless modules switched to bluetooth module under application processing module control, this changing method comprises: when two modules are inconsistent at the master-slave equipment mode of bluetooth, one of them wireless module can by normal DeviceMode path (by main equipment or slave unit all can) go to realize and the communicating by letter of bluetooth that a wireless module in addition carries out Audio Processing by other audio path.
According to two wireless modules among Fig. 4 with respect to the raise the price annexation of decoder module and bluetooth module of application processing module, audio frequency, extract the path that to realize Bluetooth audio frequency passage concrete under the Bluetooth communication situation when one of them wireless module by normal device path, Fig. 5 is the Bluetooth audio frequency access diagram according to the embodiment of the invention, as shown in Figure 5:
Fig. 5 is used and is handled processing module (APP) 2 by bluetooth module (BT) 1, audio coding decoding module (CODEC) 3, and wireless module A4, wireless module B5 forms.Provided bluetooth earphone 6 in addition, it links to each other with bluetooth module by wireless mode.
Setting wireless module B5 is can the normal device path and the module of Bluetooth communication, and it directly links to each other with bluetooth module by the PCM passage, realizes receiving and transmission Bluetooth audio frequency information.
Setting wireless modules A 4 is can not the normal device path and the module of Bluetooth communication, and it is connected with bluetooth module then realizes by application processing module and the transfer of audio coding decoding module.
Embodiment three
A kind of audio-frequency processing method is provided in the present embodiment, present embodiment combines the foregoing description and preferred implementation wherein, bluetooth upstream tones processing method is provided in the present embodiment, Fig. 6 is the flow chart according to the bluetooth upstream tones processing method of the embodiment of the invention, as shown in Figure 6, this method comprises:
Step S602: bluetooth earphone pick up into analogue audio frequency receive inside, back through bluetooth module and carry out A/D (analog to digital) conversion, become digital audio-frequency data (pcm audio stream);
Step S604: the digital audio-frequency data of bluetooth module (BT) 7 transmits (being used for application processing module originally to the bluetooth module control information transmission) by the HCI passage to application processing module (APP) 2, store the DSP (Digital Signal Processor, digital signal processor) of application processing module inside into;
Step S606: Bluetooth audio frequency processing threads application application processing module DSP resource, the digital audio-frequency data of DSP is transferred to the audio coding decoding module through I2S data wire (being the passage that is used for streaming media playing originally);
Step S608: the audio coding decoding module is carried out digital-to-analog (D/A) conversion to digital audio-frequency data;
Step S609: simulated audio signal is delivered to and is sent by radio frequency after wireless module is delivered to the inner baseband portion processing of wireless module via Audio Data Line.
Embodiment four
A kind of audio-frequency processing method is provided in the present embodiment, present embodiment combines the foregoing description and preferred implementation wherein, bluetooth upstream tones processing method is provided in the present embodiment, Fig. 7 is the flow chart according to the bluetooth downstream tones processing method of the embodiment of the invention, as shown in Figure 7, this method comprises:
Step S702: the audio signal that the wireless module radio frequency receives is handled after send to the audio coding decoding module by Audio Data Line through the demodulation amplification and through inner baseband portion.
Step S704: analog/digital (A/D) conversion is carried out in audio coding decoding module (CODEC) 3 inside, and the simulated audio signal that receives from wireless module is changed into digital audio and video signals.
Step S706: the digital audio-frequency data of audio coding decoding module (CODEC) 3 is transferred to the data buffer zone of opening up specially application processing module (APP) 2 inside through the I2S data wire and stores (the piecemeal packing that will carry out modest size to voice data is handled), is equivalent to Recording Process.
Step S708: the voice data of bluetooth conversation thread dispatching application processing module (APP) 2 internal data buffer stores, transmit to bluetooth module (BT) 1 by the HCI passage;
Step S709: carry out digital-to-analog (D/A) conversion at inner digital audio and video signals that receives of bluetooth module, and launch through Bluetooth RF, receiver reception and broadcast by bluetooth earphone are equivalent to the replayed section of recording.
Above-mentioned processing procedure because the path is longer, is guaranteeing real-time in wireless module A side, and it is smooth and easy to converse, and aspects such as the processing of acoustical quality are particularly crucial.The core process of this processing method is to carry out at application processing module, particularly aspect the real-time processing of bluetooth downstream tones, need to consider meticulously each by the size of audio coding decoding module stores to the packets of audio data of application processor, Bao Taixiao can cause recording, and playback sound overlaps and ambiguous, wraps the too conference playback that causes recording and obviously postpones or pause.
Embodiment five
A kind of audio-frequency processing method is provided in the present embodiment, present embodiment combines the foregoing description and preferred implementation wherein, the audio physical passage of the embodiment of the invention and wireless module that logical channel can be divided response AT is provided command handling method in the present embodiment, Fig. 8 is the wireless module response AT command handling method flow chart that can divide according to the audio physical passage of the embodiment of the invention and logical channel, as shown in Figure 8, this method comprises:
Step S802: the AT order of each concrete voice applications pattern of correspondence of sending at application processing module (hand-held, bluetooth, earphone and hands-free etc.), the wireless module side is set up separately independently response channel (subprogram, function or conditional statement etc.);
Step S804:, original different separately physical channel is mapped to same physical channel (normally the physical channel of hand-held call mode will prevent potential conflict in the mapping process) separately independently in the response channel;
Step S806: logical channel is still discrete logical channel separately, disposes corresponding audio frequency parameter table according to concrete separately logical channel.
Need to prove that this logical channel can not be original configuration mode, can also reconfigure according to concrete voice applications pattern.
Embodiment six
A kind of audio-frequency processing method is provided in the present embodiment, present embodiment combines the foregoing description and preferred implementation wherein, the audio physical passage and the inseparable wireless module response of the logical channel AT command handling method of the embodiment of the invention are provided in the present embodiment, Fig. 9 is according to the audio physical passage of the embodiment of the invention and the inseparable wireless module response of logical channel AT command handling method schematic diagram, as shown in Figure 9, this method comprises:
Step S902:, set up separately independently response channel (subprogram, function or conditional statement etc.) at each concrete AT order;
Step S904: separately independently in the response channel, original different separately physical channel all being changed (because physics and logical channel can not be peeled off mutually, can only pass through the method for change rather than mapping) is same physical channel (the normally physical channel of hand-held call mode);
Step S906: adopt common audio frequency parameter table, determine the audio frequency parameter percentage of different sizes according to concrete voice applications pattern.
In this case, because physics and logical channel are inseparable, audio frequency parameter can only have a cover so, just must call the common parameter of this cover by the mechanism of a cover establishment different weight percentage under the at this moment different voice applications patterns and realize the differentiation processing.
Need to prove, multiple voice applications mode map or be changed to same physical channel, can't cause the conflict between these application models, this is because hand-held, bluetooth, hands-free, application models such as earphone are mutual exclusions using when opening, promptly use the other pattern of wherein a kind of pattern just can not use (angle of using from the user see also really like this), that is to say that each voice applications pattern avoided this conflict by the shared same physical channel of timesharing.
By the foregoing description five and embodiment six, can see, order and hand by send out AT to each wireless module at application processing module, bluetooth, when earphone and multiple voice applications mode switch such as hands-free, owing to the audio physical path that has only between audio coding decoding module and the wireless module, and wireless module for different systems, when the concrete AT order that the response application processing module is sent at different call modes, often exist audio physical passage and logical channel can divide the concrete voice applications mode switch difficult problem that causes with inseparable difference, obtain effective differentiation and handled, realized the actual effect of switching.
In sum, pass through the foregoing description, a kind of audio-frequency processing method and bimodule digital mobile communication terminal are provided, by working as wireless module and bus interface audio frequency peripheral hardware corresponding equipment mode for not simultaneously, one of them wireless module uses its DeviceMode corresponding to bus interface audio frequency peripheral hardware to carry out voice communication, the another one wireless module is realized voice communication by the audio coding decoding module transfer that links to each other with bus interface audio frequency peripheral hardware, two wireless modules have been solved in the double-mode digital mobile terminal to wireless device requirement mode when inconsistent, cause wireless module to switch and produce big time delay, the problem that " seamless " that can't realize switches has solved simultaneously when two wireless modules of dual-mode handset switch to bluetooth module under application processing module is controlled and can't switch the problem of having only single one physical passage and differentiation audio frequency adjusting difficulty with multitone frequency application model in real time because of inconsistent causing of master slave mode.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.