METHOD AND DEVICE FOR RESIDING SHORT MESSAGE VERIFICATION CODE
First Claim
1. A method for residing a verification code in a short message, comprising:
- performing keyword matching on content of the short message based on a regular expression;
performing verification code matching on the content of the short message based on a regular expression in a case that the content of the short message comprises a keyword, wherein the verification code comprises a digit, a letter or a combination thereof;
obtaining the matched verification code; and
displaying the verification code on an interface for preset time.
2 Assignments
0 Petitions
Accused Products
Abstract
Provided are a method and device for residing a short message verification code. This method includes: conducting keyword matching on a short message content using a regular expression; when the short message content contains a keyword, matching a verification code for the short message content using the regular expression, to acquire a matched verification code; and displaying the verification code on a current interface and displaying a pre-set time. This method can automatically extract a verification code in a short message and display a pre-set time on a current interface. Within this pre-set time, a user can fill in a verification code on a verification code interface according to the displayed verification code without the need for the user to remember the verification code and to frequently switch between a short message application and a current application as well.
9 Citations
17 Claims
-
1. A method for residing a verification code in a short message, comprising:
-
performing keyword matching on content of the short message based on a regular expression; performing verification code matching on the content of the short message based on a regular expression in a case that the content of the short message comprises a keyword, wherein the verification code comprises a digit, a letter or a combination thereof; obtaining the matched verification code; and displaying the verification code on an interface for preset time. - View Dependent Claims (2, 3, 4, 5, 6, 7, 15, 16)
-
-
8. A device for residing a verification code in a short message, comprising:
-
a keyword matching unit configured to perform keyword match on content of the short message based on a regular expression; a verification code matching unit configured to perform verification code matching on the content of the short message based on a regular expression in a case that the content of the short message comprises a keyword, wherein the verification code comprises a digit, a letter or a combination thereof; a first obtaining unit configured to obtain the matched verification code; and a display unit configured to display the verification code on an interface for preset time. - View Dependent Claims (9, 10)
-
-
11. A method for residing a verification code in a short message, comprising:
-
obtaining text content of the short message; determining whether the text content comprises a phrase consistent with a keyword, wherein the keyword is a phrase related to the verification code; determining whether the text content comprises a string consistent with a preset format of verification code in a case that the text content comprises the phrase consistent with the keyword, wherein the preset format of verification code is a string comprising a digit, a letter or a combination thereof and having a length within a preset range; generating the verification code comprising the string in a case that the text content comprises the string consistent with the preset format of verification code; and displaying the verification code on a screen for preset time. - View Dependent Claims (12, 13, 14, 17)
-
Specification