Summary of the invention
In view of this, the invention provides a kind of method and apparatus processing authentication information, user can being made to select authentication mode flexibly when enjoying application service.
For achieving the above object, according to an aspect of the present invention, a kind of method processing authentication information is provided.
The method of this process authentication information of the present invention comprises: server is to the sending short message by mobile phone identifying code of user; 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 Entry in man-machine interface; Described first information inputs described short message verification code for pointing out user in described first Text Entry; Described first switching push button is used for authentication mode to switch to authentication password; Server receives the short message verification code of described end device transmission and verifies; When the result of described checking is for being 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 second information arranges password for pointing out user, and described password arranges button and present the man-machine interface arranging password after clicked.
Alternatively, when 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 Entry in man-machine interface; Described 3rd information inputs password for pointing out user in described second Text Entry; Described second switching push button is used for authentication mode to switch to short-message verification.
According to a further aspect in the invention, the method for another kind of process authentication information is provided.
The method of this process authentication information of the present invention comprises: the first instruction that end device reception server sends, and presents the first information, the first switching push button and the first Text Entry according to this first instruction in man-machine interface; Described first information inputs short message verification code for pointing out user in described first Text Entry; Described first switching push button is used for authentication mode to switch to authentication password; End device receives short message verification code by described first Text Entry, then this short message verification code is sent to server and verifies; The second instruction that end device reception server sends, presents the second information according to this second instruction in man-machine interface, password arranges button; Described second information arranges password for pointing out user, and described password arranges button and present the man-machine interface arranging password after clicked.
Alternatively, when authentication mode switches to authentication password, described end device receives the 3rd instruction that described server sends, and presents the 3rd information, the second switching push button and the second Text Entry according to the 3rd instruction in man-machine interface; Described 3rd information inputs password for pointing out user in described second Text Entry; Described second switching push button is used for authentication mode to switch to short-message verification.
According to another aspect of the invention, a kind of device processing authentication information is provided.
The device of this process 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; First instruction sending module, makes this end device present the first information, the first switching push button and the first Text Entry in man-machine interface for sending the first instruction to the end device in described mobile phone; Described first information inputs described short message verification code for pointing out user in described first Text Entry; Described first switching push button is used for authentication mode to switch to authentication password; Short message verification code authentication module, for receiving the short message verification code of described end device transmission and verifying; Second instruction sending module, for when the result of described checking is for being verified, sends the second instruction to described end device and making that this end device presents the second information in man-machine interface, password arranges button; Described second information arranges password for pointing out user, and described password arranges button and present the man-machine interface arranging password after clicked.
Alternatively, also comprise the 3rd instruction sending module, for when authentication mode switches to authentication password, send the 3rd instruction to described end device and make this end device present the 3rd information, the second switching push button and the second Text Entry in man-machine interface; Described 3rd information inputs password for pointing out user in described second Text Entry; Described second switching push button is used for authentication mode to switch to short-message verification.
According to another aspect of the invention, the device of another kind of process authentication information is provided.
The device of this process authentication information of the present invention comprises: the first command reception module, for the first instruction that reception server sends, presents the first information, the first switching push button and the first Text Entry according to this first instruction in man-machine interface; Described first information inputs short message verification code for pointing out user in described first Text Entry; Described first switching push button is used for authentication mode to switch to authentication password; Short message verification code receiver module, for receiving short message verification code by described first Text Entry, being then sent to server by this short message verification code and verifying; Second command reception module, for the second instruction that reception server sends, presents the second information according to this second instruction in man-machine interface, password arranges button; Described second information arranges password for pointing out user, and described password arranges button and present the man-machine interface arranging password after clicked.
Alternatively, also comprise the 3rd command reception module, for when authentication mode switches to authentication password, receive the 3rd instruction that described server sends, present the 3rd information, the second switching push button and the second Text Entry according to the 3rd instruction in man-machine interface; Described 3rd information inputs password for pointing out user in described second Text Entry; Described second switching push button is used for authentication mode to switch to short-message verification.
The technical scheme of the embodiment of the present invention is mainly for the application scenario adopting the terminal device of the mobile Internets such as mobile phone to carry out on-line payment.In order to meet the personal habits of user, in the man-machine interface of authentication, providing the switching push button of authentication mode, making user select authentication mode.Carry out in the webpage of on-line payment at employing computing machine, generally have user to arrange prefecture, user can carry out the operation such as individual information editing and Modify password wherein.But when using mobile phone, because of the restriction of mobile phone screen area, man-machine interface is difficult to hold too much operational controls, therefore in the present embodiment for this situation, arrange password paying successfully further prompting user, the object one of this mode can arrange password for the user not arranging password, and two is the chances providing Modify password to user, and the operation of user is " linearly ", remove Modify password without the need to turning back to certain man-machine interface above.Therefore adopt the technical scheme of the embodiment of the present invention, user flexibility can be allowed to 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 it is only exemplary.Therefore, those of ordinary skill in the art will be appreciated that, can make various change and amendment, and can not deviate from scope and spirit of the present invention to the embodiments described herein.Equally, for clarity and conciseness, the description to known function and structure is eliminated in following description.
In the embodiment of the present invention, be described for authentication when processing on-line payment.Fig. 1 is the schematic diagram of the key step of the method for process authentication information according to the embodiment of the present invention.Fig. 2 to Fig. 5 is the schematic diagram of the man-machine interface related in the method for the process authentication information of the embodiment of the present invention.After user confirms to pay and provides the bank card paying and use, will require that user provides short message verification code or password.To adopt short-message verification, flow process from step S101.
Step S101: server is to the sending short message by mobile phone identifying code of user.Be 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 when confirming payment user usually.
Step S102: server sends the first instruction to the end device in the mobile phone of user.Be by wireless Internet, the application program of installing in user mobile phone sends herein.
Step S103: end device, according to the first instruction, presents man-machine interface 20.Here end device refers to the end device in the mobile phone of above-mentioned user, lower same.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 to input short message verification code in Text Entry 25, such as, printed words " you will use industrial and commercial bank's (tail number 3456) to pay the bill please input the short message verification code being dealt into 137****1234 " shown in figure.Above-mentioned " * * * * " is numeral in practice.Also have a switching push button 26 in man-machine interface 20, it has information " paid the bill by payment cipher ".
If user selects the authentication mode of short-message verification, then in Text Entry 25, input short message verification code, such as, " 629175 " shown in figure, enter step S104 in this case.If user selects the authentication mode of authentication password, then button click 26, now enters step S111.
Step S104: short message verification code is sent to server by end device.
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 receives rear prompting user, such as, by shown in red for the short message verification code in Text Entry 25.
Step S106: server sends the second instruction to end device.For the application of on-line payment, when short message verification code is correct, the computer equipment with bank carries out mutual to realize withholing from the account of user by server.Withholing in successful situation, generating 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 next time pays without the need to carrying out short-message verification, saves your time ", arranges password to point out user.Separately there are two buttons, button 34 have information " payment cipher is set ", button 35 has information " determine ".If user's button click 34, then enter step S108, if user's button click 35, then process ends.
Step S108: end device presents man-machine interface 40.Man-machine interface 40 is used for arranging password, and as shown in Figure 4, have information 41 in man-machine interface 40, content is " arranging payment cipher "; Information 42, content for " input 6 bit digital passwords next time payment can access to your password pay "; Text Entry 43; And button 44, above there is information " to determine ".After user inputs the password of setting in Text Entry 43, button click 44, password is just sent to server.Then step S109 is entered.
Step S109: server sends the instruction presenting man-machine interface 50 to end device.Then step S110 is entered.
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 is arranged successfully "; Information 52, content is " payment can access to your password and pay next time "; Information 53, its content is the user name of user and the payment cipher of user's setting; And button 54, above there is information " to determine ", process ends after user clicks.
Below select the flow process of being paid the bill by payment cipher to be illustrated to user again, as mentioned above, if user selects to be paid the bill by payment cipher, then 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 " you will use industrial and commercial bank's (tail number 3456) to pay the bill please input six bit digital payment ciphers ", inputs password to point out user in Text Entry 65; And button 66, it there is information " paid the bill by short-message verification ", if user's button click 66, then present man-machine interface 20, that is authentication mode is switched to short-message verification.
Below the device of the process authentication information in the present embodiment is illustrated.Fig. 7 is a kind of schematic diagram processing the device of authentication information according to the embodiment of the present invention.This device can be arranged in the server.As shown in Figure 7, the device 70 processing authentication information mainly comprises: short message verification code sending module 71, 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.First instruction sending module 72 makes this end device present the first information, the first switching push button and the first Text Entry in man-machine interface for sending the first instruction to the end device in mobile phone; First information inputs short message verification code for pointing out user in the first Text Entry; First switching push button is used for authentication mode to switch to authentication password.The short message verification code that short message verification code authentication module 73 sends for receiver terminal device is also verified.Second instruction sending module 74, for when the result verified is for being verified, sends the second instruction to end device and making that this end device presents the second information in man-machine interface, password arranges button; Second information arranges password for pointing out user, and password arranges button and present the man-machine interface arranging password after clicked.
The device 70 of process authentication information also can comprise the 3rd instruction sending module (not shown), for when authentication mode switches to authentication password, send the 3rd instruction to end device and make this end device present the 3rd information, the second switching push button and the second Text Entry in man-machine interface; Described 3rd information inputs password for pointing out user in the second Text Entry; Second switching push button is used for authentication mode to switch to short-message verification.
Fig. 8 is the schematic diagram of the device of another kind process authentication information according to 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 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 first command reception module 81 sends for reception server, presents the first information, the first switching push button and the first Text Entry according to this first instruction in man-machine interface; First information inputs short message verification code for pointing out user in the first Text Entry; First switching push button is used for authentication mode to switch to authentication password.This short message verification code, for receiving short message verification code by the first Text Entry, is then sent to server and verifies by short message verification code receiver module 82.The second instruction that second command reception module 83 sends for reception server, presents the second information according to this second instruction in man-machine interface, password arranges button; Second information arranges password for pointing out user, and password arranges button and present the man-machine interface arranging password after clicked.
The device 80 of process authentication information also can comprise the 3rd command reception module (not shown), for when 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 Entry according to the 3rd instruction in man-machine interface; 3rd information inputs password for pointing out user in the second Text Entry; Second switching push button is used for authentication mode to switch to short-message verification.
The technical scheme of the embodiment of the present invention is mainly for the application scenario adopting the terminal device of the mobile Internets such as mobile phone to carry out on-line payment.In order to meet the personal habits of user, in the man-machine interface of authentication, providing the switching push button of authentication mode, making user select authentication mode.Carry out in the webpage of on-line payment at employing computing machine, generally have user to arrange prefecture, user can carry out the operation such as individual information editing and Modify password wherein.But when using mobile phone, because of the restriction of mobile phone screen area, man-machine interface is difficult to hold too much operational controls, therefore in the present embodiment for this situation, arrange password paying successfully further prompting user, the object one of this mode can arrange password for the user not arranging password, and two is the chances providing Modify password to user, and the operation of user is " linearly ", remove Modify password without the need to turning back to certain man-machine interface above.Therefore adopt the technical scheme of the embodiment of the present invention, user flexibility can be allowed to select authentication mode, and can arrange easily and Modify password, and have good experience.
Below ultimate principle of the present invention is described in conjunction with specific embodiments, but, it is to be noted, for those of ordinary skill in the art, whole or any step or the parts of method and apparatus of the present invention can be understood, can in the network of any calculation element (comprising processor, storage medium etc.) or calculation element, realized with hardware, firmware, software or their combination, this is that those of ordinary skill in the art use their basic programming skill just can realize when having read explanation of the present invention.
Therefore, object of the present invention can also be realized by an operation program or batch processing on any calculation element.Described calculation element can be known fexible unit.Therefore, object of the present invention also can realize only by the program product of providing package containing the program code realizing described method or device.That is, such program product also forms the present invention, and the storage medium storing such program product also forms the present invention.Obviously, described storage medium can be any storage medium developed 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 decompose and/or reconfigure and should be considered as equivalents of the present invention.Further, the step performing above-mentioned series of processes can order naturally following the instructions perform in chronological order, but does not need necessarily to perform according to time sequencing.Some step can walk abreast or perform independently of one another.
Above-mentioned embodiment, does not form limiting the scope of the invention.It is to be understood that depend on designing requirement and other factors, various amendment, combination, sub-portfolio can be there is and substitute in those skilled in the art.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within scope.