Embodiment
Below in conjunction with specific embodiment and accompanying drawing the utility model is described further, but not as to qualification of the present utility model.
Embodiment 1:
Referring to Fig. 1, a kind of compound contact card reader comprises:
Deck 101: be used to connect smart card, link to each other, also link to each other with second interface 104 with MCU and IC-card circuit 102;
MCU and IC-card circuit 102: undertaken alternately by the smart card of deck 101 with the ISO7816-3 standard; And undertaken alternately by first interface 103 and main frame;
First interface 103: be the data transmission channel between MCU and IC-card circuit 102 and main frame;
Second interface 104: be via the smart card of the ISO7816-12 standard of deck 101 and the data transmission channel between main frame.
Among the utility model embodiment, specifically acting as of MCU and IC-card circuit 102: according to the smart card information of host command operation via the ISO7816-3 standard of deck 101, after converting thereof into the smart card information of USB standard, send to main frame via first interface 103; Also receive simultaneously by first interface 103 and receive the information that main frames are issued smart card, through or connect by deck 101 and send to smart card without handling the back.
Referring to Fig. 2, the circuit diagram of a kind of compound contact card reader that provides for the utility model embodiment 1, MCU and IC-card circuit have specifically adopted the MCU processor of model U1C8051F344 and relevant resistance, electric capacity and triode among the figure; First interface concrete corresponding the USB interface of label J1; Second interface concrete corresponding the USB interface of label J2; Deck concrete corresponding label be the contact draw-in groove of J3.Concrete principle of work is: in the time will operating the smart card of ISO7816-12 standard, connect the second interface J2, insert intelligence and snap into J3, main frame is by the smart card information of USB interface J2 and contact draw-in groove J3 direct control ISO7816-12 standard; In the time will operating the smart card of ISO7816-3 standard, connect the first interface J1, insert intelligence and snap into J3, the MCU and the IC-card circuit that contain the MCU processor carry out data interaction with the smart card that meets the ISO7816-3 standard that is connected by contact draw-in groove J3, the MCU processor becomes to meet the information of USB standard again with mutual data-switching, carry out communication via J1 interface and external host device, realize the data interaction between main process equipment and the smart card.
Embodiment 2:
Referring to Fig. 3, a kind of compound contact card reader comprises:
Deck 201: be used to connect smart card, also link to each other with switch 202;
Switch 202: a plurality of pins that are used to switch deck 201, make these pin gating second interface 205 or MCU and IC-card circuit 203, specifically be the switch of six groups of single-pole double-throw (SPDT)s, conducting deck 201 and MCU and IC-card circuit 203 are selected in the conducting that can simultaneously six groups of switches be made progress; Also can select the conducting deck 201 and second interface 205 simultaneously with six groups of downward conductings of switch;
MCU and IC-card circuit 203: be used for when switch 202 during with itself and deck 201 gatings, the smart card by deck 201 and ISO7816-3 standard carries out data interaction; Also be used for carrying out data interaction with main frame by first interface 204;
First interface 204: be the data transmission channel between MCU and IC-card circuit 203 and main frame;
Second interface 205:, be via the smart card of the ISO7816-12 standard of deck 201 and the data transmission channel between main frame when switch 202 during with itself and deck 201 gatings.
Referring to Fig. 4, a kind of compound contact card reader circuit diagram that provides for the utility model embodiment 2.MCU and IC-card circuit 203 have specifically adopted the MCU processor of model U1 C8051F344 and relevant resistance, electric capacity and triode among the figure; Concrete corresponding the USB interface of label J1 of first interface 204; Concrete corresponding the USB interface of label J2 of second interface 205; Concrete corresponding the contact draw-in groove circuit of J3 of deck 201; Switch 202 correspondences label SW1.Concrete principle of work is: in the time will operating the smart card of ISO7816-12 standard, six switches of switch SW 1 are all pulled following position--be the direct and USB interface J2 conducting of contact draw-in groove J3, when read write line connects main frame, smart card inserts J3, and then main frame meets the smart card of ISO7816-12 standard by USB interface J2 direct control.In the time will operating the smart card of ISO816-3 standard, six switches of switch SW 1 are all pulled top position---be contact draw-in groove J3 and MCU and IC-card circuit turn-on, simultaneously, the D+ of contact draw-in groove J3 and D-pin are by vacant, when read write line connects main frame, smart card inserts J3, then MCU and IC-card circuit carry out data interaction with the smart card that meets the ISO7816-3 standard that is connected by contact draw-in groove J3, the MCU processor becomes to meet the information of USB standard again with mutual data-switching, carry out communication via J1 interface and external host device, realize the data interaction between main process equipment and the smart card.
Further, the switch 202 in the present embodiment also can be an analog switch, for example: the analog switch of six groups of alternatives.
Embodiment 3:
Referring to Fig. 5, a kind of compound contact card reader comprises:
Deck 301: be used to connect smart card, also link to each other with switch 302;
Switch 302: conducting deck 301 and MCU and IC-card circuit 303 under the default conditions, when second interface 305 links to each other with main frame, the conducting deck 301 and second interface 305.It specifically is the electromagnetic relay of six groups of single-pole double-throw (SPDT)s; Conducting deck 301 and MCU and IC-card circuit 303 are selected in the conducting that can simultaneously six groups of switches be made progress; Also can select the conducting deck 301 and second interface 305 simultaneously with six groups of downward conductings of switch;
MCU and IC-card circuit 303: by default, the smart card by deck 301 and ISO7816-3 standard carries out data interaction; Also carry out data interaction by first interface 304 and main frame;
First interface 304: be the data transmission channel between MCU and IC-card circuit 303 and main frame;
Second interface 305:, be main frame and via the data transmission channel between the smart card of the ISO7816-12 standard of deck 301 when switch 302 during with itself and deck 301 conductings.
Referring to Fig. 6, a kind of compound contact card reader circuit diagram that provides for the utility model embodiment 3.MCU and IC-card circuit 303 have specifically adopted the MCU processor of model U1C8051F344 and relevant resistance, electric capacity and triode among the figure; Concrete corresponding the USB interface of label J1 of first interface 304; Concrete corresponding the USB interface of label J2 of second interface 305; Deck concrete corresponding the contact draw-in groove of J3; Switch 302 correspondences six groups of single-pole double-throw (SPDT) electromagnetic relays of label REL1.Concrete principle of work is: in the time will operating the smart card of ISO7816-12 standard, label is that the USB interface of J2 is connected with main frame, electromagnetic relay KEL1 powers on, drop-down six groups of electromagnetic relays, contact draw-in groove J3 and interface J2 conducting, simultaneously, the RST of contact draw-in groove J3, CLK and I/O pin are suspended, and main frame sends instruction by the smart card information of USB interface J2 and contact draw-in groove J3 operation ISO7816-12 standard or to it; In the time will operating the smart card of ISO7816-3 standard, label is that the USB interface of J1 is connected with main frame, relay K EL1 does not power on, then the contact switch acquiescence is connected contact draw-in groove J3 with MCU processor and interlock circuit, this moment, D+ and the D-pin of contact draw-in groove J3 were suspended, contact draw-in groove J3 inserts smart card, then MCU and IC-card circuit carry out data interaction with the smart card that meets the ISO7816-3 standard that is connected by contact draw-in groove J3, the MCU processor becomes to meet the information of USB standard again with mutual data-switching, carry out communication via J1 interface and external host device, realize the data interaction between main process equipment and the smart card.
Further, the switch 302 in the present embodiment also can be an analog switch, for example: the analog switch of six groups of alternatives.
Embodiment 4:
Referring to Fig. 7, a kind of compound contact card reader comprises:
Deck 401: be used to connect smart card, also link to each other with switch 402;
Switch 402: be used for gating deck 401 and MCU and IC-card circuit 403, or gating deck 401 and interface 404, specifically be six groups of single-pole double-throw switch (SPDT)s, conducting deck 401 and MCU and IC-card circuit 403 are selected in the conducting that can simultaneously six groups of switches be made progress; Also can select conducting deck 401 and interface 404 simultaneously with six groups of downward conductings of switch;
MCU and IC-card circuit 403: the smart card by deck 401 and ISO7816-3 standard carries out data interaction; Also carry out data interaction by interface 404 and main frame;
Interface 404:, be the data transmission channel of 403 in main frame and MCU and IC-card circuit when switch 402 during with deck 401 and MCU and 403 conductings of IC-card circuit; When switch 402 with deck 401 during with interface 404 conductings, be main frame and via the data channel between the smart card of the ISO7816-12 standard of deck 401.
Referring to Fig. 8, a kind of compound contact card reader circuit diagram that provides for the utility model embodiment 4.MCU and IC-card circuit 403 have specifically adopted the MCU processor of model U1C8051F344 and relevant resistance, electric capacity and triode among the figure; Concrete corresponding the USB interface of label J1 of interface 404; Concrete corresponding the contact draw-in groove of J3 of deck 401; Switch 402 correspondences six groups of single-pole double-throw switch (SPDT)s that label is SW1.Concrete principle of work is: in the time will operating the smart card of ISO7816-12 standard, switch SW 1 is pulled following position---be contact draw-in groove J3 and the direct conducting of USB interface J1, simultaneously, the RST of contact draw-in groove J3, CLK and I/O pin are suspended, when read write line connected main frame, J3 inserted smart card, and then main frame meets the smart card of ISO7816-12 standard by USB interface J1 direct control.In the time will operating the smart card of ISO816-3 standard, switch SW 1 is pulled top position---be contact draw-in groove J3 and MCU and IC-card circuit turn-on, simultaneously, D+ and the D-pin of contact draw-in groove J3 are suspended, when read write line connects main frame, J3 inserts smart card, then MCU and IC-card circuit carry out data interaction with the smart card that meets the ISO7816-3 standard that is connected by contact draw-in groove J3, the MCU processor becomes to meet the information of USB standard again with mutual data-switching, carry out communication via J1 interface and external host device, realize the data interaction between main process equipment and the smart card.
Further, the switch 402 in the present embodiment also can be an analog switch, for example: the analog switch of six groups of alternatives.
Embodiment 5:
Referring to Fig. 9, a kind of compound contact card reader for the utility model provides comprises:
Deck 501: be used to connect smart card, also link to each other with switch 502;
Be used to connect smart card and MCU and IC-card circuit 503, also be used to connect smart card and interface 504.
Switch 502: under the default conditions with deck 501 and MCU and 503 conductings of IC-card circuit; When main frame sends the passage switching command via interface 504 to MCU and IC-card circuit 503, MCU and IC-card circuit 503 power on the electromagnetic relay in the switch 502, and then deck 501 directly is connected with interface 504.Specifically be six groups of single-pole double-throw (SPDT) formula electromagnetic relays.Under the default conditions, conducting deck 501 and MCU and IC-card circuit 503 are selected in the conducting that makes progress of six group relaies; Also can select conducting deck 501 and interface 504 simultaneously with the downward conducting of six group relaies.
MCU and IC-card circuit 503: carry out data interaction by deck 501 and ISO7816-3 standard intelligent card; Also carry out data interaction by interface 504 and main frame.
Interface 504: when switch 502 links to each other deck 501 with MCU and IC-card circuit 503, be the data transmission channel of 503 in main frame and MCU and IC-card circuit; When switch 502 that deck 501 is direct when coupled, be main frame and via the data channel between the smart card of the ISO7816-12 standard of deck 501.
Referring to Figure 10, a kind of compound contact card reader circuit diagram that provides for the utility model embodiment 5.MCU and IC-card circuit 503 have specifically adopted the MCU processor of model U1 C8051F344 and relevant resistance, electric capacity and triode among the figure; Concrete corresponding the USB interface of label J1 of interface 504; Concrete corresponding the contact draw-in groove circuit of J3 of deck 501; It is REL1's that switch 502 correspondences label; Six groups of single-pole double-throw (SPDT) electromagnetic relays.Concrete principle of work is: under the default conditions, the conducting up of the contact of electromagnetic relay REL1, D+ and the D-pin of contact draw-in groove J3 are suspended, main frame is earlier by the smart card information of MCU processor via deck operation ISO7816-3 standard, if it is unsuccessful, main frame sends the passage switching command by interface J1 to the MCU processor, after the MCU processor is received instruction, its P2.7 pin is set to low level, the then solenoid of electromagnetic relay REL1 power supply, the drop-down change direction in contact, draw-in groove J3 will directly be connected with USB interface, at this moment, and the RST of contact draw-in groove J3, CLK and I/O pin are suspended, and then main frame can be directly carries out data interaction with smart card via the ISO7816-12 standard of contact draw-in groove J3.
Further, the switch 502 in the present embodiment also can be an analog switch, for example: the analog switch of six groups of alternatives.
Among the utility model embodiment, behind direct gating deck of switch and the interface, why RST, CLK and the I/O pin of deck will be hung up, be for fear of when deck links to each other with the smart card of ISO7816-12 standard, is subjected in smart card and the host communication process disturbing from the signal of above-mentioned pin.In like manner, behind switching gate deck and MCU and the IC-card circuit, also the D+ of deck and D-pin can be hung up, when preventing that deck links to each other with the smart card of ISO7816-3 standard, be subjected to signal interference in smart card and the host communication process from these two pins.
Above-described embodiment, the utility model embodiment a kind of more preferably just, the common variation that those skilled in the art carries out in the technical solutions of the utility model scope and replacing all should be included in the protection domain of the present utility model.