CN105263126A - Method, device and system for short message verification - Google Patents

Method, device and system for short message verification Download PDF

Info

Publication number
CN105263126A
CN105263126A CN201510553382.5A CN201510553382A CN105263126A CN 105263126 A CN105263126 A CN 105263126A CN 201510553382 A CN201510553382 A CN 201510553382A CN 105263126 A CN105263126 A CN 105263126A
Authority
CN
China
Prior art keywords
identifying code
target
application
code
verification code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510553382.5A
Other languages
Chinese (zh)
Other versions
CN105263126B (en
Inventor
谢然
刘洋河
陈恺睿
徐胜强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510553382.5A priority Critical patent/CN105263126B/en
Publication of CN105263126A publication Critical patent/CN105263126A/en
Application granted granted Critical
Publication of CN105263126B publication Critical patent/CN105263126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, a device and a system for short message verification, belonging to the field of mobile internet. The method comprises the following steps of: obtaining n verification short messages of a time most approximate to the current time in an inbox, wherein n is greater than or equal to 1; extracting verification codes in the n verification short messages, and obtaining n verification codes; determining a target verification code, corresponding to a target application, from the n verification codes; and according to the target verification code, triggering a target server to perform identity verification. The method, the device and the system solve a problem of lower safety of user short messages, realize an effect of improving safety of the user messages, and are used for short message verification.

Description

Short-message verification method, Apparatus and system
Technical field
The disclosure relates to mobile Internet field, particularly a kind of short-message verification method, Apparatus and system.
Background technology
Along with the fast development of mobile Internet, the application being carried out authentication by note is more and more general.Mobile phone short message verification be enterprise to user voucher, can identifying user identity by the identifying code of SMS content.
A kind of short-message verification method is had in correlation technique, in the method, when server sends after identifying code to mobile terminal, by notes all in the application searches inbox in mobile terminal, find out the checking note comprising the identifying code relevant to this application, automatically extract the identifying code in checking note, and by this identifying code assignment to the identifying code input frame of this application, by the Internet, this identifying code is sent to server again, by server, this identifying code is verified.
Summary of the invention
In order to solve the problem of correlation technique, present disclose provides a kind of short-message verification method, Apparatus and system.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of short-message verification method, the method comprises:
Obtain in inbox and verify note with the n bar in current time immediate moment, n is more than or equal to 1;
Extract the identifying code in n bar checking note, obtain n identifying code;
The target verification code that target application is corresponding is determined in n identifying code;
Authentication is carried out according to target verification code trigger target server.
Optionally, determine to comprise the target verification code that target application is corresponding in n identifying code:
Determine the application that each identifying code is corresponding, obtain n application;
Receive the triggering signal of input method application;
According to triggering signal, in the target application operating in foreground, detect n application;
In response to n application being detected in target application, identifying code corresponding for target application is defined as target verification code.
Optionally, carry out authentication according to target verification code trigger target server, comprising:
Show the information of the acquisition for having pointed out target verification code;
Receive the trigger action to information;
According to trigger action, by target verification code assignment to the identifying code input frame of target application;
Send authorization information to destination server, authorization information comprises target verification code.
Optionally, showing the information of the acquisition for having pointed out target verification code, comprising:
By being positioned at the cue button on the interface of input method application, or the prompting bullet window be positioned on terminal demonstration interface carrys out display reminding information.
Optionally, carry out authentication according to target verification code trigger target server, comprising:
The interface of input method application receives and presets input character;
According to default input character, the information group that display is relevant to target verification code on the interface of input method application, information group comprises at least one information;
Receive and select signal, select the signal that signal produces for selection information in information group;
According to selection signal, by target verification code assignment to the identifying code input frame of target application;
Send authorization information to destination server, authorization information comprises target verification code.
Optionally, extract the identifying code in n bar checking note, obtain n identifying code, comprising:
By the either type in pattern matching, matching regular expressions and string matching, extract the identifying code in n bar checking note, obtain n identifying code.
According to the second aspect of disclosure embodiment, provide a kind of short-message verification device, this device comprises:
Acquisition module, be configured to obtain in inbox and verify note with the n bar in current time immediate moment, n is more than or equal to 1;
Extraction module, is configured to extract the identifying code in the n bar checking note of acquisition module acquisition, obtains n identifying code;
Determination module, is configured to determine the target verification code that target application is corresponding in n the identifying code extracted at extraction module;
Authentication module, the target verification code trigger target server being configured to determine according to determination module carries out authentication.
Optionally, determination module, is configured to:
Determine the application that each identifying code is corresponding, obtain n application;
Receive the triggering signal of input method application;
According to triggering signal, in the target application operating in foreground, detect n application;
In response to n application being detected in target application, identifying code corresponding for target application is defined as target verification code.
Optionally, authentication module, comprising:
Display sub-module, is configured to the information of the acquisition shown for having pointed out target verification code;
Receive submodule, be configured to the trigger action of the information received display sub-module display;
Assignment submodule, is configured to the trigger action according to receiving submodule reception, by target verification code assignment to the identifying code input frame of target application;
Send submodule, be configured to send authorization information to destination server, authorization information comprises assignment submodule assignment to the target verification code of the identifying code input frame of target application.
Optionally, display sub-module, is configured to:
By being positioned at the cue button on the interface of input method application, or the prompting bullet window be positioned on terminal demonstration interface carrys out display reminding information.
Optionally, authentication module, is configured to:
The interface of input method application receives and presets input character;
According to default input character, the information group that display is relevant to target verification code on the interface of input method application, information group comprises at least one information;
Receive and select signal, select the signal that signal produces for selection information in information group;
According to selection signal, by target verification code assignment to the identifying code input frame of target application;
Send authorization information to destination server, authorization information comprises target verification code.
Optionally, extraction module, is configured to:
By the either type in pattern matching, matching regular expressions and string matching, extract the identifying code in n bar checking note, obtain n identifying code.
According to the third aspect of disclosure embodiment, a kind of short-message verification device is provided, comprises:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, processor is configured to:
Obtain in inbox and verify note with the n bar in current time immediate moment, n is more than or equal to 1;
Extract the identifying code in n bar checking note, obtain n identifying code;
The target verification code that target application is corresponding is determined in n identifying code;
Authentication is carried out according to target verification code trigger target server.
According to the fourth aspect of disclosure embodiment, provide a kind of short-message verification system, comprising: at least one server and terminal, at least one server comprises destination server,
At least one server is used for sending n bar checking note to terminal;
Terminal verifies note for the n bar obtaining the immediate moment with current time in inbox, n is more than or equal to 1, extract the identifying code in n bar checking note, obtain n identifying code, in n identifying code, determine the target verification code that target application is corresponding, carry out authentication according to target verification code trigger target server;
Destination server is used for carrying out authentication to the target verification code that terminal provides.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Present disclose provides a kind of short-message verification method, Apparatus and system, note is verified with the n bar in current time immediate moment by obtaining in inbox, extract the identifying code in n bar checking note again, obtain n identifying code, in n identifying code, determine the target verification code that target application is corresponding, thus carry out authentication according to target verification code, compared to correlation technique, reduce the risk of the leakage of private information of user, this improves the fail safe of user's note.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in disclosure embodiment, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only embodiments more of the present disclosure, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the implementation environment schematic diagram involved by each embodiment of the disclosure;
Fig. 2 is the flow chart of a kind of short-message verification method according to an exemplary embodiment;
Fig. 3-1 is the flow chart of a kind of short-message verification method according to another exemplary embodiment;
Fig. 3-2 is display schematic diagrames of 3 checking notes in correlation technique;
Fig. 3-3 is display interface figure when input method application is aroused in Fig. 3-1 illustrated embodiment;
Fig. 3-4 is a kind of flow charts carrying out authentication according to target verification code in Fig. 3-1 illustrated embodiment;
Fig. 3-5 is display schematic diagrames of cue button in Fig. 3-1 illustrated embodiment;
Fig. 3-6 is display schematic diagrames that in Fig. 3-1 illustrated embodiment, prompting plays window;
Fig. 3-7 be in Fig. 3-1 illustrated embodiment by target verification code assignment to the schematic diagram of the identifying code input frame of target application;
Fig. 3-8 is another kind of flow charts carrying out authentication according to target verification code in Fig. 3-1 illustrated embodiment;
Fig. 3-9 is the schematic diagrames of the information group that in Fig. 3-1 illustrated embodiment, display is relevant to target verification code;
Fig. 4-1 is the block diagram of a kind of short-message verification device according to an exemplary embodiment;
Fig. 4-2 is block diagrams of authentication module in Fig. 4-1 illustrated embodiment;
Fig. 5 is a kind of block diagram for short-message verification device according to an exemplary embodiment;
Fig. 6 is the block diagram of a kind of short-message verification system according to an exemplary embodiment.
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the implementation environment schematic diagram involved by each embodiment of the disclosure, and this implementation environment can comprise: server 110 and terminal 120.
Server 110 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.
Terminal 120 can be arbitrary can connecting Internet and the equipment of note can be received.
Wireless connections or wired connection can be set up between server 110 and terminal 120.Application in terminal 120 is first to server 110 requests verification code, then identifying code and some supplemental instruction information are sent to terminal 120 in the mode of note by server 110, terminal 120 sends the authorization information comprising identifying code to server 110 subsequently, carries out authentication.
Fig. 2 is the flow chart of a kind of short-message verification method according to an exemplary embodiment, and this short-message verification method can comprise following several step:
In a step 101, obtain in inbox and verify note with the n bar in current time immediate moment, n is more than or equal to 1.
In a step 102, extract the identifying code in n bar checking note, obtain n identifying code.
In step 103, in n identifying code, the target verification code that target application is corresponding is determined.
At step 104, authentication is carried out according to target verification code trigger target server.
In sum, the short-message verification method that disclosure embodiment provides, verify note by obtaining in inbox with the n bar in current time immediate moment, then extract the identifying code in n bar checking note, obtain n identifying code, the target verification code that target application is corresponding is determined in n identifying code, thus carry out authentication according to target verification code, compared to correlation technique, reduce the risk of the leakage of private information of user, this improves the fail safe of user's note.
Fig. 3-1 is the flow chart of a kind of short-message verification method according to an exemplary embodiment, and this short-message verification method can comprise following several step:
In step 201, obtain in inbox and verify note with the n bar in current time immediate moment, n is more than or equal to 1.
Concrete, can be obtained in inbox by the input method application in terminal and verify note with the n bar in current time immediate moment.Example, terminal can be mobile terminal as smart mobile phone, but disclosure embodiment is not limited to mobile terminal, any can connecting Internet and the terminal that can receive note all can be used for the short-message verification method that disclosure embodiment provides.Usually, operate in the target application on foreground after server requests authentication code, server can will comprise the checking short message sending of identifying code and some supplemental instruction information to terminal, again because terminal can receive a note general of synchronization, therefore, can think that up-to-date note is the checking note that server sends to terminal in terminal inbox.When in terminal inbox with current time the note in immediate moment for verify note, and checking note more than 1 as 3 time, then obtain these 3 checking notes by the application of input method in terminal.When in terminal inbox with current time the note in immediate moment not for verify the note that note sends as good friend, and the note in a upper moment of this good friend's note be many checking note time, then can by the input method application in terminal according to short message content, get rid of that note from good friend, obtain and verify note with many of the current time immediate moment.Fig. 3-2 to show in inbox with current time 3 of the immediate moment and verifies the display schematic diagram of note, and from Fig. 3-2, these 3 checking notes all received at 10: 10.
Wherein, obtaining checking note according to short message content can with reference to correlation technique.Example, identifying code generally includes some lines and some irregular characters, and therefore, string matching mode can be adopted to judge, and whether current note is checking note; Or the ending of checking short message content is generally the Apply Names relevant to identifying code or enterprise name, therefore, also can by detecting whether the ending of current short message content is that Apply Names or enterprise name judge whether current note is checking note.
In step 202., extract the identifying code in n bar checking note, obtain n identifying code.
Concrete, the input method in terminal can be adopted to apply by the either type in pattern matching, matching regular expressions and string matching, extract the identifying code in n bar checking note, obtain n identifying code.
Wherein, pattern matching is a kind of basic operation of character string in data structure, can find out all substrings identical with given substring by pattern matching mode in certain character string.Suppose that P is given substring and pattern string, T is character string to be found and target strings, the basic thought of pattern matching is: compare with the first character of pattern string P from the first character of target strings T, if equal, then continue to carry out follow-up comparison to character, otherwise target strings T again compares with the first character of pattern string P from second character, till each character in pattern string P is equal with the continuous print character string of in target strings T successively, now the match is successful for title, otherwise it fails to match; Regular expression is a kind of logical formula to string operation, use the combination of some specific characters and these specific characters defined in advance exactly, form one " regular character string ", this " regular character string " is used for expressing a kind of filter logic to character string.By matching regular expressions mode, can judge whether given character string meets the filter logic of regular expression, specific part that we want can be obtained as the identifying code in the disclosure from character string; String matching algorithm has multiple, as prefix search, suffix search, substring search etc., also can extract the identifying code in n bar checking note well by string matching mode.How to extract the identifying code in n bar checking note, can take different modes according to practical application, disclosure embodiment is not construed as limiting this.
Example, extract the identifying code in 3 shown in Fig. 3-2 checking note, obtain 3 identifying codes, these 3 identifying codes respectively: 267892,7890jk and 7h878h.
In step 203, determine the application that each identifying code is corresponding, obtain n application.
Be extracted the identifying code in n bar checking note, after obtaining n identifying code, the application that each identifying code is corresponding can be determined, obtain n application.Ending as certain checking short message content is certain Apply Names: application A, then can determine that A is applied in corresponding being applied as of identifying code in this checking note.Same method, can obtain the application that all the other n-1 identifying code is corresponding, obtains n-1 application.Example, table 1 shows 3 identifying codes in 3 shown in Fig. 3-2 checking note and 3 corresponding relations apply, as shown in table 1, being applied as " applying A " of identifying code " 267892 " correspondence.
Table 1
Identifying code Application
267892 Application A
7890jk Application B
7h878h Application F
In step 204, the triggering signal of input method application is received.
When input method application is aroused, a triggering signal can be produced.When operating in the identifying code input frame of the target application on foreground as positioned a cursor over, the interface of input method application has just occurred, now, input method application is aroused, and produces triggering signal simultaneously.Fig. 3-3 shows display interface figure when input method application is aroused, and in Fig. 3-3,001 represents the interface that input method is applied, and 006 is identifying code input frame, and 007 is cursor.
In step 205, according to triggering signal, in the target application operating in foreground, detect n application.
Concrete, the triggering signal produced when can be aroused according to input method application by input method application, detects n application in the target application operating in foreground.
In step 206, in response to n application being detected in target application, identifying code corresponding for target application is defined as target verification code.
In response to n application being detected in target application, identifying code corresponding for target application is defined as target verification code.The identifying code of hypothetical target application correspondence is " 7h878h " in table 1, then " 7h878h " is defined as target verification code.If n application do not detected in target application, then do not deal with.
In step 207, authentication is carried out according to target verification code trigger target server.
This destination server is server corresponding to target application.
On the one hand, as shown in Figure 3-4, step 207 can also comprise four sub-steps below:
In sub-step 2071a, show the information of the acquisition for having pointed out target verification code.
Concrete, sub-step 2071a can comprise: by being positioned at the cue button on the interface of input method application, or the prompting bullet window be positioned on terminal demonstration interface carrys out display reminding information.
N application detected in target application after, user's the method can be pointed out to have completed the acquisition of target verification code by information.Have multiple by the mode of information prompting user, example, user can being pointed out by the interface of apply in input method being added a cue button, also can point out user by ejecting a prompting bullet window.Example, cue button can also be provided with specific special pattern and point out user further, glimmer as made cue button, Fig. 3-5 shows the display schematic diagram of input method application interface on terminal demonstration interface being provided with cue button, in Fig. 3-5,001 represents the interface that input method is applied, and 002 represents cue button.In addition, as seen in figures 3-6, prompting plays window can be provided with two buttons, a button is determined target verification code assignment to this operation of identifying code input frame of target application for making user, another button is cancelled by target verification code assignment to this operation of identifying code input frame of target application for making user, and in Fig. 3-6,003 is prompting bullet window, 004 is " determination " button, and 005 is " cancellation " button.
In sub-step 2072a, receive the trigger action to information.
Example, the trigger action of information can comprise the cue button 002 that user presses the flicker in Fig. 3-5, or user presses " determination " button 004 in Fig. 3-6.
In sub-step 2073a, according to trigger action, by target verification code assignment to the identifying code input frame of target application.
Concrete, can be applied according to trigger action, by target verification code assignment to the identifying code input frame of target application by input method.Namely, when user presses the cue button 002 of the flicker in Fig. 3-5, or user is when pressing " determination " button 004 in Fig. 3-6, input method application then by target verification code assignment to the identifying code input frame of target application, as shown in fig. 3 to 7, in Fig. 3-7,006 represents identifying code input frame, and 008 represents target verification code.
In sub-step 2074a, send authorization information to destination server.
This authorization information comprises target verification code.Sent the authorization information comprising target verification code by terminal to destination server, carry out authentication.Concrete, destination server judges that whether the identifying code that the target verification code that receives and destination server send to terminal is consistent, if the target verification code that destination server receives is consistent with the identifying code that destination server sends to terminal, then authentication success, if the target verification code that destination server receives and the identifying code that destination server sends to terminal inconsistent, then authentication failure.
In disclosure embodiment, by being positioned at the cue button on the interface of input method application, or, the prompting bullet window be positioned on terminal demonstration interface carrys out display reminding information, makes user only need one click to operate and can complete whole short-message verification process, remember identifying code without the need to user, also copy without the need to user, paste identifying code, therefore, improve the experience of user when input validation code, reach short-message verification process effect simply and easily.
On the other hand, as shown in figures 3-8, step 207 can also comprise five sub-steps below:
In sub-step 2071b, the interface of input method application receives and presets input character.
When user is prompted after target verification code obtains, user can by input method application input preset characters, as " yzm " abbreviation etc.Input method be applied in input method application interface on receive preset input character.
In sub-step 2072b, according to default input character, the information group that display is relevant to target verification code on the interface of input method application.
Information group comprises at least one information.When Fig. 3-9 shows default input character for " yzm ", the schematic diagram of the information group that display is relevant to target verification code on the interface of input method application.As shown in figs. 3-9, the information group relevant to target verification code of display comprises 3 information, and wherein, the 1st information is " identifying code ", and second information is " * ", and the 3rd information is a button sign.
In sub-step 2073b, receive and select signal, the signal that this selection signal produces for selection information in information group.
Example, when user have selected the 3rd information in Fig. 3-9 and button sign, then can produce one and select signal.This selection signal can be received by input method application.In addition, when user have selected two other information, also can produce and select signal accordingly.
In sub-step 2074b, according to selection signal, by target verification code assignment to the identifying code input frame of target application.
Concrete, when input method is applied in and receives selection signal, by target verification code assignment to the identifying code input frame of target application.
In sub-step 2075b, send authorization information to destination server.
This authorization information comprises target verification code.Sent the authorization information comprising target verification code by terminal to destination server, carry out authentication.Detailed process with reference to sub-step 2074a, can not repeat them here.
The short-message verification method that disclosure embodiment provides carries out authentication by obtaining in inbox with the checking note in current time immediate moment, without the need to reading all notes in search inbox, thus reduce the risk of the private information disclosure of user, reduce all notes in inbox are accessed in other application possibility because of identifying code, improve the fail safe of user's note; Simultaneously, user is helped to extract identifying code from checking note by input method application, and this identifying code one key is inserted identifying code input frame automatically, make user can operate whole short-message verification process by one click, in correlation technique, user transcribes the process of identifying code, remembers identifying code without the need to user, also copies without the need to user, pastes identifying code, improve the experience of user when input validation code, reach short-message verification process effect simply and easily.
It should be noted that; the sequencing of the short-message verification method step that disclosure embodiment provides can suitably adjust; step also according to circumstances can carry out corresponding increase and decrease; anyly be familiar with those skilled in the art in the technical scope that the disclosure discloses; the method changed can be expected easily; all should be encompassed within protection range of the present disclosure, therefore repeat no more.
In sum, the short-message verification method that disclosure embodiment provides, note is verified with the n bar in current time immediate moment by obtaining in inbox, extract the identifying code in n bar checking note again, obtain n identifying code, the target verification code that target application is corresponding is determined in n identifying code, thus carry out authentication according to target verification code, compared to correlation technique, reduce the risk of the leakage of private information of user, therefore, improve the fail safe of user's note, and improve the experience of user when input validation code by input method application, reach short-message verification process effect simply and easily.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4-1 is the block diagram of a kind of short-message verification device according to an exemplary embodiment, and this short-message verification device can comprise:
Acquisition module 401, be configured to obtain in inbox and verify note with the n bar in current time immediate moment, n is more than or equal to 1.
Extraction module 402, is configured to extract the identifying code in the n bar checking note of acquisition module 401 acquisition, obtains n identifying code.
Determination module 403, is configured to determine the target verification code that target application is corresponding in n the identifying code extracted at extraction module 402.
Authentication module 404, the target verification code trigger target server being configured to determine according to determination module 403 carries out authentication.
In sum, the short-message verification device that disclosure embodiment provides, verify note by obtaining in inbox with the n bar in current time immediate moment, then extract the identifying code in n bar checking note, obtain n identifying code, the target verification code that target application is corresponding is determined in n identifying code, thus carry out authentication according to target verification code, compared to correlation technique, reduce the risk of the leakage of private information of user, this improves the fail safe of user's note.
Optionally, determination module 403, is configured to: determine the application that each identifying code is corresponding, obtains n application; Receive the triggering signal of input method application; According to triggering signal, in the target application operating in foreground, detect n application; In response to n application being detected in target application, identifying code corresponding for target application is defined as target verification code.
Optionally, as shown in the Fig. 4-2, authentication module 404, comprising:
Display sub-module 4041, is configured to the information of the acquisition shown for having pointed out target verification code.
Receive submodule 4042, be configured to receive the trigger action to the information that display sub-module 4041 shows.
Assignment submodule 4043, is configured to the trigger action according to receiving submodule 4042 reception, by target verification code assignment to the identifying code input frame of target application.
Send submodule 4044, be configured to send authorization information to destination server, this authorization information comprises assignment submodule 4043 assignment to the target verification code of the identifying code input frame of target application.
Optionally, display sub-module 4041, is configured to: by being positioned at the cue button on the interface of input method application, or the prompting bullet window be positioned on terminal demonstration interface carrys out display reminding information.
Optionally, authentication module 404, is configured to: receive on the interface of input method application and preset input character; According to default input character, the information group that display is relevant to target verification code on the interface of input method application, this information group comprises at least one information; Receive and select signal, the signal that this selection signal produces for selection information in information group; According to selection signal, by target verification code assignment to the identifying code input frame of target application; Send authorization information to destination server, this authorization information comprises target verification code.
Optionally, extraction module 402, is configured to: by the either type in pattern matching, matching regular expressions and string matching, extracts the identifying code in n bar checking note, obtains n identifying code.
In sum, the short-message verification device that disclosure embodiment provides, note is verified with the n bar in current time immediate moment by obtaining in inbox, extract the identifying code in n bar checking note again, obtain n identifying code, the target verification code that target application is corresponding is determined in n identifying code, thus carry out authentication according to target verification code, compared to correlation technique, reduce the risk of the leakage of private information of user, therefore, improve the fail safe of user's note, and improve the experience of user when input validation code by input method application, reach short-message verification process effect simply and easily.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 5 is a kind of block diagram for short-message verification device 500 according to an exemplary embodiment.Such as, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 5, device 500 can comprise following one or more assembly: processing components 5002, memory 5004, power supply module 5006, multimedia groupware 5008, audio-frequency assembly 5010, the interface 5012 of I/O (I/O), sensor cluster 5014, and communications component 5016.
The integrated operation of the usual control device 500 of processing components 5002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 5002 can comprise one or more processor 5020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 5002 can comprise one or more module, and what be convenient between processing components 5002 and other assemblies is mutual.Such as, processing components 5002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 5008 and processing components 5002.
Memory 5004 is configured to store various types of data to be supported in the operation of device 500.The example of these data comprises the instruction of any application program for operating on device 500 or method, contact data, telephone book data, message, picture, video etc.Memory 5004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read-only memory (prom), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 5006 is device 500 provide electric power.Power supply module 5006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 500 and be associated.
Multimedia groupware 5008 is included in the screen providing an output interface between described device 500 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 5008 comprises a front-facing camera and/or post-positioned pick-up head.When device 500 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 5010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 5010 comprises a microphone (MIC), and when device 500 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 5004 further or be sent via communications component 5016.In certain embodiments, audio-frequency assembly 5010 also comprises a loud speaker, for output audio signal.
I/O interface 5012 is for providing interface between processing components 5002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 5014 comprises one or more transducer, for providing the state estimation of various aspects for device 500.Such as, sensor cluster 5014 can detect the opening/closing state of device 500, the relative positioning of assembly, such as described assembly is display and the keypad of device 500, the position of all right checkout gear 500 of sensor cluster 5014 or device 500 1 assemblies changes, the presence or absence that user contacts with device 500, the variations in temperature of device 500 orientation or acceleration/deceleration and device 500.Sensor cluster 5014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 5014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 5014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 5016 is configured to the communication being convenient to wired or wireless mode between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 5016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 5016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 5004 of instruction, above-mentioned instruction can perform said method by the processor 5020 of device 500.Such as, described non-transitory computer-readable recording medium can be ROM, random-access memory (ram), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 500, the short-message verification method making device 500 can perform each embodiment above-mentioned to provide, described method comprises:
Obtain in inbox and verify note with the n bar in current time immediate moment, described n is more than or equal to 1;
Extract the identifying code in described n bar checking note, obtain n identifying code;
The target verification code that target application is corresponding is determined in a described n identifying code;
Authentication is carried out according to described target verification code trigger target server.
Disclosure embodiment provides a kind of short-message verification system, and this short-message verification system comprises: at least one server and terminal, and at least one server comprises destination server.
Wherein, at least one server is used for sending n bar checking note to terminal.
Terminal verifies note for the n bar obtaining the immediate moment with current time in inbox, n is more than or equal to 1, extract the identifying code in n bar checking note, obtain n identifying code, in n identifying code, determine the target verification code that target application is corresponding, carry out authentication according to target verification code trigger target server.
Destination server is used for carrying out authentication to the target verification code that terminal provides.
Fig. 6 is the structural representation of a kind of short-message verification system according to an exemplary embodiment.As shown in Figure 6, this short-message verification system comprises server 01, server 02, server 03 and terminal 04.Wherein, server 01 is the server that chat application A is corresponding, and server 02 is pay server corresponding to application B, and server 03 is server corresponding to mailbox application C.
Suppose that chat application A in current time terminal is to server 01 requests verification code, server 01 sends to terminal the checking note that comprises identifying code 001232.Terminal 04 to get in inbox with current time 3 of the immediate moment and verifies note, and terminal 04 extracts the identifying code in 3 checking notes, is verified code 001232, identifying code 901023 and identifying code 123456.Wherein, identifying code 901023 is identifying codes that server 02 comprises to the checking note that terminal 04 sends, and identifying code 123456 is identifying codes that server 03 comprises to the checking note that terminal 04 sends.Terminal 04 determines target application and target verification code corresponding to chat application A and identifying code 001232 in identifying code 001232, identifying code 901023 and identifying code 123456.Terminal 04 carries out authentication according to identifying code 001232 trigger target server and server 01.
In sum, the short-message verification system that disclosure embodiment provides, at least one server in this short-message verification system sends n bar checking note to terminal, terminal verifies note by obtaining in inbox with the n bar in current time immediate moment, extract the identifying code in n bar checking note again, obtain n identifying code, the target verification code that target application is corresponding is determined in n identifying code, thus carry out authentication according to target verification code trigger target server, compared to correlation technique, reduce the risk of the leakage of private information of user, therefore, improve the fail safe of user's note.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

1. a short-message verification method, is characterized in that, described method comprises:
Obtain in inbox and verify note with the n bar in current time immediate moment, described n is more than or equal to 1;
Extract the identifying code in described n bar checking note, obtain n identifying code;
The target verification code that target application is corresponding is determined in a described n identifying code;
Authentication is carried out according to described target verification code trigger target server.
2. method according to claim 1, is characterized in that, describedly in a described n identifying code, determines the target verification code that target application is corresponding, comprising:
Determine the application that each described identifying code is corresponding, obtain n application;
Receive the triggering signal of input method application;
According to described triggering signal, in the target application operating in foreground, detect described n application;
In response to described n application being detected in described target application, identifying code corresponding for described target application is defined as described target verification code.
3. method according to claim 2, is characterized in that, describedly carries out authentication according to described target verification code trigger target server, comprising:
Show the information of the acquisition for having pointed out described target verification code;
Receive the trigger action to described information;
According to described trigger action, described target verification code assignment is given the identifying code input frame of described target application;
Send authorization information to described destination server, described authorization information comprises described target verification code.
4. method according to claim 3, is characterized in that, described display, for having pointed out the information of the acquisition of described target verification code, comprising:
By being positioned at the cue button on the interface of described input method application, or, be positioned at prompting bullet window on terminal demonstration interface to show described information.
5. method according to claim 2, is characterized in that, describedly carries out authentication according to described target verification code trigger target server, comprising:
The interface that described input method is applied receives and presets input character;
According to described default input character, the information group that display is relevant to described target verification code on the interface that described input method is applied, described information group comprises at least one information;
Receive and select signal, the signal that described selection signal produces for selection information in described information group;
According to described selection signal, described target verification code assignment is given the identifying code input frame of described target application;
Send authorization information to described destination server, described authorization information comprises described target verification code.
6. according to the arbitrary described method of claim 1 to 5, it is characterized in that, the identifying code in described extraction described n bar checking note, obtains n identifying code, comprising:
By the either type in pattern matching, matching regular expressions and string matching, extract the identifying code in described n bar checking note, obtain a described n identifying code.
7. a short-message verification device, is characterized in that, described device comprises:
Acquisition module, be configured to obtain in inbox and verify note with the n bar in current time immediate moment, described n is more than or equal to 1;
Extraction module, is configured to extract the identifying code in the described n bar checking note of described acquisition module acquisition, obtains n identifying code;
Determination module, is configured to determine the target verification code that target application is corresponding in described n the identifying code extracted at described extraction module;
Authentication module, the described target verification code trigger target server being configured to determine according to described determination module carries out authentication.
8. device according to claim 7, is characterized in that, described determination module, is configured to:
Determine the application that each described identifying code is corresponding, obtain n application;
Receive the triggering signal of input method application;
According to described triggering signal, in the target application operating in foreground, detect the application in described n application;
In response to described n application being detected in described target application, identifying code corresponding for described target application is defined as described target verification code.
9. device according to claim 8, is characterized in that, described authentication module, comprising:
Display sub-module, is configured to the information of the acquisition shown for having pointed out described target verification code;
Receive submodule, be configured to receive the trigger action to the described information that described display sub-module shows;
Assignment submodule, is configured to the described trigger action received according to described reception submodule, described target verification code assignment is given the identifying code input frame of described target application;
Send submodule, be configured to send authorization information to described destination server, described authorization information comprises described assignment submodule assignment to the described target verification code of the identifying code input frame of described target application.
10. device according to claim 9, is characterized in that, described display sub-module, is configured to:
By being positioned at the cue button on the interface of described input method application, or, be positioned at prompting bullet window on terminal demonstration interface to show described information.
11. devices according to claim 8, is characterized in that, described authentication module, is configured to:
The interface that described input method is applied receives and presets input character;
According to described default input character, the information group that display is relevant to described target verification code on the interface that described input method is applied, described information group comprises at least one information;
Receive and select signal, the signal that described selection signal produces for selection information in described information group;
According to described selection signal, described target verification code assignment is given the identifying code input frame of described target application;
Send authorization information to described destination server, described authorization information comprises described target verification code.
12. according to the arbitrary described device of claim 7 to 11, and it is characterized in that, described extraction module, is configured to:
By the either type in pattern matching, matching regular expressions and string matching, extract the identifying code in described n bar checking note, obtain a described n identifying code.
13. 1 kinds of short-message verification devices, is characterized in that, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Obtain in inbox and verify note with the n bar in current time immediate moment, described n is more than or equal to 1;
Extract the identifying code in described n bar checking note, obtain n identifying code;
The target verification code that target application is corresponding is determined in a described n identifying code;
Authentication is carried out according to described target verification code trigger target server.
14. 1 kinds of short-message verification systems, is characterized in that, comprising: at least one server and terminal, and at least one server described comprises destination server,
At least one server described is used for sending n bar checking note to described terminal;
Described terminal verifies note for the n bar obtaining the immediate moment with current time in inbox, described n is more than or equal to 1, extract the identifying code in described n bar checking note, obtain n identifying code, determine to trigger the target verification code that target application is corresponding described destination server according to described target verification code and carry out authentication in a described n identifying code;
Described destination server is used for carrying out authentication to the target verification code that described terminal provides.
CN201510553382.5A 2015-08-31 2015-08-31 Short-message verification method, apparatus and system Active CN105263126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510553382.5A CN105263126B (en) 2015-08-31 2015-08-31 Short-message verification method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510553382.5A CN105263126B (en) 2015-08-31 2015-08-31 Short-message verification method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105263126A true CN105263126A (en) 2016-01-20
CN105263126B CN105263126B (en) 2019-01-04

Family

ID=55102594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510553382.5A Active CN105263126B (en) 2015-08-31 2015-08-31 Short-message verification method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105263126B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703908A (en) * 2016-03-24 2016-06-22 珠海市小源科技有限公司 Verification code input method and verification code input device
CN105792150A (en) * 2016-02-26 2016-07-20 周奇 Method and device for judging short message authentication code
CN106101126A (en) * 2016-06-30 2016-11-09 珠海市魅族科技有限公司 A kind of method of information processing and terminal
CN106779687A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 Information processing method and device
CN107645505A (en) * 2017-09-27 2018-01-30 北京小米移动软件有限公司 Information acquisition method and device
CN109726121A (en) * 2018-12-12 2019-05-07 北京云测信息技术有限公司 A kind of identifying code acquisition methods and terminal device
CN115529174A (en) * 2022-09-16 2022-12-27 融合通信技术(天津)有限公司 Short message verification method, device, server and medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300182A (en) * 2011-09-07 2011-12-28 飞天诚信科技股份有限公司 Short-message-based authentication method, system and device
US20120172067A1 (en) * 2011-01-03 2012-07-05 Relay Holdings, Llc System and method for verifying a sender of an sms text message
CN102905237A (en) * 2011-07-27 2013-01-30 冯元远 Enhanced short message verification code
CN102958022A (en) * 2012-11-23 2013-03-06 深圳市朗科科技股份有限公司 Short message verification method, device and system
CN103139179A (en) * 2011-12-01 2013-06-05 捷而思股份有限公司 Multi-channel active type network identity verification system and network identity verification device
US20130272512A1 (en) * 2005-01-11 2013-10-17 Telesign Corporation Registration, verification and notification system
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN103607400A (en) * 2013-11-26 2014-02-26 深圳市掌众信息技术有限公司 Improved mobile phone identity verification method and system
CN104125547A (en) * 2014-07-18 2014-10-29 北京奇虎科技有限公司 Short message processing method and device
CN104348802A (en) * 2013-07-31 2015-02-11 北京金山云网络技术有限公司 Quick registration method, device, and system, cell phone, and register server
US20150087265A1 (en) * 2013-09-24 2015-03-26 Telesign Corporation Call center sms verification system and method
CN104703151A (en) * 2013-12-09 2015-06-10 浙江融创信息产业有限公司 Client dynamic password authentication method, device and terminal
CN104869001A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Short message authentication method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130272512A1 (en) * 2005-01-11 2013-10-17 Telesign Corporation Registration, verification and notification system
US20120172067A1 (en) * 2011-01-03 2012-07-05 Relay Holdings, Llc System and method for verifying a sender of an sms text message
CN102905237A (en) * 2011-07-27 2013-01-30 冯元远 Enhanced short message verification code
CN102300182A (en) * 2011-09-07 2011-12-28 飞天诚信科技股份有限公司 Short-message-based authentication method, system and device
CN103139179A (en) * 2011-12-01 2013-06-05 捷而思股份有限公司 Multi-channel active type network identity verification system and network identity verification device
CN102958022A (en) * 2012-11-23 2013-03-06 深圳市朗科科技股份有限公司 Short message verification method, device and system
CN104348802A (en) * 2013-07-31 2015-02-11 北京金山云网络技术有限公司 Quick registration method, device, and system, cell phone, and register server
US20150087265A1 (en) * 2013-09-24 2015-03-26 Telesign Corporation Call center sms verification system and method
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN103607400A (en) * 2013-11-26 2014-02-26 深圳市掌众信息技术有限公司 Improved mobile phone identity verification method and system
CN104703151A (en) * 2013-12-09 2015-06-10 浙江融创信息产业有限公司 Client dynamic password authentication method, device and terminal
CN104125547A (en) * 2014-07-18 2014-10-29 北京奇虎科技有限公司 Short message processing method and device
CN104869001A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Short message authentication method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792150A (en) * 2016-02-26 2016-07-20 周奇 Method and device for judging short message authentication code
CN105792150B (en) * 2016-02-26 2019-03-08 周奇 The judgment method and device of short message verification code
CN105703908A (en) * 2016-03-24 2016-06-22 珠海市小源科技有限公司 Verification code input method and verification code input device
CN106101126A (en) * 2016-06-30 2016-11-09 珠海市魅族科技有限公司 A kind of method of information processing and terminal
CN106779687A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 Information processing method and device
CN107645505A (en) * 2017-09-27 2018-01-30 北京小米移动软件有限公司 Information acquisition method and device
CN107645505B (en) * 2017-09-27 2021-05-04 北京小米移动软件有限公司 Information acquisition method, device and storage medium
CN109726121A (en) * 2018-12-12 2019-05-07 北京云测信息技术有限公司 A kind of identifying code acquisition methods and terminal device
CN109726121B (en) * 2018-12-12 2022-02-18 北京云测信息技术有限公司 Verification code obtaining method and terminal equipment
CN115529174A (en) * 2022-09-16 2022-12-27 融合通信技术(天津)有限公司 Short message verification method, device, server and medium

Also Published As

Publication number Publication date
CN105263126B (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN106709399B (en) Fingerprint identification method and device
CN104105169B (en) From method and the device of the WLAN (wireless local area network) that is dynamically connected
CN105263126A (en) Method, device and system for short message verification
CN104732380A (en) Method and device for conducting account transfer processing
CN104270404A (en) Login method and device based on terminal identification
CN105553663A (en) Verification code input method and device
CN105511949A (en) Verification code filling method and device and mobile terminal
CN105407098A (en) Identity verification method and device
CN104780155A (en) Method and device for binding equipment
CN104159230B (en) Call recognition methods and device
CN105183513A (en) Application recommendation method and apparatus
CN105162693A (en) Message display method and device
CN105072178A (en) Mobile phone number binding information acquisition method and device
CN106170004A (en) Process the method and device of identifying code
CN105491048A (en) Account management method and apparatus
CN104469714A (en) Short message sending method and device
CN104378501A (en) Phone number naming method and device
CN104703252A (en) Terminal device accessing into wireless network method and device
CN104216972A (en) Method and device for sending taxi business request
CN105407070A (en) Logging-in authorization method and device
CN105095366A (en) Method and device for processing character messages
CN104281703A (en) Method and device for calculating similarity among uniform resource locators (URL)
CN105515948A (en) Instant messaging method and device
CN105162784A (en) Verification information input processing method and device
CN105554215A (en) Automatic selection dialing method and device, and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant