USBKEY equipment
Technical field
The present invention relates to the communication technology, relate in particular to a kind of USBKEY equipment.
Background technology
Current USBKEY is mainly used in the e-Bank payment on the computing machine, is connected with USB mouth on the computing machine by USB plug or USB connecting line, and the utility command that the receiving computer end is initiated provides the defencive functions such as security signature authentication, secondary-confirmation for e-Bank payment.At present, different mobile phone models, the audio interface that generally all has, and audio interface is unified.
Along with popularizing of mobile phone; mobile-phone payment is flourish as e-Bank payment before; from initial WAP (wireless application protocol) (Wireless Application Protocol; be called for short Wap) bank; the payment client terminal on the various smart mobile phones till now; but these are used the hardware security means of payment that all lack similar USBKEY and protect, easily by assault.But the external data-interface of mobile phone is varied, is difficult to provide the security tool of uniform data interface, and, developing the new hardware means of payment for mobile-phone payment separately, cost consumption is huge.
Summary of the invention
The invention provides a kind of USBKEY equipment, be used for realizing the secure payment of mobile phone.
The invention provides a kind of USBKEY equipment, wherein, comprising:
First communication module is used for and compunication;
Second communication module is used for and mobile communication;
Central processing module is used for selecting to communicate by letter with described first communication module or second communication module according to subscriber policy;
Wherein, described second communication module comprises:
The voice communication module is used for being connected with data with the audio interface of mobile phone and transit module is connected, to realize the conversion of digital signal and simulating signal;
Data are processed and transit module, are connected with the serial interface communication module with described voice communication module communication, are used for and will resolve to obtain instruction from the digital signal of described voice communication module, and instruction is sent to the serial interface communication module;
The serial interface communication module is used for processing and the transit module communication connection with described central processing module and data, changing according to serial communication protocol by the mutual instruction of the serial communication interface of USBKEY equipment.
Aforesaid USBKEY equipment, preferably, described second communication module also comprises:
Supply module is electrically connected with described voice communication module, described data processing and transit module and described serial interface communication module, is used for providing electric energy.
Aforesaid USBKEY equipment, preferably, described voice communication module comprises:
The voice communication unit is used for being connected with the audio interface of mobile phone, to receive the simulating signal of described audio interface transmission;
Demodulating unit, with described voice communication unit be connected that data are processed and transit module is connected, will transferring digital signal to from described voice communication unit simulation signal, and be sent to described data processing and transit module;
Modulating unit, with described voice communication unit be connected that data are processed and transit module is connected, will transferring simulating signal to from the digital signal of described data processing and transit module, and be sent to described voice communication unit.
Aforesaid USBKEY equipment, preferably, described data are processed and transit module comprises:
Data processing unit is connected with the serial interface communication module with described voice communication module communication, will resolving to obtain instruction from the digital signal of described voice communication module, and instruction is sent to the serial interface communication module;
The data relay unit is connected with the serial interface communication module with described voice communication module communication, will be sent to from the instruction of described serial interface communication module the voice communication module.
Aforesaid USBKEY equipment, preferably, described serial interface communication module comprises:
The first converting unit is used for and the communication connection of described central processing module, so that described the first instruction is converted to the second instruction according to serial communication protocol, and is sent to described USBKEY equipment;
The second converting unit is used for and described central processing module and data are processed and the transit module communication connection, is converted to the response of the first instruction with the response of the second instruction that described USBKEY equipment is returned.USBKEY equipment provided by the invention, compatible good, can make amendment based on the USBKEY that uses before the user, the demand of using at mobile phone can be satisfied, and the security of mobile-phone payment can be guaranteed.
Description of drawings
The USBKEY equipment principle synoptic diagram that Fig. 1 provides for the embodiment of the invention one;
The USBKEY environment division principle schematic that Fig. 2 provides for the embodiment of the invention two.
Embodiment
The USBKEY equipment principle synoptic diagram that Fig. 1 provides for the embodiment of the invention one.
Referring to Fig. 1, the embodiment of the invention provides a kind of USBKEY equipment, wherein, comprises first communication module 10, second communication module 20 and central processing module 30.First communication module 10 is used for and compunication, and second communication module 20 is used for and mobile communication, and central processing module 30 is used for selecting to communicate by letter with described first communication module 10 or second communication module 20 according to subscriber policy.Herein, second communication module 20 specifically comprises voice communication module 1, data processing and transit module 2 and serial interface communication module 3.Voice communication module 1 is used for being connected with data with the audio interface of mobile phone and transit module 2 is connected, to realize the conversion of digital signal and simulating signal; Data are processed and transit module 2 is connected with the serial interface communication module with described voice communication module 1 communication and is connected, and for will resolving to obtain instruction from the digital signal of described voice communication module 1, and instruction are sent to serial interface communication module 3; Serial interface communication module 3 is used for processing and transit module 2 communication connections with described central processing module 30 and data, changing according to serial communication protocol by the mutual instruction of the serial communication interface of USBKEY equipment.
Second communication module is the module that increases newly on the USBKEY equipment, and first communication module and central processing module are the modules that has possessed on the existing USBKEY equipment.
Use the method for above-mentioned USBKEY equipment as follows: USBKEY equipment directly being connected with mobile phone or computing machine, noting, when connecting mobile phone, is to be connected on any one earphone jack of mobile phone; When connecting computing machine, connect the USB socket of computing machine.When using above-mentioned USBKEY equipment to carry out the mobile phone checking, authorization information is sound signal through the modulation /demodulation module converts of interior of mobile phone; This sound signal transfers to the voice communication module 1 of second communication module 20 via the audio interface of mobile phone, and voice communication module 1 transfers this sound signal to digital signal; Then this digital signal is transferred to data processing and transit module 2, and data are processed and transit module 2 is resolved this digital signal, to obtain instruction, then this instruction are reached serial interface communication module 3; Serial interface communication module 3 is changed this instruction according to serial communication protocol, then be sent to central processing module 30.After central processing module 30 is handled, meet with a response, then should respond via serial interface communication module 3 and data and process and transit module 2 reaches voice communication module 1; Voice communication module 1 is converted to sound signal with digital signal; Then the audio interface via mobile phone reaches mobile phone, and the modulation /demodulation module of interior of mobile phone is converted to digital signal with this sound signal, reaches chip for cell phone again, so far, realizes the payment safety checking.
Need to prove, except equipment itself, the payment software of USBKEY equipment also need provide support on the mobile phone, can be according to the USBKEY interactive instruction agreement on original computing machine, send instruction by audio port to breakout box, and the reception ﹠ disposal return results, and finish transaction after mutual with remote server.The remote server end only need carry out correspondence to be revised, such as being revised as the remote transaction can the reception ﹠ disposal mobile phone terminal initiated and USBKEY authentication request etc.
Further, second communication module 20 also comprises supply module 4, and supply module 4 is processed with described voice communication module 1, described data and transit module 2 and 3 electric connections of described serial interface communication module, is used for providing electric energy.
From the above, the USBKEY equipment that technique scheme provides can be implemented in simultaneously on mobile phone and the computing machine and use, and is compatible good, also can guarantee the security of mobile-phone payment.
The USBKEY environment division principle schematic that Fig. 2 provides for the embodiment of the invention two.
Referring to Fig. 2, the embodiment of the invention two is on the technical scheme basis of above-described embodiment, and preferably, described voice communication module 1 comprises voice communication unit 11, demodulating unit 12 and modulating unit 13.Voice communication unit 11 is used for being connected with the audio interface of mobile phone, to receive the simulating signal of described audio interface transmission; Demodulating unit 12 and described voice communication unit 11 be connected that data are processed and transit module 2 is connected, will transferring digital signal to from described voice communication unit 11 simulating signals, and be sent to described data processing and transit module 2; Modulating unit 13 and described voice communication unit 11 be connected that data are processed and transit module 2 is connected, will transferring simulating signal to from the digital signal of described data processing and transit module 2, and be sent to described voice communication unit 11.
Demodulating unit and modulating unit can be by means of existing techniques in realizing.Be clear signal, not shown supply module among Fig. 2 herein.
Adopt the voice communication module of above-mentioned implementation, can effectively realize the modulation /demodulation between digital signal and the simulating signal.
Further, data processing and transit module 2 comprise data processing unit 21 and data relay unit 22.Data processing unit 21 is connected with the serial interface communication module with 1 communication of described voice communication module and is connected, and will resolving to obtain instruction from the digital signal of described voice communication module 1, and instruction is sent to serial interface communication module 3; Are connected with the serial interface communication module with 1 communication of described voice communication module and are connected in data relay unit 22, will be sent to from the instruction of described serial interface communication module 3 voice communication module 1.
The data of above-mentioned implementation are processed and transit module, effectively deal with data and return data result.
Again further, serial interface communication module 3 comprises the first converting unit 31 and the second converting unit 32.The first converting unit 31 is used for and central processing module 30 communication connections, so that described the first instruction is converted to the second instruction according to serial communication protocol, and is sent to described USBKEY equipment; The second converting unit 32 is used for and central processing module 30 and data are processed and transit module 2 communication connections, is converted to the response of the first instruction with the response of the second instruction that described USBKEY equipment is returned.
The first converting unit and the second converting unit can be by means of existing techniques in realizing.
The serial interface communication module of above-mentioned implementation can effectively generate the instruction that meets serial communication protocol.
The USBKEY equipment that the embodiment of the invention two provides improves based on existing USBKEY equipment, so that can use on mobile phone, has guaranteed the security of mobile-phone payment.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can be finished by the relevant hardware of programmed instruction.Aforesaid program can be stored in the computer read/write memory medium.This program is carried out the step that comprises above-mentioned each embodiment of the method when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above each embodiment is not intended to limit only in order to technical scheme of the present invention to be described; Although with reference to aforementioned each embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.