Disclosure of Invention
In view of the above drawbacks, the present invention provides a method and an apparatus for unlocking a mobile terminal with multi-level verification.
The method for safely unlocking the mobile terminal by multi-stage verification is realized by the following technical scheme:
a multi-stage verification mobile terminal security unlocking method comprises the following steps:
a user name and password verification step, wherein a user starts a mobile terminal, the mobile terminal displays a primary authentication interface and requires the user to input a user name and a password, the user inputs the user name and the password through the primary authentication interface, the primary authentication interface compares the user name and the password input by the user with a preset user name and a preset password, if the comparison result is consistent, the user passes primary authentication, if the comparison result is inconsistent, the primary authentication fails, and the mobile terminal is directly closed;
a user operation authority determining step, wherein after the user passes primary verification, the operation authority corresponding to the user in the authority database is searched, the user name is determined to be an administrator user or a common user, when the user is determined to be the administrator user, the administrator authority is given to the user, and when the user is determined to be the common user, the ordinary user authority is given to the user;
an operation verification step, when the user is determined to be the administrator user, entering an addition and subtraction operation verification step, displaying a secondary authentication interface by the mobile terminal, wherein the secondary authentication interface randomly generates an addition and subtraction operation formula, giving an operation result of the operation formula by the user according to the addition and subtraction operation formula displayed on the interface, when the operation result is consistent with a correct result obtained by pre-operation, the user passes the secondary authentication, and if the operation result is not consistent with the correct result obtained by pre-operation, the user does not pass the secondary authentication, and the mobile terminal is directly closed;
when the user is determined to be a common user, entering a multiplication-division operation verification step, displaying a secondary authentication interface by the mobile terminal, wherein the secondary authentication interface randomly generates a multiplication-division operation expression, giving an operation result of the operation expression by the user according to the multiplication-division operation expression displayed on the interface, and when the operation result is consistent with a correct result obtained by pre-operation, the user passes secondary authentication, if the operation result is not consistent with the correct result obtained by pre-operation, the user does not pass secondary authentication, and the mobile terminal is directly closed;
a biological characteristic authentication mode selection step, selecting a specific biological characteristic authentication mode according to the operation result of the secondary authentication interface, starting a fingerprint authentication step corresponding to the fingerprint authentication mode when the operation result of the secondary authentication interface is more than or equal to 1 and less than 10, collecting the user fingerprint and comparing the user fingerprint with the user fingerprint collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 10 and less than 20, corresponding to a face authentication mode, starting a face authentication step, collecting the face of a user and comparing the face of the user with the face of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 20 and less than 30, corresponding to the iris authentication mode, starting an iris authentication step, collecting the iris of the user, comparing the iris with the iris of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 30 and less than 40, corresponding to the palm print authentication mode, starting a palm print authentication step, collecting the palm print of the user and comparing the palm print with the palm print of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
and when the operation result of the secondary authentication interface is more than or equal to 40, corresponding to the voice authentication mode, starting a voice authentication step, acquiring the voice of the user, comparing the voice with the pre-acquired voice of the user, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed.
Preferably, the method further comprises: the preset user fingerprint, face, iris, palm print and voice information are stored in a storage device, and the storage device is a hard disk device.
Preferably, the method further comprises: when the fingerprints of the user are collected, the fingerprints of 1 or more fingers of the user are selected to be collected, and the higher the security level is when the fingerprints of the plurality of fingers are verified.
Preferably, the method further comprises: and correcting the fingerprint and face information according to the acquired fingerprint and face characteristic information so as to ensure the accuracy of fingerprint and face identification.
Preferably, the method further comprises: and correcting the iris, the palm print and the voice information according to the collected iris, palm print and voice characteristic information so as to ensure the accuracy of iris, palm print and voice recognition.
In addition, the invention also discloses a multi-stage verification mobile terminal safety unlocking device, which comprises the following parts:
the user name and password verification device is used for enabling a user to start the mobile terminal, the mobile terminal displays a primary authentication interface and requires the user to input a user name and a password, the user inputs the user name and the password through the primary authentication interface, the primary authentication interface compares the user name and the password input by the user with a preset user name and a preset password, if the comparison result is consistent, the user passes primary authentication, if the comparison result is inconsistent, the primary authentication fails, and the mobile terminal is directly closed;
the user operation authority determining device is used for searching the operation authority corresponding to the user in the authority database after the user passes primary verification, determining that the user is named as an administrator user or a common user, giving the administrator authority to the user when determining that the user is the administrator user, and giving the common user authority to the user when determining that the user is the common user;
the operation verification device enters the addition and subtraction operation verification device when the user is determined to be the administrator user, the mobile terminal displays a secondary authentication interface, the secondary authentication interface randomly generates an addition and subtraction operation formula, the user gives an operation result of the operation formula according to the addition and subtraction operation formula displayed on the interface, when the operation result is consistent with a correct result obtained by pre-operation, the user passes secondary authentication, if the operation result is not consistent with the correct result obtained by pre-operation, the user does not pass secondary authentication, and the mobile terminal is directly closed;
when the user is determined to be a common user, entering a multiplication-division operation verification device, and displaying a secondary authentication interface by the mobile terminal, wherein the secondary authentication interface randomly generates a multiplication-division operation expression, the user gives an operation result of the operation expression according to the multiplication-division operation expression displayed on the interface, when the operation result is consistent with a correct result obtained by pre-operation, the user passes secondary authentication, and if the operation result is not consistent with the correct result obtained by pre-operation, the user does not pass secondary authentication, and the mobile terminal is directly closed;
the biometric authentication mode selection device selects a specific biometric authentication mode according to the operation result of the secondary authentication interface, when the operation result of the secondary authentication interface is more than or equal to 1 and less than 10, the biometric authentication mode corresponds to the fingerprint authentication mode, the fingerprint authentication device is started, the user fingerprint is collected and compared with the user fingerprint collected in advance, when the comparison is passed, the user is allowed to unlock the mobile terminal, and when the comparison is not passed, the mobile terminal is closed;
when the operation result of the secondary authentication interface is more than or equal to 10 and less than 20, corresponding to the face authentication mode, starting a face authentication device, collecting the face of the user and comparing the face with the face of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 20 and less than 30, the iris authentication device is started corresponding to the iris authentication mode, the iris of the user is collected and compared with the iris of the user collected in advance, the user is allowed to unlock the mobile terminal when the comparison is passed, and the mobile terminal is closed when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 30 and less than 40, corresponding to the palm print authentication mode, starting a palm print authentication device, collecting the palm print of the user and comparing the palm print with the palm print of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
and when the operation result of the secondary authentication interface is more than or equal to 40, corresponding to the voice authentication mode, starting the voice authentication device, acquiring the voice of the user, comparing the voice with the pre-acquired voice of the user, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed.
Preferably, the apparatus further comprises: the preset user fingerprint, face, iris, palm print and voice information are stored in a storage device, and the storage device is a hard disk device.
Preferably, the apparatus further comprises: when the fingerprints of the user are collected, the fingerprints of 1 or more fingers of the user are selected to be collected, and the higher the security level is when the fingerprints of the plurality of fingers are verified.
Preferably, the apparatus further comprises: and correcting the fingerprint and face information according to the acquired fingerprint and face characteristic information so as to ensure the accuracy of fingerprint and face identification.
Preferably, the apparatus further comprises: and correcting the iris, the palm print and the voice information according to the collected iris, palm print and voice characteristic information so as to ensure the accuracy of iris, palm print and voice recognition.
Detailed Description
Referring to fig. 1, the method comprises the following main steps:
a user name and password verification step, wherein a user starts a mobile terminal, the mobile terminal displays a primary authentication interface and requires the user to input a user name and a password, the user inputs the user name and the password through the primary authentication interface, the primary authentication interface compares the user name and the password input by the user with a preset user name and a preset password, if the comparison result is consistent, the user passes primary authentication, if the comparison result is inconsistent, the primary authentication fails, and the mobile terminal is directly closed;
a user operation authority determining step, wherein after the user passes primary verification, the operation authority corresponding to the user in the authority database is searched, the user name is determined to be an administrator user or a common user, when the user is determined to be the administrator user, the administrator authority is given to the user, and when the user is determined to be the common user, the ordinary user authority is given to the user;
an operation verification step, when the user is determined to be the administrator user, entering an addition and subtraction operation verification step, displaying a secondary authentication interface by the mobile terminal, wherein the secondary authentication interface randomly generates an addition and subtraction operation formula, giving an operation result of the operation formula by the user according to the addition and subtraction operation formula displayed on the interface, when the operation result is consistent with a correct result obtained by pre-operation, the user passes the secondary authentication, and if the operation result is not consistent with the correct result obtained by pre-operation, the user does not pass the secondary authentication, and the mobile terminal is directly closed;
when the user is determined to be a common user, entering a multiplication-division operation verification step, displaying a secondary authentication interface by the mobile terminal, wherein the secondary authentication interface randomly generates a multiplication-division operation expression, giving an operation result of the operation expression by the user according to the multiplication-division operation expression displayed on the interface, and when the operation result is consistent with a correct result obtained by pre-operation, the user passes secondary authentication, if the operation result is not consistent with the correct result obtained by pre-operation, the user does not pass secondary authentication, and the mobile terminal is directly closed;
a biological characteristic authentication mode selection step, selecting a specific biological characteristic authentication mode according to the operation result of the secondary authentication interface, starting a fingerprint authentication step corresponding to the fingerprint authentication mode when the operation result of the secondary authentication interface is more than or equal to 1 and less than 10, collecting the user fingerprint and comparing the user fingerprint with the user fingerprint collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 10 and less than 20, corresponding to a face authentication mode, starting a face authentication step, collecting the face of a user and comparing the face of the user with the face of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 20 and less than 30, corresponding to the iris authentication mode, starting an iris authentication step, collecting the iris of the user, comparing the iris with the iris of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 30 and less than 40, corresponding to the palm print authentication mode, starting a palm print authentication step, collecting the palm print of the user and comparing the palm print with the palm print of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
and when the operation result of the secondary authentication interface is more than or equal to 40, corresponding to the voice authentication mode, starting a voice authentication step, acquiring the voice of the user, comparing the voice with the pre-acquired voice of the user, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed.
Referring to fig. 2, the apparatus mainly comprises several parts:
the user name and password verification device is used for enabling a user to start the mobile terminal, the mobile terminal displays a primary authentication interface and requires the user to input a user name and a password, the user inputs the user name and the password through the primary authentication interface, the primary authentication interface compares the user name and the password input by the user with a preset user name and a preset password, if the comparison result is consistent, the user passes primary authentication, if the comparison result is inconsistent, the primary authentication fails, and the mobile terminal is directly closed;
the user operation authority determining device is used for searching the operation authority corresponding to the user in the authority database after the user passes primary verification, determining that the user is named as an administrator user or a common user, giving the administrator authority to the user when determining that the user is the administrator user, and giving the common user authority to the user when determining that the user is the common user;
the operation verification device enters the addition and subtraction operation verification device when the user is determined to be the administrator user, the mobile terminal displays a secondary authentication interface, the secondary authentication interface randomly generates an addition and subtraction operation formula, the user gives an operation result of the operation formula according to the addition and subtraction operation formula displayed on the interface, when the operation result is consistent with a correct result obtained by pre-operation, the user passes secondary authentication, if the operation result is not consistent with the correct result obtained by pre-operation, the user does not pass secondary authentication, and the mobile terminal is directly closed;
when the user is determined to be a common user, entering a multiplication-division operation verification device, and displaying a secondary authentication interface by the mobile terminal, wherein the secondary authentication interface randomly generates a multiplication-division operation expression, the user gives an operation result of the operation expression according to the multiplication-division operation expression displayed on the interface, when the operation result is consistent with a correct result obtained by pre-operation, the user passes secondary authentication, and if the operation result is not consistent with the correct result obtained by pre-operation, the user does not pass secondary authentication, and the mobile terminal is directly closed;
the biometric authentication mode selection device selects a specific biometric authentication mode according to the operation result of the secondary authentication interface, when the operation result of the secondary authentication interface is more than or equal to 1 and less than 10, the biometric authentication mode corresponds to the fingerprint authentication mode, the fingerprint authentication device is started, the user fingerprint is collected and compared with the user fingerprint collected in advance, when the comparison is passed, the user is allowed to unlock the mobile terminal, and when the comparison is not passed, the mobile terminal is closed;
when the operation result of the secondary authentication interface is more than or equal to 10 and less than 20, corresponding to the face authentication mode, starting a face authentication device, collecting the face of the user and comparing the face with the face of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 20 and less than 30, the iris authentication device is started corresponding to the iris authentication mode, the iris of the user is collected and compared with the iris of the user collected in advance, the user is allowed to unlock the mobile terminal when the comparison is passed, and the mobile terminal is closed when the comparison is not passed;
when the operation result of the secondary authentication interface is more than or equal to 30 and less than 40, corresponding to the palm print authentication mode, starting a palm print authentication device, collecting the palm print of the user and comparing the palm print with the palm print of the user collected in advance, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed;
and when the operation result of the secondary authentication interface is more than or equal to 40, corresponding to the voice authentication mode, starting the voice authentication device, acquiring the voice of the user, comparing the voice with the pre-acquired voice of the user, allowing the user to unlock the mobile terminal when the comparison is passed, and closing the mobile terminal when the comparison is not passed.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.