×

Method and device for residing short message verification code

  • US 10,795,942 B2
  • Filed: 04/20/2015
  • Issued: 10/06/2020
  • Est. Priority Date: 04/22/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for residing a verification code in a short message received by a mobile device, the method comprising:

  • by a processor in the mobile device,determining whether content of the short message comprises a keyword by performing keyword matching on the content of the short message received by the mobile device based on a first regular expression;

    extracting a verification code from the content of the short message received by the mobile device by performing verification code matching on the content of the short message received by the mobile device based on a second regular expression, upon determining that the content of the short message comprises the keyword, wherein the verification code comprises a digit, a letter or a combination thereof;

    obtaining the extracted verification code; and

    displaying the verification code on a verification code input interface of a current application on a screen of the mobile device for preset time,wherein the short message is received in a short message application of the mobile device, and the current application is different from the short message application,wherein the first regular expression is a first string for detecting whether the content of the short message comprises the keyword based on a first syntactic rule, andwherein the second regular expression is a second string for detecting whether the content of the short message comprises the verification code based on a second syntactic rule.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×