Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the flow chart of the method that a kind of account according to an exemplary embodiment logs in, as shown in Figure 1, the method that the account that the present embodiment relates to logs in is in terminal equipment, this terminal equipment can be such as mobile phone, personal digital assistant (PersonalDigitalAssistant is called for short PDA), personal computer (personalcomputer; Be called for short: PC) etc.The method that this account logs in comprises the following steps.
In step s 11, when there is at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), send a notification message to described second terminal equipment; The account information of described account is carried in described notification message.
In disclosure embodiment, first terminal equipment is for treating authorisation device, and the second terminal equipment is authorisation device, wherein, the second terminal equipment logs in the account having first terminal device request to log in.In addition, in order to improve the fail safe that account logs in, first terminal equipment and the second terminal equipment can also be arranged in same local area network (LAN).If when first terminal equipment is in different local area network (LAN)s from the second terminal equipment, second terminal equipment will not receive the notification message of first terminal equipment transmission, and the second terminal equipment also cannot authorize its account of asking of first terminal equipment use to log in.
When first terminal equipment needs to log in a certain account, first can detect in same local area network (LAN) and whether there is the second terminal and logged in same account, if detected, the second terminal equipment has logged in this account, then send to the second terminal equipment logging in this account the notification message carrying the account information of this account, to notify the second terminal equipment, there is first terminal equipment to wish to log in this account, whether allow it to log in.Second terminal equipment after receiving the notifying message, returns response message according to the account information in this notification message to first terminal equipment.
In step s 12, receive the response message that described second terminal equipment sends according to described account information, the message of described response message for sending during account described in first terminal equipment use described in described second terminal equipment mandate; Described response message is used to indicate account described in described first terminal device logs.
In disclosure embodiment, second terminal equipment after receiving the notifying message, response message is returned to first terminal equipment according to this notification message, Fig. 2 is the display schematic diagram that the second terminal equipment receives user interface after notification message, as shown in Figure 2, second terminal equipment upon receiving the notification message, the icon of agreeing to authorize or refusal is authorized can be shown in mobile phone interface, user is by clicking the icon of agreeing to authorize or refusal is authorized, the second terminal equipment is made to receive agreement authorized order or the refusal authorized order of user's input, and response message is returned to first terminal equipment after user inputs agreement authorized order, to log in this account on first terminal equipment.
The method of the account login of the present embodiment, during by there is at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), send a notification message to the second terminal equipment, and receive the response message of the second terminal equipment transmission, the message sent when this response message is second terminal equipment mandate first terminal this account of equipment use.Because first terminal equipment is when asking login account, can be confirmed whether to the second terminal equipment logging in this account to authorize this account of first terminal equipment use, thus determine whether to allow first terminal to log according to whether authorizing.Achieving existing terminal equipment with after a certain account login, as long as other-end equipment just can log in through authorizing when using these accounts to log in, improve the convenience of account login.
Fig. 3 is the flow chart of the method that a kind of account according to another exemplary embodiment logs in, and as shown in Figure 3, the method that the account that the present embodiment relates to logs in is in terminal equipment.The method that this account logs in comprises the following steps.
In step S31, when there is at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), the first request message is sent to server, carry the account information of described account in described first request message, send described notification message according to described account information to described second terminal equipment for described server.
In disclosure embodiment, when first terminal equipment needs to log in a certain account, first can detect in same local area network (LAN) and whether there is the second terminal and logged in same account, if detected, the second terminal equipment has logged in this account, then can send the first request message to server, the account information of this account is carried in first request message, this account is logged in announcement server first terminal device request, in actual applications, first terminal equipment is after transmission first request message, the long connection between one and server can be safeguarded, so that the message that receipt of subsequent server sends.In addition, second terminal equipment is after this account of login, the terminal identification information of himself can be sent to server, these terminal identification information are preserved by server, when server is after the first request message receiving the transmission of first terminal equipment, according to the terminal identification information of the second terminal equipment of the login account self preserved, send a notification message to the second terminal equipment, to notify the second terminal equipment, there is first terminal equipment to wish to log in this account, whether allow it to log in.
In step s 32, receive the response message that described server sends, described response message is that described server is after the first response message receiving described second terminal equipment transmission, determine account described in first terminal equipment use described in described second terminal equipment mandate according to described first response message, and described account is logged in the message sent after on described first terminal equipment.
In disclosure embodiment, second terminal equipment upon receiving the notification message, the icon of agreeing to authorize or refusal is authorized can be shown in mobile phone interface, user is by clicking the icon of agreeing to authorize or refusal is authorized, the second terminal equipment is made to receive agreement authorized order or the refusal authorized order of user's input, and return the first response message according to the agreement authorized order of user's input to server, server is after receiving the first response message, judge whether the second terminal equipment authorizes this account of first terminal equipment use according to this first response message, if server judges that the second terminal equipment allows this account of first terminal equipment use to log in, then this account is logged on first terminal equipment, and send response message to first terminal equipment, to notify first terminal equipment, it has logged in this account.Because first terminal equipment is after sending the first request message to server, between meeting with server, maintenance one is long is connected, therefore, server is after judging that the second terminal equipment allows this account of first terminal device logs, directly can connect according to this length and account is logged on first terminal equipment, first terminal equipment, then without the need to re-using account and password logs in, effectively simplifies the step that account logs in, and account is logged in more convenient.
The method of the account login of the present embodiment, by sending the first request message carrying account information to server, send a notification message to the second terminal equipment according to account information for server, the response message that reception server sends, response message is that server is after the first response message receiving the second terminal equipment transmission, determine the second terminal equipment mandate first terminal equipment use account according to the first response message, and account is logged in the message sent after on first terminal equipment.Because first terminal equipment is when asking login account, can by sending the first request message to server, can be confirmed whether to the second terminal equipment logging in this account to make server to authorize this account of first terminal equipment use, thus determine whether to allow first terminal to log according to whether authorizing.Achieving existing terminal equipment with after a certain account login, as long as other-end equipment just can log in through authorizing when using these accounts to log in, improve the convenience of account login.
Fig. 4 is the flow chart of the method that a kind of account according to another exemplary embodiment logs in, and as shown in Figure 4, the method that the account that the present embodiment relates to logs in is in terminal equipment.The method that this account logs in comprises the following steps.
In step S41, when there is at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), the second request message is sent to router, carry the account information of described account in described second request message, send described notification message according to described account information to described second terminal equipment for described router.
In disclosure embodiment, when first terminal equipment needs to log in a certain account, first can detect in same local area network (LAN) and whether there is the second terminal and logged in same account, if detected, the second terminal equipment has logged in this account, then can send the second request message to router, carry the account information of this account in second request message, to notify that router has first terminal device request to log in this account, whether allow it to log in.
In step S42, receive the response message that described router sends, described response message is that described router is after the second response message receiving described second terminal equipment transmission, to the message that described first terminal equipment sends, first terminal equipment use described in during account log in described account described in described second terminal equipment mandate for described first terminal equipment knowing according to described response message.
In disclosure embodiment, second terminal equipment upon receiving the notification message, the icon of agreeing to authorize or refusal is authorized can be shown in mobile phone interface, user is by clicking the icon of agreeing to authorize or refusal is authorized, the second terminal equipment is made to receive agreement authorized order or the refusal authorized order of user's input, and return the second response message according to the agreement authorized order of user's input to router, router is after receiving the second response message, response message is sent to first terminal equipment according to this second response message, judge whether the second terminal equipment authorizes it to log in the account of asking to make first terminal equipment according to response message, if judge, the second terminal equipment allows it can log in this account, then according to account information login account.
The method of the account login of the present embodiment, by sending the second request message carrying account information to router, send a notification message to the second terminal equipment according to account information for router, and the response message that receiving router sends, response message is that router is after the second response message receiving the second terminal equipment transmission, to the message that first terminal equipment sends, first terminal equipment logs in described account when knowing account described in the second terminal equipment mandate first terminal equipment use according to response message.Because first terminal equipment is when asking login account, can by sending the second request message to router, can be confirmed whether to the second terminal equipment logging in this account to make router to authorize this account of first terminal equipment use, thus determine whether to allow first terminal to log according to whether authorizing.Achieving existing terminal equipment with after a certain account login, as long as other-end equipment just can log in through authorizing when using these accounts to log in, improve the convenience of account login.
Alternatively, on basis embodiment illustrated in fig. 1, receive the refusal log messages that described second terminal equipment sends, the message of described refusal log messages for sending when account described in described first terminal equipment use refused by described second terminal equipment; Described refusal log messages is used to indicate described first terminal equipment and forbids logging in described account.
The method of the account login of the present embodiment, after determining the second terminal equipment refusal first terminal equipment use account, refusal log messages is sent to first terminal equipment, to notify that first terminal equipment is forbidden logging in this account, due to can only when the second terminal equipment allows first terminal equipment use account to log in, first terminal equipment just can log in, otherwise can not log in, and can improve the fail safe that account logs in thus.
Fig. 5 is the flow chart of the method that a kind of account Gen Ju an exemplary embodiment again logs in, and as shown in Figure 5, the method that the account that the present embodiment relates to logs in is in terminal equipment.The method that this account logs in comprises the following steps.
In step s 51, receive the first request message that first terminal equipment sends, in described first request message, carry the account information of account; Send a notification message to the second terminal equipment according to described account information; Wherein, the described first request message message that to be described first terminal equipment send when detecting in same local area network (LAN) and there is at least one second same account of terminal device logs.
In disclosure embodiment, first terminal equipment is for treating authorisation device, and the second terminal equipment is authorisation device, wherein, the second terminal equipment logs in the account having first terminal device request to log in.When first terminal equipment needs to log in a certain account, first can detect in same local area network (LAN) and whether there is the second terminal and logged in same account, if detected, the second terminal equipment has logged in this account, then can send the first request message to server, carry the account information of this account in first request message, have first terminal device request to log in this account with announcement server.In actual applications, first terminal equipment, after transmission first request message, can safeguard the long connection between and server, so that the message that receipt of subsequent server sends.
In addition, second terminal equipment is after this account of login, the terminal identification information of himself can be sent to server, these terminal identification information are preserved by server, when server is after the first request message receiving the transmission of first terminal equipment, according to the terminal identification information of the second terminal equipment of the login account self preserved, send a notification message to the second terminal equipment, to notify the second terminal equipment, there is first terminal equipment to wish to log in this account, whether allow it to log in.
In step S52, receive the first response message that described second terminal equipment returns in response to described notification message.
In disclosure embodiment, second terminal equipment after receiving the notifying message, response message is returned to server according to this notification message, continue with reference to shown in Fig. 2, second terminal equipment upon receiving the notification message, the icon of agreeing to authorize or refusal is authorized can be shown in interface, user is by clicking the icon of agreeing to authorize or refusal is authorized, the second terminal equipment can be made to receive agreement authorized order or the refusal authorized order of user's input, and return the first response message according to the different instruction of user's input to server.
In step S53, judge whether described second terminal equipment authorizes account described in described first terminal equipment use according to described first response message.
In step S54, if determine account described in first terminal equipment use described in described second terminal equipment mandate, then described account is logged on described first terminal equipment, and sending response message to described first terminal equipment, described response message is used to indicate described first terminal equipment and has logged in described account.
In disclosure embodiment, server is after receiving the first response message, can judge whether the second terminal authorizes the account of its request of first terminal equipment use according to this first response message, if server judges that the second terminal equipment allows this account of first terminal equipment use to log in, then account is logged on first terminal equipment, and send response message to first terminal equipment, to notify first terminal equipment, it has logged in this account, because first terminal equipment is after sending the first request message to server, between meeting with server, maintenance one is long is connected, therefore, server is after judging that the second terminal equipment allows this account of first terminal device logs, this length can be utilized to connect directly account is logged on first terminal equipment, first terminal equipment is then without the need to re-using account and password logs in, effectively simplify the step that account logs in, account is logged in more convenient.
The method of the account login of the present embodiment, by receiving the first request message carrying account information that first terminal equipment sends, and send a notification message to the second terminal equipment according to account information, receive the first response message that the second terminal equipment returns according to notification message, if determine the second terminal equipment mandate first terminal equipment use account according to the first response message, then account is logged on first terminal equipment.Because first terminal equipment is when asking login account, can by sending the first request message to server, can be confirmed whether to the second terminal equipment logging in this account to make server to authorize this account of first terminal equipment use, thus determine whether to allow first terminal to log according to whether authorizing.Achieving existing terminal equipment with after a certain account login, as long as other-end equipment just can log in through authorizing when using these accounts to log in, improve the convenience of account login.
Alternatively, on basis embodiment illustrated in fig. 5, if determine, account described in described first terminal equipment use refused by described second terminal equipment, then send refusal log messages to described first terminal equipment, described refusal log messages is used to indicate described first terminal equipment and forbids logging in described account.
In disclosure embodiment, server is after receiving the first response message, the account whether the second terminal is authorized first terminal equipment use first terminal device request and logged in can be judged according to this first response message, if server judges that second this account of terminal equipment refusal first terminal equipment use logs in, then can send refusal log messages to first terminal equipment, to notify first terminal equipment, it can not log in this account.
The method of the account login of the present embodiment, after determining the account that second its request of terminal equipment refusal first terminal equipment use logs in, refusal log messages is sent to first terminal equipment, to notify that first terminal equipment is forbidden logging in this account, due to can only when the second terminal equipment allows this account of first terminal equipment use to log in, first terminal equipment just can log in, otherwise can not log in, and can improve the fail safe that account logs in thus.
Fig. 6 is the flow chart of the method that a kind of account Gen Ju an exemplary embodiment again logs in, the method is used in terminal equipment, the present embodiment is on basis embodiment illustrated in fig. 5, when being at least two to the quantity of the second terminal equipment, whether server determination first terminal equipment can use account to carry out the embodiment logged in, elaborate, as shown in Figure 6, the method that this account logs in comprises the following steps.
In step S61, receive the first request message that first terminal equipment sends, in described first request message, carry the account information of account; Send a notification message to the second terminal equipment according to described account information, wherein, the described first request message message that to be described first terminal equipment send when detecting in same local area network (LAN) and there is at least one second same account of terminal device logs.
In disclosure embodiment, in order to ensure the fail safe that account logs in, the quantity of the second terminal equipment is set at least two, after server receives the first request message of first terminal equipment transmission, can sends a notification message at least two the second terminal equipments.
In step S62, receive the first response message that described second terminal equipment returns in response to described notification message.
In disclosure embodiment, for each second terminal equipment, after it receives the notification message of server transmission, all need to send the first response message to server.
In step S63, according to the first response message that each second terminal equipment sends, judge whether all second terminal equipments all authorize account described in described first terminal equipment use.
In disclosure embodiment, after server receives the first response message of each second terminal equipment transmission, need to judge whether the second all terminal equipments all authorizes account of its request of first terminal equipment use to log according to each the first response message.If determine, all second terminals all authorize first terminal equipment use account, then perform step S64, otherwise, perform step S65.
In step S64, described account is logged on described first terminal equipment.
In disclosure embodiment, if server determines that the account of its request login of first terminal equipment use all authorized by all second terminal equipments, then this account is logged on first terminal equipment, then response message is sent, to notify that first terminal equipment has logged in this account to first terminal equipment.
In step S65, send information to described first terminal equipment, described information is used to indicate described first terminal equipment and forbids logging in described account.
In disclosure embodiment, if server determines the account having at least second its request of terminal equipment refusal first terminal equipment use to log in, then send information, to notify that first terminal equipment can not log in this account to first terminal equipment.
The method of the account login of the present embodiment, during by judging that according to the first response message the second all terminal equipments all authorizes first terminal equipment use account to log in, just allow this account of first terminal device logs, otherwise, first terminal will not be allowed to log in this account, the fail safe that account logs in can be improved thus.
Fig. 7 is the flow chart of the method that a kind of account Gen Ju an exemplary embodiment again logs in, the method is used in terminal equipment, the present embodiment is on basis embodiment illustrated in fig. 5, when being trusted device to the second terminal equipment, whether server determination first terminal can use account to carry out the embodiment logged in, elaborate, as shown in Figure 7, the method that this account logs in comprises the following steps.
In step S71, receive the first request message that first terminal equipment sends, in described first request message, carry the account information of account; Send a notification message to the second terminal equipment according to described account information; Wherein, the described first request message message that to be described first terminal equipment send when detecting in same local area network (LAN) and there is at least one second same account of terminal device logs.
Step S71 and step S51 is similar, repeats no more herein.
In step S72, receive the first response message that described second terminal equipment returns in response to described notification message.
Include identification information in this first response message, whether this identification information is trusted device for identifying the second terminal equipment.
In step S73, determine whether described second terminal equipment is trusted device according to described identification information.
In disclosure embodiment, the identification information carried in the first response message received mates with the identification information of the trusted device prestored by server, if match, then illustrate that the second terminal equipment sending this first response message is trusted device, otherwise the second terminal equipment then determining to send this first response message is trustless equipment.
In step S74, if described second terminal equipment is trusted device, then judge whether described second terminal equipment authorizes account described in described first terminal equipment use according to described first response message.
In disclosure embodiment, according to the first response message that the second terminal equipment trusty sends, server, when determining that the second terminal equipment is trusted device, judges whether this second terminal equipment authorizes first terminal equipment use account.
In step S75, if determine account described in first terminal equipment use described in described second terminal equipment mandate, then described account is logged on described first terminal equipment, and sending response message to described first terminal equipment, described response message is used to indicate described first terminal equipment and has logged in described account.
The method of the account login of the present embodiment, by determining that the second terminal equipment is trusted device, and when this second terminal equipment trusty allows first terminal equipment use account to log in, just allow this account of first terminal device logs, the fail safe that account logs in can be improved thus.
Fig. 8 is the flow chart of the method that a kind of account Gen Ju an exemplary embodiment again logs in, and as shown in Figure 8, the method that the account that the present embodiment relates to logs in is in terminal equipment.The method that this account logs in comprises the following steps.
In step S81, the notification message that reception server sends, described notification message is the message that described server sends when receiving the first request message that first terminal equipment sends, and carries the account information of account in described first request message.
In disclosure embodiment, when first terminal equipment needs to log in a certain account, first can detect in same local area network (LAN) and whether there is the second terminal and logged in same account, if detected, the second terminal equipment has logged in this account, then send the first request message carrying the account information of this account to server, log in this account with announcement server first terminal device request.In actual applications, first terminal equipment, after transmission first request message, can safeguard the long connection between and server, so that the message that receipt of subsequent server sends.In addition, second terminal equipment is after this account of login, the terminal identification information of himself can be sent to server, these terminal identification information are preserved by server, when server is after the first request message receiving the transmission of first terminal equipment, according to the terminal identification information of the second terminal equipment of the login account self preserved, send a notification message to the second terminal equipment, to notify the second terminal equipment, there is first terminal equipment to wish to log in this account, whether allow it to log in.
In step S82, the first response message is sent to described server according to described notification message, judge whether described second terminal equipment authorizes account described in described first terminal equipment use for described server according to described first response message, and to determine described in described second terminal equipment mandate described in first terminal equipment use during account at described server, send response message to described first terminal equipment, described response message is used to indicate described first terminal equipment and has logged in described account.
In disclosure embodiment, second terminal equipment upon receiving the notification message, the icon of agreeing to authorize or refusal is authorized can be shown in mobile phone interface, user is by clicking the icon of agreeing to authorize or refusal is authorized, make the second terminal equipment receive agreement authorized order or the refusal authorized order of user's input, and return the first response message according to the different instruction of user's input to server.
Server is after receiving the first response message, can judge whether the second terminal authorizes the account of its request of first terminal equipment use according to this first response message, if server judges that the second terminal equipment allows this account of first terminal equipment use to log in, then send response message to first terminal equipment, to notify first terminal equipment, it has logged in this account, because first terminal equipment is after sending the first request message to server, between meeting with server, maintenance one is long is connected, therefore, server is after judging that the second terminal equipment allows this account of first terminal device logs, directly can connect according to this length and account is logged at first terminal equipment, first terminal equipment is then without the need to re-using account and password logs in, effectively simplify the step that account logs in, account is logged in more convenient.
The method of the account login of the present embodiment, by the notification message that reception server sends, this notification message be server receive that first terminal equipment sends carry the first request message of account information time the message that sends, the first response message is sent to server according to notification message, judge whether the second terminal equipment authorizes first terminal equipment use account for server according to the first response message, and when server determines the second terminal equipment mandate first terminal equipment use account, response message is sent to first terminal equipment, response message is used to indicate first terminal equipment login account.Because first terminal equipment is when asking login account, can by sending the first request message to server, can be confirmed whether to the second terminal equipment logging in this account to make server to authorize this account of first terminal equipment use, thus determine whether to allow first terminal to log according to whether authorizing.Achieving existing terminal equipment with after a certain account login, as long as other-end equipment just can log in through authorizing when using these accounts to log in, improve the convenience of account login.
Fig. 9 is the signaling diagram of the method that a kind of account Gen Ju an exemplary embodiment again logs in, a certain account is logged in first terminal device request in the present embodiment, second this account of terminal equipment mandate first terminal equipment use is that example elaborates technical scheme of the present invention, as shown in Figure 9, the method that this account logs in comprises the following steps.
In step S91, first terminal equipment receives the triggering command of the login account that user sends.
Wherein, user can start triggering command by the button clicking login account, and also can start triggering command by other means, for the mode starting triggering command, the present embodiment is not restricted this.
In step S92, first terminal equipment sends a notification message to the second terminal equipment according to triggering command.
In step S93, the second terminal equipment returns response message according to notification message to first terminal equipment.
The message that this response message sends when being the second terminal equipment mandate first terminal equipment use account, response message is used to indicate login account on first terminal equipment.
The method of the account login of the present embodiment, during by there is at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), send a notification message to the second terminal equipment, and receive the response message of the second terminal equipment transmission, the message sent when this response message is second terminal equipment mandate first terminal this account of equipment use.Because first terminal equipment is when asking login account, can be confirmed whether to the second terminal equipment logging in this account to authorize this account of first terminal equipment use, thus determine whether to allow first terminal to log according to whether authorizing.Achieving existing terminal equipment with after a certain account login, as long as other-end equipment just can log in through authorizing when using these accounts to log in, improve the convenience of account login.
Need to be described, when the account of second its request of terminal equipment refusal first terminal equipment use logs in, the second terminal equipment sends the process of refusal log messages to first terminal equipment, with similar in above-described embodiment, repeats no more herein.
The foregoing describe the implementation procedure of method that account logs in, this process can be realized by recognition device, is described below by the built-in function of recognition device and structure.
Figure 10 is the block diagram of the device that a kind of account according to an exemplary embodiment logs in, and as shown in Figure 10, the device that this account logs in comprises the first sending module 11 and the first receiver module 12.
When first sending module 11 is configured to exist at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), send a notification message to described second terminal equipment; The account information of described account is carried in described notification message;
First receiver module 12 is configured to the response message that described second terminal equipment of reception sends according to described account information, the message of described response message for sending during account described in first terminal equipment use described in described second terminal equipment mandate; Described response message is used to indicate and logs in described account on described first terminal equipment.
Wherein, as shown in figure 11, Figure 11 is the block diagram of the device that a kind of account according to another exemplary embodiment logs in, and on basis embodiment illustrated in fig. 10, described device also comprises the second sending module 13 and the second receiver module 14.
Second sending module 13 is configured to send the first request message to server, carries the account information of described account in described first request message, sends described notification message for described server according to described account information to described second terminal equipment;
Second receiver module 14 is configured to the response message receiving the transmission of described server, described response message is that described server is after the first response message receiving described second terminal equipment transmission, determine account described in first terminal equipment use described in described second terminal equipment mandate according to described first response message, and described account is logged in the message sent after on described first terminal equipment.
In addition, as shown in figure 12, Figure 12 is the block diagram of the device that a kind of account according to another exemplary embodiment logs in, and on basis embodiment illustrated in fig. 10, described device also comprises the 3rd sending module 15 and the 3rd receiver module 16.
3rd sending module 15 is configured to send the second request message to router, carries the account information of described account in described second request message, sends described notification message for described router according to described account information to described second terminal equipment;
3rd receiver module 16 is configured to the response message receiving the transmission of described router, described response message is that described router is after the second response message receiving described second terminal equipment transmission, to the message that described first terminal equipment sends, first terminal equipment use described in during account log in described account described in described second terminal equipment mandate for described first terminal equipment determining according to described response message.
In addition, as shown in figure 13, Figure 13 is the block diagram of the device that a kind of account according to another exemplary embodiment logs in, and on basis embodiment illustrated in fig. 10, described device also comprises the 4th receiver module 17.
4th receiver module 17 is configured to the triggering command receiving the described account of login that user sends.
Figure 14 is the block diagram of the device that a kind of account Gen Ju an exemplary embodiment again logs in, as shown in figure 14, the device that this account logs in comprises the first receiver module 21, first sending module 22, second receiver module 23, first judge module 24, first login module 25 and the second sending module 26.
First receiver module 21 is configured to the first request message receiving the transmission of first terminal equipment; The account information of account is carried in described first request message;
First sending module 22 is configured to send a notification message to the second terminal equipment according to described account information; Wherein, the described first request message message that to be described first terminal equipment send when detecting in same local area network (LAN) and there is at least one second same account of terminal device logs;
Second receiver module 23 is configured to the first response message that described second terminal equipment of reception returns in response to described notification message;
First judge module 24 is configured to judge whether described second terminal equipment authorizes account described in described first terminal equipment use according to described first response message;
First login module 25 is configured to judge described in described second terminal equipment mandate described in first terminal equipment use, during account, described account to be logged on described first terminal equipment at described first judge module 24;
Second sending module 26 is configured to described account be logged in after on described first terminal equipment in described first login module 25, send response message to described first terminal equipment, described response message is used to indicate described first terminal equipment and has logged in described account.
In addition, as shown in figure 15, Figure 15 is the block diagram of the device that a kind of account Gen Ju an exemplary embodiment again logs in, and on basis embodiment illustrated in fig. 14, described device also comprises the second judge module 27 and the second login module 28.
Second judge module 27 is configured to the first response message sent according to each second terminal equipment, judges whether all second terminal equipments all authorize account described in described first terminal equipment use;
Second login module 28 is configured to, when described second judge module 27 judges that account described in described first terminal equipment use all authorized by described all second terminal equipments, described account be logged on described first terminal equipment.
In addition, as shown in figure 16, Figure 16 is the block diagram of the device that a kind of account Gen Ju an exemplary embodiment again logs in, and on basis embodiment illustrated in fig. 15, described device also comprises the 3rd sending module 29.
3rd sending module 29 is configured to when described second judge module 27 judges that account described in described first terminal equipment use refused by least one second terminal equipment, send information to described first terminal equipment, described information is used to indicate described first terminal equipment and forbids logging in described account.
In addition, as shown in figure 17, Figure 17 is the block diagram of the device that a kind of account Gen Ju an exemplary embodiment again logs in, and on basis embodiment illustrated in fig. 14, described device also comprises the 3rd judge module 30 and the 4th judge module 31.
Described first response message comprises identification information;
3rd judge module 30 is configured to whether the second terminal equipment according to described identification information judgment is trusted device;
4th judge module 31 is configured to, when described 3rd judge module 30 judges that described second terminal equipment is trusted device, judge whether described second terminal equipment authorizes account described in described first terminal equipment use according to described first response message.
Figure 18 is the block diagram of the device that a kind of account Gen Ju an exemplary embodiment again logs in, and as shown in figure 18, the device that this account logs in comprises receiver module 41 and sending module 42.
Receiver module 41 is configured to the notification message that reception server sends, described notification message be described server receive that first terminal equipment sends carry the first request message of account information time the message that sends;
Sending module 42 is configured to send the first response message according to described notification message to described server, judge whether described second terminal equipment authorizes account described in described first terminal equipment use for described server according to described first response message, and to determine described in described second terminal equipment mandate described in first terminal equipment use during account at described server, send response message to described first terminal equipment, described response message is used to indicate described first terminal equipment and has logged in described account.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The foregoing describe built-in function and the structure of the device that account logs in, as shown in figure 19, the device that this account logs in can be embodied as:
Memory;
Be configured to the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When there is at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), send a notification message to described second terminal equipment; The account information of described account is carried in described notification message;
Receive the response message that described second terminal equipment sends according to described account information, the message of described response message for sending during account described in first terminal equipment use described in described second terminal equipment mandate; Described response message is used to indicate and logs in described account on described first terminal equipment.
The method of the account login of the present embodiment, during by there is at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), send a notification message to the second terminal equipment, and receive the response message of the second terminal equipment transmission, the message sent when this response message is second terminal equipment mandate first terminal this account of equipment use.Because first terminal equipment is when asking login account, can be confirmed whether to the second terminal equipment logging in this account to authorize this account of first terminal equipment use, thus determine whether to allow first terminal to log according to whether authorizing.Achieving existing terminal equipment with after a certain account login, as long as other-end equipment just can log in through authorizing when using these accounts to log in, improve the convenience of account login.
Figure 20 is the block diagram of a kind of device 800 for account login according to an exemplary embodiment.Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 20, device 800 can comprise following one or more assembly: processing components 802, memory 804, electric power assembly 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is device 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducer, for providing the state estimation of various aspects for device 800.Such as, sensor cluster 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform the method for a kind of account login, described method comprises:
When there is at least one second same account of terminal device logs in first terminal equipment Inspection to same local area network (LAN), send a notification message to described second terminal equipment; The account information of described account is carried in described notification message;
Receive the response message that described second terminal equipment sends according to described account information, the message of described response message for sending during account described in first terminal equipment use described in described second terminal equipment mandate; Described response message is used to indicate and logs in described account on described first terminal equipment.
Wherein, describedly to send a notification message to described second terminal equipment, comprising:
Send the first request message to server, in described first request message, carry the account information of described account, send described notification message according to described account information to described second terminal equipment for described server;
The response message that described second terminal equipment of described reception sends, comprising:
Receive the response message that described server sends, described response message is that described server is after the first response message receiving described second terminal equipment transmission, determine account described in first terminal equipment use described in described second terminal equipment mandate according to described first response message, and described account is logged in the message sent after on described first terminal equipment.
Wherein, describedly to send a notification message to described second terminal equipment, comprising:
Send the second request message to router, in described second request message, carry the account information of described account, send described notification message according to described account information to described second terminal equipment for described router;
The response message that described second terminal equipment of described reception sends, comprising:
Receive the response message that described router sends, described response message is that described router is after the second response message receiving described second terminal equipment transmission, to the message that described first terminal equipment sends, first terminal equipment use described in during account log in described account described in described second terminal equipment mandate for described first terminal equipment knowing according to described response message.
Wherein, described to server send carry the login request message of account information before, described method also comprises:
Receive the triggering command of the described account of login that user sends.
Figure 21 is the block diagram of a kind of device 1900 for account login according to an exemplary embodiment.Such as, device 1900 may be provided in a server.With reference to Figure 21, device 1900 comprises processing components 1922, and it comprises one or more processor further, and the memory resource representated by memory 1932, can such as, by the instruction of the execution of processing components 1922, application program for storing.The application program stored in memory 1932 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1922 is configured to perform instruction, to perform following method:
Receive the first request message that first terminal equipment sends, in described first request message, carry the account information of account; Send a notification message to the second terminal equipment according to described account information; Wherein, the described first request message message that to be described first terminal equipment send when detecting in same local area network (LAN) and there is at least one second same account of terminal device logs;
Receive the first response message that described second terminal equipment returns in response to described notification message;
Judge whether described second terminal equipment authorizes account described in described first terminal equipment use according to described first response message;
If determine account described in first terminal equipment use described in described second terminal equipment mandate, then described account is logged on described first terminal equipment, and sending response message to described first terminal equipment, described response message is used to indicate described first terminal equipment and has logged in described account.
Wherein, the quantity of described second terminal equipment is at least two;
Judge whether described second terminal equipment authorizes account described in described first terminal equipment use, comprising according to described first response message:
According to the first response message that each second terminal equipment sends, judge whether all second terminal equipments all authorize account described in described first terminal equipment use;
If determine account described in first terminal equipment use described in described second terminal equipment mandate, then described account is logged on described first terminal equipment, comprising:
If determine, account described in described first terminal equipment use all authorized by described all second terminal equipments, then described account logged on described first terminal equipment.
Wherein, if determine, account described in described first terminal equipment use refused by least one second terminal equipment, then send information to described first terminal equipment, described information is used to indicate described first terminal equipment and forbids logging in described account.
Wherein, described first response message comprises identification information;
After receiving the first response message that described second terminal equipment returns in response to described notification message, also comprise:
According to described identification information judgment, whether the second terminal equipment is trusted device;
If described second terminal equipment is trusted device, then judge whether described second terminal equipment authorizes account described in described first terminal equipment use according to described first response message.
Device 1900 can also comprise the power management that a power supply module 1926 is configured to final controlling element 1900, and a wired or wireless network interface 1950 is configured to device 1900 to be connected to network, and input and output (I/O) interface 1958.Device 1900 can operate the operating system based on being stored in memory 1932, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.