CN104468794A - Login simulating method and device for website - Google Patents

Login simulating method and device for website Download PDF

Info

Publication number
CN104468794A
CN104468794A CN201410758305.9A CN201410758305A CN104468794A CN 104468794 A CN104468794 A CN 104468794A CN 201410758305 A CN201410758305 A CN 201410758305A CN 104468794 A CN104468794 A CN 104468794A
Authority
CN
China
Prior art keywords
website
simulation
request
logging
logs
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
CN201410758305.9A
Other languages
Chinese (zh)
Other versions
CN104468794B (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 Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410758305.9A priority Critical patent/CN104468794B/en
Publication of CN104468794A publication Critical patent/CN104468794A/en
Application granted granted Critical
Publication of CN104468794B publication Critical patent/CN104468794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a login simulating method and device for a website. The login simulating method for the website comprises the steps that a request for attempting website login simulation is obtained and carries history login records of the website, and the history login records are records cached to the locality by a server when a browser logs in the website; whether the request is made successfully is judged; if it is judged that the request is made successfully, website login is simulated according to the history login records. The method and the device solve the problem that the logic of login simulation of the website in the related technology is complex.

Description

The simulation login method of website and device
Technical field
The present invention relates to internet arena, in particular to a kind of simulation login method and device of website.
Background technology
Website simulation login is the basis of network information gathering and network data analysis.At present, on the Internet, a large amount of valuable information obtains under all needing the condition logged in website simulation.In the related, not only the simulation login method of website is many, and the cryptographic algorithm of the requesting method logged in for the simulation of different web sites and username and password is also not quite similar.
Such as, in the related, in Sina website's simulation landfall process, general needs obtain and carry out website simulation according to the URL path of Sina website and log in.Particularly, the user name after first Sina website being encrypted and the password after encryption is needed to be added in simulation log on request, form POST bag, again this POST bag is sent to the server of Sina website, then, the server of Sina website wraps by resolving this POST again, reappears POST request, and the new Sina website URL path returned, the simulation login of Sina website is finally completed according to new Sina website URL path.
Obviously, technique scheme is not only simulated and is logged in logic complexity, and need first to analyze return data by manual type, and for different websites, need first to carry out discrete analysis, then reproduction artificial logs in logic, finally realize website simulation to log in, therefore it is poor for applicability, and complexity is high, and resource consumption is high.
Simulation for website in correlation technique logs in the problem of logic complexity, not yet proposes effective solution at present.
Summary of the invention
Main purpose of the present invention is the simulation login method and the device that provide a kind of website, logs in the problem of logic complexity with the simulation solving website.
To achieve these goals, according to an aspect of the present invention, a kind of simulation login method of website is provided.The method comprises: obtain and attempt website and simulate the request logged in, the history carrying website in above-mentioned request logs in record, and above-mentioned history logs in and to be recorded as when logging in above-mentioned website by browser server buffer to the record of this locality; Judge whether above-mentioned request has asked successfully; And if judge that above-mentioned request has been asked successfully, then according to above-mentioned history log in record simulation log in above-mentioned website.
Further, after judging whether above-mentioned request has asked successfully, above-mentioned simulation login method also comprises: if judge that above-mentioned request asks failure, then log in above-mentioned website by above-mentioned browser simulation.
Further, log in above-mentioned website by above-mentioned browser simulation to comprise: when above-mentioned browser starts and navigates to the login page of above-mentioned website, obtain logging on authentication; And log in above-mentioned website according to above-mentioned logging on authentication simulation.
Further, while logging in above-mentioned website according to above-mentioned logging on authentication simulation, above-mentioned simulation login method also comprises: generate the current of above-mentioned website and log in record; And by the above-mentioned current record buffer memory that logs in of above-mentioned website to above-mentioned this locality, the above-mentioned current record that logs in is for logging in record as the history of attempting the website of carrying in the request when the request logged in is simulated in website next time.
Further, judge whether above-mentioned request has asked successfully to comprise: whether normally judge that the history of the above-mentioned website of carrying in above-mentioned request logs in record; If it is normal to judge that the history of the above-mentioned website of carrying in above-mentioned request logs in record, then determine that above-mentioned request has been asked successfully; And if judge that the history of the above-mentioned website of carrying in above-mentioned request logs in recording exceptional, then determine that above-mentioned request asks failure.
To achieve these goals, according to a further aspect in the invention, a kind of simulation logon device of website is provided.This device comprises: acquiring unit, and attempt website and simulate for obtaining the request logged in, the history carrying website in above-mentioned request logs in record, and above-mentioned history logs in and to be recorded as when logging in above-mentioned website by browser server buffer to the record of this locality; Judging unit, for judging whether above-mentioned request has asked successfully; And first simulates login unit, for when judging that above-mentioned request is asked successful, logging in record simulation according to above-mentioned history and logging in above-mentioned website.
Further, above-mentioned simulation logon device also comprises: the second simulation login unit, for after judging whether above-mentioned request has asked successfully, and when judging that above-mentioned request is asked failed, logs in above-mentioned website by above-mentioned browser simulation.
Further, above-mentioned second simulation login unit comprises: acquisition module, for starting at above-mentioned browser and when navigating to the login page of above-mentioned website, obtaining logging on authentication; And simulation log-in module, for logging in above-mentioned website according to above-mentioned logging on authentication simulation.
Further, above-mentioned simulation logon device also comprises: generation unit, for while logging in above-mentioned website according to above-mentioned logging on authentication simulation, generates the current of above-mentioned website and logs in record; And buffer unit, for the above-mentioned current of above-mentioned website is logged in record buffer memory extremely above-mentioned this locality, the above-mentioned current record that logs in is for logging in record as the history of attempting the website of carrying in the request when the request logged in is simulated in website next time.
Whether further, above-mentioned judging unit comprises: judge module, normal for judging that the history of the above-mentioned website of carrying in above-mentioned request logs in record; First determination module, for judge the history of the above-mentioned website of carrying in above-mentioned request log in record normal time, determine that above-mentioned request has been asked successfully; And second determination module, for judging that the history of the above-mentioned website of carrying in above-mentioned request logs in recording exceptional, then determine that above-mentioned request asks failure.
By the present invention, adopt to obtain and attempt website and simulate the request logged in, the history carrying website in request logs in record, and history logs in and to be recorded as when logging in website by browser server buffer to the record of this locality; Judge whether request asks successfully; And if judge that request has been asked successfully, then log in record simulation according to history and log in website, the simulation solving website in correlation technique logs in the problem of logic complexity, and then reaches the effect that the simulation simplifying website logs in logic.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the simulation login method of website according to the embodiment of the present invention; And
Fig. 2 is the schematic diagram of the simulation logon device of website according to the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The application's scheme is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the embodiment of the application's part, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all should belong to the scope of the application's protection.
It should be noted that, term " first ", " second " etc. in the specification of the application and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that the embodiment of the application described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to embodiments of the invention, provide a kind of simulation logon device method of website.The simulation logon device method of this website may operate on computer-processing equipment.
Fig. 1 is the flow chart of the simulation login method of website according to the embodiment of the present invention.As shown in Figure 1, the method comprises following step S102 to step S106:
Step S102, obtains trial website and simulates the request logged in.
It should be noted that, the history carrying website in above-mentioned request logs in record, history log in record can for logging in website by browser time server buffer to local record, such as, history log in record can be when logging in website by browser server buffer to local cookie.
Below for history log in be recorded as log in website by browser time server buffer elaborate the present invention to local cookie.
For any one website, as long as it is once by arbitrary browser, as IE browser, Google's browser etc. logged in, server will at its cookie of local cache; Certainly, if it is not by arbitrary browser, as IE browser, Google's browser etc. logged in, then server would not at its cookie of local cache, and now, the cookie of default website is empty.Server, when local cache is logged in the cookie of website, can arrange the term of validity (that is, life span) of cookie.The term of validity of cookie can carry out being set to random length according to the needs of user, and such as, 100 years, like this, from the moment that this cookie is buffered, in 100 years, it was all effective.
During enforcement, in order to log in targeted website (namely, the current website wanting to log in), client is while the request logged in is simulated in initiation trial website, can simulate in the request logged in current trial website by the cookie of copying and saving in this targeted website of this locality, log in the simulation of realize target website.
It should be noted that, such as, even if after the cookie of website is buffered, its simulation logs in logic neither be unalterable, can log in logic by the present day analog of amendment website, backstage.And once the present day analog of website logs in logic and is modified, buffer memory will lose efficacy to local cookie before, thus user cannot be logged in by the simulation to the cookie realize target website of this locality of buffer memory before again.
Step S104, judges whether request has asked successfully.
Step S106, if judge that request has been asked successfully, then logs in record simulation according to history and logs in website.
When implementing, can judge that whether request is normal, such as, effectively whether the cookie in request (comprising: whether cookie is empty, and also before the deadline whether, whether the simulation of website logs in logic and be modified cookie); If judge that request is normal, such as, the cookie in request effectively (comprising: cookie is not for empty, and cookie also before the deadline, the simulation of website logs in logic and is not modified), then log in website according to being buffered in local cookie simulation.
Pass through the embodiment of the present invention, log in because server buffer when logging in website by means of browser to the history of local website logs in the simulation that record carries out website, therefore without the need to asking one by one for different web sites, analyze and reappear various POST bag and various return datas etc., only need record the Cookie of website after by browser Website login, and the simulation that just can realize website in follow-up log on request by adding above-mentioned Cookie record logs in, the simulation that improve website logs in the applicability of the simulation login logic of efficiency and website, reach the effect that the simulation simplifying website logs in logic, achieve the automation that website simulation logs in.
Preferably, in embodiments of the present invention, after step S104 judges whether request has asked successfully, this simulation login method can also comprise:
S2, if judge that request asks failure, then logs in website by browser simulation.
When implementing, if judge that request is abnormal, such as, cookie in request be invalid (comprising: cookie for empty, cookie not before the deadline, namely, cookie is expired, and the simulation of website logs in logic and has been modified), then log in website by browser simulation.Like this, the simulation can expanding website logs in approach.
Further preferably, in embodiments of the present invention, S2 is logged in website can be comprised by browser simulation:
S4, starts at browser and when navigating to the login page of website, obtains logging on authentication; And
S6, logs in website according to logging on authentication simulation.
When implementing, can use third party control first start browser (as, IE browser and Google's browser etc.), and navigate to website (namely, targeted website) login page, obtain the logging on authentication of user's input again or obtain by the mode of searching the logging on authentication preserved in advance hereof that backstage inputs automatically, then, logging in website according to logging on authentication simulation.It should be noted that, after website simulation logs in successfully, can browser be closed.After simulation login failure, then can repeat aforesaid operations step, and upgrade corresponding Cookie.
Wherein, when obtaining logging on authentication, preferably, the logging on authentication of user's input can be obtained.Because when the mode by searching obtains the logging on authentication preserved in advance hereof that backstage inputs automatically, logging in website although also can simulate, adopting and simulating the impact of debarkation net standing-meeting by network itself in this way.Such as, if network speed is too slow, then may when the logon web page of website not yet load complete, backstage just have input logging on authentication automatically, causes website logins failure or website logins mistake etc.
In addition, in embodiments of the present invention, the form of logging on authentication can be various, does not limit at this, and such as, it can be the user name of not encrypted and the password etc. of not encrypted.
Further preferably, in embodiments of the present invention, while S6 logs in website according to logging on authentication simulation, this simulation login method can also comprise:
S8, generates the current of website and logs in record; And
S10, by the current record buffer memory that logs in of website to local, the current record that logs in is for logging in record as the history of attempting the website of carrying in the request when the request logged in is simulated in website next time.
Also namely, after the Successful login of website, preserve the Cookie of current page to local, like this, when client initiates above-mentioned request again, directly can copy the local Cookie preserved in request, log in the simulation realizing website.
By the embodiment of the present invention, the simulation not only can expanding website logs in approach, but also can log in for the follow-up simulation of website the Cookie providing buffer memory.
Preferably, in previous embodiment of the present invention, judge whether request has asked successfully can comprise:
Whether normal S12, judge that the history of the website of carrying in asking logs in record;
S14, if it is normal to judge that the history of the website of carrying in request logs in record, then determines that request has been asked successfully; And
S16, if judge that the history of the website of carrying in request logs in recording exceptional, then determines that request asks failure.
Such as, when implementing, can judge whether effectively the cookie of the website of carrying in asking (comprising: whether cookie is empty, and whether before the deadline, the simulation of website logs in logic and whether has been modified cookie); If judge that the cookie of the website of carrying in asking effectively (comprising: cookie is not for empty, and before the deadline, the simulation of website logs in logic and is not modified cookie), then determine that request has been asked successfully; If judge the cookie of the website of carrying in asking invalid (comprising: cookie is for empty, and not before the deadline, that is, cookie is expired for cookie, and the simulation of website logs in logic and has been modified), then determine that request asks failure.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
According to embodiments of the invention, provide a kind of simulation logon device of website.It should be noted that, the simulation logon device method of the website that the embodiment of the present invention provides can be performed by the simulation logon device of the website of the embodiment of the present invention, and the simulation logon device of the website of the embodiment of the present invention also may be used for the simulation login method of the website performing the embodiment of the present invention.
Fig. 2 is the schematic diagram of the simulation logon device of website according to the embodiment of the present invention.As shown in Figure 2, this device comprises: acquiring unit 10, judging unit 20 and the first simulation login unit 30.
Acquiring unit 10 is attempted website and simulate for obtaining the request logged in, and the history carrying website in request logs in record, and history logs in and to be recorded as when logging in website by browser server buffer to the record of this locality.
It should be noted that, the history carrying website in above-mentioned request logs in record, history log in record can for logging in website by browser time server buffer to local record, such as, history log in record can be when logging in website by browser server buffer to local cookie.
Below for history log in be recorded as log in website by browser time server buffer elaborate the present invention to local cookie.
For any one website, as long as it is once by arbitrary browser, as IE browser, Google's browser etc. logged in, server will at its cookie of local cache; Certainly, if it is not by arbitrary browser, as IE browser, Google's browser etc. logged in, then server would not at its cookie of local cache, and now, the cookie of default website is empty.Server, when local cache is logged in the cookie of website, can arrange the term of validity (that is, life span) of cookie.The term of validity of cookie can carry out being set to random length according to the needs of user, and such as, 100 years, like this, from the moment that this cookie is buffered, in 100 years, it was all effective.
During enforcement, in order to log in targeted website (namely, the current website wanting to log in), client is while the request logged in is simulated in initiation trial website, can simulate in the request logged in current trial website by the cookie of copying and saving in this targeted website of this locality, log in the simulation of realize target website.
It should be noted that, such as, even if after the cookie of website is buffered, its simulation logs in logic neither be unalterable, can log in logic by the present day analog of amendment website, backstage.And once the present day analog of website logs in logic and is modified, buffer memory will lose efficacy to local cookie before, thus user cannot be logged in by the simulation to the cookie realize target website of this locality of buffer memory before again.
Judging unit 20 is for judging whether request has asked successfully.
First simulation login unit 30, for when judging that request is asked successful, logging in record simulation according to history and logging in website.
When implementing, can judge that whether request is normal, such as, effectively whether the cookie in request (comprising: whether cookie is empty, and also before the deadline whether, whether the simulation of website logs in logic and be modified cookie); If judge that request is normal, such as, the cookie in request effectively (comprising: cookie is not for empty, and cookie also before the deadline, the simulation of website logs in logic and is not modified), then log in website according to being buffered in local cookie simulation.
Pass through the embodiment of the present invention, log in because server buffer when logging in website by means of browser to the history of local website logs in the simulation that record carries out website, therefore without the need to asking one by one for different web sites, analyze and reappear various POST bag and various return datas etc., only need record the Cookie of website after by browser Website login, and the simulation that just can realize website in follow-up log on request by adding above-mentioned Cookie record logs in, the simulation that improve website logs in the applicability of the simulation login logic of efficiency and website, reach the effect that the simulation simplifying website logs in logic, achieve the automation that website simulation logs in.
Preferably, in embodiments of the present invention, this simulation logon device can also comprise: the second simulation login unit.Second simulation login unit is used for after judging whether request asks successfully, when judging that request is asked failed, logs in website by browser simulation.
When implementing, if judge that request is abnormal, such as, cookie in request be invalid (comprising: cookie for empty, cookie not before the deadline, namely, cookie is expired, and the simulation of website logs in logic and has been modified), then log in website by browser simulation.Like this, the simulation can expanding website logs in approach.
Further preferably, in embodiments of the present invention, this second simulation login unit can comprise: acquisition module and simulation log-in module.Acquisition module is used for starting at browser and when navigating to the login page of described website, obtaining logging on authentication; And simulation log-in module is used for logging in website according to logging on authentication simulation.
When implementing, can use third party control first start browser (as, IE browser and Google's browser etc.), and navigate to website (namely, targeted website) login page, obtain the logging on authentication of user's input again or obtain by the mode of searching the logging on authentication preserved in advance hereof that backstage inputs automatically, then, logging in website according to logging on authentication simulation.It should be noted that, after website simulation logs in successfully, can browser be closed.After simulation login failure, then can repeat aforesaid operations step, and upgrade corresponding Cookie.
Wherein, when obtaining logging on authentication, preferably, the logging on authentication of user's input can be obtained.Because when the mode by searching obtains the logging on authentication preserved in advance hereof that backstage inputs automatically, logging in website although also can simulate, adopting and simulating the impact of debarkation net standing-meeting by network itself in this way.Such as, if network speed is too slow, then may when the logon web page of website not yet load complete, backstage just have input logging on authentication automatically, causes website logins failure or website logins mistake etc.
In addition, in embodiments of the present invention, the form of logging on authentication can be various, does not limit at this, and such as, it can be the user name of not encrypted and the password etc. of not encrypted.
Further preferably, in embodiments of the present invention, this simulation logon device can also comprise: generation unit and buffer unit.Generation unit is used for, while logging in website according to logging on authentication simulation, generating the current of website and logging in record; And buffer unit is used for by the current record buffer memory that logs in of website to local, the current record that logs in is for logging in record as the history of attempting the website of carrying in the request when the request logged in is simulated in website next time.
Also namely, after the Successful login of website, preserve the Cookie of current page to local, like this, when client initiates above-mentioned request again, directly can copy the local Cookie preserved in request, log in the simulation realizing website.
By the embodiment of the present invention, the simulation not only can expanding website logs in approach, but also can log in for the follow-up simulation of website the Cookie providing buffer memory.
Preferably, in previous embodiment of the present invention, aforesaid judging unit can comprise: judge module, the first determination module and the second determination module.Whether judge module is normal for judging that the history of the website of carrying in request logs in record; When the history of website that first determination module is used for carrying in judging to ask logs in and records normal, determine that request has been asked successfully; And second the determination module history of website that is used for carrying in judging to ask log in recording exceptional, then determine that request asks failure.
Such as, when implementing, can judge whether effectively the cookie of the website of carrying in asking (comprising: whether cookie is empty, and whether before the deadline, the simulation of website logs in logic and whether has been modified cookie); If judge that the cookie of the website of carrying in asking effectively (comprising: cookie is not for empty, and before the deadline, the simulation of website logs in logic and is not modified cookie), then determine that request has been asked successfully; If judge the cookie of the website of carrying in asking invalid (comprising: cookie is for empty, and not before the deadline, that is, cookie is expired for cookie, and the simulation of website logs in logic and has been modified), then determine that request asks failure.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a simulation login method for website, is characterized in that, comprising:
Obtain and attempt website and simulate the request logged in, the history carrying website in described request logs in record, and described history logs in and to be recorded as when logging in described website by browser server buffer to the record of this locality;
Judge whether described request has asked successfully; And
If judge that described request has been asked successfully, then log in record simulation according to described history and log in described website.
2. the simulation login method of website according to claim 1, is characterized in that, after judging whether described request has asked successfully, described simulation login method also comprises:
If judge that described request asks failure, then log in described website by described browser simulation.
3. the simulation login method of website according to claim 2, is characterized in that, logs in described website comprise by described browser simulation:
Start at described browser and when navigating to the login page of described website, obtain logging on authentication; And
Described website is logged according to described logging on authentication simulation.
4. the simulation login method of website according to claim 3, is characterized in that, while logging in described website according to described logging on authentication simulation, described simulation login method also comprises:
Generate the current of described website and log in record; And
By the described current record buffer memory that logs in of described website to described this locality, the described current record that logs in is for logging in record as the history of attempting the website of carrying in the request when the request logged in is simulated in website next time.
5. the simulation login method of website according to any one of claim 1 to 4, is characterized in that, judges whether described request has asked successfully to comprise:
Whether normally judge that the history of the described website of carrying in described request logs in record;
If it is normal to judge that the history of the described website of carrying in described request logs in record, then determine that described request has been asked successfully; And
If judge that the history of the described website of carrying in described request logs in recording exceptional, then determine that described request asks failure.
6. a simulation logon device for website, is characterized in that, comprising:
Acquiring unit, attempt website and simulate for obtaining the request logged in, the history carrying website in described request logs in record, and described history logs in and to be recorded as when logging in described website by browser server buffer to the record of this locality;
Judging unit, for judging whether described request has asked successfully; And
First simulation login unit, for when judging that described request is asked successful, logging in record simulation according to described history and logging in described website.
7. the simulation logon device of website according to claim 6, is characterized in that, described simulation logon device also comprises:
Second simulation login unit, for after judging whether described request has asked successfully, and when judging that described request is asked failed, logs in described website by described browser simulation.
8. the simulation logon device of website according to claim 7, is characterized in that, described second simulation login unit comprises:
Acquisition module, for starting at described browser and when navigating to the login page of described website, obtaining logging on authentication; And
Simulation log-in module, for logging in described website according to described logging on authentication simulation.
9. the simulation logon device of website according to claim 8, is characterized in that, described simulation logon device also comprises:
Generation unit, for while logging in described website according to described logging on authentication simulation, generates the current of described website and logs in record; And
Buffer unit, for the described current of described website is logged in record buffer memory extremely described this locality, the described current record that logs in is for logging in record as the history of attempting the website of carrying in the request when the request logged in is simulated in website next time.
10. the simulation logon device of the website according to any one of claim 6 to 9, is characterized in that, described judging unit comprises:
Whether judge module is normal for judging that the history of the described website of carrying in described request logs in record;
First determination module, when recording normal for logging in the history of the described website judging to carry in described request, determines that described request has been asked successfully; And
Second determination module, for logging in recording exceptional in the history of the described website judging to carry in described request, then determines that described request asks failure.
CN201410758305.9A 2014-12-10 2014-12-10 The simulation login method and device of website Active CN104468794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410758305.9A CN104468794B (en) 2014-12-10 2014-12-10 The simulation login method and device of website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410758305.9A CN104468794B (en) 2014-12-10 2014-12-10 The simulation login method and device of website

Publications (2)

Publication Number Publication Date
CN104468794A true CN104468794A (en) 2015-03-25
CN104468794B CN104468794B (en) 2018-11-06

Family

ID=52914146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410758305.9A Active CN104468794B (en) 2014-12-10 2014-12-10 The simulation login method and device of website

Country Status (1)

Country Link
CN (1) CN104468794B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550280A (en) * 2015-12-10 2016-05-04 天津海量信息技术有限公司 Data acquisition system of login type website
CN106341470A (en) * 2016-08-31 2017-01-18 北京量科邦信息技术有限公司 Method for keeping conversation and grasping continuously-updated data of conversation
CN107733969A (en) * 2017-07-25 2018-02-23 上海壹账通金融科技有限公司 Website simulation login method, device, service end and readable storage medium storing program for executing
CN112104630A (en) * 2020-09-07 2020-12-18 广东机电职业技术学院 Website one-key closing method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020186249A1 (en) * 1999-10-28 2002-12-12 Qi Lu Method and system of facilitating automatic login to a web site using an internet browser
CN102035752A (en) * 2009-09-29 2011-04-27 上海通路快建网络服务外包有限公司 Method and device for extracting mailbox address book
CN103152406A (en) * 2013-02-19 2013-06-12 人民搜索网络股份公司 Website access method and device
CN103618698A (en) * 2013-11-08 2014-03-05 北京奇虎科技有限公司 Method and device for processing cookie information
CN103984719A (en) * 2014-05-12 2014-08-13 浪潮电子信息产业股份有限公司 Method for acquiring by using crawler to simulate login

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020186249A1 (en) * 1999-10-28 2002-12-12 Qi Lu Method and system of facilitating automatic login to a web site using an internet browser
CN102035752A (en) * 2009-09-29 2011-04-27 上海通路快建网络服务外包有限公司 Method and device for extracting mailbox address book
CN103152406A (en) * 2013-02-19 2013-06-12 人民搜索网络股份公司 Website access method and device
CN103618698A (en) * 2013-11-08 2014-03-05 北京奇虎科技有限公司 Method and device for processing cookie information
CN103984719A (en) * 2014-05-12 2014-08-13 浪潮电子信息产业股份有限公司 Method for acquiring by using crawler to simulate login

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550280A (en) * 2015-12-10 2016-05-04 天津海量信息技术有限公司 Data acquisition system of login type website
CN106341470A (en) * 2016-08-31 2017-01-18 北京量科邦信息技术有限公司 Method for keeping conversation and grasping continuously-updated data of conversation
CN107733969A (en) * 2017-07-25 2018-02-23 上海壹账通金融科技有限公司 Website simulation login method, device, service end and readable storage medium storing program for executing
WO2019019675A1 (en) * 2017-07-25 2019-01-31 深圳壹账通智能科技有限公司 Simulated website login method and apparatus, server end and readable storage medium
CN112104630A (en) * 2020-09-07 2020-12-18 广东机电职业技术学院 Website one-key closing method and device, computer equipment and storage medium
CN112104630B (en) * 2020-09-07 2021-06-08 广东机电职业技术学院 Website one-key closing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104468794B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
JP7027475B2 (en) Decentralized, decentralized data aggregation
CN104580074B (en) The login method of client application and its corresponding server
JP7434342B2 (en) Container builder for personalized network services
US11588855B2 (en) Policy approval layer
US8528066B2 (en) Methods and apparatus for enabling context sharing
US20190253428A1 (en) Invisible password reset protocol
CN102685081B (en) A kind of web-page requests security processing and system
CN104253812B (en) Entrust the certification for WEB service
US9979717B2 (en) Algorithm hardening in background context and external from the browser to prevent malicious intervention with the browser
CN109933701B (en) Microblog data acquisition method based on multi-strategy fusion
CN104519050B (en) Login method and login system
CN105072123B (en) A kind of single sign-on under cluster environment exits method and system
US9934310B2 (en) Determining repeat website users via browser uniqueness tracking
CN104580364A (en) Resource sharing method and device
CN106936853A (en) A kind of system-oriented integrated cross-domain single login system and method
CN108200099A (en) Mobile application, personal status relationship management
CN107104924B (en) Verification method and device for website backdoor file
EP3220600A1 (en) System and method for proxy-based privacy protection
US20130055070A1 (en) Method of generating web pages using server-side javascript
EP3289519B1 (en) Acquisition of a device fingerprint from an instance of a client application
CN104468794A (en) Login simulating method and device for website
CN110968760A (en) Webpage data crawling method and device, and webpage login method and device
CN103634111B (en) Single-point logging method and system and single sign-on client-side
CN104270391A (en) Method and device for processing access request
CN110581841B (en) Back-end anti-crawler method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Login simulating method and device for website

Effective date of registration: 20190531

Granted publication date: 20181106

Pledgee: Shenzhen Black Horse World Investment Consulting Co.,Ltd.

Pledgor: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Registration number: 2019990000503

CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

PP01 Preservation of patent right

Effective date of registration: 20240604

Granted publication date: 20181106