A kind of account login method and system based on router
Technical field
The present invention relates to field of communication technology more particularly to a kind of account login methods and system based on router.
Background technology
With the development of information technology, whether in public or private context, router wirelessly or non-wirelessly is
As indispensable part, user is surfed the web by the network that router provides, convenient and efficient.
Present many websites or application software, user need to obtain by registration or login account more when accessing
Service content, for example, many forums require only to log in certain columns and can just post, tourist can only browse, but this opinion
The not restricted user's registration account of altar can be registered very so when user accesses many different websites or application software
More login accounts, to obtain more service content, but the process registered is very complicated, and multiple account informations are required for using
Remembered at family, it is easy to cause user to obscure different account informations, even can accurately remember each account information,
It is also required to user's input account to log in, operating process is very complicated.
Existing router, which only needs terminal to create an account executive, to be managed router, but for end
When end accesses external website or application software, router can not be that terminal registers login account automatically, can not be stepped on to multiple
Record account carries out unitized management, and terminal still has more accounts by router access external website or application software and is difficult to
The problem of memory and management.
The patent of Publication No. CN105553968A discloses a kind of method and apparatus realized more accounts and logged in.Wherein institute
The method of stating includes:When receiving the landing request information using the specified application of the first account login, it is judged whether or not its
He has logged on the specified application at one or more accounts;If the judgment is Yes, then store path is created to preserve about this
The information of first account, so that first account and other described one or more accounts log in described specify and answer simultaneously
With.This method can realize a browser or other application by storing different login accounts with independent store path
Above while multiple accounts are logged in, but account registration is carried out not by router, account still needs user's manual registration, behaviour
Make relative complex.
Invention content
The present invention provides a kind of account login method and system based on router, can not to solve existing route device
The problem of multiple login accounts of user are managed collectively, account register is simplified.
To achieve the goals above, the technical solution adopted by the present invention is as follows:
A kind of account login method based on router, including step:
S10:The mark account that terminal is sent is obtained, is stored to router in storing;
S20:It receives the terminal and logs in the login signal for presetting external website, judge whether bound in the mark account
There is the login account of the default external website;
S30:If the mark account binding has the login account of the default external website, the login account is sent
To the default external website server to be logged in, if it is not, then create the login account of the default external website with into
Row logs in.
Further, further include step before the step S10:
S00:Wired or wireless communication is established with terminal to connect.
Further, further include step:
S40:The mark account of the login account information and terminal is sent to the background server of router to carry out
Storage backup.
Further, further include step after the step S30:
S301:The login account for obtaining the default external website of the establishment is bound with the mark account.
Further, the login account for creating the default external website further includes specifically step:
The format information for obtaining the default external website login account is converted to the mark account described default outer
The format of portion's website log account is to create login account.
A kind of account login system based on router, including:
Memory module:Mark account for obtaining terminal transmission is stored to router in storing;
Judgment module:The login signal that default external website is logged in for receiving the terminal, judges the mark account
In whether bind the login account of the default external website;
Login module:If there is the login account of the default external website for the mark account binding, institute is sent
Login account is stated to the default external website server to be logged in, if it is not, then creating stepping on for the default external website
Account is recorded to be logged in.
Further, the system also includes:
Link block:It is connect for establishing wired or wireless communication with terminal.
Further, further include:
Backup memory module:Backstage for the mark account of the login account information and terminal to be sent to router
Server is to carry out storage backup.
Further, the system also includes:
Binding module:Format information for obtaining the default external website login account turns the mark account
The format of the default external website login account is changed to create login account.
Further, the system also includes:
Account creating unit:Format information for obtaining the default external website login account, according to the format
Information creating login account.
Using the present invention, crosses terminal iidentification account and bound with multiple login accounts, simplify terminal account register;It is logical
It crosses router to be managed multiple accounts, does not need user and remember account information, avoid causing to remember due to more account informations
Chaotic problem, while router can automatically carry out account registration according to the account format of the external website of access, facilitate use
Family.
Description of the drawings
Fig. 1 is a kind of account login method flow chart based on router provided by the invention;
Fig. 2 is a kind of account login method flow chart based on router provided by the invention;
Fig. 3 is a kind of account login system structure chart based on router provided by the invention;
Fig. 4 is a kind of account login system structure chart based on router provided by the invention.
Specific implementation mode
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described,
However, the present invention is not limited to these examples.
In the present invention, terminal is to establish connection with router and can access website or application by router network
The equipment of software, such as computer or mobile phone, the terminal by establish one mark account, storage in the router, as
The account executive of router, on the account executive binding have the login account of other websites or application software, each is different
Terminal has corresponding mark account, router to identify the device id etc. that end message connected to it such as terminal is sent,
Corresponding mark account is specified for the terminal.
Embodiment one
As shown in Figure 1, present embodiments providing a kind of account login method based on router, including step:
S10:The mark account that terminal is sent is obtained, is stored to router in storing;
S20:It receives the terminal and logs in the login signal for presetting external website, judge whether bound in the mark account
There is the login account of the default external website;
S30:If the mark account binding has the login account of the default external website, the login account is sent
To the default external website server to be logged in, if it is not, then create the login account of the default external website with into
Row logs in.
In the present embodiment, terminal first passes through wired or wireless connection router device, creates mark account, the mark account
On the one hand account can be managed by login to configure road as the management account of router, when being configured to router
By device, on the other hand, which is bundled with the account of other external websites as the entrance for logging in other external websites
Number, in external websites other by router access, the account that router extracts binding from mark account carries out terminal
It logs in.
In step S10, account executive of the mark account one side as a user management router has included at least use
Some identity informations at family or account information etc., there are one corresponding mark accounts for each terminal, in router storage
The mark account of at least more than one can be stored, router is according to different end messages such as terminal device ID, to identify
Different terminals, for the specified corresponding mark account of each terminal, each terminal-pair should identify account accordingly, convenient for more
User uses, while also avoiding obscuring for mark account by identification terminal information.
In step S20, default external website is that user is pre-set in the router, for example, default external website can
To be that some forum websites, shopping website etc. need login account that could obtain the websites of more service content, for user's
Privacy angle etc. accounts for, and the account information of other non-default external websites will not be recorded in router, i.e. user can have
The default external website of selection, more flexible achievees the purpose that router administration account, and can guarantee some privacy accounts of user
It number is not recorded
When terminal is by these default websites of router access, router can judge identify in account whether have binding institute
State the login account of default external website.
Specifically, for all default external websites of some terminal, login account all can be with the mark of the terminal
Account is bound, can be right to make the terminal only need login banner account when presetting external website by router access
The logon account of default external website should be found, realizes the unitized management to all default external website logon accounts.
In step S30, if binding has the login account of the default external website in the mark account of terminal, router can
Directly to log in the default external website by the login account, eliminates user and inputs the operation that login account is logged in,
If not binding the login account of the default external website in mark account, router is needed according to the use for including in mark account
Login account that account format of family information and default external website etc. registers the default external website is gone forward side by side logins, thus
Further reduce the process of the manual register account number of user.
Terminal presets external website by router access, makes router as the bridge between user and default external website
Beam, to save the During manual operation between user and default external website, user only needs one mark account of input
Other all default external websites can be registered or be logged in, the operation of user is simplified.
Embodiment two
As shown in Fig. 2, present embodiments providing a kind of account login method based on router, including step:
S00:Wired or wireless communication is established with terminal to connect;
S10:The mark account that terminal is sent is obtained, is stored to router in storing;
S20:It receives the terminal and logs in the login signal for presetting external website, judge whether bound in the mark account
There is the login account of the default external website;
S30:If the mark account binding has the login account of the default external website, the login account is sent
To the default external website server to be logged in, if it is not, then create the login account of the default external website with into
Row logs in;
S301:The login account for obtaining the default external website of the establishment is bound with the mark account;
S40:The mark account of the login account information and terminal is sent to the background server of router to carry out
Storage backup.
The present embodiment and embodiment one the difference is that, further include step S00, step S301, step S40.
Specifically,
In step S00, terminal is established limited or wireless communication with router and is connected, and the default extranets of terminal access are received
Stand information, router could the corresponding logon account for finding default external website to be logged in.
In step S301, for router automatically register create after login account, router can by the login account with
Mark account is bound, and when user accesses the default external website next time, is directly logged in by the login account,
Eliminate the process that router is registered again.
In step S40, the background server of router can preserve mark account and the mark account binding of terminal
The login account of default external website, even there are other failures such as damage or factory reset in router,.User
Background server can be logged on to and give personal mark account and login account for change to claim, improve user account information
Safety guarantee.
In the present embodiment, further include in step S30:
The format information for obtaining the default external website login account is converted to the mark account described default outer
The format of portion's website log account is to create login account.
Specifically, when router creates login account, the register account number format for presetting external website is obtained first, then will
User information in mark account is according to the format that its format conversion is default external website login account, corresponding filling registration
It is registered in format, for example, router registration needs to insert username and password when presetting external website account, wherein inputting
User name format to need initial character cannot be Chinese character, the password format of input needs to route comprising number and letter simultaneously
The user information that device will extract mark account is converted to the information met with the format to create logon account.It needs
It solves, only elaborate router in the present embodiment is created by identifying the register account number format of account and default external website
A kind of embodiment of login account, the present invention is in order to further facilitate registration, user that can also add in identifying account
Add some more complete information, such as the name of user, gender, contact method etc., it is all by identifying account information and presetting
The register account number format of external website come create the mode of login account all should be in the scope of the present invention.
Login account is managed by router, user is not needed and goes memory account information, avoid user simultaneously
The problem of memory caused by remembering multiple accounts is obscured, user, which need to only remember a mark account, can log in other default outsides
Website, it is convenient for users.
Embodiment three
As shown in figure 3, a kind of account login system based on router is present embodiments provided, including:
Memory module:The mark account that terminal is sent is obtained, is stored to router in storing;
Judgment module:Receive the terminal and log in the login signal for presetting external website, judge be in the mark account
It is no to bind the login account for having the default external website;
Login module:If the mark account binding has the login account of the default external website, stepped on described in transmission
Account is recorded to the default external website server to be logged in, if it is not, then creating the login account of the default external website
Number to be logged in.
In the present embodiment, terminal first passes through wired or wireless connection router device, creates mark account, the mark account
On the one hand account can be managed by login to configure road as the management account of router, when being configured to router
By device, on the other hand, which is bundled with the account of other external websites as the entrance for logging in other external websites
Number, in external websites other by router access, the account that router extracts binding from mark account carries out terminal
It logs in.
In memory module, account executive of the mark account one side as a user management router includes at least
Some identity informations of user or account information etc., there are one corresponding mark account, router storages for each terminal
In can store the mark account of at least more than one, router is according to different end messages such as terminal device ID, to know
Not different terminals, for the specified corresponding mark account of each terminal, each terminal-pair should identify account, be convenient for accordingly
Multi-user uses, while also avoiding obscuring for mark account by identification terminal information.
In judgment module, default external website is that user is pre-set in the router, for example, default external website can
To be that some forum websites, shopping website etc. need login account that could obtain the websites of more service content, for user's
Privacy angle etc. accounts for, and the account information of other non-default external websites will not be recorded in router, i.e. user can have
The default external website of selection, more flexible achievees the purpose that router administration account, and can guarantee some privacy accounts of user
It number is not recorded
When terminal is by these default websites of router access, router can judge identify in account whether have binding institute
State the login account of default external website.
Specifically, for all default external websites of some terminal, login account all can be with the mark of the terminal
Account is bound, can be right to make the terminal only need login banner account when presetting external website by router access
The logon account of default external website should be found, realizes the unitized management to all default external website logon accounts.
In login module, if binding has the login account of the default external website, router in the mark account of terminal
Can the default external website directly be logged in by the login account, eliminate user and input the behaviour that login account is logged in
Make, if not binding the login account of the default external website in mark account, router needs include according in mark account
Login account of user information and the registration such as account format one of the default external website default external website go forward side by side login,
To further reduce the process of the manual register account number of user.
Terminal presets external website by router access, makes router as the bridge between user and default external website
Beam, to save the During manual operation between user and default external website, user only needs one mark account of input
Other all default external websites can be registered or be logged in, the operation of user is simplified.
Example IV
As shown in figure 4, a kind of account login system based on router is present embodiments provided, including:
Link block:Wired or wireless communication is established with terminal to connect;
Memory module:The mark account that terminal is sent is obtained, is stored to router in storing;
Judgment module:Receive the terminal and log in the login signal for presetting external website, judge be in the mark account
It is no to bind the login account for having the default external website;
Login module:If the mark account binding has the login account of the default external website, stepped on described in transmission
Account is recorded to the default external website server to be logged in, if it is not, then creating the login account of the default external website
Number to be logged in;
Binding module:The login account for obtaining the default external website of the establishment is bound with the mark account;
Backup memory module:The mark account of the login account information and terminal is sent to the background service of router
Device is to carry out storage backup.
The present embodiment and embodiment three the difference is that, further include link block, binding module, backup memory module.
Specifically,
In link block, terminal is established limited or wireless communication with router and is connected, and the default outside of terminal access is received
Site information, the corresponding logon account for finding default external website of router ability is to be logged in.
In binding module, for router automatically register create after login account, router can by the login account with
Mark account is bound, and when user accesses the default external website next time, is directly logged in by the login account,
Eliminate the process that router is registered again.
In backup memory module, the background server of router can preserve the mark account of terminal and the mark account is tied up
The login account of fixed default external website, even there are other failures such as damage or factory reset in router,.With
Family can also log on to background server and give personal mark account and login account for change to claim, and improve user account letter
The safety guarantee of breath.
In the present embodiment, further include in login module:
Account creating unit:Format information for obtaining the default external website login account, by the mark account
Family is converted to the format of the default external website login account to create login account.
Specifically, when router creates login account, the register account number format for presetting external website is obtained first, then will
User information in mark account is according to the format that its format conversion is default external website login account, corresponding filling registration
It is registered in format, for example, router registration needs to insert username and password when presetting external website account, wherein inputting
User name format to need initial character cannot be Chinese character, the password format of input needs to route comprising number and letter simultaneously
The user information that device will extract mark account is converted to the information met with the format to create logon account.It needs
It solves, only elaborate router in the present embodiment is created by identifying the register account number format of account and default external website
A kind of embodiment of login account, the present invention is in order to further facilitate registration, user that can also add in identifying account
Add some more complete information, such as the name of user, gender, contact method etc., it is all by identifying account information and presetting
The register account number format of external website come create the mode of login account all should be in the scope of the present invention.
Login account is managed by router, user is not needed and goes memory account information, avoid user simultaneously
The problem of memory caused by remembering multiple accounts is obscured, user, which need to only remember a mark account, can log in other default outsides
Website, it is convenient for users.
Specific embodiment described herein is only an example for the spirit of the invention.Technology belonging to the present invention is led
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.