Summary of the invention
The technical problem that the present invention will solve provides a kind of wireless method, portable terminal and system listened to, and just can help the sound of user's uppick from stereo set through adopting a portable terminal with radio transmission-receiving function.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of wireless method of listening to, and are applied to portable terminal, comprising: import the initial voice signal from the outside from the earphone interface of said portable terminal; The analog switch of the said portable terminal of conducting, allow said initial voice signal from said earphone interface through the said portable terminal of the reverse entering of said analog switch; Said initial voice signal is carried out analog-to-digital conversion and Digital Signal Processing is treated modulation signal with generation; The said modulation signal of treating is modulated the back and generated modulation signal, adopt wireless mode to export said modulation signal.
In the described method, when said portable terminal is in first mode of operation, close said analog switch; When said portable terminal is in second mode of operation, the said analog switch of conducting.
In the described method, when said portable terminal is in first mode of operation, open earphone power amplifier function; When said portable terminal is in second mode of operation, close said analog switch.
In the described method, when said portable terminal is in first mode of operation, and said earphone power amplifier function is opened the audio frequency power amplifier function when closing; When said portable terminal is in second mode of operation, close the audio frequency power amplifier function.
In the described method, said wireless mode specifically is the transmission means that meets Bluetooth protocol.
In the described method, when said portable terminal detects the earphone that inserts at said earphone interface place the signal input is arranged, switch to said second mode of operation; Perhaps, when having specific keys to be triggered on the keyboard that detects said portable terminal, switch to said second mode of operation.
A kind of portable terminal comprises: earphone interface is used to import the initial voice signal from the outside; Analog switch when being used to be in conducting state, allows said initial voice signal from the said portable terminal of the reverse entering of said earphone interface; Signal processing unit is used for that said initial voice signal is carried out analog-to-digital conversion and Digital Signal Processing and generates and treat modulation signal; Modulating unit is used for the said modulation signal of treating is modulated the back and generated modulation signal, and radio-cell is used to adopt wireless mode to export said modulation signal.
In the described portable terminal, also comprise: the pattern performance element is used for when said portable terminal is in first mode of operation, closing said analog switch; When said portable terminal is in second mode of operation, the said analog switch of conducting; When said portable terminal is in first mode of operation, open earphone power amplifier function; When said portable terminal is in second mode of operation, close said analog switch; When said portable terminal is in first mode of operation, and said earphone power amplifier function is opened the audio frequency power amplifier function when closing;
When said portable terminal is in second mode of operation, close the audio frequency power amplifier function.
A kind of wireless listening system comprises stereo set, portable terminal and wireless headset: stereo set is used to export the initial voice signal; Said portable terminal comprises: earphone interface is used to import outside initial voice signal; Analog switch when being used to be in conducting state, allows said initial voice signal from the said portable terminal of the reverse entering of earphone interface; Signal processing unit is used for that said initial voice signal is carried out analog-to-digital conversion and Digital Signal Processing and generates and treat modulation signal; Modulating unit is used for the said modulation signal of treating is modulated the back and generated modulation signal, and radio-cell is used to adopt wireless mode to export said modulation signal; Wireless headset is used for receiving said modulation signal through wireless mode.
In the described system, said portable terminal also comprises: the pattern performance element is used for when said portable terminal is in first mode of operation, closing said analog switch; When said portable terminal is in second mode of operation, the said analog switch of conducting; When said portable terminal is in first mode of operation, open earphone power amplifier function; When said portable terminal is in second mode of operation, close said analog switch; When said portable terminal is in first mode of operation, and said earphone power amplifier function is opened the audio frequency power amplifier function when closing; When said portable terminal is in second mode of operation, close the audio frequency power amplifier function.
The beneficial effect of technique scheme of the present invention is following: because analog switch allows from the reverse inside through the entering portable terminal of initial voice signal of the outside of earphone interface input; The initial voice signal of this moment and portable terminal are the same through the voice signal that Mike receives; Therefore can to this initial voice signal carry out analog-to-digital conversion with Digital Signal Processing generation treat modulation signal; Treat modulation signal and modulate the output of back employing wireless mode; Make the user need not to dispose special wireless transmitter, just can receive sound by wireless headset.
Embodiment
For technical problem, technical scheme and advantage that the present invention will be solved is clearer, will combine accompanying drawing and specific embodiment to be described in detail below.
Adopt portable terminal in the embodiment of the invention, receive the voice signal that comes from the outside, change the back through wireless transmission function output by this portable terminal with wireless transmission function.
The embodiment of the invention provides a kind of wireless method of listening to, and is as shown in Figure 1, is applied to portable terminal, comprising:
Step 101 is imported the initial voice signal from the outside from the earphone interface of said portable terminal;
Step 102, the analog switch of the said portable terminal of conducting, allow said initial voice signal from said earphone interface through the said portable terminal of the reverse entering of said analog switch;
Step 103 is carried out analog-to-digital conversion and Digital Signal Processing is treated modulation signal with generation to said initial voice signal;
Step 104 is modulated the back and is generated modulation signal the said modulation signal of treating, adopts wireless mode to export said modulation signal.
Use the technological means that is provided; Because it is reverse through getting into the inside of portable terminal that analog switch allows from the initial voice signal of the outside of earphone interface input; The initial voice signal of this moment and portable terminal are the same through the voice signal that Mike receives; Therefore can to this initial voice signal carry out analog-to-digital conversion with Digital Signal Processing generation treat modulation signal; Treat modulation signal and modulate the output of back employing wireless mode, make the user need not to dispose special wireless transmitter, just can receive sound by wireless headset.
In preferential embodiment, when said portable terminal is in first mode of operation, close said analog switch; When said portable terminal is in second mode of operation, the said analog switch of conducting.Wherein, first mode of operation specifically is the earphone listen mode, and second mode of operation specifically is a wireless communication mode.
When said portable terminal is in first mode of operation, open earphone power amplifier function; When said portable terminal is in second mode of operation, close said analog switch.
When said portable terminal is in first mode of operation, and said earphone power amplifier function is opened the audio frequency power amplifier function when closing; When said portable terminal is in second mode of operation, close the audio frequency power amplifier function.
In preferential embodiment, wireless mode specifically is the transmission means that meets Bluetooth protocol.
In an application scenarios, in the portable terminal as shown in Figure 2, each unit module is carried out function corresponding under the different working pattern, and wherein, first mode of operation specifically is the earphone listen mode, and second mode of operation specifically is a wireless communication mode.
When portable terminal was in the earphone listen mode, audio frequency power amplifier closed, and the earphone power amplifier is opened, and analog switch closes, and this moment can displaying audio file and video file etc.; Workflow under this mode of operation comprises:
Step 201, Bluetooth antenna (BLUETOOTH ANT) receives modulation signal, and modulation signal gets into baseband chip (Base Band) through bluetooth (BLUETOOTH) unit.
Step 202, baseband chip carries out demodulation to modulation signal, and the voice signal after the demodulation is sent to the L/R OUT output interface of baseband chip.
L/R OUT output interface is connected with audio frequency power amplifier, and is connected with the earphone power amplifier.
Step 203, owing to audio frequency power amplifier is closed, so the voice signal after the demodulation arrives the earphone power amplifier through L/R OUT output interface.
Step 204, the earphone power amplifier is strengthened voice signal.
Step 205, strengthened voice signal arrives earphone interface, and the user can the uppick voice signal through earphone this moment (Headphone).
When portable terminal was in wireless communication mode, audio frequency power amplifier closed, and the earphone power amplifier closes, and analog switch leaves; Workflow under this mode of operation comprises:
Step 301, portable terminal is from the initial voice signal of earphone interface input from the outside;
Step 302, the analog switch conducting, the initial voice signal is through the circuit input interface (Line in) of analog switch entering audio codec, and a circuit input interface and an analog to digital converter (ADC, Analog-to-Digital Converter) connect.
Step 303, analog to digital converter carries out generating audio digital signal after the analog-to-digital conversion to the initial voice signal.
Step 304, baseband chip are handled to generate to audio digital signal and are treated modulation signal;
Step 305 is treated modulation signal and is modulated back generation modulation signal, and modulation signal is through universal asynchronous reception/transmission (UART, Universal Asynchronous Receiver/Transmitter) mouthful input bluetooth unit.
Step 306, bluetooth unit carries out adopting wireless mode output after the encoding and decoding to modulation signal.
In preferential embodiment; When portable terminal uses as the Bluetooth transmission device; The initial voice signal can be by the earphone wire rod input of the 3.5mm bore of standard; But earphone interface is not limited to the 3.5mm earphone, can also select to comprise other multiple standards of 2.5mm earphone, or other connectors of portable terminal.
In preferential embodiment, when portable terminal detects the earphone that inserts at said earphone interface place the signal input is arranged, switch to second mode of operation; Perhaps, when having specific keys to be triggered on the keyboard that detects said portable terminal, switch to said second mode of operation.
Can judge that earphone interface is to be connected or to be used to import outside initial voice signal with earphone, selects the switching between function corresponding item and the implementation pattern through the human-computer interaction interface of portable terminal by the user.
In the foregoing description; Utilize the earphone interface of portable terminal; Through analog switch the initial voice signal of outside input is sent into the circuit input interface of mobile terminal audio encoding-decoding device,, pass baseband chip back through digital audio interface (I2S) again through analog-to-digital conversion and Digital Signal Processing; Import it into bluetooth unit through switching, after encoding and decoding, send.Only need the portable terminal of a Bluetooth function, the initial voice signal that needs are transmitted transfers to earphone interface, and any bluetooth earphone of arranging in pairs or groups can be realized the wireless music transmission after the setting respective menu.
The embodiment of the invention provides a kind of portable terminal, and is as shown in Figure 3, comprising:
Earphoneinterface 401 is used to import the initial voice signal from the outside;
Analog switch 402 when being used to be in conducting state, allows said initial voice signal from the said portable terminal of saidearphone interface 401 reverse entering;
Signal processing unit 403 is used for that said initial voice signal is carried out analog-to-digital conversion and Digital Signal Processing and generates and treat modulation signal;
Modulatingunit 404 is used for the said modulation signal of treating is modulated the back and generated modulation signal,
Radio-cell 405 is used to adopt wireless mode to export said modulation signal.
In preferential embodiment, radio-cell 405 specifically is a Bluetooth chip, and wireless mode specifically is the transmission means that meets Bluetooth protocol.Portable terminal also comprises:
The pattern performance element is used for when said portable terminal is in first mode of operation, closing said analog switch;
When said portable terminal is in second mode of operation, the said analog switch of conducting;
When said portable terminal is in first mode of operation, open earphone power amplifier function;
When said portable terminal is in second mode of operation, close said analog switch;
When said portable terminal is in first mode of operation, and said earphone power amplifier function is opened the audio frequency power amplifier function when closing;
When said portable terminal is in second mode of operation, close the audio frequency power amplifier function.
The embodiment of the invention provides a kind of wireless listening system, comprises stereo set, portable terminal and wireless headset:
Stereo set is used to export the initial voice signal;
Said portable terminal comprises:
Earphone interface 401 is used to import outside initial voice signal;
Analog switch 402 when being used to be in conducting state, allows said initial voice signal from the said portable terminal of saidearphone interface 401 reverse entering;
Signal processing unit 403 is used for that said initial voice signal is carried out analog-to-digital conversion and Digital Signal Processing and generates and treat modulation signal;
Modulating unit 404 is used for the said modulation signal of treating is modulated the back and generated modulation signal,
Radio-cell 405 is used to adopt wireless mode to export said modulation signal;
Wireless headset is used for receiving said modulation signal through wireless mode.
In preferential embodiment, radio-cell 405 specifically is a Bluetooth chip, and wireless mode specifically is the transmission means that meets Bluetooth protocol.Portable terminal also comprises:
The pattern performance element is used for when said portable terminal is in first mode of operation, closing said analog switch;
When said portable terminal is in second mode of operation, the said analog switch of conducting;
When said portable terminal is in first mode of operation, open earphone power amplifier function;
When said portable terminal is in second mode of operation, close said analog switch;
When said portable terminal is in first mode of operation, and said earphone power amplifier function is opened the audio frequency power amplifier function when closing;
When said portable terminal is in second mode of operation, close the audio frequency power amplifier function.
The beneficial effect of technique scheme of the present invention is following: the initial voice signal inputs to analog switch by earphone interface; Through the circuit input interface of analog switch conducting to baseband chip, the analog to digital converter that is connected by the circuit input interface again transfers audio digital signal to, and audio digital signal is behind the baseband chip coding; Deliver to Bluetooth chip by baseband chip modulation back through universal asynchronous reception/transmission oral instructions; After Bluetooth chip is modulated modulation signal is launched, the Bluetooth stereo earphone that modulation signal is finally mated obtains, and has realized the initial voice wireless transmission of signal; And the cost of realizing is very little; Do not increase user's burden, and simple to operate, the crowd who is suitable for is extensive.
The above is a 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 principle according to the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.