Embodiment
In conjunction with the accompanying drawings the specific embodiment of the present invention is described.
As shown in Figure 1, the invention provides the multi-functional IC-card read write line of a kind of hand held noncontact and comprise central controller CPU, card reading module, colour liquid crystal display device, storer, keyboard touch-screen, power supply, it is characterized in that central controller CPU adopts risc processor, processor is connected with card reading module, colour liquid crystal display device, storer, keyboard touch-screen, power supply, and timesharing is controlled and exchanges data.
Central controller CPU adopts the high-speed low-power-consumption risc processor like this, and this processor adopting CMOS technology has wide voltage power supply scope and the lower power consumption of 2.7-5.5V.Current system dominant frequency is operated in 8.0MHz, has instruction execution speed at a high speed.All peripheral hardwares all are connected with processor, form the star Control Network, by processor timesharing peripheral hardware is controlled and exchanges data.Flame Image Process, data processing, programmed control is all by the central controller real-time operation.
Have the following advantages:
(1) Xian Jin RISC reduced instruction structure set
The AVR.8 8-digit microcontroller of high-performance low-power-consumption
Article 133, powerful instruction major part is carried out in single clock cycle
32 * 8 general purpose working register+peripheral hardware control registers
Full static state operation
Be operated in the performance that has 16MIPS under the 16MHz
Have the hardware multiplier that the execution time is two clock period in the sheet
(2) non-volatile program and data-carrier store
But the online overprogram Flash of 128K byte, erasable number of times is more than 100000 times
The BOOT district has independently encrypted bits
Can be implemented in systems programming by the boot in the sheet, really readable during write operation
4K byte EEPROM
Erasable number of times 100,000 times
4K byte inner SRAM
The optional external memory storage of maximum 64K byte space
The program encryption position
Online programmable SPI interface
(3) JTAG (meeting IEEE std.1149.1 standard) interface
Boundary scan capability
Debug supports in the sheet widely
To Flash, EEPROM and encrypted bits are programmed by jtag interface
(4) peripheral hardware characteristics
8 bit timings/the counter of two band pre-dividers and a kind of comparison pattern
The band pre-divider of two expansions and the 16 bit timings/counter of comparison pattern acquisition mode
Real-time counter with separate oscillators
8 PWM of two passages
2 to 16 precision PWM of 6 passages
Output is regulator relatively
8 path 10 position A/D conversion
8 single ended channels
7 differentiation channels
2 gains are 1x, the differentiation channel of 10x or 200x
Two lines (I2C) serial line interface
Two tunnel serial UART interfaces able to programme
Master/slave SPI serial line interface
The programmable watchdog timer of band internal oscillator
AVR nuclear is bound up 32 work registers and abundant instruction set, and all work registers are all patrolled the unit with ALU arithmetic and directly linked to each other.The individual instructions that permission was carried out in a clock period is visited two independently registers simultaneously.This structure has improved code efficiency, and AVR has been obtained than common CISC single-chip microcomputer height 10 times performance nearly.
CPU also has following characteristics, it is readable when the 128K byte possesses write operation at system programmable FLASH, 4K byte EEPROM, 4K byte SRAM, 53 universaling I/O ports, 32 general purpose working registers, real-time counter (RTC), 4 timer/counters with comparison pattern and PWM, 2 USARTs, one two line (I2C) serial line interface, one 8 path 10 position has the A/D converter of optional gain difference input, the programmable watchdog timer of a band internal oscillator, one in a SPI mouth meets the jtag test interface of IEEE std.1149.1 standard, also can be used for visiting Debug system and programming in the sheet, 6 kinds can be by the battery saving mode of software selection.
Shown in Fig. 2-8, the improvement of the multi-functional IC-card read write line of hand held noncontact of the present invention, it is characterized in that described card reading module is divided into radio-frequency region and interface area: radio-frequency region includes modulator-demodular unit and power-supplying circuit, directly is connected with antenna; Interface area has the port that links to each other with single-chip microcomputer (or other microprocessor), also has the receipts/device, the data buffer of 64 bytes, the inside that link to each other with radio-frequency region the cipher machine that carries out data encryption, anticollision module and the control module that anticollision is handled are arranged.
As the further improvement of the multi-functional IC-card read write line of hand held noncontact of the present invention, it is characterized in that described cipher machine adopts the DES algorithm to carry out data encryption.
The multi-functional IC-card read write line of hand held noncontact of the present invention is characterized in that described antenna is the multi-ring annular antenna.
The multi-functional IC-card read write line of hand held noncontact of the present invention is characterized in that described storer adopts INTEL E28F016S3 2M-byte FLASH storage chip.
The multi-functional IC-card read write line of hand held noncontact of the present invention is characterized in that described storer also can adopt SST:39VF016 FLASH storage chip.
The multi-functional IC-card read write line of hand held noncontact of the present invention is characterized in that described keyboard touch-screen adopts MAXIM MXB7846 touch screen controller and one 2.8 " touch-screen of (inch) is attached on the LCDs.
The multi-functional IC-card read write line of hand held noncontact of the present invention is characterized in that the colorized lcd display model of described colour liquid crystal display device comprises liquid crystal driver module SED1353 and colored 256 look 320*240 liquid crystal.
The multi-functional IC-card read write line of hand held noncontact of the present invention is characterized in that having a plurality of 232USB interfaces.
The multi-functional IC-card read write line of hand held noncontact of the present invention is characterized in that described 232USB interface can be connected with fingerprint module.
The multi-functional IC-card read write line of hand held noncontact of the present invention is characterized in that described 232USB interface can connect GMS and carry out radio communication.
Now principle of the present invention is summarized
1, the card reading module of the multi-functional IC-card read write line of hand held noncontact of the present invention adopts
PHILIPS IC, all layer protocols of can compatible ISO-14443 A type communicating by letter with Type B.
IC is integrated numeral and analog functuion, the space is greatly optimized, and is specially adapted to handheld reader., it has also adopted and has been used for public keys the algorithm cryptographic coprocessor and the memory management unit of (comprising Elliptic curve, DES and AES), to strengthen the securities that are provided with of using more.
The multi-functional IC-card read write line of hand held noncontact of the present invention is core with the REID, and the transmitting and receiving module function comprises modulation, demodulation, generation radiofrequency signal, safety management and anticollision mechanism.Inner structure is divided into radio-frequency region and interface area: radio-frequency region includes modulator-demodular unit and power-supplying circuit, directly is connected with antenna; Interface area has the port that links to each other with single-chip microcomputer (or other microprocessor), also has the receipts/device, the data buffer of 64 bytes, the inside that link to each other with radio-frequency region the cipher machine that carries out data encryption, anticollision module and the control module that anticollision is handled are arranged.This is a nucleus module of realizing radio communication with radio-frequency card, also is the key interface chip of read write line read-write.During read write line work, constantly outwards send the electromagnetic wave (13.6MHz) of one group of fixed frequency, when card is close, a LG series resonant circuit is arranged in the card, its frequency is identical with the transmission frequency of read write line, under electromagnetic excitation, the LG resonant circuit produces resonance like this, thereby makes the electric capacity charging that electric charge arranged.At this electric capacity other end, be connected to the electronic pump of a unilateal conduction, the electric charge in the electric capacity is delivered to another capacitor memory storage.When the capacitor charging reached 2V, this electric capacity just provided operating voltage as power supply for other circuit on the card, and data and the preservation that read write line sends gone out or received to data transmission in the card.
System directly controls this chip by processor and carries out exchanges data with IC-card.
2, the principle of the Password Management of the multi-functional IC-card read write line of hand held noncontact of the present invention is as follows:
The inner data encryption algorithm that adopts of current procedure is the DES algorithm.The reason that adopts the DES algorithm is because this algorithm has been proved to be a very successful cryptographic algorithm, and the computational complexity of algorithm is also less comparatively speaking, is applicable to that relatively the such arithmetic capability of smart card is not very strong situation.The password of DES algorithm (or claim key) length is 64, and the cryptologic organization that will use during data encryption stores with the form of file together, is called cryptogram.What record-header was wherein partly stored is exactly the attribute information of password, for example is the password that can be applied to all application files, the password that still only corresponding a certain application file can be used; It is the password that to revise or can only read or the like.But: no matter be which type of cryptogram,, all be the security that guarantees cryptogram by controling mechanism to file access as a file itself.When needs carry out the data encryption computing, just from cryptogram, choose password and add computing.When from cryptogram, reading password, the same with reading application data, as long as it is just passable directly to provide the address at password place.Reasonable way is again password itself to be done some to handle after randomly drawing out a password, reduces the chance that it repeats as far as possible.For example in the PBOS product, the way of employing is exactly that the password of selecting from cryptogram is at first carried out a des encryption computing, then the password of operation result as data encryption is used.Its computing formula is as follows:
In Key=DES (CTC, K (a)) formula, K is a password of picked at random from cryptogram; CTC is the counter of the transaction count of a recording smart card, and this counter is whenever finished once to conclude the business and just increased one; Key will offer the password that the data encryption computing is used at last.Make the security that can improve smart card in this way, but reduced the efficient of carrying out.Therefore, specifically adopting which type of method to produce password should be according to the height of the range of application of smart card and security requirement and concrete decision.
3, the antenna of the multi-functional IC-card read write line of hand held noncontact of the present invention partly satisfies the multi-ring annular antenna of general requirement for design.
4, the information stores of the multi-functional IC-card read write line of hand held noncontact of the present invention and touch-screen input system: adopt INTEL E28F016S3 2M-byte FLASH storage chip, in storage chip, preserve: HZK16 Hanzi font library and ASCII character library, 100 Card Reader record, 100,000 records of pursuing and capturing an escaped prisoner (also can store other information).
In 100 Card Reader record, all information of having preserved 100 cards that read recently, the user can arbitrarily inquire about.
Wherein having a memory block also to can be used as stored value card consumption uses.
4, touch-screen input
Data inputs and operation interface: adopt MAXIM MXB7846 touch screen controller and one 2.8 " touch-screen of (inch) is attached on the LCDs, the user can be according to system suggestion by the direct interior figure button operation read write line of touch indication range.The MXB7846 chip has+the full voltage working range of 2.375V-+5.25V, lower power consumption, there is the reference voltage of 2.5V inside, also have functions such as cell voltage, temperature detection except touch-screen control, the battery voltage detection of this card reader also be by this chip (sensing range of cell voltage :+2.0V-+6.0V).
5, the colorized lcd display model of the multi-functional IC-card read write line of hand held noncontact of the present invention comprises liquid crystal driver module SED1353 and colored 256 look 320*240 liquid crystal.
Colored 256 look 320*240 liquid crystal have following feature:
(1) display format: 2.8 cun screens, 320 (RGB) X240 dot matrix
(2) structure: colored STN LCD, Common ﹠amp; Segment Driver, LED-backlit.
(3) display type: colored STN, transmission
(4) high-contrast.
Liquid crystal driver module SED1353 has following feature
The highest 1024 * 1024 the dot matrix liquid-crystal controller of supporting of SED1353 can be supported the highest 256 looks simultaneously, and its interface flexibility makes and both can be connected with MC68000 series controller, also can be connected with 8/16 MPU/ bus of minimum external logic.Static RAM (SRAM) interface as video memory has passed through speed and performance optimization, and maximum is supported the 128K byte.System goes to refresh the data of the dot chart in the video memory by CPU and SED1353 swap data, reaches to draw the purpose that various figures and literal show.The resolution of current liquid crystal display is 320*240 (phase vegetarian refreshments), 256 looks, visible area size 2.8 " (inch).
6, the communication interface of the multi-functional IC-card read write line of hand held noncontact of the present invention is the RS232C interface, realizes the data communication between this machine and the computing machine, also can realize communicating by letter with gsm wireless and fingerprint module links and carries out fingerprint collecting, storage, contrast.
The multi-functional IC-card read write line of hand held noncontact of the present invention has following beneficial effect:
◆ meet international ISO/IEC14443-B (A) type contactless card standard.
◆ develop embedded real-time operating system and can freely expand various difference in functionalitys.
◆ this hand-held set is to integrate radio-frequency technique, biological identification technology, data processing technique, compression of images and safety encipher technology.Can discern suspect quickly and easily with high-tech means, be that runaway convict good assistant is arrested in public security.
◆ adopt the colored 256 look LCD graphic presentations of band touch-screen 320*240.
◆ hand-held set, also have information transfer capability, the machine stored 200,000 runaway convicts' information.Different feelings occur and report to the police immediately, the information of will arresting is through being wirelessly transmitted to alarm center.
◆ adopt the FLASH chip to preserve historical record, power down is obliterated data not.
◆ have highly reliable fingerprint recognition system.
◆ have the image data processing system of high compression ratio.
Can gather complete fingerprint image, can from IC-card, read fingerprint and holder's fingerprint is identified.
◆ finger print data can be kept in the machine, can preserve at present the fingerprint image after the thousands of compressions in the machine.
◆ the built-in charged lithium cells of power supply, but external power supply is chargeable, and average working current is less than 150mA.
◆ have multistage battery capacity and detect and demonstration.
◆ the false proof chip of hardware, the cryptographic algorithm of pressing the national departments concerned appointment carry out the checking of information encryption and effectiveness of information to data in all application data districts of IC-card.
◆ the RS232C interface is realized the data communication between single-chip microcomputer and the computing machine.
◆ hand-held multifunctional noncontact IC card read/write device of the present invention also has bank's stored value card and credit card read-write capability.
Technology quality index reaches:
Noncontact is formula closely, meets international standard ISO14443-B standard
RF frequency: 13.56MHZ
Graphics resolution: 320*240, colored 256 look LCD show
Chinese character shows: GB2312
Whole demonstration times :≤5-6 second
Card Reader distance: 5-10CM
Communication interface: standard RS232 interface
Storer: 2 * 8Mbit
Fingerprint recognition False Rate≤0.001%
Reject rate≤0.1%
Fingerprint typing time<3 second
Comparison time≤1 second
Fingerprint image resolution: 450dpi
Automaticdata time of fire alarming :≤1 second
Power supply: direct current 3.3V (lithium battery) is chargeable, but external power supply
Power :≤0.45W
Working temperature: 0 ℃-+50 ℃
Storage temperature :-20 ℃--+60 ℃.