Portable multi-function encryption device
Technical field
The present invention relates to encryption device technical field, more particularly to a kind of portable multi-function encryption device.
Background technology
With the rapid development of integrated circuit and the communication technology, when Mobile Communication Industry has moved towards information of mobile terminal
In generation, it is changed into integrated information processing platform from simple call instrument, and possesses powerful disposal ability, this is also to mobile whole
End adds broader development space.And the big feature of information age is exactly digitlization and the recessiveness of personal identification
Change, all multiple utility programs are popularized and applied on mobile terminal, PC, and the thing followed is itself personal private information data
Frequently leak, therefore how precise Identification a person's identity, while when protecting the information security of individual to be current information-based
It is key for must solve one, and the new demand to the proposition of mobile Internet information security technology.
Fingerprint is relatively stable in all people's body biological characteristic, does not change because of change of age, and collection is more convenient,
It is cost-effective, it is also more suitable for being applied in popular life.At present, had been applied in by the technology of fingerprint recognition personal identification more
In kind field, such as work attendance, gate inhibition, resident identification card, traffic, the administration of justice, consumption, mobile terminal, safety is provided for authentication
Reliably, easily technical scheme;But in the terminal, it only requires that user prestores my fingerprint when using first time
Information, later every time before start after the contrast of input fingerprint, so, other people can obtain a GPRS finger print information
All data informations in mobile terminal, including short message, telephone directory, photo, video etc. are taken, great potential safety hazard be present.
The content of the invention
Technical problem solved by the invention is to provide a kind of portable multi-function encryption device, to solve above-mentioned background
The shortcomings that in technology.
Technical problem solved by the invention is realized using following technical scheme:
Portable multi-function encryption device, including housing, its shell one end are provided with charging inlet, initialization button and confession
Electrical interface, and housing upper surface is provided with fingerprint instrument, device state indicator lamp and RFID card reader;In addition, housing side is set
Power switch is equipped with, circuit board is provided with housing, and is provided with control chip, equipment bluetooth and WIFI cores on circuit boards
Piece, and charging inlet, initialization button, power supply interface, fingerprint instrument, device state indicator lamp and RFID card reader respectively with control
Chip connects.
In the present invention, radio frequency sensor is provided with the fingerprint instrument, it is lived true for gathering finger internal layer tool
Skin fingerprint texture, it is directly insensitive to the outer skin of finger surface, and the thing such as some fouls, oil stain, dust to surface
Matter has penetration capacity, the problem of fundamentally having prevented artificial fingerprint, can prevent that borrowing other people fingerprints opens mobile terminal.
In the present invention, buzzer is additionally provided with the housing, for prompting RFID card reader to read and write successfully.
In the present invention, the device state indicator lamp includes power supply indicator, fingerprint status indicator lamp and RFID states
Indicator lamp.
In the present invention, power supply management chip is provided with the circuit board, battery level is read for being spaced, with prompting
Battery level.
In the present invention, it is additionally provided with and buckles on the housing, for fixed shell.
The encryption method of portable multi-function encryption device, including mobile terminal and portable multi-function encryption device, it is first
First download on mobile terminals and APP be installed, then by the self-contained mobile terminal bluetooth of mobile terminal with it is portable more
The equipment Bluetooth pairing of function encryption device establishes connection and carries out authentication and confirm, then opens APP, and user can be as needed
Protection is encrypted to the data information in mobile terminal;It is comprised the following steps that:
1) RFID card is prepared
Mobile terminal sends the order of typing fingerprint by mobile terminal bluetooth and personal information data to portable is multi-functional
On the fingerprint instrument of encryption device, fingerprint instrument prompting user input fingerprint, after finger print data typing success after, by finger print data with
In people's information data write-in RFID card;
2) authentication is with confirming
The RFID card prepared in step 1) is placed in the RFID card reader of portable multi-function encryption device, RFID is read
Card device reads RFID card, to obtain user fingerprints data and personal information data, and prompts user to input fingerprint, then by user
Personal information data are by equipment Bluetooth transmission to mobile terminal, after user inputs fingerprint, with the personal information in RFID card
Data are compared, and will compare consistent result and be back to mobile terminal, and authentication is by opening mobile terminal;Otherwise
Return to prompting and re-enter fingerprint;
3) mobile terminal APP is encrypted
Data information to be encrypted is first recalled, the format text of data information to be encrypted is write on APP, and is obtained mobile whole
Hold the current time, when extracting therein, the timestamp of minute, second, year, month, day as dynamic encryption, and by format text and when
Between stamp carry out XOR, realize for the first time encrypt, obtain for the first time encryption file;The basis of file is then encrypted in first time
The upper random cipher sent by portable multi-function encryption device that adds carries out XOR, realizes second and encrypts, second
Message beginning after encryption is added with boot flag symbol, and centre is second of encryption file, and afterbody adds data letter to be encrypted
The character length of breath encrypts file to form mobile terminal APP.
Data information after encryption can only be by that just can check or call after mobile terminal APP decryption, its mobile terminal APP
Decryption step is as follows:
After obtaining mobile terminal APP encryption files, boot flag symbol is extracted, portable multi-function encryption is received again and sets
The random cipher that preparation is sent, and XOR is carried out with the file behind boot flag symbol, realize and decrypt for the first time, obtain first
Secondary decryption file;Extraction time in file is then decrypted in first time to stab, and to the format text behind timestamp and timestamp
XOR is carried out, realizes second and decrypts, obtain second of decryption file, the format text after decryption is for checking or calling.
Another encryption method of portable multi-function encryption device, including mobile terminal are set with portable multi-function encryption
It is standby, download on mobile terminals first and APP be installed, then by the self-contained mobile terminal WIFI of mobile terminal with it is portable
The WIFI chips pairing of the multi-functional encryption device of formula establishes connection and carries out authentication and confirm, then opens APP, and user can basis
Need that protection is encrypted to the data information in mobile terminal;It is comprised the following steps that:
1) RFID card is prepared
Mobile terminal sends the order of typing fingerprint by mobile terminal bluetooth and personal information data to portable is multi-functional
On the fingerprint instrument of encryption device, fingerprint instrument prompting user input fingerprint, after finger print data typing success after, by finger print data with
In people's information data write-in RFID card;
2) authentication is with confirming
The RFID card prepared in step 1) is placed in the RFID card reader of portable multi-function encryption device, RFID is read
Card device reads RFID card, to obtain user fingerprints data and personal information data, and prompts user to input fingerprint, then by user
Personal information data are transmitted to mobile terminal by WIFI chips, after user inputs fingerprint, with the personal information in RFID card
Data are compared, and will compare consistent result and be back to mobile terminal, and authentication is by opening mobile terminal;Otherwise
Return to prompting and re-enter fingerprint;
3) mobile terminal APP is encrypted
Data information to be encrypted is first recalled, the format text of data information to be encrypted is write on APP, and is obtained mobile whole
Hold the current time, when extracting therein, the timestamp of minute, second, year, month, day as dynamic encryption, and by format text and when
Between stamp carry out XOR, realize for the first time encrypt, obtain for the first time encryption file;The basis of file is then encrypted in first time
Upper addition fixed password progress XOR, realize second and encrypt, the message beginning after second of encryption is added with guiding mark
Will symbol, centre are second encryption file, and afterbody adds the character length of data information to be encrypted to form mobile terminal APP
Encrypt file.
Data information after encryption can only be by that just can check or call after mobile terminal APP decryption, its mobile terminal APP
Decryption step is as follows:
After obtaining mobile terminal APP encryption files, boot flag symbol and fixed password are extracted, and by fixed password with drawing
File behind optical marker symbol carries out XOR, realizes and decrypts for the first time, obtains decryption file for the first time;Then for the first time
Decrypt extraction time in file to stab, and XOR is carried out to the format text behind timestamp and timestamp, realize second
Decryption, obtains second of decryption file, and the format text after decryption is for checking or calling.
In the present invention, BT4.0BLE transparent transmissions are used between mobile terminal and the portable multi-function encryption device
Data are exchanged, information request, portable multi-function encryption device pair are sent from mobile terminal to portable multi-function encryption device
Information request gives response.
In the present invention, the personal information data include address name, identification card number, cell-phone number and applied for card the time.
In the present invention, the mobile terminal includes mobile phone, tablet personal computer and the equipment for supporting bluetooth communication.
In the present invention, finger print information is stored in RFID card, and other systems store limitation not for fingerprint user therewith
10,000 or 100,000 can be more than, advantage is huge.
Beneficial effect:The present invention collects fingerprint identification technology, blue tooth wireless communication, WIFI wireless telecommunications and RFID technique in one
Body, using the uniqueness of fingerprint, can self-regeneration feature, the start to mobile terminal is encrypted protection, while using random
Password and fixed password to the data information in mobile terminal using, browse, change, carried out in transmitting procedure authentication with
Encipherment protection, prevent personal private information data from leaking, effectively eliminate potential safety hazard existing for mobile terminal, strong applicability,
Market prospects are wide.
Brief description of the drawings
Fig. 1 is the structural representation of presently preferred embodiments of the present invention.
Fig. 2 is control chip (MCU) circuit diagram in presently preferred embodiments of the present invention.
Fig. 3 is power supply management module circuit diagram in presently preferred embodiments of the present invention.
Fig. 4 is charging inlet circuit figure in presently preferred embodiments of the present invention.
Fig. 5 is RFID card reader circuit diagram in presently preferred embodiments of the present invention.
Fig. 6 is buzzer circuit figure in presently preferred embodiments of the present invention.
Embodiment
In order that the technical means, the inventive features, the objects and the advantages of the present invention are easy to understand, tie below
Conjunction is specifically illustrating, and the present invention is expanded on further.
Referring to Fig. 1 portable multi-function encryption device, including device state indicator lamp 1, power switch 2, charging inlet
3rd, button 4, power supply interface 5, RFID card reader 6 and capacitance type fingerprint instrument 7 are initialized;Wherein, charging inlet 3, initialization button 4
And power supply interface 5 is arranged on shell one end, capacitance type fingerprint instrument 7, device state indicator lamp 1 and RFID card reader 6 are arranged on shell
Body upper surface, power switch are arranged on housing side;In addition, being provided with circuit board in housing, and control is provided with circuit board
Chip, equipment bluetooth and WIFI chips, charging inlet 3, initialization button 4, power supply interface 5, capacitance type fingerprint instrument 7, equipment shape
State indicator lamp 1 and RFID card reader 6 are connected with control chip respectively.
In the present embodiment, radio frequency sensor is provided with the fingerprint instrument, it is lived for gathering finger internal layer tool
Corium fingerprint texture, the problem of fundamentally having prevented artificial fingerprint, it can prevent that borrowing other people fingerprints opens mobile terminal.
In the present embodiment, the encryption method of portable multi-function encryption device, including mobile phone add with portable multi-function
Close equipment, first in mobile phone APP downloaded and installed, then pass through mobile phone self-contained Bluetooth of mobile phone and portable multi-function
The equipment Bluetooth pairing of encryption device establishes connection and carries out authentication and confirm, then opens APP, as needed in mobile phone
Protection is encrypted in data information;It is comprised the following steps that:
1) RFID card is prepared
Step1:Mobile phone sends order (1)+data (1) to portable multi-function encryption device by Bluetooth of mobile phone, refers to
Line instrument prompting user inputs fingerprint;
Step2:User carries out fingerprint typing according to rule, if success return information 1, fail then return information 2;
Step3:RFID card reader writes finger print data (498KB)+data 1 (50KB) in RFID card, successfully returns to letter
Breath 3, fail then return information 4;
Wherein, 1 is ordered:Typing fingerprint order, data 1:Address name+identification card number+cell-phone number+is applied for card the time on (days
Day), return information 1:Fingerprint typing success, return information 2:Fingerprint typing is unsuccessful, return information 3:RFID card is write as work(, returns
Write in reply and cease 4:RFID card is write unsuccessful, changes a card and writes;
2) authentication is with confirming
Step1:The RFID card prepared in step 1) is placed in the RFID card reader of portable multi-function encryption device,
RFID card reader reads RFID card, then that data 1 are blue by equipment to obtain user fingerprints and data 1, and return information 5
Tooth is transmitted to mobile phone, if failure return information 6;
Step2:User presses fingerprint, is compared with the data 1 in RFID card, if success return information 7, if failure
Return information 8;
Wherein, return information 5:Prompting user presses fingerprint,
Return information 6:RFID card failure is prompted,
Return information 7:Comparison result is returned into mobile phone,
Return information 8:Prompt user fingerprints incorrect, please press fingerprint again;
3) mobile terminal APP is encrypted
Data information to be encrypted is first recalled, the format text of data information to be encrypted is write in cell phone application, and obtains shifting
The dynamic terminal current time, when extracting therein, the timestamp of minute, second, year, month, day as dynamic encryption, and by format text
XOR is carried out with timestamp, realizes and encrypts for the first time, obtains encryption file for the first time;Then in first time encryption file
On the basis of add the random cipher sent by portable multi-function encryption device and carry out XOR, realize second and encrypt, the
Message beginning after secondary encryption is added with boot flag symbol, and centre is second of encryption file, and afterbody adds money to be encrypted
Expect that the character length of information encrypts file to form mobile terminal APP.
Data information after encryption can only be by that just can check or call after mobile terminal APP decryption, its mobile terminal APP
Decryption step is as follows:
After obtaining mobile terminal APP encryption files, boot flag symbol is extracted, portable multi-function encryption is received again and sets
The random cipher that preparation is sent, and XOR is carried out with the file behind boot flag symbol, realize and decrypt for the first time, obtain first
Secondary decryption file;Extraction time in file is then decrypted in first time to stab, and to the format text behind timestamp and timestamp
XOR is carried out, realizes second and decrypts, obtain second of decryption file, the format text after decryption is for checking or calling.
In the present embodiment, power supply management module is provided with the circuit board, battery level is read for being spaced.
In the present embodiment, portable multi-function encryption device start acquiescence opens up standby bluetooth, RFID card read-write and fingerprint
It is identified by mobile phone and sends order unlatching, WIFI can be used in mobile phone and portable multi-function encryption device carry out data transmission
Transmission.
In the present embodiment, equipment bluetooth can be with renaming, and can change key;Pass through reset key, you can return is dispatched from the factory
Set.
In the present embodiment, number is exchanged using BT4.0BLE transparent transmissions between mobile phone and portable multi-function encryption device
According to sending information request from mobile phone to portable multi-function encryption device, portable multi-function encryption device is given information request
With response, data transfer mode is baud rate 115200, data bit 8bit, no check bit, stop position 1bit, equipment bluetooth acquiescence
NAME:BF4030, match code:1234.
The general principle and principal character and advantages of the present invention of the present invention has been shown and described above.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the simply explanation described in above-described embodiment and specification is originally
The principle of invention, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.