CN103973682A - Method and device for having access to webpage - Google Patents

Method and device for having access to webpage Download PDF

Info

Publication number
CN103973682A
CN103973682A CN201410183473.XA CN201410183473A CN103973682A CN 103973682 A CN103973682 A CN 103973682A CN 201410183473 A CN201410183473 A CN 201410183473A CN 103973682 A CN103973682 A CN 103973682A
Authority
CN
China
Prior art keywords
proxy server
browser
access
visited
agent
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
CN201410183473.XA
Other languages
Chinese (zh)
Other versions
CN103973682B (en
Inventor
何奋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410183473.XA priority Critical patent/CN103973682B/en
Publication of CN103973682A publication Critical patent/CN103973682A/en
Application granted granted Critical
Publication of CN103973682B publication Critical patent/CN103973682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and device for having access to a webpage. The method includes the steps that a webpage access request containing information of the webpage to be accessed is sent at a browser side; a first identification of the browser side is inquired, so that whether first proxy server configuration information set in an operation system where a browser is located is used is judged; if the answer is positive, the webpage corresponding to the information of the webpage to be accessed is accessed through the first proxy server configuration information set in the operation system where the browser is located; if the answer is negative, second proxy server configuration information stored independently at the browser side is inquired; the webpage corresponding to the information of the webpage to be accessed is accessed through the second proxy server configuration information. According to the method and device, connection efficiency of the webpage which a user wants to have access to can be improved.

Description

Carry out method and the device of web page access
Technical field
The present invention relates to the Internet agency service technology, be specifically related to a kind of method and device that carries out web page access.
Background technology
User, when carry out webpage (website) access by client, often can run into network congestion or network failure, and access to netwoks speed more maybe can not be accessed; Or, in the time of the external webpage of access (web page server) or restricted webpage, there is the situation that web page interlinkage is not gone up.Under said circumstances, can solve this technical problem to carry out proxy access by proxy server (Proxy Server) is set in client browser, by the proxy server arranging, can access that some can not directly be accessed, access rights are limited or the webpage of network congestion.Wherein, proxy server is that the server of acting on behalf of signaling transfer point is provided in the Internet, and between client browser and webpage (Web) server, its function is exactly that proxy user is obtained relevant web data from webpage.
Utilizing before proxy server conducts interviews to webpage, need in client browser, arrange proxy server.Under Windows operating system platform, the IE browser that Microsoft is client provides the function of the web page access based on proxy server, thereby can allow user that the proxy server of IE browser is set easily.
But in order to promote the business experience that user is different, based on Windows operating system platform, each operator also provides multiple client browser for user, and the proxy server setting of each client browser is bound to the proxy server setting of IE browser.Thereby the proxy server of IE browser arranges and can have a direct impact the access to netwoks of other client browsers, makes the web page access very flexible based on proxy server, the connection efficiency of user's accessed web page is lower.
Summary of the invention
In view of the above problems, the present invention has been proposed to a kind of method of carrying out web page access and device that overcomes the problems referred to above or address the above problem is at least in part provided.
According to one aspect of the present invention, the method for carrying out web page access is provided, the method comprises:
Initiate the web access requests that comprises info web to be visited in browser side;
The first mark of Query Browser side, to judge whether to use the first agent's server configuration information arranging in the operating system of browser place;
If so, use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place;
If not, second agent's server configuration information that Query Browser side is independently preserved;
Use webpage corresponding to second agent's server configuration information described info web to be visited of access.
A kind of device that carries out web page access is provided according to another aspect of the present invention, and this device comprises: browser information acquisition module, the first enquiry module and network access module, wherein,
Browser information acquisition module, for the web access requests of initiating to comprise info web to be visited in browser side;
The first enquiry module, for the first mark of Query Browser side, to judge whether to use the first agent's server configuration information arranging in the operating system of browser place; If so, informing network access modules is used webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place; If not, second agent's server configuration information that Query Browser side is independently preserved; Informing network access modules is used webpage corresponding to second agent's server configuration information described info web to be visited of access.
According to method and the device that carries out web page access of the present invention, the proxy server information that can arrange respectively by the each client browser of independent preservation, simultaneously in each client browser, preserve the mark of the proxy server information that whether uses the setting of IE browser, and in the time that client is upgraded, the proxy server information that client using the proxy server information of former setting as upgrading arranges, solve thus in the time that the client browser that uses upgrading carries out limited web page access, the technical problem that there will not be access to be obstructed, obtain and both can ensure that user arranged the proxy server for each client browser more neatly, can not affect the proxy server setting of other client browsers simultaneously, can effectively promote again the beneficial effect of the connection efficiency of user's accessed web page.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Brief description of the drawings
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skill in the art.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the embodiment of the present invention carries out the method flow of web page access;
Fig. 2 shows embodiment of the present invention proxy server Entry Interface schematic diagram;
Fig. 3 shows embodiment of the present invention second agent server configuration information configuration interface schematic diagram;
Fig. 4 shows the embodiment of the present invention carries out the method idiographic flow of web page access; And,
Fig. 5 shows the embodiment of the present invention carries out the apparatus structure of web page access.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, but should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
Existing method of carrying out web page access, based on the multiple client browser of Windows operating system platform, proxy server setting is bound to the proxy server setting of IE browser.Thereby, in the case of the proxy server information setting of IE browser changes, while carrying out the access to netwoks of limited webpage by proxy server, the situation that there will be access to be obstructed, make the web page access very flexible based on proxy server, the connection efficiency of user's accessed web page is lower.
At present, domestic colleges and universities due to the education networks that use more, not having authority to carry out network pays a visit abroad, without the user of access rights when these webpages of access, can be by the proxy server of the opening that provides on the Internet as access transfer server, because the access rights of these proxy servers are unrestricted, thereby, if proxy server, within user's access profile, can be realized limited web page access by proxy server.Specifically, client browser is in the time that needs obtain web data, according to the proxy server information setting in advance in IE browser, send page request (Request) to corresponding proxy server, proxy server receives after page request, is transmitted to corresponding webpage, and webpage obtains corresponding web data according to the page request receiving, and the web data obtaining is returned to proxy server, proxy server is transmitted to client browser by the web data of reception again.Further, by proxy server, can also realize web data and filter, by filtering rule is set in proxy server, the web data that meets filtering rule can be filtered, need not return to client browser, thereby strengthen the fail safe of user's access.And, by proxy server, can avoid client browser IP address to expose, thereby user's web page access is carried out to security protection.
That is to say, the major function that existing proxy server provides has:
1) break through client browser IP restrict access: by proxy server, user can access limited webpage.
2) improve access speed: proxy server is all provided with larger hard disk buffering area conventionally, in the time having extraneous web data to pass through, also the web data passing through is saved in buffering area simultaneously, in the time that other users visit again identical web data, can directly return to user by taking out web data in buffering area, thereby to improve access speed.
3) hide real IP: user can hide by the method for proxy server the IP of oneself, thereby avoids under fire.
The existing flow process in client browser, proxy server being arranged can comprise: a, open the Tools menu of IE browser, and select " internet option "; B, in internet option dialog box, selects " link " option; C, in " link " option dialog box, selects " local area network (LAN) setting "; D, in " local area network (LAN) setting " option dialog box, chooses " for LAN uses proxy server "; E, will be web page access outside local IP access, and IP address and the port number information of the proxy server needing is set.Like this, in subsequent web pages access, when user passes through the target web outside IE browser access this locality, will first pass through proxy server, then remove access destination webpage by proxy server, obtain after web data that target web is corresponding, then return to client browser.Again for example, another flow process of the proxy server of the existing IE of setting browser can comprise: a1, open the Tools menu of IE browser, and select " internet option "; B1, in internet option dialog box, selects " link " option; C1, in " link " option dialog box, selects " local area network (LAN) setting "; D1, in " local area network (LAN) setting " option dialog box, chooses " use auto-configuration script "; E1, in the address option of " use auto-configuration script " option dialog box, imports PAC script file, thereby by specifying PAC script file, can control subtly which webpage and need to use proxy server, and which webpage is without using proxy server.Further, different agreements can also be set and use different proxy server IP address and port.For example, for http protocol, the proxy server IP address of setup and use is 10.16.13.18, and port is 8080; For FTP, the proxy server IP address of setup and use is 10.16.13.01, and port is 21; Other can carry out relative set as security protocol, socket protocol.
In prior art, because the proxy server setting of each client browser is bound to the proxy server setting of IE browser.Thereby, the proxy server of IE browser arranges and can have a direct impact the access to netwoks of other client browsers, for example, be provided with at IE browser under the situation of proxy server, if upgrading IE browser or the proxy server information that arranges in IE browser is deleted, will cause other client browser that is bound to IE browser agent Servers installed cannot normally carry out access to netwoks.Taking upgrading IE browser as example, because IE browser is in escalation process, for the consideration of network security, the proxy server information of setting can be deleted automatically, and can not notify user, thereby, user is in the time using new IE browser of upgrading or other client browser to carry out web page access, in the time of the limited webpage of access, the situation that there will be access to be obstructed, but because the network relevant knowledge of most users is relatively limited, seldom can associate is because the IE browser upgrading proxy server information that change arranges automatically causes, make the web page access very flexible based on proxy server, the connection efficiency of user's accessed web page is lower.
In the embodiment of the present invention, be bound to the situation of IE browser for the proxy server setting of each client browser, consider the function of client browser to expand, the web page access function of proxy server is set in each client browser, make it to arrange separate with the proxy server of IE browser, thereby only can arrange separately the effective proxy server of single client browser, and can allow user select whether to use the proxy server setting of IE browser.Like this, can make user that the proxy server for each client browser can be set more neatly, can not affect the proxy server setting of other client browsers simultaneously, making the upgrading of IE browser or proxy server that change is set can not affect the web page access of other client browser, thereby effectively promotes the connection efficiency of user's accessed web page.
Fig. 1 shows the embodiment of the present invention carries out the method flow of web page access.Referring to Fig. 1, this flow process comprises:
Step 101, initiates the web access requests that comprises info web to be visited in browser side;
In this step, user initiates web access requests by browser, and browser side joint is received the web access requests that comprises info web to be visited of user's input, obtains active client browser information.
In this step, user is in the time that needs carry out web page access, start corresponding client browser, for example, IE browser, search dog browser or red fox browser, and input info web to be visited in the web page access window of client browser, for example, URL(uniform resource locator) (URL) information or the IP address information of webpage to be visited, trigger generating web page access request.After client web access requests, obtain the client browser information of the current startup of user.
In the embodiment of the present invention, client browser information comprises: IE browser information, search dog browser information and red fox browser information etc.
As optional embodiment, can obtain active client browser information by following program code segments:
string agent=request.getheader("user-agent");
stringtokenizer st=new stringtokenizer(agent,";");
St.nexttoken (); // obtain user's client browser name
As another optional embodiment, obtain active client browser information and can also realize by following program code segments:
System.Web.HttpBrowserCapabilities MyBrowser=this.Request.Browser; String MyInformation=" active client browser information: n ";
As an optional embodiment again, obtain active client browser information and can also realize by following Javascript program code segments:
<html>
<head>
<title>Javascript client browser detects </title>
<script type=" text/javascript " >; // obtain client browser information.
Step 102, the first mark of Query Browser side, to judge whether to use the first agent's server configuration information arranging in the operating system of browser place, if so, execution step 103, if not, execution step 104;
In this step, the first mark can also be further used for mark and not use proxy server configuration information to conduct interviews.
As optional embodiment, the first mark comprises: the proxy server information mark that whether uses the proxy server information mark of IE browser setting and whether use client browser to arrange, in the described proxy server information mark that whether uses client browser setting, include one or more proxy server informations of setting.
As optional embodiment, before the first mark of described Query Browser side, the method can further include:
The second mark of Query Browser side, to judge whether to use proxy server;
If so, carry out the flow process of the first mark of described Query Browser side;
If not, directly access webpage corresponding to described info web to be visited.
In the embodiment of the present invention, the second mark is used proxy server to comprise: use the proxy server data of IE setting or use browser to carry the proxy server data of setting.
In the embodiment of the present invention, carry out after system update for fail-safe software, the particularly fail-safe software of enterprise version, the proxy server data of operating system can be arranged to unlatching, thereby cause browser must use the proxy server data configuration information of operating system to carry out web page access, and the operating system of user's side computer is not carried out the setting of proxy server data, may cause, in the time of the webpage that directly access info web to be visited is corresponding, causing could not get on to the Net.In the embodiment of the present invention, this browser can be set and can carry out various proxy server data and arrange the automatic trial of situation, thereby ensure that browser can connect to network.For example: do not use agency to attempt connecting; Use the agency that arranges of IE to attempt connecting; Use the agency that arranges of browser oneself to attempt connecting.Thereby preferably, after the webpage that directly the described info web to be visited of access is corresponding, the method can further include:
Could not get on to the Net if directly access webpage corresponding to described info web to be visited, use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place;
If use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place could not get on to the Net, use second agent's server configuration information to attempt connecting webpage corresponding to described info web to be visited.
As another optional embodiment, after webpage corresponding to the described info web to be visited of described direct access, described method further comprises:
Could not get on to the Net if directly access webpage corresponding to described info web to be visited, use the first agent's server configuration information arranging in browser place operating system to send webpage corresponding to info web to be visited described in http request access;
In the time that browser receives that the time of the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
Step 103, is used webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place;
In this step, as previously mentioned, for using first agent's server configuration information to carry out the scene of web page access, may also can there is the situation that can not access.Thereby preferably, the first agent's server configuration information arranging in the operating system of described use browser place is accessed after the webpage that described info web to be visited is corresponding, the method can further include:
If use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place could not get on to the Net, use webpage corresponding to second agent's server configuration information described info web to be visited of access;
If use webpage corresponding to second agent's server configuration information described info web to be visited of access could not get on to the Net, do not use agency to attempt connecting.
As another optional embodiment, the first agent's server configuration information arranging in the operating system of described use browser place is accessed after the webpage that described info web to be visited is corresponding, and the method further comprises:
Webpage corresponding to info web to be visited described in the first agent's server configuration information transmission http request access arranging in the operating system of use browser place;
In the time that browser receives that the time of the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
Preferably, the method further comprises:
If use webpage corresponding to the second agent server configuration information described info web to be visited of access to occur that the time of the corresponding response data of http request exceedes a threshold value, the http request described in user of pointing out makes mistakes under proxy server uses.
Step 104, second agent's server configuration information that Query Browser side is independently preserved, uses webpage corresponding to second agent's server configuration information described info web to be visited of access.
In this step, as optional embodiment, independent second agent's server configuration information of preserving is a preset proxy server setting.Further, described preset proxy server setting is upgraded in time by a server corresponding to browser.
As optional embodiment, the corresponding proxy server that described second agent's server is browser or its associated proxy server.
In the embodiment of the present invention, proxy server entrance can be arranged in the toolbar of browser side.
Fig. 2 shows embodiment of the present invention proxy server Entry Interface schematic diagram.Referring to Fig. 2, in browser side toolbar, proxy server is set, in the next stage display interface of proxy server, include: proxy server setting (sub-interface), use IE agency arrange (sub-interface), do not use proxy server (sub-interface) and conventional proxy server address (for example, 10.16.13.18:8080).Acquiescently, can arrange and not use proxy server.Certainly, in toolbar, can also comprise other function, for example, history, downloader, advertisement filter, removing online vestige, automatically refresh, developer's instrument, be set to default browser, be switched to E6 multiwindow pattern, internet option and option etc.
Fig. 3 shows embodiment of the present invention second agent server configuration information configuration interface schematic diagram.Referring to Fig. 3, second agent's server configuration information arranges in interface and arranges at proxy server, arranges in interface at described proxy server, comprising: to act on behalf of the proxy server list information of menu demonstration and not use the address information of proxy server.Specifically, at browser front end inlet porting, directly provide proxy server that interface is set, arrange in interface at proxy server, comprising: proxy server list (acting on behalf of menu) is set and the address that does not use proxy server is set.Wherein, in proxy server list, can for example arrange or add: 127.0.0.1:80@HTTP# title, or 127.0.0.1:1080@sockets#SSH agency, or the proxy server information such as 10.16.13.18:8080.Like this, adding after proxy server, can in menu, select proxy server acting on behalf of.Do not use in the address option frame of proxy server in setting, the IP address which webpage is corresponding is set and does not use proxy server, for example, sohu.com etc.In practical application, in order to improve user's business experience, can also arrange in interface at proxy server, information is set, and for example, information can be: please enter a new line and separate in multiple addresses, or input " local " represents not use proxy server etc. for local address.Like this, by the multiple situation that interface is set arranges proxy server, the entrance that proxy server is set is simple with respect to existing, arranges conveniently.
In practical application, as another optional embodiment, first agent's server configuration information and second agent's server configuration information also can be arranged on proxy server storehouse is set, and for each client browser, structure client browser and proxy server arrange the mapping table in storehouse.Like this, each client browser that can set in advance by inquiry and proxy server arrange the mapping table in storehouse, and the proxy server that obtains the mapping of active client browser information arranges storehouse; Choose the proxy server obtaining the proxy server in storehouse is set, and by webpage corresponding to the proxy server described info web to be visited of access of choosing.
In the embodiment of the present invention, from the proxy server of all client browsers binding IE browsers in existing customer end arrange storehouse different be, each client browser correspondence one in client is acted on behalf of Servers installed storehouse, client browser and proxy server arrange storehouse and form mapping table, and the proxy server that multiple client browsers are shone upon respectively arranges storehouse and is placed in mapping table storehouse.
Proxy server arranges storehouse and comprises: the proxy server information mark that whether uses the proxy server information mark of IE browser setting and whether use client browser to arrange.Whether whether wherein, two marks are interrelated, for example, if use the proxy server information of IE browser setting to be designated use, use the proxy server information of client browser setting to be designated and do not use; Whether whether if use the proxy server information of IE browser setting to be designated do not use, use the proxy server information mark of client browser setting can be for not using, can be also use.Specifically, proxy server arranges storehouse and comprises three mark options: the proxy server that do not use proxy server that mark is set, to use the proxy server of IE browser that mark and use local client browser are set arranges mark.
Whether use the proxy server information that client browser arranges to identify in (using the proxy server of local client browser that mark is set), also include one or more proxy server informations of setting, wherein, as optional embodiment, can proxy server information be set by the mode that imports PAC script file.
In the embodiment of the present invention, proxy server information comprises: IP address and the port of proxy server.As optional embodiment, the corresponding proxy server information arranging of each client browser can be identical, also can be different, and be stored in respectively in the registration table setting in advance, for example, proxy server for IE browser mapping arranges storehouse, proxy server can be arranged in the registration table that the proxy server information arranging in storehouse is written to operating system and preserve.Wherein, the positional information of storage registration table can arrange as follows:
HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\IE
Again for example, for the proxy server of red fox browser mapping, storehouse is set, the positional information of the registration table of the proxy server information that storage arranges can be as follows:
HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Huohu
Further, in the embodiment of the present invention, proxy server IP address and port that can also be different for different agreement setup and uses.For example, for http protocol, first agent's server ip address of setup and use is 10.16.13.18, and second agent's server ip address is 10.16.13.56 ..., port is all 8080; For FTP, it is 10.16.13.01 that one of setup and use is acted on behalf of server ip address, and port is 21; Other proxy server as security protocol, socket protocol use can carry out relative set, omits detailed description at this.
In the embodiment of the present invention, the mapping table in storehouse is set by automatically searching each client browser and proxy server, obtains the proxy server that active client browser information is corresponding storehouse is set.For example, the mapping table that each client browser and proxy server arrange storehouse comprises: the 3rd mapping table in second mapping table in the first mapping table, red fox browser and second agent's Servers installed storehouse in IE browser and first agent's Servers installed storehouse and 360 browsers and third generation reason Servers installed storehouse etc., if active client browser information is 360 browsers, it is the third generation reason Servers installed storehouse in the 3rd mapping table that the proxy server that active client browser information is corresponding arranges storehouse.
Wherein,
Use webpage corresponding to second agent's server configuration information described info web to be visited of access to comprise:
A1, from described second agent's server configuration information, reads the mark that is labeled as use;
In this step, arrange storehouse from the proxy server obtaining, read the mark that is labeled as use: if whether use the proxy server information of IE browser setting to be designated use, read the proxy server information that IE browser arranges; If whether use the proxy server information of client browser setting to be designated use, read the proxy server information that client browser arranges.If whether use the proxy server information of IE browser setting to be designated do not use, and whether use the proxy server information of client browser setting to be designated not use, be expressed as local IP access, can directly carry out web page access.
A2, from being labeled as the mark of use, obtains IP address and the port of the proxy server of setting;
In this step, as previously mentioned, if read the proxy server information that IE browser arranges, the proxy server information arranging from IE browser, obtain IP address and the port of the proxy server of setting; If read the proxy server information that client browser arranges, the proxy server information arranging from client browser, obtain IP address and the port of the proxy server of setting.
In the embodiment of the present invention, can from the registry key of registration table relative set and HIVE file corresponding to registry key, obtain IP address and the port of the proxy server of setting.Wherein, HIVE is a Tool for Data Warehouse based on Hadoop, structurized data file can be mapped as to a database table, and registry key can be made up of multiple HIVE files.
As optional embodiment, the IP address of the proxy server of setting and port can be multiple, and proxy server arranges in storehouse, and the proxy server number setting in advance is multiple.Like this, the IP address and the port that obtain the proxy server of setting comprise:
A11, obtains the performance parameter of each proxy server;
In this step, performance parameter comprises: proxy server from default webpage obtain web data response time or, the web data amount of obtaining from default webpage in the unit interval.Certainly, in practical application, can be also other performance parameter, for example, packet loss etc.
A12, obtains the proxy server that performance parameter is greater than the performance parameter threshold value setting in advance, and therefrom chooses IP address and the port of proxy server.
In this step, if the performance parameter of each proxy server is not all greater than the performance parameter threshold value setting in advance, point out user to arrange or add new proxy server, and after user confirms to arrange or adds, show that to user proxy server arranges window, so that user arranges or adds new proxy server, and user is arranged or the new proxy server stores of adding to registry file, the newer proxy server arranging or add is returned to execution step A11.
In the embodiment of the present invention, as optional embodiment, IP address and the port of therefrom choosing proxy server in steps A 12 comprise:
From the proxy server obtaining, choose at random IP address and the port of a proxy server; Or
From the proxy server obtaining, choose IP address and the port of the proxy server of performance parameter optimum.
In this step, performance parameter optimum refer to proxy server from default webpage obtain response time of web data the shortest or, the web data amount maximum of obtaining from default webpage in the unit interval.
In practical application, obtain the speed of web data in order further to accelerate user, can also adopt distributed web data acquisition methods.Thereby as another optional embodiment, IP address and the port of therefrom choosing proxy server in steps A 12 comprise:
From the proxy server obtaining, choose at random IP address and the port of more than two proxy server; Or
According to performance parameter quality, the proxy server obtaining is sorted, choose IP address and the port of the proxy server of sequence top N, wherein, N is greater than 1 natural number.
In this step, client browser can, according to the web data amount of the corresponding webpage of web access requests, in conjunction with the performance parameter of proxy server, be determined the quantity of required proxy server, and distribute corresponding web data visit capacity so that proxy server obtains.
In practical application, as optional embodiment, client browser can get this web data amount from the html source code of webpage to be visited.
As another optional embodiment, before the described IP address and port of therefrom choosing proxy server, the method further comprises:
A21, determines that the performance parameter of the proxy server of current use is less than described performance parameter threshold value, shows the information that whether needs to carry out proxy server replacement to user;
In this step, as another optional embodiment, also can be that the performance parameter of determining the proxy server of current use is greater than after described performance parameter threshold value, as long as the performance parameter of proxy server is not optimum before deserving, show the information that whether needs to carry out proxy server replacement to user.
A22, receive from user accept after instruction that proxy server resets, therefrom choose the IP address of proxy server and the flow process of port described in execution.
A3, by IP address and the port of the described proxy server obtaining, sends described web access requests to proxy server, so that proxy server carries out web page access according to the info web to be visited comprising in the described web access requests receiving.
In this step, active client browser obtains after the proxy server information (IP address and the port of proxy server) of setting from registration table, the proxy server information that obtains and the web access requests of info web to be visited will be comprised, the data structure that can identify according to mixed-media network modules mixed-media encapsulates, then, call the web page access interface of mixed-media network modules mixed-media based on proxy server, the web access requests of encapsulation is transferred to mixed-media network modules mixed-media to be used, the web access requests of the encapsulation of reception is sent to the proxy server that proxy server information is corresponding by mixed-media network modules mixed-media.In subsequent applications, specifically utilize the proxy server information of encapsulation to realize corresponding function about mixed-media network modules mixed-media, belong to known technology, omit detailed description at this.
As optional embodiment, in steps A 3, proxy server carries out web page access according to the info web to be visited comprising in the described web access requests receiving and comprises:
Proxy server receives web access requests, and whether inquiry exists the web data that info web to be visited is corresponding, if had, directly reads from proxy server the web data that info web to be visited is corresponding; Otherwise proxy server is according to the info web to be visited comprising in web access requests, the webpage corresponding from info web to be visited obtains web data, and returns to client.
In this step, in the buffer memory of proxy server, a considerable amount of web datas can be backed up in advance, for example, in the time that proxy server carries out proxy access, the web data that agency service is obtained is stored according to the storage rule setting in advance, if the corresponding web data of web access requests receiving is stored in the buffer memory of proxy server, can directly reads, and remove to obtain corresponding web data without being connected to webpage corresponding to far-end info web to be visited.Like this, can effectively accelerate user's webpage access speed.
In the embodiment of the present invention, as previously mentioned, if chosen multiple proxy servers, corresponding to more than two proxy server of choosing, in above-mentioned steps, proxy server is according to the info web to be visited comprising in web access requests, and the webpage corresponding from info web to be visited obtains web data, and returns and comprise to client:
A31, web data corresponding info web to be visited is distributed to described more than two proxy server by client browser;
In this step, as another optional embodiment, client browser also can, according to the web data amount of the corresponding webpage of web access requests, in conjunction with pre-configured web data download policy, be determined the quantity of required proxy server.Wherein, web data download policy can be indicated the web data amount of an IP address and the required download of proxy server corresponding to port.Certainly, in practical application, can also be according to web data amount, the performance parameter of proxy server and the pre-configured web data download policy of the corresponding webpage of web access requests, for each proxy server distributes the web data amount of downloading.
A32, described more than two proxy server obtains respectively from webpage corresponding to info web to be visited the web data of distributing to self, and is issued to client browser;
A33, client browser is integrated the described web data that more than two proxy server returns respectively, obtains webpage and shows.
In the embodiment of the present invention,, in the time upgrading, based on the factor of security consideration, the proxy server information in registration table is removed for fear of client browser, caused subsequent web pages to access inaccessible situation.As another optional embodiment, the method further comprises:
B1, monitors client browser upgrading, new destination registration table;
B2, is stored to the proxy server information in the former registration table of client browser in described target registered table;
In this step, IP address and the port of the proxy server arranging in the registry key of registration table and HIVE file corresponding to registry key are stored in target registered table.
B3, completes after upgrading monitoring client browser, the registration table of notice operating system using described target registered table as the described client browser of upgrading.
In this step, also can complete after upgrading monitoring client browser, read the proxy server information in described target registered table, be stored in described former registration table.Like this, in the embodiment of the present invention, by being the client browser intended target registration table of new upgrading, target registered table is identical with former registration table, or, after upgrading completes, the proxy server information in target registered table is imported to former registration table, can make the proxy server information setting of the client browser after upgrading not change.
Fig. 4 shows the embodiment of the present invention carries out the method idiographic flow of web page access.Referring to Fig. 4, this flow process comprises:
Step 201, in advance multiple proxy servers of corresponding configuration candidate in each client browser;
In this step, configuration candidate's proxy server comprises: the information such as IP address and port of Configuration Agent server.
Step 202, initiates web access requests to client browser;
Step 203, obtains active client browser information;
Step 204, the proxy server of inquiring about each client browser information mapping arranges storehouse, and the proxy server that obtains the mapping of active client browser information arranges storehouse;
Step 205, client browser link proxy server arranges the proxy server of current use in storehouse;
In this step, client browser, according to the relevant information such as IP address and port of the proxy server of current use, sends web access requests to the proxy server of current use, links the proxy server of current use.
In the embodiment of the present invention, web access requests can comprise the information such as the URL(uniform resource locator) of corresponding web page, thereby makes proxy server can obtain according to the URL of webpage the web data of corresponding web page.
Step 206, if linked successfully, execution step 207, if linked unsuccessfully, execution step 208;
Step 207, proxy server, according to the web access requests receiving, obtains corresponding web data and returns to client browser to show;
Step 208, client browser prompting user links failure and points out user whether to need to carry out the replacement of proxy server;
Step 209, receives from user's proxy server reset indication, from multiple proxy servers of candidate, chooses proxy server, and the proxy server of choosing is set to the proxy server of current use, returns to execution step 205.
In this step, the proxy server that the proxy server of choosing is set to current use is to refer to that client browser arrives the information configuration such as IP address and port of the described proxy server of choosing local.In practical application, client browser can read to the information such as IP address and port of proxy server in buffer memory (Cache) in advance, in the time that needs send web access requests to proxy server, directly from buffer memory, read the information such as IP address and port of proxy server, the information such as IP address and port based on this proxy server reading again, sends web access requests (hyperlink request) to proxy server.
In the embodiment of the present invention, if user does not need to carry out the replacement of proxy server, finish web page access flow process.
From above-mentioned, the method for carrying out web page access of the embodiment of the present invention, by proxy data source (i.e. the not proxy server setting based on IE browser) this link in amendment proxy server workflow.That is to say, by the proxy server information setting of the each client browser of independent preservation.Preserve the mark that whether uses the proxy server of IE browser to arrange simultaneously, whether use the proxy server setting of IE browser thereby make each client browser can realize selection, and can arrange separately only to the effective proxy server setting of single client browser.Like this, in the time that client browser need to carry out web page access, by the proxy server setting of inquiry active client browser, and the proxy server setting that whether judges whether to use IE browser by the mark of the proxy server setting of IE browser in arranging by proxy server, if, arrange and corresponding registration table, obtain related proxy Servers installed from the proxy server of IE browser, and by the proxy server accessed web page arranging, otherwise, arrange and corresponding registration table, obtain related proxy Servers installed from the proxy server of the client browser of this current use, and by the proxy server accessed web page arranging.Make user that the proxy server for each client browser can be set more neatly, the proxy server that can not affect other client browsers simultaneously arranges data, making the upgrading of each client browser or proxy server that change is set can not affect the web page access of other client browser, thereby effectively promotes the connection efficiency of user's accessed web page.
Fig. 5 shows the embodiment of the present invention carries out the apparatus structure of web page access.Referring to Fig. 5, this device comprises: browser information acquisition module, the first enquiry module and network access module, wherein,
Browser information acquisition module, for the web access requests of initiating to comprise info web to be visited in browser side;
The first enquiry module, for the first mark of Query Browser side, to judge whether to use the first agent's server configuration information arranging in the operating system of browser place; If so, informing network access modules is used webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place; If not, second agent's server configuration information that Query Browser side is independently preserved; Informing network access modules is used webpage corresponding to second agent's server configuration information described info web to be visited of access.
In the embodiment of the present invention, independent second agent's server configuration information of preserving is a preset proxy server setting.Preferably, described preset proxy server setting is upgraded in time by a server corresponding to browser.
As optional embodiment, the corresponding proxy server that described second agent's server is browser or its associated proxy server.
In the embodiment of the present invention, as optional embodiment, this device may further include:
The second enquiry module (not shown), for the second mark of Query Browser side, to judge whether to use proxy server; If so, notify the first enquiry module; If not, directly access webpage corresponding to described info web to be visited.Wherein, the second mark is used proxy server to comprise: use the proxy server data of IE setting or use browser to carry the proxy server data of setting.
As another optional embodiment, this device may further include:
First connects monitoring modular (not shown), for could not get on to the Net monitoring webpage corresponding to the described info web to be visited of direct access, use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place; If use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place could not get on to the Net, use second agent's server configuration information to attempt connecting webpage corresponding to described info web to be visited.
As another optional embodiment, this device may further include:
The first reminding module (not shown), for could not get on to the Net monitoring webpage corresponding to the described info web to be visited of direct access, use the first agent's server configuration information arranging in the operating system of browser place to send webpage corresponding to info web to be visited described in http request access; In the time that browser receives that the time of the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
As an optional embodiment again, this device can further include:
Second connects monitoring modular (not shown), for using webpage corresponding to first agent's server configuration information described info web to be visited of access that browser place operating system arranges could not get on to the Net monitoring, use webpage corresponding to second agent's server configuration information described info web to be visited of access; If use webpage corresponding to second agent's server configuration information described info web to be visited of access could not get on to the Net, do not use agency to attempt connecting.Wherein, second agent's server configuration information can arrange in interface and arrange at proxy server, arranges in interface at described proxy server, comprising: to act on behalf of the proxy server list information of menu demonstration and not use the address information of proxy server.
Preferably, this device can further include:
The second reminding module (not shown), for being used first agent's server configuration information that browser place operating system arranges to send webpage corresponding to info web to be visited described in http request access; In the time that the time that monitors browser and receive the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
Preferably, this device can further include:
The 3rd reminding module (not shown), if use webpage corresponding to the second agent server configuration information described info web to be visited of access to occur that the time of the corresponding response data of http request exceedes a threshold value, the http request described in user of pointing out makes mistakes under proxy server uses.
In the embodiment of the present invention, network access module comprises: mark determining unit, proxy server acquiring unit and network access unit (not shown), wherein,
Mark determining unit, for from described the first mark, reads the mark that is labeled as use;
In the embodiment of the present invention, the first mark comprises: the proxy server information mark that whether uses the proxy server information mark of IE browser setting and whether use client browser to arrange.
Proxy server acquiring unit, for the mark from being labeled as use, obtains IP address and the port of the proxy server of setting;
In the embodiment of the present invention, as optional embodiment, proxy server acquiring unit comprises: performance parameter obtains subelement and proxy server is chosen subelement, wherein,
Performance parameter is obtained subelement, for obtaining the performance parameter of each proxy server;
Proxy server is chosen subelement, is greater than the proxy server of the performance parameter threshold value setting in advance for obtaining performance parameter, and therefrom chooses IP address and the port of proxy server.
In the embodiment of the present invention, as optional embodiment, IP address and the port of therefrom choosing proxy server comprise:
From the proxy server obtaining, choose at random IP address and the port of a proxy server; Or
From the proxy server obtaining, choose IP address and the port of the proxy server of performance parameter optimum.Wherein, performance parameter optimum refer to proxy server from default webpage obtain response time of web data the shortest or, the web data amount maximum of obtaining from default webpage in the unit interval.
As another optional embodiment, IP address and the port of therefrom choosing proxy server comprise:
From the proxy server obtaining, choose at random IP address and the port of more than two proxy server; Or
According to performance parameter quality, the proxy server obtaining is sorted, choose IP address and the port of the proxy server of sequence top N, wherein, N is greater than 1 natural number.
As another optional embodiment, proxy server acquiring unit further comprises:
Replacement subelement, is less than after described performance parameter threshold value in the performance parameter of the proxy server of determining current use, shows the information that whether needs to carry out proxy server replacement to user; After the instruction of accepting proxy server replacement receiving from user, notice performance parameter acquiring subelement.
Network access unit, be used for by IP address and the port of the described proxy server obtaining, send described web access requests to proxy server, so that proxy server carries out web page access according to the info web to be visited comprising in the described web access requests receiving.
In the embodiment of the present invention, network access unit comprises: distribute subelement, receive subelement and data merging subelement, wherein,
Distribute subelement, for web data corresponding info web to be visited being distributed to IP address and the port of described more than two proxy server;
Receive subelement, for receiving the described web data that more than two proxy server obtains respectively;
Data merge subelement, for the described web data that more than two proxy server returns is respectively integrated, obtain webpage and show.
In the embodiment of the present invention, this device can further include:
Monitoring modular, for monitoring after client browser upgrading, new destination registration table; Proxy server information in the former registration table of client browser is stored in described target registered table; Complete after upgrading the registration table of notice operating system using described target registered table as the described client browser of upgrading monitoring client browser.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the specification that provided herein, a large amount of details are described.But, can understand, embodiments of the invention can be put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.But, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them in addition multiple submodules or subelement or sub-component.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this specification (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature instead of further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module of moving on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the web page access device based on proxy server of the embodiment of the present invention.The present invention can also be embodied as part or all equipment or the device program (for example, computer program and computer program) for carrying out method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website server, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described instead of limit the invention, and those skilled in the art can design alternative embodiment in the case of not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has multiple such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim of having enumerated some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The invention discloses the method that mono-kind of A1. carries out web page access, comprising:
Initiate the web access requests that comprises info web to be visited in browser side;
The first mark of Query Browser side, to judge whether to use the first agent's server configuration information arranging in the operating system of browser place;
If so, use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place;
If not, second agent's server configuration information that Query Browser side is independently preserved;
Use webpage corresponding to second agent's server configuration information described info web to be visited of access.
A2. according to the method described in A1, described independent second agent's server configuration information of preserving is a preset proxy server setting.
A3. according to the method described in A2, described preset proxy server setting is upgraded in time by a server corresponding to browser.
A4. according to the method described in A1, the corresponding proxy server that described second agent's server is browser or its associated proxy server.
A5. according to the method described in A1, before the first mark of described Query Browser side, described method further comprises:
The second mark of Query Browser side, to judge whether to use proxy server;
If so, carry out the flow process of the first mark of described Query Browser side;
If not, directly access webpage corresponding to described info web to be visited.
A6. according to the method described in A5, described the second mark is used proxy server to comprise: use the proxy server data of IE setting or use browser to carry the proxy server data of setting.
A7. according to the method described in A5, after webpage corresponding to the described info web to be visited of described direct access, described method further comprises:
Could not get on to the Net if directly access webpage corresponding to described info web to be visited, use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place;
If use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place could not get on to the Net, use second agent's server configuration information to attempt connecting webpage corresponding to described info web to be visited.
A8. according to the method described in A5, after webpage corresponding to the described info web to be visited of described direct access, described method further comprises:
Could not get on to the Net if directly access webpage corresponding to described info web to be visited, use the first agent's server configuration information arranging in browser place operating system to send webpage corresponding to info web to be visited described in http request access;
In the time that browser receives that the time of the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
A9. according to the method described in A1, the first agent's server configuration information arranging in the operating system of described use browser place is accessed after the webpage that described info web to be visited is corresponding, and described method further comprises:
If use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place could not get on to the Net, use webpage corresponding to second agent's server configuration information described info web to be visited of access;
If use webpage corresponding to second agent's server configuration information described info web to be visited of access could not get on to the Net, do not use agency to attempt connecting.
A10. according to the method described in A1, the first agent's server configuration information arranging in the operating system of described use browser place is accessed after the webpage that described info web to be visited is corresponding, and described method further comprises:
Webpage corresponding to info web to be visited described in the first agent's server configuration information transmission http request access arranging in the operating system of use browser place;
In the time that browser receives that the time of the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
A11. according to the method described in A10, described method further comprises:
If use webpage corresponding to the second agent server configuration information described info web to be visited of access to occur that the time of the corresponding response data of http request exceedes a threshold value, the http request described in user of pointing out makes mistakes under proxy server uses.
A12. according to the method described in A1, described the first mark has further identified and has not used proxy server configuration information to conduct interviews.
A13. according to the method described in A1, described second agent's server configuration information arranges in interface and arranges at proxy server, arrange in interface at described proxy server, comprising: to act on behalf of the proxy server list information of menu demonstration and not use the address information of proxy server.
A14. according to the method described in A1, described the first mark comprises: the proxy server information mark that whether uses the proxy server information mark of IE browser setting and whether use client browser to arrange, in the described proxy server information mark that whether uses client browser setting, include one or more proxy server informations of setting.
A15. according to the method described in A8, described proxy server information comprises: IP address and the port of proxy server.
A16. according to the method described in A15, webpage corresponding to the described use second agent server configuration information described info web to be visited of access comprises:
From described second agent's server configuration information, read the mark that is labeled as use;
From being labeled as the mark of use, obtain IP address and the port of the proxy server of setting;
By IP address and the port of the described proxy server obtaining, send described web access requests to proxy server, so that proxy server carries out web page access according to the info web to be visited comprising in the described web access requests receiving.
A17. according to the method described in A16, the IP address of the proxy server of described setting and port are multiple, described in obtain the proxy server of setting IP address and port comprise:
Obtain the performance parameter of each proxy server;
Obtain the proxy server that performance parameter is greater than the performance parameter threshold value setting in advance, and therefrom choose IP address and the port of proxy server.
A18. according to the method described in A17, described performance parameter comprises: proxy server from default webpage obtain web data response time or, the web data amount of obtaining from default webpage in the unit interval.
A19. according to the method described in A17, described IP address and the port of therefrom choosing proxy server comprises:
From the proxy server obtaining, choose at random IP address and the port of a proxy server; Or
From the proxy server obtaining, choose IP address and the port of the proxy server of performance parameter optimum.
A20. according to the method described in A17, described IP address and the port of therefrom choosing proxy server comprises:
From the proxy server obtaining, choose at random IP address and the port of more than two proxy server; Or
According to performance parameter quality, the proxy server obtaining is sorted, choose IP address and the port of the proxy server of sequence top N, wherein, N is greater than 1 natural number.
A21. according to the method described in A17, described proxy server carries out web page access according to the info web to be visited comprising in the described web access requests receiving and comprises:
Proxy server receives web access requests, and whether inquiry exists the web data that info web to be visited is corresponding, if had, directly reads from proxy server the web data that info web to be visited is corresponding; Otherwise proxy server is according to the info web to be visited comprising in web access requests, the webpage corresponding from info web to be visited obtains web data, and returns to client.
A22. according to the method described in A21, described proxy server is according to the info web to be visited comprising in web access requests, and the webpage corresponding from info web to be visited obtains web data, and returns and comprise to client:
Web data corresponding info web to be visited is distributed to described more than two proxy server by client browser;
Described more than two proxy server obtains respectively from webpage corresponding to described info web to be visited the web data of distributing to self, and is issued to client browser;
Client browser is integrated the described web data that more than two proxy server returns respectively, obtains webpage and shows.
A23. according to the method described in A17, before the described IP address and port of therefrom choosing proxy server, described method further comprises:
The performance parameter of determining the proxy server of current use is less than described performance parameter threshold value, shows the information that whether needs to carry out proxy server replacement to user;
Receive from user accept after instruction that proxy server resets, therefrom choose the IP address of proxy server and the flow process of port described in execution.
A24. according to the method described in A1 to A13 any one, described method further comprises:
Monitor client browser upgrading, new destination registration table;
Proxy server information in the former registration table of client browser is stored in described target registered table;
Complete after upgrading the registration table of notice operating system using described target registered table as the described client browser of upgrading monitoring client browser; Or, read the proxy server information in described target registered table, be stored in described former registration table.
A25. according to the method described in A1 to A23 any one, described info web to be visited comprises: the URL(uniform resource locator) information of webpage to be visited or IP address information.
The invention also discloses the device that mono-kind of B26. carries out web page access, this device comprises: browser information acquisition module, the first enquiry module and network access module, wherein,
Browser information acquisition module, for the web access requests of initiating to comprise info web to be visited in browser side;
The first enquiry module, for the first mark of Query Browser side, to judge whether to use the first agent's server configuration information arranging in the operating system of browser place; If so, informing network access modules is used webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place; If not, second agent's server configuration information that Query Browser side is independently preserved; Informing network access modules is used webpage corresponding to second agent's server configuration information described info web to be visited of access.
B27. according to the device described in B26, described independent second agent's server configuration information of preserving is a preset proxy server setting.
B28. according to the device described in B26, described preset proxy server setting is upgraded in time by a server corresponding to browser.
B29. according to the device described in B26, the corresponding proxy server that described second agent's server is browser or its associated proxy server.
B30. according to the device described in B26, further comprise:
The second enquiry module, for the second mark of Query Browser side, to judge whether to use proxy server; If so, notify the first enquiry module; If not, directly access webpage corresponding to described info web to be visited.
B31. according to the device described in B30, described the second mark is used proxy server to comprise: use the proxy server data of IE setting or use browser to carry the proxy server data of setting.
B32. according to the device described in B30, further comprise:
First connects monitoring modular, for could not get on to the Net monitoring webpage corresponding to the described info web to be visited of direct access, use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place; If use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place could not get on to the Net, use second agent's server configuration information to attempt connecting webpage corresponding to described info web to be visited.
B33. according to the device described in B30, further comprise:
The first reminding module, for could not get on to the Net monitoring webpage corresponding to the described info web to be visited of direct access, use the first agent's server configuration information arranging in the operating system of browser place to send webpage corresponding to info web to be visited described in http request access; In the time that browser receives that the time of the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
B34. according to the device described in B26, further comprise:
Second connects monitoring modular, for using webpage corresponding to first agent's server configuration information described info web to be visited of access that browser place operating system arranges could not get on to the Net monitoring, use webpage corresponding to second agent's server configuration information described info web to be visited of access; If use webpage corresponding to second agent's server configuration information described info web to be visited of access could not get on to the Net, do not use agency to attempt connecting.
B35. according to the device described in B26, further comprise:
The second reminding module, for using first agent's server configuration information that browser place operating system arranges to send webpage corresponding to info web to be visited described in http request access; In the time that the time that monitors browser and receive the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
B36. according to the device described in B26, further comprise:
The 3rd reminding module, if use webpage corresponding to the second agent server configuration information described info web to be visited of access to occur that the time of the corresponding response data of http request exceedes a threshold value, the http request described in user of pointing out makes mistakes under proxy server uses.
B37. according to the device described in B26, described second agent's server configuration information arranges in interface and arranges at proxy server, arrange in interface at described proxy server, comprising: to act on behalf of the proxy server list information of menu demonstration and not use the address information of proxy server.
B38. according to the device described in B26, described network access module comprises: mark determining unit, proxy server acquiring unit and network access unit, wherein,
Mark determining unit, for from described the first mark, reads the mark that is labeled as use;
Proxy server acquiring unit, for the mark from being labeled as use, obtains IP address and the port of the proxy server of setting;
Network access unit, be used for by IP address and the port of the described proxy server obtaining, send described web access requests to proxy server, so that proxy server carries out web page access according to the info web to be visited comprising in the described web access requests receiving.
B39. according to the device described in B38, described proxy server acquiring unit comprises: performance parameter obtains subelement and proxy server is chosen subelement, wherein,
Performance parameter is obtained subelement, for obtaining the performance parameter of each proxy server;
Proxy server is chosen subelement, is greater than the proxy server of the performance parameter threshold value setting in advance for obtaining performance parameter, and therefrom chooses IP address and the port of proxy server.
B40. according to the device described in B39, described proxy server acquiring unit further comprises:
Replacement subelement, is less than after described performance parameter threshold value in the performance parameter of the proxy server of determining current use, shows the information that whether needs to carry out proxy server replacement to user; After the instruction of accepting proxy server replacement receiving from user, notice performance parameter acquiring subelement.
B41. according to the device described in B26 to 40 any one, described network access unit comprises: distribute subelement, receive subelement and data merging subelement, wherein,
Distribute subelement, for web data corresponding info web to be visited being distributed to described more than two proxy server;
Receive subelement, for receiving the described web data that more than two proxy server obtains respectively;
Data merge subelement, for the described web data that more than two proxy server returns is respectively integrated, obtain webpage and show.
B42. according to the device described in B26 to 40 any one, described device further comprises:
Monitoring modular, for monitoring after client browser upgrading, new destination registration table; Proxy server information in the former registration table of client browser is stored in described target registered table; Complete after upgrading the registration table of notice operating system using described target registered table as the described client browser of upgrading monitoring client browser.

Claims (10)

1. a method of carrying out web page access, comprising:
Initiate the web access requests that comprises info web to be visited in browser side;
The first mark of Query Browser side, to judge whether to use the first agent's server configuration information arranging in the operating system of browser place;
If so, use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place;
If not, second agent's server configuration information that Query Browser side is independently preserved;
Use webpage corresponding to second agent's server configuration information described info web to be visited of access.
2. the method for claim 1, described independent second agent's server configuration information of preserving is a preset proxy server setting.
3. method as claimed in claim 2, described preset proxy server setting is upgraded in time by a server corresponding to browser.
4. the method for claim 1, the corresponding proxy server that described second agent's server is browser or its associated proxy server.
5. the method for claim 1, before the first mark of described Query Browser side, described method further comprises:
The second mark of Query Browser side, to judge whether to use proxy server;
If so, carry out the flow process of the first mark of described Query Browser side;
If not, directly access webpage corresponding to described info web to be visited.
6. method as claimed in claim 5, described the second mark is used proxy server to comprise: use the proxy server data of IE setting or use browser to carry the proxy server data of setting.
7. method as claimed in claim 5, after webpage corresponding to the described info web to be visited of described direct access, described method further comprises:
Could not get on to the Net if directly access webpage corresponding to described info web to be visited, use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place;
If use webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place could not get on to the Net, use second agent's server configuration information to attempt connecting webpage corresponding to described info web to be visited.
8. method as claimed in claim 5, after webpage corresponding to the described info web to be visited of described direct access, described method further comprises:
Could not get on to the Net if directly access webpage corresponding to described info web to be visited, use the first agent's server configuration information arranging in browser place operating system to send webpage corresponding to info web to be visited described in http request access;
In the time that browser receives that the time of the corresponding response data of described http request exceedes a threshold value, the use of described second agent's server configuration information is carried out in prompting.
9. a device that carries out web page access, this device comprises: browser information acquisition module, the first enquiry module and network access module, wherein,
Browser information acquisition module, for the web access requests of initiating to comprise info web to be visited in browser side;
The first enquiry module, for the first mark of Query Browser side, to judge whether to use the first agent's server configuration information arranging in the operating system of browser place; If so, informing network access modules is used webpage corresponding to first agent's server configuration information described info web to be visited of access arranging in the operating system of browser place; If not, second agent's server configuration information that Query Browser side is independently preserved; Informing network access modules is used webpage corresponding to second agent's server configuration information described info web to be visited of access.
10. device as claimed in claim 9, described independent second agent's server configuration information of preserving is a preset proxy server setting.
CN201410183473.XA 2014-04-30 2014-04-30 Carry out the method and device of web page access Active CN103973682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410183473.XA CN103973682B (en) 2014-04-30 2014-04-30 Carry out the method and device of web page access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410183473.XA CN103973682B (en) 2014-04-30 2014-04-30 Carry out the method and device of web page access

Publications (2)

Publication Number Publication Date
CN103973682A true CN103973682A (en) 2014-08-06
CN103973682B CN103973682B (en) 2018-09-04

Family

ID=51242728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410183473.XA Active CN103973682B (en) 2014-04-30 2014-04-30 Carry out the method and device of web page access

Country Status (1)

Country Link
CN (1) CN103973682B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202403A (en) * 2014-09-10 2014-12-10 安一恒通(北京)科技有限公司 Browser, cloud server and method for web browsing acceleration
CN105550596A (en) * 2015-12-23 2016-05-04 北京奇虎科技有限公司 Access processing method and apparatus
WO2017071189A1 (en) * 2015-10-30 2017-05-04 百度在线网络技术(北京)有限公司 Webpage access method, apparatus, device and non-volatile computer storage medium
CN106899681A (en) * 2017-03-10 2017-06-27 腾讯科技(深圳)有限公司 The method and server of a kind of information pushing
CN110493318A (en) * 2019-07-23 2019-11-22 北京字节跳动网络技术有限公司 Processing method, device, medium and the equipment of HTTP request information
CN110851753A (en) * 2019-11-07 2020-02-28 亿企赢网络科技有限公司 Website access method, device, equipment and storage medium
CN112152973A (en) * 2019-06-28 2020-12-29 北京奇虎科技有限公司 Method, device and system for monitoring webpage content to be accessed and router
CN112148953A (en) * 2020-09-30 2020-12-29 北京金堤征信服务有限公司 Method and device for accessing difference data
CN112437161A (en) * 2020-11-27 2021-03-02 北京达佳互联信息技术有限公司 Network agent control method, device and computer readable storage medium
CN113190288A (en) * 2021-05-08 2021-07-30 首约科技(北京)有限公司 Freely switch different environment page plug-in components

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1542636A (en) * 2003-10-08 2004-11-03 中国科学院长春光学精密机械与物理研 Proxy server automatic selection shared network browsing method
US6829638B1 (en) * 2000-08-03 2004-12-07 International Business Machines Corporation System and method for managing multiple proxy servers
US20050138604A1 (en) * 2003-12-19 2005-06-23 Peter Harrison Browser configuration
CN101102313A (en) * 2007-06-21 2008-01-09 潘晓梅 Network download system and method with automatically replaced proxy server and its method
US7333990B1 (en) * 2004-06-22 2008-02-19 Sun Microsystems, Inc. Dynamic reverse proxy
US20100220622A1 (en) * 2009-02-27 2010-09-02 Yottaa Inc Adaptive network with automatic scaling
CN101931635A (en) * 2009-06-18 2010-12-29 北京搜狗科技发展有限公司 Network resource access method and proxy device
CN102868719A (en) * 2012-06-29 2013-01-09 北京奇虎科技有限公司 Network access method and server based on cache
US8359319B2 (en) * 2007-08-27 2013-01-22 Sudhir Pendse Tool for personalized search
CN102970436A (en) * 2012-11-27 2013-03-13 惠州Tcl移动通信有限公司 Mobile terminal and method for setting proxy configuration information of browser
CN103412812A (en) * 2013-08-23 2013-11-27 北京奇虎科技有限公司 Method and device for monitoring running status of browser
CN103607454A (en) * 2013-11-20 2014-02-26 Tcl通讯(宁波)有限公司 Method for setting private proxy server for Android system browser
CN103634129A (en) * 2012-08-22 2014-03-12 腾讯科技(深圳)有限公司 Proxy server setting method and device

Patent Citations (13)

* 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
CN1542636A (en) * 2003-10-08 2004-11-03 中国科学院长春光学精密机械与物理研 Proxy server automatic selection shared network browsing method
US20050138604A1 (en) * 2003-12-19 2005-06-23 Peter Harrison Browser configuration
US7333990B1 (en) * 2004-06-22 2008-02-19 Sun Microsystems, Inc. Dynamic reverse proxy
CN101102313A (en) * 2007-06-21 2008-01-09 潘晓梅 Network download system and method with automatically replaced proxy server and its method
US8359319B2 (en) * 2007-08-27 2013-01-22 Sudhir Pendse Tool for personalized search
US20100220622A1 (en) * 2009-02-27 2010-09-02 Yottaa Inc Adaptive network with automatic scaling
CN101931635A (en) * 2009-06-18 2010-12-29 北京搜狗科技发展有限公司 Network resource access method and proxy device
CN102868719A (en) * 2012-06-29 2013-01-09 北京奇虎科技有限公司 Network access method and server based on cache
CN103634129A (en) * 2012-08-22 2014-03-12 腾讯科技(深圳)有限公司 Proxy server setting method and device
CN102970436A (en) * 2012-11-27 2013-03-13 惠州Tcl移动通信有限公司 Mobile terminal and method for setting proxy configuration information of browser
CN103412812A (en) * 2013-08-23 2013-11-27 北京奇虎科技有限公司 Method and device for monitoring running status of browser
CN103607454A (en) * 2013-11-20 2014-02-26 Tcl通讯(宁波)有限公司 Method for setting private proxy server for Android system browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董文江等: "PAC脚本在文献代理数据库中的应用", 《甘肃科技》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202403A (en) * 2014-09-10 2014-12-10 安一恒通(北京)科技有限公司 Browser, cloud server and method for web browsing acceleration
CN104202403B (en) * 2014-09-10 2017-10-17 安一恒通(北京)科技有限公司 Accelerated method, Cloud Server and the browser of web page browsing
WO2017071189A1 (en) * 2015-10-30 2017-05-04 百度在线网络技术(北京)有限公司 Webpage access method, apparatus, device and non-volatile computer storage medium
CN105550596B (en) * 2015-12-23 2018-10-16 北京奇虎科技有限公司 A kind of access processing method and device
CN105550596A (en) * 2015-12-23 2016-05-04 北京奇虎科技有限公司 Access processing method and apparatus
CN106899681B (en) * 2017-03-10 2020-10-27 腾讯科技(深圳)有限公司 Information pushing method and server
CN106899681A (en) * 2017-03-10 2017-06-27 腾讯科技(深圳)有限公司 The method and server of a kind of information pushing
CN112152973A (en) * 2019-06-28 2020-12-29 北京奇虎科技有限公司 Method, device and system for monitoring webpage content to be accessed and router
CN110493318A (en) * 2019-07-23 2019-11-22 北京字节跳动网络技术有限公司 Processing method, device, medium and the equipment of HTTP request information
CN110493318B (en) * 2019-07-23 2022-03-15 北京字节跳动网络技术有限公司 HTTP request information processing method, device, medium and equipment
CN110851753A (en) * 2019-11-07 2020-02-28 亿企赢网络科技有限公司 Website access method, device, equipment and storage medium
CN110851753B (en) * 2019-11-07 2023-09-26 亿企赢网络科技有限公司 Website access method, device, equipment and storage medium
CN112148953A (en) * 2020-09-30 2020-12-29 北京金堤征信服务有限公司 Method and device for accessing difference data
CN112437161A (en) * 2020-11-27 2021-03-02 北京达佳互联信息技术有限公司 Network agent control method, device and computer readable storage medium
CN112437161B (en) * 2020-11-27 2024-04-30 北京达佳互联信息技术有限公司 Network proxy control method, device and computer readable storage medium
CN113190288A (en) * 2021-05-08 2021-07-30 首约科技(北京)有限公司 Freely switch different environment page plug-in components

Also Published As

Publication number Publication date
CN103973682B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN103973682A (en) Method and device for having access to webpage
CN107809383B (en) MVC-based path mapping method and device
CN103150513B (en) The method of the implantation information in interception application program and device
CN104468817B (en) Implementation method and device, server, the client of resource is downloaded by CDN
CN104111944B (en) Page processing method and device and page generation method and device
US8543713B2 (en) Computing environment arranged to support predetermined URL patterns
CN103902696A (en) Method and device for loading resource files
US9912747B2 (en) Browser and system for download and download method
CN110830374B (en) Method and device for gray level release based on SDK
CN102314469A (en) Method for implementing cross-domain request callback
CN103678508A (en) Webpage opening method and device
CN104301311B (en) The method and apparatus of DNS screen data contents
CN110266661A (en) A kind of authorization method, device and equipment
CN105743945A (en) Method and system for downloading files on the basis of switching download sources
CN103023885B (en) Secure data processing method and system
CN106980501A (en) A kind of software package management method, device and system
CN108932238A (en) A kind of cross-domain communication method and device
CN107656742A (en) A kind of software product dissemination method and device
CN104699499A (en) Heterogeneous terminal software upgrading method
CN106789170B (en) Task processing method and device
US10324766B1 (en) Task profile collection
CN103546563B (en) terminal software intelligent updating method and system
CN105160244A (en) File processing method and system
CN104468549A (en) Client side operating request responding method and device and server
US9621424B2 (en) Providing a common interface for accessing and presenting component configuration settings

Legal Events

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

Effective date of registration: 20220728

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

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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