The present invention relates to an authentication technology, particularly to an authentication method and a server.
With the development of the Internet technology, electronic payments are widely used in various areas; for example, in online banking, online shopping and the like. At present, an electronic payment method is that a payment is made and completed after a server verifies the verification information entered by someone.
When an electronic device, such as a mobile phone or a computer, is used for an electronic payment, one could complete an electronic payment in an electronic device with one authentication in general. However, personal verification information is much easier to be leaked; if it is authenticated with one's verification information, the security of the authentication is lower and the safety of the payment environment is not high, the payment authentication level is also low, resulting in a final property loss.
An embodiment of the present invention provides a computer-implemented authentication method, comprising executing on a processor steps that include:
in response to receiving an authentication request from a first terminal, determining at least one of a first sub authentication request and a second sub authentication request, each corresponding to the authentication request;
sending the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
in response to receiving a first verification information from the second terminal and a second verification information from the third terminal, authenticating the first verification information and the second verification information to generate an authentication result; and
sending the authentication result to the first terminal. Each of the second terminal and the third terminal are one of a same terminal as the first terminal, and a different terminal from the first terminal.
Aspects of the present invention also include a server that includes:
a receiving unit that receives an authentication request sent by a first terminal;
a determining unit that determines at least a first sub authentication request and a second sub authentication request that each correspond to the authentication request;
a first sending unit that sends the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
an authentication unit that receives a first verification information sent by the second terminal and a second verification information sent by the third terminal, and authenticates the first verification information and the second verification information; and
a second sending unit that sends the authentication result to the first terminal. In said aspect the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
Aspects of the present invention also include a system that includes a processor in communication with a logical circuit. The system processor receives an authentication request sent by a first terminal; determines at least a first sub authentication request and a second sub authentication request that each correspond to the authentication request; sends the first sub authentication request to a second terminal and the second sub authentication request to a third terminal; receives a first verification information sent by the second terminal and a second verification information sent by the third terminal; authenticates the first verification information and the second verification information; and sends the authentication result to the first terminal. In said system aspect the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
To fully understand the features and technical content in the embodiments of the present invention, the following section elaborates on the fulfilled embodiments of the present invention in combination with the attached drawings; the attached drawings are only used for references but not used to restrict the embodiments of the present invention.
Step 101: receiving an authentication request sent by a first terminal.
In the embodiment of the present invention, a first terminal is bound with a bank card or an electronic wallet, and when a first user makes an electronic payment at the first terminal, the first terminal sends an authentication request for this electronic payment to the server. The server receives the authentication request sent by the first terminal.
Step 102: determining at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request;
In the embodiment of the present invention, the authentication request of an electronic payment is divided into at least two sub authentication requests. The embodiment of the present invention takes two sub authentication requests as examples to explain, and the two sub authentication requests are the first sub authentication request and the second sub authentication request respectively. Certainly, the embodiment of the present invention is not limited to two sub authentication requests; it can be three or more sub authentication requests.
Step 103: sending the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
In the embodiment of the present invention, the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
In one implementation method, the second terminal is the same terminal as the first terminal, and the third terminal is a different one from the first terminal. In this implementation method, the first sub authentication request is sent to the first terminal and the second sub authentication request is sent to the third terminal. Here, the first sub authentication request is the request instructing a first user to enter the first verification information; and the second sub verification information is the request instructing a third user to enter its second verification information. Here, the user using the third terminal is the third user.
In another implementation method, the second terminal is a different terminal from the first terminal, and the third terminal is the same terminal as the first terminal. In the implementation, the first sub authentication request is sent to the second terminal and the second sub authentication request is sent to the first terminal. Here, the first sub authentication request is the request instructing a second user to enter the first verification information; and the second sub verification information is the request instructing a first user to enter its second verification information. Here, the user using the third terminal is the second user.
In another implementation method, the second terminal is a different terminal from the first terminal, and the third terminal is different from the first terminal. In this implementation, send the first sub authentication request to the second terminal and send the second sub authentication request to the third terminal. Here, the first sub authentication request is the request instructing a second user to enter the first verification information; and the second sub verification information is the request instructing a third user to enter its second verification information.
In conclusion, two different pieces of verification information of two users need to be obtained for an electronic payment authentication request. These two users can be a first user using a first terminal and a second or third user using a second or third terminal The two users can also be a second user using a second terminal and a third user using a third terminal. The technical proposal of the embodiment of the present invention can be carried out flexibly according to the specific environment; for example, when a couple makes an electronic payment with a terminal that bonds with an additional card, it requires to obtain not only the verification information of one part entered at a first terminal, but also the verification information of the other part (main card holder) entered at a second terminal In another scenario where a child makes an electronic payment with a terminal that bonds with an additional card, it requires to obtain not only the verification information of this child's father entered at a second terminal, but also the verification information of this child's mother entered at a third terminal.
Step 104: when receiving a first verification information sent by the second terminal and a second verification information sent by the third terminal, authenticating the first verification information and the second verification information;
In the embodiment of the present invention, after a second terminal receives the first sub authentication request, it would receive the entered first verification information, and send the first verification information to the server. Similarly, after the third terminal receives the second sub authentication request, it would receive the entered second verification information, and send the second verification information to the server. The server would authenticate the first verification information and the second verification information.
In the embodiment of the present invention, the first verification information and the second verification information are based on different payment terminals; therefore the safety level of the payment environment is quite high. Additionally, the first verification information and the second verification information could be presented in various modes, such as a password, a fingerprint, a gesture, a face and the like, further increasing the payment safety.
Step 105: sending the authentication result to the first terminal.
In the embodiment of the present invention, the authentication results are authentication success and authentication failure. For the authentication of an electronic payment, the embodiment of the present invention divides an authentication request into two sub authentication requests, and sends them to two terminals respectively, then two different users enter two different pieces of verification information respectively to authenticate at the same time, when the verification information of the two users is verified, the final authentication of this electronic payment is successful, greatly improving the authentication safety, ensuring a payment environment with a high security level, and guaranteeing users' property.
Step 201: receiving an authentication request sent by a first terminal.
In the embodiment of the present invention, a first terminal is bound with a bank card or an electronic wallet, and when a first user makes an electronic payment at the first terminal, the first terminal sends an authentication request for this electronic payment to the server. The server receives the authentication request sent by the first terminal.
Step 202: determining at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request;
In the embodiment of the present invention, the authentication request of an electronic payment is divided into at least two sub authentication requests. The embodiment of the present invention takes two sub authentication requests as examples to explain, and the two sub authentication requests are the first sub authentication request and the second sub authentication request respectively. Certainly, the embodiment of the present invention is not limited to two sub authentication requests; it can be three or more sub authentication requests.
Step 203: sending the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
In the embodiment of the present invention, the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
In one implementation method, the second terminal is the same terminal as the first terminal, and the third terminal is a different one from the first terminal. In this implementation method, the first sub authentication request is sent to the first terminal and the second sub authentication request is sent to the third terminal. Here, the first sub authentication request is the request instructing a first user to enter the first verification information; and the second sub verification information is the request instructing a third user to enter its second verification information. Here, the user using the third terminal is the third user.
In another implementation method, the second terminal is a different terminal from the first terminal, and the third terminal is the same terminal as the first terminal. In the implementation, the first sub authentication request is sent to the second terminal and the second sub authentication request is sent to the first terminal. Here, the first sub authentication request is the request instructing a second user to enter the first verification information; and the second sub verification information is the request instructing a first user to enter its second verification information. Here, the user using the second terminal is the second user.
In another implementation method, the second terminal is a different terminal from the first terminal, and the third terminal is different from the first terminal. In this implementation, send the first sub authentication request to the second terminal and send the second sub authentication request to the third terminal. Here, the first sub authentication request is the request instructing a second user to enter the first verification information; and the second sub verification information is the request instructing a third user to enter its second verification information.
In conclusion, two different pieces of verification information of two users need to be obtained for an electronic payment authentication request. These two users can be a first user using a first terminal and a second or third user using a second or third terminal The two users can also be a second user using a second terminal and a third user using a third terminal. The technical proposal of the embodiment of the present invention can be carried out flexibly according to the specific environment; for example, when a couple makes an electronic payment with a terminal that bonds with an additional card, it requires to obtain not only the verification information of one part entered at a first terminal, but also the verification information of the other part (main card holder) entered at a second terminal In another scenario where a child makes an electronic payment with a terminal that bonds with an additional card, it requires to obtain not only the verification information of this child's father entered at a second terminal, but also the verification information of this child's mother entered at a third terminal.
Step 204: when receiving first verification information sent by the second terminal and second verification information sent by the third terminal, authenticating the first verification information and the second verification information.
In the embodiment of the present invention, after a second terminal receives the first sub authentication request, it would receive the entered first verification information, and send the first verification information to the server. Similarly, after the third terminal receives the second sub authentication request, it would receive the entered second verification information, and send the second verification information to the server. The server would authenticate the first verification information and the second verification information.
In the embodiment of the present invention, the first verification information and the second verification information are based on different payment terminals; therefore the safety level of the payment environment is quite high. Additionally, the first verification information and the second verification information could be presented in various modes, such as a password, a fingerprint, a gesture, a face and the like, further increasing the payment safety.
Step 205: when the first verification information is verified and so is the second verification information, sending an authentication success message to the first terminal; and when the verification of the first verification information or the second verification information fails, sending an authentication failure message to the first terminal.
In the embodiment of the present invention, the authentication results are authentication success and authentication failure. When the first verification information is verified and so is the second verification information, sending an authentication success message to the first terminal. When the verification of the first verification information or the second verification information fails, sending an authentication failure message to the first terminal.
For the authentication of an electronic payment, the embodiment of the present invention divides an authentication request into two sub authentication requests, and sends them to two terminals respectively, then two different users enter two different pieces of verification information respectively to authenticate at the same time, when the verification information of the two users is verified, the final authentication of this electronic payment is successful, greatly improving the authentication safety, ensuring a payment environment with a high security level, and guaranteeing users' property.
Step 301: receiving an authentication request sent by a first terminal.
In the embodiment of the present invention, a first terminal is bound with a bank card or an electronic wallet, and when a first user makes an electronic payment at the first terminal, the first terminal sends an authentication request for this electronic payment to the server. The server receives the authentication request sent by the first terminal.
Step 302: finding an authentication strategy matching with the authentication request; and according to the authentication strategy, determining the first sub authentication request and the second sub authentication request with both corresponding to the authentication request.
In the embodiment of the present invention, the authentication request of an electronic payment is divided into at least two sub authentication requests. The embodiment of the present invention takes two sub authentication requests as examples to explain, and the two sub authentication requests are the first sub authentication request and the second sub authentication request respectively. Certainly, the embodiment of the present invention is not limited to two sub authentication requests; it can be three or more sub authentication requests.
In the embodiment of the present invention, when more than two authentication strategies matching with the authentication strategies, sending a detecting message to the second and third terminals to detect the authentication method supported by the second and third terminals; receiving the response messages sent by the second and third terminals, and according to the response messages, determining the authentication method supported by the second and third terminals; based on the authentication method supported by the second and third terminals, selecting an authentication strategy from the more than two authentication strategies matching with the authentication method supported by the second and third terminals.
Here, the authentication methods supported by terminals include authentication via passwords, fingerprints, voices, faces and the like.
For example, the second terminal supports a password authentication, and the third terminal supports a fingerprint authentication; the server would determine that the first sub authentication request is to authenticate a password, and the second sub authentication request is to authenticate a fingerprint.
In the embodiment of the present invention, when more than two authentication strategies matching with the authentication request are found, selected, based on the priorities, an authentication strategy with the highest priority from the more than two authentication strategies.
For example, the authentication strategy with the highest priority is: the first sub authentication request is to authenticate through a password, and the second sub authentication request is to authenticate through a fingerprint.
Step 303: sending the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
In the embodiment of the present invention, the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
In one implementation method, the second terminal is the same terminal as the first terminal, and the third terminal is a different one from the first terminal. In this implementation method, the first sub authentication request is sent to the first terminal and the second sub authentication request is sent to the third terminal. Here, the first sub authentication request is the request instructing a first user to enter the first verification information; and the second sub verification information is the request instructing a third user to enter its second verification information. Here, the user using the third terminal is the third user.
In another implementation method, the second terminal is a different terminal from the first terminal, and the third terminal is the same terminal as the first terminal. In the implementation, the first sub authentication request is sent to the second terminal and the second sub authentication request is sent to the first terminal. Here, the first sub authentication request is the request instructing a second user to enter the first verification information; and the second sub verification information is the request instructing a first user to enter its second verification information. Here, the user using the second terminal is the second user.
In another implementation method, the second terminal is a different terminal from the first terminal, and the third terminal is different from the first terminal. In this implementation, send the first sub authentication request to the second terminal and send the second sub authentication request to the third terminal. Here, the first sub authentication request is the request instructing a second user to enter the first verification information; and the second sub verification information is the request instructing a third user to enter its second verification information.
In conclusion, two different pieces of verification information of two users need to be obtained for an electronic payment authentication request. These two users can be a first user using a first terminal and a second or third user using a second or third terminal The two users can also be a second user using a second terminal and a third user using a third terminal. The technical proposal of the embodiment of the present invention can be carried out flexibly according to the specific environment; for example, when a couple makes an electronic payment with a terminal that bonds with an additional card, it requires to obtain not only the verification information of one part entered at a first terminal, but also the verification information of the other part (main card holder) entered at a second terminal In another scenario where a child makes an electronic payment with a terminal that bonds with an additional card, it requires to obtain not only the verification information of this child's father entered at a second terminal, but also the verification information of this child's mother entered at a third terminal.
Step 304: when receiving first verification information sent by the second terminal and second verification information sent by the third terminal, authenticating the first verification information and the second verification information.
In the embodiment of the present invention, after a second terminal receives the first sub authentication request, it would receive the entered first verification information, and send the first verification information to the server. Similarly, after the third terminal receives the second sub authentication request, it would receive the entered second verification information, and send the second verification information to the server. The server would authenticate the first verification information and the second verification information.
In the embodiment of the present invention, the first verification information and the second verification information are based on different payment terminals; therefore the safety level of the payment environment is quite high. Additionally, the first verification information and the second verification information could be presented in various modes, such as a password, a fingerprint, a gesture, a face and the like, further increasing the payment safety.
Step 305: sending the authentication result to the first terminal.
In the embodiment of the present invention, the authentication results are authentication success and authentication failure. For the authentication of an electronic payment, the embodiment of the present invention divides an authentication request into two sub authentication requests, and sends them to two terminals respectively, then two different users enter two different pieces of verification information respectively to authenticate at the same time, when the verification information of the two users is verified, the final authentication of this electronic payment is successful, greatly improving the authentication safety, ensuring a payment environment with a high security level, and guaranteeing users' property.
a receiving unit 41, used to receive an authentication request sent by a first terminal;
a determining unit 42, used to determine at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request;
a first sending unit 43, used to send the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
an authentication unit 44, used to, when receiving a first verification information sent by the second terminal and a second verification information sent by the third terminal, authenticate the first verification information and the second verification information;
a second sending unit 45, used to send the authentication result to the first terminal;
wherein the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
As those skilled in the art should understand, the realized function of each unit in the server shown in
a receiving unit 51, used to receive an authentication request sent by a first terminal;
a determining unit 52, used to determine at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request;
a first sending unit 53, used to send the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
an authentication unit 54, used to, when receiving a first verification information sent by the second terminal and a second verification information sent by the third terminal, authenticate the first verification information and the second verification information;
a second sending unit 55, used to send the authentication result to the first terminal;
wherein the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
The second sending unit 55 is further used to send an authentication success message to the first terminal when the first verification information is verified and so is the second verification information.
The second sending unit 55 is further used to send an authentication failure message to the first terminal when the verification of the first verification information or the second verification information fails.
The determining unit 52 comprises:
a finding subunit 521, used to find an authentication strategy matching with the authentication request;
a first determining subunit 522, used to determine at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request.
As those skilled in the art should understand, the realized function of each unit in the server shown in
a receiving unit 61, used to receive an authentication request sent by a first terminal;
a determining unit 62, used to determine at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request;
a first sending unit 63, used to send the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
an authentication unit 64, used to, when receiving a first verification information sent by the second terminal and a second verification information sent by the third terminal, authenticate the first verification information and the second verification information;
a second sending unit 65, used to send the authentication result to the first terminal;
wherein the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
The second sending unit 65 is further used to send an authentication success message to the first terminal when the first verification information is verified and so is the second verification information.
The second sending unit 66 is further used to send an authentication failure message to the first terminal when the verification of the first verification information or the second verification information fails.
The determining unit 62 comprises:
a finding subunit 621, used to find an authentication strategy matching with the authentication request;
a first determining subunit 622, used to determine at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request.
The determining unit 62 further comprises:
a detecting subunit 623, used to, when more than two authentication strategies matching with the authentication request are found, send a detecting message to the second terminal and the third terminal to detect an authentication method supported by the second and third terminals;
a second determining unit 624, used to receive response messages sent by the second and third terminals, and based on the response messages, determining the authentication method supported by the second and third terminals;
a first selected sub unit 625 is further used to, based on the authentication method supported by the second and third terminals, select an authentication strategy matching with the authentication method supported by the second and third terminals.
As those skilled in the art should understand, the realized function of each unit in the server shown in
a receiving unit 71, used to receive an authentication request sent by a first terminal;
a determining unit 72, used to determine at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request;
a first sending unit 73, used to send the first sub authentication request to a second terminal and the second sub authentication request to a third terminal;
an authentication unit 74, used to, when receiving a first verification information sent by the second terminal and a second verification information sent by the third terminal, authenticate the first verification information and the second verification information;
a second sending unit 75, used to send the authentication result to the first terminal;
wherein the second terminal or the third terminal is the same terminal as the first terminal or is a different terminal from the first terminal.
The second sending unit 75 is further used to send an authentication success message to the first terminal when the first verification information is verified and so is the second verification information.
The second sending unit 76 is further used to send an authentication failure message to the first terminal when the verification of the first verification information or the second verification information fails.
The determining unit 72 comprises:
a finding subunit 721, used to find an authentication strategy matching with the authentication request;
a first determining subunit 722, used to determine at least a first sub authentication request and a second sub authentication request with both corresponding to the authentication request.
The determining unit 72 further comprises:
a second selected sub unit 723, wherein when more than two authentication strategies matching with the authentication request are found, the second selecting subunit is used to select, based on the priorities, an authentication strategy with the highest priority from the more than two authentication strategies.
As those skilled in the art should understand, the realized function of each unit in the server shown in
The technical solutions in the embodiments of the present invention can be combined randomly in the case of no conflicts.
In a plurality of embodiments provided herein, it should be understood that the realizations of the disclosed method and the intelligent appliance by other means are possible. The appliance embodiments of the present invention is only schematic, in other words, the units are categorized depending on the logic function or in other application methods, for example: a plurality of units or components can be combined or integrated into another system, or certain characteristics can be omitted or not exercised. Additionally, coupling, direct coupling, or communication connections among the component parts as shown or discussed may be implemented through some interface(s), and indirect coupling or communication connections of devices or units may be in an electrical, mechanical, or other forms.
The units described above as separate components may be or may not be separated physically. The components illustrated as units may be or may not be physical units, which can be located in one place, and also can be distributed to a plurality of network units; the object of the present solution of the embodiment can be achieved by some or all of the units, according to actual requirements.
In addition, all functional units in the embodiments of the present invention can be fully integrated into a second processing unit, or each functional unit is separately used as a unit or two or more units are integrated into one unit; moreover, the integrated unit can be realized in the hardware manner or in the manner of hardware plus software functional unit.
The above are only some particular implementations of the present disclosure, and the protection scope of the present disclosure is not limited thereto. Variations or alterations that are within the technical scope as disclosed in the present disclosure and may be readily conceived by those skilled in the art fall within the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201510963993.7 | Dec 2015 | CN | national |