Patent ID: 9641518
Date: 2017-05-02
CPC Classifications: G06F,H04L

Claim:
1. A method for password setting and authentication, comprising: receiving a password setting request; acquiring a reference character string and reference input duration information, wherein the reference input duration information is associated with a character at a position of the reference character string; storing the reference character string and the reference input duration information, wherein storing the reference character string and the reference input duration information comprises combining the reference character string and the reference input duration information into a reference password according to a preset combining rule, the reference password being a character string different from the reference character string; receiving a password authentication request; acquiring an authentication character string input by a user and authentication input duration information, wherein the authentication input duration information is associated with a character at the position of the authentication character string; and determining whether password authentication is successful based on the authentication character string, the authentication input duration information, the reference character string, and the reference input duration information.