A kind of computer data information protective deviceTechnical field
The present invention relates to Data Protection Technologies field, specially a kind of computer data information protective device.
Background technique
With the fast development of digital information technique, computer plays different important in people's lives workRole, people increasingly be unable to do without computer, increasingly be unable to do without digital information technology.But things be all it is bifacial,While it brings quick and easy for our life and work, many security risks of our brings are also given.The privacy of userIt may be gone beyond one's commission and illegal be stolen using database etc. due to the flaw of system or the attack of someone's malice or householderIt takes.
Current computer data generally passes through encryption disc and is encrypted, but encryption disc is easy to be cracked, and leads to dataLeakage.
Summary of the invention
The purpose of the present invention is to provide a kind of computer data information protective devices, to solve to mention in above-mentioned background techniqueOut the problem of.
To achieve the above object, the invention provides the following technical scheme: a kind of computer data information protective device, includingOuter housing, the outer housing side are equipped with USB interface, and the outer housing other side is equipped with data output interface, the outer housingInner cavity is equipped with memory and controller, and the controller is equipped with MCU, alarm, USB protective module and encryption device, describedMemory one end connects USB interface, and the memory other end connects MCU, the MCU be also connected with alarm, encryption device andData output interface, the encryption device and USB protective module are separately connected memory.
Preferably, the USB protective module includes field effect transistor, triode and operational amplifier, the triodeCollector is separately connected the one end resistance A and field effect transistor gate, and the transistor emitter is grounded by resistance B, describedTransistor base connects operational amplifier output terminal, and the operational amplifier negative input is separately connected the one end capacitor A, capacitorThe one end B, interface end and field effect transistor source electrode, the field effect transistor drain electrode are separately connected the resistance A other end and signalInput terminal.
Preferably, the encryption device encryption method is as follows:
A, database to be stored is converted into binary system plaintext data by way of data flow;
B, binary system plaintext data is grouped from the front to the back according to presetting digit capacity H, last group of binary system original text numberAccording to digit be less than or equal to H;
C, the group number N for the binary system plaintext data group that digit is H after being grouped is obtained;
D, encryption parameter C is determined according to digit H and described group of number N;
E, according to encryption parameter C, binary system plaintext data group is encrypted, obtains corresponding binary system ciphertext dataGroup;
F, all binary system ciphertext data groups are combined in order, formed binary system ciphertext data, and by two intoCiphertext data processed are converted to file cipher text and are stored.
Preferably, the outer housing uses dust and moisture outer housing.
Compared with prior art, the beneficial effects of the present invention are:
(1) structure of the invention principle is simple, can be realized the encryption storage to computer data, improves computer dataSafety.
(2) the USB protective module that the present invention uses passes through cutting computer and USB interface when computer occurs abnormalCircuit connection, thus avoid influence electronic equipment normal work, prevent data crash phenomenon.
(3) the encryption device encryption method that the present invention uses can reach safer reversible encryption operation, improveInformation Security;By the way of double-encryption, the safety of computer data is improved.
Detailed description of the invention
Fig. 1 is overall structure of the present invention;
Fig. 2 is control principle block diagram of the present invention;
Fig. 3 is USB protective module schematic diagram of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
Fig. 1-3 is please referred to, the present invention provides a kind of technical solution: a kind of computer data information protective device, including it is outerShell 1, outer housing 1 use dust and moisture outer housing;1 side of outer housing is equipped with USB interface 2,1 other side of outer housingEquipped with data output interface 3,1 inner cavity of outer housing be equipped with memory 4 and controller 5, the controller 5 be equipped with MCU6,Alarm 7, USB protective module 8 and encryption device 9, described 4 one end of memory connect USB interface 2,4 other end of memoryMCU6 is connected, the MCU6 is also connected with alarm 7, encryption device 9 and data output interface 3, and the encryption device 9 and USB are protectedShield module 8 is separately connected memory 4.
In the present invention, USB protective module 8 include field effect transistor 10, triode 11 and operational amplifier 12, described three11 collector of pole pipe is separately connected 10 grid of the one end resistance A1a and field effect transistor, and 11 emitter of triode passes through electricityB2a ground connection is hindered, 11 base stage of triode connects 12 output end of operational amplifier, 12 negative input of operational amplifier pointNot Lian Jie the one end capacitor A1b, 10 source electrode of the one end capacitor B2b, interface end 13 and field effect transistor, the field effect transistor 10Drain electrode is separately connected the resistance A1a other end and signal input part.When USB interface occurs abnormal, the voltage of interface end can be rapidDecline and be less than reference voltage, the received reference voltage of the positive input terminal of operational amplifier is greater than operating voltage, therefore operation is putThe comparison signal of big device output high potential, thus triode ON, since the resistance value of resistance 2a is much smaller than the resistance of resistance 1aValue, therefore the grid voltage of field effect transistor declines rapidly and is less than the source voltage of field effect transistor, thus field-effectTransistor cutoff, the USB protective module that the present invention uses pass through cutting computer and USB interface when computer occurs abnormalCircuit connection, thus avoid influence electronic equipment normal work, prevent data crash phenomenon.
In the present invention, encryption device encryption method is as follows:
A, database to be stored is converted into binary system plaintext data by way of data flow;
B, binary system plaintext data is grouped from the front to the back according to presetting digit capacity H, last group of binary system original text numberAccording to digit be less than or equal to H;
C, the group number N for the binary system plaintext data group that digit is H after being grouped is obtained;
D, encryption parameter C is determined according to digit H and described group of number N;
E, according to encryption parameter C, binary system plaintext data group is encrypted, obtains corresponding binary system ciphertext dataGroup;
F, all binary system ciphertext data groups are combined in order, formed binary system ciphertext data, and by two intoCiphertext data processed are converted to file cipher text and are stored.
The encryption device encryption method that the present invention uses can reach safer reversible encryption operation, improve dataSafety;By the way of double-encryption, the safety of computer data is improved.
In conclusion structure of the invention principle is simple, it can be realized the encryption storage to computer data, improve calculatingThe safety of machine data.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be withA variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understandingAnd modification, the scope of the present invention is defined by the appended.