Disclosure of Invention
The invention mainly provides an identity authentication device and a door phone, which can solve the problem that the existing door identity authentication device brings inconvenience to users due to single authentication mode.
in order to solve the technical problems, the invention adopts a technical scheme that: the identity authentication device comprises a main processing module, a camera module, a fingerprint acquisition module, a wireless transmission module, a two-dimensional code acquisition module, an identity card reading module, an NFC module and a key module;
The output end of the camera module, the output end of the fingerprint acquisition module, the transmission end of the wireless transmission module, the output end of the two-dimensional code acquisition module, the output end of the identity card reading module, the output end of the NFC module and the output end of the key module are respectively connected with a first serial interface, a second serial interface, a third serial interface, a fourth serial interface, a fifth serial interface, a sixth serial interface and an input/output interface of the main processing module;
the camera module shoots a face image of a user and outputs the face image to the main processing module; or the fingerprint acquisition module acquires the fingerprint characteristics of a user and outputs the fingerprint characteristics to the main processing module; or the wireless transmission module receives request information of a user and forwards the request information to the main processing module; or the two-dimension code acquisition module scans and acquires two-dimension code information provided by a user and forwards the two-dimension code information to the main processing module; or the identity card reading module reads the identity card information of the user and forwards the identity card information to the main processing module; or the NFC module acquires card information of a user and forwards the card information to the main processing module; or the key module receives password information input by a user and forwards the password information to the main processing module;
And the main processing module carries out identity authentication on the user according to the face image, the fingerprint characteristics, the request information, the two-dimensional code information, the identity card information, the card information or the password information, and controls the door lock to be opened or closed according to an authentication result.
Preferably, the camera module shoots a face image of a user and outputs the face image to the main processing module; the main processing module carries out face recognition verification according to the face image and controls the door lock to be opened or closed according to the face recognition verification result; or the main processing module sends the face image to a server, the server carries out face recognition verification according to the face image and feeds back a face recognition verification result to the main processing module, and the main processing module controls the door lock to be opened or closed according to the face recognition verification result.
Preferably, the fingerprint collecting module collects fingerprint characteristics of a user and outputs the fingerprint characteristics to the main processing module; the main processing module carries out fingerprint identification and verification according to the fingerprint characteristics and controls the door lock to be opened or closed according to the fingerprint identification and verification result; or the main processing module sends the fingerprint characteristics to a server, the server carries out fingerprint identification verification according to the fingerprint characteristics and feeds back a fingerprint identification verification result to the main processing module, and the main processing module controls the door lock to be opened or closed according to the fingerprint identification verification result.
preferably, the output end of the camera module is connected with a first USB interface of the main processing module; the camera module is an RGB camera or an infrared camera.
Preferably, the output end of the fingerprint acquisition module is connected with the second USB interface of the main processing module; the fingerprint acquisition module is a fingerprint acquirer.
Preferably, the transmission end of the wireless transmission module is connected with the first UART interface of the main processing module; the wireless transmission module is a Bluetooth module.
Preferably, the output end of the two-dimensional code acquisition module is connected with a second UART interface of the main processing module; the two-dimensional code acquisition module is a two-dimensional code scanner.
Preferably, the output end of the identity card reading module is connected with the third USB interface of the main processing module; the identity card reading module is an identity card information reader.
Preferably, the identity authentication device further comprises a display module; and the data transmission end of the display module is connected with the MIPI interface of the main processing module.
in order to solve the technical problem, the invention adopts another technical scheme that: there is provided an outdoor machine including the above authentication device.
The invention has the beneficial effects that: different from the prior art, the identity verification device comprises a main processing module, a camera module, a fingerprint acquisition module, a wireless transmission module, a two-dimensional code acquisition module, an identity card reading module, an NFC module and a key module, the identity verification device comprises seven identity verification modules, and a user can select any one of the verification modes to perform identity verification to unlock a door lock, so that the phenomenon that the door lock cannot be unlocked due to the single verification mode is avoided.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of an identity verification apparatus according to an embodiment of the present invention, where the identity verification apparatus includes a main processing module 100, a camera module 200, a fingerprint acquisition module 300, a wireless transmission module 400, a two-dimensional code acquisition module 500, an identity card reading module 600, an NFC module 700, and a key module 800.
The output end of the camera module 200, the output end of the fingerprint acquisition module 300, the transmission end of the wireless transmission module 400, the output end of the two-dimensional code acquisition module 500, the output end of the identification card reading module 600, the output end of the NFC module 700, and the output end of the key module 800 are respectively connected with the first serial interface, the second serial interface, the third serial interface, the fourth serial interface, the fifth serial interface, the sixth serial interface, and the input/output interface of the main processing module 100.
The camera module 200 captures a face image of a user and outputs the face image to the main processing module 100; or the fingerprint collecting module 300 collects the fingerprint characteristics of the user and outputs the fingerprint characteristics to the main processing module 100; or the wireless transmission module 400 receives the request information of the user and forwards the request information to the main processing module 100; or the two-dimensional code obtaining module 500 scans and obtains the two-dimensional code information provided by the user and forwards the two-dimensional code information to the main processing module 100; or the identification card reading module 600 reads the identification card information of the user and forwards the identification card information to the main processing module 100; or the NFC module 700 obtains the card information of the user and forwards the card information to the main processing module 100; or the key module 800 receives password information input by the user and forwards the password information to the main processing module 100.
The main processing module 100 performs identity authentication on the user according to the face image, the fingerprint feature, the request information, the two-dimensional code information, the identification card information, the card information or the password information, and controls the door lock to be opened or closed according to an authentication result.
Preferably, the main processing module 100 may use a RK3399 chip.
Preferably, the output end of the camera module 200 is connected to the first USB interface of the main processing module 100; the camera module 200 is an RGB camera (a camera with a DSP chip and a color image sensing chip) or an infrared camera.
Specifically, the camera module 200 captures a face image of a user and outputs the face image to the main processing module 100; the main processing module 100 performs face recognition verification according to the face image and controls the door lock to be opened or closed according to the face recognition verification result; or the main processing module 100 sends the face image to the server, the server performs face recognition verification according to the face image, and feeds back a face recognition verification result to the main processing module 100, and the main processing module 100 controls the door lock to be opened or closed according to the face recognition verification result.
Specifically, a certain number of face image templates are prestored in the main processing module 100, the main processing module 100 compares the face image of the user obtained by shooting with the prestored face image templates, if the same face image template is obtained by comparison, the face recognition verification is successful, the door lock is opened, otherwise, the face recognition verification fails, and the door lock is kept closed. When the number of the face image templates needing to be prestored exceeds the storage capacity of the main processing module 100, the face image templates are prestored in the server, the main processing module 100 sends the received face images of the user to the server, the server executes face recognition verification and feeds back face recognition verification results to the main processing module 100, and the main processing module 100 controls the door lock to be opened or closed according to the face recognition verification results.
Preferably, the output end of the fingerprint acquisition module 300 is connected with the second USB interface of the main processing module 100; fingerprint acquisition module 300 is a fingerprint acquirer.
Specifically, the fingerprint acquisition module 300 acquires fingerprint characteristics of a user and outputs the fingerprint characteristics to the main processing module 100; the main processing module 100 performs fingerprint identification and verification according to the fingerprint characteristics and controls the door lock to be opened or closed according to the fingerprint identification and verification result; or the main processing module 100 sends the fingerprint characteristics to the server, the server performs fingerprint identification verification according to the fingerprint characteristics, and feeds back the fingerprint identification verification result to the main processing module 100, and the main processing module 100 controls the door lock to be opened or closed according to the fingerprint identification verification result.
Specifically, a certain number of fingerprint feature templates are prestored in the main processing module 100, the main processing module 100 compares the collected user fingerprint features with the prestored fingerprint feature templates, if the same fingerprint feature templates are compared, the fingerprint identification verification is successful, the door lock is opened, otherwise, the fingerprint identification verification fails, and the door lock is kept closed. When the number of the fingerprint feature templates needing to be prestored exceeds the storage capacity of the main processing module 100, the fingerprint feature templates are prestored in the server, the main processing module 100 sends the received user fingerprint features to the server, the server executes fingerprint identification verification and feeds back a fingerprint identification verification result to the main processing module 100, and the main processing module 100 controls the door lock to be opened or closed according to the fingerprint identification verification result.
Preferably, the transmission end of the wireless transmission module 400 is connected to the first UART interface of the main processing module 100; the wireless transmission module 400 is a bluetooth module.
Specifically, a bluetooth module in the authentication device is connected in a pairing manner with a bluetooth module of the user terminal, the bluetooth module in the authentication device receives request information sent by the user terminal and forwards the request information to the main processing module 100, the main processing module 100 judges whether the request information is sent by a registered user terminal, if so, the authentication is successful, the main processing module 100 controls the door lock to be opened, otherwise, the authentication is failed, and the main processing module 100 controls the door lock to be closed.
Preferably, the output end of the two-dimensional code acquisition module 500 is connected to the second UART interface of the main processing module 100; the two-dimensional code acquisition module 500 is a two-dimensional code scanner.
Specifically, the two-dimensional code obtaining module 500 scans a two-dimensional code image provided by a user, decodes the two-dimensional code image to obtain two-dimensional code information, and sends the two-dimensional code information to the main processing module 100, the main processing module 100 judges whether the two-dimensional code information is provided by a registered user, if so, the authentication succeeds, the main processing module 100 controls the door lock to be opened, otherwise, the authentication fails, and the main processing module 100 controls the door lock to be closed.
Preferably, the output end of the identification card reading module 600 is connected with the third USB interface of the main processing module 100; the identification card reading module 600 is an identification card information reader.
Specifically, the identification card reading module 600 reads identification card information of a user and sends the identification card information to the main processing module 100, the main processing module 100 determines whether the identification card information is identification card information of a registered user, if so, the identification verification is successful, the main processing module 100 controls the door lock to be opened, otherwise, the identification verification fails, and the main processing module 100 controls the door lock to be closed.
as shown in fig. 2, fig. 2 is a schematic structural diagram of an authentication apparatus according to another embodiment of the present invention, and the authentication apparatus further includes a display module 900; the data transmission terminal of the display module 900 is connected to an MIPI (Mobile Industry Processor Interface) Interface of the main processing module 100.
Specifically, the display module 900 receives and displays the information sent by the main processing module 100.
Based on the application advantages of the authentication device in the door phone, the invention also provides the door phone, and the door phone comprises the authentication device.
The identity verification device comprises a main processing module, a camera module, a fingerprint acquisition module, a wireless transmission module, a two-dimensional code acquisition module, an identity card reading module, an NFC module and a key module, and the identity verification device comprises seven identity verification modules, wherein a user can select any one of the verification modes to perform identity verification to unlock the door lock, so that the phenomenon that the door lock cannot be unlocked due to the single verification mode is avoided.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.