CN106375096A - Short message verification method and device - Google Patents

Short message verification method and device Download PDF

Info

Publication number
CN106375096A
CN106375096A CN201610815532.XA CN201610815532A CN106375096A CN 106375096 A CN106375096 A CN 106375096A CN 201610815532 A CN201610815532 A CN 201610815532A CN 106375096 A CN106375096 A CN 106375096A
Authority
CN
China
Prior art keywords
identifying code
note
code note
account
browser
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
CN201610815532.XA
Other languages
Chinese (zh)
Other versions
CN106375096B (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 Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd, Beijing Smartmi Technology Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610815532.XA priority Critical patent/CN106375096B/en
Publication of CN106375096A publication Critical patent/CN106375096A/en
Application granted granted Critical
Publication of CN106375096B publication Critical patent/CN106375096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3228One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • 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]

Abstract

The invention relates to a short message verification method and device. The method comprises the steps of logging in a first account by a browser; sending a first request to a target website, wherein the first request is used for instructing the target website to send a verification code short message; receiving the verification code short message sent by a server, wherein the verification code short message uploaded by a terminal logging in the first account is pre-stored in the server; and carrying out verification on the target website according to the received verification code short message. According to the method and the device provided by the embodiment of the invention, when a user accesses the target website in the browser and the short message verification needs to be carried out, the process that the verification code short message is checked on the terminal and then a verification code in the short message is manually input in the browser is not needed, operations of the short message verification are simplified, and the correctness of the input verification code is ensured.

Description

Short-message verification method and apparatus
Technical field
It relates to communication technical field, more particularly, to a kind of short-message verification method and apparatus.
Background technology
With the development of intelligent mobile terminal technology, the function of the intelligent mobile terminal such as smart mobile phone is stronger and stronger.Example As when user is operated using browser, often encountered the feelings verifying user identity by sending identifying code note Condition.Now, user needs to open mobile phone and checks this identifying code note, is then input to the identifying code in identifying code note and browses In identifying code frame in device, complex operation and the risk also inputed by mistake.
Content of the invention
The embodiment of the present disclosure provides a kind of short-message verification method and apparatus.Technical scheme is as follows:
According to the embodiment of the present disclosure in a first aspect, provide a kind of short-message verification method, be applied to browser, methods described Including:
Browser logs in the first account;
Send the first request to targeted website, described first ask short for indicating that described targeted website sends identifying code Letter;
The described identifying code note that the reception server sends, described server is previously stored with by described first account of login Number terminal upload described identifying code note;
According to the described identifying code note receiving, verified to described targeted website.
Optionally, the described identifying code note that described the reception server sends, comprising:
Receive the synchronizing information corresponding with described identifying code note that described server sends;
Send the request obtaining described identifying code note corresponding with described synchronizing information to described server;
Receive the described identifying code note that described server sends.
Optionally, the described described identifying code note according to reception, is verified to described targeted website, comprising:
According to described identifying code note, determine the control of the described targeted website needing described identifying code note in browser Part;
By the control of described targeted website, extract the identifying code in described identifying code note, and to described target network Stand and send the checking request carrying described identifying code.
According to the second aspect of the embodiment of the present disclosure, provide a kind of short-message verification method it is characterised in that being applied to service Device, methods described includes:
Receive and log in the identifying code note that the terminal of the first account is uploaded;
By described identifying code short message sending to the browser logging in described first account.
Optionally, described by described identifying code short message sending to the browser logging in described first account, comprising:
Generate synchronizing information for described identifying code note;
Described synchronizing information is sent to the browser logging in described first account;
Receive the request of the acquisition described identifying code note corresponding with described synchronizing information that described browser sends;
Described identifying code is sent to described browser.
According to the third aspect of the embodiment of the present disclosure, provide a kind of short-message verification method, be applied to terminal, methods described bag Include:
Terminal logs in first account;
Receive the identifying code note from targeted website;
Described identifying code note is uploaded onto the server.
According to the fourth aspect of the embodiment of the present disclosure, a kind of short-message verification device is provided, is applied to browser, described device Including:
First login module, is configured to log in the first account;
First sending module, is configured to send the first request to targeted website, described first ask described for indicating Targeted website sends identifying code note;
First receiver module, is configured to the described identifying code note of the reception server transmission, on described server in advance Be stored with the described identifying code note being uploaded by the terminal logging in described first account;
Authentication module, is configured to, according to the described identifying code note receiving, be verified to described targeted website.
Optionally, described first receiver module, comprising:
First receiving submodule, is configured to receive the synchronization corresponding with described identifying code note that described server sends Information;
First sending submodule, is configured to send to described server and obtains described test corresponding with described synchronizing information The request of card code note;
Second receiving submodule, is configured to receive the identifying code note that described server sends.
Optionally, described authentication module, comprising:
Determination sub-module, is configured to, according to described identifying code note, determine and need described identifying code note in browser Described targeted website control;
Second sending submodule, is configured to the control of described targeted website, extracts in described identifying code note Identifying code, and send to described targeted website and carry the checking request of described identifying code.
According to the 5th aspect of the embodiment of the present disclosure, a kind of short-message verification device is provided, is applied to server, described device Including:
Second receiver module, is configured to receive the identifying code note that the terminal of login the first account is uploaded;Second Send module, be configured to described identifying code short message sending to the browser logging in described first account.
Optionally, described second sending module includes:
Generate submodule, be configured to generate synchronizing information for described identifying code note;
3rd sending submodule, is configured to send described synchronizing information to the browser logging in described first account;
3rd receiving submodule, is configured to receive the acquisition institute corresponding with described synchronizing information that described browser sends State the request of identifying code note;
4th sending submodule, is configured to send described identifying code to described browser.
According to the 6th aspect of the embodiment of the present disclosure, provide a kind of short-message verification device, be applied to terminal, described device bag Include:
Second login module, is configured to log in the first account;
3rd receiver module, is configured to receive the identifying code note from targeted website;
3rd sending module, is configured to described identifying code note uploads onto the server.
According to the 7th aspect of the embodiment of the present disclosure, provide a kind of short-message verification device, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Browser logs in the first account;
Send the first request to targeted website, described first ask short for indicating that described targeted website sends identifying code Letter;
The described identifying code note that the reception server sends, described server is previously stored with by described first account of login Number terminal upload described identifying code note;
According to the described identifying code note receiving, verified to described targeted website.
According to the eighth aspect of the embodiment of the present disclosure, provide a kind of short-message verification device, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive and log in the identifying code note that the terminal of the first account is uploaded;
By described identifying code short message sending to the browser logging in described first account.
According to the 9th aspect of the embodiment of the present disclosure, provide a kind of short-message verification device, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Terminal logs in first account;
Receive the identifying code note from targeted website;
Described identifying code note is uploaded onto the server.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
Technique scheme, browser logs in the first account and sends the first request to targeted website, that is, indicate target Website sends identifying code note, and then, what browser the reception server sent equally also logs in the terminal upload of the first account Identifying code note, according to the identifying code note receiving, is verified to targeted website.The note being provided by the embodiment of the present disclosure Verification method, browser passes through the first account logging in, and can get the same terminal logging in the first account from server The identifying code note receiving and uploading, and according to the identifying code note receiving, verified to targeted website.Therefore, Yong Hu When needing to carry out authentication after logging in targeted website in this browser, identifying code note need not be checked on terminal, then go clear The identifying code being manually entered in note look on device, simplifies the operation of short-message verification and ensure that the correct of input validation code Property.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is the block diagram of the implementation environment according to an exemplary embodiment.
Fig. 2 is the flow chart of the short-message verification method implementing to exemplify according to another exemplary.
Fig. 3 is the flow chart of the short-message verification method implementing to exemplify according to another exemplary.
Fig. 4 is the flow chart of the short-message verification method implementing to exemplify according to another exemplary.
Fig. 5 is the flow chart of the short-message verification method implementing to exemplify according to another exemplary.
Fig. 6 is the flow chart of the short-message verification method implementing to exemplify according to another exemplary.
Fig. 7 is the flow chart of the short-message verification method implementing to exemplify according to another exemplary.
Fig. 8 is the flow chart of the short-message verification method implementing to exemplify according to another exemplary.
Fig. 9 is the block diagram of the short-message verification device according to an exemplary embodiment.
Figure 10 is the block diagram of the short-message verification device implementing to exemplify according to another exemplary.
Figure 11 is the block diagram of the short-message verification device implementing to exemplify according to another exemplary.
Figure 12 is the block diagram of the short-message verification device implementing to exemplify according to another exemplary.
Figure 13 is the block diagram of the short-message verification device implementing to exemplify according to another exemplary.
Figure 14 is the block diagram of the short-message verification device implementing to exemplify according to another exemplary.
Figure 15 is the block diagram of the device for short-message verification according to an exemplary embodiment.
Figure 16 is the block diagram of the server for short-message verification according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
Fig. 1 is a kind of block diagram of the implementation environment according to an exemplary embodiment.This implementation environment includes: browser 101st, mobile terminal 1 02, the corresponding server of server 103 and targeted website 104.Wherein, browser 101 is with notebook The form shown shows.Mobile terminal 1 02 is to receive and dispatch energy with sms (short messaging service, Short Message Service) The terminal of power, such as smart mobile phone, panel computer etc..Browser 101 and mobile terminal 1 02 all log in the first account, browser User's access target website in 101.Server 103 is server corresponding with described first account.The corresponding clothes in targeted website Business device 104 is used in the scene needing to carry out authentication, sends the short message carrying identifying code to mobile terminal 1 02.
Fig. 2 is a kind of flow chart of the short-message verification method according to an exemplary embodiment, and the present embodiment is short with this Letter verification method is applied to illustrate in the browser in Fig. 1.This short-message verification method comprises the following steps:
In step s21, browser logs in the first account.
In step s22, send the first request to targeted website, first asks for indicating targeted website transmission identifying code Note.
Targeted website sends identifying code note, is generally sent to terminal (such as mobile phone).This terminal can be pre- by user First it is configured in targeted website, stored by targeted website.
In step s23, this identifying code note that the reception server sends, this server is previously stored with should by login This identifying code note that the terminal of the first account uploads.
In step s24, according to this identifying code note receiving, verified to this targeted website.
The short-message verification method that the embodiment of the present disclosure provides, browser logs in the first account and sends the to targeted website One request, i.e. instruction targeted website transmission identifying code note, then, what browser the reception server sent equally also logs in first The identifying code note that the terminal of account uploads, according to the identifying code note receiving, is verified to targeted website.By the disclosure The short-message verification method that embodiment provides, browser passes through the first account logging in, and can get and equally step on from server Record this identifying code note that the counterpart terminal of the first account receives and uploads, and according to the identifying code note receiving, to target network Station is verified.Therefore, when user needs to carry out short-message verification behind access target website, identifying code need not be checked on terminal Note, then the identifying code being manually entered in note is removed on browser, simplify the operation of short-message verification and ensure that input is tested The correctness of card code.
Optionally, as shown in figure 3, in another embodiment of the disclosure, the reception server in above-mentioned steps s23 sends This identifying code note, may comprise steps of:
In step s31, the reception server send with this corresponding synchronizing information of identifying code note.
After server receives the identifying code note of counterpart terminal upload logging in the first account, will be this identifying code note Generate synchronizing information.It is corresponding that each with server of synchronizing information needs synchronous information to carry out, and needs synchronization for positioning Information (need in the present embodiment synchronous information be identifying code note).In one embodiment, this synchronizing information can be water Position information (synctag), water level information is a globally unique incremental id, does not comprise verification code information, same for positioning needs Walked which data, in server, each water level information has mapping relations with the information uploading onto the server respectively.Server After receiving identifying code note, generate and this corresponding water level information of identifying code note, this water level information is then this identifying code note Synchronizing information.
In step s32, send the request obtaining this identifying code note corresponding with this synchronizing information to server.
In step s33, this identifying code note that the reception server sends.
The synchronizing information receiving can also be entered row cache by browser, when being received again by synchronizing information, can will receive To synchronizing information with caching synchronizing information be compared, if caching synchronizing information in there are same with receive Step information identical synchronizing information, illustrates that browser had received this synchronizing information, execution excessively this synchronizing information correlation Operation, therefore, browser would not send request according to the synchronizing information receiving to server.
Optionally, as shown in figure 4, in another embodiment of the disclosure, in above-mentioned steps s24 according to this checking receiving Code note, is verified to targeted website, be may comprise steps of:
In step s41, according to this identifying code note, determine the control of the targeted website needing identifying code note in browser Part.
In step s42, by the control of this targeted website, extract the identifying code in this identifying code note, and to mesh Mark website sends the checking request carrying this identifying code.
The control of this targeted website is used by targeted website, when browser browses this targeted website, loads this control. This control can register the owner (owner) and pattern information when in use, and owner is exactly the transmission of identifying code note The name of side, pattern refers to the regular expression in order to extract identifying code.Browser receives the identifying code of server transmission After note, remove to mate the owner of control in browser according to the sender of identifying code note, if there is consistent sender, Just identifying code is parsed according to regular expression from identifying code note by this this control, and carry to targeted website transmission The checking request of this identifying code.This control is used for making browser know which page or third party's service application identifying code, solution The problem that certainly multiple identifying codes can not correctly be tackled.
Browser parses identifying code by the control of targeted website and sends checking request, eliminates user and fills in manually The step of identifying code, it is to avoid user fills in the possibility malfunctioning during identifying code manually.
Fig. 5 is a kind of flow chart of the short-message verification method according to an exemplary embodiment, and the present embodiment is short with this To illustrate in the server 103 that letter verification method is applied in Fig. 1.This short-message verification method comprises the following steps:
In step s51, receive and log in the identifying code note that the terminal of the first account is uploaded.
This identifying code note is sent to this terminal by targeted website.
In step s52, by this identifying code short message sending to the browser logging in this first account.
Generally, browser uses and can send logging request to server 103 during password login the first account, in logging request Carry the first account and the password that browser is used.After server 103 receives logging request, by the receive first account Number and password compare with the first account being stored in advance in server 103 and password, if consistent, allow browser Log in the first account, and record represents that this browser logs in the information of this first account in server 103.When server 103 When receiving the identifying code note that the same terminal logging in this first account is uploaded, then can search whether there is login first The browser of account, if find the browser logging in the first account, by this identifying code short message sending to this browser.
This browser is used for, according to the identifying code note receiving, being verified to targeted website.
The short-message verification method that the embodiment of the present disclosure provides, after browser logs in the first account, sends to targeted website First request, after that is, instruction targeted website sends identifying code note, server can receive and equally also log in the first account The identifying code note of terminal to report, then by this identifying code short message sending to browser, by browser according to the identifying code receiving Note, is verified to targeted website.The short-message verification method being provided by the embodiment of the present disclosure, user accesses in a browser When needing to carry out short-message verification behind targeted website, identifying code note need not be checked on terminal, then go to be manually entered on browser Identifying code in note, simplifies the operation of short-message verification and the correctness that ensure that input validation code.
Optionally, as shown in fig. 6, in another embodiment of the disclosure, this identifying code note being sent out in above-mentioned steps s52 Deliver to the browser logging in this first account, may comprise steps of:
In step s61, generate synchronizing information for this identifying code note.
In one embodiment, this synchronizing information can be water level information (synctag), water level information be one globally unique Incremental id, does not comprise verification code information, is needed which data synchronous for positioning, in server each water level information respectively with The information uploading onto the server has mapping relations.After server receives identifying code note, generate corresponding with this identifying code note Water level information, this water level information then be this identifying code note synchronizing information.
In step s62, this synchronizing information is sent to the browser logging in this first account.
In step s63, receive the transmission of this browser obtains asking of this identifying code note corresponding with this synchronizing information Ask.
In step s64, this identifying code is sent to this browser.
Fig. 7 is a kind of flow chart of the short-message verification method according to an exemplary embodiment, and the present embodiment is short with this To illustrate in the terminal 102 that letter verification method is applied in Fig. 1.This short-message verification method comprises the following steps:
In step s71, terminal logs in first account.
In step s72, receive the identifying code note from targeted website.
This identifying code note is that browser logs in this first account and sends after the first request to targeted website, by target Website is sent to this terminal.
Terminal can receive identifying code note after first logging in the first account again it is also possible to step on after receiving identifying code note again Land first account.
In step s73, this identifying code note is uploaded onto the server.
Server is used for this identifying code short message sending to the browser logging in this first account, and browser is used for basis should Identifying code note, is verified to targeted website.
The short-message verification method that the embodiment of the present disclosure provides, terminal logs in first account simultaneously receives identifying code note, will Identifying code note uploads onto the server;The browser the reception server equally also logging in the first account sends this identifying code note Afterwards, according to the identifying code note receiving, verified to targeted website.The short-message verification side being provided by the embodiment of the present disclosure Method, browser passes through the first account logging in, and can get the same terminal logging in the first account and receive simultaneously from server This identifying code note uploading, and according to the identifying code note receiving, verified to targeted website.Therefore, user is clear at this Look at access target website in device when needing to carry out short-message verification, identifying code note need not be checked on terminal, then go on browser It is manually entered the identifying code in note, simplify the operation of short-message verification and the correctness that ensure that input validation code.
Above-mentioned all optional technical schemes, can be using the alternative embodiment arbitrarily combining to form the disclosure, and here is no longer Repeat one by one.
Fig. 8 is a kind of flow chart of the short-message verification method according to an exemplary embodiment, and being related to interaction agent is Browser 101, mobile terminal 1 02, the corresponding server of server 103 and targeted website 104, as shown in figure 8, include following walking Rapid:
In step s81, after browser 101 logs in the first account, send the first request to targeted website, the first request is used Send identifying code note in instruction targeted website to mobile terminal 1 02.
When mobile terminal 1 02 is that access target website needs to carry out short-message verification, targeted website will send the terminal of note. This mobile terminal can be configured in advance by user in targeted website, is stored by targeted website.For example, user is in mesh Mark website is registered using the second account, fill in the phone number with the second account binding, targeted website is by second simultaneously Account and this phone number are associated storing, and when needing to carry out short-message verification, send note to this phone number.Can also It is user's access target website, when needing to carry out short-message verification, by user's input handset number in real time, targeted website is to this Phone number (i.e. mobile terminal 1 02) sends identifying code note.
In step s82, the server 104 of targeted website sends identifying code note to mobile terminal 1 02.
In step s83, the mobile terminal 1 02 logging in the first account receives this identifying code note.
In step s84, this identifying code note is uploaded onto the server 103 by mobile terminal 1 02.
In step s85, server 103 is that this identifying code note generates synchronizing information.
In step s86, server 103 sends this synchronizing information to the browser 101 logging in this first account.
In step s87, browser 101 sends to server 103 and obtains identifying code note corresponding with this synchronizing information Request.
In step s88, server 103 sends this identifying code to this browser 101.
In step s89, browser 101, according to the sender of this identifying code note, determines and needs this checking in browser The control of the targeted website of code note.
In step s810, browser 101 passes through the control of this targeted website, extracts this checking according to default rule Identifying code in code note, and the checking request carrying this identifying code is sent to targeted website.
The method that the embodiment of the present disclosure provides, when user needs to carry out short-message verification behind access target website, need not be Identifying code note is checked on mobile terminal, then the identifying code being manually entered in note is removed on browser, simplify short-message verification Operation and the correctness that ensure that input validation code.
Following for disclosure device embodiment, can be used for executing method of disclosure embodiment.
Fig. 9 is a kind of block diagram of the short-message verification device according to an exemplary embodiment, and this device can pass through soft Part, hardware or both be implemented in combination with become some or all of of electronic equipment.This device is applied in browser.As figure Shown in 9, this device includes:
First login module 901, is configured to log in the first account.
First sending module 902, after being configured to browser login the first account, sends the first request to targeted website, Described first asks for indicating described targeted website transmission identifying code note;
First receiver module 903, is configured to the identifying code note of the reception server transmission, described server is deposited in advance Contain the identifying code note being uploaded by the terminal logging in described first account;
Authentication module 904, is configured to, according to the described identifying code note receiving, be verified to described targeted website.
The short-message verification device that the embodiment of the present disclosure provides, after browser logs in the first account, sends the to targeted website One request, i.e. instruction targeted website transmission identifying code note, then, what browser the reception server sent equally also logs in first The identifying code note that the terminal of account uploads, according to the identifying code note receiving, is verified to targeted website.By the disclosure The short-message verification method that embodiment provides, browser passes through the first account logging in, and can get and equally step on from server Record this identifying code note that the terminal of the first account receives and uploads, and according to the identifying code note receiving, enter to targeted website Row checking.Therefore, user when access target website needs to carry out short-message verification in this browser, need not check in terminal and test Card code note, then the identifying code being manually entered in note is removed on browser, simplify the operation of short-message verification and ensure that defeated Enter the correctness of identifying code.
As shown in Figure 10, in another embodiment of the disclosure, described first receiver module 902, comprising:
First receiving submodule 9021, is configured to receive the corresponding with described identifying code note of described server transmission Synchronizing information;
First sending submodule 9022, is configured to obtain test corresponding with described synchronizing information to the transmission of described server The request of card code note;
Second receiving submodule 9023, is configured to receive the identifying code note that described server sends.
As shown in figure 11, in another embodiment of the disclosure, described authentication module 903, comprising:
Determination sub-module 9031, is configured to, according to described identifying code note, determine and need described identifying code in browser The control of the described targeted website of note;
Second sending submodule 9032, is configured to the control of described targeted website, extracts described identifying code short Identifying code in letter, and the checking request carrying described identifying code is sent to described targeted website.
Figure 12 is a kind of block diagram of the short-message verification device according to an exemplary embodiment, and this device can pass through soft Part, hardware or both be implemented in combination with become some or all of of electronic equipment.This device is applied in server.As figure Shown in 12, this device includes:
Second receiver module 121, is configured to receive the identifying code note that the terminal of login the first account is uploaded;Described Identifying code note is to be sent to described terminal by targeted website;
Second sending module 122, is configured to described identifying code short message sending to logging in browsing of described first account Device.
The short-message verification device that the embodiment of the present disclosure provides, after browser logs in the first account, sends to targeted website First request, after that is, instruction targeted website sends identifying code note, server can receive and equally also log in the first account The identifying code note of terminal to report, then by this identifying code short message sending to browser, by browser according to the identifying code receiving Note, is verified to targeted website.The short-message verification method being provided by the embodiment of the present disclosure, browser passes through the logging in One account, can get this identifying code note that the same terminal logging in the first account receives and uploads from server, and According to the identifying code note receiving, verified to targeted website.Therefore, user access target website in this browser needs When carrying out short-message verification, identifying code note need not be checked on terminal, then the identifying code being manually entered in note is removed on browser, Simplify the operation of short-message verification and the correctness that ensure that input validation code.
As shown in figure 13, in another embodiment of the disclosure, described second sending module 122 includes:
Generate submodule 1221, be configured to generate synchronizing information for described identifying code note;
3rd sending submodule 1222, is configured to send described synchronizing information to logging in browsing of described first account Device;
3rd receiving submodule 1223, the acquisition being configured to receive described browser transmission is corresponding with described synchronizing information Identifying code note request;
4th sending submodule 1224, is configured to send described identifying code to described browser.
Figure 14 is a kind of block diagram of the short-message verification device according to an exemplary embodiment, and this device can pass through soft Part, hardware or both be implemented in combination with become some or all of of electronic equipment.This device is applied in terminal.As Figure 14 Shown, this device includes:
Second login module 141, is configured to log in the first account;
3rd receiver module 142, is configured to receive the identifying code note from targeted website;
3rd sending module 143, is configured to described identifying code note uploads onto the server.
The short-message verification device that the embodiment of the present disclosure provides, terminal logs in first account and receive identifying code note, Identifying code note is uploaded onto the server;The browser the reception server equally also logging in the first account sends this identifying code note Afterwards, according to the identifying code note receiving, verified to targeted website.The short-message verification side being provided by the embodiment of the present disclosure Method, browser passes through the first account logging in, and can get the same terminal logging in the first account and receive simultaneously from server This identifying code note uploading, and according to the identifying code note receiving, verified to targeted website.Therefore, user is clear at this Look at when needing to carry out short-message verification behind access target website in device, identifying code note need not be checked on terminal, then remove browser On be manually entered identifying code in note, simplify the operation of short-message verification and the correctness that ensure that input validation code.
The disclosure also provides a kind of short-message verification device, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Browser logs in the first account;
Send the first request to targeted website, described first ask short for indicating that described targeted website sends identifying code Letter;
The identifying code note that the reception server sends, described server is previously stored with by described first account of login The identifying code note that terminal uploads;
According to the described identifying code note receiving, verified to described targeted website.
The disclosure also provides a kind of short-message verification device, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive and log in the identifying code note that the terminal of the first account is uploaded;
By described identifying code short message sending to the browser logging in described first account.
The disclosure also provides a kind of short-message verification device, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Terminal logs in first account;
Receive the identifying code note from targeted website;
Described identifying code note is uploaded onto the server.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 15 is a kind of block diagram of the device 1100 for short-message verification according to an exemplary embodiment.For example, Device 1100 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Armarium, body-building equipment, personal digital assistant, unmanned plane etc..
With reference to Figure 15, device 1100 can include following one or more assemblies: process assembly 1102, memorizer 1104, Power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, the interface 1112 of input/output (i/o), sensor cluster 1114, and communication component 1116.
The integrated operation of the usual control device 1100 of process assembly 1102, such as with display, call, data communication, Camera operation and record operate associated operation.Process assembly 1102 can include one or more processors 1120 to execute Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1102 can include one or more moulds Block, is easy to the interaction between process assembly 1102 and other assemblies.For example, process assembly 1102 can include multi-media module, To facilitate the interaction between multimedia groupware 1108 and process assembly 1102.
Memorizer 1104 is configured to store various types of data to support the operation in device 1100.These data Example include on device 1100 operation any application program or method instruction, contact data, telephone book data, Message, picture, video etc..Memorizer 1104 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable can Program read-only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1106 provides electric power for the various assemblies of device 1100.Power supply module 1106 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1100, the assembly that electric power is associated.
Multimedia groupware 1108 includes the screen of one output interface of offer between device 1100 and user.At some In embodiment, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen May be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensors With the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action border, But also the detection persistent period related to touch or slide and pressure.In certain embodiments, multimedia groupware 1108 Including a front-facing camera and/or post-positioned pick-up head.When device 1100 is in operator scheme, such as obtaining mode or video mode When, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and rearmounted shooting Head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 1110 is configured to output and/or input audio signal.For example, audio-frequency assembly 1110 includes a wheat Gram wind (mic), when device 1100 is in operator scheme, such as call model, logging mode and speech recognition mode when, mike quilt It is configured to receive external audio signal.The audio signal being received can be further stored in memorizer 1104 or via communication Assembly 1116 sends.In certain embodiments, audio-frequency assembly 1110 also includes a speaker, for exports audio signal.
I/o interface 1112 is for providing interface, above-mentioned peripheral interface module between process assembly 1102 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and Locking press button.
Sensor cluster 1114 includes one or more sensors, for providing the state of various aspects to comment for device 1100 Estimate.For example, sensor cluster 1114 can detect/the closed mode of opening of device 1100, the relative localization of assembly, such as group Part is display and the keypad of device 1100, and sensor cluster 1114 can be with detection means 1100 or 1,100 1 groups of device The position change of part, user is presence or absence of with what device 1100 contacted, device 1100 orientation or acceleration/deceleration and device 1100 temperature change.Sensor cluster 1114 can include proximity transducer, is configured to do not having any physics to connect The presence of object nearby is detected when tactile.Sensor cluster 1114 can also include optical sensor, such as cmos or ccd image sensing Device, for using in imaging applications.In certain embodiments, this sensor cluster 1114 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress Put 1100 and can access wireless network based on communication standard, such as wi-fi, 2g or 3g, or combinations thereof.Exemplary at one In embodiment, communication component 1116 receives related from the broadcast singal of external broadcasting management system or broadcast via broadcast channel Information.In one exemplary embodiment, communication component 1116 also includes near-field communication (nfc) module, to promote junction service. For example, RF identification (rfid) technology, Infrared Data Association (irda) technology, ultra broadband (uwb) skill can be based in nfc module Art, bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuits
(asic), digital signal processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor or other electronic components are realized, and are used for Execution said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 1104 instructing, above-mentioned instruction can be executed by the processor 1120 of device 1100 to complete said method.Example As, non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of terminal unit So that terminal unit is able to carry out a kind of short-message verification method during row, method includes:
Terminal logs in first account;
Receive the identifying code note from targeted website;
Described identifying code note is uploaded onto the server.
Figure 16 is a kind of block diagram of the device 1900 for short-message verification according to an exemplary embodiment.For example, Device 1900 may be provided in a network equipment.
With reference to Figure 16, device 1900 includes process assembly 1922, and it further includes one or more processors, Yi Jiyou Memory resource representated by memorizer 1932, can for example apply journey by the instruction of the execution of process assembly 1922 for storage Sequence.In memorizer 1932 storage application program can include one or more each correspond to one group instruction mould Block.Additionally, process assembly 1922 is configured to execute instruction, to execute above-mentioned reminding method.
Device 1900 can also include the power management that a power supply module 1926 is configured to performs device 1900, one Wired or wireless network interface 1950 is configured to for device 1900 to be connected to network, and input and output (i/o) interface 1958.Device 1900 can operate based on the operating system being stored in memorizer 1932, such as windows servertm, mac Os xtm, unixtm, linuxtm, freebsdtm or similar.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (15)

1. it is characterised in that being applied to browser, methods described includes a kind of short-message verification method:
Browser logs in the first account;
Send the first request to targeted website, described first asks for indicating described targeted website transmission identifying code note;
The described identifying code note that the reception server sends, described server is previously stored with by described first account of login The described identifying code note that terminal uploads;
According to the described identifying code note receiving, verified to described targeted website.
2. method according to claim 1 it is characterised in that described the reception server send described identifying code note, Including:
Receive the synchronizing information corresponding with described identifying code note that described server sends;
Send the request obtaining described identifying code note corresponding with described synchronizing information to described server;
Receive the described identifying code note that described server sends.
3. method according to claim 1 it is characterised in that described according to the described identifying code note receiving, to described Targeted website is verified, comprising:
According to described identifying code note, determine the control of the described targeted website needing described identifying code note in browser;
By the control of described targeted website, extract the identifying code in described identifying code note, and send out to described targeted website Send the checking request carrying described identifying code.
4. it is characterised in that being applied to server, methods described includes a kind of short-message verification method:
Receive and log in the identifying code note that the terminal of the first account is uploaded;
By described identifying code short message sending to the browser logging in described first account.
5. method according to claim 4 it is characterised in that described by described identifying code short message sending to logging in described The browser of one account, comprising:
Generate synchronizing information for described identifying code note;
Described synchronizing information is sent to the browser logging in described first account;
Receive the request of the acquisition described identifying code note corresponding with described synchronizing information that described browser sends;
Described identifying code is sent to described browser.
6. it is characterised in that being applied to terminal, methods described includes a kind of short-message verification method:
Terminal logs in first account;
Receive the identifying code note from targeted website;
Described identifying code note is uploaded onto the server.
7. it is characterised in that being applied to browser, described device includes a kind of short-message verification device:
First login module, is configured to log in the first account;
First sending module, is configured to send the first request to targeted website, described first asks for indicating described target network Stand and send identifying code note;
First receiver module, is configured to the described identifying code note of the reception server transmission, described server prestores There is the described identifying code note being uploaded by the terminal logging in described first account;
Authentication module, is configured to, according to the described identifying code note receiving, be verified to described targeted website.
8. device according to claim 7 is it is characterised in that described first receiver module, comprising:
First receiving submodule, is configured to receive corresponding with the described identifying code note synchronous letter that described server sends Breath;
First sending submodule, is configured to send acquisition described identifying code corresponding with described synchronizing information to described server The request of note;
Second receiving submodule, is configured to receive the described identifying code note that described server sends.
9. device according to claim 7 is it is characterised in that described authentication module, comprising:
Determination sub-module, is configured to, according to described identifying code note, determine the institute needing described identifying code note in browser State the control of targeted website;
Second sending submodule, is configured to the control of described targeted website, extracts testing in described identifying code note Card code, and the checking request carrying described identifying code is sent to described targeted website.
10. it is characterised in that being applied to server, described device includes a kind of short-message verification device:
Second receiver module, is configured to receive the identifying code note that the terminal of login the first account is uploaded;
Second sending module, is configured to described identifying code short message sending to the browser logging in described first account.
11. devices according to claim 10 are it is characterised in that described second sending module includes:
Generate submodule, be configured to generate synchronizing information for described identifying code note;
3rd sending submodule, is configured to send described synchronizing information to the browser logging in described first account;
3rd receiving submodule, is configured to receive that the acquisition that described browser sends is corresponding with described synchronizing information described tests The request of card code note;
4th sending submodule, is configured to send described identifying code to described browser.
It is characterised in that being applied to terminal, described device includes a kind of 12. short-message verification devices:
Second login module, is configured to log in the first account;
3rd receiver module, is configured to receive the identifying code note from targeted website;
3rd sending module, is configured to described identifying code note uploads onto the server.
A kind of 13. short-message verification devices are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Browser logs in the first account;
Send the first request to targeted website, described first asks for indicating described targeted website transmission identifying code note;
The described identifying code note that the reception server sends, described server is previously stored with by described first account of login The described identifying code note that terminal uploads;
According to the described identifying code note receiving, verified to described targeted website.
A kind of 14. short-message verification devices are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive and log in the identifying code note that the terminal of the first account is uploaded;
By described identifying code short message sending to the browser logging in described first account.
A kind of 15. short-message verification devices are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Terminal logs in first account;
Receive the identifying code note from targeted website;
Described identifying code note is uploaded onto the server.
CN201610815532.XA 2016-09-09 2016-09-09 short message verification method and device Active CN106375096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610815532.XA CN106375096B (en) 2016-09-09 2016-09-09 short message verification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610815532.XA CN106375096B (en) 2016-09-09 2016-09-09 short message verification method and device

Publications (2)

Publication Number Publication Date
CN106375096A true CN106375096A (en) 2017-02-01
CN106375096B CN106375096B (en) 2019-12-06

Family

ID=57899162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610815532.XA Active CN106375096B (en) 2016-09-09 2016-09-09 short message verification method and device

Country Status (1)

Country Link
CN (1) CN106375096B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590371A (en) * 2017-08-23 2018-01-16 深圳市优品壹电子有限公司 The terminal device and Related product that anti-machine logs in
CN107770155A (en) * 2017-09-22 2018-03-06 维沃移动通信有限公司 A kind of short-message verification method and mobile terminal
CN109257338A (en) * 2018-08-29 2019-01-22 厦门快快网络科技有限公司 A kind of System and method for of server log re-authentication
CN110278188A (en) * 2019-05-17 2019-09-24 常州绘分享信息科技有限公司 One kind being suitable for infant elementary education education remote control management platform
CN110381452A (en) * 2019-07-31 2019-10-25 中国工商银行股份有限公司 The anti-sniff method of GMS short message, terminal and server
CN110677431A (en) * 2019-10-14 2020-01-10 云深互联(北京)科技有限公司 Bidirectional verification method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753855A (en) * 2013-12-25 2015-07-01 中国移动通信集团公司 Single sign on method, application client side, browser, terminal and server
CN104796385A (en) * 2014-01-20 2015-07-22 腾讯科技(深圳)有限公司 Terminal binding method, device and system
CN105577648A (en) * 2015-12-11 2016-05-11 北京奇虎科技有限公司 Method for obtaining and sending short message identifying code, calculating device and mobile terminal
CN105897716A (en) * 2016-04-12 2016-08-24 广东公诚设备资产服务有限公司 Website login verification code generating method
US20160337344A1 (en) * 2013-12-16 2016-11-17 Amazon Technologies, Inc. Providing multi-factor authentication credentials via device notifications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160337344A1 (en) * 2013-12-16 2016-11-17 Amazon Technologies, Inc. Providing multi-factor authentication credentials via device notifications
CN104753855A (en) * 2013-12-25 2015-07-01 中国移动通信集团公司 Single sign on method, application client side, browser, terminal and server
CN104796385A (en) * 2014-01-20 2015-07-22 腾讯科技(深圳)有限公司 Terminal binding method, device and system
CN105577648A (en) * 2015-12-11 2016-05-11 北京奇虎科技有限公司 Method for obtaining and sending short message identifying code, calculating device and mobile terminal
CN105897716A (en) * 2016-04-12 2016-08-24 广东公诚设备资产服务有限公司 Website login verification code generating method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590371A (en) * 2017-08-23 2018-01-16 深圳市优品壹电子有限公司 The terminal device and Related product that anti-machine logs in
CN107770155A (en) * 2017-09-22 2018-03-06 维沃移动通信有限公司 A kind of short-message verification method and mobile terminal
CN109257338A (en) * 2018-08-29 2019-01-22 厦门快快网络科技有限公司 A kind of System and method for of server log re-authentication
CN110278188A (en) * 2019-05-17 2019-09-24 常州绘分享信息科技有限公司 One kind being suitable for infant elementary education education remote control management platform
CN110381452A (en) * 2019-07-31 2019-10-25 中国工商银行股份有限公司 The anti-sniff method of GMS short message, terminal and server
CN110381452B (en) * 2019-07-31 2021-09-24 中国工商银行股份有限公司 GMS short message sniffing prevention method, terminal and server
CN110677431A (en) * 2019-10-14 2020-01-10 云深互联(北京)科技有限公司 Bidirectional verification method and device

Also Published As

Publication number Publication date
CN106375096B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN104202306B (en) Access authentication method, Apparatus and system
CN106375096A (en) Short message verification method and device
CN104159218B (en) Internetwork connection establishing method and device
CN105472771B (en) Wireless connection method and device
CN104125067B (en) Account and token secret key binding method and device
CN105656948A (en) Account login method and device
CN105338399A (en) Image acquisition method and device
CN104469714A (en) Short message sending method and device
CN104703252A (en) Terminal device accessing into wireless network method and device
CN105468767A (en) Method and device for acquiring calling card information
CN103957103A (en) Safety authentication method and device and mobile terminal
CN105491048A (en) Account management method and apparatus
CN105722064A (en) Method and device for acquiring terminal information
CN106453245A (en) Method and apparatus for verifying identity
CN104219038A (en) Method and device for synchronizing data
CN106454800A (en) Identity verification method, device and system
CN104468581B (en) The method and device of login application program
CN105095081A (en) Application program function testing method and device
CN104010094A (en) Information sending method and device in voice services
CN104158659A (en) Anti-fake verifying method, device and system
CN106096009A (en) Method for generating message and device
CN106060027A (en) Methods, devices, equipment and systems for verification based on verification codes
CN107562500B (en) Debugging device, method and equipment
CN104125267A (en) Account protection method, device and terminal equipment
CN104166814A (en) Method and device for prompting WIFI network password and equipment

Legal Events

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