CN102299969A - Web accessing method, layer seven switching equipment and service network - Google Patents

Web accessing method, layer seven switching equipment and service network Download PDF

Info

Publication number
CN102299969A
CN102299969A CN2011102761323A CN201110276132A CN102299969A CN 102299969 A CN102299969 A CN 102299969A CN 2011102761323 A CN2011102761323 A CN 2011102761323A CN 201110276132 A CN201110276132 A CN 201110276132A CN 102299969 A CN102299969 A CN 102299969A
Authority
CN
China
Prior art keywords
client
address
isp
server
access request
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
CN2011102761323A
Other languages
Chinese (zh)
Other versions
CN102299969B (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 Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201110276132.3A priority Critical patent/CN102299969B/en
Publication of CN102299969A publication Critical patent/CN102299969A/en
Application granted granted Critical
Publication of CN102299969B publication Critical patent/CN102299969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a Web accessing method, layer seven switching equipment and a service network. The method comprises that: the service network receives a Web accessing request from a client, and judges an Internet service provider (ISP) with the client according to an Internet protocol (IP) address of the client in the Web accessing request of the client, wherein the service network can provide a plurality of ISP lines for accessing; the service network matches a to-be-accessed Web server address specified by the Web accessing request of the client in a judged ISP network; and the service network navigates the Web accessing request of the client according to the matched Web server address. By the technical scheme, cross-ISP Web accessing can be accelerated.

Description

A kind of web access method, seven layer exchange devices and service network
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of web access method, seven layer exchange devices and service network.
Background technology
In actual applications, multiple internet service provider (ISP, Internet ServiceProvider) also deposits, and interface network limited bandwidth between the ISP, and access speed is slower when having caused the cross-domain access to netwoks Web server of client.Be subjected to the restriction of overall interface capacity between two ISP networks when for example user capture of using telecommunications ADSL is deployed in Web server in the Internet data center of northern Netcom (IDC, Internet DataCenter), access speed is slower.A large amount of uses along with intelligent mobile terminal equipment, switching frequency between mobile network and the fixed network (WIFI) increases, Internet service need take into account the cross-domain visit between mobile Internet and the fixed the Internet, has further improved the demand for the speeding scheme of striding the ISP visit.
Therefore, current pressing for solves the web access acceleration problem of striding ISP.
Summary of the invention
The invention provides the web access accelerated method of a kind of ISP of striding, this method can realize striding the ISP web access and quicken.
The present invention also provides a kind of seven layer exchange devices, and these seven layers of exchange energies realize striding the ISPWeb visit and quicken.
The present invention also provides a kind of service network, and this service network can be realized striding the ISP web access and quicken.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of web access method, this method comprises:
Service network receives client web access request, judges the ISP of ISP at client place according to the client ip address in the described client web access request; Described service network can provide a plurality of ISP circuits to insert;
Service network mates the Web server address that described client web access request will be visited in the ISP of described judgement network;
Service network navigates to client web access request according to the Web server address of being mated.
The invention also discloses a kind of seven layer exchange devices, described seven layer exchange devices are arranged in the service network, and described service network can provide a plurality of ISP circuits to insert;
Described seven layers of this equipment of exchange comprise: intelligent routing module;
Described intelligent routing module comprises,
Determining unit is used to receive client web access request, judges the ISP at client place according to the client ip address in the described client web access request;
Matching unit is used for the Web server address that will visit in the described client web access request of the ISP of described judgement network coupling;
Navigation elements is used for according to the Web server address of being mated client web access request being navigated.
The invention also discloses a kind of service network, described service network can provide the access of a plurality of ISP circuits; This service network comprises: four layer exchange devices and above-mentioned seven layer exchange devices;
Wherein four layer exchange devices adopt the DR pattern of directly transmitting of Linux virtual server LVS soft switch, according to polling algorithm the client web access request that is received are forwarded to seven layer exchange devices.
By as seen above-mentioned, among the present invention, service network receives client web access request, judge the ISP at client place according to the client ip address in the described client web access request, the Web server address that the described client web access request of coupling will be visited in the ISP of described judgement network, according to the technical scheme of navigating to client web access request in the Web server address of being mated, can realize striding the ISP web access and quicken.
Description of drawings
Fig. 1-the 1st, the frame diagram of the service network in the embodiment of the invention;
Fig. 1-2 is the flow chart of the web access method in the embodiment of the invention;
Fig. 2 is the course of work flow chart of seven layer exchange devices in the embodiment of the invention;
Fig. 3 is the structural representation of seven layer exchange devices in the embodiment of the invention;
Fig. 4 is the composition structural representation of the service network in the embodiment of the invention.
Embodiment
In implementing process of the present invention, the inventor has carried out system research at the solution of the web access acceleration problem of striding ISP, striding aspect the ISP web access acceleration, can adopt content distributing network (CDN, Content Delivery Network) technology and intelligent domain name system technology such as (DNS, Domain Name System).
Intelligence DNS is a part of CDN technology, the CDN technology is mainly passed through at each carrier network key node deploy server, web content is carried out buffer memory, local dns service according to client place network, the Resource Server that sensing place network closes on obtains resource, stride ISP access to netwoks, hoisting velocity thereby reduce.CDN relatively is fit to the visit of static resource to quicken, and for dynamic content, must visit the Source Site of Web service and can realize normal service logic, therefore quickens to be difficult for realizing.
Dynamic content quickens mainly to be undertaken by intelligent DNS.Present intelligent DNS technology is as follows usually to the speed technology of this scene, is example with accesses network domain name www.abc.com:
1) user of Netcom is to local dns request analysis www.abc.com.
2) local dns sends request to the authoritative DNS of abc.com (the authoritative DNS here must be intelligent DNS).
3) intelligent DNS mates in Access Control List (ACL) (ACL, the Access Control List) the inside of oneself according to requestor's's (being above-mentioned local dns here) IP address, then the Web server address of coupling is returned to local dns.
4) local dns is told the user result, and result cache is got up.
5) Website server on the user capture Netcom circuit.
But be to use intelligent DNS service may run into following restriction: authoritative DNS must support intelligent DNS technology, perhaps intelligent DNS service upwards can be entrusted in the DNS record of website.For some public authority site for services, kidnap the information security events that causes in order to prevent DNS, DNS can not be served trustship and give third party's intelligence DNS service provider.Promptly under some scene, DNS record in Web service website can not be entrusted in intelligent DNS, provides the operator of ISP service that intelligent DNS service also can't be provided, and needs a kind of new web access speeding scheme of striding ISP this moment.
Provided a kind of private network structure in the present invention, be referred to as service network here, this service network can realize striding the web access acceleration of ISP.
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Service network among the present invention receives client web access request, judges the ISP at client place according to the client ip address in the described client web access request; Described service network can provide a plurality of ISP circuits to insert; Service network mates the Web server address that described client web access request will be visited in the ISP of described judgement network; Service network navigates to client web access request according to the Web server address of being mated.
Preferably, service network is arranged on the IDC of Internet data center that a plurality of ISP circuits accesses can be provided.For example, on the IDC that can provide Netcom, telecommunications and China Mobile's circuit to insert simultaneously, 3 different IP addresses of 3 operator's circuits of application.On the server disposition structure, in the network topology of Web service, adopt the deployment architecture of four layer exchange devices+7 layer exchange devices+Web server.
4 layer exchange devices adopt direct forwarding (DR) pattern of Linux virtual server (LVS, Linux VirtualServer) soft switch under the Linux, and 7 layer exchange devices adopt " the intelligent navigation mode " that provides among the present invention.Adopting LVS DR pattern is can solve network traffics big the time, and all requests all need to transmit through 4 layers of 7 layers of two layer exchange device, reduce the problem of performance loss.
Fig. 1-the 1st, the frame diagram of the service network in the embodiment of the invention.Referring to Fig. 1-1, this service network can provide the access of a plurality of ISP circuits, and this service network comprises: fire compartment wall, four layer exchange devices, seven layer exchange devices and Web server.In one embodiment of the invention, the configuration of service network can be as follows:
1) special line that move, Netcom, corresponding respectively three operators of telecommunications three-line inserts, SEPARATE APPLICATION IP address on 3 circuits, 3 corresponding 3 domain names in IP addresses simultaneously.For example, application system has three domain names:
Cnc.app.com (the service IP address of corresponding Netcom network)
Ctc.app.com (corresponding telecommunications network service IP address)
Cmc.app.com (corresponding mobile network's service IP address)
2) when client web access request when the Internet sends to network service end, at first pass through fire compartment wall, fire compartment wall carries out network address translation to client web access request, with three-layer network address transition wherein is the virtual ip address (VIP) of Intranet, domain name in seven layers of request header remains unchanged, then four layer exchange devices of Fa Songing.
3) use LVS as four layer exchange devices here, two the LVS servers are installed and are adopted ap modes, wherein one as the master scheduling device, and another automaticallyes switch when the master scheduling device is delayed machine as the back scheduling device.The master scheduling device is according to polling algorithm, and request is forwarded on two 7 layer exchange devices.Owing to adopt DR (directly transmitting) pattern, two LVS four layer exchange devices and 2 seven layer exchange devices and have been bound with 1 VIP address (forbidding ARP service) in same LAN.
4) when client web access request is sent to seven layer exchange devices, seven layer exchange devices judge that according to the IP address of client whether corresponding with the domain name of request the ISP of user sources service IP address at same ISP, carry out jump instruction according to the strategy of judging and issue, perhaps turning round is dealt into Web server.Address on the Web server is not external,, as reverse proxy access response stream is directly returned to client by seven layer exchange devices.
Fig. 1-2 is the flow chart of the web access method in the embodiment of the invention.As shown in Fig. 1-2, this method comprises:
101, receive client web access request, judge the ISP at client place according to the client ip address in the described client web access request.
102, the Web server address that the described client web access request of coupling will be visited in the ISP of described judgement network.
103, according to the Web server address of being mated client web access request is navigated.
Described in the ISP of described judgement network the Web server address that will visit of the described client web access request of coupling comprise: judge whether the server ip address that client web access request will visit consistent with the ISP at client place, if server ip address consistent then that client web access request will be visited is as the Web server address of mating, if it is inconsistent, then (here according to the corresponding relation between each the ISP network side web server address that presets, can upgrade this corresponding relation according to the change of resource and the change of IP address etc.), the web server address of the described client place ISP network side of the server ip address correspondence of inquiring client terminal request visit is with the Web server address as coupling, the address that inquires.
Preferably, the corresponding relation between above-mentioned each ISP network side web server address can be arranged on the IDC that a plurality of ISP circuits accesses can be provided, and concrete can be arranged on this service network.
Described client web access request the navigation according to the Web server address of being mated comprises: the Web server address that obtains according to described coupling, the guiding client is forwarded to corresponding Web server with client web access request, and the response data of Web server feedback is returned to client.
If the server ip address that client web access request will be visited is consistent with the ISP at client place, then seven layer exchange devices are further: whether the needs correction detects according to presetting the probabilistic determination active client, be then according to statistics in the storehouse data comparison active client and and the difference of active client between the load time when belonging to the described particular server IP of each client-access address of same region, determine the whether needs correction of ISP at the place, active client IP address in the address base according to this difference; Described statistics storehouse obtains for the load time of the server ip address in the client-access assigned I SP that belongs to same region is gathered; Be then, the server ip address that described client web access request will be visited revised that revised server ip address place ISP and described client place ISP are inconsistent, with the Web server address of revised address as coupling; Otherwise, carry out the described server ip address that client web access request will be visited as the Web server address of mating.
Wherein, the method that load time of the server ip address in the client-access assigned I SP that belongs to same region statistics is obtained adding up the storehouse comprises: the load time of obtaining the server ip address in the client-access assigned I SP that belongs to same region; Preserving the above-mentioned load time obtains adding up the storehouse.
Need to prove that each visit all needs to obtain the load time, and add in the statistics storehouse; The statistics storehouse is brought in constant renewal in.
Concrete, the described load time of obtaining the server ip address in the client-access assigned I SP that belongs to same region comprises: when returning the response data of Web server feedback to client, the adding beginning response time stabs in response data; When client script loaded, the more described beginning response time stabbed and the local time, obtains the load time.
That is to say, the load time that seven layer exchange devices will belong to the server ip address in the client-access assigned I SP of same region is aggregated in the statistics storehouse and comprises: seven layer exchange devices add the beginning response time to stab when returning the response data of Web server feedback to client in response data; When client script loaded, the more described beginning response time stabbed and the local time, obtains the load time, and will send to seven layer exchange devices the load time; In the statistics storehouse of seven layer exchange devices with the load time record of client transmission.
Described according to statistics in the storehouse data comparison active client and and the difference of active client between the load time when belonging to the described particular server IP of each client-access address of same region, determine according to this difference whether the needs correction comprises for ISP under the active client IP address:
According to the data computation described particular server IP address of statistics in the storehouse by and the average load time μ of active client when belonging to each client-access of same region, and the average variances sigma of load time, and calculate before the described particular server IP address average load time x when being visited by active client;
Calculate the residing distribution probability f of x (x) according to following just too distribution probability formula:
f ( x ) = 1 2 π σ e - ( x - μ ) 2 2 σ 2
If f (x) is less than first predetermined threshold value then do not need to revise, if instead f (x) more than or equal to first predetermined threshold value, then randomly draws correction according to the size of f (x).
Concrete, described size according to f (x) is randomly drawed to revise and is comprised: utilize f (x) to calculate and extract probability F (x): F (x)=(f (x)-first predetermined threshold value)/second predetermined threshold value;
Determine whether the ISP under the active client IP address is revised with probability F (x).
Need to prove, as f (x) during more than or equal to first predetermined threshold value, be not all to need it is revised, need here to calculate a new probability F (x) according to f (x) again, f (x) is revised according to this new probability F (x) more than or equal to the access request of first predetermined threshold value.That is to say, because ISP mistake etc. causes address base wrong, what need revise is not very common in fact, for the access efficiency (and then improving the web access efficiency) that further improves address base, herein, take to extract the mode that part is revised, promptly in the access request of f (x) more than or equal to first predetermined threshold value, with F (x) is probability, extract the part access request and carry out the address correction, in this step, when judging f (x), be that probability determines whether that need carry out the address to it revises with F (x) to the ISP under the active client IP address more than or equal to first predetermined threshold value.
Further, carry out the web visit at described client according to revised address, calculate the load time mean value of scheduled visit number of times, if this load time mean value less than the load time of the ISP address, place of writing down in the described client-access raw address storehouse, is then replaced the ISP at the active client place in the address base with the ISP under the described revised address.
Described judge active client whether need revise to detect before this method further comprise: obtain client ip address, judge the ISP at client place according to client ip address and address base; Judge whether the server ip address that client web access request will visit is consistent with the ISP at client place, be then to carry out describedly to judge whether active client needs to revise the step of detection, it jumps to instruction on corresponding isp server address otherwise return guiding to client.
Described judge active client whether need revise to detect after this method further comprise: do not need to revise detection if judge active client, client web access request is forwarded to corresponding Web server, and the response data of Web server feedback is returned to client.
The response data of Web server feedback is returned to client further to be comprised: result of determination is write client as cookie; Wherein, result of determination comprises: client ip address, ISP corresponding server IP address, client place, result of determination type; Wherein, the result of determination type is permanent or interim;
Obtain client ip address at described seven layer exchange devices, before the ISP according to client ip address and address base judgement client place, this method further comprises: detect this client and whether have the result of determination of preserving with the cookie form, be then to carry out following step a to steps d, otherwise carry out described seven layer exchange devices and obtain client ip address, judge the step of the ISP at client place according to client ip address;
A, the cookie of described existence is decoded, obtain result of determination information;
B, judge whether the client ip address in the result of determination information is consistent with current client ip address, be execution in step c then, otherwise carry out the described client ip address that obtains, judge the step of the ISP at client place according to client ip address and address base;
C, judge that the ISP corresponding server IP address, client place in the result of determination information is whether consistent with the server ip address that active client web access request will be visited, be execution in step d then, otherwise carry out the described client ip address that obtains, judge the step of the ISP at client place according to client ip address and address base;
D, judge whether the result of determination type in the result of determination information is permanent, be then client web access request to be forwarded to corresponding Web server, and the response data of Web server feedback returned to client, preset the probabilistic determination active client step whether the needs correction detects otherwise carry out described basis.
Not needing to revise if determine the pairing ISP of this client ip address in the address base, when result of determination is write client as cookie, is permanent with the result of determination class record then.
Judging the result in the address base, if not through revising, then be interim with the result of determination class record, if passed through correction, is permanent with the result of determination class record then.
Provide the workflow of seven layer exchange devices below.
Fig. 2 is the course of work flow chart of seven layer exchange devices in the embodiment of the invention.As shown in Figure 2, comprising:
201, when client web access request is forwarded to seven layer exchange devices, check at first whether this client exists the result of determination of cookie form preservation, when the user logins first, the result of determination that does not have preservation, execution in step 202, if there is the result of determination of preserving, then execution in step 209.
202, according to client web access acquisition request client ip address, judge the ISP at client place according to client ip address.
In this step, the load address information table and forms binary search tree BST structure in internal memory from address base, searches pairing ISP of this client ip address and regional information according to client ip address on BST.
203, judge whether the server ip address that client web access request will visit is consistent with the ISP at client place, be execution in step 205 then, otherwise execution in step 204.
Here, whether the server ip address that client web access request will be visited is consistent with the ISP at client place, for example is meant whether the address of the user capture of Netcom is the address of service of network, if then consistent, if the address of service of telecommunications then is inconsistent.
204, return HTTP 302 jump instructions to client, the guiding client jumps on the pairing isp server of the IP address address, enters step 208.
205, adopt to extract a certain proportion of random number algorithm and judge whether this client needs to detect, be execution in step 206 then, otherwise execution in step 207.
In one embodiment of the invention, this ratio gets 10%, promptly randomly draws 10% client and detects.
206, judge whether needs correction of the pairing ISP of this client ip address in the address base according to preset strategy, be then to provide an ISP modified address at random, and to jumping to step 204, otherwise enter step 207.
If do not need to revise, when result of determination is write client as cookie, be permanent then with the result of determination class record.
In this step, can need determine whether to revise according to the average first byte load time of client-access and whole on average irrelevances of load times of access services address.
207, client web access request is forwarded to corresponding Web server, get access to the true response data that Web server returns as reverse proxy, and return to client.
Can when getting access to the true response data that Web server returns, on it, add the timestamp that response sends in this step,, can add at head in the page and load the Javascript script that detects, report to server for the page of observation.
Step 208, the interception response, the head in response data writes client with result of determination as cookie, with the frequent judgement of avoiding client to be repeated.
The cookie that records client judges that in order to reduce unnecessary repeating alleviate the calculated load of server end, Cookie is one section information that adopts the DES algorithm for encryption, through restoring a result of determination object after the deciphering, comprises following information:
Client ip address: the source IP of the client of the visit when taking place to judge;
ISP corresponding server IP address, client place: judge ISP corresponding server IP address, client place;
Result of determination type: permanent or interim; For the result in the address base, if do not pass through the correction of correcting module, be interim result, be permanent result if be corrected then promoted.
209, the cookie that exists is decoded, obtain result of determination information.
210, judge whether the client ip address in the result of determination information is consistent with current client ip address, be execution in step 211 then, otherwise execution in step 202.
211, judge that the ISP corresponding server IP address, client place in the result of determination information is whether consistent with the server ip address that active client web access request will be visited, be execution in step 212 then, otherwise execution in step 202.
212, judge that whether the result of determination type in the result of determination information is permanent, be execution in step 207 then, otherwise execution in step 205.
By flow process shown in Figure 2 as seen, seven layer exchange devices further write client with result of determination as cookie; Before judging the ISP at client place according to client ip address, detect this client and whether have the result of determination of preserving with the cookie form, be then to judge according to the result of determination information among the cookie this time whether needs are judged the ISP at client place according to client ip address, otherwise carry out the step of judging the ISP at client place according to client ip address.
Fig. 3 is the structural representation of seven layer exchange devices in the embodiment of the invention.As shown in Figure 3, this seven layer exchange device comprises: address base collection module 301, address base administration module 302, intelligent routing module 303 and reverse proxy module 304.Wherein:
Address base collection module 301 is used to safeguard address base; The data sync of maintenance and APNIC is safeguarded local described address base by the address base that grasps the APNIC announcement specifically.APNIC is the official mission that is responsible for Asian-Pacific area IP address end and AS number assignment.
Address base administration module 302 is used for the management address storehouse, provides inquiry service to intelligent routing module 303; Be used for specifically when receiving the query requests of intelligent routing module 303, the load address information table is in internal memory from address base, and form binary search tree BST structure, on BST, search pairing ISP of this client ip address and regional information according to client ip address.
Intelligence routing module 303 comprises that determining unit is used to receive client web access request, judges the ISP at client place according to the client ip address in the described client web access request; Matching unit is used for the Web server address that will visit in the described client web access request of the ISP of described judgement network coupling; Navigation elements is used for according to the Web server address of being mated client web access request being navigated.
Specifically, when receiving client web access request, obtain client ip address, according to the ISP ISP of client ip address to address base administration module 302 inquiring client terminal places, matching unit is used to specifically to judge whether the server ip address that client web access request will visit is consistent with the ISP at client place, if server ip address consistent then that client web access request will be visited is as the Web server address of mating, client web access request is transmitted to reverse proxy module 304, and the response data that reverse proxy module 304 is fed back returns to client, if corresponding relation inconsistent then between basis each ISP network side web server address that presets, the web server address of the described client place ISP network side of the server ip address correspondence of inquiring client terminal request visit, with Web server address, the address that inquires, return HTTP 302 jump instructions to client as coupling;
Reverse proxy module 304 is used for after the client web access request that receives intelligent routing module 303 transmissions, is forwarded to the relevant Web server according to the negative default strategy that carries, and the response data that Web server returns is fed back to intelligent routing module 303.
Seven layer exchange devices as shown in Figure 3 further comprise: route correcting module 305;
Route correcting module 305, be used for when described matching unit judges that server ip address that client web access request will visit is consistent with the ISP at client place, whether needs are revised detection to client according to presetting probabilistic determination, be that then whether the needs correction detects according to presetting the probabilistic determination active client, be then according to statistics in the storehouse data comparison active client and and the difference of active client between the load time when belonging to the described particular server IP of each client-access address of same region, determine the whether needs correction of ISP at the place, active client IP address in the address base according to this difference; Described statistics storehouse obtains for the load time of the server ip address in the client-access assigned I SP that belongs to same region is gathered;
Be that the server ip address that then will visit described client web access request is revised, revised server ip address place ISP and described client place ISP are inconsistent, with the Web server address of revised address as coupling; Otherwise the server ip address that client web access request will be visited is as the Web server address of coupling.
Concrete, described intelligent routing module 303, judging server ip address that client web access request will visit when consistent with the ISP at client place, and before client web access request is transmitted to the reverse proxy module, be further used for whether needs (are for example revised detection to client according to presetting probabilistic determination, adopt a certain proportion of random number algorithm of extraction to determine whether this client needs to detect), be then client web access request to be transmitted to route correcting module 305, otherwise client web access request is transmitted to reverse proxy module 304; Be further used for when the notice of the needs correction that receives 305 transmissions of route correcting module, the server ip address that described client web access request will be visited is revised, revised server ip address place ISP and described client place ISP are inconsistent, with the Web server address of revised address as coupling, return HTTP 302 jump instructions to client, during the notice revised in not needing of receiving that route correcting module 305 sends, the server ip address that client web access request will be visited is transmitted to reverse proxy module 304 as the Web server address of coupling with client web access request;
Route correcting module 305, be used for when receiving client web access request, judge whether needs correction of the pairing I SP of this client ip address in the address base according to preset strategy, be then to send the notice that needs correction to intelligent routing module 303, and provide an ISP modified address at random and give the address base administration module synchronously, do not need the notice revised otherwise send to intelligent routing module 303.
In one embodiment of the invention, described route correcting module 305, be used for according to the data comparison active client in statistics storehouse and and the difference of active client between the load time when belonging to the described particular server IP of each client-access address of same region, determine the whether needs correction of ISP at the place, active client IP address in the address base according to this difference; Be then to send to need the notice revised, do not need the notice revised otherwise send to intelligent routing module to intelligent routing module.
In equipment shown in Figure 3, described intelligent routing module 303 is used for further result of determination being write client as cookie when the response data with reverse proxy module 304 feedbacks returns to client; Wherein, result of determination comprises: client ip address, ISP corresponding server IP address, client place, result of determination type; Wherein, the result of determination type is permanent or interim;
Described intelligent routing module 303, before judging the ISP at client place according to client ip address, further detect this client and whether have the result of determination of cookie form preservation, be then to carry out following step a, otherwise carry out the step of judging the ISP at client place according to client ip address to steps d;
A, the cookie of described existence is decoded, obtain result of determination information;
B, judge whether the client ip address in the result of determination information is consistent with current client ip address, be execution in step c then, otherwise carry out the step of judging the ISP at client place according to client ip address;
C, judge that the ISP corresponding server IP address, client place in the result of determination information is whether consistent with the server ip address that active client web access request will be visited, be execution in step d then, otherwise carry out the step of judging the ISP at client place according to client ip address;
D, judging that whether the result of determination type in the result of determination information is permanent, is then client web access request to be forwarded to the reverse proxy module, extracts a certain proportion of random number algorithm and determines whether this client needs to detect otherwise adopt;
Described intelligent routing module 303 is used for after the notice that does not need to accomplish that receives the transmission of route correcting module, when result of determination is write client as cookie, is permanent with the result of determination class record.
Fig. 4 is the composition structural representation of the service network in the embodiment of the invention.As shown in Figure 4, the embodiment of the invention also provides a kind of service network, and described service network can provide the access of a plurality of ISP circuits; This service network comprises: four layer exchange devices 401 and as described seven layer exchange devices 402 of above-mentioned embodiment;
Wherein four layer exchange devices adopt the DR pattern of directly transmitting of Linux virtual server LVS soft switch, according to polling algorithm the client web access request that is received are forwarded to seven layer exchange devices.
Further, the service network that the embodiment of the invention provides also comprises the corresponding relation between each ISP network side web server address, is used to write down same asset and sees corresponding relation at each ISP network side web server address.
Preferably, the corresponding relation between above-mentioned each ISP network side web server address can upgrade this corresponding relation according to the change of resource and the change of IP address etc.
Seven layer exchange devices judge whether the server ip address that client web access request will visit is consistent with the ISP at client place, if server ip address consistent then that client web access request will be visited is as the Web server address of mating, if it is inconsistent, then according to the corresponding relation between each the ISP network side web server address that presets, the web server address of the described client place ISP network side of the server ip address correspondence of inquiring client terminal request visit is with the Web server address as coupling, the address that inquires.
Then, seven layer exchange devices navigate to client web access request according to the Web server address of being mated.
The technical characterictic of each functional module of service network that the embodiment of the invention provides sees also associated description in said method embodiment and the apparatus embodiments, repeats no more herein.
In sum, in the embodiment of the invention, service network receives client web access request, judge the ISP at client place according to the client ip address in the described client web access request, the Web server address that the described client web access request of coupling will be visited in the ISP of described judgement network, the technical scheme of client web access request being navigated according to the Web server address of being mated, can realize that striding the ISP web access quickens, and can solve Web service website DNS record and can not entrust, the problem of striding ISPWeb visit acceleration the when operator that provides ISP to serve also can't provide intelligent DNS to serve in intelligent DNS.
Having designed based on seven layers of exchange intelligent navigation technology provides the web access of striding ISP to quicken, and has adopted simultaneously based on searching with intelligent correction technique of client ip data and has solved the inaccurate problem of data.
The problem that the Web client-access quickens when having solved the multi-line access by seven layers of means of exchange.This taking solves the scheme that multi-line inserts acceleration based on seven layer-switching technologies, compares with intelligent DNS technology, overcome because operator DNS server disposition structure causes the uncontrollable problem of result of determination.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a web access method is characterized in that, this method comprises:
Service network receives client web access request, judges the ISP of ISP at client place according to the client ip address in the described client web access request; Described service network can provide a plurality of ISP circuits to insert;
Service network mates the Web server address that described client web access request will be visited in the ISP of described judgement network;
Service network navigates to client web access request according to the Web server address of being mated.
2. method according to claim 1 is characterized in that, the described Web server address that the described client web access request of coupling will be visited in the ISP of described judgement network comprises:
Judge whether the server ip address that client web access request will visit is consistent with the ISP at client place, if server ip address consistent then that client web access request will be visited is as the Web server address of mating, if it is inconsistent, then according to the corresponding relation between each the ISP network side web server address that presets, the web server address of the described client place ISP network side of the server ip address correspondence of inquiring client terminal request visit is with the Web server address as coupling, the address that inquires.
3. method according to claim 1 is characterized in that, described client web access request the navigation according to the Web server address of being mated comprises:
According to the Web server address that described coupling obtains, the guiding client is forwarded to corresponding Web server with client web access request, and the response data of Web server feedback is returned to client.
4. according to each described method in the claim 1 to 3, it is characterized in that described service network comprises seven layer exchange devices;
Described seven layer exchange devices are carried out described following steps: receive client web access request, judge the ISP of ISP at client place according to the client ip address in the described client web access request; The Web server address that the described client web access request of coupling will be visited in the ISP of described judgement network; According to the Web server address of being mated client web access request is navigated;
Described service network also comprises four layer exchange devices;
Described four layer exchange devices adopt the DR pattern of directly transmitting of Linux virtual server LV S soft switch, according to polling algorithm described client web access request are forwarded to seven layer exchange devices.
5. method according to claim 2 is characterized in that, if the server ip address that client web access request will be visited is consistent with the ISP at client place, then this method further comprises:
Whether the needs correction detects according to presetting the probabilistic determination active client, be then according to statistics in the storehouse data comparison active client and and the difference of active client between the load time when belonging to the described particular server IP of each client-access address of same region, determine the whether needs correction of ISP at the place, active client IP address in the address base according to this difference; Described statistics storehouse obtains for the load time of the server ip address in the client-access assigned I SP that belongs to same region is gathered;
Be then, the server ip address that described client web access request will be visited revised that revised server ip address place ISP and described client place ISP are inconsistent, with the Web server address of revised address as coupling;
Otherwise, carry out the described server ip address that client web access request will be visited as the Web server address of mating.
6. method according to claim 3 is characterized in that, described response data with the Web server feedback returns to client and further comprises: result of determination is write client as cookie; Wherein, result of determination comprises: client ip address, ISP corresponding server IP address, client place, result of determination type;
Before judging the ISP at client place according to client ip address, this method further comprises: detect this client and whether have the result of determination of preserving with the cookie form, be then to judge according to the result of determination information among the cookie this time whether needs are judged the ISP at client place according to client ip address, otherwise carry out the step of judging the ISP at client place according to client ip address.
7. a layer exchange device is characterized in that, described seven layer exchange devices are arranged in the service network, and described service network can provide a plurality of ISP circuits to insert;
Described seven layers of this equipment of exchange comprise: intelligent routing module;
Described intelligent routing module comprises,
Determining unit is used to receive client web access request, judges the ISP at client place according to the client ip address in the described client web access request;
Matching unit is used for the Web server address that will visit in the described client web access request of the ISP of described judgement network coupling;
Navigation elements is used for according to the Web server address of being mated client web access request being navigated.
8. seven layer exchange devices according to claim 7 is characterized in that,
Described matching unit, be used to specifically to judge whether the server ip address that client web access request will visit is consistent with the ISP at client place, if server ip address consistent then that client web access request will be visited is as the Web server address of mating, if it is inconsistent, then according to the corresponding relation between each the ISP network side web server address that presets, the web server address of the described client place ISP network side of the server ip address correspondence of inquiring client terminal request visit is with the Web server address as coupling, the address that inquires.
9. seven layer exchange devices according to claim 8 is characterized in that, this seven layer exchange device further comprises, the route correcting module:
Be used for when described matching unit judges that server ip address that client web access request will visit is consistent with the ISP at client place, whether needs are revised detection to client according to presetting probabilistic determination, be then according to statistics in the storehouse data comparison active client and and the difference of active client between the load time when belonging to the described particular server IP of each client-access address of same region, determine the whether needs correction of ISP at the place, active client IP address in the address base according to this difference; Described statistics storehouse obtains for the load time of the server ip address in the client-access assigned I SP that belongs to same region is gathered;
Be that the server ip address that then will visit described client web access request is revised, revised server ip address place ISP and described client place ISP are inconsistent, with the Web server address of revised address as coupling; Otherwise the server ip address that client web access request will be visited is as the Web server address of coupling.
10. a service network is characterized in that, described service network can provide the access of a plurality of ISP circuits; This service network comprises: four layer exchange devices and as each described seven layer exchange devices of claim 7-9;
Wherein four layer exchange devices adopt the DR pattern of directly transmitting of Linux virtual server LVS soft switch, according to polling algorithm the client web access request that is received are forwarded to seven layer exchange devices.
CN201110276132.3A 2011-09-16 2011-09-16 Web accessing method, layer seven switching equipment and service network Active CN102299969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110276132.3A CN102299969B (en) 2011-09-16 2011-09-16 Web accessing method, layer seven switching equipment and service network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110276132.3A CN102299969B (en) 2011-09-16 2011-09-16 Web accessing method, layer seven switching equipment and service network

Publications (2)

Publication Number Publication Date
CN102299969A true CN102299969A (en) 2011-12-28
CN102299969B CN102299969B (en) 2014-04-16

Family

ID=45360139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110276132.3A Active CN102299969B (en) 2011-09-16 2011-09-16 Web accessing method, layer seven switching equipment and service network

Country Status (1)

Country Link
CN (1) CN102299969B (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611756A (en) * 2012-03-28 2012-07-25 北京蓝汛通信技术有限责任公司 Method and system for sending access request
CN102780791A (en) * 2012-07-18 2012-11-14 广东睿江科技有限公司 Self-adaption IP (Internet Protocol) method, device and system
CN102932473A (en) * 2012-11-13 2013-02-13 北京奇虎科技有限公司 Method of accessing to internet content across operator networks
CN102970384A (en) * 2012-11-13 2013-03-13 北京奇虎科技有限公司 Proxy server and communication system
CN103188243A (en) * 2011-12-30 2013-07-03 北京神州泰岳软件股份有限公司 Method providing services for users in Internet and system providing services for users in Internet
WO2014005442A1 (en) * 2012-04-23 2014-01-09 腾讯科技(深圳)有限公司 Network service access method and system
CN103581040A (en) * 2013-11-26 2014-02-12 深圳中兴网信科技有限公司 Server distributing device and server distributing method
CN103701948A (en) * 2013-12-25 2014-04-02 乐视网信息技术(北京)股份有限公司 Acquisition method and device for configuration information of domain name resolving system
WO2014075505A1 (en) * 2012-11-13 2014-05-22 北京奇虎科技有限公司 Method of accessing internet content across operator networks, proxy server and communication system thereof
CN103873515A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Infor Information processing method, electronic device and movable electronic device
CN103916489A (en) * 2014-03-31 2014-07-09 浙江宇视科技有限公司 Method and system for resolving single-domain-name multi-IP domain name
CN104753926A (en) * 2015-03-11 2015-07-01 华中科技大学 Gateway access control method
CN105847397A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Method and device for providing network service for terminal device
CN103841159B (en) * 2012-11-26 2017-04-19 北京新媒传信科技有限公司 Offline file transmission system and method
CN106657105A (en) * 2016-12-29 2017-05-10 网宿科技股份有限公司 Method and device for sending target resource
CN106899548A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of IP address modification method and device
CN106899703A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of IP address modification method and device
CN106937277A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 Address renewing method and device
CN107094175A (en) * 2017-04-21 2017-08-25 深圳创维数字技术有限公司 A kind of server disposition structure and interoperability methods for realizing interworking between network
CN107508760A (en) * 2017-09-20 2017-12-22 杭州安恒信息技术有限公司 A kind of algorithm that load distribution is carried out based on line source IP
CN107733950A (en) * 2016-08-11 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for accessing website
CN109286520A (en) * 2018-09-03 2019-01-29 中新网络信息安全股份有限公司 The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy
CN110430289A (en) * 2019-07-01 2019-11-08 北京云端智度科技有限公司 A method of it distinguishing same domain name and requests source
CN111464449A (en) * 2019-01-18 2020-07-28 广西民族大学 Inter-domain flow localization exchange method
CN112866116A (en) * 2020-12-31 2021-05-28 平安科技(深圳)有限公司 Network access detection method, device, equipment and storage medium
CN112887410A (en) * 2021-01-28 2021-06-01 郑州市景安网络科技股份有限公司 Running method, device, equipment and storage medium of web service program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578066B1 (en) * 1999-09-17 2003-06-10 Alteon Websystems Distributed load-balancing internet servers
CN101610222A (en) * 2009-07-20 2009-12-23 中兴通讯股份有限公司 Client-based server selection method and device
CN102025793A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 Domain name resolution method and system and DNS in IP network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578066B1 (en) * 1999-09-17 2003-06-10 Alteon Websystems Distributed load-balancing internet servers
CN101610222A (en) * 2009-07-20 2009-12-23 中兴通讯股份有限公司 Client-based server selection method and device
CN102025793A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 Domain name resolution method and system and DNS in IP network

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188243A (en) * 2011-12-30 2013-07-03 北京神州泰岳软件股份有限公司 Method providing services for users in Internet and system providing services for users in Internet
CN102611756B (en) * 2012-03-28 2015-06-10 北京蓝汛通信技术有限责任公司 Method and system for sending access request
CN102611756A (en) * 2012-03-28 2012-07-25 北京蓝汛通信技术有限责任公司 Method and system for sending access request
US9832139B2 (en) 2012-04-23 2017-11-28 Tencent Technology (Shenzhen) Company Limited Method and system for accessing network service
WO2014005442A1 (en) * 2012-04-23 2014-01-09 腾讯科技(深圳)有限公司 Network service access method and system
CN102780791A (en) * 2012-07-18 2012-11-14 广东睿江科技有限公司 Self-adaption IP (Internet Protocol) method, device and system
WO2014075505A1 (en) * 2012-11-13 2014-05-22 北京奇虎科技有限公司 Method of accessing internet content across operator networks, proxy server and communication system thereof
CN102932473B (en) * 2012-11-13 2016-05-11 北京奇虎科技有限公司 The method of cross operator access to netwoks Web content
CN102970384B (en) * 2012-11-13 2016-06-01 北京奇虎科技有限公司 Proxy server and communication system
CN102970384A (en) * 2012-11-13 2013-03-13 北京奇虎科技有限公司 Proxy server and communication system
CN102932473A (en) * 2012-11-13 2013-02-13 北京奇虎科技有限公司 Method of accessing to internet content across operator networks
CN103841159B (en) * 2012-11-26 2017-04-19 北京新媒传信科技有限公司 Offline file transmission system and method
CN103873515A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Infor Information processing method, electronic device and movable electronic device
CN103873515B (en) * 2012-12-13 2018-04-27 联想(北京)有限公司 The method and electronic equipment of information processing
CN103581040A (en) * 2013-11-26 2014-02-12 深圳中兴网信科技有限公司 Server distributing device and server distributing method
CN103701948A (en) * 2013-12-25 2014-04-02 乐视网信息技术(北京)股份有限公司 Acquisition method and device for configuration information of domain name resolving system
CN103916489B (en) * 2014-03-31 2017-08-15 浙江宇视科技有限公司 The many IP of a kind of single domain name domain name analytic method and system
CN103916489A (en) * 2014-03-31 2014-07-09 浙江宇视科技有限公司 Method and system for resolving single-domain-name multi-IP domain name
CN104753926A (en) * 2015-03-11 2015-07-01 华中科技大学 Gateway access control method
CN106899548A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of IP address modification method and device
CN106899548B (en) * 2015-12-17 2020-11-13 北京奇虎科技有限公司 IP address correction method and device
CN106899703A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of IP address modification method and device
CN106937277A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 Address renewing method and device
CN106937277B (en) * 2015-12-30 2020-11-17 创新先进技术有限公司 Address updating method and device
CN105847397A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Method and device for providing network service for terminal device
CN107733950A (en) * 2016-08-11 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for accessing website
CN107733950B (en) * 2016-08-11 2020-12-08 百度在线网络技术(北京)有限公司 Method and device for accessing website
CN106657105A (en) * 2016-12-29 2017-05-10 网宿科技股份有限公司 Method and device for sending target resource
CN107094175A (en) * 2017-04-21 2017-08-25 深圳创维数字技术有限公司 A kind of server disposition structure and interoperability methods for realizing interworking between network
WO2018192241A1 (en) * 2017-04-21 2018-10-25 深圳创维数字技术有限公司 Server deployment structure and method for implementing inter-network communication
CN107508760A (en) * 2017-09-20 2017-12-22 杭州安恒信息技术有限公司 A kind of algorithm that load distribution is carried out based on line source IP
CN107508760B (en) * 2017-09-20 2020-01-03 杭州安恒信息技术股份有限公司 Method for load distribution based on line source IP
CN109286520A (en) * 2018-09-03 2019-01-29 中新网络信息安全股份有限公司 The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy
CN111464449A (en) * 2019-01-18 2020-07-28 广西民族大学 Inter-domain flow localization exchange method
CN111464449B (en) * 2019-01-18 2022-07-12 广西民族大学 Inter-domain flow localization exchange method
CN110430289A (en) * 2019-07-01 2019-11-08 北京云端智度科技有限公司 A method of it distinguishing same domain name and requests source
CN110430289B (en) * 2019-07-01 2022-07-12 北京云端智度科技有限公司 Method for distinguishing same domain name request sources
CN112866116A (en) * 2020-12-31 2021-05-28 平安科技(深圳)有限公司 Network access detection method, device, equipment and storage medium
CN112887410A (en) * 2021-01-28 2021-06-01 郑州市景安网络科技股份有限公司 Running method, device, equipment and storage medium of web service program

Also Published As

Publication number Publication date
CN102299969B (en) 2014-04-16

Similar Documents

Publication Publication Date Title
CN102299969B (en) Web accessing method, layer seven switching equipment and service network
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
US9712422B2 (en) Selection of service nodes for provision of services
CN101841442B (en) Method for detecting network anomaly in name-address separated network
CN102394944B (en) Method and equipment for correcting IP (Internet Protocol) address in Web access
EP3567813B1 (en) Method, apparatus and system for determining content acquisition path and processing request
CN109151009B (en) CDN node distribution method and system based on MEC
CN104618243B (en) Method for routing, apparatus and system, Scheduling of Gateway method and device
CN101410819A (en) Reliable, high-throughput, high-performance transport and routing mechanism for arbitrary data flows
CN103248724A (en) SDN (Software-Defined Networking) controller-based DHCP (Dynamic Host Configuration Protocol) broadcast processing method
CN100346324C (en) Analysis method for user's request
US8539041B2 (en) Method, apparatus, and network system for acquiring content
CN104486402A (en) Combined equalizing method based on large-scale website
CN102546428A (en) System and method for internet protocol version 6 (IPv6) message switching based on dynamic host configuration protocol for IPv6 (DHCPv6) interception
CN102158406B (en) Intelligent routing method for computer network links
CN102594885A (en) Sensor network analyzing intercommunicating platform, sensor network intercommunicating method and system
CN106550058A (en) Network address translation penetration method and system using same
CN101599857B (en) Method, device and network detection system for detecting number of host computers accessed to sharing
CN103546375A (en) Content routing method and device
CN102970387A (en) Domain name resolution method, device and system
CN106411819A (en) Method and apparatus for recognizing proxy Internet protocol address
EP3389240A1 (en) Method and system for processing cache cluster service
CN102970391B (en) Inquiry of the domain name processing method, server and system
CN102437965A (en) Method and device for accessing target site
CN111600929B (en) Transmission line detection method, routing strategy generation method and proxy server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building A block 5 layer

Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.