Summary of the invention
In view of this, the invention provides a kind of method and apparatus of processing authentication information, can make user when enjoying application service, select flexibly authentication mode.
For achieving the above object, according to an aspect of the present invention, provide a kind of method of processing authentication information.
The method of this processing authentication information of the present invention comprises: server is to user's sending short message by mobile phone identifying code; Server sends the first instruction to the end device in described mobile phone makes this end device present the first information, the first switching push button and the first text input frame in man-machine interface; Described the first information is used for pointing out user to input described short-message verification code at described the first text input frame; Described the first switching push button is for switching to authentication password by authentication mode; Server receives short-message verification code the checking that described end device sends; In the situation that the result of described checking is to be verified, server sends the second instruction to described end device and makes that this end device presents the second information in man-machine interface, password arranges button; Described the second information is used for pointing out user that password is set, and described password arranges button and present the man-machine interface that password is set after clicked.
Alternatively, in the situation that authentication mode switches to authentication password, described server sends the 3rd instruction to described end device makes this end device present the 3rd information, the second switching push button and the second text input frame in man-machine interface; Described the 3rd information is used for pointing out user to input password at described the second text input frame; Described the second switching push button is for switching to short-message verification by authentication mode.
The method of another kind of processing authentication information is provided according to a further aspect in the invention.
The method of this processing authentication information of the present invention comprises: the first instruction that end device reception server sends, presents the first information, the first switching push button and the first text input frame according to this first instruction in man-machine interface; Described the first information is used for pointing out user to input described short-message verification code at described the first text input frame; Described the first switching push button is for switching to authentication password by authentication mode; End device receives short-message verification code by described the first text input frame, then this short-message verification code is sent to server and verifies; The second instruction that end device reception server sends, according to this second instruction in man-machine interface, present the second information, password arranges button; Described the second information is used for pointing out user that password is set, and described password arranges button and present the man-machine interface that password is set after clicked.
Alternatively, in the situation that authentication mode switches to authentication password, described end device receives the 3rd instruction that described server sends, and according to the 3rd instruction, in man-machine interface, presents the 3rd information, the second switching push button and the second text input frame; Described the 3rd information is used for pointing out user to input password at described the second text input frame; Described the second switching push button is for switching to short-message verification by authentication mode.
According to another aspect of the invention, provide a kind of device of processing authentication information.
The device of this processing authentication information of the present invention comprises: short-message verification code sending module, for the sending short message by mobile phone identifying code to user; The first instruction sending module, sends the first instruction for the end device to described mobile phone and makes this end device present the first information, the first switching push button and the first text input frame in man-machine interface; Described the first information is used for pointing out user to input described short-message verification code at described the first text input frame; Described the first switching push button is for switching to authentication password by authentication mode; Short-message verification code authentication module, the short-message verification code the checking that for receiving described end device, send; The second instruction sending module, in the situation that the result of described checking is to be verified, sends the second instruction to described end device and makes that this end device presents the second information in man-machine interface, password arranges button; Described the second information is used for pointing out user that password is set, and described password arranges button and present the man-machine interface that password is set after clicked.
Alternatively, also comprise the 3rd instruction sending module, for in the situation that authentication mode switches to authentication password, to described end device, send the 3rd instruction and make this end device present the 3rd information, the second switching push button and the second text input frame in man-machine interface; Described the 3rd information is used for pointing out user to input password at described the second text input frame; Described the second switching push button is for switching to short-message verification by authentication mode.
The device of another kind of processing authentication information is provided according to another aspect of the invention.
The device of this processing authentication information of the present invention comprises: the first command reception module, and the first instruction sending for reception server, presents the first information, the first switching push button and the first text input frame according to this first instruction in man-machine interface; Described the first information is used for pointing out user to input described short-message verification code at described the first text input frame; Described the first switching push button is for switching to authentication password by authentication mode; Short-message verification code receiver module, for receiving short-message verification code by described the first text input frame, then sends to server by this short-message verification code and verifies; The second command reception module, the second instruction sending for reception server, according to this second instruction in man-machine interface, present the second information, password arranges button; Described the second information is used for pointing out user that password is set, and described password arranges button and present the man-machine interface that password is set after clicked.
Alternatively, also comprise the 3rd command reception module, for in the situation that authentication mode switches to authentication password, receive the 3rd instruction that described server sends, according to the 3rd instruction, in man-machine interface, present the 3rd information, the second switching push button and the second text input frame; Described the 3rd information is used for pointing out user to input password at described the second text input frame; Described the second switching push button is for switching to short-message verification by authentication mode.
The technical scheme of the embodiment of the present invention is mainly the application scenario of carrying out on-line payment for the terminal device that adopts the mobile Internets such as mobile phone.In order to meet user's personal habits, the switching push button of authentication mode is provided in the man-machine interface of authentication, make user can select authentication mode.Adopting computing machine to carry out in the webpage of on-line payment, generally there is user that prefecture is set, user can carry out the operations such as individual information editing and Modify password therein.But in the situation that using mobile phone, restriction because of mobile phone screen area, man-machine interface is difficult to hold too much operational controls, therefore in the present embodiment for this situation, after paying successfully, further prompting user arranges password, and the object one of this mode is, for the user of password is not set, password to be set, and the 2nd, the chance of Modify password is provided to user, and user's operation is " linearity ", without turning back to certain man-machine interface above, remove Modify password.Therefore adopt the technical scheme of the embodiment of the present invention, can allow user flexibility select authentication mode, and can arrange easily and Modify password, and have good experience.
Embodiment
Below in conjunction with accompanying drawing, one exemplary embodiment of the present invention is explained, comprising the various details of the embodiment of the present invention, to help understanding, they should be thought to be only exemplary.Therefore, those of ordinary skills will be appreciated that, can make various changes and modification to the embodiments described herein, and can not deviate from scope and spirit of the present invention.Equally, for clarity and conciseness, in following description, omitted the description to known function and structure.
In the embodiment of the present invention, the authentication of take while processing on-line payment describes as example.Fig. 1 is according to the schematic diagram of the key step of the method for the processing authentication information of the embodiment of the present invention.Fig. 2 to Fig. 5 is the schematic diagram of the man-machine interface that relates in the method for processing authentication information of the embodiment of the present invention.After user confirms to pay and the bank card that pays use is provided, will require user that short-message verification code or password are provided.The employing short-message verification of take is example, and from step, S101 starts flow process.
Step S101: server is to user's sending short message by mobile phone identifying code.Be to adopt the cordless communication networks such as GSM, CDMA to send note to user mobile phone herein, wherein comprise short-message verification code.User mobile phone number provides to server when e-commerce website is registered or while confirming to pay user conventionally.
Step S102: server sends the first instruction to the end device in user's mobile phone.Be by wireless Internet herein, to the application program of installing in user mobile phone, send.
Step S103: end device, according to the first instruction, presents man-machine interface 20.The end device here refers to the end device in above-mentioned user's mobile phone, lower with.Man-machine interface 20 as shown in Figure 2, wherein has information 21, and content is " short-message verification "; Return push-button 22; Payment printed words 23, content is " 10.00 yuan "; Information 24, is used for pointing out user in text input frame 25, to input short-message verification code, for example the printed words shown in figure " you will use industrial and commercial bank's (tail number 3456) payment please input the short-message verification code that is dealt into 137****1234 ".Above-mentioned " * * * * " is numeral in practice.In man-machine interface 20, also have a switching push button 26, on it, have information " by payment cipher, to pay the bill ".
If user selects the authentication mode of short-message verification, in text input frame 25, input short-message verification code, for example " 629175 " shown in figure, enter step S104 in this case.If user selects the authentication mode of authentication password, button click 26, now enter step S111.
Step S104: end device sends to server by short-message verification code.
Step S105: server judges that whether short-message verification code is correct.If correct, enter step S106, otherwise send hint instructions to end device, terminal device is received and rear user is pointed out, for example that the short-message verification code in text input frame 25 is shown in red.
Step S106: server sends the second instruction to end device.For the application of on-line payment, in the situation that short-message verification code is correct, the computer equipment of server Jiang Yu bank carries out to realize, from user's account, withholing alternately.In the successful situation of withholing, generate the second instruction.
Step S107: end device, according to the second instruction, presents man-machine interface 30.This man-machine interface 30 as shown in Figure 3, wherein has information 31, and content is " paying successfully "; Information 32, content is " Payment Amount: 10.00 yuan "; Information 33, content is " suggestion arranges payment cipher, and pay without carrying out short-message verification next time, saves your time ", to point out user that password is set.Separately there are two buttons, on button 34, have information " payment cipher to be set ", on button 35, have information " to determine ".If user's button click 34, enters step S108, if user's button click 35, process ends.
Step S108: end device presents man-machine interface 40.Man-machine interface 40 is used for arranging password, as shown in Figure 4, has information 41 in man-machine interface 40, and content is " payment cipher is set "; Information 42, content is " input 6 bit digital password payments next time can access to your password and pay "; Text input frame 43; And button 44, above there is information " to determine ".User inputs after the password arranging in text input frame 43, button click 44, and password is just sent to server.Then enter step S109.
Step S109: server sends the instruction that presents man-machine interface 50 to end device.Then enter step S110.
Step S110: end device presents man-machine interface 50.This man-machine interface 50 as shown in Figure 5, wherein has information 51, and content is " password arranges successfully "; Information 52, content is " next payment can access to your password and pay "; Information 53, the payment cipher that the user name that its content is user and user arrange; And button 54, above there is information " to determine ", process ends after user clicks.
Below to user, select the flow process of paying the bill by payment cipher to be illustrated again, as mentioned above, if user selects to pay the bill by payment cipher, click the button 26 shown in Fig. 2, now enter step S111.
Step S111: server sends the 3rd instruction to end device.
Step S112: terminal device presents man-machine interface 60.This man-machine interface 60 as shown in Figure 6, wherein has information 61, and content is " password authentification "; Return push-button 62; Information 63, content is " 10.00 yuan "; Information 64, content is for " you will use industrial and commercial bank's (tail number 3456) payment please input six bit digital payment ciphers ", to point out user to input password in text input frame 65; And button 66, on it, there is information " by short-message verification, to pay the bill ", if user's button click 66 presents man-machine interface 20, that is to say authentication mode is switched to short-message verification.
Below the device of the processing authentication information in the present embodiment is illustrated.Fig. 7 is a kind of schematic diagram of processing the device of authentication information according to the embodiment of the present invention.This device can be arranged in server.As shown in Figure 7, the device 70 of processing authentication information mainly comprises: short-message verification code sending module 71, the first instruction sending module 72, short-message verification code authentication module 73 and the second instruction sending module 74.
Short-message verification code sending module 71 is for the sending short message by mobile phone identifying code to user.The first instruction sending module 72 sends the first instruction for the end device to mobile phone makes this end device present the first information, the first switching push button and the first text input frame in man-machine interface; The first information is used for pointing out user to input short-message verification code at the first text input frame; The first switching push button is for switching to authentication password by authentication mode.The short-message verification code that short-message verification code authentication module 73 sends for receiver terminal device checking.The second instruction sending module 74, in the situation that the result of checking is to be verified, sends the second instruction to end device and makes that this end device presents the second information in man-machine interface, password arranges button; The second information is used for pointing out user that password is set, and password arranges button and present the man-machine interface that password is set after clicked.
The device 70 of processing authentication information also can comprise the 3rd instruction sending module (not shown), for in the situation that authentication mode switches to authentication password, to end device, send the 3rd instruction and make this end device present the 3rd information, the second switching push button and the second text input frame in man-machine interface; Described the 3rd information is used for pointing out user to input password at the second text input frame; The second switching push button is for switching to short-message verification by authentication mode.
Fig. 8 processes the schematic diagram of the device of authentication information according to the another kind of the embodiment of the present invention.This device, as a kind of end device, can be arranged in smart mobile phone.As shown in Figure 8, the device 80 of processing authentication information mainly comprises the first command reception module 81, short-message verification code receiver module 82 and the second command reception module 83.
The first instruction that the first command reception module 81 sends for reception server, presents the first information, the first switching push button and the first text input frame according to this first instruction in man-machine interface; The first information is used for pointing out user to input short-message verification code at the first text input frame; The first switching push button is for switching to authentication password by authentication mode.Short-message verification code receiver module 82, for receiving short-message verification code by the first text input frame, then sends to server by this short-message verification code and verifies.The second instruction that the second command reception module 83 sends for reception server, according to this second instruction in man-machine interface, present the second information, password arranges button; The second information is used for pointing out user that password is set, and password arranges button and present the man-machine interface that password is set after clicked.
The device 80 of processing authentication information also can comprise the 3rd command reception module (not shown), for in the situation that authentication mode switches to authentication password, the 3rd instruction that reception server sends, presents the 3rd information, the second switching push button and the second text input frame according to the 3rd instruction in man-machine interface; The 3rd information is used for pointing out user to input password at the second text input frame; The second switching push button is for switching to short-message verification by authentication mode.
The technical scheme of the embodiment of the present invention is mainly the application scenario of carrying out on-line payment for the terminal device that adopts the mobile Internets such as mobile phone.In order to meet user's personal habits, the switching push button of authentication mode is provided in the man-machine interface of authentication, make user can select authentication mode.Adopting computing machine to carry out in the webpage of on-line payment, generally there is user that prefecture is set, user can carry out the operations such as individual information editing and Modify password therein.But in the situation that using mobile phone, restriction because of mobile phone screen area, man-machine interface is difficult to hold too much operational controls, therefore in the present embodiment for this situation, after paying successfully, further prompting user arranges password, and the object one of this mode is, for the user of password is not set, password to be set, and the 2nd, the chance of Modify password is provided to user, and user's operation is " linearity ", without turning back to certain man-machine interface above, remove Modify password.Therefore adopt the technical scheme of the embodiment of the present invention, can allow user flexibility select authentication mode, and can arrange easily and Modify password, and have good experience.
Ultimate principle of the present invention has below been described in conjunction with specific embodiments, but, it is to be noted, for those of ordinary skill in the art, can understand whole or any steps or the parts of method and apparatus of the present invention, can be in the network of any calculation element (comprising processor, storage medium etc.) or calculation element, with hardware, firmware, software or their combination, realized, this is that those of ordinary skills use their basic programming skill just can realize in the situation that having read explanation of the present invention.
Therefore, object of the present invention can also realize by move a program or batch processing on any calculation element.Described calculation element can be known fexible unit.Therefore, object of the present invention also can be only by providing the program product that comprises the program code of realizing described method or device to realize.That is to say, such program product also forms the present invention, and the storage medium that stores such program product also forms the present invention.Obviously, described storage medium can be any storage medium of developing in any known storage medium or future.
Also it is pointed out that in apparatus and method of the present invention, obviously, each parts or each step can decompose and/or reconfigure.These decomposition and/or reconfigure and should be considered as equivalents of the present invention.And, carry out the step of above-mentioned series of processes and can order naturally following the instructions carry out in chronological order, but do not need necessarily according to time sequencing, to carry out.Some step can walk abreast or carry out independently of one another.
Above-mentioned embodiment, does not form limiting the scope of the invention.Those skilled in the art should be understood that, depend on designing requirement and other factors, various modifications, combination, sub-portfolio can occur and substitute.Any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection domain of the present invention.