Method, server and the intelligent terminal that client logs in is realized by intelligent terminal
Technical field
The present invention relates to Computer Applied Technology field, particularly relate to realize, by intelligent terminal, method, server and the intelligent terminal that client logs in.
Background technology
In a lot of network application scenes, user, it is generally required to first input login account and password in the client, makes client be successfully logged onto on the server providing network english teaching, and user just can use various network application software on the client. Such as, online game or online payment etc., be all that this login mechanism is to provide the user network english teaching. But, login account and password can be simultaneously exposed under public network, and are easy to be intercepted and captured by invader, cause that login account is lost, and login process lacks safety.
Another kind of traditional login mode is, user only inputs login account in the client, and one can be obtained on user mobile phone by server stochastic generation the short message verification code being sent to user mobile phone, user further inputs this short message verification code in the client. But, this login method operates relatively loaded down with trivial details for a user, it has not been convenient to user operation.
Summary of the invention
In order to solve above-mentioned technical problem, embodiments provide and realize, by intelligent terminal, method, server and the intelligent terminal that client logs in, both login process can have been made simpler easily, user-friendly, it is also possible to meet the login process demand to safety further.
The embodiment of the invention discloses following technical scheme:
A kind of method realizing client login by intelligent terminal, including:
Server receives the login request message carrying login account that client sends;
Server is from listed intelligent terminal, searching the intelligent terminal that the login account identical with described client use logs in and/or the intelligent terminal binding login account login using described client, the intelligent terminal found allows or refuses the control intelligent terminal that described client logs in;
Server forwards described login request message to the control intelligent terminal of described client;
Server receives the login response message controlling intelligent terminal's transmission of described client;
The server instruction according to described login response message, it is allowed to or refuse the login of described client.
Preferably, also include:
Server receives the information inquiring request message that the intelligent terminal having logged on sends;
Server is from listed client, searching the client using identical login account to log in described listed intelligent terminal and/or the client using the binding login account of described listed intelligent terminal to log in, the client found is be subject to described listed intelligent terminal to control the controlled client that could log in;
The information inquiry response message of the log-on message that the controlled client carrying described listed intelligent terminal is reported by server is sent to described listed intelligent terminal;
Server receives request of the publishing message carrying controlled client identification that described listed intelligent terminal sends;
The controlled client of the described listed intelligent terminal indicated by described controlled client identification is published by server.
It is further preferred that also include:
Server sends to described listed intelligent terminal and publishes response message.
Preferably, at server from listed intelligent terminal, after the intelligent terminal that the intelligent terminal searching the login account login identical with described client use and/or the binding login account using described client log in, and to before the control intelligent terminal of described client forwards described login request message, also including:
One identifying code of server stochastic generation;
Described identifying code is sent to described client by server;
Then described server forwards the described login request message to be to the control intelligent terminal of described client:
Server forwards, to the intelligent terminal that controls of described client, the described login request message also carrying described identifying code.
Or, preferably, at server from listed intelligent terminal, after the intelligent terminal that the intelligent terminal searching the login account login identical with described client use and/or the binding login account using described client log in, and to before the control intelligent terminal of described client forwards described login request message, also including:
One identifying code of server stochastic generation;
Described identifying code is sent to described client by server;
Server receives the login request message again carrying described identifying code that described client sends;
Then described server forwards the described login request message to be to the control intelligent terminal of described client:
Server forwards, to the intelligent terminal that controls of described client, the described login request message also carrying described identifying code.
Preferably, when the intelligent terminal found is multiple,
Described server forwards the described login request message to be to the control intelligent terminal of described client:
Server is using control intelligent terminal as described client of all intelligent terminal of finding, and forwards described login request message to the control intelligent terminal of described client;
The then described server instruction according to described login response message, it is allowed to or refuse described client and log on as:
Server selects one to control the login response message that intelligent terminal sends, the instruction according to the login response message selected, it is allowed to or refuse the login of described client.
Preferably, when the intelligent terminal found is multiple,
Described server forwards described login request message to the control intelligent terminal of described client, including:
Server, from all intelligent terminal searched, selects an intelligent terminal as the control intelligent terminal of described client;
Service area forwards described login request message to the control intelligent terminal of the described client selected.
A kind of method realizing client login by intelligent terminal, including:
Intelligent terminal signs in on server;
Server described in intelligent terminal for reception is the login request message carrying login account that client forwards;
Intelligent terminal generates according to described login request message and shows that the first of described login account logs in control interface, and described first login controls interface and uses the login account in described login request message to sign in described server for pointing out user to allow or refusing described client;
Intelligent terminal sends login response message according to the instruction of user to described server.
Preferably, also include:
Intelligent terminal sends information inquiring request message to described server;
The information inquiry response message that server described in intelligent terminal for reception sends, described information inquiry response message carries and is controlled, by described intelligent terminal, the log-on message of controlled client that could log in, client that the controlled client of described intelligent terminal includes using identical login account to log in described intelligent terminal and/or use and the client of login account login that the login account of described intelligent terminal is bound mutually;
Intelligent terminal according to described information inquiry response message generate publish interface, described in publish interface for pointing out user the controlled client of described intelligent terminal to be published;
Intelligent terminal sends request of the publishing message carrying controlled client identification to described server, in order to the controlled client indicated by described controlled client identification is published by described server.
Preferably, also include:
What server described in intelligent terminal for reception sent publishes response message.
Preferably, described login request message also carries the identifying code of server stochastic generation,
Then described intelligent terminal generates the first login according to described login request message and controls interface, and described first logs in and control interface and sign in on described server for the login account pointing out user to allow or to refuse in the client described login request message of use be:
According to the generation of described login request message, intelligent terminal shows that the second login of described identifying code and described login account controls interface simultaneously, described second logs in control interface for pointing out user to sign in described server according to the login account in the permission of described identifying code or the client described login request message of use.
A kind of server, including:
First login request message receives unit, for receiving the login request message carrying login account that client sends;
Intelligent terminal searches unit, for from the intelligent terminal logged in, searching the intelligent terminal that the login account identical with described client use logs in and/or the intelligent terminal binding login account login using described client, the intelligent terminal found allows or refuses the control intelligent terminal that described client logs in;
Login request message retransmission unit, for forwarding described login request message to the control intelligent terminal of described client;
Login response message reception units, for receiving the login response message controlling intelligent terminal's transmission of described client;
Log in control unit, for the instruction according to described login response message, it is allowed to or refuse the login of described client.
Preferably, also include:
Information inquiring request message reception units, for receiving the information inquiring request message that listed intelligent terminal sends;
Client searches unit, for from listed client, searching the client using identical login account with described listed intelligent terminal and/or the client using the binding login account of described listed intelligent terminal to log in, the client found is be subject to described listed intelligent terminal to control the controlled client that could log in;
Information inquiry response message sending unit, the information inquiry response message of the log-on message for the controlled client carrying described listed intelligent terminal being reported is sent to described listed intelligent terminal;
Publish request message reception units, for receiving request of the publishing message carrying controlled client identification that described listed intelligent terminal sends;
Publish control unit, for the controlled client of the described listed intelligent terminal indicated by described controlled client identification being published.
Preferably, also include:
Publish response message transmitting element, publish response message for sending to described listed intelligent terminal.
Preferably, search between unit and login request message retransmission unit described intelligent terminal, also include:
Identifying code generates unit, for one identifying code of stochastic generation;
Identifying code transmitting element, for being sent to described client by described identifying code;
Then described login request message retransmission unit, for forwarding, to the intelligent terminal that controls of described client, the described login request message also carrying described identifying code.
Preferably, search between unit and login request message retransmission unit described intelligent terminal, also include:
Identifying code generates unit, for one identifying code of stochastic generation;
Identifying code transmitting element, for being sent to described client by described identifying code;
Second login request message receives unit, for receiving the login request message again carrying described identifying code that described client sends;
Then described login request message retransmission unit, for forwarding, to the intelligent terminal that controls of described client, the described login request message carrying described identifying code.
Preferably, when the intelligent terminal found is multiple,
Described login request message retransmission unit includes:
First forwards subelement, for will all intelligent terminal that find as the control intelligent terminal of described client, and forward described login request message to the control intelligent terminal of described client;
Then described login control unit, for selecting one to control the login response message that intelligent terminal forwards, the instruction according to the login response message selected, it is allowed to or refuse the login of described client.
Preferably, when the intelligent terminal found is multiple,
Described login request message retransmission unit includes:
Select subelement, for, from all intelligent terminal found, selecting an intelligent terminal as the control intelligent terminal of described client;
Second forwards subelement, for forwarding described login request message to the control intelligent terminal of the described client selected.
A kind of intelligent terminal, including:
Log in unit, for signing in server;
Login request message receives unit, is the login request message carrying login account that client forwards for receiving described server;
Log in and control interface generation unit, showing that the first of described login account logs in control interface for generating according to described login request message, described first login controls interface and uses the login account in described login request message to sign in described server for pointing out user to allow or refusing described client;
Login response message sending unit, sends login response message according to the instruction of user to described server.
Preferably, also include:
Information inquiring request message sending unit, for sending information inquiring request message to described server;
Information inquiry response message reception units, for receiving the information inquiry response message that described server sends, described information inquiry response message carries and is controlled, by described intelligent terminal, the log-on message of controlled client that could log in, client that the controlled client of described intelligent terminal includes using identical login account to log in described intelligent terminal and/or use and the client of login account login that the login account of described intelligent terminal is bound mutually;
Publish interface generate unit, for according to described log-on message query response message generate publish interface, described in publish interface for pointing out user the controlled client of described intelligent terminal to be published;
Publish request message sending unit, for sending request of the publishing message carrying controlled client identification to described server, in order to the controlled client indicated by described controlled client identification is published by described server.
It is further preferred that also include:
Publish response message receive unit, for receive described server send publish response message.
Preferably, described login request message also carries the identifying code of server stochastic generation,
Then described login controls interface generation unit, controlling interface for generating the second login showing described identifying code and described login account according to described login request message simultaneously, described second logs in control interface uses the login account in described login request message to sign in described server for pointing out user to allow according to described identifying code or refusing client.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of flow chart being realized the method that client logs in by intelligent terminal that the embodiment of the present invention one discloses;
Fig. 2 is the schematic diagram of a kind of client login interface of the present invention;
Fig. 3 is that a kind of intelligent terminal of the present invention logs in the schematic diagram controlling interface;
Fig. 4 is a kind of flow chart being realized the method that client logs in by intelligent terminal that the embodiment of the present invention two discloses;
Fig. 5 is a kind of flow chart being realized the method that client logs in by intelligent terminal that the embodiment of the present invention three discloses;
Fig. 6 is the schematic diagram of another kind client login interface of the present invention;
Fig. 7 is the schematic diagram that another kind intelligent terminal of the present invention controls interface;
Fig. 8 is a kind of flow chart being realized the method that client logs in by intelligent terminal that the embodiment of the present invention four discloses;
Fig. 9 is a kind of flow chart being realized the method that client logs in by intelligent terminal that the embodiment of the present invention five discloses;
Figure 10 is a kind of flow chart being realized the method that client logs in by intelligent terminal that the invention process six discloses;
Figure 11 is the schematic diagram that a kind of intelligent terminal of the present invention publishes interface;
Figure 12 is a kind of flow chart being realized the method that client logs in by intelligent terminal that the invention process seven discloses;
Figure 13 is the structure chart of a kind of server that the embodiment of the present invention eight discloses;
Figure 14 is the structure chart of the another kind of server that the embodiment of the present invention eight discloses;
Figure 15 is the structure chart of the another kind of server that the embodiment of the present invention eight discloses;
Figure 16 is the structure chart of a kind of intelligent terminal that the embodiment of the present invention nine discloses;
Figure 17 is the structure chart of the another kind of intelligent terminal that the embodiment of the present invention nine discloses.
Detailed description of the invention
Embodiments provide and realize, by intelligent terminal, method, server and the intelligent terminal that client logs in. When client request signs in server by a login account, directly confirmed whether this client can sign in on server by the intelligent terminal having logged onto again by this login account, if intelligent terminal confirms that client can sign in on server, server allows this client to log in, otherwise, server refuses the login of this client. In the process that client logs in, it is not necessary to inputted note check code by user again, easy to operate.
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
Embodiment one
The present embodiment one is intended to the login process describing client from the angle of server side. Refer to Fig. 1, its a kind of flow chart being realized the method that client logs in by intelligent terminal disclosed for the embodiment of the present invention one, the method comprises the following steps:
Step 101: server receives the login request message carrying login account that client sends;
In order to conveniently describe and understand technical scheme, the present embodiment be all based on a concrete application scenarios in steps, such as, customer end A needs to sign in in the server B providing some application service, as shown in Figure 2, when a login account sa*****liu1 is input to customer end A by user, and after clicking " mobile phone one-key login " button, the login request message carrying sa*****liu1 is sent to server B by customer end A.
Step 102: server is from listed intelligent terminal, searching the intelligent terminal that the login account identical with described client use logs in and/or the intelligent terminal binding login account login using described client, the intelligent terminal found allows or refuses the control intelligent terminal that described client logs in;
Various intelligent terminal sign in in server B respectively through different login accounts, after having an intelligent terminal to sign in server B, the essential information relevant to login all can be recorded by server B, such as, the session identification (sessionID) recording each intelligent terminal logged in and the login account etc. used. Server B searches the same login account sa*****liu1 of the use intelligent terminal logged according to login record, assuming to find a current listed intelligent terminal C also to be logged in by login account sa*****liu1, intelligent terminal C is exactly the control intelligent terminal signing in server B for allowing or break off relations customer end A.
At present, the account system of a lot of Internet enterprises can accomplish account intercommunication, and intelligent terminal is except can using login account to log in, it is also possible to uses the binding login account with login account binding to log in. Such as, after email address and phone number are bound, email address and phone number bind login account each other, namely, if email address is the login account of client, phone number is the binding login account of client, and intelligent terminal both can be logged in by email address, it is also possible to is logged in by phone number. It is to say, login account generally has the login account of one or more mutual binding, intelligent terminal can pass through wherein any one binding login account and log in.
Such as, in the inventive solutions, after server B determines the login account sa*****liu1 login account 135*****049 having a mutual binding according to historical record, server B is searched in listed intelligent terminal and is used the login account 135*****049 intelligent terminal logged in, assuming to find a current listed intelligent terminal D to be through what login account 135*****049 logged in, intelligent terminal D also allows for or refuses customer end A signing in the control intelligent terminal of server B.
It should be noted that, " intelligent terminal " in technical solution of the present invention can be able to provide login authentication (namely into client, allow or refusal log in) the terminal of any one physical form, for instance, mobile phone, panel computer or portable computer etc.
Step 103: server forwards described login request message to the control intelligent terminal of described client;
Step 104: server receives the login response message controlling intelligent terminal's transmission of described client;
Step 105: the server instruction according to described login response message, it is allowed to or refuse the login of described client.
When server B finds the control intelligent terminal of customer end A for after intelligent terminal C, login request message is forwarded to intelligent terminal C, determined that permission or refusal customer end A sign in in server B by intelligent terminal C side further, and returning login response message to server B, this login response message instruction server B allows or refusal customer end A logs in. Such as, as shown in Figure 3, a window can be ejected in intelligent terminal C side, this window shows two buttons: " confirming to log in " button and " refusal logs in " button, be used for pointing out user to allow or refusing certain client being logged in by login account sa*****liu1.
In above-mentioned steps 102, if server B is found multiple intelligent terminal and all logged in by login account sa*****liu1, e.g., intelligent terminal C1, C2 and C3. In step 103, one is achieved in that, server B, using control intelligent terminal as customer end A of all intelligent terminal of finding, controls server B and forwards login request message respectively to intelligent terminal C1, C2 and C3. Or, another kind is achieved in that, server B arbitrarily selects an intelligent terminal as the control intelligent terminal of customer end A from all intelligent terminal found, as, the control intelligent terminal that server B selects intelligent terminal C1 to be customer end A, and only forward login request message to intelligent terminal C1.
Accordingly, when server B forwards login request message respectively to intelligent terminal C1, C2 and C3, in step 105, server B selects a login response message from 3 login response message that intelligent terminal C1, C2 and C3 send, and can according to the instruction of this login response message selected, it is allowed to or the login of refusal customer end A.Wherein, server B can preset priority, and determine the login response message selecting which intelligent terminal to return according to priority orders. For example, it is possible to arrive the sequencing setting priority of server B according to login response message, the priority of the login response message more first arriving server B is more high, and the priority of the login response message of more late arrival server B is more low. Assume that the intelligent terminal C1 login response message returned arrives server B at first, the login response message that intelligent terminal C2 returns is taken second place, the login response message that intelligent terminal C3 returns arrives server B the latest, therefore, server B selects the intelligent terminal C1 login response message returned, and the instruction according to the intelligent terminal C1 login response message returned, it is allowed to or the login of refusal customer end A.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
Embodiment two
The present embodiment and embodiment one are distinctive in that, after client logins successfully, listed client according to user's needs, can also be published process by intelligent terminal. Refer to Fig. 4, its a kind of flow chart being realized the method that client logs in by intelligent terminal disclosed for the embodiment of the present invention two, comprise the following steps:
Step 401: server receives the login request message carrying login account that client sends;
Step 402: server is from listed intelligent terminal, searching the intelligent terminal that the login account identical with described client use logs in and/or the intelligent terminal binding login account login using described client, the intelligent terminal found allows or refuses the control intelligent terminal that described client logs in;
Step 403: server forwards described login request message to the control intelligent terminal of described client;
Step 404: the server instruction according to described login response message, it is allowed to or refuse the login of described client;
The concrete execution process of above-mentioned steps 401-404 may refer to the step 101-104 in embodiment one, repeats no more in the present embodiment.
Step 405: server receives the information inquiring request message that the intelligent terminal having logged on sends;
Step 406: server is from listed client, searching the client using identical login account to log in described listed intelligent terminal and/or the client using the binding login account of described listed intelligent terminal to log in, the client found is be subject to described listed intelligent terminal to control the controlled client that could log in;
Such as, after intelligent terminal C signs in in server B by login account sa*****liu1, intelligent terminal C sends an inquiry request message to server B, the intelligent terminal C inquiry request message sent can carry the login account sa*****liu1 of intelligent terminal C, server B can find the login record of each client using this login account to log according to login account sa*****liu1 on backstage, login record includes the session identification of each client using this login account to log in (whenever a client signs in after on server, server will be client one session identification of distribution of each login, and be documented in the login record of this client), corresponding client executing is published operation according to session identification by server B.Whenever having client to sign in in server B, server B will record the login account that each client of login uses in login record. Server B searches the same login account sa*****liu1 of the use all clients logged according to login record, and some client is to sign in in server B after the confirmation of intelligent terminal C in these clients searched, also some client is the confirmation without intelligent terminal C and is directly logged onto in server B. Such as, server B finds customer end A 1 and A2 uses login account sa*****liu1 to sign in in server B, wherein, customer end A 1 is after the confirmation of intelligent terminal C, login account sa*****liu1 is used to sign in in server B, customer end A 2 confirms without intelligent terminal C, signs in in server B either directly through login account sa*****liu1.
It addition, similar with intelligent terminal, client is except can using login account to log in, it is also possible to use the binding login account with login account binding to log in. Such as, after email address and phone number are bound, email address and phone number bind login account each other, namely, if email address is the login account of client, phone number is the binding login account of client, and client both can be logged in by email address, it is also possible to is logged in by phone number. It is to say, login account generally has the login account of one or more mutual binding, client can be passed through wherein any one binding login account and log in.
In view of the situation, login account sa*****liu1 is also possible to the login account that there is binding mutually, if according to historical record, server side B determines that login account sa*****liu1 exists a login account 135*****049 bound mutually after, can also search on backstage and use the login account 135*****049 client logged in, such as, server B finds customer end A 3 is use login account 135*****049 on server B.
Step 407: the information inquiry response message of the log-on message that the controlled client carrying described listed intelligent terminal is reported by server is sent to described listed intelligent terminal;
Such as, after having client to sign in server, all can report log-on message to this server. The log-on message that customer end A 1, A1 and A3 report is sent to intelligent terminal C by server B. So-called " log-on message " includes but not limited to: login account used during login, login time, client type, client log in place, the login IP address of client and Application Type.
Step 408: server receives request of the publishing message carrying controlled client identification that described listed intelligent terminal sends;
When intelligent terminal C receive about customer end A 1, A2 and A3 log-on message after, it is possible to determine which or which client need not log according to these log-on messages, and to server send publish request message.
In the inventive solutions, the session identification of listed client can be given as " controlled client identification " server-assignment, server can also be each controlled client one the characteristic of correspondence code of distribution found, and is specifically designed to and uniquely identifies each controlled client.
Step 409: the controlled client of the described listed intelligent terminal indicated by described controlled client identification is published by server.
Assume, if need not customer end A 1 log in, server B will receive intelligent terminal C request of the publishing message of the session identification carrying customer end A 1 sent, and server B first determines according to the session identification obtained that what need to publish is customer end A 1, then publishes customer end A 1 again.
Server B performed customer end A 1 publish process after, the scheme of the present embodiment can also to intelligent terminal C send publish response message, to notify that intelligent terminal C has completed customer end A 1 is published process.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
In addition, intelligent terminal can also monitor the logging status of client, and the publishing of the client controlling to monitor.
Embodiment three
The present embodiment and embodiment one are distinctive in that the login request message carrying this identifying code, while this identifying code is sent to client, is also sent to the control intelligent terminal of client by server one identifying code of further stochastic generation. Refer to Fig. 5, its a kind of flow chart being realized the method that client logs in by intelligent terminal disclosed for the embodiment of the present invention three, comprise the following steps:
Step 501: server receives the login request message carrying login account that client sends;
Step 502: server is from listed intelligent terminal, searching the intelligent terminal that the login account identical with described client use logs in and/or the intelligent terminal binding login account login using described client, the intelligent terminal found allows or refuses the control intelligent terminal that described client logs in;
Step 503: one identifying code of server stochastic generation;
Step 504: described identifying code is sent to described client by server;
Step 505: server forwards the described login request message also carrying described identifying code to the intelligent terminal of described client;
If the login account of a client is usurped by a stealer, and, illegitimate client and legitimate client initiate logging request within the close time period, if only carrying login account in the login request message controlling intelligent terminal be transmitted to legitimate client, the control intelligent terminal of this legitimate client will obtain two logging request about identical login account, and which control intelligent terminal's None-identified of this legitimate client goes out is the logging request of legitimate client, which is the logging request of illegitimate client, once allow it to log in as legitimate client illegitimate client, login process will be made to lose safety. therefore, after server receives a logging request, just for one identifying code of this logging request stochastic generation, and identifying code is sent to client, it is clear that the identifying code being sent to illegitimate client is different from the identifying code being sent to legitimate client. and, the login request message controlling intelligent terminal be transmitted to legitimate client not only carries login account, it is also added with identifying code, if the control intelligent terminal for reception of legitimate client is to carrying identical login account, but but carry two logging request of different identifying codes, according to the identifying code that legitimate client receives, just can correctly identify out in two logging request which is legitimate client, which is illegitimate client, allow for the login of legitimate client, and refuse the login of illegitimate client.
As shown in Figures 6 and 7, Fig. 6 shows that the identifying code that legitimate client receives is 12768, Fig. 7 shows that control intelligent terminal for reception to the identifying code of client is also the logging request of 12768, two identifying codes are identical, therefore, user can be the logging request of 12768 by clicking " confirming to log in " button permission identifying code shown in Fig. 7. If it is the logging request of 34569 that the control intelligent terminal of client also receives an identifying code, obviously, this logging request is not that legitimate client is initiated, and user can pass through to click " refusal login " button shown in Fig. 7 and refuse inspection of books the logging request that code is 34569.
Step 506: server receives the login response message controlling intelligent terminal's transmission of described client;
Step 507: the server instruction according to described login response message, it is allowed to or refuse the login of described client.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
In addition, even if the stolen taker of login account is intercepted and captured, by identifying code mechanism, equally possible meet the login process demand to safety.
Embodiment four
The present embodiment and embodiment three are distinctive in that, server identifying code is sent to client, and is not sent to the control intelligent terminal of client. After client initiates a login request message again carrying identifying code to server again, server forwards the login request message carrying identifying code and login account, the equally possible secure log effect reached with embodiment three to the intelligent terminal that controls of client again. Refer to Fig. 8, its a kind of flow chart being realized the method that client logs in by intelligent terminal disclosed for the embodiment of the present invention three, comprise the following steps:
Step 801: server receives the login request message carrying login account that client sends;
Step 802: server is from listed intelligent terminal, searching the intelligent terminal that the login account identical with described client use logs in and/or the intelligent terminal binding login account login using described client, the intelligent terminal found allows or refuses the control intelligent terminal that described client logs in;
Step 803: one identifying code of server stochastic generation;
Step 804: described identifying code is sent to described client by server;
Step 805: server receives the login request message again carrying described identifying code that described client sends;
Step 806: server forwards, to the intelligent terminal that controls of described client, the described login request message also carrying described identifying code;
Wherein, control intelligent terminal at whois lookup to client, and after generating an identifying code, the corresponding relation controlled between intelligent terminal of this identifying code and this client found can be set up, when server receives the login request message again carrying identifying code, according to corresponding relation, it may be determined that control intelligent terminal corresponding to identifying code in the login request message again received, then the login request message also carrying this identifying code is forwarded.
Or, in step 805, the login request message again that server receives is except carrying identifying code, also carry login account, server again searches the control intelligent terminal of a client again according to login account, then the login request message also carrying this identifying code is forwarded.
Step 807: server receives the login response message controlling intelligent terminal's transmission of described client;
Step 808: the server instruction according to described login response message, it is allowed to or refuse the login of described client.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
In addition, even if the stolen taker of login account is intercepted and captured, by identifying code mechanism, equally possible meet the login process demand to safety.
Embodiment five
The present embodiment five is intended to the login process describing client from the angle of intelligent terminal side. Refer to Fig. 9, its a kind of flow chart being realized the method that client logs in by intelligent terminal disclosed for the embodiment of the present invention five, the method comprises the following steps:
Step 901: intelligent terminal signs in on server;
Step 902: server described in intelligent terminal for reception is the login request message carrying login account that client forwards;
Such as, an intelligent terminal C signs in in server B, and it is the login request message carrying login account sa*****liu1 that customer end A forwards that intelligent terminal C receives server B.
Step 903: intelligent terminal generates according to described login request message and shows that the first of described login account logs in control interface, and described first login controls interface and uses the login account in described login request message to sign in described server for pointing out user to allow or refusing described client;
Such as, as Fig. 3 logs in shown in control interface, Fig. 3 shows login account sa*****liu1, and also showing two buttons: " confirming to log in " button and " refusal logs in " button, the login shown in Fig. 3 controls interface in order to point out user to allow or refuse customer end A to use login account sa*****liu1 to sign in in server B by clicking " confirming to log in " button or " refusal logs in " button.
Step 904: intelligent terminal sends login response message according to the instruction of user to described server.
Such as, if user clicks " confirming to log in " button shown in Fig. 3, intelligent terminal C sends an instruction to server B and allows customer end A to use login account sa*****liu1 to sign in the login response message in server B, if user clicks " refusal logs in " button shown in Fig. 3, intelligent terminal C sends an instruction refusal customer end A to server B and uses login account sa*****liu1 to sign in the login response message in server B.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
Embodiment six
The present embodiment and embodiment five are distinctive in that, after client logins successfully, listed client according to user's needs, can also be published process by intelligent terminal. Refer to Figure 10, its a kind of flow chart being realized the method that client logs in by intelligent terminal disclosed for the embodiment of the present invention six, comprise the following steps:
Step 1001: intelligent terminal signs in on server;
Step 1002: server described in intelligent terminal for reception is the login request message carrying login account that client forwards;
Step 1003: intelligent terminal generates according to described login request message and shows that the first of described login account logs in control interface, and described first login controls interface and uses the login account in described login request message to sign in described server for pointing out user to allow or refusing described client;
Step 1004: intelligent terminal sends login response message according to the instruction of user to described server;
The execution process of above-mentioned steps 1001-1004 may refer to the step 901-904 in embodiment five, and the present embodiment no longer describes in detail.
Step 1005: intelligent terminal sends information inquiring request message to described server;
Step 1006: the information inquiry response message that server described in intelligent terminal for reception sends, described information inquiry response message carries and is controlled, by described intelligent terminal, the log-on message of controlled client that could log in, client that the controlled client of described intelligent terminal includes using identical login account to log in described intelligent terminal and/or use and the client of login account login that the login account of described intelligent terminal is bound mutually;
So-called " log-on message " includes but not limited to: login account used during login, login time, client type, client log in place, the login IP address of client and Application Type.
Step 1007: intelligent terminal according to described information inquiry response message generate publish interface, described in publish interface for pointing out user the controlled client of described intelligent terminal to be published;
Step 1008: intelligent terminal sends request of the publishing message carrying controlled client identification to described server, in order to the controlled client indicated by described controlled client identification is published by described server.
Such as, as shown in figure 11, it publishes the schematic diagram at interface for a kind of intelligent terminal of the present invention, wherein, there are 8 clients using identical login account to log in intelligent terminal, publish the log-on message that not only show 8 clients in interface, also have " a rolling off the production line " button, if according to log-on message, user determines that some or certain several clients need not log in, it is possible to make corresponding client publish by clicking corresponding " rolling off the production line " button.
After server performs and publishes operation accordingly, intelligent terminal can also receive server send publish response message.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
In addition, intelligent terminal can also monitor the logging status of client, and the publishing of the client controlling to monitor.
Embodiment seven
The present embodiment and embodiment one are distinctive in that, if carrying the identifying code of server stochastic generation in the login request message of intelligent terminal for reception, generating a login including this identifying code and controlling interface. As shown in figure 12, its a kind of flow chart being realized the method that client logs in by intelligent terminal disclosed for the embodiment of the present invention seven, comprise the following steps:
Step 1201: intelligent terminal signs in on server;
Step 1202: server described in intelligent terminal for reception is the login request message of the identifying code carrying login account and server stochastic generation that client forwards;
Step 1203: intelligent terminal generates according to described login request message and shows that the second login of described identifying code and described login account controls interface simultaneously, described second logs in control interface uses the login account in described login request message to sign in described server for pointing out user to allow according to described identifying code or refusing client;
Step 1204: intelligent terminal sends login response message according to the instruction of user to described server.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
In addition, even if the stolen taker of login account is intercepted and captured, by identifying code mechanism, equally possible meet the login process demand to safety.
Embodiment eight
With above-mentioned a kind of to realize, by intelligent terminal, the method that client logs in corresponding, the embodiment of the present invention additionally provides a kind of server. Refer to Figure 13, it is the structure chart of a kind of server that the embodiment of the present invention eight discloses, and this server includes the first login request message reception unit 1301, intelligent terminal searches unit 1302, login request message retransmission unit 1303, login response message reception units 1304 and logs in control unit 1305. Operation principle below in conjunction with this device is further described its internal structure and annexation.
First login request message receives unit 1301, for receiving the login request message carrying login account that client sends;
Intelligent terminal searches unit 1302, for from the intelligent terminal logged in, searching the intelligent terminal that the login account identical with described client use logs in and/or the intelligent terminal binding login account login using described client, the intelligent terminal found allows or refuses the control intelligent terminal that described client logs in;
Login request message retransmission unit 1303, for forwarding described login request message to the control intelligent terminal of described client;
Login response message reception units 1304, for receiving the login response message controlling intelligent terminal's transmission of described client;
Log in control unit 1305, for the instruction according to described login response message, it is allowed to or refuse the login of described client.
As shown in figure 14, on the basis of the structure shown in Figure 13, this server also includes:
Information inquiring request message reception units 1306, for receiving the information inquiring request message that listed intelligent terminal sends;
Client searches unit 1307, for from listed client, searching the client using identical login account with described listed intelligent terminal and/or the client using the binding login account of described listed intelligent terminal to log in, the client found is be subject to described listed intelligent terminal to control the controlled client that could log in;
Information inquiry response message sending unit 1308, the information inquiry response message of the log-on message for the controlled client carrying described listed intelligent terminal being reported is sent to described listed intelligent terminal;
Publish request message reception units 1309, for receiving request of the publishing message carrying controlled client identification that described listed intelligent terminal sends;
Publish control unit 1310, for the controlled client of the described listed intelligent terminal indicated by described controlled client identification being published.
This server can further include: publishes response message transmitting element, publishes response message for sending to described listed intelligent terminal.
As shown in figure 15, intelligent terminal in fig. 13 searches between unit 1302 and login request message retransmission unit 1303, and this server also includes:
Identifying code generates unit 1311, for one identifying code of stochastic generation;
Identifying code transmitting element 1312, for being sent to described client by described identifying code;
Then login request message retransmission unit 1303, for forwarding, to the intelligent terminal that controls of described client, the described login request message also carrying described identifying code.
Alternatively, intelligent terminal in fig. 13 searches between unit 1302 and login request message retransmission unit 1303, and this server also includes:
Identifying code generates unit, for one identifying code of stochastic generation;
Identifying code transmitting element, for being sent to described client by described identifying code;
Second login request message receives unit, for receiving the login request message again carrying described identifying code that described client sends;
Then login request message retransmission unit 1303, for forwarding, to the intelligent terminal that controls of described client, the described login request message also carrying described identifying code.
When the intelligent terminal found is for time multiple, login request message retransmission unit 1303 includes:
First forwards subelement, for will all intelligent terminal that find as the control intelligent terminal of described client, and forward described login request message to the control intelligent terminal of described client;
Then login control unit 1305, for selecting one to control the login response message that intelligent terminal forwards, the instruction according to the login response message selected, it is allowed to or refuse the login of described client.
Alternatively, when the intelligent terminal found is for time multiple, login request message retransmission unit 1303 includes:
Select subelement, for, from all intelligent terminal found, selecting an intelligent terminal as the control intelligent terminal of described client;
Second forwards subelement, for forwarding described login request message to the control intelligent terminal of the described client selected.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
In addition, even if the stolen taker of login account is intercepted and captured, by identifying code mechanism, equally possible meet the login process demand to safety. Intelligent terminal can also monitor the logging status of client, and the publishing of the client controlling to monitor.
Embodiment nine
With above-mentioned a kind of to realize, by intelligent terminal, the method that client logs in corresponding, the embodiment of the present invention additionally provides a kind of server. Refer to Figure 16, it is the structure chart of a kind of intelligent terminal that the embodiment of the present invention eight discloses, and this intelligent terminal includes: log in unit 1601, login request message receives unit 1602, login controls interface and generates unit 1603 and login response message sending unit 1604. Operation principle below in conjunction with this device is further described its internal structure and annexation.
Log in unit 1601, for signing in server;
Login request message receives unit 1602, is the login request message carrying login account that client forwards for receiving described server;
Log in and control interface generation unit 1603, showing that the first of described login account logs in control interface for generating according to described login request message, described first login controls interface and uses the login account in described login request message to sign in described server for pointing out user to allow or refusing client;
Login response message sending unit 1604, sends login response message according to the instruction of user to described server.
As shown in figure 17, on the basis of the structure shown in Figure 16, this intelligent terminal also includes:
Information inquiring request message sending unit 1605, for sending information inquiring request message to described server;
Information inquiry response message reception units 1606, for receiving the information inquiry response message that described server sends, described information inquiry response message carries and is controlled, by described intelligent terminal, the log-on message of controlled client that could log in, client that the controlled client of described intelligent terminal includes using identical login account to log in described intelligent terminal and/or use and the client of login account login that the login account of described intelligent terminal is bound mutually;
Publish interface generate unit 1607, for according to described information inquiry response message generate publish interface, described in publish interface for pointing out user the controlled client with described intelligent terminal to be published;
Publish request message sending unit 1608, for sending request of the publishing message carrying controlled client identification to described server, in order to the controlled client indicated by described controlled client identification is published by described server.
This server can further include: publish response message receive unit, for receive described server send publish response message.
Another kind of preferred scheme is, described login request message also carries the identifying code of server stochastic generation, then log in and control interface generation unit 1603, showing that the second of described identifying code and described login account logs in simultaneously control interface for generating according to described login request message, described second logs in and controls interface for pointing out user to allow according to described identifying code or refusing and described intelligent terminal uses the client that identical login account logs in sign in described server.
As can be seen from the above-described embodiment, compared with prior art, it is an advantage of the current invention that:
Client initiates a logging request by login account, directly sent by the intelligent terminal being in logging status and allow or refuse the login response that this client logs in, that is, controlled whether client can log in by a listed intelligent terminal, whole login process is simply easy, user-friendly.
Additionally, intelligent terminal must be in logging status, so it is possible to prevent unintelligent terminal user that this intelligent terminal is arbitrarily operated, it is to avoid unintelligent terminal user controls the login of client when using intelligent terminal, and then avoids the potential safety hazard thus brought.
In addition, even if the stolen taker of login account is intercepted and captured, by identifying code mechanism, equally possible meet the login process demand to safety. Intelligent terminal can also monitor the logging status of client, and the publishing of the client controlling to monitor.
It should be noted that, one of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above to provided by the present invention realizing, by intelligent terminal, method that client logs in, server and intelligent terminal are described in detail, principles of the invention and embodiment are set forth by specific embodiment used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.