CN101854705B - Audio switching method, audio switching device, audio codec and terminal device - Google Patents

Audio switching method, audio switching device, audio codec and terminal device Download PDF

Info

Publication number
CN101854705B
CN101854705B CN2009100809636A CN200910080963A CN101854705B CN 101854705 B CN101854705 B CN 101854705B CN 2009100809636 A CN2009100809636 A CN 2009100809636A CN 200910080963 A CN200910080963 A CN 200910080963A CN 101854705 B CN101854705 B CN 101854705B
Authority
CN
China
Prior art keywords
processor
audio
interface
switching controls
audio input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009100809636A
Other languages
Chinese (zh)
Other versions
CN101854705A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2009100809636A priority Critical patent/CN101854705B/en
Publication of CN101854705A publication Critical patent/CN101854705A/en
Application granted granted Critical
Publication of CN101854705B publication Critical patent/CN101854705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the invention relates to an audio switching method, an audio switching device, an audio codec and a terminal device. The audio switching method comprises the following steps of: receiving a switching control message transmitted by a first processor; and switching an audio input channel or an audio input channel and a control channel to a channel connected with the first processor or a second processor according to the switching control message. The audio codec comprises a first audio input interface, a second audio input interface and the audio switching device, wherein the first audio input interface is used for supporting an audio interface on a non-embedded system; the second audio input interface is used for supporting the audio interface on an embedded system; and the audio switching device is used for receiving the switching control message transmitted by the first processor through the first audio input interface and switching the audio input channel or the audio input channel and the control channel to the channel connected with the first processor or the second processor according to the switching control message. By using the switching method, the switching device and the codec, the cost is saved and the power consumption of the terminal device is reduced.

Description

Audio switching method, Audio conversion equipment, audio codec and terminal equipment
Technical field
The present invention relates to mobile communication technology, particularly a kind of audio switching method, Audio conversion equipment, audio codec and terminal equipment.
Background technology
The mixed architecture of intelligent terminal (Smart Portable Device) adopts application processor (AP usually, Application Processor) and communication processor (CP, Communications Processor) framework, communication processor is as the ancillary equipment of application processor, and the interface that passes through to fix links to each other with application processor.Described communication processor mainly is responsible for communication, and application processor mainly is responsible for calculating relevant function.
At present, for the calculus communication system under the mixed architecture and audio frequency processing system, two kinds of implementations are arranged usually:
The first scheme is, application processor and communication processor share a cover audio frequency processing system under this mixed architecture, audio frequency processing system mainly comprises shared audio codec, microphone (MIC, microphone), loud speaker and receiver etc., audio frequency processing system is controlled by AP, and CP needs to receive the related content notice AP of audio frequency, by AP control audio codec, realize the functions such as voice-frequency telephony.But the shortcoming of this scheme is: AP can not shut down, can only standby, can often be changed by CP during standby awake, relatively power consumption, and CP is when the AP standby, control audio frequency processing system that can not be freely.
First scheme is: AP and CP have separately and overlap independently audio frequency processing system, and AP and CP can independently control audio frequency processing system according to user's request, realize the functions such as voice-frequency telephony.But this scheme takes up room greatly, and cost is relatively also high.
In the research and practice process to prior art, the present inventor finds, in the existing implementation, for the first scheme, is controlled by AP owing to audio frequency processing system, as long as there is phone to come in just must wake AP up, power consumption is larger; And for first scheme, because AP and CP have separately and overlap independently audio frequency processing system, not only cost is high, and the space that takies is large, and power consumption is also large.
Summary of the invention
The embodiment of the invention provides a kind of audio switching method, Audio conversion equipment, audio codec and terminal equipment, to save the power problems of cost, reduction terminal equipment.
For solving the problems of the technologies described above, the present invention is that embodiment provides a kind of audio switching method, comprising:
Receive the switching controls message that first processor sends;
According to described switching controls message, with audio input channel, perhaps audio input channel and control channel are switched on the passage that links to each other with first processor or the second processor.
The present invention is that embodiment also provides a kind of Audio conversion equipment, comprising:
Receiving element is used for receiving the switching controls message that first processor sends;
Switch unit, for the switching controls message that receives according to described receiving element, with audio input channel, perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel.
The present invention is that embodiment provides a kind of audio codec again, comprising:
The first audio input interface is for the audio interface of supporting in the non-embedded system;
The second audio input interface is used for the audio interface on the support embedded system;
Audio conversion equipment be used for receiving the switching controls message that first processor sends, and according to described switching controls message, with audio input channel, perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel; And when receiving audio signal that described first processor sends and control signal by the first audio input interface, carry out corresponding audio frequency control operation according to described audio signal and control signal; When perhaps receiving transmission audio signal that described the second processor sends and control signal by the second audio input interface, carry out corresponding audio frequency control operation according to described audio signal and control signal.
The present invention is another terminal equipment of embodiment, comprising: first processor, the second processor and audio codec, wherein,
Described first processor is used for according to user's request or before entering resting state, sends switching controls message to audio codec;
Described the second processor, be used for receive first processor send enter the notice of resting state after, send the audio frequency control operation to audio codec;
Described audio codec, be used for receiving the switching controls message that first processor sends, and according to described switching controls message, with audio input channel, perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel; When the audio signal that receives described first processor transmission and control signal, carry out corresponding audio frequency control operation according to described audio signal and control signal.
As shown from the above technical solution, the embodiment of the invention sends the control message that switches according to first processor, and with audio input channel, perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel.That is to say, when the normal standby of first processor, audio frequency is processed and can be controlled by first processor, if after first processor entered resting state or first processor shutdown, audio frequency was processed and can be controlled by the second processor.Therefore, in the implementation process of this technical scheme, in first processor shutdown situation, the second processor can carry out the control that audio frequency is processed freely, compared with prior art, has not only reduced the cost of terminal equipment, also save the electric weight of terminal equipment, reduce the power consumption of terminal equipment.
Description of drawings
The flow chart of the audio switching method that provides in the embodiment of the invention is provided Fig. 1;
A kind of flow chart of the audio switching method that provides in the embodiment of the invention is provided Fig. 2;
The particular flow sheet of the audio switching method that provides in the embodiment of the invention is provided Fig. 3;
The structural representation of the Audio conversion equipment that provides in the embodiment of the invention is provided Fig. 4;
The structural representation of the terminal equipment that provides in the embodiment of the invention is provided Fig. 5;
The structural representation of the concrete application example 1 of the terminal equipment that provides in the embodiment of the invention is provided Fig. 6;
The structural representation of the concrete application example 2 of the terminal equipment that provides in the embodiment of the invention is provided Fig. 7;
The structural representation of the concrete application example 3 of the terminal equipment that provides in the embodiment of the invention is provided Fig. 8.
Embodiment
Below we in connection with accompanying drawing, optimum implementation of the present invention is described in detail.
See also Fig. 1, the flow chart of the audio switching method that provides in the embodiment of the invention is provided, the present embodiment is take audio codec as example, and described method comprises:
Step 101: receive the switching controls message that first processor sends;
Step 102: according to described switching controls message, with audio input channel, perhaps audio input channel and control channel are switched on the passage that links to each other with first processor or the second processor.
Wherein, the switching controls message of described reception first processor transmission comprises: receive the switching controls message that described first processor sends by the switching controls interface; Specifically comprise:
Directly receive the switching controls message that described first processor sends by the switching controls interface; Perhaps, receive the switching controls message that first processor sends by switchgear control switching controls interface, described switchgear is controlled by Power Management Unit; Perhaps, the connected mode control switching controls interface by resistance receives the switching controls message that described first processor sends.
Wherein, described first processor can comprise: application processor, and the second processor can comprise: communication processor; Perhaps described first processor can comprise: communication processor, and the second processor can comprise: application processor; But be not limited to this.
The specific implementation process of this embodiment sees for details following.
See also Fig. 2, a kind of flow chart of the audio switching method that provides in the embodiment of the invention is provided, the present embodiment is take audio codec as example, in this embodiment, first processor is with application processor AP, and the second processor illustrates as an example of communication processor CP example, when being not limited to this.
Described method specifically comprises:
Step 201: audio codec receives application processor AP and sends the control message that switches;
That is to say, after the AP start, can send the control message that switches to audio codec according to user's request, certainly, AP also can when receiving the notice of CP transmission communication, send the control message that switches to audio codec; Perhaps AP sends the control message that switches to audio codec before entering resting state; But be not limited to described situation, audio codec can receive AP by the switching controls interface and send the control command of switching.Need to prove, audio codec except the switching controls interface,, the interface that can also comprise other, such as HD Audio interface (HD Audio interfaceprocessor), I2S or pulse code modulation (PCM, Pulse Code Modulation) interface etc., wherein, the HD Audio interface claims again data audio frequency and control interface, lower same, the present embodiment is not restricted.
Step 202: audio codec is according to described control message, and with audio input channel, perhaps audio input channel switches on the passage that links to each other with AP or CP with control channel.
That is to say, behind the audio codec described control message that AP sends in receiving step 101, according to the content of described control message, with audio input channel, perhaps audio input channel switches on the passage that links to each other with AP or communication processor CP with control channel.Such as, in the control message that receives, comprise describedly according to user's request or when carrying out on the AP audio frequency associative operation, then audio codec is with on the passage that audio input channel switches to AP links to each other; Comprise in the control message that receives that perhaps described AP enters resting state or receives CP when sending communication notifications, then audio codec switches to audio input channel and control channel on the passage that links to each other with communication processor CP.But be not limited to this, can according to actual conditions, carry out respective audio and process.
After step 202, described method also comprises:
After on the passage that described audio input channel switches to AP links to each other, AP can send audio signal and control signal to the HD Audio interface of audio codec; When described audio codec receives audio signal that AP sends and control signal, then carry out corresponding audio frequency control operation according to described audio signal and control signal, play, recording, adjust the size of volume etc. such as audio frequency; Perhaps
After on the passage that described audio input channel and control channel switch to CP links to each other; CP can be to pcm interface or I2S interface or AC97 interface transmission audio signal and the control signal of audio codec, when described audio codec receives audio signal that CP sends and control signal, then carry out corresponding audio frequency control operation according to described audio signal and control signal, play, record, adjust the size of volume etc. such as audio frequency.
Preferably, when the shutdown of terminal equipment primary processor (being the AP shutdown), perhaps after terminal equipment moves a period of time, when shutting down, audio frequency processing system (can comprise audio codec, loud speaker, receiver and microphone etc.) all can be defaulted as audio input channel and control channel and be connected on the CP, that is to say, under this pattern, processed by the audio frequency of CP control terminal.
Hence one can see that, in the embodiment of the invention, if the normal standby of AP is then processed by the audio frequency of AP control terminal; In the situation that the AP shutdown can be processed by the audio frequency of CP control terminal, to reach the purpose of power saving; Be in resting state and when incoming call was arranged, CP need not to wake up AP at AP, directly it carried out audio frequency control.In addition, because although AP and CP share a cover audio frequency processing system (comprising audio codec, loud speaker, receiver and microphone etc.), area occupied is little, and cost is lower, and audio codec can switch accordingly according to the switching controls message that receives, compared with prior art, not only reduce the cost of terminal equipment, also reduced the power consumption of terminal equipment.
Also see also Fig. 3, the particular flow sheet of the audio switching method that provides in the embodiment of the invention is provided, in this embodiment, first processor is still with AP, and the second processor is still take CP as example, and AP is as the primary processor of terminal equipment, otherwise also can realize.In the present embodiment, when AP shut down, audio frequency processing system is defaulted as audio input channel and control channel is connected on the CP, was namely processed by CP control audio frequency.Described method comprises:
Step 301: terminal equipment judges whether AP starts shooting, if start, execution in step 302; Otherwise execution in step 322;
Step 302:AP is according to user's request, and the audio codec in audio frequency processing system sends switching controls message;
In this step, AP can send switching controls message to the switching controls interface in the audio codec, certainly, also can send switching controls message by other interfaces of audio codec.The embodiment of the invention is not restricted.
Certainly, after the AP start, communicate by the particular interface between AP and the CP, do not show in the figure.
Step 303: audio codec is according to the switching controls message that receives, on the passage that audio input channel switches to AP links to each other;
Step 304:AP adjusts the required audio status parameter of user by audio input channel;
Such as receiving audio signal and the control signal that AP sends by the HD Audio interface, carry out corresponding audio frequency control operation etc. according to described audio signal and control signal.
Step 305: when the user called, AP directly carried out and dials operation, and execution in step 309 afterwards;
Step 306: when having telephone access, namely CP receives phone;
Step 307:CP sends the notice of communication to AP;
Step 308:AP carries out and answers operation;
Step 309:AP sends switching controls message to the switching controls interface of audio codec;
Step 310: audio codec is according to the switching controls message that receives, on the passage that audio input channel switches to CP links to each other;
Step 311:CP adjusts the required audio status parameter of user by audio input channel;
Such as, receive audio signal and the control signal that CP sends by pcm interface, I2S interface or AC97 interface, carry out corresponding audio frequency control operation etc. according to described audio signal and control signal.
Step 312:CP judges whether described voice communication is finished, if then execution in step 313; Otherwise return step 311 (not shown);
Step 313:CP judges whether AP is in resting state, if not, and execution in step 314; If return step 311 (not shown)
Step 314:CP sends the notice that communication is finished to AP;
Step 315:AP sends switching controls message to audio codec;
Step 316: audio codec is with on the passage that audio input channel switches to AP links to each other;
Step 317:AP adjusts the required audio status parameter of user by audio input channel;
Step 318: terminal equipment judges when whether AP will enter park mode, if, execution in step 319 and 320 then, otherwise, execution in step 317 (not shown), wherein, step 319 and step 320 do not have sequencing in time;
Step 319:AP sends the notice that it enters resting state to CP before the access park mode;
Step 320:AP sends switching controls message to audio codec;
Step 321:AP to audio codec with on the passage that audio input channel and control channel switch to AP links to each other;
Step 322:CP adjusts the required audio status parameter of user by audio input channel, such as audio frequency broadcast, recording etc., and the operations such as size of controlling volume by control channel.
That is to say, audio codec in embodiments of the present invention is an audio codec with multiple audio interface, and the audio codec in the embodiment of the invention is supported two audio input interfaces at least.One of them supports audio interface commonly used in the non-embedded system, such as the HD Audio interface; And another supports audio interface commonly used on embedded system, such as I2S/PCM interfaceprocessor/AC97 interface etc.The characteristics of described two audio interface satisfy this audio codec and can be connected with AP and/or these two systems of CP simultaneously; Utilize the audio codec that has the dual-audio interface described in the embodiment of the invention, AP can link to each other with audio codec according to the interface characteristic of oneself with CP, simultaneously, AP to audio codec except having standard interface (such as the HD Audio interface), be used for transmitting outside the control signal of switching, also have the mutually special interface of intercommunication between AP and the CP.Terminal equipment is when start, and audio frequency processing system is defaulted as CP control audio operation, and namely the audio input channel of audio frequency processing system links to each other with CP.Certainly, when AP was off-mode, CP also can finish audio operation, play the functions such as recording such as simple audio frequency.When the user needs more powerful computing function, need to start AP, after AP starts, then send switch-over control signal to audio codec, the audio input channel of control audio frequency processing system switches to the passage that AP is attached thereto.After finishing this operation, the user can arbitrarily use the relevant function of audio frequency of AP end, such as, user can music playing etc. operation; When having telephone access, CP notifies AP, and after AP had notice, audio frequency input and the control channel of sending switch-over control signal control audio frequency processing system switched to the passage that links to each other with CP, when phone is finished, if AP is not in park mode, switch again.Before AP entered park mode, audio frequency input and the control channel of sending control signal control audio frequency processing system switched to the passage that links to each other with CP; When the user initiatively calls, AP also will send and switch message, and audio frequency input and the control channel of control audio frequency processing system switch to the passage that links to each other with CP, when phone is finished, if AP is not in park mode, switch again.
Certainly, described first processor is CP, and when the second processor was AP, the specific implementation process of described method and described first processor were AP, and the process when the second processor is CP is similar, specifically sees for details above-mentionedly, does not repeat them here.
Accordingly, the embodiment of the invention also provides a kind of Audio conversion equipment, and its structural representation sees Fig. 4 for details, described Audio conversion equipment comprises: receiving element 41 and switch unit 42, wherein, described receiving element 41 is used for receiving the switching controls message that first processor sends; Described switch unit 42, for the switching controls message that receives according to described receiving element 41, with audio input channel, perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel.Described switch unit 42 can be realized by the three-phase diverter switch, also begins to be realized by other element, and the present embodiment is not restricted.
Preferably, described receiving element 41 can receive the switching controls message that first processor sends by the switching controls interface, also can send by other interface switching controls message, and the embodiment of the invention does not limit.
Wherein, described receiving element 41 specifically comprises: the first receiving element 411, the second receiving element 412 or the 3rd receiving element 413; Wherein, described the first receiving element 411 is used for directly receiving the switching controls message that described first processor sends by the switching controls interface; Described the second receiving element 412 is used for receiving the switching controls message that first processor sends by switchgear control switching controls interface, and described switchgear is controlled by Power Management Unit; Described the 3rd receiving element 413 is used for receiving the switching controls message that described first processor sends by the connected mode control switching controls interface of resistance.Wherein, the second receiving element and the 3rd receiving element dot respectively among this Fig. 5.
Wherein, described switch unit 42 comprises: the first switch unit 421 and the second switch unit 422, wherein, described the first switch unit 421, be used for first receive unit 411, second receive switching controls message that unit 412 or the 3rd receiving element 413 receive comprise described according to user's request, on the passage that audio input channel switches to first processor links to each other; Described the second switch unit 422 when being used for receiving element 41 and receiving first processor and enter the switching controls message that sends before the resting state, then switches to audio input channel and control channel on the passage that links to each other with the second processor.
Preferably, described Audio conversion equipment also comprises: the audio frequency control unit, be used for the first switch unit with the passage that described audio input channel switches to first processor links to each other on after, when receiving transmission audio signal that first processor sends and corresponding control signal by the HD Audio interface, carry out corresponding audio frequency control and operate; Perhaps be used for after the second switch unit switches to described audio input channel and control channel on the passage that links to each other with the second processor, when the control signal in the transmission audio signal that receives the transmission of the second processor by pcm interface, I2S interface or AC97 interface and correspondence, carry out corresponding audio frequency control operation.
Preferably, described Audio conversion equipment also comprises: the default setting unit is used for when the first processor shutdown of terminal equipment audio input channel and control channel being switched on the passage that links to each other with the second processor.
Preferably, described Audio conversion equipment can be integrated on the audio codec.
In the present embodiment, when described first processor was AP, second was treated to CP; Otherwise when first processor was CP, the second processor was AP, but is not limited to this.
The implementation procedure of the function and efficacy of unit sees implementation procedure corresponding in the said method for details in the described Audio conversion equipment, does not repeat them here.
The embodiment of the invention also provides a kind of audio codec, comprises at least: the first audio input interface, the second audio input interface and Audio conversion equipment, and wherein, described the first audio input interface is for the audio interface of supporting in the non-embedded system; Described the second audio input interface is used for the audio interface on the support embedded system; Described Audio conversion equipment, be used for receiving the switching controls message of supporting that non-embedded system first processor sends by the first audio input interface, and according to described switching controls message, with audio input channel, perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel; And when receiving audio signal that described first processor sends and control signal by the first audio input interface, carry out corresponding audio frequency control operation according to described audio signal and control signal; When perhaps receiving transmission audio signal that described the second processor sends and control signal by the second audio input interface, carry out corresponding audio frequency control operation according to described audio signal and control signal.
Wherein, described the first audio input interface is the HD Audio interface; The second audio input interface is pulse code modulation pcm interface or I2S interface or AC97 interface etc.
In the present embodiment, when described first processor was AP, second was treated to CP; Otherwise when first processor was CP, the second processor was AP, but is not limited to this.
The implementation procedure of the function and efficacy of unit sees implementation procedure corresponding in the said method for details in the Audio conversion equipment of described audio codec, does not repeat them here.
In addition, the embodiment of the invention also provides a kind of terminal equipment, and its structural representation sees Fig. 5 for details, and described terminal equipment comprises: first processor 51, the second processor 52 and audio codec 53, described audio codec 53 comprises Audio conversion equipment 531.Wherein, described first processor 51 is used for according to user's request or before entering resting state, sends switching controls message to audio codec; Described the second processor 52, be used for receive first processor 51 send enter the notice of resting state after, send audio frequency control operation (among the figure shown in the dotted line) to audio codec; Described Audio conversion equipment 531, be used for receiving the switching controls message that non-embedded system first processor sends, and according to described switching controls message, with audio input channel, perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel; When the audio signal that receives described first processor transmission and control signal, carry out corresponding audio frequency control operation according to described audio signal and control signal; Perhaps when the transmission audio signal that receives described the second processor transmission and control signal, carry out corresponding audio frequency control operation according to described audio signal and control signal; Described Audio conversion equipment 531 specifically comprises: the first audio input interface, the second audio input interface and Audio conversion equipment, its concrete function and effect see for details above-mentioned, do not repeat them here.
Preferably, described the first audio input interface is the HD Audio interface; The second audio input interface is pulse code modulation pcm interface or I2S interface or AC97 interface etc.
In the present embodiment, when described first processor was AP, second was treated to CP; Otherwise when first processor was CP, the second processor was AP, but is not limited to this.
The implementation procedure of the function and efficacy of unit sees implementation procedure corresponding in the said method for details in the Audio conversion equipment of described audio codec, does not repeat them here.
For the ease of those skilled in the art's understanding, the below illustrates with concrete Application Example.
See also Fig. 6, the structural representation of the application example 1 of the terminal equipment that provides in the embodiment of the invention is provided; In this embodiment, terminal equipment comprises: application processing system 61, communication processing system 62, communication wireless processing unit 621, audio frequency processing system 63 can comprise also in the terminal equipment that bluetooth 64 is as audio frequency or data transfer mode.Wherein, application processing system 61 comprises AP; Comprise CP in the communication processing system 62, comprise audio codec in the audio frequency processing system 63, described audio codec can comprise Audio conversion equipment, the switch unit of this Audio conversion equipment is realized switching with a three-phase diverter switch, but be not limited to this, its concrete implementation procedure comprises:
When terminal equipment was only opened CP, the audio input channel of audio codec was given tacit consent on CP; When the user opens AP, and during the operation that the audio frequency that execution AP controls is correlated with, the AP then switching controls interface of the audio codec in the audio frequency processing system 63 (can realize by the three-phase diverter switch, but be not limited to this, being about to the three-phase diverter switch is communicated with AP) the transmission switch-over control signal, audio codec is after receiving switch-over control signal, on the passage that audio input channel switches with AP links to each other, can be by the relevant operation of audio frequency of control audio input channel completing user, namely receive audio signal and the control signal that CP sends by the HD Audio interface, according to the loud speaker 631 in described audio signal and the control signal control audio frequency processing system 63, receiver 632 and microphone 633 are finished the audio frequency input and output, and the audio status parameter is such as the operations such as size of control volume; At this moment, if have telephone access in the time of maybe will calling, then CP sends communication notifications to AP, AP is after receiving this communication notifications, suspend the audio file operation of AP end, switching controls interface to audio codec sends switch-over control signal, after audio coder receives switching controls number, to (namely realize by the three-phase diverter switch on the passage that audio input channel switches with CP links to each other, the three-phase diverter switch is communicated with CP), CP adjusts the required audio status parameter of user by audio input channel; Be that pcm interface, I2S interface or AC97 interface receive audio signal and the control signal that CP sends, then finish the audio frequency input and output according to loud speaker 631, receiver 632 and microphone 633 in described audio signal and the control signal control audio frequency processing system 63, and the audio status parameter is such as the operations such as size of control volume.When sign off, if CP judges that AP is not in resting state, then send the notice that communication is finished to AP, AP notification audio codec is with on the passage that audio input channel switches to AP links to each other, if the user has the relevant operation of audio frequency then to recover before the conversation.Before AP is entering resting state, send switch-over control signal to audio codec, after audio codec is received this switch-over control signal with audio frequency, on the passage that audio input channel and control channel switch to CP links to each other, AP adjusts the required audio status parameter of user by audio input channel, finishes audio operation such as loud speaker 631, receiver 632 and microphone 633 in the control audio frequency processing system 63.
Also see also Fig. 7, the structural representation of the application example 2 of the terminal equipment that provides in the embodiment of the invention is provided; This embodiment is on the basis of Fig. 6, can also comprise resistance 81 (being R1), resistance 82 (being R2), in terminal equipment and the above-mentioned application example 1 in the terminal equipment difference of the implementation procedure of unit comprise: the three-phase diverter switch switching controls in the present embodiment, can be controlled by application processing system or communication processing system, during specific implementation, can be AP, also can be CP.That is to say, if AP sends switching controls message to the switching controls interface by R1, then the control of three-phase diverter switch is at AP; If CP sends switching controls message to the switching controls interface by R2, then the control of three-phase diverter switch is at CP; Other implementation procedure sees above-mentioned Application Example 1 for details, does not repeat them here.
Also see also Fig. 8, the structural representation of the application example 3 of the terminal equipment that provides in the embodiment of the invention is provided; This embodiment can also comprise switchgear 81 on the basis of Fig. 6, this switchgear the present embodiment is take the three-phase diverter switch as example, but be not limited to this, the implementation procedure of the implementation procedure of this terminal equipment and above-mentioned application example 1 is similar, and its difference is, comprising:
Three-phase diverter switch in the audio codec can dynamically be controlled by switchgear by Power Management Unit PMU, and namely by PMU output control signal, the control of the three-phase diverter switch in the control switch equipment is responsible for still by CP by AP.The implementation procedure of other implementation procedure and Application Example 1 is similar not to be repeated them here.
This shows, in embodiments of the present invention, if the normal standby of first processor is then processed by the audio frequency of first processor control terminal; In the situation that first processor shuts down or is in resting state, can be processed by the audio frequency of the second processor control terminal, to reach the purpose of power saving; Be in resting state and when incoming call was arranged, the second processor need not to wake up first processor at first processor, directly it carried out audio frequency control.In addition, in embodiments of the present invention, owing to will integrate for the audio frequency processing system of first processor and the second processor service, audio codec receives the switching controls message that first processor sends by the audio frequency control interface, and according to described switching controls message, audio input channel and control channel are switched on the passage that links to each other with first processor or the second processor, thereby make first processor or the second processor adjust the required audio status parameter of user by audio input channel, and finish corresponding audio operation, perhaps in the situation that the first processor shutdown, can adjust the required audio status parameter of user by audio input channel by the second processor, and finish corresponding audio operation.This shows, the embodiment of the invention compared with prior art, not only reduced area occupied, reduced cost, particularly when first processor is in resting state, when the second processor receives incoming call, need not to wake up first processor, can control voluntarily user's audio frequency processing, thereby save the electric weight of terminal equipment, thereby reduce the power consumption of terminal equipment.
Through the above description of the embodiments, 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, based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (17)

1. an audio switching method is characterized in that, comprising:
Receive the switching controls message that first processor sends;
According to described switching controls message, audio input channel is switched on the passage that links to each other with the second processor, perhaps
Audio input channel and control channel are switched on the passage that links to each other with first processor or the second processor;
Wherein, described first processor comprises: application processor, and the second processor comprises: communication processor; Perhaps described first processor comprises: communication processor, the second processor comprises: application processor.
2. method according to claim 1 is characterized in that, the switching controls message that described reception first processor sends comprises:
Receive the switching controls message that described first processor sends by the switching controls interface.
3. method according to claim 2 is characterized in that, the switching controls message that receives described first processor transmission by the switching controls interface specifically comprises one of the following:
Directly receive the switching controls message that described first processor sends by the switching controls interface;
Receive the switching controls message that first processor sends by switchgear control switching controls interface, described switchgear is controlled by Power Management Unit;
Connected mode control switching controls interface by resistance receives the switching controls message that described first processor sends.
4. method according to claim 3 is characterized in that, also comprises:
First processor according to user's request, receive communication notifications that the second processor sends or send described switching controls message entering resting state forward direction audio codec.
5. method according to claim 4, it is characterized in that, described according to switching controls message, audio input channel is switched on the passage that links to each other with the second processor, and perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel and specifically comprises:
If audio codec receives first processor according to the switching controls message that user's request sends, then audio input channel is switched to passage that first processor links to each other on;
If audio codec receives first processor and enters the switching controls message that sends before the resting state, then audio input channel and control channel are switched on the passage that links to each other with the second processor.
6. method according to claim 5 is characterized in that, described method also comprises:
After on the passage that described audio input channel switches to first processor links to each other, if described audio codec receives audio signal and the control signal that first processor sends by the HD Audio interface, then carry out corresponding audio frequency control operation according to described audio signal and control signal; Perhaps, after described audio input channel and control channel switch on the passage that links to each other with the second processor; If described audio codec receives audio signal and the control signal that the second processor sends by pulse code modulation pcm interface, I2S interface or AC97 interface, then carry out corresponding audio frequency control operation according to described audio signal and control signal.
7. according to claim 1 to 6 each described methods, it is characterized in that, also comprise:
When the first processor in terminal equipment shuts down, described audio input channel and control channel are switched on the passage that links to each other with the second processor.
8. an Audio conversion equipment is characterized in that, comprising:
Receiving element is used for receiving the switching controls message that first processor sends;
Switch unit, for the switching controls message that receives according to described receiving element, audio input channel is switched on the passage that links to each other with the second processor, and perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel; Wherein, described first processor comprises: application processor, and the second processor comprises: communication processor; Perhaps described first processor comprises: communication processor, the second processor comprises: application processor.
9. equipment according to claim 8 is characterized in that, described receiving element receives the switching controls message that first processor sends by the switching controls interface.
10. equipment according to claim 9 is characterized in that, described receiving element specifically comprises one of the following:
The first receiving element is used for directly receiving the switching controls message that described first processor sends by the switching controls interface;
The second receiving element is used for receiving the switching controls message that first processor sends by switchgear control switching controls interface, and described switchgear is controlled by Power Management Unit;
The 3rd receiving element is used for receiving the switching controls message that described first processor sends by the connected mode control switching controls interface of resistance.
11. equipment according to claim 10 is characterized in that, described switch unit comprises:
The first switch unit is used for when first, second or the 3rd receiving element receive the switching controls message that sends according to user's request audio input channel being switched on the passage that links to each other with the second processor;
The second switch unit is used for then audio input channel and control channel being switched on the passage that links to each other with the second processor when receiving element receives the switching controls message that sends before first processor enters resting state.
12. equipment according to claim 11 is characterized in that, also comprises:
The audio frequency control unit, be used for the first switch unit with the passage that described audio input channel switches to first processor links to each other on after, when receiving transmission audio signal that first processor sends and corresponding control signal by the HD Audio interface, carry out corresponding audio frequency control and operate; Perhaps be used for after the second switch unit switches to described audio input channel and control channel on the passage that links to each other with the second processor, when the control signal of the transmission audio signal that receives the transmission of the second processor by pcm interface, I2S interface or AC97 interface and correspondence, carry out corresponding audio frequency control operation.
13. to 12 each described equipment, it is characterized in that according to claim 8, also comprise:
The default setting unit is used for when the first processor shutdown of terminal equipment audio input channel and control channel being switched on the passage that links to each other with the second processor.
14. to 12 each described equipment, it is characterized in that according to claim 8, described Audio conversion integration of equipments is on audio codec.
15. an audio codec is characterized in that, comprising:
The first audio input interface is for the audio interface of supporting in the non-embedded system;
The second audio input interface is used for the audio interface on the support embedded system;
Audio conversion equipment, be used for receiving the switching controls message that first processor sends, and according to described switching controls message, audio input channel is switched on the passage that links to each other with the second processor, and perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel; And when receiving audio signal that described first processor sends and control signal by the first audio input interface, carry out corresponding audio frequency control operation according to described audio signal and control signal; When perhaps receiving transmission audio signal that described the second processor sends and control signal by the second audio input interface, carry out corresponding audio frequency control operation according to described audio signal and control signal.
16. audio codec according to claim 15 is characterized in that,
Described the first audio input interface is the HD Audio interface; The second audio input interface is pcm interface, I2S interface or AC97 interface.
17. a terminal equipment is characterized in that, comprising: first processor, the second processor and audio codec, wherein
Described first processor is used for according to user's request or before entering resting state, sends switching controls message to audio codec;
Described the second processor, be used for receive first processor send enter the notice of resting state after, send the audio frequency control operation to audio codec;
Described audio codec, be used for receiving the switching controls message that first processor sends, and according to described switching controls message, audio input channel is switched on the passage that links to each other with the second processor, and perhaps audio input channel switches on the passage that links to each other with first processor or the second processor with control channel; When the audio signal that receives described first processor transmission and control signal, carry out corresponding audio frequency control operation according to described audio signal and control signal.
CN2009100809636A 2009-03-30 2009-03-30 Audio switching method, audio switching device, audio codec and terminal device Active CN101854705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100809636A CN101854705B (en) 2009-03-30 2009-03-30 Audio switching method, audio switching device, audio codec and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100809636A CN101854705B (en) 2009-03-30 2009-03-30 Audio switching method, audio switching device, audio codec and terminal device

Publications (2)

Publication Number Publication Date
CN101854705A CN101854705A (en) 2010-10-06
CN101854705B true CN101854705B (en) 2013-02-13

Family

ID=42805905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100809636A Active CN101854705B (en) 2009-03-30 2009-03-30 Audio switching method, audio switching device, audio codec and terminal device

Country Status (1)

Country Link
CN (1) CN101854705B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104883641A (en) * 2014-02-28 2015-09-02 维沃移动通信有限公司 Mobile terminal of realizing high fidelity music play
CN104936268A (en) * 2014-03-17 2015-09-23 联想(北京)有限公司 Switching method and device
CN107979484B (en) * 2016-10-25 2021-12-24 北京佳讯飞鸿电气股份有限公司 Scheduling system and method with multiple communication functions
CN108829324A (en) * 2018-06-14 2018-11-16 联想(北京)有限公司 Information processing method and electronic equipment
US11943382B2 (en) 2022-06-07 2024-03-26 Motorola Solutions, Inc. Smart receive audio switching for a converged device
CN117850569A (en) * 2022-09-30 2024-04-09 华为终端有限公司 Processing method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913581A (en) * 2005-08-12 2007-02-14 三星电子株式会社 Display apparatus to output an audio signal and method thereof
CN2882131Y (en) * 2006-01-11 2007-03-21 上饶市美多电子信息技术有限公司 Community interlligent management system based on local network
CN1997057A (en) * 2005-11-26 2007-07-11 沃福森微电子股份有限公司 Audio device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913581A (en) * 2005-08-12 2007-02-14 三星电子株式会社 Display apparatus to output an audio signal and method thereof
CN1997057A (en) * 2005-11-26 2007-07-11 沃福森微电子股份有限公司 Audio device
CN2882131Y (en) * 2006-01-11 2007-03-21 上饶市美多电子信息技术有限公司 Community interlligent management system based on local network

Also Published As

Publication number Publication date
CN101854705A (en) 2010-10-06

Similar Documents

Publication Publication Date Title
CN101668350B (en) Mobile-terminal state-switching method and mobile terminal
EP1889453B1 (en) Method and apparatus for establishing an audio link to a wireless earpiece in reduced time
CN101252377B (en) Earphone equipment and method for communication terminal to realize voice intercommunication traffic using the same
CN101854705B (en) Audio switching method, audio switching device, audio codec and terminal device
CN101138261A (en) Mobile communication terminal and method for notifying handover operation
CN101361379B (en) Implementing method for double-standby call of double-mode mobile terminal
KR20090081310A (en) Apparatus and method for providing host function in a multi-standby portable terminal
JPH1169434A (en) Mobile object communication equipment
CN104618571A (en) Method for implementing call audio switching based on Bluetooth protocol and mobile terminal
CN101119542A (en) Call processing method and apparatus in dual-mode dual-standby handset
CN100473088C (en) Information terminal equipment, communication method and storage medium for stored correlative program
CN101711021B (en) Mobile terminal
CN201328172Y (en) Audio play device and terminal
CN101340727A (en) Mobile terminal, multipath call control method and system
CN104052885A (en) Sound power exchanging communication system
JP2003318807A (en) Mobile communication terminal
CN101123807B (en) A multi-mode terminal and its calling and called party processing method
CN102316487A (en) Communication monitoring method, device and system thereof
US20070232273A1 (en) Method of providing an electronic answering function to a wireless phone
CN101287237A (en) Double-mode double-standby mobile phone and voice signal transmitting method for the same
CN1984399B (en) Terminal for switching to HRPD network according to CDMA 2000 calling message
CN2831658Y (en) GSM/PHS dual-modular cell phone system
KR100713338B1 (en) Method for displaying information of real caller in handheld terminal serving mutipoint communication
CN2538105Y (en) Wired and wireless two-in-one telephone set
KR100690749B1 (en) Device for performing conference call in wireless terminal

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