Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of safety distinguishing apparatus is provided. This safety distinguishing apparatus can reduce the risk of being peeped, and improves security.
In order to solve the problems of the technologies described above, embodiment of the present invention provides a kind of safety distinguishing apparatus, it comprises data input device and data verification device, described data input device comprises control module and light emitting diode, described control module is used for obtaining an identification data, the described identification data of obtaining is converted to up and down along triggering signal, and drives described light emitting diode to send the optical signal that characterizes described identification data along triggering signal up and down according to described;
Described data verification device comprises optical signal processing unit and authentication unit, described optical signal processing unit is used for receiving described optical signal, and described optical signal is converted to binary data, described authentication unit is used for receiving described binary data, and described binary data and a default checking data are compared, when described binary data and described default checking data meet when pre-conditioned, described safety distinguishing apparatus release.
Wherein, described pre-conditioned be that described binary data is identical with described default checking data or have a corresponding relation.
Described control module comprises compiling subelement, signal conversion subelement and driven element unit;
Described compiling subelement is for being converted to binary data by the identification data of obtaining;
Described signal conversion subelement is for being converted to binary data up and down along triggering signal according to Manchester's code mode;
Described driven element unit is used for receiving described up and down along triggering signal, and drives light emitting diode to send the optical signal that characterizes identification data along triggering signal up and down according to described.
Described signal conversion subelement, for binary data " 1 " is converted to trailing edge triggering signal, is converted to rising edge triggering signal by " 0 ".
Described optical signal processing unit comprises opto-electronic conversion subelement, current/voltage conversion subelement and voltage amplification subelement;
Described opto-electronic conversion subelement characterizes identification data optical signal for described light emitting diode is sent converts current signal to;
Described current/voltage conversion subelement is used for receiving described current signal, and converts described current signal to voltage signal;
Described voltage amplification subelement is used for receiving described voltage signal, and amplifies described voltage signal, outputs to authentication unit as data signal.
Described authentication unit comprises decoding subelement, comparison subelement and release subelement;
Described decoding subelement is used for receiving described data signal, and described data signal is converted to binary data;
Described relatively subelement is for described binary data and described default checking data are compared, when described binary data and described default checking data meet when pre-conditioned, to described release subelement transmission unlocking signal;
Described release subelement is used for receiving described unlocking signal, and carries out release according to this unlocking signal.
Described identification data is password.
Described data input device comprises a memory cell, and described memory cell is used for storing described identification data, and described control module is for obtaining described identification data from described memory cell.
Described identification data is finger print information.
Described data input device also comprises fingerprint identification unit, and described fingerprint identification unit is used for identifying fingerprint, and the fingerprint of identification is generated to described identification data, and described control module is for obtaining described identification data from described fingerprint identification unit.
Safety device provided by the invention transmits password by optical signal, because optical signal is not easy to be identified by people, so can prevent the snooping password by people. Even peeped optical signal by people, be also not easy to be cracked.
Detailed description of the invention
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In embodiment of the present invention, by using optical signal transmission identification data, thereby prevent that identification data from being peeped.
Referring to Fig. 1, is the safety distinguishing apparatus 100 of the first embodiment provided by the invention. In present embodiment, described safety distinguishing apparatus 100 is for safety cabinet 9. Described safety distinguishing apparatus 100 comprises data input device 10 and data verification device 20.
Described data input device 10 comprises memory cell 11, control module 12, light emitting diode 13 and power supply 14.
Described memory cell 11 is for storing identification data. In present embodiment, described identification data is password. Described memory cell 11 can adopt programmable read only memory, Erasable Programmable Read Only Memory EPROM or flash memory. Described identification data can directly be write or be write by user by manufacturer. Described identification data can adopt binary system to write or adopt other computer programming languages such as assembler language, high-level language of being convenient to identification to write. In present embodiment, for the ease of reading, described identification data adopts high-level [computer to write. Certainly, in other embodiments, described memory cell 11 also can be omitted, for example, can adopt the harvester that can gather fingerprint or iris, directly sends to described control module 12 using the data of collection as identification data.
Described control module 12 is for obtaining identification data from described memory cell 11, the identification data of obtaining is converted to up and down along triggering signal, and drives described light emitting diode 13 to send the optical signal that characterizes identification data along triggering signal up and down according to described. In present embodiment, the identification data of obtaining is converted to binary data by described control module 12, then according to Manchester's code mode, binary data is converted to up and down along triggering signal. Particularly, within a time cycle, binary data " 1 " is converted to trailing edge triggering signal, " 0 " is converted to rising edge triggering signal. Luminous when described light emitting diode 13 receives trailing edge triggering signal, not luminous while receiving rising edge triggering signal. Certainly, in other embodiments, in the time that described identification data is binary data, described control module 12 also can directly be converted to identification data up and down along triggering signal. Described light emitting diode 13 can be not luminous in the time receiving trailing edge triggering signal yet, luminous while receiving rising edge triggering signal. What described light emitting diode 13 sent is visible ray. Described control module 12 can adopt digit chip.
Described power supply 14 is electrically connected with described control module 12 and described light emitting diode 13, to provide electric energy to described control module 12 and described light emitting diode 13. Described power supply 14 can be electrically connected with described control module 12 and described light emitting diode 13 by a switch (not shown). In the time of described switch connection, described power supply 14 is realized and being conducted with described control module 12 and described light emitting diode 13, thereby described light emitting diode 13 is luminous, sends the optical signal that characterizes described identification data. Certainly, in other embodiments, described data input device 10 also can not comprise described power supply 14 and switch, and adopts the mode of connection direct-electrifyings such as USB. Described power supply can adopt rechargeable battery or button cell.
Described data verification device 20 comprises optical signal processing unit 21 and authentication unit 22. Described optical signal processing unit 21 is for receiving described optical signal, and described optical signal is converted to binary data. In present embodiment, described optical signal processing unit 21 receives the optical signal that described light emitting diode 13 sends, and optical signal is converted to the signal of telecommunication, then the signal of telecommunication is converted to binary data with the decoding process corresponding with described Manchester's code mode. Particularly, within a time cycle, level is converted into data signal " 1 " from high to low, level is converted into data signal " 0 " from low to high. Thereby restore the meaning of the binary data of the optical signal representative that described light emitting diode 13 sends. Described optical signal processing unit 21 adopts photodiode and process chip to realize in the lump. Described optical signal processing unit 21 also can adopt the photoelectric switching circuit that optical signal can be converted to binary code data signal.
Described authentication unit 22 is for receiving described binary data, and described binary data and a default checking data are compared, when described binary data and described default checking data meet when pre-conditioned, and described safety distinguishing apparatus 100 releases. Described pre-conditioned can be that described binary data is identical with described default checking data, or there is corresponding relation. Described default checking data can be binary data or adopt other to be convenient to the computer programming languages such as assembler language, high-level language data of writing of identification. Adopt the data that the computer programming languages such as assembler language, high-level language write during when described default checking data, described authentication unit 22 also compares for the described binary data of output and described default checking data are converted to identical form. In present embodiment, because the default checking data in described data verification device 20 does not need to read to user, so directly adopt binary data to write, reduce the process of data transaction, improve distinguishing speed. Described safety distinguishing apparatus 100 releases can be to electronic lock energising, or send movable signal to the stepper motor of controlling mechanical lock. In present embodiment, described authentication unit 22 is installed on described safety cabinet 9, and described safety cabinet 9 adopts electronic lock 9a. When described binary data and a default checking data meet when pre-conditioned, described safety distinguishing apparatus 100 sends unlocking signal to the electronic lock 9a of described safety cabinet 9.
Refer to Fig. 2, the difference of the described safety distinguishing apparatus 100 that the safety distinguishing apparatus 200 that second embodiment of the invention provides and the first embodiment provide is, the control module 120 of described safety distinguishing apparatus 200 comprises compiling subelement 121, signal conversion subelement 122 and driven element unit 123.
Described compiling subelement 121 is for being converted to binary data by the identification data of obtaining. In present embodiment, described compiling subelement 121 is realized binary data conversion by transformation rule prepared in advance.
Described signal conversion subelement 122 is for being converted to binary data up and down along triggering signal according to Manchester's code mode. In present embodiment, described signal conversion subelement 122 adopts the conversion regime of described the first embodiment that binary data is converted to up and down along triggering signal.
Described driven element unit 123 is described up and down along triggering signal for receiving, and drives light emitting diode 130 to send the optical signal that characterizes identification data along triggering signal up and down according to described. In present embodiment, described driven element unit 123 drives described light emitting diode 130 luminous while receiving trailing edge triggering signal, and described driven element unit 123 drives described light emitting diode 130 not luminous while receiving rising edge triggering signal.
The optical signal processing unit 221 of data verification device 220 comprises opto-electronic conversion subelement 221a, current/voltage conversion subelement 221b and voltage amplification subelement 221c.
Described opto-electronic conversion subelement 221a characterizes identification data optical signal for described light emitting diode 130 is sent converts current signal to. Described opto-electronic conversion subelement 221a can be photo resistance, photoelectric multiplier, photocell, PIN pipe, CCD etc.
Described current/voltage conversion subelement 221b is used for receiving described current signal, and converts described current signal to voltage signal. Described current/voltage conversion subelement 221b can adopt current-to-voltage convertor or current conversion potential circuit.
Described voltage amplification subelement 221c is used for receiving described voltage signal, and amplifies described voltage signal, outputs to authentication unit 222 as data signal.
Described authentication unit 222 comprises decoding subelement 222a, comparison subelement 222b and release subelement 222c. Described decoding subelement 222a is used for receiving described data signal, and described data signal is converted to binary data. Described decoding subelement 222a, within a time cycle, is converted into data signal " 1 " from high to low by level, and level is converted into data signal " 0 " from low to high. .
Described relatively subelement 222b is for described binary data and a default checking data are compared, when described binary data and described default checking data meet when pre-conditioned, to described release subelement 222c transmission unlocking signal. Described relatively subelement 222b adopts mode verification identification data identical in described the first embodiment.
Described release subelement 222c is used for receiving described unlocking signal, and carries out release according to this unlocking signal. Described release subelement 222c can be to electronic lock energising, or sends movable signal to the stepper motor of controlling mechanical lock. In present embodiment, described release subelement 222c sends unlocking signal to the electronic lock 9a of described safety cabinet 9.
Refer to Fig. 3 and Fig. 4, the difference of the described safety distinguishing apparatus 200 that the safety distinguishing apparatus that third embodiment of the invention provides and the second embodiment provide is, data input device 310 adopts fingerprint identification unit 311 to replace memory cell. Described fingerprint collecting unit 311a is used for identifying fingerprint, and the fingerprint of identification is generated to described identification data, and control module 312 is for obtaining described identification data from described fingerprint identification unit 311.
Described fingerprint identification unit 311 comprises fingerprint collecting unit 311a and finger prints processing unit 311b. Described fingerprint collecting unit 311a adopts fingerprint capturer. Described finger prints processing unit 311b adopts and is integrated with the process chip of processing finger print information program. Described finger prints processing unit 311b processes the fingerprint graph that described fingerprint collecting unit 311a gathers, and fingerprint graph is converted to data, becomes described identification data. Described checking data is by the user fingerprints Information generation gathering in advance.
In present embodiment, described data input device 310 is made the shape of pen, and light emitting diode 313 is positioned at pen tip position. The fingerprint collecting district 311a of described fingerprint collecting unit 311a is positioned at a tail place.
In the time of user's opening safety cabinet, open the switch 314 of described data input device 310, then click fingerprint at described fingerprint collecting district 311a, described light emitting diode 313 just can send its finger print information to data verification device 320.
Because fingerprint residual on fingerprint capturer is very clear, if fingerprint capturer is arranged on safety cabinet, be very easy to be stolen by lawless person. In present embodiment, because fingerprint collecting unit is not directly installed on described data verification device 320, be not mounted on safety cabinet, so can avoid the generation of this situation, further improve security.
Safety device provided by the invention transmits password by optical signal, because optical signal is not easy to be identified by people, so can prevent the snooping password by people. Even peeped optical signal by people, be also not easy to be cracked.
Above disclosed is only a kind of preferred embodiments of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.