CN102932473B - The method of cross operator access to netwoks Web content - Google Patents

The method of cross operator access to netwoks Web content Download PDF

Info

Publication number
CN102932473B
CN102932473B CN201210454615.2A CN201210454615A CN102932473B CN 102932473 B CN102932473 B CN 102932473B CN 201210454615 A CN201210454615 A CN 201210454615A CN 102932473 B CN102932473 B CN 102932473B
Authority
CN
China
Prior art keywords
server
access
agent
access object
network
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.)
Active
Application number
CN201210454615.2A
Other languages
Chinese (zh)
Other versions
CN102932473A (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 CN201210454615.2A priority Critical patent/CN102932473B/en
Publication of CN102932473A publication Critical patent/CN102932473A/en
Priority to PCT/CN2013/083625 priority patent/WO2014075505A1/en
Application granted granted Critical
Publication of CN102932473B publication Critical patent/CN102932473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method of cross operator access to netwoks Web content. The method of the cross operator access to netwoks Web content that the embodiment of the present invention provides comprises: first agent's server receives the user's of access the first carrier network request of access; First agent's server knows according to request of access the carrier network that access object is positioned at; In the time that access object is arranged in the first carrier network, first agent's server obtains access object and this access object is back to user in the first carrier network; In the time that access object is arranged in the second carrier network, first agent's server is sent to second agent's server by interface channel by request of access, is obtained access object and access object is sent to user by second agent's server in the second carrier network.

Description

The method of cross operator access to netwoks Web content
Technical field
The present invention relates to Internet technical field, particularly a kind of cross operator access to netwoks Web contentMethod.
Background technology
In network, there are multiple operators that network insertion service is provided at present, such as telecommunications, Netcom, Tie Tong etc.,The interconnection and interflow how realizing between carrier network is one of hot issue of current research always.
In existing cross operator access to netwoks scheme, when user connects by the access server 1 of operator 1While entering the network of operator 1, if user needs the webpage in access operator 1 network, utilize accessWebpage in server 1 access operator 1 network; In the time that user need to access the network of other operators,Utilize access server 1 to be connected to the net of other operators by the shared common network resource of each operatorNetwork, access server 1 reads web data in the network of other operator, and by this web dataBe forwarded to user.
At least there is following defect in existing cross operator access to netwoks scheme:
Because the common network resource that each operator is shared is very limited, spendable common bandwidth is less,Existing cross operator access to netwoks scheme causes the access speed of cross operator network very low, cross operator netCommunication packet loss between network is serious, network delay is large.
Summary of the invention
In view of the above problems, the present invention has been proposed to provide one to overcome the problems referred to above or at least part ofThe method of the cross operator access to netwoks Web content that addresses the above problem.
According to the present invention, the embodiment of the present invention provides a kind of side of cross operator access to netwoks Web contentMethod arranges first agent's server in the first carrier network, arranges in the second carrier networkTwo proxy servers, the passage that connects between first agent's server and second agent's server, shouldMethod comprises:
First agent's server receives the user's of access the first carrier network request of access; First agentServer knows according to request of access the carrier network that access object is positioned at; When access object is positioned at firstIn carrier network time, first agent's server obtains access object in the first carrier network also shouldAccess object is back to user; In the time that access object is arranged in the second carrier network, first agent's serviceDevice is sent to second agent's server by interface channel by request of access, by second agent's serverIn two carrier networks, obtain access object and access object is sent to user.
Wherein, above-mentioned first agent's server knows according to request of access operator's net that access object is positioned atNetwork comprises:
First agent's server carries out domain name system parsing to the domain name that needs access in request of access, obtainsThe IP address of access object, according to the corresponding relation of this IP address lookup IP address and carrier network,Know the carrier network that access object is positioned at;
Wherein, by interface channel, request of access is sent to second agent's service at first agent's serverBefore device, this method also comprises: first agent's server is known second agent's server according to request of access,For example, first agent's server is according to generation in the IP address lookup IP address of access object and carrier networkThe corresponding relation of reason server, knows second agent's server.
Wherein, above-mentioned first agent's server obtains access object and comprises in the first carrier network:
First agent's server is searched the unified money whether existing with request of access in the network data of buffer memoryThe active block data that source finger URL is corresponding, if exist, using the network data finding as gettingAccess object; If do not exist, first agent's server is directly accessed corresponding with the IP address of access objectWeb content, and using this Web content as the access object getting, or, first agent's serviceRequest of access is sent to the secondary agent's server in the first carrier network by device, taken by this secondary agentBusiness device obtains access object in the first carrier network.
Wherein, above-mentioned secondary agent server obtains access object and comprises in the first carrier network:
Secondary agent's server finds the unified resource location with request of access in the network data of buffer memoryWhile according with corresponding active block data, using the network data finding as the access object getting;Secondary agent's server does not find the unified resource location with request of access in the network data of buffer memoryWhile according with corresponding active block data, secondary agent's server obtains the IP address of access object directlyAccess the Web content corresponding with the IP address of access object, using this Web content as the access gettingObject.
Wherein, the IP address that above-mentioned secondary agent server obtains access object comprises:
Secondary agent's server carries out domain name system parsing to the domain name of the needs access in request of access,To the IP address of access object; Or,
In the request of access that secondary agent's server receives, carry the IP address of access object, secondary agentThe IP address of carrying in server extraction request of access is as the IP address of the access object getting.
Wherein, above-mentioned second agent's server obtains access object and comprises in the second carrier network:
Second agent's server is searched the unified money whether existing with request of access in the network data of buffer memoryWhen the corresponding active block data of source finger URL, if exist, using the network data finding as obtainingThe access object arriving, if do not exist, second agent's server obtains the IP address of access object, the second generationReason server is directly accessed the Web content corresponding with the IP address of access object, and this Web content is doneFor the access object getting.
Wherein, above-mentionedly access object is sent to user comprises: second agent's server is by the visit gettingAsk that object is sent to first agent's server by interface channel, first agent's server is by this access objectBe sent to user; Or, second agent's server by the access object getting be directly sent to thisTwo proxy servers are set up the user who has connection.
From the above mentioned, the embodiment of the present invention is by proxy server is set respectively in each carrier network,And set up the interface channel between each proxy server, and in the time that needs carry out cross operator access to netwoks, profitCarry out the communication of network data with each proxy server via corresponding interface channel, can realize across operationAccess between business's network, relies on shared common bandwidth and carries out cross operator thereby solved existing schemeThe problem that access speed is too low, packet loss is serious and network delay is large that access to netwoks causes, can be remarkableImprove cross operator access to netwoks network speed, reduce network delay, and greatly reduce cross operatorPacket loss when access, has improved the stability of overall network.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand skill of the present inventionArt means, and can being implemented according to the content of description, and for allow of the present invention above-mentioned and otherObject, feature and advantage can 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 benefit for thisIt is cheer and bright that field those of ordinary skill will become. Accompanying drawing is only for the object of preferred embodiment is shown,And do not think limitation of the present invention. And in whole accompanying drawing, represent by identical reference symbolIdentical parts. In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention cross operator access to netwoks Web contentMethod flow diagram;
The proxy server with caching function that Fig. 2 shows another embodiment according to the present invention obtainsThe method schematic diagram of access object; And
Fig. 3 shows the communication system architecture figure of another embodiment according to the present invention;
Fig. 4 shows a kind of proxy server structural representation of another embodiment according to the present invention;
Fig. 5 shows a kind of proxy server structural representation of another embodiment according to the present invention.
Detailed description of the invention
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail. Although show in accompanying drawingExemplary embodiment of the present disclosure, but should be appreciated that and can realize the disclosure and not with various formsThe embodiment that should be set forth here limits. On the contrary, providing these embodiment is for can be more thoroughlyUnderstand the disclosure, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
One embodiment of the invention provides a kind of method of cross operator access to netwoks Web content, first,First agent's server need to be set in the first carrier network, in the second carrier network, arrangeTwo proxy servers, the passage that connects between first agent's server and second agent's server, whenNeed to carry out access to netwoks time, the method comprises:
S100: first agent's server receives the user's of access the first carrier network request of access;
S102: first agent's server knows according to request of access the carrier network that access object is positioned at;
S104: in the time that access object is arranged in the first carrier network, first agent's server is in the first fortuneIn battalion's business network, obtain access object and this access object is back to user, this access object comprises that sound looksAvailable content etc. in audio data, document, web data and other networks.
S106: in the time that access object is arranged in the second carrier network, first agent's server is by connectingRequest of access is sent to second agent's server by passage, by second agent's server at second operator's netIn network, obtain access object and access object is sent to user.
From the above mentioned, the embodiment of the present invention is by proxy server is set respectively in each carrier network,And set up the interface channel between each proxy server, and in the time that needs carry out cross operator access to netwoks, profitCarry out the communication of network data with each proxy server via corresponding interface channel, can realize across operationAccess between business's network, relies on shared common bandwidth and carries out cross operator thereby solved existing schemeThe problem that access speed is too low, packet loss is serious and network delay is large that access to netwoks causes, can be remarkableImprove cross operator access to netwoks network speed, reduce network delay, and greatly reduce cross operatorPacket loss when access, has improved the stability of overall network.
On basis embodiment illustrated in fig. 1, in above-mentioned steps S102, first agent's server is according to accessRequest knows that the carrier network that access object is arranged in comprises: first agent's server needs request of accessThe domain name of accessing carries out DNS(DomainSystem, domain name system) resolve, obtain access objectIP address, according to the corresponding relation of this IP address lookup IP address and carrier network, knows that access is rightResemble the carrier network being positioned at. Before carrying out above-mentioned steps S106, this method also comprises that first agent takesBusiness device is known the step of second agent's server according to request of access, this step can specifically comprise: firstProxy server is according to proxy server in the IP address lookup IP address of access object and carrier networkCorresponding relation, knows second agent's server. In the present embodiment, the pre-recorded across a network of can realizing is accessedEach carrier network IP address, for example, by these carrier networks IP address and IP address and fortuneThe corresponding relation of the business of battalion network is recorded in the IP of operator list, utilizes the IP address search fortune of access objectBattalion's business IP list obtains the carrier network that will access of access object.
Be appreciated that in some scenes, first agent's server likely not according to request of access and directlyThe access of notifying second agent's server to carry out Web content, for example, to only comprising two carrier networksScene, first agent's server is set up and is had interface channel only and between second agent's server, at needsWhile carrying out cross operator access to netwoks, first agent's server direct instruction second agent server carries out netNetwork access.
Wherein, above-mentioned steps S104 first agent server obtains access object in the first carrier networkAt least comprise following three kinds of modes:
Whether first kind of way, first agent's server are searched and are existed and access in the network data of buffer memoryThe URL(Uniform/UniversalResourceLocator of request, URL) correspondingActive block data, if exist, using the network data finding as the access object getting.
Proxy server in the present embodiment has network (Web) content caching function, can be to visitingThe Web content of asking carries out buffer memory. In the time that user repeatedly accesses same web content, if in this WebHold by proxy server caches, proxy server can directly return to use the Web content of buffer memoryFamily, and do not need to go again to access the originating website, thus promote access speed.
The second way, first agent's server in the network data of buffer memory, do not find with access pleaseWhen the corresponding active block data of the URL that asks, first agent's server is directly accessed with access objectThe Web content that IP address is corresponding, and using this Web content as the access object getting. This modeUnder, because access object and first agent's server and user are arranged in same carrier network, firstProxy server is back to user directly get access object in the first carrier network after.
Request of access is sent to two in the first carrier network by the third mode, first agent's serverLevel proxy server obtains access object by this secondary agent's server in the first carrier network.
The present embodiment, is also provided with the mechanism of secondary agent, is positioned at the proxy server of the first order (asOne proxy server) be mainly responsible for user's access, comprise the request of access that receives user, please to accessAsk and resolve, and the access object getting is back to user; Be positioned at the agency service of the second levelDevice, carries out the operation of obtaining of concrete access object according to request of access. By establishing of secondary agent's mechanismPut the data processing amount of each server load in balanced whole system, the overall data process of raising systemEfficiency.
Wherein, above-mentioned secondary agent server obtains access object and comprises in the first carrier network:
Secondary agent's server finds corresponding with the URL of request of access in the network data of buffer memoryWhen active block data, using the network data finding as the access object getting; Secondary agent's clothesBusiness device does not find corresponding with the URL of request of access in the network data of buffer memoryWhen active block data, secondary agent's server obtains the IP address of access object directly access and accessThe Web content corresponding to IP address of object, using this Web content as the access object getting. This realityExecute example and comprise that secondary agent's device can have web content caching function at interior each server, canThe Web content of having accessed is carried out to buffer memory. In the time that user repeatedly accesses same web content, ifThis web content is by secondary agent's server buffer, and secondary agent's server can be the network of buffer memoryContent directly returns to user, and does not need to go to access the originating website again, thereby has promoted access speed.
Wherein, the IP address that above-mentioned secondary agent server obtains access object comprises:
Secondary agent's server carries out domain name system parsing to the domain name of the needs access in request of access,To the IP address of access object; Or, in the request of access that secondary agent's server receives, carry accessThe IP address of object, secondary agent server extracts the IP address of carrying in request of access as gettingThe IP address of access object.
Wherein, in above-mentioned steps S106 second agent's server in the second carrier network, obtain access rightResemble and comprise: second agent's server is searched the system whether existing with request of access in the network data of buffer memoryWhen the corresponding active block data of one URLs, if exist, using the network data finding asThe access object getting, if do not exist, second agent's server obtains the IP address of access object, theTwo proxy servers are directly accessed the Web content corresponding with the IP address of access object, and by this networkHold as the access object getting. Secondary agent's mechanism in the present embodiment is not only embodied in same operationThe proxy server of secondary level is set in business's network, is all arranged in of same carrier network as above-mentionedOne proxy server and corresponding secondary agent server, be also embodied in different operators network and serveSecondary level between device, if the second agent's server in above-mentioned the second carrier network is with respect toSecondary agent's server of the first agent's server in one carrier network.
In above-mentioned steps S106, second agent's server can lead to the access object getting by connectionRoad is sent to described first agent's server, and this access object is sent to user by first agent's server;Or foundation has the time of connection, the second generation between the user and the second agent's server that send request of accessReason server is directly sent to this user by the access object getting. For example, second agent's server withBetween user, set up while having wireless connections, second agent's server can be by wireless connections directly by networkContent is sent to user
In another embodiment of the present invention, obtain the side of access object to thering is the proxy server of caching functionFormula is described as follows:
S200: the request of access that receives user;
The proxy server that is positioned at the first order directly receives the request of access that user sends;
The proxy server that is positioned at the second level receives first order proxy server and forwards the request of access of coming.
S202: check whether the access object that user asks is buffered.
Proxy server checks whether self is cached with the Web content of user's request access, if not, carries outStep S206, if so, performs step S204;
S204: whether the Web content that judges buffer memory is effective;Because the renewal speed of Web content is very fast, to the Web content of buffer memory by judging in this networkWhether the cache-time holding exceedes predetermined threshold (whether expired), confirms that whether this Web content is for havingEffect Web content. When Web content do not have expired, during for active block content, execution step S206, whenNetwork network content is expired, during for inefficacy Web content, and execution step S208.
S206: directly the active block content finding is back to user from buffer memory.
Active block content is directly sent to coupled use by the proxy server that is positioned at the first orderFamily;
The proxy server that is positioned at the second level is forwarded to active block content the agency service that is positioned at the first orderDevice, is sent to user by this proxy server that is positioned at the first order by active block content.
S208: obtain IP address corresponding to access object.
The proxy server that is positioned at the first order can obtain by dns resolution the IP address of access object, positionCan obtain by dns resolution the IP address of access object in the proxy server of the second level, or, positionObtain in the proxy server of the first order behind the IP address of access object, by this IP address and request of access oneRise and be sent to the proxy server that is positioned at the second level, thereby make the proxy server that is positioned at the second level know thisIP address.
S210: access Web content corresponding to this IP address.
Proxy server is accessed in network corresponding to this IP address in self present carrier networkHold; Or proxy server is connected to the proxy server in other carrier networks by interface channel,By connected proxy server accesses network content.
S212: the Web content getting is sent to user buffer memory by proxy server.
The Web content that proxy server has access to self is sent to user, or proxy server connectsReceipts belong to Web content that the secondary agent's server in same carrier network returns and by this Web contentBe sent to user, or proxy server receives that proxy server in other carrier networks returnsWeb content is also sent to user by this Web content.
From the above, the present embodiment also can not adopt secondary agent's mechanism, for being responsible for user's accessProxy server, also can directly carry out the concrete operations of obtaining Web content.
In another embodiment of the present invention, provide a kind of communication system. Referring to Fig. 3, this communication system comprisesThe first carrier network 300 and the second carrier network 400. First agent's server 312 is arranged on firstIn carrier network 300, multiple users access the first carrier network by first agent's server 312In 300, the first carrier networks 300, be also provided with secondary agent's server 314 and dns server 316.
Second agent's server 412 is arranged in the second carrier network 400, first agent's server 312And between second agent's server 412, set up that to have interface channel, this interface channel be first agent's server312 and second agent's server 412 between carry out the proprietary passage of transfer of data, this interface channel comprise butBe not limited to by high speed interface channels such as optical fiber and realize.
Be appreciated that in the communication system of the present embodiment and can comprise multiple carrier networks, in Fig. 3Shown in, in system, can also comprise the 3rd carrier network 500, be wherein provided with third generation reason server512, between third generation reason server 512 and first agent's server 312, be provided with interface channel. TwoUnder level agency mechanism, third generation reason server 512 is all corresponding to first with second agent's server 412Secondary agent's server of proxy server 312. Third generation reason server 512 and second agent's server412 operations of carrying out are identical, and the present embodiment is mainly with first agent's server 312 and second agent's server412 for example describes, and the concrete operations of third generation reason server 512 can be referring to second agent's server412 related content.
In addition, the second carrier network and the 3rd carrier network also can have and the first carrier networkIdentical structure, for example, can be provided with proxy server A, agency service in the second carrier networkDevice A is responsible for multiple users and accesses the second carrier network, and second agent's server 412 is in the second operatorNetwork is connected with proxy server A, 512 points of first agent's server 312 and third generation reason serversAnd between proxy server A be not provided with interface channel, first agent's server 312, second agent's clothesBusiness device 412 and third generation reason server 512 are respectively the secondary agent's service corresponding to proxy server ADevice.
Proxy server in the present embodiment is including, but not limited to being realized by Squid server. Squid clothesBusiness device has been widely used, as the preposition cache server buffer association requests as web page server is carriedThe speed of high Web server, or be lineup's shared network resource buffer memory WWW, domain name systemWith other web search, or help network security by filtering traffic, and pass through these clothes at LANBusiness device proxy surfing etc.
In native system, access Web content in the second carrier network from the first carrier networkReason mainly comprises as follows:
1) first agent's server 312 receives the request of access of the user in access the first carrier network,This first agent's server 312 for being positioned at the proxy server of the first order in secondary agency mechanism;
2) first agent's server 312 carries out dns resolution to the domain name in user access request, resolvesGo out the IP address of the originating website of access object, according to the IP of operator list, find this IP and belong to secondCarrier network, then first agent's server 312 is inquired about the second carrier network and proxy serverCorresponding relation, obtains second agent's server 412, and request of access is transmitted in the second carrier networkSecond agent's server 412. This second agent's server 412 is corresponding to first agent's server 312Secondary agent's server. Owing to adopting high speed interconnecting interface between two-stage proxy server, so packet lossAll very little with the impact postponing, can fast, successfully have access to Web content.
In the above-mentioned IP of operator list, record the corresponding relation of IP address and carrier network. The present embodimentIn, first the IP address that carrier network is corresponding can be set, as by as give an order at Squid agency clothesIn business device, the first operator (carrier1) is set and supports the IP address in the network segment 1 and the network segment 2:
Aclcarrier1dst network segment 1# arranges the first carrier1 of operator and supports the network segment 1
Aclcarrier1dst network segment 2# arranges the first carrier1 of operator and supports the network segment 2
Secondly, the present embodiment also can set in advance the proxy server that each carrier network is corresponding, as passes throughAgency service corresponding to the second operator (carrier2) is set in Squid proxy server as given an orderThe address of device is IP2:
cache_peerIP2parent800no-queryoriginserverround-robinweight=1name=Carrier2_access# arranges Squid proxy server corresponding to the second operator, and wherein IP2 is expressed asThe IP address of proxy server in two carrier2 of operator;
Cache_peer_accesscarrier2_accessallowcarrier2# represents to allow the second carrier2 of operatorNetwork insertion;
Cache_peer_accesscarrier2_accessdenyall# represents to forbid except the second carrier2 of operator netNetwork insertion outside network.
The information of the proxy server that the above-mentioned IP of operator list and carrier network are corresponding is all kept at firstIn the proxy server of level, so that the proxy server of the first order arrives the second level according to these information searchingsProxy server. Accordingly, the access rights of the proxy server of the second level need to be set, indicate thisThe first order proxy server that secondary agent's server can be accessed, for example, is provided as secondary agent's clothesThe port information of the Squid server of business device, points to the corresponding first order by the port of this Squid serverProxy server.
3) when first agent's server 312 receives the network data that second agent's server 412 returns,Using this network data as getting access object, and be sent to user.
Second agent's server 412 can the service of the DNS in the first carrier network by interface channelOn device 316, the request of access receiving is carried out to dns resolution, obtain the IP address of access object, soAfter in the second carrier network 400, access the Web content that this IP is corresponding.
In above-mentioned processing 1) to 3) in, first agent's server 312 and second agent's server 412 are allCan there is Web content caching function, can carry out buffer memory to the Web content of having accessed, specifically sideFormula can be referring to the related content in the embodiment shown in Fig. 2. When user repeatedly accesses same WebWhen content, if this web content by proxy server caches, what proxy server can be buffer memoryWeb content directly returns to user, and does not need to go to access the originating website again, thereby has promoted access speedDegree.
And first order proxy server and second level proxy server in the present embodiment are accessed identical DNSServer carries out dns resolution, obtains IP address, adopts same dns server, can be lifted at DNSIn cache, search the hit rate of IP address, reduce query time.
From the above mentioned, in the present embodiment, utilize the framework of secondary agent, first order proxy server and userThe originating website in same carrier network inside, second level proxy server and access object inSame carrier network inside, meanwhile, adopts the interconnected connection of high speed logical between two-stage proxy serverRoad, the data access speed between two-stage proxy server is compared on public Internet resources with stabilityCarry out faster, stable many of cross operator access to netwoks, thereby the access to netwoks of cross operator is existedIn speed and stability, be greatly improved.
The present invention another embodiment provide a kind of proxy server, referring to Fig. 4, comprising:
Receiving element 400, is suitable for receiving user's the request of access of access the first carrier network; OperatorNetwork is known unit 402, is suitable for knowing according to request of access the carrier network that access object is positioned at; AccessObject acquisition unit 404, is suitable in the time that access object is arranged in the first carrier network, in the first operatorIn network, obtain access object and this access object is back to user; And, when access object is positioned atIn two carrier networks time, by interface channel, request of access is sent to second agent's server, byTwo proxy servers obtain access object in the second carrier network, and receive by interface channelThe access object that two proxy servers return is also back to user by this access object.
Above-mentioned proxy server in the present embodiment is the first order agency service in secondary agent's mechanismDevice.
Wherein, carrier network is known unit 402, is specifically suitable for the territory to the needs access in request of accessName is carried out domain name system parsing, obtains the IP address of access object, according to this IP address lookup IP addressWith the corresponding relation of carrier network, know the carrier network that access object is positioned at.
Wherein, access object acquiring unit 404, is also suitable for by interface channel, request of access being sentTo second agent's server, know second agent's server according to request of access. Particularly, accessObject acquisition unit 404, carries out domain name system parsing to the domain name that needs access in request of access, obtains visitingAsk the IP address of object; According to acting on behalf of in the IP address lookup IP address of access object and carrier networkThe corresponding relation of server, knows second agent's server.
Wherein, whether access object acquiring unit 402, be specifically suitable for searching and depositing in the network data of buffer memoryIn the active block data corresponding with the URL of request of access, if exist, will findNetwork data as the access object getting; If do not exist, directly access and obtain according to request of accessThe corresponding Web content in IP address of the access object of knowing, and using this Web content as the visit gettingAsk object, or, request of access is sent to the secondary agent's server in the first carrier network, byThis secondary agent's server obtains access object in the first carrier network.
In structure as shown in Figure 4, to primary network access process, the agency in the first carrier networkServer only with the first carrier network in secondary agent's server or the second carrier network inOne in two proxy servers connects.
The present invention another embodiment also provide a kind of proxy server, referring to Fig. 5, comprising:
Receiving element 500, is suitable for receiving the request of access that first agent's server sends by interface channel;
Access object acquiring unit 502, is suitable for finding the system with request of access in the network data of buffer memoryWhen the corresponding active block data of one URLs, using the network data finding as gettingAccess object; And it is fixed not find in the network data of buffer memory with the unified resource of request of accessWhen the corresponding active block data of position symbol, obtain the IP address of access object and directly access is right with accessWeb content corresponding to IP address of elephant, using this Web content as the access object getting, and willThe access object getting is sent to user. For example, access object acquiring unit 502 is by the visit gettingAsk that object is sent to first agent's server by interface channel, so that first agent's server is by this accessObject is sent to user; Or access object acquiring unit 502 is directly sent out the access object gettingDeliver to this second agent's server and set up and have the described user who is connected.
Wherein, access object acquiring unit 502, the domain name being specifically suitable for needing access in request of access is enteredRow domain name system is resolved, and obtains the IP address of access object; Or, in the request of access receiving, carryThe IP address of access object, extracts the IP address of carrying in request of access as the access object gettingIP address.
Proxy server shown in above-mentioned Fig. 5 is the proxy server of the second level in secondary agent's mechanism.This proxy server is arranged in different carrier networks from the proxy server of the first order, and and the first orderProxy server between set up and have an interface channel.
The specific works mode of Fig. 4 of the present invention and middle proxy server embodiment illustrated in fig. 5 can be referring to thisRelated content in inventive method and system embodiment.
From the above mentioned, the embodiment of the present invention is by proxy server is set respectively in each carrier network,And set up the interface channel between each proxy server, and in the time that needs carry out cross operator access to netwoks, profitCarry out the communication of network data with each proxy server via corresponding interface channel, can realize across operationAccess between business's network, relies on shared common bandwidth and carries out cross operator thereby solved existing schemeThe problem that access speed is too low, packet loss is serious and network delay is large that access to netwoks causes, can be remarkableImprove cross operator access to netwoks network speed, reduce network delay, and greatly reduce cross operatorPacket loss when access, has improved the stability of overall network.
The algorithm providing at this and demonstration are solid with any certain computer, virtual system or miscellaneous equipmentHave relevant. 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 specificProgramming 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 description that provided herein, a large amount of details are described. But, can understand, thisInventive embodiment can be put into practice in the situation that there is no these details. In some instances, notBe shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, should be appreciated that in order to simplify the disclosure and to help to understand in each inventive aspectOr multiple, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is sometimesBe grouped together into single embodiment, figure or in its description. But, should be by the disclosureMethod be construed to the following intention of reflection: the present invention for required protection requires than in each claimThe more feature of the middle feature of clearly recording. Or rather, as claims below reflectLike that, inventive aspect is to be less than all features of disclosed single embodiment above. Therefore, followClaims of detailed description of the invention are incorporated to this detailed description of the invention, wherein each right thus clearlyRequirement itself is all as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out certainly the module in the equipment in embodimentChange adaptively and they are arranged in one or more equipment different from this embodiment. CanModule in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition canTo put them into multiple submodules or subelement or sub-component. Except such feature and/or process orAt least some in unit are, outside mutually repelling, can adopt any combination (to comprise companion to this descriptionWith claim, summary and accompanying drawing) in disclosed all features and so disclosed any method orAll processes or the unit of person's equipment combine. Unless clearly statement in addition, this description (comprises companionWith claim, summary and accompanying drawing) in disclosed each feature can be by providing identical, being equal to or phaseAlternative features like object replaces.
In addition, although those skilled in the art will appreciate that embodiment more described herein comprise itIncluded some feature instead of further feature in its embodiment, but the group of the feature of different embodimentClose and mean within scope of the present invention and form different embodiment. For example, power belowIn profit claim, the one of any of embodiment required for protection can make with combination arbitrarilyWith.
All parts embodiment of the present invention can realize with hardware, or with in one or more processingThe software module of moving on device realizes, or realizes with their combination. Those skilled in the art shouldUnderstand, can use in practice microprocessor or digital signal processor (DSP) to realize according to thisThe some or all functions of the some or all parts in the proxy server of inventive embodiments. ThisBright part or all equipment or the dress that can also be embodied as for carrying out method as described hereinPut program (for example, computer program and computer program). Like this realize program of the present inventionCan be stored on computer-readable medium, or can there is the form of one or more signal. ThisThe signal of sample can be downloaded and obtain from internet website, or provides on carrier signal, or to appointWhat his form provides.
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 and replace in fact in the case of not departing from the scope of claimsExecute example. In the claims, any reference symbol between bracket should be configured to right to wantThe restriction of asking. Word " comprises " not to be got rid of existence and is not listed as element or step in the claims. Be positioned atWord " one " before element or " one " do not get rid of and have multiple such elements. The present invention canBy means of including the hardware of some different elements and realizing by means of the computer of suitably programming. ?Enumerated in the unit claim of some devices, several in these devices can be by sameHardware branch carrys out imbody. The use of word first, second and C grade does not represent any order.Can be title by these word explanations.

Claims (9)

1. a method for cross operator access to netwoks Web content arranges in the first carrier networkOne proxy server arranges second agent's server in the second carrier network, serves first agentThe passage that connects between device and second agent's server, described method comprises:
First agent's server receives the user's of access the first carrier network request of access;
First agent's server knows according to described request of access the carrier network that access object is positioned at;
In the time that access object is arranged in the first carrier network, first agent's server is at first operator's netIn network, obtain described access object and this access object is back to user;
In the time that access object is arranged in the second carrier network, first agent's server is logical by described connectionRequest of access is sent to second agent's server by road, by second agent's server at the second carrier networkIn obtain described access object and described access object be sent to user;
Wherein, described access object comprises in audio, video data, document, web data and other networksAvailable content.
2. method according to claim 1, wherein, described in described first agent's server passes throughBefore request of access is sent to second agent's server by interface channel, described method also comprises:
Described first agent's server is known second agent's server according to described request of access.
3. method according to claim 2, wherein, described first agent's server is according to described visitThe request of asking knows that second agent's server comprises:
Described first agent's server carries out domain name system parsing to the domain name that needs access in request of access,Obtain the IP address of access object;
Described first agent's server is according to IP address lookup IP address and the operator of described access objectThe corresponding relation of proxy server in network, knows described second agent's server.
4. method according to claim 1, wherein, described first agent's server is according to described visitThe request of asking knows that the carrier network that access object is positioned at comprises:
First agent's server carries out domain name system parsing to the domain name that needs access in request of access, obtainsThe IP address of access object, according to the corresponding relation of this IP address lookup IP address and carrier network,Know the carrier network that described access object is positioned at.
5. method according to claim 1, wherein, described first agent's server is in the first operationIn business's network, obtaining described access object comprises:
First agent's server is searched the system whether existing with described request of access in the network data of buffer memoryThe active block data that one URLs is corresponding, if exist, using the network data finding as obtainingThe access object of getting; If do not exist, first agent's server directly access with according to described request of accessThe corresponding Web content in IP address of the access object of knowing, and using this Web content as gettingAccess object, or request of access is sent to two in the first carrier network by first agent's serverLevel proxy server obtains described access object by this secondary agent's server in the first carrier network.
6. method according to claim 5, wherein, described secondary agent server is in the first operationIn business's network, obtaining described access object comprises:
Secondary agent's server finds the unified resource with described request of access in the network data of buffer memoryWhen the corresponding active block data of finger URL, the network data finding is right as the access gettingResemble;
Secondary agent's server does not find the unification with described request of access in the network data of buffer memoryWhen the corresponding active block data of URLs, secondary agent's server obtains the IP ground of access objectThe Web content corresponding with the IP address of described access object also directly accessed in location, using this Web content asThe access object getting.
7. method according to claim 6, wherein, it is right that described secondary agent server obtains accessThe IP address of elephant comprises:
Secondary agent's server carries out domain name system parsing to the domain name of the needs access in request of access,To the IP address of access object; Or,
In the request of access that secondary agent's server receives, carry the IP address of access object, secondary agentThe IP address of carrying in server extraction request of access is as the IP address of the access object getting.
8. method according to claim 1, wherein, described second agent's server is in the second operationIn business's network, obtaining described access object comprises:
Second agent's server is searched the system whether existing with described request of access in the network data of buffer memoryWhen the corresponding active block data of one URLs, if exist, using the network data finding asThe access object getting, if do not exist, second agent's server obtains the IP address of access object, theTwo proxy servers are directly accessed the Web content corresponding with the IP address of described access object, and by this netNetwork content is as the access object getting.
9. method according to claim 1, wherein, is sent to user by described access object and comprises:
Second agent's server is sent to described first by the access object getting by described interface channelProxy server, this access object is sent to user by first agent's server; Or,
Second agent's server is directly sent to the access object getting with this second agent's server and buildsThe vertical described user who has connection.
CN201210454615.2A 2012-11-13 2012-11-13 The method of cross operator access to netwoks Web content Active CN102932473B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210454615.2A CN102932473B (en) 2012-11-13 2012-11-13 The method of cross operator access to netwoks Web content
PCT/CN2013/083625 WO2014075505A1 (en) 2012-11-13 2013-09-17 Method of accessing internet content across operator networks, proxy server and communication system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210454615.2A CN102932473B (en) 2012-11-13 2012-11-13 The method of cross operator access to netwoks Web content

Publications (2)

Publication Number Publication Date
CN102932473A CN102932473A (en) 2013-02-13
CN102932473B true CN102932473B (en) 2016-05-11

Family

ID=47647169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210454615.2A Active CN102932473B (en) 2012-11-13 2012-11-13 The method of cross operator access to netwoks Web content

Country Status (1)

Country Link
CN (1) CN102932473B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014075505A1 (en) * 2012-11-13 2014-05-22 北京奇虎科技有限公司 Method of accessing internet content across operator networks, proxy server and communication system thereof
CN105991627A (en) * 2015-03-13 2016-10-05 杭州迪普科技有限公司 Data connection establishing method and device
CN107733950B (en) 2016-08-11 2020-12-08 百度在线网络技术(北京)有限公司 Method and device for accessing website
CN106332142A (en) * 2016-09-14 2017-01-11 深圳市信锐网科技术有限公司 Network access configuration method and control side
CN108462657B (en) * 2016-12-09 2022-01-18 诺基亚技术有限公司 Method and equipment for acquiring resources and information of SDN (software defined network) of different operators
CN107612759B (en) * 2017-11-03 2021-09-10 北京星河星云信息技术有限公司 Network access acceleration method and shunting device
CN110880980B (en) * 2018-09-06 2022-10-18 阿里巴巴集团控股有限公司 Content distribution network service providing method and processing system
CN113709038B (en) * 2021-08-19 2022-10-25 上海领骏信息技术股份有限公司 Flow fine scheduling system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581114A (en) * 2003-08-14 2005-02-16 华为技术有限公司 Analysis method for user's request
CN101202684A (en) * 2006-12-15 2008-06-18 中国电信股份有限公司 Method for close judgment of user in content distributing network
CN101719936A (en) * 2009-12-09 2010-06-02 成都市华为赛门铁克科技有限公司 Method, device and cache system for providing file downloading service
CN102299969A (en) * 2011-09-16 2011-12-28 北京新媒传信科技有限公司 Web accessing method, layer seven switching equipment and service network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581114A (en) * 2003-08-14 2005-02-16 华为技术有限公司 Analysis method for user's request
CN101202684A (en) * 2006-12-15 2008-06-18 中国电信股份有限公司 Method for close judgment of user in content distributing network
CN101719936A (en) * 2009-12-09 2010-06-02 成都市华为赛门铁克科技有限公司 Method, device and cache system for providing file downloading service
CN102299969A (en) * 2011-09-16 2011-12-28 北京新媒传信科技有限公司 Web accessing method, layer seven switching equipment and service network

Also Published As

Publication number Publication date
CN102932473A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102932473B (en) The method of cross operator access to netwoks Web content
CN102970384B (en) Proxy server and communication system
US9769240B2 (en) Loading of web resources
US9043428B2 (en) Edge caching using HTTP headers
CN110049022B (en) Domain name access control method and device and computer readable storage medium
CN102783119B (en) Access control method and system, and access terminal
CN102143243B (en) Dynamic routing processing method and dynamic routing processing device and home gateway thereof
EP3175364B1 (en) Web redirection for caching
US20140366117A1 (en) Method and system of managing a captive portal with a router
CN102025793A (en) Domain name resolution method and system and DNS in IP network
CN103220371A (en) Method and system for conducting content adaptation
TW201545520A (en) Method and system for acquiring web pages
CN104333567A (en) Web caching with security as a service
CN105530127A (en) Method for processing network access request by proxy server and proxy server
CN104572777A (en) Webpage loading method and device based on UIWebView component
CN110430188A (en) A kind of quick url filtering method and device
CN111586201A (en) Domain name resolution system, method, device and storage medium
CN105635073A (en) Access control method and device and network access equipment
CN106911735B (en) Data acquisition method and device
CN107872548A (en) Web page interlinkage method, apparatus and readable storage medium storing program for executing
CN114466054A (en) Data processing method, device, equipment and computer readable storage medium
CN113271362B (en) Education resource processing method, device, system and medium based on hybrid cloud
CN106856456B (en) Processing method and system for cache cluster service
CN110995763B (en) Data processing method and device, electronic equipment and computer storage medium
CN106919595B (en) Cookie mapping method and device and electronic equipment

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
TR01 Transfer of patent right

Effective date of registration: 20220801

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

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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

TR01 Transfer of patent right