CN102968584A - Method and device for logging in webpage - Google Patents

Method and device for logging in webpage Download PDF

Info

Publication number
CN102968584A
CN102968584A CN2012105062819A CN201210506281A CN102968584A CN 102968584 A CN102968584 A CN 102968584A CN 2012105062819 A CN2012105062819 A CN 2012105062819A CN 201210506281 A CN201210506281 A CN 201210506281A CN 102968584 A CN102968584 A CN 102968584A
Authority
CN
China
Prior art keywords
login information
user login
browser
interface
page
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.)
Granted
Application number
CN2012105062819A
Other languages
Chinese (zh)
Other versions
CN102968584B (en
Inventor
段培堃
杭程
谢志宏
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210506281.9A priority Critical patent/CN102968584B/en
Publication of CN102968584A publication Critical patent/CN102968584A/en
Application granted granted Critical
Publication of CN102968584B publication Critical patent/CN102968584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for logging in a webpage, and relates to the technical field of internet. The method comprises the steps as follows: when a browser visits an appointed webpage, judging if user login information corresponding to the appointed webpage is in a user login information database, if so, calling back an interface capable of returning a page interaction opportunity in the browser, and when receiving an indication of the page interaction opportunity of the interface, filling the user login information corresponding to the appointed webpage in the user login information database into the corresponding position of the appointed webpage so as to log in the appointed webpage. According to the technical scheme, the efficiency is improved, the speed is high, the system resources are saved, and compatibility to different browsers can be achieved.

Description

A kind of method and apparatus of log-on webpage
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of method and apparatus of log-on webpage.
Background technology
Need to input user login information during a lot of website of network user login; comprise user name (account) and password etc.; the user login informations such as username and password of user management oneself are more loaded down with trivial details things; the user often can forget or obscure the user login information of oneself, thereby gives the login obstacles.
Thus, some user login information management having occurred uses.These user login information management are used and can be managed the user concentratedly at the user login information of each website, thereby have saved the loaded down with trivial details work of the log-on message of user management oneself.
For example, with the example that is applied as of existing a kind of by name " login house keeper ", it can realize following functions: 1, as long as click website name or account, and just automatically Website login or automatic form filling.If 2 have a plurality of accounts at some websites, can also select to want the account used at the account drop-down list.3, can use default generic identity to fill in logon form and the enrollment form of a plurality of websites.If 4 have a plurality of generic identity, can also select to want the generic identity used at the generic identity drop-down list.5, the list of websites that can use cloud to encrypt behind the login browser, the account number cipher security further promotes.6, can use the cloud backup functionality behind the login browser, back up safely the website account number cipher of having preserved.
The interface synoptic diagram of the preservation user login information that Fig. 1 shows existing " login house keeper " uses.As shown in Figure 1, after the user logins certain online shopping mall website, click " safety is preserved " button at the prompting bar, can be quickly and easily account and the password of this online shopping mall website be preserved, and this online shopping mall website can appear in the list of websites of main panel of " login house keeper ".
In addition, also can in " login house keeper ", manually add account and the password of some websites.For example, can click " interpolation website " button on " login house keeper " main interface, then in the page that ejects, fill in web site name, station address, username and password etc., click " determining " button and just added successfully.
But existing user login information management is used and is also had following shortcoming:
1. the user login information management is used in order to obtain the user profile in the page and insert the user profile of storing in corresponding webpage, can realize a timer, then whether the polling page loads and finishes, but determining page interaction opportunity, to carry out the above-mentioned described operation of obtaining or fill on this opportunity.This mode needs polling, and efficient is low, speed is slow, waste system resource.
2. in addition, present subscriber information management is used and is realized mainly for the IE browser kernel, wherein realizes required function by calling com interface.But realize only being suitable for the IE browser with com interface, no longer general for Chrome browser the method, need again exploitation.That is, can't realize compatibility for different browsers.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of device of method and corresponding a kind of log-on webpage of a kind of log-on webpage that overcomes the problems referred to above or address the above problem at least in part is provided.
According to one aspect of the present invention, a kind of method of log-on webpage is provided, the method comprises:
When the browser access named web page, judge the user login information that whether exists in the user login information database should named web page;
If exist, but but then adjust back the interface of the back page interaction opportunity in the browser;
But when the indication of the page interaction opportunity of receiving described interface, the user login information to should named web page in the user login information database is inserted in the correspondence position of this named web page, thereby logined this named web page.
Alternatively, the method further comprises: when the browser access particular webpage and when receiving the user login information of user input, obtain the network address of this particular webpage; But but the interface of the back page interaction opportunity in the readjustment browser; But when the indication of the page interaction opportunity of receiving described interface, from the correspondence position of described particular webpage, obtain the user login information of user's input; When receiving the preservation user login information instruction that the user inputs, be saved in user login information database corresponding with the network address of this particular webpage of user login information of obtaining.
Alternatively, but but the interface of the back page interaction opportunity in the described readjustment browser comprise:
If the type of described browser kernel is the trident kernel, then calls the Behavior interface of the browser that uses described trident kernel, and required page elements is notified to described Behavior interface; Receive described Behavior interface at the interaction opportunity of determining to return after described page elements loading is finished;
If the type of described browser kernel is webkit kernel or Gecko kernel, call then that corresponding interaction opportunity obtains interface in the browser that uses described webkit kernel or Gecko kernel, obtain the trigger timing of the DOMContentLoaded event that interface returns as page interaction opportunity but receive corresponding interaction opportunity.
Alternatively, described user login information comprises: username and password.Comprise in the described correspondence position of the user login information to should named web page in the user login information database being inserted this named web page: travel through the input element in this named web page, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button; With in the user login information database to username and password that should named web page and submit successively corresponding inserting in three elements that find of instruction to.
Alternatively, described user login information comprises: username and password.The described user login information that obtains user's input from the correspondence position of described particular webpage comprises: travel through the input element in the described particular webpage, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button; When the corresponding affirmation event of above three elements occurs, obtain the value in the input element that input element that described type is text and described type be password, obtain username and password.
According to a further aspect in the invention, provide a kind of device of log-on webpage, this device comprises: input block, storage unit, readjustment unit and log-on message operating unit;
Described input block is suitable for receiving user's input;
Described storage unit is suitable for preserving the user by the user login information of described input block input;
Described log-on message operating unit, be suitable for when the browser access named web page, judge the user login information that whether exists in the described storage unit should named web page, if exist, but but then send the instruction of the interface of the back page interaction opportunity in the readjustment browser to described readjustment unit, but and when receiving the indication of the page interaction opportunity that returns the readjustment unit, to in the storage unit user login information that should named web page be inserted in the correspondence position of this named web page, thereby login this named web page;
Described readjustment unit, be suitable for when receiving the instruction of log-on message operating unit, but but the interface of the back page interaction opportunity of readjustment in the browser, but when the indication of the page interaction opportunity of receiving described interface, this indication is transmitted to described log-on message operating unit.
Alternatively, described log-on message operating unit is further adapted for when browser access particular webpage and browser receive the user login information of user by described input block input, obtain the network address of this particular webpage, but but and the instruction that sends the interface of the back page interaction opportunity in the readjustment browser to described readjustment unit, but and when receiving the indication of the page interaction opportunity that returns the readjustment unit, from the correspondence position of described particular webpage, obtain the user login information of user's input, then when receiving the preservation user login information instruction of user by the input of described input block, the user login information that obtains is saved in the storage unit with the network address of this particular webpage is corresponding.
Alternatively, described readjustment unit is suitable for when the type of described browser kernel is the trident kernel, calls the Behavior interface of the browser that uses described trident kernel, and required page elements is notified to described Behavior interface; Receive described Behavior interface at the interaction opportunity of determining to return after described page elements loading is finished;
Described readjustment unit, be suitable for when the type of described browser kernel is webkit kernel or Gecko kernel, call that corresponding interaction opportunity obtains interface in the browser that uses described webkit kernel or Gecko kernel, obtain the trigger timing of the DOMContentLoaded event that interface returns as page interaction opportunity but receive corresponding interaction opportunity.
Alternatively, described user login information comprises: username and password.Described log-on message operating unit, be suitable for traveling through the input element in this named web page, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button, with in the storage unit to username and password that should named web page and submit successively corresponding inserting in three elements that find of instruction to.
Alternatively, described user login information comprises: username and password.Described log-on message operating unit, be suitable for traveling through the input element in the described particular webpage, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button, when the corresponding affirmation event of above three elements occurs, obtain the value in the input element that input element that described type is text and described type be password, obtain username and password.
According to of the present invention this when the browser access named web page, judge the user login information that whether exists in the user login information database should named web page, if exist, but but then adjust back the interface of the back page interaction opportunity in the browser, but when the indication of the page interaction opportunity of receiving described interface, the user login information to should named web page in the user login information database is inserted in the correspondence position of this named web page, thereby login in the technical scheme of this named web page, but but but determine page interaction opportunity by the interface of the back page interaction opportunity in the readjustment browser, whether this loads the scheme of finishing with respect to the polling page of the prior art, has improved efficient, fast and the saving system resource of speed.And but but the interface of back page interaction opportunity all arranged in the different browsers, therefore technical scheme of the present invention can compatible different browsers, and namely technical scheme of the present invention is applicable to different browsers.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
The interface synoptic diagram of the preservation user login information that Fig. 1 shows existing " login house keeper " uses;
Fig. 2 shows the according to an embodiment of the invention process flow diagram of the method for log-on webpage;
Fig. 3 shows the process flow diagram that obtains according to an embodiment of the invention user login information; And
Fig. 4 shows the according to an embodiment of the invention structural drawing of the device of log-on webpage.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Fig. 2 shows the according to an embodiment of the invention process flow diagram of the method for log-on webpage.As shown in Figure 2, the method comprises:
Step S210 when the browser access named web page, judges the user login information that whether exists in the user login information database should named web page.
In one embodiment of the invention, the browser access named web page refers to, according to user's operation, and browser access webpage, load page.The user here is operating as: the user inputs uniform resource position mark URL in the address field of browser, user's webpage clicking link, perhaps clauses and subclauses etc. in user selection historical record or the collection.
Step S220 if exist in the user login information database user login information that should named web page, but but then adjusts back the interface of the back page interaction opportunity in the browser.
In one embodiment of the invention, if the type of browser kernel is the trident kernel, then call the Behavior interface of the browser that uses the trident kernel, and notify the interface to Behavior with required page elements, receive described Behavior interface and determining that described page elements loads the interaction opportunity that returns after finishing.If the type of browser kernel is webkit kernel or Gecko kernel, call then that corresponding interaction opportunity obtains interface in the browser that uses webkit kernel or Gecko kernel, obtain the trigger timing of the DOMContentLoaded event that interface returns as page interaction opportunity but receive corresponding interaction opportunity.For example, when browser is the IE browser, the Behavior interface in the readjustment IE browser.When browser was Chrome browser, FireFox browser or Safari browser, the corresponding interaction opportunity of adjusting back in this browser obtained interface, but the trigger timing that receives the DOMContentLoaded event that this interface returns is as page interaction opportunity.
Step S230, but when the indication of the page interaction opportunity of receiving described interface, the user login information to should named web page in the user login information database is inserted in the correspondence position of this named web page, thereby logined this named web page.
In one embodiment of the invention, user login information comprises: username and password.The user login information to should named web page in the user login information database is inserted in the correspondence position of this named web page and be specially: travel through the input element in this named web page, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button; With in the user login information database to username and password that should named web page and submit successively corresponding inserting in three elements that find of instruction to.Particularly, use JavaScript that the respective value in the user login information database is inserted in the corresponding frame.
Example:
The user has preserved the user login information about webpage bbs.xxxx.cn in the user login information database, this user login information is that user aaaa by name and password are one group of data of bbb.Then when the user opens the page of bbs.xxxx.cn in browser, can in the user login information storehouse, search the user login information corresponding with bbs.xxxx.cn, find user name aaaa and password bbb.When but the interaction opportunity of the bbs.xxxx.cn page arrives, search the username and password frame at this page, after having found, use javascript, the aaaa that preserves in the user login information database and bbb be filled up to respectively in user name frame and the password box go, so just can realize the automatic login of webpage bbs.xxxx.cn.
Preferably, in an embodiment of the present invention, the username and password in the user login information database is deciphered first in use through encryption.
In the method shown in Figure 2, but but but determine page interaction opportunity by the interface of the back page interaction opportunity in the readjustment browser, whether this loads the scheme of finishing with respect to the polling page of the prior art, owing to do not need to realize polling by timer, therefore improve efficient and speed, and saved system resource.And but but the interface of back page interaction opportunity all arranged in the different browsers, therefore method shown in Figure 2 can compatible different browsers, and namely method shown in Figure 2 is applicable to different browsers.
In one embodiment of the invention, in step S210, when the browser access named web page, judge when not existing user login information that should named web page in the user login information database, the routine operation of normally carrying out browser gets final product.
In method shown in Figure 2, can utilize the user login information log-on webpage of pre-save in the user login information database.The user login information of pre-save can by manually input and preservation of user, preferably, when receiving the user login information of the manual input of user, carry out first encryption and preserve in the user login information database.Also can by method shown in Figure 3, obtain user login information and preserve in one embodiment of the invention.
Fig. 3 shows the process flow diagram that obtains according to an embodiment of the invention user login information.As shown in Figure 3, the method comprises:
Step S310 when the browser access particular webpage and when receiving the user login information of user input, obtains the network address of this particular webpage.
In one embodiment of the invention, the user opens webpage in browser, and input is during username and password in the user name frame on the page of webpage and the password box, and browser obtains the URL of this webpage.
Step S320, but but the interface of the back page interaction opportunity in the readjustment browser.
In one embodiment of the invention, if the type of browser kernel is the trident kernel, then call the Behavior interface of the browser that uses the trident kernel, and notify the interface to Behavior with required page elements, receive described Behavior interface and determining that described page elements loads the interaction opportunity that returns after finishing.If the type of browser kernel is webkit kernel or Gecko kernel, call then that corresponding interaction opportunity obtains interface in the browser that uses webkit kernel or Gecko kernel, obtain the trigger timing of the DOMContentLoaded event that interface returns as page interaction opportunity but receive corresponding interaction opportunity.For example, when browser is the IE browser, the Behavior interface among the step S320 in the readjustment IE browser.When browser is Chrome browser, FireFox browser or Safari browser, the corresponding interaction opportunity of readjustment in this browser obtains interface among the step S320, but the trigger timing that receives the DOMContentLoaded event that this interface returns is as page interaction opportunity.
Step S330, but when the indication of the page interaction opportunity of receiving described interface, from the correspondence position of described particular webpage, obtain the user login information of user's input.
In one embodiment of the invention, user login information comprises: username and password.The user login information that obtains user's input from the correspondence position of described particular webpage is specially: travel through the input element in this particular webpage, finding type is the element (password box) of password, find again with the type on the one-level be the element (user name frame) of text and with the type on the one-level for submitting to or the element (submitting to or confirming button) of button; With corresponding three the different affirmation events of above three elements, when the corresponding affirmation event of above three elements occurs, obtain the value in the input element that input element that described type is text and described type be password, obtain username and password.For example, type is that the correspondence affirmation event of the element (user name frame) of text is " change ", type is that the correspondence affirmation event of the element (password box) of password is " change ", type is " carriage return " or " clicking login " for the correspondence affirmation event of the element (submitting to or confirming button) of submission or button, adjusts back these events.Occured to obtain username and password after the above-mentioned event learning.Use JavaScript to carry out the operation that this obtains username and password.Obtaining the operation of URL when opening webpage also uses JavaScript to finish.
Step S340 is when receiving the preservation user login information instruction that the user inputs, be saved in user login information database corresponding with the network address of this particular webpage of user login information of obtaining.
Preferably, in one embodiment of the invention, the user login information that will obtain is corresponding with the network address of this particular webpage be saved in the user login information database before, first user login information is encrypted processing, then is saved in the user login information database the user login information after the encryption is corresponding with the network address of this particular webpage.
In one embodiment of the invention, when the user click that this programme provides be similar to the button of " safety is preserved " time, the username and password that JavaScript is obtained writes in the user login information database.
Example:
During user's accessed web page bbs.xxx.cn, obtain URL(bbs.xxx.cn), but when knowing that by readjustment the corresponding interface page alternative events arrive, with the page of this webpage of traversal, obtain the user name frame, password box, the elements such as login button, and the event such as carry content changing, click, carriage return.Then inputted user name, password as the user, clicked login or by after the carriage return, will trigger to click and login or the event such as carriage return.Behind the trigger event, use JavaScript that the content in user name frame and the password box is taken out, eject the prompting bar at current page and preserve or do not preserve by user selection.If user selection preservation, with user name, password and current page url(bbs.xxx.cn) these information recording /s get off, be kept in the database after being encrypted processing.
Fig. 4 shows the according to an embodiment of the invention structural drawing of the device of log-on webpage.As shown in Figure 4, the device 400 of this log-on webpage comprises: input block 401, storage unit 402, readjustment unit 403 and log-on message operating unit 404.Wherein:
Input block 401 is suitable for receiving user's input.
Storage unit 402 is suitable for preserving the user by the user login information of input block 401 inputs.
Log-on message operating unit 404, be suitable for when the browser access named web page, judge the user login information that whether exists in the storage unit 402 should named web page, if exist, but but then send the instruction of the interface of the back page interaction opportunity in the readjustment browsers to readjustment unit 403, but and when receiving the indication of the page interaction opportunity that returns readjustment unit 403, to in the storage unit 402 user login information that should named web page be inserted in the correspondence position of this named web page, thereby login this named web page.
Specifically in one embodiment of the invention, user login information comprises: username and password.Log-on message operating unit 404 is suitable for traveling through the input element in this named web page, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button, with in the storage unit to username and password that should named web page and submit successively corresponding inserting in three elements that find of instruction to.
Readjustment unit 403, be suitable for when receiving the instruction of log-on message operating unit 404, but but the interface of the back page interaction opportunity of readjustment in the browser, but when the indication of the page interaction opportunity of receiving described interface, this indication is transmitted to described log-on message operating unit 404.
Specifically in one embodiment of the invention, readjustment unit 403 is suitable for when the type of browser kernel is the trident kernel, call the Behavior interface of the browser that uses the trident kernel, and required page elements is notified to described Behavior interface; Receive described Behavior interface at the interaction opportunity of determining to return after described page elements loading is finished.Readjustment unit 403 is suitable for when the type of browser kernel is webkit kernel or Gecko kernel, call that corresponding interaction opportunity obtains interface in the browser that uses webkit kernel or Gecko kernel, obtain the trigger timing of the DOMContentLoaded event that interface returns as page interaction opportunity but receive corresponding interaction opportunity.
In one embodiment of the invention, the user login information of preserving in the storage unit 402 is through encryption.
In one embodiment of the invention, log-on message operating unit 404 is further adapted for when browser access particular webpage and browser receive the user login information of user by input block 401 inputs, obtain the network address of this particular webpage, but but and the instruction that sends the interface of the back page interaction opportunity in the readjustment browsers to readjustment unit 403, but and when receiving the indication of the page interaction opportunity that returns readjustment unit 403, from the correspondence position of this particular webpage, obtain the user login information of user's input, then when receiving that the user passes through the preservation user login information instruction of input block 401 inputs, be saved in storage unit 402 corresponding with the network address of this particular webpage of user login information of obtaining.Preferably, log-on message operating unit 404 is encrypted processing to the user login information that obtains first, is saved in the storage unit 402 user login information after the encryption is corresponding with the network address of this particular webpage.
Specifically, user login information comprises: username and password.Log-on message operating unit 404 is suitable for traveling through the input element in this particular webpage, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button, when the corresponding affirmation event of above three elements occurs, obtain the value in the input element that input element that described type is text and described type be password, obtain username and password.
Like this, the user login information in the user login information database namely can be manually input of user, also can be device automatic acquisition and the preservation of the log-on webpage among the present invention.
Device shown in Figure 4, but but but determine page interaction opportunity by the interface of the back page interaction opportunity in the readjustment browser, whether this loads the scheme of finishing with respect to the polling page of the prior art, owing to do not need to realize polling by timer, therefore improve efficient and speed, and saved system resource.And but but the interface of back page interaction opportunity is all arranged in the different browsers, therefore device shown in Figure 4 can compatible different browsers.
In sum, of the present invention this when the browser access named web page, judge the user login information that whether exists in the user login information database should named web page, if exist, but but then adjust back the interface of the back page interaction opportunity in the browser, but when the indication of the page interaction opportunity of receiving described interface, the user login information to should named web page in the user login information database is inserted in the correspondence position of this named web page, thereby login in the technical scheme of this named web page, but but but determine page interaction opportunity by the interface of the back page interaction opportunity in the readjustment browser, whether this loads the scheme of finishing with respect to the polling page of the prior art, has improved efficient, fast and the saving system resource of speed.And but but the interface of back page interaction opportunity all arranged in the different browsers, therefore technical scheme of the present invention can compatible different browsers, and namely technical scheme of the present invention is applicable to different browsers.
Need to prove:
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the device of the log-on webpage of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (10)

1. the method for a log-on webpage, wherein, the method comprises:
When the browser access named web page, judge the user login information that whether exists in the user login information database should named web page;
If exist, but but then adjust back the interface of the back page interaction opportunity in the browser;
But when the indication of the page interaction opportunity of receiving described interface, the user login information to should named web page in the user login information database is inserted in the correspondence position of this named web page, thereby logined this named web page.
2. the method for claim 1, wherein the method further comprises:
When the browser access particular webpage and when receiving the user login information of user input, obtain the network address of this particular webpage;
But but the interface of the back page interaction opportunity in the readjustment browser;
But when the indication of the page interaction opportunity of receiving described interface, from the correspondence position of described particular webpage, obtain the user login information of user's input;
When receiving the preservation user login information instruction that the user inputs, be saved in user login information database corresponding with the network address of this particular webpage of user login information of obtaining.
3. method as claimed in claim 1 or 2, wherein, but but the interface of the back page interaction opportunity in the described readjustment browser comprise:
If the type of described browser kernel is the trident kernel, then calls the Behavior interface of the browser that uses described trident kernel, and required page elements is notified to described Behavior interface; Receive described Behavior interface at the interaction opportunity of determining to return after described page elements loading is finished;
If the type of described browser kernel is webkit kernel or Gecko kernel, call then that corresponding interaction opportunity obtains interface in the browser that uses described webkit kernel or Gecko kernel, obtain the trigger timing of the DOMContentLoaded event that interface returns as page interaction opportunity but receive corresponding interaction opportunity.
4. the method for claim 1, wherein described user login information comprises: username and password;
Comprise in the described correspondence position of the user login information to should named web page in the user login information database being inserted this named web page:
Travel through the input element in this named web page, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button;
With in the user login information database to username and password that should named web page and submit successively corresponding inserting in three elements that find of instruction to.
5. method as claimed in claim 2, wherein, described user login information comprises: username and password;
The described user login information that obtains user's input from the correspondence position of described particular webpage comprises:
Travel through the input element in the described particular webpage, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button;
When the corresponding affirmation event of above three elements occurs, obtain the value in the input element that input element that described type is text and described type be password, obtain username and password.
6. the device of a log-on webpage, wherein, this device comprises: input block, storage unit, readjustment unit and log-on message operating unit;
Described input block is suitable for receiving user's input;
Described storage unit is suitable for preserving the user by the user login information of described input block input;
Described log-on message operating unit, be suitable for when the browser access named web page, judge the user login information that whether exists in the described storage unit should named web page, if exist, but but then send the instruction of the interface of the back page interaction opportunity in the readjustment browser to described readjustment unit, but and when receiving the indication of the page interaction opportunity that returns the readjustment unit, to in the storage unit user login information that should named web page be inserted in the correspondence position of this named web page, thereby login this named web page;
Described readjustment unit, be suitable for when receiving the instruction of log-on message operating unit, but but the interface of the back page interaction opportunity of readjustment in the browser, but when the indication of the page interaction opportunity of receiving described interface, this indication is transmitted to described log-on message operating unit.
7. device as claimed in claim 6, wherein,
Described log-on message operating unit, be further adapted for when browser access particular webpage and browser receive the user login information of user by described input block input, obtain the network address of this particular webpage, but but and the instruction that sends the interface of the back page interaction opportunity in the readjustment browser to described readjustment unit, but and when receiving the indication of the page interaction opportunity that returns the readjustment unit, from the correspondence position of described particular webpage, obtain the user login information of user's input, then when receiving the preservation user login information instruction of user by the input of described input block, the user login information that obtains is saved in the storage unit with the network address of this particular webpage is corresponding.
8. such as claim 6 or 7 described devices, wherein,
Described readjustment unit is suitable for when the type of described browser kernel is the trident kernel, calls the Behavior interface of the browser that uses described trident kernel, and required page elements is notified to described Behavior interface; Receive described Behavior interface at the interaction opportunity of determining to return after described page elements loading is finished;
Described readjustment unit, be suitable for when the type of described browser kernel is webkit kernel or Gecko kernel, call that corresponding interaction opportunity obtains interface in the browser that uses described webkit kernel or Gecko kernel, obtain the trigger timing of the DOMContentLoaded event that interface returns as page interaction opportunity but receive corresponding interaction opportunity.
9. device as claimed in claim 6, wherein, described user login information comprises: username and password;
Described log-on message operating unit, be suitable for traveling through the input element in this named web page, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button, with in the storage unit to username and password that should named web page and submit successively corresponding inserting in three elements that find of instruction to.
10. device as claimed in claim 7, wherein, described user login information comprises: username and password;
Described log-on message operating unit, be suitable for traveling through the input element in the described particular webpage, finding type is the element of password, find again with the type on the one-level be the element of text and with the type on the one-level for submitting to or the element of button, when the corresponding affirmation event of above three elements occurs, obtain the value in the input element that input element that described type is text and described type be password, obtain username and password.
CN201210506281.9A 2012-11-30 2012-11-30 A kind of method and apparatus of log-on webpage Active CN102968584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210506281.9A CN102968584B (en) 2012-11-30 2012-11-30 A kind of method and apparatus of log-on webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210506281.9A CN102968584B (en) 2012-11-30 2012-11-30 A kind of method and apparatus of log-on webpage

Publications (2)

Publication Number Publication Date
CN102968584A true CN102968584A (en) 2013-03-13
CN102968584B CN102968584B (en) 2016-09-28

Family

ID=47798721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210506281.9A Active CN102968584B (en) 2012-11-30 2012-11-30 A kind of method and apparatus of log-on webpage

Country Status (1)

Country Link
CN (1) CN102968584B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024003A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Webpage registering method and device
CN103324671A (en) * 2013-05-22 2013-09-25 福建联迪商用设备有限公司 Information memorization and management method and device based on Webkit browser
CN105024972A (en) * 2014-04-21 2015-11-04 中标软件有限公司 Password managing method and system based on cloud computing
CN105574401A (en) * 2015-12-18 2016-05-11 北京奇虎科技有限公司 Method and device for entering password in webpage
CN105812949A (en) * 2016-03-14 2016-07-27 烽火通信科技股份有限公司 EPG page self-adaptive switching method based on screen locking mode
CN106302358A (en) * 2015-06-07 2017-01-04 联芯科技有限公司 Network account managing customer end, server, system and application method thereof
CN106682489A (en) * 2015-11-09 2017-05-17 广州市动景计算机科技有限公司 Password security detection method, password security reminding method and corresponding devices
CN107547518A (en) * 2017-07-25 2018-01-05 新华三大数据技术有限公司 The hiding method and device of front end password
CN105024972B (en) * 2014-04-21 2018-08-31 中标软件有限公司 A kind of password management method and system based on cloud computing
CN108595393A (en) * 2018-01-11 2018-09-28 太原理工大学 A kind of automatic form filling method and device
CN112069476A (en) * 2020-09-16 2020-12-11 杭州安恒信息技术股份有限公司 Login state detection method, device, equipment and readable storage medium
CN112075061A (en) * 2018-04-26 2020-12-11 谷歌有限责任公司 Web site authentication based on automatic population

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369272A (en) * 2007-08-17 2009-02-18 徐萍 Auto-filling system and method for auto-filling registration or login information
CN101820528A (en) * 2010-03-25 2010-09-01 浪潮电子信息产业股份有限公司 Method for providing Chinese input function for interactive TV
CN101872365A (en) * 2010-07-02 2010-10-27 苏州阔地网络科技有限公司 Method for realizing one-key login to other website on webpage
CN102291456A (en) * 2011-08-11 2011-12-21 Tcl集团股份有限公司 account number management method, device and system
CN102591889A (en) * 2011-01-17 2012-07-18 腾讯科技(深圳)有限公司 Method and device for assisting user input based on browser of mobile terminal
CN103024003A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Webpage registering method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369272A (en) * 2007-08-17 2009-02-18 徐萍 Auto-filling system and method for auto-filling registration or login information
CN101820528A (en) * 2010-03-25 2010-09-01 浪潮电子信息产业股份有限公司 Method for providing Chinese input function for interactive TV
CN101872365A (en) * 2010-07-02 2010-10-27 苏州阔地网络科技有限公司 Method for realizing one-key login to other website on webpage
CN102591889A (en) * 2011-01-17 2012-07-18 腾讯科技(深圳)有限公司 Method and device for assisting user input based on browser of mobile terminal
CN102291456A (en) * 2011-08-11 2011-12-21 Tcl集团股份有限公司 account number management method, device and system
CN103024003A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Webpage registering method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
卢曦等: "《网页应用在移动终端中性能优化的研究》", 《电脑知识与技术》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024003B (en) * 2012-11-30 2016-04-27 北京奇虎科技有限公司 Webpage login method and device
CN103024003A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Webpage registering method and device
CN103324671A (en) * 2013-05-22 2013-09-25 福建联迪商用设备有限公司 Information memorization and management method and device based on Webkit browser
CN105024972B (en) * 2014-04-21 2018-08-31 中标软件有限公司 A kind of password management method and system based on cloud computing
CN105024972A (en) * 2014-04-21 2015-11-04 中标软件有限公司 Password managing method and system based on cloud computing
CN106302358A (en) * 2015-06-07 2017-01-04 联芯科技有限公司 Network account managing customer end, server, system and application method thereof
CN106682489A (en) * 2015-11-09 2017-05-17 广州市动景计算机科技有限公司 Password security detection method, password security reminding method and corresponding devices
CN105574401A (en) * 2015-12-18 2016-05-11 北京奇虎科技有限公司 Method and device for entering password in webpage
CN105812949A (en) * 2016-03-14 2016-07-27 烽火通信科技股份有限公司 EPG page self-adaptive switching method based on screen locking mode
CN107547518A (en) * 2017-07-25 2018-01-05 新华三大数据技术有限公司 The hiding method and device of front end password
CN107547518B (en) * 2017-07-25 2020-06-05 新华三大数据技术有限公司 Method and device for hiding front-end password
CN108595393A (en) * 2018-01-11 2018-09-28 太原理工大学 A kind of automatic form filling method and device
CN112075061A (en) * 2018-04-26 2020-12-11 谷歌有限责任公司 Web site authentication based on automatic population
US11909729B2 (en) 2018-04-26 2024-02-20 Google Llc Auto-form fill based website authentication
CN112069476A (en) * 2020-09-16 2020-12-11 杭州安恒信息技术股份有限公司 Login state detection method, device, equipment and readable storage medium
CN112069476B (en) * 2020-09-16 2022-07-12 杭州安恒信息技术股份有限公司 Login state detection method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN102968584B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN102968584A (en) Method and device for logging in webpage
US10289463B2 (en) Flexible scripting platform for troubleshooting
US11201938B2 (en) Systems and methods of token piggybacking
CN103024003B (en) Webpage login method and device
CN102917070B (en) Webpage share system
CN102891897A (en) Webpage sharing method, server and clients
CN102957696B (en) A kind of data processing method and device
CN102955907B (en) Cipher management method and device
US20160285953A1 (en) Method, apparatus, and system for pushing application program, and device
CN105354337A (en) Web crawler implementation method and web crawler system
CN103279538A (en) Server, browser client side and method for preloading webpages in visited websites
CN105553968A (en) Method and device for realizing login by multiple accounts
US8359352B2 (en) Automated content and bookmark distribution
CN102984251A (en) System and method for achieving webpage content commenting
US20140101289A1 (en) Methods and systems for selecting device applications
CN102981846A (en) Method for treating password input box element and browser for treating the password input box element
CN105516333A (en) Interactive method and system based on webpage
CN103399871A (en) Equipment and method for capturing second-level domain information associated with main domain
JP2018500670A (en) Handling unstructured messages
CN104143110A (en) Two-dimensional code generating method with web site information
CN103269370A (en) Display method, client terminal, server and system for extending and recommending browser
CN102882982B (en) Message transmitting apparatus in browser and receiving equipment and method and system
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
CN103986643A (en) Method and device for having access to groups corresponding to website based on browser
EP3151514A1 (en) A method in a client-server network and client-server network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220713

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right