[go: up one dir, main page]

CN103646081A - Method and device for logging in web page - Google Patents

Method and device for logging in web page Download PDF

Info

Publication number
CN103646081A
CN103646081A CN201310682992.6A CN201310682992A CN103646081A CN 103646081 A CN103646081 A CN 103646081A CN 201310682992 A CN201310682992 A CN 201310682992A CN 103646081 A CN103646081 A CN 103646081A
Authority
CN
China
Prior art keywords
login
information
webpage
web page
target web
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
CN201310682992.6A
Other languages
Chinese (zh)
Other versions
CN103646081B (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 CN201310682992.6A priority Critical patent/CN103646081B/en
Publication of CN103646081A publication Critical patent/CN103646081A/en
Application granted granted Critical
Publication of CN103646081B publication Critical patent/CN103646081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for logging in a web page. The method comprises the steps as follows: a host process starts a sub-process and sends information of the target web page to be logged in currently to the sub-process; the sub-process obtains a login configuration rule corresponding to a target web page identifier; the sub-process loads the target web page corresponding to the target web page identifier according to the login configuration rule; the sub-process locates elements in the target web page so as to determine a login object; and login information corresponding to a login information identifier is filled in the login object. The step that the sub-process loads the target web page corresponding to the target web page identifier according to the login configuration rule specifically comprises the steps as follows: the target web page corresponding to the target web page identifier is loaded; whether the login configuration rule includes a dynamic library interception step or not is judged, and if the login configuration rule includes the dynamic library interception step, a dynamic link library corresponding to the target web page is intercepted. Compared with form filling login methods in the prior art, the login method has the advantage that a user can use a plurality of different account numbers and passwords to log in one website simultaneously.

Description

A kind of method and apparatus of logining in webpage
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method and apparatus of logining in webpage.
Background technology
Internet technology has deeply affected people's life at present, and such as E-mail address, forum, web game etc. also become a part indispensable in people's routine work and amusement.But above-mentioned internet, applications could be used after mostly needing user to register and login, so user need to remember a large amount of username and passwords.For the safety of account number, user also needs to arrange the password of comparatively complicated numeral, letter, special symbol combination conventionally, has further strengthened the difficulty of memory, when each login, also needs manual input, and everything has caused burden to user's use undoubtedly.Webpage automatic form filling is exactly the technology addressing this problem, the username and password that it can input preservation user in webpage, upper once when user opens same web page, automatically help user to fill in the username and password of having preserved, user needn't remember and fill in a large amount of username and passwords again, uses various network resources and service more easily arbitrarily.
Prior art is when being used browser to carry out automatic form filling to a website, user's login account, login password can be kept in the Cookie of client, when user opens login page, from cookie information, extract login account, password is filled in the input frame of webpage.But, existing browser can be kept at user's log-on message in the Session of Web server after user's login, when user uses another account, password login website, Web server thinks that this request is from same browser client, and login account, password before in Session are nullified to rear preserve new account, password, be synchronization, only allow user to use an account, password login.
Summary of the invention
In view of the above problems, the invention provides the method and apparatus of logining in a kind of a kind of webpage that overcomes the problems referred to above or address the above problem at least in part.
According to one aspect of the present invention, a kind of method of logining in webpage is provided, comprising:
Host process starts a subprocess, and sends the current target web information that will login to described subprocess, and described target web information comprises target web sign, log-on message sign;
Subprocess obtains described target web and identifies corresponding login configurations rule;
Subprocess loads described target web according to described login configurations rule and identifies corresponding target web;
Subprocess positions and determines login object the element in described target web;
Corresponding log-on message is filled in described login object, and described log-on message comprises login account information and/or login password information;
Wherein, described subprocess loads described target web according to described login configurations rule and identifies corresponding target web, specifically comprises:
Load described target web and identify corresponding target web;
Judge in described login configurations rule whether comprise dynamic base interception step, if comprise, tackle the dynamic link library that described target web is corresponding.
Alternatively, described subprocess loads described target web according to described login configurations rule and identifies corresponding target web, also comprises:
Judge in described login configurations rule whether comprise preposition step, if comprise, according to described login configurations rule, carry out described preposition step.
Alternatively,
Described according to the preposition step of described login configurations rule execution, specifically comprise:
Load preposition URL default in described preposition step and/or carry out JavaScript script default in described preposition step.
Alternatively, described corresponding log-on message be filled in described login object and specifically comprised:
Subprocess judges in described login configurations rule whether comprise Password Input control, if comprise, according to described login configurations rule, in described login object, fills login account information; According to the Password Input control information in described login configurations rule, in described login object, fill login password, described Password Input control information comprises password input time interval.
Alternatively, described subprocess obtains described target web and identifies corresponding login configurations rule, specifically comprises:
Subprocess mates the first allocation list according to the login URL in the current info web that will access, and described the first allocation list comprises webpage URL classification and the second corresponding allocation list sign;
Subprocess obtains corresponding login configurations rule according to the second allocation list sign matching from the second allocation list.
Alternatively, described method also comprises:
Subprocess judges whether the login object in described webpage comprises login button, if comprise, described login button is carried out to clicking operation.
Alternatively, described to before login button execution clicking operation, also comprise:
Judge whether the login object in described webpage comprises check code input frame, if comprise, described method stops.
Alternatively, described to also comprising after described login button execution clicking operation:
Judge in described login configurations rule whether comprise rearmounted step, if comprise, according to described login configurations rule, carry out described rearmounted step.
Alternatively,
Described according to the described rearmounted step of described login configurations rule execution, specifically comprise:
Load rearmounted URL default in described rearmounted step and/or carry out JavaScript script default in described rearmounted step.
Alternatively, described element in described target web positioned and determines login object, specifically comprise:
Obtain the whole label object generating labels set in target web;
Public attribute according to label object in described tag set, divides into groups to described label object, from the result of described grouping, obtains one or more packet labels;
According to preset tab file, resolve mapping table, mate the attribute of the label object in described one or more packet label;
Determine that the packet label matching is login object.
Alternatively, according to the public attribute of label object in described tag set, described label object is divided into groups, comprising:
The label object in tag set with identical father node is placed in same packet label.
Alternatively, the described result from described grouping also comprises after obtaining one or more packet labels:
Packet label divides into groups again, specifically comprises:
One or more packet labels in judgement current group result;
If current group label comprises two or more label objects, and described two or more label object do not have identical father node, the label object in current group label with identical father node is placed in another packet label;
Current group label repeats above-mentioned steps until can not divide into groups again.
Alternatively, described label object is <input> input frame;
The preset tab file of described foundation is resolved mapping table, and the attribute that mates the label object in described one or more packet label also comprises:
If only contain 1 Password Input frame in current group label, and the label object that is positioned at the described Password Input frame subordinate brotgher of node is not text input frame, and current group label is logon form;
Described definite packet label matching is login object, specifically comprises:
The element of described logon form is login object; Text input frame in described logon form is login account input frame, and the Password Input frame in described logon form is login password input frame.
Alternatively, described subprocess also comprises before the element in described target web is positioned to definite login object:
Login process sign is set to start;
Described corresponding log-on message is filled in described login object after, also comprise:
Login process sign is set to finish.
According to another aspect of the present invention, a kind of device of logining in webpage is also provided, comprising: host process module, subprocess module;
Described host process module comprises:
Subprocess starts module, for starting a subprocess, and sends the current target web information that will login to described subprocess, and described target web information comprises target web sign, log-on message sign;
Described subprocess module comprises:
Login configurations rule acquisition module, identifies corresponding login configurations rule for obtaining target web;
Webpage load-on module, identifies corresponding webpage for loading described target web according to described login configurations rule;
Login object determination module, determines login object for the element of described target web is positioned;
Log-on message packing module, is filled into described login object for described log-on message being identified to corresponding log-on message, and the log-on message of telling comprises login account information and/or login password information;
Wherein, described webpage load-on module, identifies corresponding target web specifically for loading described target web; Judge in described login configurations rule whether comprise dynamic base interception step, if comprise, tackle the dynamic link library that described target web is corresponding.
Alternatively,
Described webpage load-on module, specifically also for judging whether described login configurations rule comprises preposition step, if comprise, carries out described preposition step according to described login configurations rule.
Alternatively,
Described webpage load-on module, concrete also for loading the default preposition URL of described preposition step and/or carrying out JavaScript script default in described preposition step.
Alternatively,
Described log-on message packing module specifically for judging in described login configurations rule whether comprise Password Input control, if comprise, is filled login account information according to described login configurations rule in described login object; According to the Password Input control information in described login configurations rule, in described login object, fill login password, described Password Input control information comprises password input time interval.
Alternatively,
Described login configurations rule acquisition module, specifically for mating the first allocation list according to the login URL in the current info web that will access, described the first allocation list comprises webpage URL classification and the second corresponding allocation list sign; According to the second allocation list sign matching, from the second allocation list, obtain corresponding login configurations rule.
Alternatively, described subprocess module also comprises:
Button is clicked module, for judging whether the login object of described webpage comprises login button, if comprise, described login button is carried out to clicking operation.
Alternatively, described subprocess module, also comprises:
Verification load module, for judging that whether the login object of described webpage wraps check code input frame, if comprise, finishes current operation.
Alternatively, described subprocess module, also comprises:
Rearmounted step block, for judging whether described login configurations rule comprises rearmounted step, if comprise, carries out described rearmounted step according to described login configurations rule.
Alternatively, described rearmounted step block, specifically for: load rearmounted URL default in described rearmounted step and/or carry out JavaScript script default in described rearmounted step.
Alternatively, described login object determination module, specifically for:
Obtain the whole label object generating labels set in webpage;
Public attribute according to label object in described tag set, divides into groups to described label object, from the result of described grouping, obtains one or more packet labels;
According to preset tab file, resolve mapping table, mate the attribute of the label object in described one or more packet label;
Determine that the packet label matching is login object.
Alternatively, described login object determination module divides into groups to described label object according to the public attribute of label object in described tag set, specifically comprises: the label object in tag set with identical father node is placed in same packet label.
Alternatively, described login object determination module also for:
Packet label divides into groups again, specifically comprises:
One or more packet labels in judgement current group result;
If current group label comprises two or more label objects, and described two or more label object do not have identical father node, the label object in current group label with identical father node is placed in another packet label;
Current group label repeats above-mentioned steps until can not divide into groups again.
Alternatively, described label object is <input> input frame;
Described login object determination module is resolved mapping table according to preset tab file, the attribute that mates the label object in described one or more packet label also for:
If only contain 1 Password Input frame in current group label, and the label object that is positioned at the described Password Input frame subordinate brotgher of node is not text input frame, and current group label is logon form;
Described login object determination module determines that the packet label matching is login object, specifically for:
The element of described logon form is login object; Text input frame in described logon form is login account input frame, and the Password Input frame in described logon form is login password input frame.
Alternatively, described subprocess module also comprises:
Login process status indication module, before positioning for the login object to described webpage, login process sign is set to start; And after in corresponding log-on message is filled into described login object, login process sign is set to finish.
The technical scheme that the embodiment of the present invention provides is at least brought following technique effect:
Prior art is when being used browser client to login a website, current login account, login password can be kept in the Session of Web server, when user uses another account, password login website, because server thinks that current logging request is from same browser client, therefore after login account, password before in Session can being nullified and store new account and password, it is synchronization, for a client, only allow user to use an account, password login.In the embodiment of the present invention, host process starts corresponding a plurality of subprocesss for the different logging request of same website, each subprocess loads respectively login page in its each self-corresponding subwindow, in login page in subwindow, allow to use different login accounts, login password is logined same website, each subprocess sends logging request to Web server independently, Web server thinks that the logging request from different subprocesss is different browser client, can in Session, store respectively the login account that each subprocess is corresponding, login password, realization is logined many accounts of same website simultaneously.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand 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.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of steps of the method for logining in a kind of according to an embodiment of the invention webpage;
Fig. 2 shows the flow chart of steps of the method for logining in a kind of according to an embodiment of the invention webpage;
Fig. 3 shows the flow chart of steps of logining the method for object in the method for logining in a kind of according to an embodiment of the invention webpage in definite webpage;
Fig. 4 shows the structural representation of the device of logining in a kind of according to an embodiment of the invention 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 accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
Embodiment mono-
With reference to Fig. 1, Fig. 1 shows the method for logining in a kind of webpage that the embodiment of the present invention provides, and described method comprises:
S101, host process starts a subprocess, and sends the current target web information that will login to described subprocess, and described target web information comprises target web sign, log-on message sign.
In the embodiment of the present invention, the logging request that host process is sent according to user starts corresponding subprocess, each subprocess is identified at and in its corresponding browser subwindow, loads described target web and identify corresponding webpage according to the target web receiving, this webpage comprises the login object for logining, such as: user name input frame, Password Input frame, login button etc.To described each browser subwindow, can use different log-on messages to carry out register in described browser subwindow, described log-on message comprises login account and/or login password.
Wherein, the target web sign in target web information is for webpage of unique identification, and generally speaking, it can be webpage URL, can be also the identification information of setting by certain rule in addition, and the present invention does not do concrete restriction to this.
Wherein, log-on message identifies corresponding log-on message, comprising: login account, login password etc.
S102, subprocess obtains described target web and identifies corresponding login configurations rule.
Wherein, described login configurations rule specifically comprises: preposition step and/or dynamic base interception step and/or Password Input are controlled and/or rearmounted step.
Further, described preposition step specifically comprises: load preposition URL default in described preposition step and/or carry out JavaScript script default in described preposition step.
Further, described rearmounted step specifically comprises: load rearmounted URL default in described rearmounted step and/or carry out JavaScript script default in described rearmounted step.
For the register of different web pages, the login step flow process of its setting may be different, and the embodiment of the present invention is according in webpage, the concrete operations flow process of login object being determined and to store corresponding login configurations regular.
Those skilled in the art are to be understood that, described login configurations rule also can comprise other operating processes and the action corresponding with described webpage register, or other configuration rules that the actual needs while being logined according to webpage by those skilled in the art is determined, the present invention does not do concrete restriction to the content of login configurations rule.
S103, subprocess loads described target web according to described login configurations rule and identifies corresponding webpage.
Wherein, subprocess loads described target web according to described login configurations rule and identifies corresponding webpage and specifically comprise:
Load described target web and identify corresponding target web;
Judge in described login configurations rule whether comprise dynamic base interception step, if comprise, tackle the dynamic link library that described target web is corresponding.
Further, the described target web of described loading also comprises before identifying corresponding target web: subprocess judges in described login configurations rule whether comprise preposition step, if comprise, according to described login configurations rule, carries out described preposition step.Wherein, described according to the preposition step of described login configurations rule execution, specifically comprise: load preposition URL default in described preposition step and/or carry out JavaScript script default in described preposition step.
S104, subprocess positions and determines login object the element in described target web.
Wherein, location determines that login object is login account input frame in locating web-pages, login password input frame, check code input frame, login button or the particular location of other login object in webpage.
S105, identifies corresponding log-on message by log-on message and is filled in described login object, and the log-on message of telling comprises login account information and/or login password information.
Prior art is when being used browser client to login a website, current login account, login password can be kept in the Session of Web server, when user uses another account, password login website, because server thinks that current logging request is from same browser client, therefore after login account, password before in Session can being nullified and store new account and password, it is synchronization, for a client, only allow user to use an account, password login.In the embodiment of the present invention, host process starts corresponding a plurality of subprocesss for the different logging request of same website, each subprocess loads respectively login page in its each self-corresponding subwindow, in login page in subwindow, allow to use different login accounts, login password is logined same website, each subprocess sends logging request to Web server independently, Web server thinks that the logging request from different subprocesss is different browser client, can in Session, store respectively the login account that each subprocess is corresponding, login password, realization is logined many accounts of same website simultaneously.
Secondly, the invention process arranges login configurations rule according to the login process of different web sites, and load corresponding webpage according to this configuration rule, the register of the loading procedure Complete Mappings user who makes this webpage to described webpage, even if this webpage is provided with the special operationals such as preposition step, also can guarantee that the normal of this webpage effectively loads.Especially, in loaded targets webpage, judge in described login configurations rule whether comprise dynamic base interception step, if comprise, tackle the dynamic link library that described target web is corresponding.
Dynamic link library in webpage usually can limit the normal input of input frame in webpage; for example; when inputting password, user ejects prompt window; require user to input password in this prompt window; therefore; the embodiment of the present invention is tackled the dynamic link library that needs loading when target web loads, and eliminates the impact of dynamic link libraries on register.
Further, by the login object in locating web-pages, user's login account, login password are filled in login object rapidly, have avoided system because waiting for that user inputs the spent time of log-on message, reduced the resource consumption of system.
Embodiment bis-
With reference to Fig. 2, Fig. 2 shows the method for logining in a kind of webpage that the embodiment of the present invention provides, and described method comprises:
S201, host process starts a subprocess, and sends the current target web information that will login to described subprocess, and described target web information comprises target web sign, log-on message sign.
S202, subprocess obtains described target web and identifies corresponding login configurations rule.
Further, this step specifically comprises:
Host process is mated the first allocation list according to the login URL in the current info web that will access, and described the first allocation list comprises webpage URL classification and the second corresponding allocation list sign;
According to the second allocation list sign matching, from the second allocation list, obtain corresponding login configurations rule.
Wherein, the second allocation list storage with the marking matched login configurations rule physical record of described target web the register flow process of this target web sign place webpage, for example: whether need to carry out preposition step, comprising: access preposition URL, carry out preposition JavaScript script etc.; While carrying out login step, specifically how to fill in a form, how to login; And whether need to carry out rearmounted step after carrying out login, comprising: carry out rearmounted URL, carry out rearmounted JavaScript script etc.
Wherein, the login URL that the first allocation list is coupling target web obtains corresponding login configurations rule provides index, and the time of mating login configurations rule is further reduced.
S203, login process sign is set to start.
S204, subprocess judges in described login configurations rule whether comprise preposition step, if comprise, according to described login configurations rule, carries out described preposition step.
Wherein, according to described login configurations rule, carry out preposition step, specifically comprise:
Load preposition URL default in described preposition step and/or carry out JavaScript script default in described preposition step.
S205, judges in described login configurations rule whether comprise dynamic base interception step, if comprise, tackles the dynamic link library that described target web is corresponding.
In the embodiment of the present invention, use the hook mechanism of system, the dynamic link libraries stowage LoadLibrary () in system is replaced with to self-defining dynamic link library stowage MyLoadLibrary ().Take Windows system as example, and reporting system is as follows with the order line example code of the Loadlibrary of MyLoadlibrary replacement system:
DetourAttach(&(PVOID&)Loadlibrary,MyLoadlibrary)
In MyLoadLibrary () method, if the dynamic link library of current loading detected, be the dynamic link library that needs interception, this dynamic link library is tackled; If the dynamic link library of current loading does not need interception, use this dynamic link library of LoadLibrary () normal load of system.
Below, illustrate:
Suppose that needing the dynamic link library of interception is msn.dll, and normal load flash.dll, the MyLoadLibrary () method of definition specifically describes as follows:
Figure BDA0000436580620000121
Known by above description, calling system Loadlibrary during prior art Web page loading (" msn.dll "), msn.dll loads successfully; The embodiment of the present invention is used hook to load msn.dll and flash.dll, owing to calling, msn.dll tackled, so loading msn.dll can be failed, and can be successful and load flash.dll, specific as follows:
MyLoadlibrary (" msn.dll ")-> never calls Loadlibrary (" msn.dll ")-> and loads msn.dll failure;
MyLoadlibrary (" flash.dll ")-> calls Loadlibrary (" flash.dll ")-> and loads flash.dll success
S206, subprocess loads described target web and identifies corresponding target web in corresponding subwindow.
S207, subprocess positions and determines login object the element in target web.
S208, subprocess identifies corresponding log-on message by log-on message and is filled in described login object, and the log-on message of telling comprises login account information and/or login password information.
Further, described corresponding log-on message be filled in described login object and specifically comprised:
Subprocess judges in described login configurations rule whether comprise Password Input control, if comprise, according to described login configurations rule, in described login object, fills login account information; According to the Password Input control information in described login configurations rule, in described login object, fill login password, described Password Input control information comprises password input time interval.
If the login page of website requires to press certain hour interval input password, password input time interval is stored in the login configurations rule that this login page is corresponding, when subprocess is filled login password input frame, according to the password input time interval stopping code recording in corresponding login configurations rule, effectively improved the success ratio that log-on message is filled.
S209, subprocess judges that whether the login object in described webpage wraps check code input frame, if comprise, finishes current operation.
This step is optional step, if those skilled in the art can determine that the identification of check code input frame is had to certain success ratio can ignore this step when enforcement is of the present invention.
S210, subprocess judges whether the login object in described webpage comprises login button, if comprise, described login button is carried out to clicking operation.
In addition, also can, in advance by whether login button being carried out and clicked operative configuration in login configurations rule, after log-on message has been filled, according to login configurations rule, to login button, carry out clicking operation.
S211, subprocess judges in described login configurations rule whether comprise rearmounted step, if comprise, according to described login configurations rule, carries out described rearmounted step.
Wherein, according to login configurations rule, carry out rearmounted step, specifically comprise:
Load rearmounted URL default in described rearmounted step and/or carry out JavaScript script default in described rearmounted step.
By carrying out rearmounted step, can after carrying out login step, the webpage in current window jump to the rearmounted URL of appointment.
S212, login process sign is set to finish.
In the above-described embodiments, by carry out preposition step and/or rearmounted step before login step, motion flow when the register Complete Mappings user who makes the webpage to carry out completes register by hand, has avoided login restriction default in website, has improved the success ratio of login.
Wherein, step S203, S212 are optional step.By the login process state of the current subprocess of login process identification record to webpage is set, for login process, be designated the subprocess of end, webpage in its subwindow is no longer carried out to log-on message and fill and login button clicking operation, effectively avoided repeat logon, saved system resource.
In the above embodiment of the present invention, first by the element in webpage, position and determine login object, then described login object is filled to log-on message, therefore, how accurately to locate and determine login and be able to liking above-described embodiment the prerequisite of effectively implementing, for this reason, the invention provides the element in target web is positioned to the concrete grammar of determining login object, comprising:
S301, obtains the whole label object generating labels set in webpage.
Wherein, described label object is <input> input frame.
S302, the public attribute according to label object in described tag set, divides into groups to described label object, from the result of described grouping, obtains one or more packet labels.
Wherein, the public attribute according to label object in described tag set, divides into groups specifically to comprise to described label object: the label object in tag set with identical father node is placed in same packet label.
S303, packet label divides into groups again.
This step specifically comprises:
One or more packet labels in judgement current group result;
If current group label comprises two or more label objects, and described two or more label object do not have identical father node, the label object in current group label with identical father node is placed in another packet label;
Current group label repeats above-mentioned steps until can not divide into groups again.
S303, resolves mapping table according to preset tab file, mates the attribute of the label object in described one or more packet label.
The preset tab file of described foundation is resolved mapping table, mates the attribute of the label object in described one or more packet label, specifically comprises:
If only contain 1 Password Input frame in current group label, and the label object that is positioned at the described Password Input frame subordinate brotgher of node is not text input frame, and current group label is logon form.
S304, determines that the packet label matching is login object.
Wherein, determine that the packet label matching is login object, specifically comprise:
The element of described logon form is login object; Text input frame in described logon form is login account input frame, and the Password Input frame in described logon form is login password input frame.
For the <input> input frame in webpage, be not that all Password Input frames just must be login object, for example, in the different Frame of a lot of webpages, can there is logon form simultaneously, enrollment form, password replacement list etc., so, if only confine a position login object and be easy to occur location mistake according to whether comprising Password Input, therefore, the embodiment of the present invention is by being placed in same packet label by the label object in webpage with identical father node, then packet label is divided into groups again, and according to tab file, resolve mapping table and determine the logon form in webpage, can greatly improve the accuracy of login object location.
Further, the restriction that login object in locating web-pages is not logined the attribute of object own according to the method described above, even if website changes logining ID, title, the positional information of object in log-on webpage, still can accurately orient login object, avoided technician in prior art according to the problem of the content modification locating rule of website, to have greatly reduced artificial and maintenance cost.
In another expansion embodiment of the present invention, described login configurations rule also comprises: white list.Described subprocess positions and determines that login object also comprises the element in target web: subprocess positions and determines login object the element in webpage according to white list.In described white list according to the title of element in webpage, ID configure Password Input frame, login button is definite login object.When location login object, first according to the information configuring in described white list, determine login object, if locate unsuccessfully, then position according to subsequent step.Owing to being configured in white list in webpage, login object properties information, therefore can directly position, avoided by labeled packet location, logining required a large amount of computings and matching operation in object process in subsequent step, greatly reduce system resources consumption.
Embodiment tri-
Referring to Fig. 4, Fig. 4 shows the structural representation of a kind of device of logining in webpage that the embodiment of the present invention provides, and described device comprises: host process module 410, subprocess module 420;
Described host process module 410 comprises:
Subprocess starts module 411, for starting a subprocess, and sends the current target web information that will login to described subprocess, and described target web information comprises target web sign, log-on message sign;
Described subprocess module 420 comprises:
Login configurations rule acquisition module 421, identifies corresponding login configurations rule for obtaining target web;
Webpage load-on module 422, identifies corresponding webpage for loading described target web according to described login configurations rule;
Login object determination module 423, determines login object for the element of described target web is positioned;
Log-on message packing module 424, is filled into described login object for described log-on message being identified to corresponding log-on message, and the log-on message of telling comprises login account information and/or login password information;
Wherein, described webpage load-on module 422, identifies corresponding target web specifically for loading described target web; Judge in described login configurations rule whether comprise dynamic base interception step, if comprise, tackle the dynamic link library that described target web is corresponding.
Wherein, described webpage load-on module 422, specifically also for judging whether described login configurations rule comprises preposition step, if comprise, carries out described preposition step according to described login configurations rule.
Wherein, described webpage load-on module 422, concrete also for loading the default preposition URL of described preposition step and/or carrying out JavaScript script default in described preposition step.
Wherein, described log-on message packing module 424 specifically for judging in described login configurations rule whether comprise Password Input control, if comprise, is filled login account information according to described login configurations rule in described login object; According to the Password Input control information in described login configurations rule, in described login object, fill login password, described Password Input control information comprises password input time interval.
Wherein, described login configurations rule acquisition module 421, specifically for mating the first allocation list according to the login URL in the current info web that will access, described the first allocation list comprises webpage URL classification and the second corresponding allocation list sign; According to the second allocation list sign matching, from the second allocation list, obtain corresponding login configurations rule.
Wherein, described subprocess module 420 also comprises:
Button is clicked module 425, for judging whether the login object of described webpage comprises login button, if comprise, described login button is carried out to clicking operation.
Wherein, described subprocess module 420, also comprises:
Verification load module 426, for judging that whether the login object of described webpage wraps check code input frame, if comprise, finishes current operation.
Wherein, described subprocess module 420, also comprises:
Rearmounted step block 427, for judging whether described login configurations rule comprises rearmounted step, if comprise, carries out described rearmounted step according to described login configurations rule.
Wherein, described rearmounted step block 427, specifically for: load rearmounted URL default in described rearmounted step and/or carry out JavaScript script default in described rearmounted step.
Wherein, described login object determination module 423, specifically for:
Obtain the whole label object generating labels set in webpage;
Public attribute according to label object in described tag set, divides into groups to described label object, from the result of described grouping, obtains one or more packet labels;
According to preset tab file, resolve mapping table, mate the attribute of the label object in described one or more packet label;
Determine that the packet label matching is login object.
Wherein, described login object determination module 423 divides into groups to described label object according to the public attribute of label object in described tag set, specifically comprises: the label object in tag set with identical father node is placed in same packet label.
Wherein, described login object determination module 423 also for:
Packet label divides into groups again, specifically comprises:
One or more packet labels in judgement current group result;
If current group label comprises two or more label objects, and described two or more label object do not have identical father node, the label object in current group label with identical father node is placed in another packet label;
Current group label repeats above-mentioned steps until can not divide into groups again.
Wherein, described label object is <input> input frame;
Described login object determination module 423 is resolved mapping table according to preset tab file, the attribute that mates the label object in described one or more packet label also for:
If only contain 1 Password Input frame in current group label, and the label object that is positioned at the described Password Input frame subordinate brotgher of node is not text input frame, and current group label is logon form;
Described login object determination module 423 determines that the packet label matching is login object, specifically for:
The element of described logon form is login object; Text input frame in described logon form is login account input frame, and the Password Input frame in described logon form is login password input frame.
Wherein, described subprocess module 420 also comprises:
Login process status indication module 428, before positioning for the login object to described webpage, login process sign is set to start; And after in corresponding log-on message is filled into described login object, login process sign is set to finish.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.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 above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within 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, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize the some or all functions according to the some or all parts in the device of logining in the webpage of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or 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 that do not depart from the scope of 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 as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing 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 carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of method of logining in webpage, comprising:
Host process starts a subprocess, and sends the current target web information that will login to described subprocess, and described target web information comprises target web sign, log-on message sign;
Subprocess obtains described target web and identifies corresponding login configurations rule;
Subprocess loads described target web according to described login configurations rule and identifies corresponding target web;
Subprocess positions and determines login object the element in described target web;
Corresponding log-on message is filled in described login object, and described log-on message comprises login account information and/or login password information;
Wherein, described subprocess loads described target web according to described login configurations rule and identifies corresponding target web, specifically comprises:
Load described target web and identify corresponding target web;
Judge in described login configurations rule whether comprise dynamic base interception step, if comprise, tackle the dynamic link library that described target web is corresponding.
A2, the method as described in A1, described subprocess loads described target web according to described login configurations rule and identifies corresponding target web, also comprises:
Judge in described login configurations rule whether comprise preposition step, if comprise, according to described login configurations rule, carry out described preposition step.
A3, the method as described in A2,
Described according to the preposition step of described login configurations rule execution, specifically comprise:
Load preposition URL default in described preposition step and/or carry out JavaScript script default in described preposition step.
A4, the method as described in A2, be describedly filled into corresponding log-on message in described login object and specifically comprise:
Subprocess judges in described login configurations rule whether comprise Password Input control, if comprise, according to described login configurations rule, in described login object, fills login account information; According to the Password Input control information in described login configurations rule, in described login object, fill login password, described Password Input control information comprises password input time interval.
A5, the method as described in A1, described subprocess obtains described target web and identifies corresponding login configurations rule, specifically comprises:
Subprocess mates the first allocation list according to the login URL in the current info web that will access, and described the first allocation list comprises webpage URL classification and the second corresponding allocation list sign;
Subprocess obtains corresponding login configurations rule according to the second allocation list sign matching from the second allocation list.
A6, the method as described in A1, described method also comprises:
Subprocess judges whether the login object in described webpage comprises login button, if comprise, described login button is carried out to clicking operation.
A7, the method as described in A6, described to before login button execution clicking operation, also comprise:
Judge whether the login object in described webpage comprises check code input frame, if comprise, described method stops.
The method of A8 as described in A6 or A7, described to also comprising after described login button execution clicking operation:
Judge in described login configurations rule whether comprise rearmounted step, if comprise, according to described login configurations rule, carry out described rearmounted step.
A9, the method as described in A8,
Described according to the described rearmounted step of described login configurations rule execution, specifically comprise:
Load rearmounted URL default in described rearmounted step and/or carry out JavaScript script default in described rearmounted step.
A10, the method as described in A1, describedly position and determine login object the element in described target web, specifically comprises:
Obtain the whole label object generating labels set in target web;
Public attribute according to label object in described tag set, divides into groups to described label object, from the result of described grouping, obtains one or more packet labels;
According to preset tab file, resolve mapping table, mate the attribute of the label object in described one or more packet label;
Determine that the packet label matching is login object.
A11, the method as described in A10, divide into groups to described label object according to the public attribute of label object in described tag set, comprising:
The label object in tag set with identical father node is placed in same packet label.
A12, the method as described in A10, the described result from described grouping also comprises after obtaining one or more packet labels:
Packet label divides into groups again, specifically comprises:
One or more packet labels in judgement current group result;
If current group label comprises two or more label objects, and described two or more label object do not have identical father node, the label object in current group label with identical father node is placed in another packet label;
Current group label repeats above-mentioned steps until can not divide into groups again.
A13, the method as described in A10, described label object is <input> input frame;
The preset tab file of described foundation is resolved mapping table, and the attribute that mates the label object in described one or more packet label also comprises:
If only contain 1 Password Input frame in current group label, and the label object that is positioned at the described Password Input frame subordinate brotgher of node is not text input frame, and current group label is logon form;
Described definite packet label matching is login object, specifically comprises:
The element of described logon form is login object; Text input frame in described logon form is login account input frame, and the Password Input frame in described logon form is login password input frame.
A14, the method as described in A1, described subprocess also comprises before the element in described target web is positioned to definite login object:
Login process sign is set to start;
Described corresponding log-on message is filled in described login object after, also comprise:
Login process sign is set to finish.
The invention also discloses B15, a kind of device of logining in webpage, comprising: host process module, subprocess module;
Described host process module comprises:
Subprocess starts module, for starting a subprocess, and sends the current target web information that will login to described subprocess, and described target web information comprises target web sign, log-on message sign;
Described subprocess module comprises:
Login configurations rule acquisition module, identifies corresponding login configurations rule for obtaining target web;
Webpage load-on module, identifies corresponding webpage for loading described target web according to described login configurations rule;
Login object determination module, determines login object for the element of described target web is positioned;
Log-on message packing module, is filled into described login object for described log-on message being identified to corresponding log-on message, and the log-on message of telling comprises login account information and/or login password information;
Wherein, described webpage load-on module, identifies corresponding target web specifically for loading described target web; Judge in described login configurations rule whether comprise dynamic base interception step, if comprise, tackle the dynamic link library that described target web is corresponding.
B16, the device as described in B15,
Described webpage load-on module, specifically also for judging whether described login configurations rule comprises preposition step, if comprise, carries out described preposition step according to described login configurations rule.
B17, the device as described in B16, is characterized in that,
Described webpage load-on module, concrete also for loading the default preposition URL of described preposition step and/or carrying out JavaScript script default in described preposition step.
B18, the device as described in B15, is characterized in that,
Described log-on message packing module specifically for judging in described login configurations rule whether comprise Password Input control, if comprise, is filled login account information according to described login configurations rule in described login object; According to the Password Input control information in described login configurations rule, in described login object, fill login password, described Password Input control information comprises password input time interval.
B19, the device as described in B15,
Described login configurations rule acquisition module, specifically for mating the first allocation list according to the login URL in the current info web that will access, described the first allocation list comprises webpage URL classification and the second corresponding allocation list sign; According to the second allocation list sign matching, from the second allocation list, obtain corresponding login configurations rule.
B20, the device as described in B15, described subprocess module also comprises:
Button is clicked module, for judging whether the login object of described webpage comprises login button, if comprise, described login button is carried out to clicking operation.
B21, the device as described in B20, described subprocess module, also comprises:
Verification load module, for judging that whether the login object of described webpage wraps check code input frame, if comprise, finishes current operation.
B22, the device as described in B15 or B16, is characterized in that, described subprocess module, also comprises:
Rearmounted step block, for judging whether described login configurations rule comprises rearmounted step, if comprise, carries out described rearmounted step according to described login configurations rule.
B23, the device as described in B22, described rearmounted step block, specifically for: load rearmounted URL default in described rearmounted step and/or carry out JavaScript script default in described rearmounted step.
B24, the device as described in B15, described login object determination module, specifically for:
Obtain the whole label object generating labels set in webpage;
Public attribute according to label object in described tag set, divides into groups to described label object, from the result of described grouping, obtains one or more packet labels;
According to preset tab file, resolve mapping table, mate the attribute of the label object in described one or more packet label;
Determine that the packet label matching is login object.
B25, the device as described in B24, described login object determination module divides into groups to described label object according to the public attribute of label object in described tag set, specifically comprises: the label object in tag set with identical father node is placed in same packet label.
B26, the device as described in claim B24, described login object determination module also for:
Packet label divides into groups again, specifically comprises:
One or more packet labels in judgement current group result;
If current group label comprises two or more label objects, and described two or more label object do not have identical father node, the label object in current group label with identical father node is placed in another packet label;
Current group label repeats above-mentioned steps until can not divide into groups again.
B27, the device as described in claim B24, is characterized in that, described label object is <input> input frame;
Described login object determination module is resolved mapping table according to preset tab file, the attribute that mates the label object in described one or more packet label also for:
If only contain 1 Password Input frame in current group label, and the label object that is positioned at the described Password Input frame subordinate brotgher of node is not text input frame, and current group label is logon form;
Described login object determination module determines that the packet label matching is login object, specifically for:
The element of described logon form is login object; Text input frame in described logon form is login account input frame, and the Password Input frame in described logon form is login password input frame.
B28, the device as described in claim B15, is characterized in that, described subprocess module also comprises:
Login process status indication module, before positioning for the login object to described webpage, login process sign is set to start; And after in corresponding log-on message is filled into described login object, login process sign is set to finish.

Claims (10)

1.一种在网页中进行登录的方法,包括:1. A method for logging in on a web page, comprising: 主进程启动一个子进程,并向所述子进程发送当前要登录的目标网页信息,所述目标网页信息包括目标网页标识、登录信息标识;The main process starts a sub-process, and sends the current target webpage information to be logged in to the sub-process, and the target webpage information includes a target webpage identifier and a login information identifier; 子进程获取所述目标网页标识对应的登录配置规则;The sub-process obtains the login configuration rule corresponding to the target web page identifier; 子进程依据所述登录配置规则加载所述目标网页标识对应的目标网页;The subprocess loads the target webpage corresponding to the target webpage identifier according to the login configuration rule; 子进程对所述目标网页中的元素进行定位确定登录对象;The subprocess locates the elements in the target webpage to determine the login object; 将对应的登录信息填充到所述登录对象中,所述登录信息包括登录账号信息和/或登录密码信息;filling the corresponding login information into the login object, the login information including login account information and/or login password information; 其中,所述子进程依据所述登录配置规则加载所述目标网页标识对应的目标网页,具体包括:Wherein, the sub-process loads the target webpage corresponding to the target webpage identifier according to the login configuration rule, specifically including: 加载所述目标网页标识对应的目标网页;Loading the target webpage corresponding to the target webpage identifier; 判断所述登录配置规则中是否包括动态库拦截步骤,若包括,则拦截所述目标网页对应的动态链接库。It is judged whether the dynamic library interception step is included in the login configuration rule, and if yes, the dynamic link library corresponding to the target web page is intercepted. 2.如权利要求1所述的方法,其特征在于,所述子进程依据所述登录配置规则加载所述目标网页标识对应的目标网页,还包括:2. The method according to claim 1, wherein the sub-process loads the target webpage corresponding to the target webpage identifier according to the login configuration rule, further comprising: 判断所述登录配置规则中是否包括前置步骤,若包括,则按照所述登录配置规则执行所述前置步骤。Judging whether the login configuration rule includes a pre-step, and if so, executing the pre-step according to the login configuration rule. 3.如权利要求2所述的方法,其特征在于,3. The method of claim 2, wherein 所述按照所述登录配置规则执行前置步骤,具体包括:The performing the pre-steps according to the login configuration rules specifically includes: 加载所述前置步骤中预设的前置URL和/或执行所述前置步骤中预设的JavaScript脚本。Loading the pre-preset URL in the pre-step and/or executing the pre-set JavaScript script in the pre-step. 4.如权利要求2所述的方法,其特征在于,所述将对应的登录信息填充到所述登录对象中具体包括:4. The method according to claim 2, wherein the filling the corresponding login information into the login object specifically comprises: 子进程判断所述登录配置规则中是否包括密码输入控制,若包括,则依据所述登录配置规则向所述登录对象中填充登录账号信息;依据所述登录配置规则中的密码输入控制信息向所述登录对象中填充登录密码,所述密码输入控制信息包括密码输入时间间隔。The subprocess judges whether password input control is included in the login configuration rule, and if so, fills the login account information into the login object according to the login configuration rule; The login object is filled with a login password, and the password input control information includes a password input time interval. 5.如权利要求1所述的方法,其特征在于,所述子进程获取所述目标网页标识对应的登录配置规则,具体包括:5. The method according to claim 1, wherein the sub-process obtains the login configuration rule corresponding to the target web page identifier, specifically comprising: 子进程根据当前要访问的网页信息中的登录URL匹配第一配置表,所述第一配置表中包括网页URL类别和对应的第二配置表标识;The subprocess matches the first configuration table according to the login URL in the web page information to be accessed currently, and the first configuration table includes a web page URL category and a corresponding second configuration table identification; 子进程根据匹配出的第二配置表标识从第二配置表中获取对应的登录配置规则。The sub-process obtains the corresponding login configuration rule from the second configuration table according to the matched second configuration table identifier. 6.一种在网页中进行登录的装置,包括:主进程模块、子进程模块;6. A device for logging in a web page, comprising: a main process module and a sub-process module; 所述主进程模块包括:The main process module includes: 子进程启动模块,用于启动一个子进程,并向所述子进程发送当前要登录的目标网页信息,所述目标网页信息包括目标网页标识、登录信息标识;The sub-process starting module is used to start a sub-process, and send the current target webpage information to be logged in to the sub-process, and the target webpage information includes a target webpage identifier and a login information identifier; 所述子进程模块包括:The subprocess module includes: 登录配置规则获取模块,用于获取目标网页标识对应的登录配置规则;A login configuration rule obtaining module, configured to obtain a login configuration rule corresponding to the target web page identifier; 网页加载模块,用于依据所述登录配置规则加载所述目标网页标识对应的网页;A webpage loading module, configured to load a webpage corresponding to the target webpage identifier according to the login configuration rule; 登录对象确定模块,用于对所述目标网页中的元素进行定位确定登录对象;A login object determination module, configured to locate elements in the target webpage to determine a login object; 登录信息填充模块,用于将所述登录信息标识对应的登录信息填充到所述登录对象中,所诉登录信息包括登录账号信息和/或登录密码信息;A login information filling module, configured to fill the login information corresponding to the login information identifier into the login object, where the login information includes login account information and/or login password information; 其中,所述网页加载模块,具体用于加载所述目标网页标识对应的目标网页;判断所述登录配置规则中是否包括动态库拦截步骤,若包括,则拦截所述目标网页对应的动态链接库。Wherein, the webpage loading module is specifically used to load the target webpage corresponding to the target webpage identifier; determine whether the login configuration rule includes a dynamic library interception step, and if so, intercept the dynamic link library corresponding to the target webpage . 7.如权利要求6所述的装置,其特征在于,7. The apparatus of claim 6, wherein 所述网页加载模块,具体还用于判断所述登录配置规则中是否包括前置步骤,若包括,按照所述登录配置规则执行所述前置步骤。The webpage loading module is specifically further configured to determine whether the login configuration rule includes a pre-step, and if so, execute the pre-step according to the login configuration rule. 8.如权利要求7所述的装置,其特征在于,8. The apparatus of claim 7, wherein 所述网页加载模块,具体还用于加载所述前置步骤中预设的前置URL和/或执行所述前置步骤中预设的JavaScript脚本。The webpage loading module is specifically further configured to load the preset URL in the preceding step and/or execute the JavaScript script preset in the preceding step. 9.如权利要求6所述的装置,其特征在于,9. The apparatus of claim 6, wherein 所述登录信息填充模块,具体用于判断所述登录配置规则中是否包括密码输入控制,若包括,则依据所述登录配置规则向所述登录对象中填充登录账号信息;依据所述登录配置规则中的密码输入控制信息向所述登录对象中填充登录密码,所述密码输入控制信息包括密码输入时间间隔。The login information filling module is specifically used to judge whether the password input control is included in the login configuration rules, and if so, fill the login account information into the login object according to the login configuration rules; The password input control information in fills the login object with a login password, and the password input control information includes a password input time interval. 10.如权利要求1所述的装置,其特征在于,10. The apparatus of claim 1, wherein 所述登录配置规则获取模块,具体用于根据当前要访问的网页信息中的登录URL匹配第一配置表,所述第一配置表中包括网页URL类别和对应的第二配置表标识;根据匹配出的第二配置表标识从第二配置表中获取对应的登录配置规则。The login configuration rule acquisition module is specifically used to match the first configuration table according to the login URL in the webpage information to be accessed currently, and the first configuration table includes the web page URL category and the corresponding second configuration table identifier; according to the matching The obtained second configuration table identifier obtains the corresponding login configuration rule from the second configuration table.
CN201310682992.6A 2013-12-12 2013-12-12 Method and device for logging in web page Active CN103646081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310682992.6A CN103646081B (en) 2013-12-12 2013-12-12 Method and device for logging in web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310682992.6A CN103646081B (en) 2013-12-12 2013-12-12 Method and device for logging in web page

Publications (2)

Publication Number Publication Date
CN103646081A true CN103646081A (en) 2014-03-19
CN103646081B CN103646081B (en) 2017-01-18

Family

ID=50251295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310682992.6A Active CN103646081B (en) 2013-12-12 2013-12-12 Method and device for logging in web page

Country Status (1)

Country Link
CN (1) CN103646081B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836861A (en) * 2015-05-20 2015-08-12 国网山东阳信县供电公司 Website login system and website login method
WO2018045947A1 (en) * 2016-09-08 2018-03-15 广州市动景计算机科技有限公司 Browser bookmark setting method and apparatus, and computing device
CN109246069A (en) * 2018-06-15 2019-01-18 华为技术有限公司 Webpage login method, device and readable storage medium storing program for executing
CN112075061A (en) * 2018-04-26 2020-12-11 谷歌有限责任公司 Web site authentication based on automatic population
CN112799741A (en) * 2021-02-08 2021-05-14 北京乐学帮网络技术有限公司 A method, device, electronic device and storage medium for application program avatar
CN115277451A (en) * 2022-07-28 2022-11-01 中译语通科技股份有限公司 Account login information initialization method and system based on automatic simulator
WO2024208097A1 (en) * 2023-04-07 2024-10-10 北京火山引擎科技有限公司 Webpage authentication method and apparatus, and medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438000A (en) * 2011-03-11 2012-05-02 奇智软件(北京)有限公司 Multi-account login method and device
CN102594813A (en) * 2012-02-10 2012-07-18 奇智软件(北京)有限公司 Multi-account login method and device
CN103036993A (en) * 2012-12-18 2013-04-10 北京奇虎科技有限公司 Browser client-side and method of achieving website logging
US8676973B2 (en) * 2006-03-07 2014-03-18 Novell Intellectual Property Holdings, Inc. Light-weight multi-user browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8676973B2 (en) * 2006-03-07 2014-03-18 Novell Intellectual Property Holdings, Inc. Light-weight multi-user browser
CN102438000A (en) * 2011-03-11 2012-05-02 奇智软件(北京)有限公司 Multi-account login method and device
CN102594813A (en) * 2012-02-10 2012-07-18 奇智软件(北京)有限公司 Multi-account login method and device
CN103036993A (en) * 2012-12-18 2013-04-10 北京奇虎科技有限公司 Browser client-side and method of achieving website logging

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836861A (en) * 2015-05-20 2015-08-12 国网山东阳信县供电公司 Website login system and website login method
CN104836861B (en) * 2015-05-20 2018-09-21 国网山东阳信县供电公司 A kind of website log system and Website logging method
WO2018045947A1 (en) * 2016-09-08 2018-03-15 广州市动景计算机科技有限公司 Browser bookmark setting method and apparatus, and computing device
CN107807925A (en) * 2016-09-08 2018-03-16 广州市动景计算机科技有限公司 Browser bookmark method to set up and device and computing 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
CN109246069A (en) * 2018-06-15 2019-01-18 华为技术有限公司 Webpage login method, device and readable storage medium storing program for executing
CN109246069B (en) * 2018-06-15 2020-10-16 华为技术有限公司 Webpage login method and device and readable storage medium
CN112799741A (en) * 2021-02-08 2021-05-14 北京乐学帮网络技术有限公司 A method, device, electronic device and storage medium for application program avatar
CN115277451A (en) * 2022-07-28 2022-11-01 中译语通科技股份有限公司 Account login information initialization method and system based on automatic simulator
WO2024208097A1 (en) * 2023-04-07 2024-10-10 北京火山引擎科技有限公司 Webpage authentication method and apparatus, and medium and electronic device

Also Published As

Publication number Publication date
CN103646081B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN103646081A (en) Method and device for logging in web page
EP3011442B1 (en) Method and apparatus for customized software development kit (sdk) generation
EP3011444B1 (en) Method and apparatus for code virtualization and remote process call generation
CN111460356B (en) Automatic login method, device, medium and equipment
CN106027644B (en) Service verification method and system
CN110320378B (en) Method, apparatus, device and computer readable storage medium for applying for a quality control test
CN113312064B (en) Method and device for installing and configuring physical machine and computer readable medium
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
CN104980421B (en) Batch request processing method and system
US20210117174A1 (en) Providing context-based application suggestions
CN106293842B (en) Software installation method and device
US20230153229A1 (en) Method of testing performance, electronic device, and computer-readable medium
WO2022100075A1 (en) Method and apparatus for performance test, electronic device and computer-readable medium
CN110267215A (en) A data detection method, device and storage medium
CN116701011A (en) Algorithm service dispatching management system based on rule engine
CN112433783A (en) Configuration method and related equipment
CN105955838A (en) System halt reason check method and device
CN112667255B (en) Updating method, updating device, electronic equipment and storage medium
CN118557959A (en) Game automation system and method based on OCR (optical character recognition)
US20230315826A1 (en) User verification with state machines
CN105893502A (en) Code synchronization method and device
CN117194259A (en) Interface testing method, system, electronic equipment and storage medium
CN115203665A (en) Smart cabinet scanning code verification method, device, computer equipment and storage medium
CN112286552A (en) Task creation method and device, electronic equipment and storage medium
CN112181802A (en) Test method and device

Legal Events

Date Code Title Description
PB01 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