CN204360371U - A kind of USBKey - Google Patents

A kind of USBKey Download PDF

Info

Publication number
CN204360371U
CN204360371U CN201420850101.3U CN201420850101U CN204360371U CN 204360371 U CN204360371 U CN 204360371U CN 201420850101 U CN201420850101 U CN 201420850101U CN 204360371 U CN204360371 U CN 204360371U
Authority
CN
China
Prior art keywords
usbkey
interface
mode
chip
usb
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
CN201420850101.3U
Other languages
Chinese (zh)
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.)
Beijing WatchData System Co Ltd
Beijing WatchSmart Technologies Co Ltd
Original Assignee
Beijing WatchSmart Technologies Co 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 Beijing WatchSmart Technologies Co Ltd filed Critical Beijing WatchSmart Technologies Co Ltd
Priority to CN201420850101.3U priority Critical patent/CN204360371U/en
Application granted granted Critical
Publication of CN204360371U publication Critical patent/CN204360371U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The utility model discloses a kind of USBKey, belong to technical field of security authentication.Described USBKey comprises USBKey chip (1) and USBKey interface, described USBKey interface comprises USB interface (2) and non-USB interface (3), described USBKey also comprises the mode of operation judge module (4) of the mode of operation for judging USBKey and the interface switching module (5) for being communicated with USBKey chip (1) the USBKey interface corresponding with described mode of operation according to the mode of operation of USBKey, and mode of operation judge module (4) is connected with USBKey chip (1) respectively with interface switching module (5).The connection that this USBKey achieves between USBKey chip from different USBKey interface switches, and has saved the input and output pin of USBKey chip and MCU, has saved hardware resource.

Description

A kind of USBKey
Technical field
The utility model relates to safety certificate equipment field, is specifically related to a kind of USBKey.
Background technology
USB Key (hereinafter referred to as U shield) is a kind of by the ID authentication device of Internet bank user widely used guarantee user account safety.Current this kind of equipment has been applied to the occasion that Web bank, ecommerce etc. need to carry out authentication more and more widely.
Tradition U shield is applied in the PC such as PC owing to adopting single USB communication interface, therefore is called U shield.In recent years along with the develop rapidly of mobile Internet, increasing mobile device (as mobile phone, panel computer etc.) becomes the new applied environment of U shield, and some equipment not necessarily having the USB interface of standard, traditional U shield can not meet the demand of people.In order to address this is that, U shield function has been expanded more communication interface, as blue tooth interface, audio interface, NFC interface etc.In order to realize the multiple interfaces mode of multi-functional U shield, need the connection of setting up distinct interface and USB Key chip respectively, this just needs that U shield has more input/output port, namely I/O end, can consume more hardware resource, such as, there is the U end of audio interface and USB interface, need corresponding input/output port between audio interface with USB Key chip, need corresponding input/output port between USB interface with USB Key chip, as shown in Figure 1.
Utility model content
For the defect existed in prior art, the purpose of this utility model is to provide a kind of USBKey, can save hardware resource by this USBKey.
For achieving the above object, the technical solution adopted in the utility model is as follows:
A kind of USBKey, comprise USBKey chip and USBKey interface, described USBKey interface comprises USB interface and non-USB interface, described USBKey also comprises the mode of operation judge module of the mode of operation for judging USBKey and the interface switching module for being communicated with the USBKey chip USBKey interface corresponding with described mode of operation according to the mode of operation of USBKey, and mode of operation judge module and interface switching module are connected with USBKey chip respectively.
Optionally, the mode of operation of a kind of USBKey as above, described USBKey comprises USB mode of operation and non-USB mode of operation, and described USB mode of operation refers to that USBKey is by USB interface and exterior terminal equipment connection; Described non-USB mode of operation refers to that USBKey is by non-USB interface and exterior terminal equipment connection.
Optionally, a kind of USBKey as above, described mode of operation judge module comprises voltage distribution unit, and the input end of described voltage distribution unit is connected with USB interface, and output terminal is connected with USBKey chip.
Optionally, a kind of USBKey as above, described voltage distribution unit comprises the first resistance and the second resistance that are connected in series, the first resistance eutral grounding, and one end of the second resistance is connected with USB interface, the other end is connected with USBKey chip.
Optionally, a kind of USBKey as above, described interface switching module comprises dpdt double-pole double-throw (DPDT) analog switch, first data of dpdt double-pole double-throw (DPDT) analog switch send pin and are connected with USB interface, second data send pin and are connected with non-USB interface, Switch Control pin is connected with USBKey chip delivery outlet, and data transmission pin is connected with the FPDP of USBKey chip.
Optionally, a kind of USBKey as above, described dpdt double-pole double-throw (DPDT) analog switch is SGM7228 dpdt double-pole double-throw (DPDT) analog switch.
Optionally, a kind of USBKey as above, described non-USB interface is audio interface, blue tooth interface or NFC interface.
The beneficial effects of the utility model are: USBKey described in the utility model, and the connection achieved between USBKey chip from different USBKey interface switches, and has saved the input and output pin of the MCU of USBKey chip and USBKey, has saved hardware resource.
Accompanying drawing explanation
Fig. 1 is the structural representation of existing Multifunctional USB Key;
Fig. 2 is the structural representation of a kind of USBKey in the utility model embodiment;
Fig. 3 is a kind of implementation schematic diagram of mode of operation judge module in the utility model embodiment;
Fig. 4 is a kind of connected mode schematic diagram of interface switching module and USBKey chip in the utility model embodiment.
Embodiment
Below in conjunction with Figure of description and embodiment, the utility model is described in further detail.
Fig. 2 shows in the utility model embodiment the structural representation of a kind of USBKey provided, as can be seen from Figure, this USBKey mainly includes the USBKey chip 1 i.e. micro-control unit MCU of USBKey, and the USBKey interface that is connected is realized for USBKey and exterior terminal equipment, wherein, USBKey interface comprises USB interface 2 and non-USB interface 3, when USBKey is by USB interface 2 and exterior terminal equipment connection, the mode of operation of USBKey is USB mode of operation, when USBKey is by non-USB interface 3 and exterior terminal equipment connection, the mode of operation of USBKey is non-USB mode of operation.Wherein, described non-USB interface can be blue tooth interface, audio interface or NFC interface etc.
In the present embodiment, described exterior terminal equipment is referred to and can be connected by USB interface 2 or non-USB interface 3 with USBKey and can to carry out the terminal device of data interaction with USBKey chip 1, this equipment includes but not limited to PC and can realize other smart machine of class PC function, as being the smart mobile phone that can be connected by non-USB interface 3 with USBKey etc.Described USBKey chip 1 refers to the master chip of USBKey, i.e. the MCU of USBKey.
As seen from Figure 2, in the present embodiment, described USBKey also comprises mode of operation judge module 4 and an interface switching module 5, described mode of operation judge module 4 is for judging the mode of operation of USBKey, and described interface switching module 5 is for being communicated with the USBKey chip USBKey interface corresponding with described mode of operation according to the mode of operation of USBKey.Concrete, when USBKey is in USB mode of operation, the input/output port of described interface switching module 5 control USBKey chip 1 is connected with USB interface 2, when USBKey is in non-USB mode of operation, the input/output port of described interface switching module 5 control USBKey chip 1 is connected with non-USB interface 3.The input/output port of USBKey chip 1 refers to the I/O interface of USBKey chip.
Described mode of operation judge module 5 can adopt different implementations, provides following three kinds of modes in the present embodiment:
The first, described mode of operation judge module 4 comprises:
Whether USB interface monitoring unit, have data to transmit for monitoring in USB interface;
Mode of operation judging unit, for judging the mode of operation of USBKey according to the monitored results of USB interface monitoring unit, if there are data to transmit in USB interface, then judges that the mode of operation of USBKey is USB mode of operation, otherwise is non-USB mode of operation;
Judged result transmitting element, the judged result for the mode of operation by USBKey is sent to USBKey chip 1.
Which, by in monitoring USB interface 2, whether data transmission judges whether USBKey is USB mode of operation, when USBKey be connected with exterior terminal equipment (as PC) by USB interface 2 time, exterior terminal can provide power supply for USBKey, exterior terminal equipment is once learn that new equipment connects, USB will be carried out to the USBKey of access to enumerate, in enumeration process, just have in USB interface 2 data command transmission, therefore can by monitoring USB interface 2 in whether have command to determine whether USBKey in USB mode of operation.
The second, as shown in Figure 3, described mode of operation judge module 4 comprises voltage distribution unit, and the input end of described voltage distribution unit is connected with USB interface 2, and output terminal is connected with USBKey chip 1.Wherein, a kind of implementation of described voltage distribution unit is: comprise the first resistance and the second resistance that are connected in series, the first resistance eutral grounding, one end of the second resistance is connected with USB interface 2, the other end is connected with USBKey chip 1.
Adopt which, whether USBKey chip 1 can have voltage to export by voltage distribution unit judges whether USBKey is USB mode of operation, when USBKey is by USB interface 2 and exterior terminal equipment connection, the operating voltage of USBKey chip is provided by USB interface 2 by exterior terminal equipment, therefore, if voltage distribution unit there is voltage export, can judge that USBKey is under USB mode of operation, otherwise be non-USB mode of operation.
In the present embodiment, described interface switching module 5 comprises information receiving unit and interface switch unit.
Information receiving unit, for receiving the information of the mode of operation of the USBKey that USB Key chip sends;
Interface switch unit, for the mode of operation according to described USBKey, is communicated with the USBKey interface that USBKey chip is corresponding with described mode of operation.
Wherein, described interface switching module 5 can adopt the mode of integrated chip to realize, as adopted dpdt double-pole double-throw (DPDT) analog switch, now, first data of dpdt double-pole double-throw (DPDT) analog switch send pin and are connected with USB interface 2, second data send pin and are connected with non-USB interface 3, and Switch Control pin is connected with USBKey chip 1 delivery outlet, and data transmission pin is connected with the FPDP of USBKey chip 1.Described data transmission pin refers to four contacts outside dpdt double-pole double-throw (DPDT) analog switch common, and wherein pair of contact is connected with the data input/output terminal of USB interface, and another pair of contact is connected with the data input/output terminal of non-USB interface.
As shown in Figure 4, adopt model to be the circuit diagram of integrated chip as double-point double-throw switch in the present embodiment of SGM7228YWQ10G_TR, in figure, four HSD pins are that the data of integrated chip send pin, first data send pin HSD1+ with HSD1-and are connected with the data line end of USB interface 2, and the first data send pin HSD2 with HSD2 and are connected with the data line end of non-USB interface 3; D+, D-pin in figure is the data transmission pin of chip, be connected with the data transmission port of USBKey chip 1, S pin in figure is Switch Control pin and the model selection pin MODE-SEL of chip, the voltage output end Output of this pin and USBKey chip 1.In the course of the work, USBKey chip 1 controls its voltage output end Output according to the Different Results of the mode of operation judge module 4 received and exports different voltage, after the S pin of integrated chip receives this voltage, control is that HSD1 pin is connected with USB interface 2, or control HSD2 pin is connected with non-USB interface 3."+", "-" two different ports just for representing pin of above-mentioned pin, one is positive interface, a negative interface.
Such as, when USBKey is USB mode of operation, USBKey chip 1 controls its voltage output end Output output HIGH voltage, after the S pin of integrated chip receives high voltage, control its HSD1 pin to be connected with USB interface 2, achieve the connection of USB interface 2 and USBKey chip 1; When USBKey is non-USB mode of operation, USBKey chip 1 controls its voltage output end Output output LOW voltage, after the S pin of integrated chip receives low-voltage, control HSD2 pin and be connected with non-USB interface, achieve the connection of non-USB interface 3 and USBKey chip 1.
It should be noted that, other pin of integrated chip SGM7228YWQ10G_TR and the connected mode of associated components (the electric capacity C as in figure) in Fig. 4, be all known to those skilled in the art, if OE pin is output enable end, describe no longer one by one.Described interface switching module 5 includes but not limited to the above-mentioned form enumerated, those skilled in the art can adopt as required above-mentioned or other there is the implementation of above-mentioned handoff functionality.In addition, a complete USBKey is except comprising the above-mentioned each parts such as USBKey chip (master chip of USBKey), USBKey interface described in the present embodiment, also comprise some other the indispensable parts of USBKey, as display screen, power supply etc., and these parts are all known to those skilled in the art, also will not enumerate description at this.
The USBKey provided in the utility model embodiment, the problem of resource waste that Multifunctional USB Key needs multiple USBKey chip to possess multiple input/output port and I/O pin to cause can be solved, when USBKey possesses USB interface and non-USB interface simultaneously, USBKey chip also only needs a pair I/O pin, has effectively saved hardware resource.
Obviously, those skilled in the art not departing from spirit and scope of the present utility model, can carry out various change and modification to the utility model and not depart from spirit and scope of the present utility model.Like this, if these amendments of the present utility model and modification belong within the scope of the utility model claim and equivalent technology thereof, then the utility model is also intended to comprise these change and modification.

Claims (7)

1. a USBKey, comprise USBKey chip (1) and USBKey interface, described USBKey interface comprises USB interface (2) and non-USB interface (3), it is characterized in that, described USBKey also comprises the mode of operation judge module (4) of the mode of operation for judging USBKey and the interface switching module (5) for being communicated with USBKey chip (1) the USBKey interface corresponding with described mode of operation according to the mode of operation of USBKey, mode of operation judge module (4) is connected with USBKey chip (1) respectively with interface switching module (5).
2. a kind of USBKey according to claim 1, it is characterized in that, the mode of operation of described USBKey comprises USB mode of operation and non-USB mode of operation, and described USB mode of operation refers to that USBKey is by USB interface (2) and exterior terminal equipment connection; Described non-USB mode of operation refers to that USBKey is by non-USB interface (3) and exterior terminal equipment connection.
3. a kind of USBKey according to claim 2, it is characterized in that, described mode of operation judge module (4) comprises voltage distribution unit, and the input end of described voltage distribution unit is connected with USB interface (2), and output terminal is connected with USBKey chip (1).
4. a kind of USBKey according to claim 3, it is characterized in that, described voltage distribution unit comprises the first resistance and the second resistance that are connected in series, first resistance eutral grounding, one end of the second resistance is connected with USB interface (2), the other end is connected with USBKey chip (1).
5. a kind of USBKey according to claim 2, it is characterized in that: described interface switching module (5) comprises dpdt double-pole double-throw (DPDT) analog switch, first data of dpdt double-pole double-throw (DPDT) analog switch send pin and are connected with USB interface (2), second data send pin and are connected with non-USB interface (3), Switch Control pin is connected with USBKey chip (1) delivery outlet, and data transmission pin is connected with the FPDP of USBKey chip (1).
6. a kind of USBKey according to claim 5, is characterized in that: described dpdt double-pole double-throw (DPDT) analog switch is SGM7228 dpdt double-pole double-throw (DPDT) analog switch.
7. according to a kind of USBKey one of claim 1 to 5 Suo Shu, it is characterized in that: described non-USB interface (3) is audio interface, blue tooth interface or NFC interface.
CN201420850101.3U 2014-12-26 2014-12-26 A kind of USBKey Active CN204360371U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420850101.3U CN204360371U (en) 2014-12-26 2014-12-26 A kind of USBKey

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420850101.3U CN204360371U (en) 2014-12-26 2014-12-26 A kind of USBKey

Publications (1)

Publication Number Publication Date
CN204360371U true CN204360371U (en) 2015-05-27

Family

ID=53261827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420850101.3U Active CN204360371U (en) 2014-12-26 2014-12-26 A kind of USBKey

Country Status (1)

Country Link
CN (1) CN204360371U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786740A (en) * 2014-12-26 2016-07-20 北京握奇智能科技有限公司 USBKey
CN106911467A (en) * 2015-12-23 2017-06-30 北京握奇智能科技有限公司 A kind of data confidentiality storage and the method for transmission

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786740A (en) * 2014-12-26 2016-07-20 北京握奇智能科技有限公司 USBKey
CN105786740B (en) * 2014-12-26 2019-09-27 北京握奇智能科技有限公司 A kind of USBKey
CN106911467A (en) * 2015-12-23 2017-06-30 北京握奇智能科技有限公司 A kind of data confidentiality storage and the method for transmission

Similar Documents

Publication Publication Date Title
CN203224819U (en) Mainboard
CN101281421B (en) USB interface switching device
CN202134745U (en) Multifunctional USB OTG data line
CN104917016A (en) Charging type concentrator
CN102339405B (en) Data card
CN101404001A (en) Serial port signal and USB signal compatible control circuit board and communication data cable
CN104461992A (en) Electronic device
CN105162213A (en) USB controller, and device
CN103853689A (en) Device and method of automatic switchover of USB (Universal Serial Bus) and four-line serial port UART (Universal Asynchronous Receiver Transmitter)
CN203520391U (en) Data transmission multiplexing device
CN204155267U (en) A kind of OTG usb circuit
CN204668678U (en) A kind of Multifunctional USB C-Type interface data wire
CN103684407A (en) Otg device
CN204360371U (en) A kind of USBKey
CN202798652U (en) Signal conversion circuit and interface switching equipment
CN106207685A (en) A kind of plug interconnecting device
CN203870609U (en) Automatic USB communication and audio communication switching circuit
CN107124175B (en) Two-way USB control circuit
CN104914933A (en) Control circuit and driving method of touch all-in-one machine external equipment
CN102854417A (en) Master test board and testing method thereof
CN103311766A (en) Mobile equipment switching device and working mode switching method thereof
CN105786740B (en) A kind of USBKey
CN205846767U (en) Charger
CN103489431B (en) A kind of display terminal
CN205015883U (en) Multichannel serial ports debugging device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant