CN106453349B - Account login method and device - Google Patents
Account login method and device Download PDFInfo
- Publication number
- CN106453349B CN106453349B CN201610930642.0A CN201610930642A CN106453349B CN 106453349 B CN106453349 B CN 106453349B CN 201610930642 A CN201610930642 A CN 201610930642A CN 106453349 B CN106453349 B CN 106453349B
- Authority
- CN
- China
- Prior art keywords
- target
- account
- terminal
- lan
- target account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The disclosure is directed to a kind of account login method and devices, belong to internet area.The described method includes: receiving the first logging request that target terminal is sent, target account and target LAN mark are carried in first logging request, target LAN is the local area network that the target terminal is currently accessed;Based on the target LAN identify, judge the target LAN whether be the target account trusted network;When the target LAN is the trusted network of the target account, determine that the target account is shared account, and send to the target terminal and log in confirmation message, the login confirmation message is used to indicate logs in the target account on the target terminal.The disclosure target terminal access target account trusted network in the case where, may be implemented target account on a target terminal exempt from close login, to simplify the login process of shared account, improve the login speed of shared account.
Description
Technical field
This disclosure relates to internet area more particularly to a kind of account login method and device.
Background technique
With the popularity of the internet, the internet account number that people use is more and more, such as social application account, Video Applications
Account etc..Under the LAN environment based on router, the multiple terminals for accessing the local area network usually there will be what account was shared
Demand, for example, accessing the terminals such as the tablet computer of same local area network, smart phone, smart television, notebook, it will usually use
Same social application account, Video Applications account etc..
In the related technology, when the multiple terminals for accessing same local area network are needed using same account, user is multiple
Be both needed to input in each terminal in terminal the account and with the matched password of the account, so as in each of multiple terminal
The account is logged in terminal.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of account login method and device.
According to the first aspect of the embodiments of the present disclosure, a kind of account login method is provided, which comprises
The first logging request that target terminal is sent is received, carries target account and target office in first logging request
Domain network mark is known, and target LAN is the local area network that the target terminal is currently accessed;
Based on the target LAN identify, judge the target LAN whether be the target account accredited net
Network;
When the target LAN is the trusted network of the target account, determine that the target account is shared account
Number, and sent to the target terminal and log in confirmation message, the login confirmation message is used to indicate on the target terminal
Log in the target account.
In another embodiment, described to be identified based on the target LAN, judge whether the target LAN is institute
State the trusted network of target account, comprising:
Based on the target account, from the corresponding relationship between the account and LAN ID of storage, obtain corresponding
LAN ID;
When in the LAN ID of acquisition including target LAN mark, determine that the target LAN is described
The trusted network of target account.
In another embodiment, target terminal mark is carried in first logging request;
It is described when the target LAN be the target account trusted network when, determine that the target account is shared
Account, and sent to the target terminal and log in confirmation message, comprising:
When the target LAN is the trusted network of the target account, determine that the target account is shared account
Number;
It is identified based on the target terminal, judges whether the target account is bound with the target terminal;
When the target account and the target terminal are bound, Xiang Suoshu target terminal sends the login confirmation
Message.
In another embodiment, it is described based on the target terminal identify, judge the target account whether with the mesh
Mark terminal is bound, comprising:
Corresponding end is obtained from the corresponding relationship between the account and terminal iidentification of storage based on the target account
End mark;
When in the terminal iidentification of acquisition including target terminal mark, determine that the target account and the target are whole
It is bound at end.
In another embodiment, described to be identified based on the target LAN, judge whether the target LAN is institute
Before the trusted network for stating target account, further includes:
The second logging request is received, the target account, password and LAN ID are carried in second logging request;
Judge whether the target account matches with the password;
When the target account and the password match, the corresponding local area network of the LAN ID is determined as described
The trusted network of target account.
In another embodiment, at least one terminal iidentification is carried in second logging request;
It is described when the target account and when the password match, the corresponding local area network of the LAN ID is determined as
After the trusted network of the target account, further includes:
For each terminal iidentification at least one described terminal iidentification, by the target account and the terminal iidentification
Corresponding terminal is bound.
According to the second aspect of an embodiment of the present disclosure, a kind of account entering device is provided, described device includes:
First receiving module is taken in first logging request for receiving the first logging request of target terminal transmission
Band target account and target LAN identify, and target LAN is the local area network that the target terminal is currently accessed;
First judgment module judges whether the target LAN is described for identifying based on the target LAN
The trusted network of target account;
Sending module, for determining the target when the target LAN is the trusted network of the target account
Account is shared account, and sends to the target terminal and log in confirmation message, and the login confirmation message is used to indicate in institute
It states and logs in the target account on target terminal.
In another embodiment, the first judgment module includes:
Acquisition submodule, for being based on the target account, from the corresponding pass between the account and LAN ID of storage
In system, corresponding LAN ID is obtained;
First determines submodule, for determining when in the LAN ID of acquisition including target LAN mark
The target LAN is the trusted network of the target account.
In another embodiment, target terminal mark is carried in first logging request;The sending module includes:
Second determines submodule, for determining institute when the target LAN is the trusted network of the target account
Stating target account is shared account;
Judging submodule judges whether the target account is whole with the target for identifying based on the target terminal
It is bound at end;
Sending submodule, for when the target account and the target terminal are bound, Xiang Suoshu target terminal
Send the login confirmation message.
In another embodiment, the judging submodule is used for:
Corresponding end is obtained from the corresponding relationship between the account and terminal iidentification of storage based on the target account
End mark;
When in the terminal iidentification of acquisition including target terminal mark, determine that the target account and the target are whole
It is bound at end.
In another embodiment, described device further include:
Second receiving module, carried for receiving the second logging request, in second logging request target account,
Password and LAN ID;
Second judgment module, for judging whether the target account matches with the password;
Determining module is used for when the target account and the password match, by the corresponding office of the LAN ID
Domain net is determined as the trusted network of the target account.
In another embodiment, at least one terminal iidentification is carried in second logging request;Described device further include:
Binding module, for for each terminal iidentification at least one described terminal iidentification, by the target account
Terminal corresponding with the terminal iidentification is bound.
According to the third aspect of an embodiment of the present disclosure, a kind of account entering device is provided, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The first logging request that target terminal is sent is received, carries target account and target office in first logging request
Domain network mark is known, and target LAN is the local area network that the target terminal is currently accessed;
Based on the target LAN identify, judge the target LAN whether be the target account accredited net
Network;
When the target LAN is the trusted network of the target account, determine that the target account is shared account
Number, and sent to the target terminal and log in confirmation message, the login confirmation message is used to indicate on the target terminal
Log in the target account.
The technical scheme provided by this disclosed embodiment can include the following benefits: in the embodiments of the present disclosure, when
It, can be based on the target LAN mark carried in the first logging request when receiving the first logging request of target terminal transmission
Know, judge target LAN whether be the target account carried in the first logging request trusted network.And work as target LAN
For target account trusted network when, determine that target account is shared account, and send to target terminal and log in confirmation message, with
Instruction logs in target account on a target terminal, thus in the case where the trusted network of target terminal access target account, it can
With realize target account on a target terminal exempt from close login.It that is to say, in the embodiment of the present disclosure, when the access of a certain terminal is a certain
When the trusted network of shared account, user only needs to input without input on the terminal and the shared matched password of account
The login that the shared account can be realized in the shared account improves shared account to simplify the login process of shared account
Number login speed.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Figure 1A is the signal of implementation environment involved in a kind of account login method shown according to an exemplary embodiment
Figure.
Figure 1B is a kind of flow chart of account login method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another account login method shown according to an exemplary embodiment.
Fig. 3 A is a kind of block diagram of account entering device shown according to an exemplary embodiment.
Fig. 3 B is a kind of block diagram of first judgment module shown according to an exemplary embodiment.
Fig. 3 C is a kind of block diagram of sending module shown according to an exemplary embodiment.
Fig. 3 D is the block diagram of another account entering device shown according to an exemplary embodiment.
Fig. 3 E is the block diagram of another account entering device shown according to an exemplary embodiment.
Fig. 4 is the block diagram of another account entering device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Before to the embodiment of the present disclosure carrying out that explanation is explained in detail, first the application scenarios of the embodiment of the present disclosure are given
Explanation.Under the LAN environment based on router, the multiple terminals for accessing the local area network usually there will be the shared need of account
It asks.In the related technology, when the multiple terminals for accessing same local area network are needed using same account, user is in multiple terminal
Each terminal on be both needed to input the account and with the matched password of the account, so as in each terminal in multiple terminal
The account is logged in, the login process of the shared account is relatively complicated at this time, and the operating burden of user is larger, therefore, needs one
Kind account login method, to simplify the login process of shared account.
Figure 1A is the signal of implementation environment involved in a kind of account login method shown according to an exemplary embodiment
Figure, which includes: target terminal 110 and server 120, and target terminal 110 and server 120 can pass through wired company
It connects or is wirelessly connected and communicated.Wherein, target terminal 110 can be tablet computer, smart phone, smart television, notes
This etc.;Server 120 can be a server, the server cluster consisted of several servers or one
A cloud computing service center.Target terminal 110 is used to send the first logging request to server 120, to request in target terminal
Target account is logged on 110.Server 120 is used to receive the first logging request of the transmission of target terminal 110, and steps on based on first
Record requests to determine whether that target terminal 110 logs in target account.
Figure 1B is a kind of flow chart of account login method shown according to an exemplary embodiment, and this method is for servicing
In device.As shown in Figure 1B, this approach includes the following steps.
In a step 101, the first logging request that target terminal is sent is received, carries target account in the first logging request
It is identified with target LAN, target LAN is the local area network that target terminal is currently accessed.
In a step 102, based on target LAN identify, judge target LAN whether be target account accredited net
Network.
In step 103, when target LAN is the trusted network of target account, determine that target account is shared account
Number, and sent to target terminal and log in confirmation message, it logs in confirmation message and is used to indicate login target account on a target terminal.
In the embodiments of the present disclosure, it when receiving the first logging request of target terminal transmission, can be stepped on based on first
The target LAN mark carried in record request, judges whether target LAN is the target account carried in the first logging request
Trusted network.And when target LAN is the trusted network of target account, determine that target account is shared account, and to mesh
It marks terminal and sends login confirmation message, to indicate to log in target account on a target terminal, to access target in target terminal
In the case where the trusted network of account, may be implemented target account on a target terminal exempt from close login.It that is to say, the disclosure is real
It applies in example, when a certain terminal accesses the trusted network of a certain shared account, user is shared with this without input on the terminal
The matched password of account, and only need to input the shared account and the login of the shared account can be realized, to simplify shared account
Number login process, improve the login speed of shared account.
In another embodiment, it is identified based on target LAN, judges whether target LAN is the accredited of target account
Network, comprising:
Corresponding local is obtained from the corresponding relationship between the account and LAN ID of storage based on target account
Network mark is known;
When in the LAN ID of acquisition include target LAN mark when, determine target LAN be target account by
Communication network.
In another embodiment, target terminal mark is carried in the first logging request;
When target LAN is the trusted network of target account, determine that target account is shared account, and whole to target
End, which is sent, logs in confirmation message, comprising:
When target LAN is the trusted network of target account, determine that target account is shared account;
It is identified based on target terminal, judges whether target account is bound with target terminal;
When target account and target terminal are bound, is sent to target terminal and log in confirmation message.
In another embodiment, it is identified based on target terminal, judges whether target account is bound with target terminal, wrapped
It includes:
Based on target account, from the corresponding relationship between the account and terminal iidentification of storage, corresponding terminal mark is obtained
Know;
When in the terminal iidentification of acquisition including target terminal mark, determine that target account is bound with target terminal.
In another embodiment, it is identified based on target LAN, judges whether target LAN is the accredited of target account
Before network, further includes:
The second logging request is received, carries target account, password and LAN ID in the second logging request;
Judge whether target account matches with password;
When target account and password match, the corresponding local area network of LAN ID is determined as to the accredited net of target account
Network.
In another embodiment, at least one terminal iidentification is carried in the second logging request;
When target account and password match, the corresponding local area network of LAN ID is determined as to the accredited net of target account
After network, further includes:
For each terminal iidentification at least one terminal iidentification, by target account terminal corresponding with terminal iidentification into
Row binding.
All the above alternatives, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real
It applies example and this is no longer repeated one by one.
Fig. 2 is a kind of flow chart of account login method shown according to an exemplary embodiment, and this method is for servicing
In device.As shown in Fig. 2, this approach includes the following steps.
In step 201, the first logging request that target terminal is sent is received.
It should be noted that the first logging request logs in target account for requesting on a target terminal, the first login is asked
Middle carrying target account and target LAN is asked to identify, target LAN is the local area network that target terminal is currently accessed.
In addition, target account can be registered to obtain in the server, and target account can be made of letter, number etc.,
Such as target account can be 123, ghkw.
Furthermore target LAN mark is used for unique identification target LAN, if target LAN mark can be target
IP (Internet Protocol, Internet protocol) address of the egress router of local area network etc..
In step 202, based on target LAN identify, judge target LAN whether be target account accredited net
Network.
It should be noted that the trusted network of target account be shared local area network can be carried out to target account, namely
It is that the multiple terminals for accessing the trusted network of target account are able to use target account.
Wherein, it is identified based on target LAN, it, can be with when judging whether target LAN is the trusted network of target account
Corresponding LAN ID is obtained from the corresponding relationship between the account and LAN ID of storage based on target account;When
When including target LAN mark in the LAN ID of acquisition, determine that target LAN is the trusted network of target account;When
When not including target LAN mark in the LAN ID of acquisition, target LAN is determined not and is the accredited net of target account
Network.Certainly, in practical application, can also based on target LAN identify, judge otherwise target LAN whether be
The trusted network of target account, the embodiment of the present disclosure are not specifically limited in this embodiment.
For example, target account is 123, target LAN is identified as LAN ID 1, then can be based on target account 123,
From the corresponding relationship between account and LAN ID as shown in table 1 below, obtaining corresponding LAN ID is local area network
Mark 1, LAN ID 2 and LAN ID 3.Due to including that target LAN identifies in the LAN ID of acquisition,
It can determine that target LAN is the trusted network of target account.
Table 1
It should be noted that in the embodiment of the present disclosure, only with pair shown in above-mentioned table 1 between account and LAN ID
It is illustrated for should being related to, above-mentioned table 1 does not constitute the embodiment of the present disclosure and limits.
Further, based on target LAN identify, judge target LAN whether be target account trusted network it
Before, the second logging request can also be received, carries target account, password and LAN ID in the second logging request;Judge mesh
Whether mark account matches with the password;It is when target account and the password match, the corresponding local area network of the LAN ID is true
It is set to the trusted network of target account;When target account and the password mismatch, not by the corresponding local of the LAN ID
Net is determined as the trusted network of target account.
It should be noted that the second logging request is used to request to log in target account in the terminal for sending the second logging request
Number.
Wherein, when judging whether target account matches with the password, target account can be based on, from the account of storage with it is close
In corresponding relationship between code, corresponding password is obtained;When the password of acquisition is identical as the password, determines target account and be somebody's turn to do
Password match;When the password of acquisition and the password difference, determine that target account and the password mismatch.Certainly, practical application
In, it can also judge otherwise whether target account matches with the password, the embodiment of the present disclosure does not do specific limit to this
It is fixed.
For example, target account is 123, which is ghloaa, then target account 123 can be based on, from as shown in table 2 below
Account and password between corresponding relationship in, obtain corresponding password be ghloaa.Due to the password and the password phase of acquisition
Together, hence, it can be determined that target account 123 is matched with password ghloaa.
Table 2
Account | Password |
123 | ghloaa |
456 | Shiokk |
…… | …… |
It should be noted that in the embodiment of the present disclosure, only with the corresponding relationship shown in above-mentioned table 2 between account and password
For be illustrated, above-mentioned table 2 not to the embodiment of the present disclosure constitute limit.
It wherein, can be by target when the corresponding local area network of the LAN ID being determined as the trusted network of target account
Account and LAN ID storage are corresponding by the LAN ID into the corresponding relationship between account and LAN ID
Local area network be determined as the trusted network of target account.It certainly, can also be otherwise by the local area network in practical application
The trusted network that corresponding local area network is determined as target account is identified, the embodiment of the present disclosure is not specifically limited in this embodiment.
For example, target account is 123, which is LAN ID 1, then can be by target account 123 and office
Domain network mark knows 1 storage into the corresponding relationship between account and LAN ID as listed in Table 1, by LAN ID 1
Corresponding local area network is determined as the trusted network of target account 123.
Further, before server receives the second logging request, the terminal for sending the second logging request be can be generated
Second logging request.And the terminal is when generating the second logging request, which can be in the target account that receives input and close
When code, judge whether for the first time request logs in target account under the local area network being currently accessed;When being requested for the first time under the local area network
When logging in target account, prompting message is arranged in display trusted network, to prompt the user whether to set the local area network to target account
Number trusted network;When receiving the confirmation instruction for trusted network setting prompt information, it is corresponding to obtain the local area network
LAN ID;Based on target account, the password and the LAN ID, the second logging request is generated.
It should be noted that trusted network setting prompt information is for prompting the user whether that the local area network that will be currently accessed is set
It is set to the trusted network of target account.
In addition, confirmation instruction is used to indicate the trusted network that the local area network that will be currently accessed is determined as target account, and should
Confirm that instruction can be triggered by user, which can be by specifying operation triggering, and it can be single-click operation that this, which specifies operation, double
Hit operation, voice operating etc..
Further, when target account and the password match, the corresponding local area network of the LAN ID is determined as
It, can also be when carrying at least one terminal iidentification in the second logging request, extremely for this after the trusted network of target account
Each terminal iidentification in a few terminal iidentification, target account terminal corresponding with the terminal iidentification is bound.
It should be noted that terminal iidentification is used for unique identification terminal, if terminal iidentification can be the IMEI of terminal
(International Mobile Equipment Identity, International Mobile Equipment Identity), MAC (Media Access
Control, media access control) address etc..
It wherein, can be by target account and the end when target account terminal corresponding with the terminal iidentification being bound
End mark storage is into the corresponding relationship between account and terminal iidentification, by target account terminal corresponding with the terminal iidentification
It is bound.Certainly, in practical application, can also otherwise by target account terminal corresponding with the terminal iidentification into
Row binding, the embodiment of the present disclosure are not specifically limited in this embodiment.
In step 203, when target LAN is the trusted network of target account, determine that target account is shared account
Number, and sent to target terminal and log in confirmation message.
It should be noted that logging in confirmation message is used to indicate login target account on a target terminal.
In addition, that is to say due to the trusted network that target LAN is target account, accessing multiple ends of target LAN
End is able to use target account, hence, it can be determined that target account is shared account.
Wherein, when target LAN is the trusted network of target account, determine that target account is shared account, and to mesh
When marking terminal transmission login confirmation message, after being shared account determining target account, directly it be stepped on to target terminal transmission
Record confirmation message;Alternatively, can determine that target account is shared account when carrying target terminal mark in the first logging request
After number, is identified based on target terminal, judge whether target account is bound with target terminal, when target account and target terminal
When being bound, is sent to target terminal and log in confirmation message.
On the one hand, the embodiment of the present disclosure can directly be sent to target terminal after determining that target account is shared account
Confirmation message is logged in, so that all terminals for realizing the trusted network of access target account exempt from close login, and due at this time
Server no longer needs to carry out other operations after determining that target account is shared account, it is thus possible to improve logging in confirmation message
Transmission speed, and then improve the login speed of shared account.
On the other hand, the embodiment of the present disclosure, can be to target account and target after determining that target account is shared account
Judged whether the binding of terminal, and then when target account and target terminal are bound, sends and log in target terminal
Confirmation message, to realize in multiple terminals of the trusted network of access target account, the end bound with target account
Close login is exempted from end, improves the login security of shared account.
Wherein, it is identified based on target terminal, when judging whether target account is bound with target terminal, mesh can be based on
Mark account obtains corresponding terminal iidentification from the corresponding relationship between the account and terminal iidentification of storage;When the terminal of acquisition
When including target terminal mark in mark, determine that target account is bound with target terminal;When in the terminal iidentification of acquisition not
When including target terminal mark, determine that target account is not bound with target terminal.It certainly, can also be with base in practical application
It is identified in target terminal, judges whether target account is bound with target terminal otherwise, the embodiment of the present disclosure pair
This is not specifically limited.
For example, target account is 123, target terminal is identified as terminal iidentification 1, then target account 123 can be based on, from such as
In corresponding relationship between account and terminal iidentification shown in the following table 3, obtaining corresponding terminal iidentification is terminal iidentification 1, terminal
Mark 2 and terminal iidentification 3.Due in the terminal iidentification of acquisition include target terminal identify, hence, it can be determined that target account with
Target terminal is bound.
Table 3
It should be noted that in the embodiment of the present disclosure, only with corresponding between account and terminal iidentification shown in above-mentioned table 3
It is illustrated for relationship, above-mentioned table 3 does not constitute the embodiment of the present disclosure and limits.
In the embodiments of the present disclosure, it when receiving the first logging request of target terminal transmission, can be stepped on based on first
The target LAN mark carried in record request, judges whether target LAN is the target account carried in the first logging request
Trusted network.And when target LAN is the trusted network of target account, determine that target account is shared account, and to mesh
It marks terminal and sends login confirmation message, to indicate to log in target account on a target terminal, to access target in target terminal
In the case where the trusted network of account, may be implemented target account on a target terminal exempt from close login.It that is to say, the disclosure is real
It applies in example, when a certain terminal accesses the trusted network of a certain shared account, user is shared with this without input on the terminal
The matched password of account, and only need to input the shared account and the login of the shared account can be realized, to simplify shared account
Number login process, improve the login speed of shared account.
Fig. 3 A is a kind of block diagram of account entering device shown according to an exemplary embodiment.Referring to Fig. 3 A, the device
Including the first receiving module 301, first judgment module 302 and sending module 303.
First receiving module 301 carries in the first logging request for receiving the first logging request of target terminal transmission
Target account and target LAN mark, target LAN are the local area network that target terminal is currently accessed;
First judgment module 302 judges whether target LAN is target account for identifying based on target LAN
Trusted network;
Sending module 303, for determining that target account is shared when target LAN is the trusted network of target account
Account, and sent to target terminal and log in confirmation message, it logs in confirmation message and is used to indicate login target account on a target terminal
Number.
In another embodiment, referring to Fig. 3 B, which includes:
Acquisition submodule 3021, for being based on target account, from the corresponding pass between the account and LAN ID of storage
In system, corresponding LAN ID is obtained;
First determines submodule 3022, for determining when in the LAN ID of acquisition including target LAN mark
Target LAN is the trusted network of target account.
In another embodiment, target terminal mark is carried in the first logging request;Referring to Fig. 3 C, the sending module 303
Include:
Second determines submodule 3031, for determining target account when target LAN is the trusted network of target account
Number for shared account;
Judging submodule 3032 judges whether target account is tied up with target terminal for identifying based on target terminal
It is fixed;
Sending submodule 3033, for sending and logging in target terminal when target account is bound with target terminal
Confirmation message.
In another embodiment, which is used for:
Based on target account, from the corresponding relationship between the account and terminal iidentification of storage, corresponding terminal mark is obtained
Know;
When in the terminal iidentification of acquisition including target terminal mark, determine that target account is bound with target terminal.
In another embodiment, referring to Fig. 3 D, the device further include:
Second receiving module 304 carries target account, password in the second logging request for receiving the second logging request
And LAN ID;
Second judgment module 305, for judging whether target account matches with password;
Determining module 306, for when target account and password match, the corresponding local area network of LAN ID to be determined as
The trusted network of target account.
In another embodiment, at least one terminal iidentification is carried in the second logging request;Referring to Fig. 3 E, which is also wrapped
It includes:
Binding module 307, for for each terminal iidentification at least one terminal iidentification, by target account and terminal
Corresponding terminal is identified to be bound.
In the embodiments of the present disclosure, it when receiving the first logging request of target terminal transmission, can be stepped on based on first
The target LAN mark carried in record request, judges whether target LAN is the target account carried in the first logging request
Trusted network.And when target LAN is the trusted network of target account, determine that target account is shared account, and to mesh
It marks terminal and sends login confirmation message, to indicate to log in target account on a target terminal, to access target in target terminal
In the case where the trusted network of account, may be implemented target account on a target terminal exempt from close login.It that is to say, the disclosure is real
It applies in example, when a certain terminal accesses the trusted network of a certain shared account, user is shared with this without input on the terminal
The matched password of account, and only need to input the shared account and the login of the shared account can be realized, to simplify shared account
Number login process, improve the login speed of shared account.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 4 is a kind of block diagram of account entering device 400 shown according to an exemplary embodiment.For example, device 400 can
To be provided as a server.Referring to Fig. 4, it further comprises one or more processing that device 400, which includes processing component 422,
Device, and the memory resource as representated by memory 432, for store can by the instruction of the execution of processing component 422, such as
Application program.The application program stored in memory 432 may include it is one or more each correspond to one group refer to
The module of order.
Device 400 can also include the power management that a power supply module 426 is configured as executive device 400, and one has
Line or radio network interface 450 are configured as device 400 being connected to network and input and output (I/O) interface 458.Dress
Setting 400 can operate based on the operating system for being stored in memory 432, such as Windows ServerTM, Mac OS XTM,
UnixTM,LinuxTM, FreeBSDTMOr it is similar.
In addition, processing component 422 is configured as executing instruction, to execute above-mentioned account login method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (11)
1. a kind of account login method, which is characterized in that the described method includes:
The first logging request that target terminal is sent is received, carries target account and target LAN in first logging request
Mark, target LAN are the local area network that the target terminal is currently accessed;
The second logging request is received, the target account, password and LAN ID are carried in second logging request;
Judge whether the target account matches with the password;
When the target account and the password match, the corresponding local area network of the LAN ID is determined as the target
The trusted network of account;
Based on the target LAN identify, judge the target LAN whether be the target account trusted network;
When the target LAN is the trusted network of the target account, determine that the target account is shared account, and
It is sent to the target terminal and logs in confirmation message, the login confirmation message, which is used to indicate on the target terminal, logs in institute
State target account.
2. the method as described in claim 1, which is characterized in that it is described to be identified based on the target LAN, judge the mesh
Mark local area network whether be the target account trusted network, comprising:
Corresponding local is obtained from the corresponding relationship between the account and LAN ID of storage based on the target account
Network mark is known;
When in the LAN ID of acquisition including target LAN mark, determine that the target LAN is the target
The trusted network of account.
3. the method as described in claim 1, which is characterized in that carry target terminal mark in first logging request;
It is described when the target LAN is the trusted network of the target account, determine that the target account is shared account
Number, and sent to the target terminal and log in confirmation message, comprising:
When the target LAN is the trusted network of the target account, determine that the target account is shared account;
It is identified based on the target terminal, judges whether the target account is bound with the target terminal;
When the target account and the target terminal are bound, Xiang Suoshu target terminal sends the login confirmation and disappears
Breath.
4. method as claimed in claim 3, which is characterized in that it is described to be identified based on the target terminal, judge the target
Whether account is bound with the target terminal, comprising:
Based on the target account, from the corresponding relationship between the account and terminal iidentification of storage, corresponding terminal mark is obtained
Know;
When in the terminal iidentification of acquisition including target terminal mark, determine the target account and the target terminal into
Row binding.
5. the method as described in claim 1, which is characterized in that carry at least one terminal mark in second logging request
Know;
It is described when the target account and when the password match, the corresponding local area network of the LAN ID is determined as described
After the trusted network of target account, further includes:
It is for each terminal iidentification at least one described terminal iidentification, the target account is corresponding with the terminal iidentification
Terminal bound.
6. a kind of account entering device, which is characterized in that described device includes:
First receiving module carries mesh in first logging request for receiving the first logging request of target terminal transmission
Account and target LAN mark are marked, target LAN is the local area network that the target terminal is currently accessed;
Second receiving module carries the target account, password in second logging request for receiving the second logging request
And LAN ID;
Second judgment module, for judging whether the target account matches with the password;
Determining module is used for when the target account and the password match, by the corresponding local area network of the LAN ID
It is determined as the trusted network of the target account;
First judgment module judges whether the target LAN is the target for identifying based on the target LAN
The trusted network of account;
Sending module, for determining the target account when the target LAN is the trusted network of the target account
It to share account, and is sent to the target terminal and logs in confirmation message, the login confirmation message is used to indicate in the mesh
The target account is logged in mark terminal.
7. device as claimed in claim 6, which is characterized in that the first judgment module includes:
Acquisition submodule, for being based on the target account, from the corresponding relationship between the account and LAN ID of storage,
Obtain corresponding LAN ID;
First determines submodule, described in determining when in the LAN ID of acquisition including target LAN mark
Target LAN is the trusted network of the target account.
8. device as claimed in claim 6, which is characterized in that carry target terminal mark in first logging request;Institute
Stating sending module includes:
Second determines submodule, for determining the mesh when the target LAN is the trusted network of the target account
Marking account is shared account;
Judging submodule, for based on the target terminal identify, judge the target account whether with the target terminal into
Row binding;
Sending submodule, for when the target account is bound with the target terminal, Xiang Suoshu target terminal to be sent
The login confirmation message.
9. device as claimed in claim 8, which is characterized in that
The judging submodule is used for:
Based on the target account, from the corresponding relationship between the account and terminal iidentification of storage, corresponding terminal mark is obtained
Know;
When in the terminal iidentification of acquisition including target terminal mark, determine the target account and the target terminal into
Row binding.
10. device as claimed in claim 6, which is characterized in that carry at least one terminal mark in second logging request
Know;Described device further include:
Binding module, for for each terminal iidentification at least one described terminal iidentification, by the target account and institute
The corresponding terminal of terminal iidentification is stated to be bound.
11. a kind of account entering device, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The first logging request that target terminal is sent is received, carries target account and target LAN in first logging request
Mark, target LAN are the local area network that the target terminal is currently accessed;
The second logging request is received, the target account, password and LAN ID are carried in second logging request;
Judge whether the target account matches with the password;
When the target account and the password match, the corresponding local area network of the LAN ID is determined as the target
The trusted network of account;
Based on the target LAN identify, judge the target LAN whether be the target account trusted network;
When the target LAN is the trusted network of the target account, determine that the target account is shared account, and
It is sent to the target terminal and logs in confirmation message, the login confirmation message, which is used to indicate on the target terminal, logs in institute
State target account.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610930642.0A CN106453349B (en) | 2016-10-31 | 2016-10-31 | Account login method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610930642.0A CN106453349B (en) | 2016-10-31 | 2016-10-31 | Account login method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106453349A CN106453349A (en) | 2017-02-22 |
CN106453349B true CN106453349B (en) | 2019-06-14 |
Family
ID=58178161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610930642.0A Active CN106453349B (en) | 2016-10-31 | 2016-10-31 | Account login method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453349B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107864134A (en) * | 2017-11-03 | 2018-03-30 | 世纪龙信息网络有限责任公司 | Account login method and system |
CN108234505B (en) * | 2018-01-15 | 2020-08-04 | 口碑(上海)信息技术有限公司 | Account login method and system |
CN111756669B (en) * | 2019-03-26 | 2023-06-16 | 阿里巴巴集团控股有限公司 | Login request processing method, mobile device and intelligent hardware device |
CN110417749A (en) * | 2019-07-09 | 2019-11-05 | 深圳壹账通智能科技有限公司 | Login method, device, computer equipment and readable storage medium storing program for executing based on local area network |
CN114840118A (en) * | 2022-05-06 | 2022-08-02 | 山西海云启辰科技有限公司 | Multi-channel rapid access method for coal trading platform |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025648A (en) * | 2009-09-16 | 2011-04-20 | 腾讯科技(深圳)有限公司 | Instant messaging method and server |
CN103259770A (en) * | 2012-02-17 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Login method and login server |
CN102437914B (en) * | 2010-12-08 | 2013-12-04 | 袁永亮 | Method by utilizing telecommunication network to supply user identity label and user identity authentication to Internet service |
CN104144163A (en) * | 2014-07-24 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity verification method, device and system |
CN104870068A (en) * | 2014-04-02 | 2015-08-26 | 华为终端有限公司 | Method and router for access network |
CN104980420A (en) * | 2014-09-28 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Business processing method, device, terminal and server |
-
2016
- 2016-10-31 CN CN201610930642.0A patent/CN106453349B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025648A (en) * | 2009-09-16 | 2011-04-20 | 腾讯科技(深圳)有限公司 | Instant messaging method and server |
CN102437914B (en) * | 2010-12-08 | 2013-12-04 | 袁永亮 | Method by utilizing telecommunication network to supply user identity label and user identity authentication to Internet service |
CN103259770A (en) * | 2012-02-17 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Login method and login server |
CN104870068A (en) * | 2014-04-02 | 2015-08-26 | 华为终端有限公司 | Method and router for access network |
CN104144163A (en) * | 2014-07-24 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity verification method, device and system |
CN104980420A (en) * | 2014-09-28 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Business processing method, device, terminal and server |
Also Published As
Publication number | Publication date |
---|---|
CN106453349A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453349B (en) | Account login method and device | |
EP3319293B1 (en) | Cross-terminal login-free method and device | |
US11831629B2 (en) | Server for providing a token | |
CN105991614B (en) | It is a kind of it is open authorization, resource access method and device, server | |
WO2022247751A1 (en) | Method, system and apparatus for remotely accessing application, device, and storage medium | |
CN105681258B (en) | Session method and conversational device based on third-party server | |
CN106254319B (en) | Light application login control method and device | |
RU2651159C1 (en) | Method and device for marking unknown number | |
CN108293055A (en) | Method, apparatus and system for authenticating to mobile network and for by the server of device authentication to mobile network | |
CN103067919B (en) | Connection establishment method and authentication method between computing device and mobile device | |
CN104618388B (en) | Fast registration login method and corresponding resetting server, information server | |
CN105636030B (en) | Share the method and device of access point | |
WO2014197128A1 (en) | Methods and systems for single sign-on while protecting user privacy | |
CN105450592A (en) | Safety verification method and device, server and terminal | |
CN111194035A (en) | Network connection method, device and storage medium | |
CN104967572B (en) | Network Access Method, device and equipment | |
CN106302400A (en) | The processing method and processing device of access request | |
CN105743922B (en) | The method, apparatus and system of inter-domain communication | |
CN110943962B (en) | Authentication method, network equipment, authentication server and forwarding equipment | |
CN105635059B (en) | A kind of WLAN access authentication method, relevant device and system | |
CN107534859A (en) | A kind of method for network authorization, client, terminal device and platform | |
CN112395020A (en) | Safety protection method of intranet, client, target server and storage medium | |
CN114531279B (en) | Private network access method, server and storage medium | |
US11095436B2 (en) | Key-based security for cloud services | |
CN106204261A (en) | A kind of information processing method, terminal and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |