Summary of the invention
The technical problem to be solved in the present invention is the shortcoming at prior art, has proposed a kind of multipurpose radio communication device, and this installs based on computer USB interface technology, can be used in bluetooth, GPRS, and different occasions such as mobile storage switch different mode and carry out exchanges data.
A kind of multipurpose radio communication device that the present invention proposes comprises: bluetooth transceiver module, GPRS module, FLASH flash memory module, power management module; It is characterized in that, also comprise USB interface switching controls module, described bluetooth transceiver module carries out bi-directional exchanges of information by bluetooth baseband module and USB interface switching controls module, described FLASH flash memory module carries out bi-directional exchanges of information by interconnecting module and USB interface switching controls module, described GPRS module directly and USB interface switching controls module carry out bi-directional exchanges of information, described power management module, USB interface by computer or notebook computer, obtain required power supply reliably, and respectively to the bluetooth transceiver module, the GPRS module, FLASH flash memory module, USB interface switching controls module for power supply.
Described multipurpose radio communication device, described USB interface switching controls module comprises a core controller, receive the USB main equipment and send the command packet of switching, indication according to command packet, what judge that current main equipment will realize is Bluetooth function, GPRS function or mobile data memory function, and indication switches to corresponding physical channel to core controller according to command packet.
Described multipurpose radio communication device, described USB interface switching controls module is a USBHUB; Behind the main equipment power-up initializing, find bluetooth transceiver module, GPRS module, FLASH flash memory module, and being respectively this three corresponding addresses of module assignment, main equipment carries out data manipulation to bluetooth transceiver module, GPRS module, FLASH flash memory module respectively by different addresses.
Described multipurpose radio communication device, described GPRS module comprises: GPRS functional processor expanding element and GPRS module Transmit-Receive Unit; Described GPRS functional processor expanding element links to each other with the FLASH flash memory module, realizes the data access to the FLASH flash memory module.
Described multipurpose radio communication device between bluetooth baseband module and USB interface switching controls module, also is connected to the PCM module of carrying out Audio Signal Processing respectively, is used for the USB module that data-signal is handled.
Described multipurpose radio communication device between bluetooth baseband module and USB interface switching controls module, also is connected to the PIO module respectively, is used on the whole the bluetooth baseband module being carried out internal configurations; Be used to provide the UART module of the external mode of bluetooth RS232 interface.
Described multipurpose radio communication device, described bluetooth transceiver module is connected with the Bluetooth built-in antenna by traffic filter.
Described multipurpose radio communication device, described GPRS module is connected to the GPRS built-in aerial.
Prior art is compared, and the present invention has following beneficial effect:
The present invention can be used as the fusion device of bluetooth and two kinds of wireless communication standards of GPRS, function can reach mutually replenishes, the present invention adopts the Universal USB interface as data exchange interface, the characteristics of USB interface have been made full use of, make things convenient for power taking on the USB circuit, needn't increase power supply again, can be common to the main equipment that contains USB, as common bench computer, notebook computer etc.The present invention uses the Universal USB interface, increases the function that the FLASH flash memory has reached mobile storage.
Embodiment
The multipurpose radio communication device that the present invention proposes as shown in Figure 1, comprising: bluetooth transceiver module 3, GPRS module 14, FLASH flash memory module 11, USB interface switching controls module 9, power management module 10; Also comprise Bluetooth built-in antenna 1, the traffic filter 2 that is attached thereto, bluetooth baseband module 4 is carried out the PCM module 6 of Audio Signal Processing, carries out the USB module 8 that data-signal is handled, GPRS built-in aerial 13, usb 15 etc.
The operation principle of bluetooth transceiver module is as follows:
Bluetooth receives data mode
Bluetooth built-in antenna 1 is come in 10 meters RF with interior effective 2.5G (radio frequency signal) coupling, passes to traffic filter 2, carries out the shaping of signal and the filtration of noise signal.Make and contain the effective signal of bluetooth standard, through receive path, enter bluetooth transceiver module 3 from the RX interface, processing through this module, remove carrier wave and obtain corresponding baseband signal, baseband signal enters bluetooth baseband module 4 again, obtains real valid data after treatment, by USB module 8, pass to USB switching controls module 9, under USB switching controls module 9 gating Bluetooth communication states, the differential data of USB module 8 is by USB switching controls module 9, through D+, the D-data wire, data serial is delivered to usb 15, passes to external equipment, as equipment such as computer or notebooks.
Bluetooth sends data mode
From computer or notebook data, the USB mouth 15 that passes through, through D+, two differential data line of D-, be delivered to USB switching controls module 9, under USB switching controls module 9 gating Bluetooth communication states, differential data passes through USB switching controls module 9 passages again, come USB module 8, through string and etc. data transaction, after the processing, send data and enter bluetooth baseband module 4, process adds relevant treatment such as agreement, the protocol data signal of band bluetooth enters bluetooth transceiver module 3, and through add the modulation of high-frequency signal in baseband signal, the signal after the modulation sends to traffic filter 2 through TX, carry out the shaping of signal, finally signal is sent wirelessly through Bluetooth built-in antenna 1.
Bluetooth receiving and transmitting voice signal
The same substantially bluetooth transceive data of the transmitting-receiving process of voice.Just on channel, voice signal is walked PCM module 6 and is carried out Audio Signal Processing, and data-signal is walked 8 differences of USB module.
Among the present invention, the bluetooth baseband modules configured comprises: computer or notebook all can pass through usb 15, through PIO module 5, on the whole the bluetooth baseband module are carried out internal configurations.UART module 7 is to be used to provide the external mode of bluetooth RS232 interface.
The operation principle of GPRS transceiver module is as follows:
GPRS receives data mode
The three audio data signals that meet EGSM900/GSM1800/GSM1900, through GPRS built-in aerial 13, the receiving circuit that is coupled in the GPRS module 14 partly carries out data demodulates, active data carried out and go here and there conversion, the serial data that will meet the USB1.1 standard again is sent on the USB switching controls module 9, under USB switching controls module 9 gating GPRS communications status, active data will be through through D+, D-two differential data line, serial transfer arrives usb 15, and passes to as external equipments such as computer or notebooks; Finish the reception data of GPRS.
GPRS sends data mode
GPRS from computer or notebook computer sends data, data, the usb 15 that passes through, through D+, two differential data line of D-, be delivered to USB switching controls module 9, under USB switching controls module 9 gating GPRS communications status, the transtation mission circuit that differential data is passed in the GPRS module 14 partly passes through increase GPRS host-host protocol, be modulated into again and meet SM900/GSM1800/GSM1900 three audio data signals through GPRS built-in aerial 13, to meet the GPRS standard, send wirelessly, thereby finish the transmission of GPRS data.
The operation principle of FLASH flash memory module is as follows:
Data are write exchange
Send the data that need storage from computer or notebook, the usb 15 that passes through, through D+, two differential data line of D-, be delivered to USB switching controls module 9, under USB switching controls module 9 gating FLASH flash reading and writing states, need the data of storage to arrive USB bridge modular converter 12 by FLASH, enter FLASH module 11, data just are saved in the FLSAH flash media like this.
Data are read exchange
When equipment such as computer or notebook need read the data of storage in the FLASH module 11, after sending reading command, FLASH at first carries out read data operation to FLASH module 11 to USB bridge modular converter 12, the data transaction of reading is become to contain the data of usb protocol, the also string conversion of carrying out data again is delivered to USB switching controls module 9, under USB switching controls module 9 gating FLASH flash reading and writing states, the serial differential data are through D+, two differential data line of D-are delivered to equipment such as external computer or notebook computer, and external equipment has just been read the data of FLASH module 11 like this.The FLASH flash memory module has just played the function of exchanges data and storage very easily, and data are utilized the exchange of general calculation machine USB interface in addition, so played the function of mobile storage.
Power management module 10
Power management module 10 need not be powered separately, but makes full use of the USB interface of computer or notebook computer, obtains reliably+power supply of 5V from computer or notebook computer, as required, distribute to the bluetooth baseband module, the GPRS module, the FLASH flash memory module, USB interface switching controls module.
USB interface switching controls module 9
Because the bluetooth baseband module, the GPRS module, the FLASH flash memory module all possesses standard USB interface, so USB interface switching controls module 9 can carry out centralized control to them, reaches each data channel and is independent of each other.
The structural principle of USB interface switching controls module 9 can have dual mode, and its principle is as follows:
Mode one, described USB interface switching controls module 9 comprise a core controller, this controller can receive the USB main equipment and send the command packet of switching, indication according to command packet, what judge that current main equipment will realize is Bluetooth function, GPRS function or mobile data memory function, and indication switches to corresponding physical channel to core controller according to command packet.Mode one belongs to the direct-cut operation of passage, promptly at any time has only a module and ancillary equipment such as PC or notebook to carry out physical connection.
Mode two, described USB interface switching controls module 9 come down to a USB HUB, promptly directly utilize USB HUB to realize the interconnection of each passage.When main equipment PC or notebook power-up initializing, can find GPRS equipment simultaneously, bluetooth equipment, the movable flashing disc apparatus, and be respectively this three corresponding addresses of devices allocation (being ENDPOINT), main equipment carries out data manipulation by different addresses, GPRS equipment, bluetooth equipment, movable flashing disc apparatus also can be according to different ENDPOINT packets, correspondingly obtain or send data, cooperate main equipment to operate accordingly.What the principle that realizes this moment was that the physical channel of each module carries out is soft handover.
Fig. 2 is represented is GPRS module 14 among Fig. 1 is directly carried out Card read/write to FLASH structure principle charts.From Fig. 2, as can be seen, the present invention can have two passages to the read-write of movable flashing dish, the one, main equipment directly carries out read-write operation to it, at this moment, after the switching by USB interface switching controls module 9, utilize FLASH to carry out direct read to USB bridge modular converter 12.And Fig. 2 provides is another passage, promptly extends out function is directly carried out Card read/write to FLASH principle by GPRS module 14, specifies as follows:
GPRS module 14 comprises two main functional modules, GPRS functional processor expanding element 20 and GPRS module Transmit-Receive Unit 21.Utilize the programmability that extends out of GPRS functional processor expanding element 20, can realize the FLASH module is carried out data access.
Connection from the GPRS module to FLASH: FLASH read-write, adopt data/address multiplex line of 8, transmit data or address by different orders or state, order or condition line are arranged, directive command or state in the read-write process, the route selection of FLASH chip slapper is arranged, help selection the FLASH module.The GPRS processor all leaves general IO mouth (GPIO) generally speaking, the own self-carried USB interface of GPRS module in addition, therefore data can be at FLASH, GPRS, ancillary equipment, mutual as directly carrying out between PC or the notebook computer, this also is an other implementation method of mobile data storage, 21 of GPRS module Transmit-Receive Units are directly normally realized GPRS data transmit-receive function with built-in aerial 13, produce by software programming and read and write the FLASH sequential, reach the storage to FLASH.
It should be noted last that: above embodiment is the unrestricted technical scheme of the present invention in order to explanation only, although the present invention is had been described in detail with reference to the foregoing description, those of ordinary skill in the art is to be understood that: still can make amendment or be equal to replacement the present invention, and not breaking away from any modification or partial replacement of the spirit and scope of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.