Background technology
Along with development of internet technology, various network services constantly upgrades, perfect, more and more convenient popular the use.In various network services, some service is specific to the individual, has certain privacy and confidentiality, as personal electric mailbox, instant communication client, online game etc.These network services require the user to carry out register in use, and associated server is after the log-on message of confirming the user, and just permitted user is carried out the corresponding network page.
Referring to Fig. 1, existing network entry method is shown, concrete steps are as follows.
Step S101, user login certain website in advance, and input needs the website information of Website login, and client sends to server with website information after obtaining this website information.For example, the user logins 91 in advance and plays the website, input website information " http://www.91wan.com/ ", and client sends to 91 servers of playing with this website information " http://www.91wan.com/ ".
Step S102, server return the corresponding login page of above-mentioned website information.For example, 91 servers of playing return 91 login page, and this login page comprises content of pages such as login frame, picture and flash.
Step S103, user import log-on message at login page, and client sends to server with this log-on message.For example, the log-on message of user's input comprises username and password, and client sends to 91 servers of playing with this username and password.
Step S 104, server authentication log-on message are passed through as checking, and server returns corresponding Webpage.For example, the username and password that the 91 server authentication clients of playing send as correctly, returns whole content of pages of page http://www.91wan.com/ that turns one's head.
As shown in Figure 1, in this login process, client and server carry out information interaction 4 times, and reciprocal process need transmit the bigger page info of data volume, and this can delay the user to a certain extent and login speed, and low user logins efficient.And this login process needs the user in the face of the non-required page (as login page), causes sense of experience of users to reduce.
In the above-mentioned login process, the user need import log-on message, when the user need login a plurality of websites, each website log information not simultaneously, the user need remember the log-on message of each website correspondence, the inconvenience that causes the user to use.
Summary of the invention
Purpose of the present invention provides a kind of network entry method, and this method can improve the user effectively and login efficient, and promotes the user experience sense, is user-friendly to.
A kind of network entry method of the present invention, the built-in logon data of client, this logon data comprises the log-on message of a plurality of websites, this method comprises:
Client is obtained website information, searches in logon data and the corresponding login mechanism of website information, generates logging request according to login mechanism, and this logging request is sent to server;
The server authentication logging request is passed through as checking, returns corresponding Webpage.
Preferably, this method also comprises:
Client sends the target pages request to server according to website information;
Server returns corresponding target pages.
Preferably, generating logging request according to login mechanism is specially:
User end to server sends website information;
Server returns the corresponding login page content of website information;
Client adds user profile in the login page content, as logging request.
Preferably, generating logging request according to login mechanism is specially:
Client is obtained the encryption key or the encryption method of the corresponding website of website information;
Client uses encryption key or encryption method that user profile is carried out encryption respectively, with the partial content of the user profile after encrypting as logging request.
Preferably, generating logging request according to login mechanism is specially:
Client sends to server with website information;
Server returns corresponding login page to client, client Receipt Validation information;
Client is with the partial content of authorization information as logging request.
Preferably, described login mechanism comprises user name, password and/or login mode.
The present invention also provides a kind of network entry system, and this system can improve the user effectively and login efficient, and promotes the user experience sense, is user-friendly to.
A kind of network entry of the present invention system comprises client and server, and described client comprises login mechanism preservation module and logging request sending module:
Login mechanism is preserved module, is used for built-in logon data, and this logon data comprises the login mechanism of a plurality of websites;
The log-on message request module is used to obtain website information, searches in logon data and the corresponding login mechanism of website information, generates logging request according to login mechanism, and this logging request is sent to server;
Server is used to verify logging request, passes through as checking, returns corresponding Webpage.
Preferably, the logging request sending module comprises that website information sends submodule and user profile loads submodule:
Website information sends submodule, is used for sending website information to server; Server returns the corresponding login page content of website information;
User profile loads submodule, is used for adding user profile in the login page content, as logging request.
Preferably, the logging request sending module comprises that key obtains submodule and encrypts the transmission submodule:
Key obtains submodule, is used to obtain the encryption key of the corresponding website of website information;
Encrypt and send submodule, use encryption key that user profile is carried out encryption respectively, will encrypt the partial content of back log-on message as logging request, gradation sends to server.
Preferably, the logging request sending module comprises that website information sends submodule, user profile is obtained submodule and logging request processing sub:
Website information sends submodule, is used for website information is sent to server; Server returns corresponding login page to client;
User profile is obtained submodule, is used for Receipt Validation information;
The logging request processing sub is used for the partial content of authorization information as logging request.
Compared with prior art, the present invention has the following advantages:
The present invention preserves the log-on message of a plurality of websites at client terminal local, website information according to user's input, directly transfer the log-on message of corresponding website in this locality, omission is by client and respective wire site server information interaction, ask login page, send the process of log-on message again, reduce the information interaction flow process, shorten login time, improve the user effectively and login efficient.Simultaneously, from user's angle, after the user imports website information, can obtain required Webpage, the interference of login page well promotes the user experience sense in the middle of avoiding.And this login mode does not need the user to stay in the information such as login username, login password of each website, is user-friendly to.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The present invention is in the built-in logon data of local client, this logon data record client is to the login mechanism of each website, when the user logins certain website, client is at first extracted the login mechanism of this website from logon data, generate logging request, send to this Website server, this Website server returns corresponding Webpage.Like this, improve the user effectively and login efficient, and promote the user experience sense, be user-friendly to.
Referring to Fig. 2, network entry method of the present invention is shown, concrete steps are as follows.
Step S201, the built-in logon data of client, this logon data comprises the login mechanism of a plurality of websites, login mechanism comprises login mode, user name, password, link URL etc.For example, everybody login mechanism of net is:
<form?method=″post″id=″theLogin″action=″http://www.renren.com/PLogin.do″>
<input?type=″hidden″name=″email″id=″email″value=″{username}″/></p>
<input?type=″hidden″id=″password″name=″password″value=″{password}″/>
<input?type=″hidden″name=″origURL″value=″{referer}″/>
<input?type=″hidden″name=″domain″value=″renren.com″/>
</form>
{ username}: Zhang
{.password}:12345
{referer}:″,http://game.renren.com/?c=dream″
Step S202, user login certain website in advance, input needs the website information of Website login, after client is obtained this website information, searches in logon data and the corresponding login mechanism of this website information, generate logging request by this login mechanism, this logging request is sent to the server of this website.For example, the user logins everybody net in advance, and everybody website information of net is input to client, and client finds described everybody the net login mechanism of step 201, generates everybody net logging request, will send to the server of everybody net.
Step S203, server authentication logging request are passed through as checking, and server returns corresponding Webpage, do not pass through as checking, return login failure information.
The present invention preserves the login mechanism of a plurality of websites at client terminal local, website information according to user's input, directly generate the logging request of corresponding website in this locality, omission is by client and respective wire site server information interaction, ask login page, send the process of log-on message again, reduce the information interaction flow process, shorten login time, improve the user effectively and login efficient.
Simultaneously, from user's angle, after the user imports website information, can obtain required Webpage, the interference of login page well promotes the user experience sense in the middle of avoiding.And this login mode does not need the user to stay in the information such as login username, login password of each website, is user-friendly to.
Further, if the website information of user's input is not the homepage of website, but certain specific target pages, client of the present invention is not shown to the user with the Webpage of step S203, but according to the target pages information that comprises in the website information, send the target pages request to server, server is shown to the user with target pages after returning corresponding target pages.
For example, the website information of user's input is the inbox network address of Netease's mailbox, and client is not shown to the user with the mailbox page after getting access to the mailbox page of Netease by step shown in Figure 2, but further ask the inbox page, the inbox page that obtains is shown to the user.This login mode only needs the user to import website information, just can enter into target pages, and the convenience that lets user experiencing key login is with quick.
In step S202, client of the present invention can adopt multiple mode to generate logging request, to adapt to the different proof procedures of different web sites to logging request.As, the website that has directly receives logging request, can adopt submission form mode request Webpage for such website; The website that has just receives logging request after needing to send the login page request earlier, can adopt simulation login mode request Webpage for such website; The website that has need receive logging request several times, and uses key to carry out encryption to logging request, can adopt repeatedly request and cipher mode request Webpage for such website; The website that has adopts the authorization information mode that logging request is verified, then needs to revert to existing login mode for such website and logins.
Mode one
Referring to Fig. 3, client of the present invention is shown generates logging request first embodiment according to login mechanism, concrete steps are as follows.
After step S301, client are obtained the login mechanism of user's website information correspondence, determine to adopt submission form mode request Webpage according to login mechanism.
Step S302, client generate the logging request list according to login mechanism, this logging request list are sent to the server of this website.
Mode two
Referring to Fig. 4, client of the present invention is shown generates logging request second embodiment according to login mechanism, concrete steps are as follows.
After step S401, client are obtained the login mechanism of user's website information correspondence, determine to adopt simulation request mode request Webpage according to login mechanism.
Step S402, user end to server send website information.
Step S403, server return the corresponding login page content of above-mentioned website information.
Step S404, client add user profile such as username and password in above-mentioned login page content, as logging request, send to server.
Mode three
Referring to Fig. 5, user end to server request Webpage flow process the 3rd embodiment of the present invention is shown, concrete steps are as follows.
After step S501, client are obtained the login mechanism of user's website information correspondence, determine to adopt repeatedly request and cipher mode request Webpage according to login mechanism.
Step S502, client are obtained the encryption key or the encryption method of the corresponding website of website information.Obtain manner can be in the database of client terminal local preservation related data and obtains, or obtains from associated server.
Step S503, client use encryption key or encryption method that user profile such as username and password are carried out encryption respectively, and with the user profile after encrypting, as the partial content of logging request, gradation sends to server.
Mode four
Referring to Fig. 6, user end to server request Webpage flow process the 4th embodiment of the present invention is shown, concrete steps are as follows.
After step S601, client are obtained the login mechanism of user's website information correspondence, determine to adopt dynamic encryption login mode request Webpage according to login mechanism.
Step S602, client send to server with user's website information.
Step S603, server return corresponding login page to client, and client is shown to the user, and receive user's input validation information.
Step S604, client are with the partial content of authorization information as logging request.
Based on above-mentioned network entry method, the present invention also provides a kind of network entry system.Referring to Fig. 7, network entry of the present invention system is shown, comprise client 1 and server 2, client 1 comprises that login mechanism preserves module 11 and logging request sending module 12.
Login is by preserving module 11 built-in logon data, and this logon data comprises the log-on message of a plurality of websites; Logging request sending module 12 is used to obtain website information, searches in logon data and the corresponding login mechanism of website information, generates logging request according to login mechanism, and this logging request is sent to server 2; Server 2 checking log-on messages are passed through as checking, return corresponding Webpage.
Corresponding above-mentioned Fig. 4-Fig. 6, logging request sending module 12 of the present invention can have multiple structure.
Referring to Fig. 8, logging request sending module 12 first embodiment of the present invention are shown, logging request sending module 12 comprises that website information sends submodule 121 and user profile loads submodule 122:
Website information sends submodule 121 and sends website information to server 2; Server 2 returns the corresponding login page content of website information; User profile loads submodule 122 and add user profile in the login page content, as logging request.
Referring to Fig. 9, logging request sending module 12 second embodiment of the present invention are shown, logging request sending module 12 comprises that key obtains submodule 123 and encrypts transmission submodule 124:
Key obtains encryption key or the encryption method that submodule 123 obtains the corresponding website of website information; Encrypt transmission submodule 124 and use encryption keys or encryption method that user profile is carried out encryption respectively, will encrypt the partial content of back log-on message as logging request, gradation sends to server 2.
Referring to Figure 10, logging request sending module 12 the 3rd embodiment of the present invention is shown, logging request sending module 12 comprises that website information sends submodule 121, user profile is obtained submodule 125 and logging request processing sub 126.
Website information sends submodule 121 website information is sent to server 2; Server 2 returns corresponding login page; User profile is obtained submodule 125 Receipt Validation information; Logging request processing sub 126 is with the partial content of authorization information as logging request.
The above only is a preferred implementation of the present invention, does not constitute the qualification to protection range of the present invention.Any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.