Realize method, server and the intelligent terminal of client login by intelligent terminal
Technical field
The present invention relates to the Computer Applied Technology field, particularly relate to method, server and the intelligent terminal of realizing the client login by intelligent terminal.
Background technology
In a lot of network application scenes, the user generally needs input login account and password in client earlier, and client is successfully signed in to be provided on the server of network application service, and the user just can use the diverse network application software in client.For example, online game or online payment etc. all are that this login mechanism is come to provide the network application service for the user.But login account and password can be exposed under the public network simultaneously, and are easy to invaded person's intercepting and capturing, cause login account to be lost, and login process lacks fail safe.
Another kind of traditional login mode is, the user only imports login account in client, generate and send short-message verification sign indicating number to user mobile phone and can obtain one on user mobile phone at random by server, the user further imports this short-message verification sign indicating number again in client.But the operation for the user of this login method is relatively loaded down with trivial details, inconvenient user's operation.
Summary of the invention
In order to solve the problems of the technologies described above, the embodiment of the invention provides method, server and the intelligent terminal of realizing the client login by intelligent terminal, both can make login process easily simple, user-friendly more, can also further satisfy login process to the demand of fail safe.
The embodiment of the invention discloses following technical scheme:
A kind of method by the login of intelligent terminal realization client comprises:
Server receives the login request message of carrying login account that client sends;
Server is from listed intelligent terminal, search the intelligent terminal that uses the intelligent terminal of identical login account login with described client and/or use the binding login account login of described client, the intelligent terminal that finds is for allowing or refuse the control intelligent terminal of described client login;
Server is transmitted described login request message to the control intelligent terminal of described client;
Server receives the login response message of the control intelligent terminal transmission of described client;
Server allows or refuses described client login according to the indication of described login response message.
Preferably, also comprise:
Server receives the information inquiring request message of the intelligent terminal transmission of having logined;
Server is from listed client, search the client of using the client of identical login account login with described listed intelligent terminal and/or using the binding login account login of described listed intelligent terminal, the client that finds is the controlled client that could login by described listed intelligent terminal control;
The information inquiry response message that server will carry the log-on message that the controlled client of described listed intelligent terminal reports sends to described listed intelligent terminal;
Server receives the request message of publishing that carries controlled client identification that described listed intelligent terminal sends;
The controlled client of the described listed intelligent terminal that server is indicated with described controlled client identification is published.
Further preferred, also comprise:
Server sends to described listed intelligent terminal and publishes response message.
Preferably, at server from listed intelligent terminal, search and use the intelligent terminal of identical login account login with described client and/or use after the intelligent terminal of binding login account login of described client, and before transmitting described login request message to the control intelligent terminal of described client, also comprise:
Server generates an identifying code at random;
Server sends to described client with described identifying code;
Then described server is transmitted described login request message to the control intelligent terminal of described client and is:
Server is transmitted the described login request message of also carrying described identifying code to the control intelligent terminal of described client.
Perhaps, preferably, at server from listed intelligent terminal, search and use the intelligent terminal of identical login account login with described client and/or use after the intelligent terminal of binding login account login of described client, and before transmitting described login request message to the control intelligent terminal of described client, also comprise:
Server generates an identifying code at random;
Server sends to described client with described identifying code;
Server receives the login request message again of carrying described identifying code that described client sends;
Then described server is transmitted described login request message to the control intelligent terminal of described client and is:
Server is transmitted the described login request message of also carrying described identifying code to the control intelligent terminal of described client.
Preferably, when the intelligent terminal that finds when being a plurality of,
Described server is transmitted described login request message to the control intelligent terminal of described client:
All intelligent terminals that server will find are as the control intelligent terminal of described client, and transmit described login request message to the control intelligent terminal of described client;
Then described server allows or refuses described client to log on as according to the indication of described login response message:
The login response message that server selects a control intelligent terminal to send according to the indication of the login response message of selecting, allows or refuses described client login.
Preferably, when the intelligent terminal that finds when being a plurality of,
Described server is transmitted described login request message to the control intelligent terminal of described client, comprising:
Server selects an intelligent terminal as the control intelligent terminal of described client from all intelligent terminals of searching;
Service area is transmitted described login request message to the control intelligent terminal of the described client of selecting.
A kind of method by the login of intelligent terminal realization client comprises:
Intelligent terminal signs in on the server;
It is the login request message of carrying login account that client is transmitted that intelligent terminal receives described server;
Intelligent terminal generates first login that shows described login account according to described login request message and controls the interface, and the described first login control interface is used for prompting user permission or refuses described client and use the login account of described login request message to sign in to described server;
Intelligent terminal sends login response message according to user's indication to described server.
Preferably, also comprise:
Intelligent terminal sends information inquiring request message to described server;
Intelligent terminal receives the information inquiry response message that described server sends, carry the log-on message that is subjected to the controlled client that the control of described intelligent terminal could login in the described information inquiry response message, the controlled client of described intelligent terminal comprises the client that the login account that uses the login account of the client of identical login account login and/or use and described intelligent terminal to bind mutually with described intelligent terminal is logined;
Intelligent terminal generates according to described information inquiry response message and publishes the interface, and the described interface of publishing is used for pointing out the user that the controlled client of described intelligent terminal is published;
Intelligent terminal sends the request message of publishing that carries controlled client identification to described server, so that the described server controlled client that described controlled client identification is indicated is published.
Preferably, also comprise:
Intelligent terminal receives the response message of publishing of described server transmission.
Preferably, described login request message is also carried the identifying code that server generates at random,
Then described intelligent terminal is logined according to described login request message generation first and is controlled the interface, and the described first login control interface for pointing out user's permission or refusal client to use the login account of described login request message to sign in on the described server is:
Intelligent terminal generates the second login control interface that shows described identifying code and described login account simultaneously according to described login request message, and the described second login control interface is used for that the prompting user allows according to described identifying code or client uses the login account of described login request message to sign in to described server.
A kind of server comprises:
The first login request message receiving element is used for receiving the login request message of carrying login account that client sends;
Intelligent terminal is searched the unit, be used for from the intelligent terminal of login, search the intelligent terminal that uses the intelligent terminal of identical login account login with described client and/or use the binding login account login of described client, the intelligent terminal that finds is for allowing or refuse the control intelligent terminal of described client login;
The login request message retransmission unit is used for transmitting described login request message to the control intelligent terminal of described client;
Login response message sink unit is for the login response message of the control intelligent terminal transmission that receives described client;
The login control unit is used for the indication according to described login response message, allows or refuse described client login.
Preferably, also comprise:
Information inquiring request message sink unit is used for receiving the information inquiring request message that listed intelligent terminal sends;
Client is searched the unit, be used for from listed client, search the client of using the client of identical login account with described listed intelligent terminal and/or using the binding login account login of described listed intelligent terminal, the client that finds is the controlled client that could login by described listed intelligent terminal control;
The information inquiry response message sending unit, the information inquiry response message that is used for carrying the log-on message that the controlled client of described listed intelligent terminal reports sends to described listed intelligent terminal;
Publish the request message receiving element, be used for receiving the request message of publishing that carries controlled client identification that described listed intelligent terminal sends;
Publish control unit, the controlled client that is used for the described listed intelligent terminal that described controlled client identification is indicated is published.
Preferably, also comprise:
Publish the response message transmitting element, be used for publishing response message to described listed intelligent terminal transmission.
Preferably, search between unit and the login request message retransmission unit at described intelligent terminal, also comprise:
The identifying code generation unit is used for generating at random an identifying code;
The identifying code transmitting element is used for described identifying code is sent to described client;
Then described login request message retransmission unit is used for transmitting the described login request message of also carrying described identifying code to the control intelligent terminal of described client.
Preferably, search between unit and the login request message retransmission unit at described intelligent terminal, also comprise:
The identifying code generation unit is used for generating at random an identifying code;
The identifying code transmitting element is used for described identifying code is sent to described client;
The second login request message receiving element is used for receiving the login request message again of carrying described identifying code that described client sends;
Then described login request message retransmission unit is used for transmitting the described login request message of carrying described identifying code to the control intelligent terminal of described client.
Preferably, when the intelligent terminal that finds when being a plurality of,
Described login request message retransmission unit comprises:
First transmits subelement, is used for all intelligent terminals that will find as the control intelligent terminal of described client, and transmits described login request message to the control intelligent terminal of described client;
Then described login control unit is used for the login response message that control intelligent terminal of selection is transmitted, and according to the indication of the login response message of selecting, allows or refuse described client login.
Preferably, when the intelligent terminal that finds when being a plurality of,
Described login request message retransmission unit comprises:
The chooser unit is used for all intelligent terminals from finding, and selects an intelligent terminal as the control intelligent terminal of described client;
Second transmits subelement, is used for transmitting described login request message to the control intelligent terminal of the described client of selecting.
A kind of intelligent terminal comprises:
The login unit is used for signing in to server;
The login request message receiving element, being used for receiving described server is the login request message of carrying login account that client is transmitted;
Login control interface generation unit, be used for generating first login that shows described login account according to described login request message and control the interface, the described first login control interface is used for prompting user permission or refuses described client and use the login account of described login request message to sign in to described server;
The login response message sending unit sends login response message according to user's indication to described server.
Preferably, also comprise:
The information inquiring request message sending unit is used for sending information inquiring request message to described server;
Information inquiry response message sink unit, be used for receiving the information inquiry response message that described server sends, carry the log-on message that is subjected to the controlled client that the control of described intelligent terminal could login in the described information inquiry response message, the controlled client of described intelligent terminal comprises the client that the login account that uses the login account of the client of identical login account login and/or use and described intelligent terminal to bind mutually with described intelligent terminal is logined;
Publish the interface generation unit, be used for publishing the interface according to described log-on message query response message generation, the described interface of publishing is used for pointing out the user that the controlled client of described intelligent terminal is published;
Publish the request message transmitting element, be used for sending the request message of publishing that carries controlled client identification to described server, so that the described server controlled client that described controlled client identification is indicated is published.
Further preferred, also comprise:
Publish the response message receiving element, be used for receiving the response message of publishing of described server transmission.
Preferably, described login request message is also carried the identifying code that server generates at random,
Then the interface generation unit is controlled in described login, be used for showing simultaneously according to described login request message generation the second login control interface of described identifying code and described login account, the described second login control interface allows according to described identifying code for the prompting user or the refusal client uses the login account of described login request message to sign in to described server.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of flow chart of realizing the method for client login by intelligent terminal that the embodiment of the invention one discloses;
Fig. 2 is the schematic diagram of a kind of client login interface of the present invention;
Fig. 3 is the schematic diagram at a kind of intelligent terminal login of the present invention control interface;
Fig. 4 is a kind of flow chart of realizing the method for client login by intelligent terminal that the embodiment of the invention two discloses;
Fig. 5 is a kind of flow chart of realizing the method for client login by intelligent terminal that the embodiment of the invention three discloses;
Fig. 6 is the schematic diagram of the another kind of client login interface of the present invention;
Fig. 7 is the schematic diagram at the another kind of intelligent terminal control of the present invention interface;
Fig. 8 is a kind of flow chart of realizing the method for client login by intelligent terminal that the embodiment of the invention four discloses;
Fig. 9 is a kind of flow chart of realizing the method for client login by intelligent terminal that the embodiment of the invention five discloses;
Figure 10 is a kind of flow chart of realizing the method for client login by intelligent terminal that the invention process six discloses;
Figure 11 publishes the schematic diagram at interface for a kind of intelligent terminal of the present invention;
Figure 12 is a kind of flow chart of realizing the method for client login by intelligent terminal that the invention process seven discloses;
Figure 13 is the structure chart of a kind of server of the embodiment of the invention eight announcements;
Figure 14 is the structure chart of the another kind of server of the embodiment of the invention eight announcements;
Figure 15 is the structure chart of the another kind of server of the embodiment of the invention eight announcements;
Figure 16 is the structure chart of a kind of intelligent terminal of the embodiment of the invention nine announcements;
Figure 17 is the structure chart of the another kind of intelligent terminal of the embodiment of the invention nine announcements.
Embodiment
The embodiment of the invention provides method, server and the intelligent terminal of realizing the client login by intelligent terminal.When client-requested signs in to server by a login account, confirm directly by the intelligent terminal that has signed in on the server by this login account equally whether this client can sign in on the server, if intelligent terminal confirms that client can sign in on the server, server allows this client login, otherwise server is refused this client login.In the process of client login, need not to import the note check code by the user again, easy to operate.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
Embodiment one
Present embodiment one is intended to describe from the angle of server side the login process of client.See also Fig. 1, it is that a kind of that the embodiment of the invention one discloses realizes the flow chart of the method for client login by intelligent terminal, and this method may further comprise the steps:
Step 101: server receives the login request message of carrying login account that client sends;
For convenience of description with understanding technical scheme of the present invention, present embodiment in steps all based on a concrete application scenarios, for example, customer end A need sign in on the server B that some application services are provided, as shown in Figure 2, when the user is input to customer end A with a login account sa*****liu1, and after clicking " mobile phone one-key login " button, the login request message that customer end A will be carried sa*****liu1 sends to server B.
Step 102: server is from listed intelligent terminal, search the intelligent terminal that uses the intelligent terminal of identical login account login with described client and/or use the binding login account login of described client, the intelligent terminal that finds is for allowing or refuse the control intelligent terminal of described client login;
Various intelligent terminals sign in on the server B by different login accounts respectively, after having an intelligent terminal to sign in to server B, server B all can be noted the essential information relevant with login, for example, the session identification (session ID) of each intelligent terminal of record login and employed login account etc.Server B is searched the intelligent terminal of same use login account sa*****liu1 login according to login record, suppose to find a present listed intelligent terminal C also by login account sa*****liu1 login, intelligent terminal C is exactly for allowing or break off relations the control intelligent terminal that customer end A signs in to server B.
At present, the number of the account system of a lot of the Internet enterprises can both be accomplished the account intercommunication, and intelligent terminal can also use the binding login account login with the login account binding except using login account logins.For example, after email address and phone number binding, email address and phone number are bound 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 logined by email address, also can login by phone number.That is to say that a login account has the login account of one or more mutual bindings usually, intelligent terminal can be by wherein any one binding login account login.
For example, in technical scheme of the present invention, after server B determines that according to historical record login account sa*****liu1 has a login account 135*****049 who binds mutually, server B is searched the intelligent terminal that uses login account 135*****049 login in listed intelligent terminal, suppose to find a present listed intelligent terminal D by login account 135*****049 login, intelligent terminal D allows or refuses the control intelligent terminal that customer end A signs in to server B.
Need to prove that " intelligent terminal " in the technical solution of the present invention can be the terminal that any one physical form of login authentication (that is, allowing or the refusal login) can be provided for client, for example, mobile phone, panel computer or portable computer etc.
Step 103: server is transmitted described login request message to the control intelligent terminal of described client;
Step 104: server receives the login response message of the control intelligent terminal transmission of described client;
Step 105: server allows or refuses described client login according to the indication of described login response message.
After control intelligent terminal that server B finds customer end A is intelligent terminal C, transmit login request message to intelligent terminal C, further determine to allow or refuse customer end A by intelligent terminal C side to sign in on the server B, and return login response message to server B, this login response message indication server B allows or the login of refusal customer end A.For example, as shown in Figure 3, can eject a window in intelligent terminal C side, show two buttons in this window: " confirming login " button and " refusal login " button are used for prompting user permission or refuse certain client by login account sa*****liu1 login.
In above-mentioned steps 102, if server B finds a plurality of intelligent terminals all by login account sa*****liu1 login, as, intelligent terminal C1, C2 and C3.In step 103, a kind of implementation is, all intelligent terminals that server B will find are as the control intelligent terminal of customer end A, and Control Server B transmits login request message respectively to intelligent terminal C1, C2 and C3.Perhaps, another kind of implementation is, server B selects an intelligent terminal as the control intelligent terminal of customer end A from all intelligent terminals that find arbitrarily, as, it is the control intelligent terminal of customer end A that server B is selected intelligent terminal C1, and only transmits login request message to intelligent terminal C1.
Accordingly, when server B is transmitted login request message respectively to intelligent terminal C1, C2 and C3, in step 105, server B is selected a login response message from 3 login response message of intelligent terminal C1, C2 and C3 transmission, and can allow or refuse the login of customer end A according to the indication of this login response message of selecting.Wherein, server B can preestablish priority, and determines the login response message which intelligent terminal of selection returns according to priority orders.For example, can arrive the sequencing setting priority of server B according to login response message, the priority of the login response message of more first arrival server B is more high, and the priority of the login response message of more late arrival server B is more low.Suppose that the login response message that intelligent terminal C1 returns 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, the login response message that server B selects intelligent terminal C1 to return, and the indication of the login response message of returning according to intelligent terminal C1, allow or the login of refusal customer end A.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
Embodiment two
The difference of present embodiment and embodiment one is, after client was logined successfully, intelligent terminal can also be according to user's needs, listed client is done published processing.See also Fig. 4, it is that a kind of that the embodiment of the invention two discloses realizes may further comprise the steps the flow chart of the method for client login by intelligent terminal:
Step 401: server receives the login request message of carrying login account that client sends;
Step 402: server is from listed intelligent terminal, search the intelligent terminal that uses the intelligent terminal of identical login account login with described client and/or use the binding login account login of described client, the intelligent terminal that finds is for allowing or refuse the control intelligent terminal of described client login;
Step 403: server is transmitted described login request message to the control intelligent terminal of described client;
Step 404: server allows or refuses described client login according to the indication of described login response message;
The concrete implementation of above-mentioned steps 401-404 can repeat no more in the present embodiment referring to the step 101-104 among the embodiment one.
Step 405: server receives the information inquiring request message of the intelligent terminal transmission of having logined;
Step 406: server is from listed client, search the client of using the client of identical login account login with described listed intelligent terminal and/or using the binding login account login of described listed intelligent terminal, the client that finds is the controlled client that could login by described listed intelligent terminal control;
For example, after intelligent terminal C signs in on the server B by login account sa*****liu1, intelligent terminal C sends an inquiry request message to server B, in the inquiry request message that intelligent terminal C sends, can carry the login account sa*****liu1 of intelligent terminal C, server B can find the login record of each client of using this login account login on the backstage according to login account sa*****liu1, in login record, include and use each client-side session of this login account login to identify (after a client signs in on the server, server will distribute a session identification for the client of each login, and be documented in the login record of this client), server B is published operation according to session identification to corresponding client executing.When having client to sign in on the server B, server B will record the employed login account of each client of login in login record.Server B is searched all clients of same use login account sa*****liu1 login according to login record, and some client is to sign in on the server B after the affirmation through intelligent terminal C in these clients of searching, and also some client is directly to sign in on the server B without the affirmation of intelligent terminal C.For example, server B finds customer end A 1 and A2 is to use login account sa*****liu1 to sign in on the server B, wherein, customer end A 1 is after the affirmation through intelligent terminal C, use login account sa*****liu1 to sign in on the server B, customer end A 2 is confirmed without intelligent terminal C, is directly signed in on the server B by login account sa*****liu1.
In addition, similar with intelligent terminal, client can also be used the binding login account login with the login account binding except using login account logins.For example, after email address and phone number binding, email address and phone number are bound 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 logined by email address, also can login by phone number.That is to say that a login account has the login account of one or more mutual bindings usually, client can be by wherein any one binding login account login.
In view of the situation, also might there be the login account of mutual binding in login account sa*****liu1, after if server side B determines that according to historical record there is a login account 135*****049 who binds mutually in login account sa*****liu1, can also search the client of using login account 135*****049 login on the backstage, for example, server B finds customer end A 3 and is to use login account 135*****049 on the server B.
Step 407: the information inquiry response message that server will carry the log-on message that the controlled client of described listed intelligent terminal reports sends to described listed intelligent terminal;
For example, after having client to sign in to server, all can report log-on message to this server.The log-on message that server B reports customer end A 1, A1 and A3 sends to intelligent terminal C.So-called " log-on message " includes but not limited to: used login account, login time, client type, the login place of client, login IP address and the Application Type of client during login.
Step 408: server receives the request message of publishing that carries controlled client identification that described listed intelligent terminal sends;
Receive the log-on message of relevant customer end A 1, A2 and A3 as intelligent terminal C after, can determine the not needs login of which or which client according to these log-on messages, and send to server and to publish request message.
In technical scheme of the present invention, server-assignment can be given listed client-side session sign as " controlled client identification ", server also can distribute a characteristic of correspondence sign indicating number for each the controlled client that finds, and is specifically designed to and identifies each controlled client uniquely.
Step 409: the controlled client of the described listed intelligent terminal that server is indicated with described controlled client identification is published.
Suppose, if do not need customer end A 1 login, server B will receive the request message of publishing of the session identification that carries customer end A 1 that intelligent terminal C sends, and what server B determined that needs publish according to the session identification that obtains earlier is customer end A 1, and then customer end A 1 is published.
Server B execute customer end A 1 publish processing after, the scheme of present embodiment can also send to intelligent terminal C and publish response message, has finished with notice intelligent terminal C customer end A 1 is published processing.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
In addition, intelligent terminal can also monitor the logging status of client, and the publishing of the client that monitors of control.
Embodiment three
The difference of present embodiment and embodiment one is that server further generates an identifying code at random, and when this identifying code was sent to client, the login request message that also will carry this identifying code sent to the control intelligent terminal of client.See also Fig. 5, it is that a kind of that the embodiment of the invention three discloses realizes may further comprise the steps the flow chart of the method for client login by intelligent terminal:
Step 501: server receives the login request message of carrying login account that client sends;
Step 502: server is from listed intelligent terminal, search the intelligent terminal that uses the intelligent terminal of identical login account login with described client and/or use the binding login account login of described client, the intelligent terminal that finds is for allowing or refuse the control intelligent terminal of described client login;
Step 503: server generates an identifying code at random;
Step 504: server sends to described client with described identifying code;
Step 505: server is transmitted the described login request message of 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 are initiated logging request in the close time period, if in the login request message of the control intelligent terminal that is transmitted to legitimate client, only carry login account, on the control intelligent terminal of this legitimate client, will obtain two about the logging request of identical login account, and which the control intelligent terminal of this legitimate client can't identify is the logging request of legitimate client, which is the logging request of illegal client, in case illegitimate client is allowed its login as legitimate client, will make login process lose safety.Therefore, after server is received a logging request, just generate an identifying code at random at this logging request, and identifying code is sent to client, obviously, the identifying code that sends to illegitimate client is different with the identifying code that sends to legitimate client.And, in the login request message of the control intelligent terminal that is transmitted to legitimate client, not only carry login account, also be added with identifying code, if receiving, the control intelligent terminal of legitimate client carries identical login account, but but carry two logging request of different identifying codes, identifying code according to the legitimate client reception, just can identify correctly which is legitimate client in two logging request, which is illegal client, and then the login of permission legitimate client, and the login of refusal illegitimate client.
Shown in Fig. 6 and 7, Fig. 6 has shown that the identifying code that legitimate client receives is 12768, Fig. 7 has shown that it also is 12768 logging request that the control intelligent terminal of client receives an identifying code, two identifying codes are identical, therefore, the user can be 12768 logging request by " confirming login " button permission identifying code shown among click Fig. 7.If it is 34569 logging request that the control intelligent terminal of client also receives an identifying code, obviously, this logging request is not that legitimate client is initiated, and the user can yard be 34569 logging request by clicking that " refusal login " button shown among Fig. 7 refuse inspection of books.
Step 506: server receives the login response message of the control intelligent terminal transmission of described client;
Step 507: server allows or refuses described client login according to the indication of described login response message.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
In addition, even the stolen taker of login account is intercepted and captured, by identifying code mechanism, can satisfy login process equally to the demand of fail safe.
Embodiment four
The difference of present embodiment and embodiment three is that a server identifying code sends to client, and does not send to the control intelligent terminal of client.Client is initiated a login request message again of carrying identifying code again to server after, server is transmitted the login request message of carrying identifying code and login account to the control intelligent terminal of client again, can reach the secure log effect with embodiment three equally.See also Fig. 8, it is that a kind of that the embodiment of the invention three discloses realizes may further comprise the steps the flow chart of the method for client login by intelligent terminal:
Step 801: server receives the login request message of carrying login account that client sends;
Step 802: server is from listed intelligent terminal, search the intelligent terminal that uses the intelligent terminal of identical login account login with described client and/or use the binding login account login of described client, the intelligent terminal that finds is for allowing or refuse the control intelligent terminal of described client login;
Step 803: server generates an identifying code at random;
Step 804: server sends to described client with described identifying code;
Step 805: server receives the login request message again of carrying described identifying code that described client sends;
Step 806: server is transmitted the described login request message of also carrying described identifying code to the control intelligent terminal of described client;
Wherein, at the control intelligent terminal of whois lookup to client, and after generating an identifying code, can set up the corresponding relation between the control intelligent terminal of this identifying code and this client that finds, when server receives the login request message again of carrying identifying code, according to corresponding relation, can be determined at the control intelligent terminal of the identifying code correspondence in the login request message again of reception, the login request message that will also carry this identifying code then forwards.
Perhaps, in step 805, the login request message again that server receives is except carrying identifying code, also carry login account, server is searched the control intelligent terminal of a client more again according to login account, and the login request message that will also carry this identifying code then forwards.
Step 807: server receives the login response message of the control intelligent terminal transmission of described client;
Step 808: server allows or refuses described client login according to the indication of described login response message.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
In addition, even the stolen taker of login account is intercepted and captured, by identifying code mechanism, can satisfy login process equally to the demand of fail safe.
Embodiment five
Present embodiment five is intended to describe from the angle of intelligent terminal side the login process of client.See also Fig. 9, it is that a kind of that the embodiment of the invention five discloses realizes the flow chart of the method for client login by intelligent terminal, and this method may further comprise the steps:
Step 901: intelligent terminal signs in on the server;
Step 902: it is the login request message of carrying login account that client is transmitted that intelligent terminal receives described server;
For example, an intelligent terminal C signs in on the server B, and intelligent terminal C reception server B is the login request message of carrying login account sa*****liu1 that customer end A is transmitted.
Step 903: intelligent terminal generates first login that shows described login account according to described login request message and controls the interface, and the described first login control interface is used for prompting user permission or refuses described client and use the login account of described login request message to sign in to described server;
For example, login shown in the control interface as Fig. 3, shown login account sa*****liu1 among Fig. 3, and shown two buttons: " confirming login " button and " refusal login " button, login control interface shown in Figure 3 allows or refuses customer end A and use login account sa*****liu1 to sign in on the server B in order to point out the user to pass through to click " confirming login " button or " refusal login " button.
Step 904: intelligent terminal sends login response message according to user's indication to described server.
For example, if the user has clicked " confirming login " button shown in Figure 3, intelligent terminal C sends an indication to server B and allows customer end A to use login account sa*****liu1 to sign in to login response message on the server B, if the user has clicked shown in Figure 3 " refusal login " button, intelligent terminal C send an indication refusal customer end A to server B and use login account sa*****liu1 to sign in to login response message on the server B.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
Embodiment six
The difference of present embodiment and embodiment five is, after client was logined successfully, intelligent terminal can also be according to user's needs, listed client is done published processing.See also Figure 10, it is that a kind of that the embodiment of the invention six discloses realizes may further comprise the steps the flow chart of the method for client login by intelligent terminal:
Step 1001: intelligent terminal signs in on the server;
Step 1002: it is the login request message of carrying login account that client is transmitted that intelligent terminal receives described server;
Step 1003: intelligent terminal generates first login that shows described login account according to described login request message and controls the interface, and the described first login control interface is used for prompting user permission or refuses described client and use the login account of described login request message to sign in to described server;
Step 1004: intelligent terminal sends login response message according to user's indication to described server;
The implementation of above-mentioned steps 1001-1004 can be referring to the step 901-904 among the embodiment five, and present embodiment no longer describes in detail.
Step 1005: intelligent terminal sends information inquiring request message to described server;
Step 1006: intelligent terminal receives the information inquiry response message that described server sends, carry the log-on message that is subjected to the controlled client that the control of described intelligent terminal could login in the described information inquiry response message, the controlled client of described intelligent terminal comprises the client that the login account that uses the login account of the client of identical login account login and/or use and described intelligent terminal to bind mutually with described intelligent terminal is logined;
So-called " log-on message " includes but not limited to: used login account, login time, client type, the login place of client, login IP address and the Application Type of client during login.
Step 1007: intelligent terminal generates according to described information inquiry response message and publishes the interface, and the described interface of publishing is used for pointing out the user that the controlled client of described intelligent terminal is published;
Step 1008: intelligent terminal sends the request message of publishing that carries controlled client identification to described server, so that the described server controlled client that described controlled client identification is indicated is published.
For example, as shown in figure 11, it publishes the schematic diagram at interface for a kind of intelligent terminal of the present invention, wherein, 8 clients of using identical login account to login with intelligent terminal are arranged, publish the log-on message that has not only shown 8 clients in the interface, also have " a rolling off the production line " button, if the user determines some according to log-on message or the not needs login of certain several client, can corresponding client be published by clicking corresponding " rolling off the production line " button.
When server carried out publish operation accordingly after, intelligent terminal can also receive the response message of publishing that server sends.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
In addition, intelligent terminal can also monitor the logging status of client, and the publishing of the client that monitors of control.
Embodiment seven
The difference of present embodiment and embodiment one is, if carry the identifying code that server generates at random in the login request message that intelligent terminal receives, generates a login control interface that includes this identifying code.As shown in figure 12, it is that a kind of that the embodiment of the invention seven discloses realizes may further comprise the steps the flow chart of the method for client login by intelligent terminal:
Step 1201: intelligent terminal signs in on the server;
Step 1202: it is the login request message that carries the identifying code that login account and server generate at random that client is transmitted that intelligent terminal receives described server;
Step 1203: intelligent terminal generates the second login control interface that shows described identifying code and described login account simultaneously according to described login request message, and the described second login control interface is used for that the prompting user allows according to described identifying code or the refusal client uses the login account of described login request message to sign in to described server;
Step 1204: intelligent terminal sends login response message according to user's indication to described server.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
In addition, even the stolen taker of login account is intercepted and captured, by identifying code mechanism, can satisfy login process equally to the demand of fail safe.
Embodiment eight
Corresponding with above-mentioned a kind of method by the login of intelligent terminal realization client, the embodiment of the invention also provides a kind of server.See also Figure 13, it is the structure chart of a kind of server of disclosing of the embodiment of the invention eight, and this server comprises that the first login request message receiving element 1301, intelligent terminal search unit 1302, login request message retransmission unit 1303, login response message sink unit 1304 and login control unit 1305.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
The first login request message receiving element 1301 is used for receiving the login request message of carrying login account that client sends;
Intelligent terminal is searched unit 1302, be used for from the intelligent terminal of login, search the intelligent terminal that uses the intelligent terminal of identical login account login with described client and/or use the binding login account login of described client, the intelligent terminal that finds is for allowing or refuse the control intelligent terminal of described client login;
Login request message retransmission unit 1303 is used for transmitting described login request message to the control intelligent terminal of described client;
Login response message sink unit 1304 is for the login response message of the control intelligent terminal transmission that receives described client;
Login control unit 1305 is used for the indication according to described login response message, allows or refuse described client login.
As shown in figure 14, on the basis of structure shown in Figure 13, this server also comprises:
Information inquiring request message sink unit 1306 is used for receiving the information inquiring request message that listed intelligent terminal sends;
Client is searched unit 1307, be used for from listed client, search the client of using the client of identical login account with described listed intelligent terminal and/or using the binding login account login of described listed intelligent terminal, the client that finds is the controlled client that could login by described listed intelligent terminal control;
Information inquiry response message sending unit 1308, the information inquiry response message that is used for carrying the log-on message that the controlled client of described listed intelligent terminal reports sends to described listed intelligent terminal;
Publish request message receiving element 1309, be used for receiving the request message of publishing that carries controlled client identification that described listed intelligent terminal sends;
Publish control unit 1310, the controlled client that is used for the described listed intelligent terminal that described controlled client identification is indicated is published.
This server can further include: publish the response message transmitting element, be used for publishing response message to described listed intelligent terminal transmission.
As shown in figure 15, the intelligent terminal in Figure 13 is searched between unit 1302 and the login request message retransmission unit 1303, and this server also comprises:
Identifying code generation unit 1311 is used for generating at random an identifying code;
Identifying code transmitting element 1312 is used for described identifying code is sent to described client;
Then the login request message retransmission unit 1303, are used for transmitting the described login request message of also carrying described identifying code to the control intelligent terminal of described client.
As a kind of substitute mode be, the intelligent terminal in Figure 13 is searched between unit 1302 and the login request message retransmission unit 1303, and this server also comprises:
The identifying code generation unit is used for generating at random an identifying code;
The identifying code transmitting element is used for described identifying code is sent to described client;
The second login request message receiving element is used for receiving the login request message again of carrying described identifying code that described client sends;
Then the login request message retransmission unit 1303, are used for transmitting the described login request message of also carrying described identifying code to the control intelligent terminal of described client.
When the intelligent terminal that finds when being a plurality of, login request message retransmission unit 1303 comprises:
First transmits subelement, is used for all intelligent terminals that will find as the control intelligent terminal of described client, and transmits described login request message to the control intelligent terminal of described client;
Then login control unit 1305, be used for selecting the login response message of a control intelligent terminal forwarding, according to the indication of the login response message of selecting, allow or refuse described client login.
As a kind of substitute mode, when the intelligent terminal that finds when being a plurality of, login request message retransmission unit 1303 comprises:
The chooser unit is used for all intelligent terminals from finding, and selects an intelligent terminal as the control intelligent terminal of described client;
Second transmits subelement, is used for transmitting described login request message to the control intelligent terminal of the described client of selecting.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
In addition, even the stolen taker of login account is intercepted and captured, by identifying code mechanism, can satisfy login process equally to the demand of fail safe.Intelligent terminal can also monitor the logging status of client, and the publishing of the client that monitors of control.
Embodiment nine
Corresponding with above-mentioned a kind of method by the login of intelligent terminal realization client, the embodiment of the invention also provides a kind of server.See also Figure 16, it is the structure chart of a kind of intelligent terminal of the embodiment of the invention eight announcements, and this intelligent terminal comprises: login unit 1601, login request message receiving element 1602, login control interface generation unit 1603 and login response message sending unit 1604.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
Login unit 1601 is used for signing in to server;
Login request message receiving element 1602, being used for receiving described server is the login request message of carrying login account that client is transmitted;
Login control interface generation unit 1603, be used for generating first login that shows described login account according to described login request message and control the interface, the described first login control interface is used for prompting user permission or the refusal client uses the login account of described login request message to sign in to described server;
Login response message sending unit 1604 sends login response message according to user's indication to described server.
As shown in figure 17, on the basis of structure shown in Figure 16, this intelligent terminal also comprises:
Information inquiring request message sending unit 1605 is used for sending information inquiring request message to described server;
Information inquiry response message sink unit 1606, be used for receiving the information inquiry response message that described server sends, carry the log-on message that is subjected to the controlled client that the control of described intelligent terminal could login in the described information inquiry response message, the controlled client of described intelligent terminal comprises the client that the login account that uses the login account of the client of identical login account login and/or use and described intelligent terminal to bind mutually with described intelligent terminal is logined;
Publish interface generation unit 1607, be used for publishing the interface according to described information inquiry response message generation, the described interface of publishing is used for pointing out the user to publish with the controlled client of described intelligent terminal;
Publish request message transmitting element 1608, be used for sending the request message of publishing that carries controlled client identification to described server, so that the described server controlled client that described controlled client identification is indicated is published.
This server can further include: publish the response message receiving element, be used for receiving the response message of publishing of described server transmission.
Another kind of preferred scheme is, described login request message also carries the identifying code that server generates at random, then login control interface generation unit 1603, be used for generating the second login control interface that shows described identifying code and described login account simultaneously according to described login request message, the described second login control interface is used for the prompting user and uses the client of identical login account login to sign in to described server according to described identifying code permission or refusal with described intelligent terminal.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
Client is initiated a logging request by login account, the intelligent terminal of logging status directly sends the login response that allows or refuse this client login by being in, that is to say, whether can be logined by a listed intelligent terminal control client, whole login process is simply easy, and is user-friendly.
In addition, intelligent terminal must be in logging status, can prevent that like this unintelligent terminal user from operating arbitrarily this intelligent terminal, avoid the login of unintelligent terminal user control client when using intelligent terminal, and then avoid the potential safety hazard brought thus.
In addition, even the stolen taker of login account is intercepted and captured, by identifying code mechanism, can satisfy login process equally to the demand of fail safe.Intelligent terminal can also monitor the logging status of client, and the publishing of the client that monitors of control.
Need to prove, one of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
More than realize that by intelligent terminal method, server and the intelligent terminal of client login are described in detail to provided by the present invention, used specific embodiment herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.