A kind of card reader for the Contact Type Ic Card for being embedded in safe module
Technical field
Read write line field is the utility model is related to, more particularly to a kind of Card Reader for the Contact Type Ic Card for being embedded in safe module
Device.
Background technology
Magnetic stripe card on the market, the cheap of magnetic stripe card, security performance be low, easy demagnetization.Offender typically by
Monitoring camera above ATM, see that holder inputs password, steal the password of holder, for stealing holder
Credit card information.And the copying equipment of bank card even password is stolen equipment and largely come into the market, as the equipment such as card reader exist
Online or electronic market can be bought easily, and the price of equipment set is not expensive.Bank's magnetic stripe card is frequent by brush case is stolen
Occur, national all departments also pay much attention to, and Central Bank there are new rule, it is desirable to magnetic stripe card is eliminated preceding developed area in 2015,
Overall application financial IC card.
Financial IC card, the chip card often said is that is to say, be exactly the upgrade version of magnetic stripe card, chip card capacity is big, and storage capacity is
160 times of magnetic stripe card, the information such as secret key, digital certificate, fingerprint can be stored, there is the good data encryption of read-write protection to protect on chip card
Shield, and personal identification number, card and read write line two-way authentication are taken on using protection, the difficulty of duplication is high, possesses very strong
Anti-attack ability.The stability of financial IC card is also more stronger than magnetic stripe card, is not in the situation of demagnetization.
Utility model content
The utility model provides a kind of card reader for the Contact Type Ic Card for being embedded in safe module, solves common IC card reader
Stability and not high security the problem of.
The utility model is achieved through the following technical solutions:
A kind of card reader for the Contact Type Ic Card for being embedded in safe module, including main control chip, safe module, voltage-stabilized power supply core
Piece, USB interface, analog front-end chip, contact deck are connected by described analog front-end chip with the main control chip;Honeybee
Ring device and three indicator lamps are connected by I/0 interfaces with the main control chip, wherein, three indicator lamps include a red instruction
Lamp and two green indicating lamps, the red led are used to indicate that power supply status, described two green indicating lamps indicate respectively
Snap into state and communication state;The safe module expands 3 PSAM card decks, and LCD liquid crystal display screen and code keypad lead to
The external main control chip of PS/2 interfaces is crossed, reset circuit, debug circuit and external crystal oscillation circuit connect with the main control chip
Connect, the USB interface is powered by voltage-stabilized power supply chip to the main control chip.
Further, the main control chip uses STM32F103 models.
Further, the analog front-end chip uses DS81113 models.
Further, the voltage-stabilized power supply chip uses LM1117 models.
The utility model compared with prior art, has following technique effect:The utility model supports that meeting ISO7816 connects
Touch CPU card, SLE4442, SLE4428 card, and DES, 3DES algorithm for encryption are supported, while 3 PSAM card decks can be expanded,
The close commercial encryption algorithm of acceding state is expanded, such as SM2, SM3, SM4 algorithm;Communicated using USB2.0, without driving, plug and play,
It is convenient to use, external LCDs and code keypad, convenient use.
Brief description of the drawings
, below will be to embodiment in order to illustrate more clearly of the utility model embodiment or technical scheme of the prior art
Or the required accompanying drawing used is briefly described in description of the prior art.It is clear that drawings in the following description are only
Some embodiments of the utility model, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic diagram of the card reader for the Contact Type Ic Card for being embedded in safe module of the present utility model;
Fig. 2 is the chip pin figure of main control chip of the present utility model;
Fig. 3 is the chip pin figure of analog front-end chip of the present utility model;
Fig. 4 is the circuit structure diagram of voltage-stabilized power supply chip operation of the present utility model;
Embodiment
It is new below in conjunction with this practicality to make the purpose, technical scheme and advantage of the utility model embodiment clearer
Accompanying drawing in type embodiment, the technical scheme in the embodiment of the utility model is clearly and completely described, it is clear that is retouched
The embodiment stated is the utility model part of the embodiment, rather than whole embodiments.
Fig. 1 is a kind of schematic diagram of the card reader for the Contact Type Ic Card for being embedded in safe module of the present utility model;Such as Fig. 1 institutes
Show, the utility model includes main control chip, safe module, voltage-stabilized power supply chip, USB interface, analog front-end chip, contact card
Seat is connected by described analog front-end chip with the main control chip;Buzzer and three indicator lamps pass through I/0 interfaces and institute
Main control chip connection is stated, wherein, three indicator lamps include a red led and two green indicating lamps, the red instruction
Lamp is used to indicate that power supply status, described two green indicating lamps indicate respectively the state of snapping into and communication state;The safe mould
Group expands 3 PSAM card decks, LCD liquid crystal display screen and code keypad by the external main control chip of PS/2 interfaces, resets
Circuit, debug circuit and external crystal oscillation circuit are connected with the main control chip, and the USB interface is given by voltage-stabilized power supply chip
The main control chip power supply.
Fig. 2 is the chip pin figure of main control chip of the present utility model, as illustrated, main control chip uses STM32F103
Model.STM32F103 uses the RISC core of high performance ARM Cortex-M332 positions, working frequency 72MHz, built-in height
Fast memory (the up to flash memory of 128K bytes and the SRAM of 20K bytes), abundant enhancing I/O ports and is connected to two APB
The peripheral hardware of bus.The device of all models all includes ADC, 3 general 16 bit timing devices and a PWM timer of 2 12,
Also include standard and advanced communication interface:Up to 2 I2C and SPI, 3 USART, USB and CAN.
STM32F103 hardware circuit diagrams such as Fig. 2.TX, RX are UART interface, are responsible for communicating with PC.BUZZER is buzzer control mouth.
LED_PWRON is electric indicator lamp control mouth on card.LED_PRES is that card inserts beacon lamp control mouth.CLK、RST、IO、
PWRSRC, CMDVCC, OFF, it is responsible for communicating with IC-card.
Fig. 3 is the chip pin figure of analog front-end chip of the present utility model, as illustrated, analog front-end chip uses
DS81113 models, support meet ISO7816 contact type CPU cards, SLE4442, SLE4428 card.DS8113 contact intelligent cards connect
Mouth is a low cost, the AFE(analog front end) intelligent card reader of low-power consumption, aims at ISO7816 and designs.DS8113 supports 5V, 3.3V
With 1.8V contact intelligent card, the dynamic mode and standby mode of low-power consumption can be selected, standby mode need to only consume 10nA
Standby current, and devise the interface and intelligent card interface with system, there is provided Contact Type Ic Card is using all required electricity
Source, ESD protections etc..
Safe module supports DES, 3DES algorithm for encryption, while can expand 3 PSAM card decks, and it is close can to expand acceding state
Commercial encryption algorithm, such as SM2, SM3, SM4 algorithm.Security module is made up of two large divisions, and AES is embedded in by a part
Among main control chip, such as DES, 3DES AES are realized;Another part is provided a series of by independent safety chip
Encryption and decryption, signature verification function, the data of safety chip need to be output to processor by external pin, can be independent
Safety chip is inserted among PSAM decks to realize.Two kinds are combined with each other, and improve the security of whole system.
Fig. 4 is the circuit structure diagram of voltage-stabilized power supply chip operation of the present utility model, and voltage-stabilized power supply chip uses LM1117
Model.The utility model is powered by USB, and USB interface 5V, STM32F103 voltage are 2.0V-3.6V, and DS8113 is supported
5V, 3.3V and 1.8V smart card, therefore system is finally powered using 3.3V.System is carried using LM1117-3.3 voltage stabilizing chips
For a stable 3.3V power supply.
The circuit such as reset circuit, debug circuit and external crystal oscillation circuit is this area used in the utility model
Common circuit, those skilled in the art can be readily available according to the design needs.
Based on the embodiment in the utility model, those of ordinary skill in the art are not under the premise of creative work is made
The all other embodiment obtained, belong to the scope of the utility model protection.Although the utility model just side of being preferable to carry out
Formula is illustrated and described, it is understood by those skilled in the art that without departing from claim of the present utility model
Limited range, variations and modifications can be carried out to the utility model.