CN108616525A - Website access method and device, electronic equipment and storage medium - Google Patents

Website access method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108616525A
CN108616525A CN201810339286.4A CN201810339286A CN108616525A CN 108616525 A CN108616525 A CN 108616525A CN 201810339286 A CN201810339286 A CN 201810339286A CN 108616525 A CN108616525 A CN 108616525A
Authority
CN
China
Prior art keywords
proxy
resources
proxy resources
access
currently available
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.)
Pending
Application number
CN201810339286.4A
Other languages
Chinese (zh)
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.)
Shenzhen City Grain Science And Technology Co Ltd
Original Assignee
Shenzhen City Grain Science And 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 Shenzhen City Grain Science And Technology Co Ltd filed Critical Shenzhen City Grain Science And Technology Co Ltd
Priority to CN201810339286.4A priority Critical patent/CN108616525A/en
Publication of CN108616525A publication Critical patent/CN108616525A/en
Pending legal-status Critical Current

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/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

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

Abstract

The invention discloses a kind of Website access method and device, electronic equipment and storage mediums.In the present invention, when listening to the access request of user's access target website by proxy plug-ins, obtain proxy resources, the proxy plug-ins filter out currently available proxy resources from the proxy resources, the proxy plug-ins compare all proxy resources in the currently available proxy resources, determine that optimal proxy resources, the proxy plug-ins access the targeted website by the optimal proxy resources.The present invention utilizes proxy plug-ins access target website, the operating process that user accesses website using proxy plug-ins can be simplified, and utilize optimal proxy resources access target website in currently available proxy resources, user can be improved and use the speed of proxy resources access target website, while improving reliability and stability of the user by proxy resources access target website.

Description

Website access method and device, electronic equipment and storage medium
Technical field
The invention belongs to computer network field more particularly to a kind of Website access method and device, electronic equipment and deposit Storage media.
Background technology
The development of computer and internet provides a large amount of facility for the live and work of people.Using internet During, it is sometimes desirable to network agent is set, to access the webpage or the access for improving webpage that some can not directly be accessed Speed.For example, when domestic internet user access foreign department subnetting station, there are higher delays, at this moment just need to utilize network generation Reason improves the access speed of website.It accesses the range of webpage it can be said that network agent expands user or improves user's visit Ask the speed of webpage.
At present when using network proxy, it is necessary first to the client application of network agent be installed, then using purchase The free proxy resources of the paid proxy resources or collection bought access website, thus lead to the operating process of network agent more It is cumbersome;Secondly, the network agent collected in users from networks is required to carry out validation verification when using every time, thus cause The stability of network agent is also poor, access speed is slower.
That there are operating processes is cumbersome, stability is poor when therefore, user accesses website using network agent in the prior art, The slower problem of access speed.
Invention content
A kind of Website access method and device of present invention offer, electronic equipment and storage medium, it is intended to solve existing use The problem that existing operating process is cumbersome, stability is poor, access speed is slower when family is using network agent access website.
First aspect present invention provides a kind of Website access method, the method includes:
When listening to the access request of user's access target website by proxy plug-ins, proxy resources are obtained;
The proxy plug-ins filter out currently available proxy resources from the proxy resources;
The proxy plug-ins compare all proxy resources in the currently available proxy resources, determine optimal agency's money Source;
The proxy plug-ins access the targeted website by the optimal proxy resources.
In a preferably embodiment, the proxy plug-ins filter out currently available proxy resources from the proxy resources Including:
The proxy plug-ins utilize each proxy resources access preset Internet resources in the proxy resources successively;
The proxy resources that Internet resources can be preset in the proxy resources described in successful access are determined as by the proxy plug-ins Currently available proxy resources.
In a preferably embodiment, the method owns in the proxy plug-ins are to the currently available proxy resources Proxy resources are compared, and after determining optimal proxy resources, the proxy plug-ins access institute by the optimal proxy resources Further include before stating targeted website:
The access speed of the optimal proxy resources is compared by the proxy plug-ins with direct-connected access speed;
When the access speed of the optimal proxy resources is more than direct-connected access speed, the proxy plug-ins obtain described optimal The agent rule of proxy resources;
Agent rule Configuration Agent option of the proxy plug-ins based on the optimal proxy resources.
In a preferably embodiment, the proxy plug-ins to all proxy resources in the currently available proxy resources into Row comparison, determines that optimal proxy resources include:
The proxy plug-ins detect each currently available proxy resources in the currently available proxy resources and access the target network The access speed stood, and can by most fast current of the access speed for accessing the targeted website in the currently available proxy resources Use proxy resources as optimal proxy resources;Or
The proxy plug-ins randomly select multiple velocity test websites from preconfigured velocity test website;
The proxy plug-ins set agent option to the proxy resources in currently available proxy resources successively, and to the multiple Velocity test website sends access request;
When each currently available proxy resources of proxy plug-ins calculating access the average response of the multiple velocity test website Between;
The currently available proxy resources of average response time minimum are determined as optimal proxy resources by the proxy plug-ins.
In a preferably embodiment, the proxy plug-ins to all proxy resources in the currently available proxy resources into Row comparison, determines that optimal proxy resources include following one or more:
The history that the proxy plug-ins obtain each currently available proxy resources in the currently available proxy resources uses duration, History is determined as optimal proxy resources using the longest currently available proxy resources of duration;Or
The proxy plug-ins obtain the history access times of each currently available proxy resources in the currently available proxy resources, The most currently available proxy resources of history access times are determined as optimal proxy resources;Or
The proxy plug-ins obtain the priority of each currently available proxy resources in the proxy resources, by highest priority Currently available proxy resources are determined as optimal proxy resources.
In a preferably embodiment, the proxy plug-ins to all proxy resources in the currently available proxy resources into Row comparison, determines that optimal proxy resources include:
Proxy log of each currently available proxy resources of proxy plug-ins extraction in preset time section;
The proxy plug-ins obtain the history access times for accessing the targeted website from the proxy log and/or history is visited Ask duration;
The highest currently available proxy resources of history access times and/or history are accessed that duration is longest to work as by the proxy plug-ins Preceding available agent resource is determined as optimal proxy resources.
In a preferably embodiment, the method further includes:
The proxy plug-ins adjust the agency according to the quantity for the access request for accessing the targeted website in preset time period The quantity of currently available proxy resources in resource.
Second aspect of the present invention provides a kind of website visiting device, and the website visiting device includes:
Acquisition module when access request for listening to user's access target website when proxy plug-ins, obtains proxy resources;
Screening module, for filtering out currently available proxy resources from the proxy resources;
Contrast module determines optimal agency's money for being compared to all proxy resources in the currently available proxy resources Source;
Access modules, for accessing the targeted website by the optimal proxy resources.
Third aspect present invention provides a kind of electronic equipment, and the electronic equipment includes processor, and the processor is used for Website access method described in any of the above-described embodiment is realized when executing the computer program stored in memory.
Fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the meter Calculation machine program realizes Website access method described in any of the above-described embodiment when being executed by processor.
In the present invention, when listening to the access request of user's access target website by proxy plug-ins, agency is obtained Resource, the proxy plug-ins filter out currently available proxy resources from the proxy resources, and the proxy plug-ins are worked as to described All proxy resources are compared in preceding available agent resource, determine optimal proxy resources, the proxy plug-ins by it is described most Excellent proxy resources access the targeted website.The present invention utilizes proxy plug-ins access target website, can simplify user and use generation The operating process that plug-in unit accesses website is managed, and using optimal proxy resources access target website in currently available proxy resources, it can The speed of proxy resources access target website is used to improve user, while improving user and passing through proxy resources access target website Reliability and stability.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the implementation flow chart of Website access method provided in an embodiment of the present invention;
Fig. 2 is another implementation flow chart of Website access method provided in an embodiment of the present invention;
Fig. 3 is the another implementation flow chart of Website access method provided in an embodiment of the present invention;
Fig. 4 is the implementation flow chart of step S102 in Website access method provided in an embodiment of the present invention;
Fig. 5 is the implementation flow chart of step S103 in Website access method provided in an embodiment of the present invention;
Fig. 6 is the functional block diagram of website visiting device provided in an embodiment of the present invention;
Fig. 7 is another functional block diagram of website visiting device provided in an embodiment of the present invention;
Fig. 8 is the another functional block diagram of website visiting device provided in an embodiment of the present invention;
Fig. 9 is the structure diagram of screening module 102 in website visiting device provided in an embodiment of the present invention;
Figure 10 is the structure diagram of contrast module 103 in website visiting device provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 shows the implementation process of Website access method provided in an embodiment of the present invention, according to different requirements, the stream The sequence of step can change in journey figure, and certain steps can be omitted.For convenience of description, it illustrates only and the embodiment of the present invention Relevant part, details are as follows:
As shown in Figure 1, Website access method comprising:
Step S101 obtains proxy resources when listening to the access request of user's access target website by proxy plug-ins.
Based on the limitation and restriction of certain reasons, user can have the slower feelings of access speed when accessing certain websites Condition, for example, when either domestic user accesses external website or Foreign User for external network user's access portion education network, enterprise network When accessing Some Domestic website, there is a situation where that access speed is slower, is needed at this time by network agent access target website, profit Website is accessed with network agent, improves the access speed for accessing website.
In embodiments of the present invention, the proxy resources are voluntarily built based on cloud platform in the multiple areas in each state in the world Proxy resources, therefore can ensure the reliability and stability of proxy resources.For example, the proxy resources may include http classes The proxy resources of type and/or the proxy resources of person's ssocks types, and when realizing network agent function, proxy resources pair The line access targeted website that the proxy server answered is optimized by cloud platform, therefore, can equally ensure proxy resources can By property and stability.
In addition, in a preferably embodiment, the proxy resources include:Agent IP address and Agent Profile information.Institute It is the proxy plug-ins for having the agent functionality described in any embodiment of the present invention to state proxy plug-ins, and user is using browser access When targeted website, the proxy plug-ins only need to be installed in advance in a browser, be not necessarily to other operations again later, eliminate use The trouble of family installation agent client simplifies the operating process of access target website, carries without the manual Configuration Agent of user High user accesses the speed and stability of second website.
Step S102, the proxy plug-ins filter out currently available proxy resources from the proxy resources.
Proxy resources during use, due to hardware device service life limitation and other various aspects shadow It rings, such as equipment fault reason, proxy resources need the generation to voluntarily building there may be failing or can not use Reason resource is screened.Therefore, in embodiments of the present invention, the proxy plug-ins filter out from all proxy resources and currently may be used With proxy resources, therefrom to reject proxy resources that are invalid or can not using, to improve the speed of access target website Degree and efficiency, and ensure the reliability and stability of access target website simultaneously.
Step S103, the proxy plug-ins compare all proxy resources in the currently available proxy resources, really Fixed optimal proxy resources.
In order to improve the access speed of user's access target website, currently available generation is being filtered out from all proxy resources Manage resource after, the proxy plug-ins need to be compared all proxy resources in currently available proxy resources, so as to from Optimal proxy resources are selected in all currently available proxy resources, to which user is using described in the optimal proxy resources access Targeted website can greatly improve the speed and stability of user's access target website.Specifically, ping orders pair can be utilized All proxy resources are screened in currently available proxy resources, and then filter out optimal proxy resources.Ping orders can be with The connection whether one network address is sent by test data bag, and has response to judge current network by investigating the network address Property;Ping orders can also count response time of the network address to test data bag, and then judge the connection of current network Speed.Therefore, optimal proxy resources can be gone out using ping order filterings.
Step S104, the proxy plug-ins access the targeted website by the optimal proxy resources.
After optimal proxy resources are determined, you can access the targeted website using the optimal proxy resources, in turn Reach the speed for greatly improving user's access target website, while improving the reliability and stability of user's access target website.
In embodiments of the present invention, it is obtained when listening to the access request of user's access target website by proxy plug-ins Proxy resources, the proxy plug-ins filter out currently available proxy resources from the proxy resources, and the proxy plug-ins are to institute It states all proxy resources in currently available proxy resources to be compared, determines that optimal proxy resources, the proxy plug-ins pass through institute It states optimal proxy resources and accesses the targeted website.The embodiment of the present invention utilizes proxy plug-ins access target website, can simplify User accesses the operating process of website using proxy plug-ins.In addition, using in currently available proxy resources in the embodiment of the present invention Optimal proxy resources access target website can improve the speed that user uses proxy resources access target website, utilize simultaneously The proxy resources voluntarily built can improve reliability and stability of the user by proxy resources access target website.
Fig. 2 shows another implementation processes of Website access method provided in an embodiment of the present invention, according to different requirements, The sequence of step can change in the flow chart, and certain steps can be omitted.For convenience of description, it illustrates only and present invention reality The relevant part of example is applied, details are as follows:
In a preferably embodiment, as shown in Fig. 2, shown in above-mentioned Fig. 1 on the basis of method and step, the website visiting side Method further includes between step S103 and step S104:
Step S105, the proxy plug-ins compare the access speed of the optimal proxy resources with direct-connected access speed Compared with.
In order to determine the speed that whether can improve user's access target website using proxy resources access target website, In embodiments of the present invention, it needs the access speed of the optimal proxy resources and direct-connected access speed being compared, only Have when the access speed of the optimal proxy resources is more than direct-connected access speed, mesh is accessed using the optimal proxy resources Mark website can just improve the access speed for the access target website that can transfer ownership.Wherein, the direct-connected access speed refers to utilizing The access speed of locality connection access target website.
Step S106, when the access speed of the optimal proxy resources is more than direct-connected access speed, the agency inserts Part obtains the agent rule of the optimal proxy resources.
When determining that the access speed of the optimal proxy resources is faster than direct-connected access speed, illustrate to use optimal generation Reason resource access target website can improve the speed of user's access target website.Have in view of different proxy resources different Agent rule.Therefore, in embodiments of the present invention, described in order to use the optimal proxy resources to access the targeted website Proxy plug-ins need to obtain the agent rule of the optimal proxy resources.
In other examples, the Website access method further includes step:
When the access speed of the optimal proxy resources is less than or equal to direct-connected access speed, pass through direct-connected direct access mesh Mark website.
During being compared the access speed of optimal proxy resources and direct-connected access speed, may exist The access speed of optimal proxy resources is less than or equal to the direct-connected access speed, when the access speed of optimal proxy resources When less than or equal to the direct-connected access speed, illustrate that using optimal proxy resources access target website use can not be improved The access speed of family access target website can improve the visit of user's access target website using direct-connected access target website instead Ask speed.Therefore, in embodiments of the present invention, when meet the optimal proxy resources access speed be less than or equal to it is direct-connected Access speed condition when, no longer by optimal proxy resources access target website, but by described in direct-connected direct access Targeted website.
Step S107, agent rule Configuration Agent option of the proxy plug-ins based on the optimal proxy resources.
After the agent rule for getting optimal proxy resources, in order to access the target using the optimal proxy resources Website, and save user installation agent client, the trouble of manual configuration agent option, in embodiments of the present invention, the generation Agent rule of the plug-in unit based on the optimal proxy resources, the agent option that Configuration Agent accesses are managed, and then utilizes and has configured generation The optimal proxy resources access target website for managing option, to reach the operation stream greatly simplified through proxy access targeted website Journey improves access speed of the user by proxy resources access target website.
In embodiments of the present invention, the access speed of optimal proxy resources is compared with direct-connected access speed, when When the access speed of optimal proxy resources is more than direct-connected access speed, the agent rule Configuration Agent based on optimal proxy resources Option, and then utilize optimal proxy resources access target website.Therefore, the embodiment of the present invention can further increase user's utilization The speed of proxy resources access target website.
In a preferably embodiment, as shown in Fig. 2, the Website access method also wraps on the basis of above-mentioned steps Include step:
S108, the proxy plug-ins are according to described in the adjustment of the quantity for the access request for accessing the targeted website in preset time period The quantity of currently available proxy resources in proxy resources.
In embodiments of the present invention, the preset time period is the pre-set period, for example, pre-setting described pre- If the period is two minutes etc..During building proxy resources, enough proxy resources can be built, it is follow-up to meet In the case that access target website access request it is a fairly large number of, ensure the enhanced scalability of proxy resources, the agency Plug-in unit is according to the adjustment of the Number dynamics of the access request of user's access target website, such as dynamic increase or reduce current The quantity of available agent resource.Currently available proxy resources, can during user utilizes proxy resources access target website Can exist part use, the case where partly using, currently available proxy resources specifically it is current by user occupancy or The currently available proxy resources that person is being used by a user.And if current a certain user has used or has occupied a certain agency's money Source, then other users can not reuse a certain proxy resources.By adjusting the quantity of currently available proxy resources, used improving While family utilizes the speed of proxy resources access target website, it is also greatly improved the scalability of proxy resources.
In addition, step S108 is only preferably illustratively to illustrate after step s 104 in the embodiment of the present invention, at it In its embodiment, any one step that step S108 can be after step s 102 is implemented, and can reach and present invention reality The identical advantageous effect of example is applied, is no longer described in detail herein.
In a preferably embodiment, step S108, the proxy plug-ins are according to accessing the target in preset time period The quantity that the quantity of the access request of website adjusts currently available proxy resources in the proxy resources specifically includes:
It is preset when the quantity for the access request for accessing the targeted website in the preset time period is more than or equal to first When number of requests, the proxy plug-ins adjust currently available agency in the proxy resources according to the described first default number of requests The quantity of resource is to the first default resource quantity.
The first default number of requests is the number of requests of pre-set access target website, and described first default asks Ask number for weighs utilize proxy resources access target website user number, when the number of the access request of access target website Amount is more than or equal to the described first default number of request, it is possible to determine that the user of present access destination website is more;When access mesh The quantity for marking the access request of website is less than the described first default number of requests, it is possible to determine that the use of present access destination website Family is less.The default resource quantity is the quantity of pre-set currently available proxy resources, and the first default resource Quantity is currently available proxy resources quantity corresponding with the described first default number of requests.
In order to improve the autgmentability of proxy resources, the quantity of the access request of access target website is big within a preset period of time When the first default number of requests, illustrate that the user of access target website at this time is more, therefore, adjustment is currently available Proxy resources are to the first default resource quantity, to be applicable in the relatively multi-user of access target website, to improve the expansion of proxy resources Malleability.
It is preset when the quantity for the access request for accessing the targeted website in the preset time period is less than described first When number of requests, the proxy plug-ins adjust currently available agency in the proxy resources according to the described first default number of requests The quantity of resource is to the second default resource quantity;Wherein, the described second default resource quantity is less than the described first default number of resources Amount.
In order to improve the access speed of user's access target website, while system loading and operation expense are reduced, in this hair In bright embodiment, when the quantity for the access request for accessing the targeted website in the preset time period is less than described first in advance If when number of requests, illustrating that the number of users of present access destination website is relatively fewer, then it can suitably adjust, reduce currently The quantity of available agent resource is to the second default resource quantity, to meet the access speed for improving user's access target website Meanwhile system loading and operation expense are reduced, improve the scalability of proxy resources.
In embodiments of the present invention, can according to the quantity of the access request of access target website adjust proxy resources in when The quantity of preceding available agent resource.Therefore, the embodiment of the present invention can make proxy resources have enhanced scalability.
Fig. 3 shows another implementation process of Website access method provided in an embodiment of the present invention, according to different requirements, The sequence of step can change in the flow chart, and certain steps can be omitted.For convenience of description, it illustrates only and present invention reality The relevant part of example is applied, details are as follows:
In a preferably embodiment, as shown in figure 3, shown in above-mentioned Fig. 2 on the basis of method and step, the website visiting side Method further includes step:
Step S109 updates optimal proxy resources according to prefixed time interval or predeterminated frequency.
Hold susceptible to various factors, the optimal generation screened in currently available proxy resources in view of proxy resources Managing resource may also can change in the change because of environment, or because of frequent more multiple use.Therefore, in order into The access speed for improving user's access target website of one step, optimal proxy resources of update that can be in due course.The preset time Between be divided into pre-set time interval, for example, the prefixed time interval can be either one hour or one day five minutes Deng.The predeterminated frequency is pre-set frequency, for example, the predeterminated frequency can be that update in five minutes is primary, Huo Zheyi Hour update is three times or update two in one day is inferior.
Step S110 establishes and preserves the correspondence incidence relation of the targeted website and the optimal proxy resources.
After determining the optimal proxy resources for accessing current targeted website, current optimal generation is utilized whithin a period of time Reason resource accesses the access speed of current targeted website or comparatively faster, therefore, establishes current targeted website and works as The correspondence incidence relation of preceding optimal proxy resources, when other users access current targeted website again, directly by before It is determining that there are the optimal proxy resources of corresponding incidence relation as this access target net of the user with current targeted website The optimal proxy resources stood.For example, it is assumed that the first user passes through finally determining optimal proxy resources X access targets website before Y then in embodiments of the present invention establishes the incidence relation of optimal proxy resources X and targeted website Y, when next second user is logical When crossing proxy resources access target website Y, directly using optimal proxy resources X as this access target website of second user Y's Optimal proxy resources are not necessarily to repeat to determine optimal proxy resources in this way, therefore, can further improve user and be provided by acting on behalf of The access speed of source access target website.
In addition, step S109 is only preferably illustratively to illustrate after step S108 in the embodiment of the present invention, at it In its embodiment, any one step that step S109 can be after step s 103 is implemented, and can reach and present invention reality The identical advantageous effect of example is applied, is no longer described in detail herein.
Likewise, step S110 is only preferably illustratively to illustrate after step S109 in the embodiment of the present invention, In other embodiments, any one step that step S110 can be after step s 103 is implemented, and can reach and of the invention The identical advantageous effect of embodiment, is no longer described in detail herein.
In embodiments of the present invention, updating optimal proxy resources can ensure that user uses proxy access targeted website every time When, proxy resources optimal in current slot can be used, therefore, user can be further increased and visited using proxy resources Ask the speed and efficiency of targeted website.In addition, the embodiment of the present invention also sets up and saves targeted website and optimal proxy resources Correspondence incidence relation, user again access target website when, can directly use with targeted website have corresponding incidence relation Optimal proxy resources access target website, therefore, equally can further improve user utilize proxy resources access target The speed of website.
Fig. 4 shows the implementation process of step S102 in Website access method provided in an embodiment of the present invention, according to difference Demand, the sequence of step can change in the flow chart, and certain steps can be omitted.For convenience of description, illustrate only with The relevant part of the embodiment of the present invention, details are as follows:
As shown in figure 4, step S102, the proxy plug-ins filter out currently available proxy resources packet from the proxy resources It includes:
Step S1021, the proxy plug-ins utilize each proxy resources access preset Internet resources in the proxy resources successively.
In order to determine that currently available proxy resources in all proxy resources, the proxy plug-ins need to utilize all generations successively Each proxy resources access preset Internet resources in resource are managed, and then determine which proxy resources is currently available agency's money Source, which is not currently available proxy resources.Wherein, the default Internet resources are pre-set resources, for example, can make Preset textual resources or preset picture resource.
Step S1022, the proxy plug-ins will can preset Internet resources in the proxy resources described in successful access Proxy resources are determined as currently available proxy resources.
When a certain proxy resources can be to preset Internet resources described in successful access, illustrating that current proxy resources are can be with Normal use, therefore, the proxy resources that the proxy plug-ins will preset Internet resources described in successful access determine this certain One proxy resources are currently available proxy resources.In this way, currently available proxy resources are sieved from all proxy resources of acquisition It elects, can reduce and even be eliminated the probability that user's use is currently unavailable proxy resources, it is ensured that agency's money that user uses Source is all currently available proxy resources, can further increase speed of the user by proxy resources access target website, together The reliability and stability that Shi Tigao user passes through proxy resources access target website.
In a preferably embodiment, shown in above-mentioned Fig. 4 on the basis of method and step, step S102 further includes step:
The proxy resources for being unable to preset Internet resources in the proxy resources described in successful access are determined as by the proxy plug-ins It is currently unavailable proxy resources.
In embodiments of the present invention, if being unable to preset Internet resources described in successful access, illustrate the proxy resources It is no longer valid or because certain reason be unable to normal use, then the proxy resources are determined as currently can not by the proxy plug-ins It with proxy resources, is not used during subsequent, reduction even is eliminated user's use and is currently unavailable the general of proxy resources Rate or risk.
In embodiments of the present invention, using each proxy resources access preset Internet resources in proxy resources, can succeed The proxy resources of access are determined as currently available proxy resources, and the proxy resources for being unable to successful access are determined as being currently unavailable generation Manage resource.Therefore, the embodiment of the present invention screens currently available proxy resources from all proxy resources, avoids using Proxy resources that are invalid or can not using, can improve the success rate of user's access target website, further increase user Speed, the reliability and stability of access target website.
Fig. 5 shows the implementation process of step S103 in Website access method provided in an embodiment of the present invention, according to difference Demand, the sequence of step can change in the flow chart, and certain steps can be omitted.For convenience of description, illustrate only with The relevant part of the embodiment of the present invention, details are as follows:
As shown in figure 5, step S103, the proxy plug-ins carry out pair all proxy resources in the currently available proxy resources Than determining optimal proxy resources;
Step S1031, proxy log of each currently available proxy resources of proxy plug-ins extraction in preset time section.
In embodiments of the present invention, the preset time section be pre-set time interval, such as it is described default when Between section can be in one day either in three days or one week in etc..In addition, proxy log, which contains each user, accesses mesh It marks the response time of website, access the information such as duration, access times.Therefore, the proxy plug-ins, which can be extracted, each currently may be used Proxy log with proxy resources in preset time section, and then to above-mentioned each currently available proxy resources corresponding agency's day Will is analyzed.
Step S1032, the proxy plug-ins obtain the history access for accessing the targeted website from the proxy log Number and/or history access duration.
After the proxy plug-ins obtain proxy log and analyze proxy log, the access target from proxy log The history access times or history of website access duration, wherein the history access times are all users described default The summation of the history access times of the targeted website is accessed in time interval using each currently available proxy resources, it is described to go through A length of all users access the target in the preset time section using each currently available proxy resources when history access The history of website accesses the summation of duration.
Step S1033, the proxy plug-ins visit the highest currently available proxy resources of history access times and/or history Ask that the longest currently available proxy resources of duration are determined as optimal proxy resources.
After obtaining above-mentioned user and accessing the history access times of the targeted website using proxy resources, according to above-mentioned Proxy resources corresponding with the history access times are ranked up by the sequence of history access times from high to low, and history accesses The number the high more can illustrate that the number that the current available agent resource is confirmed as optimal proxy resources is also more, current using this Available agent resource access target website is the speed that access can be improved, therefore, in the embodiment of the present invention, by history access times Highest proxy resources are determined as optimal proxy resources.Same reason accesses duration from high to low suitable according to above-mentioned history Proxy resources corresponding with history access duration are ranked up by sequence, and the history access duration the long more can illustrate that this currently may be used It is more long using duration with proxy resources, it is the speed that access can be improved using the current available agent resource access target website, Therefore, in embodiments of the present invention, the history access longest currently available proxy resources of duration are determined as optimal proxy resources.
In embodiments of the present invention, obtained from proxy log the history access times for accessing the targeted website and/or History accesses duration, the highest currently available proxy resources of history access times is determined as optimal proxy resources, or will go through History accesses the longest currently available proxy resources of duration and is determined as optimal proxy resources.Therefore, the embodiment of the present invention can be into one Step improves the speed that user utilizes proxy resources access target website.
In a preferably embodiment, step S103, the proxy plug-ins in the currently available proxy resources to owning Proxy resources are compared, and determine that optimal proxy resources include:
The proxy plug-ins detect each currently available proxy resources in the currently available proxy resources and access the target network The access speed stood, and can by most fast current of the access speed for accessing the targeted website in the currently available proxy resources Use proxy resources as optimal proxy resources.
In order to further improve the speed and efficiency of user's access target website, in embodiments of the present invention, agency inserts Part is detected and compares to the speed of currently available proxy resources access target website, specifically, the response time can be used The speed accessed is characterized, the response time is shorter to illustrate that access speed is faster, and the response time is longer to illustrate that access speed is slower.It utilizes The speed of currently available proxy resources access target website is faster, illustrates that more the speed that user accesses the targeted website can be improved Degree, the speed of proxy resources access target website is slower, illustrates that more the speed that user accesses the targeted website cannot be improved.Cause This, in embodiments of the present invention, by the most fast currently available agency of the access speed for accessing the targeted website in proxy resources Resource is determined as optimal proxy resources.
Alternatively, step S103, the proxy plug-ins carry out pair all proxy resources in the currently available proxy resources Than determining that optimal proxy resources include:
The proxy plug-ins randomly select multiple velocity test websites from preconfigured velocity test website.
In order to further increase the accuracy for determining optimal proxy resources, and then improves user and access mesh using proxy resources The speed of mark website in embodiments of the present invention tests the access speed of proxy resources using velocity test website.Institute It is pre-set multiple velocity test websites to state velocity test website;In addition, also for the accuracy for ensureing result, the generation Reason plug-in unit randomly selects multiple velocity test websites, and speed survey is carried out to proxy resources using the velocity test website randomly selected Examination.
The proxy plug-ins set agent option to the proxy resources in currently available proxy resources successively, and to described Multiple velocity test websites send access request.
After determining the velocity test website for test, in order to each proxy resources in currently available proxy resources Access speed all tested, in embodiments of the present invention, proxy plug-ins need to be set as currently may be used by agent option successively With the proxy resources in proxy resources, and sends to access to the multiple velocity test website using each proxy resources successively and ask It asks, and then velocity test is carried out to each proxy resources in currently available proxy resources.
The proxy plug-ins calculate the average sound that each currently available proxy resources access the multiple velocity test website Between seasonable.
Assuming that the velocity test Number of websites randomly selected is 3, velocity test website A, velocity test website B are used respectively And velocity test website C is indicated, it is assumed that a certain currently available proxy resources access the velocity test website A, velocity test net Stand response time of B and velocity test website C indicates that then this is a certain with response time a, response time b and response time c respectively Currently available proxy resources access the average response of the velocity test website A, velocity test website B and velocity test website C Time is (a+b+c)/3, and then carries out above-mentioned calculating to each currently available proxy resources, final to determine each currently available generation Reason resource accesses the average response time of the multiple velocity test website.
The currently available proxy resources of average response time minimum are determined as optimal proxy resources by the proxy plug-ins.
Being averaged for the multiple velocity test website is accessed based on the currently available proxy resources of each of above-mentioned steps determination Response time is compared above-mentioned average response time or sorts according to the sequence of average response time from small to large, visits It asks that the average response time of velocity test website is smaller, illustrates that currently available proxy resources access the access speed of other websites Average response time is also smaller, then user is also faster using the speed of the current available agent resource access target website.Therefore, In embodiments of the present invention, the currently available proxy resources of average response time minimum are determined as optimal proxy resources, it can be with Improve the speed that user utilizes proxy resources access target website.
In embodiments of the present invention, the access speed of the targeted website will be accessed most in the currently available proxy resources Fast currently available proxy resources are as optimal proxy resources, or by the currently available proxy resources of average response time minimum It is determined as optimal proxy resources.Therefore, the speed that user utilizes proxy resources access target website can further be improved.
In a preferably embodiment, step S103, the proxy plug-ins in the currently available proxy resources to owning Proxy resources are compared, and determine that optimal proxy resources include following one or more:
(1)The history that the proxy plug-ins obtain each proxy resources in the currently available proxy resources uses duration, will go through History is determined as optimal proxy resources using the longest currently available proxy resources of duration.
The history of some currently available proxy resources is longer using duration, illustrates what the current available agent resource was used Chance is bigger, and user is longer using the time of the current available agent resource, and user more approves the access of current agent resource Speed.Therefore, in embodiments of the present invention, history the longest currently available proxy resources of duration are used as optimal agency to provide Source.Wherein, all users utilize the current available agent in institute's having time before the history refers to current time using duration Resource accesses the use duration summation of all websites.
(2)The proxy plug-ins obtain the history access times of each currently available proxy resources in the proxy resources, The most currently available proxy resources of history access times are determined as optimal proxy resources.
The history access times of some currently available proxy resources are more, illustrate that the current available agent resource is confirmed as The number of optimal proxy resources is also most, and user is also more using the number of the current available agent resource, also more illustrates User more approves the access speed of currently available proxy resources, and as optimal proxy resources, raising that can be larger is used Family accesses the speed of website.Therefore, in embodiments of the present invention, the most currently available proxy resources of history access times are made For optimal proxy resources.Wherein, all users' uses should in institute's having time before the history access times refer to current time Currently available proxy resources access the number summation of all websites.
(3)The proxy plug-ins obtain the preferential of each currently available proxy resources in the currently available proxy resources The currently available proxy resources of highest priority are determined as optimal proxy resources by grade.
Priority is a kind of arrangement carried out according to significance level, and priority is come to the priority processing of front, priority Come it is subsequent post-processing, therefore, priority is it may be said that reflect significance level.In embodiments of the present invention, it obtains current The priority of each currently available proxy resources, compares currently available proxy resources according to priority in available agent resource Compared with, or according to priority to the progress descending arrangement of currently available proxy resources, the currently available agency's money of the higher explanation of priority Source is more important, and the access speed using the higher currently available proxy resources access target website of priority is also faster.Therefore, originally Using the currently available proxy resources of highest priority as optimal proxy resources in inventive embodiments, user's access can be improved The speed of targeted website.
In embodiments of the present invention, history is determined as optimal agency using the longest currently available proxy resources of duration to provide Source, either by the most currently available proxy resources of history access times be determined as optimal proxy resources or by priority most High currently available proxy resources are determined as optimal proxy resources, can further improve user and access mesh using proxy resources Mark the speed of website.
Fig. 6 shows that the function module of website visiting device provided in an embodiment of the present invention is only shown for convenience of description With relevant part of the embodiment of the present invention, details are as follows:
With reference to figure 6, the modules included by the website visiting device 10 are used to execute each step in Fig. 1 corresponding embodiments Suddenly, referring specifically to the associated description in Fig. 1 and Fig. 1 corresponding embodiments, details are not described herein again.In the embodiment of the present invention, institute It includes acquisition module 101, screening module 102, contrast module 103 and access modules 104 to state website visiting device 10.
The acquisition module 101, for when listening to the access request of user's access target website, obtaining agency's money Source.
The screening module 102, for filtering out currently available proxy resources from the proxy resources.
The contrast module 103 is determined for being compared to all proxy resources in the currently available proxy resources Optimal proxy resources.
The access modules 104, for accessing the targeted website by the optimal proxy resources.
In embodiments of the present invention, it is obtained when listening to the access request of user's access target website by proxy plug-ins Module 101 obtains proxy resources, and screening module 102 filters out currently available proxy resources from the proxy resources, compares mould Block 103 compares all proxy resources in the currently available proxy resources, determines optimal proxy resources, access modules 104 access the targeted website by the optimal proxy resources.The embodiment of the present invention utilizes proxy plug-ins access target website, The operating process that user accesses website using proxy plug-ins can be simplified.In addition, access modules 104 utilize in the embodiment of the present invention Optimal proxy resources access target website in currently available proxy resources can improve user and use proxy resources access target net The speed stood, while using the proxy resources voluntarily built, can improve user by proxy resources access target website can By property and stability.
Fig. 7 shows that the function module of website visiting device provided in an embodiment of the present invention is only shown for convenience of description With relevant part of the embodiment of the present invention, details are as follows:
In a preferably embodiment, with reference to figure 7, the modules included by the website visiting device 10 are for executing Fig. 2 Each step in corresponding embodiment, it is no longer superfluous herein referring specifically to the associated description in Fig. 2 and Fig. 2 corresponding embodiments It states.In the embodiment of the present invention, as shown in fig. 7, shown in above-mentioned Fig. 6 on the basis of modular structure, the website visiting device 10 Further include comparison module 105, rule acquisition module 106 and configuration module 107.
The comparison module 105, for carrying out the access speed of the optimal proxy resources and direct-connected access speed Compare.
The rule acquisition module 106, for being more than direct-connected access speed when the access speed of the optimal proxy resources When spending, the agent rule of the optimal proxy resources is obtained.
The configuration module 107 is used for the agent rule Configuration Agent option based on the optimal proxy resources.
In embodiments of the present invention, comparison module 105 is by the access speed of optimal proxy resources and direct-connected access speed It is compared, when the access speed of optimal proxy resources is more than direct-connected access speed, configuration module 107 is based on optimal agency The agent rule Configuration Agent option of resource, and then utilize optimal proxy resources access target website.Therefore, the embodiment of the present invention The speed that user utilizes proxy resources access target website can be further increased.
In a preferably embodiment, as shown in fig. 7, on the basis of above-mentioned modular structure, the website visiting device 10 further include adjustment module 108.
The adjustment module 108, for the quantity according to the access request for accessing the targeted website in preset time period Adjust the quantity of currently available proxy resources in the proxy resources.
In a preferably embodiment, the adjustment module 108 is specifically used for executing:
It is preset when the quantity for the access request for accessing the targeted website in the preset time period is more than or equal to first When number of requests, the quantity of currently available proxy resources in the proxy resources is adjusted extremely according to the described first default number of requests First default resource quantity;
When the quantity for the access request for accessing the targeted website in the preset time period is less than the described first default request When quantity, the quantity of currently available proxy resources in the proxy resources is adjusted to second according to the described first default number of requests Default resource quantity;
Wherein, the described second default resource quantity is less than the described first default resource quantity.
In embodiments of the present invention, adjustment module 108 can be adjusted according to the quantity of the access request of access target website The quantity of currently available proxy resources in proxy resources.Therefore, the embodiment of the present invention can make proxy resources have Gao Kekuo Malleability.
Fig. 8 shows that the function module of website visiting device provided in an embodiment of the present invention is only shown for convenience of description With relevant part of the embodiment of the present invention, details are as follows:
In a preferably embodiment, with reference to figure 8, the modules included by the website visiting device 10 are for executing Fig. 3 Each step in corresponding embodiment, it is no longer superfluous herein referring specifically to the associated description in Fig. 3 and Fig. 3 corresponding embodiments It states.In the embodiment of the present invention, as shown in figure 8, shown in above-mentioned Fig. 7 on the basis of modular structure, the website visiting device 10 Further include update module 109 and/or establishes preserving module 110.
The update module 109, for updating optimal proxy resources according to prefixed time interval or predeterminated frequency.
It is described to establish preserving module 110, pair for establishing and preserving the targeted website and the optimal proxy resources Answer incidence relation.
In embodiments of the present invention, update module 109, which updates optimal proxy resources, can ensure user every time using agency When access target website, proxy resources optimal in current slot can be used, therefore, user's profit can be further increased With the speed and efficiency of proxy resources access target website.It also sets up and protects in addition, the embodiment of the present invention establishes preserving module 110 Deposited the correspondence incidence relation of targeted website and optimal proxy resources, user again access target website when, can directly use With targeted website there is the optimal proxy resources access target website of corresponding incidence relation therefore equally can further carry High user utilizes the speed of proxy resources access target website.
Fig. 9 shows the structure of screening module 102 in website visiting device 10 provided in an embodiment of the present invention, for the ease of Illustrate, illustrate only with the relevant part of the embodiment of the present invention, details are as follows:
In a preferably embodiment, with reference to figure 9, each unit or subelement included by the screening module 102 are used for Each step in Fig. 4 corresponding embodiments is executed, referring specifically to the associated description in Fig. 4 and Fig. 4 corresponding embodiments, herein It repeats no more.In the embodiment of the present invention, the screening module 102 includes access unit 1021 and the first determination unit 1022.
The access unit 1021, for being provided successively using each proxy resources access preset network in the proxy resources Source.
First determination unit 1022, in the proxy resources Internet resources will can be preset described in successful access Proxy resources be determined as currently available proxy resources.
In a preferably embodiment, first determination unit 1022 is additionally operable in the proxy resources will to succeed The proxy resources for accessing the default Internet resources are determined as being currently unavailable proxy resources.
In embodiments of the present invention, access unit 1021 is provided using each proxy resources access preset network in proxy resources Source, the first determination unit 1022 will the proxy resources of successful access be determined as currently available proxy resources, first determine it is single The proxy resources for being unable to successful access also are determined as being currently unavailable proxy resources by member 1022.Therefore, the embodiment of the present invention will Currently available proxy resources are screened from all proxy resources, avoid providing using agency that is invalid or can not using Source can improve the success rate of user's access target website, further increase the speed of user's access target website, reliability and Stability.
Figure 10 shows the structure of contrast module 103 in website visiting device provided in an embodiment of the present invention, for the ease of Illustrate, illustrate only with the relevant part of the embodiment of the present invention, details are as follows:
In a preferably embodiment, with reference to figure 10, each unit or subelement included by the contrast module 103 are used for Each step in Fig. 5 corresponding embodiments is executed, referring specifically to the associated description in Fig. 5 and Fig. 5 corresponding embodiments, herein It repeats no more.In the embodiment of the present invention, the contrast module 103 include log extracting unit 1031, acquiring unit 1032 and Second determination unit 1033.
The log extracting unit 1031, for extract each currently available proxy resources preset time section agency Daily record.
The acquiring unit 1032, for obtaining the history access time for accessing the targeted website from the proxy log Number and/or history access duration.
Second determination unit 1033, for by the highest currently available proxy resources of history access times and/or going through History accesses the longest currently available proxy resources of duration and is determined as optimal proxy resources.
In embodiments of the present invention, acquiring unit 1032 obtains the history visit for accessing the targeted website from proxy log Ask that number and/or history access duration, the second determination unit 1033 is by the highest currently available proxy resources of history access times It is determined as optimal proxy resources or the second determination unit 1033 the history access longest currently available proxy resources of duration are true It is set to optimal proxy resources.Therefore, the embodiment of the present invention can further increase user and utilize proxy resources access target website Speed.
In a preferably embodiment, the contrast module 103 is specifically used for executing:
The access speed that each currently available proxy resources in the currently available proxy resources access the targeted website is detected, And the most fast currently available proxy resources of the access speed that the targeted website is accessed in the currently available proxy resources are made For optimal proxy resources.
Alternatively, the contrast module 103 is specifically used for executing:
Multiple velocity test websites are randomly selected from preconfigured velocity test website.
Set agent option to the proxy resources in currently available proxy resources successively, and to the multiple velocity test Website sends access request.
Calculate the average response time that each currently available proxy resources access the multiple velocity test website.
The currently available proxy resources of average response time minimum are determined as optimal proxy resources.
In embodiments of the present invention, contrast module 103 will access the targeted website in the currently available proxy resources The most fast currently available proxy resources of access speed as optimal proxy resources or contrast module 103 by average response when Between minimum currently available proxy resources be determined as optimal proxy resources.Therefore, user can further be improved using agency The speed of resource access target website.
In a preferably embodiment, the contrast module 103 is specifically used for executing the following one or more operated:
(1)The history for obtaining each currently available proxy resources in the proxy resources uses duration, most using duration by history Long currently available proxy resources are determined as optimal proxy resources.
(2)The history access times for obtaining each currently available proxy resources in the proxy resources use history secondary The most currently available proxy resources of number are determined as optimal proxy resources.
(3)The priority for obtaining each currently available proxy resources in the proxy resources, by the current of highest priority Available agent resource is determined as optimal proxy resources.
In embodiments of the present invention, contrast module 103 determines history using the longest currently available proxy resources of duration The most currently available proxy resources of history access times are determined as optimal proxy resources or contrast module 103 optimal The currently available proxy resources of highest priority are determined as optimal proxy resources by proxy resources or contrast module 103, can be with The further speed for improving user and utilizing proxy resources access target website.
Figure 11 is the structure of the electronic equipment 1 of the preferred embodiment provided in an embodiment of the present invention for realizing Website access method Schematic diagram.As shown in figure 11, electronic equipment 1 includes memory 11, processor 12 and input-output equipment 13.
The electronic equipment 1 be it is a kind of can according to the instruction for being previously set or storing, it is automatic carry out numerical computations and/or The equipment of information processing, hardware include but not limited to microprocessor, application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 1 can be the electronic product that any type can carry out human-computer interaction with user, for example, personal meter Calculation machine, tablet computer, smart mobile phone, personal digital assistant(Personal Digital Assistant, PDA), game machine, friendship Mutual formula Web TV(Internet Protocol Television, IPTV), intellectual Wearable etc..The electronics is set Standby 1 can be server, and the server includes but not limited to the service of single network server, multiple network servers composition Device group or the cloud being made of a large amount of hosts or network server for being based on cloud computing (Cloud Computing), wherein cloud computing It is one kind of Distributed Calculation, a super virtual computer being made of the computer collection of a group loose couplings.The electronics Network residing for equipment 1 includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, Virtual Private Network(Virtual Private Network, VPN)Deng.
Memory 11 is used to store the program of Website access method and various data, and in 1 operational process of electronic equipment The access realized high speed, be automatically completed program or data.Memory 11 can be electronic equipment 1 External memory equipment and/ Or internal storage device.Further, memory 11 can be do not have in integrated circuit physical form have store function Circuit, such as RAM(Random-Access Memory, direct access storage device)、FIFO(First In First Out,) Deng alternatively, memory 11 can also be the storage device with physical form, such as memory bar, TF card(Trans-flash Card)Etc..
Processor 12 can be central processing unit(CPU, Central Processing Unit).CPU is one piece of super large rule The integrated circuit of mould is the arithmetic core of electronic equipment 1(Core)And control core(Control Unit).Processor 12 can be held The operating system of row electronic equipment 1 and the types of applications program of installation, program code etc., such as execute website visiting device 10 In modules or unit in operating system and the types of applications program of installation, program code, with realize website visit Ask method.
Input-output equipment 13 is mainly used for realizing the input/output function of electronic equipment 1, for example receives and dispatches the number of input Or character information, or show information input by user or be supplied to the information of user and the various menus of electronic equipment 1.
If the integrated module/unit of the electronic equipment 1 is realized in the form of SFU software functional unit and as independent Product is sold or in use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention is real All or part of flow in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The meter Calculation machine readable medium may include:Can carry the computer program code any entity or device, recording medium, USB flash disk, Mobile hard disk, magnetic disc, CD, computer storage, read-only memory(ROM, Read-Only Memory), random access memory Device(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include that electric carrier wave is believed Number and telecommunication signal.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner.
The module illustrated as separating component may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation includes within the present invention.Should not any attached associated diagram label in claim be considered as the involved right of limitation to want It asks.Furthermore, it is to be understood that one word of " comprising " is not excluded for other units or step, odd number is not excluded for plural number.It is stated in system claims Multiple modules or device can also be realized by software or hardware by a module or device.The first, the second equal words It is used to indicate names, and does not represent any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, it will be understood by those of ordinary skill in the art that, it can be to the present invention's Technical solution is modified or equivalent replacement, without departing from the spirit of the technical scheme of the invention and range.

Claims (10)

1. a kind of Website access method, which is characterized in that the method includes:It is accessed when listening to user by proxy plug-ins When the access request of targeted website, proxy resources are obtained;The proxy plug-ins filter out currently available from the proxy resources Proxy resources;The proxy plug-ins compare all proxy resources in the currently available proxy resources, determine optimal generation Manage resource;The proxy plug-ins access the targeted website by the optimal proxy resources.
2. the method as described in claim 1, which is characterized in that the proxy plug-ins filter out currently from the proxy resources Available agent resource includes:The proxy plug-ins utilize each proxy resources access preset network in the proxy resources successively Resource;The proxy plug-ins determine the proxy resources that can preset Internet resources in the proxy resources described in successful access For currently available proxy resources.
3. the method as described in claim 1, which is characterized in that the method is in the proxy plug-ins to the currently available generation All proxy resources are compared in reason resource, and after determining optimal proxy resources, the proxy plug-ins pass through the optimal generation Reason resource accesses the targeted website:The proxy plug-ins by the access speed of the optimal proxy resources with Direct-connected access speed is compared;It is described when the access speed of the optimal proxy resources is more than direct-connected access speed Proxy plug-ins obtain the agent rule of the optimal proxy resources;Generation of the proxy plug-ins based on the optimal proxy resources The regular Configuration Agent option of reason.
4. the method as described in claim 1, which is characterized in that the proxy plug-ins are to institute in the currently available proxy resources There are proxy resources to be compared, determines that optimal proxy resources include:The proxy plug-ins detect the currently available proxy resources In each currently available proxy resources access the access speed of the targeted website, and will be visited in the currently available proxy resources Ask the most fast currently available proxy resources of the access speed of the targeted website as optimal proxy resources;Or the agency Plug-in unit randomly selects multiple velocity test websites from preconfigured velocity test website;The proxy plug-ins successively will generation Reason option is set as the proxy resources in currently available proxy resources, and sends to access to the multiple velocity test website and ask It asks;When each currently available proxy resources of proxy plug-ins calculating access the average response of the multiple velocity test website Between;The currently available proxy resources of average response time minimum are determined as optimal proxy resources by the proxy plug-ins.
5. the method as described in claim 1, which is characterized in that the proxy plug-ins are to institute in the currently available proxy resources There are proxy resources to be compared, determines that optimal proxy resources include following one or more:Described in the proxy plug-ins obtain The history of each currently available proxy resources uses duration in currently available proxy resources, and history is longest current using duration Available agent resource is determined as optimal proxy resources;Or the proxy plug-ins obtain in the currently available proxy resources often The most currently available proxy resources of history access times are determined as most by the history access times of a currently available proxy resources Excellent proxy resources;Or the proxy plug-ins obtain the priority of each currently available proxy resources in the proxy resources, it will The currently available proxy resources of highest priority are determined as optimal proxy resources.
6. the method as described in claim 1, which is characterized in that the proxy plug-ins are to institute in the currently available proxy resources There are proxy resources to be compared, determines that optimal proxy resources include:The each currently available proxy resources of proxy plug-ins extraction Proxy log in preset time section;The proxy plug-ins are obtained from the proxy log accesses the targeted website History access times and/or history access duration;The proxy plug-ins provide the highest currently available agency of history access times Source and/or history access the longest currently available proxy resources of duration and are determined as optimal proxy resources.
7. the method as described in claim 1, which is characterized in that the method further includes:The proxy plug-ins according to it is default when Between the targeted website is accessed in section the quantity of access request adjust the numbers of currently available proxy resources in the proxy resources Amount.
8. a kind of website visiting device, which is characterized in that the website visiting device includes:Acquisition module, for being inserted as agency When part listens to the access request of user's access target website, proxy resources are obtained;Screening module, for being provided from the agency Currently available proxy resources are filtered out in source;Contrast module, for all proxy resources in the currently available proxy resources It is compared, determines optimal proxy resources;Access modules, for accessing the targeted website by the optimal proxy resources.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor, and the processor is for executing memory The Website access method as described in any one of claim 1 to 7 is realized when the computer program of middle storage.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The Website access method as described in any one of claim 1 to 7 is realized when being executed by processor.
CN201810339286.4A 2018-04-16 2018-04-16 Website access method and device, electronic equipment and storage medium Pending CN108616525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810339286.4A CN108616525A (en) 2018-04-16 2018-04-16 Website access method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810339286.4A CN108616525A (en) 2018-04-16 2018-04-16 Website access method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108616525A true CN108616525A (en) 2018-10-02

Family

ID=63660483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810339286.4A Pending CN108616525A (en) 2018-04-16 2018-04-16 Website access method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108616525A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110034979A (en) * 2019-04-23 2019-07-19 恒安嘉新(北京)科技股份公司 A kind of proxy resources monitoring method, device, electronic equipment and storage medium
CN110572440A (en) * 2019-08-16 2019-12-13 海尔优家智能科技(北京)有限公司 Method and device for data transmission, household appliance and storage medium
CN111741109A (en) * 2020-06-19 2020-10-02 深圳前海微众银行股份有限公司 Access method, device, equipment and storage medium based on proxy
CN112583780A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Method, device, system and equipment for accessing website data by using proxy IP
CN113055498A (en) * 2021-05-26 2021-06-29 天聚地合(苏州)数据股份有限公司 Data source access method, device, storage medium and equipment
CN113923260A (en) * 2021-09-28 2022-01-11 盐城金堤科技有限公司 Method, device, terminal and storage medium for processing proxy environment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020069241A1 (en) * 2000-12-06 2002-06-06 Girija Narlikar Method and apparatus for client-side proxy selection
US6829638B1 (en) * 2000-08-03 2004-12-07 International Business Machines Corporation System and method for managing multiple proxy servers
CN101510874A (en) * 2009-03-20 2009-08-19 腾讯科技(深圳)有限公司 Setup system and method for network connection, network communication tool and method
CN101741886A (en) * 2008-11-05 2010-06-16 北京搜狗科技发展有限公司 Access path generating method, system and device
US20120023377A1 (en) * 2010-07-20 2012-01-26 Robert Garskof Apparatus and Methods for Preventing Cross-Site Request Forgery
CN102833343A (en) * 2012-09-03 2012-12-19 浙江财经学院 Virtual enterprise-cross Web service sharing system
CN103634129A (en) * 2012-08-22 2014-03-12 腾讯科技(深圳)有限公司 Proxy server setting method and device
CN104144183A (en) * 2013-05-08 2014-11-12 株式会社日立制作所 Data center system and management method for data center system
CN104641314A (en) * 2012-03-22 2015-05-20 帝威克有限公司 Computerized internet search system and method
CN106776983A (en) * 2016-12-06 2017-05-31 深圳市小满科技有限公司 Search engine optimization apparatus and method
CN106921699A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 A kind of Network Access Method, device and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6829638B1 (en) * 2000-08-03 2004-12-07 International Business Machines Corporation System and method for managing multiple proxy servers
US20020069241A1 (en) * 2000-12-06 2002-06-06 Girija Narlikar Method and apparatus for client-side proxy selection
CN101741886A (en) * 2008-11-05 2010-06-16 北京搜狗科技发展有限公司 Access path generating method, system and device
CN101510874A (en) * 2009-03-20 2009-08-19 腾讯科技(深圳)有限公司 Setup system and method for network connection, network communication tool and method
US20120023377A1 (en) * 2010-07-20 2012-01-26 Robert Garskof Apparatus and Methods for Preventing Cross-Site Request Forgery
CN104641314A (en) * 2012-03-22 2015-05-20 帝威克有限公司 Computerized internet search system and method
CN103634129A (en) * 2012-08-22 2014-03-12 腾讯科技(深圳)有限公司 Proxy server setting method and device
CN102833343A (en) * 2012-09-03 2012-12-19 浙江财经学院 Virtual enterprise-cross Web service sharing system
CN104144183A (en) * 2013-05-08 2014-11-12 株式会社日立制作所 Data center system and management method for data center system
CN106921699A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 A kind of Network Access Method, device and system
CN106776983A (en) * 2016-12-06 2017-05-31 深圳市小满科技有限公司 Search engine optimization apparatus and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110034979A (en) * 2019-04-23 2019-07-19 恒安嘉新(北京)科技股份公司 A kind of proxy resources monitoring method, device, electronic equipment and storage medium
CN110572440A (en) * 2019-08-16 2019-12-13 海尔优家智能科技(北京)有限公司 Method and device for data transmission, household appliance and storage medium
CN110572440B (en) * 2019-08-16 2022-03-25 海尔优家智能科技(北京)有限公司 Method and device for data transmission, household appliance and storage medium
CN112583780A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Method, device, system and equipment for accessing website data by using proxy IP
CN112583780B (en) * 2019-09-30 2023-04-07 北京国双科技有限公司 Method, device, system and equipment for accessing website data by using proxy IP
CN111741109A (en) * 2020-06-19 2020-10-02 深圳前海微众银行股份有限公司 Access method, device, equipment and storage medium based on proxy
CN113055498A (en) * 2021-05-26 2021-06-29 天聚地合(苏州)数据股份有限公司 Data source access method, device, storage medium and equipment
CN113055498B (en) * 2021-05-26 2021-10-01 天聚地合(苏州)数据股份有限公司 Data source access method, device, storage medium and equipment
CN113923260A (en) * 2021-09-28 2022-01-11 盐城金堤科技有限公司 Method, device, terminal and storage medium for processing proxy environment
CN113923260B (en) * 2021-09-28 2024-01-09 盐城天眼察微科技有限公司 Method, device, terminal and storage medium for processing agent environment

Similar Documents

Publication Publication Date Title
CN108616525A (en) Website access method and device, electronic equipment and storage medium
JP6878450B2 (en) Methods and devices to prevent advertising fraud and storage media
CN103329113B (en) Configuration is accelerated and custom object and relevant method for proxy server and the Dynamic Website of hierarchical cache
CN104301436B (en) Content to be displayed push, subscription, update method and its corresponding device
CN106953940B (en) Dns server and configuring load application method, network system, domain name analytic method and system
CN111163130B (en) Network service system and data transmission method thereof
CN103368986A (en) Information recommendation method and information recommendation device
CN109299144A (en) A kind of data processing method, device, system and application server
CN103607424B (en) Server connection method and server system
CN109359263B (en) User behavior feature extraction method and system
CN109597643A (en) Using gray scale dissemination method, device, electronic equipment and storage medium
CN114095567B (en) Data access request processing method and device, computer equipment and medium
CN110602056A (en) Service parameter transmission method and device
CN104468399A (en) Data transmission method and device and server
CN111612085B (en) Method and device for detecting abnormal points in peer-to-peer group
CN108702334B (en) Method and system for distributed testing of network configuration for zero tariffs
CN106331172A (en) Method and device for detecting resources for content distribution network
CN112910708B (en) Distributed service calling method and device
CN110034979A (en) A kind of proxy resources monitoring method, device, electronic equipment and storage medium
CN109981779A (en) Service providing method, server and computer storage medium
EP2321931A2 (en) Shared hosting using host name affinity
JP6988010B2 (en) Dynamic IP address classification system and method
CN104579793B (en) The dispatching method and system of Internet resources
CN114637927A (en) Content recommendation method and device, electronic equipment and storage medium
CN111950821B (en) Test method, device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181002