A kind of Bluetooth system
[technical field]
The present invention relates to the Multimedia Mobile telephone field, particularly the Bluetooth function of mobile phone is realized.
[background technology]
Along with the development of mobile phone, the function of modern mobile phone is more and more diversified.Modern mobile phone can be divided into types such as music phone, multimedia handset and smart mobile phone according to function.These mobile phones mostly dispose bluetooth module, and described bluetooth module is commonly used to realize bluetooth handsfree function, file transfer and Bluetooth stereo function.The user can realize monaural voice call by the bluetooth handsfree function; Can realize the stereo music broadcast of dual track by the Bluetooth stereo function.
Please refer to Fig. 1, it shows a kind of structural representation of existing Bluetooth system 100 for mobile phone.Described Bluetooth system 100 comprises bluetooth module 102, mobile multimedia module 104, baseband module 106 and analog switch 108.Described bluetooth module 102 comprises pulse code modulation audio interface (Pulse Code Modulation, be called for short PCM) and universal asynchronous receiving-transmitting interface (UniversalAsynchronous Receiver/Transmitter, be called for short UART), described pcm interface and UART interface are the external interfaces of Bluetooth chip.Described mobile multimedia module 104 links to each other with described bluetooth module 102 by described UART interface, is commonly used to realize the Bluetooth stereo music.Described baseband module 106 links to each other with described bluetooth module 102 with the UART interface by described pcm interface, is commonly used to realize the blue tooth hands-free voice conversation.When realizing the blue tooth hands-free voice conversation, described baseband module 106 is by described pcm interface transmission of audio data, by described UART interface command data.Described baseband module 106 also links to each other so that interactive command and data with described mobile multimedia module 104 by bus (diagram BUS).Described Bluetooth system 100 also comprises an analog switch 108, is used for switching described UART interface in concrete use and uses for described baseband module 106 or described mobile multimedia module 104.
But described Bluetooth system 100 this technical schemes comprise an analog switch, have caused increasing the cost of hardware.Simultaneously because described mobile multimedia module 104 is used for realizing different Bluetooth functions respectively with described baseband module 106, corresponding bluetooth protocol repertory also needs respectively to have caused the complexity of software in described mobile multimedia module 104 and the relevant part of described baseband module 106 each self-operating.
Therefore, be necessary to propose the shortcoming that a kind of new Bluetooth system solves such scheme.
[summary of the invention]
The purpose of this part is to summarize some aspects of embodiments of the invention and briefly introduces some preferred embodiments.In this part and the application's specification digest and denomination of invention, may do a little simplification or omit to avoid making the purpose of this part, specification digest and denomination of invention fuzzy, and this simplification or omit and can not be used for limiting the scope of the invention.
The object of the present invention is to provide a kind of Bluetooth system, baseband module is realized the bluetooth handsfree function by the mobile multimedia module, and all bluetooth protocol repertories that need all are integrated on the system architecture of described mobile multimedia module.
In order to reach purpose of the present invention, the invention provides a kind of Bluetooth system, described Bluetooth system comprises: bluetooth module comprises pulse code modulation audio interface and universal asynchronous receiving-transmitting interface; The mobile multimedia module links to each other with described bluetooth module with described universal asynchronous receiving-transmitting interface by described pulse code modulation audio interface, and described mobile multimedia module also comprises bus interface and audio interface; And baseband module, link to each other with described mobile multimedia module with described audio interface by described bus interface.
Further, described mobile multimedia module comprises first audio input interface and first audio output interface, described baseband module comprises second audio input interface and second audio output interface, described first audio input interface links to each other with described second audio output interface, and described first audio output interface links to each other with described second audio input interface.
Further, described first audio input interface links to each other by two differential signal lines with described second audio output interface, and described first audio output interface links to each other by two differential signal lines with described second audio input interface.
Further, described baseband module carries out reception and the transmission of simulated audio signal by audio interface.
Further, described mobile multimedia module also comprises the encode/decode audio signal device, when realizing the bluetooth handsfree function, described encode/decode audio signal device is converted into the pulse code modulation audio signal to described bluetooth module with the simulated audio signal of described baseband module, and the pulse code modulation audio signal of described bluetooth module is converted into simulated audio signal to described baseband module.
Further, described mobile multimedia module also comprises subband coder, when realizing the Bluetooth stereo function, described encode/decode audio signal device is decoded as the pulse code modulation audio signal with music file, and described subband coder is given described bluetooth module after with described pulse code modulation coding audio signal.
Further, described baseband module carries out the mutual of order data by bus interface and described mobile multimedia module, and described mobile multimedia module is carried out the mutual of order data by described universal asynchronous receiving-transmitting interface and described bluetooth module.
Further, when realizing the bluetooth handsfree function, described baseband module carries out the mutual of voice data by audio interface and described mobile multimedia module, and described mobile multimedia module is carried out the mutual of voice data by described pulse code modulation audio interface and described bluetooth module.
Further, when realizing the Bluetooth stereo function, described mobile multimedia module is carried out the mutual of voice data by described universal asynchronous receiving-transmitting interface and described bluetooth module.
Further, described mobile multimedia module comprises all bluetooth protocol repertories of needs.
Compared with prior art, baseband module is realized the bluetooth handsfree function by the mobile multimedia module among the present invention, has reduced the reduction that analog switch of the prior art has caused hardware cost.And bluetooth protocol repertories that all need all are integrated on the system architecture of described mobile multimedia module, reduced the software complexity when realizing.
[description of drawings]
In conjunction with reaching ensuing detailed description with reference to the accompanying drawings, the present invention will be more readily understood, the corresponding same structure member of same Reference numeral wherein, wherein:
Fig. 1 is a kind of structural representation of existing Bluetooth system for mobile phone;
Fig. 2 is Bluetooth system structural representation in one embodiment among the present invention;
Fig. 3 is Bluetooth system structural representation in another embodiment among the present invention; With
Fig. 4 is the structural representation of Bluetooth system in another embodiment among the present invention.
[embodiment]
Detailed description of the present invention is mainly come the running of direct or indirect simulation technical solution of the present invention by program, step, logical block, process or other symbolistic descriptions.Be the thorough the present invention that understands, in ensuing description, stated a lot of specific detail.And when not having these specific detail, the present invention then may still can realize.Under those of skill in the art use herein these descriptions and the statement work essence of effectively introducing them to the others skilled in the art in the affiliated field.In other words, be the purpose of the present invention of avoiding confusion, owing to method, program, composition and the circuit known are readily appreciated that, so they are not described in detail.
Alleged " embodiment " or " embodiment " refers to be contained in special characteristic, structure or the characteristic at least one implementation of the present invention herein.Different local in this manual " in one embodiment " that occur not are all to refer to same embodiment, neither be independent or the embodiment mutually exclusive with other embodiment optionally.In addition, represent the sequence of modules in method, flow chart or the functional block diagram of one or more embodiment and revocablely refer to any particular order, also be not construed as limiting the invention.
Please refer to Fig. 2, it shows Bluetooth system 200 structural representation in one embodiment among the present invention.Described Bluetooth system 200 comprises bluetooth module 202, mobile multimedia module 204 and baseband module 206.
Described bluetooth module 202 is based on the chip of Bluetooth protocol, comprise pulse code modulation audio interface (Pulse Code Modulation, be called for short PCM) and universal asynchronous receiving-transmitting interface (UniversalAsynchronous Receiver/Transmitter, be called for short UART), described pcm interface and UART interface are the external interfaces of Bluetooth chip.
Described mobile multimedia module 204 normally is used for carrying out the chip that multimedia is handled in the mobile phone.In one embodiment, described mobile multimedia module 204 comprises an encode/decode audio signal device (Audio Codec).In another embodiment, described mobile multimedia module 204 can be a mobile multimedia player (Mobile Multimedia Player is called for short MMP).Described mobile multimedia module 204 is connected with described bluetooth module 202 with described UART interface by described pcm interface.Described mobile multimedia module 204 also comprises bus (BUS) interface, first audio input interface and first audio output interface.In one embodiment, described audio input interface and audio output interface are Line in interface and Line out interface.
Described baseband module 206 normally is used for carrying out the chip that voice call is handled in the mobile phone.Described baseband module 206 comprises bus interface, second audio input interface and second audio output interface in the present invention.In one embodiment, described audio input interface and audio output interface are Audio in interface and Audio out interface.Described baseband module 206 links to each other with described mobile multimedia module 204 by described bus interface, second audio input interface and second audio output interface.The bus interface that is described baseband module 206 links to each other with the bus interface of described mobile multimedia module 204; Second audio input interface of described baseband module 206 links to each other with first audio output interface of described mobile multimedia module 204; Second audio output interface of described baseband module 206 links to each other with first audio input interface of described mobile multimedia module 204.In one embodiment, the Audio in interface of described baseband module 206 links to each other with the Line out interface of described mobile multimedia module 204 by two differential signal lines; The Audio out interface of described baseband module 206 links to each other with the Line in interface of described mobile multimedia module 204 by two differential signal lines.
Will be appreciated that Bluetooth system 200 of the present invention can be a chip.Unlike the prior art be, baseband module 206 of the present invention does not directly link to each other with described bluetooth module, but carry out data interaction by described mobile multimedia module 204 and described bluetooth module 202, thereby can omit analog switch of the prior art and reduced the hardware cost of chip.In addition, do not need to arrange Bluetooth protocol in the baseband module 206 of the present invention, and all required Bluetooth protocols all are arranged in the mobile multimedia module 204, thereby reduced software complexity when realizing.
Following this paper realizes that by explaining Bluetooth system of the present invention various Bluetooth functions describe the present invention, but because the present invention not have change substantially to the realization that utilizes the bluetooth file to carry out file transfer, does not relate to so this paper has.Bluetooth handsfree function related to the present invention and Bluetooth stereo function are only described.
Please refer to Fig. 3, it shows Bluetooth system 300 structural representation in another embodiment among the present invention.Described Bluetooth system 300 can be realized the bluetooth handsfree function in conjunction with bluetooth earphone 320.Described Bluetooth system 300 comprises bluetooth module 302, mobile multimedia module 304 and baseband module 306.Described bluetooth module 302 comprises pulse code modulation audio interface (Pulse Code Modulation, be called for short PCM) and universal asynchronous receiving-transmitting interface (Universal AsynchronousReceiver/Transmitter, be called for short UART), described mobile multimedia module 304 is a mobile multimedia process chip (Mobile Multimedia Player is called for short MMP).Described mobile multimedia module 304 is connected with described bluetooth module 302 with described UART interface by described pcm interface.Described mobile multimedia module 304 also comprises bus (BUS) interface, Line in interface and Line out interface.Described baseband module 306 comprises bus interface, Audio in interface and Audio out interface.Described baseband module 306 bus interface link to each other with the bus interface of described mobile multimedia module 304; The Audio in interface of described baseband module 306 links to each other with the Line out interface of described mobile multimedia module 304 by two differential signal lines; The Audio out interface of described baseband module 306 links to each other with the Line in interface of described mobile multimedia module 304 by two differential signal lines.
Wherein, described mobile multimedia module 304 comprises an encode/decode audio signal device (AudioCodec), when needs are realized the bluetooth handsfree function, described baseband module 306 sends order data to described mobile multimedia module 304 by bus interface, described mobile multimedia module 304 sends order data to described bluetooth module 302 by described UART interface, and two-way this process of carrying out is finished inquiry and matching process with bluetooth earphone 320 then.After described Bluetooth system 300 and described bluetooth earphone 320 are set up bluetooth and are connected, described baseband module 306 is given described mobile multimedia module 304 by Audio out interface transportation simulator audio signal, the simulated audio signal that the receives encode/decode audio signal device by inside is carried out analog-to-digital conversion to described mobile multimedia module 304 and the coding back forms the pcm audio signal, be transferred to described bluetooth module 302 by described pcm interface then, described bluetooth module 302 is transferred to described bluetooth earphone 320 again and plays; After receiving the user's voice signal, described bluetooth earphone is transferred to described bluetooth module 302, described bluetooth module 302 is transferred to described mobile multimedia module 304 by described pcm interface with the voice signal of PCM form, described mobile multimedia module 304 decode by the encode/decode audio signal device of inside and digital-to-analogue conversion after form simulated audio signal, be transferred to described baseband module 306 by described Line out interface (namely illustrating Audio in) again.So just form the double-directional speech conversation and realized the bluetooth handsfree function.
Please refer to Fig. 4, it shows the structural representation of Bluetooth system 400 in another embodiment among the present invention.Described Bluetooth system 400 can be realized the Bluetooth stereo function in conjunction with bluetooth earphone 420.Described Bluetooth system 400 comprises bluetooth module 402, mobile multimedia module 404 and baseband module 406.
Described bluetooth module 402 comprises pulse code modulation audio interface (Pulse Code Modulation, be called for short PCM) and universal asynchronous receiving-transmitting interface (Universal Asynchronous Receiver/Transmitter, be called for short UART), described mobile multimedia module 404 is a mobile multimedia process chip (Mobile Multimedia Player is called for short MMP).Described mobile multimedia module 404 is connected with described bluetooth module 402 with described UART interface by described pcm interface.Described mobile multimedia module 404 also comprises bus (BUS) interface, Line in interface and Line out interface.Described baseband module 406 comprises bus interface, Audio in interface and Audio out interface.Described baseband module 406 bus interface link to each other with the bus interface of described mobile multimedia module 404; The Audio in interface of described baseband module 406 links to each other with the Line out interface of described mobile multimedia module 404 by two differential signal lines; The Audio out interface of described baseband module 406 links to each other with the Line in interface of described mobile multimedia module 404 by two differential signal lines.
Wherein, described mobile multimedia module 404 comprises an encode/decode audio signal device (AudioCodec) and a subband coder (Sub-Band Coding is called for short SBC).When realizing the Bluetooth stereo function, described baseband module 406 sends order data to described mobile multimedia module 404 by bus interface, described mobile multimedia module 404 sends order data to described bluetooth module 402 by described UART interface, and two-way this process of carrying out is finished inquiry and matching process with bluetooth earphone 420 then.After described Bluetooth system 400 and described bluetooth earphone 420 were set up bluetooth and be connected, described mobile multimedia module 404 came music file is realized decoding by the encode/decode audio signal device of inside, such as being the pcm audio signal with the mp3 file decoding; Described mobile multimedia module 404 is come described pcm audio signal is carried out sub-band coding by the subband coder of inside then, and gives described bluetooth module 402 by the audio signal transmission of described UART interface after with described sub-band coding.Described bluetooth module 402 is transferred to described Bluetooth stereo earphone 420 in order to play.
What in the present embodiment, the encode/decode audio signal device of described mobile multimedia module 404 by inside came music file is realized that the decoding back forms is the pcm audio signal.Why described mobile multimedia module 404 directly is not transferred to described bluetooth module 402 by described PCM hardware link, be because the speed of described pcm interface transmission is limited, can not satisfy Bluetooth stereo earphone 420 needed message transmission rates, so adopt the multiplexing way of described UART hardware link be realized.
Required bluetooth protocol repertory all is integrated in described mobile multimedia module among each embodiment in the present invention, such as: service discovery protocol SDP (Service Discovery Protocol), Bluetooth audio frequency mode agreement A2DP (Advenced Audio Distribution Profile), can reduce the software complexity when realizing like this.
Above-mentioned explanation has fully disclosed the specific embodiment of the present invention.It is pointed out that and be familiar with the scope that any change that the person skilled in art does the specific embodiment of the present invention does not all break away from claims of the present invention.Correspondingly, the scope of claim of the present invention also is not limited only to described embodiment.